Fault detection circuit for a driver circuit

Various component parts of a driver circuit for drive sources such as electric motors and clutches, such as relays and FETs as well as the drive sources can be tested by selectively energizing the relays and evaluating the voltage levels of the selected points by using the first and second test voltage detection circuits. This testing process is typically executed before the power up of the drive circuit. The test current is so small that the drive sources would not be inadvertently activated and various components would not be damaged even when there is any faulty component in the driver circuit. When any faulty component is detected in the testing process, the driver circuit may be prevented from being powered up so that any undesired operation of the drive sources or permanent damage to various components owing to such a faulty component may be avoided.

TECHNICAL FIELD

The present invention relates to a fault detection circuit for detecting a normal/abnormal state of a driver circuit for driving a drive source such as electric motors, clutches and solenoids.

BACKGROUND OF THE INVENTION

Conventionally, in a reversible driver circuit for driving an electric motor, a bridge circuit including a relay in each arm of the bridge circuit was typically used. It was customary to connect a shunt resistor in the ground end of the electric motor for detecting the motor current, and monitor the state of the driver circuit by comparing the detected motor current with the pulse signal that controls the operation of the motor. Such an arrangement is disclosed, for instance, in Japanese patent laid open publication No. 07-213092 (in particular, pages 3–4 and FIG. 2).

It is also known to connect an FET between a power source and a switch for reversing the polarity of the current supplied to the motor, and to prevent the application of an excessive voltage to the motor by turning off the FET by using a breakdown of a zener diode. Such an arrangement is disclosed in Japanese patent laid-open publication No. 9-247848 (in particular, page 6 and FIG. 1).

However, according to such monitoring and detecting circuits, a failure of the circuit can be detected only after the electric current is supplied to the motor. Therefore, when the electric motor is applied to an automotive closure such as a power slide door, power window or sunroof, the user may discover that the motor cannot be controlled after turning on the electric motor, and the motor may behave in an unpredicted manner. Also, the failure in the motor driver circuit may be discovered only after the vehicle has started running. It is possible to install a fail-safe circuit to totally disable the motor when a failure of the driver circuit is detected, but it requires additional circuit elements and undesirably increases the complexity of the driver circuit.

Even when an abnormal motor current is detected, it was not possible to determine if the failure is in the electric motor or in the driver circuit. Therefore, the countermeasure that may be taken may not be proper if the cause of the failure cannot be determined. For instance, when there is any short-circuiting in the driver circuit, excessive motor current may be supplied to the motor, thereby damaging the electric motor or other circuit elements. When the failure is caused by a circuit element, the motor cannot be controlled as desired.

BRIEF SUMMARY OF THE INVENTION

In view of such problems of the prior art, a primary object of the present invention is to provide a fault detection circuit that allows a cause of a failure to be identified in a driver circuit for drive sources such as electric motors, clutches, solenoids and so forth.

A second object of the present invention is to provide a fault detection circuit that prevents supply of electric current to a drive source when a fault is detected, and thereby protects the drive source from an application of an excessive voltage.

A third object of the present invention is to provide a fault detection circuit that is able to detect a fault in a driver circuit before powering up the driver circuit.

According to the present invention, at least some of these objects and other objects can be accomplished by providing a fault detection circuit for a driver circuit for a drive source, the driver circuit including a drive source and a first switching device that are connected in a series between a power source and ground, comprising: a test voltage supply circuit adapted to feed a test voltage to a node between the drive source and first switching device; a test voltage detection circuit adapted to detect a voltage of the node; and a controller adapted to evaluate the voltage at the node before a power-up of the drive circuit. Typically, the controller is further adapted to evaluate the voltage at the node when the test voltage is applied and when the test voltage is not applied, and the test voltage supply circuit includes a current limiting element, for instance in the form of a resistor.

Thus, according to the present invention, by applying a test voltage of a limited current capacity to a suitable test point of the driver circuit before the power up of the drive circuit, any fault in the drive source or other components of the driver circuit can be detected before the power up of the driver circuit so that a suitable countermeasure may be taken. The test current is so small that the drive sources would not be inadvertently activated and various components would not be damaged even when there is any faulty component in the driver circuit. When any faulty component is detected in the testing process, the driver circuit may be prevented from being powered up or a warning is made so that any undesired operation of the drive sources or permanent damage to various components owing to such a faulty component may be avoided.

