Power supply control system and vehicle

By designing a combination of microcontroller, latch and driver in automotive electronic controllers, the problem of unstable power supply in traditional systems in reset or startup mode is solved, and stable power supply in fault or update mode is achieved, avoiding The short-term power supply of the electronic control unit is abnormal.

CN222224068UInactive Publication Date: 2024-12-24SHANGHAI JIDU AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421165281.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-12-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional automotive electronic controllers cannot maintain the power supply state stably in reset or start mode, resulting in short-term power supply abnormalities in the electronic control unit.

Method used

A power supply control system is designed, including a microcontroller, a latch and a driver. Through the latch, the power supply control signal is latched when the latch signal of the microcontroller is received, and the driver can control the power supply of the electronic control unit. Ensure stable power supply in fault or update mode.

Benefits of technology

It effectively avoids short-term power supply abnormalities in the electronic control unit in the fault or update mode, ensuring the stability and safety of power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222224068U_ABST
    Figure CN222224068U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model provides a power supply control system and a vehicle, the system is used for controlling power supply of at least one electronic control unit, and the system comprises a microcontroller, a latch and a driver; the latch signal output end of the microcontroller is connected with the latch control end of the latch, the control signal output end of the microcontroller is connected with the data input end of the latch, the data output end of the latch is connected with the enabling end of the driver, the power receiving end of the driver is connected with the power supply end of the power source, and the power receiving end of the power source is connected with the power supply end of the power source. The power supply end of the driver is connected with the power receiving end of at least one electronic control unit; wherein the latch is used for latching a power supply control signal historically output by the control signal output end of the microcontroller when receiving a first level signal output by the latch signal output end of the microcontroller in a default manner. According to the embodiment of the invention, the power supply of the electronic control unit can be stably controlled under the condition that the microcontroller is in the fault mode or the update mode, and the problem of short-time power supply abnormity of the electronic control unit is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power supply control, and in particular to a power supply control system and a vehicle. Background Art

[0002] According to the current trend of the evolution of automotive electronic and electrical architecture, the use of efuse (electronic fuse, a fusible device, a one-time programmable memory) technology to achieve intelligent power distribution has become the next generation mainstream power distribution solution. Efuse is integrated in the controller, which can control the transmission and stop transmission of power signals and intelligently control power supply. However, in the existing power distribution solution, the traditional controller cannot stably maintain the original external power supply state when it is in a fault mode such as reset mode or an update mode such as boot mode, which makes the external electronic control unit prone to short-term power supply abnormalities. Utility Model Content

[0003] The purpose of the embodiments of the present application is to provide a power supply control system and a vehicle, so as to stably control the power supply of an electronic control unit when a microcontroller is in a fault mode or an update mode, thereby avoiding the problem of short-term power supply abnormality of the electronic control unit.

[0004] In a first aspect, an embodiment of the present application provides a power supply control system, the power supply control system is used to control the power supply of at least one electronic control unit, the power supply control system includes a microcontroller, a latch and a driver;

[0005] The latch signal output terminal of the microcontroller is connected to the latch control terminal of the latch, the control signal output terminal of the microcontroller is connected to the data input terminal of the latch, the data output terminal of the latch is connected to the enable terminal of the driver, the power receiving terminal of the driver is connected to the power supply terminal of the power supply, and the power supply terminal of the driver is connected to the power receiving terminal of the at least one electronic control unit; wherein the latch is used to latch the power supply control signal historically output by the control signal output terminal of the microcontroller when receiving the first level signal output by default by the latch signal output terminal of the microcontroller.

[0006] In the above implementation process, a microcontroller, a latch and a driver are selected to design a power supply control system for at least one electronic control unit that can perform power supply control synchronously. When the latch receives the first level signal output by default at the latch signal output terminal of the microcontroller, the power supply control signal historically output by the control signal output terminal of the microcontroller is latched to enable the driver to control the power supply of each electronic control unit according to the latched power supply control signal, thereby achieving stable control of the power supply of the electronic control unit when the microcontroller is in a fault mode or an update mode, and avoiding the problem of short-term power supply abnormality in the electronic control unit.

[0007] Further, the microcontroller is used to transmit the second level signal to the latch control terminal of the latch through the latch signal output terminal of the microcontroller in the working mode, and transmit the power supply control signal to the data input terminal of the latch through the control signal output terminal of the microcontroller;

