Automobile controller wake-up circuit
By designing a wake-up circuit for an automotive controller, and using signal detection circuits and GPIO ports to monitor hard-wired and bus wake-up sources, the problem of the MCU being unable to determine the wake-up mode after wake-up is solved. This enables real-time monitoring of the automotive controller's state adjustment and hard-wired wake-up sources, preventing misjudgments.
Patent Information
- Application Number
- CN202423286084.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2034-12-30
AI Technical Summary
In the existing technology, the MCU cannot determine the wake-up mode after wake-up, which makes it impossible to adjust the working state of the car controller, and the status of the hard-wired wake-up source cannot be monitored, which may lead to misjudgment and abnormal state.
A wake-up circuit for an automotive controller was designed. It monitors the wake-up sources of hard wires and buses through signal detection circuits and GPIO ports, uses diode and transistor circuits to determine the wake-up mode, and monitors the status of hard wire wake-up sources during operation.
It enables accurate determination of the wake-up mode after the MCU is woken up, adjustment of the controller state according to the operating conditions, and monitoring of the hard-wired wake-up source status during operation to prevent misjudgment and abnormal states.
Smart Images

Figure CN223821622U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to the technical field of automobile controller, especially an automobile controller wake -up circuit. BACKGROUND
[0002] In the prior art, the hard-wire wake-up mode is as follows:
[0003] (1) the hard-wire wake-up mode uses KL30 / KL31 power supply, and the chip enable end of the power supply chip is triggered by the external wiring harness KL15 outputting a high level, thereby the whole product is powered and driven to work normally, when the wiring harness KL15 outputs a low level, the whole product is in a dormant state;
[0004] (2) the bus wake-up mode uses KL30 / KL31 power supply, and the chip enable end of the power supply chip is triggered by the preset CAN transceiver, thereby the whole product is powered and driven to work normally.
[0005] The above processing mode has the following problems:
[0006] (1) the MCU cannot determine whether the current wake-up mode is the bus wake-up or the hard-wire wake-up after being woken up, and cannot adjust the working state of the automobile controller according to the actual working condition;
[0007] (2) the state of the hard-wire wake-up source (KL15) cannot be monitored during operation, and the automobile controller may be misjudged due to the loss of the hard-wire wake-up source (KL15), finally leading to abnormal state. INVENTION CONTENTS
[0008] In view of the above problems of the prior art, the utility model aims at providing an automobile controller wake-up circuit which is simple to realize, can determine whether the current wake-up mode is the bus wake-up or the hard-wire wake-up after the MCU is woken up, and can adjust the working state of the automobile controller according to the actual working condition, and can monitor the state of the hard-wire wake-up source during operation.
[0009] The utility model adopts the following technical scheme:
[0010] On the one hand, an automobile controller wake-up circuit comprises:
[0011] MCU, micro control unit;
[0012] at least one CAN transceiver, the wake-up end of each CAN transceiver is connected with a bus wake-up source, and the enable control end of all CAN transceivers is connected with the enable input end of the power supply chip;
[0013] A power chip, an enable input end of the power chip is connected with an enable control end of all CAN transceivers and a hard-wired wake-up source respectively, and a power output end of the power chip is connected with a power input end of the MCU;
[0014] A signal detection circuit, an input end of the signal detection circuit is connected with the hard-wired wake-up source, and an output end of the signal detection circuit is connected with a first GPIO end of the MCU, and the MCU judges the state of the hard-wired wake-up source through the state of the first GPIO end.
[0015] Preferably, a first diode is arranged between the enable control end of each transceiver and the enable input end of the power chip respectively, an anode of the first diode is connected with the enable control end of the transceiver, and a cathode of the first diode is connected with the enable input end of the power chip.
[0016] Preferably, a second diode is arranged between the hard-wired wake-up source and the enable input end of the power chip, an anode of the second diode is connected with the hard-wired wake-up source, and a cathode of the second diode is connected with the enable input end of the power chip.
[0017] Preferably, a third diode is arranged between the hard-wired wake-up source and the enable input end of the power chip, an anode of the third diode is connected with the hard-wired wake-up source, and a cathode of the third diode is connected with the input end of the signal detection circuit.
[0018] Preferably, the MCU further comprises a second GPIO end, and the second GPIO end is connected with the enable input end of the power chip to send a HOLD_ON signal to maintain the working state of the power chip.
[0019] Preferably, a fourth diode is arranged between the enable input end of the power chip and the second GPIO end of the MCU, an anode of the fourth diode is connected with the second GPIO end of the MCU, and a cathode of the fourth diode is connected with the enable input end of the power chip.
[0020] Preferably, the signal detection circuit comprises a triode, a first resistor and a second resistor, one end of the first resistor is connected with the hard-wired wake-up source, the other end of the first resistor is connected with the base of the triode, one end of the second resistor is connected with the connection point of the first resistor and the triode, the other end of the second resistor is connected with the emitter of the triode and the ground respectively, and the collector of the triode is connected with the first GPIO end of the MCU.
[0021] Preferably, the signal output by the hard-wired wake-up source is a high-level signal or a low-level signal representing the state of the ignition lock.
[0022] Preferably, the signal output by the bus wake-up source is a high-level signal or a low-level signal representing the state of the automobile application switch.
[0023] Compared with the prior art, the utility model has the advantages that:
[0024] (1) the utility model branches a way signal connection to signal detection circuit on the hardware wake -up source, after the level conversion of signal detection circuit, input to the first GPIO end of MCU, and the MCU monitors the wake -up source state through the input signal, thereby determining the current wake -up mode is bus wake -up or hard wire wake -up after the wake -up of MCU, if the first GPIO end is low level signal, then it indicates that it is hard wake -up, otherwise, it indicates bus wake -up, and then adjusts the working state of automobile controller according to actual working condition;
[0025] (2) the utility model is based on signal detection circuit, and the level state of hard wire wake -up source (KL15) is monitored through the signal state of the first GPIO end of MCU in the normal operation process of automobile, if GPIO2 appears the condition of continuous high level, can determine that the hard wire wake -up source is lost, or further in combination with the vehicle state message on the bus, whether it is the hard wire wake -up source loss is determined, and then alarm prompt etc. are carried out, to prevent the automobile controller misjudgment caused by the loss of wake -up source (KL15).
[0026] The above description is only a summary of the technical scheme of the utility model, in order to more clearly understand the technical means of the utility model, so as to be implemented according to the content of the specification, and in order to let the above and other purposes, characteristics and advantages of the utility model can be more obvious and easy to understand, the following specific embodiment of the utility model is listed.
[0027] According to the detailed description of the specific embodiment of the utility model in the following combined with the drawings, those skilled in the art will be more clear the above and other purposes, advantages and characteristics of the utility model. BRIEF DESCRIPTION OF DRAWINGS
[0028] Figure 1 It is the structure block diagram of the automobile controller wake -up circuit of the utility model embodiment;
[0029] Figure 2 It is the circuit schematic diagram of the automobile controller wake -up circuit of the utility model embodiment. DETAILED DESCRIPTION
[0030] The technical scheme in the embodiment of the utility model will be clearly and completely described below in combination with the drawings in the embodiment of the utility model;Obviously, the described embodiment is only a part of the embodiment of the utility model, not all the embodiments, based on the embodiment in the utility model, all other embodiments obtained by those skilled in the art without creative labor belong to the scope of the utility model protection.
[0031] In the description of this utility model, it should be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0032] In the description of this utility model, it should be noted that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0033] In the description of this utility model, it should be noted that, unless otherwise explicitly specified and limited, the terms "installed", "equipped with", "sleeved / connected", "connected", etc., should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be a connection within two components. For those skilled in the art, the specific meaning of the above terms in this utility model can be understood according to the specific circumstances.
[0034] See Figure 1 and Figure 2 As shown, this embodiment discloses a car controller wake-up circuit, including:
[0035] MCU 11, Microcontroller Unit;
[0036] At least one CAN transceiver 12, the wake-up terminal WAKE of each CAN transceiver 12 is connected to a bus wake-up source 3, and the enable control terminal INH of all CAN transceivers 12 is connected to the enable input terminal of the power chip 13.
[0037] The power chip 13 has its enable input terminal connected to the hard-wired wake-up source 4 and the enable control terminal INH of all CAN transceivers 12 respectively; the power output terminal of the power chip 13 is connected to the power input terminal of the MCU 11.
[0038] The signal detection circuit 14 has its input terminal connected to the hard-wired wake-up source 4 and its output terminal connected to the first GPIO terminal GPIO1 of the MCU 11. The MCU 11 determines the state of the hard-wired wake-up source 4 by the state of the first GPIO terminal GPIO1.
[0039] In this embodiment, the signal output by the hard-wired wake-up source 4 is a high-level signal or a low-level signal, specifically including the ignition lock ON position signal or the ignition lock ACC position signal.
[0040] The signal output by bus wake-up source 3 is a high-level signal or a low-level signal, specifically including application switch signals, such as position light switch signals, hazard alarm switch signals, horn switch signals, sunroof switch signals, etc.
[0041] Furthermore, a first diode D1 is provided between the enable control terminal INH of each transceiver and the enable input terminal of the power chip 13; the anode of the first diode D1 is connected to the enable control terminal INH of the transceiver; and the cathode of the first diode D1 is connected to the enable input terminal of the power chip 13.
[0042] For details, see Figure 2 As shown, a first diode D1 is provided after the signal CAN 1 output from the enable control terminal INH of the first CAN transceiver 12 and the signal CAN n output from the enable control terminal INH of the nth CAN transceiver 12. Specifically, D1 is provided after CAN 1, and Dn is provided after CAN n. When other CAN transceivers 12 are included, a diode is provided after the corresponding signal output from their enable control terminals INH; however, this embodiment does not provide a complete list. The provision of the first diode D1 ensures that the signal is only input to the enable input terminal of the power chip 13 when the signal output from the enable control terminal INH of the CAN transceiver 12 is high.
[0043] Furthermore, a second diode D2 is provided between the hard-wired wake-up source 4 and the enable input terminal of the power chip 13; the anode of the second diode D2 is connected to the hard-wired wake-up source 4; and the cathode of the second diode D2 is connected to the enable input terminal of the power chip 13.
[0044] See Figure 2 As shown, the second diode D2 ensures that the signal is only input to the enable input terminal of the power chip 13 when the signal KL15 output by the hard-wired wake-up source 4 is high. Furthermore, from... Figure 2 It can be seen that the first diode D1 and the second diode D2 share a common cathode, and the cathodes are all connected to the enable input terminal of the power chip 13.
[0045] Furthermore, a third diode D3 is provided between the hard-wired wake-up source 4 and the enable input terminal of the power chip 13; the anode of the third diode D3 is connected to the hard-wired wake-up source 4; and the cathode of the third diode D3 is connected to the input terminal of the signal detection circuit 14.
[0046] The third diode D3 is arranged to ensure that the signal KL15 output by the hard-wire wake-up source 4 is input to the signal detection circuit 14 only when the signal KL15 is at a high level.
[0047] Specifically, the signal detection circuit 14 comprises a transistor Q1, a first resistor R1 and a second resistor R2; one end of the first resistor R1 is connected to the cathode of the third diode D3, and the other end of the first resistor R1 is connected to the base of the transistor Q1; one end of the second resistor R2 is connected to the connection point of the first resistor R1 and the transistor Q1, and the other end of the second resistor R2 is connected to the emitter of the transistor Q1 and the ground, respectively; the collector of the transistor Q1 is connected to the first GPIO port GPIO1 of the MCU 11.
[0048] When the KL15 outputs a high-level signal, the signal is passed through the transistor and is divided by the first resistor R1 and the second resistor R2; the voltage after the voltage division causes the transistor Q1 to enter a conducting state; due to the conduction of the transistor Q1, the first GPIO port GPIO1 is pulled low to a low level; the MCU 11 judges the state of the hard-wire wake-up source 4 by monitoring the state of the first GPIO port GPIO1. Correspondingly, when the KL15 outputs a low-level signal, the signal cannot pass through the transistor, so that the first GPIO port GPIO1 remains a high-level signal.
[0049] From the above, the utility model discloses a multi-channel wake-up signal input, and each channel wake-up signal input end is connected to the positive pole of the first diode D1;The negative pole of the first diode D1 is connected to the enable input end of the power supply chip 13. When the hard-wire wake-up signal and the bus wake-up signal are not detected, the automobile controller 1 remains in a dormant state;If any one bus wake-up signal is detected, the core enable input end of the power supply chip 13 is triggered, and the automobile controller 1 is powered on and wakes up;If the hard-wire wake-up signal is detected, the enable input end of the power supply chip 13 is also triggered, and the automobile controller 1 is powered on and wakes up. In addition, the hard-wire wake-up source 4 branches a signal to be connected to the MCU 11 through the signal detection circuit 14 to detect the state of the hard-wire wake-up source 4.
[0050] Further, the MCU 11 further comprises a second GPIO port GPIO2;The second GPIO port GPIO2 is connected to the enable input end of the power supply chip 13 to send a HOLD_ON signal to maintain the working state of the power supply chip 13.
[0051] The enable input end of the power supply chip 13 and the second GPIO port GPIO2 of the MCU 11 are provided with a fourth diode;The anode of the fourth diode is connected to the second GPIO port GPIO2 of the MCU 11;The cathode of the fourth diode is connected to the enable input end of the power supply chip 13.
[0052] The fourth diode is arranged, which can ensure that the signal output by the second GPIO end GPIO2 is input to the enable input end of the power supply chip 13 only when the signal output by the second GPIO end GPIO2 is high, and can ensure that the output signals of the hard-wire wake-up source 4 and the bus wake-up source 3 cannot be poured into the second GPIO end GPIO2.
[0053] The HOLD_ON signal is used to prevent the power supply chip 13 from stopping working due to the accidental loss of the wake-up signals CAN1-n and KL15 and the MCU 11 from maintaining normal working in the case of normal working.
[0054] After the wake-up signals CAN1-n and KL15 are normally closed, the HOLD_ON signal continues to maintain the working of the power supply chip 13, and the MCU 11 determines whether the power supply needs to be closed after the tasks before the MCU 11 enters the sleep state are all processed.
[0055] The above is only a specific embodiment of the present application, but the design concept of the present application is not limited to this, and any non-substantial change of the present application by using the concept should belong to the act of infringing the protection range of the present application.
Claims
1. A wake-up circuit for an automotive controller, characterized in that, include: MCU, Microcontroller Unit; At least one CAN transceiver, the wake-up terminal of each CAN transceiver is connected to a bus wake-up source, and the enable control terminal of all CAN transceivers is connected to the enable input terminal of the power chip. The power chip has its enable input terminal connected to the hard-wired wake-up source and the enable control terminals of all CAN transceivers respectively; the power output terminal of the power chip is connected to the power input terminal of the MCU. A signal detection circuit is provided, wherein the input terminal of the signal detection circuit is connected to the hard-wired wake-up source, and the output terminal of the signal detection circuit is connected to the first GPIO terminal of the MCU. The MCU determines the state of the hard-wired wake-up source by the state of the first GPIO terminal.
2. The car controller wake-up circuit according to claim 1, characterized in that, Each transceiver has a first diode connected between its enable control terminal and the enable input terminal of the power chip; the anode of the first diode is connected to the enable control terminal of the transceiver; and the cathode of the first diode is connected to the enable input terminal of the power chip.
3. The car controller wake-up circuit according to claim 1, characterized in that, A second diode is provided between the hard-wired wake-up source and the enable input terminal of the power chip; the anode of the second diode is connected to the hard-wired wake-up source; and the cathode of the second diode is connected to the enable input terminal of the power chip.
4. The car controller wake-up circuit according to claim 1, characterized in that, A third diode is provided between the hard-wired wake-up source and the enable input terminal of the power chip; the anode of the third diode is connected to the hard-wired wake-up source; and the cathode of the third diode is connected to the input terminal of the signal detection circuit.
5. The car controller wake-up circuit according to claim 1, characterized in that, The MCU also includes a second GPIO terminal; the second GPIO terminal is connected to the enable input terminal of the power chip to send a HOLD_ON signal to maintain the working state of the power chip.
6. The car controller wake-up circuit according to claim 5, characterized in that, A fourth diode is provided between the enable input terminal of the power chip and the second GPIO terminal of the MCU; the anode of the fourth diode is connected to the second GPIO terminal of the MCU; and the cathode of the fourth diode is connected to the enable input terminal of the power chip.
7. The car controller wake-up circuit according to claim 1, characterized in that, The signal detection circuit includes a transistor, a first resistor, and a second resistor; one end of the first resistor is connected to a hard-wired wake-up source, and the other end of the first resistor is connected to the base of the transistor; one end of the second resistor is connected to the junction of the first resistor and the transistor, and the other end of the second resistor is connected to the emitter of the transistor and ground, respectively; the collector of the transistor is connected to the first GPIO terminal of the MCU.
8. The car controller wake-up circuit according to claim 1, characterized in that, The signal output by the hard-wired wake-up source is a high-level signal or a low-level signal indicating the state of the ignition lock.
9. The car controller wake-up circuit according to claim 1, characterized in that, The signal output by the bus wake-up source is a high-level signal or a low-level signal indicating the switching state of the automotive application.