CN102298325B - Variable parameter control method of sine instruction - Google Patents

Variable parameter control method of sine instruction Download PDF

Info

Publication number
CN102298325B
CN102298325B CN 201110173251 CN201110173251A CN102298325B CN 102298325 B CN102298325 B CN 102298325B CN 201110173251 CN201110173251 CN 201110173251 CN 201110173251 A CN201110173251 A CN 201110173251A CN 102298325 B CN102298325 B CN 102298325B
Authority
CN
China
Prior art keywords
signal
coefficient
module
instruction
value
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.)
Active
Application number
CN 201110173251
Other languages
Chinese (zh)
Other versions
CN102298325A (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.)
Beijing Machinery Equipment Research Institute
Original Assignee
Beijing Machinery Equipment Research Institute
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 Beijing Machinery Equipment Research Institute filed Critical Beijing Machinery Equipment Research Institute
Priority to CN 201110173251 priority Critical patent/CN102298325B/en
Publication of CN102298325A publication Critical patent/CN102298325A/en
Application granted granted Critical
Publication of CN102298325B publication Critical patent/CN102298325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Feedback Control In General (AREA)

Abstract

The invention discloses a variable parameter control method of a sine instruction. According to the invention, real-time determination is carried out on frequencies and amplitudes of an instruction signal of a sine instruction control system; after a certain operation period, when processing on the frequencies and the amplitudes of the sine instruction is completed, adjustment is carried out on coefficients of a proportional P and a differential term D of an integration separation PID algorithm according to different frequencies and amplitudes, so that a control algorithm of a variable parameter is realized and thus a high control precision of the system is reached. According to the invention, a problem on an amplitude frequency response characteristic of a servo system in a wide range is resolved; moreover, a principle employed in the invention is simple and practical as well as reliability is high.

Description

