Control method and device for system chip of vehicle
By sending a timing wake-up signal when the vehicle system chip is in low-power mode or normal shutdown mode, waking up the microcontroller unit and monitoring its operating status, the problem of abnormal system chip abnormalities and undetected in time when the vehicle is not running for a long time is solved, and the safety and reliability of the vehicle are improved.
Patent Information
- Application Number
- CN202411468086.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2025-03-18
AI Technical Summary
The prior art is difficult to intelligently deal with abnormalities that may occur when the vehicle is not running for a long time and the system chip is in a low-power mode or a normal shutdown mode, affecting the safety and reliability of the vehicle.
When the system chip is in low power mode or normal shutdown mode, it uses the real-time clock to send a timing wake-up signal, wake up the microcontroller unit, and judge whether it is necessary to wake up the system chip based on the wake-up conditions, and then monitor its operating status and find abnormalities in a timely manner.
It realizes regular checking of the system chip status and timely discovering potential abnormalities, ensuring that the system chip responds quickly when needed, and improving the safety and reliability of the vehicle.
Smart Images

Figure CN119645215A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a control method and device for a system chip of a vehicle. Background Art
[0002] As the degree of vehicle electrification increases, the requirements for safety of vehicle systems are growing. When a vehicle has not been running for a long time and the system on chip (SOC) is in low power mode or normal shutdown mode, abnormalities that are not discovered in time may occur. These abnormalities will only appear after the SOC re-enters the normal operating mode. If they are not monitored and handled in time, they may affect the safety and reliability of the vehicle.
[0003] At present, there is no intelligent solution to the above problems. Summary of the invention
[0004] The present application provides a control method and device for a vehicle's system chip, which is used to solve the defects in the prior art that it is difficult to intelligently handle the situation when the vehicle has not been running for a long time, and the abnormalities that may occur when the SOC is in a low power consumption mode or a normal shutdown mode for a long time, thereby improving the safety of the vehicle.
[0005] In a first aspect, the present application provides a control method of a system chip of a vehicle, which is applied to a microcontroller unit, comprising:
[0006] When the vehicle is not used within a first preset time range and the system chip of the vehicle is in a low power consumption mode or a normal shutdown mode, waking up the microcontroller unit in response to a first wake-up signal received from the real-time clock;
[0007] After receiving the second wake-up signal of the real-time clock, determining whether the system chip meets the wake-up condition, and obtaining a determination result; the first wake-up signal and the second wake-up signal are both timed wake-up signals;
[0008] When the judgment result is that the wake-up condition is met, waking up the system chip;
[0009] When the system chip meets a first preset condition, a restart signal is sent to the system chip, and the running state of the system chip is monitored; the first preset condition is that the system chip is in a low power consumption mode and the system chip meets a restart condition.
[0010] Optionally, before waking up the microcontroller unit in response to the received first wake-up signal of the real-time clock, the control method of the system chip of the vehicle further includes:
[0011] When the system chip is in a normal operating mode, receiving a timing instruction of the system chip;
[0012] Based on the timing instruction, a timed wake-up task is set in the real-time clock; the timed wake-up task includes the first wake-up signal and the second wake-up signal.
[0013] Optionally, the determining whether the system chip meets the wake-up condition and obtaining a determination result includes:
[0014] Verifying the legitimacy of the second wake-up signal to obtain a verification result;
[0015] When the verification result is legal, checking whether the power supply voltage of the system chip is within the normal working voltage range of the system chip to obtain a checking result;
[0016] When the checking result is that the power supply voltage is within the normal operating voltage range of the system chip, it is determined that the judgment result satisfies the wake-up condition.
[0017] Optionally, waking up the system chip includes:
[0018] Determining the strength of the second wake-up signal based on the current mode of the system chip; the current mode includes a low power consumption mode and a normal shutdown mode;
[0019] The system chip is woken up based on the strength of the second wake-up signal.
[0020] Optionally, monitoring the operating status of the system chip includes:
[0021] Acquire a heartbeat signal sent when the system chip is in a normal operating mode;
[0022] Analyzing the heartbeat signal to obtain the operating status information of the system chip;
[0023] Based on the operation status information, determining whether an abnormal situation occurs in the system chip;
[0024] When the abnormal situation occurs in the system chip, the abnormal situation is processed.
[0025] Optionally, the control method of the system chip of the vehicle further includes:
[0026] When the vehicle is not used within a second preset time range and the system chip is in a normal operating mode, or after receiving a preset instruction, sending a first request to the system chip; the first request is a low power mode request or a normal shutdown mode request;
[0027] After receiving the first response from the system chip, controlling the system chip to immediately execute the first request;
[0028] After receiving the second response from the system chip, the system chip is controlled to delay execution of the first request according to a preset mechanism.
[0029] Optionally, executing the first request includes:
[0030] When the hardware configuration of the system chip meets a second preset condition, controlling the system chip to enter a low power consumption mode or a normal shutdown mode;
[0031] When the hardware configuration does not meet the second preset condition, the system chip is controlled to re-execute the process of entering the low power consumption mode or the normal shutdown mode, and after the system chip executes the process of the low power consumption mode or the normal shutdown mode for a preset number of times, if the hardware configuration still does not meet the second preset condition, the system chip is controlled to enter the forced shutdown mode.
[0032] Optionally, the control method of the system chip of the vehicle further includes:
[0033] After receiving the third wake-up signal, the system chip is woken up with the first priority.
[0034] In a second aspect, the present application further provides a control device for a system chip of a vehicle, comprising:
[0035] A first wake-up module, configured to wake up the microcontroller unit in response to a received first wake-up signal of the real-time clock when the vehicle is not used within a first preset time range and the system chip of the vehicle is in a low power consumption mode or a normal shutdown mode;
[0036] A judgment module, configured to judge whether the system chip meets the wake-up condition after receiving the second wake-up signal of the real-time clock, and obtain a judgment result; the first wake-up signal and the second wake-up signal are both timed wake-up signals;
[0037] A second wake-up module, configured to wake up the system chip when the judgment result satisfies the wake-up condition;
[0038] The restart module is used to send a restart signal to the system chip and monitor the operating state of the system chip when the system chip meets a first preset condition; the first preset condition is that the system chip is in a low power consumption mode and the system chip meets the restart condition.
[0039] In a third aspect, the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the computer program.
[0040] In a fourth aspect, the present application further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0041] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which implements the method described in the first aspect when executed by a processor.
[0042] The control method and device of the system chip of a vehicle provided in the present application can periodically wake up the system chip to make the system chip re-enter the normal operating mode when the vehicle has not been used for a long time and the system chip is in a low power consumption mode or a normal shutdown mode. This can periodically check the status of the system chip and promptly detect abnormal conditions of the system chip that are not apparent in the low power consumption mode or the normal shutdown mode, thereby ensuring that the system chip can respond quickly when needed, thereby improving the safety and reliability of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0044] Figure 1 is a flow chart of a method for controlling a system chip of a vehicle provided in an embodiment of the present application;
[0045] Figure 2 It is a schematic diagram of the principle of the system chip timed wake-up provided in the embodiment of the present application;
[0046] Figure 3 It is a schematic diagram of a process of waking up a system chip by a microcontroller unit provided in an embodiment of the present application;
[0047] Figure 4 is a schematic diagram of the interaction between the microcontroller unit and the system chip provided in an embodiment of the present application;
[0048] Figure 5 is a schematic diagram of the structure of a control device of a system chip of a vehicle provided in an embodiment of the present application;
[0049] Figure 6 It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0051] Figure 1 1 is a flow chart of a method for controlling a system chip of a vehicle provided in an embodiment of the present application. Figure 1 The embodiment of the present application provides a control method of a system chip of a vehicle, which is applied to a microcontroller unit (MCU). The method may include:
[0052] Step 110, when the vehicle is not used within a first preset time range and the system chip of the vehicle is in a low power consumption mode or a normal shutdown mode, waking up the microcontroller unit in response to a first wake-up signal received from the real-time clock;
[0053] Step 120: after receiving the second wake-up signal of the real-time clock, determine whether the system chip meets the wake-up condition and obtain a determination result; both the first wake-up signal and the second wake-up signal are timed wake-up signals;
[0054] Step 130: When the judgment result shows that the wake-up condition is met, wake up the system chip;
[0055] Step 140 : When the system chip meets a first preset condition, send a restart signal to the system chip and monitor the operating state of the system chip; the first preset condition is that the system chip is in a low power consumption mode and the system chip meets a restart condition.
[0056] When the vehicle has not been used for a long period of time (for example, a first preset time range) and the vehicle's system chip is in a low power consumption mode or a normal shutdown mode, the vehicle may have an abnormal condition. Figure 2 Schematic diagram of the principle of timing wake-up of the system chip provided in the embodiment of the present application. Figure 2As shown, in step 110, when the vehicle is not used within a first preset time range and the system chip of the vehicle is in a low power consumption mode or a normal shutdown mode, when the preset timing time arrives, the real-time clock (RTC) will trigger the wake-up of the MCU. The microcontroller unit can receive and respond to the first wake-up signal of the real-time clock (RTC) to wake itself up, that is, wake up the microcontroller unit. In particular, if the microcontroller unit itself is already in the wake-up state when the timing time of the real-time clock arrives, the first wake-up signal of the real-time clock will not wake up the microcontroller unit again, but will be automatically delayed.
[0057] In step 120, after the microcontroller unit wakes up itself, it can check whether the second wake-up signal of the real-time clock is received. Specifically, the second wake-up signal is used to wake up the system chip. When the microcontroller unit does not receive the second wake-up signal, if it meets the sleep condition, it will enter the sleep mode (i.e., low power mode or normal shutdown mode). After the MCU receives the second wake-up signal, it will determine whether the system chip meets the wake-up condition and obtain a judgment result. Specifically, the first wake-up signal and the second wake-up signal are both timed wake-up signals.
[0058] In step 130, when the judgment result obtained by the MCU is that the wake-up condition is met, the MCU will follow the established execution sequence and gradually wake up the SOC to ensure that the system resumes operation safely and efficiently according to the predetermined process. Figure 3 It is a schematic diagram of the process of waking up the system chip by the microcontroller unit provided in an embodiment of the present application.
[0059] In step 140, when the system chip meets the first preset condition, that is, the system chip is in low power mode and meets the restart condition, the MCU will send a restart signal to the system chip to restart the system chip. After the system chip restarts, it will enter the normal operation mode, and the operating status of the system chip can be monitored at this time. After that, the SOC can sleep again as needed (that is, enter the low power mode or the normal shutdown mode). In other words, when the system chip is in the normal shutdown mode, the system chip will not perform the restart operation, but can directly monitor the operating status of the system chip when it is in the normal operation mode after waking up. The restart condition mainly refers to the absence of interaction between the system chip and the normal operation mode.
[0060] The control method of the system chip of a vehicle provided in the embodiment of the present application, when the vehicle has not been used for a long time and the system chip is in a low power consumption mode or a normal shutdown mode, by waking up the system chip periodically, so that the system chip re-enters the normal operating mode, thereby being able to regularly check the status of the system chip and promptly discover abnormal conditions of the system chip that are not apparent in the low power consumption mode or the normal shutdown mode, thereby ensuring that the system chip can respond quickly when needed, thereby improving the safety and reliability of the vehicle.
[0061] In one embodiment, before waking up the microcontroller unit in response to a first wake-up signal received from the real-time clock, the control method of the vehicle's system chip also includes: receiving a timing instruction of the system chip when the system chip is in a normal operating mode; based on the timing instruction, setting a timed wake-up task in the real-time clock; the timed wake-up task includes a first wake-up signal and a second wake-up signal.
[0062] like Figure 2 As shown, in order to prevent the SOC from being in normal shutdown mode or low power mode for a long time, the SOC can send a timing instruction to the MCU in advance when the SOC is in normal operation mode. After receiving the timing instruction, the MCU will set a timed wake-up task in the real-time clock. The timed wake-up task includes a first wake-up signal and a second wake-up signal. The RTC can execute the timed wake-up task according to a preset time interval.
[0063] The control method of the system chip of a vehicle provided in the embodiment of the present application can wake up the system chip at a regular time by setting a timed wake-up task in the real-time clock when the system chip is in the normal operating mode, so that the system chip re-enters the normal operating mode, thereby being able to regularly check the status of the system chip and promptly discover abnormal conditions of the system chip that are not apparent in the low power mode or the normal shutdown mode, thereby ensuring that the system chip can respond quickly when needed, thereby improving the safety and reliability of the vehicle.
[0064] In one embodiment, determining whether a system chip satisfies a wake-up condition and obtaining a determination result includes: verifying the legitimacy of a second wake-up signal and obtaining a verification result; when the verification result is legal, checking whether a power supply voltage of the system chip is within a normal operating voltage range of the system chip and obtaining a check result; when the check result is that the power supply voltage is within the normal operating voltage range of the system chip, determining that the determination result is that the wake-up condition is satisfied.
[0065] After receiving the second wake-up signal, the MCU can determine whether the system chip meets the wake-up conditions. Specifically, when the microcontroller unit (MCU) receives the second wake-up signal from the outside, its system will automatically start and enter the processing procedure of the second wake-up signal. The MCU first verifies the legitimacy of the second wake-up signal to obtain a verification result. If the verification result is that the second wake-up signal is illegal, the second wake-up signal will be identified as an abnormal wake-up. If it is confirmed that the vehicle has not received other wake-up signals, the MCU will not trigger the wake-up process of the system chip, and will re-enter the sleep state after the second wake-up signal terminates to maintain the stability and energy efficiency of the system.
[0066] If the verification result shows that the second wake-up signal is legal, the MCU will check the power supply voltage of the system chip to ensure that the voltage level is within the normal operating voltage range of the SOC. When the check result shows that the power supply voltage is within the normal operating voltage range of the system chip, it is determined that the wake-up condition is met and the SOC can be woken up. If the check result shows that the power supply voltage is not within the normal operating voltage range of the SOC, the MCU will delay the wake-up of the SOC until the power supply voltage returns to an appropriate level. After the power supply voltage has not returned to the normal operating voltage range and the second wake-up signal disappears, the MCU will re-enter the sleep state.
[0067] The control method of the vehicle's system chip provided in the embodiment of the present application wakes up the system chip only when the second wake-up signal is legal and the power supply voltage is within the normal working voltage range of the system chip, otherwise the system chip will not be woken up, thereby reducing unnecessary energy consumption.
[0068] In one embodiment, waking up the system chip includes: determining the strength of a second wake-up signal based on a current mode of the system chip; the current mode includes a low power consumption mode and a normal shutdown mode; waking up the system chip based on the strength of the second wake-up signal.
[0069] The MCU can determine the strength of the second wake-up signal according to the current mode of the system chip. Specifically, after deciding to wake up the system chip (SOC), the microcontroller unit (MCU) first queries the current mode of the SOC. This process involves reading specific register values and status flags of the SOC to accurately determine the current mode of the SOC. The MCU obtains the current mode information by accessing the internal registers and status flags of the SOC. The current mode includes the normal shutdown mode and the low power mode.
[0070] According to the queried SOC current mode, the MCU will determine the strength of the second wake-up signal. If the SOC is in normal shutdown mode, the second wake-up signal is strong, which is designed to ensure that the SOC can quickly and reliably wake up from the shutdown state and resume its normal operation. In contrast, if the SOC is in low power mode, the second wake-up signal is weak, which is intended to reduce energy consumption during the wake-up process and ensure that the SOC can smoothly transition from low power mode to normal operation mode.
[0071] Based on the determined strength of the second wake-up signal, the MCU sends a second wake-up signal of corresponding strength to the SOC. While sending the second wake-up signal, the MCU will continue to monitor the response of the SOC to confirm whether the SOC successfully receives the second wake-up signal and starts the wake-up process. This monitoring process is critical to ensure that the SOC wakes up correctly, and it allows the MCU to take further actions when necessary to facilitate the smooth wake-up of the SOC.
[0072] The control method of the system chip of the vehicle provided in the embodiment of the present application selects a second wake-up signal of different intensities to wake up the system chip when the system chip is in different modes, thereby reducing unnecessary energy consumption while ensuring that the system chip wakes up quickly, thereby ensuring efficient operation of the system.
[0073] In one embodiment, monitoring the operating status of a system chip includes: obtaining a heartbeat signal sent when the system chip is in a normal operating mode; parsing the heartbeat signal to obtain operating status information of the system chip; determining whether an abnormal situation occurs in the system chip based on the operating status information; and handling the abnormal situation when an abnormal situation occurs in the system chip.
[0074] After being awakened or restarted, the SOC enters normal operation mode and starts to periodically send heartbeat signals to the MCU. As shown in Table 1:
[0075]
[0076] Table 1 Heartbeat signal sent by SOC MCU responds to the heartbeat signal, as shown in Table 2:
[0077]
[0078] Table 2 MCU's response to the heartbeat signal
[0079] These heartbeat signals are a series of timed, fixed-format data packets that indicate the operating status and health status information of the SOC. Specifically, operating status information, such as key parameters such as CPU load, memory usage, and temperature; health status information, such as error logs, abnormal events, etc. After receiving the heartbeat signal, the MCU will parse it, obtain the operating status information of the system chip, and record it in the internal log to monitor the real-time status of the SOC and take corresponding measures when abnormal situations occur.
[0080] When voltage abnormality is detected, the MCU will execute the normal shutdown procedure of the SOC to protect the SOC from damage. As shown in Table 3, Table 4, Table 5, and Table 6:
[0081]
[0082]
[0083] Table 3 MCU notifies SOC of abnormal voltage report
[0084] byte data illustrate Byte1 0x06 The power management control instruction type is 0x06 Byte2 0x06 Notify MCU of receiving voltage abnormality reporting instruction Byte3 Type 0x00: The command was received successfully
[0085] Table 4 SOC response voltage abnormality reporting instructions
[0086] byte data illustrate Byte1 0x06 The power management control instruction type is 0x06 Byte2 0x05 Notify SOC to shut down voltage
[0087] Table 5 MCU notifies SOC of shutdown instructions
[0088] byte data illustrate Byte1 0x06 The power management control instruction type is 0x06 Byte2 0x05 Notify MCU that it has received a shutdown command Byte3 Type 0x00: The command was received successfully
[0089] Table 6 SOC responds to shutdown command If the SOC is stuck or in an abnormal state, the MCU will execute the SOC restart operation to restore normal operation, as shown in Table 7:
[0090]
[0091] Table 7 Powering on and off the SOC through the MCU
[0092] In special conditions where the SOC needs to be updated with firmware, the MCU will instruct the SOC to enter the download mode in order to perform the flash operation, as shown in Table 8:
[0093]
[0094] Table 8 notifies MCU to let SOC enter download mode
[0095] When the vehicle needs to enter low power mode, the MCU will send a command to the SOC to enter low power mode to reduce energy consumption, as shown in Table 9 and Table 10:
[0096] byte data illustrate Byte1 0x06 The power management control instruction type is 0x06 Byte2 0x08 Notify the SOC to enter low power consumption
[0097] Table 9 MCU notifies SOC to enter low power mode instruction
[0098] byte data illustrate Byte1 0x06 The power management control instruction type is 0x06 Byte2 0x08 Notify MCU that it has received the instruction to enter low power consumption Byte3 Type 0x00: The command was received successfully
[0099] Table 10 SOC response to enter low power instruction
[0100] Under certain conditions, such as system maintenance or test mode, the MCU may not monitor the SOC's heartbeat signal to allow the SOC to operate or test without interruption. In these cases, the MCU will decide whether to restart the heartbeat signal monitoring based on the preset strategy or the operator's instructions.
[0101] The control method of the vehicle's system chip provided in the embodiment of the present application monitors the operating status of the system chip through a heartbeat signal, and handles abnormal conditions in the system chip, thereby promptly discovering and handling potential problems, thereby ensuring the stable operation of the SOC and the reliability of the entire vehicle system.
[0102] In one embodiment, the control method of the system chip of a vehicle also includes: when the vehicle is not used within a second preset time range and the system chip is in normal operating mode, or after receiving a preset instruction, sending a first request to the system chip; the first request is a low power mode request or a normal shutdown mode request; after receiving the first response from the system chip, the control system chip immediately executes the first request; after receiving the second response from the system chip, the control system chip delays the execution of the first request according to a preset mechanism.
[0103] When the MCU detects that the vehicle has not been used within the second preset time range and the system chip is in normal operating mode, or after receiving a preset instruction, such as an instruction to enter low power mode or an instruction to enter normal shutdown mode, it will send a first request to the system chip (SOC). The first request is a low power mode request or a normal shutdown mode request. After receiving the first request, the SOC first checks whether its own function meets the requirements for entering low power mode or entering normal shutdown mode. If the requirements are met, the system chip sends a first response, and the MCU controls the system chip to immediately execute the first request and enter the low power mode or normal shutdown mode process. If the requirements are not met, the SOC will send a second request to the MCU, and the MCU will delay the execution of the first request according to the preset mechanism. The preset mechanism is specifically: each time the fixed time is delayed for x minutes, after the timeout, the SOC needs to resend the second response, which can be delayed up to n times, where x and n are the values agreed upon by the MCU and the SOC. If the SOC still does not meet the requirements after n times, the MCU will force the SOC to enter the low power mode or normal shutdown mode process and record the fault code.
[0104] The control method of the vehicle's system chip provided in the embodiment of the present application can delay the execution of the process of the SOC entering a low power consumption mode or a normal shutdown mode through a preset mechanism, thereby ensuring the safe and stable operation of the SOC.
[0105] In one embodiment, executing the first request includes: when the hardware configuration of the system chip meets the second preset condition, the control system chip enters a low power consumption mode or a normal shutdown mode; when the hardware configuration does not meet the second preset condition, the control system chip re-executes the process of entering the low power consumption mode or the normal shutdown mode, and after the system chip executes the process of entering the low power consumption mode or the normal shutdown mode for a preset number of times, if the hardware configuration still does not meet the second preset condition, the control system chip enters a forced shutdown mode.
[0106] Specifically, when executing the first request (i.e., after entering the low power mode or normal shutdown mode process), the SOC first synchronizes data and saves the state with the MCU to ensure that the system can maintain the current state when entering the low power mode or normal shutdown mode. Subsequently, the SOC gradually checks its own hardware configuration through multiple interactions with the MCU to confirm whether the hardware configuration meets the second preset condition, that is, whether it meets the requirements for entering the low power mode or normal shutdown mode. Figure 4 1 is a schematic diagram of the interaction between the microcontroller unit and the system chip provided in the embodiment of the present application. The description of the interaction state between the microcontroller unit and the system chip is shown in Table 11:
[0107]
[0108]
[0109] Table 11 MCU and SOC interaction status description
[0110] If the second preset condition is met, the SOC will eventually enter low power mode or normal shutdown mode and return the status to the MCU. If the hardware configuration does not meet the second preset condition in a certain step, the MCU will instruct the SOC to re-execute the process of entering low power mode or normal shutdown mode, and try a maximum of m preset times, where m is the value agreed upon by the MCU and the SOC. If after m attempts, the hardware configuration of the SOC still does not meet the second preset condition, that is, it still cannot enter low power mode or normal shutdown mode, the MCU will control the SOC to enter forced shutdown mode and record the fault code.
[0111] The control method of the system chip of the vehicle provided in the embodiment of the present application checks the hardware configuration of the system chip and re-executes the process of entering the low power mode or the normal shutdown mode when the hardware configuration does not meet the second preset condition, thereby ensuring that the SOC can safely and efficiently enter the low power mode or the shutdown mode while maintaining the ability to wake up quickly, thereby optimizing the energy management and response speed of the entire vehicle.
[0112] In one embodiment, the control method of the system chip of the vehicle further includes: after receiving the third wake-up signal, waking up the system chip with the first priority.
[0113] Specifically, the third wake-up signal is an emergency wake-up signal. Figure 3 As shown, when the MCU receives the third wake-up signal, the MCU will prioritize the wake-up operation of the SOC and wake up the system chip with the first priority. After the SOC wakes up, it continues to perform other necessary operations, including the tasks that the MCU itself needs to perform.
[0114] The control method of the vehicle system chip provided in the embodiment of the present application is that when the vehicle is in an emergency state, the MCU will receive the third wake-up signal to wake up the system chip with the first priority, thereby ensuring the safety of the vehicle.
[0115] Based on the description of the above embodiments, the present application efficiently manages the sleep (i.e., low-power mode and normal shutdown mode) and wake-up process of the system chip (SOC) through a microcontroller unit (MCU), significantly reducing the energy consumption of the vehicle when it is parked for a long time or inactive. In the sleep stage, the MCU can intelligently determine whether the SOC needs to be woken up and how to wake up the SOC, thereby reducing unnecessary energy consumption. In the wake-up stage, the MCU can control the SOC to quickly start from a low-power mode and enter a normal operating mode to ensure the system response speed. At the same time, the intelligent decision-making mechanism of the MCU ensures that the system can safely and efficiently enter and exit the low-power mode under various working conditions, effectively avoiding the accumulation of system failures and reducing the risk of system crashes.
[0116] In addition, the present application also monitors the heartbeat signal of the SOC in real time through the MCU, promptly discovers and handles abnormal conditions that may occur in the SOC in low-power mode, and enhances the stability and reliability of the system. This active monitoring and processing mechanism, as well as the timely shutdown or restart measures taken for detected abnormal conditions, significantly improves the safety of the entire vehicle system. The present application also takes into account the abnormal conditions that may occur in the SOC in low-power mode. Through the timed wake-up mechanism of the MCU, the state of the SOC is regularly checked to ensure that the SOC can respond quickly when needed, while avoiding problems that may occur in long-term low-power mode. Through the strong interaction of data synchronization, state preservation and hardware configuration, it is ensured that the SOC enters the low-power mode or normal shutdown mode safely and efficiently, and maintains the ability to wake up quickly. The method of the present application also allows the MCU to temporarily stop monitoring the SOC heartbeat signal under specific working conditions, such as system maintenance or test mode, which facilitates the maintenance and upgrade of the SOC.
[0117] This application improves the energy efficiency of the vehicle system, enhances the stability and reliability of the system through a series of innovative control strategies and mechanisms, while optimizing the energy management and response speed of the entire vehicle, providing a solid technical foundation for the long-term operation and maintenance of the vehicle, meeting the needs of modern automobiles for efficient energy management and rapid system response, and providing strong support for the intelligent and green development of modern automobiles.
[0118] The control device of the system chip of the vehicle provided in the present application is described below. The control device of the system chip of the vehicle described below and the control method of the system chip of the vehicle described above can be referred to each other.
[0119] Figure 5 Schematic diagram of the structure of the control device of the system chip of the vehicle provided in the embodiment of the present application. Figure 5 The control device of the system chip of the vehicle provided in the embodiment of the present application may include:
[0120] A first wake-up module 510 is used to wake up the microcontroller unit in response to a received first wake-up signal of the real-time clock when the vehicle is not used within a first preset time range and the system chip of the vehicle is in a low power consumption mode or a normal shutdown mode;
[0121] A judgment module 520 is used to judge whether the system chip meets the wake-up condition after receiving the second wake-up signal of the real-time clock, and obtain a judgment result; the first wake-up signal and the second wake-up signal are both timed wake-up signals;
[0122] A second wake-up module 530, configured to wake up the system chip when the judgment result satisfies the wake-up condition;
[0123] The restart module 540 is used to send a restart signal to the system chip and monitor the operating status of the system chip when the system chip meets a first preset condition; the first preset condition is that the system chip is in a low power consumption mode and the system chip meets the restart condition.
[0124] The control device of the system chip of the vehicle provided in the embodiment of the present application can periodically wake up the system chip to make the system chip re-enter the normal operating mode when the vehicle has not been used for a long time and the system chip is in a low power mode or a normal shutdown mode. This can periodically check the status of the system chip and promptly detect abnormal conditions of the system chip that are not apparent in the low power mode or the normal shutdown mode, thereby ensuring that the system chip can respond quickly when needed, thereby improving the safety and reliability of the vehicle.
[0125] In one embodiment, the first wake-up module is further configured to:
[0126] When the system chip is in a normal operating mode, receiving a timing instruction of the system chip;
[0127] Based on the timing instruction, a timed wake-up task is set in the real-time clock; the timed wake-up task includes the first wake-up signal and the second wake-up signal.
[0128] In one embodiment, the judgment module is specifically used to:
[0129] Verifying the legitimacy of the second wake-up signal to obtain a verification result;
[0130] When the verification result is legal, checking whether the power supply voltage of the system chip is within the normal working voltage range of the system chip to obtain a checking result;
[0131] When the checking result is that the power supply voltage is within the normal operating voltage range of the system chip, it is determined that the judgment result satisfies the wake-up condition.
[0132] In one embodiment, the second wake-up module is specifically used to:
[0133] Determining the strength of the second wake-up signal based on the current mode of the system chip; the current mode includes a low power consumption mode and a normal shutdown mode;
[0134] The system chip is woken up based on the strength of the second wake-up signal.
[0135] In one embodiment, the restart module is specifically used to:
[0136] Acquire a heartbeat signal sent when the system chip is in a normal operating mode;
[0137] Analyzing the heartbeat signal to obtain the operating status information of the system chip;
[0138] Based on the operation status information, determining whether an abnormal situation occurs in the system chip;
[0139] When the abnormal situation occurs in the system chip, the abnormal situation is processed.
[0140] In one embodiment, the restart module is further used to:
[0141] When the vehicle is not used within a second preset time range and the system chip is in a normal operating mode, or after receiving a preset instruction, sending a first request to the system chip; the first request is a low power mode request or a normal shutdown mode request;
[0142] After receiving the first response from the system chip, controlling the system chip to immediately execute the first request;
[0143] After receiving the second response from the system chip, the system chip is controlled to delay execution of the first request according to a preset mechanism.
[0144] In one embodiment, the restart module is specifically used to:
[0145] When the hardware configuration of the system chip meets a second preset condition, controlling the system chip to enter a low power consumption mode or a normal shutdown mode;
[0146] When the hardware configuration does not meet the second preset condition, the system chip is controlled to re-execute the process of entering the low power consumption mode or the normal shutdown mode, and after the system chip executes the process of the low power consumption mode or the normal shutdown mode for a preset number of times, if the hardware configuration still does not meet the second preset condition, the system chip is controlled to enter the forced shutdown mode.
[0147] In one embodiment, the second wake-up module is further used for:
[0148] After receiving the third wake-up signal, the system chip is woken up with the first priority.
[0149] Specifically, the control device of the system chip of the above-mentioned vehicle provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment in which the execution subject is a microcontroller unit, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those of the method embodiment will not be described in detail here.
[0150] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the control method of the system chip of the vehicle, for example, including:
[0151] When the vehicle is not used within a first preset time range and the system chip of the vehicle is in a low power consumption mode or a normal shutdown mode, receiving a first wake-up signal from the real-time clock to wake itself up;
[0152] After receiving the second wake-up signal of the real-time clock, determining whether the system chip meets the wake-up condition, and obtaining a determination result; the first wake-up signal and the second wake-up signal are both timed wake-up signals;
[0153] When the judgment result is that the wake-up condition is met, waking up the system chip;
[0154] When the system chip meets a first preset condition, a restart signal is sent to the system chip, and the running state of the system chip is monitored; the first preset condition is that the system chip is in a low power consumption mode and the system chip meets a restart condition.
[0155] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-On l yMemory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0156] On the other hand, the present application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the control method of the system chip of the vehicle provided by the above methods are implemented, for example, including:
[0157] When the vehicle is not used within a first preset time range and the system chip of the vehicle is in a low power consumption mode or a normal shutdown mode, receiving a first wake-up signal from the real-time clock to wake itself up;
[0158] After receiving the second wake-up signal of the real-time clock, determining whether the system chip meets the wake-up condition, and obtaining a determination result; the first wake-up signal and the second wake-up signal are both timed wake-up signals;
[0159] When the judgment result is that the wake-up condition is met, waking up the system chip;
[0160] When the system chip meets a first preset condition, a restart signal is sent to the system chip, and the running state of the system chip is monitored; the first preset condition is that the system chip is in a low power consumption mode and the system chip meets a restart condition.
[0161] In another aspect, the present application further provides a computer program product, the computer program product comprising a computer program, the computer program may be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can execute the steps of the control method of the vehicle system chip provided by the above methods, for example, including:
[0162] When the vehicle is not used within a first preset time range and the system chip of the vehicle is in a low power consumption mode or a normal shutdown mode, receiving a first wake-up signal from the real-time clock to wake itself up;
[0163] After receiving the second wake-up signal of the real-time clock, determining whether the system chip meets the wake-up condition, and obtaining a determination result; the first wake-up signal and the second wake-up signal are both timed wake-up signals;
[0164] When the judgment result is that the wake-up condition is met, waking up the system chip;
[0165] When the system chip meets a first preset condition, a restart signal is sent to the system chip, and the running state of the system chip is monitored; the first preset condition is that the system chip is in a low power consumption mode and the system chip meets a restart condition.
[0166] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0167] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0168] It should also be noted that the terms "first", "second", etc. in the embodiments of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more.
[0169] In the embodiments of the present application, the term "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0170] "Determine B based on A" in the embodiments of the present application means that the factor A should be considered when determining B. It is not limited to "B can be determined based on A alone", but should also include: "Determine B based on A and C", "Determine B based on A, C and E", "Determine C based on A, and further determine B based on C", etc. In addition, it can also include taking A as a condition for determining B, for example, "When A meets the first condition, use the first method to determine B"; for another example, "When A meets the second condition, determine B", etc.; for another example, "When A meets the third condition, determine B based on the first parameter", etc. Of course, it can also be a condition that takes A as a factor for determining B, for example, "When A meets the first condition, use the first method to determine C, and further determine B based on C", etc.
[0171] In the embodiments of the present application, the term "multiple" refers to two or more than two, and other quantifiers are similar. Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, rather than to limit it; although the present application is described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents; and these modifications or replacements do not deviate the essence of the corresponding technical solution from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for controlling a system chip of a vehicle, characterized in that: Applied to a microcontroller unit, the method comprises: When the vehicle is not used within a first preset time range and the system chip of the vehicle is in a low power consumption mode or a normal shutdown mode, waking up the microcontroller unit in response to a first wake-up signal received from the real-time clock; After receiving the second wake-up signal of the real-time clock, determining whether the system chip meets the wake-up condition, and obtaining a determination result; the first wake-up signal and the second wake-up signal are both timed wake-up signals; When the judgment result is that the wake-up condition is met, waking up the system chip; When the system chip meets a first preset condition, a restart signal is sent to the system chip, and the running state of the system chip is monitored; the first preset condition is that the system chip is in a low power consumption mode and the system chip meets a restart condition.
2. The method for controlling a system chip of a vehicle according to claim 1, characterized in that: Before waking up the microcontroller unit in response to the received first wake-up signal of the real-time clock, the method further includes: When the system chip is in a normal operating mode, receiving a timing instruction of the system chip; Based on the timing instruction, a timed wake-up task is set in the real-time clock; the timed wake-up task includes the first wake-up signal and the second wake-up signal.
3. The method for controlling a system chip of a vehicle according to claim 1, characterized in that: The determining whether the system chip meets the wake-up condition and obtaining the determination result includes: Verifying the legitimacy of the second wake-up signal to obtain a verification result; When the verification result is legal, checking whether the power supply voltage of the system chip is within the normal working voltage range of the system chip to obtain a checking result; When the checking result is that the power supply voltage is within the normal operating voltage range of the system chip, it is determined that the judgment result satisfies the wake-up condition.
4. The method for controlling a system chip of a vehicle according to claim 1, characterized in that: The waking up the system chip comprises: Determining the strength of the second wake-up signal based on the current mode of the system chip; the current mode includes a low power consumption mode and a normal shutdown mode; The system chip is woken up based on the strength of the second wake-up signal.
5. The method for controlling a system chip of a vehicle according to claim 1, characterized in that: The monitoring the operating state of the system chip includes: Acquire a heartbeat signal sent when the system chip is in a normal operating mode; Analyzing the heartbeat signal to obtain the operating status information of the system chip; Based on the operation status information, determining whether an abnormal situation occurs in the system chip; When the abnormal situation occurs in the system chip, the abnormal situation is processed.
6. The method for controlling a system chip of a vehicle according to any one of claims 1 to 5, characterized in that: Also includes: When the vehicle is not used within a second preset time range and the system chip is in a normal operating mode, or after receiving a preset instruction, sending a first request to the system chip; the first request is a low power mode request or a normal shutdown mode request; After receiving the first response from the system chip, controlling the system chip to immediately execute the first request; After receiving the second response from the system chip, the system chip is controlled to delay execution of the first request according to a preset mechanism.
7. The method for controlling a system chip of a vehicle according to claim 6, characterized in that: The executing the first request includes: When the hardware configuration of the system chip meets a second preset condition, controlling the system chip to enter a low power consumption mode or a normal shutdown mode; When the hardware configuration does not meet the second preset condition, the system chip is controlled to re-execute the process of entering the low power consumption mode or the normal shutdown mode, and after the system chip executes the process of the low power consumption mode or the normal shutdown mode for a preset number of times, if the hardware configuration still does not meet the second preset condition, the system chip is controlled to enter the forced shutdown mode.
8. The method for controlling a system chip of a vehicle according to any one of claims 1 to 5, characterized in that: Also includes: After receiving the third wake-up signal, the system chip is woken up with the first priority.
9. A control device for a system chip of a vehicle, characterized in that: include: A first wake-up module, configured to wake up the microcontroller unit in response to a received first wake-up signal of the real-time clock when the vehicle is not used within a first preset time range and the system chip of the vehicle is in a low power consumption mode or a normal shutdown mode; A judgment module, configured to judge whether the system chip meets the wake-up condition after receiving the second wake-up signal of the real-time clock, and obtain a judgment result; the first wake-up signal and the second wake-up signal are both timed wake-up signals; A second wake-up module, configured to wake up the system chip when the judgment result satisfies the wake-up condition; The restart module is used to send a restart signal to the system chip and monitor the operating state of the system chip when the system chip meets a first preset condition; the first preset condition is that the system chip is in a low power consumption mode and the system chip meets the restart condition.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the control method of the system chip of the vehicle according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Data transmission method and device of 5G edge computing security control gateway module
CN120186723A
A data transmission method and device for a 5G edge computing security control gateway module
CN120186723B