[0008] The microcontroller is used to transmit the first level signal to the latch control terminal of the latch through the latch signal output terminal of the microcontroller in a fault mode or an update mode.

[0009] In the above implementation process, the microcontroller outputs a second level signal from the latch signal output terminal of the microcontroller in the working mode, outputs a power supply control signal from the control signal output terminal of the microcontroller, and outputs a first level signal from the latch signal output terminal of the microcontroller in the fault mode or update mode, so that when the latch receives the first level signal output by default at the latch signal output terminal of the microcontroller, it latches the power supply control signal historically output by the control signal output terminal of the microcontroller, so as to enable the driver to control the power supply of each electronic control unit according to the latched power supply control signal, thereby realizing stable control of the power supply of the electronic control unit when the microcontroller is in the fault mode or update mode, and avoiding the problem of short-term power supply abnormality of the electronic control unit.

[0010] Further, the system also includes a first diode and a second diode;

[0011] The control signal output terminal of the microcontroller is connected to the anode of the first diode, and the cathode of the first diode is connected to the data input terminal of the latch;

[0012] The data output terminal of the latch is connected to the anode of the second diode, and the cathode of the second diode is connected to the enable terminal of the driver.

[0013] In the above implementation process, the power supply control system is designed by adding the first diode and the second diode, which can effectively ensure the directional and stable transmission of signals between the microcontroller, the latch and the driver, thereby achieving stable control of the power supply of the electronic control unit when the microcontroller is in a fault mode or an update mode, and avoiding short-term power supply abnormalities in the electronic control unit.

[0014] Further, the system also includes a grounding resistor;

[0015] The control signal output terminal of the microcontroller is connected to one end of the grounding resistor, and the other end of the grounding resistor is grounded.

[0016] In the above implementation process, by adding a grounding resistor to design the power supply control system, the safe operation of the microcontroller can be effectively guaranteed, thereby achieving stable control of the power supply of the electronic control unit when the microcontroller is in a fault mode or an update mode, and avoiding short-term power supply abnormalities in the electronic control unit.

[0017] Furthermore, the resistance of the grounding resistor is 1 kΩ.

[0018] In the above implementation process, the power supply control system is designed by adding a grounding resistor with a resistance value of 1 kΩ, which can further ensure the operation safety of the microcontroller.

[0019] Further, the latch includes a D latch or an RS latch.

[0020] In the above implementation process, by selecting a D latch or an RS latch to design the power supply control system, the power supply control system can be designed to adapt to different application scenarios, thereby achieving stable control of the power supply of the electronic control unit when the microcontroller is in a fault mode or an update mode, and avoiding short-term power supply abnormalities in the electronic control unit.

[0021] Furthermore, the latch includes a 74HC573 chip or a 74HC563 chip.

[0022] In the above implementation process, by selecting 74HC573 chip or 74HC563 chip to design the power supply control system, the power supply control system can be designed to adapt to different application scenarios, so as to achieve stable control of the power supply of the electronic control unit when the microcontroller is in a fault mode or an update mode, thereby avoiding the problem of short-term power supply abnormality of the electronic control unit.

[0023] Furthermore, the driver includes a high-side driver chip.

[0024] In the above implementation process, by selecting a high-side driver chip to design a power supply control system, it is possible to further ensure that the power supply of the electronic control unit is stably controlled when the microcontroller is in a fault mode or an update mode.

[0025] Furthermore, the driver includes a pre-driver chip and a MOS tube.

[0026] In the above implementation process, by selecting a driver including a pre-driver chip and a MOS tube to design a power supply control system, it is possible to further ensure that the power supply of each electronic control unit is synchronously controlled when the microcontroller is in a fault mode or an update mode.

[0027] In a second aspect, an embodiment of the present application provides a vehicle, comprising the power supply control system, a power supply and at least one electronic control unit as described above;

[0028] The power supply control system is connected to the at least one electronic control unit and the power supply respectively, and is used to control the power supply of the at least one electronic control unit. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0030] Figure 1 A schematic diagram of the structure of a power supply control system provided in the first embodiment of the present application;

[0031] Figure 2 This is a schematic diagram of the structure of a power supply control system exemplified in the first embodiment of the present application;