A kind of variable parameter control method of sinusoidal instruction
Technical field
The present invention relates to the variable parameter control method of a kind of parameter control method, particularly a kind of sinusoidal instruction.
Background technology
Sinusoidal command signal is a kind of common instruction type in the servo-control system, especially has comparatively widely to use in the servocontrol of armament systems.The PID control method is simple, robustness good, reliability is high, it is the control method that is most widely used at present, but control object generally has non-linear, time uncertainty in actual application, when amplitude-frequency wider range of sinusoidal command signal, conventional non-variable parameter PID control method is difficult to the control effect that reaches desirable in the full frequency band scope because the control parameter is definite value.And for intelligence control methods such as fuzzies, its algorithm is realized relative all more complicated with parameter adjustment, and operand is large, and the arithmetic capability of system is had relatively high expectations.
Summary of the invention
The object of the present invention is to provide a kind of variable parameter control method of sinusoidal instruction, the solution servo-drive system satisfies the amplitude-frequency response characteristic problem in the full frequency band scope under relatively simple algorithm.
A kind of concrete steps of variable parameter control method of sinusoidal instruction are:
The first step is built the sinusoidal command control system of variable element
The sinusoidal command control system of variable element comprises: controller, feedback potentiometer, motor, speed reduction unit and signal processing module, frequency judge module, coefficient adjustment module, PID computing module, controlled quentity controlled variable output module; The feedback signal terminal of controller signals receiving end difference and instruction input end and feedback potentiometer links to each other, controller output end links to each other with the drive wire of motor, motor rotary shaft gear and the engagement of speed reduction unit input end, the output terminal of speed reduction unit and the engagement of rudderpost gear, feedback potentiometer is coaxial to be installed on the rudderpost; Each functional module realizes by the arithmetic processor of controller inside; The function of signal processing module is: realize the reading of signal, filtering; The function of frequency judge module is: frequency and the amplitude of processing and decision instruction signal; The function of coefficient adjustment module is: scale-up factor and the differential coefficient of adjusting PID; The function of PID computing module is: carry out the PID computing; The function of controlled quentity controlled variable output module is: finish the output controlled quentity controlled variable.
Second step signal processing module acquisition instructions and feedback signal
Signal processing module reads in respectively instruction and feedback signal, then instruction and feedback signal is sent to the step low-pass Butterworth filter, carries out the signal filtering computing.
The 3rd synchronizing frequency judge module processing instruction signal amplitude and frequency
The frequency judge module is processed the command signal that collects and is judged; At first the decision instruction signal is in uphill process or decline process, when command signal value increases continuously, be judged as uphill process, otherwise be judged as the decline process, the continuous several times variation range is (ε is the fluctuating error of AD conversion) during less than definite value ε, then is judged as nonsinusoidal signal; When being judged as uphill process, after maximal value occurring, signal value begins to reduce gradually, then thinks the top flex point that sinusoidal signal occurs, puts the maximal value zone bit, this moment the value of recording the time and maximal value; When being judged as the decline process, after minimum value occurring, signal value begins to increase gradually, then thinks the bottom flex point that sinusoidal signal occurs, puts minimum value zone bit and the value of recording the time and minimum value; After maximal value and minimum value all occurred, then the mistiming by its time of occurrence calculated the frequency of signal, and the difference by maximal value and minimum value calculates amplitude.
The 4th step coefficient adjustment module is calculated the PID coefficient
, be updated in the adjustment amount function of proportional P and differential term D as the input of coefficient adjustment module according to the frequency of the command signal that obtains and amplitude, calculate it and adjust coefficient μ (A, f); Its functional relation can be expressed as:
Figure 694058DEST_PATH_IMAGE001
(1)
In the formula (1), k ABe the coefficient of relationship of proportional P or differential term D and amplitude A, k fCoefficient of relationship for proportional P or differential term D and frequency f.
The 5th step PID computing module carries out the PID computing
The coefficient adjustment module calculates to adjust and sends to the PID computing module behind the coefficient μ (A, f) and carry out the PID computing;
The PID control that each cycle of sinusoidal instruction adopts integration to separate; In beginning during trace command, system deviation is cancelled first integral action during greater than setting value, adopts PD control; When deviation adds integral action during less than setting value again, adopt PID control;
According to actual conditions, artificial setting threshold e〉0; As | e (k) |〉during e, adopt PD control; When | e (k) |≤e, adopt PID control; Its control algolithm can be expressed as:
(2)
In the formula (2), T is control cycle; Kp is scale-up factor; Ki is integral coefficient; Kd is differential coefficient; U (k) is the controller output in k cycle; E (k) is the error signal in k cycle; E (k-1) is the error signal in k-1 cycle; β is the integration separation coefficient, as | e (k) | get 0 during e, when | e (k) | get 1 during≤e;
When each sinusoidal instruction cycle does not finish, the parameter constant that keeps last time, every through half instruction cycle, finish the judgement of offset of sinusoidal instruction cycle and amplitude, calculate the adjustment coefficient μ (A of corresponding P or D coefficient according to the coefficient adjustment module, f), thereby the value of kp and ki is regulated, realized VARIABLE PARAMETER PID CONTROL; Its control algolithm is expressed as:
(3)
The 6th step controlled quentity controlled variable output module output controlled quentity controlled variable
The controlled quentity controlled variable u (k) of the motor that formula (3) is calculated exports to motor, thus the control of completion system.
The present invention distinguishes by amplitude and the frequency of offset of sinusoidal instruction, accordingly the control parameter of Kind of Integration Separation PID Controller's is adjusted, and has realized a kind of control algolithm of variable element.The principle of the invention is simple, practical, and reliability is higher, is applied in the Electrodynamic Rudder System of certain model at present.
Embodiment
A kind of concrete steps of variable parameter control method of sinusoidal instruction are:
The first step is built the sinusoidal command control system of variable element
The sinusoidal command control system of variable element comprises: controller, feedback potentiometer, motor, speed reduction unit and signal processing module, frequency judge module, coefficient adjustment module, PID computing module, controlled quentity controlled variable output module; The feedback signal terminal of controller signals receiving end difference and instruction input end and feedback potentiometer links to each other, controller output end links to each other with the drive wire of motor, motor rotary shaft gear and the engagement of speed reduction unit input end, the output terminal of speed reduction unit and the engagement of rudderpost gear, feedback potentiometer is coaxial to be installed on the rudderpost; Each functional module realizes by the arithmetic processor of controller inside; The function of signal processing module is: realize the reading of signal, filtering; The function of frequency judge module is: frequency and the amplitude of processing and decision instruction signal; The function of coefficient adjustment module is: scale-up factor and the differential coefficient of adjusting PID; The function of PID computing module is: carry out the PID computing; The function of controlled quentity controlled variable output module is: finish the output controlled quentity controlled variable.
Second step: signal processing module acquisition instructions and feedback signal
Signal processing module reads in respectively instruction and feedback signal, then instruction and feedback signal is sent to the step low-pass Butterworth filter, carries out the signal filtering computing.
The 3rd step: frequency judge module processing instruction signal amplitude and frequency
The frequency judge module is processed the command signal that collects and is judged.Command signal value increases continuously, is uphill process, and the continuous several times variation range is (ε is the fluctuating error of AD conversion) during less than definite value ε, then is nonsinusoidal signal; In the uphill process, maximal value appears and after, signal value begins to reduce gradually, the top flex point of sinusoidal signal then occurs, puts the maximal value zone bit, this moment the value of recording the time and maximal value; In the decline process, minimum value appears and after, signal value begins to increase gradually, the bottom flex point of sinusoidal signal then occurs, puts minimum value zone bit and the value of recording the time and minimum value.After maximal value and minimum value all occurred, the mistiming by its time of occurrence calculated the frequency of signal, and the difference by maximal value and minimum value calculates amplitude.
The 4th step: the coefficient adjustment module is calculated the PID coefficient
, be updated in the adjustment amount function of proportional P and differential term D as the input of coefficient adjustment module according to the frequency of the command signal that obtains and amplitude, calculate it and adjust coefficient μ (A, f).Its functional relation can be expressed as:
Figure 110630DEST_PATH_IMAGE001
(1)
In the formula (1), k ABe the coefficient of relationship of proportional P or differential term D and amplitude A, k fCoefficient of relationship for proportional P or differential term D and frequency f.
The 5th step: the PID computing module carries out the PID computing
The coefficient adjustment module calculates to adjust and sends to the PID computing module behind the coefficient μ (A, f) and carry out the PID computing.
The PID control that each cycle of sinusoidal instruction adopts integration to separate.In beginning during trace command, system deviation is cancelled first integral action during greater than setting value, adopts PD control; When deviation adds integral action during less than setting value again, adopt PID control.
According to actual conditions, artificial setting threshold e〉0; As | e (k) |〉during e, adopt PD control; When | e (k) |≤e, adopt PID control.Its control algolithm can be expressed as:
Figure 34592DEST_PATH_IMAGE002
(2)
In the formula (2), T is control cycle; Kp is scale-up factor; Ki is integral coefficient; Kd is differential coefficient; U (k) is the controller output in k cycle; E (k) is the error signal in k cycle; E (k-1) is the error signal in k-1 cycle; β is the integration separation coefficient, as | e (k) | get 0 during e, when | e (k) | get 1 during≤e.
When each sinusoidal instruction cycle does not finish, the parameter constant that keeps last time, every through half instruction cycle, finish the judgement of offset of sinusoidal instruction cycle and amplitude, calculate the adjustment coefficient μ (A of corresponding P or D coefficient according to the coefficient adjustment module, f), thereby the value of kp and ki is regulated, realized VARIABLE PARAMETER PID CONTROL.Its control algolithm can be expressed as:
(3)
The 6th step: controlled quentity controlled variable output module output controlled quentity controlled variable
The controlled quentity controlled variable u (k) of the motor that formula (3) is calculated exports to motor, thus the control of completion system.

