A controller hibernation and wake-up control method, system, device, and storage medium

By establishing hard-wired connections between vehicle controllers and utilizing the periodic transmission of wake-up signals and voltage variations, the problem of low reliability of controller sleep-wake-up in existing technologies is solved, achieving simplified controller sleep-wake-up control and reducing the risk of vehicle battery depletion.

CN116880437BActive Publication Date: 2026-06-02CHERY AUTOMOBILE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHERY AUTOMOBILE CO LTD
Filing Date
2023-06-28
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

Existing automotive controllers rely on network signals for sleep and wake-up, resulting in low reliability and a risk of battery drain due to the vehicle network not going into sleep mode. Furthermore, this places high demands on the software development and testing capabilities of controller suppliers.

Method used

By establishing hardwired connections between controllers, the periodic transmission of wake-up signals and voltage variations are used to control the controllers' sleep and wake-up states. This includes periodic transmission of wake-up signals, sleep state detection, and arbitration mechanisms to ensure that the controllers enter a sleep state when there is no need for wake-up.

Benefits of technology

It achieves reliable sleep and wake-up control without relying on the upper-level software of the controller, simplifies the sleep and wake-up process between controllers, and reduces the risk of battery depletion in the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116880437B_ABST
    Figure CN116880437B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose a controller hibernation and wake-up control method, system, device and storage medium. The method comprises: connecting a plurality of controllers through a hard line; when the controller is in a power-off state and has a wake-up demand, sending n connected wake-up signals with a period t of the wake-up signal; after detecting the wake-up signal, the controller enters a wake-up state. The exemplary embodiments of the present disclosure provide a vehicle controller hibernation and wake-up method independent of the upper-layer software of the controller. The controllers having hibernation and wake-up demands are connected through a hard line, and the hibernation and wake-up control through the voltage change of the hard line becomes simple and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of automotive technology, specifically to a method, system, device, and storage medium for controlling the hibernation and wake-up of an automotive controller. Background Technology

[0002] As automotive functions become increasingly sophisticated, the number of electronic controllers in vehicles is also growing. Some of these functions need to continue operating even after the vehicle is powered off. Therefore, these controllers need to be directly connected to the battery. However, these controllers continuously drain the battery, reducing the vehicle's storage time. Furthermore, the inability of these controllers to enter sleep mode increases the risk of battery depletion. Currently, sleep and wake-up of these controllers in vehicles are primarily achieved through network signals, with each controller adding a dedicated network management frame. However, this method places high demands on the software development and testing capabilities of the controller suppliers and is prone to bugs within the controllers that can prevent the entire vehicle network from entering sleep mode, leading to battery depletion. Therefore, a more reliable method for controlling the sleep and wake-up of vehicle controllers that does not rely on upper-level controller software is urgently needed. Connecting controllers with sleep and wake-up requirements via a hardwired connection, and controlling sleep and wake-up through voltage changes on this hardwired connection, becomes simple and reliable. Summary of the Invention

[0003] This disclosure provides a controller hibernation and wake-up control method, system, device, and storage medium to solve or alleviate the low reliability problem caused by hibernation and wake-up through network management frames in the prior art.

[0004] According to one aspect of this disclosure, a controller sleep and wake-up control method is provided, comprising:

[0005] Connect several controllers with hardwires;

[0006] When the controller is in a power-down state and has a wake-up requirement, n consecutive wake-up signals are sent with a wake-up signal period t.

[0007] Upon detecting the wake-up signal, the controller enters the wake-up state.

[0008] In one possible implementation, when the controller is powered on, the controller sends n connected wake-up signals at a period t of wake-up signals.

[0009] In one possible implementation, when the controller is powered down and there is no wake-up requirement, the wake-up signal is stopped;

[0010] When the duration of the stopped signal transmission reaches the set time T S1 When T enters sleep mode, all controllers are put into sleep mode.S1 = (n+1)*T, where n is the number of wake-up signal transmission cycles and t is the length of the wake-up signal transmission cycle.

