Specific embodiment
Embodiments in accordance with the present invention, control module uses SBC(System base chip)For MCU powers, while realizing phase
The CAN/LIN communication functions answered, the enable signal of circuit is controlled as limp-home using " walk lamely and enable signal " of SBC, is made
Limp-home control is realized with hardware circuit.In vehicle travel process, if main control MCU breaks down, limp-home control
Circuit is to start working, and cuts off corresponding MCU outputs;Input signal directly controls circuit controlled output through limp-home, realizes
Limp-home control function.After main control MCU recovers normal, " walk lamely and enable signal " disappears, and limp-home control circuit stops
Work, MCU recovers control.
Referring now to Fig. 1, it is that embodiments in accordance with the present invention use limp-home to control the control module system diagram of circuit.
As illustrated, after the input signal from automobile related function module enters control module, a point two-way connects input circuit respectively
Circuit is controlled with limp-home.Input signal has useful signal high and low useful signal.Input signal turns through input circuit level
It is input into microcontroller after changing to be controlled, the output control signal of MCU is through resistance R21(R31)、R22(R32)After be connected to
Driving chip, output control is carried out by driving chip.SBC(System base chip)For MCU provides power supply VCC, and export reset
Signal and output are walked lamely and enable signal, and enable of walking lamely signal is connected to limp-home control circuit.Occur in system overheat, MCU
When situations such as failure or VCC power failures occurs, SBC outputs are walked lamely and enable signal, and signal can be open-drain pole or opener electricity
Pole exports, low effectively.Meanwhile, SBC outputs reset signal makes MCU reset.Walk lamely and enable signal input to limp-home control electricity
Road, the enable signal of circuit is controlled as limp-home.When automobile starting power supply signal IGN1 is effective, i.e., vehicle is in traveling shape
During state, limp-home control circuit output cut-off signals, signal can be exported for open collector, low effectively.The cut-off signals can be with
It is divided into multichannel cut-off signals after diode, as illustrated, cut-off signals are divided into two-way after D31, D32, MCU is connected on respectively
After resistance R21, R31 of the connection of two-way output control signal, driving chip input is connected to through R22, R32 respectively, MCU is defeated
Go out to the signal of driving chip and force to drag down shut-off, due to have passed through resistance R21, R31, so will not cause to damage to MCU pin
It is bad.Meanwhile, limp-home output signal is controlled according to input signal, signal is connected directly to driving chip input, and control is driven
Dynamic chip is accordingly exported.
Referring now to Fig. 2, it is that limp-home controls circuit inside schematic diagram according to an embodiment of the invention.Fig. 2 includes
(a)With(b)Two parts, wherein, Fig. 2(a)The limp-home 5V power generation circuits in limp-home control circuit are shown,
Fig. 2(b)Show the limp-home output signal generating circuit in limp-home control circuit.
Such as Fig. 2(a)It is shown, after IGN1 input limp-home control circuits, TVS pipe D2 negative electrodes are connected to through diode D1,
D2 plus earths, while being connected to the emitter stage of PNP triode Q2 and the colelctor electrode of NPN triode Q1.Walking lamely, it is defeated to enable signal
After entering limp-home control circuit, Q2 base stages are connected to through resistance R2, R1 is connected to D1 negative electrodes, Q2 as Q2 base biasing resistors
Colelctor electrode is connected to 5.6V voltage-stabiliser tube DZ3 negative electrodes together after resistance R5 with Q1 base stages, and DZ3 plus earths are finally launched through Q1
Pole exports, so as to constitute a 5V power supply for being enabled signal control by walking lamely.D1 plays anti-reaction, and D2 can suppress on IGN1
Transient voltage high, protection Q2 and Q1 will not be breakdown, and DZ3 provides reference voltage for circuit, and R4 can ensure the steady of output voltage
Fixed, C1 is decoupled and filtered to output voltage.
IGN1 and walking lamely enable signal it is effective when, i.e. in transport condition and when breaking down, Q2 obtains base stage to vehicle
Saturation conduction after electric current, IGN1 voltages provide base current, Q1 saturation conductions through R5 to Q1.Because DZ3 is 5.6V voltage-stabiliser tubes,
After reverse breakdown, meeting is 5.6V or so in 5.6V or so, i.e. Q1 base voltages voltage stabilization, through Q1 base stages and the PN of emitter stage
After knot, Q1 emitter stages are the 5V voltages of exportable stabilization, as limp-home 5V power supplys;Q3 saturations are controlled after R3 and R6 partial pressures
Conducting, exports cut-off signals, and signal is exported for open collector.
When IGN1 is invalid, i.e. vehicle is in non-driving state, even if walk lamely enabling signal effectively, because Q2 cannot be obtained
Emitter voltage and end, Q1 is also completely switched off, and limp-home 5V power supplys are not exported, through R4 be grounded, show as low level.Together
Reason, in IGN1 and invalid enable signal of walking lamely, limp-home 5V power supplys are not also exported.
Such as Fig. 2(b)It is shown, after effectively input signal input limp-home control circuit high, through resistance R11 and resistance R12
After partial pressure, NPN triode Q6 base stages are connected to, Q6 grounded emitters, Q6 colelctor electrodes are connected to PNP triode Q4 after resistance R9
Base stage, R7 is connected to the emitter stage of Q4 as the base biasing resistor of Q4, while being connected to limp-home 5V power supplys, Q4 colelctor electrodes
Output limp-home output 2.After low effective input signal input limp-home control circuit, after diode D4 and resistance R10
PNP triode Q5 base stages are connected to, R8 is connected to the emitter stage of Q5 as the base biasing resistor of Q5, while be connected to walking lamely back
Family's 5V power supplys, Q5 colelctor electrodes output limp-home output 1.D4 can play anti-reaction herein, only in low effective input
Signal is effective when being low level.
When limp-home 5V power supplys are effective, if effectively, Q6 saturation conductions pull down to R9 to effectively input signal high
Ground, so as to Q4 base stages be dragged down, Q4 base stages acquisition conducting electric current, Q4 saturation conductions, close to 0, colelctor electrode is connect tube voltage drop
It is bordering on the limp-home output 2 of 5V.If effectively input signal high is invalid, Q6 because cannot obtain base current and by so that
Q4 is high impedance status by, limp-home output 2 because that cannot obtain base current, does not have any shadow to MCU output circuits
Ring.If low effective input signal is effectively, Q5 saturation conductions, tube voltage drop close to 0, return by the limping that colelctor electrode is obtained close to 5V
Family's output 1.Similarly, if low effective input signal is invalid, Q5 is by limp-home output 1 is high impedance status.
When limp-home 5V power supplys are invalid, even if effectively input signal high is effectively, because Q6 cannot obtain colelctor electrode electricity
Press and end, Q4 is also completely switched off, limp-home control circuit shows as high impedance to effective input signal high, does not influence normal
In the case of control module functional realiey.Similarly, even if low useful signal effectively, cuts because Q5 cannot obtain emitter voltage
Only, limp-home control circuit shows as high impedance to low effective input signal, and the work(of control module under normal circumstances is not influenceed
Can realize.
Control module and limp-home control the original of circuit according to an embodiment of the invention above by reference to Description of Drawings
Reason, it is noted that above description and diagram are only the exemplary illustration to technical scheme, rather than to this hair
Bright limitation.For example, type, specification of various elements in above description and diagram etc. is merely illustrative, rather than to the present invention
Limitation.In other embodiments of the invention, the control module and limp-home control circuit can have more, Geng Shaohe
Annexation between different modules and element, and each module and element can be with described and diagram difference.
As described above and diagram, it will be understood to those skilled in the art that embodiments in accordance with the present invention, there is provided
A kind of automobile limp-home controls circuit, and its input and output is in parallel with the input and output of microcontroller, receives automobile starting electricity
Source signal IGN1 and the input signal from automobile related function module and reception come from the limping of system base chip SBC
Signal is enabled, and at least one limp-home output signal is exported to driving chip, the SBC is connected with MCU, and in MCU hairs
Described limping is exported during raw failure and enables signal, it is characterised in that automobile limp-home control circuit also receives automobile starting
Power supply signal IGN1 and the input signal from automobile related function module, and only enable signal, IGN1 and defeated when walking lamely
Enter signal it is effective when, just export the limp-home output signal.
Embodiments in accordance with the present invention, the input signal from automobile related function module includes effectively input letter high
Number and low effective input signal in any one or more.
Embodiments in accordance with the present invention, when enabling signal and IGN1 effective when walking lamely, limp-home control circuit is also
Output cut-off signals, the cut-off signals turn off MCU to the output of driving chip.
Embodiments in accordance with the present invention, the cut-off signals are connected after diode and resistance with the output of MCU.
Embodiments in accordance with the present invention, limp-home control circuit includes limp-home 5V power generation circuits and limping
Go home output signal generating circuit, the 5V power generation circuits receive described limping and enable signal and IGN1, and produce stabilization
5V power supplys, the limp-home output signal generating circuit is powered using the 5V power supplys and receives described from vapour
The input signal of car related function module, and produce the limp-home output signal.
Embodiments in accordance with the present invention, the limp-home 5V power generation circuits include triode Q1, triode Q2, steady
Pressure pipe DZ3, wherein, IGN1 directly or indirectly input to Q1 colelctor electrode and the emitter stage of Q2, walk lamely enable signal directly or
The base stage of input to Q2 is connect, the colelctor electrode of Q2 is directly or indirectly connected to the negative electrode of DZ3, the anode of DZ3 together with the base stage of Q1
Ground connection, the emitter stage of Q1 exports the limp-home 5V power supplys.
Embodiments in accordance with the present invention, the limp-home 5V power generation circuits also include triode Q3, resistance R3, electricity
Resistance R6, wherein, one end of R3 is connected with the emitter stage of Q1, and the other end of R3 is connected together with one end of R6 with the base stage of Q3, R6
The other end ground connection, the grounded emitter of Q3, Q3 colelctor electrode output cut-off signals, the cut-off signals shut-off MCU to driving core
The output of piece.
Embodiments in accordance with the present invention, the limp-home 5V power generation circuits are also including any in the following
Individual or multiple:Diode D1, its anode connection IGN1, the colelctor electrode of its negative electrode connection Q1 and the emitter stage of Q2;TVS pipe D2, its
Negative electrode is connected with the negative electrode of D1, its plus earth;Resistance R1, its one end is connected with the emitter stage of Q2, the base of its other end and Q2
Extremely it is connected;Resistance R2, its one end is received to walk lamely and enables signal, and the other end is connected with the base stage of Q2;Resistance R5, its one end is with Q2's
Colelctor electrode is connected, and the other end is connected with the base stage of Q1 and the negative electrode of DZ3, DZ3 plus earths;The hair of resistance R4, its one end and Q1
Emitter-base bandgap grading is connected, other end ground connection;Electric capacity C1, its one end is connected with the emitter stage of Q1, other end ground connection.
Embodiments in accordance with the present invention, the limp-home output signal generating circuit includes effectively input signal high treatment
One or more in circuit and low effective input signal processing circuit.
Embodiments in accordance with the present invention, the effectively input signal processing circuit high includes triode Q4 and triode Q6,
Wherein, the base stage of Q6 directly or indirectly receives effectively input signal high, and the grounded emitter of Q6, the colelctor electrode of Q6 is direct or indirect
It is connected with the base stage of Q4, the emitter stage of Q4 connects the limp-home 5V power supplys, and the colelctor electrode output limp-home of Q4 is defeated
Go out signal.
Embodiments in accordance with the present invention, the effectively input signal processing circuit high is also including any in the following
Individual or multiple:Resistance R11, its one end receives the effectively input signal high, and the other end is connected with the base stage of Q6;Resistance R12, its
One end is connected with the base stage of Q6, other end ground connection;Resistance R9, its one end is connected with the colelctor electrode of Q6, the base stage of the other end and Q4
It is connected;Resistance R7, its one end is connected with the emitter stage of Q4, and the other end is connected with the base stage of Q4.
Embodiments in accordance with the present invention, low effective input signal processing circuit includes triode Q5, wherein, the hair of Q5
Emitter-base bandgap grading connects the limp-home 5V power supplys, and the base stage of Q5 directly or indirectly receives low effective input signal, and the colelctor electrode of Q5 is defeated
Go out the limp-home output signal.
Embodiments in accordance with the present invention, low effective input signal processing circuit is also including any in the following
Individual or multiple:Diode D4, its negative electrode receives low effective input signal, and anode is directly or indirectly connected to the base stage of Q5;Resistance
R10, its one end directly or indirectly receives low effective input signal, and the other end is connected with the base stage of Q5;Resistance R8, its one end and Q5
Base stage be connected, the other end is connected with the emitter stage of Q5.
Limp-home control circuit can be used for any control module according to an embodiment of the invention.
As understood by the skilled person in the art, in another aspect of the present invention, a kind of automobile control is additionally provided
Module, it includes:Microcontroller, it receives input signal and automobile starting the power supply letter from automobile related function module
Number IGN1, and to driving chip output drive signal;System base chip SBC, it is connected with MCU, and when MCU breaks down
Walked lamely to limp-home control circuit output and enable signal;Limp-home control circuit according to any of the above described one embodiment,
It receives input signal and automobile starting power supply signal IGN1 from automobile related function module, and described limping enables letter
Number, and export limp-home output signal to driving chip.
As understood by the skilled person in the art, in an additional aspect of the present invention, additionally provide a kind of automobile and walk lamely
Go home control method.Automobile limp-home control method according to an embodiment of the invention is described referring now to Fig. 3.As illustrated,
The method comprises the following steps:
In step 301, the input signal from automobile related function module is received;
In step 302, receive the limping from system base chip SBC and enable signal, the SBC is connected with MCU, and
Described limping is exported when MCU breaks down and enables signal;
In step 303, automobile starting power supply signal IGN1 is received;
In step 304, when enabling signal, IGN1 and effective input signal when walking lamely, at least one is exported to driving chip
Individual limp-home output signal.
Embodiments in accordance with the present invention, the method also includes following optional step:
In step 305, when enabling signal and IGN1 effective when walking lamely, cut-off signals are also exported, cut-off signals shut-off
Outputs of the MCU to driving chip.
Embodiments in accordance with the present invention, the cut-off signals are connected after diode and resistance with the output of MCU.
Embodiments in accordance with the present invention, it is described when limping enables signal, IGN1 and effective input signal, to driving core
The step of piece exports at least one limp-home output signal 304 includes:Signal and IGN1 are enabled in response to receiving described limping,
Produce the limp-home 5V power supplys and cut-off signals of stabilization;And in response to being powered using the 5V power supplys;And receive described
Input signal from related function module, produces the limp-home output signal.
Embodiments in accordance with the present invention, the method is realized by hardware circuit.
The various embodiments of the present invention above by reference to Description of Drawings, as understood by the skilled person in the art, more than retouch
State and illustrate it is merely illustrative, rather than limitation of the present invention.Feature in various embodiments above can be combined,
So as to form new embodiment.Various modification and variation can be carried out to each embodiment.All such modifications and variations still in
Within the spirit and scope of the present invention.
The scope of the present invention is only indicated in the appended claims.