Claims (1)

1. a variable parameter control method that is used for the sinusoidal instruction of servo-drive system of armament systems is characterized in that the concrete steps of this method are;
The first step is built the sinusoidal command control system of variable element
The sinusoidal command control system of variable element comprises: controller, feedback potentiometer, motor, speed reduction unit, signal processing module, frequency judge module, coefficient adjustment module, PID computing module and controlled quentity controlled variable output module; The feedback signal terminal of controller signals receiving end difference and instruction input end and feedback potentiometer links to each other, controller output end links to each other with the drive wire of motor, motor rotary shaft gear and the engagement of speed reduction unit input end, the output terminal of speed reduction unit and the engagement of rudderpost gear, feedback potentiometer is coaxial to be installed on the rudderpost; Each functional module realizes by the arithmetic processor of controller inside; The function of signal processing module is: realize the reading of signal, filtering; The function of frequency judge module is: frequency and the amplitude of processing and decision instruction signal; The function of coefficient adjustment module is: scale-up factor and the differential coefficient of adjusting PID; The function of PID computing module is: carry out the PID computing; The function of controlled quentity controlled variable output module is: finish the output controlled quentity controlled variable;
Second step signal processing module acquisition instructions and feedback signal
Signal processing module reads in respectively instruction and feedback signal, then instruction and feedback signal is sent to the step low-pass Butterworth filter, carries out the signal filtering computing;
The 3rd synchronizing frequency judge module processing instruction signal amplitude and frequency
The frequency judge module is processed the command signal that collects and is judged; At first the decision instruction signal is in uphill process or decline process, when command signal value increases continuously, is judged as uphill process, otherwise be judged as the decline process, the continuous several times variation range is during less than definite value ε, and ε is the fluctuating error of AD conversion, then is judged as nonsinusoidal signal; When being judged as uphill process, after maximal value occurring, signal value begins to reduce gradually, then thinks the top flex point that sinusoidal signal occurs, puts the maximal value zone bit, this moment the value of recording the time and maximal value; When being judged as the decline process, after minimum value occurring, signal value begins to increase gradually, then thinks the bottom flex point that sinusoidal signal occurs, puts minimum value zone bit and the value of recording the time and minimum value; After maximal value and minimum value all occurred, then the mistiming by its time of occurrence calculated the frequency of signal, and the difference by maximal value and minimum value calculates amplitude;
The 4th step coefficient adjustment module is calculated the PID coefficient
, be updated in the adjustment amount function of proportional P and differential term D as the input of coefficient adjustment module according to the frequency of the command signal that obtains and amplitude, calculate it and adjust coefficient μ (A, f); Its functional relation is expressed as:
μ(A,f)=1+k A+k f (1)
In the formula (1), k ABe the coefficient of relationship of proportional P or differential term D and amplitude A, k fCoefficient of relationship for proportional P or differential term D and frequency f;
The 5th step PID computing module carries out the PID computing
The coefficient adjustment module calculates to adjust and sends to the PID computing module behind the coefficient μ (A, f) and carry out the PID computing;
The PID control that each cycle of sinusoidal instruction adopts integration to separate; In beginning during trace command, system deviation is cancelled first integral action during greater than setting value, adopts PD control; When deviation adds integral action during less than setting value again, adopt PID control;
According to actual conditions, artificial setting threshold e〉0; As | e (k) |〉during e, adopt PD control; When | e (k) |≤e, adopt PID control; Its control algolithm is expressed as:
u ( k ) = k p e ( k ) + β × k i Σ j = 0 k e ( j ) T + k d ( e ( k ) - e ( k - 1 ) ) / T - - - ( 2 )
In the formula (2), T is control cycle; Kp is scale-up factor; Ki is integral coefficient; Kd is differential coefficient; U (k) is the controller output in k cycle; E (k) is the error signal in k cycle; E (k-1) is the error signal in k-1 cycle; β is the integration separation coefficient, as | e (k) | during e, get 0; When | e (k) | during≤e, get 1;
When each sinusoidal instruction cycle does not finish, the parameter constant that keeps last time, every through half instruction cycle, finish the judgement of offset of sinusoidal instruction cycle and amplitude, calculate the adjustment coefficient μ (A of corresponding P or D coefficient according to the coefficient adjustment module, f), thereby the value of kp and ki is regulated, realized VARIABLE PARAMETER PID CONTROL; Its control algolithm is expressed as:
u ( k ) = k p × μ ( A , f ) e ( k ) + β × k i Σ j = 0 k e ( j ) T + k d × μ ( A , f ) ( e ( k ) - e ( k - 1 ) ) / T - - - ( 3 )
The 6th step controlled quentity controlled variable output module output controlled quentity controlled variable
The controlled quentity controlled variable u (k) of the motor that formula (3) is calculated exports to motor, thus the control of completion system.
CN 201110173251 2011-06-25 2011-06-25 Variable parameter control method of sine instruction Active CN102298325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110173251 CN102298325B (en) 2011-06-25 2011-06-25 Variable parameter control method of sine instruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110173251 CN102298325B (en) 2011-06-25 2011-06-25 Variable parameter control method of sine instruction