[0011] In one possible implementation, the step of controlling all controllers to enter a sleep state includes:

[0012] When one of the controllers that has entered a sleep state has a wake-up request, the controller with the wake-up request sends a wake-up signal to n connected controllers.

[0013] When all controllers that have entered sleep mode receive wake-up signals from n connected controllers, they enter wake-up mode.

[0014] In one possible implementation, the step of controlling all controllers to enter a sleep state includes:

[0015] When multiple controllers among all controllers that have entered sleep mode have a wake-up request, all controllers send a wake-up signal.

[0016] The controller arbitrates multiple wake-up signals based on their lengths and forms an arbitration result.

[0017] The controller enters a wake-up state or remains in a sleep state based on the arbitration result.

[0018] In one possible implementation, the controller arbitrates based on the lengths of multiple wake-up signals and forms an arbitration result including:

[0019] Compare the signal lengths of multiple wake-up signals;

[0020] When the duty cycle of one of the multiple wake-up signals, wake-up signal a, is greater than the duty cycle of another wake-up signal, wake-up signal a continues to be sent, wake-up signal b stops being sent, and is sent again after the stop sending time reaches the set time n*t.

[0021] According to one aspect of this disclosure, a controller sleep and wake-up control system is provided, comprising a plurality of controllers connected by hardwire; the controllers include:

[0022] The transmitting unit is used to send n connection wake-up signals at a period t when the controller is in a power-down state and has a wake-up requirement;

[0023] The wake-up unit is used to detect the wake-up signal and, upon detecting the wake-up signal, to put the controller into the wake-up state.

[0024] According to one aspect of this disclosure, a controller sleep and wake-up control method device is provided, comprising:

[0025] Processor and memory;

[0026] The memory is used to store computer programs, and the processor calls the computer programs stored in the memory to execute the controller sleep and wake-up control method described above.

[0027] According to one aspect of this disclosure, a computer-readable storage medium is provided, wherein a computer program is stored therein, which, when executed by a processor, enables the processor to perform the controller sleep and wake-up control method described in any of the preceding claims.

[0028] The exemplary embodiments of this disclosure have the following beneficial effects: In the exemplary embodiments of this disclosure, when the controller is powered on or has a wake-up request after power-off, it sends n connected square wave signals with a period T, where the period of the square wave signal is t. Each controller's sleep / wake-up pin not only outputs the sleep / wake-up request status but also detects voltage changes on the sleep / wake-up hardwire. When all controllers have wake-up requests, the controllers arbitrate based on the length of the wake-up signal. When one controller detects that another controller has a wake-up voltage output, and the high-voltage output time is longer than its own output time, it stops the high-voltage output and, after a certain time delay, resumes output. The exemplary embodiments of this disclosure provide a sleep / wake-up method for a vehicle controller that does not rely on the upper-level software of the controller. Controllers with sleep / wake-up requests are connected via a single hardwire, making sleep / wake-up control through voltage changes on this hardwire simple and reliable.

[0029] Details of one or more embodiments of this application are set forth in the following drawings and description. Other features and advantages of this application will become apparent from the accompanying drawings. It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not intended to limit this disclosure. Attached Figure Description

[0030] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0031] Figure 1 This is a flowchart of a controller sleep and wake-up control method according to an exemplary embodiment of the present invention;

[0032] Figure 2 This is a block diagram of a controller's sleep and wake-up hardwired system connection in an exemplary embodiment of this invention;

[0033] Figure 3 This is a schematic diagram of the output cycle of the wake-up signal in this exemplary embodiment;

[0034] Figure 4 This is a schematic diagram of the wake-up signal output arbitration in this exemplary embodiment;

[0035] Figure 5 This is a block diagram of a controller sleep and wake-up control system according to an exemplary embodiment of the present invention;

