Electromechanical Active Filter as a Novel Custom Power Device ( CP )

One of the most efficient systems to solve power quality problems is Unified Power Quality Conditioner (UPQC). It consists of a Parallel-Active Filter (PAF) and a Series-Active Filter (SAF) together with a common dc link [1-3]. This combination allows a simultaneous compensation for source side currents and delivered voltage to the load. In this way, operation of the UPQC isolates the utility from current quality problems of load and at the same time isolates the load from the voltage quality problems of utility. Nowadays, small synchronous generators, as DG source, which are installed near the load can be used for increase reliability and decrease losses.


Introduction
One of the serious problems in electrical power systems is the increase of electronic devices which are used by the industry as well as residences.These devices, which need highquality energy to work properly, at the same time, are the most responsible ones for decreasing of power quality by themselves. of introduced active filter with integration of Unified Power Quality Conditioner (UPQC).In this research, voltage problems are compensated by the Series Active Filter (SAF) of the UPQC.On the other hand, issues related to the compensation of current problems are done by the electromechanical active filter and PAF of UPQC.For validation of the proposed theory in power quality compensation, a simulation has been done in MATLAB/SIMULINK and a number of selected simulation results have been shown.
A T-type active power filter for power factor correction is proposed in [4].In [5], neutral current in three phase four wire systems is compensated by using a four leg PAF for the UPQC.In [6], UPQC is controlled by H∞ approach which needs high calculation demand.In [7], UPQC can be controlled based on phase angle control for share load reactive power between SAF and PAF.In [8] minimum active power injection has been used for SAF in a UPQC-Q, based on its voltage magnitude and phase angle ratings in sag conditions.In [9], UPQC control has been done in parallel and islanding modes in dqo frame use of a high pass filter.In [10][11][12] two new combinations of SAF and PAF for two independent distribution feeders power quality compensation have been proposed.Section 2 generally introduces UPQC.Section 3 explains connection of the proposed active filter.Section 4 introduces electromechanical active filter.Section 5 explains used algorithm for reference generation of the electromechanical filter in detail.Section 6 simulates the paper.Finally, section 7 concludes the results.

Unified Power Quality Conditioner (UPQC)
UPQC has composed of two inverters that are connected back to back [2].One of them is connected to the grid via a parallel transformer and can compensate the current problems (PAF).Another one is connected to the grid via a series transformer and can compensate the voltage problems (SAF).These inverters are controlled for the compensation of the power quality problems instantaneously.Figure 1 shows the general schematic of a UPQC.

Electromechanical Parallel Active Filter
As in [13] f N and s N are effective turns of the field windings and the stator windings, respectively; Ff is the magnetomotive force; R is the reluctance of the flux line direction and M is the mutual induction between rotor and stator windings.Speed of rotor is equal to the synchronous speed ( 120 ).Thus, the flux rotates with the angular speed of 2 60 . So, stator windings passing flux has been changed as equation (2).It is assumed that in 0 t  , direct axis of field and stator first phase windings conform each other.

cos( )
The scope of this section is theoretically investigation of a synchronous machine as a rotating active filter.This theory will be investigated in the static state for a circular rotor type synchronous generator that its equivalent circuit has been shown in Figure 5.
Based on equation ( 3), if the field current be a DC current, the stator induction voltage will be a sinusoidal voltage by the amplitude of f M i  .But, if the field current be harmonized as equation ( 4) then, the flux and internal induction voltage will be as equations ( 5) and ( 6), respectively.

sin( )
Equation ( 6) shows that each component of the generator output voltage has composed of two components of the field current.This problem has been shown in Figure 6.It seems that a synchronous generator can be assumed as the Current Controlled System (CCS).Thus it can be used for the current harmonic compensation of a nonlinear load ( hn I ) as parallel active filter.

Algorithm and method
From Figure 5, relation between terminal voltage of the generator and hn I can be derived as equation (7).

