Vehicle controller power management method, storage medium and system

Through hierarchical power management and event-driven power mode switching, the problems of long startup time of multi-chip vehicle-mounted controllers and rapid battery power consumption are solved, and the power management of fast start-up and low-power consumption is realized, improving the user experience of autonomous driving cars .

CN113515071BActive Publication Date: 2024-12-13LIANCHUANG AUTOMOBILE ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110849681.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-27
Publication Date
2024-12-13
Estimated Expiration
2041-07-27

AI Technical Summary

Technical Problem

The power management method of the existing Internet of Vehicles box is not suitable for multi-chip vehicle-mounted controllers, which leads to a long start time, affecting the user experience of autonomous vehicles, and the battery in the car is quickly exhausted when the engine is turned off.

Method used

The power consumption of chips is managed through a first-level power management unit (such as MCU) and a second-level power management unit (such as MPU) to manage chips. Combined with event-driven power mode switching, a variety of whole machines are formed. Power mode to optimize power usage.

Benefits of technology

It realizes rapid start of multi-chip vehicle-mounted controllers, reduces average power consumption, improves power management efficiency, avoids unnecessary chip startup, and extends battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113515071B_ABST
    Figure CN113515071B_ABST
Patent Text Reader

Abstract

The present invention discloses a vehicle controller power management method, including: specifying a power management level for each chip; a primary power management unit controls the whole machine power mode switching and the power consumption of a secondary power management unit; a secondary power management unit controls its own and its lower-level chip power consumption according to the instructions of the primary power management unit; forming multiple whole machine power modes; specifying events that trigger the whole machine power mode switching; the primary power management unit controls the execution of the whole machine power mode switching according to the current whole machine power mode and the occurrence of events; specifying the operations performed by the primary power management unit, the secondary power management unit and other designated chips when the whole machine power mode switching occurs. The present invention also relates to a computer-readable storage medium for executing the steps in the vehicle controller power management method, and a vehicle controller power management system. The present invention can reduce the average power consumption of chip vehicle controllers while ensuring the rapid startup of multi-chip vehicle controllers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the automotive field, and more particularly to a power management method for an on-board controller. The invention also relates to a computer-readable storage medium for performing the steps of the on-board controller power management method, and an on-board controller power management system. Background Technology

[0002] Autonomous driving is the future trend of automobile development, and V2X technology is the cornerstone of autonomous driving. Vehicle controllers that support V2X communication, such as vehicle networking boxes, typically contain multiple chips: MCU (Micro Control Unit), 4G or 5G communication module, V2X (Vehicle to Everything) communication module, MPU (Micro Processor Unit), positioning chip, etc.

[0003] V2X-enabled autonomous vehicles are expected to enter mass production this year. Existing vehicle-to-everything (V2X) boxes primarily rely on traditional T-Boxes for power management. Traditional T-Boxes have a simple structure, and their power management methods are not suitable for today's multi-chip V2X boxes.

[0004] Autonomous driving technology requires vehicles to receive V2X data from other vehicles and roadside units in real time during normal operation. The transmission and reception of V2X data depends on the normal operation of all modules in the device. Since the vehicle-to-everything (V2X) box consists of multiple chips, each chip takes varying times to power on and operate normally. The overall readiness time is determined by the slowest-powering chip, thus requiring several minutes or even longer. In contrast, the mechanical components of a car only need a few seconds from ignition to shifting gears and starting up. If the V2X box cannot start up faster, the vehicle will not be able to achieve autonomous driving, severely impacting the user experience. Furthermore, when the car is off and the V2X box is in full-operation or standby mode, the battery will quickly deplete due to the power consumption of multiple chips within the box, preventing the car from starting again. Summary of the Invention

[0005] The summary of this invention introduces a series of simplified concepts, all of which are simplifications of existing technologies in the field, and will be further explained in detail in the detailed description section. This summary is not intended to limit the key features and essential technical features of the claimed technical solution, nor is it intended to determine the scope of protection of the claimed technical solution.

[0006] The technical problem to be solved by the present invention is to provide a power management method that can reduce the average power consumption of a chip-based vehicle controller while ensuring the rapid startup of the multi-chip vehicle controller.

[0007] Accordingly, the present invention provides a computer-readable storage medium for performing the steps of the vehicle controller power management method. It also provides a power management system that reduces the average power consumption of a chip-based vehicle controller while ensuring rapid startup of the multi-chip vehicle controller.

[0008] To solve the above-mentioned technical problems, the present invention provides a vehicle controller power management method, comprising:

[0009] Assign power management levels to each chip within the vehicle controller;

[0010] The primary power management unit controls the switching of the overall power mode and the power consumption of the secondary power management unit.

[0011] Alternatively, the primary power management unit controls the switching of the overall power mode, the power consumption of the secondary power management unit, and the power consumption of other specified chips within the vehicle controller;

[0012] The secondary power management unit controls its own and its subordinate chips' power consumption according to the instructions of the primary power management unit;

[0013] The power consumption state combinations of each chip in the vehicle controller are specified to form multiple overall power supply modes;

[0014] Specify the event that triggers the switching of the entire machine's power mode;

[0015] The primary power management unit controls and switches the overall power mode based on the current overall power mode and the events that occur.

[0016] Specifies the operations performed by the primary power management unit, the secondary power management unit, and other designated chips when a system power mode switch occurs.

[0017] Optionally, the vehicle controller power management method can be further improved by notifying the secondary power management unit when the primary power management unit switches the overall power mode. The secondary power management unit sets the power consumption state of itself and its downstream chips corresponding to the switched overall power mode according to the latest overall power mode received.

[0018] Optionally, the vehicle controller power management method can be further improved by providing feedback on the setting results to the primary power management unit after the secondary power management unit has been set up.

[0019] Optionally, the on-board controller power management method can be further improved so that the secondary power management unit can report its own business logic status to the primary power management unit.

[0020] Alternatively, the vehicle controller power management method can be further improved so that the secondary power management unit can request the primary power management unit to switch the overall power mode according to its own or its subordinate chip's business logic.

