Summary of the invention
For overcome existing complete cycle repetitive controller and half period repetitive controller can not effectively process more complicated Symmtry Signals, deficiency that EMS memory occupation amount is larger, the invention provides a kind of 1/4th cycle repetitive controllers for inverter, to effectively process more complicated symmetric signal, significantly reduce EMS memory occupation space.
The technical solution used in the present invention is:
For 1/4th cycle repetitive controllers of inverter, set the reference signal r (t) with 1/4 cyclic symmetry, there are following two kinds of symmetric case
p1.
And t >=N/4; Or
p2.
And t > N/4, wherein,
N is cycle reference signal; r
0(t) be the initial value of signal, i.e. the value in first 1/4 cycle of periodic signal, on interval t > N/4, perseverance is got null value.Here, need judge as the case may be that current time is in the particular location in one-period, then according to 1/4 periodic symmetry characteristic, judgement " ± " here gets "+" still to get "-".
Set 1/4 periodic feedback link, for different situations, the general structure of repetitive controller can be expressed as respectively: for situation p1,
And t >=N/4; For situation p2,
And t > N/4, wherein, u (t) is the output signal of repetitive controller, v (t) is the input signal of periodic feedback link, obtains through e/v signal conversion links.For system concrete model, according to attracting rule method, can obtain the conversion regime of e/v signal.
Further, described reference signal is sinusoidal signal, and as t >=N/4, its 1/4 periodic symmetry characteristic is
According to the symmetry characteristic of sinusoidal signal, as t >=N/4, the periodic feedback link of repetitive controller is
Construct following continuous attraction rule
Wherein, 1 > ρ > 0, ε > 0,0 < δ < 1; E (t) is tracking error signal.Formula (10) is that finite time attracts rule, and be its time of advent
Attract continuously the discrete form of rule (10) to be
Wherein, 0 < ρ < 1, ε > 0,0 < δ < 1.For the ability of the anti-periodic disturbances of raising system, discrete attraction rule (12) can be modified to
Wherein, for situation p1,
; For situation p2,
d (t+1) is equivalent disturbance, d
*(t+1) be the compensating signal of equivalent disturbance; W (t+1) is system disturbance item.
Inverter dynamic performance model can be expressed as following form (being also suitable for other periodic duty process that this model is expressed):
y(t+1)+a
1y(t)+a
2y(t-1)=b
1u(t)+b
2u(t-1)+w(t+1) (14)
Wherein, y (t) the expression t moment exports, and u (t) represents t moment controlled quentity controlled variable, and w (t+1) is the disturbing signal in t+1 moment.The expression that accordingly, can provide e/v transform part is:
For situation p1,
For situation p2,
Be sinusoidal signal for the reference signal of inverter
Wherein, z (t)=r (t+1)+a
1y (t)+a
2y (t-1)-b
2u (t-1), e (t)=r (t)-y (t).
After repetitive controller has designed, the index that the performance of 1/4 cycle repetitive controller can be levied convergence process by following table is weighed, and these indexs are monotone decreasing zone boundary Δs
mDR, definitely attractable layer border Δ
aAL, steady-state error band border Δ
sSE, its expression is
1) monotone decreasing region (Δ
mDR)
Δ
MDR=max{Δ
MDR1,Δ
MDR2} (18)
In formula, Δ
mDR1, Δ
mDR2for arithmetic number, meet
2) absolute attractable layer (Δ
aAL)
Δ
AAL=max{Δ
AAL1,Δ
AAL2} (20)
In formula, Δ
aAL1, Δ
aAL2for arithmetic number, can be determined by following formula
3) steady-state error band (Δ
sSE)
A. work as Δ
sSEwhen>=ξ
Δ
SSE=max{Δ
SSE1,Δ} (22)
Wherein Δ
sSE1it is equation
Maximum arithmetic number solution
B. when 0 < Δ
sSEwhen < ξ
Δ
SSE=max{Δ
SSE2,Δ
SSE3} (23)
Wherein Δ
sSE2Δ
sSE3respectively,
Maximum real solution.
ξ is
Equation real solution.
The adjustable parameters of 1/4 cycle repetitive controller comprises ρ, ε, and δ, parameter tuning can carry out according to above-mentioned characterization system constringency performance index.
The attraction rule method that the present invention provides is also applicable to repeat control complete cycle.In the time of t >=N, its reference signal symmetry characteristic is
r(t)=r(t-N)+r
0(t) (24)
Wherein, r
0(t) be the initial value of signal, i.e. the value in first cycle of periodic signal, on interval t > N, perseverance is got null value; Its controller expression formula is
Wherein, z (t)=r (t+1)+a
1y (t)+a
2y (t-1)-b
2u (t-1); It is identical that its boundary condition and 1/4 cycle repeat to control boundary condition, do not repeating at this.
The attraction rule method that the present invention provides is also applicable to FEEDBACK CONTROL.In the time of t >=1, its reference signal meets
r(t)=r(t-1)+r
0(t) (26)
Wherein, r
0(t) be the initial value of signal, i.e. the value in first cycle of periodic signal, on interval t > 1, perseverance is got null value; Its controller is
Wherein, z (t)=r (t+1)+a
1y (t)+a
2y (t-1)-b
2u (t-1).
Technical conceive of the present invention is, current repetitive controller method design focuses mostly in Domain Design, and signal symmetry characteristic shows in time domain.Therefore, time domain method for designing is more direct and have a distinctive feature when repetitive controller in design, and the controller of designing is more succinct, intuitively.
The present invention is directed to the reference signal with 1/4 periodic symmetry characteristic, provide the time domain design of 1/4 cycle repetitive controller.1/4 cycle repetitive controller can further significantly reduce taking up room of internal memory, its memory requirements be complete cycle repetitive controller 1/4th; The method for designing basis signal providing is at the different symmetry characteristic design repetitive controllers in different time interval, and every 1/4 cycle is revised control signal, realizes the inhibition completely for same period characteristic interference signal.And compared with complete cycle repetitive controller, the response time is faster, is of value to acceleraton disturbance and eliminates.
The present invention can effectively process more complicated symmetric reference signal, and greatly reduces EMS memory occupation space, has Fast Convergent performance concurrently, accelerates to disturb and suppress and high control precision.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the invention is described further.
With reference to Fig. 3~Fig. 8, for 1/4th cycle repetitive controllers of inverter.
The first step. determine 1/4 periodic reference signal
The generation with the periodic reference signal of 1/4 cyclic symmetry can adopt following mechanism to be
For situation p1
And t >=N/4;
For situation p2
And t > N/4.
The generation mechanism of 1/4 periodic reference signal as shown in Figure 3.1/4 periodic reference signal producing under this mechanism as shown in Figure 4, here, r
0(t) be the initial value of signal, i.e. the value in first 1/4 cycle of periodic signal, on interval t > N/4, perseverance is got null value; / 4th cyclic symmetries of reference signal, have 64 kinds of situations, wherein possess the 60 kinds of situations that have of 1/4th symmetry characteristics, as Fig. 4 a; What can be equivalent to satisfied 1/2nd symmetry characteristics has 4 kinds, as Fig. 4 b.
For sinusoidal reference signal, as t >=N/4, the concrete generation mechanism of its 1/4 cyclic symmetry can be expressed as
Second step. design 1/4 cycle repetitive controller
Utilize this generation mechanism, the corresponding general type of 1/4 cycle repetitive controller of design is respectively: for situation p1
And t >=N/4; For situation p2
And t > N/4.Its represented periodic feedback link as shown in Figure 5.
For sinusoidal reference signal, as t >=N/4, the feedback element of its 1/4 cycle repetitive controller is
The 3rd step. determine plant model
In order to provide the v (t) in controller, take following inverter control system model as example:
y(t+1)+a
1y(t)+a
2y(t-1)=b
1u(t)+b
2u(t-1)+w(t+1) (7)
Wherein, parameter a
1, a
2, b
1, b
2can obtain by modelling by mechanism or Experimental modeling; Disturbing signal w (t) has 1/4 cyclic symmetry; Given reference signal r (t), output signal y (t), tracking error e (t)=r (t)-y (t).
The 4th step. structure discrete system tracking error attracts rule equation
Wherein, for p1 situation
, for p2 situation
; Need to judge that current time is in the particular location in one-period, then according to 1/4 periodic symmetry characteristic, judgement " ± " here gets "+" still to get "-".
The 5th step. provide concrete v (t) expression formula of e/v transform part: for situation p1
For situation p2
Be sinusoidal signal for the reference signal of inverter
Wherein, z (t)=r (t+1)+a
1y (t)+a
2y (t-1)-b
2u (t-1), tracking error e (t)=r (t)-y (t).
Adopt the control system block diagram of this repetitive controller as shown in Figure 6.Comprise the function f (e (t)) that is converted into control signal v (t) by error signal e (t), 1/4 cycle repetitive controller module 101 and controlled system module 102.
The 6th step. controller parameter is adjusted
After repetitive controller has designed, its controller parameter of need to adjusting.Its adjustable parameters comprises ρ, ε, and δ, concrete parameter tuning work can be carried out according to the constringent index of following characterization system.For characterizing tracking error convergence process, the present invention introduces monotone decreasing region, and definitely attractable layer and steady-state error band concept, is defined as follows:
Monotone decreasing region Δ
mDR
Definitely attractable layer Δ
aAL
Steady-state error band Δ
sSE
1) monotone decreasing region (Δ
mDR)
Δ
MDR=max{Δ
MDR1,Δ
MDR2} (15)
In formula, Δ
mDR1, Δ
mDR2for arithmetic number, and meet
2) absolute attractable layer (Δ
aAL)
Δ
AAL=max{Δ
AAL1,Δ
AAL2} (17)
In formula, Δ
aAL1, Δ
aAL2for arithmetic number, can be determined by following formula,
3) steady-state error band (Δ
sSE)
A. work as Δ
sSEwhen>=ξ
Δ
SSE=max{Δ
SSE1,Δ} (19)
Wherein Δ
sSE1it is equation
Maximum arithmetic number solution
B. when 0 < Δ
sSEwhen < ξ
Δ
SSE=max{Δ
SSE2,Δ
SSE3} (20)
Wherein Δ
sSE2, Δ
sSE3, respectively
Maximum real solution.
ξ is
Equation real solution
Do following explanation for above-mentioned 14 cycles repetitive controller design:
1) attract to introduce d in rule
*(t+1) braking measure for the disturbing signal of period demand pattern, d have been reflected
*(t+1) be the offset of d (t+1), for compensating aperiodic disturbance.
A kind of directly offset determines that method is d
*(t+1)=d (t).
Here the offset while providing a kind of d (t) boundary known, is determined method.If the upper and lower boundary of equivalent disturbance d (t) is respectively d
u, d
l, d (t+1) meets inequality
d
l≤d(t)≤d
u
Note
,
Desirable
2) formula (8), (9), in (10) and (11), e (t), y (t), y (t-1), y (t-N/4+1), y (t-N/4), y (t-N/4-1), all can be by measuring, u (t-1), u (t-N/4), the storing value that u (t-N/4-1) is control signal can read from internal memory.
3), for FEEDBACK CONTROL, its reference signal symmetry characteristic is r (t)=r (t-1).Therefore, the 14 cycle repetitive controllers that propose in the present invention are also applicable to often be worth adjusting problem, and now equivalent disturbance is d (t)=w (t)-w (t-1).
4) repeat complete cycle to control, its reference signal symmetry characteristic is r (t)=r (t-N).Equivalent disturbance is d (t)=w (t)-w (t-N), and the present invention is equally also applicable to repeat control complete cycle.
5) method proposed by the invention is also applicable to five-parameter model (inverter model adopts five-parameter model conventionally).Five-parameter model is as follows
y(t+1)+a
1y(t)+a
2y(t-1)=b
1u(t)+b
2u(t-1)+c
1+w(t+1) (21)
In formula, c
1for normal value.Get
by its substitution formula (21),
Get
Be that formula (22) can turn to
y(t+1)=-a
1y(t)-a
2y(t-1)+b
1u
c(t)+b
2u
c(t-1)+d(t+1) (25)
Utilize formula (25), five-parameter model can be transformed to four parameter model.Like this, can carry out with reference to four parameter model about the repetitive controller design of five-parameter model.
6) above-mentioned 14 cycle repetitive controllers provide for second-order system (7), can provide equally the design result of high order system according to identical method.
Embodiment
Reference signal is the repetitive controller design of sinusoidal signal, and shown in Fig. 2,1/4 periodic symmetry characteristic of sinusoidal signal is formula (3), and according to the symmetry characteristic of this signal, repetitive controller can be designed to formula (6).
The present embodiment is controlled for inverter output waveforms.The inverter system adopting is by given signal section, 1/4 cycle repetitive controller, and PWM modulating part, converter main circuit (the LC filter circuit that comprises rear class etc.) and testing circuit form.Wherein given signal, three parts of repetitive controller and PWM modulation module realize by DSP, and remainder is realized by hardware circuit.Whole system is by the given desired signal that needs output of DSP, and this part is equivalent to the input signal of whole closed-loop system.After PWM modulation, become the high low pulse signal that can drive inverter bridge-type contactor pipe, inverter output is reduced into sinusoidal signal through LC filter circuit, be back to DSP by testing circuit sampling, repeat to revise input signal after control action through 1/4 cycle, thereby realize the control of inverter waveform tracking.
Provide the design process of 1/4 cycle of inverter repetitive controller below and realize result, and with conventional FEEDBACK CONTROL and repeat to control effect complete cycle and contrast.
Model system mathematic model.The inverter control system that the present embodiment uses is as Fig. 7.Comprise e/v transform part f (e (t)), periodic feedback link, periodic signal PWM modulation module 201, converter main circuit 202, testing circuit 203.Wherein, the above two form 1/4 cycle repetitive controller 301, and rear three forms inverter system 302.
Converter main circuit and rear class LC filter circuit, sample circuit are carried out to modeling as object, obtain following second-order difference equation model
y(t+1)+a
1y(t)+a
2y(t-1)=b
1u(t)+b
2u(t-1)+w(t+1) (29)
Wherein y (t) represents t moment inverter output voltage, and u (t) represents the controlled quentity controlled variable of t moment inverter, and the uncertain characteristic of w (t+1) expression system, is made up of external disturbance, measurement noise and not modeling characteristic.Parameter a in model
1, a
2, b
1, b
2obtained by modelling by mechanism, its concrete value is
a
1=-0.5385,a
2=0.2504,b
1=0.3606,b
2=0.2358
FEEDBACK CONTROL: formula (6), get d (t+1)=w (t+1)-w (t),
1/4 cycle repeated to control: given reference signal r (t), system tracking error dynamical equation is
The design of e/v signal conversion links in 1/4 cycle repetitive controller as shown in the formula
In embodiment, the reference signal r of inverter (k)=20sin (2 π fkT
s), unit is volt (V), signal frequency f=50Hz, sampling time T
s=0.0001s, in formula (15), gets ρ=0.3, δ=0.01, ε=0.5.Putting disturbing signal is
Wherein, preceding paragraph is random perturbation signal, consequent for simulating inverter odd harmonic disturbing signal.Now, d (t+1) bound numerical value is equal, and symbol is contrary.Therefore, desirable d
*(t+1)=0, it is Δ that error e (t) will converge to radius
sSEformer vertex neighborhood in.In reality, the bound of d (t+1) can be closer to zero, and error will converge in the more small neighbourhood of initial point.
Get said system parameter and control parameter and carry out emulation, the result of implementation of check 1/4 cycle Repetitive Control on inversion system, and contrast with the result of implementation that repeats FEEDBACK CONTROL and complete cycle to control:
1) error signal under feedback controller effect as shown in Figure 9.Can see, although error signal convergence, its error signal amplitude is large and present obvious cyclophysis, and this is because the cycle harmonic disturbance signal of this control is not eliminated.Therefore known feedback controller does not have circular error inhibition ability.
2) as shown in figure 10, control signal as shown in figure 11 for the error signal under repetitive controller effect complete cycle.Controller parameter is got ρ=0.3, δ=0.01, and the valuation (getting Δ=0.05 after removing odd harmonic disturbance) of ε=0.5 and Δ, can provide the dividing value of characterization system constringency performance: monotone decreasing region Δ
mDR=0.1111V, definitely attractable layer Δ
aAL=0.2797V, steady-state error band Δ
sSE=0.2994V.The descending monotone decreasing region (Δ that is respectively of dividing value in Figure 10
mDR), steady-state error band (Δ
sSE) and absolute attractable layer (Δ
aAL).As shown in Figure 10, adopt that to repeat to be controlled in the situation of disturbance error convergence complete cycle rapider, error signal and adopt FEEDBACK CONTROL effect identical within first complete cycle, after 0.02 second, error signal converges to rapidly characterization system and restrains in boundary.
3) as shown in figure 12, control signal as shown in figure 13 for the error signal under the repetitive controller effect of 1/4 cycle.With reference to complete cycle repetitive controller parameter get ρ=0.3, δ=0.01, the valuation (getting Δ=0.05 after removing odd harmonic disturbance) of ε=0.5 and Δ, can provide the dividing value of characterization system constringency performance: monotone decreasing region Δ
mDR=0.1111V, definitely attractable layer Δ
aAL=0.2797V, steady-state error band Δ
sSE=0.2994V.The descending steady-state error band (Δ that is respectively of dividing value in Figure 12
sSE), definitely attractable layer (Δ
aAL) and monotone decreasing region (Δ
mDR).As shown in Figure 12, adopted for 1/4 cycle repeated to be controlled under the impact of disturbance error convergence rapider compared with repeating complete cycle to control, first 1/4th circular error with adopt that to control effect when FEEDBACK CONTROL identical, after 0.005 second, error signal converges to rapidly in characterization system convergence circle.Odd harmonic disturbing signal is eliminated, and has only been left the very little fluctuating error that random perturbation signal causes.Visible, this 1/4 cycle repetitive controller can be eliminated cycle harmonic disturbance signal effectively fast, and greatly reduces memory headroom and take.