Publications (2)

Publication Number Publication Date
CN102298325A CN102298325A (en) 2011-12-28
CN102298325B true CN102298325B (en) 2013-01-16

Family

ID=45358798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110173251 Active CN102298325B (en) 2011-06-25 2011-06-25 Variable parameter control method of sine instruction

Country Status (1)

Country Link
CN (1) CN102298325B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331113A (en) * 2014-10-14 2015-02-04 苏州工业职业技术学院 High-precision numerically-controlled constant current source
CN105390143A (en) * 2015-08-27 2016-03-09 中国航空工业集团公司西安飞行自动控制研究所 Voiceprint recognition-based intelligent program control method
CN112421965B (en) * 2020-11-20 2022-04-01 西安热工研究院有限公司 DC-DC power supply control method capable of avoiding system oscillation
CN115420301B (en) * 2022-05-16 2024-07-23 上海新跃联汇电子科技有限公司 Digital control method of angular vibration table

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6697767B2 (en) * 2000-10-18 2004-02-24 The National University Of Singapore Robust process identification and auto-tuning control
JP5465515B2 (en) * 2009-11-24 2014-04-09 株式会社鷺宮製作所 PID control device and PID control method

Also Published As

Publication number Publication date
CN102298325A (en) 2011-12-28

Similar Documents