[0021] To address the aforementioned technical problems, the present invention provides a computer-readable storage medium for performing the steps of the vehicle controller power management method described in any of the above-described embodiments.

[0022] To solve the above technical problems, the present invention provides an on-board controller power management system, comprising:

[0023] The primary power management unit is used to control the switching of the overall power mode and the power consumption of the secondary power management unit.

[0024] Alternatively, it can be used to control the switching of the power mode of the entire machine, the power consumption of the secondary power management unit, and the power consumption of other specified chips in the vehicle controller;

[0025] The secondary power management unit is used to control the power consumption of itself and its subordinate chips according to the instructions of the primary power management unit.

[0026] The power mode module presets the power consumption state combinations of each chip in the vehicle controller to form multiple overall power modes.

[0027] The trigger module is used to specify the event that triggers the switching of the power mode of the entire machine;

[0028] Among them, the first-level power management unit controls the switching of the overall power mode based on the current overall power mode and the events that occur.

[0029] When the overall power mode switch occurs, the primary power management unit, the secondary power management unit, and other designated chips perform preset operations.

[0030] Optionally, the vehicle controller power management system can be further improved, wherein the vehicle controller is a smart driving vehicle networking box, including:

[0031] MCU, which serves as a primary power management unit;

[0032] MPU, which serves as a secondary power management unit;

[0033] Other chips inside the vehicle networking box include:

[0034] 5G module, which provides internet access for vehicle networking boxes;

[0035] V2X module, which provides V2X communication services for vehicle networking boxes;

[0036] A positioning chip is used to obtain the current location information of the vehicle-mounted box;

[0037] Encryption chip, used for signing, extending, encrypting and decrypting V2X messages.

[0038] Optionally, the vehicle controller power management system can be further improved so that when the primary power management unit switches the overall power mode, it notifies the secondary power management unit. The secondary power management unit sets the power consumption state of itself and its downstream chips corresponding to the switched overall power mode according to the latest overall power mode received.

[0039] Optionally, the vehicle controller power management system can be further improved so that after the secondary power management unit is set up, it also provides feedback on the setting results to the primary power management unit.

[0040] Optionally, the vehicle controller power management system can be further improved so that the secondary power management unit can report its own business logic status to the primary power management unit.

[0041] Optionally, the vehicle controller power management system can be further improved so that the secondary power management unit can request the primary power management unit to switch the overall power mode according to its own or its subordinate chip's business logic.

[0042] Optionally, the on-board controller power management system can be further improved, wherein the overall power mode includes:

[0043] Mode 1, or OFF mode: The entire machine is turned off;

[0044] Mode 2, namely Telematics mode: The MCU is working normally, the MPU is powered off, the 5G module is working normally, the V2X module is powered off, the positioning chip module is working normally, the encryption chip is powered off, and the 5G module reports its status to the MCU in real time; In Telematics mode 2, the 5G module reports its own status to the MCU in real time, such as whether there is Telematics service currently.

[0045] Mode 3, C-V2X, full working mode: all chips are working normally;

[0046] Mode 4, namely Telematics+IMX8 Standby mode: MCU operates normally, MPU operates at low power, 5G module operates normally, V2X module is powered off, positioning chip operates normally, encryption chip is powered off; MPU can be woken up by MCU and enter normal working state when in standby mode;

[0047] Mode 5, namely Listen+IMX8 Standby mode: MCU operates normally, MPU operates at low power, 5G module operates at low power, V2X module is powered off, positioning chip operates at low power, encryption chip is powered off; MPU can be woken up by MCU and enter normal working state when in standby mode;

[0048] Mode 6, also known as Listen mode: The MCU operates normally, the MPU is powered off, the 5G module operates at low power, and the V2X module is powered off. The positioning chip and encryption chip are powered off. In this mode, the remote vehicle control center can wake up the 5G module via network data, SMS, or telephone.

[0049] Mode 7, Sleep Mode: MCU operates with low power, MPU is powered off, 5G is powered off, V2X module is powered off, positioning chip is powered off, and encryption chip is powered off. In this mode, the MCU can be woken up by the RTC clock, external CAN, and peripherals, and the overall power mode can be switched.

[0050] Optionally, the on-board controller power management system may be further improved, wherein the events include:

[0051] Event 1: KL30 On;

[0052] Event 2: KL30 is off and battery is low;

[0053] Incident 3: Vehicle ignition;

[0054] Incident 4: The vehicle stalled, and KL15 was off;

[0055] Event 5: KL30 is on, the vehicle is off, KL15 is off, and there is no Telematics service for more than 2 minutes;

[0056] Event 6: KL30 OFF, or KL15 on, or sensor wake-up, or exceeding the maximum cycle of mode six, or receiving wake-up data, SMS or phone call from the remote vehicle control center;

[0057] Event 7: Periodic wake-up or sensor wake-up;

[0058] Event 8: KL30 On, vehicle off, KL15 off, no Telematics service for more than 2 minutes, and exceeding the maximum cycle of Mode 6;

[0059] Event 9: KL30 OFF;

[0060] Incident 10: KL30 is on, the vehicle is off, KL15 is off, there has been no Telematics service for 2 minutes, and the maximum standby time allowed by the MPU has been exceeded;

[0061] Event 11: KL30 OFF, or KL15 on, or sensor wake-up, or receiving wake-up data, SMS or phone call from the remote vehicle control center;

[0062] Event 12: Exceeded the maximum standby time allowed by the MPU.

[0063] Optionally, the on-board controller power management system can be further improved so that when a power mode switch occurs, the preset operations performed by the primary power management unit, the secondary power management unit, and other designated chips include:

[0064] When the power state of the whole machine is in mode one, if event 1 occurs, the MCU will switch the whole machine to mode two and power on the 5G module. The MCU will notify the 5G module to enter mode two. After receiving the above notification, the 5G will power on the positioning chip and notify the MCU that it has switched to mode two.

