Summary of the invention
Technical problem to be solved by this invention is the deficiency overcoming above-mentioned prior art, provides a kind of control device and method of permanent magnetic vacuum breaker divide-shut brake.
The main technical schemes adopted according to the control method of a kind of permanent magnetic vacuum breaker divide-shut brake provided by the invention is: adopt mixed type PWM control technology, by fixed-frequency PWM control technology and Hysteresis control combine with technique, under the prerequisite not increasing system burden, improve the quality of controller output current, comprise the following steps
1) computation PWM is with reference to base value, under determining to correspond to specific divide-shut brake voltage, and the reference PWM base value that in divide-shut brake process, each moment is corresponding;
2) 4 medium filterings are utilized to calculate the real-time current value in each moment in divide-shut brake process;
3) utilize hysteresis control method thereof to calculate real-time current increment, and be according to setting the actual PWM duty ratio exported as R with increment
1and R
2.
The control method of permanent magnetic vacuum breaker divide-shut brake provided by the invention also can have following attached technical characteristic:
PWM with reference to formula in the computational methods of base value is, r=R
s+ n (R
e-R
s)/N,
In formula, n is in divide-shut brake process, and from the n-th sampling instant that moving contact motion starts, N is the sampling number completing the moment in divide-shut brake process from the moving contact initiating moment to divide-shut brake, and r is the reference PWM value of the n-th sampling instant, R
sfor the PWM duty ratio of divide-shut brake initial time, R
gfor the duty ratio of divide-shut brake end moment PWM, and:
When in formula, α is for obtaining reference curve, perform the divide-shut brake order end moment, the ratio of capacitance voltage and initial voltage, when β is normal divide-shut brake, the ratio of actual capacitance initial voltage and electric capacity initial voltage when obtaining reference curve, γ is the capacity chosen of actual divide-shut brake and the ratio of capacitance when obtaining reference curve.
Based on the reference PWM duty ratio r of the n-th sampling instant, the upper limit PWM value R that the calculating corresponding moment should export
1, and lower limit PWM value R
2, R
1and R
2that chooses should follow two principles:
1) be R in duty ratio
1time, guarantee that controller output current is greater than reference current;
2) be R in duty ratio
2time, guarantee that controller output current is less than reference current.
In whole divide-shut brake process, N is the sampling number of AD in whole divide-shut brake process, and n is the n-th sampling instant from start time of closing a floodgate.
After determining α value, under the capacitance that given γ value is corresponding, calculate the voltage reference value that the maximum reference variation amount of PWM is corresponding, wherein:
β
0be the voltage coefficient value that maximum PWM variable quantity is corresponding.
The main technical schemes adopted according to the control device of a kind of permanent magnetic vacuum breaker divide-shut brake provided by the invention is: comprise charge-discharge control unit, IGBT power stage unit, Phototube Coupling unit, analog signal conditioner unit and key control unit,
Storage capacitor real-time voltage and current feedback to energy storage capacitor discharge and recharge, and are given described key control unit according to the discharge and recharge signal from described key control unit by charge-discharge control unit;
Before breaking-closing operating, described key control unit, according to current capacitance voltage value, determines this PWM reference curve operated, thus determines the PWM duty cycle reference value that in divide-shut brake process, each moment is corresponding;
When carrying out breaking-closing operating, described Phototube Coupling unit carries out medium filtering and calculating current increment to the electric current gathered;
Key control unit, according to the duty cycle reference value of current time PWM, triggers IGBT by IGBT control unit and completes corresponding action, reach the object controlling electric current.
The control device of permanent magnetic vacuum breaker divide-shut brake provided by the invention also can have following attached technical characteristic:
Described control device adopts the control mode of coil current closed loop, and key control unit is by hysteresis control method thereof calculating current increment.
Described key control unit should have PWM controlling functions.
The current increment that described key control unit calculates according to hysteresis control method thereof, and export different dutyfactor values according to current increment, reach the object of Current adjustment.
Control device Real-Time Monitoring capacitance voltage, and before operation, calculate the reference value of PWM according to voltage, and in divide-shut brake control procedure, export different duty, carry out Current adjustment.
The beneficial effect adopting the control device of permanent magnetic vacuum breaker divide-shut brake provided by the invention and method to bring is:
1) avoid when using modified hysteresis control method thereof, increase integral coefficient and cause PWM regulating cycle to increase, the problem causing Current Control deviation to increase, makes controller output current near reference current, there will not be larger fluctuation, improves the output quality of electric current.
2) under Hysteresis control mode, output current and reference current are better coincide, usually require that system has higher sample rate, but due to control circuit output time delay, the time delay of transducer Gather and input, and the existence of the time delay such as control algolithm time delay, improve sampling and consider possibly fundamentally to solve the larger problem of current deviation.And apply this method and not only can reduce requirement to AD sample rate, alleviate the computation burden of processor in operation, the operational efficiency of raising system, and the output current of controller can be made more close to reference current curve, thus the raising making the quality of output current obtain to a great extent.When applying the method and realizing breaking-closing operating, can the reliability of effective guarantee breaking-closing operating.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail:
As shown in Figures 1 to 5, according to the embodiment of the control device of a kind of permanent magnetic vacuum breaker divide-shut brake provided by the invention, comprise charge-discharge control unit, IGBT power stage unit, Phototube Coupling unit, analog signal conditioner unit and the key control unit with PWM controlling functions, storage capacitor real-time voltage and current feedback to energy storage capacitor discharge and recharge, and are given described key control unit according to the discharge and recharge signal from described key control unit by charge-discharge control unit;
Before breaking-closing operating, described key control unit, according to current capacitance voltage value, determines this PWM reference curve operated, thus determines the PWM duty cycle reference value that in divide-shut brake process, each moment is corresponding;
When carrying out breaking-closing operating, described Phototube Coupling unit carries out medium filtering and calculating current increment to the electric current gathered;
Key control unit, according to the duty cycle reference value of current time PWM, triggers IGBT by IGBT control unit and completes corresponding action, reach the object controlling electric current.Coil current can be made more close to reference current curve, reduce current ripples, improve electric current output quality.The method can make the controller of permanent magnetic vacuum breaker under the prerequisite not increasing control system burden, exports the electric current more close with reference current, realizes reliable and stable divide-shut brake.The method adopts mixed type PWM control technology, by fixed-frequency PWM control technology and Hysteresis control combine with technique, improves the quality of controller output current
Described control device adopts the control mode of coil current closed loop, and key control unit is by hysteresis control method thereof calculating current increment.
The current increment that described key control unit calculates according to hysteresis control method thereof, and export different dutyfactor values according to current increment, reach the object of Current adjustment.
Control device Real-Time Monitoring capacitance voltage, and before operation, calculate the reference value of PWM according to voltage, and in divide-shut brake control procedure, export different duty, carry out Current adjustment.
See Fig. 1 to Fig. 5, according to the control method of permanent magnetic vacuum breaker divide-shut brake provided by the invention, PWM with reference to formula in the computational methods of base value is, r=R
s+ n (R
e-R
s)/N,
In formula, n is in divide-shut brake process, and from the n-th sampling instant that moving contact motion starts, N is the sampling number completing the moment in divide-shut brake process from the moving contact initiating moment to divide-shut brake, and r is the reference PWM value of the n-th sampling instant, R
sfor the PWM duty ratio of divide-shut brake initial time, R
gfor the duty ratio of divide-shut brake end moment PWM, and:
When in formula, α is for obtaining reference curve, perform the divide-shut brake order end moment, the ratio of capacitance voltage and initial voltage, when β is normal divide-shut brake, the ratio of actual capacitance initial voltage and electric capacity initial voltage when obtaining reference curve, γ is the capacity chosen of actual divide-shut brake and the ratio of capacitance when obtaining reference curve.Before moving contact motion, the reference base value getting PWM is R
s.
See Fig. 1 to Fig. 5, according to the control method of permanent magnetic vacuum breaker divide-shut brake provided by the invention, based on the reference PWM duty ratio r of the n-th sampling instant, the upper limit PWM value R that the calculating corresponding moment should export
1, and lower limit PWM value R
2, R
1and R
2that chooses should follow two principles:
1) be R in duty ratio
1time, guarantee that controller output current is greater than reference current;
2) be R in duty ratio
2time, guarantee that controller output current is less than reference current.
See Fig. 1 to Fig. 5, according to the control method of permanent magnetic vacuum breaker divide-shut brake provided by the invention, for specific control system, after determining α value, under the capacitance that given γ value is corresponding, calculate the voltage reference value that the maximum reference variation amount of PWM is corresponding, wherein:
β
0be the voltage coefficient value that maximum PWM variable quantity is corresponding, can be choosing of practical operation voltage and reference is provided.
The value of Real-time Collection load current, and carry out data filtering according to formula (1), obtain the sampled current value i in the n-th moment
n:
X in formula
kfor the current value that the kth moment is obtained by AD sampling, Max represent to get in bracket comprise the maximum of sampled value, Min represents and gets minimum value.
Through type (2) calculates s
nvalue
I in formula
nbe the n-th moment reference current value, Δ I
mfor hysteresis band, K
p, K
d, K
ibe respectively ratio, differential and integral coefficient, work as s
nwhen value is 1, the duty ratio arranging PWM is R
1, work as s
nfor-1 time, the duty ratio arranging PWM is R
2, work as s
nwhen being 0, PWM duty ratio keeps current set point and does not make any change.
When closing a floodgate to 27.5kV bistable permanent-magnet vacuum circuit breaker, because the current waveform shown in controller output map 1 can make circuit breaker separate immediately after combined floodgate, namely cannot close a floodgate puts in place and keeps, and waveform sawtooth is obvious.When using mixed type PWM control methods instead, and to arrange PWM control cycle be 100 microseconds, R
1be 100%, R
2when being 86%, current output waveform as shown in Figure 3 can be obtained.As shown in Figure 3, switching current and reference current are very identical, also achieve reliable closing operation simultaneously, and its control effects is much better than the situation only using modified model Hysteresis control.Above-mentioned adjustment process does not increase the sample rate of AD, thus the more calculating avoiding raising sample rate and need carry out.
Because controller has carried out filtering to input signal in sampling process, the current waveform shown in Fig. 3, does not find out the adjustment process of PWM, and Fig. 4 gives the current waveform at oscilloscope down-sampling.Significantly can find out from Fig. 4 the vestige that PWM regulates, namely in Hysteresis control, be R when arranging PWM duty ratio
2time, current waveform is with a small amount of burr.As can be seen from Figure 3, in the later stage of Hysteresis control, electric current is slightly higher, if in later stage control voltage still in higher level, so probably cause and get R in duty ratio
2during value, electric current cannot decline, and Hysteresis control cannot normally be carried out.Therefore, in control method, the setting of PWM duty ratio realizes the very crucial factor of control program.For enabling control method obtain good control effects, must to R
1and R
2value analyze.
For obtaining R
1and R
2value, roughly can determine the curve that the value of PWM duty ratio in a divide-shut brake process linearly changes first on the whole, and with this curve as a reference, choose suitable R
1and R
2value.Because the object of current following in divide-shut brake process ensures that each divide-shut brake process travel path is consistent, therefore, can think that the energy approximation that each divide-shut brake consumes is equal, namely the energy of each electric capacity output is equal.When setting reference curve, reference voltage is U, and capacitance is C, and when completing feed motion, capacitance voltage drops to α U, then, when obtaining reference curve, the energy that electric capacity exports is:
W=(1-α
2)CU
2/2, (3)
If actual switching voltage is β U, capacitance is γ C, so after combined floodgate completes, the voltage U of its electric capacity ' should be:
Because combined floodgate initial time capacitance voltage is β U, then according to the impulse equivalency principle of PWM, can set combined floodgate initial time PWM duty ratio is R
s=1/ β, requires β>=1 here, and namely practical operation voltage must on the voltage obtaining predetermined current curve.Meanwhile, General Requirements γ >=1, namely capacitance also must on the capacitance obtaining reference curve, and so initial time electric current should be able to be approximate consistent with reference current.In like manner in the combined floodgate end moment, the duty ratio of PWM should be:
In divide-shut brake process, because the whole operating process time is shorter, when moving contact does not start action, can think that voltage is substantially constant, now, PWM duty ratio can not regulate, after the initiating moment, can think approximate in the process that voltage moves at moving contact linearly to decline, thus the regulated value of PWM also can be thought approximate and linearly changes.It can thus be appreciated that, in divide-shut brake process, from the reference value of any time PWM after the moving contact initiating moment be:
r=R
s+n(R
e-R
s)/N (6),
In formula, N is from the initiating moment to the sampling number having operated moment AD in divide-shut brake process, and n is n-th sampling, and its value is the integer from 0 to N.Because the initiating moment is generally little, therefore, above formula can be applied to whole making process, now, needs suitable increase R
1value, and reduce R
2value, thus make whole operating process electric current normally rise or to decline.
After the PWM reference value obtaining making process any time, R
1with R
2value can be added and subtracted on the basis of reference value.Due to R
1value actual current increase ratio reference value must be made faster, therefore its value must be greater than reference value, in addition for avoiding the too fast of rising, electric current is caused to occur larger ripple, realize other compensation for leaving enough wish amounts simultaneously, and avoid occurring division calculation in adjustment process, simplify computational process, recommend R
1reference value be (1+1/8) r, decline time, get R according to symmetry principle
2value be (1-1/8) r.When practical application, other variable quantities can be chosen as required, as (1+1/16) r, (1+1/4) r etc.
After the PWM reference value obtaining making process any time, R
1with R
2value can be added and subtracted on the basis of reference value, and the variable quantity of PWM reference value is f (β), that is:
When practical application, capacitance is determined, namely γ is constant, but the operating voltage of divide-shut brake might not be stablized, and particularly in the situation of multiple shot reclosing, can obtain formula (7) differentiate:
f'(β)=1/β
2-αβ/(β
2+(α
2-1)/γ)
3/2(8)
From formula (8), f'(β) root be
Can prove when meeting β
2during γ>=1, f (β)≤0 perseverance is set up, when reality uses, due to β>=1, and γ>=1, therefore β
2γ>=1 perseverance is set up.Because the value perseverance of β is greater than 1, therefore for formula (9) without the need to considering that root gets the situation of negative value.As β < β
0time, f'(β) < 0, and as β > β
0, f'(β) and > 0.It can thus be appreciated that f (β) is at β
0place obtains minimum, again f (β)≤0 perseverance set up, that is now PWM reference value at β
0point obtains unique minimum, and now the variable quantity of PWM value is maximum.In addition, from formula (9), β
0value and the characteristic (namely load is larger, and electric capacity pressure drop is larger) of load and the actual capacitance used relevant.
Table 1 gives when γ=1, α value and β
0and the relation between the maximum variable quantity of PWM.As shown in Table 1, when the capacitance obtaining reference curve is identical with the capacity of actual breaking-closing operating, the value of α is less, and the variable quantity of PWM reference value is larger.When γ=1 (under identical capacitance), the large I of load is directly reflected by α value, and α value is larger, then load is lighter, otherwise load is heavier.When α=1, namely electric capacity is close to time unloaded, and PWM reference value perseverance is constant, now need not carry out the correction of PWM reference value.
Table 1 α value and β
0and the relation of the maximum variable quantity of PWM
Table 2 and table 3 sets forth when α=0.6 and α=0.9, the change of γ value and β
0and the relation between the maximum variable quantity of PWM.From table 2 and table 3, increase with capacitance, the variable quantity of PWM reference value increases, and therefore, when capacitance increases, generally PWM value should not be approximately constant.Capacitive differential is larger, needed for the PWM correction value of carrying out also larger.
During table 2 α=0.6, γ value and β
0and the relation of the maximum variable quantity of PWM
During table 3 α=0.9, γ value and β
0and the relation of the maximum variable quantity of PWM
When obtaining good dynamic characteristic, usually require that capacitance is less, this can bring the impact of two aspects, during first acquisition reference curve, the pressure drop of electric capacity is general larger, namely α is less, it is two when being normal runnings, if the capacitance obtaining reference curve is less, then during practical application, capacitance must strengthen to tackle other special circumstances such as multiple shot reclosing, γ value is general larger in this case, from the data analysis of formula (9) and table 1 ~ table 3, both of these case all can make the variable quantity of PWM increase.That is the current reference curve obtained in this case, its PWM value generally can not be equivalent to constant value, must carry out linear revise, otherwise easily cause larger current fluctuation.
Be specifically described for the closing operation shown in Fig. 1.Voltage when obtaining reference curve shown in Fig. 1 is 220V, and the voltage of practical operation is 235V, and capacitance is identical with capacity when obtaining reference curve.It can thus be appreciated that β=1.068, γ=1, therefore can determine that the duty cycle reference value of initial time is R
s=93.6%, when obtaining reference curve, the end moment voltage that closes a floodgate approximately drops to 191V, and therefore α value is about 81.3%.
For this control system, when its PWM change measures maximum, the value of β is
Now
It can thus be appreciated that for this system, the maximum variable quantity of reference value of its PWM is no more than 8%, changing value is also little, this is because the capacitance that reference curve obtains is the Capacitance parallel connection of 2 22000 μ F, capacitance is comparatively large, and the electric capacity obtaining reference curve is identical with the capacitance of normal running.
Value condition according to virtual voltage has:
Sampling number during combined floodgate is 350 points, and therefore each PWM reference value change curve is:
r=0.936+n(0.908-0.936)/N
From above formula, the change of each duty ratio is less, and therefore, desirable PWM reference value is constant 0.93, according to R
1recommended range
R
1=1.125×0.93=1.04
Because PWM duty ratio maximum is 100%, therefore desirable R
1=100%, get R according to upper and lower symmetry principle
2=86%, then can obtain waveform as shown in Figure 3.In figure 3, later stage electric current is slightly bigger than normal, this is because close a floodgate latter stage PWM reference value close to 90.8%, R
2actual value is 86%, close to reference value, and R
1be 100%, depart from reference value comparatively large, thus it is fast to make electric current increase, decline slow, current value ratio reference value is slightly higher.Now, suitably R can be reduced
2value, to make actual current more close to reference current.When getting R
2=84%, current curve as shown in Figure 5 can be obtained.
It is to be noted if make the reference value of PWM be constant, so must the r value that calculates of utility formula (6) at interval (R
1, R
2) within, and keep r value at (R as far as possible
1+ R
2)/about 2, thus ensure that electric current can rise reliably or decline.Comparison diagram 3 is known, at the controlling curve of later stage Fig. 5 more close to reference curve.Therefore there is better control effects.
As the above analysis, by mixed type PWM control to make controller output current and reference current more close, thus make on/off switch process more reliable.For ensureing that the stability of branch wire time provides reliable control method.