Power supply device, discharge control method, operation control device, and storage medium

By generating PWM modulation signals in the power supply device of home appliances, the discharge circuits of the inverter bridge arm, X capacitor and motor phase winding are constructed, which solves the problem of slow discharge of X capacitors exceeding safety standards, and achieves rapid discharge and energy efficiency improvement.

CN119891729APending Publication Date: 2025-04-25GD MIDEA AIR CONDITIONING EQUIP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510080738.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

After unplugging the plug, the slow discharge of the X capacitor causes the voltage between the fire neutral wires to exceed the safety standards. In order to meet the safety requirements, multiple discharge resistors are usually required to be connected in parallel, but this increases the electrical control loss and affects the energy efficiency of the entire machine.

Method used

By generating a first PWM modulation signal in the power supply device, controlling the inverter bridge arm in the first inverter module to conduct, and a discharge circuit consisting of the inverter bridge arm, an X capacitor and the first motor phase winding is constructed to achieve rapid discharge of the X capacitor, avoiding the electrical control loss of the additional introduction of the discharge resistor.

Benefits of technology

It realizes rapid discharge after the plug is unplugged, makes full use of the existing circuit structure, avoids electrical control losses caused by additional hardware, reduces costs, and improves the overall energy efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119891729A_ABST
    Figure CN119891729A_ABST
Patent Text Reader

Abstract

The invention discloses a power supply device, a discharge control method, an operation control device and a storage medium. The power supply device comprises an alternating current power supply input end, an X capacitor, a rectification module and a first inversion module used for supplying power to a first motor, the method comprises the steps of obtaining a target output voltage and a bus voltage in response to a power-down state of an AC power supply input end; performing pulse width modulation according to the target output voltage and the bus voltage to generate a first PWM modulation signal; and according to the first PWM modulation signal, conducting control is carried out on each inverter bridge arm in the first inverter module, so that the conducted inverter bridge arm, the X capacitor and the first motor form a discharge loop corresponding to the phase winding of the conducted inverter bridge arm. According to the invention, electric control loss can be avoided while rapid discharge is realized after the plug is unplugged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power supply control, and in particular to a power supply device, a discharge control method, an operation control device and a storage medium. Background Art

[0002] At present, home appliances such as air conditioners need to meet the safety standard "GB4706.1-2005 Safety of Household and Similar Electrical Appliances", which requires that for products with plugs, the voltage between the live and neutral wires cannot exceed 34V within 1 second after the plug is unplugged. In order to meet the national magnetic compatibility standards and other EMC requirements, current home appliances generally have filter circuits, which contain X capacitors. X capacitors will discharge slowly after the plug is unplugged. Therefore, in order to meet safety requirements, current home appliances generally connect multiple discharge resistors in parallel between the live and neutral wires, but the increased resistance will cause an increase in electrical control losses, which is not conducive to improving the energy efficiency of the entire machine. Summary of the invention

[0003] The purpose of the present invention is to solve at least one of the technical problems existing in the prior art, and to provide a power supply device, a discharge control method, an operation control device and a storage medium, which can achieve rapid discharge after the plug is unplugged while avoiding electrical control loss.

[0004] In a first aspect, an embodiment of the present invention provides a discharge control method for a power supply device, wherein the power supply device comprises an AC power input terminal, an X capacitor, a rectifier module, and a first inverter module for supplying power to a first motor connected in sequence; the method comprises: In response to the AC power input terminal being in a power-off state, acquiring a target output voltage and a bus voltage; Perform pulse width modulation according to the target output voltage and the bus voltage to generate a first PWM modulation signal; According to the first PWM modulation signal, each inverter bridge arm in the first inverter module is controlled to be turned on, so that the turned-on inverter bridge arm, the X capacitor and the phase winding of the first motor form a discharge loop.

[0005] The discharge control method of the power supply device provided by the embodiment of the present invention has at least the following beneficial effects: when the AC power input terminal of the power supply device is in a power-off state, a first PWM modulation signal is generated by pulse width modulation using the target output voltage and the real-time bus voltage, and each inverter bridge arm in the first inverter module is turned on and controlled, thereby constructing a discharge circuit consisting of the turned-on inverter bridge arm, the X capacitor and the first motor phase winding, and discharging the X capacitor, making full use of the existing circuit structure of the power supply device to construct the discharge circuit, without the need to introduce additional hardware such as multiple discharge resistors in the related art, avoiding the electric control loss caused by the additionally introduced hardware, and reducing the cost.

[0006] In the discharge control method provided in the embodiment of the present invention, the power supply device further includes a power-on buffer module connected between the X capacitor and the first inverter module, the power-on buffer module includes a protection resistor and a first switch device connected in parallel; the method further includes: In response to the AC power input terminal being in a power-off state, the first switch device is controlled to be disconnected so that the protection resistor is connected to the discharge circuit.

[0007] In the discharge control method provided in the embodiment of the present invention, the power supply device further includes a second inverter module for supplying power to the second motor, the second inverter module is connected in parallel with the first inverter module, and the method further includes: Perform pulse width modulation according to the target output voltage and the bus voltage to generate a second PWM modulation signal; According to the second PWM modulation signal, each inverter bridge arm in the second inverter module is controlled to be turned on, so that the turned-on inverter bridge arm in the second inverter module and the phase winding of the second motor are connected to the discharge circuit.

[0008] In the discharge control method provided in the embodiment of the present invention, the power supply device further includes an input voltage detection unit for detecting an input voltage of the AC power input terminal, and the method further includes: Acquiring the input voltage within a first preset time period; In response to the input voltage showing a downward trend within the first preset time period, it is determined that the DC power input terminal is in a power-off state.

[0009] In the discharge control method provided by an embodiment of the present invention, within the first preset time period, the input voltage at each sampling moment is smaller than the input voltage at the previous sampling moment, and it is determined that the input voltage shows a downward trend within the first preset time period.

[0010] In the discharge control method provided by the embodiment of the present invention, when the input voltage is less than the first safety voltage threshold, the first inverter module is controlled to stop running.

[0011] In the discharge control method provided in the embodiment of the present invention, the power supply device further includes a boost module connected between the rectifier module and the first inverter module, and a bus voltage detection unit for detecting a bus voltage is provided on the output side of the boost module. The method further includes: Obtaining the bus voltage; When the bus voltage is lower than a second safety voltage threshold, the first inverter module is controlled to stop running.