[0036] Figure 6 This is a schematic diagram of the structure of a controller sleep and wake-up control device according to an exemplary embodiment of the present invention. Detailed Implementation

[0037] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this disclosure more comprehensive and complete, and to fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more of the specific details omitted, or other methods, components, apparatus, steps, etc., can be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of this disclosure.

[0038] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware units or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0039] The flowchart shown in the attached diagram is merely an illustrative example and does not necessarily include all steps. For example, some steps may be broken down, while others may be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0040] The term “comprising” and any variations thereof are intended to cover non-exclusive inclusion, such that a process, method, system, product, or apparatus that includes a series of steps or sub-modules is not necessarily limited to those steps or sub-modules that are explicitly listed, but may include other steps or sub-modules that are not explicitly listed or that are inherent to such process, method, product, or apparatus.

[0041] Figure 1 This is a flowchart of a controller sleep and wake-up control method according to an exemplary embodiment of the present invention, such as... Figure 1 As shown, an exemplary embodiment of this disclosure provides a controller sleep and wake-up control method, including:

[0042] Connect several controllers with hardwires;

[0043] When the controller is powered down and has a wake-up requirement, n wake-up signals for the connection are sent at a period t.

[0044] Upon detecting the wake-up signal, the controller enters the wake-up state.

[0045] Figure 2 This is a block diagram of a controller's sleep and wake-up hardwired system connection in an exemplary embodiment of this invention; as shown... Figure 2 As shown, there are several controllers, namely controller A, controller B, controller C and controller D, which are connected by a hard wire.

[0046] Specifically, when the controller is powered on, the controller sends n connected wake-up signals with a wake-up signal period t.

[0047] Specifically, when the controller is powered down and there is no wake-up requirement, the wake-up signal is stopped being sent;

[0048] When the duration of the stopped signal transmission reaches the set time T S1 When T enters sleep mode, all controllers are put into sleep mode. S1 = (n+1)*t, where n is the number of wake-up signal transmission cycles and t is the length of the wake-up signal transmission cycle.

[0049] Figure 3 This is a schematic diagram of the output cycle of the wake-up signal in this exemplary embodiment; as shown Figure 3 As shown in this exemplary embodiment, when the controller is powered on or has a wake-up request after power-off, it sends n connected square wave signals at a period t, where the period of the square wave signal is t. If the controller has no wake-up request after power-off, it stops sending this signal. If all controllers do not send wake-up signals and the duration reaches T... S1When the time is (n+1)*t, the controller enters a sleep state. When the controller is in a sleep state, if a controller needs to be woken up, it sends n connected square wave signals. When other controllers receive this signal, they enter the wake-up state.

[0050] Specifically, the process of controlling all controllers to enter a sleep state includes:

[0051] When one of the controllers that has entered a sleep state has a wake-up request, the controller with the wake-up request sends a wake-up signal to n connected controllers.

[0052] When all controllers that have entered sleep mode receive wake-up signals from n connected controllers, they enter wake-up mode.

[0053] Figure 4 This is a schematic diagram of the wake-up signal output arbitration in this exemplary embodiment; as shown Figure 4 As shown, specifically, the process of controlling all controllers to enter a sleep state includes:

[0054] When multiple controllers among all controllers that have entered sleep mode have a wake-up request, all controllers send a wake-up signal.

[0055] The controller arbitrates multiple wake-up signals based on their lengths and forms an arbitration result.

[0056] The controller enters a wake-up state or remains in a sleep state based on the arbitration result.

[0057] Specifically, the controller arbitrates based on the lengths of multiple wake-up signals and forms an arbitration result including:

[0058] Compare the signal lengths of multiple wake-up signals;

[0059] When the duty cycle of one of the multiple wake-up signals, wake-up signal a, is greater than the duty cycle of another wake-up signal b, the wake-up signal continues to be sent, wake-up signal b stops being sent, and is sent again after the stop sending time reaches the set time n*t.

