Bus capacitor discharging method of vehicle-mounted power supply, vehicle and storage medium

By disconnecting the PFC conversion circuit from the AC voltage terminal under software logic control, and using the inductor unit to short-circuit to form a discharge circuit, the target switching transistor of the rectifier unit is turned on to discharge the bus capacitor, thus solving the risk of high-voltage electric shock when the OBC bus capacitor fails and realizing a fast and safe discharge operation.

CN120979147APending Publication Date: 2025-11-18SUZHOU INOSA UNITED POWER SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511098965.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-06
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

In new energy vehicles, the OBC bus capacitor cannot discharge quickly when it fails, which poses a risk of high-voltage electric shock during maintenance. Existing solutions require the addition of a discharge circuit, which increases equipment costs.

Method used

By disconnecting the PFC conversion circuit from the AC voltage terminal under software logic control, a discharge circuit is formed by short-circuiting the inductor unit, and the target switch of the rectifier unit is turned on to discharge the bus capacitor, thus avoiding the need for additional components.

Benefits of technology

This technology enables the rapid and safe discharge of bus capacitors without increasing equipment costs, thus reducing maintenance risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120979147A_ABST
    Figure CN120979147A_ABST
Patent Text Reader

Abstract

The invention discloses a bus capacitor discharging method of a vehicle-mounted power supply, a vehicle and a storage medium, and relates to the technical field of new energy automobiles, and the method comprises the steps: when the vehicle-mounted power supply is in a discharging working state, controlling a switching circuit to disconnect a PFC conversion circuit and an AC voltage end, and enabling one end, away from a rectification unit, of an inductance unit to be in short circuit, a discharge loop is formed; according to the preset control signal, the target switch tube in the rectification unit is conducted, and the bus capacitor is discharged, so that the bus capacitor is effectively controlled to perform the discharging operation without adding devices to the internal PFC conversion circuit structure of the vehicle-mounted power supply, and rapid discharging of the bus capacitor is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of new energy vehicle technology, and in particular to a method for discharging the bus capacitor of an on-board power supply, a vehicle, and a storage medium. Background Technology

[0002] In the field of new energy vehicles, safety is always the most pressing concern. This relates not only to the safety of driving the vehicle but also to the safety during equipment maintenance. As a crucial component of a vehicle, the On-Board Charger (OBC) does not pose a safety hazard to external equipment or personnel under normal circumstances when powered off. However, if an OBC malfunctions and requires repair by removing the cover, the voltage of its internal bus capacitors cannot drop to a safe level quickly enough, posing a risk of electric shock to maintenance personnel during OBC repairs.

[0003] To address the aforementioned issues, it is proposed to release the energy in the bus capacitor by connecting a discharge resistor, adding a power switching transistor, or utilizing the principle of a switching power supply. Although these operations can all achieve controlled discharge of the bus capacitor, they all require adding a discharge circuit to the existing circuit structure, which will increase the equipment cost of the vehicle power supply. Summary of the Invention

[0004] The main objective of this application is to provide a method for discharging the bus capacitor of an on-board power supply, a vehicle, and a storage medium, aiming to solve the technical problem of how to achieve controlled discharge of the bus capacitor without increasing the equipment cost of the on-board power supply.

[0005] To achieve the above objectives, this application proposes a method for discharging the bus capacitor of an on-board power supply. The method for discharging the bus capacitor of an on-board power supply includes:

[0006] When the vehicle power supply is in the discharge working state, the control switch circuit disconnects the connection between the PFC conversion circuit and the AC voltage terminal, and short-circuits the end of the inductor unit away from the rectifier unit to form a discharge circuit.

[0007] According to the preset control signal, the target switch in the rectifier unit is turned on to discharge the bus capacitor.

[0008] In one embodiment, before the step of controlling the switching circuit to disconnect the connection between the PFC conversion circuit and the AC voltage terminal when the vehicle power supply is in a discharging state, the method further includes:

[0009] The system acquires the current operating status of the vehicle power supply in real time. If the current operating status is standby, it determines whether the vehicle power supply meets the preset discharge conditions.

[0010] If the vehicle power supply meets the preset discharge conditions, the vehicle power supply will be controlled to enter the discharge working state.

[0011] In one embodiment, the preset discharge conditions include a first preset discharge condition and a second preset discharge condition;

[0012] The first preset discharge condition is that the previous working state of the vehicle power supply is the charging state, the AC side voltage value of the switching circuit is less than the preset AC voltage value, and the bus voltage value of the bus capacitor is greater than the safe voltage value.

[0013] The second preset discharge condition is that the previous operating state of the vehicle power supply is the discharge state, the DC side voltage value of the PFC conversion circuit is less than the preset DC voltage value, and the bus voltage value of the bus capacitor is greater than the safe voltage value.

[0014] In one embodiment, the switching circuit includes a first switching unit and a second switching unit. The first switching unit includes a plurality of switching devices, and the second switching unit includes a plurality of relays.

[0015] The first switching unit is connected to the first end of the inductor unit away from the rectifier unit, and the second switching unit is located between the first switching unit and the AC voltage terminal.

[0016] The steps of controlling the switching circuit to disconnect the PFC conversion circuit from the AC voltage terminal and short-circuiting the end of the inductor unit furthest from the rectifier unit to form a discharge circuit include:

[0017] The relays in the second switching unit are controlled to enter the open state, thereby disconnecting the PFC conversion circuit from the AC voltage terminal; and...

[0018] The switching devices in the first switching unit are controlled to enter the closed state, so as to short-circuit the end of the inductor unit away from the rectifier unit, forming a discharge circuit.

[0019] In one embodiment, after the step of controlling each switching device in the first switching unit to enter the closed state, the method further includes:

[0020] Fault detection is performed on the PFC conversion circuit, and the detection results are used to determine whether there is a high current fault or a high voltage fault in the PFC conversion circuit.

[0021] If the PFC conversion circuit has a high current fault or a high voltage fault, the vehicle power supply will be controlled to exit the discharge working state.

[0022] If there is no high current or high voltage fault in the PFC conversion circuit, the vehicle power supply will enter a self-test state, and the self-test results will determine whether there is a discharge fault in the vehicle power supply.

[0023] If the vehicle power supply has a discharge fault, control the vehicle power supply to exit the discharge working state.

[0024] If there is no discharge fault in the vehicle power supply, the step of turning on the target switch in the rectifier unit according to the preset control signal will be executed.

[0025] In one embodiment, the rectifier unit includes multiple switching transistors. The step of turning on a target switching transistor in the rectifier unit according to a preset control signal, and short-circuiting the inductor unit based on the target switching transistor, includes:

[0026] According to the preset control signal in the current control period, the switch corresponding to the preset control signal with a high level is identified as the target switch, and the target switch is turned on.

[0027] One end of the target switch transistor in the conducting state is connected to the bus capacitor, and the other end of the target switch transistor in the conducting state is connected to the second end of the inductor unit. When the first end of the inductor unit is connected to the bus capacitor via a closed-state switching device, the inductor unit is controlled to enter the short-circuit state.

[0028] In one embodiment, the step of discharging the bus capacitor includes:

[0029] After stopping the power transmission at the DC voltage terminal of the PFC conversion circuit, the DC energy stored on the bus capacitor is transferred to the inductor unit in the short-circuit state through the discharge circuit, and the discharge operation is performed on the inductor unit in the short-circuit state.

[0030] In one embodiment, after the step of discharging the inductor unit in the short-circuited state, the method further includes:

[0031] Obtain the current bus voltage value of the bus capacitor after the discharge operation, and determine whether the current bus voltage value is less than the safe voltage value;

[0032] If the current bus voltage is less than the safe voltage, output information indicating that the bus capacitor has finished discharging.

[0033] If the current bus voltage value is equal to or greater than the safe voltage value, the discharge duration of the bus capacitor discharge operation is obtained, and it is determined whether the discharge duration exceeds the preset discharge duration.

[0034] If the discharge time exceeds the preset discharge time, it is determined that there is a discharge fault in the vehicle power supply, and the vehicle power supply is controlled to exit the discharge working state.

[0035] If the discharge duration does not exceed the preset discharge duration, then return to the step of performing fault detection on the PFC conversion circuit.

[0036] In addition, to achieve the above objectives, this application also proposes a vehicle comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the bus capacitor discharge method for the on-board power supply as described above.

[0037] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the bus capacitor discharge method of the vehicle power supply as described above.

[0038] One or more technical solutions proposed in this application have at least the following technical effects:

[0039] A bus capacitor discharge method based on the PFC conversion circuit in a conventional vehicle power supply is proposed to discharge the bus capacitor of the vehicle power supply. The method is as follows: when the vehicle power supply is in the discharge working state, the control switch circuit disconnects the connection between the PFC conversion circuit and the AC voltage terminal, and short-circuits the end of the inductor unit away from the rectifier unit to form a discharge circuit; according to the preset control signal, the target switch in the rectifier unit is turned on to discharge the bus capacitor.

[0040] This application, through software logic control, detects that the vehicle power supply is in a discharging state. It controls the switching circuit to disconnect the PFC conversion circuit from the AC voltage terminal and short-circuit the end of the inductor unit furthest from the rectifier unit. Because the inductor unit is connected between the switching circuit and the rectifier unit, it disconnects the bus capacitor from the AC voltage terminal, allowing the DC energy released by the bus capacitor to be transferred to the inductor unit. A preset control signal controls the target switch on the rectifier unit to enter a conducting state. Based on the conducting target switch and the short-circuited inductor unit, the bus capacitor can transfer its stored DC current through the discharge circuit formed by the short-circuited inductor unit, the target switch, and the bus capacitor to the short-circuited inductor unit. The short-circuited inductor unit then performs the discharge operation, effectively controlling the bus capacitor to discharge without adding components to the internal PFC conversion circuit structure of the vehicle power supply, thus achieving rapid discharge of the bus capacitor. Attached Figure Description

[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0043] Figure 1 A schematic flowchart of an embodiment of the bus capacitor discharge method for vehicle power supply in this application;

[0044] Figure 2 This is a schematic diagram of the structure of a PFC conversion circuit for an on-board power supply and a switching circuit connected to the PFC conversion circuit, as described in this application.

[0045] Figure 3 This is a flowchart illustrating the preparatory steps for bus capacitor discharge in this application.

[0046] Figure 4 A schematic diagram of the process for controlling the discharge of the bus capacitor in the PFC conversion circuit of this application;

[0047] Figure 5 A schematic diagram of the control timing of the preset control signals set in this application;

[0048] Figure 6 For based on Figure 2 The diagram shows a transmission path of DC power output from the bus capacitor.

[0049] Figure 7 For based on Figure 2 The diagram shows another transmission path for the DC power output from the bus capacitor.

[0050] Figure 8 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the bus capacitor discharge method of the vehicle power supply in the embodiments of this application.

[0051] Explanation of icon numbers:

[0052] 10. Rectifier unit; Q1, first switch; Q2, second switch; Q3, third switch; Q4, fourth switch; Q5, fifth switch; Q6, sixth switch;

[0053] Cbus, bus capacitor; C1, first capacitor; C2, second capacitor;

[0054] 20. Inductor unit; L1, first inductor; L2, second inductor; L3, third inductor;

[0055] 30. First switching unit; K1. First switching device; K2. Second switching device; K3. Third switching device;

[0056] 40. Second switching unit; S1, First relay; S2, Second relay; S3, Third relay; S4, Fourth relay; S5, Fifth relay; S6, Sixth relay; R1, First resistor; R2, Second resistor; R3, Third resistor;

[0057] 50. First AC electromagnetic interference filtering unit; Lo1, first filter inductor; Lo2, second filter inductor; Lo3, third filter inductor; Lo7, seventh filter inductor;

[0058] 60. Second AC electromagnetic interference filtering unit; Lo4. Fourth filtering inductor; Lo5. Fifth filtering inductor; Lo6. Sixth filtering inductor; Lo8. Eighth filtering inductor.

[0059] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0060] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0061] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0062] The main solution of this application embodiment is: to propose a bus capacitor discharge method based on the PFC conversion circuit in a conventional vehicle power supply to realize the discharge operation of the bus capacitor of the vehicle power supply. The method is as follows: when the vehicle power supply is in the discharge working state, the control switch circuit disconnects the connection between the PFC conversion circuit and the AC voltage terminal; according to the preset control signal, the target switch in the rectifier unit is turned on to short-circuit the inductor unit; the inductor unit in the short-circuit state is controlled to form a discharge circuit with the target switch and the bus capacitor to perform the discharge operation of the bus capacitor.

[0063] As a crucial component of automobiles, the On-Board Charger (OBC) does not pose a safety hazard to external equipment or personnel under normal circumstances when powered off, due to the internal bus capacitors. However, if an OBC malfunctions and requires repair by removing the cover, the voltage of the internal bus capacitors cannot be reduced to a safe range quickly enough, posing a risk of electric shock to repair personnel. To address this issue, methods have been proposed to release energy from the bus capacitors by connecting a discharge resistor, adding a power switch, or utilizing the principles of a switching power supply. While these methods can achieve rapid discharge of the bus capacitors, they all require adding discharge circuitry to the existing circuitry, increasing the equipment cost of the on-board power supply.

[0064] This application provides a solution that, through software logic control, when the vehicle power supply is detected to be in a discharging state, controls the switching circuit to disconnect the connection between the PFC conversion circuit and the AC voltage terminal, and short-circuits the end of the inductor unit furthest from the rectifier unit. Because the inductor unit is connected between the switching circuit and the rectifier unit, it can disconnect the connection between the bus capacitor and the AC voltage terminal, allowing the DC energy released by the bus capacitor to be transmitted to the inductor unit. According to a preset control signal, the target switch on the rectifier unit is controlled to enter the conducting state. Based on the target switch in the conducting state and the inductor unit in the short-circuited state, the bus capacitor can transmit the stored DC current through the discharge circuit formed by the inductor unit in the short-circuited state, the target switch, and the bus capacitor to the inductor unit in the short-circuited state. The inductor unit in the short-circuited state then performs the discharge operation. This achieves effective control of the bus capacitor to discharge without adding components to the internal PFC conversion circuit structure of the vehicle power supply, thus realizing rapid discharge of the bus capacitor.

[0065] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device or vehicle capable of performing the above functions. The following description uses a vehicle as an example to illustrate this embodiment and the subsequent embodiments.

[0066] Based on this, this application provides a method for discharging the bus capacitor of an on-board power supply, referring to... Figure 1 , Figure 1 This is a schematic flowchart of an embodiment of the bus capacitor discharge method for vehicle power supply according to this application.

[0067] In this embodiment, the bus capacitor discharge method of the vehicle power supply includes steps S10 to S20:

[0068] Step S10: When the vehicle power supply is in the discharge working state, the control switch circuit disconnects the connection between the PFC conversion circuit and the AC voltage terminal, and short-circuits the end of the inductor unit away from the rectifier unit to form a discharge circuit.

[0069] It should be noted that the controlled discharge operation of the bus capacitor in the vehicle power supply in this application is based on the improvement of software logic. By executing specific software logic, the devices on the conventional PFC conversion circuit of the vehicle power supply are controlled. In this way, without modifying the conventional PFC conversion circuit or adding discharge devices, a discharge circuit for discharging the bus capacitor is formed in the PFC conversion circuit, thus completing the controlled discharge operation of the bus capacitor.

[0070] Specifically, it is necessary to first determine that the vehicle power supply is in a discharging state before executing specific software logic to control the conventional PFC conversion circuit and switching circuit. At this time, based on specific software logic, the switching circuit is controlled to disconnect the connection between the PFC conversion circuit and the AC voltage terminal. Because the bus capacitor can be connected to the AC voltage terminal through the connection between the rectifier unit, the inductor unit and the switching circuit, in order to avoid interference to the discharge process caused by the bus capacitor being connected to the AC voltage terminal during discharge, and to ensure that the DC energy released by the bus capacitor can be transmitted to the inductor unit for loss, the connection between the PFC conversion circuit and the AC voltage terminal will be disconnected by controlling the switching circuit, so as to cut off the connection between the bus capacitor and the AC voltage terminal.

[0071] The reason why specific software logic can only be executed when the vehicle power supply is in a discharging state is to ensure the safety of the discharge operation on the bus capacitor and the stability of the vehicle power supply. This avoids the risk of electric shock, device damage, or short circuit that may occur if specific software logic is executed to discharge the bus capacitor while the vehicle power supply is still in a charging or power supply state.

[0072] Step S20: According to the preset control signal, the target switch in the rectifier unit is turned on to discharge the bus capacitor.

[0073] By executing specific software logic, after disconnecting the connection between the bus capacitor and the AC voltage terminal, since the rectifier unit in the PFC conversion circuit has an inductor unit and a bus capacitor on both sides respectively, if the target switch in the rectifier unit of the PFC conversion circuit is turned on based on specific software logic, the other end of the inductor unit can be connected to the bus capacitor through the turned-on target switch. At this time, the inductor unit is in a short-circuited state, and the inductor unit in the short-circuited state can be regarded as a load. The capacity on the bus capacitor is released through the load, thereby achieving the controlled discharge operation of the bus capacitor without adding additional components or structural improvements.

[0074] As can be seen from the above, when the target switch is in the on state, a discharge circuit can be formed between the inductor unit in the short-circuit state, the target switch, and the bus capacitor, so that the DC energy on the bus capacitor can be transferred to the inductor unit in the short-circuit state through the target switch. In the inductor unit in the short-circuit state, the AC energy converted by the target switch is dissipated in the form of heat, thereby realizing the discharge operation of the DC energy on the bus capacitor.

[0075] It should be noted that by setting specific software logic, the switching frequency and duty cycle of the target switching transistor can be controlled, thereby controlling the discharge speed and discharge current of the bus capacitor and achieving rapid discharge of the bus capacitor.

[0076] In this embodiment, through software logic control, when the vehicle power supply is detected to be in a discharging state, the control switch circuit disconnects the connection between the PFC conversion circuit and the AC voltage terminal, and short-circuits the end of the inductor unit furthest from the rectifier unit. Since the inductor unit is connected between the switch circuit and the rectifier unit, the connection between the bus capacitor and the AC voltage terminal can be disconnected, allowing the DC energy released by the bus capacitor to be transmitted to the inductor unit. According to the preset control signal, the target switch on the rectifier unit is controlled to enter the conducting state. Based on the target switch in the conducting state and the inductor unit in the short-circuited state, the bus capacitor can transmit the stored DC current through the discharge circuit formed by the inductor unit in the short-circuited state, the target switch, and the bus capacitor to the inductor unit in the short-circuited state. The inductor unit in the short-circuited state performs the discharge operation, thereby effectively controlling the bus capacitor to perform the discharge operation without adding components to the internal PFC conversion circuit structure of the vehicle power supply, and realizing the rapid discharge of the bus capacitor.

[0077] Based on such Figure 1 Before describing feasible implementations of the illustrated process steps, a PFC conversion circuit for an on-board power supply and a switching circuit connected to the PFC conversion circuit are first exemplified. By performing software logic control on the switching circuit and the rectifier unit 10 and related devices in the PFC conversion circuit, they can execute the process as described in steps S10 to S20. This switching circuit and PFC conversion circuit capable of executing steps S10 to S20 are as follows: Figure 2 As shown, from left to right are the first AC electromagnetic interference filtering unit 50, the second switching unit 40, the second AC electromagnetic interference filtering unit 60 and the first switching unit 30 in the switching circuit, and the inductor unit 20 and the rectifier unit 10 in the PFC conversion circuit. The left side of the switching circuit is the AC voltage terminal, and the right side of the PFC conversion circuit is the DC voltage terminal. The bus capacitor Cbus is connected to the DC voltage terminal.

[0078] according to Figure 2As can be seen, the switching circuit exemplified in this embodiment is connected to a three-phase AC voltage terminal. In this case, the first AC electromagnetic interference filtering unit 50 is provided with a first filtering inductor Lo1, a second filtering inductor Lo2 and a third filtering inductor Lo3, the second AC electromagnetic interference filtering unit 60 is provided with a fourth filtering inductor Lo4, a fifth filtering inductor Lo5 and a sixth filtering inductor Lo6, the inductor unit 20 is provided with a first inductor L1, a second inductor L2 and a third inductor L3, and the rectifier unit 10 is provided with a first phase bridge arm formed by the first switch Q1 and the second switch Q2 connected in series, a second phase bridge arm formed by the third switch Q3 and the fourth switch Q4 connected in series, and a third phase bridge arm formed by the fifth switch Q5 and the sixth switch Q6 connected in series.

[0079] The first phase AC voltage terminal on the three-phase AC voltage terminal (i.e. Figure 2 L1 in the first phase is connected to one end of the first inductor L1 via the first filter inductor Lo1, the first relay S1 and the second relay S2 connected in parallel in the second switching unit 40, and the fourth filter inductor Lo4. The other end of the first inductor L1 is connected to the first phase bridge arm; the second phase AC voltage terminal on the three-phase AC voltage terminal (i.e. Figure 2 L2 in the second phase is connected to one end of the second inductor L2 via the second filter inductor Lo2, the third relay S3 and the fourth relay S4 connected in parallel in the second switching unit 40, and the fifth filter inductor Lo5. The other end of the second inductor L2 is connected to the second phase bridge arm. The third phase AC voltage terminal (i.e. Figure 2 L3 in the inverter is connected to one end of the third inductor L3 via the third filter inductor Lo3, the fifth relay S5 and the sixth relay S6 connected in parallel in the second switching unit 40, and the sixth filter inductor Lo6. The other end of the third inductor L3 is connected to the third phase bridge arm. By turning on the corresponding target switching transistors on the three-phase bridge arm, a near-sinusoidal voltage waveform is generated at the output of the inverter, enabling the inverter to draw current from the bus capacitor Cbus more smoothly and reducing voltage fluctuations. This optimizes the discharge process of the bus capacitor Cbus while controlling its effective discharge operation.

[0080] Meanwhile, to more safely release the energy stored in the bus capacitor Cbus, a seventh switch Q7 and an eighth switch Q8 are connected in series between the rectifier unit 10 and the bus capacitor Cbus. The source of the seventh switch Q7 is connected to the first connection line shared by the sources of the first switch Q1, the third switch Q3, the fifth switch Q5, and the positive terminal of the bus capacitor Cbus. The end of this first connection line closest to the bus capacitor Cbus forms the positive terminal of the DC voltage (i.e., Figure 2In PRI_BUS+), the logic connection of the eighth switch Q8 is to the second connection line shared by the drains of the second switch Q2, the fourth switch Q4, the sixth switch Q6, and the negative terminal of the bus capacitor Cbus. The end of this second connection line closest to the bus capacitor Cbus forms the negative terminal of the DC voltage (i.e., Figure 2 (PRI_BUS-). By controlling the on and off of the seventh switch Q7 and the eighth switch Q8, the bus capacitor Cbus is gradually discharged, making the voltage waveform output by the inverter closer to a sine wave.

[0081] And because the three-phase AC voltage terminals are connected to the neutral line (i.e. Figure 2 Therefore, the first AC electromagnetic interference filtering unit 50 also needs to be equipped with a seventh filtering inductor Lo7, and the second AC electromagnetic interference filtering unit 60 also needs to be equipped with an eighth filtering inductor Lo8. The neutral line is connected to the connection point of the first capacitor C1 and the second capacitor C2 connected in series to form the bus capacitor Cbus via the seventh filtering inductor Lo7 and the eighth filtering inductor Lo8, so as to provide a grounding terminal for the bus capacitor Cbus.

[0082] The second switching unit 40 also includes three resistors: the first resistor R1 is connected in series with the first relay S1, the second resistor R2 is connected in series with the third relay S3, and the third resistor R3 is connected in series with the fifth relay S5. This allows the second switching unit 40 to function as a pre-charging unit for the vehicle's power supply. Therefore, when the first relay S1 and the second relay S2 in the second switching unit 40 are closed, the connection between the PFC conversion circuit and the first phase AC voltage terminal can be established; when the third relay S3 and the fourth relay S4 in the second switching unit 40 are closed, the connection between the PFC conversion circuit and the second phase AC voltage terminal can be established; and when the fifth relay S5 and the sixth relay S6 in the second switching unit 40 are closed, the connection between the PFC conversion circuit and the third phase AC voltage terminal can be established.

[0083] Furthermore, a first switching device K1 is provided between the first end of the first inductor L1 and the first end of the second inductor L2, a second switching device K2 is provided between the first end of the second inductor L2 and the first end of the third inductor L3, and a third switching device K3 is provided between the first end of the third inductor L3 and the neutral line. The first switching device K1, the second switching device K2 and the third switching device K3 constitute a first switching unit 30. By changing the closed and open states of the first switching unit 30, the current path of the DC power released by the bus capacitor Cbus can be changed.

[0084] Furthermore, the connection point of the seventh switch Q7 and the eighth switch Q8, and the connection point of the first capacitor C1 and the second capacitor C2 that form the bus capacitor Cbus, are directly connected to a fourth switching device (i.e., Figure 2 In the case of K4), the fourth switching device can disconnect the DC voltage terminal from the bus capacitor Cbus when the vehicle power supply is in the discharge working state. This prevents the DC unit output by the bus capacitor Cbus from being transmitted to the DC voltage terminal when it is in the discharge state, which would prevent the inductor unit 20 from properly consuming the energy of the bus capacitor Cbus in the short-circuited state, thus affecting the discharge effect of the bus capacitor Cbus.

[0085] The connection point of the seventh switch Q7 and the eighth switch Q8, and the connection point of the first capacitor C1 and the second capacitor C2 that form the bus capacitor Cbus, are also connected to a fifth switch device (i.e., Figure 2 K5 in the middle) and the third capacitor (i.e. Figure 2 In the circuit, capacitor C3 connects the positive and negative terminals of the DC voltage bus when the fifth switch is energized, allowing current to flow through the bus capacitor Cbus to the subsequent circuits. When the fifth switch is de-energized, it switches the connection between the positive and negative terminals of the DC voltage bus, preventing current flow. The third capacitor serves as a filter and energy storage unit.

[0086] Based on Figure 2 Before controlling the discharge of the bus capacitor in the PFC conversion circuit shown, in order to ensure the safe discharge of the bus capacitor and avoid discharge risks, this application proposes a feasible pre-discharge preparation step for the bus capacitor, which is detailed in the following reference. Figure 3 As shown, the preparatory steps for the discharge of the bus capacitor include steps A10 to A80:

[0087] Step A10: Obtain the current working status of the vehicle power supply in real time. If the current working status is standby, determine whether the vehicle power supply meets the preset discharge conditions.

[0088] Before controlling the bus capacitor to perform a discharge operation, in order to ensure the safety and effectiveness of the bus capacitor discharge, it is necessary to first determine the current working status of the vehicle power supply and whether the vehicle power supply meets the preset discharge conditions, so as to determine whether the bus capacitor in the current vehicle power supply can perform a safe discharge operation.

[0089] If the current working state of the vehicle power supply is obtained as standby, it means that the vehicle does not have charging or power supply needs at this time. The vehicle power supply does not need to perform charging or power supply operations. In other words, discharging the bus capacitor at this time will not cause any risk of damage to the vehicle power supply or the vehicle. Therefore, it is necessary to determine whether the vehicle power supply meets the preset discharge conditions, that is, to determine the current voltage input or output status of the vehicle power supply and whether there is a discharge requirement.

[0090] This embodiment provides two preset discharge conditions for different voltage states under preset discharge scenarios. The first preset discharge condition is as follows: When it is detected that the previous working state of the vehicle power supply was a charging state, it indicates that before the vehicle power supply entered the standby state, the AC voltage terminal connected to its switching circuit charged the vehicle power supply through the switching circuit. That is, before entering the standby state, the vehicle power supply was in a voltage-connected state. Therefore, to ensure that the external power supply (i.e., the power input at the AC voltage terminal) has been disconnected, it is determined whether the AC side voltage value at the AC voltage terminal is less than the preset AC voltage value. This is to determine whether the voltage at the AC voltage terminal has dropped to a safe level, thereby avoiding safety risks to personnel and equipment during the discharge process. At the same time, it is determined whether the bus voltage value of the bus capacitor is greater than the safe voltage value, thereby determining whether the DC energy stored in the bus capacitor will pose a safety risk to personnel and equipment. Only when it is determined that the AC side voltage value is less than the preset AC voltage value and the bus voltage value is greater than the safe voltage value, is it considered that a safe discharge operation can be performed on the DC energy in the bus capacitor.

[0091] The second preset discharge condition is as follows: When it is detected that the previous operating state of the vehicle power supply was a discharge state, it indicates that before entering the standby state, the DC voltage side of the vehicle power supply was supplying power to the connected subsequent circuits. That is, before entering the standby state, the vehicle power supply was in a voltage output state. Therefore, to reduce the risk of personnel contact, it will determine whether the DC voltage value on the DC voltage terminal is less than the preset DC voltage value, thereby determining whether the voltage on the DC voltage terminal has dropped to a safe level. At the same time, it will determine whether the bus voltage value of the bus capacitor is greater than the safe voltage value, thereby determining whether the DC energy stored in the bus capacitor will pose a safety risk to personnel and equipment. Only when it is determined that the DC voltage value is less than the preset DC voltage value and the bus voltage value is greater than the safe voltage value, is it considered that a safe discharge operation can be performed on the DC energy in the bus capacitor.

[0092] It should be noted that the preset AC voltage value, safety voltage value, and preset DC voltage value need to be set based on actual application requirements. In this embodiment, the preset AC voltage value is 40V, and the safety voltage value and preset DC voltage value are 60V.

[0093] Step A20: If the vehicle power supply meets the preset discharge conditions, control the vehicle power supply to enter the discharge working state.

[0094] If the vehicle power supply is detected to meet any of the preset discharge conditions mentioned above, it is considered that the bus capacitor in the vehicle power supply can be effectively and safely discharged. At this time, the vehicle power supply is controlled to enter the discharge working state.

[0095] It should be noted that the vehicle power supply's discharge state involves supplying power to subsequent circuits through the DC voltage terminal, while the vehicle power supply's operating state involves dissipating the DC energy in the bus capacitor into the PFC conversion circuit.

[0096] If the vehicle power supply is detected to be not in accordance with any of the preset discharge conditions mentioned above, it is considered that the bus capacitor in the vehicle power supply cannot be effectively and safely discharged. The vehicle power supply is not controlled to enter the discharge working state, and information indicating that there is a maintenance risk is still output.

[0097] Step A30: Control each relay in the second switching unit 40 to enter the open state so that the PFC conversion circuit disconnects from the AC voltage terminal; and control each switching device in the first switching unit 30 to enter the closed state so as to short-circuit the end of the inductor unit 20 away from the rectifier unit 10 to form a discharge circuit.

[0098] When the vehicle power supply enters the discharge operating state, in order to establish a discharge circuit in the PFC conversion circuit capable of discharging DC power and avoid the problem of bus capacitor discharge failure caused by external power entering the PFC conversion circuit, Figure 2 For example, it will control each relay in the second switching unit 40 to enter the disconnect state, that is, control the first relay S1 to the sixth relay S6 in the second switching unit 40 to enter the disconnect state, so that the PFC conversion circuit disconnects from the AC voltage terminal, and then disconnects from the external power supply.

[0099] Simultaneously, the switching devices in the first switching unit are controlled to enter the closed state, that is, the first switching device K1 to the third switching device K3 in the first switching unit 30 are controlled to enter the closed state, blocking the path of DC power released by the bus capacitor Cbus to the second AC electromagnetic interference unit, and short-circuiting the end of the inductor unit 20 away from the rectifier unit 10 to form a discharge circuit, ensuring that DC power can be transmitted to the first inductor L1 to the third inductor L3, and the DC power is consumed in the inductor unit 20.

[0100] Step A40: Perform fault detection on the PFC conversion circuit, and determine whether there is a high current fault or a high voltage fault in the PFC conversion circuit based on the detection results.

[0101] Step A50: If the PFC conversion circuit has a high current fault or a high voltage fault, then control the vehicle power supply to exit the discharge working state.

[0102] After controlling the switching states of the relevant components in the PFC conversion circuit, in order to ensure that a complete discharge circuit can be directly formed based on a specific preset control signal to effectively and safely discharge the bus capacitor, it is also necessary to perform fault detection on the PFC conversion circuit to determine whether there are high current faults or high voltage faults in the PFC conversion circuit. This is because when there are high current faults or high voltage faults in the PFC conversion circuit, the discharge operation on the bus capacitor will aggravate the faults and lead to damage to the components in the PFC conversion circuit.

[0103] Therefore, when a high current or high voltage fault is detected in the PFC conversion circuit, the vehicle power supply should be controlled to exit the discharge state to avoid damage to the PFC conversion circuit.

[0104] It should be noted that this fault detection does not include undervoltage detection of bus capacitors, undervoltage detection of AC voltage terminals, or underfrequency fault detection.

[0105] Step A60: If there is no high current fault or high voltage fault in the PFC conversion circuit, the vehicle power supply is controlled to enter the self-test state, and the self-test results are used to determine whether there is a discharge fault in the vehicle power supply.

[0106] Step A70: If there is a discharge fault in the vehicle power supply, control the vehicle power supply to exit the discharge working state.

[0107] If no high current or high voltage fault is detected in the PFC conversion circuit, the vehicle power supply will enter a self-test state to further reduce the operational risks of discharging the bus capacitor. This will detect potential discharge faults in the vehicle power supply, such as abnormal voltage, excessive current, or excessive temperature, thus further mitigating the safety risks that may arise from discharge faults in the vehicle power supply.

[0108] If a discharge fault is detected in the vehicle power supply, the vehicle power supply must be controlled to exit the discharge operation state to avoid the potential risks of discharge operation.

[0109] Step A80: If there is no discharge fault in the vehicle power supply, then execute the step of turning on the target switch in the rectifier unit according to the preset control signal.

[0110] If no discharge fault is detected in the vehicle power supply, it is considered that the bus capacitor can be effectively discharged while ensuring the safety of the vehicle power supply and the operator. Therefore, the target switch in the rectifier unit will be turned on according to the preset control signal, thus forming a discharge circuit in the PFC conversion circuit to consume DC power and realize the dynamic control of the bus capacitor discharge operation.

[0111] In this embodiment, before discharging the bus capacitor, the system determines whether the on-board power supply meets the preset discharge conditions, controls the PFC conversion circuit to disconnect from the AC voltage terminal, detects whether the PFC conversion circuit has a high current or high voltage fault, and controls the on-board power supply to enter a self-test state, thereby ensuring the effective and safe discharge of the bus capacitor.

[0112] Reference Figure 4 As shown, based on Figure 2 The steps for controlling the discharge of the bus capacitor Cbus in the PFC conversion circuit shown may include steps S30 to S32:

[0113] Step S30: According to the preset control signal in the current control period, determine the switch corresponding to the preset control signal with a high level as the target switch and turn on the target switch.

[0114] In step S31, one end of the target switch transistor in the conducting state is connected to the bus capacitor, and the other end of the target switch transistor in the conducting state is connected to the second end of the inductor unit. When the first end of the inductor unit is connected to the bus capacitor via a closed-state switching device, the inductor unit is controlled to enter the short-circuit state.

[0115] Step S32: After stopping the power transmission at the DC voltage terminal of the PFC conversion circuit, the DC energy stored on the bus capacitor is transferred to the inductor unit in the short-circuit state through the discharge circuit, and a discharge operation is performed on the inductor unit in the short-circuit state.

[0116] Combination Figure 2 To illustrate, let's assume the control timing of the preset control signal is as follows: Figure 5 As shown.

[0117] (1) When the current control period is T1, the preset control signals with a high level are S1, S3, S5, and S8. Therefore, the first switch Q1, the third switch Q3, the fifth switch Q5, and the eighth switch Q8 corresponding to the preset control signals S1, S3, S5, and S8 are the target switches. The four preset control signals with a high level are transmitted to the corresponding target switches. Therefore, the first switch Q1, the third switch Q3, the fifth switch Q5, and the eighth switch Q8 are in the on state, while the second switch Q2, the fourth switch Q4, the sixth switch Q6, and the seventh switch Q7 are in the off state. Because the switching devices in the first switching unit 30 are in the closed state, when the first switch Q1, the third switch Q3, the fifth switch Q5, and the eighth switch Q8 are in the on state, one end of the first inductor L1 can be connected via the on-state. The first switch Q1 is connected to the positive terminal of the bus capacitor Cbus, and the other end of the first inductor L1 is connected to the negative terminal of the bus capacitor Cbus via the conducting eighth switch Q8. One end of the second inductor L2 can be connected to the positive terminal of the bus capacitor Cbus via the conducting third switch Q3, and the other end of the second inductor L2 is connected to the negative terminal of the bus capacitor Cbus via the conducting eighth switch Q8. One end of the third inductor L3 can be connected to the positive terminal of the bus capacitor Cbus via the conducting fifth switch Q5, and the other end of the third inductor L3 is connected to the negative terminal of the bus capacitor Cbus via the conducting eighth switch Q8. That is, the first inductor L1 to the third inductor L3 will enter a short-circuit state, which is equivalent to the inductor unit 20 entering a short-circuit state. The inductor unit 20 in the short-circuit state can be regarded as a load, and the DC power on the bus capacitor Cbus can be consumed on the load to perform a discharge operation.

[0118] Therefore, when the fourth switching device is closed and the fifth switching device is opened, the DC voltage transmission at the DC terminal of the PFC conversion circuit will stop. The transmission path of the DC power output from the bus capacitor Cbus is as follows: Figure 6 As shown, ① the output from the positive terminal of the first capacitor C1 and the positive terminal of the second capacitor C2 flows through the first inductor L1 via the conducting first switch Q1, flows back to the negative terminal of the first capacitor C1, and flows back to the negative terminal of the second capacitor C2 through the conducting eighth switch Q8; ② the output from the positive terminal of the first capacitor C1 and the positive terminal of the second capacitor C2 flows through the second inductor L2 via the conducting third switch Q3, flows back to the negative terminal of the first capacitor C1, and flows back to the negative terminal of the second capacitor C2 through the conducting eighth switch Q8; ③ the output from the positive terminal of the first capacitor C1 and the positive terminal of the second capacitor C2 flows through the third inductor L3 via the conducting fifth switch Q5, flows back to the negative terminal of the first capacitor C1, and flows back to the negative terminal of the second capacitor C2 through the conducting eighth switch Q8.

[0119] In the above transmission path, DC power is converted into heat energy in the first inductor L1, the second inductor L2, and the third inductor L3, and is thus consumed in the first inductor L1, the second inductor L2, and the third inductor L3, thereby performing the discharge operation of the bus capacitor Cbus.

[0120] (2) When the current control period is T2, the preset control signals with a high level are S2, S4, S6, and S7. Therefore, the second switch Q2, the fourth switch Q4, the sixth switch Q6, and the seventh switch Q7 corresponding to the preset control signals S2, S4, S6, and S7 are the target switches. These four preset control signals with a high level are transmitted to the corresponding target switches. Therefore, the second switch Q2, the fourth switch Q4, the sixth switch Q6, and the seventh switch Q7 are in the on state, while the first switch Q1, the third switch Q3, the fifth switch Q5, and the eighth switch Q8 are in the off state. Because the switching devices in the first switching unit 30 are in the closed state, when the second switch Q2, the fourth switch Q4, the sixth switch Q6, and the seventh switch Q7 are in the on state, one end of the first inductor L1 can be connected via the on-state... The seventh switch Q7 is connected to the positive terminal of the bus capacitor Cbus, and the other end of the first inductor L1 is connected to the negative terminal of the bus capacitor Cbus via the conducting second switch Q2. One end of the second inductor L2 can be connected to the positive terminal of the bus capacitor Cbus via the conducting seventh switch Q7, and the other end of the second inductor L2 is connected to the negative terminal of the bus capacitor Cbus via the conducting fourth switch Q4. One end of the third inductor L3 can be connected to the positive terminal of the bus capacitor Cbus via the conducting seventh switch Q7, and the other end of the third inductor L3 is connected to the negative terminal of the bus capacitor Cbus via the conducting sixth switch Q6. That is, the first inductor L1 to the third inductor L3 will enter a short-circuit state, which is equivalent to the inductor unit 20 entering a short-circuit state. The inductor unit 20 in the short-circuit state can be regarded as a load, and the DC energy on the bus capacitor Cbus can be consumed on the load to perform a discharge operation.

[0121] Therefore, when the fourth switching device is closed and the fifth switching device is opened, the DC voltage transmission at the DC terminal of the PFC conversion circuit will stop. The transmission path of the DC power output from the bus capacitor Cbus is as follows: Figure 7As shown, ④ the output from the positive terminal of the first capacitor C1 flows through the conducting seventh switch Q7, through the first inductor L1, and then back to the negative terminal of the second capacitor C2 through the conducting second switch Q2; or the output from the positive terminal of the second capacitor C2 flows through the first inductor L1, and then back to the negative terminal of the second capacitor C2 through the conducting second switch Q2; ⑤ the output from the positive terminal of the first capacitor C1 flows through the conducting seventh switch Q7, through the second inductor L2, and then back to the negative terminal of the second capacitor C2 through the conducting fourth switch Q4. The output from the negative terminal of capacitor C2, or from the positive terminal of the second capacitor C2, flows through the first inductor L1, and then flows back to the negative terminal of the second capacitor C2 through the conducting fourth switch Q4; ⑥ The output from the positive terminal of the first capacitor C1 flows through the conducting seventh switch Q7 through the third inductor L3, and then flows back to the negative terminal of the second capacitor C2 through the conducting sixth switch Q6, or the output from the positive terminal of the second capacitor C2 flows through the third inductor L3, and then flows back to the negative terminal of the second capacitor C2 through the conducting sixth switch Q6.

[0122] In the above transmission path, DC power is converted into heat energy in the first inductor L1, the second inductor L2, and the third inductor L3, and is thus consumed in the first inductor L1, the second inductor L2, and the third inductor L3, thereby performing the discharge operation of the bus capacitor Cbus.

[0123] It should be noted that the preset control signal (i.e., pulse signal) in this embodiment is generated by the controller, which generates a preset control signal with a sine wave-like waveform to control the conduction of the target switching transistor in the inverter. The frequency of the generated preset control signal remains constant. The duty cycle of each switching transistor in the inverter is set according to the required discharge time for the bus capacitor Cbus. In this embodiment, the maximum duty cycle of each switching transistor is set to 3.1%.

[0124] In one feasible implementation, steps S33 to S37 may be included after step S32:

[0125] Step S33: Obtain the current bus voltage value of the bus capacitor after the discharge operation, and determine whether the current bus voltage value is less than the safe voltage value.

[0126] After the bus capacitor has completed its discharge operation, in order to ensure the safety of maintenance personnel when disassembling and repairing the vehicle power supply, it is necessary to check whether the voltage value of the bus capacitor after the discharge operation has dropped to a safe range. That is, it is necessary to obtain the current bus voltage value of the bus capacitor after the discharge operation, compare the current bus voltage value with the safe voltage value, and determine whether the current bus voltage value is less than the safe voltage value. This will help determine whether the bus capacitor after the discharge operation will pose a safety hazard to the maintenance personnel.

[0127] Step S34: If the current bus voltage value is less than the safe voltage value, output information indicating that the bus capacitor has finished discharging.

[0128] If the current bus voltage is detected to be less than the safe voltage, it means that the voltage of the bus capacitor after the discharge operation has dropped to a safe range. It is believed that the maintenance personnel will not pose a safety risk to the vehicle power supply at this time. At this time, the controller connected to the vehicle power supply will output information indicating that the bus capacitor discharge is complete, so as to inform the maintenance personnel that the maintenance operation can be performed.

[0129] Step S35: If the current bus voltage value is equal to or greater than the safe voltage value, then obtain the discharge duration of the bus capacitor performing the discharge operation, and determine whether the discharge duration exceeds the preset discharge duration.

[0130] If the current bus voltage value is detected to be equal to or greater than the safe voltage value, it means that the voltage value of the bus capacitor after the discharge operation is still outside the safe range. Therefore, the discharge duration of the bus capacitor when performing the discharge operation will be obtained, and it will be determined whether the discharge duration exceeds the preset discharge duration, so as to determine whether the duration of the bus capacitor performing the discharge operation is within a reasonable range.

[0131] In this embodiment, the preset discharge duration is the reasonable total discharge duration of the bus capacitor set according to the discharge scenario of the bus capacitor.

[0132] Step S36: If the discharge duration exceeds the preset discharge duration, it is determined that the vehicle power supply has a discharge fault, and the vehicle power supply is controlled to exit the discharge working state.

[0133] If the discharge duration exceeds the preset discharge duration, it is considered that the current vehicle power supply has a discharge fault and the bus capacitor cannot be effectively and safely discharged. In order to avoid the safety hazards that may be caused by continuing to perform the discharge operation, the vehicle power supply will be controlled to exit its discharge working state.

[0134] Step S37: If the discharge duration does not exceed the preset discharge duration, then return to the step of performing fault detection on the PFC conversion circuit.

[0135] If the discharge duration is not exceeded, it is considered that the bus capacitor can still be controlled to continue the discharge operation. At this time, the process will return to step A40 to re-detect the fault in the PFC conversion circuit and the vehicle power supply, ensuring the safety of performing the discharge operation on the bus capacitor again.

[0136] In this embodiment, by using a preset control signal with a high level during the current control period, the switch corresponding to the preset control signal is identified as the target switch, and the target switch is turned on. One end of the target switch in the on state is connected to the bus capacitor, and the other end is connected to the second end of the inductor unit. When the first end of the inductor unit is connected to the bus capacitor via a closed switch, the inductor unit is controlled to enter a short-circuit state. After stopping the power transmission of the DC voltage terminal of the PFC conversion circuit, the DC energy stored on the bus capacitor is transferred to the inductor unit in the short-circuit state through a discharge circuit, and a discharge operation is performed on the inductor unit in the short-circuit state. In this way, the controlled discharge operation of the bus capacitor is realized without modifying the conventional circuit structure or adding components.

[0137] This application provides a vehicle, the vehicle including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the bus capacitor discharge method of the vehicle power supply in Embodiment 1 above.

[0138] The following is for reference. Figure 8 The diagram illustrates a structural schematic of a vehicle suitable for implementing embodiments of this application. The vehicle in these embodiments may include, but is not limited to, mobile terminals such as digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 8 The vehicle shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of this application.

[0139] like Figure 8As shown, the vehicle may include a processing unit 1001 (e.g., a central processing unit, a graphics processor, etc.) that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for vehicle operation. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 allows the vehicle to communicate wirelessly or wiredly with other devices to exchange data. Although vehicles with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.

[0140] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0141] The vehicle provided in this application, employing the bus capacitor discharge method of the on-board power supply in the above embodiments, solves the technical problem of how to achieve controlled discharge of the bus capacitor without increasing the equipment cost of the on-board power supply. Compared with the prior art, the beneficial effects of the vehicle provided in this application are the same as those of the bus capacitor discharge method of the on-board power supply provided in the above embodiments, and other technical features of the vehicle are the same as those disclosed in the method of the previous embodiment, and will not be repeated here.

[0142] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0143] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0144] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the bus capacitor discharge method of the vehicle power supply in the above embodiments.

[0145] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0146] The aforementioned computer-readable storage medium may be included in the vehicle or may exist independently and not installed in the vehicle.

[0147] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by the vehicle, the vehicle: when the on-board power supply is in a discharging state, controls the switching circuit to disconnect the connection between the PFC conversion circuit and the AC voltage terminal, and short-circuits the end of the inductor unit away from the rectifier unit to form a discharge circuit; and according to a preset control signal, turns on the target switching transistor in the rectifier unit to discharge the bus capacitor.

[0148] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0149] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0150] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0151] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described method for discharging the bus capacitor of an on-board power supply. This solves the technical problem of controlling the discharge of the bus capacitor without increasing the equipment cost of the on-board power supply. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the on-board power supply bus capacitor discharge method provided in the above embodiments, and will not be repeated here.

[0152] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method for discharging the bus capacitor of an on-board power supply, characterized in that, The vehicle power supply includes a PFC conversion circuit. One end of the PFC conversion circuit is connected to the AC voltage terminal via a switching circuit. The PFC conversion circuit includes an inductor unit, a rectifier unit, and a bus capacitor connected in sequence. The end of the inductor unit away from the rectifier unit is connected to the switching circuit. The method for discharging the bus capacitor of the vehicle power supply includes: When the vehicle power supply is in the discharge working state, the switching circuit is controlled to disconnect the connection between the PFC conversion circuit and the AC voltage terminal, and the end of the inductor unit away from the rectifier unit is short-circuited to form a discharge circuit; According to the preset control signal, the target switch in the rectifier unit is turned on to discharge the bus capacitor.

2. The method for discharging the bus capacitor of an on-board power supply as described in claim 1, characterized in that, Before the step of controlling the switching circuit to disconnect the connection between the PFC conversion circuit and the AC voltage terminal when the vehicle power supply is in a discharging state, the method further includes: The current working status of the vehicle power supply is acquired in real time. If the current working status is standby, it is determined whether the vehicle power supply meets the preset discharge conditions. If the vehicle power supply meets the preset discharge conditions, then the vehicle power supply is controlled to enter the discharge working state.

3. The method for discharging the bus capacitor of an on-board power supply as described in claim 2, characterized in that, The preset discharge conditions include a first preset discharge condition and a second preset discharge condition; The first preset discharge condition is that the previous working state of the vehicle power supply is the charging state, the AC side voltage value of the switching circuit is less than the preset AC voltage value, and the bus voltage value of the bus capacitor is greater than the safe voltage value. The second preset discharge condition is that the previous operating state of the vehicle power supply is a discharge state, the DC side voltage value of the PFC conversion circuit is less than the preset DC voltage value, and the bus voltage value of the bus capacitor is greater than the safe voltage value.

4. The method for discharging the bus capacitor of an on-board power supply as described in claim 1, characterized in that, The switching circuit includes a first switching unit and a second switching unit; the first switching unit includes multiple switching devices, and the second switching unit includes multiple relays. The first switching unit is connected to the first end of the inductor unit away from the rectifier unit, and the second switching unit is disposed between the first switching unit and the AC voltage terminal; The steps of controlling the switching circuit to disconnect the connection between the PFC conversion circuit and the AC voltage terminal, and short-circuiting the end of the inductor unit away from the rectifier unit to form a discharge circuit include: Controlling each relay in the second switching unit to enter the off state, thereby disconnecting the PFC conversion circuit from the AC voltage terminal; and... The switching devices in the first switching unit are controlled to enter the closed state, so as to short-circuit the end of the inductor unit away from the rectifier unit, forming a discharge circuit.

5. The method for discharging the bus capacitor of an on-board power supply as described in claim 4, characterized in that, Following the step of controlling each switching device in the first switching unit to enter the closed state, the method further includes: Fault detection is performed on the PFC conversion circuit, and the detection results are used to determine whether the PFC conversion circuit has a high current fault or a high voltage fault. If the PFC conversion circuit has the high current fault or the high voltage fault, then control the vehicle power supply to exit the discharge working state. If the PFC conversion circuit does not exhibit the high current fault or the high voltage fault, the vehicle power supply is controlled to enter a self-test state, and the self-test results are used to determine whether the vehicle power supply has a discharge fault. If the vehicle power supply has the discharge fault, then control the vehicle power supply to exit the discharge working state; If the vehicle power supply does not have the discharge fault, then the step of turning on the target switch in the rectifier unit according to the preset control signal is executed.

6. The method for discharging the bus capacitor of an on-board power supply as described in claim 5, characterized in that, The rectifier unit includes multiple switching transistors. The step of turning on a target switching transistor in the rectifier unit according to a preset control signal and short-circuiting the inductor unit according to the target switching transistor includes: According to the preset control signal in the current control period, the switch corresponding to the preset control signal with a high level is determined as the target switch, and the target switch is turned on. One end of the target switch transistor in the conducting state is connected to the bus capacitor, and the other end of the target switch transistor in the conducting state is connected to the second end of the inductor unit. When the first end of the inductor unit is connected to the bus capacitor via a closed-state switching device, the inductor unit is controlled to enter a short-circuit state.