[0012] In the discharge control method provided in the embodiment of the present invention, the step of obtaining the target output voltage and the bus voltage includes: Obtain target vector current, bus current and bus voltage; A target output voltage is obtained according to the target vector current and the bus current.

[0013] In the discharge control method provided by the embodiment of the present invention, the step of performing pulse width modulation according to the target output voltage and the bus voltage to generate a first PWM modulation signal includes: Performing pulse width modulation according to the target output voltage and the bus voltage to generate a duty cycle reference value; A first PWM modulation signal is generated according to the duty cycle reference value.

[0014] In the discharge control method provided in the embodiment of the present invention, the step of performing pulse width modulation according to the target output voltage and the bus voltage to generate a duty cycle reference value includes: Determining a plurality of basic voltage vectors according to each of the inverter bridge arms in the first inverter module; Dividing all the basic voltage vectors into sectors, and determining the action order and action time of each of the basic voltage vectors when the target output voltage is in each sector; A duty cycle reference value is determined according to the action order and action time of the basic voltage vectors, the bus voltage and the amplitude of the target output voltage.

[0015] In a second aspect, an embodiment of the present invention provides an operation control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the discharge control method of the power supply device as described in the embodiment of the first aspect above.

[0016] The operation control device provided according to the embodiment of the present invention has at least the following beneficial effects: when the AC power input end of the power supply device is in a power-off state, a first PWM modulation signal is generated by pulse width modulation using the target output voltage and the real-time bus voltage, and each inverter bridge arm in the first inverter module is turned on and controlled, thereby constructing a discharge circuit consisting of the turned-on inverter bridge arm, the X capacitor and the first motor phase winding, and discharging the X capacitor, making full use of the existing circuit structure of the power supply device to construct the discharge circuit, without the need to introduce additional hardware such as multiple discharge resistors in the related art, thereby avoiding the electric control loss caused by the additionally introduced hardware and reducing the cost.

[0017] In a third aspect, an embodiment of the present invention provides a power supply device, comprising the operation control device as described in the embodiment of the second aspect above.

[0018] The wiring detection device provided according to the embodiment of the present invention has at least the following beneficial effects: when the AC power input terminal of the power supply device is in a power-off state, a first PWM modulation signal is generated by pulse width modulation using the target output voltage and the real-time bus voltage, and each inverter bridge arm in the first inverter module is turned on and controlled, thereby constructing a discharge circuit consisting of the turned-on inverter bridge arm, the X capacitor and the first motor phase winding, and discharging the X capacitor, making full use of the existing circuit structure of the power supply device to construct the discharge circuit, without the need to introduce additional hardware such as multiple discharge resistors in the related art, thereby avoiding the electric control loss caused by the additionally introduced hardware and reducing the cost.

[0019] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the discharge control method of the power supply device as described in the embodiment of the first aspect.

[0020] The computer-readable storage medium provided by the embodiment of the present invention has at least the following beneficial effects: when the AC power input terminal of the power supply device is in a power-off state, a first PWM modulation signal is generated by pulse width modulation using the target output voltage and the real-time bus voltage, and each inverter bridge arm in the first inverter module is turned on and controlled, thereby constructing a discharge circuit consisting of the turned-on inverter bridge arm, the X capacitor and the first motor phase winding, and discharging the X capacitor, making full use of the existing circuit structure of the power supply device to construct the discharge circuit, without the need to introduce additional hardware such as multiple discharge resistors in the related art, thereby avoiding the electric control loss caused by the additionally introduced hardware and reducing the cost.

[0021] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.

[0023] The present invention is further described below in conjunction with the accompanying drawings and embodiments; Figure 1 is a schematic diagram of the structure of a power supply device provided by an embodiment of the present invention; Figure 2 yes Figure 1 Equivalent schematic diagram of the discharge circuit constructed in ; Figure 3 is a schematic structural diagram of a power supply device provided by another embodiment of the present invention; Figure 4 yes Figure 3 Equivalent schematic diagram of the discharge circuit constructed in ; Figure 5 is a flow chart of a discharge control method for a power supply device provided by an embodiment of the present invention; Figure 6 It is a schematic diagram of a specific process of generating a PWM modulation signal provided by an embodiment of the present invention; Figure 7 is a schematic diagram of a specific process of generating a PWM modulation signal provided by another embodiment of the present invention; Figure 8 is a schematic diagram of an equivalent circuit of an inverter module provided in an embodiment of the present invention; Fig. 9 is a schematic diagram of a target output voltage provided by an embodiment of the present invention; Fig.10 is an equivalent schematic diagram of a discharge circuit formed under a basic voltage vector provided by an embodiment of the present invention; Fig.11 is an equivalent schematic diagram of a discharge circuit formed under another basic voltage vector provided by an embodiment of the present invention; Fig.12 is an equivalent schematic diagram of a discharge circuit formed under another basic voltage vector provided by an embodiment of the present invention; Fig.13 It is a schematic diagram of a voltage vector control PWM modulation signal generation process provided by an embodiment of the present invention; Fig.14 is a schematic diagram of a specific process of generating a PWM modulation signal provided by another embodiment of the present invention; Fig.15 is a schematic diagram of a current vector control PWM modulation signal generation process provided by an embodiment of the present invention; Fig.16 is a schematic diagram of a structure in which multiple motors participate in a discharge process provided by an embodiment of the present invention; Fig.17 It is a structural schematic diagram of the operation control device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0024] This section will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it cannot be understood as a limitation on the scope of protection of the present invention.

[0025] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, "above", "below", "within", etc. are understood to include the number itself, "any one" means one or more, "at least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. If there is a description of the first and the second, it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0026] It should be noted that the terms such as setting, installing, and connecting in the embodiments of the present invention should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the embodiments of the present invention in combination with the specific content of the technical solution. For example, the term "connection" can be a mechanical connection, an electrical connection, or mutual communication; it can be directly connected or indirectly connected through an intermediate medium.

[0027] It should be noted that the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0028] At present, home appliances such as air conditioners need to meet the safety standard "GB4706.1-2005 Safety of Household and Similar Electrical Appliances", which requires that for products with plugs, the voltage between the live and neutral wires cannot exceed 34V within 1 second after the plug is unplugged. In order to meet the national magnetic compatibility standards and other EMC requirements, current home appliances generally have filter circuits, which contain X capacitors. X capacitors will discharge slowly after the plug is unplugged. Therefore, in order to meet safety requirements, current home appliances generally connect multiple discharge resistors in parallel between the live and neutral wires, but the increased resistance will cause an increase in electrical control losses, which is not conducive to improving the energy efficiency of the entire machine.

