Control method and device of vehicle-mounted controller, electronic equipment and readable storage medium

By identifying and processing the wake-up signal type, the on-board controller determines whether to conduct self-test before wake-up, solving the problems of difficulty in identifying wake-up signal type and high power consumption in the prior art, and realizing fast wake-up and low power consumption state management. Avoid the car battery loss.

CN119099520APending Publication Date: 2024-12-10SHANGHAI XUANYI NEW ENERGY DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411474689.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

The prior art cannot quickly identify the wake-up signal type when waking up the on-board controller, resulting in high power consumption and long wake-up time, and cannot quickly enter the running state, especially when the vehicle is in a shutdown or standby state, which may cause the on-board lead-acid battery to lose power.

Method used

By determining the type of wake-up signal, determining whether to perform self-test based on the type of wake-up signal, directly enter the operating or low-power state, or enter the fault processing state, to achieve rapid wake-up and reduce power consumption.

Benefits of technology

Before the on-board controller is awakened, the wake-up signal type is identified, the state is determined based on the type, the power consumption is reduced, the wake-up speed is improved, and the on-board controller is avoided due to long-term standby time battery power loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119099520A_ABST
    Figure CN119099520A_ABST
Patent Text Reader

Abstract

The invention discloses a control method of a vehicle-mounted controller. The control method comprises the following steps: determining the type of a wake-up signal; determining the state of the vehicle-mounted controller according to the type of the wake-up signal; when the wake-up signal is an effective whole vehicle ignition starting signal, self-checking is carried out, and the vehicle-mounted controller is awakened and enters a running state when no fault exists in self-checking; when the wake-up signal is an effective control starting signal, self-inspection is not carried out, and the vehicle-mounted controller is awakened and enters a running state; wherein the control starting signal is any signal except the whole vehicle ignition starting signal; when the awakening signal is invalid, the vehicle-mounted controller is not awakened and enters a low-power-consumption state; and when the wake-up signal is an effective fault generation signal, the vehicle-mounted controller is awakened, self-inspection is not carried out, and the vehicle-mounted controller enters a fault processing state to process the fault. Whether self-checking is carried out or not can be rapidly judged according to the awakening signal type, and awakening is rapid. The invention further discloses a control device of the vehicle-mounted controller, electronic equipment and a computer readable storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle-mounted controllers, and in particular to a control method for a vehicle-mounted controller, a control device for a vehicle-mounted controller, an electronic device, and a computer-readable storage medium. Background Art

[0002] In modern society, the automobile industry is developing rapidly, especially new energy vehicles. Automobiles are indispensable products for transportation, with diverse use occasions, a wide range of uses, and uncertainty. For example, some car owners keep their vehicles in a shutdown or standby state for weeks or even months, which may cause the on-board controller to consume too much power in sleep mode, which may further cause the on-board lead-acid battery to run out of power, resulting in the inability to restart, causing vehicle failure or damage. Therefore, it is necessary to control the vehicle state, and after the vehicle is in a shutdown or standby state, the on-board controller enters a low-power mode with lower power consumption to meet the power consumption requirements.

[0003] There are usually two ways to control the vehicle controller to start running, enter low power consumption or be awakened (i.e. exit low power consumption) in the prior art. The first way is that the wake-up signal directly wakes up the microprocessor MCU, which consumes a lot of power and cannot identify the type of the wake-up signal before awakening. Therefore, a self-check is required after awakening, which takes a long time. The second way is to activate the power first, and then wake up the microprocessor MCU. Similarly, the type of the wake-up signal cannot be identified before awakening, and a self-check is required after awakening, which takes a long time and cannot be awakened quickly. Summary of the invention

[0004] The present invention proposes a control method of a vehicle-mounted controller to solve the above-mentioned problem.

[0005] In a first aspect, an embodiment of the present invention discloses a control method of a vehicle-mounted controller, comprising:

[0006] Determine the type of wake-up signal, the wake-up signal can wake up the vehicle controller;

[0007] determining a state of the onboard controller according to the type of the wake-up signal;

[0008] When the wake-up signal is valid and the wake-up signal is the vehicle ignition start signal, the on-board controller performs a self-check. If there is no fault in the self-check, the on-board controller is awakened and controls the on-board controller to enter the running state;

[0009] When the wake-up signal is valid and the wake-up signal is a control start signal, the vehicle controller does not perform self-check, the vehicle controller is awakened, and the vehicle controller is controlled to enter the running state; wherein the control start signal is any signal except the vehicle ignition start signal;

[0010] When the wake-up signal is invalid, the vehicle controller is not awakened, and the vehicle controller is controlled to enter a low power consumption state;

[0011] When the wake-up signal is valid and the wake-up signal is a fault occurrence signal, the on-board controller is awakened, the on-board controller does not perform self-check, and the on-board controller is controlled to enter a fault handling state to handle the fault.

[0012] By adopting the above technical scheme, the control method of the vehicle controller of the present invention can first identify the type of wake-up signal before the vehicle controller is awakened, and then determine whether self-test is required according to the type of wake-up signal, thereby controlling the state of the vehicle controller in a targeted manner, reducing power consumption, and waking up quickly.

[0013] According to another specific embodiment of the present invention, determining the type of the wake-up signal specifically includes:

[0014] Determine a wake-up flag according to a wake-up signal;

[0015] Identify the wake-up flag;

[0016] When the wake-up flag is the vehicle ignition flag, the wake-up signal is valid and the wake-up signal is the vehicle ignition start signal;

[0017] When the wake-up flag is the control start flag, the wake-up signal is valid and the wake-up signal is the control start signal;

[0018] When the wake-up flag is the initial flag, the wake-up signal is invalid;

[0019] When the wake-up flag is a fault occurrence flag, the wake-up signal is valid and the wake-up signal is a fault occurrence signal.

[0020] According to another specific embodiment of the present invention, when the wake-up signal is valid and the wake-up signal is a fault occurrence signal, the vehicle controller is awakened, the vehicle controller does not perform self-check, and the vehicle controller is controlled to enter a fault handling state to handle the fault, specifically including:

[0021] Determine the corresponding fault handling measures according to the fault occurrence signal;

[0022] Perform troubleshooting actions to handle the failure;

[0023] If the fault is rectified, the on-board controller is controlled to enter a low power consumption state; if the fault is not rectified, manual fault handling is performed until the fault is rectified.

[0024] According to another specific embodiment of the present invention, it also includes:

[0025] When the vehicle controller enters the running state, it continues to determine whether the wake-up signal is real and valid;

[0026] If the wake-up signal is real and valid, the on-board controller is controlled to maintain the running state and the ignition start signal of the whole vehicle is periodically detected;

[0027] When it is detected that the vehicle ignition start signal is invalid, a sleep command signal is received, and the control start signal is invalid, the vehicle controller is controlled to enter a low power consumption state;

[0028] If the wake-up signal is invalid, the vehicle controller is controlled to enter a low power consumption state.

[0029] According to another specific embodiment of the present invention, the vehicle controller includes a control unit, the control unit includes a standby domain and a power-on domain, the standby domain and the power-on domain are mutually accessible through a register, and the register is used to store a wake-up flag bit;

[0030] When the power-on domain is running, the on-board controller is in the running state; when the standby domain is running and the power-on domain is not running, the on-board controller is in a low power consumption state.

[0031] According to another specific embodiment of the present invention, the control method further includes:

[0032] When the vehicle controller is in a low power consumption state, detect whether there is a fault;

[0033] When a fault is detected, the wake-up signal is valid, and the wake-up signal is a fault occurrence signal, the on-board controller is awakened, the on-board controller does not perform self-check, and the on-board controller is controlled to enter a fault handling state to handle the fault;

[0034] and / or,

[0035] When the vehicle controller is in a low power state, detect whether the vehicle ignition start signal is valid;

[0036] When the vehicle ignition start signal is detected to be valid, the vehicle ignition start signal is filtered to confirm whether the vehicle ignition start signal is real and valid;

[0037] When the vehicle ignition start signal is confirmed to be true and valid, the on-board controller performs self-check. If there is no fault in the self-check, the on-board controller is awakened and controls the on-board controller to enter the running state;

[0038] and / or,

[0039] When the vehicle controller is in a low power consumption state, detect whether the control start signal is valid;

[0040] When it is detected that the control start signal is valid, the control start signal is filtered to confirm whether the control start signal is real and valid;

[0041] When the control start signal is confirmed to be true and valid, the on-board controller does not perform self-check, the on-board controller is awakened, and the on-board controller is controlled to enter the running state.

[0042] According to another specific embodiment of the present invention, the vehicle-mounted controller is connected to a power supply, and the power supply is used to power the vehicle-mounted controller. The control method of the vehicle-mounted controller further includes:

[0043] Determine whether the power supply voltage is within a valid voltage range; wherein the valid voltage range indicates a power supply voltage range sufficient for the vehicle controller to start working;

[0044] If the power supply voltage is within the valid voltage range, the power supply supplies power to the vehicle controller, so that the vehicle controller can determine the type of the wake-up signal, and determine the state of the vehicle controller according to the type of the wake-up signal;

[0045] If the power supply voltage is not within the valid voltage range, the power supply will not supply power to the vehicle controller, and the vehicle controller will enter a power-off state.

[0046] In a second aspect, an embodiment of the present invention discloses a control device of a vehicle-mounted controller, comprising:

[0047] A signal determination module, used to determine the type of a wake-up signal, where the wake-up signal can wake up the vehicle controller;

[0048] A state control module, used to determine the state of the vehicle controller according to the type of the wake-up signal;

[0049] When the wake-up signal is valid and the wake-up signal is the vehicle ignition start signal, the on-board controller performs a self-check. If there is no fault in the self-check, the on-board controller is awakened and controls the on-board controller to enter the running state;

[0050] When the wake-up signal is valid and the wake-up signal is a control start signal, the vehicle controller does not perform self-check, the vehicle controller is awakened, and the vehicle controller is controlled to enter the running state; wherein the control start signal is any signal except the vehicle ignition start signal;

[0051] When the wake-up signal is invalid, the vehicle controller is not awakened, and the vehicle controller is controlled to enter a low power consumption state;

[0052] When the wake-up signal is valid and the wake-up signal is a fault occurrence signal, the on-board controller is awakened, the on-board controller does not perform self-check, and the on-board controller is controlled to enter a fault handling state to handle the fault.

[0053] By adopting the above technical scheme, the control device of the vehicle controller of the present invention can first identify the type of wake-up signal before the vehicle controller is awakened, and then determine whether self-test is required according to the type of wake-up signal, thereby controlling the state of the vehicle controller in a targeted manner, reducing power consumption, and waking up quickly.

[0054] In a third aspect, an embodiment of the present invention discloses an electronic device, including a processor and a memory, wherein the memory stores at least one instruction, and when the at least one instruction is executed by the processor, the control method of the vehicle controller in any embodiment of the first aspect is implemented.

[0055] By adopting the above technical solution, the electronic device can first identify the type of wake-up signal before the vehicle controller is awakened, and then determine whether self-test is required based on the type of wake-up signal, thereby controlling the state of the vehicle controller in a targeted manner, reducing power consumption, and waking up quickly.

[0056] In a fourth aspect, an embodiment of the present invention discloses a computer-readable storage medium, in which at least one instruction is stored. When the at least one instruction is executed, the control method of the vehicle controller in any embodiment of the first aspect is implemented.

[0057] By adopting the above technical solution, the computer-readable storage medium can first identify the type of wake-up signal before the vehicle controller is awakened, and then determine whether self-test is required based on the type of wake-up signal, thereby controlling the state of the vehicle controller in a targeted manner, reducing power consumption, and waking up quickly. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A schematic diagram showing a control method of a vehicle controller in an embodiment of the present invention Figure 1 ;

[0059] Figure 2 A schematic diagram showing a control method of a vehicle controller in an embodiment of the present invention Figure 2 ;

[0060] Figure 3 A schematic diagram showing a control method of a vehicle controller in an embodiment of the present invention Figure 3 ;

[0061] Figure 4 A schematic diagram showing a control method of a vehicle controller in an embodiment of the present invention Figure 4 ;

[0062] Figure 5 A schematic diagram showing a control method of a vehicle controller in an embodiment of the present invention Figure 5 ;

[0063] Figure 6A schematic diagram showing a control method of a vehicle controller in an embodiment of the present invention Figure 6 ;

[0064] Figure 7 A schematic diagram showing a control method of a vehicle controller in an embodiment of the present invention Figure 7 ;

[0065] Figure 8 A schematic diagram showing a control method of a vehicle controller in an embodiment of the present invention Figure 8 ;

