Redundant electronic stability control system, control method and vehicle
By setting the first MCU and the second MCU in the vehicle control system and interacting through the SPI channel, automatic switching when the MCU fails, the safety hazards caused by MCU failure in the prior art are solved, and the vehicle control system is significantly improved security.
Patent Information
- Application Number
- CN202411536099.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2024-11-29
AI Technical Summary
In harsh environments, the hardware of the electronic control unit (ECU) lacks redundant design, resulting in safety risks when the device fails. Especially when the main microcontroller unit (MCU) fails, the safety of the vehicle control system is threatened.
A redundant electronic stability control system is designed. By setting the first MCU and the second MCU and interacting information through the SPI channel, when the first MCU fails, the second MCU takes over the controller to ensure the normal operation of the system. The system includes an optional control unit, a feedback control unit and a switching unit for detecting the operating state of the MCU and automatically switching control rights to ensure the safety of the vehicle state.
Through the MCU's redundant design and information interaction mechanism, the safety of the vehicle control system is greatly improved, ensuring that the MCU can be switched in time when the MCU fails, and avoiding the occurrence of safety hazards.
Smart Images

Figure CN119037455A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a redundant electronic stability control system, a control method and a vehicle. Background Art
[0002] With the rapid development of the automotive industry, users have higher requirements for the safety performance of automobiles, and the requirements for intelligent auxiliary functions of automobiles are also increasing. The electronic stability control system ESC (Electronic Stability Control, ESC) consists of three parts: sensors, electronic control units and actuators. The electronic control unit, also known as ECU, is the core component of the entire control system, including all control logic and controlling each actuator to execute corresponding commands. When the control logic of the electronic control unit (ECU) lacks redundant design in hardware, the failure of the device caused by the vehicle in unpredictable conditions such as harsh environments, such as the failure of the main road micro control unit MCU, will pose a great safety hazard.
[0003] Therefore, it is desired to provide a redundant electronic stability control system, a control method and a vehicle, wherein a first MCU and a second MCU are provided to exchange information through an SPI channel. When one MCU fails, the other MCU is used to take over the controller, thereby greatly improving the safety of control. Summary of the invention
[0004] According to a first aspect of some embodiments of the present invention, a redundant electronic stability control system is provided, which may include a controller; a first MCU, connected to an input end of the controller, and used to control the controller; the first MCU is provided with four SPI channels, including a first SPI channel, a second SPI channel, a third SPI channel, and a fourth SPI channel; a second MCU, connected to an input end of the controller, and interacting with the first MCU through the third SPI channel to obtain a control state of the controller, a working state of the first MCU, and a vehicle state; when the first MCU fails, the second MCU takes over the controller.
[0005] In some embodiments, the controller is provided with an optional control unit, and the optional control unit is used to obtain the working status and signal of the first MCU; when the working status of the first MCU is normal operation, the optional control unit obtains the signal of the first MCU as a high level, and receives the control of the controller by the first MCU; when the optional control unit obtains the signal of the first MCU as a low level, it automatically switches to receiving the control of the controller by the second MCU; or, when the optional control unit obtains fault code information and the working status of the first MCU is abnormal operation, the optional control unit automatically switches to receiving the control of the controller by the second MCU.
[0006] In some embodiments, a feedback control unit is further included, which is connected to the first MCU and the second MCU; the feedback control unit calculates the vehicle state based on the signal of the controller; when the vehicle state is normal driving, the feedback control unit sends a stop signal to the second MCU, so that the second MCU does not respond to other signals; when the vehicle state is abnormal driving, the feedback control unit sends a start signal to the second MCU, so that the second MCU responds to the control signal and takes over the control of the controller by the first MCU.
[0007] In some embodiments, a switching unit is further included, and the switching unit is used to detect the working status of the first MCU; when the first MCU works abnormally, the control right of the controller is switched to the second MCU; when the first MCU works normally, the control right of the controller is switched to the first MCU.
[0008] In some embodiments, the power module includes a first power supply and a second power supply, which are used to power the first MCU and the second MCU respectively; the CAN module includes a first CAN, a second CAN, and a third CAN, the first CAN and the second CAN are used for communication with the first MCU, and the third CAN is used for communication with the second MCU.
[0009] In some embodiments, the first power supply includes a multi-way power management module or an integrated power supply and control chip; when the first power supply is a multi-way power management module, the first MCU exchanges information with the multi-way power management module through a fourth SPI channel, including monitoring information and fault code information; when the first power supply is an integrated power supply and control chip, the first MCU exchanges information with the integrated power supply and control chip through the fourth SPI channel, including monitoring information, fault code information, and drive information.
[0010] According to a second aspect of some embodiments of the present invention, a control method is provided, which may include obtaining a working state of a first MCU, wherein the working state includes normal operation and abnormal operation; obtaining a signal sent by the first MCU to a controller, wherein the signal includes a high level and a low level; when the first MCU is operating normally and the signal is at a high level, controlling the controller through the first MCU; when the first MCU is operating normally and the signal is at a low level, switching to a second MCU to control the controller; when the first MCU is operating abnormally, switching to the second MCU to control the controller.
[0011] In some embodiments, the vehicle state is calculated based on the signal of the controller by the feedback control unit, and a stop signal or a start signal is sent to the second MCU according to the vehicle state; when the stop signal is sent, the second MCU does not respond to other signals; when the start signal is sent, the second MCU takes over the control of the first MCU and responds to the control signal.
[0012] In some embodiments, the first MCU exchanges information with the first CAN through the first SPI, and exchanges information with the second CAN through the second SPI, including operating mode information, initialization information, and CAN wake-up information; the first MCU exchanges information with the second MCU through the third SPI, including the control status of the controller, the working status of the first MCU, and the vehicle status.
[0013] According to a vehicle provided by the present invention, the redundant electronic stability control system of the present application is applied to execute the control method of the present application.
[0014] The beneficial effect of the present invention is that by setting the first MCU and the second MCU, information interaction is performed through the SPI channel. When one MCU fails, the other MCU is used to take over the controller, which greatly improves the safety of control. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] To better understand and illustrate some embodiments of the present invention, the following description of the embodiments will be made with reference to the accompanying drawings, in which like reference numerals indicate corresponding parts throughout the drawings.
[0016] Figure 1 is an exemplary schematic diagram of a redundant electronic stability control system provided according to some embodiments of the present invention.
[0017] Figure 2 is an exemplary schematic diagram of a redundant electronic stability control system power supply architecture provided according to some embodiments of the present invention.
[0018] Figure 3is an exemplary schematic diagram of a redundant electronic stability control system communication architecture provided according to some embodiments of the present invention. DETAILED DESCRIPTION
[0019] The following description with reference to the accompanying drawings is for the convenience of comprehensive understanding and various embodiments of the present invention defined by its equivalent content. These embodiments include various specific details for ease of understanding, but these are only considered as exemplary. Therefore, it can be understood by those skilled in the art that various changes and modifications can be made to the various embodiments described herein without departing from the scope and spirit of the present invention. In addition, in order to briefly and clearly describe the present invention, the present invention will omit the description of known functions and structures.
[0020] The terms and phrases used in the following description are not limited to the literal meaning, but are only to enable a clear and consistent understanding of the present invention. Therefore, it will be appreciated by those skilled in the art that the description of various embodiments of the present invention is provided only for the purpose of illustration, rather than to limit the present invention to its equivalent definition.
[0021] The following will be combined with the drawings in some embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] It should be noted that the terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms of "one", "a", "a kind of", "said" and "the" used in the embodiments of the present invention are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in the present invention refers to and includes any or all possible combinations of one or more bound listed items. The expressions "first", "second", "the first" and "the second" are used to modify the corresponding elements without considering the order or importance, and are only used to distinguish one element from another element, without limiting the corresponding elements.
[0023] The embodiment of the present invention provides a redundant electronic stability control system, a control method and a vehicle. To facilitate understanding of the embodiment of the present invention, the embodiment of the present invention will be described in detail below with reference to the accompanying drawings.
[0024] Figure 1 FIG. 1 is an exemplary schematic diagram of a redundant electronic stability control system according to some embodiments of the present invention. Figure 1 As shown, the system may include a controller; a first MCU (i.e. Figure 1The first MCU is configured with four SPI channels ( Figure 1 Not shown, reference Figure 3 As shown), including the first SPI channel, the second SPI channel, the third SPI channel, and the fourth SPI channel; the second MCU (i.e. Figure 1 The "auxiliary MCU2" in the figure is connected to the input end of the controller and exchanges information with the first MCU through the third SPI channel to obtain the control state of the controller, the working state of the first MCU and the vehicle state; when the first MCU fails, the second MCU takes over the controller.
[0025] In some embodiments, the controller of the system may be provided with an optional control unit. The optional control unit is used to obtain the working state and signal of the first MCU; when the working state of the first MCU is normal operation, the optional control unit obtains the signal of the first MCU as a high level, and receives the control of the controller by the first MCU; when the optional control unit obtains the signal of the first MCU as a low level, it automatically switches to receiving the control of the controller by the second MCU; or, when the optional control unit obtains fault code information and the working state of the first MCU is abnormal operation, the optional control unit automatically switches to receiving the control of the controller by the second MCU.
[0026] In some embodiments, the system may further include a feedback control unit. The feedback control unit is connected to the first MCU and the second MCU; the feedback control unit calculates the vehicle state based on the signal of the controller; when the vehicle state is normal driving, the feedback control unit sends a stop signal to the second MCU so that the second MCU does not respond to other signals; when the vehicle state is abnormal driving, the feedback control unit sends a start signal to the second MCU so that the second MCU responds to the control signal and takes over the control of the controller by the first MCU.
[0027] In some embodiments, the system may further include a switching unit. The switching unit is used to detect the working state of the first MCU; when the first MCU works abnormally, the control right of the controller is switched to the second MCU; when the first MCU works normally, the control right of the controller is switched to the first MCU.
[0028] According to some embodiments of the present application, the system may further include a power module and a CAN module. In some embodiments, the power module may include a first power supply and a second power supply, which are used to power the first MCU and the second MCU respectively; the CAN module may include a first CAN, a second CAN, and a third CAN, the first CAN and the second CAN are used for communication with the first MCU, and the third CAN is used for communication with the second MCU.
[0029] As an example, the first power supply includes a multi-way power management module or an integrated power supply and control chip; when the first power supply is a multi-way power management module, the first MCU exchanges information with the multi-way power management module through the fourth SPI channel (SPI0), including monitoring information (Watch Dog), fault code information, etc.; when the first power supply is an integrated power supply and control chip, the first MCU exchanges information with the integrated power supply and control chip through the fourth SPI channel, including monitoring information, fault code information, drive information, etc.
[0030] Figure 2 FIG. 1 is an exemplary schematic diagram of a redundant electronic stability control system power supply architecture according to some embodiments of the present invention. Figure 2 As shown, the first MCU (main MCU) is used to control all circuits in the system. The first power supply (main power supply) circuit realizes circuit control through multiple voltages of different values. The front-stage power supply of the first MCU can use a multi-channel power management module (Power Management IC, PMIC) or an integrated power and control chip (Application Specific IC, ASIC) to output multiple voltages. The second MCU (auxiliary MCU) is used for redundant control of the EPB module. The second power supply (auxiliary power supply) circuit can realize the control of the EPB module through a voltage value. The front-stage power supply of the second MCU can use a DC-DC with a single voltage output.
[0031] like Figure 2 As shown, the CAN module includes a first CAN, a second CAN, and a third CAN. The first MCU (main MCU) communicates through the first CAN and the second CAN, and the second MCU (auxiliary MCU) communicates through the third CAN.
[0032] Figure 3 FIG. 1 is an exemplary schematic diagram of a redundant electronic stability control system communication architecture according to some embodiments of the present invention. Figure 3As shown in the figure, the first MCU (main MCU) has four SPI channels. The first MCU exchanges information with the CAN1 chip through the first SPI channel (SPI1), including operation mode selection information, initialization information, and CAN wake-up information. The first MCU exchanges information with the CAN2 chip through the second SPI channel (SPI2), including operation mode selection information, initialization information, and CAN wake-up information. The first MCU exchanges information with the second MCU (auxiliary MCU) chip through the third SPI channel (SPI3), including the control status of the EPB module, the working status of the first MCU, the status of the vehicle, etc.
[0033] like Figure 3 As shown, the first MCU exchanges information with the multi-channel power management module (PMIC) through the fourth SPI channel (SPI0), including monitoring information, fault code information, etc. In other embodiments, when the first power supply is an integrated power supply and control chip, the first MCU can exchange information with the integrated power supply and control chip through the fourth SPI channel (SPI0), including monitoring information, fault code information, drive information, etc.
[0034] like Figure 3 As shown, the CAN module may include a first CAN, a second CAN, and a third CAN. The first CAN and the second CAN are used for communication of the first MCU, and the third CAN is used for communication of the second MCU. The first MCU (main MCU) and the second MCU (auxiliary MCU) communicate with each other through a universal asynchronous receiver / transmitter (UART), which is a universal serial data bus used for asynchronous communication. The UART bus communicates bidirectionally to achieve full-duplex transmission and reception. The second MCU (auxiliary MCU) may be provided with a universal synchronous / asynchronous serial transceiver module (USART), etc.
[0035] According to some embodiments of the present application, a control method of a redundant electronic stability control system includes: The working state of the first MCU is obtained, where the working state includes normal working and abnormal working. In some embodiments, the redundant electronic stability control system can obtain the working state of the first MCU in real time.
[0036] A signal sent by the first MCU to the controller is obtained, wherein the signal includes a high level and a low level. In some embodiments, the redundant electronic stability control system may further obtain a signal sent by the first MCU, including a signal sent by the first MCU to the controller.
[0037] When the first MCU works normally and the signal is at a high level, the controller is controlled by the first MCU; in some embodiments, the redundant electronic stability control system can obtain in real time that the working status of the first MCU is normal, and the signal sent by the first MCU to the controller is at a high level. The optional control unit determines that the first MCU (main MCU) is in a normal working state, and the control unit can automatically switch to the control logic that only receives the first MCU to realize control of the EPB module.
[0038] When the first MCU works normally and the signal is at a low level, the control of the controller is switched to the second MCU; in some embodiments, the redundant electronic stability control system can obtain in real time that the working state of the first MCU is normal, and the signal sent by the first MCU to the controller is at a low level, determine that the first MCU is working abnormally, and switch the control of the controller to the second MCU through the switching unit. Further, when the first MCU is obtained in real time that it works normally, the control of the controller is switched to the first MCU.
[0039] When the first MCU is not working properly, the second MCU is switched to control the controller. In some embodiments, when the redundant electronic stability control system can obtain the working status of the first MCU in real time and it is not working properly, it can not execute the acquisition of the signal sent by the first MCU to the controller, determine that the first MCU is working abnormally, and switch the control of the controller to the second MCU through the switching unit. Further, when it is obtained in real time that the first MCU is working normally, the control of the controller is switched to the first MCU.
[0040] According to some embodiments of the present application, the vehicle state is calculated based on the signal of the controller through the feedback control unit, and a stop signal or a start signal is sent to the second MCU according to the vehicle state; when the stop signal is sent, the second MCU does not respond to other signals; when the start signal is sent, the second MCU takes over the control of the first MCU and responds to the control signal.
[0041] In some embodiments, the first MCU exchanges information with the first CAN through the first SPI, and exchanges information with the second CAN through the second SPI, including operating mode information, initialization information, and CAN wake-up information; the first MCU exchanges information with the second MCU through the third SPI, including the control status of the controller, the working status of the first MCU, and the vehicle status.
[0042] According to some embodiments of the present application, the vehicle of the present application may include a redundant electronic stability control system applying the present application, and execute the above control method. The redundant electronic stability control system may include a controller; a first MCU, connected to the input end of the controller, for controlling the controller; the first MCU sets four SPI channels, including a first SPI channel, a second SPI channel, a third SPI channel, and a fourth SPI channel; a second MCU, connected to the input end of the controller, and interacting with the first MCU through the third SPI channel to obtain the control state of the controller, the working state of the first MCU, and the vehicle state; when the first MCU fails, the second MCU takes over the controller. The control method may include obtaining the working state of the first MCU, the working state includes normal operation and abnormal operation; obtaining a signal sent by the first MCU to the controller, the signal includes a high level and a low level; when the first MCU is working normally and the signal is high level, the controller is controlled by the first MCU; when the first MCU is working normally and the signal is low level, the controller is switched to the second MCU to control the controller; when the first MCU is working abnormally, the controller is switched to the second MCU to control the controller.
[0043] It should be noted that the above description of the redundant electronic stability control system is only for convenience of description and does not limit the present invention to the scope of the embodiments. It is understandable that for those skilled in the art, based on the principle of the present device, it is possible to arbitrarily combine the various structures, or to combine the substructures with other structures, and to make various modifications and changes in form and details to the functions of implementing the above-mentioned devices and operations without departing from the principle. For example, the redundant electronic stability control system may further be provided with a feedback control unit, a switching unit, etc. Such variations are all within the scope of protection of the present invention.
[0044] In summary, the redundant electronic stability control system and control method thereof of the present invention include a controller; a first MCU, connected to the input end of the controller, and used to control the controller; the first MCU is provided with four SPI channels, including a first SPI channel, a second SPI channel, a third SPI channel, and a fourth SPI channel; a second MCU, connected to the input end of the controller, and performing information exchange with the first MCU through the third SPI channel, and used to obtain the control state of the controller, the working state of the first MCU, and the vehicle state; when the first MCU fails, the second MCU takes over the controller; information exchange is performed through the SPI channel, and when one MCU fails, another MCU is used to take over the controller, thereby greatly improving the safety of vehicle control.
[0045] It should be noted that the above-described embodiments are merely examples, and the present invention is not limited to such examples but can be variously modified.
[0046] It should be noted that, in this specification, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0047] The above disclosures are only some preferred embodiments of the present invention, which cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the structures of the above embodiments and equivalent changes made according to the present invention still fall within the scope covered by the present invention.
Claims
1. A redundant electronic stability control system, characterized in that: Controller; A first MCU is connected to an input end of the controller and is used to control the controller; the first MCU is provided with four SPI channels, including a first SPI channel, a second SPI channel, a third SPI channel, and a fourth SPI channel; a second MCU connected to an input end of the controller, and performing information exchange with the first MCU through the third SPI channel, so as to obtain a control state of the controller, a working state of the first MCU, and a vehicle state; when the first MCU fails, the second MCU takes over the controller; The controller is provided with an optional control unit, and the optional control unit is used to obtain the working state and signal of the first MCU; When the working state of the first MCU is normal operation, the optional control unit receives the control of the controller by the first MCU when the signal obtained by the optional control unit from the first MCU is at a high level; when the signal obtained by the optional control unit from the first MCU is at a low level, it automatically switches to receiving the control of the controller by the second MCU; Alternatively, when the optional control unit obtains fault code information and the working state of the first MCU is abnormal, the optional control unit automatically switches to receiving control of the controller by the second MCU.
2. The system according to claim 1, further comprising a feedback control unit, characterized in that: The feedback control unit is connected to the first MCU and the second MCU; The feedback control unit calculates the vehicle state based on the signal of the controller; When the vehicle is in normal driving state, the feedback control unit sends a stop signal to the second MCU so that the second MCU does not respond to other signals; When the vehicle is in an abnormal driving state, the feedback control unit sends an opening signal to the second MCU, so that the second MCU responds to the control signal and takes over the control of the controller by the first MCU.
3. The system according to claim 1, further comprising a switching unit, characterized in that: The switching unit is used to detect the working status of the first MCU; When the first MCU works abnormally, the control right of the controller is switched to the second MCU; When the first MCU works normally, the control right of the controller is switched to the first MCU.
4. The system according to claim 1, characterized in that Also includes: The power module includes a first power supply and a second power supply, which are used to power the first MCU and the second MCU respectively; The CAN module includes a first CAN, a second CAN, and a third CAN. The first CAN and the second CAN are used for communication with the first MCU, and the third CAN is used for communication with the second MCU.
5. The system according to claim 4, characterized in that: The first power supply includes a multi-way power management module or an integrated power supply and control chip; when the first power supply is a multi-way power management module, the first MCU exchanges information with the multi-way power management module through a fourth SPI channel, including monitoring information and fault code information; When the first power supply is an integrated power supply and control chip, the first MCU exchanges information with the integrated power supply and control chip through the fourth SPI channel, including monitoring information, fault code information, and drive information.
6. A control method, characterized in that: Acquire a working state of the first MCU, where the working state includes normal working state and abnormal working state; Acquire a signal sent by the first MCU to the controller, wherein the signal includes a high level and a low level; When the first MCU works normally and the signal is at a high level, the controller is controlled by the first MCU; When the first MCU works normally and the signal is at a low level, the second MCU is switched to control the controller; When the first MCU does not work normally, the second MCU is switched to control the controller.
7. The method according to claim 6, characterized in that: Calculating the vehicle state based on the signal of the controller by the feedback control unit, and sending a stop signal or a start signal to the second MCU according to the vehicle state; When the abort signal is sent, the second MCU does not respond to other signals; When the start signal is sent, the second MCU takes over the control of the first MCU and responds to the control signal.
8. The method according to claim 6, characterized in that: The first MCU exchanges information with the first CAN via the first SPI, and exchanges information with the second CAN via the second SPI, including operation mode information, initialization information, and CAN wake-up information; The first MCU exchanges information with the second MCU through the third SPI, including the control state of the controller, the working state of the first MCU, and the vehicle state.
9. A vehicle, characterized in that: The redundant electronic stability control system according to any one of claims 1 to 5 is applied to execute the control method according to any one of claims 6 to 8.
Citation Information
Patent Citations
Method and system used for controlling operation of unmanned vehicle
CN107908186A
Method and system for improving driving safety of electric motorcycle
CN112623081A
Double-MCU automobile parking control system
CN113900404A
Electronic braking system and control method
CN117533282A
Vehicle and redundancy control system of electronic parking brake thereof
CN219487413U