[0065] In mode 2, if event 2 occurs, the MCU notifies the 5G module to enter mode 1. The 5G module will shut down the positioning chip and notify the MCU that it has switched to mode 1. After receiving the notification, the MCU will shut down the 5G module, end its own business logic, and then power off.

[0066] In mode 2, if event 8 occurs, the MCU notifies the 5G module to enter mode 7. The 5G module will shut down the positioning chip and notify the MCU that it has switched to mode 7. After receiving the notification, the MCU will shut down the 5G module and control it to enter a low-power state.

[0067] In mode 2, if event 5 occurs, the MCU notifies the 5G module to enter mode 6. The 5G module will shut down the positioning chip, then control itself to enter a low-power state and notify the MCU that it has entered a low-power state.

[0068] In Mode 2, if Event 3 occurs, the MCU notifies the 5G module to enter Mode 3. The 5G module controls the V2X module to power on and notifies the MCU that it has switched to Mode 3. Simultaneously, the MCU controls the MPU to power on and notifies the MPU to enter Mode 3. The MPU controls the encryption chip to power on and enter normal working state. After the MPU enters normal working state, it notifies the CPU that it has switched to Mode 3.

[0069] In mode 3, the MCU detects event 2 and controls the power state of the entire device to switch to mode 1. It notifies the 5G module and MPU to switch to mode 1. The 5G module will shut down the positioning chip and notify the MCU that it has switched to mode 1. After receiving the notification from the 5G module, the MCU will shut down the 5G module. The MPU will shut down the encryption chip and notify the MCU that it has switched to mode 1. After receiving the notification from the MPU, the MCU will shut down the MPU. After shutting down the 5G module and MPU, the MCU will end its own business logic and then power off.

[0070] In mode 3, the MCU detects event 4, controls the power state of the whole machine to switch to mode 4, and notifies the 5G module and MPU to switch to mode 4. After receiving the notification, the 5G module shuts down the V2X module and notifies the MCU that it has switched to mode 4. After receiving the notification, the MPU controls the encryption chip to shut down and notifies the MCU that it has switched to mode 4. After receiving feedback from the 5G module and MPU, the MCU controls the MPU to enter a low-power state.

[0071] In mode four, after the MCU detects event 3, it switches the power status of the entire device to mode three. Then, the MCU notifies the 5G module to enter mode three. The 5G module controls the V2X module to enter the working state and notifies the MCU that it has switched to mode three. At the same time, the MCU wakes up the MPU and makes the MPU enter the normal working state. Then, the MCU notifies the MPU to enter mode three. The MPU controls the encryption chip to power on and enter the normal working state. After the MPU enters the normal working state, it notifies the CPU that it has switched to mode three.

[0072] In mode four, after the MCU detects event 10, the MCU switches the power mode of the whole machine to mode five and notifies the 5G module to enter mode five. After receiving the notification, the 5G module controls the positioning chip to shut down and controls its own power consumption state to enter a low power state. Then it notifies the MCU that its state switching is complete.

[0073] In mode five, the MCU detects that event 12 has occurred, directly controls the MPU to shut down, and switches the power state to mode six;

[0074] In mode 5, the MCU detects that event 11 has occurred, switches the power status of the whole machine to mode 4, and notifies the 5G module to switch the power status to mode 4. After receiving the notification, the 5G will power on the positioning chip and notify the MCU that it has switched to mode 4.

[0075] In mode 5, the 5G module detects that event 11 has occurred. The 5G module will wake up and control itself to enter the normal working state. Then it will notify the MCU that it has been woken up. The MCU will switch the power status of the whole machine to mode 4 and notify the 5G module to switch the power status to mode 4. After receiving the notification, the 5G will power on the positioning chip. Finally, the 5G module will notify the MCU that it has switched to mode 4.

[0076] In mode six, the MCU detects that event 6 has occurred, switches the power status of the entire device to mode two, and notifies the 5G module to switch the power status to mode two. After receiving the notification, the 5G module powers on the positioning chip and notifies the MCU that it has switched to mode two.

[0077] In mode six, the 5G module detects that event 6 has occurred. The 5G module will wake up and control itself to enter the normal working state. Then it will notify the MCU that it has been woken up. The MCU will switch the power status of the whole machine to mode two and notify the 5G module to switch the power status to mode two. After receiving the notification, the 5G will power on the positioning chip. Finally, the 5G module will notify the MCU that it has switched to mode two.

[0078] In mode seven, the MCU detects event 7 and switches the overall power state to mode two, controls the 5G module to power on, and then notifies the 5G module to switch its power state to mode two. Upon receiving the notification, the 5G module powers on the positioning chip and notifies the MCU that it has switched to mode two.

[0079] In mode 7, the MCU detects that event 9 has occurred, and the MCU will control itself to power down and the whole machine will enter mode 1.

[0080] This invention can achieve at least the following technical effects:

[0081] 1. This invention adopts a hierarchical power management approach for the entire device. A primary power management unit (e.g., an MCU) is responsible for the overall power state switching. Some other chips are designated as secondary power management units (e.g., MPUs), responsible for receiving instructions from the primary power management unit and controlling the power consumption of connected downstream chips, as well as their own power consumption. Alternatively, the primary power management unit can also directly control the power consumption of some other chips. This hierarchical management saves power and speeds up startup.

[0082] 2. This invention designs possible power consumption state combinations of various chips in the vehicle controller to form multiple overall power states. The overall power state is maintained by the MCU, which can improve power management efficiency and avoid unnecessary chip startup that wastes power.

[0083] 3. In this invention, the switching between overall power states is event-driven. The primary power management unit switches the overall power state to a preset value based on the currently occurring event and the current overall power state. This event-driven approach simplifies power management logic and improves power management efficiency.