[0060] For example, when the vehicle power supply is in ACC or ON position, all controllers output 5 consecutive square waves with a period of t. The period of these square waves is t, and the duty cycle of the square waves is 20% to 80%. When controller A and controller B send signals simultaneously, if the duty cycle of controller A's square wave is greater than that of controller B, then controller A has a higher priority than controller B. Controller B then stops sending signals and sends them again after 5*t, and so on.

[0061] When the vehicle power supply is in the OFF position, if controller A still requires a wake-up signal, it will continue to output n consecutive square waves with a period of t. When other controllers on the bus receive this square wave signal, they will remain awake, with all input and output pins under monitoring and relevant application signals being transmitted normally. When controller A has no wake-up requirement, it stops periodically sending wake-up square wave signals. When all controllers stop sending wake-up square wave signals, indicating no work requests, the controller enters sleep mode after stopping receiving or sending wake-up square waves for 6*t seconds.

[0062] When the vehicle power supply is in the OFF position, all controllers are in sleep mode, and their sleep and wake-up pins have no output. If controller A needs to wake up other related controllers, controller A outputs 5 consecutive square waves at a period t. When other controllers receive the rising edge voltage signal of this square wave, they wake up the controller. The controller's input and output pins remain in monitoring mode, and the controller's relevant application signals are transmitted normally. Once controller A no longer needs to be woken up, the other related controllers enter sleep mode after a time of 5*T.

[0063] Figure 5 This is a block diagram of a controller sleep and wake-up control system according to an exemplary embodiment of this invention. Figure 5 As shown, an exemplary embodiment of this disclosure provides a controller sleep and wake-up control system, including:

[0064] It includes several controllers, which are connected by hardwire; the controllers include:

[0065] The sending unit is used to send n connection wake-up signals at a period t when the controller is in a power-down state and has a wake-up requirement. The period of the wake-up signal is t.

[0066] The wake-up unit is used to detect the wake-up signal and, upon detecting the wake-up signal, to put the controller into the wake-up state.

[0067] Specifically, the sending unit is also used to send n connection wake-up signals at a period t when the controller is powered on, and the period of the wake-up signal is t.

[0068] Specifically, including:

[0069] The stop unit is used to stop sending wake-up signals when the controller is powered down and there is no wake-up requirement;

[0070] A sleep control unit is used to control the period of time when the signal transmission is stopped for a set time T. S1 When T enters sleep mode, all controllers are put into sleep mode. S1= (n+1)*t, where n is the number of wake-up signal transmission cycles and t is the length of the wake-up signal transmission cycle.

[0071] Specifically, including:

[0072] When one of the controllers that has entered a sleep state has a wake-up request, the controller with the wake-up request sends a wake-up signal to n connected controllers.

[0073] When all controllers that have entered sleep mode receive wake-up signals from n connected controllers, they enter wake-up mode.

[0074] Specifically, when multiple controllers among all controllers that have entered the sleep state have a wake-up request, all multiple controllers send a wake-up signal.

[0075] The controller is used to arbitrate based on the length of multiple wake-up signals and form an arbitration result;

[0076] The controller is used to enter a wake-up state or remain in a sleep state based on the arbitration result.

[0077] Specifically, including:

[0078] A comparison unit is used to compare the signal lengths of multiple wake-up signals;

[0079] The continuous transmission unit is used to continuously transmit wake-up signal a when the duty cycle of one of the multiple wake-up signals a is greater than the duty cycle of another wake-up signal b.

[0080] The stop transmission unit is used to stop transmitting wake-up signal b when the length of one of the multiple wake-up signals a is greater than the length of another wake-up signal b, and to transmit again after the stop transmission time reaches a set time n*t.

