Summary of the invention
For this reason, technical matters to be solved by this invention is in prior art, and entire car controller also can be powered by circuit to the periphery in dormant state, and quiescent dissipation is large, thus provides a kind of electric power management circuit, the method and system that can reduce quiescent dissipation.
For solving the problems of the technologies described above, technical scheme of the present invention is as follows:
The invention provides a kind of electric power management circuit, comprise power-switching circuit, microcontroller and CAN transceiver;
Described microcontroller is used for controlling described CAN transceiver when vehicle is in parking or charge condition and enters park mode, and then makes self and described power-switching circuit all enter park mode;
Described CAN transceiver is used for detecting whether have wake-up signal, and enters awakening mode when wake-up signal having been detected by park mode, and then makes described microcontroller and described power-switching circuit all enter awakening mode;
Described power-switching circuit, it comprises the first mouth and the second mouth, and described first mouth is used for powering to described microcontroller, described CAN transceiver and peripheral circuit; Described second mouth exports normal electricity, and itself and described CAN transceiver couple, for described CAN transceiver provides wake-up voltage;
When described power-switching circuit, described microcontroller, described CAN transceiver are all in park mode, described first mouth output low level, otherwise described first mouth exports high level.
Electric power management circuit of the present invention, when described microcontroller, described CAN transceiver are all in park mode, but when described power-switching circuit and described peripheral circuit are not in park mode, described first mouth exports high level.
Electric power management circuit of the present invention, also comprises:
First acquisition module, couples with the positive pole of storage battery, for gathering the voltage signal of storage battery;
Second acquisition module, couples with the voltage output end of ignition lock, for gathering the voltage signal of ignition lock.
Electric power management circuit of the present invention, described power-switching circuit comprises normal electric Enable Pin, the first Enable Pin, the second Enable Pin and the 3rd Enable Pin; The mouth of described normal electric Enable Pin and described first acquisition module couples, the mouth of described first Enable Pin and described second acquisition module couples, first control port of described second Enable Pin and described microcontroller couples, and the voltage regulator port of described 3rd Enable Pin and described CAN transceiver couples;
When the voltage signal of storage battery is high level, the second mouth that described normal electric Enable Pin controls described power-switching circuit exports high level; When the voltage signal of ignition lock is high level, described first Enable Pin is high level, otherwise is low level; When the first control port of described microcontroller exports high level, described second Enable Pin is high level, otherwise is low level; When the voltage regulator port of described CAN transceiver exports high level, described 3rd Enable Pin is high level, otherwise is low level;
When described first Enable Pin, described second Enable Pin and described 3rd Enable Pin are low level, described first mouth output low level, otherwise described first mouth exports high level.
Electric power management circuit of the present invention, described power-switching circuit comprises power conversion chip U1, and it comprises 20 pins, resistance R5, R6, R7, R8, R9, electric capacity C4, C6, C7, electric capacity of voltage regulation C5;
As described first mouth after the pin 9 of described power conversion chip U1 is connected with pin 4, the pin 17 of described power conversion chip U1 is described second mouth, one end of described resistance R7 is connected with described first mouth, the other end is connected with the pin 6 of described power conversion chip U1, one end of described resistance R8 is connected with described first mouth, the other end of described resistance R8 is connected with one end of described resistance R9 with the pin 12 of described power conversion chip U1 simultaneously, the other end ground connection of described R9, one end of described electric capacity C6 is connected with the pin 19 of described power conversion chip U1, the other end of described electric capacity C6 is connected with pin 12 with the pin 11 of described power conversion chip U1 ground connection afterwards simultaneously, one end of described electric capacity C7 is connected with described second mouth, the other end ground connection of described electric capacity C7, one end of described electric capacity of voltage regulation C5 is connected with described first mouth, other end ground connection, one end of described electric capacity C4 is connected with the pin 7 of described power conversion chip U1, the other end of described electric capacity C4 and the pin 10 of described power conversion chip U1, ground connection after pin 1 is connected, one end of described resistance R5 is connected with the pin 8 of described power conversion chip U1, the other end of described resistance R5 is connected with one end of described resistance R6, the other end ground connection of described resistance R6,
Described microcontroller comprises chip U2, and it comprises 144 pins, resistance R10, R11, R12;
The pin 6 of described chip U2 is connected with described first mouth, one end of described resistance R12 is connected with the pin 52 of described chip U2, ground connection after the other end of described resistance R12 is connected with the pin 7 of described chip U2, described resistance R10 is connected with the pin 66 of described chip U2, described resistance R11 is connected with the pin 67 of described chip U2, and the pin 50 of described chip U2 is connected with the common port of described resistance R6 with described resistance R5;
Described CAN transceiver comprises chip U3, and it comprises 14 pins, resistance R14 and electric capacity C8;
Pin 3 and described first mouth of described chip U3 couple, pin 5 and described second mouth of described chip U3 couple, the pin 7 of described chip U3 is accessed after one end of described resistance R14 is connected with one end of described electric capacity C8, ground connection after the other end of described resistance R14 is connected with the other end of described electric capacity C8, pin 12 and the pin 13 of described chip U3 meet CAN CANL and CANH respectively;
The pin 66 of described chip U2 is coupled by the pin 1 of resistance R10 and described chip U3, the pin 67 of described chip U2 is coupled by the pin 4 of resistance R11 and described chip U3, and the pin 51 of described chip U2 and pin 52 couple with the pin 6 of described chip U3 and pin 14 respectively;
The model of described power management chip U1 is TLE4471G, and the model of described chip U2 is MPC5634M, and the model of described chip U3 is TJA1043T.
Electric power management circuit of the present invention, described first acquisition module comprises diode D1, zener diode D3, electric capacity C1, electric capacity of voltage regulation C2, resistance R1, R2;
The described anode of diode D1 is often electrically connected with the positive pole of storage battery, the negative electrode of described diode D1 simultaneously with the negative electrode of described zener diode D3, one end of described electric capacity C1, the positive pole of described electric capacity of voltage regulation C2, the pin 3 of described power conversion chip U1 is accessed after one end of described resistance R1 is connected, one end of described resistance R2 is connected with the other end of described resistance R1 and the pin 14 of described power conversion chip U1 simultaneously, the pin 14 of described power conversion chip U1 is the normal electric Enable Pin of described power-switching circuit, common port after one end of described resistance R2 is connected with the other end of described resistance R1 is the mouth of described first acquisition module, the other end of described resistance R2 simultaneously with the negative pole of described electric capacity of voltage regulation C2, ground connection after the other end of described electric capacity C1 and the anode of described zener diode D3 are connected, one end of described electric capacity C1 is connected with the pin 10 of described chip U3,
Described second acquisition module comprises diode D2, zener diode D4, electric capacity C3, resistance R3, R4;
The described anode of diode D2 and the voltage output end of ignition lock couple, the negative electrode of described diode D2 simultaneously with the negative electrode of described zener diode D4, one end of described resistance R4 and one end of described resistance R3 are connected, the pin 2 of described power conversion chip U1 is accessed after the other end of described resistance R3 is connected with one end of described electric capacity C3, the pin 2 of described power conversion chip U1 is the first Enable Pin of described power-switching circuit, common port after the other end of described resistance R3 is connected with one end of described electric capacity C3 is the mouth of described second acquisition module, the other end of described electric capacity C3, ground connection after the other end of described resistance R4 and the anode of described zener diode D4 are connected, one end of described resistance R4 is connected with the pin 9 of described chip U3 after resistance R13,
The pin 16 of described power conversion chip U1 is the 3rd Enable Pin of described power-switching circuit, and the pin 7 of described chip U3 is the voltage regulator port of described CAN transceiver; The pin 50 of described chip U2 is the first control port of described microcontroller, and the pin 8 of described power conversion chip U1 is its second Enable Pin, is connected with the pin 50 of described chip U2 by described resistance R5;
First Enable Pin of described power-switching circuit, the second Enable Pin and the 3rd Enable Pin is or relation, when thrin is high, the pin 9 of described power conversion chip U1 and pin 4 export as high level.
Present invention also offers a kind of method for managing power supply, comprise the steps:
Control CAN transceiver when vehicle is in parking or charge condition and enter park mode, and then make power-switching circuit and microcontroller all enter park mode, make the power supply voltage of CAN transceiver, power-switching circuit, microcontroller and peripheral circuit be low level afterwards, but the wake-up voltage of CAN transceiver keep high level;
Detect and whether have wake-up signal, and make CAN transceiver enter awakening mode by park mode when wake-up signal having been detected, and then make microcontroller and power-switching circuit all enter awakening mode, now the power supply voltage of CAN transceiver, power-switching circuit, microcontroller and peripheral circuit is high level.
Method for managing power supply of the present invention, also comprises the steps:
When microcontroller, CAN transceiver are all in park mode, but when power-switching circuit and peripheral circuit are not in park mode, the power supply voltage of CAN transceiver, power-switching circuit, microcontroller and peripheral circuit is made to be high level.
Present invention also offers a kind of power-supply management system, comprising:
Sleep management module, control CAN transceiver during for being in parking or charge condition when vehicle and enter park mode, and then make power-switching circuit and microcontroller all enter park mode, make the power supply voltage of CAN transceiver, power-switching circuit, microcontroller and peripheral circuit be low level afterwards, but the wake-up voltage of CAN transceiver keep high level;
Wakeup management module, for detecting whether have wake-up signal, and make CAN transceiver enter awakening mode by park mode when wake-up signal having been detected, and then make microcontroller and power-switching circuit all enter awakening mode, now the power supply voltage of CAN transceiver, power-switching circuit, microcontroller and peripheral circuit is high level.
Power-supply management system of the present invention, also comprises:
Control system, for being all in park mode when microcontroller, CAN transceiver, but when power-switching circuit and peripheral circuit are not in park mode, make the power supply voltage of CAN transceiver, power-switching circuit, microcontroller and peripheral circuit be high level.
Technique scheme of the present invention has the following advantages compared to existing technology:
(1) electric power management circuit of the present invention, comprise the first mouth and the second mouth, and described second mouth exports normal electricity, first mouth is used for microcontroller, CAN transceiver and peripheral circuit are powered, second mouth provides wake-up voltage for CAN transceiver, work as power-switching circuit, microcontroller, CAN transceiver is all in park mode, when namely entire car controller does not need to power yet, first mouth will output low level, now peripheral circuit is not because having power supply voltage, also just without extra loss, thus reduce quiescent dissipation, simultaneously the second mouth exports normal electric energy and enough guarantees that CAN transceiver wakes microcontroller up when needs, entire car controller is made to recover normal mode of operation.When peripheral circuit is not in park mode, it is that peripheral circuit is powered that the first mouth also can export high level according to actual conditions, and now microcontroller and CAN transceiver are still in park mode, and energy consumption is still very low.In sum, electric power management circuit of the present invention, can carry out the power management of entire car controller, control quiescent dissipation at minimum level according to actual conditions.
(2) present invention also offers a kind of method for managing power supply and system, the mode of operation of entire car controller can be controlled according to actual conditions, reduce the quiescent dissipation of entire car controller, and waking entire car controller when needs up by ignition lock or programming control, wake-up mode is versatile and flexible.
Detailed description of the invention
Embodiment 1
Present embodiments provide a kind of electric power management circuit, as shown in Figure 2, comprise power-switching circuit 1, microcontroller 2 and CAN transceiver 3.
Control described CAN transceiver 3 described microcontroller 2 is for being in parking or charge condition during at vehicle and enter park mode, and then make self and described power-switching circuit 1 all enter park mode.
Described CAN transceiver 3 for detecting whether have wake-up signal, and enters awakening mode when wake-up signal having been detected by park mode, and then makes described microcontroller 2 and described power-switching circuit 3 all enter awakening mode.
Described power-switching circuit 1, it comprises the first mouth and the second mouth, and described first mouth is used for powering to described microcontroller 2, described CAN transceiver 3 and peripheral circuit 4; Described second mouth exports normal electricity, and itself and described CAN transceiver 3 couple, for described CAN transceiver 3 provides wake-up voltage.
When described power-switching circuit 1, described microcontroller 2, described CAN transceiver 3 are all in park mode, described first mouth output low level, otherwise described first mouth exports high level.
As the preferred mode of one, when described microcontroller 2, described CAN transceiver 3 are all in park mode, but when described power-switching circuit 1 and described peripheral circuit 4 are not in park mode, described first mouth exports high level.
Electric power management circuit described in the present embodiment, comprise two mouths, and the second mouth wherein exports normal electricity, so-called normal electricity, refer to from B+ and pick out the positive supply not controlled by any switch, relay etc. come, namely as long as also storage battery has electricity and insurance is not burnt, just having voltage to export, is the circuit being communicated with not power-off with B+ maintenance.Therefore, electric power management circuit described in the present embodiment, when power-switching circuit, microcontroller, CAN transceiver are all in park mode, when namely entire car controller does not need to power yet, first mouth will output low level to reduce quiescent dissipation, second mouth is normal electricity simultaneously, at any time CAN transceiver wake-up voltage can be given, can guarantee CAN transceiver can detect whether have wake-up signal constantly, and awakening mode is entered after receiving wake-up signal, and wake microcontroller up further, thus entire car controller is made to recover normal work.When peripheral circuit is not in park mode, it is that peripheral circuit is powered that the first mouth also can export high level according to actual conditions, and now microcontroller and CAN transceiver are still in park mode, and energy consumption is still very low.In sum, the electric power management circuit described in the present embodiment, can carry out the power management of entire car controller, control quiescent dissipation at minimum level according to actual conditions.
As the optional mode of one, the electric power management circuit described in the present embodiment, also comprises:
First acquisition module 5, couples with the positive pole of storage battery, for gathering the voltage signal of storage battery.
Second acquisition module 6, couples with the voltage output end of ignition lock, for gathering the voltage signal of ignition lock.
As the optional embodiment of one, described power-switching circuit 1 comprises normal electric Enable Pin, the first Enable Pin, the second Enable Pin and the 3rd Enable Pin; The mouth of described normal electric Enable Pin and described first acquisition module 5 couples, the mouth of described first Enable Pin and described second acquisition module 6 couples, first control port of described second Enable Pin and described microcontroller 2 couples, and the voltage regulator port of described 3rd Enable Pin and described CAN transceiver 3 couples.
When the voltage signal of storage battery is high level, the second mouth that described normal electric Enable Pin controls described power-switching circuit 1 exports high level; When the voltage signal of ignition lock is high level, described first Enable Pin is high level, otherwise is low level; When the first control port of described microcontroller 2 exports high level, described second Enable Pin is high level, otherwise is low level; When the voltage regulator port of described CAN transceiver 3 exports high level, described 3rd Enable Pin is high level, otherwise is low level.
When described first Enable Pin, described second Enable Pin and described 3rd Enable Pin are low level, described first mouth output low level, otherwise described first mouth exports high level.
In embody rule, when described CAN transceiver 3 is in park mode, its voltage regulator port output low level, when described CAN transceiver 3 is in awakening mode, its voltage regulator port exports high level.
When being in the situations such as parking or charging when vehicle, the voltage signal of ignition lock is low level, and now described first Enable Pin is also low level; Microcontroller 2 can control CAN transceiver 3 when ignition lock voltage signal is low and enter park mode, now the first control port also output low level of described microcontroller 2, and making described second Enable Pin is also low level.And under park mode, the voltage regulator port output low level of described CAN transceiver 3, now, described 3rd Enable Pin is also low level.Now, first Enable Pin of described power-switching circuit 1, the second Enable Pin and the 3rd Enable Pin are low level, the first mouth output low level, and whole entire car controller enters park mode, peripheral circuit also no longer includes and for the power supply consumed, thus can reduce the quiescent dissipation of vehicle.
Embodiment 2
On the basis of embodiment 1, the electric power management circuit described in the present embodiment, as shown in Figure 3, described power-switching circuit 1 comprises power conversion chip U1, and it comprises 20 pins, resistance R5, R6, R7, R8, R9, electric capacity C4, C6, C7, electric capacity of voltage regulation C5.
As described first mouth after the pin 9 of described power conversion chip U1 is connected with pin 4, the pin 17 of described power conversion chip U1 is described second mouth, one end of described resistance R7 is connected with described first mouth, the other end is connected with the pin 6 of described power conversion chip U1, one end of described resistance R8 is connected with described first mouth, the other end of described resistance R8 is connected with one end of described resistance R9 with the pin 12 of described power conversion chip U1 simultaneously, the other end ground connection of described R9, one end of described electric capacity C6 is connected with the pin 19 of described power conversion chip U1, the other end of described electric capacity C6 is connected with pin 12 with the pin 11 of described power conversion chip U1 ground connection afterwards simultaneously, one end of described electric capacity C7 is connected with described second mouth, the other end ground connection of described electric capacity C7, one end of described electric capacity of voltage regulation C5 is connected with described first mouth, other end ground connection, one end of described electric capacity C4 is connected with the pin 7 of described power conversion chip U1, the other end of described electric capacity C4 and the pin 10 of described power conversion chip U1, ground connection after pin 1 is connected, one end of described resistance R5 is connected with the pin 8 of described power conversion chip U1, the other end of described resistance R5 is connected with one end of described resistance R6, the other end ground connection of described resistance R6.
Described microcontroller 2 comprises chip U2, and it comprises 144 pins, resistance R10, R11, R12.
The pin 6 of described chip U2 is connected with described first mouth, one end of described resistance R12 is connected with the pin 52 of described chip U2, ground connection after the other end of described resistance R12 is connected with the pin 7 of described chip U2, described resistance R10 is connected with the pin 66 of described chip U2, described resistance R11 is connected with the pin 67 of described chip U2, and the pin 50 of described chip U2 is connected with the common port of described resistance R6 with described resistance R5.
Described CAN transceiver 3 comprises chip U3, and it comprises 14 pins, resistance R14 and electric capacity C8.
Pin 3 and described first mouth of described chip U3 couple, pin 5 and described second mouth of described chip U3 couple, the pin 7 of described chip U3 is accessed after one end of described resistance R14 is connected with one end of described electric capacity C8, ground connection after the other end of described resistance R14 is connected with the other end of described electric capacity C8, pin 12 and the pin 13 of described chip U3 meet CAN CANL and CANH respectively.
The pin 66 of described chip U2 is coupled by the pin 1 of resistance R10 and described chip U3, the pin 67 of described chip U2 is coupled by the pin 4 of resistance R11 and described chip U3, and the pin 51 of described chip U2 and pin 52 couple with the pin 6 of described chip U3 and pin 14 respectively.
The model of described power management chip U1 is TLE4471G, and the model of described chip U2 is MPC5634M, and the model of described chip U3 is TJA1043T.
In embody rule, the pin 8 of power conversion chip U1 is controlled by the pin 50 of described chip U2, when the pin 50 of described chip U2 exports high level, the pin 8 of power conversion chip U1 is also high level, when pin 50 output low level of described chip U2, the pin 8 of power conversion chip U1 is also low level.The pin 8 of power conversion chip U1 meets pull down resistor R6, and can guarantee that pin 8 has stable voltage when powering on, resistance R5 plays current limliting, prevents electric current excessive damage power conversion chip U1.
The pin 16 of power conversion chip U1 is controlled by the pin 7 of described chip U3, pin 7 is the voltage regulator port of CAN transceiver 3, when described CAN transceiver 3 is in park mode, its pin 7 is in suspended state, because its pin 7 meets pull down resistor R14, now, its pin 7 is low level, the pin 16 making power conversion chip U1 is also low level, and namely described 3rd Enable Pin is also low level.When described CAN transceiver 3 is in other pattern, the pin 7 of described chip U3 exports as high level, making described 3rd Enable Pin is also high level, because described first Enable Pin of power-switching circuit 1, described second Enable Pin and described 3rd Enable Pin are or relation, as long as one is high level, the first mouth just can be made to export high level, wake power conversion chip U1 up.Electric capacity C5 is the electric capacity of voltage regulation of the first mouth, guarantees the voltage of stable output.
The pin 7 of power conversion chip U1 is reset delay pin, and connect ground connection after electric capacity C4, the size of C4 determines the length of reset delay time.The pin 6 of power conversion chip U1 is reset output pin, and it is OC door output pin, and described resistance R7 is that OC exports pull-up resistor.The pin 12 of power conversion chip U1 regulates pin for resetting voltage, is the resetting voltage threshold value of its pin 12 by the magnitude of voltage after resistance R8, R9 dividing potential drop.
Resistance R10, R11 are current-limiting resistance, and chip U2 when can guarantee described CAN transceiver 3 et out of order in described microcontroller 2 is not damaged.The pin 50 of described chip U2 accesses the pin 8 of described power conversion chip U1 by current-limiting resistance R5.The pin 3 of described chip U3 connects described first mouth, for described CAN transceiver 3 provides power line voltage, can provide power-handling capability for CAN CANH, CANL.The pin 5 of described chip U3 connects described second mouth, thus provides wake-up voltage for CAN transceiver 3.The pin 10 of described chip U3 is internal regulator power line voltage, meets VBAT-IN place and is often electrically connected with storage battery KL30.C8 is electric capacity of voltage regulation, for late-class circuit provides stable level.The pin 1 of described chip U3 and pin 4 pin couple with the pin 66 of described chip U2 and pin 67 respectively, guarantee normal transmission-receiving function between described microcontroller 2 and described CAN transceiver 3.The enable control inputs pin pin 6 of described chip U3 is controlled by the pin 51 of described chip U2, and the static schema control pin pin 14 of described chip U3 is controlled by the pin 52 of described chip U2.The mode of operation of the pin 6 of described chip U3 and the Determines CAN transceiver 3 of pin 14.When pin 52 output low level of described chip U2, when pin 51 exports high level, described CAN transceiver 3 can be controlled and enter park mode.
As the optional mode of one, the electric power management circuit described in the present embodiment, described first acquisition module 5 comprises diode D1, zener diode D3, electric capacity C1, electric capacity of voltage regulation C2, resistance R1, R2.
The described anode of diode D1 is often electrically connected with the positive pole of storage battery, the negative electrode of described diode D1 simultaneously with the negative electrode of described zener diode D3, one end of described electric capacity C1, the positive pole of described electric capacity of voltage regulation C2, the pin 3 of described power conversion chip U1 is accessed after one end of described resistance R1 is connected, one end of described resistance R2 is connected with the other end of described resistance R1 and the pin 14 of described power conversion chip U1 simultaneously, the pin 14 of described power conversion chip U1 is the normal electric Enable Pin of described power-switching circuit 1, common port after one end of described resistance R2 is connected with the other end of described resistance R1 is the mouth of described first acquisition module 5, the other end of described resistance R2 simultaneously with the negative pole of described electric capacity of voltage regulation C2, ground connection after the other end of described electric capacity C1 and the anode of described zener diode D3 are connected, one end of described electric capacity C1 is connected with the pin 10 of described chip U3.
Described second acquisition module 6 comprises diode D2, zener diode D4, electric capacity C3, resistance R3, R4.
The described anode of diode D2 and the voltage output end of ignition lock couple, the negative electrode of described diode D2 simultaneously with the negative electrode of described zener diode D4, one end of described resistance R4 and one end of described resistance R3 are connected, the pin 2 of described power conversion chip U1 is accessed after the other end of described resistance R3 is connected with one end of described electric capacity C3, the pin 2 of described power conversion chip U1 is the first Enable Pin of described power-switching circuit 1, common port after the other end of described resistance R3 is connected with one end of described electric capacity C3 is the mouth of described second acquisition module 6, the other end of described electric capacity C3, ground connection after the other end of described resistance R4 and the anode of described zener diode D4 are connected, one end of described resistance R4 is connected with the pin 9 of described chip U3 after resistance R13.
The pin 16 of described power conversion chip U1 is the 3rd Enable Pin of described power-switching circuit 1, and the pin 7 of described chip U3 is the voltage regulator port of described CAN transceiver 3; The pin 50 of described chip U2 is the first control port of described microcontroller 2, and the pin 8 of described power conversion chip U1 is its second Enable Pin, is connected with the pin 50 of described chip U2 by described resistance R5.Described resistance R5 plays metering function.
First Enable Pin of described power-switching circuit 1, the second Enable Pin and the 3rd Enable Pin is or relation, when thrin is high, the pin 9 of described power conversion chip U1 and pin 4 export as high level.
In embody rule, first Enable Pin of described power-switching circuit 1, the second Enable Pin and the 3rd Enable Pin is or relation, when thrin is high, the pin 9 of described power conversion chip U1 and pin 4 export as high level, be determined by the inner structure of power conversion chip U1, do not do too much describing at this.The pin 9 of described chip U3 connects the voltage signal output end mouth (mouth of the second acquisition module 6) of ignition lock, when ignition lock exports high level, be equivalent to input wake-up signal by the pin 9 of described chip U3, just can wake CAN transceiver up, the Remote Wake Up signal that certain CAN transceiver also can be transmitted by CAN wakes up.
VBAT is the normal electricity input of storage battery KL30; after the anti-reverse protection of diode D1; export VBAT-IN; normal electricity is inputted to the pin 10 of the pin 3 of described power management chip U1 and described chip U3; zener diode D3 plays TVS protection; C1 is filter capacitor, and C2 is electric capacity of voltage regulation, thus provides stable voltage for power conversion chip U1.
VIGN is the input of ignition lock KL15 power supply, exports VIGN-IN, be input to the pin 2 of power conversion chip U1 through current-limiting resistance R3 after the anti-reverse protection of diode D2 and the TVS protection of zener diode D4.Resistance R4 is the pull down resistor of its pin 2, and C3 is the filter capacitor of its pin 2.
Embodiment 3
Present embodiments provide a kind of method for managing power supply, comprise the steps:
Control CAN transceiver when vehicle is in parking or charge condition and enter park mode, and then make power-switching circuit and microcontroller all enter park mode, make the power supply voltage of CAN transceiver, power-switching circuit, microcontroller and peripheral circuit be low level afterwards, but the wake-up voltage of CAN transceiver keep high level.
Detect and whether have wake-up signal, and make CAN transceiver enter awakening mode by park mode when wake-up signal having been detected, and then make microcontroller and power-switching circuit all enter awakening mode, now the power supply voltage of CAN transceiver, power-switching circuit, microcontroller and peripheral circuit is high level.
In embody rule, judge whether vehicle is in parking or charge condition comprises the steps:
Obtain the voltage signal of storage battery and the voltage signal of ignition lock.
When the voltage signal of described storage battery and the voltage signal of described ignition lock are high, judge that vehicle is in normal motoring condition, when the voltage signal of described ignition lock is low level, judge that vehicle is in parking or charge condition.
In embody rule, as shown in Figure 3, chip MPC5634M is described chip U2, storage battery has electricity, and also namely the normal electricity of VBAT is high, and ignition lock exports high level, also when namely VIGN is high, described power conversion chip U1 normally works, and described first mouth, described second mouth export 5V voltage, and described microcontroller 2 starts normal work.Make the pin 52 of described chip U2 export as high level by software design patterns, it is also high level that pin 51 exports, and CAN transceiver 3 normally works, and entire car controller is in normal mode of operation.
When for a certain reason, when needing to make system enter dormancy, such as stop or charging time, dormancy can be realized by following steps:
Ignition lock output low level, input VIGN is low, makes the pin 2 (the first Enable Pin) of described power management chip U1 be input as low level.
Under this kind of state, the pin 50 of described chip U2 exports as low level, and now, pin 8 (the second Enable Pin) input of described power conversion chip U1 is also low level.
Exported as low level by the pin 52 of chip U2 described in programming, the pin 51 arranging described chip U2 exports as high level, makes described CAN transceiver 3 enter park mode.During this pattern, the pin 7 of described chip U3 is suspended state, and due to external pull down resistor R14, now described pin 7 voltage is low.Now, power conversion chip U1 pin 16 (the 3rd Enable Pin) be input as low.
When the first Enable Pin, the second Enable Pin, the 3rd input input are low level, the first mouth VCC5V1 closes, and entire car controller enters park mode.
As the preferred mode of one, the method for managing power supply described in the present embodiment, also comprises the steps:
When microcontroller, CAN transceiver are all in park mode, but when power-switching circuit and peripheral circuit are not in park mode, the power supply voltage of CAN transceiver, power-switching circuit, microcontroller and peripheral circuit is made to be high level.
In embody rule, microcontroller can be allowed to gather peripheral circuit working state signal to judge whether peripheral circuit is in park mode, also namely judge that peripheral circuit is the need of electricity consumption.
In embody rule, chip MPC5634M is described chip U2, and by pin 52 output low level of chip U2 described in programming, the pin 51 arranging described chip U2 exports as high level.
When arranging pin 52 output low level of described chip U2, arrange described chip U2 pin 51 export for high level time, CAN transceiver 3 can be controlled and enter park mode.
Described chip U2 is arranged by programming afterwards, microcontroller 2 is made self to enter park mode, now whole entire car controller enters park mode, under this kind of state, the pin 50 of described chip U2 exports high level, also namely described second Enable Pin is high level, thus makes described first mouth output high level be that peripheral circuit is powered.
In embody rule, chip TJA1043T is described chip U3, and chip MPC5634M is described chip U2, when for a certain reason (such as vehicle restarts), needing to wake up entire car controller enters when normally working, and can realize in the following manner waking up:
Described CAN transceiver detects Remote Wake Up signal, or when collecting by the pin 9 of described chip U3 the wake-up signal that ignition lock sends, oneself enters awakening mode by park mode.
Now the pin 7 of described chip U3 becomes high level from low level, the input of the pin 16 (the 3rd Enable Pin) of described power conversion chip U1 is made also to become high level from low level, now, described first mouth VCC5V1 exports 5V power supply, described microcontroller 2 is normally worked, and entire car controller is waken up.
As another kind of wake-up mode, when CAN transceiver detects Remote Wake Up signal, oneself enters awakening mode by park mode.
Now CAN signal is sent to described chip U2 through its pin 4 by described chip U3, and now, microcontroller 2 enters normal mode of operation by park mode.Entire car controller is waken up.
In sum, method for managing power supply described in the present embodiment, can control the mode of operation of entire car controller, reduce the quiescent dissipation of entire car controller according to actual conditions, and waking entire car controller when needs up by ignition lock or programming control, wake-up mode is versatile and flexible.
Embodiment 4
Present embodiments provide a kind of power-supply management system, as shown in Figure 4, comprising:
Sleep management module, control CAN transceiver during for being in parking or charge condition when vehicle and enter park mode, and then make power-switching circuit and microcontroller all enter park mode, make the power supply voltage of CAN transceiver, power-switching circuit, microcontroller and peripheral circuit be low level afterwards, but the wake-up voltage of CAN transceiver keep high level.
Wakeup management module, for detecting whether have wake-up signal, and make CAN transceiver enter awakening mode by park mode when wake-up signal having been detected, and then make microcontroller and power-switching circuit all enter awakening mode, now the power supply voltage of CAN transceiver, power-switching circuit, microcontroller and peripheral circuit is high level.
As the preferred mode of one, the power-supply management system described in the present embodiment, also comprises:
Control system, for being all in park mode when microcontroller, CAN transceiver, but when power-switching circuit and peripheral circuit are not in park mode, make the power supply voltage of CAN transceiver, power-switching circuit, microcontroller and peripheral circuit be high level.
In a particular application, above-mentioned steps can be performed by the chip TLE4471G in the chip MPC5634M in microcontroller, the chip TJA1043T in CAN controller and power-switching circuit.
Power-supply management system described in the present embodiment, the mode of operation of entire car controller can be controlled according to actual conditions, reduce the quiescent dissipation of entire car controller, and wake entire car controller when needs up by ignition lock or programming control, wake-up mode is versatile and flexible.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to disc storage, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the diagram of circuit of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and diagram of circuit and/or block scheme and/or square frame.These computer program instructions can being provided to the treater of general computer, single-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the treater of computing machine or other programmable data processing device produce device for realizing the function of specifying in diagram of circuit flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in diagram of circuit flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in diagram of circuit flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.