[0084] 4. When the primary power management unit of this invention switches power states, it notifies the secondary power management unit. The secondary power management unit can request the MCU to switch the overall power state according to its own or its downstream chips' business logic. Based on the latest overall power state received, it sets itself and its downstream chips to enter the preset chip power consumption state corresponding to that overall power state. The secondary power management unit can report its own business logic state to the primary power management unit and can provide feedback to the MCU regarding whether the setting was successful or not. Further standardizing the execution actions of each chip after power hierarchical management can further avoid unnecessary chip startup, and the feedback of the design execution after switching states can improve chip security. Attached Figure Description

[0085] The accompanying drawings are intended to illustrate the general characteristics of the methods, structures, and / or materials used in specific exemplary embodiments of the invention, supplementing the description in the specification. However, the drawings are schematic diagrams not drawn to scale and may not accurately reflect the precise structural or performance characteristics of any of the given embodiments. The drawings should not be construed as limiting or restricting the range of numerical values ​​or properties covered by exemplary embodiments of the invention. The invention will now be described in further detail with reference to the accompanying drawings and specific embodiments:

[0086] Figure 1 This is a schematic diagram of the vehicle networking box structure of the present invention.

[0087] Figure 2 This is a schematic diagram of the power supply state switching of the entire machine according to the present invention.

[0088] Description of Reference Numerals

[0089] Event1 to Event12 represent different events;

[0090] OFF indicates mode one

[0091] Telematics representation mode two

[0092] C-V2X indicates Mode 3

[0093] Telematics+IMX8 Standby Mode 4

[0094] Listen+IMX8 Standby indicates mode five

[0095] Listen indicates mode six

[0096] Sleep indicates mode seven. Detailed Implementation

[0097] The following specific embodiments illustrate the implementation of the present invention. Those skilled in the art can fully understand other advantages and technical effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through different specific embodiments, and the details in this specification can also be applied based on different viewpoints, with various modifications or changes made without departing from the overall design concept of the invention. It should be noted that, unless otherwise specified, the following embodiments and features can be combined with each other. The following exemplary embodiments of the present invention can be implemented in many different forms and should not be construed as being limited to the specific embodiments set forth herein. It should be understood that these embodiments are provided to make the disclosure of the present invention thorough and complete, and to fully convey the technical solutions of these exemplary embodiments to those skilled in the art.

[0098] First embodiment;

[0099] This invention provides a power management method for an on-board controller, comprising:

[0100] Assign power management levels to each chip within the vehicle controller;

[0101] The primary power management unit controls the switching of the overall power mode and the power consumption of the secondary power management unit.

[0102] Alternatively, the primary power management unit controls the switching of the overall power mode, the power consumption of the secondary power management unit, and the power consumption of other specified chips within the vehicle controller;

[0103] The secondary power management unit controls its own and its subordinate chips' power consumption according to the instructions of the primary power management unit;

[0104] The power consumption state combinations of each chip in the vehicle controller are specified to form multiple overall power supply modes;

[0105] Specify the event that triggers the switching of the entire machine's power mode;

[0106] The primary power management unit controls and switches the overall power mode based on the current overall power mode and the events that occur.

[0107] Specifies the operations performed by the primary power management unit, the secondary power management unit, and other designated chips when a system power mode switch occurs.

[0108] Second embodiment;

[0109] This invention provides a power management method for an on-board controller, comprising:

[0110] Assign power management levels to each chip within the vehicle controller;

[0111] The primary power management unit controls the switching of the overall power mode and the power consumption of the secondary power management unit.

[0112] Alternatively, the primary power management unit controls the switching of the overall power mode, the power consumption of the secondary power management unit, and the power consumption of other specified chips within the vehicle controller;

[0113] When the primary power management unit switches the overall power mode, it notifies the secondary power management unit. The secondary power management unit, based on the instruction received from the primary power management unit and the latest overall power mode, sets the power consumption status of itself and its downstream chips corresponding to the switched overall power mode.

[0114] After the secondary power management unit is set up, it also provides feedback on the setting results to the primary power management unit, reports its own business logic status to the primary power management unit, and can request the primary power management unit to switch the whole machine power mode according to its own or its subordinate chip's business logic.

[0115] The power consumption state combinations of each chip in the vehicle controller are specified to form multiple overall power supply modes;

[0116] Specify the event that triggers the switching of the entire machine's power mode;

[0117] The primary power management unit controls and switches the overall power mode based on the current overall power mode and the events that occur.

[0118] Specifies the operations performed by the primary power management unit, the secondary power management unit, and other designated chips when a system power mode switch occurs.

[0119] Third embodiment;

[0120] The present invention provides a computer-readable storage medium for performing the steps of the vehicle controller power management method described in the first or second embodiment.

[0121] Fourth embodiment;

[0122] This invention provides an on-board controller power management system, comprising:

[0123] The primary power management unit is used to control the switching of the overall power mode and the power consumption of the secondary power management unit.

[0124] Alternatively, it can be used to control the switching of the power mode of the entire machine, the power consumption of the secondary power management unit, and the power consumption of other specified chips in the vehicle controller;

[0125] The secondary power management unit is used to control the power consumption of itself and its subordinate chips according to the instructions of the primary power management unit.

[0126] The power mode module presets the power consumption state combinations of each chip in the vehicle controller to form multiple overall power modes.

[0127] The trigger module is used to specify the event that triggers the switching of the power mode of the entire machine;

[0128] Among them, the first-level power management unit controls the switching of the overall power mode based on the current overall power mode and the events that occur.

[0129] When the overall power mode switch occurs, the primary power management unit, the secondary power management unit, and other designated chips perform preset operations.

[0130] Fifth embodiment;

[0131] For example Figure 1 The vehicle networking box shown is used as an example of an in-vehicle controller implementing the solution of the present invention. The vehicle networking box includes:

[0132] MCU, which serves as a primary power management unit;

[0133] MPU, which serves as a secondary power management unit;

[0134] Other chips inside the vehicle networking box include:

[0135] 5G module, which provides internet access for vehicle networking boxes;

[0136] V2X module, which provides V2X communication services for vehicle networking boxes;

[0137] A positioning chip is used to obtain the current location information of the vehicle-mounted box;

