System and method for power supply, control device, readable storage medium and vehicle
By dividing the power consumption and power sharing of the load controller chip, and reducing the power of the chipset under abnormal circumstances, the problem of dual-channel dual-redundant power distribution circuits increasing the cost of the vehicle and the difficulty of development is solved, and the realization of System stability and functional safety without redundant backup.
Patent Information
- Application Number
- CN202411101669.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-10-08
AI Technical Summary
In the existing technology, in order to ensure functional safety, it is necessary to set up dual-channel and dual-redundant power distribution circuits in the central integrated electronic and electrical architecture, which leads to an increase in the cost of the vehicle and an increase in the difficulty of development and design.
By splitting the power consumption of the chip of the load controller into a first chipset and a second chipset, the power is equally divided on the power supply and distributed to the first power supply and the second power supply respectively. The micro control unit Controls the power reduction of the chipset under abnormal circumstances to improve system stability through power downgrade in the absence of power redundancy backup.
Without adding dual-channel dual-redundant circuits, the controller's working stability and functional safety are improved, and the cost and development difficulty of the vehicle architecture are reduced.
Smart Images

Figure CN118744692A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power supply, and in particular to a system and method for power supply, a control device, a readable storage medium and a vehicle. Background Art
[0002] In related technologies, the vehicle architecture is a distributed electrical and electronic architecture with multiple controllers, and each controller is independently designed for power distribution. For controllers with functional safety requirements, dual-path dual-redundant power distribution is generally used for power supply.
[0003] As the vehicle architecture continues to develop towards a centrally integrated electrical and electronic architecture, the load power of the centrally integrated controller continues to increase. For controllers with higher functional safety, in order to ensure functional safety and avoid single point failures, there must be a backup redundancy solution in the power distribution process to avoid the single point failure problem of functional safety.
[0004] In order to improve the stability of the electronic and electrical architecture, a dual-path dual-redundant power distribution circuit needs to be set up in the central integrated electronic and electrical architecture. Such a power supply design will greatly increase the cost of the vehicle and increase the difficulty of controller development and design. Summary of the invention
[0005] The object of the present invention is to provide a system and method for power supply, a control device, a readable storage medium and a vehicle, so as to solve the problem in the prior art that a dual-path dual-redundant power distribution circuit needs to be set up, which increases the cost of the whole vehicle and also increases the difficulty of developing and designing the controller.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is as follows: A system for power supply comprises: a load controller comprising a first chipset, a second chipset and a micro control unit; a first power supply for supplying power to the first chipset; a second power supply for supplying power to the second chipset; wherein the micro control unit is configured to control the reduction of the power of the first chipset and / or the second chipset when an abnormality occurs in the first power supply or the second power supply.
[0007] According to the above technical means, the power consumption of the chip inside the load controller is split into a first chipset and a second chipset. The power is evenly divided on the power supply, and allocated to the first power supply and the second power supply respectively. The first power supply and the second power supply are used to power the first chipset and the second chipset of the load controller respectively, so as to improve the stability of the system operation. In addition, when an abnormality occurs in the first power supply or the second power supply, the microcontroller controls to reduce the power of the first chipset and / or the second chipset. In this way, in the absence of power supply redundancy backup, the power is downgraded by controlling the first chipset and / or the second chipset, thereby improving the stability of the controller operation, ensuring functional safety and improving user experience. In addition, compared with adding a dual-channel dual redundant circuit, the cost of the entire vehicle architecture is reduced, and the difficulty of controller development is also reduced.
[0008] Further, a difference between the power sum of the first chipset and the power sum of the second chipset is within a preset range.
[0009] According to the above technical means, taking into account the power supply capacity and line loss of each power harness, there is a voltage difference between the two voltages of the two power supplies at the input end of the controller due to the voltage drop of the power supply and the harness itself. Therefore, by controlling the difference between the power sum of the first chipset and the power sum of the second chipset within a preset range, the power consumption of the chips inside the controller is split, and the power is evenly distributed on the power lines to the first power supply and the second power supply respectively, thereby improving the stability of the load controller.
[0010] Furthermore, the first chipset includes: a system on chip SOC chip, and / or a CAN chip, and / or an Ethernet chip; and / or the second chipset includes: an audio system control chip, and / or a display driver chip, and / or a Bluetooth chip, and / or a WIFI chip.
[0011] According to the above technical means, the chips inside the load controller can be divided according to their functionality to improve the stability of the load controller operation.
[0012] Furthermore, the system also includes: a power switching circuit configured to switch the power supply of the first chipset and the second chipset to a normally operating power supply when an abnormality occurs in the first power supply or the second power supply.
[0013] According to the above technical means, a power switching circuit is set up to achieve mutual backup of the first power supply and the second power supply. When there is a problem with one of the first power supply and the second power supply, the other power supply realized by the power switching circuit is used to power the entire load controller to ensure the normal operation of the load controller.
[0014] Furthermore, the power switching circuit includes: a bridge circuit for bridging the first power supply and the second power supply; wherein, when an abnormality occurs in the first power supply or the second power supply, the bridge circuit is controlled to be turned on.
[0015] Furthermore, the bridge circuit includes: a first MOS tube, a D pole of the first MOS tube is connected to the first power supply; a second MOS tube, a D pole of the second MOS tube is connected to the second power supply, and an S pole of the first MOS tube is connected to an S pole of the second MOS; wherein a G pole of the first MOS tube and a G pole of the second MOS tube are both connected to a signal output end of the micro control unit.
[0016] According to the above technical means, a bridge circuit is used to bridge the first power supply and the second power supply, thereby realizing mutual backup of the first power supply and the second power supply. The bridge circuit uses the first MOS tube and the second MOS tube, and the switch circuit designed in a "back-to-back" manner with two PMOS tubes can avoid the problem of current backflow caused by using a switch circuit made of a single PMOS tube, thereby improving the safety of use.
[0017] Furthermore, the system also includes: a power detection circuit, which is communicatively connected to the micro control unit and is configured to detect the states of the first power supply and the second power supply, and send the detection result to the micro control unit.
[0018] According to the above technical means, by setting a power supply detection circuit, which is used to detect the status of the first power supply and the second power supply, the monitoring of the first power supply and the second power supply is realized. When the status of the first power supply and the second power supply is detected to be abnormal, feedback is promptly given to the micro control unit so that feedback can be made in time according to the abnormal status.
[0019] Further, the detection circuit includes: a resistor voltage divider detection circuit, connected to the first power supply and the second power supply, for detecting the voltage state of the first power supply and the second power supply; and / or an interrupt detection circuit, connected to the first power supply and the second power supply, for transient detection of the power supply voltage, the interrupt detection circuit includes a hysteresis comparator, and the hysteresis comparator is configured with a threshold range of a hysteresis voltage.
[0020] According to the above technical means, the voltage states of the first power supply and the second power supply are monitored by using a resistor voltage divider detection circuit. The power supply voltages of the first power supply and the second power supply are transiently detected by using an interrupt detection circuit, and a hysteresis comparator is set, and a threshold range of a hysteresis voltage is set accordingly to solve the problem of false detection of the system at the critical voltage.
[0021] Furthermore, the system also includes: a power supply circuit, which connects the first power supply and the second power supply in parallel to form a power supply for the micro control unit.
[0022] According to the above technical means, the power supply circuit obtained by connecting the first power supply and the second power supply in parallel is used to power the micro control unit. When one of the first power supply and the second power supply is abnormal, the other can still supply power to the micro control unit normally, so that the micro control unit is still in a normal working state, thereby improving the stability of the operation of the micro control unit.
[0023] A method for power supply, applied to any of the above-mentioned systems for power supply, the method comprising: obtaining the power status of a first power supply and a second power supply; and controlling to reduce the power of a first chipset and / or a second chipset when an abnormality occurs in the first power supply or the second power supply.
[0024] The method for power supply provided by the present disclosure is applied to the system for power supply of any of the above technical solutions. The system for power supply includes a load controller, a first power supply and a second power supply. The chips inside the load controller are split into a first chipset and a second chipset for power consumption. The power is evenly divided on the power supply, and distributed to the first power supply and the second power supply respectively. The first chipset and the second chipset of the load controller are powered by the first power supply and the second power supply respectively, so as to improve the stability of the system operation.
[0025] The method for power supply provided by the present disclosure obtains the power status of the first power supply and the second power supply. In the event of an abnormality in the first power supply or the second power supply, the power of the first chipset and / or the second chipset is controlled to be reduced. In this way, in the absence of redundant power backup, power degradation is performed by controlling the first chipset and / or the second chipset, thereby improving the stability of the controller operation, ensuring functional safety, and improving user experience. In addition, compared with adding dual-path dual redundant circuits, the cost of the entire vehicle architecture is reduced, and the difficulty of controller development is also reduced.
[0026] Further, the situation in which the first power supply is abnormal includes: the first voltage v1 is less than or equal to the first threshold value V1; 5.5≤V1≤6; or, the situation in which the first power supply is normal includes: the first voltage v1 is greater than or equal to the second threshold value V2; 6≤V2≤6.5; or, the situation in which the second power supply is abnormal includes: the second voltage v2 is less than or equal to the set threshold value V1; 5.5≤V1≤6; or, the situation in which the second power supply is normal includes: the second voltage v2 is greater than or equal to the second threshold value V2; 6≤V2≤6.5.
[0027] According to the above technical means, by setting the interval for determining voltage abnormality, the system can solve the problem of false detection at the critical voltage, so as to improve the accuracy of voltage status detection.
[0028] Furthermore, when an abnormality occurs in the first power supply or the second power supply, the method further includes: when an abnormality occurs in the first power supply, controlling the second power supply and the first chipset to be turned on; when an abnormality occurs in the second power supply, controlling the first power supply and the second chipset to be turned on.
[0029] According to the above technical means, when an abnormality occurs in the first power supply or the second power supply, the first power supply and the second power supply are switched to achieve mutual backup of the first power supply and the second power supply to ensure the normal operation of the load controller.
[0030] Further, in the event that an abnormality occurs in the first power supply, the first power supply is re-distributed, and after the re-distribution, when the power status of the first power supply is normal, the first chipset of the load controller is controlled to restore to a full functional state, and the first power supply and the first chipset are controlled to be turned on; in the event that an abnormality occurs in the second power supply, the second power supply is re-distributed, and after the re-distribution, when the power status of the second power supply is normal, the second chipset of the load controller is controlled to restore to a full functional state, and the second power supply and the second chipset are controlled to be turned on.
[0031] According to the above technical means, the failed power supply is redistributed. After the redistribution is completed, the power supply is detected to be restored to normal and then fed back to the microcontroller unit, which then restores the load-side controller to a fully functional state to solve the problem of failure of the load-side controller caused by unstable power supply state, thereby improving user experience and functional safety.
[0032] A control device for power supply comprises a processor and a memory storing program instructions, wherein the processor is configured to execute any one of the above-mentioned methods for power supply when running the program instructions.
[0033] A computer-readable storage medium stores program instructions, wherein when the program instructions are executed, the computer is used to execute any of the above-mentioned methods for power supply.
[0034] A vehicle comprises: a system for power supply as described in any one of the above; or a control device for power supply as described in the above.
[0035] Beneficial effects of the present invention: (1) The power consumption of the chips inside the load controller is split into a first chipset and a second chipset. The power is evenly distributed on the power supply, and allocated to the first power supply and the second power supply respectively. The first power supply and the second power supply are used to supply power to the first chipset and the second chipset of the load controller respectively, so as to improve the stability of the system operation.
[0036] (2) When an abnormality occurs in the first power supply or the second power supply, the power of the first chipset and / or the second chipset is controlled to be reduced. In this way, in the absence of power redundancy backup, the power of the first chipset and / or the second chipset is controlled to be reduced, thereby improving the stability of the controller operation, ensuring functional safety, and improving user experience. In addition, compared with adding a dual-channel dual redundant circuit, the dual-channel dual redundant circuit includes a main power supply circuit and a backup power supply circuit. The main power supply circuit and the backup power supply are both connected to the load end. The main power supply circuit includes a main power supply circuit and a main switch circuit. The backup power supply circuit includes a backup power supply circuit and a backup switch circuit. The circuit structures of the main power supply circuit and the backup power supply circuit are the same, and both are provided with multiple capacitors and multiple diodes, and the structure is complex. The main switch circuit and the backup switch circuit are also composed of electrical devices such as MOS tubes. The structure of the power supply system disclosed in the present invention has fewer structural parts than the dual-channel dual redundant circuit, and the setting of the backup power supply circuit is cancelled, thereby reducing the cost of the entire vehicle architecture and reducing the difficulty of controller development. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A schematic diagram of the structure of a system for power supply provided by an embodiment of the present invention; Figure 2 for Figure 1 A schematic diagram of the structure of a resistor voltage-dividing detection circuit in a power supply system provided by the illustrated embodiment; Figure 3 for Figure 1 A schematic diagram of the structure of an interruption detection circuit in a power supply system provided by the illustrated embodiment; Figure 4 A design simulation diagram of a power supply voltage drop detection circuit for a first power supply provided by an embodiment of the present invention; Figure 5 A design simulation diagram of a power supply voltage drop detection circuit for a second power supply provided by an embodiment of the present invention; Figure 6 A design simulation diagram of a power boost detection circuit for a first power supply provided by an embodiment of the present invention; Figure 7 A design simulation diagram of a power boost detection circuit for a second power supply provided by an embodiment of the present invention; Figure 8 for Figure 1 A schematic structural diagram of a bridge circuit in a power supply system provided by the illustrated embodiment; Fig. 9 A schematic flow chart of a method for power supply provided by one embodiment of the present invention; Fig.10 A schematic flow chart of a method for power supply provided in yet another embodiment of the present invention; Fig.11 A schematic flow chart of a method for power supply provided in yet another embodiment of the present invention; Fig.12 A schematic diagram of the structure of a control device for power supply provided in one embodiment of the present invention.
[0038] Reference numerals: 1. A system for supplying electricity; 100 load controller; 110 first chipset; 120 second chipset; 130 micro control unit; 140 first diode; 150 second diode; 160 power switching circuit; 170 power detection circuit; 180 third diode; 190 fourth diode; 200 first power supply; 210 first power supply end controller; 300: second power supply; 310: second power supply end controller. DETAILED DESCRIPTION
[0039] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0040] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0041] In some embodiments, in combination Figure 1As shown, a system 1 for power supply is provided, comprising: a load controller 100, a first power supply 200 and a second power supply 300. The load controller 100 comprises a first chipset 110, a second chipset 120 and a microcontroller unit 130 (MCU). The first power supply 200 supplies power to the first chipset 110. The second power supply 300 supplies power to the second chipset 120. The microcontroller unit 130 is configured to control the reduction of the power of the first chipset 110 and / or the second chipset 120 when an abnormality occurs in the first power supply 200 or the second power supply 300.
[0042] According to the above embodiment, the power consumption of the chip inside the load controller 100 is split into the first chipset 110 and the second chipset 120. And the power is evenly divided on the power supply, and distributed to the first power supply 200 and the second power supply 300 respectively, and the first chipset 110 and the second chipset 120 of the load controller 100 are powered by the first power supply 200 and the second power supply 300 respectively, so as to improve the stability of the system operation. In addition, the micro control unit 130 controls the power reduction of the first chipset 110 and / or the second chipset 120 when an abnormality occurs in the first power supply 200 or the second power supply 300. In this way, in the absence of power supply redundancy backup, the power reduction is achieved by controlling the first chipset 110 and / or the second chipset 120, thereby improving the stability of the controller operation, ensuring functional safety, and improving user experience.
[0043] Moreover, compared with adding a dual-path dual redundant circuit, the dual-path dual redundant circuit includes a main power supply circuit and a backup power supply circuit. Both the main power supply circuit and the backup power supply are connected to the load end. And the main power supply circuit includes a main power supply circuit and a main switch circuit. The backup power supply circuit includes a backup power supply circuit and a backup switch circuit. The circuit structure of the main power supply circuit and the backup power supply circuit is the same, and both are provided with multiple capacitors and multiple diodes, and the structure is complex. The main switch circuit and the backup switch circuit are also composed of electrical components such as MOS tubes. The structure of the power supply system disclosed in the present invention has fewer structural parts than the dual-path dual redundant circuit, and the setting of the backup power supply circuit is cancelled, thereby reducing the cost of the entire vehicle architecture and reducing the difficulty of controller development.
[0044] In some embodiments, a difference between the power sum of the first chipset 110 and the power sum of the second chipset 120 is within a preset range.
[0045] According to the above embodiment, taking into account the power supply capacity and line loss of each power harness, there is a voltage difference between the two voltages of the two power supplies at the input end of the controller due to the voltage drop of the power supply and the harness itself. Therefore, by controlling the difference between the power sum of the first chipset 110 and the power sum of the second chipset 120 within a preset range, the power consumption of the chips inside the controller is split, and the power is evenly distributed on the power lines, respectively allocated to the first power supply 200 and the second power supply 300, thereby improving the working stability of the load controller 100.
[0046] In one example, the preset range is between -5 milliwatts and +5 milliwatts.
[0047] In some embodiments, in combination Figure 1 As shown, the first chipset 110 includes: a system on chip SOC chip, and / or a CAN chip, and / or an Ethernet chip. And / or, the second chipset 120 includes: an audio system control chip, and / or a display screen driver chip, and / or a Bluetooth chip, and / or a WIFI chip.
[0048] According to the above embodiment, the chips inside the load controller 100 can be divided according to chip functionality to improve the operating stability of the load controller 100 .
[0049] In one example, the number of chips included in the first chipset 110 is one or more. And / or the number of chips included in the second chipset 120 is one or more.
[0050] In one example, the chip type included in the first chipset 110 is also not limited to a system-on-chip SOC chip, and / or a CAN chip, and / or an Ethernet chip. The chip type included in the first chipset 110 is selected and set according to the application scenario of the load controller 100, and will not be described one by one here.
[0051] In one example, the chip type included in the second chipset 120 is also not limited to the audio system control chip, and / or the display driver chip, and / or the Bluetooth chip, and / or the WIFI chip. The chip type included in the second chipset 120 is selected and set according to the application scenario of the load controller 100, and will not be described one by one here.
[0052] Combination Figure 1 As shown, the system further includes a first diode 140 and a second diode 150. The first diode 140 is connected in series between the input end of the first power supply 200 and the first chipset 110. The second diode 150 is connected in series between the input end of the second power supply 300 and the second chipset 120. By providing the first diode 140 and the second diode 150, the load is protected.
[0053] In some embodiments, in combination Figure 1 As shown, a system 1 for power supply is provided, comprising: a load controller 100, a first power supply 200 and a second power supply 300, and a power switching circuit 160. The power switching circuit 160 is configured to switch the power supply of the first chipset 110 and the second chipset 120 to a normally functioning power supply when an abnormality occurs in the first power supply 200 or the second power supply 300.
[0054] According to the above embodiment, by setting up a power switching circuit 160, mutual backup of the first power supply 200 and the second power supply 300 is achieved. When there is a problem with one of the first power supply 200 and the second power supply 300, the other power supply realized by the power switching circuit 160 supplies power to the entire load controller 100 to ensure the normal operation of the load controller 100.
[0055] In some embodiments, in combination Figure 1 As shown, the power switching circuit 160 includes a bridge circuit. The bridge circuit is used to bridge the first power supply 200 and the second power supply 300. Wherein, when an abnormality occurs in the first power supply 200 or the second power supply 300, the bridge circuit is controlled to be turned on.
[0056] According to the above embodiment, a bridge circuit is used to bridge the first power supply 200 and the second power supply 300, thereby realizing mutual backup of the first power supply 200 and the second power supply 300.
[0057] Combination Figure 1 As shown, the two ends of the bridge circuit are respectively connected to the input end of the first power supply 200 and the second power supply 300. By setting up the bridge circuit, if an abnormality occurs in any of the first power supply 200 and the second power supply 300, the other normal power supply can be used to power the entire load controller 100 through the bridge circuit, thereby improving the stability of the operation of the load controller 100.
[0058] In some embodiments, in combination Figure 8 As shown, the bridge circuit includes: a first MOS transistor Q1 and a second MOS transistor Q2. The D pole of the first MOS transistor Q1 is connected to the first power supply 200. The D pole of the second MOS transistor Q1 is connected to the second power supply 300, and the S pole of the first MOS transistor Q1 is connected to the S pole of the second MOS transistor Q2. The G pole of the first MOS transistor Q1 and the G pole of the second MOS transistor Q2 are both connected to the signal output end of the micro control unit 130.
[0059] According to the above embodiment, the bridge circuit adopts the first MOS tube Q1 and the second MOS tube Q2, and the two PMOS tubes are designed in a "back-to-back" manner. This can avoid the current backflow problem caused by using a switching circuit made of a single PMOS tube, thereby improving the safety of use.
[0060] In one example, combining Figure 8 The circuit diagram of the bridge circuit shown in the figure, the bridge circuit includes two power connection terminals and a signal connection terminal, and the two power connection terminals are respectively connected to the first power supply 200 and the second power supply 300. The signal connection terminal is connected to the signal control terminal of the micro control unit 130. The first MOS tube Q1 and the second MOS tube Q2 are arranged between the two power connection terminals, and the first MOS tube Q1 and the second MOS Q2 tube are both PMOS tubes. The signal connection terminal is provided with an NPN transistor T3, and the collector of the NPN transistor T3 is connected to the G pole of the first MOS tube Q1 and the G pole of the second MOS tube Q2 through a resistor R2. The power connection terminal connected to the first power supply 200 is provided with a plurality of parallel capacitors C2, C3, C4, and C5. The power connection terminal connected to the second power supply 300 is provided with a plurality of parallel capacitors C6, C7, C8, and C9. Between the power input and output, a capacitor is provided for filtering and stabilizing the power supply voltage. A diode is provided between the S pole and the D pole of each PMOS tube to prevent current backflow. C1 and R1 are connected in parallel between the collector of the NPN transistor T3 and the S stage of the first MOS transistor Q1 and the second MOS transistor Q2, which act as delay capacitors to control the conduction time of Q2 and prevent jitter to ensure stable operation of the circuit.
[0061] When both the first power supply 200 and the second power supply 300 are normal, the bridge circuit is in a closed state, and the first power supply 200 and the second power supply 300 are in a power-sharing state, so as to realize the normal and stable operation of the load-end controller. When both the first power supply 200 and the second power supply 300 are normal and either one fails, the micro control unit 130 will turn on the bridge circuit to realize power bridging to supply power to the load-end controller, so as to ensure that the load-end controller realizes the mutual backup function of the two power supplies under the condition of power degradation, so as to ensure the normal operation of the load-end controller.
[0062] Combination Figure 8The bridge circuit shown illustrates the switching process of the first power supply 200 and the second power supply 300 as follows (hereinafter, MCU_EN is used to represent the signal control terminal of the microcontroller unit 130, BAT1 is the input terminal of the first power supply 200, and BAT2 is the input terminal of the second power supply 300): In the case of an abnormality in the first power supply 200, MCU_EN outputs a low level, the NPN transistor T3 is turned off, the gate of Q2 is pulled down, Q2 is turned on, and the second power supply 300 is connected to the power pin of the load-end controller to power the entire load-end controller. In the case of an abnormality in the second power supply 300, MCU_EN outputs a high level, the NPN transistor T3 is turned on, the gate of Q1 is pulled down, Q1 is turned on, and the first power supply 200 is connected to the power pin of the load-end controller to power the entire load-end controller.
[0063] In one example, combining Figure 1 As shown, the two ends of the bridge circuit are respectively located at the cathode side of the first diode 140 and the cathode side of the second diode 150 , thereby protecting the first power supply 200 and the second power supply 300 .
[0064] In some embodiments, in combination Figure 1 As shown, a system 1 for power supply is provided, comprising: a load controller 100, a first power supply 200 and a second power supply 300, a power switching circuit 160, and a power detection circuit 170. The power detection circuit 170 is connected to the micro control unit 130 for communication, and is configured to detect the states of the first power supply 200 and the second power supply 300, and send the detection result to the micro control unit 130.
[0065] According to the above embodiment, by setting the power supply detection circuit 170, it is used to detect the status of the first power supply 200 and the second power supply 300, so as to realize the monitoring of the first power supply 200 and the second power supply 300. When the status of the first power supply 200 and the second power supply 300 is detected to be abnormal, the micro control unit 130 is fed back in time, so that feedback can be made in time according to the abnormal status.
[0066] In some embodiments, in combination Figure 1 and Figure 2 As shown, the detection circuit includes: a resistor voltage division detection circuit, connected to the first power supply 200 and the second power supply 300, and used to detect the voltage status of the first power supply 200 and the second power supply 300.
[0067] Combination Figure 2As shown, the resistor voltage-dividing detection circuit is connected to the first power supply 200 and the second power supply 300 respectively. And, the resistor voltage-dividing detection circuit is connected to the micro control unit 130. The resistor voltage-dividing detection circuit is used to detect the power supply status of the input end of the first power supply 200 and the input end of the second power supply 300. In the case of detecting that any one of the functions fails, the abnormal state is fed back to the micro control unit 130 in a timely manner. The micro control unit 130 controls the load-end controller to turn off high-power peripheral devices with a lower safety level such as power amplifiers to achieve power degradation, and at the same time opens the bridge circuit to allow the normal power supply to power the entire controller to ensure the normal operation of the load-end controller.
[0068] In some embodiments, in combination Figure 1 , Figure 2 and Figure 3 As shown, the detection circuit includes: a resistor voltage division detection circuit and an interruption detection circuit. The interruption detection circuit is connected to the first power supply 200 and the second power supply 300, and is used for transient detection of the power supply voltage. The interruption detection circuit includes a hysteresis comparator, and the hysteresis comparator is configured with a threshold range of a hysteresis voltage.
[0069] According to the above embodiment, the voltage state of the first power supply 200 and the second power supply 300 is monitored by using a resistor voltage divider detection circuit. The power supply voltage of the first power supply 200 and the second power supply 300 is transiently detected by using an interrupt detection circuit, and a hysteresis comparator is set, and a threshold interval of a hysteresis voltage is set accordingly to solve the system's misdetection at the critical voltage. By setting a resistor voltage divider detection circuit and an interrupt detection circuit, the power supply state is monitored, thereby solving the problem of failure of the load-end controller caused by unstable power supply state, and improving user experience and functional safety. The interrupt detection circuit includes a hysteresis comparator, and is configured with a threshold interval of a hysteresis voltage. The hysteresis comparator has hysteresis, that is, when the input voltage is higher than the upper limit of the threshold interval, the comparator outputs a high level; when the input voltage is lower than the lower limit of the threshold interval, the comparator outputs a low level. When the input voltage is in the threshold interval, the output of the comparator remains unchanged.
[0070] Combination Figure 3 As shown, a circuit diagram of an interrupt detection circuit. The interrupt detection circuit includes a first interrupt detection circuit for detecting a first power supply 200, an access end of the first interrupt detection circuit is connected to the first power supply 200, and an output pin of the first interrupt detection circuit is connected to the micro control unit 130 for feeding back the detection result. The interrupt detection circuit also includes a second interrupt detection circuit for detecting a second power supply 300, an access end of the second interrupt detection circuit is connected to the second power supply 300, and an output pin of the second interrupt detection circuit is connected to the micro control unit 130 for feeding back the detection result.
[0071] The present invention adopts a resistor voltage divider detection circuit and an interrupt detection circuit. The resistor voltage divider detection circuit reduces the power supply voltage to the input voltage range of the resistor voltage divider detection circuit through the resistor voltage divider detection circuit. The micro control unit 130 reads the power supply voltage value through the resistor voltage divider detection circuit and performs real-time monitoring. The interrupt detection circuit adopts a hysteresis comparator circuit to realize transient voltage detection. The hysteresis comparator detects the power supply voltage in real time and sets the hysteresis voltage threshold interval to avoid false detection at the critical voltage.
[0072] According to the power supply architecture requirements, 6V is used as the critical point to determine whether the power supply is normal or not. In order to solve the system's misdetection at the critical voltage, this circuit designs a threshold range of hysteresis voltage. The threshold range is 5.5V to 6.5V. When the power supply voltage is lower than 5.5V, the hysteresis comparator outputs a high level, triggering the interrupt signal of the micro control unit 130, and the micro control unit 130 determines that the power supply is abnormal. When the power supply voltage returns to 6.5V, the hysteresis comparator outputs a low level, triggering the interrupt signal of the micro control unit 130, and the micro control unit 130 determines that the power supply has returned to normal. This circuit detects the first power supply 200 and the second power supply 300 at the same time. If any power supply is detected to be abnormal, the circuit will send a signal to the load-end controller to reduce the power output to protect the power supply and the load. If both sets of power supplies are abnormal at the same time, the circuit will send the highest level interrupt signal to the micro control unit 130, and the micro control unit 130 will execute the corresponding power supply abnormality handling strategy according to the interrupt signal, such as shutting down the device or starting the backup power supply. Combined with Figure 4 and Figure 5 As shown in FIG. 1 , there are simulation diagrams of designing a power supply voltage drop detection circuit for the first power supply and the second power supply using an interrupt detection circuit. Figure 6 and Figure 7 As shown, they are simulation diagrams of designing a power boost detection circuit for the first power supply and the second power supply using an interrupt detection circuit.
[0073] In one example, combining Figure 3As shown, the first power supply 200 is connected to the negative electrode V2- of the comparator U1A after being divided by resistors R2 and R3; the reference power supply VCC_3V3 is also connected to the positive electrode V3+ of the comparator U1A after being divided by resistors R4 and R5. At this time, the divided voltage value V3+ of the positive electrode is used as the reference value of the voltage fluctuation range of the first power supply 200. At the same time, the positive electrode V3+ of the comparator U1A is connected to the output end out1 of the comparator U1A through the feedback resistor R7, and the output end is pulled up to the reference voltage VCC_3V3 using the resistor R1. At the same time, the reference voltage also powers the comparator U1A. The second power supply 300 is connected to the negative electrode V6- of the comparator U1B after voltage division by resistors R11 and R12; the reference power supply VCC_3V3 is also connected to the positive electrode V5+ of the comparator U1B after voltage division by resistors R13 and R14. At this time, the voltage division value V5+ of the positive electrode is used as the reference value of the voltage fluctuation range of the second power supply 300. At the same time, the positive electrode V5+ of the comparator U1B is connected to the output end out2 of the comparator U1B by feedback resistor R15, and the output end is pulled up to the reference voltage VCC_3V3 by resistor R10. The output out1 of the comparator U1A is connected to the MCU interface, and the output out2 of the comparator U1B is connected to the MCU interface. At the same time, the output out1 of the comparator U1A and the output out2 of the comparator U1B are connected to the MCU interface after being merged through the D1 tube.
[0074] Combination Figure 3 and Figure 4 As shown, when the first power supply 200 is within the normal operating voltage range of 6V to 16V, the comparator's V2->V3+, the comparator out1 output is low, R5 and R7 are in parallel, and the voltage value of V3+ at this time is V3+1. When the first power supply 200 drops abnormally, the comparator's V2-<V3+1, the comparator is in an open-drain state, out1 is pulled up by the pull-up resistor, the comparator output level logic flips, and at the same time (R1+R7) is connected in parallel with R4 in the circuit, V3+ obtains a new voltage division value V3+2. According to the voltage division characteristic V3+1<V3+2, that is, the reference voltage of V3+ of the comparator is raised at this time; combined with the simulation results, after the first power supply 200 drops to 5.5V, the out1 level will flip and the trigger level flip signal will be transmitted to the MCU; combined with Figure 5 As shown, the logic state of the power drop abnormality of the second power supply 300 is the same as that of the first power supply 200, and will not be repeated here.
[0075] Combination Figure 3 and Figure 6As shown, when the first power supply 200 rises and returns to the normal voltage, since the reference voltage value of V3+ is raised to V3+2 in the abnormal state, the voltage value of the first power supply 200 needs to be greater than V3+2 after the voltage is divided by R2 and R3, so that the logic level of the comparator output will be flipped and transmitted to the MCU again, indicating that the power supply has returned to normal. At this time, the comparator outputs a low level, R7 is connected in parallel with R5 again, and the voltage value of V3+ is restored to V3+1; combined with the simulation results, at this time, the first power supply 200 needs to rise to above 6.5V to trigger the comparator output logic level to flip. Combined Figure 3 and Figure 7 As shown, the logic state of the second power supply 300 returning to normal after power rises is the same as that of the first power supply 200, and will not be described in detail.
[0076] In this embodiment, the first power supply 200 and the second power supply 300 will trigger the comparator logic level to flip and then notify the MCU when the voltage drops below 5.5V; the first power supply 200 and the second power supply 300 will trigger the level flip again and then notify the MCU when the voltage rises above 6.5V. Therefore, the system provided by the present disclosure can solve the problem of system instability caused by power supply mis-triggering in the 6V critical state.
[0077] In some embodiments, in combination Figure 1 As shown, a system 1 for power supply is provided, comprising: a load controller 100, a first power supply 200 and a second power supply 300, a power switching circuit 160, a power detection circuit 170, and a power supply circuit. The power supply circuit connects the first power supply 200 and the second power supply 300 in parallel to form a power supply for the micro control unit 130.
[0078] According to the above embodiment, the power supply circuit obtained by connecting the first power supply 200 and the second power supply 300 in parallel is used to power the micro control unit 130. When one of the first power supply 200 and the second power supply 300 is abnormal, the other one can still supply power to the micro control unit 130 normally, so that the micro control unit 130 is still in a normal working state, thereby improving the stability of the operation of the micro control unit 130.
[0079] In one example, combining Figure 1As shown, the system further includes a third diode 180 and a fourth diode 190. The third diode 180 is connected in series to the input end of the first power supply 200, and the fourth diode 190 is connected to the input end of the second power supply 300. The first power supply 200 and the second power supply 300 are connected in parallel to the micro control unit 130 after passing through the third diode 180 and the fourth diode 190 respectively. The third diode 180 and the fourth diode 190 are provided to protect the power supply.
[0080] Combination Figure 1 The power supply system 1 shown in the figure further includes a first power supply end controller 210 and a second power supply end controller 310, and the first power supply end controller 210 and the second power supply end controller 310 are both communicatively connected to the micro control unit 130 of the load controller 100 via Ethernet or CAN bus; the first power supply end controller 210 is used to control the first power supply 200, and the second power supply end controller 310 is used to control the second power supply 300.
[0081] Combination Figure 1 The system for powering the power supply shown, in some embodiments, is combined with Fig. 9 As shown, a method for power supply is provided, the method comprising: S901: Acquire power status of a first power source and a second power source.
[0082] S902: When an abnormality occurs in the first power supply or the second power supply, control to reduce the power of the first chipset and / or the second chipset.
[0083] The method for power supply provided by the present disclosure is applied to the system for power supply of any of the above technical solutions. The system for power supply includes a load controller, a first power supply and a second power supply. The chips inside the load controller are split into a first chipset and a second chipset for power consumption. The power is evenly divided on the power supply, and distributed to the first power supply and the second power supply respectively. The first chipset and the second chipset of the load controller are powered by the first power supply and the second power supply respectively, so as to improve the stability of the system operation.
[0084] The method for power supply provided by the present disclosure obtains the power status of the first power supply and the second power supply. In the event of an abnormality in the first power supply or the second power supply, the power of the first chipset and / or the second chipset is controlled to be reduced. In this way, in the absence of redundant power backup, power degradation is performed by controlling the first chipset and / or the second chipset, thereby improving the stability of the controller operation, ensuring functional safety, and improving user experience. In addition, compared with adding dual-path dual redundant circuits, the cost of the entire vehicle architecture is reduced, and the difficulty of controller development is also reduced.
[0085] In one example, when an abnormality occurs in the first power supply, the step of controlling the reduction of the power of the first chipset includes: sorting the chip functions included in the first chipset from high to low according to the criticality of the functions; and controlling the chips with low criticality to be shut down in sequence according to the sorting of the functional criticality.
[0086] In one example, when an abnormality occurs in the second power supply, the step of controlling the reduction of the power of the second chipset includes: sorting the chip functions included in the second chipset from high to low according to the criticality of the functions; and controlling the chips with low criticality to be shut down in sequence according to the sorting of the functional criticality.
[0087] In some embodiments, the first power supply being abnormal includes: the first voltage v1 being less than or equal to the first threshold V1. 5.5≤V1≤6. The first power supply being normal includes: the first voltage v1 being greater than or equal to the second threshold V2. 6≤V2≤6.5.
[0088] According to the above embodiment, by setting the interval for determining voltage abnormality, the system can solve the problem of false detection at the critical voltage, thereby improving the accuracy of voltage status detection.
[0089] In some embodiments, the second power supply being abnormal includes: the second voltage v2 being less than or equal to the set threshold value V1. 5.5≤V1≤6. Alternatively, the second power supply being normal includes: the second voltage v2 being greater than or equal to the second threshold value V2. 6≤V2≤6.5.
[0090] According to the above embodiment, by setting the interval for determining voltage abnormality, the system can solve the problem of false detection at the critical voltage, thereby improving the accuracy of voltage status detection.
[0091] By setting up a resistor voltage divider detection circuit and an interrupt detection circuit, the power supply status is monitored, thereby solving the problem of failure of the load-side controller caused by unstable power supply status, and improving user experience and functional safety. The interrupt detection circuit includes a hysteresis comparator and is configured with a threshold range of hysteresis voltage. The hysteresis comparator has hysteresis, that is, when the input voltage is higher than the upper limit of the threshold range, the comparator outputs a high level; when the input voltage is lower than the lower limit of the threshold range, the comparator outputs a low level. When the input voltage is in the threshold range, the output of the comparator remains unchanged.
[0092] According to the power supply architecture requirements, 6V is used as the critical point to determine whether the power supply is normal or not. In order to solve the system's misdetection at the critical voltage, this circuit designs a threshold range of hysteresis voltage, and the threshold range is 5.5V to 6.5V. When the power supply voltage is lower than 5.5V, the hysteresis comparator outputs a high level, triggering the interrupt signal of the microcontroller unit, and the microcontroller unit determines that the power supply is abnormal. When the power supply voltage returns to 6.5V, the hysteresis comparator outputs a low level, triggering the interrupt signal of the microcontroller unit, and the microcontroller unit determines that the power supply has returned to normal. This circuit detects the first power supply and the second power supply at the same time. If any power supply is detected to be abnormal, the circuit will send a signal to the load-end controller to reduce the power output to protect the power supply and the load.
[0093] Combination Figure 1 The system for powering the power supply shown, in some embodiments, is combined with Fig.10 As shown, a method for power supply is provided, the method comprising: S1001: Acquire power status of a first power source and a second power source.
[0094] The power supply states of the first power supply and the second power supply voltage are detected by the power supply detection circuit.
[0095] S1002, determining a power source having an abnormal power state; S1003, when an abnormality occurs in the first power supply, control to reduce the power of the first chipset.
[0096] S1004, controlling the second power supply and the first chipset to be turned on.
[0097] In one example, when the first power supply is abnormal, the power of the first chipset is controlled to be degraded, and some non-critical functions can be turned off. In addition, the power switching circuit is controlled to be turned on to connect the second power supply to the first chipset, so that the second power supply supplies power to the entire load-end controller.
[0098] S1005, when the second power supply is abnormal, control to reduce the power of the second chipset.
[0099] S1006, controlling the first power supply and the second chipset to be turned on.
[0100] In one example, when the second power supply is abnormal, the power of the second chipset is controlled to be degraded, and some non-critical functions can be turned off. In addition, the power switching circuit is controlled to be turned on to connect the first power supply to the second chipset, so that the first power supply supplies power to the entire load-end controller.
[0101] According to the above embodiment, when an abnormality occurs in the first power supply or the second power supply, the first power supply and the second power supply are switched to realize mutual backup of the first power supply and the second power supply to ensure the normal operation of the load controller.
[0102] Combination Figure 1 The power supply system shown in the figure also includes a first power supply end controller and a second power supply end controller, and the first power supply end controller and the second power supply end controller are both communicatively connected to the micro control unit of the load controller via Ethernet or CAN bus; the first power supply end controller is used to control the first power supply, and the second power supply end controller is used to control the second power supply.
[0103] Combination Figure 1 The system for powering the power supply shown, in some embodiments, is combined with Fig.11 As shown, a method for power supply is provided, the method comprising: S1101: Acquire power status of a first power source and a second power source.
[0104] The power supply states of the first power supply and the second power supply voltage are detected by the power supply detection circuit.
[0105] S1102, determining a power source having an abnormal power state; S1103, when an abnormality occurs in the first power supply, control to reduce the power of the first chipset.
[0106] S1104, controlling the second power supply and the first chipset to be turned on.
[0107] S1105: Redistribute power to the first power supply.
[0108] In one example, when an abnormality occurs in the first power supply, the power of the first chipset is controlled to be degraded, and some non-critical functions can be turned off. In addition, the power supply switching circuit is controlled to be turned on to connect the second power supply to the first chipset, so that the second power supply supplies power to the entire load-end controller. In addition, the microcontroller feeds back the power supply status of the first power supply to the first power supply end controller, so that the first power supply end controller controls the first power supply to redistribute power, and, after redistribution, continues to monitor the power supply status of the first power supply.
[0109] S1106, after power is redistributed, when the power status of the first power source is normal, control the first chipset of the load controller to restore the full function status and close the bridge circuit.
[0110] S1107, when the second power supply is abnormal, control to reduce the power of the second chipset.
[0111] S1108, controlling the first power supply and the second chipset to be turned on.
[0112] S1109, redistribute power to the second power supply.
[0113] In one example, when an abnormality occurs in the second power supply, the power of the second chipset is controlled to be degraded, and some non-critical functions can be turned off. In addition, the power supply switching circuit is controlled to be turned on to connect the first power supply and the second chipset, so that the first power supply supplies power to the entire load-end controller. In addition, the micro control unit feeds back the power supply status of the second power supply to the second power supply end controller, so that the second power supply end controller controls the second power supply to redistribute power, and, after redistribution, continues to monitor the power supply status of the second power supply.
[0114] S1110, after power is redistributed, when the power status of the second power supply is normal, control the second chipset of the load controller to restore the full function status and close the bridge circuit.
[0115] According to the above embodiment, through the power switching circuit and the power detection circuit, multiple chips of the load controller are realized. In the case of power sharing, the power status of the first power supply and the second power supply is monitored and protected, thereby solving the problem of failure of the high-power controller at the load end after power sharing, so as to realize mutual backup between the two groups of power supplies. The power detection circuit detects the power status of the input end of the first power supply and the second power supply. In the case of detecting that any one of the functions fails, timely feedback is given to the micro control unit, and the micro control unit controls the load controller to turn off high-power peripheral devices with lower safety levels such as power amplifiers to achieve power degradation. At the same time, the bridge circuit is turned on to allow the normal power supply to supply power to the entire load controller to ensure the normal operation of the load end controller. Then the micro control unit confirms whether it is a transient voltage power failure or a power supply error trigger through the resistor voltage divider detection circuit and the interrupt detection circuit. After confirming that the power supply is abnormal, the micro control unit informs the first power supply end controller and / or the second power supply end controller through the communication method of Ethernet or CAN bus to re-distribute power for the failed power supply. After the power is re-distributed, the power detection circuit of the load-side controller detects that the power has returned to normal and then feeds back to the microcontroller unit. The microcontroller unit then restores the load-side controller to a fully functional state, that is, all chips in the corresponding chipset return to normal working state, to solve the problem of failure of the load-side controller caused by unstable power status, thereby improving user experience and functional safety.
[0116] Combination Fig.12As shown, an embodiment of the present disclosure provides a control device 1200 for power supply, including a processor 1201 and a memory 1202. Optionally, the device 120 may also include a communication interface 1203 and a bus 1204. The processor 1201, the communication interface 1203, and the memory 1202 may communicate with each other through the bus 1204. The communication interface 1203 may be used for information transmission. The processor 1201 may call the logic instructions in the memory 1202 to execute the method for power supply of the above embodiment.
[0117] In addition, the logic instructions in the memory 1202 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.
[0118] The memory 1202 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 1201 executes functional applications and data processing by running the program instructions / modules stored in the memory 1202, that is, implements the method for power supply in the above embodiment.
[0119] The memory 1202 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 1202 may include a high-speed random access memory and may also include a non-volatile memory.
[0120] In some embodiments, a computer-readable storage medium is provided, storing program instructions, which, when executed, enable a computer to execute a method for power supply as described in any of the above embodiments.
[0121] In some embodiments, a vehicle is provided, comprising: a system for power supply as described in any one of the above; or a control device for power supply as described in the above. The system for power supply or the control device for power supply is installed on the vehicle body. The installation relationship described here is not limited to placement inside the vehicle body, but also includes installation connections with other components of the vehicle, including but not limited to physical connections, electrical connections, or signal transmission connections. It can be understood by those skilled in the art that the system for power supply or the control device for power supply can be adapted to a feasible vehicle body, thereby realizing other feasible embodiments.
[0122] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or changes made by technicians in the technical field on the basis of the present invention are all within the protection scope of the present invention. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation can be changed. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method or device including the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0123] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0124] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0125] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. 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, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A system for supplying power, characterized in that: include: A load controller, comprising a first chipset, a second chipset and a micro control unit; A first power supply, for supplying power to the first chipset; A second power supply, supplying power to the second chipset; The micro control unit is configured to control the reduction of power of the first chipset and / or the second chipset when an abnormality occurs in the first power supply or the second power supply.
2. The system according to claim 1, characterized in that A difference between a power sum of the first chipset and a power sum of the second chipset is within a preset range.
3. The system according to claim 1, characterized in that The first chipset includes: a system on chip SOC chip, and / or a CAN chip, and / or an Ethernet chip; and / or, The second chipset includes: an audio system control chip, and / or a display screen driver chip, and / or a Bluetooth chip, and / or a WIFI chip.
4. The system according to any one of claims 1 to 3, characterized in that Also includes: The power switching circuit is configured to switch the power supplies of the first chipset and the second chipset to power supplies that operate normally when an abnormality occurs in the first power supply or the second power supply.
5. The system according to claim 4, characterized in that The power switching circuit includes: A bridge circuit, used for bridging the first power supply and the second power supply; Wherein, when an abnormality occurs in the first power supply or the second power supply, the bridge circuit is controlled to be turned on.
6. The system according to claim 5, characterized in that The bridge circuit includes: A first MOS tube, wherein a D pole of the first MOS tube is connected to a first power supply; A second MOS tube, wherein a D pole of the second MOS tube is connected to a second power supply, and an S pole of the first MOS tube is connected to an S pole of the second MOS tube; Wherein, the G pole of the first MOS tube and the G pole of the second MOS tube are both connected to the signal output end of the micro control unit.
7. The system according to any one of claims 1 to 3, characterized in that Also includes: The power detection circuit is connected to the micro control unit for communication, and is configured to detect the states of the first power supply and the second power supply, and send the detection result to the micro control unit.
8. The system according to claim 7, characterized in that The detection circuit includes: a resistor voltage-dividing detection circuit, connected to the first power supply and the second power supply, for detecting the voltage states of the first power supply and the second power supply; and / or The interrupt detection circuit is connected to the first power supply and the second power supply and is used for transient detection of the power supply voltage. The interrupt detection circuit includes a hysteresis comparator, and the hysteresis comparator is configured with a threshold range of a hysteresis voltage.
9. The system according to any one of claims 1 to 3, characterized in that Also includes: The power supply circuit connects the first power supply and the second power supply in parallel to form a power supply for the micro control unit.
10. A method for supplying power, characterized in that: Applied to the system for power supply according to any one of claims 1 to 9, the method comprises: Acquire power status of a first power supply and a second power supply; When an abnormality occurs in the first power supply or the second power supply, the power of the first chipset and / or the second chipset is controlled to be reduced.
11. The method according to claim 10, characterized in that When an abnormality occurs in the first power supply or the second power supply, the method further includes: When the first power supply is abnormal, controlling the second power supply and the first chipset to be turned on; When an abnormality occurs in the second power supply, the first power supply and the second chipset are controlled to be turned on.
12. The method according to claim 10 or 11, characterized in that: Also includes: In the case of an abnormality in the first power supply, the first power supply is redistributed, and after the redistribution, if the power supply state of the first power supply is normal, the first chipset of the load controller is controlled to restore the full function state, and the first power supply and the first chipset are controlled to be turned on; In the event of an abnormality in the second power supply, the second power supply is redistributed, and after redistribution, when the power status of the second power supply is normal, the second chipset of the load controller is controlled to restore to a full functional state, and the second power supply and the second chipset are controlled to be turned on.
13. A control device for power supply, characterized in that: The invention comprises a processor and a memory storing program instructions, wherein the processor is configured to execute the method for power supply according to any one of claims 10 to 12 when running the program instructions.
14. A readable storage medium storing program instructions, characterized in that: When the program instructions are executed, the computer is configured to execute the method for power supply according to any one of claims 10 to 12.
15. A vehicle, characterized in that: include: A system for power supply as claimed in any one of claims 1 to 9; or A control device for powering a power supply as claimed in claim 13.