A driver circuit for a reversible motor typically comprises a pair of second switching devices that are connected on either end of the drive source in a serial connection between the power source and ground to allow the drive source to receive a drive voltage of either polarity. In such a case, the controller may be adapted to selectively and individually turn on the second switching devices during a testing process so that a fault in the second switching devices may also be tested during the testing process. According to a preferred embodiment of the present invention, the driver circuit may further comprise a third switching device that is included in the serial connection between the power source and ground, and the controller is adapted to selectively turn on the third switching device during the testing process. Typically, the first switching device comprises an FET, the second switching devices comprise electromagnetic relays, and the third switching device comprises an electromagnetic relay.

In an automotive power slide door or other automotive applications, the driver circuit may be adapted to drive both an electric motor and an electromagnetic clutch. The present invention may be advantageously applied to such applications by providing a fault detection circuit for a driver circuit for an electric motor and an electromagnetic clutch, the driver circuit including a pair of serial connections between a power source and ground, the first serial connection including an electric motor, a first switching device and a pair of second switching devices connected on either end of the electric motor to allow the electric motor to receive a drive voltage of either polarity, the second serial connection including an electromagnetic clutch and a first switching device; the fault detection circuit, comprising: a test voltage supply circuit adapted to feed a test voltage to a test voltage node between the electric motor and first switching device in the first serial connection and another test voltage node between the electromagnetic clutch and first switching device in the second serial connection, the test voltage supply circuit including a current limiting element; a first test voltage detection circuit adapted to detect a voltage of the test voltage node of the first serial connection; a second test voltage detection circuit adapted to detect a voltage of the test voltage node of the second serial connection; and a controller adapted to evaluate the voltage at the test voltage nodes of the first and second serial connections before a power-up of the drive circuit.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1shows a simplified circuit diagram of a driver circuit embodying the present invention. This driver circuit can be used, for instance, in controlling an automotive closure system such as a power slide door, a power window, a sunroof or the like. As shown in the drawing, power terminals1aand1bof the driver circuit1are connected to a positive power line2of a battery (V=12 volts, for instance) not shown in the drawing. The output end of the driver circuit1is connected to drive sources such as an electric motor3and a magnetic clutch4that are used for controlling the movement of an automotive slide door not shown in the drawings. The clutch4is engaged when the slide door is to be actuated by the electric motor3. When the clutch4is disengaged, the slide door may be moved freely by hand. The clutch4is provided with a solenoid not shown in the drawings that engages the clutch when energized and disengages the clutch when de-energized.

One of the power terminals1ais connected to a normally open contact of a first relay RY1that controls the supply of power to a motor driver circuit, and the other power terminal1bis connected to a normally open contact of a second relay RY2that controls the supply of power to a clutch driver circuit.

The solenoid of the first relay RY1is controlled by a first relay driver circuit5that energizes and de-energizes the first relay RY1so as to selectively activate the motor3according to a door close/open signal supplied from a controller CPU essentially consisting of a MPU operating under the control a program stored in internal ROM. The solenoid of the second relay RY2is controlled by a second relay driver circuit6that energizes and de-energizes the second relay RY2so as to engage/disengage the clutch4according to a door close/open signal supplied from the controller CPU.

The common contact of the first relay RY1is connected to the normally open contacts of a third relay RY3and a fourth relay RY4via a shunt resistor R1which is described hereinafter. The normally closed contacts of the third and fourth relays RY3and RY4are grounded via a first FET (FET1). Each relay RY3or RY4can take one of two positions depending on the energized state of the corresponding solenoid so that each motor terminal is connected to one of the power source and ground as desired.

The first FET (FET1) is PWM (pulse width modulation) controlled by a PWM driver circuit7which is in turn controlled by the controller CPU. The PWM control of the motor3is useful, for instance, when controlling the speed of a power slide door at a constant level without respect to the inclination of the vehicle. The first FET (FET1) may also be provided on the power source end of the motor3instead of on the ground end of the motor3.

