This disclosure describes a device for detecting overcurrent conditions. More particularly, this disclosure describes a circuit for detecting intermittent overcurrent conditions.
Current systems rely on a microcontroller to catch and detect intermittent failures utilizing a diagnostic feedback signal. However, an overcurrent condition may occur and subside quicker than can be detected by the microcontroller. Further, some microcontrollers do not continually monitor the diagnostic signal and can miss intermittent fault conditions. A permanent fault condition will be caught eventually, however the intermittent conditions may continue for some time without detection.
Accordingly, it is desirable to design and develop a circuit capable of detecting intermittent conditions.
An example overcurrent detection circuit assembly provides a diagnostic feedback signal indicative of an overcurrent or short condition is disclosed. The detection circuit receives a sense current that is proportional to a load current provided to an electrical device or load. The detection circuit provides the feedback signal to a microcontroller that can control the device and the power supply to protect the device against short circuit or other fault condition.
The circuit assembly includes a latch to maintain the diagnostic signal in a state indicative of fault conditions independent of the level of the sense current. Accordingly, intermittent increases in the sense current will cause the diagnostic signal to latch at a high state, even if the sense current returns to a level within desired threshold limits. The diagnostic signal is transmitted to a microcontroller that will then initiate a defined response to protect the device. The diagnostic signal is reset to a level indicative of normal desired operation by a command from the microcontroller. The reset causes the comparator to return to a state where the sense current is measured and compared to the desired threshold value. The reset process provides for the filtering of noise values that may cause a latching of the diagnostic signal but are not indicative of a fault.
These and other features of the present invention can be best understood from the following specification and drawings, the following of which is a brief description.
Referring to
The circuit assembly 10 includes a latch 22 to maintain the diagnostic signal 28 in a high state indicative of fault condition independent of the sense current. Accordingly, intermittent increases in the sense current will cause the diagnostic signal 28 to latch at the high state, even if the sense current 26 returns to a level within desired threshold limits. The diagnostic signal 28 is transmitted to a microcontroller 12 that will then initiate a defined response to protect the power supply 14 and electrical device 18.
The diagnostic signal 28 is reset to a level indicative of normal desired operation by a reset 24. The reset 24 is initiated by a command from the microcontroller 12. The reset 24 causes the comparator 20 to return to a state where the sense current 26 is measured and compared to the desired threshold value. The reset process provides for the filtering of noise values that may cause a latching of the diagnostic signal 28 in a high condition, but are not indicative of a fault. If however, upon reset of the comparator 20, another or several consecutive signal exceed the threshold value, the microcontroller 12 can initiate the defined actions, such as for example shutdown of the device 18, to protect the device 18.
Referring to
Once the output current 38 of the comparator 20 has been switched to ground, the latch 22 will move to a high state. In this example, the latch 22 includes a latch transistor 34. The negative voltage supply from the output 38 is supplied to the base of the latch transistor 34. This triggers the latch transistor 34 to pass voltage from the emitter to the collector. The emitter of the latch transistor 34 is coupled to the power supply 50. The collector of the latch transistor 34 is tied to the diagnostic signal 28 so that the microcontroller 12 will read a fault condition upon the next periodic check, and/or because the high signal is held until detection of the diagnostic signal 28.
The collector of the latch transistor 34 is also tied to the negative input 52 of the comparator 20. Because the negative input 52 is tied to the collector of the latch transistor 34, the output 38 of the comparator 20 remains latched, even if the sensed current 26 returns to within acceptable limits. Accordingly, an intermittent increase in current causes the example detection circuit 10 to output the diagnostic signal 28 at a level that indicates a fault condition, and maintain this level, until the fault is recognized by the microcontroller 12.
The input tied to the collector of the latch transistor 34 is tied back through resistor R14. The resistor R14 is set to provide a level of input just above the threshold value based on the power supply 50. Further, the voltage as the negative input 52 is determined based on the resistor divider R8, R15 and R14. Therefore, the comparator 20 is maintained switched to negative voltage supply 42.
Once the microcontroller 12 has received the signal 28 indicative of a fault condition, the detection circuit 10 can be reset. Resetting is accomplished by actuating a reset transistor 36. The microcontroller 12 pulls a latch reset signal 30 low to saturate the reset transistor 36 and pass the voltage on the emitter to the collector. The collector of the reset transistor 36 is tied to the positive input of the comparator 20. The voltage through the reset transistor 36 bypasses the resistor R1 to the positive input 54 providing a voltage higher than that to the negative input to switch the comparator 20 back to the open collector and the voltage from the negative input 52 is returned to that of the input sense current 26. The comparator 20 output 38 then initiates a return of the latch transistor 34 to the state were no voltage is passed from the emitter to the collector, and thereby to the diagnostic signal 28.
Referring to
The example detection circuit 10 includes a fixed power supply 66. In order to maintain the positive input 54 and the negative inputs 52 to the comparator 20, the fixed power supply 66 is set to a fixed voltage determine to prevent a rise above a threshold voltage. In this example, the fixed power supply 66 is fixed at 8 volts, thereby preventing a voltage rise above 6 volts. Other values and voltages can be utilized based on application specific requirements.
In some applications, the current sense 26 is utilized to provide thermal status output. Such use can cause the current sense output to increase to a voltage greater than is desired for operation of the comparator 20. A diode D1 is included to clamp the negative input to the comparator 20 to a level just below the threshold value, in this example 6 volts. Further, some applications may require several different high side drivers within a product. The example detection circuit 10 can be duplicated so that multiple detection circuit 10 can share the same voltage references and therefore share a common latch reset signal 30. Additionally, a capacitor C2 has been added across the positive input 54 and the negative input 52 to increase noise rejection in the circuit 10.
The latching of the diagnostic signal in a condition indicative of a fault condition provides time for the microcontroller to detect and act on short current spikes indicative of intermittent shorting or overcurrent conditions. The microcontroller 12 can then act as desired to return the diagnostic signal back to a normal threshold value. If the current condition is a complete fault, upon reset, the diagnostic signal 28 would immediately be set back to the high state indicative of the fault.
Accordingly, the example detection circuit provides for the detection of intermittent overcurrent conditions that could be missed by the microcontroller.
Although a preferred embodiment of this invention has been disclosed, a worker of ordinary skill in this art would recognize that certain modifications would come within the scope of this invention. For that reason, the following claims should be studied to determine the true scope and content of this invention.
The application claims priority to U.S. Provisional Application No. 60/906,695 which was filed on Mar. 13, 2007.
Number | Date | Country | |
---|---|---|---|
60906695 | Mar 2007 | US |