[0029] Based on this, an embodiment of the present invention proposes a power supply device, a discharge control method, an operation control device and a storage medium. When the AC power input end of the power supply device is in a power-off state, a first PWM modulation signal is generated by pulse width modulation using a target output voltage and a real-time bus voltage, and each inverter bridge arm in the first inverter module is turned on and controlled, thereby constructing a discharge circuit consisting of a turned-on inverter bridge arm, an X capacitor and a first motor phase winding, and discharging the X capacitor. The existing circuit structure of the power supply device is fully utilized to construct the discharge circuit, without the need to introduce additional hardware such as multiple discharge resistors in the related art, thereby avoiding the electric control loss caused by the additionally introduced hardware and reducing the cost.

[0030] The embodiments of the present invention are further described below in conjunction with the accompanying drawings.

[0031] It is understandable that the power supply device of household appliances usually includes an AC filter module, a rectifier module, a buck-boost module and an inverter module. The AC filter module will filter the power connected to the power grid. At the same time, the AC filter module will include an X capacitor. The X capacitor is a capacitor connected across the two power lines (i.e., the positive input terminal and the negative input terminal) to suppress differential mode interference. After the power supply device (for example, unplugging the plug) loses power, due to the accumulation of charges at both ends of the X capacitor, it cannot be quickly released in a short time. There will be a large residual voltage at both ends of the X capacitor, so that the zero and live wires of the plug cannot meet the safety standard of residual voltage less than 34V within 1s. When the power cord is unplugged, it is easy to cause electric shock to the human body. Therefore, it is necessary to quickly release the residual charge in the X capacitor. After the input capacitor is filtered by the AC filter module, it is input to the rectifier module for rectification and converted into a DC power supply. The buck-boost module adjusts the input DC voltage to a suitable voltage level, so that the first inverter module at the subsequent stage converts the DC power into a fixed frequency and voltage or frequency-modulated and voltage-regulated AC power to provide the required power to the load (such as the first motor, the second motor, etc.).

[0032] It is worth noting that an output capacitor is also provided in the buck-boost module. The function of the output capacitor is to store electrical energy so as to maintain a stable output voltage for supplying power to the subsequent inverter module. Therefore, in some power supply devices, in addition to releasing the electrical energy stored in the X capacitor, the output capacitor in the buck-boost module also needs to be considered.

[0033] Take the power supply device of the air conditioner as an example, refer to Figure 1 , Figure 1 : is a structural schematic diagram of a power supply device provided by an embodiment of the present invention. The power supply device of the air conditioner is connected to an external AC power supply through a positive input terminal and a negative input terminal. The external AC power supply is input to the AC filter module and passes through the X capacitor C1 to charge the X capacitor C1. The filtered power supply is input to the rectifier module for rectification, and the rectified DC power supply is transmitted to the BOOST type boost module for voltage boosting. The boosted power supply is then transmitted to the first inverter module, and the first inverter module supplies power to the first motor, forming a power supply circuit for supplying power to the load.

[0034] like Figure 1As shown, the embodiment of the present invention takes an air conditioner as an example. If the air conditioner (i.e., the power supply device) is in working state and the plug is suddenly unplugged, since the high-power loads such as the first motor are still in working state for a short time, the electricity stored in the X capacitor C1 and the output capacitor C2 of the boost module will be quickly consumed. However, if the air conditioner (or power supply device) is in standby state, and the loads such as the first motor are in shutdown state, at this time, the electric energy stored in the X capacitor C1 and the output capacitor C2 of the boost module is difficult to be quickly released. Therefore, when the AC power input end of the power supply device is in a power-off state, such as after the plug is unplugged, the first inverter module can be driven to operate by generating a first PWM modulation signal, so that part of the inverter bridge arm in the first inverter module is turned on. At this time, the X capacitor C1, the output capacitor C2 of the boost module, the bridge arm turned on in the first inverter module, and the phase winding in the first motor constitute a discharge circuit, which can realize the rapid discharge of the X capacitor C1 and the discharge of the output capacitor C2 of the boost module at the same time. Specifically, refer to Figure 2 , Figure 2 The embodiment of the present invention provides Figure 1 From the equivalent schematic diagram of the discharge loop constructed in FIG, it can be seen that after the charge stored on the X capacitor C1 passes through the rectifier module, it is input into the bridge arm of the first inverter module together with the charge stored on the output capacitor C2 of the boost module, and then enters the corresponding phase winding of the first motor to form a loop consumption, thereby being able to quickly release the residual charge in the X capacitor C1 and the output capacitor C2. The first inverter bridge arm in the first inverter module corresponds to the first phase winding of the first motor, the second inverter bridge arm corresponds to the second phase winding, and the third inverter bridge arm corresponds to the third phase winding, and as shown in FIG. Figure 2 As shown, the inverter bridge arm combination that is turned on in the first inverter module at this time is the first inverter lower bridge arm, the second inverter lower bridge arm and the third inverter upper bridge arm. Therefore, the capacitor charge will flow into the third phase winding in the first motor through the third inverter upper bridge arm, and then return through the first phase winding, the second phase winding, the first inverter lower bridge arm and the second inverter lower bridge arm, forming a loop consumption.

[0035] It is worth noting that when the AC power input end of the power supply device is in a power-off state, the discharge circuit constructed for the X capacitor C1 does not introduce additional electronic devices, but fully utilizes the existing circuit structure of the power supply device to construct it, thereby avoiding the electric control loss caused by the additional hardware introduced and reducing the cost.

[0036] It should be noted that when the AC power input terminal is in a power-off state, the target output voltage and the real-time bus voltage are obtained, and the pulse width modulation technology is used to generate a first PWM modulation signal for driving the first inverter module, and then the first PWM modulation signal is used to control the conduction of the inverter bridge arm in the first inverter module. Since the target output voltage is rotated based on a preset vector rotation angle, and the bus voltage is also continuously attenuated during the discharge process, the first PWM modulation signal is dynamically generated using two real-time changing data, so that the conduction sequence and conduction time of each inverter bridge arm in the first inverter module can be continuously adjusted to achieve real-time adjustment of the entire discharge circuit, avoid uneven heating of the inverter module, and improve the reliability of the discharge process. In other words, after power failure, the power supply device does not directly use the remaining electric energy of the X capacitor C1 to re-drive the motor to consume electric energy, but transfers the electric energy stored in the X capacitor C1 through a dynamically constructed discharge circuit, and the remaining electric energy is released to the phase winding of the first motor through the turned-on inverter bridge arm. Specifically, when the inverter bridge arm is turned on according to the first PWM modulation signal, the electric energy in the X capacitor C1 can flow to the phase winding of the first motor. In this discharge process, the electric energy is converted into magnetic field energy or mechanical energy of the first motor (such as being able to drive the first motor to rotate). Therefore, it can be understood that when the AC power input end is in a power-off state, the power supply device consumes or transfers the electric energy in the X capacitor C1 by dynamically controlling the conduction of the inverter bridge arm and using the phase winding of the first motor, thereby ensuring that the electric energy remaining in the X capacitor C1 can be quickly released after power-off to meet safety requirements.