The other terminal of the clutch4is grounded via a second FET (FET2) which is also controlled by an FET driver circuit8which is in turn controlled by to a clutch control signal supplied from the controller CPU. For instance, when the vehicle is parked on an inclined road surface and the slide door may be closed solely by the gravitational force acting on the door, the required closing movement of the door may be effected simply by engaging and disengaging the clutch4as required without activating the electric motor3. This saves the energy consumption. Such a control is made possible by connecting the second FET (FET2) to the clutch4. It is also possible to use other switching devices instead of the first and second FETs (FET1, FET2) as can be appreciated by a person skilled in the art.

One of the terminals of the motor3is connected to the common contact of the third relay RY3, and the other terminal of the motor3is connected to the common contact of the fourth replay RY4. The solenoid of the third relay RY3is controlled by a third relay driver circuit9, and the solenoid of the fourth relay RY4is controlled by a fourth relay driver circuit10. When the motor3is to be turned in the normal direction according to an open/close signal from the controller CPU, the third relay driver circuit9supplies an energization current to the solenoid of the third relay RY3so that only the common contact of the third relay RY3is connected to the corresponding normally open contact while the common contact of the fourth relay RY4is kept in contact with the normally closed contact. When the motor3is to be turned in the reverse direction according to an open/close signal from the controller CPU, the fourth relay driver circuit10supplies an energization current to the solenoid of the fourth relay RY4so that only the common contact of the fourth relay RY4is connected to the corresponding normally open contact while the common contact of the third relay RY3is kept in contact with the normally closed contact. InFIG. 1, the engagement between the common contact with the normally closed contact is indicated by a solid line (open state) while the engagement between the common contact with the normally open contact is indicated by a chain-dot line (closed state) in each of the third and fourth relays RY3and RY4.

A current detection circuit11is connected across the shunt resistor R1to detect the current that flows through the resistor R1. A voltage detection circuit12is connected to the node to which the normally open contacts of the third and fourth relays RY3and RY4and ground side end of the resistor R1are connected. The current detection circuit11and voltage detection circuit12are primarily used for the normal control action for the electric motor3, and are not directly related to the fault detection circuit of the present invention.

The fault detection circuit further comprises a test current supply circuit13that derives electric power from a line branched off from the power line2. The test current supply circuit13comprises a first transistor Q1having an emitter connected to the branched power line, a second transistor Q2having a collector connected to the base of the first transistor Q1for turning on and off the first transistor Q1according to a control signal fed from IS terminal of the controller CPU, a current limit resistor R2connected to the collector of the first transistor Q1via a diode D1, and another current limit resistor R3similarly connected to the first transistor Q1via a diode D2.

The other end of the current limit resistor R2is connected to a node connected to both the common contact of the fourth relay RY4and one of the motor terminals, and the other end of the other current limit resistor R3is connected to a node connected to both the drain of the second FET (FET2) and one of the clutch terminals. A diode D3is connected between a first node connected to both this clutch terminal and the drain of the second FET (FET2) and a second node connected to both the other clutch terminal in such a manner that electric current may be permitted to flow only from the first node to the second node.

A first test voltage detection circuit14is connected to a node that is connected to the normally closed contacts of the third and fourth relays RY3and RY4and the drain of the first FET (FET1), and a second test voltage detection circuit15is connected to a node that is connected to one of the clutch terminals and the drain of the second FET (FET2). These test voltage detection circuits14and15are each adapted to detect a voltage of the corresponding node, but may also be substituted by other voltage or current detection circuits.

The mode of operation of this detection circuit is now described with reference to the table given inFIG. 2. In the table ofFIG. 2, the conductive state of the transistor Q1is indicated by “O”, and the test current supply circuit13feeds electric current in this state. Conversely, the shut off state of the transistor Q1is indicated by “X”, and the test current supply circuit13does not feed electric current in this state. Also, with respect to each of the relays RY1to RY4, the closed state according to a control signal from the control CPU is indicated by “X”, and the open state according to a control signal from the control CPU is indicated by “O”.

When each of the test voltage detection circuits14and15has detected a voltage, the corresponding state is indicated by “H”. When no voltage is detected, the corresponding state is indicated by “L”. “Normal” in the table means that no fault is detected as far as the kinds of fault which the particular mode covers are concerned. Any item that cannot be determined by the particular mode is indicated by “-”.

According to the present invention, the detection circuit may be adapted to execute a series of fault detecting actions before the drive currents are supplied to the motor3and clutch4under normal control action, for instance when starting up the system. The supply of test current to various parts, evaluation of the detection result of each fault detection circuit14or15, and identification of a fault in any particular component may be executed by the controller CPU according to a prescribed program.