[0138] Encryption chip, used for signing, extending, encrypting and decrypting V2X messages.

[0139] This invention provides an on-board controller power management system, comprising:

[0140] MCU, which is used to control the power mode switching of the whole machine and the power consumption of MPU;

[0141] Alternatively, it can be used to control the switching of the power mode of the entire machine, the power consumption of the MPU, and the power consumption of other specified chips in the vehicle controller;

[0142] MPU is used to control the power consumption of itself and its downstream chips according to MCU instructions;

[0143] The power mode module presets the power consumption state combinations of each chip in the vehicle controller to form multiple overall power modes.

[0144] The trigger module is used to specify the event that triggers the switching of the power mode of the entire machine;

[0145] The MCU controls the switching of the overall power mode based on the current overall power mode and the event that occurs.

[0146] When the overall power mode switch occurs, the MCU, MPU and other designated chips (5G module, V2X module, positioning chip, encryption chip, etc.) perform preset operations.

[0147] Sixth embodiment;

[0148] Continue as Figure 1 The vehicle networking box shown is an example of an in-vehicle controller implementing the solution of this invention; similar replacement copies will not be described again. This invention provides an in-vehicle controller power management system, including:

[0149] MCU, which is used to control the power mode switching of the whole machine and the power consumption of MPU;

[0150] Alternatively, it can be used to control the switching of the power mode of the entire machine, the power consumption of the MPU, and the power consumption of other specified chips in the vehicle controller;

[0151] MPU is used to control the power consumption of itself and its downstream chips according to MCU instructions;

[0152] The power mode module presets the power consumption state combinations of each chip in the vehicle controller to form multiple overall power modes.

[0153] The trigger module is used to specify the event that triggers the switching of the power mode of the entire machine;

[0154] The MCU controls the switching of the overall power mode based on the current overall power mode and the event that occurs.

[0155] When the overall power mode switch occurs, the MCU, MPU and other designated chips (5G module, V2X module, positioning chip, encryption chip, etc.) perform preset operations.

[0156] When the MCU switches the overall power mode, it notifies the MPU. The MPU sets the power consumption state of itself and its downstream chips to the corresponding power mode after the switch, based on the latest overall power mode received. After setting, the MPU also feeds back the setting result to the MCU and reports its own business logic state. The MPU can request the MCU to switch the overall power mode according to its own or its downstream chips' business logic.

[0157] Seventh embodiment;

[0158] Continue as Figure 1 The vehicle networking box shown is an example of an in-vehicle controller implementing the solution of this invention; similar replacement copies will not be described again. This invention provides an in-vehicle controller power management system, including:

[0159] MCU, which is used to control the power mode switching of the whole machine and the power consumption of MPU;

[0160] Alternatively, it can be used to control the switching of the power mode of the entire machine, the power consumption of the MPU, and the power consumption of other specified chips in the vehicle controller;

[0161] MPU is used to control the power consumption of itself and its downstream chips according to MCU instructions;

[0162] The power mode module presets the power consumption state combinations of each chip in the vehicle controller to form multiple overall power modes.

[0163] The trigger module is used to specify the event that triggers the switching of the power mode of the entire machine;

[0164] The MCU controls the switching of the overall power mode based on the current overall power mode and the event that occurs.

[0165] When the overall power mode switch occurs, the MCU, MPU and other designated chips (5G module, V2X module, positioning chip, encryption chip, etc.) perform preset operations.

[0166] When the MCU switches the overall power mode, it notifies the MPU. The MPU sets its own and its downstream chips' power consumption status to the corresponding chip power mode after the switch, based on the latest overall power mode received. After setting, the MPU also feeds back the setting result to the MCU and reports its own business logic status. The MPU can request the MCU to switch the overall power mode based on its own or its downstream chips' business logic.

[0167] The overall power supply modes include:

[0168] Mode 1: Power off the entire machine;

[0169] Mode 2: MCU is working normally, MPU is powered off, 5G module is working normally, V2X module is powered off, positioning chip module is working normally, encryption chip is powered off, and 5G module reports its status to MCU in real time.

[0170] Mode 3: All chips are working normally;

[0171] Mode 4: MCU operates normally, MPU operates at low power, 5G module operates normally, V2X module is powered off, positioning chip operates normally, encryption chip is powered off;

[0172] Mode 5: MCU operates normally, MPU operates at low power, 5G module operates at low power, V2X module is powered off, positioning chip operates at low power, and encryption chip is powered off.

[0173] Mode 6: MCU operates normally, MPU is powered off, 5G module operates at low power, V2X module is powered off, positioning chip is powered off, encryption chip is powered off;

[0174] Mode 7: MCU low-power operation, MPU shutdown, 5G shutdown, V2X module shutdown, positioning chip shutdown, encryption chip shutdown;

[0175] In Mode 2, the 5G module reports its status to the MCU in real time; in Modes 4 and 5, the MPU can be woken up by the MCU and enter normal working state when in standby mode; in Mode 6, the remote vehicle control center can wake up the 5G module via network data, SMS or telephone; in Mode 7, the MCU can be woken up by the RTC clock, external CAN and peripherals and switch the power mode of the whole machine.

[0176] The events include:

[0177] Event 1: KL30 On;

[0178] Event 2: KL30 is off and battery is low;

[0179] Incident 3: Vehicle ignition;

[0180] Incident 4: The vehicle stalled, and KL15 was off;

[0181] Event 5: KL30 is on, the vehicle is off, KL15 is off, and there is no Telematics service for more than a specified time; the specified time ranges from 2 minutes to 5 minutes.

[0182] Event 6: KL30 OFF, or KL15 on, or sensor wake-up, or exceeding the maximum cycle of mode six, or receiving wake-up data, SMS or phone call from the remote vehicle control center;

[0183] Event 7: Periodic wake-up or sensor wake-up;

[0184] Event 8: KL30 On, vehicle off, KL15 off, no Telematics service for more than the specified time, and exceeding the maximum cycle of Mode 6;