[0066] Fig. 9 A schematic diagram showing the structure of a control device of a vehicle-mounted controller according to an embodiment of the present invention;

[0067] Fig.10 A schematic diagram showing the structure of an electronic device in an embodiment of the present invention is shown;

[0068] Fig.11 A schematic diagram showing the structure of a vehicle-mounted controller according to an embodiment of the prior art is shown;

[0069] Fig.12 A schematic diagram showing the structure of a vehicle-mounted controller according to another embodiment of the prior art;

[0070] Fig.13 A schematic diagram showing the structure of a vehicle-mounted controller in an embodiment of the present invention is shown;

[0071] Fig.14 A partial structural schematic diagram of a control unit of a vehicle-mounted controller in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0072] The following specific embodiments illustrate the implementation of the present invention, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Although the description of the present invention will be introduced in conjunction with the preferred embodiment, this does not mean that the features of this invention are limited to this implementation. On the contrary, the purpose of introducing the invention in conjunction with the implementation is to cover other options or modifications that may extend based on the claims of the present invention. In order to provide a deep understanding of the present invention, the following description will include many specific details. The present invention can also be implemented without using these details. In addition, in order to avoid confusion or blurring the focus of the present invention, some specific details will be omitted in the description. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.

[0073] It should be noted that in this specification, similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0074] The terms “first”, “second”, etc. are only used for distinguishing descriptions and should not be understood as indicating or implying relative importance.

[0075] In the description of this embodiment, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this embodiment can be understood according to specific circumstances.

[0076] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0077] The inventors carefully studied the prior art and found that the prior art had major problems with the control method of the vehicle-mounted controller. Fig.11 , Fig.11 The schematic diagram of the structure of the vehicle controller corresponding to the first method of the prior art is shown. The first method is that the wake-up signal directly wakes up the uC microprocessor 001. The vehicle controller includes the uC microprocessor 001, the power module 002 and the CAN transmission module 003. Fig.11In the figure, KL30 is the normal power, usually connected to the battery, to ensure that the vehicle always has power; VCC is the power output by the power module 002. Once connected to KL30, the power module 002 always has power output (that is, VCC always has power output), and the power module 002 supplies power to the uC microprocessor 001. When the car leaves the factory, KL30 has been connected to the vehicle controller (unless the connection line between the power module 002 and the vehicle battery is manually unplugged, and the vehicle battery can be, for example, a vehicle lead-acid battery), VCC always has power output, and the uC microprocessor 001 starts the running state. VCC can be, for example, 5V or 3.3V, and it only needs to match the power supply requirements of the uC microprocessor 001. After the uC microprocessor 001 starts the running state, the ADC or GPIO unit 004 inside the uC microprocessor 001 detects the KL15 signal. The KL15 signal is the ignition start signal of the entire vehicle. The KL15 signal is valid only after the car key is inserted and the ignition is started. If the KL15 signal is detected to be true and valid, the on-board controller is controlled to continue running, and then the KL15 signal is detected in real time. If the KL15 signal is identified as invalid and the sleep instruction of the CAN communication bus (i.e. CAN_INH, CAN_INH is the hard-wired signal output by the CAN transmission module 003, and outputs a high level when there is a CAN message) is received, the on-board controller enters low power mode. If the KL15 signal is detected to be invalid (for example, it is interfered by noise), the on-board controller enters low power mode. In low power mode, some units and peripheral circuits of the uC microprocessor 001 will be turned off, and only the function of the interrupt capture unit 005 inside the uC microprocessor 001 will be retained. The interrupt capture unit 005 is used to manage and respond to interrupt signals generated by external devices or internal events. Interrupts are a mechanism that allows the processor to suspend the currently executing task and switch to more urgent tasks, and then return to the original task after processing. After entering the low power mode, the interrupt capture unit 005 inside the uC microprocessor 001 periodically detects KL15, wakeup source 1, ..., wakeup source n, and CAN_INH. If one of them is valid (assuming that the signal changes from a low level to a high level), the vehicle controller is re-awakened, exits the low power mode, and enters the startup running state again. Among them, wakeup source 1, ..., wakeup source n are internal signals (such as RTC timer wakeup) and external signals (other controllers output hard-wired wakeup signals).

[0078] The above method directly wakes up the uC microprocessor 001, and the power consumption is relatively large, generally reaching nearly 1mA. If it is a controller of a complex system, there are many internal power branches and the uC microprocessor 001 used has powerful performance, and the power consumption will far exceed 1mA. Therefore, it can only be applied to controllers with simple functions and no safety-related (for simple controllers, the static current is generally required to be within 100uA, while for complex controllers, the static current is generally required to be within 1mA). The above method cannot identify which wake-up signal wakes up the uC microprocessor 001. After waking up, it needs to perform a self-check to identify which wake-up signal it is before it can play the subsequent functions, which takes a long time.

[0079] refer to Fig.12 , Fig.12The structural schematic diagram of the vehicle controller corresponding to the second method of the prior art is shown. The vehicle controller includes a uC microprocessor 011, a power module 012 and a CAN transmission module 013. The uC microprocessor 011 internally includes a GPIO unit 014 and an ADC or GPIO unit 015. The power module 012 is controlled by a switch 016. After KL30 is connected, the signal is detected. If the signals in KL15, wake-up source 1, wake-up source 2, ..., wake-up source n, and CAN_INH are all invalid, then the switch 016 is closed, the power module 012 does not work, VCC has no electrical output, and the uC microprocessor 001 is in a power-off state. If any signal among KL15, wake-up source 1, wake-up source 2, ..., wake-up source n, CAN_INH is valid (i.e., after the operation of OR gate 018, it is concluded that the signal is valid), OR gate 018 sends a signal to enable unit 017, enabling unit 017 turns on switch 016, power module 012 works, VCC has electrical output, uC microprocessor 011 starts the running state, and sets the delayed power-down signal Keep_Alive sent by GPIO unit 014 high. Subsequently, the ADC or GPIO unit 015 inside the uC microprocessor 011 detects KL15, wake-up source 1, wake-up source 2, ..., wake-up source n, CAN_INH signals. If the signal is real and valid, the on-board controller continues to maintain operation. The on-board controller detects KL15 in real time. If it recognizes that KL15 is invalid, and the sleep command received from the communication bus (ie CAN_INH) and other wake-up sources (wake-up source 1, wake-up source 2, ..., wake-up source n) are invalid, after a period of time, the uC microprocessor 011 sets the delayed power-off signal Keep_Alive to low, and the on-board controller enters low power mode. If the signal is invalid (for example, it is interfered by noise, etc.), the on-board controller enters low power mode. If one of KL15, wake-up source 1, wake-up source 2, ..., wake-up source n, and CAN_INH is valid, the on-board controller is awakened, exits low power mode, and enters the startup operation state. In low power mode, some units and peripheral circuits of the uC microprocessor 011 are turned off, and the function of the interrupt capture unit inside the uC microprocessor 011 is retained).