Firstly is described mode M1for detecting a short-circuit fault in the power source end of the drive sources such as the motor3and clutch4. In this mode, the first and second test voltage detection circuits14and15detect the corresponding voltage levels while no test current is fed from the test current supply circuit13(no test current command is produced from IS terminal of the controller CPU) and none of the relays RY1to RY4are energized. As the first and second test voltage detection circuits14and15are required to detect the corresponding voltages levels in any test modes, their actions are omitted from the description of the remaining test modes.

When the first test voltage detection circuit14does not detect the voltage (L) under this condition, it can be concluded that neither the first FET (FET1) nor the motor3has any short-circuiting to the power source (the 1stline of the table). Similarly, when the second test voltage detection circuit15does not detect the voltage (L), it can be concluded that neither the second FET (FET2) not the clutch4has any short-circuiting to the power source (the 1stline of the table).

On the other hand, if the first test voltage detection circuit14detects the voltage (H), it can be concluded that the motor3may have a short-circuiting to the power source (the 2nd line of the table). Similarly, when the second test voltage detection circuit15detects the voltage (H), it can be concluded that the clutch4may have a short-circuiting to the power source (the 3rd line of the table).

Secondly is described mode M2for detecting a short-circuiting to the ground end of the drive sources such as the motor3and clutch4. In this mode, the first and second test voltage detection circuits14and15detect the corresponding voltage levels while the test current is fed from the test current supply circuit13(the test current command is produced from IS terminal of the controller CPU) and none of the relays RY1to RY4are energized.

When the test current feed command is supplied to the second transistor Q2from the controller CPU, the first transistor Q1turns on, and this causes the test current to be fed from the test current supply circuit13. The output end or collector of the first transistor Q1is branched out into a pair of arms each including the corresponding current limiting resistor R2or R3so that only a limited amount of current is fed from the test current supply circuit13. The magnitude of the test current is such that the motor3or clutch4would not be activated, and no damage would be caused to any of the circuit components even when the test current is directly grounded.

If the first test voltage detection circuit14is “H” with the transistor Q1turned on and the relays RY1, RY3, RY4de-energized, as it means that the test current fed to the motor terminal has reached the first test voltage detection circuit14without being diverted to anywhere or there is nothing that pulls down the voltage at the input end of the first test voltage detection circuit14, there is no short-circuiting of the motor terminal or the first FET (FET1) to the ground (the 4th line of the table). Similarly, if the second test voltage detection circuit15is “H”, as it means that the test current fed to the clutch terminal has reached the second test voltage detection circuit15without being diverted to anywhere or there is nothing that pulls down the voltage at the input end of the second test voltage detection circuit15, there is no short-circuiting of the clutch terminal or the second FET (FET2) to the ground (the 4th line of the table).

Test mode M2is intended to detect the short-circuiting to the ground. However, if there is any short-circuiting to the power source side, an unusually high voltage from the power source may be detected. Therefore, if the first and second test voltage detection circuits14and15are constructed in such manner as to be able to detect different voltage levels, it may be possible to distinguish if the detected fault is caused by a short-circuiting to the ground or a short-circuiting to the power source. In the illustrated embodiment, a short-circuiting to the power source is first detected by executing test mode M1, and a short-circuiting to the ground is then detected by executing test mode M2.

In test mode M2, if the first test voltage detection circuit14is “L”, it can be concluded that there is a short-circuiting to the ground of the first FET (FET1) (the 5th line of the table) or a short-circuiting to the ground of the motor3(the 6th line of the table). Similarly, if the second test voltage detection circuit15is “L”, it can be concluded that there is a short-circuiting to the ground of the second FET (FET2) (the 7th line of the table) or a short-circuiting to the ground of the clutch4(the 8 the line of the table).

By executing test modes M1and M2, it is possible to detect the short-circuiting to the power source end and ground end of the drive source (such as the motor3and clutch4) and the short-circuiting to the power source end of the first and second FETs (FET1, FET2).

Thirdly is described test mode M3for a fault detection of a circuit that includes a switch for reversibly driving the drive source (electric motor3). In the illustrated embodiment, the switch for reversibly driving the drive source includes the third and fourth relays RY3and RY4, and it is desired to detect the short-circuiting fault and open fault of each of the relays RY3and RY4.