[0037] It is understandable that a voltage and current sampling function module may be provided in the power supply device, for example, a sampling circuit that can sample and detect electrical parameters such as the input voltage, output voltage, and output current of the power supply device. Figure 1 Taking the power supply device shown in the figure as an example, the bus voltage detection unit can be connected to the connection point between the output capacitor C2 of the boost module and the first inverter module through a bus voltage sampling resistor, so as to collect the bus voltage; and the bus current detection unit introduces a bus current sampling resistor R2 between the negative output end of the rectifier module and the negative input end of the first inverter module, i.e., on the neutral line, so as to sample the bus current of the power supply device through the bus current sampling resistor R2. In addition, as Figure 2 As shown, the bus current sampling resistor R2, in addition to having the current sampling function, can also be connected to the discharge circuit to participate in the discharge.

[0038] Since the bus voltage is the voltage transmitted to the inverter module after rectification and boosting, and the bus voltage is affected by the voltage level transmitted by the front-end circuit, the bus voltage can reflect the input voltage of the AC input terminal, that is, the voltage between the neutral wire and the live wire of the plug. Therefore, if it is detected that the bus voltage continues to decrease over a period of time, it can be confirmed that the AC power input terminal is in a power-off state, and then the first inverter module can be immediately driven to make the turned-on inverter bridge arm, the X capacitor C1 and the phase winding of the first motor form a discharge circuit.

[0039] In addition, an input voltage detection unit may be provided, which is connected to the output end of the rectifier module and is used to collect the voltage output by the rectifier module. Since the main function of the rectifier module is to convert the AC power connected to the input end into a DC power supply, and the rear modules of the power supply device all rely on the rectifier module for power supply, the voltage output by the rectifier module can be regarded as the input voltage of the power supply device at the AC input end. At this time, if it is detected that the input voltage continues to decrease over a period of time, it can be considered that the AC power input end is in a power-off state, that is, the power supply device is unplugged, and the target output voltage can be obtained immediately, and the real-time bus voltage is collected through the bus voltage detection unit, and then the first PWM modulation signal is generated to drive the first inverter module, so that the turned-on inverter bridge arm, the X capacitor C1 and the phase winding of the first motor form a discharge circuit.

[0040] It is worth noting that the voltage sampling end of the input voltage detection unit can be set at the output end of the AC filtering module to directly sample the AC voltage of the filtered AC power supply connected to the power supply device and use it as the input voltage of the AC power input end. Similarly, if it is detected that the input voltage continues to decrease over a period of time, it can be confirmed that the AC power input end is in a power-off state.

[0041] It is understandable that a power-on buffer module may be further provided in the power supply device, and the power-on buffer module is located between the X capacitor C1 and the first inverter module. The power-on buffer module includes a protection resistor R1 and a first switch device RY1 connected in parallel. When the first switch device RY1 is disconnected, the protection resistor R1 is conducted between the X capacitor C1 and the first inverter module, and when the first switch device RY1 is closed, the protection resistor R1 is short-circuited, and the current flows from the X capacitor C1 to the first inverter module through the first switch device RY1. Specifically, the power-on buffer module may be located between the X capacitor C1 and the rectifier module, or the power-on buffer module may be located between the rectifier module and the boost module. For example, the power-on buffer module may be located between the X capacitor C1 and the rectifier module, such as Figure 3 As shown, Figure 3: is a schematic diagram of the structure of a power supply device provided by another embodiment of the present invention, one end of the protection resistor R1 is connected to the X capacitor C1, the other end is connected to the rectifier module, and the first switch device RY1 is respectively connected to the two ends of the protection resistor R1. Therefore, in the power-on stage of the power supply device, the protection resistor R1 can be connected to the loop between the X capacitor C1 and the boost module to prevent the output capacitor C2 in the boost module from being impacted by surge current; when the power supply device is in a power-off state, the protection resistor R1 can also be connected to the loop between the X capacitor C1 and the boost module, that is, connected to the discharge loop, which can be referred to Figure 4 , Figure 4 yes Figure 3 From the equivalent schematic diagram of the discharge circuit constructed in FIG. 1 , it can be seen that a protection resistor R1 is introduced between the X capacitor C1 and the output capacitor C2 of the boost module. At this time, the X capacitor C1, the protection resistor R1, the rectifier module, the output capacitor C2, the inverter bridge arm turned on in the first inverter module and the phase winding of the first motor constitute a discharge circuit. The charge stored on the X capacitor C1 passes through the protection resistor R1 and the rectifier module in sequence, and is input into the bridge arm turned on in the first inverter module together with the charge stored on the output capacitor C2 of the boost module, and then enters the corresponding phase winding of the first motor to form a circuit consumption. At this time, the protection resistor R1 and the phase winding of the first motor jointly consume the electric energy stored in the discharge circuit, thereby improving the discharge efficiency. When the power supply device is in the normal power supply stage, the protection resistor R1 is bypassed through the first switch device RY1, thereby effectively reducing the electric control loss, realizing the reuse of the protection resistor R1, and improving the system energy efficiency.

[0042] It can be understood by those skilled in the art that Figures 1 to 4 The structure of the power supply device shown in the figure does not constitute a limitation on the embodiments of the present invention, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0043] Reference Figure 5 , Figure 5 is a flow chart of a discharge control method for a power supply device provided by an embodiment of the present invention. The discharge control method for a power supply device can be applied to Figures 1 to 4 For the power supply device shown in any of the accompanying drawings, the discharge control method includes but is not limited to the following steps: Step S110: in response to the AC power input terminal being in a power-off state, obtaining a target output voltage and a bus voltage; Step S120: performing pulse width modulation according to the target output voltage and the bus voltage to generate a first PWM modulation signal; Step S130: Controlling the conduction of each inverter bridge arm in the first inverter module according to the first PWM modulation signal.