[0080] In the above method, the power module 012 is activated first, and then the uC microprocessor 011 is awakened. After the uC microprocessor 011 is started, in the initialization stage, it is impossible to quickly identify whether KL15 is started, or whether wake-up source 1, wake-up source 2, ..., wake-up source n, CAN_INH is valid, that is, it is impossible to distinguish whether it is a power-on mode or a wake-up mode. A self-check is required first to identify which wake-up signal is which, and the fast wake-up requirement cannot be met (such as sending the first frame of valid message within 100ms after awakening).

[0081] The inventors hope to solve the above problems of the prior art.

[0082] First, refer to Figure 1 The embodiment of the present invention provides a control method of a vehicle-mounted controller, which specifically includes the following steps:

[0083] S1: Determine the type of wake-up signal.

[0084] The wake-up signal can wake up the vehicle controller, and the wake-up signal can be any signal that can wake up the vehicle controller. Fig.13 , Fig.13 The structure diagram of the vehicle controller in the embodiment of the present invention is shown in FIG. The wake-up signal may include Fig.13 KL15, wake-up source 1, ..., wake-up source n and CAN_INH in it. CAN_INH is the hard-wired signal output by the CAN transmission module 36 (outputs high level when there is a CAN message). Wake-up source 1, ..., wake-up source n include internal signals (such as RTC timer wake-up) and external signals (other controllers output hard-wired wake-up signals). The wake-up source can be external, coming from other controllers, such as a charging port being connected or a door being opened; the wake-up source can also be internal, such as CAN communication or a timer. The signal from the wake-up source is wake-up source 1, ..., wake-up source n. Where n is a positive integer. Each wake-up source n corresponds to an internal signal or an external signal.

[0085] S2: Determine the state of the vehicle controller according to the type of the wake-up signal.

[0086] In this embodiment, S2 may include the following four situations:

[0087] S21: When the wake-up signal is valid and the wake-up signal is the vehicle ignition start signal, the on-board controller performs a self-check. When there is no fault in the self-check, the on-board controller is awakened and the on-board controller is controlled to enter the running state.

[0088] Among them, KL15 is the vehicle ignition start signal. When the car key is inserted and turned to start the car ignition, KL15 is effective. KL15 can directly start the power management chip 32.

[0089] Self-check is a detection process automatically performed by the vehicle controller to check whether the various systems and components of the vehicle can work normally. Specifically, after recognizing that the vehicle ignition start signal KL15 is valid, an initialization process needs to be performed. The initialization process needs to perform the self-check of the power management chip 32, the storage self-check of the control unit 31 (for example, it can be a uC microprocessor), the power self-check and other processes, and then after the initialization self-check is successful (for example, the self-check is fault-free, and all components can work normally), the first frame of valid message is sent, and the vehicle controller enters the running state.

[0090] S22: When the wake-up signal is valid and the wake-up signal is a control start signal, the on-board controller does not perform self-check, the on-board controller is awakened, and the on-board controller is controlled to enter the running state.

[0091] The control start signal is any signal other than the vehicle ignition start signal, and can be used to start the control unit 31. Fig.13 , the control start signal may include wakeup source 1, ..., wakeup source n and CAN_INH. When the vehicle controller is awakened by the control start signal, the self-test may be skipped, that is, the self-test of the power management chip 32, the storage self-test of the control unit 31 (for example, a uC microprocessor), the power self-test and other processes are not performed, and the first frame of valid message is directly and quickly sent out, and the vehicle controller enters the running state.

[0092] Among them, the vehicle ignition start signal KL15 and the control start signal are in parallel relationship. The vehicle ignition start signal KL15 has a higher priority, which helps to prioritize the owner's upcoming use of the vehicle. Even if there may be demands for remote wake-up, periodic wake-up during sleep, etc., these other demands will be shelved, and priority will be given to the vehicle ignition start signal KL15 to prioritize the owner's ignition start priority.

[0093] S23: When the wake-up signal is invalid, the vehicle controller is not awakened, and the vehicle controller is controlled to enter a low power consumption state.

[0094] The wake-up signal is invalid, indicating that KL15, wake-up source 1, ..., wake-up source n and CAN_INH are all invalid, and the fault occurrence signal is also invalid. In the low power state, in the vehicle controller, some units in the control unit 31 and the peripheral circuits will be turned off, and the function of the capture unit 35 (i.e., the interrupt capture unit) is retained.

[0095] S24: When the wake-up signal is valid and the wake-up signal is a fault occurrence signal, the on-board controller is awakened, the on-board controller does not perform self-check, and the on-board controller is controlled to enter a fault handling state to handle the fault.

[0096] When the fault occurrence signal is valid, it means that there is a fault in the vehicle that needs to be handled. At this time, no self-check is performed and the fault is handled directly.

[0097] By adopting the above technical scheme, the control method of the vehicle-mounted controller of the present invention can first identify the type of wake-up signal before the vehicle-mounted controller is awakened, and then determine whether self-test is required according to the type of wake-up signal, and control the state of the vehicle-mounted controller in a targeted manner. There is no need to perform self-test every time after awakening, which can reduce power consumption, shorten the wake-up time, and wake up quickly.

[0098] refer to Figure 2 The aforementioned step S1 may specifically include the following steps:

[0099] S011: Determine the wake-up flag according to the wake-up signal.

[0100] By assigning different wake-up flags to different wake-up signals, the control unit 31 only needs to read the wake-up flag to identify which specific type of wake-up signal has woken up the vehicle controller. There is no need to identify which wake-up signal is valid one by one from the signal source, nor is there a need for self-testing to identify the type of wake-up signal. The reading method is simple, fast, and time-saving, which helps to achieve quick wake-up.

[0101] S012: Identify the wake-up flag.

[0102] Among them, S012 may include the following situations:

[0103] S121: When the wake-up flag is the vehicle ignition flag, the wake-up signal is valid and the wake-up signal is the vehicle ignition start signal.