[0185] Event 9: KL30 OFF;

[0186] Incident 10: KL30 is on, the vehicle is off, KL15 is off, there has been no Telematics service for 2 minutes, and the maximum standby time allowed by the MPU has been exceeded;

[0187] Event 11: KL30 OFF, or KL15 on, or sensor wake-up, or receiving wake-up data, SMS or phone call from the remote vehicle control center;

[0188] Event 12: Exceeding the maximum allowed standby time of the MPU;

[0189] As shown in Figure 2, when a system power mode switch occurs, the preset operations performed by the primary power management unit, the secondary power management unit, and other designated chips include:

[0190] When the power state of the whole machine is in mode one, if event 1 occurs, the MCU will switch the whole machine to mode two and power on the 5G module. The MCU will notify the 5G module to enter mode two. After receiving the above notification, the 5G will power on the positioning chip and notify the MCU that it has switched to mode two.

[0191] In mode 2, if event 2 occurs, the MCU notifies the 5G module to enter mode 1. The 5G module will shut down the positioning chip and notify the MCU that it has switched to mode 1. After receiving the notification, the MCU will shut down the 5G module, end its own business logic, and then power off.

[0192] In mode 2, if event 8 occurs, the MCU notifies the 5G module to enter mode 7. The 5G module will shut down the positioning chip and notify the MCU that it has switched to mode 7. After receiving the notification, the MCU will shut down the 5G module and control it to enter a low-power state.

[0193] In mode 2, if event 5 occurs, the MCU notifies the 5G module to enter mode 6. The 5G module will shut down the positioning chip, then control itself to enter a low-power state and notify the MCU that it has entered a low-power state.

[0194] In Mode 2, if Event 3 occurs, the MCU notifies the 5G module to enter Mode 3. The 5G module controls the V2X module to power on and notifies the MCU that it has switched to Mode 3. Simultaneously, the MCU controls the MPU to power on and notifies the MPU to enter Mode 3. The MPU controls the encryption chip to power on and enter normal working state. After the MPU enters normal working state, it notifies the CPU that it has switched to Mode 3.

[0195] In mode 3, the MCU detects event 2 and controls the power state of the entire device to switch to mode 1. It notifies the 5G module and MPU to switch to mode 1. The 5G module will shut down the positioning chip and notify the MCU that it has switched to mode 1. After receiving the notification from the 5G module, the MCU will shut down the 5G module. The MPU will shut down the encryption chip and notify the MCU that it has switched to mode 1. After receiving the notification from the MPU, the MCU will shut down the MPU. After shutting down the 5G module and MPU, the MCU will end its own business logic and then power off.

[0196] In mode 3, the MCU detects event 4, controls the power state of the whole machine to switch to mode 4, and notifies the 5G module and MPU to switch to mode 4. After receiving the notification, the 5G module shuts down the V2X module and notifies the MCU that it has switched to mode 4. After receiving the notification, the MPU controls the encryption chip to shut down and notifies the MCU that it has switched to mode 4. After receiving feedback from the 5G module and MPU, the MCU controls the MPU to enter a low-power state.

[0197] In mode four, after the MCU detects event 3, it switches the power status of the entire device to mode three. Then, the MCU notifies the 5G module to enter mode three. The 5G module controls the V2X module to enter the working state and notifies the MCU that it has switched to mode three. At the same time, the MCU wakes up the MPU and makes the MPU enter the normal working state. Then, the MCU notifies the MPU to enter mode three. The MPU controls the encryption chip to power on and enter the normal working state. After the MPU enters the normal working state, it notifies the CPU that it has switched to mode three.

[0198] In mode four, after the MCU detects event 10, the MCU switches the power mode of the whole machine to mode five and notifies the 5G module to enter mode five. After receiving the notification, the 5G module controls the positioning chip to shut down and controls its own power consumption state to enter a low power state. Then it notifies the MCU that its state switching is complete.

[0199] In mode five, the MCU detects that event 12 has occurred, directly controls the MPU to shut down, and switches the power state to mode six;

[0200] In mode 5, the MCU detects that event 11 has occurred, switches the power status of the whole machine to mode 4, and notifies the 5G module to switch the power status to mode 4. After receiving the notification, the 5G will power on the positioning chip and notify the MCU that it has switched to mode 4.

[0201] In mode 5, the 5G module detects that event 11 has occurred. The 5G module will wake up and control itself to enter the normal working state. Then it will notify the MCU that it has been woken up. The MCU will switch the power status of the whole machine to mode 4 and notify the 5G module to switch the power status to mode 4. After receiving the notification, the 5G will power on the positioning chip. Finally, the 5G module will notify the MCU that it has switched to mode 4.

[0202] In mode six, the MCU detects that event 6 has occurred, switches the power status of the entire device to mode two, and notifies the 5G module to switch the power status to mode two. After receiving the notification, the 5G module powers on the positioning chip and notifies the MCU that it has switched to mode two.

[0203] In mode six, the 5G module detects that event 6 has occurred. The 5G module will wake up and control itself to enter the normal working state. Then it will notify the MCU that it has been woken up. The MCU will switch the power status of the whole machine to mode two and notify the 5G module to switch the power status to mode two. After receiving the notification, the 5G will power on the positioning chip. Finally, the 5G module will notify the MCU that it has switched to mode two.

[0204] In mode seven, the MCU detects event 7 and switches the overall power state to mode two, controls the 5G module to power on, and then notifies the 5G module to switch its power state to mode two. Upon receiving the notification, the 5G module powers on the positioning chip and notifies the MCU that it has switched to mode two.

[0205] In mode 7, the MCU detects that event 9 has occurred, and the MCU will control itself to power down and the whole machine will enter mode 1.

[0206] Unless otherwise defined, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It will also be understood that, unless expressly defined herein, terms such as those defined in a general dictionary shall be interpreted as having the meaning consistent with their meaning in the relevant field context, and not as having an idealized or overly formal meaning.