sin( )
Where, n is the harmonic order; n ZR j n X  is the harmonic impedance of the synchronous generator and connector transformer which are known, PCC V is the point of common coupling voltage and hn I is the compensator current that has been extracted from the control circuit.
If similar frequency components of voltage signal o e  in equation (6) and o e in equation ( 7) set equal, the magnitude and phase angle of the related field current components will be extracted as: For simplicity equations ( 9) and ( 10) can be rewritten as follows: From the above equations, magnitude and phase of the second component of filed current can result in: tan tan Electromechanical Active Filter as a Novel Custom Power Device (CP) 85 For n≥2: ( 1 )( 1 )( 0.5 sin tan tan 0.5 cos Where, M and  are the mutual inductance and angular frequency, respectively.
Obviously for the extraction of required components of filed current from the above equations, first suggestion for DC and first order component of the field current are need.
Resulted field current can be injected via a PWM and current inverter to the field windings of the synchronous generator.Figure 7, shows the control circuit of the electromechanical Detail of the proposed control circuit can be found in the equations ( 11) to ( 22).In the present research controlled voltage source of MATLAB has been used instead of required PWM and inverter.Constant and integrator coefficients in the PI controller have been chosen 1000 and 200, respectively.As mentioned earlier first order load active and reactive powers can be easily attended in the electromechanically compensated share of load current for decrease of SAF and PAF power range of UPQC.This problem can control power flow as well as power quality.In other word it can be possible to use a synchronous generator not only for first order voltage generation but, also for the harmonic compensation too.

Results
For the investigation of the validity of the mentioned control strategy for power quality compensation of a distribution system, simulation of the test circuit of Figure 8, has been done in MATLAB software.Source current and load voltage, have been measured and analyzed in the proposed control system for the determination of the compensator signals of SAF, PAF and filed current of the electromechanical active filter.Related equations of the controlled system and proposed model of the electromechanical active filter as a current controlled source have been compiled in MATLAB software via M-file.In mentioned control strategy, voltage harmonics have been compensated by SAF of the UPQC and current harmonics with higher order than 7, have been compensated by PAF of UPQC.But, the total of load reactive power, 25 percent of load active power and load current harmonics with lower order than 7 have been compensated by the proposed CCS.This power system consists of a harmonized and unbalanced three phase 380V (RMS, L-L), 50 Hz utility, a three phase balanced R-L load and a three phase rectifier as a nonlinear load.For the investigation of the voltage harmonic condition, utility voltages have harmonic and negative sequence components between 0.05 s and 0.2 s.Also, for the investigation of the proposed control strategy in unbalance condition, magnitude of the first phase voltage is increased to the 1.25 pu between 0.05 s and 0.1 s and decreased to the 0.75 pu between 0.15 s to 0.2 s.Table 1, shows the utility voltage harmonic and sequence parameters data and Table 2, shows the load power and voltage parameters.A number of selected simulation results will be showed further.
Voltage Order Sequence Magnitude (pu) Phase Angle (deg)  Figure 9, shows the source side voltage of phase 1. Figure 10, shows the compensator voltage of phase 1. Figure 11, shows load side voltage of phase 1. Figure 12, shows the load side current of phase 1. Figure 13, shows the CCS current of phase 1 that has been supplied by the proposed active filter.Figure 14, shows the PAF of UPQC current of phase 1. Figure 15, shows the source side current of phase 1. Figure 16, shows the field current of the proposed harmonic filter.Figure 17 and 18 show source voltage and load voltage frequency spectrum, respectively.Figure 19 and 20 show load current and source current frequency spectrum, respectively.Figure 21 and 22 show CCS and PAF frequency spectrum, respectively.Table 3 shows THDs of source and load voltages and currents.Load voltage and source current harmonics have been compensated satisfactory.

Conclusions
It is known that use of small synchronous generators in distributed generated networks can reduce transmitted active and reactive powers from the main source and consequently line losses.In this research power quality compensation was done by composition of UPQC and synchronous generators as electromechanical active filter.In other word, by proper determination and control of synchronous generator field current it could be used as controlled current source for power quality compensation.This was for reduction of UPQC power rating in the distributed generated networks.Also, an algorithm was investigated for the determination of the reference field current.Proposed CCS modeling was implemented based on the mentioned related algorithm in MATLAB software.Control strategy had three instantaneously stages.Voltage harmonics were compensated by SAF of the UPQC.Current harmonics with higher order than 7 were compensated by PAF of the UPQC.Lower order current harmonics, load reactive power and a part of load active power were compensated by the proposed controlled current source.Total harmonic distortion of load voltage before compensation was 0.15 which was reduced to almost zero after compensation.Also, total harmonic distortion of the source current before compensation was 0.12 which was reduced to almost zero after compensation.Frequency (Hz) Amplitude (A)

Figure 1 .
Figure 1.General schematic of a UPQC

Figure 3 ,
Figure 3, shows schematic of the proposed compensator system.In this research load c u r r e n t h a r m o n i c s w i t h h i g h e r o r d e r t h a n 7 , h a s b e e n d e t e r m i n e d a s P A F o f U P Q C compensator signal.But, load current harmonics with lower order than 7 and reactive power have been compensated by the proposed electromechanical filter.

Figure 4 ,
Figure 4, shows the simple structure of a synchronous generator.Based on equation (1), a DC field current of if produces a constant magnitude flux.

Figure 6 .
Figure 6.Relation of the field current components by the stator voltage components

Figure 7 .
Figure 7. Block diagram of the proposed active filter control

Figure 8 .
Figure 8.General test system circuit

Table 1 .
Utility voltage harmonic and sequence parameters data

Table 2 .
Load power and voltage parameters data