[0104] Exemplarily, the vehicle ignition flag may be "01". That is, when the wake-up flag (PMCSR.REQSLP) is "01", it indicates that the vehicle ignition start signal KL15 is valid, and the vehicle controller is awakened and started by the vehicle ignition start signal KL15.

[0105] S122: When the wake-up flag is the control start flag, the wake-up signal is valid and the wake-up signal is the control start signal.

[0106] Exemplarily, the control start flag may be "10". That is, when the wake-up flag (PMCSR.REQSLP) is "10", it indicates that the control start signal is valid, and the vehicle controller is awakened and started by the control start signal.

[0107] S123: When the wake-up flag is the initial flag, the wake-up signal is invalid.

[0108] Exemplarily, the initial flag bit may be "00". That is, when the wake-up flag bit (PMCSR.REQSLP) is "00", it indicates that there is no valid wake-up signal, the vehicle controller is not awakened, and the vehicle controller enters a low power consumption mode.

[0109] S124: When the wake-up flag is a fault occurrence flag, the wake-up signal is valid and the wake-up signal is a fault occurrence signal.

[0110] Exemplarily, the fault occurrence flag may be "11". That is, when the wake-up flag (PMCSR.REQSLP) is "11", it indicates that the vehicle controller has a fault state and needs to be awakened to execute fault handling measures.

[0111] refer to Figure 3In the above embodiment, the aforementioned step S24 may specifically include the following steps:

[0112] S241: Determine corresponding fault handling measures according to the fault occurrence signal.

[0113] S242: Execute fault handling measures to handle the fault.

[0114] Among them, a fault handling mechanism and a fault code (such as a fault flag) can be set to establish a corresponding relationship between the fault and its corresponding fault handling measure. The vehicle controller only needs to read the fault code to identify the fault occurrence signal, and then identify the corresponding fault, so that the fault handling mechanism can be executed and the corresponding fault handling measures can be executed to handle the fault. The fault identification method is simple and fast, which is conducive to the rapid execution of fault handling measures and the acceleration of fault handling.

[0115] S243: If the fault is rectified, the vehicle controller is controlled to enter a low power consumption state; if the fault is not rectified, manual fault handling is performed until the fault is rectified.

[0116] Exemplarily, if the fault is resolved, the fault code is cleared (for example, the fault flag bit PMCSR.Fault is set to 0) to indicate that the fault has been successfully resolved. If the fault is not resolved, the vehicle controller alarms and prohibits operation, and the after-sales technicians need to manually clear the fault code. After the fault is resolved, the vehicle controller is controlled to enter a low power consumption state, which helps to reduce power consumption and extend the service life of the vehicle controller.

[0117] Further, refer to Figure 4 In the above embodiments, the control method of the vehicle controller of the present invention further includes the following steps:

[0118] S3: After the vehicle controller enters the running state, it continues to determine whether the wake-up signal is real and valid.

[0119] Following the reference Fig.13 When the vehicle controller enters the running state, the control unit 31 sends an SPI instruction (i.e., an instruction in the SPI communication process) to enable the power management chip 32 to output power, and the ADC (i.e., an analog-to-digital converter, which can convert analog signals into digital signals) or GPIO (i.e., a general-purpose input and output port, which can transmit data) unit 34 inside the control unit 31 detects KL15, wake-up source 1, ..., wake-up source n, and CAN_INH signal. The CAN_INH signal is sent by the CAN transmission module 36.

[0120] S4: If the wake-up signal is real and valid, the vehicle controller is controlled to maintain the running state and the vehicle ignition start signal is periodically detected. Then step S5 is executed: when the vehicle ignition start signal is detected to be invalid, the sleep command signal is received, and the control start signal is invalid, the vehicle controller is controlled to enter a low power consumption state.

[0121] Among them, the sleep command signal can be sent by a system other than the vehicle controller, and the sleep command signal can be received by the vehicle controller. When the sleep command signal is received, and KL15, wake-up source 1, ... wake-up source are all invalid, the control unit 31 uses the SPI instruction to make the power management chip 32 enter the sleep state after a period of time, that is, delay entering the sleep state. Correspondingly, the control unit 31 also enters the low power consumption state, and the vehicle controller enters the low power consumption state. Among them, when it is recognized that KL15 fails, other control start signals fail, and after receiving the sleep command signal, the entire vehicle controller system will not immediately enter the power-off state or the sleep state, but delay entering the power-off state or the sleep state. The delay helps to maintain the storage and recording of information and avoid information loss.

[0122] S6: If the wake-up signal is invalid, the vehicle controller is controlled to enter a low power consumption state.

[0123] Due to possible signal interference, the vehicle controller may mistakenly believe that there is a valid wake-up signal, or the effective wake-up signal may become invalid after a period of time. Therefore, it is necessary to continue to detect whether the wake-up signal is truly valid after the vehicle controller enters the running state. If the wake-up signal is invalid, the vehicle controller is promptly controlled to enter a low power consumption state to reduce power consumption.

[0124] refer to Fig.14 In the above embodiments, the control unit 31 of the vehicle controller also includes a standby domain 38 and a power on domain 37. The standby domain 38 and the power on domain 37 access each other through registers to understand each other's working status and achieve fast communication. There is no need to communicate through CAN, which can speed up the communication speed and help improve the speed of controlling the vehicle controller to enter the running state or low power consumption state. The register is used to store the wake-up flag.

[0125] Continue to refer Fig.13 The power management chip 32 has two electrical outputs, namely VCC_1 and VCC_2. Among them, VCC_1 supplies power to the power-on domain 37, and VCC_2 supplies power to the standby domain 38. When the power-on domain 37 is running, the on-board controller is in a running state. When the standby domain 38 is running and the power-on domain 37 is not running, the on-board controller is in a low power consumption state.

[0126] In the above embodiments, the SPI instruction is an instruction issued by the power-up domain 37. When the power management chip enters the sleep state, VCC_1 is powered off and has no power output; VCC_2 maintains power output.

[0127] In the prior art, especially in the aforementioned second method of the prior art, after the vehicle controller enters the low power consumption mode, all the back-end power supplies (VCC, etc.) are turned off. Fig.12 The uC microprocessor 011, power module 012, etc. in the system are in a power-off state, and cannot perform safety-related self-checks and start fault emergency mechanisms, which cannot meet the increasing control system requirements. In the above-mentioned embodiment of the present invention, by maintaining the operation of the standby domain 38 in a low power consumption state, Fig.13 The power management chip 32 and the control unit 31 in the system maintain power diagnosis, and can maintain self-checking capability in a low power consumption state, and meet the real-time diagnosis requirements of safety.

