The invention relates to an active
power quality comprehensive adjusting device and a detection
algorithm thereof. The active
power quality comprehensive adjusting device comprises a cabinet body, a
power unit, a protection plate, a
circuit breaker unit, a secondary mounting plate unit, a direct-current
capacitor unit, a fan, an L1 electric reactor, an L2 electric reactor, a
filter capacitor and a
contactor. The secondary mounting plate unit is supported and fixed through a secondary mounting plate which is made of
metal materials, a vent window is arranged on the top of the cabinet body, ventilation louvers are arranged on the lower portion of the cabinet body, and inlet wire connecting devices are arranged on the upper portion and the lower portion of the back face of the cabinet body. The active
power quality comprehensive adjusting device has the advantages that under
system control, one device can be used for realizing functions of an SVG or an APF respectively, and can also be used for realizing functions of the SVG and the APF at the same time, namely function requirements of the SVG or the APF are considered at the same time from the aspects of hardware and
software. By means of the device, dilatation can be achieved easily, the modularized design is used,
power density is high, size is small, and connection
busbar length is reduced.