Valve control device and valve control method
10228707 ยท 2019-03-12
Assignee
Inventors
Cpc classification
F02D2041/1409
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F02D41/1401
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F01P2007/146
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
International classification
Abstract
A valve control device for controlling a drive device that drives a valve includes: an operation amount calculation unit that calculates an operation amount of the drive device at predetermined sampling intervals based on a control deviation between a target value of an opening degree of the valve and an actually measured value of an opening degree of the valve; a state determination unit that determines whether the valve is in a steady or transient state; and a first correction unit that outputs, if the state determination unit determines the valve is in the steady state, a predetermined first correction value corresponding to a sign of the control deviation to correct the operation amount calculated by the operation amount calculation unit with the first correction value.
Claims
1. A valve control device for controlling a motor that drives a valve, comprising: an operation amount calculation unit that calculates an operation amount to determine electrical current applied to the motor at predetermined sampling intervals based on a control deviation between a target value of an opening degree of the valve and an actually measured value of an opening degree of the valve; a determination unit that determines whether an absolute value of the control deviation is less than or equal to a predetermined deviation threshold; and a first correction unit that outputs, if the determination unit determines that the absolute value of the control deviation is less than or equal to the predetermined deviation threshold, a predetermined first correction value to correct the operation amount calculated by the operation amount calculation unit with the first correction value, wherein in response to a sign of the control deviation being positive, the first correction unit outputs a positive correction value as a first correction value, and in response to the sign of the control deviation being negative, the first correction unit outputs a negative correction value as the first correction value a controller which controls the motor that drives the valve based on the first correction value.
2. The valve control device according to claim 1, wherein, if a number of times the first correction value is output is less than a predetermined first threshold value, the first correction unit continues outputting the first correction value until the control deviation becomes zero.
3. The valve control device according to claim 1, wherein, the determination unit determines whether the sign of the control deviation is inverted with respect to the sign of the control deviation of a previous sample with no change in the target value and whether the absolute value of the control deviation is less than or equal to the absolute value of the control deviation is less than or equal to the deviation threshold and wherein, if the determination unit determines that the sign of the control deviation is inverted with respect to the sign of the control deviation of a previous sample with no change in the target value and the absolute value of the control deviation is less than or equal to the deviation threshold, the first correction unit outputs the first correction value to correct the operation amount.
4. The valve control device according to claim 1, further comprising: a second correction unit that outputs, if the determination unit determines that the absolute value of the control deviation is more than the deviation threshold, a predetermined second correction value corresponding to a change in the operation amount to correct the operation amount calculated by the operation amount calculation unit with the second correction value.
5. A valve control method of controlling a motor that drives a valve, the method causing a computer to execute: calculating an operation amount to determine electrical current applied to the motor at predetermined sampling intervals based on a control deviation between a target value of an opening degree of the valve and an actually measured value of an opening degree of the valve; determining whether an absolute value of the control deviation is less than or equal to a predetermined deviation threshold; outputting, if the absolute value of the control deviation is less than or equal to the predetermined deviation threshold, a predetermined first correction value to correct the calculated operation amount with the first correction value, wherein in response to a sign of the control deviation being positive, the outputting a positive correction value as a first correction value, and in response to the sign of the control deviation being negative, the outputting a negative correction value as the first correction value; and controlling the motor that drives the valve based on the first correction value.
6. The valve control method according to claim 5, wherein, if a number of times the first correction value is output is less than a predetermined first threshold value, the outputting of the first correction value is continued until the control deviation becomes zero.
7. The valve control method according to claim 5, wherein, if the sign of the control deviation is inverted with respect to the sign of the control deviation of a previous sample with no change in the target value and whether the absolute value of the control deviation is less than or equal to the absolute value of the control deviation is less than or equal to the deviation threshold and wherein, if the determining determines that the sign of the control deviation is inverted with respect to the sign of the control deviation of a previous sample with no change in the target value and the absolute value of the control deviation is less than or equal to the deviation threshold, outputting the first correction value to correct the operation amount.
8. The valve control method according to claim 5, the method causing a computer to further execute: outputting, if the absolute value of the control deviation is more than the deviation threshold, a predetermined second correction value corresponding to a change in the operation amount to correct the calculated operation amount with the second correction value.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
BEST MODE FOR CARRYING OUT THE INVENTION
(9) Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.
(10) First, an engine cooling system of the present embodiment will be described.
(11) As shown in
(12) The engine cooling system 1 circulates cooling water via the main flow channel pipe 91, sub flow channel pipe 92, or bypass flow channel pipe 93. The engine cooling system 1 uses the water jacket 12 to control the temperature of the engine 11.
(13) The engine 11 is an internal-combustion engine of a vehicle, such as an automobile. The water jacket 12 is provided near the engine 11 and is designed to cool the engine 11 with cooling water inside the water jacket 12. The main flow channel pipe 91 allows the cooling water to flow into the radiator 41. The sub flow channel pipe 92 allows the cooling water to flow into the heater 42 and the throttle 43. The bypass flow channel pipe 93 allows the cooling water flowing out of the water jacket 12 to flow into the water pump 13. Incidentally, after flowing into the radiator 41, heater 42, and throttle 43, the cooling water flows into the water pump 13. The water pump 13 forces the cooling water into the water jacket 12. The radiator 41 cools the cooling water. The heater 42 heats the interior of the vehicle. The throttle 43 is designed to control the amount of exhaled air flowing into the engine 11.
(14) The cooling water valve 21 is a rotary valve. In a portion of an outer peripheral surface of the cooling water valve 21, an opening is provided. Depending on the degree of the opening, the cooling water flows into the main flow channel pipe 91 and the sub flow channel pipe 92. The motor 22 is a DC motor that serves an actuator to drive the cooling water valve 21. The position sensor 23 detects a circumferential-direction position of the cooling water valve 21 in order to detect the degree of opening of the cooling water valve 21 to the main flow channel pipe 91 and the sub flow channel pipe 92. The water temperature sensor 24 detects the temperature of the cooling water. ECU 31 is a micro controller that includes a processor and memory to control various operations pertaining to the engine 11. In the case of the present embodiment, suppose that ECU 31 controls operation of the motor 22 based on the position of the cooling water valve 21 detected by the position sensor 23 and the temperature of cooling water detected by the water temperature sensor 24.
(15) According to the above-described configuration, the cooling water circulates via the main flow channel pipe 91; the cooling water is cooled by the radiator 41. When the cooling water passes through the bypass flow channel pipe 93, the cooling water circulates without being cooled. The engine cooling system 1 switches the circulation routes of the cooling water by changing the degree of opening of the cooling water valve 21. Moreover, the engine cooling system 1 controls the temperature of the engine 11 by controlling the amount of cooling water flowing into the main flow channel pipe 91.
(16) The cooling water valve and a seal member will be described.
(17) As shown in
(18) The hardware configuration of the ECU will be described.
(19) As shown in
(20) The functional configuration of a valve control device will be described. Incidentally, in the case of the present embodiment, ECU 31 functions as a valve control device.
(21) As shown in
(22) The operation amount calculation unit 51 calculates, based on a target temperature which the engine 11 is aimed at reaching and based on the temperature of cooling water detected by the water temperature sensor 24, a target flow rate which is a flow rate of cooling water for the water jacket 12 that is set as a target in order to bring the engine 11 to the target temperature. Based on the target flow rate, the operation amount calculation unit 51 calculates a value (target value) of target opening degree which is a target opening degree for the cooling water valve 21. The operation amount calculation unit 51 calculates, through the PID control that is based on the calculated target value and an actual opening degree (current value) of the cooling water valve 21 detected by the position sensor 23 as feedback, an amount of operation for the motor 22.
(23) Incidentally, according to the present embodiment, a movable range of the cooling water valve 21 is set at 190 degrees, and the resolution associated with the driving of the motor 22 is set at 240. Accordingly, in the case of the present embodiment, the opening degree of the cooling water valve 21 is adjusted by 0.344 degrees each time. If the operation amount is increased in positive direction, the cooling water valve 21 is controlled in an open direction. The control of the cooling water valve 21 is performed at predetermined sampling intervals.
(24) The state determination unit 52 carries out a determination process to determine whether the cooling water valve 21 is in a steady or transient state. The determination process will be described later. The first correction unit 53 carries out a steady state correction process, described later, when it is determined by the state determination unit 52 that the cooling water valve 21 is in the steady state. The second correction unit 54 carries out a transient state correction process, described later, when it is determined by the state determination unit 52 that the cooling water valve 21 is in the transient state. Incidentally, the steady state correction process and the transient state correction process calculate a hysteresis correction value; the hysteresis correction values are integrated and added to the operation amount calculated by the operation amount calculation unit 51.
(25) The determination process will be described.
(26) As shown in
(27) If the control deviation is not 0 (S101, NO), the state determination unit 52 determines whether or not the target value calculated by the operation amount calculation unit 51 has been changed (S102).
(28) If the target value has been changed (S102, YES), the state determination unit 52 sets a variable gc, which represents whether the cooling water valve 21 is in the steady or transient state, at 0, which means the valve is in the transient state (S103). The state determination unit 52 then determines again whether or not the control deviation is 0 (S101).
(29) If the target value has not been changed (S102, NO), the state determination unit 52 determines whether or not the sign of the control deviation has been inverted (S104). In this case, the determination unit 52 determines whether or not the sign of the current control deviation has been inverted by comparing the sign with that of the control deviation of the previously sampled.
(30) If the sign of the control deviation has been inverted (S104, YES), the state determination unit 52 determines whether or not the absolute value of the control deviation is less than or equal to 3LSB (S105).
(31) If the absolute value of the control deviation is less than or equal to 3LSB (S105, YES), the state determination unit 52 sets the variable gc at 1 (S106), which means the valve is in the steady state, and then determines again whether or not the control deviation is 0 (S101).
(32) If the absolute value of the control deviation is greater than 3LSB (S105, NO), the state determination unit 52 sets the variable gc at 0, which means that the valve is in the transient state (S103). The state determination unit 52 then determines again whether or not the control deviation is 0 (S101).
(33) If the sign of the deviation has yet to be inverted at the time of the determination at step S104 (S104, NO), the state determination unit 52 sets the variable gc at 0, which means that the valve is in the transient state (S103). The state determination unit 52 then determines again whether or not the control deviation is 0 (S101).
(34) If the control deviation is 0 at the time of the determination at step S101 (S101, YES), the state determination unit 52 sets the variable gc at 1, which means that the valve is in the steady state (S106). The state determination unit 52 then determines again whether or not the control deviation is 0 (S101).
(35) As described above, the state determination unit 52 judges the cooling water valve 21 to be in the steady state when the control deviation is 0 and when the sign of the control deviation has been inverted with no change in the target value and with the control deviation's absolute value less than or equal to a predetermined value. Incidentally, during the above-described process, the state determination unit 52 waits for the next sample after setting the variable gc.
(36) The steady state correction process will be described.
(37) As shown in
(38) If the variable gc is 1 (S201, YES), the first correction unit 53 determines whether or not the control deviation is 0 (S202).
(39) If the control deviation is not 0 (S202, NO), the first correction unit 53 determines whether or not the control deviation is a positive value (S203).
(40) If the control deviation is a positive value (S203, YES), the first correction unit 53 initializes a counter variable hysspc by setting the counter variable at 0 (S204). The first correction unit 53 then outputs a predetermined positive correction value as a hysteresis correction value (S205), increments the variable hysspc (S206), waits for the next sample, and determines whether or not the variable gc is 1 (S207).
(41) If the variable gc is 1 (S207, YES), the first correction unit 53 determines whether or not the control deviation is 0 (S208).
(42) If the control deviation is not 0 (S208, NO), the first correction unit 53 determines whether or not the variable hysspc is greater than or equal to maxc, which is a variable representing a predetermined threshold value (S209).
(43) If the variable hysspc is greater than or equal to the variable maxc (S209, YES), the first correction unit 53 finishes the steady state correction process.
(44) If the variable hysspc is less than the variable maxc (S209, NO), the first correction unit 53 again outputs a predetermined positive correction value as a hysteresis correction value (S205).
(45) If the control deviation is 0 at the time of the determination at step S208 (S208, YES), the first correction unit 53 finishes the steady state correction process.
(46) If the variable gc is not 1 at the time of the determination at step S207 (S207, NO), the first correction unit 53 finishes the steady state correction process.
(47) If the control deviation is a negative value at the time of the determination at step S203 (S203, NO), the first correction unit 53 sets the variable hyssmc at 0 to initialize the variable (S210), outputs a predetermined negative correction value as a hysteresis correction value (S211), increments the variable hyssmc (S212), waits for the next sample, and determines whether or not the variable gc is 1 (S213).
(48) If the variable gc is 1 (S213, YES), the first correction unit 53 determines whether or not the control deviation is 0 (S214).
(49) If the control deviation is not 0 (S214, NO), the first correction unit 53 determines whether the variable hyssmc is greater than or equal to a variable maxc (S215).
(50) If the variable hyssmc is greater than or equal to the variable maxc (S215, YES), the first correction unit 53 finishes the steady state correction process.
(51) If the variable hyssmc is less than the variable maxc (S215, NO), the first correction unit 53 outputs a predetermined negative correction value as a hysteresis correction value (S211).
(52) If the control deviation is 0 at the time of the determination at step S214 (S214, YES), the first correction unit 53 finishes the steady state correction process.
(53) If the variable gc is not 1 at the time of the determination at step S213 (S213, NO), the first correction unit 53 finishes the steady state correction process.
(54) If the variable gc is not 1 at the time of the determination at step S201 (S201, NO), the first correction unit 53 waits for the next sample before determining again whether or not the variable gc is 1 (S201).
(55) As described above, if there is a control deviation in the steady state, the first correction unit 53 outputs a predetermined hysteresis correction value depending on the sign thereof. In outputting the hysteresis correction value, the first correction unit 53 continues outputting a predetermined hysteresis correction value unless the control deviation becomes 0 and unless the number of times the hysteresis correction value is outputted reaches a predetermined threshold value. That is, the first correction unit 53 outputs the hysteresis value multiple times. Such an operation helps improve the controllability of the cooling water valve 21 in the steady state.
(56) The transient state correction process will be described.
(57) As shown in
(58) If the variable gc is 0 (S301, YES), the second correction unit 54 determines whether or not an operation direction of the cooling water valve 21 is the open direction (S302).
(59) If the operation direction of the cooling water valve 21 is the open direction (S302, YES), the second correction unit 54 outputs a predetermined positive correction value as a hysteresis correction value (S303), waits for the next sample, and determines whether or not the variable gc is 0 (S304).
(60) If the variable gc is 0 (S304, YES), the second correction unit 54 determines whether or not a variable mns is 1 and whether or not a variable pls is 0 (S305).
(61) The variables mns and pls will be described. The variable mns is 1 when the operation amount of the current sample has decreased compared with the operation amount of the previous sample and the operation amount of the previous sample has not decreased compared with the operation amount of the sample that came before the previous sample. The variable mns otherwise becomes 0. The variable pls is 1 when the operation amount of the current sample has increased compared with the operation amount of the previous sample and the operation amount of the previous sample has not increased compared with the operation amount of the sample that came before the previous sample. The variable pls otherwise becomes 0.
(62) If the variable mns is 1 and the variable pls is 0 (S305, YES), the second correction unit 54 outputs a predetermined negative correction value as a hysteresis correction value (S306), waits for the next sample, and determines whether or not the variable gc is 0 (S307).
(63) If the operation direction of the cooling water valve 21 is in a close direction at the time of the determination at step S302 (S302, NO), the second correction unit 54 outputs a predetermined negative correction value as a hysteresis correction value (S308), waits for the next sample, and determines whether or not the variable gc is 0 (S309).
(64) If the variable gc is 0 (S309, YES), the second correction unit 54 determines whether or not the variable pls is 1 and whether or not the variable mns is 0 (S310).
(65) If the variable pls is 1 and the variable mns is 0 (S310, YES), the second correction unit 54 outputs a predetermined positive correction value as a hysteresis correction value (S311), waits for the next sample, and determines whether or not the variable gc is 0 (S312).
(66) If the variable gc is 0 (S312, YES), the second correction unit 54 determines whether or not the variable mns is 1 and whether or not the variable pls is 0 (S305).
(67) If the variable gc is not 0 (S312, NO), the second correction unit 54 ends the transient state correction process as shown in
(68) If the variable gc is 0 at the time of the determination at step S307 (S307, YES), the second correction unit 54 determines whether or not the variable pls is 1 and whether or not the variable mns is 0 (S310).
(69) If the variable gc is not 0 at the time of the determination at steps S307 and S312 (S307, NO/S312, NO), the second correction unit 54 ends the transient state correction process in both cases as shown in
(70) If the variable mns is not 1 or the variable pls is not 0 at the time of the determination at step S305 (S305, NO), and if the variable pls is not 1 or the variable mns is not 0 at the time of the determination at step S310 (S310, NO), the second correction unit 54 carries out the process of step S313, as described later, in both cases as shown in
(71) If the variable gc is not 0 at the time of the determination at step S301 (S301, NO), the second correction unit 54 waits for the next sample before determining again whether or not the variable gc is 0 (S301).
(72) The processes that follow that of step S313 will be described. As shown in
(73) If the variable gc is 0 (S314, YES), the second correction unit 54 determines whether or not the variable mns is 1 and whether or not the variable pls is 0 (S315).
(74) If the variable mns is 1 and the variable pls is 0 (S315, YES), the second correction unit 54 outputs, as shown in
(75) If the variable mns is not 1 or the variable pls is not 0 (S315, NO), the second correction unit 54 outputs, as shown in
(76) If the variable gc is not 0 at the time of the determination at step S314 (S314, NO), the second correction unit 54 ends the transient state correction process.
(77) As described above, when the operation amount starts to decrease in the transient state, the second correction unit 54 outputs a negative correction value. When the operation amount starts to increase, the second correction unit 54 outputs a positive correction value. Such an operation helps improve the controllability of the cooling water valve 21 in the transient state.
(78) As described above, the valve control device 5 of the present embodiment outputs a hysteresis correction value based on the steady state and the transient state. Particularly in the steady state, it is possible to improve the performance of setting the cooling water valve 21 to a target opening degree. As a result, it is possible to improve the controllability of the flow rate of cooling water, and therefore to improve the controllability of the temperature of the engine 11. Incidentally, according to the present embodiment, what is controlled by the valve control device 5 is the cooling water valve 21. The valve control device 5 may also be applied to a valve that controls the flow rate of fluid.
(79) The present invention can be embodied in other various forms without departing from the spirit or main features thereof. Thus, the above-described embodiment is merely illustrative in all aspects and should not be interpreted restrictively. The scope of the invention is defined by the appended claims and is not restricted by the specification at all. Furthermore, all modifications, various improvements, substitutions and alternations belonging to the equivalent scope of the claims are within the scope of the present invention.
EXPLANATION OF REFERENCE SYMBOLS
(80) 1: Engine cooling system 5: Valve control device 11: Engine 12: Water jacket 13: Water pump 21: Cooling water valve 22: Motor 23: Position sensor 24: Water temperature sensor 31: ECU 41: Radiator 42: Heater 43: Throttle 51: Operation amount calculation unit 52: State determination unit 53: First correction unit 54: Second correction unit 91: Main flow channel pipe 91a: Seal member 92: Sub flow channel pipe 92a: Seal member 93: Bypass flow channel pipe 311: CPU 312: Memory 313: Input/output interface