[0128] In the aforementioned step S3, illustratively, after the wake-up signal has been detected to be real and effective and the vehicle controller continues to maintain operation, the wake-up flag (PMCSR.REQSLP) in the register in the control unit 31 can be cleared, that is, the wake-up flag (PMCSR.REQSLP) is set to "00" (i.e., initialized). By clearing the register value in time after the vehicle controller is awakened and setting the wake-up flag in the register to 0, it is helpful to solve the misjudgment of the wake-up cause and status caused by abnormal write of the register value.

[0129] In the aforementioned step S6, illustratively, after detecting that the wake-up signal is invalid, the wake-up flag (PMCSR.REQSLP) in the register in the control unit 31 can also be cleared, that is, the wake-up flag (PMCSR.REQSLP) is set to "00" (i.e., initialized). By clearing the register value in time after the vehicle controller is awakened and setting the wake-up flag in the register to 0, it is helpful to solve the misjudgment of the wake-up cause and status caused by abnormal write of the register value.

[0130] Further, refer to Figure 5 In the above embodiments, the control method of the vehicle controller of the present invention may further include the following steps:

[0131] S7: When the vehicle controller is in a low power consumption state, detect whether there is a fault.

[0132] S8: When a fault is detected, the wake-up signal is valid, and the wake-up signal is a fault occurrence signal, the on-board controller is awakened, the on-board controller does not perform self-check, and the on-board controller is controlled to enter a fault handling state to handle the fault.

[0133] Specifically, the standby domain 38 can be used to perform fault detection and diagnose abnormal events.

[0134] For example, in the above embodiments, after a fault is detected, the standby domain 38 can store the fault information in a register that is mutually accessible between the power-on domain 37 and the standby domain 38, and set the fault flag PMCSR.Fault to 1 and the wake-up flag PMCSR.REQSLP to 11 in the register, that is, determine the type of the wake-up signal. Subsequently, the aforementioned steps S2 and S24 can be executed.

[0135] This helps improve safety by maintaining fault detection in low power states, providing real-time diagnostics and maintaining self-checking capabilities.

[0136] Furthermore, in the low power consumption state, the GPIO unit 33 can detect whether there is a fault, and store the fault information in the register, and output the relevant signal of whether the fault occurs to the wake-up unit 322 of the power management chip 32 through the GPIO unit 33, so as to wake up the power management chip 32 through the wake-up unit 322. In the low power consumption state, if there is a fault in the vehicle controller, if the vehicle controller is not woken up in time for processing, the existing fault may disappear automatically after a period of time. After the vehicle controller is restarted next time, it is impossible to know the fault that has disappeared automatically before. Using the above method, the fault information is stored in the register, which helps to timely predict the vulnerabilities and risks of the vehicle controller.

[0137] Furthermore, the fault information can be displayed only after the vehicle ignition start signal KL15 is identified. Other wake-up sources can also be detected in real time, that is, whether the control start signal is valid. When the control start signal is identified to be valid, the GPIO unit 33 wakes up the power management chip 32. In the above manner, fault processing can be performed uniformly when there is a vehicle ignition start signal or a control start signal is valid. When there is only a fault occurrence signal and other wake-up signals are invalid, the on-board controller is still in a low power consumption state, and there is no need to switch from a low power consumption state to a fault processing state every time a fault occurs, thereby helping to reduce power consumption.

[0138] In the prior art, Fig.11 The interrupt capture unit 005 shown generally identifies the rising edge / falling edge of the wake-up source, and has poor anti-interference ability and is prone to false wake-up. The inventor also hopes to solve the problem of false wake-up. In the low power consumption state, the on-board controller can perform periodic diagnosis, and the capture unit 35 of the control unit 31 can periodically identify the wake-up signal.

[0139] refer to Figure 6 In the above embodiments, the control method of the vehicle controller of the present invention may further include the following steps:

[0140] S9: When the vehicle controller is in a low power consumption state, detect whether the vehicle ignition start signal is valid.

[0141] S10: When it is detected that the vehicle ignition start signal is valid, the vehicle ignition start signal is filtered to confirm whether the vehicle ignition start signal is real and valid.

[0142] Among them, the ADC or GPIO unit 34 of the control unit 31 (belonging to the standby domain 38, in the low power consumption state, the standby domain 38 is running) can monitor the vehicle ignition start signal KL15 in real time. A first filtering unit is provided in the ADC or GPIO unit for filtering the vehicle ignition start signal. The first filtering unit is configured by software, and the first filtering unit can filter through a plurality of continuous value majority filters, for example, a 3-continuous value majority filter. By adopting the above-mentioned first filtering unit, it is helpful to improve the filtering accuracy and filtering efficiency, and improve the ability to judge whether the signal is true and effective.

[0143] S11: When the vehicle ignition start signal is confirmed to be true and valid, the on-board controller performs a self-check. When there is no fault in the self-check, the on-board controller is awakened and the on-board controller is controlled to enter the running state.

[0144] In the above embodiments, when it is confirmed that the vehicle ignition start signal is authentic and valid, the wake-up flag PMCSR.REQSLP can be set to "01" by way of example, that is, the type of the wake-up signal is determined. Then, the above steps S2 and S21 can be executed.

[0145] By adopting the above technical solution, by filtering the vehicle ignition start signal, it is possible to further confirm whether the vehicle ignition start signal is true and valid, which helps to reduce the risk of false wake-up.

[0146] Further, refer to Figure 7 In the above embodiments, the control method of the vehicle controller of the present invention may further include the following steps:

[0147] S12: When the vehicle controller is in a low power consumption state, detecting whether the control start signal is valid.

[0148] S13: When it is detected that the control start signal is valid, the control start signal is filtered to confirm whether the control start signal is real and valid.

[0149] S14: When the control start signal is confirmed to be true and valid, the on-board controller does not perform self-check, the on-board controller is awakened, and the on-board controller is controlled to enter the running state.

[0150] Among them, in the above embodiments, the capture unit 35 of the control unit 31 (belonging to the standby domain 38, in the low power consumption state, the standby domain 38 is running) can detect in real time whether the control start signal is valid. Then, after confirming that the signal is real and valid through the internal filtering unit (for example, it can be a majority filter of multiple continuous values, more specifically, for example, a majority filter of 3 continuous values, which can be configured by software), the wake-up flag bit PMCSR.REQSLP of the register can be set to "10", that is, the type of the wake-up signal is determined. Subsequently, the aforementioned steps S2 and S22 can be executed.