[0044] It can be understood that when the AC power input terminal is in a power-off state, in order to safely and quickly release the electric energy in the X-capacitor C1, the bus voltage can be collected in real time. The bus voltage is the voltage transmitted to the first inverter module through the rectifier module and the boost module. The bus voltage can reflect the level of electricity stored in the X-capacitor C1, so that the discharge process can be adjusted in real time using the bus voltage; at the same time, the target output voltage is synchronously obtained. The target output voltage refers to the voltage vector expected to be output by the first inverter module to adjust the rotation direction, torque and speed of the first motor, and then the electric energy in the X-capacitor C1 can be transferred to the first motor for consumption according to a preset discharge method. After obtaining the target output voltage and the bus voltage, the target output voltage and the bus voltage can be calculated by using a pulse width modulation algorithm to generate a first PWM modulation signal. The first PWM modulation signal can be used to control the switching state of the switch tubes on each inverter bridge arm in the first inverter module, so that the first inverter module is expected to output a target voltage matching the target output voltage, thereby using the phase winding of the first motor to smoothly and quickly release the electric energy of the X capacitor C1. In other words, a first PWM modulation signal capable of gradually reducing the bus voltage to the amplitude of the target output voltage is generated by pulse width modulation technology. Specifically, under the control of the first PWM modulation signal, the switch tube corresponding to the inverter bridge arm in the first inverter module will be turned on. At this time, the electric energy in the X capacitor C1 will form a discharge loop through the turned-on bridge arm and the phase winding in the first motor, and will be gradually released to the first motor. As the discharge process proceeds, the bus voltage drop gradually decreases, thereby completing the entire discharge control process. Among them, since the target output voltage is rotated based on a preset vector rotation angle, and the bus voltage also changes in real time, the generated first PWM modulation signal also changes dynamically accordingly, so that the various bridge arms in the first inverter module will be alternately turned on, and then the heat generated by the current flowing through the switch tube during the discharge process will be evenly distributed in the first inverter module, thereby avoiding overheating and damaging the first inverter module.

[0045] It should be noted that the pulse width modulation algorithm may refer to an algorithm that can generate a PWM modulation signal for adjusting the amplitude of the output voltage based on the target output voltage and the bus voltage. Specifically, it may be a spatial pulse width modulation algorithm, a sinusoidal pulse width modulation algorithm, or a random pulse width modulation algorithm. The embodiments of the present invention are not limited to this.

[0046] It is worth noting that, when the power supply device further includes a power-on buffer module, Figure 3As shown, if it is necessary to use the generated first PWM modulation signal to drive the first inverter module to release the electric energy of the X capacitor C1 by forming a discharge circuit through the turned-on inverter bridge arm, the X capacitor C1 and the phase winding of the first motor, the first switch device RY1 in the power-on buffer module can also be synchronously controlled to be disconnected, so that the protection resistor R1 is connected to the discharge circuit, so that the protection resistor R1 and the phase winding of the first motor are used to jointly release the electric energy of the X capacitor C1.

[0047] It can be understood that by obtaining the input voltage of the AC power input terminal through the input voltage detection unit, it can be determined whether the power supply circuit is unplugged. Specifically, if the input voltage shows a continuous downward trend within the first preset time period, it can be determined that the AC power input terminal is in a power-off state, that is, the power supply device is unplugged. Among them, the input voltage can be continuously sampled, and the input voltage sampled each time within the first preset time period can be arranged in chronological order to form time series data. Then, the time series data of the input voltage within the first preset time period can be fitted by a linear regression method to obtain the slope of the input voltage changing with time within the first preset time period. If the slope obtained by fitting is less than zero and the absolute value of the slope is greater than a certain threshold, it can be indicated that the downward trend of the input voltage is significant, confirming that the input voltage shows a continuous downward trend within the first preset time period.

[0048] In addition, the input voltage sampled each time within the first preset time period can be traversed, and the input voltages of adjacent sampling points (sampling moments) can be compared. If the input voltage of each sampling point is less than the input voltage of the previous sampling point in a preset proportion (such as more than 90%) of adjacent sampling points, then it can be determined that the input voltage shows a continuous downward trend within the first preset time period. According to actual needs and application scenarios, a voltage change threshold can be introduced in the comparison process of the input voltages at adjacent sampling moments. For each pair of adjacent sampling points in the time series data, the voltage change between them is calculated, that is, the voltage difference between the input voltages at two adjacent sampling moments. If the voltage change is less than the preset voltage difference threshold and is negative in a preset proportion (such as more than 90%) of adjacent sampling points, then it can be determined that the input voltage shows a continuous downward trend within the first preset time period.

[0049] It can be understood that when the AC power input terminal is in a power-off state, the electric energy stored in the X capacitor C1 will be released to try to maintain the voltage of the circuit. At this time, the input voltage of the power supply circuit is provided by the X capacitor C1. Therefore, by constructing a discharge loop to release the electric energy of the X capacitor C1, the input voltage of the power supply circuit is quickly reduced, that is, the voltage between the zero and live wires of the plug is reduced. Therefore, when it is detected that the input voltage is lower than the first safety voltage threshold or the bus voltage is lower than the second safety voltage threshold, it can be considered that the safety requirements have been met, so the operation of the first inverter module is stopped, and the first inverter module is reset to avoid the first inverter module being unable to be reset after the control module is completely powered off, so that when the power supply circuit is powered on again, the first inverter module is impacted.

[0050] Reference Figure 6 In the discharge control method provided by an embodiment of the present invention, during the generation of the PWM modulation signal, the discharge control method further includes steps S210 and S220: Step S210: performing pulse width modulation according to the target output voltage and the bus voltage to generate a duty cycle reference value; Step S220: Generate a first PWM modulation signal according to the duty cycle reference value.

