CN104181438B - A kind of failure detector circuit, method and device - Google Patents

A kind of failure detector circuit, method and device Download PDF

Info

Publication number
CN104181438B
CN104181438B CN201410432393.3A CN201410432393A CN104181438B CN 104181438 B CN104181438 B CN 104181438B CN 201410432393 A CN201410432393 A CN 201410432393A CN 104181438 B CN104181438 B CN 104181438B
Authority
CN
China
Prior art keywords
high pressure
pressure assembly
microcontroller
circuit
branch road
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410432393.3A
Other languages
Chinese (zh)
Other versions
CN104181438A (en
Inventor
颜广博
尹彩锋
尹显宝
翁浩宇
谢英杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Great Wall Motor Co Ltd
Original Assignee
Great Wall Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Great Wall Motor Co Ltd filed Critical Great Wall Motor Co Ltd
Priority to CN201410432393.3A priority Critical patent/CN104181438B/en
Publication of CN104181438A publication Critical patent/CN104181438A/en
Application granted granted Critical
Publication of CN104181438B publication Critical patent/CN104181438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

The invention provides a kind of failure detector circuit, method and device, including:N bar branch roads;The N is the integer more than or equal to 2;The branch road includes:The switch element being serially connected and first resistor unit;At least include a switch element in high pressure assembly, wherein, the two ends of the 1st article of branch road connect the I/O port of microcontroller, earth terminal respectively;I-th branch road is in parallel with the first resistor unit in the i-th 1 branch roads;The i is the integer more than or equal to 2 less than or equal to N.Failure detector circuit of the present invention is used for the high pressure assembly for judging to occur open circuit by the current value of the I/O port of microcontroller.

Description

A kind of failure detector circuit, method and device
Technical field
The present invention relates to technical field of electronic equipment, more particularly to a kind of failure detector circuit, method and device.
Background technology
At present, the high pressure assembly of electronic equipment (such as new-energy automobile) mainly includes:High-tension battery group, electric machine controller, Motor, charger and high pressure compressor etc., and operationally required voltage is very high for these high pressure assemblies, if user's operation is not When, may result in high pressure accident generation, so high-voltage safety is particularly important.In order to solve the problems, such as high-voltage safety, generally to every Individual high pressure assembly increases a high voltage interlock circuit, and the I/O port of this high voltage interlock circuit and microcontroller is connected. So-called high-voltage interlocking refers to the Wiring port in high pressure assembly, is closed by end cap after the microswitch that will be connected with end cap conducting A closed circuit of lead formation is interlocked with termination.If user's misoperation, such as user open end cap, then microswitch breaks Open, i.e. high voltage interlock circuit open circuit, so, microcontroller can be by detecting the electric current of I/O port it may determine that having Failure occurs, and the contactor for controlling high-tension electricity is disconnected, so as to solve the problems, such as high-voltage safety.
In the prior art, generally the high voltage interlock circuit of each high pressure assembly is connected, forms concatenation loop, and The one end in loop will be concatenated and the I/O port of microcontroller is connected, the power cathode of the other end and microcontroller is connected, this Sample, when the corresponding high voltage interlock circuit of each high pressure assembly is normally run, the electric current of the I/O port of microcontroller is Certain value;When the corresponding high voltage interlock circuit of at least one high pressure assembly disconnects, then concatenate loop and disconnect, microcontroller The electric current of I/O port is zero, so microcontroller can determine to concatenate back by detecting the electric current of this I/O port Whether road disconnects.
But in above-mentioned implementation, because the corresponding high voltage interlock circuit of each high pressure assembly is cascaded, so, When the corresponding high voltage interlock circuit of any one high pressure assembly disconnects, the current value of the I/O port of microcontroller is zero, It follows that microcontroller can not judge the high voltage interlock circuit for occurring open circuit by the current value of I/O port, also It is to say, microcontroller can not judge the high pressure assembly for occurring open circuit by the current value of I/O port.
The content of the invention
In view of this, the present invention is directed to propose a kind of failure detector circuit, for the I/O port by microcontroller Current value come judge occur open circuit high pressure assembly.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
A kind of failure detector circuit, including:N bar branch roads;The N is the integer more than or equal to 2;The branch road includes:Phase The switch element mutually connected and first resistor unit;At least include a switch element in high pressure assembly, wherein, the 1st article The two ends of branch road connect the I/O port of microcontroller, earth terminal respectively;I-th branch road with it is described in the i-th -1 branch road First resistor unit is in parallel;The i is the integer more than or equal to 2 less than or equal to N.
Further, the branch road also includes:Second resistance unit;The first resistor unit and the second resistance list Member is series at the two ends of the switch element respectively.
Further, the failure detector circuit also includes:3rd resistor unit;The 3rd resistor unit and described the 1 branch circuit parallel connection, and the two ends of the 3rd resistor unit connect the I/O port of the microcontroller, earth terminal respectively.
Further, the failure detector circuit also includes:High voltage connector;The high voltage connector respectively with it is described micro- Controller and high voltage power supply connection;The high voltage connector, the break-make for controlling high voltage power supply;The high voltage power supply, is used for Powered to the high pressure assembly.
Further, the failure detector circuit also includes:At least two malfunction indicator lamp;Each malfunction indicator lamp correspondence In a high pressure assembly;The microcontroller is connected with least two malfunction indicator lamp.
Relative to prior art, failure detector circuit of the present invention has the advantage that:
Failure detector circuit of the present invention, including N bar branch roads, every branch road include the switch element that is serially connected with At least include a switch element in first resistor unit, and high pressure assembly.Wherein, one end of the 1st article of branch road and microcontroller I/O port connection, the other end ground connection;I-th branch road is in parallel with the first resistor unit in the i-th -1 branch road.So, When occurring open circuit in a certain branch road, then the equivalent resistance of failure detector circuit, when there is open circuit with another branch road, fault detect The equivalent resistance of circuit is different, and then the electric current of the I/O port in microcontroller is also different, it is possible to according to microcontroller The difference of the electric current of the I/O port of device, to determine the branch road for occurring open circuit;Again due at least including one in high pressure assembly Switch element, and each branch road includes switch element, it is possible at least one branch road one high pressure assembly of correspondence is drawn, from And the high pressure assembly for occurring open circuit can be determined according to determining to occur the branch road of open circuit.
Another object of the present invention is to propose a kind of fault detection method, for the input/output by microcontroller Mouthful current value come judge occur open circuit high pressure assembly.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
A kind of fault detection method, applied to the failure detector circuit described in above-described embodiment, including:Microcontroller is detected The current value for the I/O port being connected with the 1st article of branch road;The microcontroller searched in the presets list with it is described input/ First pre-set current value of the current values match of delivery outlet, and determine occur breaking high pressure according to first pre-set current value Assembly;Wherein, be stored with each pre-set current value and the corresponding relation of each high pressure assembly generation open circuit in described the presets list.
Further, in the case where the failure detector circuit also includes second resistance unit, in addition to:The micro-control Device processed searches the second pre-set current value with the current values match of the I/O port in the presets list, and according to described Second pre-set current value determines the high pressure assembly for occurring short circuit;Wherein, be also stored with each predetermined current in described the presets list The corresponding relation of short circuit occurs for value and each high pressure assembly.
Further, after the high pressure assembly for being determined to occur open circuit according to the pre-set current value, in addition to:Institute State microcontroller and send break signal corresponding with occurring the high pressure assembly of open circuit;Determined described according to the pre-set current value After the high pressure assembly for occurring short circuit, in addition to:The microcontroller sends short circuit corresponding with occurring the high pressure assembly of short circuit Signal.
Further, before the current value that the microcontroller detects the I/O port being connected with the 1st article of branch road, Also include:The microcontroller prestores the fault level of each high pressure assembly;The microcontroller is sent with occurring open circuit The corresponding break signal of high pressure assembly include:The microcontroller according to the fault level of each high pressure assembly send with Occurs the corresponding break signal of high pressure assembly of open circuit;The microcontroller sends corresponding short with the high pressure assembly of generation short circuit Road signal includes:The microcontroller is sent with occurring the high pressure assembly of short circuit according to the fault level of each high pressure assembly Corresponding short-circuit signal.
Relative to prior art, fault detection method of the present invention has the advantage that:
Fault detection method of the present invention, microcontroller is detecting the I/O port that is connected with the 1st article of branch road Current value after, the first pre-set current value with the current values match of I/O port is searched in the presets list, due to default The corresponding relation of open circuit occurs for be stored with list each pre-set current value and each high pressure assembly, then microcontroller it is determined that with During the first pre-set current value of the current values match of I/O port, it can determine occur open circuit according to the first pre-set current value High pressure assembly.
Another object of the present invention is to propose a kind of failure detector, for the input/output by microcontroller Mouthful current value come judge occur open circuit high pressure assembly.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
A kind of failure detector, including the failure detector circuit described in above-described embodiment.
Failure detector of the present invention, including the failure detector circuit described in above-described embodiment, its fault detect Circuit includes:Including N bar branch roads, every branch road includes the switch element being serially connected and first resistor unit, and high pressure assembly In at least include switch element.Wherein, the I/O port of one end of the 1st article of branch road and microcontroller is connected, the other end Ground connection;I-th branch road is in parallel with the first resistor unit in the i-th -1 branch road.So, when occurring open circuit in a certain branch road, The then equivalent resistance of failure detector circuit, when there is open circuit with another branch road, the equivalent resistance of failure detector circuit is different, and then It is also different in the electric current of the I/O port of microcontroller, it is possible to according to the electric current of the I/O port of microcontroller Difference, to determine the branch road for occurring open circuit;Again due at least including a switch element in high pressure assembly, and wrapped in each branch road Include switch element, it is possible at least one branch road one high pressure assembly of correspondence is drawn, so as to occur open circuit according to determination Branch road come determine occur open circuit high pressure assembly.
Brief description of the drawings
The accompanying drawing for constituting the part of the present invention is used for providing a further understanding of the present invention, schematic reality of the invention Apply example and its illustrate to be used to explain the present invention, do not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of structural representation of failure detector circuit described in the embodiment of the present invention;
Fig. 2 is the structural representation of another failure detector circuit described in the embodiment of the present invention;
Fig. 3 is the structural representation of another failure detector circuit described in the embodiment of the present invention;
Fig. 4 is the structural representation of another failure detector circuit described in the embodiment of the present invention;
Fig. 5 is also a kind of structural representation of failure detector circuit described in the embodiment of the present invention;
Fig. 6 is a kind of schematic flow sheet of fault detection method described in the embodiment of the present invention;
Fig. 7 is the schematic flow sheet of another fault detection method described in the embodiment of the present invention.
Embodiment
It should be noted that in the case where not conflicting, the embodiment in the present invention and the feature in embodiment can phases Mutually combination.
Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
As shown in figure 1, it is a kind of failure detector circuit provided in an embodiment of the present invention, including:N bar branch roads.
Wherein, the N is the integer more than or equal to 2.
The branch road includes:The switch element K1 being serially connected and first resistor unit R 1.And at least wrapped in high pressure assembly Include a switch element K1.
Wherein, the two ends of the 1st article of branch road connect microcontroller M I/O port (I/O, Input/Out), connect respectively Ground terminal;I-th branch road is in parallel with the first resistor unit R 1 in the i-th -1 branch road.
That is, the 2nd article of branch road is in parallel with the first resistor unit R 1 in the 1st article of branch road;3rd article of branch road and The first resistor unit R 1 in 2 branch roads is in parallel;By that analogy, described first in N articles of branch road and the N-1 articles branch road Resistance unit R1 is in parallel.
It should be noted that at least referring in high pressure assembly including a switch element K1:Each high pressure assembly At least one switch element K1 is provided with end cap, when electronic equipment is normally run, the end cap closure of each high pressure assembly, this When, at least one switch element K1 is also at closure state;When electronic equipment breaks down, for example:The end of some high pressure assembly When lid is opened, now, at least one switch element K1 is off.
4 branch roads are included with failure detector circuit below, and high pressure assembly includes progress exemplified by a switch element K1 Explanation.
It should be noted that in order to be made a distinction to the switch element K1 and first resistor unit R 1 in each branch road, then Switch element and first resistor unit in 1st branch road is respectively designated as switch element K11, first resistor unit R 11;By Switch element and first resistor unit in 2 branch roads are respectively designated as switch element K12, first resistor unit R 12;By the 3rd Switch element and first resistor unit in road are respectively designated as switch element K13, first resistor unit R 13;By in the 4th branch road Switch element and first resistor unit be respectively designated as switch element K14, first resistor unit R 14.
When electronic equipment is normally run, because the end cap of each high pressure assembly is in closure state, so first Switch element K13 in switch element K12 in switch element K11 in road, the second branch road, the 3rd branch road, and the 4th Switch element K14 in road is closed, so, and the equivalent resistance in failure detector circuit is R11//R12//R13//R14.
That is equivalent resistance R=R11*R12*R13*R14/ (R11+R12+R13+R14).
When the corresponding switch element K1 of some high pressure assembly disconnects, it is assumed that disconnected with the switch element K11 in the 1st branch road Exemplified by, because K11 disconnects, then the electric current in failure detector circuit flow to the 1st branch road without K11, the 2nd branch road, the 3rd branch road and the 4 branch roads, so, now the electric current in failure detector circuit is zero, and its equivalent resistance is infinity.
Again so that the switch element K12 in the 2nd branch road disconnects as an example, because K12 disconnects, then the electric current in failure detector circuit The branch road of first resistor unit R the 12, the 3rd and the 4th branch road are flow to without switch element K12, but directly passes through opening in the 1st branch road The negative terminal that unit K11 and first resistor unit R 11 flow into microcontroller M is closed, so, the now equivalent electric in failure detector circuit Hinder R=R11.
Again so that the switch element K13 in the 3rd branch road disconnects as an example, because K13 disconnects, then the electric current in failure detector circuit The branch road of first resistor unit R 13 and the 4th is flow to without K13, but directly passes through the switch element K12 and first in the 2nd branch road Resistance unit R12 flows into microcontroller M negative terminal, so, the now equivalent resistance R=R11//R12=in failure detector circuit R11*R12/(R11+R12)。
Again so that the switch element K14 in the 4th branch road disconnects as an example, because K14 disconnects, then the electric current in failure detector circuit First resistor unit R 14 is flow to without K14, but directly passes through the switch element K13 and first resistor unit in the 3rd branch road R13 flows into microcontroller M negative terminal, so, the now equivalent resistance R=R11//R12//R13=R11 in failure detector circuit +R12+R13/(R11+R12+R13)。
Seen from the above description, when the switch element K1 of any branch road in failure detector circuit disconnects, its equivalent resistance It is different, and then the electric current of the I/O port generation in microcontroller M is also different, it is possible to according to the defeated of microcontroller M Enter/the delivery outlet difference of electric current that produces determines that specifically which branch road disconnects, due to each branch road with each high pressure Assembly is corresponded, so as to also determine that out specifically which high pressure assembly disconnects.
It should be noted that other component (such as first resistor unit Rs 1 of any branch road in failure detector circuit Or open circuit may also can occur between circuit, and when open circuit occurs between other components or circuit of any branch road, its failure Detect that the equivalent resistance when equivalent resistance of circuit disconnects with the switch element K1 of any branch road is identical, concrete analysis process can join Analysis process when the switch element K1 for examining any of the above-described branch road disconnects, the present invention will not be repeated here.
The embodiments of the invention provide a kind of failure detector circuit, including N bar branch roads, every branch road includes what is be serially connected Switch element is with least including a switch element in first resistor unit, and high pressure assembly.Wherein, one end of the 1st article of branch road It is connected with the I/O port of microcontroller, other end ground connection;First resistor unit in i-th branch road and the i-th -1 branch road It is in parallel.So, when occurring open circuit in a certain branch road, then, there is open circuit with another branch road in the equivalent resistance of failure detector circuit When, the equivalent resistance of failure detector circuit is different, and then the electric current of the I/O port in microcontroller is also different, so can With the difference of the electric current of the I/O port according to microcontroller, to determine the branch road for occurring open circuit;Again due in high pressure assembly At least include a switch element, and each branch road includes switch element, it is possible to draw at least one branch road correspondence one Individual high pressure assembly, so as to determine the high pressure assembly for occurring open circuit according to determining to occur the branch road of open circuit.
Further, as shown in Fig. 2 the branch road also includes:Second resistance unit R 2.
The first resistor unit R 1 is series at the two ends of the switch element K1 with the second resistance unit R 2 respectively.
Said below so that failure detector circuit includes 4 branch roads and high pressure assembly includes a switch element K1 as an example It is bright.Ibid, in order to be made a distinction to the switch element K1 and first resistor unit R 1 in each branch road, then by the 1st branch road Switch element, first resistor unit and second resistance unit are respectively designated as switch element K11, first resistor unit R 11, second Resistance unit R21;By the switch element in the 2nd branch road, first resistor unit and second resistance unit are respectively designated as switch list First K12, first resistor unit R 12, second resistance unit R 22;By the switch element in the 3rd branch road, first resistor unit and Two resistance units are respectively designated as switch element K13, first resistor unit R 13, second resistance unit R 23;By in the 4th branch road Switch element, first resistor unit and second resistance unit are respectively designated as switch element K14, first resistor unit R 14, second Resistance unit R24.
When electronic equipment is normally run, because the end cap of each high pressure assembly is in closure state, so the 1st branch road In switch element K11, the switch element K12 in the 2nd branch road, the switch element K13 in the 3rd branch road, and in the 4th branch road Switch element K14 is closed, so, and the equivalent resistance in failure detector circuit is R11//R12//R13//R14.
That is equivalent resistance R=R11*R12*R13*R14/ (R11+R12+R13+R14).
When the corresponding switch element K1 of some high pressure assembly disconnects, it is assumed that disconnected with the switch element K11 in the 1st branch road Exemplified by, because K11 disconnects, then the electric current in failure detector circuit flow to the 1st branch road without K11, the 2nd branch road, the 3rd branch road and the 4 branch roads, so, now the electric current in failure detector circuit is zero, and its equivalent resistance is infinity.
Again so that the switch element K12 in the 2nd branch road disconnects as an example, because K12 disconnects, then the electric current in failure detector circuit The branch road of first resistor unit R the 12, the 3rd and the 4th branch road are flow to without K12, but directly passes through the second resistance list in the 1st branch road First R21, switch element K11 and first resistor unit R 11 flow into microcontroller M negative terminal, so, now in failure detector circuit Equivalent resistance R=R11+R21.
Again so that the switch element K13 in the 3rd branch road disconnects as an example, because K13 disconnects, then the electric current in failure detector circuit The branch road of first resistor unit R 13 and the 4th is flow to without K13, but directly by the second resistance unit R 22 in the 2nd branch road, is opened The negative terminal that unit K12 and first resistor unit R 12 flow into microcontroller M is closed, so, the now equivalent electric in failure detector circuit Resistance R=R21+ [(R22+R12) //R11)]=R21+ (R22+R12) * R11/ (R22+R12+R11).
Again so that the switch element K14 in the 4th branch road disconnects as an example, because K14 disconnects, then the electric current in failure detector circuit First resistor unit R 14 is flow to without K14, but directly passes through the second resistance unit R 23 in the 3rd branch road, switch element K13 And first resistor unit R 13 flows into microcontroller M negative terminal, so, the now equivalent resistance R=R21+ in failure detector circuit [R22+(R23+R13)//R12]//R11。
Seen from the above description, when the switch element K1 of any branch road in failure detector circuit disconnects, its equivalent electric Resistance is different, and then the electric current of the I/O port generation in microcontroller M is also different, it is possible to according to microcontroller M's The difference for the electric current that I/O port is produced determines that specifically which branch road disconnects, due to each branch road with it is each high Assembly is pressed to correspond, so as to also determine that out specifically which high pressure assembly disconnects.
When there is short circuit in any branch road in failure detector circuit, it is assumed that with the first resistor unit R 11 in the 1st branch road Exemplified by two terminal shortcircuits, then the electric current in failure detector circuit is flowed directly to micro- through second resistance unit (R21) and switch element K11 Controller M negative terminal, so, the now equivalent resistance R=R21 in failure detector circuit.
Again by taking 12 liang of terminal shortcircuits of first resistor unit R in the 2nd branch road as an example, due to the terminal shortcircuits of R12 two, then fault detect Electric current in circuit flow to microcontroller M negative terminal through K12, so, the now equivalent resistance R=R21+ in failure detector circuit R22//R11=R21+R22*R11/ (R22+R11).
Again by taking 13 liang of terminal shortcircuits of first resistor unit R in the 3rd branch road as an example, due to the terminal shortcircuits of K13 two, then fault detect Electric current in circuit flow to microcontroller M negative terminal through K13, so, the now equivalent resistance R=R21+ in failure detector circuit (R22+R23//R12)//R11。
Again by taking 14 liang of terminal shortcircuits of first resistor unit R in the 4th branch road as an example, due to the terminal shortcircuits of K14 two, then fault detect Electric current in circuit flow to microcontroller M negative terminal through K14, so, the now equivalent resistance R=R21+ in failure detector circuit {R22+[R23+(R24+R14)//R13]//R12]}//R11。
Seen from the above description, when short circuit occurs in any branch road in failure detector circuit, its equivalent resistance is different, And then the electric current of the I/O port generation in microcontroller M is also different, it is possible to according to microcontroller M input/output The difference of mouthful electric current produced determines specifically which branch, short-circuit, due to each branch road with each high pressure assembly one by one Correspondence, so that specifically which high pressure assembly short circuit also determined that out.
When short circuit and short circuit can also occur by above-mentioned any branch road in failure detector circuit, its equivalent resistance The analysis of value understands that when short circuit or short circuit occurs in any branch road in failure detector circuit, its equivalent resistance is different.
It should be noted that other component (such as second resistance unit Rs 2 of any branch road in failure detector circuit Between may also can occur open circuit, when between other components of any branch road occur short circuit when, its failure detector circuit etc. Equivalent resistance when imitating resistance with 1 liang of terminal shortcircuit of first resistor unit R of any branch road is identical, and concrete analysis process is referred to Analysis process during 1 liang of terminal shortcircuit of first resistor unit R of any branch road is stated, the present invention will not be repeated here.
Further, as shown in figure 3, the failure detector circuit also includes:3rd resistor unit R 3.
The 3rd resistor unit R 3 and the 1st article of branch circuit parallel connection, and the two ends difference of the 3rd resistor unit R 3 Connect I/O port, the earth terminal of the microcontroller M.
Further, as shown in figure 4, the failure detector circuit also includes:High voltage connector KM.
The high voltage connector KM is connected with the microcontroller M and high voltage power supply respectively.
The high voltage connector KM, the break-make for controlling high voltage power supply.
The high voltage power supply, for being powered to the high pressure assembly.
Specifically, microcontroller M then controls high voltage connector KM to break when it is determined that short circuit or open circuit occur for a certain branch road Open, so that high voltage connector KM disconnects with high voltage power supply, so, high voltage power supply can not power to each high pressure assembly, institute It can not be worked with all high pressure assemblies, so as to ensure that the safety of user.
Further, as shown in figure 5, the failure detector circuit also includes:At least two malfunction indicator lamp L.Each event Hinder indicator lamp L and correspond to a high pressure assembly.
The microcontroller M is connected with least two malfunction indicator lamp.
Specifically, microcontroller M it is determined that a certain branch road occur short circuit or open circuit when, that is, determine occur open circuit or short circuit During high pressure assembly, open circuit or short-circuit signal are sent to the corresponding malfunction indicator lamp L of this high pressure assembly, to cause and this high pressure assembly Corresponding malfunction indicator lamp L is lighted, so that user determines which the high pressure assembly specifically broken down is.
It should be noted that microcontroller M is different according to the signal of transmission, the color that malfunction indicator lamp L is lighted is also different. For example, microcontroller M is when sending break signal, the color that malfunction indicator lamp L is lighted is red;Microcontroller M is sending short During the signal of road, the color that malfunction indicator lamp L is lighted is blueness.
It should be noted that microcontroller M it is determined that a certain branch road occur short circuit or open circuit when, that is, determine occur open circuit or During the high pressure assembly of short circuit, it can also notify which the high pressure assembly that user specifically breaks down is according to other method, The present invention is without limitation.
It should be noted that accompanying drawing 1 to accompanying drawing 5 is one end ground connection of the first resistor unit R 1 in the 1st branch road, open Corresponding failure detector circuit figure in the case of the I/O port for the termination microcontroller for closing unit K1.But it is of the invention real Apply example and be not limited to such a connected mode, one end of the switch element K1 in the 1st branch road can also be grounded, first resistor unit R 1 A termination microcontroller I/O port, specific circuit diagram will not be repeated here.
The embodiments of the invention provide a kind of failure detector circuit, including N bar branch roads, second resistance unit, 3rd resistor Unit, high voltage connector and at least two malfunction indicator lamp.Every branch road includes switch element and the first resistor being serially connected At least include a switch element in unit, and high pressure assembly.Wherein, the input of one end of the 1st article of branch road and microcontroller/defeated Outlet connection, other end ground connection;I-th branch road is in parallel with the first resistor unit in the i-th -1 branch road.So, when a certain branch When occurring open circuit or short circuit in road, then the equivalent resistance of failure detector circuit, when there is open circuit or short circuit with another branch road, failure Detect that the equivalent resistance of circuit is different, and then the electric current of the I/O port in microcontroller is also different, so microcontroller can Determined with the difference of the electric current according to I/O port occur open circuit or short circuit branch road, and due in high pressure assembly at least Including a switch element, and each branch road includes switch element, it is possible to show that at least one branch road correspondence is one high Assembly is pressed, so as to determine the high pressure assembly for occurring open circuit according to determining to occur the branch road of open circuit.And in microcontroller It is determined that when occurring open circuit or short-circuit branch road, disconnecting the high voltage connector being connected with high voltage power supply so that high voltage power supply can not give High pressure assembly is powered, and sends break signal or short-circuit signal to occurring the malfunction indicator lamp of open circuit or short circuit, so as to ensure The safety of user, and facilitate maintenance personal to repair.
The embodiments of the invention provide a kind of fault detection method, applied in above-mentioned failure detector circuit, such as Fig. 6 institutes Show, including:
601st, the current value for the I/O port that microcontroller detection is connected with the 1st article of branch road.
602nd, the microcontroller searches the default electricity with the current values match of the I/O port in the presets list Flow valuve, and determine occur breaking high pressure assembly according to the pre-set current value.
Wherein, open circuit or short circuit occur for be stored with described the presets list each pre-set current value and each high pressure assembly Corresponding relation.
It should be noted that in the case where high pressure assembly includes a switch element, being stored with the presets list each The one-to-one relationship of open circuit occurs with each high pressure assembly for pre-set current value;Include at least two switch elements in high pressure assembly In the case of, the corresponding pass of open circuit occurs with each high pressure assembly at least two pre-set current values that are stored with the presets list System.
Exemplary, it is assumed that electronic equipment includes 4 high pressure assemblies, and each high pressure assembly includes a switch list Member, 4 high pressure assemblies are respectively high pressure assembly 1, high pressure assembly 2, high pressure assembly 3 and high pressure assembly 4, then each high pressure assembly exists Corresponding pre-set current value is as shown in table 1 during in short circuit or open circuit.
Table 1
Pre-set current value High pressure assembly The state of high pressure assembly
A1 High pressure assembly 1 Short circuit
A2 High pressure assembly 1 Open circuit
A3 High pressure assembly 2 Short circuit
A4 High pressure assembly 2 Open circuit
A5 High pressure assembly 3 Short circuit
A6 High pressure assembly 3 Open circuit
A7 High pressure assembly 4 Short circuit
A8 High pressure assembly 4 Open circuit
Specifically, microcontroller is when detecting the current value for the I/O port being connected with the 1st article of branch road, due to this Current value is analog signal, thus microcontroller need by this current value by analog-to-digital conversion after, be converted into the electricity of data signal Flow valuve, and lookup and the pre-set current value of the current values match of this data signal in the presets list, then default according to this Current value determines the state of corresponding high pressure assembly and high pressure assembly.
Exemplary, by taking table 1 as an example, it is assumed that the I/O port being connected with the 1st article of branch road that microcontroller is detected Current value is A3 after analog-to-digital conversion, then microcontroller searches A3 in table 1, after A3 is found, it is determined that corresponding with A3 High pressure assembly is high pressure assembly 2, then determines that with the corresponding state of high pressure assembly 2 be short circuit, so that it is short to understand that high pressure assembly 2 occurs Road.
The embodiment of the present invention provides a kind of fault detection method, and microcontroller is detecting be connected with the 1st article of branch road defeated Enter/current value of delivery outlet after, the first predetermined current with the current values match of I/O port is searched in the presets list Value, because the corresponding relation of open circuit occurs for be stored with the presets list each pre-set current value and each high pressure assembly, then micro-control Device processed, can be according to the first pre-set current value it is determined that during the first pre-set current value with the current values match of I/O port It is determined that occurring the high pressure assembly of open circuit.
The embodiment of the present invention provides a kind of fault detection method, applied in above-mentioned failure detector circuit, as shown in fig. 7, Including:
701st, microcontroller prestores the fault level of each high pressure assembly.
Specifically, because the effect of each high pressure assembly in the electronic device is different, it is possible to according to electronic equipment just Often necessary high pressure assembly during operation, fault level division is carried out by each high pressure assembly, and by ready-portioned fault level Write in microcontroller, i.e., microcontroller prestores the fault level of each high pressure assembly.
702nd, the current value for the I/O port that the microcontroller detection is connected with the 1st article of branch road.
It should be noted that in the case of not including second resistance unit in failure detector circuit, then performing step 703;In the case where failure detector circuit includes second resistance unit, then step 703 and step 704 are performed.
703rd, the microcontroller searches the default electricity with the current values match of the I/O port in the presets list Flow valuve, and determine occur breaking high pressure assembly according to the pre-set current value.
Wherein, be stored with each pre-set current value and the breaking correspondence pass of each high pressure assembly generation in described the presets list System.
Specifically, referring to step 602, the present invention will not be repeated here.
704th, the microcontroller searched in the presets list with it is the second of the current values match of the I/O port pre- If current value, and determine occur short-circuit high pressure assembly according to second pre-set current value.
Wherein, be also stored with each pre-set current value and the short-circuit correspondence of each high pressure assembly generation in described the presets list Relation.
It should be noted that in the case where high pressure assembly includes a switch element, being stored with the presets list each The one-to-one relationship of short circuit occurs with each high pressure assembly for pre-set current value;Include at least two switch elements in high pressure assembly In the case of, the corresponding pass of short circuit occurs with each high pressure assembly at least two pre-set current values that are stored with the presets list System.
Specifically, microcontroller determines the method for occurring the high pressure assembly of short circuit according to the second pre-set current value, with micro-control Device processed determines that the method for occurring the high pressure assembly of open circuit is similar according to the first pre-set current value, specifically refers to step 602, this Invention will not be repeated here.
It should be noted that in the case that microcontroller determines to occur breaking high pressure assembly, then performing step 705; In the case where microcontroller determines to occur short-circuit high pressure assembly, then step 706 is performed.
705th, the microcontroller sends break signal corresponding with occurring the high pressure assembly of open circuit.
That is, when microcontroller determines that open circuit occurs for a certain high pressure assembly according to pre-set current value, then send with This corresponding break signal of high pressure assembly.
Specifically, microcontroller is when determining the high pressure assembly for occurring open circuit, sending the mode of break signal can use Following method:
Microcontroller sends corresponding with occurring the high pressure assembly of open circuit according to the fault level of each high pressure assembly Break signal.
Microcontroller can also be when determining the high pressure assembly for occurring open circuit, by all corresponding open circuits of high pressure assembly Signal is sent simultaneously, and the present invention is without limitation.
It should be noted that microcontroller can send break signal to the malfunction indicator lamp being connected with microcontroller; It can also send into the equipment of display failure, the present invention is without limitation.
706th, the microcontroller sends short-circuit signal corresponding with occurring the high pressure assembly of short circuit.
That is, when microcontroller determines that short circuit occurs for a certain high pressure assembly according to pre-set current value, then send with This corresponding short-circuit signal of high pressure assembly.
Specifically, microcontroller is when determining the high pressure assembly for occurring short circuit, sending the mode of short-circuit signal can use Following method:
Microcontroller sends corresponding with occurring the high pressure assembly of short circuit according to the fault level of each high pressure assembly Short-circuit signal.
Microcontroller can also be when determining the high pressure assembly for occurring short circuit, by all corresponding short circuits of high pressure assembly Signal is sent simultaneously, and the present invention is without limitation.
It should be noted that microcontroller can send short-circuit signal to the malfunction indicator lamp being connected with microcontroller; It can also send into the equipment of display failure, the present invention is without limitation.
707th, microcontroller sends low level signal to high voltage connector, to cause high voltage connector to break with high voltage power supply Open.
Specifically, microcontroller is when it is determined that occur the high pressure assembly of open circuit or short circuit, then send low to high voltage connector Level signal, to cause the coil blackout of high voltage connector, so that the contact of high pressure contact disconnects with high voltage power supply, it is ensured that use The safety at family.
The embodiment of the present invention provides a kind of fault detection method, and microcontroller prestores failure of each high pressure assembly etc. Level, then after the current value for the I/O port being connected with the 1st article of branch road is detected, search and input in the presets list/ First pre-set current value of the current values match of delivery outlet, due to each pre-set current value and each height of being stored with the presets list Assembly is pressed to occur the corresponding relation of open circuit, then microcontroller with the first of the current values match of I/O port it is determined that preset During current value, the high pressure assembly for occurring open circuit can be determined according to the first pre-set current value;And include second in faulty circuit In the case of resistance unit, microcontroller searched also in the presets list with it is the second of the current values match of I/O port pre- If current value, because the correspondence that short circuit occurs for be also stored with the presets list each pre-set current value and each high pressure assembly is closed System, then microcontroller, can be pre- according to second it is determined that during the second pre-set current value with the current values match of I/O port If current value determines the high pressure assembly for occurring short circuit.And microcontroller breaks when it is determined that occurring the high pressure assembly of open circuit or short circuit Open the high voltage connector being connected with high voltage power supply so that high voltage power supply can not power to high pressure assembly, so as to ensure that user's Safety.And to malfunction indicator lamp or show that the equipment of failure sends break signal or short-circuit signal, so that obtaining user can pass through Malfunction indicator lamp shows that the equipment of failure determines the high pressure assembly for occurring open circuit or short circuit, so as to facilitate user to repair.
The embodiment of the present invention provides a kind of failure detector, including the failure detector circuit described in above-described embodiment.
A kind of failure detector that the present invention is provided, including the failure detector circuit described in above-described embodiment, its failure Detection circuit includes:N bar branch roads, every branch road includes the switch element being serially connected and first resistor unit, and high pressure assembly In at least include switch element.Wherein, the I/O port of one end of the 1st article of branch road and microcontroller is connected, the other end Ground connection;I-th branch road is in parallel with the first resistor unit in the i-th -1 branch road.So, when occurring open circuit in a certain branch road, The then equivalent resistance of failure detector circuit, when there is open circuit with another branch road, the equivalent resistance of failure detector circuit is different, and then It is also different in the electric current of the I/O port of microcontroller, it is possible to according to the electric current of the I/O port of microcontroller Difference, to determine the branch road for occurring open circuit;Again due at least including a switch element in high pressure assembly, and wrapped in each branch road Include switch element, it is possible at least one branch road one high pressure assembly of correspondence is drawn, so as to occur open circuit according to determination Branch road come determine occur open circuit high pressure assembly.
Should be noted it is that the above each resistance unit, switch element can be realized for the combination of one or more devices, i.e., Any of the above-described resistance unit can include at least one resistance, when including at least two resistance in any of the above-described resistance unit, Resistance in the resistance unit can be in parallel or series connection, and the resistance size can be it is fixed, It can be change;Above-mentioned switch element can include at least one electric capacity, when electric comprising at least two in above-mentioned switch element Electric capacity in Rong Shi, the switch element can be in parallel or series connection, and the size of the electric capacity can be solid It is fixed or change.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God is with principle, and any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (10)

1. a kind of failure detector circuit, it is characterised in that the failure detector circuit includes:N bar branch roads;The N be more than etc. In 2 integer;The branch road includes:The switch element being serially connected and first resistor unit;The end cap of high pressure assembly is provided with At least one described switch element, when the end cap of the high pressure assembly is in closure state, is arranged at the high pressure assembly end The switch element closure covered, when the end cap of the high pressure assembly is opened, is arranged at the end cap of the high pressure assembly On the switch element disconnect, wherein,
The two ends of 1st article of branch road connect the I/O port of microcontroller, earth terminal respectively;I-th branch road and the i-th -1 branch The first resistor unit in road is in parallel;The i is the integer more than or equal to 2 less than or equal to N.
2. failure detector circuit according to claim 1, it is characterised in that the branch road also includes:Second resistance unit;
The first resistor unit is series at the two ends of the switch element with the second resistance unit respectively.
3. failure detector circuit according to claim 1, it is characterised in that the failure detector circuit also includes:3rd Resistance unit;
The 3rd resistor unit and the 1st article of branch circuit parallel connection, and the two ends of the 3rd resistor unit connect described respectively I/O port, the earth terminal of microcontroller.
4. failure detector circuit according to claim 1, it is characterised in that the failure detector circuit also includes:High pressure Contactor;
The high voltage connector is connected with the microcontroller and high voltage power supply respectively;
The high voltage connector, the break-make for controlling high voltage power supply;
The high voltage power supply, for being powered to the high pressure assembly.
5. the failure detector circuit according to claim any one of 1-4, it is characterised in that the failure detector circuit is also wrapped Include:At least two malfunction indicator lamp;Each malfunction indicator lamp corresponds to a high pressure assembly;
The microcontroller is connected with least two malfunction indicator lamp.
6. a kind of fault detection method, it is characterised in that applied to the failure detector circuit described in claim any one of 1-5, Including:
The current value for the I/O port that microcontroller detection is connected with the 1st article of branch road;
The microcontroller searches the first predetermined current with the current values match of the I/O port in the presets list Value, and determine occur breaking high pressure assembly according to first pre-set current value;Wherein, it is stored with described the presets list every The corresponding relation of open circuit occurs for individual pre-set current value and each high pressure assembly.
7. fault detection method according to claim 6, it is characterised in that also include second in the failure detector circuit In the case of resistance unit, in addition to:
The microcontroller searches the second predetermined current with the current values match of the I/O port in the presets list Value, and determine occur short-circuit high pressure assembly according to second pre-set current value;Wherein, also it is stored with described the presets list The corresponding relation of short circuit occurs for each second pre-set current value and each high pressure assembly.
8. fault detection method according to claim 7, it is characterised in that described according to first pre-set current value It is determined that after occurring breaking high pressure assembly, in addition to:
The microcontroller sends break signal corresponding with occurring the high pressure assembly of open circuit;
After the high pressure assembly for being determined to occur short circuit according to second pre-set current value, in addition to:
The microcontroller sends short-circuit signal corresponding with occurring the high pressure assembly of short circuit.
9. fault detection method according to claim 8, it is characterised in that in microcontroller detection and the 1st article of branch Before the current value of the I/O port of road connection, in addition to:
The microcontroller prestores the fault level of each high pressure assembly;
The microcontroller, which sends break signal corresponding with occurring the high pressure assembly of open circuit, to be included:
The microcontroller sends corresponding with occurring the high pressure assembly of open circuit according to the fault level of each high pressure assembly Break signal;
The microcontroller, which sends short-circuit signal corresponding with occurring the high pressure assembly of short circuit, to be included:
The microcontroller sends corresponding with occurring the high pressure assembly of short circuit according to the fault level of each high pressure assembly Short-circuit signal.
10. a kind of failure detector, it is characterised in that including the failure detector circuit described in claim any one of 1-5.
CN201410432393.3A 2014-08-28 2014-08-28 A kind of failure detector circuit, method and device Active CN104181438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410432393.3A CN104181438B (en) 2014-08-28 2014-08-28 A kind of failure detector circuit, method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410432393.3A CN104181438B (en) 2014-08-28 2014-08-28 A kind of failure detector circuit, method and device

Publications (2)

Publication Number Publication Date
CN104181438A CN104181438A (en) 2014-12-03
CN104181438B true CN104181438B (en) 2017-07-28

Family

ID=51962650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410432393.3A Active CN104181438B (en) 2014-08-28 2014-08-28 A kind of failure detector circuit, method and device

Country Status (1)

Country Link
CN (1) CN104181438B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106882052B (en) * 2017-04-13 2023-11-14 江苏苏缆电缆有限公司 High-voltage interlocking loop and high-voltage interlocking loop detector
CN106950460A (en) * 2017-05-05 2017-07-14 深圳市瀚路新能源汽车有限公司 Fault detection method, device and high voltage distribution box
CN107450004A (en) * 2017-07-31 2017-12-08 珠海格力电器股份有限公司 Fault detection method and circuit
CN108058599A (en) * 2017-12-14 2018-05-22 重庆长安汽车股份有限公司 A kind of automobile and its high-voltage interlocking detection circuit
CN108508306A (en) * 2018-05-18 2018-09-07 河南森源电气股份有限公司 A kind of low-voltage cabinet Collection and detection device
CN111983391B (en) * 2019-05-21 2023-06-20 上海汽车集团股份有限公司 Fault positioning method and system
CN111999592B (en) * 2020-07-13 2021-10-29 东风汽车集团有限公司 Circuit and device for detecting position of disconnection point of high-voltage interlocking circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2353003Y (en) * 1998-08-17 1999-12-08 黄继祥 Alarming control device
CN201897627U (en) * 2010-11-16 2011-07-13 株洲科瑞变流电气有限公司 Fast-acting fuse detector
CN102798817B (en) * 2011-05-26 2015-08-26 比亚迪股份有限公司 A kind of relay fault detecting circuit and fault detection method thereof
CN103399571B (en) * 2013-07-31 2015-09-23 东方电气集团东风电机有限公司 For pick-up unit and the method for electric vehicle motor controller high tension loop

Also Published As

Publication number Publication date
CN104181438A (en) 2014-12-03

Similar Documents

Publication Publication Date Title
CN104181438B (en) A kind of failure detector circuit, method and device
CN102608445B (en) The test of transient voltage protection device
CN107539131B (en) Charging device
CN104641244B (en) For detecting and measuring the device of insulation fault
CN105403784A (en) High voltage interlocking detection system for new energy automobile
CN208872819U (en) A kind of high-voltage interlocking fault detection means
US20130278273A1 (en) Method and device for detecting short circuit
CN106911160A (en) The condition checkout gear and its method of DC charging relay, DC charging system
CN105372549B (en) High-voltage load short circuit detecting system and method
CN106842005B (en) Relay fault judgment method for high-voltage system of electric automobile
CN104483533B (en) A kind of current detecting warning device and method
KR101567261B1 (en) Device for diagnosis interlock circuit
CN106030951A (en) Battery system and method for operating such a battery system
CN104924910B (en) High-tension distribution panel circuit
CN106655145A (en) Battery bus voltage reverse connection protection circuit
CN105034841A (en) Strong electricity charging and discharging control method of hybrid electric vehicle and apparatus thereof
CN108270283A (en) Prepared auto restart control system
CN106299180B (en) The combination of electric tool and battery pack
CN208156122U (en) A kind of novel high-pressure interlock detection circuit
CN106300229B (en) It is a kind of for protecting the device and method of high-tension battery electricity system
CN204832407U (en) A high -voltage circuit detection device for electric motor car
CN204424865U (en) Power distribution equipment
CN206865159U (en) Condition checkout gear, the DC charging system of DC charging relay
CN105864007A (en) Protection device for compressor control circuit and control method thereof
CN108490359A (en) A kind of equipment, dynamical system and the automobile of detection power battery pack insulating properties

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant