Power supply device and air conditioner
By introducing PTC resistors and switching devices into the power supply circuit of the air conditioner, a discharge circuit is formed, which solves the cost and energy efficiency problems caused by the addition of discharge resistance in the prior art, and achieves the effect of rapid discharge and cost reduction.
Patent Information
- Application Number
- CN202510081211.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-04-22
AI Technical Summary
When the prior art meets the safety standards of home appliances such as air conditioners, discharge resistance is added to speed up the discharge speed, resulting in an increase in hardware costs and circuit losses, affecting the energy efficiency of the entire machine.
A power supply device is designed, including a power supply circuit and a control module. By introducing PTC resistors and switching devices into the power supply circuit, and when it is detected that the AC power supply end is in a power-off state, the control switch device is disconnected to form a discharge circuit, and the PTC resistor is used to quickly consume the power stored by the filter capacitor.
It is achieved by accelerating the discharge speed of the power supply circuit without additional costs, reducing the cost of the power supply circuit, and improving the energy efficiency of the entire machine.
Smart Images

Figure CN119865048A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power supply devices, and in particular to a power supply device and an air conditioner. Background Art
[0002] Safety standards for household appliances such as air conditioners include "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. However, due to EMC requirements, X and Y capacitors are generally added to the power input side of the product circuit. After the whole machine is powered on, the voltage at both ends of the capacitor is maintained at a stable level. After the plug is unplugged, the capacitor begins to discharge at a slow rate.
[0003] In order to meet safety requirements, the relevant technology generally accelerates discharge by adding multiple discharge resistors, for example, Figure 1 Multiple discharge resistors are connected in parallel between the neutral and live wires on the AC power input side of the indoor unit of the air conditioner. The discharge speed can be accelerated by the discharge resistors, but the added discharge resistors increase the hardware cost and also increase the circuit loss, which is not conducive to improving the energy efficiency of the whole machine. Summary of the invention
[0004] The purpose of the present application is to solve at least one of the technical problems existing in the prior art, and to provide a power supply device and an air conditioner, which aim to speed up the discharge speed of the power supply circuit without adding more costs.
[0005] In a first aspect, an embodiment of the present application provides a power supply device, including: a power supply circuit and a control module; The power supply circuit includes an AC power supply end, an input filter capacitor, a power-on buffer module, a rectifier module and a boost module; the power-on buffer module includes a PTC resistor and a switch device connected in parallel, and the boost module includes a first inductor and a first switch tube; both ends of the input filter capacitor are connected to the AC power supply end, the power-on buffer module and the rectifier module are connected between the input filter capacitor and the boost module, one end of the first inductor is connected to an output end of the rectifier module or the power-on buffer module, the other end of the first inductor is connected to a switch pin of the first switch tube, and the other switch pin of the first switch tube is connected to the other output end of the rectifier module; The control module is configured to: In response to detecting that the AC power supply end is in a power-off state, the switch device is controlled to be disconnected, and a first drive signal is sent to the first switch tube, so that the input filter capacitor, the PTC resistor, the rectifier module, the first inductor and the first switch tube form a discharge loop.
[0006] According to the technical solution of the embodiment of the present application, at least the following beneficial effects are achieved: the AC power supply end is usually one side of the product plug, which is used to input the AC power supply. When it is detected that the AC power supply end is in a power-off state, that is, the input voltage of the AC power supply end continues to decrease, it can be considered that the product plug is unplugged, and the input filter capacitor connected to the AC power supply end begins to discharge. Therefore, the control switch device is disconnected and a first drive signal is sent to the first switch tube. Since the switch device and the PTC resistor are connected in parallel, the PTC resistor is connected to the power supply circuit after the switch device is disconnected, so that the input filter capacitor, the PTC resistor, the rectifier module, the first inductor and the first switch tube constitute a discharge loop, and the electric energy stored in the filter capacitor is quickly consumed by the PTC resistor to achieve rapid discharge of the power supply circuit; the AC power supply end, the input filter capacitor, the power-on buffer module, the rectifier module and the first inductor in the power supply circuit The module and the boost module are both components for the power supply circuit to realize the normal power supply function, and the two ends of the input filter capacitor are connected to the AC power supply end. The connection relationship between the power-on buffer module and the rectifier module connected between the input filter capacitor and the boost module is also the connection relationship when the power supply circuit realizes the normal power supply function. When powered on, the power-on buffer module is used to prevent the voltage from impacting the surge current of the electrolytic capacitor. However, the PTC resistor, which is mainly used to consume the electric energy stored in the filter capacitor after unplugging the plug, also belongs to the power-on buffer module. That is to say, the power-on buffer module is used for surge protection when the plug is plugged in, and the power-on buffer module is used for circuit discharge after unplugging the plug. Based on this, the power supply circuit realizes accelerated discharge by using the devices of the power supply circuit itself without adding more discharge resistors and other devices, thereby reducing the cost of the power supply circuit.
[0007] According to some embodiments of the present application, the first driving signal is set by a discharge test on the power supply device, and the discharge test includes a discharge time test of the discharge circuit and a discharge circuit current test of the discharge circuit.
[0008] According to some embodiments of the present application, the discharge time test includes testing the discharge time of the discharge circuit under pulse drive signals with different duty cycles, and the discharge circuit current test includes testing the circuit current size of the discharge circuit under pulse drive signals with different duty cycles; The first driving signal is set according to the discharge time of the discharge circuit and the loop current size of the discharge circuit.
[0009] According to some embodiments of the present application, the first driving signal is set according to the ratio of the discharge time of the discharge circuit to a preset discharge time threshold, and the ratio of the loop current of the discharge circuit to a preset loop current threshold.
[0010] According to some embodiments of the present application, the discharge test further includes: after inputting different voltages through the AC power supply end, performing the discharge time test and the discharge loop current test.
[0011] According to some embodiments of the present application, the power supply circuit further includes a voltage detection unit for detecting an input voltage of the AC power supply end; The control module is configured to: The input voltage within a first preset time period is acquired, and in response to the input voltage showing a downward trend within the first preset time period, it is determined that the AC power supply end is in a power-off state.
[0012] According to some embodiments of the present application, 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.
[0013] According to some embodiments of the present application, the control module is further configured to: The input voltage is obtained, and when the input voltage is less than a first safety voltage threshold, the first drive signal is stopped from being sent to the first switch tube.
[0014] In a second aspect, an embodiment of the present application provides a power supply device, including: a power supply circuit and a control module; The power supply circuit includes an AC power supply end, an input filter capacitor, a rectifier module and a boost module connected in sequence; the boost module includes a first inductor, a first switch tube and a first sampling resistor, one end of the first inductor is connected to an output end of the rectifier module, two switch pins of the first switch tube are respectively connected to the other end of the first inductor and one end of the first sampling resistor, and the other end of the first sampling resistor is connected to the other output end of the rectifier module; The control module is configured to: In response to detecting that the AC power supply end is in a power-off state, a first drive signal is sent to the first switch tube, so that the input filter capacitor, the rectifier module, the first inductor, the first switch tube and the first sampling resistor form a discharge loop.
[0015] According to the technical solution of the embodiment of the present application, at least the following beneficial effects are achieved: the AC power supply end is usually one side of the product plug, which is used to input the AC power supply. When it is detected that the AC power supply end is in a power-off state, that is, the input voltage of the AC power supply end continues to decrease, it can be considered that the product plug is unplugged, and the input filter capacitor connected to the AC power supply end begins to discharge. Therefore, a first drive signal is sent to the first switch tube, and a loop can be formed when the first switch tube is turned on, so that the input filter capacitor, the rectifier module, the first inductor, the first switch tube and the first sampling resistor constitute a discharge loop, and the electric energy stored in the filter capacitor is quickly consumed through the discharge loop to achieve rapid discharge of the power supply circuit; the AC power supply end, the input filter capacitor, the rectifier module and the boost module in the power supply circuit are all components for the power supply circuit to realize the normal power supply function, and the first One end of the inductor is connected to an output end of the rectifier module, two switch pins of the first switch tube are respectively connected to the other end of the first inductor and one end of the first sampling resistor, and the other end of the first sampling resistor is connected to the other output end of the rectifier module. This connection relationship is also the connection relationship when the power supply circuit realizes the normal power supply function. When powered on, the boost module is used to increase the DC voltage output by the rectifier module. However, after the plug is unplugged, the first sampling resistor used to consume the electric energy stored in the filter capacitor also belongs to the boost module. That is to say, the boost module is used for boosting when the plug is plugged in, and the boost module is powered on for circuit discharge after the plug is unplugged. Based on this, the power supply circuit realizes accelerated discharge by using the devices of the power supply circuit itself without adding more discharge resistors and other devices, thereby reducing the cost of the power supply circuit.
[0016] According to some embodiments of the present application, the power supply circuit further includes a power-on buffer module, the power-on buffer module includes a PTC resistor and a switch device connected in parallel, and the power-on buffer module is located between the input filter capacitor and the rectifier module; The control module is further configured to: While sending a first driving signal to the first switch tube, the switch device is controlled to be disconnected, so that the input filter capacitor, the PTC resistor, the rectifier module, the first inductor, the first switch tube and the first sampling resistor form a discharge loop.
[0017] In a third aspect, an embodiment of the present application provides an air conditioner, comprising the power supply device of the first aspect or the second aspect mentioned above.
[0018] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0020] The present application is further described below with reference to the accompanying drawings and embodiments; Figure 1 It is a circuit connection diagram of an indoor unit of an air conditioner in the prior art; Figure 2 This is a power supply circuit connection diagram when a power supply device provided by an embodiment of the present application is used to power a motor; Figure 3 is a schematic diagram of a discharge circuit of a power supply device provided by an embodiment of the present application; Figure 4 This is a circuit connection diagram of a power supply device provided by an embodiment of the present application applied to an air conditioner; Figure 5 is a power supply circuit connection diagram when a power supply device provided by another embodiment of the present application is used to power a motor; Figure 6 This is a discharge test effect diagram of a discharge circuit of a power supply device provided by an embodiment of the present application; Figure 7 is a power supply circuit connection diagram of a power supply device provided in another embodiment of the present application when used to power a motor; Figure 8 is a power supply circuit connection diagram when a power supply device provided by another embodiment of the present application is used to power a motor; Fig. 9 A schematic diagram of a discharge circuit of a power supply device provided in another embodiment of the present application. DETAILED DESCRIPTION
[0021] This section will describe in detail the specific embodiments of the present application. The preferred embodiments of the present application 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 application, but it cannot be understood as a limitation on the scope of protection of the present application.
[0022] In the description of the present application, it should be understood that descriptions involving orientation, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0023] In the description of this application, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used to distinguish 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. In the description of this application, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in this application based on the specific content of the technical solution.
[0024] The following is combined with Figure 2-9 , various embodiments of the power supply device of the present application are further elaborated.
[0025] In a first aspect, an embodiment of the present application provides a power supply device, such as Figure 2 As shown, Figure 2 is a schematic diagram of a power supply device provided by an embodiment of the present application, the power supply device comprising: a power supply circuit and a control module; The power supply circuit includes an AC power supply end, an input filter capacitor C1, a power-on buffer module, a rectifier module and a boost module; the power-on buffer module includes a PTC resistor R1 and a switch device RY1 connected in parallel, and the boost module includes a first inductor L1 and a first switch tube; both ends of the input filter capacitor C1 are connected to the AC power supply end, the power-on buffer module and the rectifier module are connected between the input filter capacitor C1 and the boost module, one end of the first inductor L1 is connected to an output end of the rectifier module or the power-on buffer module, the other end of the first inductor L1 is connected to a switch pin of the first switch tube, and the other switch pin of the first switch tube is connected to the other output end of the rectifier module; The control module is configured as: In response to detecting that the AC power supply end is in a power-off state, the switch device RY1 is controlled to be disconnected, and a first drive signal is sent to the first switch tube, so that the input filter capacitor C1, the PTC resistor R1, the rectifier module, the first inductor L1 and the first switch tube form a discharge loop.
[0026] refer to Figure 2 , Figure 2 A power supply circuit connection diagram of a power supply device provided in an embodiment of the present application for powering a motor, wherein an AC power supply end, an input filter capacitor C1, a power-on buffer module, a rectifier module, and a boost module are connected in sequence, one end of a first inductor L1 is connected to an output end of the rectifier module, the other end of the first inductor L1 is connected to a switch pin of a first switch tube, and the other switch pin of the first switch tube is connected to another output end of the rectifier module; It can be understood that the power-on buffer module and the rectifier module are connected between the input filter capacitor C1 and the boost module, that is, the power-on buffer module and the rectifier module are connected after the input filter capacitor C1, because the input filter capacitor C1 is used for AC filtering, so the rectifier module needs to be after the input filter capacitor C1, so that the input filter capacitor C1 can filter normally, and when the AC power supply end is powered off, the AC power supply end is equivalent to a circuit breaker. If the power-on buffer module is connected before the input filter capacitor C1 and after the AC power supply end, the input filter capacitor C1 cannot form a discharge loop with the power-on buffer module for discharge, so the power-on buffer module needs to be after the input filter capacitor C1; It can be understood that the power supply device is used to provide AC power to the motor. When the motor is an AC motor, an inverter circuit and a motor load are connected in sequence after the boost module. Therefore, the power input cable of the motor can be a neutral wire and a live wire, that is, the AC power supply end is an AC power input end composed of a neutral wire and a live wire, and the AC power input end is used to receive an input AC power supply, and the input AC power supply can be a mains supply. When the motor is a DC motor, the power supply device is used to provide DC power to the motor, and a motor load can be connected after the boost module. The power input cable of the motor can be a positive and negative wire, that is, the AC power supply end is an AC power input end composed of a positive and negative wire. The two ends of the input filter capacitor C1 are connected to the AC power supply end. The input filter capacitor C1 can smooth the pulsating voltage of the input AC power supply and reduce the voltage ripple. When the power supply circuit is powered on, the power input from the AC power supply end will charge the input filter capacitor C1. When the AC power supply end is powered off, the input filter capacitor C1 starts to discharge. The power-on buffer module includes a PTC resistor R1 and a switch device RY1 connected in parallel. When powered on, the switch device RY1 in the power-on buffer module is in an open state, and the strength of the filtered AC voltage is limited by the PTC resistor R1 to prevent the voltage from impacting the subsequent surge current of the electrolytic capacitor. After the circuit is stable, the switch device RY1 is switched to a closed state; when the AC power supply end is powered off, the switch device RY1 is controlled to switch to an open state, and the PTC resistor R1 is connected to the current loop, and the electric energy released by the input filter capacitor C1 is consumed by the PTC resistor R1; the switch device RY1 can be a relay or other types of controllable switch devices; The rectifier module includes a rectifier bridge, which includes multiple diodes. The rectifier bridge achieves a rectification effect. When the power supply circuit is powered on, the rectifier module is used to rectify the AC power input from the AC power supply end into DC power; when the AC power supply end is powered off, the rectifier module is not used to rectify the AC power input from the AC power supply end into DC power, but to form a discharge loop of the power supply circuit through the diodes in the rectifier module. The boost module includes a first inductor L1 and a first switch tube. The boost module may be a boost PFC (power factor correction) architecture. The first inductor L1 is used to store energy and increase the voltage during the Boost conversion process. The first switch tube is used to control the energy transfer in the first inductor L1. It can be understood that the boost module is a boost PFC architecture. Therefore, the boost module may also include a boost diode FRD and a first sampling resistor R2. The boost diode FRD is used for unidirectional conduction and provides a freewheeling path. The first sampling resistor R2 may be used to detect the current and provide feedback for the control module. When the power supply circuit is powered on, the boost module may increase the DC voltage output by the rectifier module. When the AC power supply end is powered off, the boost module serves as a part of the discharge circuit that consumes the electric energy released by the input filter capacitor C1. In addition, by controlling the on and off of the first switch tube, the discharge speed of the discharge circuit may be controlled so that the current and voltage of the circuit are controlled while the discharge circuit is rapidly discharged, thereby ensuring the safe operation of the power supply circuit and avoiding excessive circuit current affecting the components of the power supply circuit. The first switch tube may be an IGBT or other types of controllable switching transistors. The control module is used to control the switching state of the first switch tube and the switch device RY1 in the power supply circuit. In this embodiment, the control module is configured to: in response to detecting that the AC power supply end is in a power-off state, control the switch device RY1 to be disconnected, and send a first drive signal to the first switch tube, so that the input filter capacitor C1, the PTC resistor R1, the rectifier module, the first inductor L1 and the first switch tube form a discharge circuit; for example, when the AC power supply end is powered off and the AC power supply end is in a power-off state, for example, when the input voltage of the AC power supply end continues to decrease, the input filter capacitor C1 starts to discharge, and the control module controls the switch device RY1 to be disconnected in response to detecting that the AC power supply end is in a power-off state, and sends a first drive signal to the first switch tube. When the first drive signal controls the first switch tube to be turned on, a discharge circuit consisting of the input filter capacitor C1-PTC resistor R1-forward diode in the rectifier module-first inductor L1-first switch tube-reverse diode in the rectifier module is formed, and the electric energy released by the input filter capacitor C1 is consumed through the discharge circuit.
[0027] It is understandable that the boost module may further include a boost diode FRD and a first sampling resistor R2. Therefore, the discharge circuit may further include the first sampling resistor R2. Figure 3 As shown, Figure 3A schematic diagram of a discharge circuit of a power supply device provided in an embodiment of the present application, wherein the discharge circuit includes an input filter capacitor C1—PTC resistor R1—a forward diode in a rectifier module—a first inductor L1—a first switch tube—a first sampling resistor R2—a reverse diode in a rectifier module, and the first sampling resistor R2 can also consume the electric energy released by the input filter capacitor C1, thereby further accelerating the discharge speed of the discharge circuit.
[0028] It can be understood that there may be multiple conditions for detecting that the AC power supply end is in a power-off state. For example, it is detected that the input voltage at the AC power supply end continues to decrease. There may also be multiple conditions for the control module to determine that the input voltage at the AC power supply end continues to decrease. For example, the input voltage is lower than the set voltage threshold in several consecutive AC power cycles; within a predetermined time (such as 1 minute), the average value of the input voltage is lower than the preset voltage threshold; within a predetermined time, the input voltage drops from the normal operating voltage by more than a certain percentage (such as 10% or 20%); within a predetermined time, each detected input voltage is less than the input voltage detected last time, etc. There may be multiple ways to determine that the input voltage at the AC power supply end continues to decrease, which are not limited here, and technical personnel in this field can choose according to actual needs.
[0029] It can be understood that the first drive signal can be a drive signal for controlling the first switch tube to be continuously turned on, or a drive signal for controlling the first switch tube to be intermittently turned on and off. The first drive signal can be a preset fixed drive signal, or it can be determined according to the circuit voltage, the size of the PTC resistor R1, and the size of the C1 capacitor.
[0030] In one embodiment, the power supply device can be applied to the external unit of the air conditioner, such as Figure 4 As shown, Figure 4 1 is a circuit connection diagram of a power supply device provided by an embodiment of the present application applied to an air conditioner. The indoor unit of the air conditioner can adopt a plurality of discharge resistors R5, R6, and R7 added between the neutral line and the live line of the connection plug. The outdoor unit of the air conditioner adopts the power supply device provided by the embodiment of the present application. A DC filter capacitor C2, a second sampling resistor R3, an inverter circuit, and a motor load are sequentially connected to the boost module. The neutral lines of the outdoor unit and the indoor unit of the air conditioner are connected, and the live lines of the outdoor unit and the indoor unit of the air conditioner are connected through a relay switch. Based on this, when the power is turned on, the relay switch is closed, and the external AC power is input from the AC power supply end through the plug and the neutral and live wires of the air conditioner's indoor and outdoor units, and then passes through the power-on buffer module after being filtered by the input filter capacitor C1; then, the filtered AC voltage is converted into a DC voltage through the rectifier module, and then the DC voltage is increased through the boost module, and then the DC voltage is converted into an AC voltage by the inverter circuit to supply power to the motor load. In this way, the power supply circuit can provide accurate voltage and current for the motor load, realize more efficient motor control, and have high power supply efficiency and less power loss; When the plug of the indoor unit of the air conditioner is unplugged, the relay switch is disconnected, the AC power supply end of the power supply circuit of the outdoor unit of the air conditioner is powered off, the AC power supply end is in a power-off state, and the input filter capacitor C1 starts to discharge. In response to detecting that the AC power supply end is in a power-off state, the control module controls the switch device RY1 to be disconnected, and sends a first drive signal to the first switch tube. The PTC resistor R1 is connected to the current loop of the power supply circuit, thereby forming a discharge loop composed of the input filter capacitor C1-PTC resistor R1-forward diode in the rectifier module-first inductor L1-first switch tube-first sampling resistor R2-reverse diode in the rectifier module to consume the electric energy released by the input filter capacitor C1.
[0031] In another embodiment, reference Figure 5 , Figure 5 A power supply device provided in another embodiment of the present application is used for a power supply circuit connection diagram for powering a motor, wherein an AC power supply end, an input filter capacitor C1, a rectifier module, a power-on buffer module and a boost module are connected in sequence, one end of a first inductor L1 is connected to one end of the power-on buffer module, one end of the power-on buffer module is connected to an output end of the rectifier module, the other end of the first inductor L1 is connected to a switch pin of a first switch tube, and the other switch pin of the first switch tube is connected to the other output end of the rectifier module; the control module is configured to: in response to detecting that the AC power supply end is in a power-off state, control the switch device RY1 to be disconnected, and send a first drive signal to the first switch tube to make the input filter capacitor C1, the rectifier module, the power-on buffer module, and the boost module connected in sequence; The flow module, the PTC resistor R1, the first inductor L1 and the first switch tube form a discharge circuit; therefore, when the AC power supply end is powered off and the AC power supply end is in a power-off state, the input voltage of the AC power supply end continues to drop, and the input filter capacitor C1 starts to discharge. In response to detecting that the AC power supply end is in a power-off state, the control module controls the switch device RY1 to be disconnected and sends a first drive signal to the first switch tube. When the first drive signal controls the first switch tube to be turned on, a discharge circuit consisting of the input filter capacitor C1—the forward diode in the rectifier module—the PTC resistor R1—the first inductor L1—the first switch tube—the reverse diode in the rectifier module is formed, and the electric energy released by the input filter capacitor C1 is consumed through the discharge circuit.
[0032] refer to Figure 6 , Figure 6 A discharge test effect diagram of the discharge circuit of a power supply device provided for an embodiment of the present application, wherein the front section in the middle of the figure is an oscillating waveform representing the input voltage at the AC power supply end, and the bottom section of the figure that is synchronized with the drop in input voltage represents the first drive signal. It can be understood that when the front section is an oscillating waveform, the AC power supply end is continuously powered on, and the control module does not send the first drive signal to the first switch tube. When the input voltage at the AC power supply end begins to drop and shows a downward trend, the control module sends the first drive signal to the first switch tube. It can be seen from the figure that the first drive signal drives the first switch tube to turn on, and the input voltage at the AC power supply end begins to drop rapidly.
[0033] In a power supply device provided in one embodiment of the present application, the first driving signal is set by a discharge test on the power supply device, and the discharge test includes a discharge time test of the discharge circuit and a discharge circuit current test of the discharge circuit.
[0034] It can be understood that the first drive signal can be a drive signal for controlling the first switch tube to be continuously turned on, or it can be a drive signal for controlling the first switch tube to be intermittently turned on and off. The first drive signal can be a preset fixed drive signal. In response to detecting that the AC power supply end is in a power-off state, the first drive signal is sent to the first switch tube so that the first switch tube is intermittently turned on and off or continuously turned on according to a fixed frequency; when the first switch tube is turned on, the discharge circuit is turned on, and the discharge circuit can consume the electric energy released by the input filter capacitor C1. When the first switch tube is turned off, the discharge circuit is not turned on.
[0035] In this embodiment, the first driving signal is set by a discharge test of the power supply device. The discharge test may be a test of the power supply device when it is applied to a load or a test of the power supply device when it is not applied to a load. The discharge test may be performed in advance. The first driving signal is preferably a driving signal for controlling the intermittent on and off of the first switch tube. If the first driving signal is a driving signal for controlling the first switch tube to be continuously turned on, heat will accumulate rapidly when the first switch tube is continuously turned on, causing the temperature of the power supply circuit to increase rapidly, thereby reducing the overall reliability of the power supply circuit. The discharge test includes a discharge time test of the discharge circuit and a discharge circuit current test of the discharge circuit. It can be understood that the discharge time test of the discharge circuit can be used to test whether the discharge time of the discharge circuit can meet the rapid discharge requirement, and the discharge circuit current test can be used to test whether the discharge current of the discharge circuit can meet the safe discharge requirement. For example, the rapid discharge requirement may include the time when the live and neutral wire voltage drops to 34V within 1 second, 0.8 seconds or 0.6 seconds after the plug is unplugged, or the time when the live and neutral wire voltage drops to 24V within 1 second after the plug is unplugged; the safe discharge requirement may include the current and voltage limit requirements of the discharge circuit after the plug is unplugged; in this way, the first drive signal of the first switch tube that is more suitable for the power supply circuit can be determined through the discharge test, so that the power supply circuit can be discharged quickly and safely based on the first drive signal after the plug is unplugged.
[0036] In a power supply device provided in one embodiment of the present application, the discharge time test includes testing the discharge time of the discharge circuit under pulse drive signals with different duty cycles, and the discharge circuit current test includes testing the circuit current size of the discharge circuit under pulse drive signals with different duty cycles; The first driving signal is set according to the discharge time of the discharge circuit and the loop current size of the discharge circuit.
[0037] In this embodiment, the first drive signal is a drive signal for controlling the intermittent on and off of the first switch tube, that is, the first drive signal is a pulse drive signal in the form of a duty cycle, and the discharge time test includes testing the discharge time of the discharge circuit under pulse drive signals with different duty cycles. For example, under a certain threshold voltage, the switch device RY1 is controlled to be disconnected, and pulse drive signals with different duty cycles are respectively sent to the first switch tube, and the time required for the voltage at the AC power supply end to drop to the threshold voltage under the pulse drive signals with different duty cycles is monitored, so as to determine the duty cycle of the pulse drive signal with the shortest time required for the voltage at the AC power supply end to drop to the threshold voltage, and the time required for the voltage at the AC power supply end to drop to the threshold voltage under the pulse drive signals with other duty cycles, thereby forming the corresponding discharge time under the pulse drive signals with multiple different duty cycles; The discharge loop current test includes testing the loop current size of the discharge loop under pulse drive signals with different duty cycles. For example, the discharge loop current test can be performed after the discharge time test is completed. The discharge time corresponding to the pulse drive signals with different duty cycles is obtained through the discharge time test. The discharge time and the corresponding duty cycle information are sorted from short to long, and the switch device RY1 is controlled to be disconnected. In this order, pulse drive signals with different duty cycles are sent to the first switch tube respectively, so as to test the current size of the discharge loop under the pulse drive signals with different duty cycles corresponding to different discharge time. The discharge loop current test can also be performed separately, for example, the switch device RY1 is controlled to be disconnected, and pulse drive signals with different duty ratios are sent to the first switch tube respectively, and the loop current size of the discharge loop under the pulse drive signals with different duty ratios is detected at the same time point, so as to obtain the current size of the discharge loop under the pulse drive signals with different duty ratios; Based on this, the discharge duration and current size of the discharge circuit under each duty cycle of the pulse drive signal can be obtained, and the duty cycle of the appropriate pulse drive signal that can meet the needs can be determined according to the actual needs of the power supply circuit application, thereby obtaining the first drive signal. For example, if the actual needs of the power supply circuit application have high requirements on the discharge duration, the duty cycle with the shortest discharge duration and the corresponding current size of the discharge circuit can be queried. If the current size of the discharge circuit meets the safety requirements, the duty cycle with the shortest discharge duration can be used as the duty cycle of the drive signal, thereby obtaining the first drive signal.
[0038] In a power supply device provided in an embodiment of the present application, the first driving signal is set according to the ratio of the discharge time of the discharge circuit to a preset discharge time threshold, and the ratio of the loop current of the discharge circuit to a preset loop current threshold.
[0039] In this embodiment, the preset discharge time threshold refers to the minimum requirement for the discharge time in the actual demand of the power supply circuit application. The power supply circuit application may have different discharge time thresholds in different scenarios. The ratio of the discharge time of the discharge circuit to the preset discharge time threshold represents the ratio of the discharge time corresponding to the pulse drive signals with multiple different duty cycles obtained through the discharge time test to the preset discharge time threshold. The shorter the discharge time obtained through the discharge time test, the smaller the ratio of the discharge time of the discharge circuit to the preset discharge time threshold. The preset loop current threshold refers to the limitation requirement on the discharge loop current in the actual demand of the power supply circuit application. The power supply circuit may have different discharge time thresholds when it is used in different scenarios or when components with different performance are replaced in the power supply circuit. The ratio of the loop current size of the discharge loop to the preset loop current threshold represents the ratio of the loop current corresponding to the pulse drive signals of multiple different duty cycles obtained through the discharge loop current test to the loop current threshold. The larger the loop current obtained through the discharge loop current test, the larger the ratio of the loop current size of the discharge loop to the preset loop current threshold. Based on this, the ratio of the discharge time of the discharge circuit less than or equal to 1 to the preset discharge time threshold is extracted, and these ratios and the corresponding duty cycle can be marked, for example, marked as the first-order discharge time ratio and the first-order discharge time duty cycle, and the ratio of the loop current of the discharge circuit less than or equal to 1 to the preset loop current threshold is extracted. These ratios and the corresponding duty cycle can be marked, for example, marked as the first-order discharge current ratio and the first-order discharge current duty cycle, and the same first-order discharge time duty cycle and first-order discharge current duty cycle are further extracted to obtain the second-order duty cycle; the second-order duty cycle can be considered to be able to simultaneously meet the power supply circuit application The minimum requirement for discharge time and the limit requirement for discharge loop current in actual demand, therefore, any duty cycle in the second-order duty cycle can be used as the duty cycle of the drive signal, thereby obtaining the first drive signal; in addition, the product of the first-order discharge time ratio and the first-order discharge current ratio corresponding to each second-order duty cycle can be calculated, and the second-order duty cycle corresponding to the minimum product is used as the duty cycle of the drive signal, thereby obtaining the first drive signal; or, according to the degree of preference for discharge time and discharge loop current in the actual demand of power supply circuit application, the duty cycle used as the drive signal is determined from the second-order duty cycle, thereby obtaining the first drive signal. In summary, the correlation between the discharge time of the discharge loop and the preset discharge time threshold, and the ratio of the loop current of the discharge loop to the preset loop current threshold, can be obtained. The discharge time and loop current of the discharge loop can be balanced to find the balance point of the discharge time and loop current of the discharge loop, and then the duty cycle of the first drive signal can be determined.
[0040] In a power supply device provided in an embodiment of the present application, the discharge test further includes: after inputting different voltages through the AC power supply end, performing a discharge time test and a discharge loop current test.
[0041] In this embodiment, the discharge test also includes tests performed at different voltages. It can be understood that the power supply device can have a variety of different application scenarios, and the power supply circuit may also be connected to other circuit modules, such as an inverter circuit and a filter circuit. Therefore, the voltage input to the AC power supply end of the power supply device may be different; in order to improve the practicality and adaptability of the power supply device, the discharge time test and the discharge loop current test can be performed after different voltages are input through the AC power supply end to ensure that the discharge time and discharge current of the discharge loop under different voltages can meet the requirements. It should be noted that the different voltages input through the AC power supply end can be different voltages with a large difference, for example, 300V and 120V.
[0042] In the power supply device provided in one embodiment of the present application, the power supply circuit further includes a voltage detection unit for detecting an input voltage of an AC power supply end; The control module is configured as: An input voltage within a first preset time period is acquired, and in response to the input voltage showing a downward trend within the first preset time period, it is determined that the AC power supply end is in a power-off state.
[0043] In this embodiment, the power supply circuit is used to detect the voltage detection unit of the input voltage of the AC power supply end, referring to Figure 2 and Figure 5 , the voltage detection unit may include Figure 2 and Figure 5 A third sampling resistor R6 for AC voltage sampling. As can be seen from the figure, the voltage detection unit can be located between the rectifier module and the first inductor L1, or between the rectifier module and the power-on buffer module. The voltage detection unit detects the input voltage of the AC power supply end through the third sampling resistor R6; The first preset time duration refers to the time duration used to detect and determine whether the power supply circuit is in an unplugged state, that is, the time duration used to detect and determine that the input voltage at the AC power supply end shows a downward trend. The first preset time duration can be set by itself. The first preset time duration can be set based on multiple factors, including the discharge time requirements of the discharge circuit, the size of the input voltage, and the discharge capacity of the discharge circuit.
[0044] It is understandable that the control module may acquire the input voltage in real time, and trigger a response when it is determined that the input voltage is on a downward trend within a first preset time period, or may determine whether the input voltage is on a downward trend at intervals of the first preset time period; it is understandable that when it is determined that the input voltage is on a downward trend, but is not completely on a downward trend within the first preset time period, no response will be triggered; Based on this, it can be determined that the control module determines that detecting that the AC power supply end is in a power-off state may include that the input voltage shows a downward trend, and the input voltage shows a downward trend within a first preset time period. When it is determined that the AC power supply end is in a power-off state, that is, after determining that the power supply circuit is in a plug-out state, the control module can control the switch device RY1 to disconnect and send a first drive signal to the first switch tube.
[0045] In another embodiment, the voltage detection unit may include a third sampling resistor R6 and a fourth sampling resistor R7 using a dual-resistance differential sampling method. Figure 7 As shown, Figure 7 This is a power supply circuit connection diagram of a power supply device provided in an embodiment of the present application for powering a motor. In the diagram, the third sampling resistor R6 and the fourth sampling resistor R7 are respectively connected to the live wire and the neutral wire of the AC power supply end, and the third sampling resistor R6 and the fourth sampling resistor R7 are connected between the input filter capacitor C1 and the power-on buffer module. In another embodiment, the third sampling resistor R6 and the fourth sampling resistor R7 can also be connected between the rectifier module and the power-on buffer module.
[0046] In a power supply device provided in an embodiment of the present application, within a first preset time period, the input voltage at each sampling moment is lower 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.
[0047] In this embodiment, the control module can set the frequency of detecting the input voltage of the AC power supply end through the voltage detection unit. For example, the detection frequency of the voltage detection unit can be determined according to the first preset time and the voltage cycle. The detection frequency of the voltage detection unit should ensure that the number of sampling times within the first preset time is not less than two. It can be understood that when the number of sampling times within the first preset time is large, the accuracy of judging that the input voltage shows a downward trend within the first preset time is relatively high. Therefore, the detection frequency of the voltage detection unit can be determined to be higher according to actual needs; In this way, within the first preset time period, based on the detection frequency of the voltage detection unit, each voltage detection unit will obtain an input voltage value at the sampling moment when detecting the input voltage at the AC power supply end. When it is determined that the input voltage at each sampling moment within the first preset time period is less than the input voltage at the previous sampling moment, it can be determined that the input voltage shows a downward trend within the first preset time period.
[0048] In a power supply device provided in one embodiment of the present application, the control module is further configured as follows: An input voltage is obtained, and when the input voltage is less than a first safety voltage threshold, the first drive signal is stopped from being sent to the first switch tube.
[0049] It can be understood that when the input voltage is less than the first safety voltage threshold, the discharge circuit has released most of the voltage stored in the input filter capacitor C1. At this time, the first switch tube has accumulated a certain amount of heat, and the temperature of the power supply circuit increases. Therefore, when the input voltage is less than the first safety voltage threshold, the first drive signal can be stopped from being sent to the first switch tube. When the first switch tube is not driven by the drive signal, it will switch from the on state to the off state, so that the discharge circuit composed of the input filter capacitor C1, the PTC resistor R1, the rectifier module, the first inductor L1 and the first switch tube is disconnected.
[0050] In a second aspect, an embodiment of the present application provides a power supply device, such as Figure 8 As shown, Figure 8It is a power supply circuit connection diagram when a power supply device provided by an embodiment of the present application is used to power a motor, the power supply device includes an AC power supply end, an input filter capacitor C1, a rectifier module and a boost module connected in sequence; the boost module includes a first inductor L1, a first switch tube and a first sampling resistor R2, one end of the first inductor L1 is connected to an output end of the rectifier module, two switch pins of the first switch tube are respectively connected to the other end of the first inductor L1 and one end of the first sampling resistor R2, and the other end of the first sampling resistor R2 is connected to another output end of the rectifier module; The control module is configured as: In response to detecting that the AC power supply end is in a power-off state, a first driving signal is sent to the first switch tube, so that the input filter capacitor C1, the rectifier module, the first inductor L1, the first switch tube and the first sampling resistor R2 form a discharge loop.
[0051] In the present embodiment, the power supply device includes an AC power supply end, an input filter capacitor C1, a rectifier module and a boost module connected in sequence. It can be understood that the power supply device is used to provide AC power to the motor. When the motor is an AC motor, an inverter circuit and a motor load are connected in sequence after the boost module. Therefore, the power input cable of the motor can be a neutral wire and a live wire, that is, the AC power supply end is an AC power input end composed of a neutral wire and a live wire, and the AC power input end is used to receive an input AC power supply, and the input AC power supply can be a mains supply; when the motor is a DC motor, the power supply device is used to provide DC power to the motor, and a motor load can be connected after the boost module. The power input cable of the motor can be a positive and negative wire, that is, the AC power supply end is an AC power input end composed of a positive and negative wire; The two ends of the input filter capacitor C1 are connected to the AC power supply end. The input filter capacitor C1 can smooth the pulsating voltage of the input AC power supply and reduce the voltage ripple. When the power supply circuit is powered on, the power input from the AC power supply end will charge the input filter capacitor C1. When the AC power supply end is powered off, the input filter capacitor C1 starts to discharge. The rectifier module includes a rectifier bridge, which includes multiple diodes. The rectifier bridge achieves a rectification effect. When the power supply circuit is powered on, the rectifier module is used to rectify the AC power input from the AC power supply end into DC power; when the AC power supply end is powered off, the rectifier module is not used to rectify the AC power input from the AC power supply end into DC power, but to form a discharge loop of the power supply circuit through the diodes in the rectifier module. The boost module includes a first inductor L1 and a first switch tube. The boost module may be a boost PFC (power factor correction) architecture. The first inductor L1 is used to store energy and increase the voltage during the Boost conversion process. The first switch tube is used to control the energy transfer in the first inductor L1. It can be understood that the boost module is a boost PFC architecture. Therefore, the boost module includes a boost diode FRD and a first sampling resistor R2. The boost diode FRD is used for unidirectional conduction and provides a freewheeling path. The first sampling resistor R2 can be used to detect the current and provide feedback for the control module. When the power supply circuit is powered on, the boost module can increase the DC voltage output by the rectifier module. When the AC power supply end is powered off, the boost module is used as a part of the discharge circuit that consumes the electric energy released by the input filter capacitor C1. In addition, by controlling the on and off of the first switch tube, the discharge speed of the discharge circuit can be controlled, so that the current and voltage of the circuit are controlled while the discharge circuit is rapidly discharged, thereby ensuring the safe operation of the power supply circuit and avoiding excessive circuit current affecting the components of the power supply circuit. The first switch tube may be an IGBT or other types of controllable switching transistors. The control module is used to control the switching state of the first switch tube and the switch device RY1 in the power supply circuit. In this embodiment, the control module is configured as follows: in response to detecting that the AC power supply end is in a power-off state, the switch device RY1 is controlled to be disconnected, and a first drive signal is sent to the first switch tube so that the input filter capacitor C1, the PTC resistor R1, the rectifier module, the first inductor L1 and the first switch tube form a discharge circuit; for example, when the AC power supply end is powered off and the AC power supply end is in a power-off state, the input voltage of the AC power supply end continues to decrease, and the input filter capacitor C1 starts to discharge. In response to detecting that the AC power supply end is in a power-off state, the control module controls the switch device RY1 to be disconnected, and sends a first drive signal to the first switch tube. When the first drive signal controls the first switch tube to be turned on, a discharge circuit consisting of the input filter capacitor C1-the forward diode in the rectifier module-the first inductor L1-the first switch tube-the reverse diode in the rectifier module is formed, and the electric energy released by the input filter capacitor C1 is consumed through the discharge circuit.
[0052] like Fig. 9 As shown, Fig. 9 A schematic diagram of a discharge circuit of a power supply device provided in an embodiment of the present application, wherein the discharge circuit includes an input filter capacitor C1—a forward diode in a rectifier module—a first inductor L1—a first switch tube—a first sampling resistor R2—a reverse diode in the rectifier module, and the first sampling resistor R2 can consume the electric energy released by the input filter capacitor C1, thereby accelerating the discharge speed of the discharge circuit.
[0053] It can be understood that there may be multiple conditions for detecting that the AC power supply end is in a power-off state. For example, it is detected that the input voltage at the AC power supply end continues to decrease. There may also be multiple conditions for the control module to determine that the input voltage at the AC power supply end continues to decrease. For example, the input voltage is lower than the set voltage threshold in several consecutive AC power cycles; within a predetermined time (such as 1 minute), the average value of the input voltage is lower than the preset voltage threshold; within a predetermined time, the input voltage drops from the normal operating voltage by more than a certain percentage (such as 10% or 20%); within a predetermined time, each detected input voltage is less than the input voltage detected last time, etc. There may be multiple ways to determine that the input voltage at the AC power supply end continues to decrease, which are not limited here, and technical personnel in this field can choose according to actual needs.
[0054] It can be understood that the first drive signal can be a drive signal for controlling the first switch tube to be continuously turned on, or a drive signal for controlling the first switch tube to be intermittently turned on and off. The first drive signal can be a preset fixed drive signal, or it can be determined according to the circuit voltage and the size of the C1 capacitor.
[0055] In one embodiment, the power supply device can be applied to the outdoor unit of the air conditioner, and the indoor unit of the air conditioner can be used by adding multiple discharge resistors R5, R6, and R7 between the neutral line and the live line of the connection plug. The outdoor unit of the air conditioner adopts the power supply device provided by the embodiment of the present application, and the boost module is also connected in sequence with a DC filter capacitor C2, a second sampling resistor R3, an inverter circuit, and a motor load. The outdoor unit and the indoor unit of the air conditioner are connected with the neutral line, and the live line of the outdoor unit and the indoor unit of the air conditioner are connected through a relay switch; Based on this, when the power is turned on, the relay switch is closed, and the external AC power is input from the AC power supply end through the plug and the neutral and live wires of the air conditioner's indoor and outdoor units. After being filtered by the input filter capacitor C1, the filtered AC voltage is converted into a DC voltage by the rectifier module, and then the DC voltage is increased by the boost module. The DC voltage is then converted into an AC voltage by the inverter circuit to supply power to the motor load. In this way, the power supply circuit can provide accurate voltage and current for the motor load, realize more efficient motor control, and have higher power supply efficiency and less energy loss. When the plug of the indoor unit of the air conditioner is unplugged, the relay switch is disconnected, the AC power supply end of the power supply circuit of the outdoor unit of the air conditioner is powered off, the AC power supply end is in a power-off state, the input voltage of the AC power supply end continues to drop, the input filter capacitor C1 starts to discharge, and the control module responds to detecting that the AC power supply end is in a power-off state, controls the switch device RY1 to be disconnected, and sends a first drive signal to the first switch tube, thereby forming a discharge circuit composed of the input filter capacitor C1 - the forward diode in the rectifier module - the first inductor L1 - the first switch tube - the first sampling resistor R2 - the reverse diode in the rectifier module to consume the electric energy released by the input filter capacitor C1.
[0056] In a power supply device provided in one embodiment of the present application, the power supply circuit further includes a power-on buffer module, the power-on buffer module includes a PTC resistor R1 and a switch device RY1 connected in parallel, and the power-on buffer module is located between the input filter capacitor C1 and the rectifier module; The control module is also configured to: While sending the first driving signal to the first switch tube, the switch device is controlled to be disconnected, so that the input filter capacitor C1, the PTC resistor R1, the rectifier module, the first inductor L1, the first switch tube and the first sampling resistor R2 form a discharge loop.
[0057] In this embodiment, reference can be made to Figure 2 The power supply circuit also includes a power-on buffer module, which includes a PTC resistor R1 and a switch device RY1 connected in parallel. The power-on buffer module is located between the input filter capacitor C1 and the rectifier module. The AC power supply end, the input filter capacitor C1, the power-on buffer module, the rectifier module and the boost module are connected in sequence. One end of the first inductor L1 is connected to an output end of the rectifier module, the other end of the first inductor L1 is connected to a switch pin of the first switch tube, and the other switch pin of the first switch tube is connected to the other output end of the rectifier module. The control module is configured to: while sending a first drive signal to the first switch tube, control the switch device to be disconnected so that the input filter capacitor C1, the PTC resistor R1, the rectifier module The block, the first inductor L1 and the first switch tube form a discharge loop; in this way, when the AC power supply end is powered off and the AC power supply end is in a power-off state, the input voltage of the AC power supply end continues to drop, and the input filter capacitor C1 starts to discharge. In response to detecting that the AC power supply end is in a power-off state, the control module controls the switch device RY1 to be disconnected and sends a first drive signal to the first switch tube. When the first drive signal controls the first switch tube to be turned on, a discharge loop consisting of the input filter capacitor C1—PTC resistor R1—forward diode in the rectifier module—first inductor L1—first switch tube—first sampling resistor R2—reverse diode in the rectifier module is formed, and the electric energy released by the input filter capacitor C1 is consumed through the discharge loop.
[0058] In a third aspect, an embodiment of the present application provides an air conditioner, comprising the power supply device described in the first aspect or the second aspect above.
[0059] It is worth noting that since the electronic device of the embodiment of the present application includes the power supply device of the above embodiment, the specific implementation manner and technical effects of the air conditioner of the embodiment of the present application can refer to the specific implementation manner and technical effects of the power supply device of any of the above embodiments.
[0060] It should also be understood that the various implementations provided in the embodiments of the present application can be combined arbitrarily to achieve different technical effects.
[0061] The embodiments of the present application are described in detail above in conjunction with the accompanying drawings, but the present application 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 application.
Claims
1. A power supply device, characterized in that: include: Power supply circuit and control module; The power supply circuit includes an AC power supply end, an input filter capacitor, a power-on buffer module, a rectifier module and a boost module; the power-on buffer module includes a PTC resistor and a switch device connected in parallel, and the boost module includes a first inductor and a first switch tube; both ends of the input filter capacitor are connected to the AC power supply end, the power-on buffer module and the rectifier module are connected between the input filter capacitor and the boost module, one end of the first inductor is connected to an output end of the rectifier module or the power-on buffer module, the other end of the first inductor is connected to a switch pin of the first switch tube, and the other switch pin of the first switch tube is connected to the other output end of the rectifier module; The control module is configured to: In response to detecting that the AC power supply end is in a power-off state, the switch device is controlled to be disconnected, and a first drive signal is sent to the first switch tube, so that the input filter capacitor, the PTC resistor, the rectifier module, the first inductor and the first switch tube form a discharge loop.
2. The power supply device according to claim 1, characterized in that: The first driving signal is set by a discharge test on the power supply device, wherein the discharge test includes a discharge time test of the discharge circuit and a discharge circuit current test of the discharge circuit.
3. The power supply device according to claim 2, characterized in that: The discharge time test includes testing the discharge time of the discharge circuit under pulse drive signals with different duty cycles, and the discharge circuit current test includes testing the circuit current size of the discharge circuit under pulse drive signals with different duty cycles; The first driving signal is set according to the discharge time of the discharge circuit and the loop current size of the discharge circuit.
4. The power supply device according to claim 3, characterized in that: The first driving signal is set according to a ratio of a discharge time of the discharge circuit to a preset discharge time threshold, and a ratio of a loop current of the discharge circuit to a preset loop current threshold.
5. The power supply device according to claim 3, characterized in that: The discharge test further includes: after inputting different voltages through the AC power supply end, performing the discharge time test and the discharge loop current test.
6. The power supply device according to claim 1, characterized in that: The power supply circuit also includes a voltage detection unit for detecting an input voltage of the AC power supply end; The control module is configured to: The input voltage within a first preset time period is acquired, and in response to the input voltage showing a downward trend within the first preset time period, it is determined that the AC power supply end is in a power-off state.
7. The power supply device according to claim 6, 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.
8. The power supply device according to claim 6, characterized in that: The control module is further configured to: The input voltage is obtained, and when the input voltage is less than a first safety voltage threshold, the first drive signal is stopped from being sent to the first switch tube.
9. A power supply device, characterized in that: include: Power supply circuit and control module; The power supply circuit includes an AC power supply terminal, an input filter capacitor, a rectifier module and a boost module connected in sequence; The boost module includes a first inductor, a first switch tube and a first sampling resistor, one end of the first inductor is connected to an output end of the rectifier module, two switch pins of the first switch tube are respectively connected to the other end of the first inductor and one end of the first sampling resistor, and the other end of the first sampling resistor is connected to the other output end of the rectifier module; The control module is configured to: In response to detecting that the AC power supply end is in a power-off state, a first drive signal is sent to the first switch tube, so that the input filter capacitor, the rectifier module, the first inductor, the first switch tube and the first sampling resistor form a discharge loop.
10. The power supply device according to claim 9, characterized in that: The power supply circuit further includes a power-on buffer module, the power-on buffer module includes a PTC resistor and a switch device connected in parallel, and the power-on buffer module is located between the input filter capacitor and the rectifier module; The control module is further configured to: While sending a first driving signal to the first switch tube, the switch device is controlled to be disconnected, so that the input filter capacitor, the PTC resistor, the rectifier module, the first inductor, the first switch tube and the first sampling resistor form a discharge loop.
11. An air conditioner, characterized in that: The invention comprises the power supply device according to any one of claims 1 to 10.