| In the recent years, power electronics technology has been widely applied to the field of the national economic production and manufacturing. At the same time, the problem of harmonic pollution is increasingly more serious. Especially in the micro grid system, the interface distributed energy technology mainly used rectifier and inverter technology, so a high voltage large capacity capacitor is installed on the dc side. And thus, the grid voltage distortion rate is bigger. To solve this problem, the engineering technical personnel used the series active power filter to govern harmonic voltage. This device can ensure that the system run smoothly, for its powerful harmonic governance functions, flexible and effective control method and the smaller installation volume.This paper primary researched the control algorithm and hardware topology of series active power filter. Firstly, introduce the basic principle of the series active power filter, and then, with mathernatica as a tool, established its low-frequency mathernatical model based on switch base wave function. Afterwards, specific voltage harmonic detection algorithm and hysteresis control algorithm is introduced,and using the MATLAB FDATOOL toolbox to design the low pass filter. After introduced the traditional series active power filter topology, the modular multilevel converter(MMC) were studied. Meanwhile, the stratrgy of carrier phase shift control and equalizing capacitor voltage is studied, and carries on the simulation. Introdeced the hardware system. Finally, this paper described the method of designing CAN bus communication system applied in power electronic device on MATLAB.Based on the above theory, the simulation of series active power filter is builed,and the smulation results show that : The voltage source type harmonic component produced by the RC load in the micro power grid can be compensated by series APF.At the same time, 5-level inverter is builded in MATLAB. The experimental reaults show that, this structure of multievel topology MMC has lower harmonic content,and can be used a lower voltage switching device in the high voltage power electronic control occasions.And in the MATLAB environment, complied the CAN communication system which composed by the DSP chip program and the PC host program. Control algorithm is done using automatic code generation techology, the processor is used DSP F28335. On the hardware platform, the method of designing CAN communication is verified. Results show that this method has a certain value in practical engineeing application. |