CN101800505A - Method for controlling rotary speed of magnetically suspended flywheel - Google Patents

Method for controlling rotary speed of magnetically suspended flywheel Download PDF

Info

Publication number
CN101800505A
CN101800505A CN 201010123240 CN201010123240A CN101800505A CN 101800505 A CN101800505 A CN 101800505A CN 201010123240 CN201010123240 CN 201010123240 CN 201010123240 A CN201010123240 A CN 201010123240A CN 101800505 A CN101800505 A CN 101800505A
Authority
CN
China
Prior art keywords
value
control
current
matrix
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 201010123240
Other languages
Chinese (zh)
Other versions
CN101800505B (en
Inventor
房建成
周新秀
刘刚
张然
王志强
张聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CN2010101232402A priority Critical patent/CN101800505B/en
Publication of CN101800505A publication Critical patent/CN101800505A/en
Application granted granted Critical
Publication of CN101800505B publication Critical patent/CN101800505B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Feedback Control In General (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The invention relates to a method for controlling a rotary speed of a magnetically suspended flywheel. The method comprises the following steps of: according to a feedback value of the rotary speed of the magnetically suspended flywheel, performing fuzzy adaptive kalman filtration of the feedback value of the rotary speed, performing rotary speed loop control of the magnetically suspended flywheel according to the rotary speed reference value and the filtered rotary speed value, adaptively adjusting the rotary speed loop control parameters according to the rotary speed reference value and the rotary speed deviation, and outputting the current reference value by the rotary speed loop; performing the current loop control according to the current reference value and the current feedback value; and finally, by adjusting the current value of a motor winding, realizing the high-precision control of the rotary speed of the magnetically suspended flywheel in the full-rotary speed range. The method belongs to the technical field of aerospace control, and can also be applied to the high-precision control of other dc brushless motors.

Description

A kind of method for controlling rotary speed of magnetically suspended flywheel
Technical field
The present invention relates to a kind of method for controlling rotary speed of magnetically suspended flywheel, be applicable to the High Accuracy Control of magnetically levitated flywheel rotating speed, belong to the technical field of Aerospace Control.
Background technology
Magnetically levitated flywheel is because of having no friction characteristics, makes it be easy to realize outstanding advantage such as high accuracy and long-life and the important development direction that becomes spacecraft attitude control executing mechanism such as space station, space maneuver platform and quick maneuvering satellite.Realize the high accuracy rotating speed control of magnetically levitated flywheel, high-precision speed feedback and rotating speed control are its necessary conditions.
At present, test the speed and mainly contain two kinds of methods: hall position transducer and photoelectric code disk position transducer.The problem that the hall position transducer tests the speed is that its signal output frequency is too low, and the rotating speed accuracy of detection is very poor, therefore, carries out the rotating speed High Accuracy Control and does not generally adopt the hall position transducer.The problem that adopts photoelectric code disk to carry out rotating speed detection existence is: when adopting photoelectric code disk to test the speed, because the photoelectric code disk output signal frequency is very high, is subjected to forceful electric power easily and disturbs, in addition, when the magnetically levitated flywheel rotor oscillation, deviation also appears in the rotating speed detected value.Generally carry out photoelectric code disk M/T method (M/T method, be meant in the process of testing the speed, the tachometer pulse m1 that not only measures changes with the different of motor speed with high-frequency clock pulse m2, and Measuring Time T also changes, its clock equals each pulse signal cycle sum of optical pulse generator m1) test the speed and do not carry out handling, the rotating speed detected value has certain deviation, therefore, carry out Filtering Processing to rotating speed, general filtering method does not consider that the character filter effect of noise or interference signal is relatively poor.
The High Accuracy Control that realizes magnetically levitated flywheel should guarantee that the reliability service of control program guarantees control precision again.There is perturbation in it with the slowspeed machine parameter at a high speed in the magnetically levitated flywheel running, and the system model when its control system model is with electric operation when the magnetically levitated flywheel running under braking is different.Adopt general PID control rotary speed precision can not reach requirement, adopt complicated control algolithm, reliability but can not guarantee.
Summary of the invention
Technology of the present invention is dealt with problems and is: overcome the deficiency of existing method to magnetically levitated flywheel rotating speed accuracy of detection and control performance, propose a kind of high-precision method for controlling rotary speed of magnetically suspended flywheel, the high rotational speed control precision is all arranged in the full range of speeds of magnetically levitated flywheel.
Technical solution of the present invention is: a kind of method for controlling rotary speed of magnetically suspended flywheel, and according to given magnetically levitated flywheel speed command, the rotating-speed tracking given rotating speed value of control magnetically levitated flywheel, performing step is as follows:
(1) detects the flywheel tachometer value
Adopt photoelectric code disk to utilize the M/T method to test the speed, in the program of testing the speed, the photoelectric code disk signal is judged, flip-flop number is counted after the high level of photoelectric code disk and low level keep certain hour, to reduce the influence of high-frequency interferencing signal, at last photoelectric code disk umber of pulse that detects according to the M/T method and high frequency clock number are changed and are promptly obtained current time magnetically levitated flywheel tachometer value n (k)=60f*m1/[P* (m2+m3)], wherein, f is the frequency of high-frequency clock pulse, P is the umber of pulse of sending in one week of code-disc, in official hour Tc (generally being the sampling period), meter is got the pulse number m1 of photoelectric code disk and the pulse number m2 of high frequency clock respectively, and m3 is that Tc finishes the time interval of back to code-disc next pulse rising edge;
(2) described current time magnetically levitated flywheel tachometer value is carried out fuzzy self-adaption kalman filtering
At first, get state vector x according to the magnetically levitated flywheel motor model 1(k)=and n (k), x 2(k)=x 1(k+1)-A*u (k), wherein, x 1(k), x 2(k) be the system mode vector, the current time magnetically levitated flywheel tachometer value that n (k) obtains for step (1), the control coefrficient of A for calculating according to system parameters, u (k) is system's output controlled quentity controlled variable.
Then system equation can be written as following state space equation formula:
x 1 ( k + 1 ) x 2 ( k + 1 ) = 0 1 - D - F * x 1 ( k ) x 2 ( k ) + A B - AF * u ( k ) = G ( k ) + H * u ( k ) n ( k ) 1 0 x 1 ( k ) x 2 ( k ) = C * x ( k ) , in the formula, D, F, A, B, G, H, C are constant matrices, and D, F, A, B are for being converted to system equation the intermediate variable value of the control system parameter that obtains behind the state equation, and G is a sytem matrix, and H is an input matrix, C is an output matrix;
G = 0 1 - e d 1 T * e d 2 T e d 1 T + e d 2 T ,
H = 30 * k e J * L * π ( d 2 * e d 1 T - d 1 * e d 2 T + d 1 - d 2 ) d 1 * d 2 * ( d 1 - d 2 ) 30 * k e J * L * π ( d 1 * e d 1 T * e d 2 T - d 2 * e d 1 T + d 2 * e d 2 T - d 1 * e d 1 T ) d 1 * d 2 * ( d 1 - d 2 ) - 30 * k e J * L * π ( d 2 * e d 1 T - d 1 * e d 2 T + d 1 - d 2 ) d 1 * d 2 * ( d 1 - d 2 ) * ( e d 1 T - e d 2 T )
C=[10], wherein, J is the magnetically levitated flywheel moment of inertia, k eBe back EMF coefficient, B is a damping coefficient, and u is an electric power output voltage, and R is a motor windings resistance, and L is the motor windings inductance, d 1, d 2Be two of system features equations; E is the natural logrithm truth of a matter, and T is the sampling time.
The state estimation equation of kalman filter:
Figure GSA00000054075700024
In the formula, Be the state estimation value;
Figure GSA00000054075700026
Be the state predicted value; K (k) is the filter gain matrix; The filter gain matrix K (k) of kalman filtering can be calculated as follows: K (k)=δ (k) * P (k/k-1) * C T* (C*P (k/k-1) * C T+ r (k)) -1, P (k/k-1)=G*P (k-1) * G T+ H*Q*H T, P (k)=(I-K (k) * C) * P (k/k-1)
Wherein, C (k)=η (k)/τ (k), η (k)=E (k)-ε * r-C*G*C T, τ (k)=C*G*P (k) * G T* C T,
Figure GSA00000054075700032
In the formula, δ (k) is the decline factor matrix, and P (k/k-1) is the one-step prediction mean square error, C is an output matrix, and P (k) is for estimating mean square error, and r (k) is the measuring noise square difference battle array, G is a sytem matrix, H is an input matrix, and Q is a system noise variance battle array, and P (k) is for estimating mean square error, K (k) is the filter gain matrix, decline factor matrix δ (k) is determined that by softening factor ε and forgetting factor ρ e (k) is for the actual measurement rotating speed and estimate rotating speed deviation, e 0Initial time rotating speed deviation, ε regulates by fuzzy self-adaption and determines that c (k) is the decline amount, and E (k) is an error matrix, and η (k) is that current time square-error amount, τ (k) they are current time estimated bias amount of variation;
(3) carry out rotating speed control according to filtered tachometer value
The rotating speed control of magnetically levitated flywheel electric machine control system is by the outer shroud der Geschwindigkeitkreis, the double loop control of interior circular current ring realizes, der Geschwindigkeitkreis and electric current loop all adopt and become the realization of integral PID control method, wherein der Geschwindigkeitkreis is according to carrying out der Geschwindigkeitkreis control through filtered tachometer value and speed reference, the der Geschwindigkeitkreis Control Parameter is regulated with reference to carrying out self adaptation with the rotating speed absolute value of the bias according to rotating speed, by der Geschwindigkeitkreis control output current reference value, be used for magnetically levitated flywheel motor windings Current Control; The current loop control program is carried out magnetically levitated flywheel motor windings Current Control according to the current reference value and the current feedback value of der Geschwindigkeitkreis output, the current loop control parameter will be according to magnetically levitated flywheel running status, reference rotation velocity value and current deviation absolute value real-time regulated, and electric current loop output controlled quentity controlled variable is directly used in the drive motors operation.
Fuzzy self-adaption kalman filtering parameter ε regulates by fuzzy self-adaption and determines that the method for determining is as follows in the inventive method:
Fuzzy controller adopts single order T-S model, and what make controller is input as ζ=e (k) 2, membership function is:
μ = 0 ζ ≤ t 1 ζ - t 1 t 2 - t 1 t 1 ≤ ζ ≤ t 2 1 t 2 ≤ ζ ≤ t 3 t 4 - ζ t 4 - t 3 t 3 ≤ ζ ≤ t 4 0 t 4 ≤ ζ , T wherein 1, t 2, t 3, t 4Be the point in the input parameter domain, fuzzy control rule
Then as follows:
Figure GSA00000054075700041
Principle of the present invention is: because control system exists certainty to disturb and uncertain interference, constantly all cannot predict for the frequency of disturbance, the size of disturbance, the generation of disturbance in the magnetically levitated flywheel control procedure.But these disturbances have bigger influence to the performance of control system.Just must carry out Filtering Processing if obtain to control effect preferably to the speed feedback value.When magnetically levitated flywheel is operated in different rotating speeds, different running status (electronic, dynamic braking, plug braking), the rotating speed difference of flywheel, the electric current difference of motor windings, the disturbance size of generation is also inequality with frequency.Therefore filtering method is wanted and can be regulated filter factor according to the system noise self adaptation.The present invention adopts fuzzy self-adaption kalman filtering method, if less to the priori understanding of system model and measurement model in filtering, will reduce the performance of kalman filtering, even can excitation filter disperse.Fuzzy self-adaption kalman filtering method is used the inconsistency that decline factor matrix δ (k) increases the predicted state vector, be the to fail calculating of matrix of the main difference of different fading memory algorithms.Filter is in the stabilized treatment state when δ (k)<=1; When δ (k)=1, deteriorate to general kalman filtering method, filter is tending towards unstable when δ (k)>=1.Adopt the defective of the normal value decline factor to be, in filtering owing to before the influence of data more and more littler, the precision of filter will descend.Therefore the decline factor that best method becomes when being exactly employing improves precision of filtering and dynamic property.The present invention regulates the size of decline factor delta (k) by detecting the actual measurement rotating speed with the deviation of estimating rotating speed, reaches filter effect preferably thereby adjust filter gain matrix K (k).The filter gain matrix K (k) of kalman filtering can be calculated as follows:
K (k)=δ (k) * P (k/k-1) * C T* (C*P (k/k -1) * C T+ r (k)) -1, P (k/k-1)=G*P (k-1) * G T+ H*Q*H T, P (k)=(I-K (k) * C) * P (k/k-1) wherein,
Figure GSA00000054075700042
C (k)=η (k)/τ (k), η (k)=E (k)-ε * r-C*G*C T, τ (k)=C*G*P (k) * G T* C T, In the formula, δ (k) is the decline factor matrix, P (k/k-1) is the one-step prediction mean square error, C is an output matrix, P (k) is for estimating mean square error, r (k) is the measuring noise square difference battle array, G is a sytem matrix, H is an input matrix, and Q is a system noise variance battle array, and P (k) is for estimating mean square error, K (k) is the filter gain matrix, decline factor matrix δ (k) is determined that by softening factor ε and forgetting factor ρ e (k) is for the actual measurement rotating speed and estimate rotating speed deviation, e0 initial time rotating speed deviation, ε regulates by fuzzy self-adaption and determines, c (k) is the decline amount, and E (k) is an error matrix, and η (k) is a current time square-error amount, τ (k) is a current time estimated bias amount of variation; Rule of thumb, the ρ value is 0.95, and ε regulates by fuzzy self-adaption and determines;
Fuzzy self-adaption kalman filtering parameter ε regulates by fuzzy self-adaption and determines that the method for determining is as follows:
Because the zeroth order model needs more complicated membership function and rule base, so the fuzzy controller of this control system adopts single order T-S model, because speed error can directly reflect the control precision of rotating speed, what make controller is input as ζ=e (k) 2, choose simple and effective trapezoidal membership function, make membership function be:
μ = 0 ζ ≤ t 1 ζ - t 1 t 2 - t 1 t 1 ≤ ζ ≤ t 2 1 t 2 ≤ ζ ≤ t 3 t 4 - ζ t 4 - t 3 t 3 ≤ ζ ≤ t 4 0 t 4 ≤ ζ , T wherein 1, t 2, t 3, t 4Be the point in the input parameter domain, fuzzy control rule is as follows:
Figure GSA00000054075700052
In the magnetically levitated flywheel control procedure, because there is perturbation in system's controlling models when different running statuses and different rotating speeds value, realize that high-precision rotating speed control must could realize the High Accuracy Control of magnetically levitated flywheel rotating speed according to magnetically levitated flywheel running status, reference rotation velocity value, speed feedback value, rotating speed deviate and current deviation value real-time regulated der Geschwindigkeitkreis, current loop control parameter and maximum duty cycle set-point.
The solution of the present invention is compared with existing scheme, and major advantage is:
(1) traditional M/T rotating speed detection method is not anticipated tacho-pulse, the present invention judges the photoelectric code disk signal in the program of testing the speed, flip-flop number is counted after the high level of photoelectric code disk and low level keep certain hour, to reduce the influence of high-frequency interferencing signal.
(2) traditional control method is directly utilized tachometer value, control poor-performing when there is fluctuation in rotating speed, and the present invention adopts fuzzy self-adaption kalman filtering method at first tachometer value to be carried out adaptive-filtering, and filtering interference signals carries out rotating speed control again.
(3) traditional control method is directly utilized fixing Control Parameter, because there is perturbation in the high low speed parameter of magnetically levitated flywheel, the electrodynamic braking system model is different therefore relatively poor at full range of speeds control performance, the present invention adopts the method for parametric programming, adjusts Control Parameter at running status, reference rotation velocity, reference current, the current deviation value self adaptation of magnetically levitated flywheel.
Description of drawings
Fig. 1 is a flow chart of the present invention;
Fig. 2 is a fuzzy self-adaption kalman filtering algorithm flow chart of the present invention;
Fig. 3 is a fuzzy membership function of the present invention;
Fig. 4 is a system construction drawing of the present invention.
Specific embodiments
As shown in Figure 1, in specific implementation process, concrete implementation step of the present invention is as follows:
At first, adopt fuzzy self-adaption kalman filtering method that the magnetically levitated flywheel tachometer value is carried out Real-Time Filtering.The der Geschwindigkeitkreis control program is regulated der Geschwindigkeitkreis Control Parameter, der Geschwindigkeitkreis output current ring reference current according to the reference rotation velocity value and through the filtered speed feedback value of fuzzy self-adaption kalman self adaptation.The current loop control program is determined the electric current loop maximum duty cycle according to the speed feedback value, and regulates current ring parameter and output current ring controlled quentity controlled variable according to speed reference, current deviation value self adaptation.Specifically may further comprise the steps:
(1) calculates the real-time tachometer value of magnetically levitated flywheel
Magnetically levitated flywheel adopts photoelectric code disk to test the speed, and speed-measuring method is the M/T method, and wherein choosing of timer will be determined according to the control precision and the dynamic response requirement of system in the M/T speed-measuring method; System's control precision requires high more, and the timer setting is long more, and the feedback rotary speed precision is just high more, but the real-time of control is just relatively poor; It is short more that timer is provided with, the real-time update of speed feedback is just fast more, but the precision of speed feedback will be poor more, consider that through compromise choosing the timer that tests the speed is 0.6s, the control frequency of der Geschwindigkeitkreis is 5KHz, because the frequency of photoelectric code disk signal is very high, be subject to disturb, when rotating speed is low, the photoelectric code disk counting error is bigger to the influence of control precision, therefore in the program of testing the speed, the photoelectric code disk signal is judged, flip-flop number is counted after the high level of photoelectric code disk and low level keep certain hour, to reduce the influence of high-frequency interferencing signal, photoelectric code disk umber of pulse that detects according to the M/T method and high frequency clock number are changed and are promptly obtained current time magnetically levitated flywheel tachometer value at last.
(2) the current time magnetically levitated flywheel speed feedback value that detects according to the M/T method is carried out filtering to reduce the influence of disturbing to the speed feedback value, and filtering clicks step and carries out:
A, set up the magnetically levitated flywheel equation of motion
At first, set up the magnetically levitated flywheel motor model: dω dt = 1 J k e i - B J ω di dt = 1 L u - R L i - k e L ω - - - ( 1 )
Wherein, ω magnetically levitated flywheel angular speed, J are the magnetically levitated flywheel moment of inertia, k eBe back EMF coefficient, B is a damping coefficient, and u is an electric power output voltage, and R is a motor windings resistance, and L is the motor windings inductance, and the biography letter that can get flywheel angular speed and electric power output voltage is:
ω ( s ) U ( s ) = k e J * L * s 2 + R * J * s + k e 2 - - - ( 2 )
The system that further can release flywheel rotating speed and electric power output voltage passes letter:
N ( s ) U ( s ) = 30 * k e J * L * π s 2 + R L s + k e 2 J * L , Order a = 30 * k e J * L * π , b = R L , c = k e 2 J * L - - - ( 3 )
System's biography letter is carried out the z conversion to be got
N ( z ) U ( z ) = Z [ 1 - e - Ts s a s 2 + bs + c ] = A * z + B z 2 + F * z + D - - - ( 4 )
Wherein,
A = a * ( d 2 * e d 1 T - d 1 * e d 2 T + d 1 - d 2 ) d 1 * d 2 * ( d 1 - d 2 ) , B = a * ( d 1 * e d 1 T * e d 2 T - d 2 * e d 1 T * e d 2 T + d 2 * e d 2 T - d 1 e d 1 T ) d 1 * d 2 * ( d 1 - d 2 ) , F = - e d 1 T - e d 2 T , D = e d 1 T e d 2 T , T is the sampling period.Get state vector x 1(k)=and n (k), x 2(k)=x 1(k+1)-A*u (k), wherein, x 1(k), x 2(k) be the system mode vector, the current time magnetically levitated flywheel tachometer value that n (k) obtains for step (1), the control coefrficient of A for calculating according to system parameters, u (k) is system's output controlled quentity controlled variable.
Then system equation can be written as following state space equation formula:
x 1 ( k + 1 ) x 2 ( k + 1 ) = 0 1 - D - F * x 1 ( k ) x 2 ( k ) + A B - AF * u ( k ) = G ( k ) + H * u ( k ) n ( k ) 1 0 x 1 ( k ) x 2 ( k ) = C * x ( k ) In the formula, D, F, A, B, G, H, C are constant matrices, and D, F, A, B are for being converted to system equation the intermediate variable value of the control system parameter that obtains behind the state equation, and G is a sytem matrix, and H is an input matrix, and C is an output matrix.
G = 0 1 - e d 1 T * e d 2 T e d 1 T + e d 2 T ,
H = 30 * k e J * L * π ( d 2 * e d 1 T - d 1 * e d 2 T + d 1 - d 2 ) d 1 * d 2 * ( d 1 - d 2 ) 30 * k e J * L * π ( d 1 * e d 1 T * e d 2 T - d 2 * e d 1 T + d 2 * e d 2 T - d 1 * e d 1 T ) d 1 * d 2 * ( d 1 - d 2 ) - 30 * k e J * L * π ( d 2 * e d 1 T - d 1 * e d 2 T + d 1 - d 2 ) d 1 * d 2 * ( d 1 - d 2 ) * ( e d 1 T - e d 2 T )
C=[1 0], wherein, J is the magnetically levitated flywheel moment of inertia, k eBe back EMF coefficient, B is a damping coefficient, and u is an electric power output voltage, and R is a motor windings resistance, and L is the motor windings inductance, d 1, d 2Be two of system features equations; E is the natural logrithm truth of a matter, and T is the sampling time.
B, the magnetic suspension tachometer value is carried out fuzzy self-adaption kalman filtering
Adopt fuzzy self-adaption kalman filtering method that the actual measurement tachometer value is carried out Real-Time Filtering, to reduce the fluctuation of speed, the state estimation equation of kalman filter: In the formula,
Figure GSA00000054075700082
Be the state estimation value; Be the state predicted value; K (k) is the filter gain matrix; The filter gain matrix K (k) of kalman filtering can be calculated as follows: K (k)=δ (k) * P (k/k-1) * C T* (C*P (k/k-1) * C T+ r (k)) -1, P (k/k-1)=G*P (k-1) * G T+ H*Q*H T, P (k)=(I-K (k) * C) * P (k/k-1)
Wherein,
Figure GSA00000054075700084
C (k)=η (k)/τ (k), η (k)=E (k)-ε * r-C*G*C T, τ (k)=C*G*P (k) * G T* C T,
Figure GSA00000054075700085
Figure GSA00000054075700086
In the formula, δ (k) is the decline factor matrix, and P (k/k-1) is the one-step prediction mean square error, C is an output matrix, and P (k) is for estimating mean square error, and r (k) is the measuring noise square difference battle array, G is a sytem matrix, H is an input matrix, and Q is a system noise variance battle array, and P (k) is for estimating mean square error, K (k) is the filter gain matrix, decline factor matrix δ (k) is determined that by softening factor ε and forgetting factor ρ e (k) is for the actual measurement rotating speed and estimate rotating speed deviation, e 0Initial time rotating speed deviation, c (k) is the decline amount, and E (k) is an error matrix, and η (k) is that current time square-error amount, τ (k) they are current time estimated bias amount of variation; ε regulates by fuzzy self-adaption and determines that the method for determining is as follows:
Fuzzy controller adopts single order T-S model, and what make controller is input as ζ=e (k) 2, membership function is:
μ = 0 ζ ≤ t 1 ζ - t 1 t 2 - t 1 t 1 ≤ ζ ≤ t 2 1 t 2 ≤ ζ ≤ t 3 t 4 - ζ t 4 - t 3 t 3 ≤ ζ ≤ t 4 0 t 4 ≤ ζ , T wherein 1, t 2, t 3, t 4Be the point in the input parameter domain, fuzzy control rule
Then as follows:
Figure GSA00000054075700091
(3) carry out rotating speed control according to filtered tachometer value
The rotating speed control of magnetically levitated flywheel electric machine control system is by the outer shroud der Geschwindigkeitkreis, the double loop control of interior circular current ring, der Geschwindigkeitkreis and electric current loop all adopt and become the realization of integral PID control method, wherein der Geschwindigkeitkreis is according to carrying out der Geschwindigkeitkreis control through filtered tachometer value and speed reference, the der Geschwindigkeitkreis Control Parameter is regulated with reference to carrying out self adaptation with the rotating speed absolute value of the bias according to rotating speed, control program is at first judged the scope of speed reference, Control Parameter is different when speed reference is different, when speed reference is big, the proportionality coefficient of der Geschwindigkeitkreis is bigger, otherwise less.Further judge the size of rotating speed absolute value of the bias, the der Geschwindigkeitkreis proportionality coefficient is bigger when the rotating speed absolute value of the bias is very big, and integral coefficient is zero or for very little, if absolute value of the bias has bigger integral coefficient can cause system overshoot bigger when big, the adjusting time is longer; With the rotating speed absolute value of the bias reduce proportionality coefficient is reduced, integral coefficient increases.The der Geschwindigkeitkreis pid algorithm adopts the proportional integral algorithm, and its controller form is:
Figure GSA00000054075700092
The present invention sets five different speed error absolute value scopes, is respectively e_speed (speed error absolute value) ∈ {>200 ∪ [200100] ∪ [10050] ∪ [501] ∪<1}.In being in maximum scope, the speed error absolute value sets kp=305, ki=0.00001 when (e_speed>200); In being in minimum scope, the speed error absolute value sets kp=95, ki=0.01 when (e_speed<1); When the speed error absolute value is between two limiting error scopes, kp, the value of ki is between the value of border.
Der Geschwindigkeitkreis control output current reference value is used for magnetically levitated flywheel motor windings Current Control; The current loop control program is carried out magnetically levitated flywheel motor windings Current Control according to the current reference value and the current feedback value of der Geschwindigkeitkreis output, the current loop control parameter will be according to magnetically levitated flywheel running status, reference rotation velocity value and current deviation real-time regulated, and electric current loop output controlled quentity controlled variable is directly used in the drive motors operation.Control program is at first judged the scope of speed reference, and Control Parameter is different when speed reference is different, and when speed reference was big, the proportionality coefficient of electric current loop was bigger, otherwise less.Further judge the size of current deviation absolute value, the electric current loop proportionality coefficient is bigger when the current deviation absolute value is very big, and integral coefficient is zero or for very little, if absolute value of the bias has bigger integral coefficient can cause system overshoot bigger when big, the adjusting time is longer; With the current deviation absolute value reduce proportionality coefficient is reduced, integral coefficient increases.The electric current loop pid algorithm adopts the proportional integral algorithm, and its controller form is: In DSP, adopt the integral-separated PI implementation.The present invention sets five different current error absolute value scopes and is respectively e_cur (current error absolute value) ∈ {>1 ∪ [0.60.3] ∪ [0.30.1] ∪ [0.10.05] ∪<0.01} is as setting kp=1200 when (e_speed>1) in the current error absolute value the is in maximum scope, ki=0.01; In being in minimum scope, the current error absolute value sets kp=20, ki=10 when (e_speed<0.01); When the current error absolute value is between two limiting error scopes, kp, the value of ki is between the value of border.
For preventing the overcurrent in the running, the maximum duty cycle to electric current loop in the magnetically levitated flywheel running limits, and the maximum duty cycle of electric current loop carries out real-time regulated according to flywheel running status and rotating speed.Maximum duty cycle is less when rotating speed is low, improves maximum duty cycle gradually with the rising of rotating speed.
When satisfying given different reference rotation velocity, control system can both reach reference rotation velocity more accurately with higher dynamic responding speed, and the current loop control parameter will be according to reference rotation velocity value and current deviation absolute value real-time regulated; The current loop control program is carried out electric current loop PID computing according to the reference current value and the current feedback value of der Geschwindigkeitkreis output, and output current ring controlled quentity controlled variable.
Be illustrated in figure 2 as the algorithm flow chart of fuzzy self-adaption kalman filtering.At first, determine the initial value of state vector and mean square error, the state initial value of choosing in the embodiment of the invention according to the initial condition of system
Figure GSA00000054075700101
One step transition matrix
Figure GSA00000054075700102
Measure battle array
Figure GSA00000054075700103
Measuring noise square difference battle array r (k)=10000, system noise variance battle array
Figure GSA00000054075700104
Calculate each intermediate variable according to flow chart shown in Figure 2.By formula K (k)=δ (k) * P (k/k-1) * C T(C*P (k/k-1) * C T+ r (k)) -1Calculation of filtered gain K (k); Calculate estimated bias e (k) according to speed feedback value and rotating speed estimated value; According to the state predicted value
Figure GSA00000054075700105
With filter gain matrix K (k) by formula
Figure GSA00000054075700106
Computing mode is estimated
Figure GSA00000054075700107
Calculate mean square error P (k) with one-step prediction mean square error P (k/k-1) according to formula P (k)=(I-K (k) * C) * P (k/k-1) by filter gain matrix K (k); Adopt the method for fuzzy control to adjust parameter ε according to estimated bias e (k), and adjust decline factor delta (k), by system equation by the ε value
Figure GSA00000054075700108
Obtain the one-step prediction value of state
Figure GSA00000054075700109
By P (k+1/k)=G*P (k) * G T+ H*Q*H TObtain one-step prediction mean square error P (k+1/k), and by the state estimation equation
Figure GSA000000540757001010
Obtain the filter value of actual speed.
Be illustrated in figure 3 as the fuzzy parameter of the present invention membership function of adjusting.Fuzzy membership function is obtained by control magnetically levitated flywheel experience, adopts fuzzy controller to adopt single order T-S model in the present invention, and what make controller is input as ζ=e (k) 2, membership function is taken as trapezoidal function, and expression formula is: T wherein 1, t 2, t 3, t 4Be the point among the input parameter domain T, wherein fuzzy domain is T ∈ [0 20], has 3 fuzzy control rules as follows:
Be illustrated in figure 4 as system construction drawing of the present invention.The present invention adopts der Geschwindigkeitkreis, the control of electric current loop dicyclo for the high accuracy that realizes the flywheel rotating speed.Der Geschwindigkeitkreis is interior ring for the outer shroud electric current loop, the PID control method is adopted in der Geschwindigkeitkreis control, the der Geschwindigkeitkreis Control Parameter is regulated according to speed reference and rotating speed deviate, der Geschwindigkeitkreis proportionality coefficient given when speed reference is big is bigger, integral coefficient is less to reduce system overshoot, proportionality coefficient is bigger when rotating speed absolute value of the bias value is big equally, and integral coefficient is less; When speed reference and rotating speed absolute value of the bias value hour, proportionality coefficient is less, integral coefficient is more greatly to improve control precision.Der Geschwindigkeitkreis output current reference value, electric current loop is according to current reference value and current feedback value output current ring controlled quentity controlled variable, to carry out current loop control.
Electric current loop adopts the PID control method, when satisfying given different reference rotation velocity, control system can both be with higher dynamic responding speed, reach reference rotation velocity more accurately, the current loop control parameter will be according to magnetically levitated flywheel running status, reference rotation velocity value and current deviation absolute value real-time regulated, electric current loop proportionality coefficient given when speed reference is big is bigger, integral coefficient is less to reduce system overshoot, proportionality coefficient is bigger when current deviation absolute value value is big equally, and integral coefficient is less; When speed reference and current deviation absolute value value hour, proportionality coefficient is less, integral coefficient is more greatly to improve control precision.By electric current loop PID control output current ring controlled quentity controlled variable, drive the operation of magnetically levitated flywheel motor.
For preventing the overcurrent in the running, the maximum duty cycle to electric current loop in the magnetically levitated flywheel running limits, and the maximum duty cycle of electric current loop carries out real-time regulated according to flywheel running status and rotating speed.Maximum duty cycle is less when rotating speed is low, improves maximum duty cycle gradually with the rising of rotating speed.
The content that is not described in detail in the present disclosure belongs to this area professional and technical personnel's known prior art.

Claims (2)

1. method for controlling rotary speed of magnetically suspended flywheel is characterized in that performing step is as follows:
(1) detects the flywheel tachometer value
Adopt photoelectric code disk to utilize the M/T method to test the speed, in the program of testing the speed, the photoelectric code disk signal is judged, flip-flop number is counted after the high level of photoelectric code disk and low level keep certain hour, to reduce the influence of high-frequency interferencing signal, at last photoelectric code disk umber of pulse that detects according to the M/T method and high frequency clock number are changed and are promptly obtained current time magnetically levitated flywheel tachometer value n (k)=60f*m1/[P* (m2+m3)], wherein, f is the frequency of high-frequency clock pulse, P is the umber of pulse of sending in one week of code-disc, in official hour Tc, meter is got the pulse number m1 of photoelectric code disk and the pulse number m2 of high frequency clock respectively, and m3 is that Tc finishes the time interval of back to code-disc next pulse rising edge;
(2) described current time magnetically levitated flywheel tachometer value is carried out fuzzy self-adaption kalman filtering
At first, get state vector x according to the magnetically levitated flywheel motor model 1(k)=and n (k), x 2(k)=x 1(k+1)-Au (k), wherein, x 1(k), x 2(k) be the system mode vector, the current time magnetically levitated flywheel tachometer value that n (k) obtains for step (1), the control coefrficient of A for calculating according to system parameters, u (k) is system's output controlled quentity controlled variable.Then system equation can be written as following state space equation formula:
x 1 ( k + 1 ) x 2 ( k + 1 ) = 0 1 - D - F * x 1 ( k ) x 2 ( k ) + A B - A * F * u ( k ) = G * x ( k ) + H * u ( k ) n ( k ) = 1 0 * x 1 ( k ) x 2 ( k ) = C * x ( k ) , In the formula, D, F, A, B, G, H, C are constant matrices, and D, F, A, B are for being converted to system equation the intermediate variable value of the control system parameter that obtains behind the state equation, and G is a sytem matrix, and H is an input matrix, and C is an output matrix;
G = 0 1 - e d 1 T * e d 2 T e d 1 T + e d 2 T ) ,
H = 30 * k e J * L * π ( d 2 * e d 1 T - d 1 * e d 2 T + d 1 - d 2 ) d 1 * d 2 * ( d 1 - d 2 ) 30 * k e J * L * π ( d 1 * e d 1 T * e d 2 T - d 2 * e d 1 T * e d 2 T + d 2 * e d 2 T - d 1 * e d 1 T ) d 1 * d 2 * ( d 1 - d 2 ) - 30 * k e J * L * π ( d 2 * e d 1 T - d 1 * e d 2 T + d 1 - d 2 ) d 1 * d 2 * ( d 1 - d 2 ) * ( - e d 1 T - e d 2 T )
C=[10], wherein, J is the magnetically levitated flywheel moment of inertia, k eBe back EMF coefficient, B is a damping coefficient, and u is an electric power output voltage, and R is a motor windings resistance, and L is the motor windings inductance, d 1, d 2Be two of system features equations; E is the natural logrithm truth of a matter, and T is the sampling time;
The state estimation equation of kalman filter:
Figure FSA00000054075600021
In the formula,
Figure FSA00000054075600022
Be the state estimation value;
Figure FSA00000054075600023
Be the state predicted value; K (k) is the filter gain matrix; The filter gain matrix K (k) of kalman filtering can be calculated as follows: K (k)=δ (k) * P (k/k-1) * C T* (C*P (k/k-1) * C T+ r (k)) -1, P (k/k-1)=G*P (k-1) * G T+ H*Q*H T, P (k)=(I-K (k) * C) * P (k/k-1) wherein,
Figure FSA00000054075600024
C (k)=η (k)/τ (k), η (k)=E (k)-ε * r-C*G*C T, τ (k)=C*G*P (k) * G T* C T,
Figure FSA00000054075600025
Figure FSA00000054075600026
In the formula, δ (k) is the decline factor matrix, and P (k/k-1) is the one-step prediction mean square error, C is an output matrix, and P (k) is for estimating mean square error, and r (k) is the measuring noise square difference battle array, G is a sytem matrix, H is an input matrix, and Q is a system noise variance battle array, and P (k) is for estimating mean square error, K (k) is the filter gain matrix, decline factor matrix δ (k) is determined that by softening factor ε and forgetting factor ρ e (k) is for the actual measurement rotating speed and estimate rotating speed deviation, e 0Initial time rotating speed deviation, ε regulates by fuzzy self-adaption and determines that c (k) is the decline amount, and E (k) is an error matrix, and η (k) is that current time square-error amount, τ (k) they are current time estimated bias amount of variation;
(3) carry out rotating speed control according to filtered tachometer value
The rotating speed control of magnetically levitated flywheel electric machine control system is by the outer shroud der Geschwindigkeitkreis, the double loop control of interior circular current ring realizes, der Geschwindigkeitkreis and electric current loop all adopt and become the realization of integral PID control method, wherein der Geschwindigkeitkreis is according to carrying out der Geschwindigkeitkreis control through filtered tachometer value and speed reference, the der Geschwindigkeitkreis Control Parameter is regulated with reference to carrying out self adaptation with the rotating speed absolute value of the bias according to rotating speed, der Geschwindigkeitkreis control output current reference value is used for magnetically levitated flywheel motor windings Current Control; The current loop control program is carried out magnetically levitated flywheel motor windings Current Control according to the current reference value and the current feedback value of der Geschwindigkeitkreis output, the current loop control parameter will be according to magnetically levitated flywheel running status, reference rotation velocity value and current deviation absolute value real-time regulated, and electric current loop output controlled quentity controlled variable is directly used in the drive motors operation.
2. a kind of method for controlling rotary speed of magnetically suspended flywheel according to claim 1 is characterized in that: the described fuzzy self-adaption kalman of step (1) filtering parameter ε regulates by fuzzy self-adaption and determines that the method for determining is as follows:
Fuzzy controller adopts single order T-S model, and what make controller is input as ζ=e (k) 2, membership function is:
μ = 0 ζ ≤ t 1 ζ - t 1 t 2 - t 1 t 1 ≤ ζ ≤ t 2 1 t 2 ≤ ζ ≤ t 3 t 4 - ζ t 4 - t 3 t 3 ≤ ζ ≤ t 4 0 t 4 ≤ ζ , T wherein 1, t 2, t 3, t 4Be the point in the input parameter domain, fuzzy control rule is as follows:
Figure FSA00000054075600032
CN2010101232402A 2010-03-12 2010-03-12 Method for controlling rotary speed of magnetically suspended flywheel Expired - Fee Related CN101800505B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101232402A CN101800505B (en) 2010-03-12 2010-03-12 Method for controlling rotary speed of magnetically suspended flywheel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101232402A CN101800505B (en) 2010-03-12 2010-03-12 Method for controlling rotary speed of magnetically suspended flywheel

Publications (2)

Publication Number Publication Date
CN101800505A true CN101800505A (en) 2010-08-11
CN101800505B CN101800505B (en) 2012-07-25

Family

ID=42596040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101232402A Expired - Fee Related CN101800505B (en) 2010-03-12 2010-03-12 Method for controlling rotary speed of magnetically suspended flywheel

Country Status (1)

Country Link
CN (1) CN101800505B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102393643A (en) * 2011-10-25 2012-03-28 中国人民解放军国防科学技术大学 Adaptive control method for current loop of magnetic levitation system
CN103019099A (en) * 2012-12-14 2013-04-03 北京航空航天大学 Parameter optimization method for satellite attitude fuzzy controller
CN103241390A (en) * 2013-05-30 2013-08-14 清华大学 Device and method for controlling flight attitude of micro/nano satellite
CN104506163A (en) * 2014-12-27 2015-04-08 科博达技术有限公司 Voltage signal filtering method and device
CN105549393A (en) * 2015-12-26 2016-05-04 曲阜师范大学 Control method of magnetic suspension system during floating and landing processes
CN106042893A (en) * 2012-11-06 2016-10-26 张太平 Hybrid vehicle enabling charge-discharge control for electricity storage device
CN104184382B (en) * 2014-08-11 2017-02-15 天津大学 Method for observing speed of permanent magnet motor
CN108469530A (en) * 2018-04-09 2018-08-31 吴卓航 A kind of speed measuring device and method for vehicle
WO2018205973A1 (en) * 2017-05-12 2018-11-15 联合汽车电子有限公司 Control device and method for motor of power-operated tailgate of automobile
CN109462352A (en) * 2017-08-30 2019-03-12 比亚迪股份有限公司 Motor control method, device and computer readable storage medium
CN111564999A (en) * 2019-12-30 2020-08-21 哈尔滨工业大学(深圳) Motor low-speed measurement method based on MRAS algorithm

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1115517A (en) * 1994-01-05 1996-01-24 Sen公司 Flywheel driven fastener driving tool and drive unit
US7319909B2 (en) * 2005-01-17 2008-01-15 Mitutoyo Corporation Position control device, measuring device and machining device
CN101188393A (en) * 2007-12-12 2008-05-28 北京航空航天大学 Low-speed highly precise control system for magnetic suspending flying wheel electromotor based on n Hall sensors

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1115517A (en) * 1994-01-05 1996-01-24 Sen公司 Flywheel driven fastener driving tool and drive unit
US7319909B2 (en) * 2005-01-17 2008-01-15 Mitutoyo Corporation Position control device, measuring device and machining device
CN101188393A (en) * 2007-12-12 2008-05-28 北京航空航天大学 Low-speed highly precise control system for magnetic suspending flying wheel electromotor based on n Hall sensors

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102393643A (en) * 2011-10-25 2012-03-28 中国人民解放军国防科学技术大学 Adaptive control method for current loop of magnetic levitation system
CN106042893A (en) * 2012-11-06 2016-10-26 张太平 Hybrid vehicle enabling charge-discharge control for electricity storage device
CN103019099A (en) * 2012-12-14 2013-04-03 北京航空航天大学 Parameter optimization method for satellite attitude fuzzy controller
CN103241390A (en) * 2013-05-30 2013-08-14 清华大学 Device and method for controlling flight attitude of micro/nano satellite
CN103241390B (en) * 2013-05-30 2015-07-29 清华大学 Micro-nano satellite flight attitude control setup and method
CN104184382B (en) * 2014-08-11 2017-02-15 天津大学 Method for observing speed of permanent magnet motor
CN104506163B (en) * 2014-12-27 2017-05-17 科博达技术有限公司 Voltage signal filtering method and device
CN104506163A (en) * 2014-12-27 2015-04-08 科博达技术有限公司 Voltage signal filtering method and device
CN105549393A (en) * 2015-12-26 2016-05-04 曲阜师范大学 Control method of magnetic suspension system during floating and landing processes
CN105549393B (en) * 2015-12-26 2018-06-12 曲阜师范大学 A kind of control method of magnetic suspension system floating and descent
WO2018205973A1 (en) * 2017-05-12 2018-11-15 联合汽车电子有限公司 Control device and method for motor of power-operated tailgate of automobile
CN109462352A (en) * 2017-08-30 2019-03-12 比亚迪股份有限公司 Motor control method, device and computer readable storage medium
CN109462352B (en) * 2017-08-30 2020-08-25 比亚迪股份有限公司 Motor control method, device and computer readable storage medium
CN108469530A (en) * 2018-04-09 2018-08-31 吴卓航 A kind of speed measuring device and method for vehicle
CN108469530B (en) * 2018-04-09 2020-05-19 吴卓航 Speed measuring device and method for vehicle
CN111564999A (en) * 2019-12-30 2020-08-21 哈尔滨工业大学(深圳) Motor low-speed measurement method based on MRAS algorithm
CN111564999B (en) * 2019-12-30 2021-12-14 哈尔滨工业大学(深圳) Motor low-speed measurement method based on MRAS algorithm

Also Published As

Publication number Publication date
CN101800505B (en) 2012-07-25

Similar Documents

Publication Publication Date Title
CN101800505B (en) Method for controlling rotary speed of magnetically suspended flywheel
CN105429540B (en) A kind of AC servo motor vibration suppressing method based on Model following control
CN201910764U (en) Permanent magnet synchronous motor (PMSM) direct torque control system based on terminal sliding mode
CN104184382B (en) Method for observing speed of permanent magnet motor
CN109347391B (en) Landau self-adaptive rotational inertia identification method considering system noise
CN109768753A (en) The position-sensor-free permanent magnet synchronous motor model predictive control method of novel sliding mode observer
CN103199788A (en) Permanent magnet synchronous motor rotor position observer
CN108249238A (en) A kind of elevator is without detent torque compensation method, the apparatus and system of weighing
CN106911281B (en) A kind of permanent magnet synchronous motor Speedless sensor speed-measuring method based on fuzzy control and MRAS
CN104779873B (en) A kind of predictive functional control algorithm for PMSM servo-drive systems
CN104009696A (en) Interactive model reference adaptive speed and stator resistance identification method based on sliding-mode control
CN108964556A (en) For driving the senseless control device of permanent magnetic synchronous electrical motor
KR20210047629A (en) Apparatus and method for estimating mechanical parameters of SPMSM driving system using extended sliding-mode observer
CN102403937B (en) System for measuring and inhibiting cogging torque in permanent magnetic synchronous motor and method for realizing same
CN104184381A (en) Method for determining the position and speed of a rotor of a synchronous electric machine by means of status observers
CN103825520A (en) Method for controlling optimal slip frequency of asynchronous motor
Wang et al. A second-order sliding mode observer optimized by neural network for speed and position estimation of PMSMs
CN109617482A (en) The L2 sliding-mode control of permanent magnet synchronous motor
Nerat et al. A novel fast-filtering method for rotational speed of the BLDC motor drive applied to valve actuator
US20180198398A1 (en) System and method for controlling a motor
CN108736784A (en) The method and apparatus for measuring the temperature of the stator winding of permanent magnet synchronous motor
WO2015092462A1 (en) Method and system for controlling an electric motor
CN111835251A (en) Permanent magnet synchronous motor high-performance control method based on no-speed sensing
Cipin et al. Measurement and evaluation of DC motor starting torque
CN105958875A (en) High precision speed regulation control method of speed sensorless permanent magnet synchronous motor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120725

Termination date: 20190312