A kind of temperature characteristic compensation method of control system and circuit
Technical field
The present invention relates to a kind of control technology of analog control system, relate in particular to a kind of compensation technique of control system temperature characterisitic of analog control system.
Background technology
Follow the development of technology such as electronics, information and computing machine, some have the circuit of Control and Feedback system, for example the application of AC-DC (AC/DC) transducer, DC-to-dc (DC/DC) transducer (hereinafter to be referred as transducer) more and more widely, more and more higher for the performance requirement of transducer.
AC/DC transducer, DC-DC converter can be referred to as Switching Power Supply, be to utilize modern power electronics technology, the time ratio that the gauge tap transistor turns on and off, keep a kind of power supply of regulated output voltage, Switching Power Supply is generally by pulse-length modulation (PWM, Pulse Width Modulation) (Metal-Oxide-Semiconductor Field-Effect Transistor MOSFET) constitutes for control IC and metal-oxide half field effect transistor.
The DC/DC transducer is that fixing dc voltage conversion is become variable DC voltage; The AC/DC transducer is to be direct current with exchange conversion, and its power flow direction can be two-way, and power circuit flows to be called " rectification " of load by power supply, and power circuit is returned be called " active inversion " of power supply by load.
Pulse-length modulation is to utilize the numeral of microprocessor to export a kind of very effective technology that mimic channel is controlled, and is widely used in measuring communication, many fields such as power control and conversion.A kind of analog control mode, come the biasing of modulation crystal tube grid or base stage according to the variation of respective loads, realize switching power supply output transistor or the change of transistor turns time, this mode can make the output voltage of power supply keep constant when operation conditions change.Pulse-length modulation (PWM) is a kind of analog signal level to be carried out digitally coded method.By the use of high resolving power counter, modulated being used for of the dutycycle of square wave encoded to the level of a physical simulation signal.Pwm signal remains numeral, because in given any moment, expires the direct current supply of amplitude or (ON) arranged fully, or do not have (OFF) fully.Voltage or current source are to be added to fictitious load with a kind of repetition pulse sequence of leading to (ON) or disconnected (OFF) to get on.Promptly being direct current supply when being added in the load in the time of logical, promptly is that power supply is when being disconnected in the time of disconnected.As long as bandwidth is enough, any analogue value can use PWM to encode.
In order to guarantee the steady operation of system, reach key indexs such as requirement output accuracy, dynamic perfromance, in transducer, add control section and almost be absolutely necessary.For asking the reasons such as simple and cost factor in the design, control section in the transducer mostly is simple PID (proportional-integral-differential) control at present, wherein, the PID controller is exactly the error according to system, and proportion of utilization, integration, difference gauge calculate that controlled quentity controlled variable controls.
The PID controller is made up of ratio unit (P), integral unit (I) and differentiation element (D).
Ratio (P) regulating action: be the deviation of reactive system in proportion, in a single day deviation has appearred in system, and ratio is regulated and produced regulating action immediately in order to reduce deviation.Proportional action is big, can accelerate to regulate, and reduces error, but excessive ratio makes the stability decreases of system, even causes the instability of system.
Integration (I) regulating action: be to make system eliminate steady-state error, improve no margin.Because error is arranged, integration is regulated and is just carried out, and until indifference, integration is regulated and stopped, and integration is regulated output one value often.The power of integral action depends on and integration time constant Ti that Ti is more little, and integral action is just strong more.Otherwise Ti is greatly then a little less than the integral action, adds integration and regulates system stability is descended, and dynamic response is slack-off.Integral action often combines with other two kinds of adjusting rules, forms pi regulator or PID regulator.
Differential (D) regulating action: the rate of change of differential action reflection system deviation signal, have foresight, can predict the trend that deviation changes, therefore can produce leading control action, before deviation does not also form, eliminated by derivation regulating action.Therefore, can improve the dynamic property of system.Select to reduce overshoot under the suitable situation in derivative time, reduce the adjusting time.The differential action has amplification to noise, and the therefore strong excessively differential that adds is regulated, and is anti-interference unfavorable to system.In addition, what differential reacted is rate of change, and when input did not change, the differential action was output as zero.The differential action can not be used separately, need combine with other two kinds of adjusting rules, forms PD or PID controller.
As shown in Figure 1, circuit diagram for a kind of transducer in the prior art, as shown in Figure 1, Np, Ns is the former secondary number of turn of transformer, the voltage of input passes through Np, after the Ns conversion, obtain required voltage, and export drawing-in system FEEDBACK CONTROL part on output circuit through rectification circuit and filtering circuit, promptly can adopt the PID controller, the output voltage signal that detects is by feedback circuit, promptly successively by amplifier EA, isolation and transmission circuit (amplifying circuit), PWM and driver are input to original input circuit Np end, to control the output stability of this transducer.
But in the practical application, the variation range of the residing environmental baseline of transducer (mainly be temperature, also comprise humidity, air pressure etc.), input/output condition (input voltage, load current, load capacitive size etc.) etc. is generally all very wide.And PID control does not possess the adaptive adjustment capability that application conditions recited above is changed, and is difficult in the high-performance of round Realization control system under the wide in range application conditions, sometimes even can't realize system stability in the gamut.
Therefore,, how to make circuit control system possess certain adaptive adjustment capability, improve system performance, make product have more the market competitiveness, become problem anxious to be solved for the applied environment temperature variation along with popularizing and development of transducer technology.
Summary of the invention
The compensation method and the circuit that the purpose of this invention is to provide a kind of temperature characterisitic of converter control system can improve system performance so that circuit control system possesses certain adaptive adjustment capability for the applied environment temperature variation.
For solving technical matters of the present invention, the present invention discloses a kind of temperature characteristic compensation method of control system, wherein, comprising: in control system PID governing loop, add thermistor, be used to offset the control system corresponding speed and the change of stability that cause because of variation of ambient temperature.
More excellent, described thermistor resistance varies with temperature and changes, thereby makes the PID regulator parameter that comprises this thermistor change with temperature, realizes the temperature-self-adaptive compensation of regulator parameter.
More excellent, described control system is the control system of transducer, in the PID governing loop of output feedback and/or input feedforward, adds described thermistor.
For solving technical matters of the present invention, the present invention also discloses a kind of temperature characteristic compensation circuit of control system, comprise: the PID governing loop, this PID governing loop comprises output feedback and input feedforward, wherein, in the circuit of described output feedback and/or input feedforward, also comprise thermistor, be used to offset the control system response characteristic and the change of stability that cause because of variation of ambient temperature.
More excellent, described thermistor also is used for temperature signal collection, when temperature variation arrives certain limit, utilizes this signal that the PID governing loop is carried out structural switching, thereby realizes the adjusting of controller structure temperature self-adaptation.
More excellent, feedback and/or feed forward circuit that described control system PID governing loop is a transducer.
More excellent, described transducer is A.C.-D.C. converter or DC-DC converter.
Compared with prior art, the present invention has following beneficial effect:
The temperature characteristic compensation method of a kind of control system provided by the present invention and circuit, relevant position at control circuit adds thermistor, the characteristic of utilizing the thermistor resistance to change with temperature inversion, realize the automatic adjusting (can be parameter regulation, also can carry out simple structural switching) of control system with variation of ambient temperature.Can improve system performance so that control system possesses certain adaptive adjustment capability for the applied environment temperature variation.
Description of drawings
Fig. 1 is the electrical block diagram of a kind of transducer of prior art;
Fig. 2 is the electrical block diagram of a kind of transducer of the embodiment of the invention.
Specific embodiment
The invention provides a kind of temperature characteristic compensation method and circuit of control system, not only be applicable to the compensation of AC/DC, DC/DC converter control system temperature characterisitic, also be applicable to the compensation of the control system temperature characterisitic of general analog control system simultaneously.Relevant position at control circuit adds thermistor, and the characteristic of utilizing the thermistor resistance to change with temperature inversion realizes the automatic adjusting (can be parameter regulation, also can carry out simple structural switching) of control system with variation of ambient temperature.Can there be multiple different choice the form of adding thermistor and position according to the actual conditions of transducer and controller.For example,, can export in the PID governing loop of feedback and/or input feedforward, add thermistor AC/DC, DC/DC transducer.Can improve system performance so that control system possesses certain adaptive adjustment capability for the applied environment temperature variation.
Described thermistor resistance varies with temperature and changes, thereby makes the PID regulator parameter that comprises this thermistor change with temperature, realizes the temperature-self-adaptive compensation of regulator parameter.
Embodiments of the invention provide a kind of temperature characteristic compensation method of control system, comprise the steps:
In the PID of control system governing loop, add thermistor, be used to offset the control system corresponding speed and the change of stability that cause because of variation of ambient temperature.For example, the thermistor (becoming big) that adds a positive temperature coefficient (PTC) with temperature rising resistance, its resistance raises when temperature raises, thereby the rising of feedback proportional coefficient, the feedback response of control system are speeded up, thereby offsets the loop response speed decline problem that rises and cause because of environment temperature.
Described thermistor also is used for temperature signal collection, when temperature variation arrives certain limit, utilizes this signal that the PID governing loop is carried out structural switching, thereby realizes the adjusting of controller structure temperature self-adaptation.
The present invention discloses a kind of temperature characteristic compensation circuit of control system, comprise: the PID governing loop, this PID governing loop comprises output feedback and input feedforward, wherein, in the circuit of this output feedback and/or input feedforward, also comprise thermistor, be used to offset the control system corresponding speed and the change of stability that cause because of variation of ambient temperature.Can be that example describes specifically by transducer, specific as follows described.
As shown in Figure 2, circuit diagram for a kind of transducer of the embodiment of the invention, as shown in the figure, introduce the PID control circuit at transducer, since the voltage conversion circuit of transducer can the time known, so present embodiment is not just done detailed giving an example and explanation, this enforcement specifically partly is described in detail control circuit.
As shown in Figure 2, this control circuit comprises first resistance, 201, the second resistance 202, first electric capacity 203, the three resistance, 204, the first thermistors 205 (being RT2), second electric capacity 206, second thermistor 207 (being RT1), the 4th resistance 208, the three electric capacity 209, amplifier 210, isolation and transmission circuit 211 (amplifying circuit), PWM212, driver 213.
Wherein, what this first thermistor 205 and second thermistor 207 can alternatives has only one, also can exist simultaneously.
Wherein, the annexation of described control circuit can be as described below, and first resistance 201 and second resistance 202 are connected, and switch through two output terminals of parallel operation after the series connection respectively.The 3rd resistance 204 and 205 parallel connections of first thermistor, connect with first electric capacity 203 in back in parallel, and after the series connection, one end (i.e. first electric capacity, 203 ends) switches through the identical output terminal of parallel operation with first resistance 201, another termination first resistance 201 and second resistance, 202 series connection centres and the negative input that meets amplifier EA210.Amplifier EA210, isolation and transmission circuit 211, PWM212 and driver 213 are connected successively, form feedback circuit.The simple description, i.e. first electric capacity, 203, the three resistance 204, amplifier EA210, isolation and transmission circuit 211, PWM212 and driver 213 connects successively, the composition feedback circuit.Wherein, the plus earth of amplifier EA210, the input feed forward circuit circuit connecting relation of amplifier EA210 is: second thermistor 207 and 208 parallel connections of the 4th resistance, connect with the 3rd electric capacity 209 in back in parallel, second electric capacity, 206 parallel connections of series connection back, and after the parallel connection, the output terminal of a termination amplifier EA210, an end (i.e. the 3rd electric capacity 209 ends) connects the negative pole of amplifier EA210.
Owing to, follow its internal and external parameter of variation of environment temperature all can correspondingly to change for general transducer, raise as environment temperature, system damping meeting change loop response speed big, output electrochemical capacitor ESR decline total system descends generally speaking; Environment temperature is then opposite when reducing.Therefore, in the embodiments of the invention, for example, add thermistor in the PID governing loop of output feedback and/or input feedforward, the thermistor of adding can be used to offset system's corresponding speed and the change of stability that this part causes because of variation of ambient temperature.For example first thermistor 205 (being RT2) among Fig. 2 and second thermistor 207 (being RT1), it is the thermistor (becoming big with temperature rising resistance) of a positive temperature coefficient (PTC), its resistance raises when temperature raises, thereby the feedback proportional coefficient that makes system rises, feedback response speeds up, thereby offsets the foregoing loop response speed decline problem that rises and cause because of environment temperature.For example, first electric capacity 203 of first thermistor 205 (being RT2) and series connection with it and the equivalent input impedance of amplifier constitute a proportion differential link, and the variation of first thermistor 205 (being RT2) can change the scale-up factor of this proportion differential link.
In sum, the temperature characteristic compensation method of a kind of control system provided by the present invention and circuit, not only be applicable to the compensation of AC/DC, DC/DC converter control system temperature characterisitic, also be applicable to the compensation of the control system temperature characterisitic of general analog control system simultaneously.Relevant position at control circuit adds thermistor, and the characteristic of utilizing the thermistor resistance to change with temperature inversion realizes the automatic adjusting (can be parameter regulation, also can carry out simple structural switching) of control system with variation of ambient temperature.Can improve system performance so that control system possesses certain adaptive adjustment capability for the applied environment temperature variation.。