[0051] It can be understood that the bus voltage is the voltage on the input side of the first inverter module, which determines the maximum voltage amplitude that the first inverter module can output, and the target output voltage is calculated based on the target voltage that the expected bus voltage drop reaches and the motor control algorithm. In pulse width modulation, the target output voltage will be mapped to the conduction state of each inverter bridge arm in the first inverter module, and the target output voltage is simulated by adjusting the conduction duty cycle of each inverter bridge arm. Therefore, the duty cycle reference value can be calculated through the amplitude and rotation speed of the target output voltage and the bus voltage. The duty cycle reference value can represent the time ratio of each inverter bridge arm in the first inverter module to be turned on in a PWM cycle, thereby affecting the average voltage output by the first inverter module, that is, the amplitude of the output voltage. After obtaining the duty cycle reference value of the first inverter module, a corresponding first PWM modulation signal can be generated. The first PWM modulation signal is a periodic square wave signal, and the time ratio of the high level and the low level of the square wave signal is determined by the duty cycle reference value. When the first PWM modulation signal acts on the first inverter module, each inverter bridge arm in the first inverter module will be turned on according to the time ratio of the high level and the low level in the first PWM modulation signal, and the turned-on inverter bridge arm will determine the connection between the X capacitor C1, the first inverter module and the first motor phase winding. Therefore, each inverter bridge arm in the first inverter module will change with the driving of the first PWM modulation signal, and the electric energy release effect of the X capacitor C1 will also change according to the discharge circuit constructed by each dynamically turned-on inverter bridge arm, so that the bus voltage will also change accordingly, thereby affecting the generation of the first PWM modulation signal, and realizing precise control of the discharge process of the X capacitor C1.

[0052] Reference Figure 7 In the discharge control method provided by an embodiment of the present invention, during the generation of the PWM modulation signal, the discharge control method further includes steps S310 and S320: Step S310: determining a plurality of basic voltage vectors according to each inverter bridge arm in the first inverter module; Step S320: Divide all basic voltage vectors into sectors, and determine the action order and action time of each basic voltage vector when the target output voltage is in each sector; Step S330: Determine a duty cycle reference value according to the action order and action time of the basic voltage vectors, the bus voltage and the amplitude of the target output voltage.

[0053] It is understandable that the target output voltage can be obtained by combining the basic voltage vectors, and the basic voltage vectors can be determined by the switch tubes on the inverter bridge arm in the first inverter module. The first inverter module may include two or three inverter bridge arms, each of which includes an upper bridge arm switch tube and a lower bridge arm switch tube. The first inverter module includes three inverter bridge arms, each of which includes an upper bridge arm switch tube and a lower bridge arm switch tube. Figure 8 , Figure 8 It is a schematic diagram of the equivalent circuit of the inverter module provided by an embodiment of the present invention. It can be seen that the first inverter module includes a first inverter bridge arm, a second inverter bridge arm and a third inverter bridge arm, as well as an upper bridge arm switch tube Q1 of the first inverter bridge arm, a lower bridge arm switch tube Q2 of the first inverter bridge arm, an upper bridge arm switch tube Q3 of the second inverter bridge arm, a lower bridge arm switch tube Q4 of the second inverter bridge arm, an upper bridge arm switch tube Q5 of the third inverter bridge arm, and a lower bridge arm switch tube Q6 of the third inverter bridge arm. For each half bridge, only one bridge arm switch tube is turned on at the same time. If the upper and lower bridge arms of the same half bridge are turned on at the same time, a short circuit will result. The outputs of the three half-bridges of the first inverter module are respectively added to the ABC three-phase windings of the first motor. Therefore, there are 6 inverter bridge arm combinations that output non-zero vector voltage in the first inverter module, namely (0,0,1), (0,1,0), (0,1,1), (1,0,0), (1,0,1), (1,1,0), where the three elements in the brackets represent the conduction states of the three inverter bridge arms, 0 means that the lower bridge arm of the inverter bridge arm is turned on, and 1 means that the upper bridge arm of the inverter bridge arm is turned on. These 6 inverter bridge arm combinations correspond to 6 basic voltage vectors, and these 6 basic voltage vectors are adjacent to each other in space at an interval of 60°, dividing the plane into 6 sectors. Specifically, refer to Fig. 9 , Fig. 9 is a schematic diagram of the target output voltage provided by an embodiment of the present invention. It can be seen that the target output voltage can be synthesized by two adjacent basic voltage vectors in the sector where the target output voltage is located, and the basic voltage vector can be realized by controlling the state of the corresponding bridge arm switch tube, and the effective value of the amplitude of the basic voltage vector can be realized by controlling the action time of the bridge arm switch tube in this state. Therefore, after determining the basic voltage vector used to synthesize the target output voltage, the target output voltage is decomposed into the direction of the two basic voltage vectors in the sector, and the action time of each basic voltage vector is calculated according to the volt-second balance principle, and the action order of the basic voltage vector can be determined. The action order is used to ensure that each voltage vector can be smoothly transitioned within the PWM cycle to reduce the switching loss and the harmonic component of the output voltage. Next, the maximum voltage amplitude that the first inverter module can output is determined by the bus voltage, and then the amplitude of the target output voltage is compared with the maximum voltage amplitude that the first inverter module can output, and the action order and action time of the basic voltage vector are combined to determine the duty cycle reference value.

[0054] It can be understood that since the target output voltage rotates on the complex plane according to the vector rotation speed, it passes through the sectors divided by the six basic voltage vectors in sequence, and each basic voltage vector represents a specific inverter bridge arm conduction state, therefore, as the target output voltage rotates, the conduction state of each inverter bridge arm will also change accordingly. Fig.10 , Fig.11 and Fig.12 , Fig.10 , Fig.11 and Fig.12 They are equivalent schematic diagrams of discharge circuits formed under different basic voltage vectors provided by the embodiments of the present invention. Fig.10 As shown, when the target output voltage is at the basic voltage vector V4, corresponding to Fig. 9 In the basic voltage vector V4 (100), at this time, the upper bridge arm of the first inverter bridge arm is turned on, and the lower bridge arms of the other two inverter bridge arms are turned on, that is, the charge of the X capacitor C1 passes through the rectifier module, and together with the charge of the output capacitor C2, passes through the upper bridge arm of the first inverter bridge arm to the first phase winding of the first motor, and then returns through the remaining phase windings and the corresponding lower bridge arm to form a loop. As the target output voltage rotates, when the target output voltage is at the basic voltage vector V6, corresponding to Fig. 9 When the basic voltage vector V6 (110) in the circuit is reached, the upper bridge arm of the second inverter bridge arm is also turned on, and the lower bridge arm of the third inverter bridge arm is turned on, thereby forming a new combination of turned-on bridge arms, connecting the upper bridge arm of the second inverter bridge arm to the discharge circuit, and disconnecting the lower bridge arm of the second inverter bridge arm from the discharge circuit, forming a new discharge circuit, such as Fig.11 As shown, the charge of the X capacitor C1 passes through the rectifier module, and together with the charge of the output capacitor C2, passes through the upper bridge arm of the first inverter bridge arm and the second inverter bridge arm to the first phase winding and the second phase winding of the first motor, and then returns through the third phase winding and the corresponding lower bridge arm; then, when the target output voltage is at the basic voltage vector V2, corresponding to Fig. 9 When the basic voltage vector V2 (010) in the circuit is reached, the turned-on inverter bridge arm changes again, and the lower bridge arm of the first inverter bridge arm is switched to the turned-on state, that is, the previously turned-on upper bridge arm of the first inverter bridge arm is disconnected from the discharge circuit, and the lower bridge arm of the first inverter bridge arm is connected to the discharge circuit to form a new discharge circuit, such as Fig.12As shown, the charge of the X capacitor C1 passes through the rectifier module, and together with the charge of the output capacitor C2, passes through the upper bridge arm of the second inverter bridge arm to the second phase winding of the first motor, and then returns through the remaining phase windings and the corresponding lower bridge arm to form a loop. Similarly, when the target output voltage continues to rotate to the basic voltage vectors V3, V1 and V5, the conduction state of each inverter bridge arm will change in sequence, and each basic voltage vector corresponds to a unique bridge arm conduction combination. By using the target output voltage that passes through the six basic voltage vectors in turn to generate a PWM modulation signal, the various bridge arms of the first inverter module can be turned on in sequence, so that the heat generated by the current flowing through the bridge arm switch tube can be evenly distributed, avoiding damage to a certain bridge arm switch tube due to overheating due to long-term conduction.

