Method and system for realizing dormancy and wake-up of vehicle-mounted cabin power management
Through the combination of MCU module, CAN transceiver and hardwire/CAN sleep wake-up module, the problem of missing hardwire or CAN signals during sleep during the on-board cockpit power management is solved, and the stable wake-up and normal operation of the system are achieved .
Patent Information
- Application Number
- CN202411352958.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-01-03
AI Technical Summary
The existing on-board cockpit power management sleep-up wake-up method is prone to failing to wake up the system due to missing the hard line signal or CAN transceiver interrupt signal, resulting in the system being unable to start.
Using the combination of MCU module, CAN transceiver, hard-line sleep wake-up module and CAN sleep wake-up module, the GPIO interrupt and low-power timer, STB_N and EN control of CAN transceiver ensures that the MCU and CAN transceiver are in sleep state. Can wake up in time. The hard-line sleep module sets ACC and IGN PIN as wake-up sources, and the CAN sleep module sets the CANH and CANL levels to trigger a falling edge interrupt when the wake-up combination is met.
Maximize the normal operation of the on-board cockpit power during sleep and wake-up, preventing the problem of being unable to start due to missed hardline or CAN signals, and improving the reliability and stability of the system.
Smart Images

Figure CN119247831A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power management, and in particular relates to a method and system for realizing sleep and wake-up of vehicle cabin power management. Background Art
[0002] At present, the in-vehicle cockpit system on the market generally contains two main control chips, an MCU and a SOC. The MCU is used for input and output signal processing, manages the system power state, executes the power-on and power-off timing of the SOC, and implements the system's sleep wake-up and low-power functions. The cockpit involves multiple power states, which need to be managed by the power management module. When the sleep conditions are met, the MCU will start the sleep process to put the SOC in a power-off state, and the MCU will enter a low-power mode to ensure that the cockpit has the lowest power consumption and meet the customer's static current requirements (generally the static current needs to be less than 1mA). In low-power mode, when the MCU receives a wake-up signal, it will be interrupted and woken up, thereby waking up the entire cockpit system.
[0003] Hibernation wake-up technology is crucial in power management. If the cockpit enters hibernation and cannot be awakened the next time the user uses the car, the instrument and DA will display a black screen, making it impossible for the user to use the car. Currently, the commonly used wake-up methods are hard-wired ACC or IGN wake-up, and CAN message wake-up. Generally, interrupt wake-up is used. According to different customer needs, hard-wire wake-up and CAN message wake-up may be used alone. It can also support hard-wired ACC and IGN wake-up, and support CAN message wake-up. In the hibernation state, when the ACC, IGN ON signal, or CAN message is received, the MCU is awakened, and the MCU then powers on the SOC to start the whole machine working.
[0004] When the MCU enters low-power mode, a series of preparations need to be done, such as shutting down some peripherals, switching the clock to low-frequency mode, switching the MCU working mode, and shutting down the power supply of some parts inside the MCU. Therefore, the status of ACC and IGN may change from OFF to ON during this process. When the MCU really goes to sleep, there will be no more level changes. If the user does not re-operate ACC and IGN to turn OFF and ON again, the cockpit will not be able to wake up because ACC and IGN were missed during the MCU sleep process.
[0005] Some CAN transceivers will first keep RXD at a high level in low power mode. When a remote wake-up signal is received, RXD becomes a low level and remains at a low level. It will not be reversed when a remote wake-up signal is received later, so only one level change occurs. If there is no message on the CAN bus and then there is a message sent during the sleep process, the falling edge interrupt on RXD will be missed during the sleep process, resulting in the MCU being unable to be awakened later.
[0006] Therefore, the existing ACC and IGN wake-up methods use external GPIO interrupts to wake up the MCU. Sometimes, the MCU cannot be started during the sleep wake-up process because the ACC or IGN ON signal is missed. The existing CAN wake-up method simply uses STB_N and EN to put the CAN transceiver into STANDBY or SLEEP mode, waits for the remote wake-up signal to wake up the CAN transceiver, and makes the RXD of the CAN transceiver change level to trigger the MCU interrupt wake-up. Now, the sleep wake-up process cannot be started because the CAN remote wake-up signal is missed.
[0007] Therefore, how to improve the existing vehicle cabin power management sleep and wake-up method to prevent the hard-line signal interrupt from being missed during the sleep process, so that the system cannot be woken up and started, and the CAN transceiver interrupt signal is missed and the system cannot be woken up and started, is a technical problem that needs to be solved urgently. Summary of the invention
[0008] The purpose of the present invention is to improve the existing vehicle cabin power management sleep and wake-up mode to prevent the hard-line signal interrupt from being missed during the sleep process, thereby preventing the system from being unable to wake up and start, and the CAN transceiver interrupt signal from being missed and the system from being unable to wake up and start.
[0009] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows:
[0010] In a first aspect, a vehicle-mounted cockpit power management sleep and wake-up system is provided, comprising an MCU module, a CAN transceiver, a hard-line sleep and wake-up module and a CAN sleep and wake-up module, wherein the MCU module is connected to the hard-line sleep and wake-up module and the CAN sleep and wake-up module, wherein the hard-line sleep and wake-up module comprises a hard-line sleep mode and a hard-line wake-up module, and wherein the CAN sleep and wake-up module comprises a CAN sleep mode and a CAN wake-up mode;
[0011] The MCU module is an S32K148 microcontroller, the CAN transceiver is a TJA1043, and the MCU module is in a state of waiting for interrupts after entering the low-power mode, supporting external GPIO wake-up, internal RTC interrupt wake-up, and internal ultra-low power timer wake-up;
[0012] The CAN transceiver has at least five working modes, including a listening mode LISTEN ONLY, a normal working mode NORMAL, a power saving mode STANDBY, a transition mode from active to sleep GO-TO-SLEEP, and a sleep mode SLEEP MODE.
[0013] Preferably, the hard-line sleep wake-up module ensures the wake-up of the MCU by combining GPIO interruption and low-power timer, and the hard-line sleep mode of the hard-line sleep wake-up module is specifically set as follows:
[0014] Set the PINs corresponding to ACC and IGN as wake-up sources; enable ACC and IGN GPIO edge interrupts; initialize the low-power timer and set its timing period to 50ms; monitor whether the ACC and IGN levels meet the sleep conditions. If so, set the MCU module working mode to low-power mode. If not, restart the system.
[0015] Preferably, the hard-line wake-up mode of the hard-line sleep wake-up module is specifically set as follows:
[0016] The MCU module automatically wakes up after detecting the ACC ON signal, or automatically wakes up after detecting the IGN ON signal;
[0017] When the MCU module enters low power mode and an ACC or IGN ON signal appears, after receiving an interrupt signal, the timer is started and the timer interrupt is enabled;
[0018] When the MCU module is in sleep mode, the low power timer of the MCU module continues to run, and when 50ms is reached, a timer interrupt is generated to wake up the MCU module.
[0019] Preferably, the CAN sleep mode of the CAN sleep wake-up module is set as follows:
[0020] After the CAN sleep wake-up module starts the CAN sleep mode, STB_N and EN of the CAN transceiver are pulled low at the same time, so that the CAN transceiver enters the standby mode;
[0021] Turn off the VCC of the CAN transceiver so that it detects abnormal VCC voltage and enters sleep mode; set the MCU CANRX pin connected to the RXD of the CAN transceiver as a general GPIO wake-up source; enable the CANRX pin edge interrupt; set the MCU working mode to low power mode.
[0022] Preferably, the CAN wake-up mode of the CAN sleep wake-up module is set so that when the MCU is in low power consumption mode and receives a remote wake-up combination signal on CANH and CANL, the MCU is automatically awakened;
[0023] When the MCU module enters the low power mode and the levels on CANH and CANL meet the wake-up combination, RXD is pulled low to generate a falling edge, and the CAN transceiver is awakened and enters the standby mode. At this time, VCC is turned off. The CAN transceiver re-checks that VCC is undervoltage and re-enters the sleep mode. RXD is pulled high again. Since there are constant level changes on CANH and CANL, when the wake-up combination is met next time, a falling edge will be generated on RXD again to trigger the falling edge interrupt on CANRX of the MCU to wake up the MCU module.
[0024] In a second aspect, a method for implementing vehicle cabin power management sleep and wake-up is provided, which is implemented by any one of the vehicle cabin power management sleep and wake-up systems described above, including a hard-wired sleep process:
[0025] S11: Set the PIN corresponding to ACC and IGN as the wake-up source;
[0026] S12: Enable ACC and IGN GPIO edge interrupts;
[0027] S13: Initialize the low power consumption timer and set its timing period to 50ms;
[0028] S14: Check whether the ACC and IGN levels meet the sleep condition. If so, set the MCU working mode to low power mode. If not, restart the system.
[0029] Preferably, a hard line wake-up process is included, and the specific process is as follows:
[0030] S21: MCU automatically wakes up after detecting the ACC ON signal.
[0031] S22: MCU automatically wakes up after detecting the IGN ON signal.
[0032] S23: When the ACC or IGN ON signal appears when the MCU module enters the low power consumption mode, after receiving the interrupt signal, the timer is started and the timer interrupt is enabled;
[0033] When the MCU module is in sleep mode, the low-power timer continues to run and generates a timer interrupt to wake up the MCU when 50ms is reached.
[0034] Preferably, a CAN sleep process is included, and the specific process is as follows:
[0035] S31: After starting the sleep mode, pull STB_N and EN low at the same time to make the CAN transceiver enter the standby mode;
[0036] S32: Turn off the VCC of the CAN transceiver, so that it detects that the VCC voltage is abnormal and enters the sleep mode;
[0037] S33: Set the MCU CANRX pin connected to the RXD of the CAN transceiver as a general GPIO wake-up source;
[0038] S34: Enable CANRX pin edge interrupt;
[0039] S35: Set the working mode of the MCU module to low power mode.
[0040] Preferably, a CAN wake-up process is included, and the specific process is as follows:
[0041] S41: When the MCU is in low power mode and receives the remote wake-up combination signal on CANH and CANL, the MCU is automatically awakened;
[0042] S42: When the MCU module enters the low power mode and the levels on CANH and CANL meet the wake-up combination, RXD is pulled low to generate a falling edge, and the CAN transceiver is awakened and enters the standby mode. At this time, VCC is turned off. The CAN transceiver re-checks that VCC is undervoltage and re-enters the sleep mode. RXD is pulled high again. Since there are constant level changes on CANH and CANL, when the wake-up combination is met next time, a falling edge will be generated on RXD again to trigger the falling edge interrupt on CANRX of the MCU to wake up the MCU module.
[0043] Preferably, the CAN sleep wake-up module uses STB_N and EN to put TJA1043 into STANDBY MODE in CAN sleep mode, and at the same time, when the CAN transceiver detects that VCC is undervoltage, the undervoltage protection enters the CAN sleep mode SLEEPMODE.
[0044] The beneficial effects of the present invention include:
[0045] The present invention provides a method and system for implementing vehicle cabin power management sleep and wake-up, comprising an MCU module, a CAN transceiver, a hard-wired sleep and wake-up module and a CAN sleep and wake-up module, wherein the hard-wired sleep and wake-up module comprises a hard-wired sleep mode and a hard-wired wake-up module, and the CAN sleep and wake-up module comprises a CAN sleep mode and a CAN wake-up mode; the MCU module is an S32K148 microcontroller, and the CAN transceiver is a TJA1043. After entering a low power consumption mode, the MCU module is in a state of waiting for an interrupt, and supports external GPIO wake-up, internal RTC interrupt wake-up, and internal ultra-low power consumption timer wake-up.
[0046] First, by setting up a dual sleep and wake-up module of a hard-line sleep and wake-up module and a CAN sleep and wake-up module, the dual protection mode can maximize the ability to ensure that the vehicle cabin power can sleep or wake up normally, preventing the use of external GPIO interrupts to wake up the MCU alone, and failing to start during the sleep and wake-up process due to missing ACC or IGN ON signals, or simply using STB_N and EN to put the CAN transceiver into STANDBY or SLEEP mode, waiting for the remote wake-up signal to wake up the CAN transceiver, and allowing the RXD of the CAN transceiver to change level to trigger the MCU interrupt wake-up. Occasionally, the situation occurs that the CAN remote wake-up signal is missed during the sleep and wake-up process and the MCU cannot start.
[0047] Secondly, when ACC or IGN ON occurs during the process of the MCU module entering low power mode, since the sleep process cannot be interrupted at this time, after receiving the interrupt, the timer is started and the timer interrupt is enabled. When the MCU module goes to sleep, the low power timer will continue to run, and a timer interrupt will be generated when 50ms arrives, thereby waking up the MCU, and the MCU will not be unable to wake up due to missing ACC or IGN.
[0048] Again, TJA1043 is used as the CAN transceiver. When the system is in sleep mode, STB_N and EN are used to make TJA1043 enter STANDBY MODE. At the same time, the undervoltage protection feature of TJA1043 entering SLEEP MODE when VCC is undervoltage is used to solve the problem that RXD only generates one falling edge when TJA1043 is remotely woken up, and the MCU module may not be woken up because of missing this falling edge.
[0049] Finally, when the MCU module enters low power mode and the levels on CANH and CANL meet the wake-up combination, RXD is pulled low to generate a falling edge, and TJA1043 is awakened and enters Standby mode. However, VCC is turned off at this time. TJA1043 will re-check that VCC is undervoltage and re-enter sleep mode. RXD is pulled high again. Because there will be level changes on CANH and CANL, when the wake-up combination is met next time, a falling edge will be generated on RXD again, thereby triggering the falling edge interrupt on CANRX of the MCU to wake up the MCU, avoiding the situation where the system cannot be awakened due to missing the falling edge on RXD. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a schematic diagram of the process of hard-wired sleep of the present invention.
[0051] Figure 2It is a flow chart of the CAN sleep process of the present invention.
[0052] Figure 3 Schematic diagram of remote wake-up timing of the CAN transceiver of the present invention. DETAILED DESCRIPTION
[0053] The following is combined with Figure 1-3 The present invention is further described in detail:
[0054] Example 1
[0055] A vehicle cabin power management sleep and wake-up system includes an MCU module, a CAN transceiver, a hard-line sleep and wake-up module and a CAN sleep and wake-up module. The MCU module is connected to the hard-line sleep and wake-up module and the CAN sleep and wake-up module. The hard-line sleep and wake-up module includes a hard-line sleep mode and a hard-line wake-up module. The CAN sleep and wake-up module includes a CAN sleep mode and a CAN wake-up mode. The MCU module is an S32K148 microcontroller, and the CAN transceiver is a TJA1043. See Figure 3 After entering the low power mode, the MCU module is in a state of waiting for interrupts, supporting external GPIO wake-up, internal RTC interrupt wake-up, and internal ultra-low power timer wake-up. The CAN transceiver has at least five working modes, including listening mode LISTEN ONLY, normal working mode NORMAL, energy saving mode STANDBY, active to sleep transition mode GO-TO-SLEEP, and sleep mode SLEEP MODE.
[0056] In the present embodiment 1, the hard-wired sleep wake-up module ensures the wake-up of the MCU by combining GPIO interrupt and low-power timer. The hard-wired sleep mode of the hard-wired sleep wake-up module is specifically set as follows: setting the PIN corresponding to ACC and IGN as the wake-up source; enabling ACC and IGN GPIO edge interrupts; initializing the low-power timer and setting its timing period to 50ms; monitoring whether the ACC and IGN levels meet the sleep conditions, if so, setting the MCU module working mode to the low-power mode, if not, restarting the system.
[0057] The hard-line wake-up mode of the hard-line sleep wake-up module is specifically set as:
[0058] The MCU module automatically wakes up after detecting the ACC ON signal, or automatically wakes up after detecting the IGN ON signal. When the ACC or IGN ON signal appears when the MCU module enters low power mode, after receiving the interrupt signal, the timer is started and the timer interrupt is enabled. When the MCU module is dormant, the low power timer of the MCU module continues to run, and a timer interrupt is generated when 50ms arrives to wake up the MCU module.
[0059] Example 2
[0060] Based on Example 1, the CAN sleep mode of the CAN sleep wake-up module is set to:
[0061] After the CAN sleep wake-up module starts the CAN sleep mode, STB_N and EN of the CAN transceiver are pulled low at the same time, so that the CAN transceiver enters the standby mode;
[0062] Turn off the VCC of the CAN transceiver so that it detects abnormal VCC voltage and enters sleep mode; set the MCU CANRX pin connected to the RXD of the CAN transceiver as a general GPIO wake-up source; enable the CANRX pin edge interrupt; set the MCU working mode to low power mode.
[0063] The CAN wake-up mode of the CAN sleep wake-up module is set so that when the MCU is in low power mode and receives the remote wake-up combination signal on CANH and CANL, the MCU is automatically woken up;
[0064] When the MCU module enters the low power mode and the levels on CANH and CANL meet the wake-up combination, RXD is pulled low to generate a falling edge, and the CAN transceiver is awakened and enters the standby mode. At this time, VCC is turned off. The CAN transceiver re-checks that VCC is undervoltage and re-enters the sleep mode. RXD is pulled high again. Since there are constant level changes on CANH and CANL, when the wake-up combination is met next time, a falling edge will be generated on RXD again to trigger the falling edge interrupt on CANRX of the MCU to wake up the MCU module.
[0065] Example 3
[0066] Based on Example 1 or Example 2, a method for realizing sleep and wake-up of a vehicle-mounted cabin power management is provided, which is realized by a vehicle-mounted cabin power management sleep and wake-up system as described in any one of the embodiments, see Figure 1 As shown, including the hard-wired sleep process:
[0067] S11: Set the PIN corresponding to ACC and IGN as the wake-up source;
[0068] S12: Enable ACC and IGN GPIO edge interrupts;
[0069] S13: Initialize the low power consumption timer and set its timing period to 50ms;
[0070] S14: Check whether the ACC and IGN levels meet the sleep condition. If so, set the MCU working mode to low power mode. If not, restart the system.
[0071] In this embodiment, a hard line wake-up process is also included, and the specific process is as follows:
[0072] S21: MCU automatically wakes up after detecting the ACC ON signal.
[0073] S22: MCU automatically wakes up after detecting the IGN ON signal.
[0074] S23: When the ACC or IGN ON signal appears when the MCU module enters the low power consumption mode, after receiving the interrupt signal, the timer is started and the timer interrupt is enabled;
[0075] When the MCU module is in sleep mode, the low-power timer continues to run and generates a timer interrupt to wake up the MCU when 50ms is reached.
[0076] The vehicle cabin power management sleep wake-up implementation method of the present invention includes a CAN sleep process, see Figure 2 As shown, the specific process is as follows:
[0077] S31: After starting the sleep mode, pull STB_N and EN low at the same time to make the CAN transceiver enter the standby mode;
[0078] S32: Turn off the VCC of the CAN transceiver, so that it detects that the VCC voltage is abnormal and enters the sleep mode;
[0079] S33: Set the MCU CANRX pin connected to the RXD of the CAN transceiver as a general GPIO wake-up source;
[0080] S34: Enable CANRX pin edge interrupt;
[0081] S35: Set the working mode of the MCU module to low power mode.
[0082] The vehicle-mounted cockpit power management sleep and wake-up implementation method of the present invention includes a CAN sleep process and a CAN wake-up process, and the specific process is as follows:
[0083] S41: When the MCU is in low power mode and receives the remote wake-up combination signal on CANH and CANL, the MCU is automatically awakened;
[0084] S42: When the MCU module enters the low power mode and the levels on CANH and CANL meet the wake-up combination, RXD is pulled low to generate a falling edge, and the CAN transceiver is awakened and enters the standby mode. At this time, VCC is turned off. The CAN transceiver re-checks that VCC is undervoltage and re-enters the sleep mode. RXD is pulled high again. Since there are constant level changes on CANH and CANL, when the wake-up combination is met next time, a falling edge will be generated on RXD again to trigger the falling edge interrupt on CANRX of the MCU to wake up the MCU module.
[0085] The CAN sleep wake-up module uses STB_N and EN to put TJA1043 into STANDBY MODE in CAN sleep mode. At the same time, when the CAN transceiver detects VCC undervoltage, the undervoltage protection enters CAN sleep mode SLEEPMODE.
[0086] To sum up, the implementation method of vehicle cabin power management sleep and wake-up provided by the present invention includes an MCU module, a CAN transceiver, a hard-wired sleep and wake-up module and a CAN sleep and wake-up module. The hard-wired sleep and wake-up module includes a hard-wired sleep mode and a hard-wired wake-up module. The CAN sleep and wake-up module includes a CAN sleep mode and a CAN wake-up mode. The MCU module is an S32K148 microcontroller, and the CAN transceiver is TJA1043. After entering the low-power mode, the MCU module is in a state of waiting for interruption, and supports external GPIO wake-up, internal RTC interrupt wake-up, and internal ultra-low power timer wake-up.
[0087] By setting up a dual sleep and wake-up module of a hard-line sleep and wake-up module and a CAN sleep and wake-up module, the dual protection mode can maximize the ability to ensure that the vehicle cabin power supply can sleep or wake up normally, preventing the use of external GPIO interrupts alone to wake up the MCU, and failing to start due to missing ACC or IGN ON signals during the sleep and wake-up process, or simply using STB_N and EN to put the CAN transceiver into STANDBY or SLEEP mode, waiting for the remote wake-up signal to wake up the CAN transceiver, so that the RXD of the CAN transceiver changes level to trigger the MCU interrupt wake-up. Occasionally, the sleep and wake-up process fails to start due to missing the CAN remote wake-up signal. When ACC or IGN ON occurs during the step of the MCU module entering the low-power mode, because the sleep process cannot be interrupted at this time, after receiving the interrupt, the timer is started and the timer interrupt is enabled. When the MCU module goes to sleep, the low-power timer will continue to run, and a timer interrupt will be generated when 50ms arrives, thereby waking up the MCU, and will not cause the situation where the MCU cannot be woken up after missing ACC or IGN. TJA1043 is used as the CAN transceiver. STB_N and EN are used to put TJA1043 into STANDBY MODE when the system is in sleep mode. At the same time, the undervoltage protection feature of TJA1043 that enters SLEEP MODE when VCC is undervoltage is used to solve the problem that RXD only generates one falling edge when TJA1043 is remotely woken up, and the MCU module may miss this falling edge and fail to wake up.
[0088] When the MCU module enters low power mode and the level on CANH and CANL meets the wake-up combination, RXD is pulled low to generate a falling edge, and TJA1043 is awakened and enters Standby.
[0089] mode, but VCC is turned off at this time. TJA1043 will re-check VCC undervoltage and re-enter sleepmode. RXD will be pulled high again. Because there will be level changes on CANH and CANL, when the wake-up combination is met next time, a falling edge will be generated on RXD again, thereby triggering the falling edge interrupt on CANRX of the MCU to wake up the MCU, avoiding the situation where the system cannot be woken up because the falling edge on RXD is missed.
Claims
1. A vehicle cabin power management sleep and wake-up system, characterized in that: It includes an MCU module, a CAN transceiver, a hard-line sleep wake-up module and a CAN sleep wake-up module, wherein the MCU module is connected to the hard-line sleep wake-up module and the CAN sleep wake-up module, wherein the hard-line sleep wake-up module includes a hard-line sleep mode and a hard-line wake-up module, and wherein the CAN sleep wake-up module includes a CAN sleep mode and a CAN wake-up mode; The MCU module is an S32K148 microcontroller, the CAN transceiver is a TJA1043, and the MCU module is in a state of waiting for interrupts after entering the low-power mode, supporting external GPIO wake-up, internal RTC interrupt wake-up, and internal ultra-low power timer wake-up; The CAN transceiver has at least five working modes, including a listening mode LISTEN ONLY, a normal working mode NORMAL, a power saving mode STANDBY, a transition mode from active to sleep GO-TO-SLEEP, and a sleep mode SLEEP MODE.
2. The vehicle cabin power management sleep and wake-up system according to claim 1, characterized in that: The hard-line sleep wake-up module ensures the wake-up of the MCU by combining GPIO interruption and low-power timer. The hard-line sleep mode of the hard-line sleep wake-up module is specifically set as: Set the PINs corresponding to ACC and IGN as wake-up sources; enable ACC and IGN GPIO edge interrupts; initialize the low-power timer and set its timing period to 50ms; monitor whether the ACC and IGN levels meet the sleep conditions. If so, set the MCU module working mode to low-power mode. If not, restart the system.
3. The vehicle cabin power management sleep and wake-up system according to claim 2, characterized in that: The hard-line wake-up mode of the hard-line sleep wake-up module is specifically set as: The MCU module automatically wakes up after detecting the ACC ON signal, or automatically wakes up after detecting the IGN ON signal; When the MCU module enters low power mode and an ACC or IGN ON signal appears, after receiving an interrupt signal, the timer is started and the timer interrupt is enabled; When the MCU module is in sleep mode, the low power timer of the MCU module continues to run, and when 50ms is reached, a timer interrupt is generated to wake up the MCU module.
4. The vehicle cabin power management sleep and wake-up system according to claim 1, characterized in that: The CAN sleep mode of the CAN sleep wake-up module is set to: After the CAN sleep wake-up module starts the CAN sleep mode, STB_N and EN of the CAN transceiver are pulled low at the same time, so that the CAN transceiver enters the standby mode; Turn off the VCC of the CAN transceiver so that it detects abnormal VCC voltage and enters sleep mode; set the MCU CANRX pin connected to the RXD of the CAN transceiver as a general GPIO wake-up source; enable the CANRX pin edge interrupt; set the MCU working mode to low power mode.
5. The vehicle cabin power management sleep and wake-up system according to claim 1, characterized in that: The CAN wake-up mode of the CAN sleep wake-up module is set so that when the MCU is in low power mode and receives the remote wake-up combination signal on CANH and CANL, the MCU is automatically woken up; When the MCU module enters the low power mode and the levels on CANH and CANL meet the wake-up combination, RXD is pulled low to generate a falling edge, and the CAN transceiver is awakened and enters the standby mode. At this time, VCC is turned off. The CAN transceiver re-checks that VCC is undervoltage and re-enters the sleep mode. RXD is pulled high again. Since there are constant level changes on CANH and CANL, when the wake-up combination is met next time, a falling edge will be generated on RXD again to trigger the falling edge interrupt on CANRX of the MCU to wake up the MCU module.
6. A method for implementing vehicle cabin power management sleep and wake-up, implemented by a vehicle cabin power management sleep and wake-up system according to any one of claims 1 to 5, characterized in that: Including hardwired sleep process: S11: Set the PIN corresponding to ACC and IGN as the wake-up source; S12: Enable ACC and IGN GPIO edge interrupts; S13: Initialize the low power consumption timer and set its timing period to 50ms; S14: Check whether the ACC and IGN levels meet the sleep condition. If so, set the MCU working mode to low power mode. If not, restart the system.
7. A method for realizing sleep and wake-up of vehicle cabin power management according to claim 6, characterized in that: Including the hard line wake-up process, the specific process is as follows: S21: MCU automatically wakes up after detecting the ACC ON signal. S22: MCU automatically wakes up after detecting the IGN ON signal. S23: When the ACC or IGN ON signal appears when the MCU module enters the low power consumption mode, after receiving the interrupt signal, the timer is started and the timer interrupt is enabled; When the MCU module is in sleep mode, the low-power timer continues to run and generates a timer interrupt to wake up the MCU when 50ms is reached.
8. The method for realizing sleep and wake-up of vehicle cabin power management according to claim 6, characterized in that: Including CAN sleep process, the specific process is as follows: S31: After starting the sleep mode, pull STB_N and EN low at the same time to make the CAN transceiver enter the standby mode; S32: Turn off the VCC of the CAN transceiver, so that it detects that the VCC voltage is abnormal and enters the sleep mode; S33: Set the MCU CANRX pin connected to the RXD of the CAN transceiver as a general GPIO wake-up source; S34: Enable CANRX pin edge interrupt; S35: Set the working mode of the MCU module to low power mode.
9. The method for realizing sleep and wake-up of vehicle cabin power management according to claim 6, characterized in that: Including the CAN wake-up process, the specific process is as follows: S41: When the MCU is in low power mode and receives the remote wake-up combination signal on CANH and CANL, the MCU is automatically awakened; S42: When the MCU module enters the low power mode and the levels on CANH and CANL meet the wake-up combination, RXD is pulled low to generate a falling edge, and the CAN transceiver is awakened and enters the standby mode. At this time, VCC is turned off. The CAN transceiver re-checks that VCC is undervoltage and re-enters the sleep mode. RXD is pulled high again. Since there are constant level changes on CANH and CANL, when the wake-up combination is met next time, a falling edge will be generated on RXD again to trigger the falling edge interrupt on CANRX of the MCU to wake up the MCU module.
10. The method for realizing sleep and wake-up of vehicle cabin power management according to claim 6, characterized in that: The CAN sleep wake-up module uses STB_N and EN to put TJA1043 into STANDBY MODE in CAN sleep mode. At the same time, when the CAN transceiver detects VCC undervoltage, the undervoltage protection enters CAN sleep mode SLEEP MODE.