[0032] Figure 3 This is a schematic structural diagram of a vehicle provided in the second embodiment of the present application. DETAILED DESCRIPTION

[0033] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0034] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0035] According to the current trend of the evolution of automotive electronic and electrical architecture, the use of efuse (electronic fuse, a fusible device, a one-time programmable memory) technology to achieve intelligent power distribution has become the next generation mainstream power distribution solution. Efuse is integrated in the controller, which can control the transmission and stop transmission of power signals and intelligently control power supply.

[0036] In the related art, when a traditional controller is in a fault mode such as a reset mode or an update mode such as a boot mode, it is unable to stably maintain the original external power supply state, such as powering on or off the external electronic control unit, causing the external electronic control unit to easily have short-term (within 100ms) power supply abnormalities.

[0037] To this end, the present application proposes a power supply control system, which designs a power supply control system by selecting a microcontroller, a latch and a driver for at least one electronic control unit that can perform power supply control synchronously. When the latch receives the first level signal output by default at the latch signal output terminal of the microcontroller, the power supply control signal historically output by the control signal output terminal of the microcontroller is latched to enable the driver to control the power supply of each electronic control unit according to the latched power supply control signal, thereby achieving stable control of the power supply of the electronic control unit when the microcontroller is in a fault mode or an update mode, and avoiding the problem of short-term power supply abnormality in the electronic control unit.

[0038] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0039] It should be understood that the vehicle described in the embodiments of the present application may be a pure electric vehicle, or a hybrid vehicle, a gas-electric hybrid vehicle, a fuel cell vehicle, or a vehicle of other energy types with a motor, and the embodiments of the present application are not limited thereto. The types of vehicles in the embodiments of the present application may include vehicles such as sedans, off-road vehicles, trucks, and buses, and the embodiments of the present application are not limited thereto. The vehicles in the embodiments of the present application may be vehicles with automatic intelligent driving, manned vehicles, or manned vehicles with assisted intelligent driving functions, and the embodiments of the present application are not limited thereto.

[0040] For the convenience of description and to make the solution of the embodiment of the present application easier to understand, before describing the embodiment of the present application, the terms involved in the embodiment of the present application are defined as follows:

[0041] Microcontroller Unit (MCU): A single-chip microcomputer that integrates the main parts of a microcomputer on one chip.

[0042] Latch: A storage unit circuit that is sensitive to pulse levels and can change state under the action of a specific input pulse level. Latching is to temporarily store the signal to maintain a certain level state. The main function of the latch is to cache, followed by solving the problem of asynchrony between high-speed controllers and slow peripherals, and then solving the problem of driving, and finally solving the problem of an I / O port being able to both output and input. The latch uses the level to control the input of data, which includes latches without enable control and latches with enable control.

[0043] Driver: A device used to drive power supply and power off.

[0044] Electronic Control Unit (ECU): Also known as "driving computer", "on-board computer", etc., it is a microcomputer controller specially used for vehicles. The main function of the ECU is to control various electronic equipment and systems of the vehicle, such as the engine, transmission, braking system, airbags, etc. The ECU can monitor various parameters of the vehicle in real time, such as vehicle speed, throttle position, speed, temperature, etc., and adjust the performance and status of the vehicle according to these parameters. The working principle of the ECU is to read the signal from the sensor, issue instructions after processing, and control various electronic equipment and systems of the vehicle. For example, when the driver steps on the accelerator, the ECU will control the fuel injection amount and ignition timing according to parameters such as engine speed and throttle position to achieve the best combustion effect.

[0045] Combine the following Figure 1-2 A power supply control system according to an embodiment of the present application is described.

