Braking method and device of compressor, air conditioning system and readable storage medium
By detecting AC power failures in real time and identifying the compressor's rotation direction, a differentiated braking strategy is adopted to solve the problem of bearing wear caused by the compressor's inertial operation when the air conditioning system is powered off. This achieves effective braking under both forward and reverse rotation conditions, improving the system's reliability and safety.
Patent Information
- Application Number
- CN202611260481.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-19
- Publication Date
- 2026-11-24
AI Technical Summary
When power is lost, the compressor continues to run due to inertia, causing the bearings to dry-grind and become damaged. Furthermore, the existing rapid braking technology cannot handle both forward and reverse operation, resulting in increased equipment costs and performance degradation.
By detecting AC power failures in real time and identifying the compressor's rotation direction, a differentiated braking strategy is adopted to dynamically adjust the braking torque, taking into account the braking effectiveness of the unit's forward and reverse operation, and reducing equipment costs and the risk of performance degradation.
It improves the versatility and reliability of the air conditioning system's power failure protection, avoids the blind spots of traditional fixed braking methods, and ensures the accuracy and safety of the braking process.
Smart Images

Figure CN123154408A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioning system technology, and more specifically, to a method and apparatus for braking a compressor, an air conditioning system, and a readable storage medium. Background Technology
[0002] When a large central air conditioning system experiences a power outage, the compressor continues to run due to inertia, while the oil pump stops supplying oil, which can easily cause dry friction damage to the bearings. To solve this problem, a gravity-based emergency oil supply scheme is commonly used, but it usually requires a corresponding rapid braking scheme. Among related technologies, rapid braking technology has significant limitations: semi-switching modulation braking is only suitable for permanent magnet synchronous motors and cannot achieve rapid stopping of asynchronous motors; the speed tracking + AC braking scheme is only suitable for light-load conditions, and under heavy loads, the bus voltage drops significantly, causing braking failure; conventional DC braking relies on continuous power supply and cannot be applied in power outage scenarios. Furthermore, it cannot accommodate both forward and reverse compressor operation, and some schemes require the addition of an exhaust check valve, leading to performance degradation and increased equipment costs. Summary of the Invention
[0003] This application provides a method, apparatus, air conditioning system, and readable storage medium for braking a compressor to solve at least one of the aforementioned technical problems.
[0004] The compressor braking method of this application is used in an air conditioning system, the air conditioning system including a compressor and an AC power supply for supplying power to the compressor, the braking method including: Obtain the operating status of the compressor; When the working state is the running state, it is necessary to detect in real time whether the AC power supply has lost power; In the event of a power outage, the current rotation direction of the compressor is obtained; When the rotation direction is forward, the compressor is controlled to brake using a first strategy; When the rotation direction is reversed, the compressor is controlled to brake using a second strategy, which is different from the first strategy.
[0005] The compressor braking method provided in this application detects AC power failure in real time and identifies the current rotation direction of the compressor. Then, it implements targeted braking control based on the rotation difference. This achieves dynamic adjustment of braking torque according to the actual rotation state of the compressor at the moment of power failure, avoiding the blind spot of traditional fixed braking methods for forward and reverse operation. It also takes into account the braking effectiveness of the unit during forward and reverse operation, which facilitates the improvement of the versatility and reliability of the power failure protection of the air conditioning system, while reducing equipment cost and performance degradation risk.
[0006] In some embodiments, the real-time detection of whether the AC power supply has failed includes Obtain the operating parameters of the air conditioning system, including the input voltage, operating frequency, output current, and load rate calculation coefficient of the air conditioning system, as well as the rated frequency, rated voltage, and rated current of the compressor; The first power failure signal and the second power failure signal are obtained based on the operating parameters. The first power-down signal and the second power-down signal are filtered to generate a filtered signal; When the filtered signal reaches the first preset judgment condition, it is determined that the AC power supply has lost power.
[0007] Thus, by generating dual power-down signals and filtering them based on comprehensive operating parameters, the anti-interference capability and accuracy of power-down detection can be improved, ensuring timely and reliable braking triggering.
[0008] In some embodiments, obtaining the first power-down signal and the second power-down signal based on the operating parameters includes: The zero-crossing point of the input voltage of the air conditioning system is detected and a zero-crossing signal is generated; When the zero-crossing signal undergoes a level transition, the zero-crossing signal is sampled, and a level transition signal is generated; The level transition signal is digitally filtered to obtain a filtered level signal; When the filtered level signal reaches the second preset judgment condition, the first power-down signal is generated.
[0009] In this way, the first power-down signal is generated by sampling at the zero-crossing level and digital filtering, which facilitates the improvement of the response speed and accuracy of power-down recognition and allows for a rapid entry into the braking process.
[0010] In some embodiments, obtaining the first power-down signal and the second power-down signal based on the operating parameters includes: Calculate the current load rate of the air conditioning system based on the operating parameters; Calculate the power outage threshold of the air conditioning system based on the current load rate and the rated voltage; Obtain the real-time bus voltage of the air conditioning system; The real-time bus voltage is filtered and the filtered voltage is obtained; When the power-down threshold and the filter voltage reach a third preset determination condition, a second power-down signal is generated, wherein the third preset determination condition is that the filter voltage is less than or equal to the power-down threshold, and the signal lasts for a preset time.
[0011] In this way, the power outage threshold is dynamically calculated based on the load rate and compared with the filter bus voltage, which makes the power outage judgment more in line with the actual working conditions and avoids misjudgment under light load and missed judgment under heavy load.
[0012] In some embodiments, obtaining the current rotation direction of the compressor includes: Obtain the macro parameters of the air conditioning equipment; If the macro parameter is a forward rotation macro parameter, then the compressor is determined to rotate in the forward direction; otherwise, the compressor is determined to rotate in the reverse direction.
[0013] In this way, the compressor rotation direction can be directly identified through macro parameters without the need for additional sensors, which helps to simplify the judgment logic and achieve adaptive steering and rapid braking.
[0014] In some embodiments, when the rotation direction is forward, controlling the compressor to brake using a first strategy includes: When the compressor is rotating in the forward direction, the current load rate, preset adjustment coefficient, rated voltage, and frequency and phase of the output voltage of the air conditioning equipment when power is lost are obtained. Calculate the target bus voltage of the air conditioning equipment based on the rated voltage, the preset adjustment coefficient, and the current load rate; The deceleration step size is calculated based on the current load rate, the frequency, the phase, and the target bus voltage, and the compressor is decelerated according to the deceleration step size.
[0015] In this way, the deceleration step size is dynamically calculated based on the load rate and rated parameters for forward rotation conditions, which facilitates smooth and rapid braking while suppressing excessive fluctuations in bus voltage.
[0016] In some embodiments, when the rotation direction is reversed, controlling the compressor to brake using a second strategy includes: When the compressor rotates in reverse, the current load rate, preset time parameters, preset adjustment coefficient, rated voltage, and frequency and phase of the output voltage of the air conditioning equipment when power is off are obtained. Calculate the waiting time based on the current load rate and the preset time parameter; Calculate the target bus voltage of the air conditioning equipment based on the rated voltage, the preset adjustment coefficient, and the current load rate; After the waiting time, the deceleration step size is calculated based on the current load rate, the frequency, the phase, and the target bus voltage, and the compressor is decelerated according to the deceleration step size.
[0017] Therefore, setting a waiting time before deceleration for reversing operation helps avoid mechanical shock caused by immediate braking and improves the safety and reliability of the reversing and stopping process.
[0018] In some embodiments, calculating the deceleration step size based on the current load rate, the frequency, the phase, and the target bus voltage, and performing a deceleration operation on the compressor based on the deceleration step size, includes: Based on the current load rate, the deceleration step size of the compressor is set as the first deceleration step size; Based on the frequency, the phase, the target bus voltage, and the first deceleration step size, configure the frequency, phase, and amplitude of the drive voltage output to the compressor; Obtain the current bus voltage of the air conditioning equipment. The second deceleration step size is determined based on the bus voltage, and the deceleration step size of the compressor is set as the second deceleration step size; Reacquire the current bus voltage of the air conditioning equipment; If the current bus voltage is less than or equal to the first threshold, then maintain the current deceleration step size and continue decelerating; If the current bus voltage is greater than the first threshold, the deceleration step size is adjusted to the third deceleration step size; After the deceleration step size is adjusted to the third deceleration step size, the current bus voltage of the air conditioning equipment is obtained again. If the current bus voltage is greater than the second threshold, then braking and stopping are determined to have failed. If the current bus voltage is less than or equal to the second threshold, the deceleration operation continues.
[0019] In this way, by monitoring the bus voltage in real time and adjusting the deceleration step size in stages, it is easier to prevent braking failure or overvoltage and enhance the robustness of braking under heavy load.
[0020] In some embodiments, the step of calculating the deceleration step size based on the current load rate, the frequency, the phase, and the target bus voltage, and performing a deceleration operation on the compressor based on the deceleration step size, further includes: The current output frequency of the compressor is obtained in real time; When the current output frequency is less than the preset parking frequency, the braking stop is determined to be successful, and the control stops outputting the drive voltage to the compressor. When the current output frequency is greater than or equal to the preset parking frequency, the deceleration operation continues.
[0021] Therefore, judging the completion of stopping based on the output frequency and cutting off the drive voltage in a timely manner helps to ensure the accuracy of stopping, avoid low-frequency energy consumption, and improve the energy efficiency of the braking process.
[0022] The second embodiment of this application provides a braking device for a compressor in an air conditioning system, the air conditioning system including a compressor and an AC power supply for supplying power to the compressor, the braking device comprising: The first acquisition module is used to acquire the operating status of the compressor; The detection module is used to detect in real time whether the AC power supply has lost power when the working state is the running state; The second acquisition module is used to acquire the current rotation direction of the compressor when the AC power supply fails. A braking module is used to control the compressor to brake according to the rotation direction.
[0023] The air conditioning system of the third embodiment of this application includes a processor and a memory, the memory storing a computer program that, when executed by the processor, causes the processor to implement instructions for the braking method as described in any of the preceding claims.
[0024] The fourth embodiment of this application is a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the braking method as described in any of the preceding claims.
[0025] Additional aspects and advantages of embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this application. Attached Figure Description
[0026] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein: Figure 1 This is a schematic flowchart of the braking method of the compressor according to an embodiment of this application; Figure 2 This is a schematic flowchart of a braking method for a compressor according to a certain embodiment of this application; Figure 3 This is a schematic flowchart of a braking method for a compressor according to a certain embodiment of this application; Figure 4 This is a schematic flowchart of a braking method for a compressor according to a certain embodiment of this application; Figure 5 This is a schematic flowchart of a braking method for a compressor according to a certain embodiment of this application; Figure 6 This is a schematic flowchart of a braking method for a compressor according to a certain embodiment of this application; Figure 7 This is a schematic flowchart of a braking method for a compressor according to a certain embodiment of this application; Figure 8 This is a schematic flowchart of a braking method for a compressor according to a certain embodiment of this application; Figure 9 This is a schematic flowchart of a braking method for a compressor according to a certain embodiment of this application; Figure 10 This is a schematic diagram of the braking device according to an embodiment of this application; Figure 11 This is a schematic diagram of the air conditioning system according to an embodiment of this application.
[0027] Explanation of reference numerals in the attached drawings: air conditioning system 100, braking device 10, first acquisition module 11, detection module 12, second acquisition module 13, first braking module 14, second braking module 15, processor 20, memory 30. Detailed Implementation
[0028] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application. In the description of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," etc., indicating orientation or positional relationships, are based on the orientation or positional relationships shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as limiting this application. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.
[0029] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "joining" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection. They can refer to a mechanical connection or an electrical connection. They can refer to a direct connection or an indirect connection through an intermediate medium, and they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in this application can be understood according to the specific circumstances.
[0030] In this application, unless otherwise expressly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature being directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature being directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.
[0031] This disclosure provides many different embodiments or examples for implementing different structures of this application. To simplify the disclosure, specific examples of components and arrangements are described herein. Of course, these are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or letters may be repeated in different examples; such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed. In addition, various specific examples of processes and materials are provided in this application, but those skilled in the art will recognize the application of other processes and / or the use of other materials.
[0032] Please see Figures 1 to 9 , Figures 1 to 9 This is a flowchart illustrating a braking method for a compressor provided in an embodiment of this disclosure. It should be noted that the steps shown may be performed in a logical order different from that shown in the flowchart.
[0033] The compressor braking method of this application is used in an air conditioning system, which includes a compressor and an AC power supply for powering the compressor. The braking method may include the following steps: Please see Figure 1 Step 110: Obtain the operating status of the compressor.
[0034] Specifically, in this embodiment of the application, the air conditioning system 100 includes at least a compressor and an AC power supply for powering the compressor. The compressor is a variable frequency compressor, which is provided with adjustable frequency and voltage driving power by a variable frequency drive circuit. The AC power supply can be an industrial frequency mains power supply, supporting single-phase or three-phase power supply, and provides input power to the entire air conditioning system 100.
[0035] In some embodiments, the process of obtaining the compressor's operating status can be implemented by the status monitoring module of the control unit. Specifically, it can be achieved by reading the drive enable register status of the inverter module, detecting the current signal on the inverter output side, or reading the operation flag bit of the frequency converter control module. The operating status is divided into two categories: running status and shutdown status. The running status corresponds to the condition where the inverter module is normally outputting drive signals and the compressor rotor is rotating and doing work, while the shutdown status corresponds to the condition where the inverter module is shutting down and the compressor rotor is stationary.
[0036] In some embodiments, the identification of the operating state can also be achieved by detecting the back electromotive force of the compressor stator winding, without relying on the internal status flags of the controller, thus improving the independence and reliability of the status identification.
[0037] Step 120: When the working status is running, detect in real time whether the AC power supply has failed.
[0038] Optional, such as Figure 2 As shown, step 120 can be achieved through steps 121 to 124, specifically as follows: Step 121: Obtain the operating parameters of the air conditioning system. The operating parameters include the input voltage, operating frequency, output current, and load rate calculation coefficient of the air conditioning system, as well as the rated frequency, rated voltage, and rated current of the compressor.
[0039] Step 122: Obtain the first power-down signal and the second power-down signal based on the operating parameters.
[0040] Step 123: Filter the first power-down signal and the second power-down signal to generate a filtered signal.
[0041] Step 124: When the filtered signal reaches the first preset judgment condition, it is determined that the AC power supply has failed.
[0042] Thus, by generating dual power-down signals and filtering them based on comprehensive operating parameters, the anti-interference capability and accuracy of power-down detection can be improved, ensuring timely and reliable braking triggering.
[0043] In this embodiment, the operating parameters of the air conditioning system 100 include the input voltage, operating frequency, output current, load factor calculation coefficient, and the rated frequency and rated current of the compressor. The input voltage is collected by a voltage sampling circuit located on the AC input side. The operating frequency is directly output by the variable frequency control module inside the control unit, reflecting the operating frequency of the current inverter module's output drive voltage. The output current is collected by a current sampling circuit located on the inverter output side or DC bus side. The load factor calculation coefficient, rated frequency, and rated current are all system parameters calibrated before leaving the factory and are pre-stored in the non-volatile storage unit of the control unit, and will not be lost when the system is powered off.
[0044] In this embodiment, the power-down signal generation module generates a first power-down signal and a second power-down signal based on the same set of operating parameters and through two independent operational logics. The sampling sources and judgment logic of the two signals do not interfere with each other, forming detection redundancy and avoiding power-down missed detection or false detection caused by single path failure.
[0045] In this embodiment, the digital filtering module of the control unit performs filtering processing on the generated first power-down signal and second power-down signal respectively. In some embodiments, the filtering algorithm may be a first-order low-pass filter, a moving average filter, or a median filter to filter out high-frequency interference and spike pulses in the signal. After processing, the final filtered judgment signal is synthesized.
[0046] In this embodiment, the determination module compares the filtered signal with the first preset determination condition. When the filtered signal meets the determination condition, it finally determines that the AC power supply has failed and outputs a power failure trigger signal to start the subsequent braking process.
[0047] In some embodiments, the weight of the power failure signal can also be adjusted according to the application scenario. In scenarios with large power grid fluctuations, the determination weight of the second power failure signal can be increased, and in scenarios with high requirements for response speed, the determination weight of the first power failure signal can be increased.
[0048] Optional, such as Figure 3 As shown, step 122 can be implemented through steps 1221 to 1224, specifically as follows: Step 1221: Detect the zero-crossing point of the input voltage of the air conditioning system and generate a zero-crossing signal.
[0049] Step 1222: When the zero-crossing signal undergoes a level transition, sample the zero-crossing signal and generate a level transition signal.
[0050] Step 1223: Perform digital filtering on the level transition signal to obtain the filtered level signal.
[0051] Step 1224: When the filtered level signal reaches the second preset judgment condition, a first power-down signal is generated.
[0052] In this way, the first power-down signal is generated by sampling at the zero-crossing level and digital filtering, which facilitates the improvement of the response speed and accuracy of power-down recognition and allows for a rapid entry into the braking process.
[0053] In this embodiment, the zero-crossing point of the input voltage is detected and a zero-crossing signal is generated. The signal conversion at the hardware level is performed by a dedicated zero-crossing detection circuit. This circuit mainly consists of a voltage comparator and a reference voltage source. The AC input voltage is first stepped down to a suitable amplitude by a resistor divider network and input to the non-inverting input of the voltage comparator. The inverting input of the voltage comparator is connected to a zero-potential reference source. When the AC voltage alternates between positive and negative half-cycles and the instantaneous value crosses zero, the output level of the voltage comparator will change from high to low, outputting a square wave zero-crossing signal. The transition of the square wave corresponds to the zero-crossing moment of the AC voltage. The output of the zero-crossing detection circuit is connected to the external interrupt pin or general-purpose input / output sampling pin of the control unit.
[0054] In some embodiments, the level state of the pin can be monitored in real time by a transition sampling module inside the control unit. When a level transition of rising edge or falling edge is detected, a sampling action is immediately triggered to record the transition time and the current level state, and generate a corresponding level transition signal.
[0055] In some embodiments, the level transition signal can be filtered by a digital filtering module. Specifically, debouncing filtering or pulse width filtering logic can be used. A minimum legal transition interval threshold is preset. If the time interval between two consecutive transitions is less than the threshold, it is determined to be a false transition caused by voltage spike or electromagnetic interference and is directly filtered out. Only valid transitions with intervals within the power frequency cycle range are retained, and finally a stable filtered level signal is output.
[0056] In this embodiment, the power failure determination submodule compares the filtered level signal with the second preset determination condition. When the filtered level signal meets the condition, a first power failure signal is generated. The second preset determination condition can be set as no effective level change is detected within multiple consecutive power frequency cycles, or the change interval exceeds the preset floating range of the normal power frequency cycle, indicating that the AC voltage has stopped changing periodically and the power supply is interrupted.
[0057] Optional, such as Figure 4 As shown, step 122 can be implemented through steps 1225 to 1228, specifically as follows: Step 1225: Calculate the current load rate of the air conditioning system based on the operating parameters.
[0058] Step 1226: Calculate the power outage threshold of the air conditioning system based on the current load rate.
[0059] Step 1227: Obtain the real-time bus voltage of the air conditioning system.
[0060] Step 1228: Filter the real-time bus voltage and obtain the filtered voltage.
[0061] Step 1229: When the power-down threshold and the filter voltage reach the third preset judgment condition, a second power-down signal is generated. The third preset judgment condition is that the filter voltage is less than or equal to the power-down threshold, and the signal lasts for a preset time.
[0062] In this way, the power outage threshold is dynamically calculated based on the load rate and compared with the filter bus voltage, which makes the power outage judgment more in line with the actual working conditions and avoids misjudgment under light load and missed judgment under heavy load.
[0063] The current load rate can intuitively reflect the current load size and output power level of the compressor. In this embodiment, the calculation of the current load rate is usually performed by the load rate calculation module inside the control unit. The calculation is based on the output current, rated current, operating frequency, rated frequency and load rate calculation coefficient. The load rate value of the compressor under the current operating condition is obtained through the preset load rate calculation formula. The load rate calculation coefficient is used to correct the calculation deviation under different operating conditions and different models to ensure the accuracy of the load rate calculation.
[0064] In this embodiment of the application, the current load rate L r The calculation method is as follows: ; in, k r The coefficient is used to calculate the load factor. f 0 represents the operating frequency. f r For the rated frequency, i 0 represents the output current. i r This is the rated current.
[0065] In this embodiment, the power outage threshold calculation module is signal-connected to the load rate calculation module, receives the current load rate value and calculates the corresponding power outage threshold. The power outage threshold changes dynamically with the load rate. The higher the load rate, the higher the power outage threshold, and the lower the load rate, the lower the power outage threshold, so that the judgment threshold always matches the normal bus voltage range under the current operating conditions.
[0066] In this embodiment of the application, the power outage threshold V dc drop The calculation method is as follows: V dc drop= V dcr ×L r ; in, V dcr This is the rated voltage of the frequency converter. L r This represents the current load factor.
[0067] In this embodiment, the real-time bus voltage is acquired by a bus voltage sampling circuit located between the positive and negative poles of the DC bus. The sampling circuit adopts a high-voltage resistor voltage divider structure to reduce the high voltage on the DC bus to a voltage range that can be received by the analog-to-digital conversion pin of the control unit at a fixed ratio. The output of the sampling circuit is directly connected to the corresponding sampling channel of the control unit to transmit the analog signal of the bus voltage in real time.
[0068] In this embodiment, the control unit filters the acquired real-time bus voltage digital data. A moving average filtering algorithm can be used to continuously acquire the voltage values of multiple sampling points and take the arithmetic mean to obtain the filtered voltage, thereby eliminating the interference of bus voltage ripple and sampling noise and improving the stability of voltage data.
[0069] In this embodiment, the comparison and determination module compares the filtered voltage with the dynamically calculated power-down threshold. When the third preset determination condition is met, a second power-down signal is generated. The third preset determination condition is that the filtered voltage is less than or equal to the power-down threshold and lasts for a preset time. By adding the duration condition, false determinations caused by instantaneous drops in bus voltage can be avoided.
[0070] Step 130: In the event of a power outage, obtain the current rotation direction of the compressor.
[0071] Optional, such as Figure 5 As shown, step 130 can be implemented through steps 131 to 132, specifically as follows: Step 131: Obtain the macro parameters of the air conditioning equipment.
[0072] Step 132: If the macro parameter is a forward rotation macro parameter, then the compressor rotation direction is determined to be forward; otherwise, the compressor rotation direction is determined to be reverse.
[0073] In this way, the compressor rotation direction can be directly identified through macro parameters without the need for additional sensors, which helps to simplify the judgment logic and achieve adaptive steering and rapid braking.
[0074] In this embodiment, after determining that the AC power supply has failed, the current rotation direction of the compressor is obtained to provide a basis for matching the corresponding braking strategy. Specifically, the macro parameters of the air conditioning equipment are first obtained by the parameter reading module of the control unit from the designated configuration area of the storage unit. The macro parameters belong to the overall configuration parameters of the air conditioning system 100 and are used to identify the compressor rotation configuration of the current system. They are divided into two categories: forward rotation macro parameters and reverse rotation macro parameters. Different air conditioning models and different piping system designs correspond to different rotation configurations. The macro parameters are written during product factory debugging or on-site installation and are fixedly stored in the read-only configuration area of the storage unit. They will not be modified during normal operation.
[0075] In this embodiment, after acquiring the macro parameters, the steering determination module compares the read macro parameters with the pre-stored forward rotation macro parameter benchmark value. If the two values match, the compressor's current rotation direction is determined to be forward; if the two values do not match, the compressor's current rotation direction is determined to be reverse. The steering determination result is output to the braking control module to invoke the corresponding steering braking control logic. This determination method is triggered at the instant the power failure determination is completed. The steering recognition process is directly started by the power failure trigger signal, and the determination is completed by calling the existing configuration parameters of the system. The calculation logic is simple and the time consumption is short.
[0076] In some embodiments, the compressor rotation direction can also be identified by detecting the phase sequence of the back electromotive force of the stator windings. The control unit collects the back electromotive force signals of the three-phase windings and determines the rotor rotation direction based on the phase sequence. This does not rely on pre-stored configuration parameters and can be applied to special application scenarios where the rotation direction is not fixed. It can also be used as a backup decision scheme when macro parameter reading fails. In addition, the current rotation direction can be obtained by directly reading the phase sequence output logic of the inverter module, forming a double verification with the macro parameter determination result, thereby improving the accuracy of rotation direction identification.
[0077] Step 140: When the rotation direction is forward, control the compressor to brake using the first strategy.
[0078] Optional, such as Figure 6 As shown, step 140 can be implemented through steps 141 to 143, specifically as follows: Step 141: When the compressor is rotating in the forward direction, obtain the current load rate, preset adjustment coefficient, rated voltage, and frequency and phase of the output voltage of the air conditioning equipment when the power is off.
[0079] Step 142: Calculate the target bus voltage of the air conditioning equipment based on the rated voltage, preset adjustment coefficient, and current load rate.
[0080] Step 143: Calculate the deceleration step size based on the current load rate, frequency, phase and target bus voltage, and perform deceleration operation on the compressor according to the deceleration step size.
[0081] In this way, the deceleration step size is dynamically calculated based on the load rate and rated parameters for forward rotation conditions, which facilitates smooth and rapid braking while suppressing excessive fluctuations in bus voltage.
[0082] After obtaining the compressor's rotation direction, the corresponding braking control is executed according to the rotation direction. In some embodiments, when the compressor rotates forward, the braking calculation module of the control unit retrieves the required parameters, including the current load rate of the air conditioning equipment, the preset adjustment coefficient, the rated voltage, and the frequency and phase of the air conditioning equipment's output voltage at the moment of power failure. The current load rate directly uses the load rate calculation result before the power failure without recalculation. The preset adjustment coefficient is a pre-stored calibration parameter used to adjust the set level of the target bus voltage. The rated voltage is the compressor's rated operating voltage, which is a factory calibration parameter. The frequency and phase of the output voltage at the moment of power failure are latched and saved by the frequency converter control module at the moment of power failure triggering, as the initial electrical reference for the braking process.
[0083] In some embodiments, the target bus voltage calculation module receives three input parameters: rated voltage, preset adjustment coefficient, and current load rate. It obtains the target bus voltage value according to a preset calculation formula. The target bus voltage is the DC bus voltage reference value that needs to be maintained during braking. It is used to constrain the fluctuation range of the bus voltage during braking and to avoid damage to the device due to excessively high voltage or insufficient braking capacity due to excessively low voltage.
[0084] In this embodiment of the application, the target bus voltage V dc F The calculation method is as follows: V dc F= V dcr ×L r ×C F ; in, V dcr This is the rated voltage of the frequency converter. L r The current load factor, C F This is a preset adjustment coefficient.
[0085] In some embodiments, the deceleration step size calculation module receives the current load rate, output frequency, phase, and target bus voltage parameters, and comprehensively calculates the decrease in compressor frequency within each control cycle, i.e., the deceleration step size. The higher the load rate, the smaller the deceleration step size, to avoid rapid deceleration causing a sharp increase in bus voltage. The lower the load rate, the larger the deceleration step size can be, to improve the overall braking speed. After calculating the deceleration step size, the inverter drive module adjusts the frequency of the output drive voltage cycle by cycle, driving the compressor rotor to gradually decelerate and complete the braking process.
[0086] In some embodiments, the calculation of the deceleration step size can incorporate real-time feedback of the bus voltage to form a closed-loop regulation mechanism. The step size is dynamically corrected according to the actual fluctuation of the bus voltage, further improving the smoothness of the braking process. The target bus voltage can also be appropriately corrected according to the ambient temperature to adapt to the withstand voltage characteristics of the bus capacitor and power devices at different temperatures.
[0087] Step 150: When the rotation direction is reversed, control the compressor to brake using the second strategy, which is different from the first strategy.
[0088] Optional, such as Figure 7 As shown, step 150 can also be implemented through steps 151 to 154, specifically as follows: Step 151: When the compressor rotates in reverse, obtain the current load rate, preset time parameters, preset adjustment coefficient, rated voltage, and the frequency and phase of the air conditioning equipment's output voltage when the power is off.
[0089] Step 152: Calculate the waiting time based on the current load rate and preset time parameters.
[0090] Step 153: Calculate the target bus voltage of the air conditioning equipment based on the rated voltage, preset adjustment coefficient, and current load rate.
[0091] Step 154: After the interval waiting time, calculate the deceleration step size based on the current load rate, frequency, phase and target bus voltage, and perform deceleration operation on the compressor according to the deceleration step size.
[0092] Therefore, setting a waiting time before deceleration for reversing operation helps avoid mechanical shock caused by immediate braking and improves the safety and reliability of the reversing and stopping process.
[0093] In some embodiments, when the compressor rotates in reverse, a waiting time needs to be set, and deceleration is performed after buffering to avoid mechanical and electrical shocks caused by direct braking.
[0094] Specifically, in some embodiments, the braking calculation module of the control unit retrieves the required parameters, including the current load rate of the air conditioning equipment, preset time parameters, preset adjustment coefficient, rated voltage, and the frequency and phase of the output voltage of the air conditioning equipment when power is lost. The current load rate, preset adjustment coefficient, rated voltage, output frequency and phase are obtained in the same way as in the forward rotation condition. The preset time parameters are pre-stored calibration parameters used to calculate the waiting time in the reverse rotation condition.
[0095] In some embodiments, the waiting time calculation module receives the current load rate and preset time parameters, calculates the actual waiting time, and the higher the load rate, the longer the corresponding waiting time, and the lower the load rate, the shorter the waiting time, so that the waiting time matches the current rotor inertia and back electromotive force level. During the waiting period, the control unit controls the inverter module to be in a preset transition state, allowing the compressor rotor to slide freely and release part of the reverse rotation inertia. After the back electromotive force has decayed, the deceleration braking is started.
[0096] In this embodiment of the application, the waiting time t b The calculation method is as follows: t b= L r ×t s ; in, L r The current load factor, t s This is a preset time parameter.
[0097] In some embodiments, the target bus voltage is calculated in the same way as in the forward rotation condition, and is obtained by calculating the rated voltage, preset adjustment coefficient and current load rate, and serves as the bus voltage reference for the subsequent deceleration process.
[0098] In some embodiments, after the waiting time ends, the deceleration step size calculation module calculates the deceleration step size based on the current load rate, frequency, phase and target bus voltage, and then the inverter drive module adjusts the output parameters cycle by cycle according to the deceleration step size to perform deceleration operation on the compressor.
[0099] In some embodiments, an energy-consuming braking circuit can be connected during the waiting time to consume part of the rotor kinetic energy through the braking resistor, accelerate the release of inertia, and shorten the overall braking time. Alternatively, the waiting time can be dynamically adjusted according to the real-time detected back EMF amplitude. When the back EMF drops to a preset threshold, the waiting can be ended directly without waiting for a fixed time, further improving the adaptability under different working conditions.
[0100] Optional, such as Figure 8 As shown, steps 143 and 154 can also be implemented through steps 14401 to 14410, specifically as follows: Step 14301: Based on the current load rate, set the compressor's deceleration step size as the first deceleration step size.
[0101] Step 14302: Configure the frequency, phase, and amplitude of the drive voltage output to the compressor based on the frequency, phase, target bus voltage, and first deceleration step size.
[0102] Step 14303: Obtain the current bus voltage of the air conditioning equipment.
[0103] Step 14304: Determine the second deceleration step size based on the bus voltage, and set the compressor's deceleration step size as the second deceleration step size.
[0104] Step 14305: Reacquire the current bus voltage of the air conditioning equipment.
[0105] Step 14306: If the current bus voltage is less than or equal to the first threshold, then maintain the current deceleration step size and continue decelerating.
[0106] Step 14307: If the current bus voltage is greater than the first threshold, adjust the deceleration step size to the third deceleration step size.
[0107] Step 14308: After adjusting the deceleration step size to the third deceleration step size, obtain the current bus voltage of the air conditioning equipment again.
[0108] Step 14309: If the current bus voltage is greater than the second threshold, then the braking stop is determined to have failed.
[0109] Step 14310: If the current bus voltage is less than or equal to the second threshold, continue to perform the deceleration operation.
[0110] In this way, by monitoring the bus voltage in real time and adjusting the deceleration step size in stages, it is easier to prevent braking failure or overvoltage and enhance the robustness of braking under heavy load.
[0111] In this embodiment of the application, during the deceleration process, it is necessary to adjust the step size based on the bus voltage in real time to adapt to the voltage changes during the braking process and improve the braking robustness.
[0112] In some embodiments, when the deceleration process starts, the control unit first sets an initial first deceleration step size according to the current load rate. The first deceleration step size is the reference deceleration rate under the corresponding load rate, which can be obtained by looking up a pre-stored load rate-step size correspondence table or by calculating it through a preset formula, and serves as the initial step size reference for the entire deceleration process.
[0113] In some embodiments, after determining the first deceleration step size, the drive voltage configuration module receives the current output frequency, phase, target bus voltage, and the first deceleration step size, calculates the frequency, phase, and amplitude parameters of the drive voltage to be output in the current control cycle, and transmits the parameters to the inverter drive module. The inverter drive module generates a corresponding pulse width modulation drive signal, controls the on / off timing of the power switching transistors inside the inverter module, and outputs the drive voltage with the corresponding parameters to the compressor.
[0114] In some embodiments, after determining the first deceleration step size, the bus voltage sampling circuit simultaneously collects the current bus voltage of the air conditioning equipment in real time and transmits the sampled data to the step size adjustment module. The step size adjustment module determines the second deceleration step size based on the current bus voltage, updates the compressor's deceleration step size to the second deceleration step size, and completes the first step size matching.
[0115] In some embodiments, after completing the initial step size matching, the control unit re-acquires the current bus voltage and compares it with a first threshold, which is the first warning value of the bus voltage. If the current bus voltage is less than or equal to the first threshold, it indicates that the bus voltage is within the safe range under the current deceleration step size, and the current deceleration step size is maintained to continue deceleration. If the current bus voltage is greater than the first threshold, it indicates that the current deceleration rate is too fast, causing the bus voltage to rise to the warning level, and the deceleration rate needs to be reduced. The deceleration step size is adjusted to a third deceleration step size, which is smaller than the current second deceleration step size, to suppress the continued rise of the bus voltage by slowing down the deceleration speed.
[0116] In some embodiments, after the step size adjustment is completed, the current bus voltage is collected again and compared with the second threshold. The second threshold is the second warning value of the bus voltage, and the value of the second threshold is greater than the first threshold. If the current bus voltage is greater than the second threshold, it means that the bus voltage continues to rise after the step size is reduced, and there is a risk of runaway overvoltage during the braking process. The braking and stopping is determined to be a failure, and the system fault protection mechanism is triggered. If the current bus voltage is less than or equal to the second threshold, it means that the step size adjustment is effective, the bus voltage has been controlled, and the deceleration operation continues.
[0117] In some embodiments, the deceleration step size can be set to more levels to achieve finer step size adjustment. Alternatively, a proportional-integral-derivative closed-loop adjustment method can be adopted to continuously adjust the deceleration step size in real time according to the deviation between the bus voltage and the target value, replacing the graded adjustment mode and further improving the adjustment accuracy.
[0118] In some embodiments, the first threshold and the second threshold are set according to the bus capacitor and the withstand voltage of the power device, with sufficient safety margin reserved. The sampling frequency of the bus voltage is set to be higher than the adjustment frequency of the deceleration step size to ensure that the fluctuation changes of the bus voltage can be captured in a timely manner.
[0119] Optional, such as Figure 9 As shown, steps 143 and 154 can also be implemented through steps 14311 to 14313, specifically as follows: Step 14311: Obtain the current output frequency of the compressor in real time.
[0120] Step 14312: When the current output frequency is less than the preset parking frequency, the braking and parking are determined to be successful, and the drive voltage to the compressor is stopped.
[0121] Step 14313: When the current output frequency is greater than or equal to the preset parking frequency, continue to perform the deceleration operation.
[0122] Therefore, judging the completion of stopping based on the output frequency and cutting off the drive voltage in a timely manner helps to ensure the accuracy of stopping, avoid low-frequency energy consumption, and improve the energy efficiency of the braking process.
[0123] In this embodiment of the application, during the deceleration process, the automatic determination of the parking state can also be realized, and the drive output can be cut off in time after the compressor stops, thereby improving braking accuracy and energy saving.
[0124] The frequency monitoring module of the control unit acquires the current output frequency of the compressor in real time. The current output frequency is the operating frequency of the drive voltage currently output by the inverter module to the compressor. This frequency is proportional to the rotor speed of the compressor; the lower the output frequency, the lower the rotor speed. The frequency monitoring module communicates with the frequency converter control module in real time and directly reads the current output frequency value, eliminating the need for an additional frequency detection circuit.
[0125] The parking determination module compares the current output frequency with the preset parking frequency, which is a pre-stored calibration parameter corresponding to a low-speed state where the compressor rotor is close to stationary. When the current output frequency is less than the preset parking frequency, it means that the compressor rotor has dropped to a state close to zero speed, and the braking and parking are determined to be successful. The parking determination module sends a stop output command to the inverter drive module, controlling the inverter module to turn off all power switching transistors and stop outputting drive voltage to the compressor, thus completing the entire braking and parking process.
[0126] If the current output frequency is greater than or equal to the preset stop frequency, it means that the compressor still has a certain speed and has not yet completed the stop process. Continue to perform deceleration operation and continuously reduce the output frequency until the output frequency drops below the preset stop frequency.
[0127] In some embodiments, the shutdown determination can be combined with the back electromotive force amplitude of the compressor. When the detected winding back electromotive force amplitude is lower than a preset value, it is determined to be a shutdown, avoiding the error of simple frequency determination under low-speed conditions. Alternatively, the position sensor can be used to detect the rotor position change. When the rotor position does not change for a long time, it is determined to be a shutdown, further improving the accuracy of the shutdown determination. For systems without position sensors, the rotor state can also be identified by high-frequency injection method to assist in completing the shutdown determination.
[0128] All of the above technical solutions can be combined in any way to form optional embodiments of this disclosure, and will not be described in detail here.
[0129] The compressor braking method provided in this embodiment detects AC power failure in real time and identifies the current rotation direction of the compressor. Then, it implements targeted braking control based on the rotation difference. This achieves dynamic adjustment of braking torque according to the actual rotation state of the compressor at the moment of power failure, avoiding the blind spot of traditional fixed braking methods for forward and reverse operation. It also takes into account the braking effectiveness of the unit during forward and reverse operation, which facilitates the improvement of the versatility and reliability of power failure protection of the air conditioning system, while reducing equipment cost and performance degradation risk.
[0130] To facilitate better implementation of the compressor braking method of the embodiments of this disclosure, the embodiments of this disclosure also provide a compressor braking device. Please refer to... Figure 10 , Figure 10 A schematic diagram of the braking device of a compressor provided in an embodiment of this disclosure. The braking device 10 of the compressor may include: The first acquisition module 11 is used to acquire the operating status of the compressor; The detection module 12 is used to detect in real time whether the AC power supply has failed when the working state is running. The second acquisition module 13 is used to acquire the current rotation direction of the compressor in the event of an AC power failure. The first braking module 14 is used to control the compressor to brake using a first strategy when the rotation direction is forward. The second braking module 15 is used to control the compressor to brake using a second strategy when the rotation direction is reversed. The first strategy is different from the second strategy.
[0131] Each unit in the braking device of the aforementioned compressor can be implemented entirely or partially through software, hardware, or a combination thereof. These units can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each unit.
[0132] The compressor's braking device 10 can be integrated into a terminal or server that has storage and a processor and thus computing power, or the compressor's braking device 10 can be the terminal or server.
[0133] Optionally, this disclosure also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0134] Figure 11 This is a schematic diagram of the structure of a computer device provided in an embodiment of this disclosure. The computer device may be a terminal or a server. Figure 11As shown, the air conditioning system 100 includes a processor 20 with one or more processing cores, a memory 30 with one or more computer-readable storage media, and a computer program stored on the memory 30 and executable on the processor. The processor 20 is electrically connected to the memory 30. Those skilled in the art will understand that the computer device structure shown in the figures does not constitute a limitation on the computer device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0135] The processor 20 is the control center of the air conditioning system 100. It connects various parts of the air conditioning system 100 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 30, and calling data stored in the memory 30, it executes various functions of the air conditioning system 100 and processes data, thereby performing overall processing of the air conditioning system 100.
[0136] In this embodiment of the disclosure, the processor 20 in the air conditioning system 100 loads the instructions corresponding to the processes of one or more computer programs into the memory 30 according to the following steps, and the processor 20 runs the computer programs stored in the memory 30 to realize various functions: Obtain the operating status of the compressor; When the working status is running, it will detect in real time whether the AC power supply has failed. In the event of a power outage, obtain the current rotation direction of the compressor; When the rotation direction is forward, the compressor is controlled to brake using the first strategy. When the rotation direction is reversed, the compressor is controlled to brake using a second strategy, which is different from the first strategy.
[0137] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0138] This application also provides a computer-readable storage medium for storing a computer program. This computer-readable storage medium can be applied to a computer device, and the computer program causes the computer device to execute the corresponding processes in the compressor braking method of the embodiments of this application; for brevity, these will not be elaborated further here.
[0139] This application also provides a computer program product including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the corresponding process in the compressor braking method of the embodiments of this application. For simplicity, further details are omitted here.
[0140] This application also provides a computer program comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the corresponding process in the compressor braking method of this application; for brevity, further details are omitted here.
[0141] It should be understood that the processor in this application may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method embodiments can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor described above can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.
[0142] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0143] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0144] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0145] In the embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0146] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0147] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0148] In addition, the functional units in this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0149] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer or a server) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
Claims
1. A method for braking a compressor, used in an air conditioning system, characterized in that, The air conditioning system includes a compressor and an AC power supply for the compressor, and the braking method includes: Obtain the operating status of the compressor; When the working state is the running state, it is necessary to detect in real time whether the AC power supply has lost power; In the event of a power outage, the current rotation direction of the compressor is obtained; When the rotation direction is forward, the compressor is controlled to brake using a first strategy; When the rotation direction is reversed, the compressor is controlled to brake using a second strategy, which is different from the first strategy.
2. The braking method according to claim 1, characterized in that, The real-time detection of whether the AC power supply has failed includes Obtain the operating parameters of the air conditioning system, including the input voltage, operating frequency, output current, and load rate calculation coefficient of the air conditioning system, as well as the rated frequency, rated voltage, and rated current of the compressor; The first power failure signal and the second power failure signal are obtained based on the operating parameters. The first power-down signal and the second power-down signal are filtered to generate a filtered signal; When the filtered signal reaches the first preset judgment condition, it is determined that the AC power supply has lost power.
3. The braking method according to claim 2, characterized in that, The step of obtaining the first power-down signal and the second power-down signal based on the operating parameters includes: The zero-crossing point of the input voltage of the air conditioning system is detected and a zero-crossing signal is generated; When the zero-crossing signal undergoes a level transition, the zero-crossing signal is sampled, and a level transition signal is generated; The level transition signal is digitally filtered to obtain a filtered level signal; When the filtered level signal reaches the second preset judgment condition, the first power-down signal is generated.
4. The braking method according to claim 2, characterized in that, The step of obtaining the first power-down signal and the second power-down signal based on the operating parameters includes: Calculate the current load rate of the air conditioning system based on the operating parameters; Calculate the power outage threshold of the air conditioning system based on the current load rate and the rated voltage; Obtain the real-time bus voltage of the air conditioning system; The real-time bus voltage is filtered and the filtered voltage is obtained; When the power-down threshold and the filter voltage reach a third preset determination condition, a second power-down signal is generated, wherein the third preset determination condition is that the filter voltage is less than or equal to the power-down threshold, and the signal lasts for a preset time.
5. The braking method according to claim 1, characterized in that, The step of obtaining the current rotation direction of the compressor includes: Obtain the macro parameters of the air conditioning equipment; If the macro parameter is a forward rotation macro parameter, then the compressor is determined to rotate in the forward direction; otherwise, the compressor is determined to rotate in the reverse direction.
6. The braking method according to claim 1, characterized in that, When the rotation direction is forward, the compressor is controlled to brake using a first strategy, including: When the compressor is rotating in the forward direction, the current load rate, preset adjustment coefficient, rated voltage, and frequency and phase of the output voltage of the air conditioning equipment when power is lost are obtained. Calculate the target bus voltage of the air conditioning equipment based on the rated voltage, the preset adjustment coefficient, and the current load rate; The deceleration step size is calculated based on the current load rate, the frequency, the phase, and the target bus voltage, and the compressor is decelerated according to the deceleration step size.
7. The braking method according to claim 1, characterized in that, When the rotation direction is reversed, the compressor is controlled to brake using a second strategy, including: When the compressor rotates in reverse, the current load rate, preset time parameters, preset adjustment coefficient, rated voltage, and frequency and phase of the output voltage of the air conditioning equipment when power is off are obtained. Calculate the waiting time based on the current load rate and the preset time parameter; Calculate the target bus voltage of the air conditioning equipment based on the rated voltage, the preset adjustment coefficient, and the current load rate; After the waiting time, the deceleration step size is calculated based on the current load rate, the frequency, the phase, and the target bus voltage, and the compressor is decelerated according to the deceleration step size.
8. The braking method according to claim 6 or 7, characterized in that, The step of calculating the deceleration step size based on the current load rate, the frequency, the phase, and the target bus voltage, and performing a deceleration operation on the compressor according to the deceleration step size, includes: Based on the current load rate, the deceleration step size of the compressor is set as the first deceleration step size; Based on the frequency, the phase, the target bus voltage, and the first deceleration step size, configure the frequency, phase, and amplitude of the drive voltage output to the compressor; Obtain the current bus voltage of the air conditioning equipment; The second deceleration step size is determined based on the bus voltage, and the deceleration step size of the compressor is set as the second deceleration step size; Reacquire the current bus voltage of the air conditioning equipment; If the current bus voltage is less than or equal to the first threshold, then maintain the current deceleration step size and continue decelerating; If the current bus voltage is greater than the first threshold, the deceleration step size is adjusted to the third deceleration step size; After the deceleration step size is adjusted to the third deceleration step size, the current bus voltage of the air conditioning equipment is obtained again. If the current bus voltage is greater than the second threshold, then braking and stopping are determined to have failed. If the current bus voltage is less than or equal to the second threshold, the deceleration operation continues.
9. The braking method according to claim 8, characterized in that, The step of calculating the deceleration step size based on the current load rate, the frequency, the phase, and the target bus voltage, and performing a deceleration operation on the compressor based on the deceleration step size, further includes: The current output frequency of the compressor is obtained in real time; When the current output frequency is less than the preset parking frequency, the braking stop is determined to be successful, and the control stops outputting the drive voltage to the compressor. When the current output frequency is greater than or equal to the preset parking frequency, the deceleration operation continues.
10. A braking device for a compressor, used in an air conditioning system, characterized in that, The air conditioning system includes a compressor and an AC power supply for the compressor, and the braking device includes: The first acquisition module is used to acquire the operating status of the compressor; The detection module is used to detect in real time whether the AC power supply has lost power when the working state is the running state; The second acquisition module is used to acquire the current rotation direction of the compressor when the AC power supply fails. The first braking module is used to control the compressor to brake using a first strategy when the rotation direction is forward. The second braking module is used to control the compressor to brake with a second strategy when the rotation direction is reversed, the first strategy being different from the second strategy.
11. An air conditioning system, characterized in that, It includes a processor and a memory, the memory storing a computer program that, when executed by the processor, causes the processor to implement the instructions of the braking method as described in any one of claims 1-9.
12. A non-volatile computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the braking method as described in any one of claims 1-9.