[0207] The present invention has been described in detail above through specific embodiments and examples, but these are not intended to limit the invention. Many modifications and improvements can be made by those skilled in the art without departing from the principles of the invention, and these should also be considered within the scope of protection of the present invention.

Claims

1. A vehicle controller power management method, characterized in that: include: Specify power management levels for each chip in the vehicle controller; The primary power management unit controls the switching of the whole machine power mode and the power consumption of the secondary power management unit; Or, the primary power management unit controls the switching of the whole machine power mode, the power consumption of the secondary power management unit and the power consumption of other specified chips in the vehicle controller; The secondary power management unit controls its own power consumption and that of its lower-level chips according to the instructions of the primary power management unit; Specify the power consumption state combination of each chip in the vehicle controller to form a variety of whole machine power modes; Specify the event that triggers the whole machine power mode switching; The first-level power management unit executes the whole machine power mode switching according to the current whole machine power mode and the event control; Specify the preset operations to be performed by the primary power management unit, secondary power management unit and other specified chips when the whole machine power mode is switched; Among them, the first-level power management unit notifies the second-level power management unit when switching the whole machine power mode. The second-level power management unit sets itself and its subordinate chips to the chip power consumption state corresponding to the whole machine power mode after switching according to the latest whole machine power mode received.

2. The vehicle controller power management method according to claim 1, characterized in that: After the secondary power management unit completes the setup, it also provides feedback of the setup results to the primary power management unit.

3. The vehicle controller power management method according to claim 1, characterized in that: The secondary power management unit can report its own business logic status to the primary power management unit.

4. The vehicle controller power management method according to claim 1, characterized in that: The secondary power management unit can request the primary power management unit to switch the power mode of the entire machine according to its own business logic or the business logic of its lower-level chip.

5. A computer-readable storage medium for executing the steps in the vehicle controller power management method described in any one of claims 1-4.

6. A vehicle controller power management system, characterized in that: include: Specify power management levels for each chip in the vehicle controller; A primary power management unit, which is used to control the power mode switching of the entire machine and the power consumption of the secondary power management unit; Or, the primary power management unit is used to control the switching of the power mode of the whole machine, the power consumption of the secondary power management unit and the power consumption of other specified chips in the vehicle controller; A secondary power management unit, which is used to control the power consumption of itself and its lower-level chips according to the instructions of the primary power management unit; The power mode module presets the power consumption state combination of each chip in the vehicle controller to form a variety of whole machine power modes; A trigger module, which is used to specify an event that triggers the switching of the power mode of the whole machine; Among them, the first-level power management unit executes the whole machine power mode switching according to the current whole machine power mode and the event control; When the whole machine power mode is switched, the preset operations performed by the primary power management unit, the secondary power management unit and other designated chips; Among them, the first-level power management unit notifies the second-level power management unit when switching the whole machine power mode. The second-level power management unit sets itself and its subordinate chips to the chip power consumption state corresponding to the whole machine power mode after switching according to the latest whole machine power mode received.

7. The vehicle controller power management system according to claim 6, characterized in that: The vehicle controller is a car networking box for intelligent driving, including: MCU, which serves as the primary power management unit; MPU, which acts as a secondary power management unit; Other chips in the car networking box include: 5G module, which provides Internet access for the Internet of Vehicles box; V2X module, which provides V2X communication services for the connected car box; Positioning chip, which is used to obtain the current positioning information of the vehicle box; Encryption chip, signing, extension, encryption and decryption of V2X messages.

8. The vehicle controller power management system according to claim 7, characterized in that: After the secondary power management unit completes the setup, it also provides feedback of the setup results to the primary power management unit.

9. The vehicle controller power management system according to claim 6, characterized in that: The secondary power management unit can report its own business logic status to the primary power management unit.

10. The vehicle controller power management system according to claim 6, characterized in that: The secondary power management unit can request the primary power management unit to switch the power mode of the entire machine according to its own business logic or the business logic of its lower-level chip.

11. The vehicle controller power management system according to claim 7, characterized in that: The whole machine power supply mode includes: Mode 1: Shut down the whole machine; Mode 2: MCU works normally, MPU is turned off, 5G module works normally, V2X module is turned off, positioning chip module works normally, encryption chip is turned off, and 5G module reports its status to MCU in real time; Mode 3: All chips work normally; Mode 4: MCU works normally, MPU works at low power consumption, 5G module works normally, V2X module is turned off, positioning chip works normally, and encryption chip is turned off; Mode 5: MCU works normally, MPU works at low power consumption, 5G module works at low power consumption, V2X module is turned off, positioning chip works at low power consumption, and encryption chip is turned off; Mode 6: MCU works normally, MPU is turned off, 5G module works with low power consumption, V2X module is turned off, positioning chip is turned off, and encryption chip is turned off; Mode 7: MCU works at low power consumption, MPU is turned off, 5G is turned off, V2X module is turned off, positioning chip is turned off, and encryption chip is turned off.

12. The vehicle controller power management system according to claim 11, characterized in that: In mode 2, the 5G module reports its own status to the MCU in real time.

13. The vehicle controller power management system according to claim 11, characterized in that: In mode 4 and mode 5: the MPU can be awakened by the MCU in standby mode and enter normal working state.

14. The vehicle controller power management system according to claim 11, characterized in that: In mode six, the remote vehicle control center can wake up the 5G module through network data, text messages or phone calls.

15. The vehicle controller power management system according to claim 11, characterized in that: In mode seven, the MCU can be awakened by the RTC clock, external CAN and peripherals and switch the power mode of the whole device.