[0055] Reference Fig.13 , Fig.13 : is a schematic diagram of the voltage vector control PWM modulation signal generation process provided by an embodiment of the present invention. It can be understood that the direct-axis component and the quadrature-axis component of the desired output can be obtained through the target output voltage, and then converted into a two-phase orthogonal voltage component in a two-phase stationary coordinate system through an inverse Park Transformation. Then, by collecting the three-phase current output by the first inverter module, it is converted into an orthogonal current component in a two-phase stationary coordinate system through a Clark Transformation, and then the two-phase orthogonal voltage component and the two-phase orthogonal current component are input into the flux linkage angle and speed estimator to calculate a new rotor angle; using the new rotor angle, the direct-axis component and the quadrature-axis component are inversely transformed by Park to obtain the next two-phase orthogonal voltage component, and then the pulse width modulation technology is used to calculate which sector the target output voltage is located in, and the action time of each bridge arm switch tube of the first inverter module is calculated, and the PWM modulation signal is generated, and acts on the first inverter module, turning on the inverter bridge arm in the first inverter module, and outputting the corresponding voltage to transfer the electric energy of the X capacitor C1 to the first motor.

[0056] Reference Fig.14 , a discharge control method provided by an embodiment of the present invention, in the process of generating a PWM modulation signal, the discharge control method further includes steps S410 and S420: Step S410: Obtain target vector current, bus current and bus voltage; Step S420: Obtain a target output voltage according to the target vector current and the bus current.

[0057] It can be understood that the target vector current refers to the current expected to be input to the first inverter module, and is also the target current value of the discharge circuit during the discharge process of the X capacitor C1. When the bus current is reduced to the amplitude of the target vector current, it can be considered that the discharge of the X capacitor C1 is completed, wherein the target vector current can be calculated by the expected response, for example, it can be synthesized by the preset target direct-axis current component and / or target quadrature-axis current component. The target vector current and the bus current are proportionally and integrally controlled, and the corresponding direct-axis voltage component and quadrature-axis voltage component can be output, that is, the voltage vector to be applied to the first motor phase winding, that is, the target output voltage.

[0058] Reference Fig.15 , Fig.15 : is a schematic diagram of the current vector control PWM modulation signal generation process provided by an embodiment of the present invention. It can be seen that by measuring the three-phase current of the first motor when it is running, the current is converted into two-phase orthogonal current components through Clarke transformation, and then the direct-axis current component and the quadrature-axis current component under the rotating coordinate are obtained through Park transformation; after obtaining the target direct-axis current component and the target quadrature-axis current component, the target direct-axis current component, the target quadrature-axis current component, the direct-axis current component and the quadrature-axis current component are correspondingly input into the proportional-integral controller, and the output direct-axis voltage component and the quadrature-axis voltage component are calculated by the proportional-integral controller to obtain the target output voltage, and then the target output voltage is subjected to Park inverse transformation using the rotor angle estimated by the flux angle and the speed estimator to obtain the two-phase orthogonal voltage component, and then the PWM modulation signal is generated by pulse width modulation technology; wherein, the PWM modulation signal is used to act on the first inverter module to turn on the inverter bridge arm to realize the discharge of the X capacitor C1, and at the same time, the bus current is collected in real time as a feedback signal to dynamically adjust the PWM modulation signal to realize closed-loop control of the current.

[0059] It is understandable that, in the case where the power supply device is also provided with multiple inverter modules for supplying power to different loads, in order to improve the discharge efficiency, multiple inverter modules can be introduced into the discharge circuit, so that the discharge circuit is connected to multiple motor windings, so that the phase windings of multiple motors participate in the discharge process together. Therefore, a more efficient and rapid discharge process can be achieved by controlling the conduction state and conduction time of the inverter bridge arm of each inverter module. Specifically, Fig.16 As shown, Fig.16It is a structural schematic diagram of a multi-motor discharge process provided by an embodiment of the present invention. The power supply device also includes a second inverter module for supplying power to the second motor. The second inverter module is connected in parallel with the first inverter module and is commonly connected to the output side of the boost module. Similarly, pulse width modulation can be performed according to the target output voltage and the bus voltage to generate a second PWM modulation signal for controlling each inverter bridge arm in the second inverter module. Then, according to the second PWM modulation signal, each inverter bridge arm in the second inverter module is turned on and controlled so that the corresponding inverter bridge arm in the second inverter module is turned on, thereby smoothly connecting the phase winding of the second motor to the discharge circuit. Therefore, on the basis of the discharge circuit in which only a single motor originally participates, an additional load already existing in the power supply device is connected to the discharge circuit to jointly participate in the discharge and improve the discharge speed.

[0060] Second, refer to Fig.17 The embodiment of the present invention provides an operation control device 1700, including a memory 1720, a processor 1710, and a computer program stored in the memory 1720 and executable on the processor 1710. The processor 1710 executes the program to implement the discharge control method of the first embodiment, for example, Figure 5 In the method steps S110 to S130, Figure 6 Steps S210 to S220 of the method, or performing Figure 7 In step S310 or S330 of the method, or executing Fig.14 Method steps S410 to S420 in.