[0151] By adopting the above technical solution, by filtering the control start signal, it is possible to further confirm whether the vehicle ignition start signal is authentic and effective, which helps to reduce the risk of false wake-up.

[0152] In the above embodiments, the vehicle-mounted controller is connected to a power source, and the power source is used to supply power to the vehicle-mounted controller. Figure 8 , the control method of the vehicle controller also includes the following steps:

[0153] S0: Determine whether the power supply voltage is within a valid voltage range; wherein the valid voltage range indicates a power supply voltage range that is sufficient for the vehicle controller to start working.

[0154] S01: If the power supply voltage is within the valid voltage range, the power supply supplies power to the vehicle controller, so that the vehicle controller can determine the type of the wake-up signal, and determine the state of the vehicle controller according to the type of the wake-up signal.

[0155] Continue to refer Fig.13 Specifically, the power management chip 32 of the vehicle controller is connected to the power supply, which is a normal power supply, and the corresponding power supply signal is KL30. When the car leaves the factory, KL30 is connected to the power management chip 32.

[0156] The effective voltage range may be, for example, higher than (or not lower than) a certain effective voltage threshold. Exemplarily, it may be higher than the voltage threshold of the enable unit 321 of the power management chip 32. When the voltage of KL30 (i.e., the power supply voltage) is higher than (or not lower than) the voltage threshold of the enable unit 321 of the power management chip 32, the enable unit 321 may work, and then the power management chip 32 may work and have electrical output. The power management chip 32 may output VCC_1 and VCC_2 respectively, VCC_1 supplies power to the upper power domain 37, and VCC_2 supplies power to the standby domain 38, and the control unit 31 enters the running state accordingly.

[0157] Furthermore, the voltage of VCC_1 may be 5V or 3.3V, etc., which may match the power requirement of the power-up domain 37 . The voltage of VCC_2 may be 5V or 3.3V, etc., which may match the power requirement of the standby domain 38 .

[0158] S02: If the power supply voltage is not within the valid voltage range, the power supply does not supply power to the vehicle controller, and the vehicle controller enters a power-off state.

[0159] Exemplarily, when the voltage of KL30 (ie, the power supply voltage) is lower than (or not higher than) the voltage threshold of the enabling unit 321 of the power management chip 32, VCC_1 and VCC_2 have no electrical output, and the control unit 31 is in a power-off state.

[0160] Among them, KL30 is the first condition for the operation of the entire system. By first determining whether KL30 is valid and then controlling the power management chip 32 and the control unit 31, it helps to confirm whether the entire vehicle controller system can operate and whether the next step can be taken.

[0161] Second, refer to Fig. 9 The embodiment of the present invention further discloses a control device 1 of a vehicle-mounted controller, which controls the vehicle-mounted controller by the control method of the vehicle-mounted controller in any one of the embodiments of the first aspect. The control device 1 of the vehicle-mounted controller includes a signal determination module 11 and a state control module 12.

[0162] The signal determination module 11 is connected to the state control module 12 .

[0163] Continue to refer Fig. 9 The signal determination module 11 is used to determine the type of the wake-up signal, and the wake-up signal can wake up the vehicle controller.

[0164] The state control module 12 is used to determine the state of the vehicle controller according to the type of wake-up signal; when the wake-up signal is valid and the wake-up signal is the vehicle ignition start signal, the vehicle controller performs a self-check, and when there is no fault in the self-check, the vehicle controller is awakened and the vehicle controller is controlled to enter the running state; when the wake-up signal is valid and the wake-up signal is a control start signal, the vehicle controller does not perform a self-check, the vehicle controller is awakened, and the vehicle controller is controlled to enter the running state; wherein the control start signal is any signal except the vehicle ignition start signal; when the wake-up signal is invalid, the vehicle controller is not awakened, and the vehicle controller is controlled to enter a low power consumption state; when the wake-up signal is valid and the wake-up signal is a fault occurrence signal, the vehicle controller is awakened, the vehicle controller does not perform a self-check, and the vehicle controller is controlled to enter a fault handling state to handle the fault.

[0165] By adopting the above technical scheme, the control device 1 of the vehicle controller of the present invention can first identify the type of wake-up signal before the vehicle controller is awakened, and then determine whether self-test is required according to the type of wake-up signal, thereby controlling the state of the vehicle controller in a targeted manner, reducing power consumption, and waking up quickly.

[0166] Furthermore, the signal determination module 11 may also be used to execute the aforementioned steps S11 , S12 , S121 , S122 , S123 and S124 .

[0167] The state control module 12 may also be used to execute the aforementioned steps S241 , S242 and S243 .

[0168] Furthermore, the control device 1 of the vehicle controller also includes a signal detection and state adjustment module (not shown in the figure) for executing the aforementioned steps S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13 and S14.

[0169] The control device 1 of the vehicle-mounted controller further includes a power detection module (not shown in the figure) for executing the aforementioned steps S0, S01 and S02.

[0170] Thirdly, reference Fig.10 The embodiment of the present invention further discloses an electronic device 2, including a memory 21 and a processor 22, wherein the memory 21 stores at least one instruction, and when the at least one instruction is executed by the processor 22, the control method of the vehicle controller in any one of the embodiments of the first aspect is implemented. The memory 21 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.

[0171] In this embodiment, the electronic device 2 can first identify the type of the wake-up signal before the vehicle controller is awakened, and then determine whether self-test is required based on the type of the wake-up signal, thereby controlling the state of the vehicle controller in a targeted manner, reducing power consumption, and waking up quickly.

[0172] In a fourth aspect, an embodiment of the present invention further discloses a computer-readable storage medium, in which at least one instruction is stored. When the at least one instruction is executed, the control method of the vehicle-mounted controller in any one of the embodiments of the first aspect is implemented.

[0173] By adopting the above technical solution, the computer-readable storage medium can first identify the type of wake-up signal before the vehicle controller is awakened, and then determine whether self-test is required based on the type of wake-up signal, thereby controlling the state of the vehicle controller in a targeted manner, reducing power consumption, and waking up quickly.

