| With the development of Fieldbus technology, more and more intelligent devices have PROFIBUS-DP interface. PROFIBUS-DP bus is the one of most popular bus in the world.First,this paper briefly introduces the characteristic ,chassification and study situation of Fieldbus,then expounds communication pattern,device style and protocol of PROFIBUS-DP,then detailed gives hardware choice ,configuration and software achievement of master station on bus,then detailed introduces the structure and function of slave station communication chip SPC3,slave state machine and software and hardware achievement.The concrete application background of bus interface on this design is electrical parameter measuring system of wind turbine generator. Electrical parameter measuring makes great sense on correct measuring of wind turbine generator parameter ,watching wind turbine generator state. This paper briefly introduces the software and hardware design of measuring system .The hardware design includes sampling circuit design,the application of computation chip ATT7022B,data storage circuit,power design;The software discusses main program,electrical parameter processing program,serial port communication program.Later,the principal,plan and result of parameter calibration is introduced.Finally,the achievement and the fault are summarized in the conclusion. |