In test mode M3, no test current is fed from the test current supply circuit13(no test current supply command from terminal15of the controller CPU), and the first relay RY1is energized. These conditions are assumed in the following description of test mode M3. The third and fourth relays RY3and RY4are selectively and individually energized (as indicated by “O” in the table) and de-energized (as indicated by “X” in the table).

When both the third and fourth relays RY3and RY4are de-energized, and the first test voltage detection circuit14is “L”, as it means that the third and fourth relays RY3and RY4are shutting off the power source, there is no on-fault in each of the third and fourth relays RY3and RY4(the ninth line of the table). When both the third and fourth relays RY3and RY4are de-energized, and the first test voltage detection circuit14is “H”, there may be an on-fault in at least one of the third and fourth relays RY3and RY4(the tenth and eleventh line of the table).

Then, the third relay RY3is energized while the fourth relay RY4is de-energized. If the first test voltage detection circuit14is “H”, as it means a voltage is applied to the first test voltage detection circuit14via the third relay RY3(which is on), motor3and fourth relay RY4(which is off), it can be concluded that the third and fourth relays RY3and RY4may be operating normally (the 12th line of the table). If the first test voltage detection circuit14is “L” under the same condition, as it means that the third relay RY3has failed to switch over to the side of the power source, it can be concluded that the third relay RY3may have an open-fault (the 13th line of the table).

Then, the third relay RY3is de-energized while the fourth relay RY4is energized. If the first test voltage detection circuit14is “H”, as it means a voltage is applied to the first test voltage detection circuit14via the third relay RY3(which is off), motor3and fourth relay RY4(which is on), it can be concluded that the third and fourth relays RY3and RY4may be operating normally (the 14th line of the table). If the first test voltage detection circuit14is “L” under the same condition, as it means that the fourth relay RY4has failed to switch over to the side of the power source, it can be concluded that the fourth relay RY4may have an open-fault (the 15th line of the table).

In test mode M4, no test current is fed from the test current supply circuit13(no test current supply command from terminal IS of the controller CPU), and an on-fault of each of the first and second relays RY1and RY2can be detected.

An on-fault of the second relay RY2can be detected by de-energizing the second relay RY2. At this time, if the second test voltage detection circuit15is “L”, as it means that the second relay RY2is shutting off the power source, it can be concluded that the second relay RY2is operating normally (the 16th line of the table). On the other hand, if the second test voltage detection circuit15is “H”, as it means that the second relay RY2provides a conductive path so that the power source voltage is applied to the second test voltage detection circuit15via the clutch4, it can be concluded that the second relay RY2may be faulty (the 17th line of the table).

An on-fault of the first relay RY1can be detected by de-energizing the first relay RY1and, at the same time, for instance, the third relay RY3is energized for the purpose of providing a conductive path from the first relay RY1to the first test voltage detection circuit14while the fourth relay RY4is de-energized. At this time, if the first test voltage detection circuit14is “L”, as it means that the first relay RY1is shutting off the power source, it can be concluded that the first relay RY1is operating normally (the 18th line of the table). On the other hand, if the first test voltage detection circuit14is “H”, as it means that the first relay RY1provides a conductive path so that the power source voltage is applied to the first test voltage detection circuit14via the third relay RY3, motor3and fourth relay RY4, it can be concluded that the first relay RY1may be faulty (the 19th line of the table).

Thus, according to the foregoing embodiment, various component parts of the driver circuit such as relays RY1to RY4and FETs (FET1, FET2) as well as the drive sources such as the motor3and clutch4can be tested by selectively energizing the relays and evaluating the voltage levels of the selected points by using the first and second test voltage detection circuits14,15. This testing process is typically executed before the power up of the drive circuit. The test current is so small that the drive sources would not be inadvertently activated and various components would not be damaged even when there is any faulty component in the driver circuit. When any faulty component is detected in the testing process, the driver circuit may be prevented from being powered up or a warning is made so that any undesired operation of the drive sources or permanent damage to various components owing to such a faulty component may be avoided.

Although the present invention has been described in terms of preferred embodiments thereof, it is obvious to a person skilled in the art that various alterations and modifications are possible without departing from the scope of the present invention which is set forth in the appended claims.