[0046] Please see Figure 1 , Figure 1A schematic diagram of the structure of a power supply control system provided in the first embodiment of the present application. A power supply control system (10) provided in the first embodiment of the present application is used to control the power supply of at least one electronic control unit (20). The power supply control system (10) includes a microcontroller (101), a latch (102) and a driver (103); a latch signal output terminal (PIN1) of the microcontroller (101) is connected to a latch control terminal (LE) of the latch (102), a control signal output terminal (PIN2) of the microcontroller (101) is connected to a data input terminal (D) of the latch (102), and a latch control terminal (LE) of the latch (102) is connected to a latch control terminal (LE) of the latch (102). The data output terminal (Q) of the latch (102) is connected to the enable terminal (EN) of the driver (103), the power receiving terminal of the driver (103) is connected to the power supply terminal of the power supply (30), and the power supply terminal of the driver (103) is connected to the power receiving terminal of at least one electronic control unit (20); wherein the latch (102) is used to latch the power supply control signal historically output by the control signal output terminal (PIN2) of the microcontroller (101) when receiving the first level signal outputted by default by the latch signal output terminal (PIN1) of the microcontroller (101).

[0047] As an example, according to actual application requirements, for at least one electronic control unit (20) that can synchronously perform power supply control, a microcontroller (101), a latch (102) and a driver (103) are selected, and a power supply control system (10) is designed to synchronously control the power supply of each electronic control unit (20) using the power supply control system (10), such as synchronously powering on or off each electronic control unit (20).

[0048] In a power supply control system (10), a latch signal output terminal (PIN1) of a microcontroller (101) is connected to a latch control terminal (LE) of a latch (102), a control signal output terminal (PIN2) of the microcontroller (101) is connected to a data input terminal (D) of the latch (102), a data output terminal (Q) of the latch (102) is connected to an enable terminal (EN) of a driver (103), a power receiving terminal of the driver (103) is connected to a power supply terminal of a power source (30), and a power supply terminal of the driver (103) is connected to a power receiving terminal of each electronic control unit (20).

[0049] Since the chip register inside the microcontroller (101) configures the latch signal output terminal (PIN1) of the microcontroller (101) to output a first level signal, such as a low level signal, by default, when the microcontroller (101) is in a fault mode such as a reset mode or an update mode such as a boot mode, the application software of the microcontroller (101) cannot control the output of the latch signal output terminal (PIN1) of the microcontroller (101), and the latch signal output terminal (PIN1) of the microcontroller (101) outputs the first level signal by default. When the microcontroller (101) is in a working mode, the application software of the microcontroller (101) can control the output of the latch signal output terminal (PIN1) and the control signal output terminal (PIN2) of the microcontroller (101) based on the application software strategy. For example, when the microcontroller (101) is in working mode, the application software of the microcontroller (101) can control the latch signal output terminal (PIN1) of the microcontroller (101) to output a second level signal, such as a high level signal, and control the control signal output terminal (PIN2) of the microcontroller (101) to output a power supply control signal, such as a power-on signal or a power-off signal.

[0050] When the latch (102) receives the first level signal outputted by default from the latch signal output terminal (PIN1) of the microcontroller (101), it latches the power supply control signal historically outputted from the control signal output terminal (PIN2) of the microcontroller (101), and generates a corresponding enable signal according to the latched power supply control signal. For example, when the latched power supply control signal is a power-on signal, a power-on enable signal is generated; when the latched power supply control signal is a power-off signal, a power-off enable signal is generated. The enable signal is transmitted to the enable terminal (EN) of the driver (103) through the data output terminal (Q) of the latch (102), so as to enable the driver (103) to synchronously control the power supply of each electronic control unit (20).

[0051] It should be noted that the power supply control signal historically output by the control signal output terminal (PIN2) of the microcontroller (101) refers to the power supply control signal output by the control signal output terminal (PIN2) of the microcontroller (101) received by the latch (102) for the last time before the latch (102) receives the first level signal output by default by the latch signal output terminal (PIN1) of the microcontroller (101).

[0052] The embodiment of the present application selects a microcontroller (101), a latch (102) and a driver (103) to design a power supply control system (10) for at least one electronic control unit (20) capable of synchronously performing power supply control. When the latch (102) receives a first level signal outputted by default by a latch signal output terminal (PIN1) of the microcontroller (101), the latch (102) latches the power supply control signal historically outputted by a control signal output terminal (PIN2) of the microcontroller (101), so as to enable the driver (103) to control the power supply of each electronic control unit (20) according to the latched power supply control signal, thereby realizing stable control of the power supply of the electronic control unit (20) when the microcontroller (101) is in a fault mode or an update mode, and avoiding the problem of short-term power supply abnormality of the electronic control unit (20).