16. The vehicle controller power management system according to claim 11, characterized in that: The events described include: Event 1: KL30 On; Event 2: KL30 is OFF and the battery is low; Event 3: Vehicle ignition; Event 4: The vehicle is turned off and KL15 is off; Event 5: KL30 is on, the vehicle is turned off, KL15 is off, and there is no Telematics service for more than the specified time; Event 6: KL30 is OFF, or KL15 is on, or the sensor wakes up, or the maximum cycle of mode 6 is exceeded, or wake-up data, SMS or phone call is received from the remote vehicle control center; Event 7: periodic wake-up or sensor wake-up; Event 8: KL30 is on, the vehicle is turned off, KL15 is off, and there is no Telematics service for more than the specified time, and the maximum period of mode 6 is exceeded; Event 9: KL30 OFF; Event 10: KL30 is on, the vehicle is turned off, KL15 is off, there is no Telematics service for 2 minutes, and the maximum standby time allowed by the MPU is exceeded; Event 11: KL30 is OFF, or KL15 is on, or the sensor wakes up, or the wake-up data, SMS or phone call from the remote vehicle control center is received; Event 12 and Event 13: The maximum standby time allowed by the MPU is exceeded.

17. The vehicle controller power management system according to claim 16, characterized in that: The specified time ranges from 2 minutes to 5 minutes.

18. The vehicle controller power management system according to claim 16, characterized in that: When the whole machine power mode is switched, the primary power management unit, secondary power management unit and other designated chips perform preset operations, including: When the power state of the whole machine is in mode 1, if event 1 occurs, the MCU switches the state of the whole machine to mode 2, and powers on the 5G module. The MCU notifies the 5G module to enter mode 2. After receiving the above notification, the 5G module powers on the positioning chip and notifies the MCU that it has entered mode 2. In mode 2, if event 2 occurs, the MCU notifies the 5G module to enter, the 5G module will shut down the positioning chip, and notify the MCU that it has entered mode 1. After receiving the notification, the MCU shuts down the 5G module, ends its own business logic, and then powers off. In mode 2, if event 8 occurs, the MCU notifies the 5G module to enter mode 7. The 5G module will shut down the positioning chip and notify the MCU that it has entered mode 7. After receiving the notification, the MCU will shut down the 5G module and control itself to enter a low power consumption state. In mode 2, if event 5 occurs, the MCU notifies the 5G module to enter mode 6. The 5G module shuts down the positioning chip, controls itself to enter a low power state, and notifies the MCU that it has entered a low power state. In mode 2, if event 3 occurs, the MCU notifies the 5G module to enter mode 3. The 5G module controls the V2X module to start up and notifies the MCU that it has entered mode 3. At the same time, the MCU controls the MPU to start up and notifies the MPU to enter mode 3. The MPU controls the encryption chip to start up and enter normal working state. After the MPU enters normal working state, it notifies the CPU that it has entered mode 3. In mode three, the MCU detects event 2, controls the power state of the whole machine to enter mode one, notifies the 5G module and MPU to enter mode one, the 5G module shuts down the positioning chip, and notifies the MCU that it has entered mode one. After receiving the notification from the 5G module, the MCU shuts down the 5G module. The MPU shuts down the encryption chip and notifies the MCU that it has entered mode one. After receiving the notification from the MPU, the MCU shuts down the MPU. After shutting down the 5G module and MPU, the MCU ends its own business logic and then powers off. In mode three, the MCU detects event 4, controls the power state of the whole device to enter mode four, and notifies the 5G module and MPU to enter mode four. After receiving the notification, the 5G module shuts down the V2X module and notifies the MCU that it has entered mode four. After receiving the notification, the MPU controls the encryption chip to shut down and notifies the MCU that it has entered mode four. After receiving feedback from the 5G module and MPU, the MCU controls the MPU to enter a low power consumption state. In mode 4, after the MCU detects event 3, it switches the power state of the whole device to mode 3, and then the MCU notifies the 5G module to enter mode 3. The 5G module controls the V2X module to enter the working state and notifies the MCU that it has entered mode 3. At the same time, the MCU wakes up the MPU to make the MPU enter the normal working state. Then the MCU notifies the MPU to enter mode 3. The MPU controls the encryption chip to start up and enter the normal working state. After the MPU enters the normal working state, it notifies the CPU that it has entered mode 3. In mode 4, after the MCU detects event 10, the MCU switches the power mode of the whole device to mode 5 and notifies the 5G module to enter mode 5. After receiving the notification, the 5G module controls the positioning chip to shut down and controls its own power consumption state to enter a low power consumption state, and then notifies the MCU that its state switching is completed; In mode 5, the MCU detects the occurrence of event 12 or event 13, directly controls the MPU to shut down, and switches the power state to mode 6; In mode 5, the MCU detects that event 11 occurs, switches the power state of the entire device to mode 4, and notifies the 5G module to switch the power state to mode 4. After receiving the notification, the 5G module powers on the positioning chip and notifies the MCU that it has switched to mode 4. In mode 5, the 5G module detects that event 11 has occurred. The 5G module will wake up and control itself to enter the normal working state, and then notify the MCU that it has woken up. The MCU switches the power state of the whole machine to mode 4 and notifies the 5G module to switch the power state to mode 4. After receiving the notification, the 5G will power on the positioning chip. Finally, the 5G module notifies the MCU that it has switched to mode 4. In mode 6, the MCU detects that event 6 has occurred, switches the power state of the entire device to mode 2, and notifies the 5G module to switch the power state to mode 2. After receiving the notification, the 5G module powers on the positioning chip and notifies the MCU that it has switched to mode 2. In mode 6, the 5G module detects that event 6 has occurred. The 5G module will wake up and control itself to enter the normal working state, and then notify the MCU that it has woken up. The MCU switches the power state of the whole machine to mode 2 and notifies the 5G module to switch the power state to mode 2. After receiving the notification, the 5G will power on the positioning chip. Finally, the 5G module notifies the MCU that it has switched to mode 2. In mode 7, the MCU detects that event 7 has occurred. The MCU switches the power state of the entire device to mode 2, controls the 5G module to start up, and then notifies the 5G module to switch the power state to mode 2. After receiving the notification, the 5G module powers on the positioning chip and notifies the MCU that it has switched to mode 2. In mode seven, when the MCU detects that event 9 occurs, the MCU will control itself to power off and the whole device will enter mode one.