[0081] Figure 6 This is a schematic diagram of the structure of a controller sleep and wake-up control device according to an exemplary embodiment of this invention. Figure 6 As shown, corresponding to the controller sleep and wake-up control method provided above, the present invention also provides a controller sleep and wake-up control device. Since the embodiment of this device is similar to the above method embodiment, the description is relatively simple; relevant details can be found in the description of the above method embodiment section. The device described below is merely illustrative. This device may include: a processor, a memory, a communication bus (i.e., the aforementioned device bus), and a lookup engine. The processor and memory communicate with each other through the communication bus and communicate with external systems through a communication interface. The processor can call logical instructions in the memory to execute the controller sleep and wake-up control method.

[0082] Furthermore, the logical instructions in the aforementioned memory can be implemented as software functional units and sold or used as independent products, and can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as memory chips, USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0083] On the other hand, embodiments of the present invention also provide a processor-readable storage medium storing a computer program, which, when executed by a processor, is implemented to perform the controller sleep and wake-up control methods provided in the above embodiments.

[0084] The processor-readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic memory (e.g., floppy disk, hard disk, magnetic tape, magneto-optical disk (MO)), optical memory (e.g., CD, DVD, BD, HVD), and semiconductor memory (e.g., ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)).

[0085] The above are merely preferred embodiments of this disclosure. The scope of protection of this disclosure is not limited to the above embodiments. All technical solutions falling within the scope of this disclosure are protected. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of this disclosure should be considered within the scope of protection of this disclosure.

Claims

1. A controller sleep and wake-up control method, characterized in that, include: Connect several controllers with hardwires; When the controller is in a power-down state and has a wake-up requirement, n consecutive wake-up signals are sent with a wake-up signal period t. Upon detecting the wake-up signal, the controller enters the wake-up state; When multiple controllers among all controllers that have entered sleep mode have a wake-up request, all controllers send a wake-up signal. The controller arbitrates multiple wake-up signals based on their lengths and forms an arbitration result. The controller may enter a wake-up state or remain in a sleep state based on the arbitration result. The controller arbitrates multiple wake-up signals based on their lengths and forms an arbitration result including: Compare the signal lengths of multiple wake-up signals; When the duty cycle of one of the multiple wake-up signals, wake-up signal 'a', is greater than the duty cycle of another wake-up signal, 'b', wake-up signal 'a' continues to be sent while wake-up signal 'b' stops being sent, and the set time 'n' is reached after the signal stops being sent. Send again after t.

2. The controller sleep and wake-up control method according to claim 1, characterized in that, include: When the controller is powered on, it sends n wake-up signals for each connection at a period t.

3. The controller sleep and wake-up control method according to claim 1, characterized in that, include: When the controller is powered off and there is no need to wake it up, it stops sending wake-up signals. When the duration of the stopped signal transmission reaches the set time T S1 When T enters sleep mode, all controllers are put into sleep mode. S1 =(n+1) t, where n is the number of wake-up signal transmission cycles and t is the length of the wake-up signal transmission cycle.

4. The controller sleep and wake-up control method according to claim 3, characterized in that, The process of controlling all controllers to enter a sleep state includes: When one of the controllers that has entered a sleep state has a wake-up request, the controller with the wake-up request sends a wake-up signal to n connected controllers. When all controllers that have entered sleep mode receive wake-up signals from n connected controllers, they enter wake-up mode.

5. A controller sleep and wake-up control system, characterized in that, A controller sleep and wake-up control method according to any one of claims 1-4, comprising a plurality of controllers connected by hardwire; the controllers comprising: The transmitting unit is used to send n connection wake-up signals at a period t when the controller is in a power-down state and has a wake-up requirement; The wake-up unit is used to detect the wake-up signal and, upon detecting the wake-up signal, to put the controller into the wake-up state.

6. A controller sleep and wake-up control device, characterized in that, include: Processor and memory; The memory is used to store computer programs, and the processor calls the computer programs stored in the memory to execute the controller sleep and wake-up control method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, enables the processor to perform the controller sleep and wake-up control method according to any one of claims 1 to 4.