The present invention relates to a relay controller.
Patent Literature 1 describes a relay controller for controlling a relay. The relay controller described in Patent Literature 1 includes a resistor and a transistor which are connected in series to a coil of the relay and a diode which is connected in parallel to the resistor and the coil. The relay controller described in Patent Literature 1 applies the initial current to the coil of the relay to turn on the relay. Then, the relay controller described in Patent Literature 1 detects the current flowing through the coil of the relay by using the resistor, and performs PWM (Pulse Width Modulation) control of the transistor so that the detected value is kept at a value lower than the initial current and the relay is kept to be turned on. The PWM control indicates a control repeating to turn on and off a switching element (the transistor, here). On the contrary, a regenerative current flows through the diode. The regenerative current indicates a current which flows through the coil when the switching element is turned off.
Since the relay controller described in Patent Literature 1 can keep the value of the current flowing through the coil of the relay at a value lower than a value of the initial current, the power consumption of the coil of the relay can be reduced.
In the relay controller described in Patent Literature 1, however, the regenerative current continues to flow to the coil via the diode even if the transistor is turned off to turn off the relay. Thus, it takes a time until the relay is rightly turned off.
The present invention is made in order to solve such an existing problem, and an object of the invention is to provide a relay controller which can shorten the time from turning off a switching element until turning off a relay compared with what is conventionally possible.
In order to achieve the object, the present invention comprises: a relay switch in which a contact point connects a power supply to a load, and a coil is connected to the power supply; a first switching element which is connected in series to the coil; a regenerative current circuit which is connected in parallel to the coil and includes a second switching element and a diode which is connected in series to the second switching element; a first switching element control unit which is adapted to turn on the relay switch by PWM control of the first switching element and to turn off the relay switch by stopping the PWM control of the first switching element; and a second switching element control unit which is adapted to turn on the second switching element when the first switching element is PWM-controlled and to turn off the second switching element when the PWM control of the first switching element is stopped.
Since the present invention turns off the second switching element when the PWM control with respect to the first switching element is stopped, the regenerative current is prevented from flowing through the coil. Thus, the present invention can turn off the relay switch as soon as the PWM control with respect to the first switching element is stopped. Therefore, the time can be shortened from turning off the switching element until turning off the relay switch.
An embodiment of the invention is described with reference to the drawings.
The relay switch 2 includes a contact point 3 and a coil 4. The contact point 3 connects a power supply 5 to a load 6. The relay switch 2 is turned on and off by turning on and off the contact point 3. One end of the coil 4 is connected to the power supply 5, and the other end of the coil 4 is connected to the first switching element 7. The contact point 3 is turned on by flowing a current through the coil 4.
The power supply is a battery in the vehicle. The load 6 is an in-vehicle equipment mounted in the vehicle, such as a motor or a lamp.
The first switching element 7 is connected in series to the coil 4. Specifically, the drain of the switching element 7 is connected to the other end of the coil 4, the source is grounded, and the gate is connected to the first driving unit 15.
The regenerative current circuit 8 includes a second MOSFET 9 (also referred to as a second switching element 9) and a diode 11, and is connected in parallel to the coil 4. The drain of the second switching element 9 is connected to the power supply 5 and the one end of the coil, the source is connected to the cathode of the diode 11, and the gate is connected to the second driving unit 16. The anode of a body diode 10 of the second switching element 9 is connected to the power supply 5 and the one end of the coil 4, and the cathode is connected to the cathode of the diode 11. The anode of the diode 11 is connected to the other end of the coil 4 and the drain of the first switching element 7. The forward direction of the body diode 10 is opposite to the forward direction of the diode 11. Therefore, if the power supply is reversely connected, the switching elements are protected since the pass-through current (short-circuit current) does not flow through each of the switching elements. In the relay controller described in Patent Literature 1, on the contrary, if the power supply is reversely connected when the transistor is changed to the MOSFET, the short-circuit current flows through the MOSFET via the diode connected in parallel to the resistor and the coil or the body diode of the MOSFET, and the MOSFET is likely damaged. In this way, the relay controller 1 can firmly protect each of the switching elements better than usual.
The control unit 12 generates a relay-on signal for turning on the relay switch 2 or a relay-off signal for turning off the relay switch 2 in response to an instruction from the outside (for example, by an input operation by a passenger of the vehicle), and outputs the relay-on signal or the relay-off signal to the PWM generator 14 and the second driving unit 16.
The current detector 13 detects a value of a current, i.e., a regenerative current flowing through the second switching element 9. The regenerative current indicates a current flowing through the coil 4 when the first switching element 7 is off. The current detector 13 outputs a detection signal concerning the detected value to the PWM generator 14.
The PWM generator 14 alternately generates and outputs, to the first driving unit 15, a PWM-on signal for turning on the first switching element 7 and a PWM-off signal for turning off the first switching element 7 when the PWM generator 14 receives the relay-on signal from the control unit 12. The PWM generator 14 stop the output of the PWM-on signal and the PWM-off signal when the PWM generator 14 receives the relay-off signal from the control unit 12. The PWM generator adjusts the duty cycle of the PWM control on the basis of the detection signal received from the current detector 13. The duty cycle of the PWM control indicates a ratio of a time for outputting the PWM-on signal to a time for outputting the PWM-off signal.
The first driving unit 15 turns on the first switching element 7 when the PWM-on signal is received from the PWM generator 14, and turns off the first switching element 7 when the PWM-off signal is received from the PWM generator 14. In this way, the first driving unit 15 PWM-controls the first switching element 7. The relay switch 2 is turned on by the PWM control with respect to the first switching element 7, and turned off by stopping the PWM control with respect to the first switching element 7.
The second driving unit 16 turns on the second switching element 9 when received the relay-on signal from the control unit 12, and turns off the second switching element 9 when received the relay-off signal from the control unit 12.
Next, the operation of the relay controller 1 when the relay switch 2 is turned on is described with reference to
The control unit 12 continues to output the relay-on signal to the PWM generator 14 and the second driving unit 16 from a time T1. Thus, the PWM generator 14 outputs the PWM-on signal and the PWM-off signal alternately to the first driving unit 15, and the first driving unit 15 PWM-controls the first switching element 7 on the basis of the signal given from the PWM generator 14. The second driving unit 16 turns on the second switching element 9.
Therefore, when the first switching element 7 is in an on-state, the downstream of the coil 4 is grounded and the current (also referred to as on-current) supplied from the power supply flows to the coil. The on-current increases as the time elapses. On the contrary, when the first switching element 7 is turned off, the downstream of the coil 4 becomes open and the regenerative current flows through the coil 4. The regenerative current decreases as the time elapses. The current flowing through the coil 4 continuously changes. For example, the on-current flowing at the time of finishing the on-state of the first switching element 7 is the same in magnitude as the regenerative current flowing at the time of starting the off-state of the first switching element 7. Thus, the current flowing through the coil 4 during the PWM control becomes minimum when the first switching element 7 is switched from the off-state to the on-state. Hereinafter, the current at this time is also referred to as a minimum current. The PWM generator 14 adjusts the duty cycle so that the value of the minimum current matches a target current value. The target current value indicates a minimum value required to turn on the relay switch 2. The description is made later in detail.
Next, the operation of the relay controller 1 when the relay switch 2 is turned off is described with reference to
The controller 12 continues to output the relay on signal from a time T2 to a time T3, and then continues to output the relay-off signal to the PWM generator 14 and the second driving unit 16. Thus, the PWM generator 14 stops to output the PWM-on signal and the PWM-off signal at the time T3, and the first driving unit 15 stops to PWM-control the first switching element 7 to turn off the first switching element 7. The second driving unit 16 turns off the second switching element 9.
Therefore, the on-current to the coil 4 is interrupted. Further, since the second switching element 9 is turned off, the regenerative current does not flow through the coil 4. In this way, the relay switch 2 is turned off as soon as the relay-off signal is output from the control unit 12. Since the voltage from the power supply 5 and the induced voltage (a voltage which causes the regenerative current) from the coil 4 are applied to the first switching element 7 when the relay switch 2 is turned off, one which is tolerable to these voltages is used as the first switching element 7.
Next, setting of the target current value and adjustment of the duty cycle are described with reference to
When the relay switch 2 is turned on in the on-state of the second switching element 9 and then the first switching element 1 is turned off, the regenerative current flows through the relay switch 2. Although the relay switch 2 is kept in the on-state due to the regenerative current, the regenerative current decreases as the time elapses, and then the relay switch 2 is turned off at a certain timing. Therefore, the value of the regenerative current just before the relay switch 2 is turned off should be the target current value.
Thus, the target current value is set as below. That is, the relay switch 2 is turned on in the on-state of the second switching element 9, and then the first switching element 7 is turned off. Then, the regenerative current is monitored by the current detector 13, whereas the on/off state of the relay switch 2 is monitored. Monitoring the on/off state of the relay switch 2 is performed by monitoring the voltage between the contact point 3 and the load 6. A value of the current detected by the current detector 13 just before the relay switch is turned on is set as the target current value. The target current value is stored in the PWM generator 14.
The target current value is a minimum value required to keep the relay switch 2 turned on. That is, if the current flowing through the coil 4 is equal to or larger than the target current value, the relay switch 2 is kept on the on-state. On the contrary, the current flowing through the coil 4 during the PWM control becomes minimum when the first switching element 7 is switched from the off-state to the on-state. Thus, the PWM generator 14 adjusts the duty cycle so that the current at this time, i.e., the value of the minimum current matches the target current value.
Since the relay controller described in Patent Literature 1 does not perform the control based on the target current value of the present embodiment, the current flowing through the coil of the relay becomes larger than that in the relay controller 1. Therefore, the relay controller 1 can reduce the heat generation and the consumption power of the coil 4 more than the conventional relay controller. Further, since the relay controller described in Patent Literature 1 detects the current flowing through the coil using the resistor, the heat generates from the resistor. Thus, the effect for reducing the heat generation for the overall relay controller is lowered. However, since the relay controller 1 does not use the resistor in detecting the current, such a problem does not arises. Thus, the relay controller 1 can reduce the heat generation for the overall device as compared with the conventional device.
Next, an abnormality determination is described with reference to
Since the current flowing through the coil 4 continuously changes, the regenerative current is detected, and the on-current can be estimated based on the regenerative current. For example, when the regenerative current changes as shown in
Therefore, the PWM generator 14 compares the value of the generative current with a predetermined abnormal determination value based on the detection signal received from the current detector 13 when the first switching element 7 is switched from the on-state to the off-state. As a result, the PWM generator 14 determines that the on-current is abnormal when the value of the regenerative current is equal to or larger than the abnormal determination value, and stops to output the PWM-on signal and the PWM-off signal. In this way, the first driving unit 15 stops the PWM control with respect to the first switching element 7 to turn off the first switching element 7. Further, the PWM generator 14 outputs an abnormality occurrence signal to the second driving unit 16 via the control unit 12. The second driving unit 16 turns off the second switching element 9 when received the abnormality occurrence signal. Thus, the relay switch 2 is immediately turned off. On the other hand, if the value of the regenerative current is smaller than the abnormal determination value, the PWM generator 14 determines that the on-current is normal and continues to output the PWM-on signal and the PWM-off signal. For example, if the regenerative current changes as shown in
As mentioned above, in the relay controller 1, since the second switching element 9 is turned off when the PWM control with respect to the first switching element 7 is stopped, the relay switch 2 can be immediately turned off after the PWM control with respect to the first switching element 7 is stopped. Therefore, the relay controller 1 can shorten the time from turning off the switching element 7 until turning off the relay switch 2 compared with what is conventionally used.
Further, since the relay controller 1 is configured so that the forward direction of the body diode 10 is opposite to the forward direction of the diode 11, each of the switching elements can be protected.
Further, since the relay controller 1 adjusts the duty cycle so that the value of the minimum current matches the target current value, it is possible to reduce the heat generation and the power consumption of the coil 4 than the conventional art. As a result, since the power consumption of the power supply 5 is reduced, the fuel required for charging the power supply 5 is reduced and the load to the environment is lowered.
Further, since the relay controller 1 stops the PWM control when the value of the regenerative current is out of the abnormal determination value, each of the switching elements can be protected from this aspect.
Further, in the relay controller 1, since both the countermeasure against the reverse connection and the detection of the regenerative current are performed by a single element, i.e., by the second switching element 9, the manufacturing cost of the relay controller 1 can be reduced more than the case where those are performed by the separate elements.
Note that the present embodiment can be modified without departing from the scope of the spirit of the invention. For example, the first switching element 7 may be provided at an upstream side of the relay switch 2 (at a side close to the power supply 5), and the diode 11 may be provided at an upstream side of the second switching element 9. It is not necessary to configure the relay controller 1 be mounted on the vehicle.
According to the relay controller of the present invention, it is useful that the time can be shortened from turning off a switching element until turning off a relay compared with what is conventionally used.
1: relay controller, 2: relay switch, 3: contact point, 4: coil, 5: power supply, 6: load, 7: first switching element, 8: regenerative current circuit, 9: second switching element, 10: body diode, 11: diode, 12: control unit, 13: current detector, 14: PWM generator, 15: first driving unit, 16: second driving unit
Number | Date | Country | Kind |
---|---|---|---|
2008-143293 | May 2008 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2009/059884 | 5/29/2009 | WO | 00 | 11/29/2010 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2009/145309 | 12/3/2009 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5953198 | Murata et al. | Sep 1999 | A |
Number | Date | Country |
---|---|---|
1173722 | Feb 1998 | CN |
62-140330 | Jun 1987 | JP |
3-28705 | Mar 1991 | JP |
5-166444 | Jul 1993 | JP |
2006-114446 | Apr 2006 | JP |
2007-294226 | Nov 2007 | JP |
Entry |
---|
International Search Report, dated Sep. 1, 2009, issued in Application No. PCT/JP2009/059884. |
Office Action, dated Jan. 18, 2013, issued by the State Intellectual Property Office of the People's Republic of China in counterpart Chinese Patent Application No. 200980119794.0. |
Office Action dated Jul. 5, 2012, issued by the Japanese Patent Office in counterpart Japanese Application No. 2008-143293. |
Number | Date | Country | |
---|---|---|---|
20110109168 A1 | May 2011 | US |