Publication Publication Date Title
Visioli Research trends for PID controllers
CN102298325B (en) Variable parameter control method of sine instruction
CN108832863B (en) Servo system resonance suppression method of double observers
CN105182740B (en) Raw material grinding autocontrol method
CN106842905B (en) PID control method and device
CN109108954B (en) Torque control system and torque control method of power joint device
CN110784149B (en) Mechanical resonance suppression method and system for alternating current servo system
CN104122531A (en) Self-adaptive radar antenna position oscillation treating method
CN106113040B (en) Flexible mechanical arm system fuzzy control method based on series-parallel estimation model
CN104617845A (en) Servo motor system gain parameter automatically adjusting method and system
CN109100987B (en) Intelligent method for automatically adjusting servo parameters applied to numerical control machine tool
CN103092135B (en) Motor control apparatus equipped with dead-zone processing unit
CN103034127A (en) Axial magnetic bearing control system
CN113428218B (en) Vehicle steering control method, device, equipment and storage medium
CN103926830A (en) Online self-tuning method and system for parameters of fractional order PI controller
CN111933268B (en) Time lag error prediction control method for vascular intervention operation robot system
CN104950683A (en) Self-adaptive gap inverse model generating device for visual servo manipulator system
CN106406100A (en) Rotor dynamic balancing control system based on fuzzy self-tuning single neure PID control and method thereof
US20200301376A1 (en) Machine learning device, control system, and machine learning
CN104793496B (en) Two inputs two export the decoupling and controlling system of polymer reactor
Ito et al. Two-loop design for dual-rate cascade system
JP5919203B2 (en) Automatic steering device
CN108549236B (en) Method for compensating filtering time delay and network transmission time delay of metering pump motor rotating speed signal
CN110243138B (en) Air separation equipment model feedforward control system and method
CN118276434B (en) Dynamic filtering feeding control method and system

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