7. The method for discharging the bus capacitor of an on-board power supply as described in claim 6, characterized in that, The step of discharging the bus capacitor includes: After stopping the power transmission at the DC voltage terminal of the PFC conversion circuit, the DC energy stored on the bus capacitor is transmitted to the inductor unit in the short-circuit state through the discharge circuit, and a discharge operation is performed on the inductor unit in the short-circuit state.

8. The method for discharging the bus capacitor of an on-board power supply as described in claim 7, characterized in that, The step of discharging the inductor unit in the short-circuited state is followed by: Obtain the current bus voltage value of the bus capacitor after the discharge operation, and determine whether the current bus voltage value is less than the safe voltage value; If the current bus voltage value is less than the safe voltage value, then output information indicating that the bus capacitor has finished discharging; If the current bus voltage value is equal to or greater than the safe voltage value, then obtain the discharge duration of the bus capacitor performing the discharge operation, and determine whether the discharge duration exceeds the preset discharge duration; If the discharge duration exceeds the preset discharge duration, it is determined that the vehicle power supply has a discharge fault, and the vehicle power supply is controlled to exit the discharge working state. If the discharge duration does not exceed the preset discharge duration, then return to the step of performing fault detection on the PFC conversion circuit.

9. A vehicle, characterized in that, The vehicle includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the bus capacitor discharge method for the on-board power supply as described in any one of claims 1 to 8.

10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the bus capacitor discharge method of the vehicle power supply as described in any one of claims 1 to 8.