This application claims priority to Japanese Patent Application No. 2012-237513 filed on Oct. 29, 2012, the entire contents of which are incorporated by reference herein.
Disclosed herein are a feedback control method, a feedback control apparatus, and a feedback control program for determining a manipulated value which is output to a control target so that a process value obtained from the control target matches a target value.
At present, a feedback control system such as a PID control system is used for various purposes such as temperature control, speed control, and position control. In such a feedback control system, a manipulated value for a control target is continuously calculated so that a process value obtained from the control target follows a target value which is set.
As such a feedback control system, a two-degree-of-freedom control system capable of independently controlling a target value characteristic and a feedback characteristic is known (for example, pp. 69 to 106 of non-patent literature 1). An example of such a two-degree-of-freedom control system is a two-degree-of-freedom PID control system of a target value filter type. In the two-degree-of-freedom PID control system of the target value filter type, a target value is supplied to a target value filter, and PID control is performed on the deviation calculated between the value that has been filtered and a process value. In such a two-degree-of-freedom PID control system of the target value filter type, the time constant of the target value filter and the integration time constant of the PID control system are set to the same value. The non-patent literature 1 is System Control Information Library 6 PID Control, published by System control information academy, Asakura Publishing Co., Ltd. in Jul. 20, 1992.
Generally, the time constant of the PID control system is determined in consideration of the time constant of a control target and the like. However, in the case where the difference between a newly set target value and a process value of the control target is large, a manipulated value which is output to the control target is saturated. As an example, temperature control of an industrial furnace will be considered. In the case of setting a normal operation temperature (for example, 1000°) as a target value in a state where an industrial furnace is cooled to room temperature, the difference between the target value and a present process value is large, so that time required to increase the temperature to the target value may become longer than the time constant of a target value filter. Due to this, before the process value of the control target becomes close to the target value, the value output from the target value filter reaches the input target value, and an integration value in an integration element of the PID control system becomes excessive. As a result, the manipulated value on the control target (for example, a heater) is saturated. Once the manipulated value is saturated, even when the process value of the control target becomes close to the target value, the excessive manipulated value is continuously output. As a result, so-called overshoot occurs in the process value of the control target.
The embodiment has been devised to solve the problems described and an object thereof is to provide a feedback control method, a feedback control device, and a feedback control program realizing improved capability of following a target value while avoiding saturation of a manipulated value.
In accordance with one aspect of the embodiment, there is provided a feedback control method for determining a manipulated value which is output to a control target so that a process value obtained from the control target matches a target value. A feedback control method includes: a step of filtering the target value with a filter having a low-pass characteristic; a step of determining the manipulated value in accordance with a deviation between the target value that has been filtered and the process value; and a step of delaying change rate of the target value that has been filtered in accordance with at least one of a fact that the target value is changed and a fact that the determined manipulated value deviates from a predetermined permissible range or approaches the permissible range.
Preferably, in the delaying step, when the target value is changed, a time constant of the filter is made longer in accordance with size of a change amount of the target value.
More preferably, the feedback control method further includes a step of accepting setting/changing of the time constant of the filter.
More preferably, the feedback control method further includes a step of displaying a value of the time constant of the filter that is set.
Preferably, in the delaying step, even in the case where the target value is changed, when the change amount of the target value is smaller than a predetermined value, the time constant of the filter is maintained.
Preferably, the delaying step includes a step of suppressing change rate of the target value that has been filtered while the determined manipulated value deviates from the permissible range.
Preferably, the delaying step includes a step of maintaining the target value that has been filtered at a value before the deviation while the determined manipulated value deviates from the permissible range.
Preferably, the delaying step includes a step of detecting approach to the permissible range based on the change rate of the determined manipulated value and allowance for limit of the permissible range.
According to another aspect of the embodiment, there is provided a feedback control method for determining a manipulated value to be output to a control target so that a process value obtained from the control target matches a target value. The feedback control method includes: a step of filtering the target value with a filter having a low-pass characteristic; a step of determining the manipulated value in accordance with a deviation between the target value that has been filtered and the process value; and a step of calculating a filter time constant as a time constant of the filter by filter time constant=integration time constant TI×coefficient k in relation to a coefficient k and an integration time constant TI of a control system including an integration element for determining the manipulated value.
Preferably, the feedback control method further includes a step of accepting setting/changing of the coefficient k.
Preferably, the feedback control method further includes a step of displaying a value of the coefficient k which is set.
According to further another aspect of the present invention, there is provided a feedback control apparatus for determining a manipulated value to be output to a control target so that a process value obtained from the control target matches a target value. The feedback control apparatus includes: a filter configured to filter the target value and having a low-pass characteristic; a control unit configured to determine the manipulated value in accordance with a deviation between the target value that has been filtered and the process value; and an adjusting unit configured to delay change rate of the target value that has been filtered in accordance with at least one of a fact that the target value is changed and a fact that the determined manipulated value deviates from a predetermined permissible range or approaches the permissible range.
Preferably, when the target value is changed, the adjusting unit is configured to cause a time constant of the filter to be longer in accordance with size of the change amount of the target value.
More preferably, the apparatus further includes a setting section configured to accept setting/changing of the time constant of the filter.
More preferably, the apparatus further includes a display section configured to display a value of the time constant of the filter that is set.
Preferably, even in the case where the target value is changed, when the change amount of the target value is smaller than a predetermined value, the adjusting unit is configured to maintain the time constant of the filter.
Preferably, the adjusting unit is configured to suppress change rate of the target value that has been filtered while the determined manipulated value deviates from the permissible range.
Preferably, the adjusting unit is configured to maintain the target value that has been filtered at a value before the deviation while the determined manipulated value deviates from the permissible range.
Preferably, the adjusting unit is configured to detect approach to the permissible range based on the change rate of the determined manipulated value and allowance for limit of the permissible range.
According to further another aspect of the present invention, there is provided a feedback control apparatus for determining a manipulated value to be output to a control target so that a process value obtained from the control target matches a target value. The feedback control apparatus includes: a filter configured to filter the target value and having a low-pass characteristic; a control unit configured to determine the manipulated value in accordance with a deviation between the target value that has been filtered and the process value; and a setting section configured to calculate a filter time constant as a time constant of the filter by filter time constant=integration time constant TI×coefficient k in relation to a coefficient k and an integration time constant TI of a control system comprising an integration element for determining the manipulated value.
Preferably, the setting section accepts setting/changing of the coefficient k. Preferably, the setting section displays a value of the coefficient k which is set.
According to further another aspect of the present invention, there is provided a feedback control program for determining a manipulated value to be output to a control target so that a process value obtained from the control target matches a target value. The feedback control program causes a computer to execute: a step of filtering the target value with a filter having a low-pass characteristic; a step of determining the manipulated value in accordance with a deviation between the target value that has been filtered and the process value; and a step of delaying change rate of the target value that has been filtered in accordance with at least one of a fact that the target value is changed and a fact that the determined manipulated value deviates from a predetermined permissible range or approaches the permissible range.
According to the present invention, saturation of a manipulated value is avoided, and capability of following a target value can be increased.
Embodiments of the present invention will be described in detail with reference to the drawings. The same reference numerals are designated to the same or corresponding parts in the diagrams and their description will not be repeated.
First, a feedback control system 1 including a control device 10 according to an embodiment of the invention will be described.
As an example,
In the field of control engineering, “process value” is defined as a value of “control value” including an error. If the error is ignored, the “process value” can be regarded as the “control value” for the control target. Consequently, in the following description, the “process value” may be read as “control value”.
In the feedback control system 1, the control device 10 corresponds to an adjusting unit, and the heating furnace 2, a heater 3 for supplying power from a power supply 5 via a solid state relay (SSR) 4, and a temperature sensor 6 provided in the heating furnace 2 correspond to control targets. The heater 3 is typically a resistor and converts the power to be supplied, into thermal energy. The temperature sensor 6 is a detecting unit for measuring temperature in the heating furnace 2 and is made by a thermocouple and a resistance temperature detector (platinum resistance temperature detector).
The control device 10 outputs a manipulated value calculated by executing process related to the PID control system as will be described later to the solid state relay 4. In the feedback control system 1, as a rule, the manipulated value lies in a range of 0 to 100%, and the solid state relay 4 on/off controls circuits existing from the power supply 5 to the heater 3 at a duty ratio according to the manipulated value. For example, when the manipulated value is 50%, the period of 50% of a predetermined control cycle is set to an on state (current-carrying state) and the remaining period of 50% is set to an off state (non-current-carrying state). In this case, in sufficiently long time, the heat generation amount per unit time from the heater 3 is 50% of that in the case where current is passed to the heater 3.
As described above, by adjusting the manipulated value, the control device 10 causes the temperature of the heating furnace 2 (actually, the measurement value by the temperature sensor 6) of the heating furnace to coincide with a target value. The heat generation amount of the heater 3 depends on the duty ratio and, in principle, can be adjusted only in the range of 0 to 100%. Consequently, in the case where the manipulated value calculated in the PID control system exceeds 100% or is below 0%, the control target cannot perform an operation according to the manipulated value. In the specification, such a state (MV 100% and/or MV 0%) is expressed as a state that the manipulated value is “saturated”.
Next, the configuration of the control device 10 according to the embodiment will be described.
The input circuit 110 receives a measurement signal from the temperature sensor 6 and outputs a voltage/current signal in a predetermined range. In the case where the temperature sensor 6 is a thermocouple, the input circuit 110 includes a circuit for detecting thermoelectric force generated at its both ends. In the case where the temperature sensor 6 is a resistance temperature detector, the input circuit 110 includes a circuit for detecting the value of resistance which occurs in the resistance temperature detector. Further, the input circuit 110 may include a filter circuit for eliminating a high frequency component.
The A/D converter 112 converts an analog signal from the input circuit 110 to a digital signal and outputs the digital signal to the processing unit 100.
The operation unit 122 includes a button, a switch, and the like provided for the operation panel illustrated in
The communication interface 124 transmits/receives various information to/from external devices (typically, a PLC (Programmable Logic Controller)). As a system configuration example, there is a case that a target value is supplied from a PLC disposed at higher order to the control device 10. In such a case, the information (for example, SV) from the PLC is supplied to the processing unit 100 via the communication interface 124.
The display unit 120 includes a display, an indicator, and the like provided for the operation panel illustrated in
The processing unit 100 is a computer main body for realizing control related to the embodiment as will be described later and includes a processor 102, a memory 104, and a program module 106. The processor 102 executes the program module 106, thereby realizing process as described above. The program module 106 which is read and data (such as PV and SV) necessary for processes are primarily stored in the memory 104. As the processor 102, a general CPU (Central Processing Unit) or MPU (Micro-Processing Unit) may be used, or a DSP (Digital Signal Processor) for digital signal process may be used. The program module 106 is stored in a nonvolatile storage medium such as a flash memory. The program module 106 may be updated via various recording media. Consequently, the program module 106 itself may be included in the technical scope of the present invention. The processing unit 100 may be configured by using an FPGA (Field-Programmable Gate Array).
The D/A converter 114 converts a digital signal indicative of the manipulated value calculated by the processing unit 100 to an analog signal and outputs the analog signal to the output circuit 116.
The output circuit 116 changes the analog signal from the D/A converter 114 to a signal according to the control target (the solid state relay 4 in the example illustrated in
The control device 10 according to the embodiment has a two-degree-of-freedom control system as a feedback control system. As a typical example of the two-degree-of-freedom control system, in the following, a two-degree-of-freedom PID control system of a target value filter will be described. The outline and a possible problem of the two-degree-of-freedom PID control system of the target value filter will be described.
An example of employing a PI control system as the control unit 160 will be described. Obviously, a derivative element is added, and a PID control system may be employed. More concretely, in the control unit 160, a difference element 162 calculates the difference between a target value (SV′) that has been filtered of the target value filter 150 and a process value (PV), and the difference is supplied to a PI element 164 where a manipulated value (MV) is calculated. The PI element 164 is a kind of a first-order lag filter, and its transfer function C(s)=KP(1+1/TIs). KP denotes here a proportional gain. That is, the control unit 160 determines a manipulated value in accordance with a deviation between a target value that has been filtered and a process value.
The integration element is used to solve a problem that a steady-state deviation (offset) remains only by the proportional operation to increase/decrease an integration value at change velocity according to the inverse of a corresponding integration time constant. As illustrated in
In the two-degree-of-freedom PID control system of the target value filter type illustrated in
After the target value (SV) is changed, the target value filter 150 tuned as described above calculates the target value (SV′) that has been filtered in accordance with the transfer function P(s). By such filtering, the target value which is supplied to the difference element 162 is prevented from sharp change and gradually changes according to the time constant of the target value filter 150. Consequently, the difference supplied to the PI element 164 also gradually increases/decreases at change rate according to the response characteristic of the control target without sharply changing. Therefore, the value according to the difference accumulated in the integration element of the PI element 164 is prevented from becoming excessive. In conceptual expression, when the target value is changed, the target value filter 150 causes the target value to gradually change from a present value to a value after change at a change rate adapted to the response characteristic of the entire system including the PI element 164 and the control target. In such a manner, saturation of the manipulated value of the control unit 160 is prevented.
By employing the target value filter 150 as described above, even in the case where a target value is changed, the control target can be stably controlled. However, in the case where the change amount of the target value becomes excessive, before the control target follows the target value after the change, the target value that has been filtered, and that is output from the target value filter 150 reaches the changed target value. Consequently, the deviation which is input to the PI element 164 in the control unit 160 becomes excessive and the value (integration value) accumulated in the integration element of the PI element 164 also becomes excessive. As a result, a manipulated value output from the control unit 160 becomes saturated. When the manipulated value is saturated, the change rate of the process value is limited. Time required for the process value to reach the target value tends to be longer than that in the case where the manipulated value is not saturated.
The inventors of the present invention found a new problem in the two-degree-of-freedom PID control system of the target value filter type and also found that reduction/disappearance of the filter effect in the target value filter 1500 is the cause of the problem. In light of the findings, the inventors of the present invention paid attention to the fact that, in a general two-degree-of-freedom PID control system of a target value filter type 150, the time constant of the target value filter type, that is, the low-pass characteristic of the target value filter 150 is constant regardless of whether the manipulated value is saturated or not.
The inventors of the present invention reached a novel technical idea that by delaying the change rate of the target value that has been filtered, and that is output from the target value filter 150 in a state where the manipulated value is going to be saturated or in a state where the manipulated value is saturated, the saturation of the manipulated value is prevented or reduced, so that the response characteristic of the feedback control system can be improved.
As realizing means for delaying the change rate in the target value that has been filtered, and that is output from the target value filter 150, typically, there are a method of changing the time constant Tf related to the low-pass characteristic of the target value filter 150 so as to become longer and a method of stopping output updating operation in the target value filter 150. The latter method is equivalent to a method of increasing the time constant Tf related to the low-pass characteristic to infinity. As long as the change rate in the target value that has been filtered, and that is output from the target value filter 150 can be delayed, any of the methods may be employed.
More concretely, in a feedback control system 1A illustrated in
In a feedback control system 1B illustrated in
Further, like a control device 10C illustrated in
Next, as a first embodiment, the control device 10A illustrated in
e1: Outline of Time Constant Changing Process of Target Value Filter
Referring to
Referring to
e2: Method of Determining Time Constant of Target Value Filter (No. 1)
Next, an example of a method of determining the time constant of the target value filter 150 according to the change amount of the target value will be described.
Whether the change amount of the target value is excessive or not in a target feedback control system is determined according to the feedback characteristic (transfer function) in the control unit 160 as the feedback compensation element. Therefore, according to the magnitude relation between proportional bands Pb and ΔSV of the PI element 164 (transfer function C(s)=Kp(1+1/TIs)) of the control unit 160, the time constant Tf of the target value filter 150 is determined. When Kp is a standardized proportional gain, the proportional band Pb is an inverse of the proportional gain, that is, the proportional band Pb=1/Kp. More concretely, in the case where the change amount ΔSV of the target value is larger than the proportional band Pb, a standard time constant Tf0 of the target value filter 150 is corrected by the equation (2) using a target value filter time constant correction coefficient β calculated by the following equation (1), thereby calculating the time constant Tf of the target value filter.
Target value filter time constant correction coefficient β=change amount ΔSV/proportional band Pb (1)
(where target value filter time constant correction coefficient β≧1.0)
Time constant Tf=standard time constant Tf0×target value filter time constant correction coefficient β (2)
The standard time constant Tf0 of the target value filter 150 is determined according to the transfer function of the PI element 164 of the control unit 160. Typically, the standard time constant Tf0 is set to the same value as the integration time constant TI of the PI element 164.
In the case where the change amount ΔSV is equal to or less than the proportional band Pb, it is predicted that the control target can be controlled without saturation of the manipulated value. Consequently, as the time constant of the target value filter 150, the standard time constant is employed. That is, the target value filter time constant correction coefficient β is maintained at 1. In other words, even in the case where the target value is changed, when the change amount ΔSV of the target value is smaller than a predetermined value (the proportional band Pb), the target value filter adjusting unit 180 of the control device 10A maintains the time constant Tf of the target value filter 150 for the following reason. It is predicted that the original control operation by the two-degree-of-freedom PID control system of the target value filter can be realized.
e3: Simulation Example (Improvement Effect)
Subsequently, an improvement effect in the two-degree-of-freedom PID control system of the target value filter type according to the first embodiment will be described.
In the simulation example illustrated in
By employing the process of changing the time constant of the target value filter 150 according to the first embodiment as described above, even when the target value is largely changed, stability and response of the feedback control system can be maintained.
e4: Method of Determining Time Constant of Target Value Filter (No. 2)
The method of determining the time constant Tf of the target value filter 150 is not limited to the above-described method but various methods may be employed. Although the example of determining the target value filter time constant correction coefficient β as a linear function of the ratio of ΔSV for the proportional band Pb of the PI element 164 is illustrated in
Preferably, as the change amount ΔSV of the target value is larger, the control device 10A changes the time constant Tf of the target value filter 150 to be longer.
e5: Procedures
Next, procedures executed in the control device 10A of the first embodiment will be described.
Referring to
In the case where the target value is changed (YES in step S102), the processor 102 calculates the change amount of the target value from the difference between the target value in the computation cycle of last time and the target value in the computation cycle of this time (step S104). The processor 102 determines a new time constant of the target value filter in accordance with the calculated change amount of the target value (step S106). That is, in steps S102 and S104, the processor 102 delays the change rate of the target value that has been filtered, and that is output from the target value filter in accordance with the change in the target value. As a process of delaying the change rate in the target value that has been filtered, the processor 102 changes the time constant related to the low-pass characteristic of the target value filter. At the time of determining the time constant related to the low-pass characteristic, when the target value is changed, the processor 102 makes the time constant longer in accordance with the change amount of the target value.
As described with reference to
Subsequently, the processor 102 stores the target value in the computation cycle of this time (step S108) and calculates the target value that has been filtered, in the computation cycle of this time from the target value in the computation cycle of this time and the target value that has been filtered, in the computation cycle of last time (step S110). That is, the processor 102 filters the target value by using the filter having the low-pass characteristic. The processor 102 stores the target value that has been filtered, in the computation cycle of this time calculated (step S112).
The processor 102 obtains a process value in the computation cycle of this time (step S114) and calculates a deviation from the difference between the target value that has been filtered, in the computation cycle of this time and the process value in the computation cycle of this time (step S116). The processor 102 calculates a manipulated value in the computation cycle of this time from the deviation in the computation cycle of this time and the manipulated value in the computation cycle of last time (step S118).
The processor 102 outputs the calculated manipulated value to the control target (solid state relay 4) (step S120) and stores the manipulated value (step S122). Since a value (integral value) accumulated in the integration element is used in step S118, the integration value accumulated in the PI element 164 is also stored in step S122. The processes in step S100 and the following steps are repeated.
e6: Conclusion
As described above, in a feedback control system (typically, a PI control system or a PID control system) in which the manipulated value (the output of the control device 10 corresponding to the adjusting unit) has a saturation characteristic, when the change amount of the target value becomes excessive, the manipulated value is saturated, and stability and responsiveness decreases. Consequently, the control device 10A of the embodiment changes the time constant of the target value filter in the direction of following the delay in the responsiveness of the control target.
Preferably, as the change amount (absolute value) of the target value is larger, the control device 10 changes the time constant of the target value filter to be longer. The control device 10 of the embodiment automatically optimally sets the time constant of the target value filter in accordance with the change amount of the target value. As a method of setting the time constant of the target value filter, in the control unit (PI element or PID element), using the proportional band as a reference, the time constant of the target value filter is determined so as to increase in proportional to the ratio of the change amount (absolute value) of the target value. In the case where the change amount (absolute value) of the setting temperature is equal to or less than the change amount (absolute value), the original control characteristic of the two-degree-of-freedom PID control system of the is obtained. Consequently, the time constant of the target value filter is limited to a predetermined lower limit value (standard time constant).
As a second embodiment, the control device 10B illustrated in
f1: Outline of Process of Delaying Change Rate in Target Value that has been Filtered, and that is Output from Target Value Filter
Typically, as illustrated in
Alternately, as illustrated in
As described above, in the second embodiment, in a period in which the manipulated value is saturated, the change rate in the target value that has been filtered, and that is output from the target value filter 150 is delayed. By delaying the change rate in the target value that has been filtered, and that is output from the target value filter 150 only in the period in which the manipulated value deviates from the permissible range (is saturated) as illustrated in FIGS. 13B and 13C or
f2: Simulation Example (Improvement Effect)
Subsequently, an improvement effect in the two-degree-of-freedom PID control system of the target value filter type according to the second embodiment will be described.
In the simulation example illustrated in
By employing the process of changing the low-pass characteristic in the target value filter 150 according to the second embodiment as described above, even when the target value is largely changed, stability and responsiveness of the feedback control system can be maintained.
f3: Deviation Prediction
In the above, an example of starting the process of delaying the change rate in a target value that has been filtered, and that is output from the target value filter 150 after the manipulated value deviates from a permissible range has been described. It is also possible to predict deviation of the manipulated value from the permissible range and delay the change rate in the target value that has been filtered. Specifically, when a manipulated value determined by the control unit 160 becomes close to a predetermined permissible range, the change rate in a target value that has been filtered may be delayed.
As a method of predicting deviation of the manipulated value from the permissible range, various methods can be employed. For example, determination may be done based on the computation value in the PI element 164 of the control unit 160, or a control logic such as an observer may be used. Alternately, as will be described in the following, whether the manipulated value deviates from the permissible range or not may be predicted based on the trend of change with time of the manipulated value.
For example, the change rate in the manipulated value is calculated from the change with time of the manipulated value before time tA and, based on an allowance to the permissible range at the time tA, whether the manipulated value will deviate from the permissible range or not can be determined. That is, in the step of delaying the change rate in a target value that has been filtered, approach to the permissible range is detected based on the change rate in the determined manipulated value and the allowance for limit of the permissible range.
Alternately, a function indicative of a change characteristic is determined by fitting process or the like from the change with time in the manipulated value before the time tA. Based on the determined function, the behavior of a manipulated value in future is estimated. In the case where it is predicted that the manipulated value will deviate from the permissible range within predetermined time as a result of the estimation, the change rate in the target value that has been filtered may be delayed at the time point.
f4: Procedures
Procedures executed in the control device 10B according to the second embodiment will now be described.
Referring to
In the case where the obtained manipulated value in the computation cycle of last time does not deviate from the permissible range (NO in step S206), normal filtering process is executed in the target value filter. That is, using the standard time constant of the target value filter, the processor 102 calculates a target value that has been filtered, in the computation cycle of this time from a target value in the computation cycle of this time and a target value that has been filtered, in the computation cycle of last time (step S208). That is, the processor 102 filters the target value with the target value filter having the low-pass characteristic.
On the other hand, in the case where the obtained manipulated value in the computation cycle of last time deviates from the permissible range (YES in step S206), the change rate in the target value that has been filtered, and that is output from the target value filter is delayed. That is, using a longer time constant, the processor 102 calculates a target value that has been filtered, in the computation cycle of this time from a target value in the computation cycle of this time and a target value that has been filtered, in the computation cycle of last time (step S210). That is, in step S210, in accordance with the fact that the manipulated value deviates from the predetermined permissible range, the processor 102 delays the change rate in the target value that has been filtered, and that is output from the target value filter. As a process of delaying the change rate in the target value that has been filtered, the processor 102 changes the time constant related to the low-pass characteristic of the target value filter.
In addition to or in place of step S206, whether the manipulated value in the computation cycle of last time becomes close to the permissible range or not may be determined. That is, based on the change rate in the determined manipulated value and the allowance for limit of the permissible range, approach to the permissible range may be detected.
The processor 102 stores the target value that has been subjected to filtering, in the computation cycle of this time which is calculated in step S208 or S210 (step S212). Subsequently, the processor 102 obtains a process value in the computation cycle of this time (step S214) and also calculates a deviation from the difference between the target value that has been subjected to filtering, in the computation cycle of this time and a process value in the computation cycle of this time (step S216). The processor 102 calculates a manipulated value in the computation cycle of this time from the deviation in the computation cycle of this time and the manipulated value in the computation cycle of last time (step S218).
Subsequently, the processor 102 outputs the calculated manipulated value to a control target (the solid state relay 4) (step S220) and stores the manipulated value (step S222). Since a value (integration value) accumulated in the integration element is used in step S218, the integration value accumulated in the PI element 164 is also stored in step S222. The processes in step S200 and subsequent steps are repeated.
f5: Conclusion
As described above, in a feedback control system (typically, a PI control system or a PID control system) in which the manipulated value (the output of the control device 10 corresponding to the adjusting unit) has a saturation characteristic, when the manipulated value is saturated, stability and responsiveness decreases. Consequently, the control device 10B of the embodiment changes the time constant of the target value filter so as to be temporarily increased in a period in which the manipulated value is saturated or is going to be saturated, thereby suppressing the change rate in the manipulated value. In a period in which the manipulated value is not saturated, the time constant of the target value filter is reset. By suppressing the change rate in the target value that has been subjected to filtering which is output from the target value filter while the manipulated value is saturated, traceability to the target value is enhanced.
As described above, generally, the time constant of the target value filter 150 is set to the same value as the integration time constant of the PID control system disposed in a post state. In the above-described first and second embodiments, the configurations of dynamically changing the time constant of the target value filter 150 are illustrated. In a third embodiment, a configuration that the time constant of the target value filter 150 of the two-degree-of-freedom control system can be set independently of an integration time constant of the PID control system will be described.
The configuration and main operation of a control device 10D are similar to the above-described ones, so that their detailed description will not be repeated.
The control device 10D according to the third embodiment determines the time constant Tf of a filter as the time constant of the target value filter 150 independently of the integration time constant TI of the PID control system. More concretely, using a preset coefficient k, the time constant Tf of the target value filter 150 is automatically calculated by “integration time constant TI×coefficient k”. Specifically, the processing unit 100 of the control device 10D calculates the time constant Tf as the time constant of the target value filter 150 by “time constant Tf=integration time constant Tx coefficient k” in relation to the integration time constant TI of the PID control system including the integration element for determining a manipulated value, and the coefficient k.
The coefficient k can be arbitrarily set/changed by the user. The operation of setting/changing the coefficient k is performed via the operation unit 122. That is, the processing unit 100 of the control device 10D accepts setting/changing of the coefficient k from the user. The coefficient which is set can be recognized by the user. The value is displayed in the display unit 120 when the user operates the operation unit 122. The processing unit 100 of the control device 10D displays the value of the coefficient k which is set.
In the control device 10D according to the embodiment, the time constant of the target value filter 150 (filter time constant) conventionally fixed at the integration time constant TI of the PID control system can be freely set by the user without being fixed to the value of the integration time constant TI. Consequently, more appropriate feedback control can be realized according to the control target.
As the first embodiment, the configuration of delaying the change rate in a target value that has been subjected to filtering which is output from the target value filter 150 in accordance with the change amount of the target value has been described. As the second embodiment, the configuration of delaying the change rate in a target value that has been subjected to filtering which is output from the target value filter 150 in accordance with a fact that a determined manipulated value deviates or approaches a predetermined permissible range has been described. In addition, a configuration employing the target value filter adjusting unit 190 as illustrated in
In the first to third embodiments, the user (or an external setting section) may arbitrarily set/change the time constant Tf of the target value filter 150. The operation of setting/changing the time constant Tf is performed via the operation unit 122. That is, the control device 10 may include a setting section which accepts setting/changing of the time constant Tf of the target value filter 150 or the user may recognize the time constant Tf of the target value filter 150 which is set. The recognizing operation is performed as follows. The user operates the operation unit 122 to display the value in the display unit 120. That is, the control device 10 may include a display section which displays the value of the time constant Tf which is set.
For convenience of explanation, the feedback control system on temperature adjustment has been described above. The feedback control system according to the embodiments may be applied not only to a heating furnace but also to various control targets in which the manipulated value is saturated. For example, it can be applied to pressure control, flow rate control, level control, velocity control, position control, and the like.
Although the configuration example of realizing the above-described processes when the processor executes a program has been described above, the invention may be realized by using a dedicated integration circuit such as an ASIC (Application Specific Integrated Circuit) including the processing unit 100 of the control device 10 and its peripheral circuits. The present invention does not limit the embodiments of the control device 10.
It is to be noted that the embodiments disclosed here are illustrative and not restrictive in all of aspects. The scope of the present invention is defined by the scope of claims rather than by the above description, and all changes that fall within the scope of claims or equivalence are intended to be included.
Number | Date | Country | Kind |
---|---|---|---|
2012-237513 | Oct 2012 | JP | national |