This application claims priority to Japanese Patent Applications No. 2012-049327 filed on Mar. 6, 2012 and No. 2012-095493 filed on Apr. 19, 2012 the disclosure of which, including the specification, drawings and abstract, is incorporated herein by reference in its entirety.
1. Field of the Invention
The invention relates to a solenoid control device that executes feedback control such that a drive current for a solenoid follows a target current.
2. Discussion of Background
There is a solenoid control device that executes feedback control of a drive current for a solenoid, by driving, through pulse width modulation (PWM), a switching element provided on a power supply line to the solenoid. A solenoid control device described in Japanese Patent Application Publication No. 2012-13098 (JP 2012-13098 A) includes a current detection unit that detects a drive current (actual current) for a solenoid. The solenoid control device sets a target value of the drive current for the solenoid, and computes, in PWM control, a duty ratio at which there is no deviation between a current value detected by the current detection unit and the target value. Then, the solenoid control device drives the switching element through PWM, by transmitting a drive signal based on the duty ratio to a drive circuit. In this way, the solenoid control device executes feedback control of a drive current for the solenoid.
If a short-circuit occurs between both terminals of the solenoid in the solenoid control device, when the switching element is driven through PWM and is turned on, an overcurrent is generated. At this time, when the detected current value becomes larger than the target value, the solenoid control device reduces the duty ratio of the drive signal such that the detected current value becomes the target value. Thus, the drive current for the solenoid decreases to 0 amperes (A) or a value close to 0 A. Therefore, when the detected current value becomes smaller than the target value, the solenoid control device increases the duty ratio. Thus, an overcurrent is generated again. After that, a so-called hunting phenomenon occurs, that is, the drive current for the solenoid significantly fluctuates.
Previously, means for detecting an overcurrent, means for detecting a current abnormality, and the like have been proposed, and these detecting means detect an abnormality on the basis of presence of a steady abnormality, that is, on the basis of the fact that a state where a drive current for a solenoid is larger than or equal to a predetermined value continues. Therefore, with the conventional detecting means, it is not possible to appropriately detect a short-circuit between both terminals of the solenoid, which is accompanied by a hunting phenomenon. In order to take appropriate measures against a short-circuit between both terminals of the solenoid, a solenoid control device that is able to detect such an abnormality has been desired.
The invention provides a solenoid control device that is able to detect a short-circuit between both terminals of a solenoid while it is able to detect an overcurrent.
According to a feature of an example of the invention, in a solenoid control device that includes a current detection unit that detects a drive current that is supplied to a solenoid via a power supply line, and that executes feedback control such that a detected current value detected by the current detection unit follows a target current value, by driving, through pulse width modulation, a switching element provided on the power supply line, there is provided an overcurrent detection unit that outputs an overcurrent detection signal when the drive current for the solenoid reaches an overcurrent determination current value, whether an overcurrent is generated is determined on the basis of the overcurrent detection signal, and whether a short-circuit occurs between both terminals of the solenoid is determined by monitoring whether the overcurrent detection unit is repeating an output of the overcurrent detection signal and a stop of the output of the overcurrent detection signal.
The foregoing and further objects, features and advantages of the invention will become apparent from the following description of example embodiments with reference to the accompanying drawings, wherein like numerals are used to represent like elements and wherein:
Hereinafter, embodiments of the invention will be described with reference to the accompanying drawings.
A first embodiment of the invention will be described with reference to
As shown in
The hydraulic power steering system serves as a mechanism that assists a driver in performing a steering operation, and includes a hydraulic cylinder 10, an oil pump 11, and a selector valve 12. The steered shaft 4 moves inside the hydraulic cylinder 10. The oil pump 11 supplies hydraulic fluid to the hydraulic cylinder 10. The selector valve 12 controls supply of hydraulic fluid to the hydraulic cylinder 10.
The hydraulic cylinder 10 includes a first hydraulic chamber 10a and a second hydraulic chamber 10b that are separated from each other by a partition wall 13 formed on the steered shaft 4. The first hydraulic chamber 10a is connected to the selector valve 12 via a first oil passage 14a, and the second hydraulic chamber 10b is connected to the selector valve 12 via a second oil passage 14b.
The oil pump 11 operates using an in-vehicle engine (not shown) as a driving source. The oil pump 11 supplies hydraulic fluid stored in a reservoir 15 to the selector valve 12 via a supply oil passage 14c.
The selector valve 12 is provided at an intermediate portion of the steering shaft 2. The selector valve 12 supplies/drains hydraulic fluid to/from the first hydraulic chamber 10a and the second hydraulic chamber 10b on the basis of the rotation of the steering shaft 2. Thus, a pressure difference between the first hydraulic chamber 10a and the second hydraulic chamber 10b occurs, and a force that corresponds to the pressure difference acts on the partition wall 13. The steered shaft 4 is moved in the axial direction by the force that acts on the partition wall 13. As a result, a steering operation is assisted. The hydraulic fluid is returned to the reservoir 15 via a passage 14e.
An electromagnetic valve 16 is provided at an intermediate portion of the supply oil passage 14c that connects the oil pump 11 to the selector valve 12. The electromagnetic valve 16 functions as a variable orifice. The valve opening degree of the electromagnetic valve 16 changes with a change in the amount of current that is supplied to an electromagnetic solenoid of the electromagnetic valve 16. The flow rate of hydraulic fluid that is supplied from the oil pump 11 to the selector valve 12 is adjusted on the basis of the valve opening degree of the electromagnetic valve 16. In addition, a return oil passage 14d is connected to the supply oil passage 14c. The return oil passage 14d connects a portion of the oil supply passage 14c, which is located upstream of the electromagnetic valve 16, and a portion of the oil supply passage 14c, which is located downstream of the electromagnetic valve 16, to each other to bypass the electromagnetic valve 16. A flow rate control valve 17 is provided on the return oil passages 14d. When a pressure difference between the upstream side and the downstream side of the electromagnetic valve 16 occurs due to supply of an excessive amount of hydraulic fluid from the oil pump 11 to the electromagnetic valve 16, the flow rate control valve 17 is moved against the urging force of a spring 18. Thus, excess hydraulic fluid is returned from the flow rate control valve 17 to the reservoir 15 via a passage 14f.
In addition, the hydraulic power steering system includes a solenoid control device 19 and various sensors 20 to 22. The solenoid control device 19 executes energization control on a solenoid of the electromagnetic valve 16. A steering angle sensor 20 detects the steering angle of the steering wheel 1. A vehicle speed sensor 21 detects the speed of the vehicle. A rotation speed sensor 22 detects the rotation speed of the in-vehicle engine. Outputs from the sensors 20 to 22 are input into the solenoid control device 19 via an in-vehicle network 25, such as a controller area network (CAN). The solenoid control device 19 computes the flow rate of hydraulic fluid that is supplied to the selector valve 12 on the basis of the steering angle, the speed of the vehicle and the rotation speed of the in-vehicle engine, which are detected by the sensors 20 to 22, respectively. The solenoid control device 19 sets a target current indicating a current that should be supplied to the solenoid of the electromagnetic valve 16 on the basis of the computed flow rate. The solenoid control device 19 executes feedback control such that a drive current for the solenoid of the electromagnetic valve 16 becomes the target value. Because the flow rate of hydraulic fluid that is supplied to the hydraulic cylinder 10 is controlled in this way, an optimal assist force based on a vehicle state is applied to a steering system, and a steering feeling improves. In addition, because a pressure loss is suppressed by the flow rate control valve 17, energy consumption is reduced.
The configuration of the solenoid control device 19 will be described with reference to
The battery 50 is a battery mounted on the vehicle, and is connected to the ECU 40 via an ignition switch 60. The ECU 40 includes a MOSFET 41 that serves as a switching element for allowing or interrupting supply of current from the battery 50 to the solenoid 30. The ECU 40 includes a microcomputer 43 that controls the drive current for the solenoid 30 by controlling switching of the MOSFET 41, using a drive circuit 42. Furthermore, the ECU 40 includes a current detection circuit (current detection unit) 44 and an overcurrent detection circuit (overcurrent detection unit) 46. The current detection circuit 44 detects the drive current for the solenoid 30. The overcurrent detection circuit 46 detects an overcurrent that is generated in a power supply line to the solenoid 30.
The current detection circuit 44 is provided with a shunt resistor Rs arranged on a ground line that connects the solenoid 30 to a ground. The current detection circuit 44 outputs a voltage signal corresponding to the drive current for the solenoid 30 on the basis of a voltage between both terminals of the shunt resistor Rs. The output signal from the current detection circuit 44 is smoothed by a low-pass filter 45, and is input into a current detection terminal 43c of the microcomputer 43.
The microcomputer 43 calculates the drive current for the solenoid 30 on the basis of the signal that is input into the current detection terminal 43c. The microcomputer 43 sets a target value of the drive current for the solenoid 30 on the basis of the output signals from the sensors 20 to 22, which are input into the microcomputer 43 via the in-vehicle network 25. The microcomputer 43 compares the drive current for the solenoid 30 with the target value, and computes a duty ratio that is used when the solenoid 30 is driven through PWM such that the drive current for the solenoid 30 becomes the target value. The microcomputer 43 outputs a PWM drive signal corresponding to the computed duty ratio, to the drive circuit 42. At this time, a drive pulse corresponding to the duty ratio is generated by the drive circuit 42, and the MOSFET 41 is turned on or off on the basis of the drive pulse. Thus, a current (average current) corresponding to the duty ratio is supplied to the solenoid 30. Through the above-described operation of the microcomputer 43, feedback control of the drive current for the solenoid 30 is executed such that the drive current for the solenoid 30 follows the target value.
The overcurrent detection circuit 46 is provided with a detection resistor Rd arranged on the power supply line that connects the MOSFET 41 to the battery 50. The overcurrent detection circuit 46 detects an overcurrent that is generated in the power supply line to the solenoid 30 on the basis of the voltage between both terminals of the detection resistor Rd. A diode D is connected in parallel with the solenoid 30 in order to prevent damage to the elements due to counter-electromotive force of the solenoid 30.
The circuit configuration of the drive circuit 42 and the overcurrent detection circuit 46 will be described in detail with reference to
A PWM drive signal that is output from the PWM control terminal 43b of the microcomputer 43 is input into the base terminal of the first transistor 47 via the resistor R3. Thus, on/off control on the first transistor 47 is executed in the drive circuit 42. When the first transistor 47 is turned on, the potential of the gate terminal of the MOSFET 41 becomes equal to the ground potential. Thus, the MOSFET 41 is turned on.
The overcurrent detection circuit 46 includes a series circuit formed of resistors R5, R6. The series circuit is connected in parallel with the detection resistor Rd. The overcurrent detection circuit 46 includes a second transistor 48 that is turned on when the current flowing through the detection resistor Rd reaches an overcurrent determination current value Ith.
The base terminal of the second transistor 48 is connected to a midpoint between the resistors R5, R6. The emitter terminal of the second transistor 48 is connected to the battery 50 via the ignition switch 60. The collector terminal of the second transistor 48 is connected to the gate terminal of the MOSFET 41 via a resistor R7. A capacitor C is connected in parallel with the resistor R5.
In the overcurrent detection circuit 46, as the current flowing through the detection resistor Rd increases and a voltage drop in the detection resistor Rd increases, a voltage drop at the midpoint between the resistors R5, R6 also increases. Thus, a voltage that is applied to the base terminal of the second transistor 48 decreases, and the second transistor 48 is turned on.
In the overcurrent detection circuit 46, the resistances of the resistors R5, R6 are set such that the second transistor 48 enters an on state when the current flowing through the detection resistor Rd reaches the overcurrent determination current value Ith. In the case where the second transistor 48 is in an on state, when the first transistor 47 of the drive circuit 42 is turned on, a voltage corresponding to divided voltage values of the resistors R2 and resistor R7 is applied to the gate terminal of the MOSFET 41, and the MOSFET 41 enters an off state. By controlling the gate voltage of the MOSFET 41, the drive current for the solenoid 30 is suppressed. As a result, the solenoid control device 19 is protected from an overcurrent.
The overcurrent detection circuit 46 includes a third transistor 49 that changes the potential of an overcurrent detection terminal 43a of the microcomputer 43 when the second transistor 48 enters an on state, that is, when an overcurrent is detected.
The base terminal of the third transistor 49 is connected to a midpoint between the second transistor 48 and the resistor R7 via the resistor R8. The collector terminal of the third transistor 49 is connected to the overcurrent detection terminal 43a of the microcomputer 43. The emitter terminal of the third transistor 49 is connected to the ground. A resistor R9 is arranged between and connected to the base terminal and the emitter terminal of the third transistor 49, and stabilizes the operation of the third transistor 49. A predetermined reference voltage (“+Vcc”) is also applied to the overcurrent detection terminal 43a of the microcomputer 43 via a resistor R10, and the potential of the overcurrent detection terminal 43a is normally a potential corresponding to the reference voltage (logically, a high-level potential).
In the overcurrent detection circuit 46, when the second transistor 48 enters an on state, the battery voltage is applied to the base terminal of the third transistor 49 via the resistor R8, and the third transistor 49 is turned on. Thus, the potential of the overcurrent detection terminal 43a of the microcomputer 43 changes to a potential corresponding to the ground potential (logically, a low-level potential). Therefore, the microcomputer 43 is able to detect an overcurrent on the basis of the fact that the potential of the overcurrent detection terminal 43a changes from the high-level potential to the low-level potential. In the present embodiment, the low-level signal that is output from the overcurrent detection circuit 46 to the overcurrent detection terminal 43a is an overcurrent detection signal.
As indicated by a dashed line in
After that, the microcomputer 43 detects the fact that the detected current value Id is larger than the target value at time t3 at which a time corresponding to a delay in detection of the drive current has elapsed after time t1. At this time, the microcomputer 43 reduces the duty ratio of the PWM drive signal to “0” as shown in
When such a hunting phenomenon due to fluctuations in duty ratio occurs, the potential of the overcurrent detection terminal 43a of the microcomputer 43 changes from the high-level potential to the low-level potential at time t2 at which the actual drive current reaches the overcurrent determination current value Ith as shown in
The microcomputer 43 according to the present embodiment determines that a short-circuit has occurred between both terminals of the solenoid 30 when a state where the potential of the overcurrent detection terminal 43a changes from the high-level potential to the low-level potential continues, that is, the overcurrent detection circuit 46 is repeating an output of the overcurrent detection signal and a stop of the output of the overcurrent detection signal. When a short-circuit has occurred between both terminals of the solenoid 30, the duty ratio of the PWM drive signal is set to a fixed value Da. Thus, the duty ratio no longer increases, and it is therefore possible to prevent damage to the elements due to an overcurrent. Furthermore, as shown in
The microcomputer 43 according to the present embodiment sets the duty ratio fixed value Da such that the actual drive current reaches the overcurrent determination current value Ith when the PWM drive signal is in an on state. Thus, during a period in which there is a short-circuit between both terminals of the solenoid 30, the overcurrent detection circuit 46 in actuated in response to entry of the PWM drive signal into an on state, and the state where the potential of the overcurrent detection terminal 43a changes from the high-level potential to the low-level potential continues. When the short-circuit between both terminals of the solenoid 30 is eliminated, the actual drive current becomes smaller than the overcurrent determination current value Ith. Therefore, the potential of the overcurrent detection terminal 43a is kept at the high-level potential. Therefore, the microcomputer 43 monitors the potential of the overcurrent detection terminal 43a also during a period in which the duty ratio is fixed. When the potential is continuously kept at the high-level potential, the microcomputer 43 determines that the short-circuit has been eliminated. When it is determined that the short-circuit has been eliminated, fixation of the duty ratio is cancelled, and the alarm lamp 70 is turned off
On the other hand, when the voltage of the battery 50 that serves as the drive power supply source for the solenoid 30 decreases, the actual drive current decreases. Therefore, in order to reliably actuate the overcurrent detection circuit 46 in response to entry of the PWM drive signal into an on state when the duty ratio is fixed, it is desirable to increase the duty ratio fixed value Da as the battery voltage decreases.
As shown in
Next, a short-circuit occurrence detection process and a short-circuit elimination detection process that are executed by the microcomputer 43 will be described with reference to
As shown in
On the other hand, if a short-circuit occurs between both terminals of the solenoid 30, the potential of the overcurrent detection terminal 43a changes from the high-level potential to the low-level potential once or more within the predetermined period of time Ta. When the microcomputer 43 detects this phenomenon (YES in step S1), the microcomputer 43 increments the value of the short-circuit detection counter CDS (step S2). The microcomputer 43 determines whether the value of the short-circuit detection counter CDS is larger than or equal to a determination value Cth (step S3). When the value of the short-circuit detection counter CDS is smaller than the determination value Cth (NO in step S3), the microcomputer 43 returns the process to step S1.
When the state where the potential of the overcurrent detection terminal 43a changes from the high-level potential to the low-level potential once or more within the predetermined period of time Ta continues even after the microcomputer 43 returns the process to step S1, the microcomputer 43 repeatedly executes the process of step S2. Thus, the value of the short-circuit detection counter CDS increases. When the value of the short-circuit detection counter CDS reaches the determination value Cth (YES in step S3), the microcomputer 43 determines that a short-circuit has occurred between both terminals of the solenoid 30. At this time, the microcomputer 43 detects the battery voltage with the use of the battery voltage sensor 23 (step S4). The duty ratio fixed value Da is computed on the basis of the map that shows the correlation between the battery voltage and the duty ratio fixed value Da, which is stored in the memory 80 (step S5), and the duty ratio of the PWM drive signal is set to the fixed value Da (step S6). Thus, fluctuations in the duty ratio are eliminated. The microcomputer 43 turns on the alarm lamp 70 (step S7). Thus, the driver is able to easily recognize occurrence of an abnormality.
After the duty ratio of the PWM drive signal is fixed, while there is a short-circuit between both terminals of the solenoid 30, the potential of the overcurrent detection terminal 43a changes between the high-level potential and the low-level potential once or more within the predetermined period of time Ta. Therefore, the microcomputer 43 repeatedly executes the process of step S6. Thus, the duty ratio fixed value Da is changed on the basis of the present battery voltage. Thus, while there is a short-circuit between both terminals of the solenoid 30, it is possible to reliably maintain the state where the potential of the overcurrent detection terminal 43a changes from the high-level potential to the low-level potential.
Next, the short-circuit elimination detection process together with its operation will be described with reference to
As shown in
On the other hand, when the short-circuit has been eliminated, the potential of the overcurrent detection terminal 43a is kept at the high-level potential within the predetermined period of time Ta. When the microcomputer 43 detects this phenomenon (YES in step S10), the microcomputer 43 increments the value of the short-circuit elimination counter CDR (step S11). In addition, the microcomputer 43 determines whether the value of the short-circuit elimination counter CDR is larger than or equal to the determination value Cth (step S12). When the value of the short-circuit elimination counter CDR is smaller than the determination value Cth (NO in step S12), the microcomputer 43 returns the process to step S10.
If the potential of the overcurrent detection terminal 43a is kept at the high-level potential within the predetermined period of time Ta even after the microcomputer 43 returns the process to step S10, the microcomputer 43 repeatedly executes the process of step S11. Thus, the value of the short-circuit elimination counter CDR increases. When the value of the short-circuit elimination counter CDR reaches the determination value Cth (YES in step S12), the microcomputer 43 determines that the short-circuit has been eliminated. At this time, the microcomputer 43 cancels fixation of the duty ratio (step S13), and resumes the operation of the solenoid control device. In the present embodiment, the operation of the solenoid control device is automatically resumed when the short-circuit is eliminated as described above. As a result, convenience improves. In addition, the microcomputer 43 turns off the alarm lamp 70 (step S14). Thus, the driver is able to easily recognize that the abnormality has been eliminated.
As described above, with the solenoid control device according to the present embodiment, the following advantageous effects are obtained.
(1) The solenoid control device 19 includes the overcurrent detection circuit 46 that outputs an overcurrent detection signal to the microcomputer 43 when the drive current for the solenoid 30 reaches the overcurrent determination current value. Then, the solenoid control device 19 determines whether an overcurrent is generated, on the basis of the overcurrent detection signal. In addition, the solenoid control device 19 monitors whether the overcurrent detection circuit 46 is repeating an output of the overcurrent detection signal and a stop of the output of the overcurrent detection signal. In this way, the solenoid control device 19 detects a short-circuit between both terminals of the solenoid 30. Thus, the solenoid control device 19 is able to detect a short-circuit between both terminals of the solenoid 30 while it is able to detect an overcurrent.
(2) When there occurs a short-circuit between both terminals of the solenoid 30, the duty ratio significantly fluctuates due to feedback control of the current. At this time, if the duty ratio becomes excessively high, various elements including the MOSFET 41 may be damaged due to an overcurrent. In contrast to this, when the solenoid control device 19 detects a short-circuit between both terminals of the solenoid 30, the duty ratio of the PWM drive signal for the MOSFET 41 is set to the fixed value Da. Thus, it is possible to prevent various elements from being damaged due to an overcurrent caused by an increase in the duty ratio. The fixed value Da is set such that the drive current reaches the overcurrent determination current value when the PWM drive signal is in an on state. Therefore, the solenoid control device 19 keeps monitoring whether the overcurrent detection terminal 43a is repeating an output of the overcurrent detection signal and a stop of the output of the overcurrent detection signal. In this way, it is possible to determine whether the short-circuit has been eliminated.
(3) The solenoid control device 19 sets the fixed value Da on the basis of the battery voltage. Specifically, the fixed value Da is set to a larger value as the battery voltage decreases. In this way, each time the PWM drive signal enters an on state, it is possible to reliably increase the drive current to the overcurrent determination current value Ith. As a result, the solenoid control device 19 is able to further accurately determine whether the short-circuit between both terminals of the solenoid 30 has been eliminated.
(4) The solenoid control device 19 cancels fixation of the duty ratio when the solenoid control device 19 determines that the short-circuit between both terminals of the solenoid 30 has been eliminated. Therefore, no specific operation for resuming the operation of the solenoid control device 19 is required. As a result, convenience improves.
(5) When the solenoid control device 19 detects a short-circuit between both terminals of the solenoid 30, the solenoid control device 19 turns on the alarm lamp 70. In addition, when the solenoid control device 19 determines that the short-circuit has been eliminated, the solenoid control device 19 turns off the alarm lamp 70. In this way, the driver is able to easily recognize occurrence of a short-circuit and elimination of the short-circuit.
Next, a second embodiment of the invention will be described. Hereinafter, differences from the first embodiment will be mainly described. If noise is generated in the various elements of the overcurrent detection circuit 46 illustrated in
On the other hand, when the duty ratio of the PWM drive signal is fixed, the drive current for the solenoid 30 becomes constant. Therefore, the current value Id (actually, the average of the current value) that is detected by the current detection circuit 44 indicates a constant value. Therefore, if the current value detected by the current detection circuit 44 is measured through, for example, an experiment in a state where the duty ratio is set to the fixed value Da while there is no short-circuit, it is possible to measure a normal value of the detected current value in advance.
Therefore, in the present embodiment, a current value that is detected by the current detection circuit 44 in a state where the duty ratio is set to the fixed value Da while there is no short-circuit is measured through, for example, an experiment in advance, and the measured value is stored in the memory 80 as a normal value In. In addition, a current value that is detected by the current detection circuit 44 in a state where the duty ratio is set to the fixed value Da while there is a short-circuit is measured through, for example, an experiment in advance, and the measured value is stored in the memory 80 as an abnormal value Ie. In the case where the duty ratio has been fixed in the short-circuit occurrence detection process, the solenoid control device 19 cancels fixation of the duty ratio on the condition that the detected current value Id detected by the current detection circuit 44 is the normal value In. On the other hand, in the case where the duty ratio has been fixed, the solenoid control device 19 turns on the alarm lamp 70 on the condition that the detected current value Id detected by the current detection circuit 44 is the abnormal value Ie.
On the other hand, if noise is generated in the various elements of the overcurrent detection circuit 46, the overcurrent detection circuit 46 is not able to appropriately detect an overcurrent, and may not output a low level signal even when an overcurrent is generated. In such a situation, if the solenoid control device 19 according to the first embodiment executes the short-circuit elimination detection process shown in
Then, when the solenoid control device 19 according to the present embodiment executes the short-circuit elimination detection process, the solenoid control device 19 cancels fixation of the duty ratio and turns off the alarm lamp 70 when the condition that it is determined that the short-circuit has been eliminated on the basis of the output from the overcurrent detection circuit 46 and the condition that the detected current value Id detected by the current detection circuit 44 is the normal value In are both satisfied. Hereinafter, the details will be described with reference to
The short-circuit occurrence detection process that is executed by the microcomputer 43 will be described with reference to
As shown in
Therefore, if the detected current value Id detected by the current detection circuit 44 indicates the abnormal value Ie when the duty ratio is fixed, that is, when there is a short-circuit between both terminals of the solenoid 30, the alarm lamp 70 turns on. Thus, the driver is able to reliably recognize occurrence of a short-circuit on the basis of the fact that the alarm lamp 70 is turned on.
On the other hand, when the detected current value Id is not the abnormal value Ie (NO in step S20), the microcomputer 43 determines whether the detected current value Id is the normal value In (step S21). Specifically, when the detected current value Id satisfies the relationship, “In−ΔI≦Id≦In+ΔI”, the microcomputer 43 determines that the detected current value Id is the normal value In. When the detected current value Id is the normal value In (YES in step S21), the microcomputer 43 cancels fixation of the duty ratio (step S22).
Therefore, even if the duty ratio is erroneously fixed on the basis of the output from the overcurrent detection circuit 46, fixation of the duty ratio is cancelled when the detected current value Id detected by the current detection circuit 44 is the normal value In, that is, when there is actually no short-circuit. Thus, it is possible to avoid a situation where the duty ratio is erroneously fixed. When the detected current value Id is not the normal value In (NO in step S21), the microcomputer 43 ends the series of processes.
Next, the short-circuit elimination detection process that is executed by the microcomputer 43 will be described with reference to
As shown in
Therefore, even if elimination of the short-circuit is erroneously detected on the basis of the output from the overcurrent detection circuit 46, fixation of the duty ratio is not cancelled when the detected current value Id detected by the current detection circuit 44 is not the normal value, that is, the short-circuit is actually not eliminated. Thus, it is possible to avoid a situation where fixation of the duty ratio is erroneously cancelled. In addition, when the detected current value Id is the normal value In, that is, when the short-circuit has been eliminated, it is possible to reliably cancel fixation of the duty ratio and to turn off the alarm lamp 70.
As described above, with the solenoid control device according to the present embodiment, advantageous effects the same as or similar to (1) to (5) of the first embodiment and the following advantageous effects are obtained.
(6) If the detected current value Id detected by the current detection circuit 44 is the normal value In when the duty ratio is set to the fixed value Da, the solenoid control device 19 cancels fixation of the duty ratio. Thus, it is possible to avoid a situation where the duty ratio is erroneously fixed when there is no short-circuit between both terminals of the solenoid 30.
(7) If the detected current value Id detected by the current detection circuit 44 is the abnormal value Ie when the duty ratio is set to the fixed value Da, the solenoid control device 19 turns on the alarm lamp 70. Thus, the driver is able to reliably recognize occurrence of a short-circuit on the basis of the fact that the alarm lamp 70 turns on.
(8) The solenoid control device 19 cancels fixation of the duty ratio when the condition that it is determined that the short-circuit has been eliminated and the condition that the detected current value Id detected by the current detection circuit 44 is the normal value In are both satisfied. Therefore, it is possible to avoid a situation where fixation of the duty ratio is erroneously cancelled although the short-circuit is not eliminated.
(9) The solenoid control device 19 turns off the alarm lamp 70 when the condition that it is determined that the short-circuit has been eliminated and the condition that the detected current value Id detected by the current detection circuit 44 is the normal value In are both satisfied. Therefore, when the short-circuit has been eliminated, it is possible to reliably turn off the alarm lamp 70.
The following modifications may be made to the above-described embodiments.
The process shown in
In the second embodiment, it may be determined that the detected current value Id is the normal value In on the condition that the detected current value Id agrees with the normal value In. In addition, it may be determined that the detected current value Id is the abnormal value Ie on the condition that the detected current value Id agrees with the abnormal value Ie.
In the above-described embodiments, the predetermined period of time that is used in the process of step Si illustrated in
In the above-described embodiments, when a short-circuit between both terminals of the solenoid 30 is detected, the alarm lamp 70 is turned on. However, this configuration may be omitted. Specifically, in the first embodiment, the process of step S7 in the short-circuit occurrence detection process illustrated in
In a solenoid control device that has such a temperature characteristic that the drive current for the solenoid 30 changes on the basis of an outside air temperature, the duty ratio fixed value Da may be set on the basis of the outside air temperature. Specifically, as indicated by a dashed line in
In the above-described embodiments, the duty ratio fixed value Da is set on the basis of the battery voltage. Alternatively, the duty ratio fixed value Da may be set to a predetermined constant value.
In the above-described embodiments, when there occurs a short-circuit between both terminals of the solenoid 30, the duty ratio of the PWM drive signal is set to the fixed value Da. However, this process may be omitted and only the process of turning on the alarm lamp 70 may be carried out. Specifically, in the first embodiment, the process of step S6 in the short-circuit occurrence detection process illustrated in
The configuration of the overcurrent detection circuit 46 may be modified as needed. The overcurrent detection circuit 46 may have any configuration as long as the overcurrent detection circuit 46 outputs an overcurrent detection signal when the drive current for the solenoid 30 reaches the overcurrent determination current value. In addition, the configuration of the drive circuit 42 may also be modified as needed.
In the above-described embodiments, the MOSFET 41 is used as the switching element that allows or interrupts supply of power from the battery 50 to the solenoid 30. Alternatively, an appropriate switching element may be used.
In the above-described embodiments, the alarm lamp 70 is used as alarm means. Alternatively, for example, a speaker, or the like, that issues an alarm by sound may be used.
In the above-described embodiments, the invention is applied to the solenoid control device that is provided in the hydraulic power steering system of the vehicle. However, the invention may be applied to an appropriate solenoid control device. The invention may be applied to any solenoid control device as long as the solenoid control device executes feedback control such that the drive current for the solenoid follows a target current, by driving, through PWM, the switching element provided on the power supply line to the solenoid.
Number | Date | Country | Kind |
---|---|---|---|
2012-049327 | Mar 2012 | JP | national |
2012-095493 | Apr 2012 | JP | national |