[0061] According to the operation control device provided by the embodiment of the present invention, when the AC power input end of the power supply device is in a power-off state, a first PWM modulation signal is generated by pulse width modulation using the target output voltage and the real-time bus voltage, and each inverter bridge arm in the first inverter module is turned on and controlled, thereby constructing a discharge circuit consisting of the turned-on inverter bridge arm, the X capacitor and the first motor phase winding, realizing the discharge of the X capacitor, and making full use of the existing circuit structure of the power supply device to construct the discharge circuit, without the need to introduce additional hardware such as multiple discharge resistors in the related art, thereby avoiding the electric control loss caused by the additionally introduced hardware and reducing the cost.

[0062] In a third aspect, an embodiment of the present invention provides a power supply device, comprising an operation control device according to the embodiment of the second aspect above.

[0063] According to the power supply device provided by the embodiment of the present invention, when the AC power input end of the power supply device is in a power-off state, a first PWM modulation signal is generated by pulse width modulation using the target output voltage and the real-time bus voltage, and each inverter bridge arm in the first inverter module is turned on and controlled, thereby constructing a discharge circuit consisting of the turned-on inverter bridge arm, the X capacitor and the first motor phase winding, and discharging the X capacitor. The existing circuit structure of the power supply device is fully utilized to construct the discharge circuit, and there is no need to introduce additional hardware such as multiple discharge resistors in the related art, thereby avoiding the electric control loss caused by the additionally introduced hardware and reducing the cost.

[0064] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the discharge control method of the first aspect embodiment, for example, to execute Figure 5 In the method steps S110 to S130, Figure 6 Steps S210 to S220 of the method, or performing Figure 7 In step S310 or S330 of the method, or executing Fig.14 Method steps S410 to S420 in.

[0065] According to the computer-readable storage medium provided by the embodiment of the present invention, when the AC power input terminal of the power supply device is in a power-off state, a first PWM modulation signal is generated by pulse width modulation using the target output voltage and the real-time bus voltage, and each inverter bridge arm in the first inverter module is turned on and controlled, thereby constructing a discharge circuit consisting of the turned-on inverter bridge arm, the X capacitor and the first motor phase winding, realizing the discharge of the X capacitor, making full use of the existing circuit structure of the power supply device to construct the discharge circuit, without the need to introduce additional hardware such as multiple discharge resistors in the related art, avoiding the electric control loss caused by the additionally introduced hardware, and reducing the cost.

[0066] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. The integrated physical components may be stored in a computer-readable storage medium if implemented in the form of software functional units and sold or used as independent products. Based on such an understanding, the technical solution of the present invention may be essentially or partly or all or partly in the form of a software product that contributes to the prior art, and the computer software product may be stored in a storage medium, including several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. As a term well known to those skilled in the art, computer storage media include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk DVD or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0067] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the technical field without departing from the purpose of the present invention.

Claims

1. A discharge control method for a power supply device, characterized in that: The power supply device comprises an AC power input terminal, an X capacitor, a rectifier module and a first inverter module for supplying power to a first motor, which are connected in sequence; the method comprises: In response to the AC power input terminal being in a power-off state, acquiring a target output voltage and a bus voltage; Perform pulse width modulation according to the target output voltage and the bus voltage to generate a first PWM modulation signal; According to the first PWM modulation signal, each inverter bridge arm in the first inverter module is controlled to be turned on, so that the turned-on inverter bridge arm, the X capacitor and the phase winding of the first motor form a discharge loop.

2. The discharge control method according to claim 1, characterized in that: The power supply device further includes a power-on buffer module connected between the X capacitor and the first inverter module, and the power-on buffer module includes a protection resistor and a first switch device connected in parallel; the method further includes: In response to the AC power input terminal being in a power-off state, the first switch device is controlled to be disconnected so that the protection resistor is connected to the discharge circuit.

3. The discharge control method according to claim 1, characterized in that: The power supply device further includes a second inverter module for supplying power to a second motor, the second inverter module being connected in parallel with the first inverter module, and the method further includes: Modulating according to the target output voltage and the bus voltage to generate a second PWM modulation signal; According to the second PWM modulation signal, each inverter bridge arm in the second inverter module is controlled to be turned on, so that the turned-on inverter bridge arm in the second inverter module and the phase winding of the second motor are connected to the discharge circuit.

4. The discharge control method according to claim 1, characterized in that: The power supply device further includes an input voltage detection unit for detecting an input voltage of the AC power input terminal, and the method further includes: Acquiring the input voltage within a first preset time period; In response to the input voltage showing a downward trend within the first preset time period, it is determined that the DC power input terminal is in a power-off state.

5. The discharge control method according to claim 4, characterized in that: During the first preset time period, the input voltage at each sampling moment is smaller than the input voltage at the previous sampling moment, and it is determined that the input voltage shows a downward trend during the first preset time period.

6. The discharge control method according to claim 4, characterized in that: When the input voltage is less than a first safety voltage threshold, the first inverter module is controlled to stop running.

7. The discharge control method according to claim 1, characterized in that: The power supply device further includes a boost module connected between the rectifier module and the first inverter module, and a bus voltage detection unit for detecting a bus voltage is provided at an output side of the boost module. The method further includes: Obtaining the bus voltage; When the bus voltage is lower than a second safety voltage threshold, the first inverter module is controlled to stop running.

8. The discharge control method according to claim 1, characterized in that: The step of obtaining the target output voltage and the bus voltage includes: Obtain target vector current, bus current and bus voltage; A target output voltage is obtained according to the target vector current and the bus current.

9. The discharge control method according to claim 1, characterized in that: The performing pulse width modulation according to the target output voltage and the bus voltage to generate a first PWM modulation signal includes: Performing pulse width modulation according to the target output voltage and the bus voltage to generate a duty cycle reference value; A first PWM modulation signal is generated according to the duty cycle reference value.

10. The discharge control method according to claim 8, characterized in that: The step of performing pulse width modulation according to the target output voltage and the bus voltage to generate a duty cycle reference value includes: Determining a plurality of basic voltage vectors according to each of the inverter bridge arms in the first inverter module; Dividing all the basic voltage vectors into sectors, and determining the action order and action time of each of the basic voltage vectors when the target output voltage is in each sector; A duty cycle reference value is determined according to the action order and action time of the basic voltage vectors, the bus voltage and the amplitude of the target output voltage.

11. An operation control device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the discharge control method of the power supply device according to any one of claims 1 to 10.

12. A power supply device, characterized in that: Comprising the operation control device as claimed in claim 11.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the discharge control method for a power supply device according to any one of claims 1 to 10.