[0174] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0175] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0176] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0177] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0178] Although the present invention has been illustrated and described with reference to certain preferred embodiments of the present invention, it should be understood by those skilled in the art that the above is a further detailed description of the present invention in conjunction with specific embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. Those skilled in the art may make various changes in form and details, including making several simple deductions or substitutions, without departing from the spirit and scope of the present invention.

Claims

1. A control method for a vehicle-mounted controller, characterized in that: include: determining a type of a wake-up signal, the wake-up signal being capable of waking up the onboard controller; determining a state of the vehicle controller according to the type of the wake-up signal; When the wake-up signal is valid and the wake-up signal is a vehicle ignition start signal, the on-board controller performs a self-check. If there is no fault in the self-check, the on-board controller is woken up and controlled to enter the running state; When the wake-up signal is valid and the wake-up signal is a control start signal, the on-board controller does not perform a self-test, the on-board controller is awakened, and the on-board controller is controlled to enter a running state; wherein the control start signal is any signal other than the vehicle ignition start signal; When the wake-up signal is invalid, the onboard controller is not awakened, and the onboard controller is controlled to enter a low power consumption state; When the wake-up signal is valid and the wake-up signal is a fault occurrence signal, the on-board controller is awakened, the on-board controller does not perform a self-check, and the on-board controller is controlled to enter a fault processing state to process the fault.

2. The control method of the vehicle controller according to claim 1, characterized in that: Determining the type of the wake-up signal specifically includes: Determine a wake-up flag according to the wake-up signal; Identifying the wake-up flag; When the wake-up flag is the vehicle ignition flag, the wake-up signal is valid and the wake-up signal is the vehicle ignition start signal; When the wake-up flag is a control start flag, the wake-up signal is valid and the wake-up signal is the control start signal; When the wake-up flag is the initial flag, the wake-up signal is invalid; When the wake-up flag is a fault occurrence flag, the wake-up signal is valid and the wake-up signal is a fault occurrence signal.

3. The control method of the vehicle controller according to claim 1, characterized in that: When the wake-up signal is valid and the wake-up signal is a fault occurrence signal, the onboard controller is awakened, the onboard controller does not perform a self-check, and the onboard controller is controlled to enter a fault handling state to handle the fault, specifically including: Determining corresponding fault handling measures according to the fault occurrence signal; executing the fault handling measures to handle the fault; If the fault is resolved, the vehicle-mounted controller is controlled to enter the low power consumption state; if the fault is not resolved, manual fault processing is performed until the fault is resolved.

4. The control method of the vehicle controller according to claim 1, characterized in that: Also includes: After the vehicle controller enters the running state, continue to determine whether the wake-up signal is real and valid; If the wake-up signal is true and valid, controlling the vehicle controller to maintain the operating state and periodically detecting the vehicle ignition start signal; When it is detected that the vehicle ignition start signal is invalid, a sleep instruction signal is received, and the control start signal is invalid, the vehicle controller is controlled to enter the low power consumption state; If the wake-up signal is invalid, the vehicle controller is controlled to enter the low power consumption state.

5. The control method of the vehicle controller according to claim 2, characterized in that: The vehicle controller includes a control unit, the control unit includes a standby domain and a power-on domain, the standby domain and the power-on domain are mutually accessible via a register, and the register is used to store the wake-up flag; When the power-on domain is running, the onboard controller is in the running state; when the standby domain is running and the power-on domain is not running, the onboard controller is in the low power consumption state.

6. The control method of the vehicle controller according to claim 1, characterized in that: The control method further includes: When the vehicle-mounted controller is in the low power consumption state, detecting whether there is a fault; When a fault is detected, the wake-up signal is valid, and the wake-up signal is a fault occurrence signal, the on-board controller is awakened, the on-board controller does not perform a self-check, and the on-board controller is controlled to enter a fault processing state to process the fault; and / or, When the vehicle-mounted controller is in the low-power state, detecting whether the vehicle ignition start signal is valid; When it is detected that the vehicle ignition start signal is valid, filtering the vehicle ignition start signal to confirm whether the vehicle ignition start signal is real and valid; When the vehicle ignition start signal is confirmed to be true and valid, the on-board controller performs a self-test. If there is no fault in the self-test, the on-board controller is awakened and controlled to enter the running state; and / or, When the onboard controller is in the low power consumption state, detecting whether the control start signal is valid; When it is detected that the control start signal is valid, filtering the control start signal to confirm whether the control start signal is real and valid; When the control start signal is confirmed to be true and valid, the on-board controller does not perform a self-check, the on-board controller is awakened, and the on-board controller is controlled to enter an operating state.

7. The control method of the vehicle controller according to claim 1, characterized in that: The vehicle-mounted controller is connected to a power supply, and the power supply is used to supply power to the vehicle-mounted controller. The control method of the vehicle-mounted controller further includes: Determining whether the power supply voltage is within a valid voltage range; wherein the valid voltage range represents a power supply voltage range sufficient for the vehicle-mounted controller to start operating; If the power supply voltage is within the valid voltage range, the power supply supplies power to the onboard controller, so that the onboard controller can determine the type of the wake-up signal, and determine the state of the onboard controller according to the type of the wake-up signal; If the power supply voltage is not within the valid voltage range, the power supply does not supply power to the vehicle-mounted controller, and the vehicle-mounted controller enters a power-off state.

8. A control device for a vehicle-mounted controller, characterized in that: include: a signal determination module, configured to determine a type of a wake-up signal, wherein the wake-up signal is capable of waking up the vehicle controller; a state control module, configured to determine a state of the vehicle controller according to a type of the wake-up signal; When the wake-up signal is valid and the wake-up signal is a vehicle ignition start signal, the on-board controller performs a self-check. If there is no fault in the self-check, the on-board controller is woken up and controlled to enter the running state; When the wake-up signal is valid and the wake-up signal is a control start signal, the on-board controller does not perform a self-test, the on-board controller is awakened, and the on-board controller is controlled to enter a running state; wherein the control start signal is any signal other than the vehicle ignition start signal; When the wake-up signal is invalid, the onboard controller is not awakened, and the onboard controller is controlled to enter a low power consumption state; When the wake-up signal is valid and the wake-up signal is a fault occurrence signal, the on-board controller is awakened, the on-board controller does not perform a self-check, and the on-board controller is controlled to enter a fault processing state to process the fault.

9. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores at least one instruction, and when the at least one instruction is executed by the processor, the control method of the vehicle controller according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed, it implements the control method of the vehicle controller according to any one of claims 1 to 7.