[0053] In an optional embodiment, the microcontroller (101) is used to transmit a second level signal to a latch control terminal (LE) of a latch (102) through a latch signal output terminal (PIN1) of the microcontroller (101) in an operating mode, and to transmit a power supply control signal to a data input terminal (D) of the latch (102) through a control signal output terminal (PIN2) of the microcontroller (101); the microcontroller (101) is used to transmit a first level signal to a latch control terminal (LE) of a latch (102) through a latch signal output terminal (PIN1) of the microcontroller (101) in a fault mode or an update mode.

[0054] As an example, in the process of applying the power supply control system (10) to control the power supply of the electronic control unit (20), the microcontroller (101) can, when in the working mode, transmit a second level signal, such as a high level signal, to the latch controller end of the latch (102) through the latch signal output end (PIN1) of the microcontroller (101), and transmit a power supply control signal, such as a power-on signal or a power-off signal, to the data input end (D) of the latch (102) through the control signal output end (PIN2) of the microcontroller (101).

[0055] When the latch (102) receives the second level signal output by the latch signal output terminal (PIN1) of the microcontroller (101) and the power supply control signal output by the control signal output terminal (PIN2) of the microcontroller (101), the latch (102) generates a corresponding enable signal according to the power supply control signal received this time, for example, when the power supply control signal received this time is a power-on signal, a power-on enable signal is generated; when the power supply control signal received this time is a power-off signal, a power-off enable signal is generated, and the enable signal is transmitted to the driver (103) through the data output terminal (Q) of the latch (102) to enable the driver (103) to synchronously control the power supply of each electronic control unit (20).

[0056] When the microcontroller (101) is in a fault mode such as a reset mode or an update mode such as a boot mode, the microcontroller (101) can transmit a first level signal to a latch control terminal (LE) of a latch (102) through a latch signal output terminal (PIN1) of the microcontroller (101).

[0057] When the latch (102) receives the first level signal outputted by default from the latch signal output terminal (PIN1) of the microcontroller (101), it latches the power supply control signal historically outputted from the control signal output terminal (PIN2) of the microcontroller (101), and generates a corresponding enable signal according to the latched power supply control signal. For example, when the latched power supply control signal is a power-on signal, a power-on enable signal is generated; when the latched power supply control signal is a power-off signal, a power-off enable signal is generated. The enable signal is transmitted to the enable terminal (EN) of the driver (103) through the data output terminal (Q) of the latch (102), so as to enable the driver (103) to synchronously control the power supply of each electronic control unit (20).

[0058] In the embodiment of the present application, the microcontroller (101) outputs a second level signal from a latch signal output terminal (PIN1) of the microcontroller (101) in the working mode, outputs a power supply control signal from a control signal output terminal (PIN2) of the microcontroller (101), and outputs a first level signal from the latch signal output terminal (PIN1) of the microcontroller (101) in the fault mode or the update mode, so that the latch (102) latches the power supply control signal historically output by the control signal output terminal (PIN2) of the microcontroller (101) when receiving the first level signal outputted by default by the latch signal output terminal (PIN1) of the microcontroller (101), so as to enable the driver (103) to control the power supply of each electronic control unit (20) according to the latched power supply control signal, thereby realizing stable control of the power supply of the electronic control unit (20) when the microcontroller (101) is in the fault mode or the update mode, and avoiding the problem of short-term power supply abnormality of the electronic control unit (20).

[0059] In the embodiment of the present application, the first level signal may be a low level signal, and correspondingly, the second level signal may be a high level signal; the first level signal may also be a high level signal, and correspondingly, the second level signal may also be a low level signal, and the embodiment of the present application does not limit this.

[0060] In an optional embodiment, the system further comprises a first diode (104) and a second diode (105); the control signal output terminal (PIN2) of the microcontroller (101) is connected to the anode of the first diode (104), and the cathode of the first diode (104) is connected to the data input terminal (D) of the latch (102); the data output terminal (Q) of the latch (102) is connected to the anode of the second diode (105), and the cathode of the second diode (105) is connected to the enable terminal (EN) of the driver (103).

[0061] As an example, a diode is an electronic device that can conduct current in one direction, allowing current to flow in only one direction, and has the functions of rectification and voltage stabilization. In order to ensure that the signal is transmitted in a directional and stable manner between the microcontroller (101), the latch (102) and the driver (103), a first diode (104) and a second diode (105) are added to the power supply control system (10), the control signal output terminal (PIN2) of the microcontroller (101) is connected to the positive electrode of the first diode (104), the negative electrode of the first diode (104) is connected to the data input terminal (D) of the latch (102), the data output terminal (Q) of the latch (102) is connected to the positive electrode of the second diode (105), and the negative electrode of the second diode (105) is connected to the enable terminal (EN) of the driver (103). For example, the structural schematic diagram of the power supply control system (10) is as follows: Figure 2 shown.

[0062] The embodiment of the present application designs a power supply control system (10) by adding a first diode (104) and a second diode (105), which can effectively ensure that signals are transmitted in a directional and stable manner between the microcontroller (101), the latch (102) and the driver (103), thereby achieving stable control of the power supply of the electronic control unit (20) when the microcontroller (101) is in a fault mode or an update mode, thereby avoiding the problem of short-term power supply abnormality of the electronic control unit (20).

[0063] In an optional embodiment, the system further comprises a grounding resistor (106); the control signal output terminal (PIN2) of the microcontroller (101) is connected to one end of the grounding resistor (106), and the other end of the grounding resistor (106) is grounded.

[0064] As an example, the grounding resistance is the resistance encountered when the current flows from the grounding device into the earth and then flows through the earth to another grounding body or spreads to a distant place. It has the function of protecting the grounding device and preventing the grounding device from being damaged. In order to ensure the safe operation of the microcontroller (101), a grounding resistor (106) is added to the power supply control system (10), and the control signal output terminal (PIN2) of the microcontroller (101) is connected to one end of the grounding resistor (106), and the other end of the grounding resistor (106) is grounded. For example, the structural schematic diagram of the power supply control system (10) is shown in FIG. Figure 2 shown.

[0065] The embodiment of the present application designs a power supply control system (10) by adding a grounding resistor (106), which can effectively ensure the safe operation of the microcontroller (101), thereby achieving stable control of the power supply of the electronic control unit (20) when the microcontroller (101) is in a fault mode or an update mode, thereby avoiding the problem of short-term power supply abnormality of the electronic control unit (20).

[0066] In an optional embodiment, the resistance of the grounding resistor (106) is 1 kΩ.

[0067] As an example, taking into account factors such as the device type and functional requirements of the microcontroller (101), a grounding resistor (106) with a resistance of 1 kΩ is selected.

[0068] The embodiment of the present application designs a power supply control system (10) by adding a grounding resistor (106) with a resistance value of 1 kΩ, which can further ensure the operation safety of the microcontroller (101).

[0069] In an alternative embodiment, the latch (102) comprises a D latch or an RS latch.

[0070] As an example, a D latch is a digital circuit element used to store one bit of binary data. The D latch has a data input terminal, a clock input terminal, a data output terminal and an inverting output terminal. The working principle of the D latch is as follows: when the signal at the clock input terminal is a high-level signal, the D latch is in a transparent state, and the signal at the data input terminal is directly transmitted to the data output terminal; when the falling edge of the signal at the clock input terminal arrives, the D latch is in a latched state, and the signal at the data input terminal is latched and is no longer affected by the input signal. In the latched state, even if the signal at the data input terminal changes, the value of the data output terminal will not change until the next signal at the clock input terminal arrives.

[0071] The RS latch is a digital circuit element used to store one bit of binary data. The RS latch has a set 0 input, a set 1 input, a data output, and an inverting output. The working principle of the RS latch is as follows: when the signal at the set 1 input is a high-level signal, the signal at the data output is set to a high-level signal; when the signal at the set 0 input is a high-level signal, the signal at the data output is reset to a low-level signal; when the signal at the set 1 input and the signal at the set 0 input are both low-level signals, the RS latch maintains the current state and does not change. When the signal at the set 1 input and the signal at the set 0 input are both high-level signals, the behavior of the RS latch is undefined because both inputs are trying to push the state of the output.

[0072] For example, assuming that a D latch is selected to design the power supply control system (10), the latch control end (LE) of the latch (102) in the power supply control system (10) is the clock input end of the D latch, the data input end (D) of the latch (102) in the power supply control system (10) is the data input end of the D latch, and the data output end (Q) of the latch (102) in the power supply control system (10) is the data output end of the D latch.

[0073] In order to achieve the goal of latching the original external power supply control signal of the microcontroller (101) when the microcontroller (101) is in a fault mode such as a reset mode or an update mode such as a boot mode, a D latch or an RS latch can be selected to design the power supply control system (10).

[0074] The embodiment of the present application uses a D latch or an RS latch to design a power supply control system (10), which can adapt to different application scenarios to design a power supply control system (10), thereby achieving stable control of the power supply of the electronic control unit (20) when the microcontroller (101) is in a fault mode or an update mode, thereby avoiding the problem of short-term power supply abnormality of the electronic control unit (20).

[0075] In an alternative embodiment, the latch (102) includes a 74HC573 chip or a 74HC563 chip.

[0076] As an example, according to actual application requirements, for the D latch, a 74HC573 chip or a 74HC563 chip can be selected to design the power supply control system (10).

[0077] For example, assuming that a 74HC573 chip or a 74HC563 chip is selected to design the power supply control system (10), in the process of applying the power supply control system (10) to control the power supply of the electronic control unit (20), based on the latch truth table shown in Table 1, when the signal at the latch control terminal (LE) of the latch (102) is a low-level signal, the signal at the data output terminal (Q) of the latch (102) remains unchanged.

[0078] Table 1

[0079]

[0080] In Table 1, “H” indicates a high-level signal, “L” indicates a low-level signal, “×” indicates “don’t care”, and “Z” indicates a high-impedance state.

[0081] The embodiment of the present application uses a 74HC573 chip or a 74HC563 chip to design a power supply control system (10), which can be adapted to different application scenarios to design a power supply control system (10), thereby achieving stable control of the power supply of the electronic control unit (20) when the microcontroller (101) is in a fault mode or an update mode, thereby avoiding the problem of short-term power supply abnormality of the electronic control unit (20).

[0082] In an optional embodiment, the driver (103) includes a high-side driver chip.

[0083] As an example, a high-side driver (HSD) chip is an electronic switch that controls the load by placing a switch between the power supply and the load. The switch is not connected to the ground line, but is located between the load and the power supply. The working principle of the high-side driver chip is as follows: when a high-level signal is applied to the enable end, the switch tube is turned on, allowing current to flow from the power supply to the load, thereby energizing the load circuit; when a low-level signal is applied to the enable end, the switch tube is turned off, preventing the current from flowing, causing the load circuit to be powered off.

[0084] In order to achieve the goal of stably controlling the power supply of the electronic control unit (20), a high-side driver chip can be selected to design the power supply control system (10).

[0085] The embodiment of the present application selects a high-side driver chip to design a power supply control system (10), which can further ensure stable control of the power supply of the electronic control unit (20) when the microcontroller (101) is in a fault mode or an update mode.

[0086] In an optional embodiment, the driver (103) includes a pre-driver chip and a MOS tube.

[0087] As an example, the pre-driver chip refers to a driver chip, which plays a driving role. MOS tube is a metal (metal)-oxide (oxide)-semiconductor (semiconductor) field effect transistor, which is a semiconductor device that uses the electric field effect of the control input loop to control the output loop current.

[0088] Considering that in practical applications, it may be necessary to synchronously control the power supply of at least one electronic control unit (20), a driver (103) including a pre-driver chip and a MOS tube can be selected to design a power supply control system (10) so as to control the flow of current from a power supply (30) to an electronic control unit (20) through a group of MOS tubes.

[0089] The embodiment of the present application designs a power supply control system (10) by selecting a driver (103) including a pre-driver chip and a MOS tube, which can further ensure synchronous control of the power supply of each electronic control unit (20) when the microcontroller (101) is in a fault mode or an update mode.

[0090] Please see Figure 3 , Figure 3 A schematic diagram of the structure of a vehicle provided in the second embodiment of the present application. The second embodiment of the present application provides a vehicle, comprising a power supply control system (10), a power supply (30) and at least one electronic control unit (20) as described in the first embodiment of the present application; the power supply control system (10) is respectively connected to the at least one electronic control unit (20) and the power supply (30) to control the power supply of the at least one electronic control unit (20).

[0091] The implementation process of the functions and effects of the above-mentioned power supply control system (10) is specifically described in the implementation process of the power supply control system (10) in the first embodiment of the present application, and will not be repeated here.

[0092] In summary, the embodiments of the present application provide a power supply control system and a vehicle, wherein the power supply control system (10) is used to control the power supply of at least one electronic control unit (20), and the power supply control system (10) comprises a microcontroller (101), a latch (102) and a driver (103); a latch signal output terminal (PIN1) of the microcontroller (101) is connected to a latch control terminal (LE) of the latch (102), and a control signal output terminal (PIN2) of the microcontroller (101) is connected to a data input terminal (D) of the latch (102). The latch (102) is connected to the enable end (EN) of the driver (103), the power receiving end of the driver (103) is connected to the power supply end of the power supply (30), and the power supply end of the driver (103) is connected to the power receiving end of at least one electronic control unit (20); wherein the latch (102) is used to latch the power supply control signal historically output by the control signal output end (PIN2) of the microcontroller (101) when receiving the first level signal outputted by default by the latch signal output end (PIN1) of the microcontroller (101). The embodiment of the present application selects a microcontroller (101), a latch (102) and a driver (103) to design a power supply control system (10) for at least one electronic control unit (20) capable of synchronously performing power supply control. When the latch (102) receives a first level signal outputted by default by a latch signal output terminal (PIN1) of the microcontroller (101), the latch (102) latches the power supply control signal historically outputted by a control signal output terminal (PIN2) of the microcontroller (101), so as to enable the driver (103) to control the power supply of each electronic control unit (20) according to the latched power supply control signal, thereby realizing stable control of the power supply of the electronic control unit (20) when the microcontroller (101) is in a fault mode or an update mode, and avoiding the problem of short-term power supply abnormality of the electronic control unit (20).

[0093] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0094] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0095] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0096] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0097] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0098] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" 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, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

Claims

1. A power supply control system, characterized in that: The power supply control system is used to control the power supply of at least one electronic control unit, and the power supply control system includes a microcontroller, a latch and a driver; The latch signal output terminal of the microcontroller is connected to the latch control terminal of the latch, the control signal output terminal of the microcontroller is connected to the data input terminal of the latch, the data output terminal of the latch is connected to the enable terminal of the driver, the power receiving terminal of the driver is connected to the power supply terminal of the power supply, and the power supply terminal of the driver is connected to the power receiving terminal of the at least one electronic control unit; wherein the latch is used to latch the power supply control signal historically output by the control signal output terminal of the microcontroller when receiving the first level signal output by default by the latch signal output terminal of the microcontroller.

2. The system according to claim 1, characterized in that The microcontroller is used to transmit a second level signal to a latch control terminal of the latch through a latch signal output terminal of the microcontroller in an operating mode, and to transmit a power supply control signal to a data input terminal of the latch through a control signal output terminal of the microcontroller; The microcontroller is used to transmit the first level signal to the latch control terminal of the latch through the latch signal output terminal of the microcontroller in a fault mode or an update mode.

3. The system according to claim 1, characterized in that Also including a first diode and a second diode; The control signal output terminal of the microcontroller is connected to the anode of the first diode, and the cathode of the first diode is connected to the data input terminal of the latch; The data output terminal of the latch is connected to the anode of the second diode, and the cathode of the second diode is connected to the enable terminal of the driver.

4. The system according to claim 1, characterized in that Also includes ground resistance; The control signal output terminal of the microcontroller is connected to one end of the grounding resistor, and the other end of the grounding resistor is grounded.

5. The system according to claim 4, characterized in that The resistance of the grounding resistor is 1 kΩ.

6. The system according to any one of claims 1 to 5, characterized in that: The latch includes a D latch or an RS latch.

7. The system according to claim 6, characterized in that The latch includes a 74HC573 chip or a 74HC563 chip.

8. The system according to any one of claims 1 to 5, characterized in that: The driver includes a high-side driver chip.

9. The system according to any one of claims 1 to 5, characterized in that: The driver comprises a pre-driver chip and a MOS tube.

10. A vehicle, characterized in that: It comprises a power supply control system according to any one of claims 1 to 9, a power supply and at least one electronic control unit; The power supply control system is connected to the at least one electronic control unit and the power supply respectively, and is used to control the power supply of the at least one electronic control unit.