A method, apparatus, computer equipment, and storage medium for stopping a compressor.
By determining the duration of the trough bus voltage before the high-efficiency compressor stops, the overvoltage protection problem caused by back electromotive force voltage is solved, protecting the device and maintaining the normal operation of the air conditioner.
Patent Information
- Application Number
- CN202210893537.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-27
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-07-27
AI Technical Summary
High-efficiency compressors generate high back electromotive force voltage when shutting down, causing the bus voltage to rise, frequently triggering overvoltage protection, damaging control board components and affecting the normal operation of the air conditioner.
By obtaining the compressor's bus voltage value and its changing relationship, the waiting time required for the trough bus voltage is determined, and the compressor is shut down after this time to avoid overvoltage protection caused by the superposition of back electromotive force voltage.
This effectively avoids damage to the control board components from high voltage surges, ensures the normal operation of the air conditioner, and reduces the frequent triggering of overvoltage protection.
Smart Images

Figure CN115199520B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of compressor technology, and specifically to a compressor shutdown method, apparatus, computer equipment, and storage medium. Background Technology
[0002] When an air conditioner compressor stops, it generates a back electromotive force (EMF). The voltage value of the back EMF is related to the operating frequency of the compressor. The higher the operating frequency of the compressor, the higher the voltage value of the back EMF generated. Currently, with the promulgation of the new national energy efficiency standards, air conditioner manufacturers are adopting high-efficiency compressors to pursue higher energy efficiency. However, the permanent magnet materials and coils used in high-efficiency compressors are different from those in ordinary compressors. At the same operating frequency, the voltage value of the back EMF generated by a high-efficiency compressor is higher than that generated by an ordinary compressor.
[0003] To protect the components on the air conditioner control board from damage caused by continuous high voltage surges, an overvoltage protection mechanism is typically installed on the air conditioner. When the detected bus voltage exceeds a set threshold, protection is activated by disconnecting the bus voltage. Since the compressor generates back electromotive force when it stops, the voltage value of the back electromotive force is superimposed on the bus voltage when it stops, causing the bus voltage to rise significantly. As a result, the compressor is prone to triggering overvoltage protection when it stops, especially for compressors with high operating frequency or high energy efficiency.
[0004] Although an overvoltage protection mechanism exists to prevent the components on the control board from being subjected to continuous high voltage surges, triggering overvoltage protection indicates the presence of a momentary high voltage. This momentary high voltage can have a shock effect on the components. When overvoltage protection is frequently triggered due to compressor shutdown, it can still cause damage to the components due to the momentary high voltage surge. In addition, overvoltage protection disconnects the bus voltage, thus rendering other functions of the air conditioner unusable. When overvoltage protection is frequently triggered due to compressor shutdown, it will seriously affect the normal operation of the air conditioner. Summary of the Invention
[0005] In view of the shortcomings of the prior art, the present invention provides a compressor shutdown method, apparatus, computer equipment and storage medium.
[0006] In one embodiment, the present invention provides a compressor shutdown method, comprising:
[0007] In response to a compressor shutdown command, obtain the current bus voltage value of the target compressor;
[0008] Based on the current bus voltage value and the preset bus voltage change relationship, determine the first waiting time required to reach the trough bus voltage value of the target compressor; the bus voltage change relationship characterizes the relationship between the bus voltage amplitude of the target compressor and the bus voltage charge and discharge cycle.
[0009] The target compressor is controlled to continue running for a first waiting period before being shut down.
[0010] In one embodiment, prior to the step of obtaining the current bus voltage value of the target compressor, the compressor shutdown method further includes:
[0011] Obtain the current operating frequency of the target compressor;
[0012] If the current operating frequency is not less than the preset operating frequency, then proceed to the step of obtaining the current bus voltage value of the target compressor;
[0013] If the current operating frequency is lower than the preset operating frequency, the target compressor will be stopped immediately.
[0014] In one embodiment, the first waiting time required to reach the trough bus voltage value of the target compressor is determined based on the current bus voltage value and a preset bus voltage change relationship, including:
[0015] Determine the voltage change trend of the current bus voltage value; the voltage change trend includes both upward and downward trends;
[0016] Based on the current bus voltage value, voltage change trend, and bus voltage change relationship, determine the first waiting time required to reach the trough bus voltage value of the target compressor.
[0017] In one embodiment, the first waiting time required to reach the trough bus voltage value of the target compressor is determined based on the current bus voltage value, voltage change trend, and bus voltage change relationship, including:
[0018] Based on the current bus voltage value and the relationship between the bus voltage changes, at least one first time set corresponding to the current bus voltage value is determined; for each first time set, each first time in the first time set is periodically spaced according to the bus voltage charging and discharging cycle;
[0019] Based on the voltage change trend, determine at least one target first time set in the first time set;
[0020] Based on the relationship between the trough bus voltage value and the bus voltage change, a second time set corresponding to the trough bus voltage value is determined; each second time in the second time set is periodically spaced according to the bus voltage charging and discharging cycle.
[0021] Based on the first and second time sets of the target, determine the first waiting time required to reach the trough bus voltage value of the target compressor.
[0022] In one embodiment, determining the first waiting time required to reach the trough bus voltage value of the target compressor based on the target first time set and second time set includes:
[0023] The smallest first time in the target first time set is determined as the target first time corresponding to the current bus voltage value;
[0024] The second time in the second time set that is not less than the target first time is defined as the intermediate second time set;
[0025] The smallest second time in the intermediate second time set is determined as the target second time;
[0026] Based on the first target time and the second target time, determine the first waiting time required to reach the trough bus voltage value of the target compressor.
[0027] In one embodiment, after the step of responding to the compressor shutdown command, the compressor shutdown method further includes:
[0028] Obtain the bus protection voltage value of the target compressor and the back electromotive force voltage value corresponding to the current operating frequency;
[0029] The target bus voltage value of the target compressor is determined based on the voltage difference between the bus protection voltage value and the back electromotive force voltage value.
[0030] Obtain the current bus voltage value of the target compressor;
[0031] Based on the current bus voltage value and the preset bus voltage change relationship, the second waiting time required to reach the target bus voltage value of the target compressor is determined; the bus voltage change relationship characterizes the relationship between the bus voltage amplitude of the target compressor and the bus voltage charge and discharge cycle.
[0032] The target compressor will continue to run for a second waiting period before being shut down.
[0033] In one embodiment, prior to the step of determining the target bus voltage value of the target compressor based on the voltage difference between the bus protection voltage value and the back electromotive force voltage value, the compressor shutdown method further includes:
[0034] Determine the voltage difference between the bus protection voltage and the back electromotive force voltage;
[0035] If the voltage difference is not greater than the peak bus voltage of the target compressor, then the step of determining the target bus voltage of the target compressor based on the voltage difference between the bus protection voltage and the back electromotive force voltage is executed.
[0036] If the voltage difference is greater than the peak bus voltage of the target compressor, the target compressor will be shut down immediately.
[0037] In a second aspect, in one embodiment, the present invention provides a compressor shutdown device, comprising:
[0038] The voltage acquisition module is used to acquire the current bus voltage value of the target compressor in response to the compressor stop command;
[0039] The time determination module is used to determine the first waiting time required to reach the trough bus voltage value of the target compressor based on the current bus voltage value and the preset bus voltage change relationship; the bus voltage change relationship characterizes the relationship between the bus voltage amplitude of the target compressor and the bus voltage charge and discharge cycle.
[0040] The shutdown control module is used to control the target compressor to continue running for a first waiting period before shutting it down.
[0041] Thirdly, in one embodiment, the present invention provides a computer device including a memory and a processor; the memory stores a computer program, and the processor is configured to run the computer program in the memory to perform the steps in the compressor shutdown method of any of the above embodiments.
[0042] Fourthly, in one embodiment, the present invention provides a storage medium storing a computer program that is loaded by a processor to perform the steps in the compressor shutdown method of any of the above embodiments.
[0043] By utilizing the compressor shutdown method, device, computer equipment, and storage medium described above, and taking advantage of the periodic variation of the bus voltage, when the compressor needs to be shut down, the first waiting time required to reach the trough bus voltage value of the target compressor is determined based on the current bus voltage value and the relationship between the bus voltage variation. That is, after the first waiting time, the bus voltage will reach its lowest value, and then the compressor will be shut down at that time. Since the bus voltage is at its lowest value when the compressor is shut down, the voltage value of the back electromotive force generated by the shutdown is unlikely to trigger overvoltage protection. This not only avoids damage to the components on the control board due to frequent high voltage surges, but also does not affect the normal operation of the air conditioner. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 This is a schematic diagram illustrating an application scenario of the compressor shutdown method in one embodiment of the present invention;
[0046] Figure 2 This is a schematic diagram of the internal structure of a computer device according to one embodiment of the present invention;
[0047] Figure 3 This is a flowchart illustrating a compressor shutdown method in one embodiment of the present invention;
[0048] Figure 4 This is a schematic diagram of the sampling circuit in one embodiment of the present invention;
[0049] Figure 5 This is a schematic diagram of the compressor shutdown device in one embodiment of the present invention. Detailed Implementation
[0050] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0051] In the description of this invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified. In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. In the following description, details are set forth for illustrative purposes. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid unnecessarily obscuring the description of the invention. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0052] The compressor shutdown method in this embodiment of the invention is applied to a compressor shutdown device, which is installed on a computer device. The computer device can be a terminal, such as a mobile phone or a tablet computer, or it can be a server or a service cluster composed of multiple servers.
[0053] like Figure 1 As shown, Figure 1 This is a schematic diagram of an application scenario of the compressor shutdown method in an embodiment of the present invention. The application scenario of the compressor shutdown method in this embodiment of the present invention includes a computer device 100 (the computer device 100 integrates a compressor shutdown device), and a computer-readable storage medium corresponding to the compressor shutdown method is running in the computer device 100 to execute the steps of the compressor shutdown method.
[0054] Understandable, Figure 1 The computer equipment in the application scenario of the compressor shutdown method shown, or the devices contained in the computer equipment, do not constitute a limitation on the embodiments of the present invention. That is, the number or type of equipment in the application scenario of the compressor shutdown method, or the number or type of devices contained in each equipment, do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be considered as equivalent substitutions or derivatives of the technical solutions claimed in the embodiments of the present invention.
[0055] In this embodiment of the invention, the computer device 100 can be an independent device, or a network of devices or a cluster of devices. For example, the computer device 100 described in this embodiment of the invention includes, but is not limited to, a computer, a network host, a single network device, a set of multiple network devices, or a cloud device composed of multiple devices. The cloud device consists of a large number of computers or network devices based on cloud computing.
[0056] Those skilled in the art will understand that Figure 1 The application scenarios shown are merely one example corresponding to the technical solution of this invention and do not constitute a limitation on the application scenarios of the technical solution of this invention. Other application scenarios may include more than one example. Figure 1 The more or fewer computer devices shown, or the network connections of the computer devices, for example Figure 1 Only one computer device is shown in the diagram. It is understood that the scenario of the compressor shutdown method may also include one or more other computer devices, which are not specifically limited here. The computer device 100 may also include a memory for storing information related to the compressor shutdown method.
[0057] Furthermore, in the application scenario of the compressor shutdown method in this embodiment of the invention, the computer device 100 may be equipped with a display device, or the computer device 100 may not have a display device but may be communicatively connected to an external display device 200. The display device 200 is used to output the result of the compressor shutdown method executed in the computer device. The computer device 100 may access a background database 300 (the background database 300 may be the local storage of the computer device 100, or it may be located in the cloud), and the background database 300 stores information related to the compressor shutdown method.
[0058] It should be noted that, Figure 1 The application scenario of the compressor shutdown method shown is merely an example. The application scenario of the compressor shutdown method described in the embodiments of the present invention is to more clearly illustrate the technical solution of the embodiments of the present invention, and does not constitute a limitation on the technical solution provided by the embodiments of the present invention.
[0059] like Figure 2 As shown, it illustrates the structure of the computer device involved in this invention, specifically:
[0060] The computer device may include components such as a processor 201 with one or more processing cores, a memory 202 with one or more computer-readable storage media, a power supply 203, and an input unit 204. Those skilled in the art will understand that... Figure 2The structure of the computer device shown 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. Wherein:
[0061] The processor 201 is the control center of the computer device. It connects various parts of the computer device via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory 202, and by calling data stored in the memory 202, thereby providing overall monitoring of the computer device. Optionally, the processor 201 may include one or more processing cores; preferably, the processor 201 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and computer programs, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 201.
[0062] The memory 202 can be used to store software programs and modules. The processor 201 executes various functional applications and data processing by running the software programs and modules stored in the memory 202. The memory 202 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, computer programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the server, etc. In addition, the memory 202 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 202 may also include a memory controller to provide the processor 201 with access to the memory 202.
[0063] The computer equipment also includes a power supply 203 that supplies power to the various components. Preferably, the power supply 203 can be logically connected to the processor 201 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 203 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0064] The computer device may also include an input unit 204, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0065] Based on the application scenarios of the compressor shutdown method described above, an embodiment of the compressor shutdown method is proposed.
[0066] Firstly, such as Figure 3 As shown, in one embodiment, the present invention provides a compressor shutdown method, comprising:
[0067] Step 301: In response to the compressor shutdown command, obtain the current bus voltage value of the target compressor;
[0068] Among them, the compressor stop command can be a manual stop command input by the user, or it can be a trigger command generated by the compressor according to the set judgment logic. For example, the set judgment logic indicates that the compressor needs to stop after completing a certain function or working for a certain period of time. When the compressor meets the requirements of the judgment logic, it will generate a corresponding trigger command as a stop command request to stop.
[0069] The bus voltage is the AC power input to the compressor. Its voltage value changes in real time, changing in a sinusoidal or cosine function (i.e., the bus voltage change relationship). Therefore, it is necessary to obtain the current bus voltage value in order to determine the first waiting time required for shutdown.
[0070] The current bus voltage value can be obtained through a corresponding sampling circuit, such as... Figure 4 As shown, V-AC is the bus voltage. Resistors R1 and R2 are used to divide the bus voltage V-AC (because the operating voltage of the MCU (Microcontroller Unit) is relatively small, while the bus voltage is relatively large, a small voltage must be output to the MCU through voltage division to avoid damage to the MCU and causing it to malfunction). The voltage divided by resistor R2 is input to the MCU. The MCU determines the current bus voltage value based on the received voltage and the voltage division relationship between resistors R1 and R2.
[0071] Step 302: Based on the current bus voltage value and the preset bus voltage change relationship, determine the first waiting time required to reach the trough bus voltage value of the target compressor;
[0072] Among them, the bus voltage variation relationship characterizes the relationship between the amplitude of the target compressor's bus voltage and the bus voltage charge / discharge cycle; the bus voltage variation relationship can be expressed as U = U 平均 +ΔUcos[(2π / T)t], where U 平均 ΔU is the average (median) value of the peak bus voltage and the trough bus voltage (i.e., the range of bus voltage amplitude), T is the charging and discharging period of the bus voltage, and ΔU is the U... 平均 The absolute value of the difference between the peak bus voltage value and the trough bus voltage value;
[0073] Since the bus voltage is an externally input AC power, its variation does not change with the compressor's operating state. Therefore, it can be predetermined and stored locally. When the compressor needs to be stopped, it can be read directly from the local storage.
[0074] Since the relationship between bus voltage changes is fixed, when the current bus voltage value is obtained, the current bus voltage value and the corresponding trough bus voltage value can be substituted into the relationship between bus voltage changes to obtain the duration between the trough bus voltage value and the current bus voltage value, which is the first waiting duration.
[0075] Step 303: Control the target compressor to continue running for the first waiting time and then shut it down;
[0076] Since the trough bus voltage is the lowest bus voltage, and the back EMF voltage generated by the compressor shutdown remains constant (when the operating frequency is constant; and the operating frequency usually only changes due to changes in functional requirements, and this change is not frequent, therefore, relatively speaking, the back EMF voltage generated by the compressor shutdown will not change during a shutdown process), the total bus voltage obtained by adding the back EMF voltage value when shutting down at the trough bus voltage is the minimum, making it less likely to reach the bus protection voltage value and thus less likely to trigger overvoltage protection. For example, if the back EMF voltage generated when the target compressor shuts down is 38V, and the bus voltage amplitude range is 370-390V, and the bus protection voltage is 420V, then the trough bus voltage value can be determined to be 370V. The total bus voltage value obtained by adding the trough bus voltage value and the back EMF voltage value is the minimum. The line voltage is 408V, which is significantly lower than the bus protection voltage, so overvoltage protection will not be triggered. If the shutdown is not controlled at the trough bus voltage of 370V, for example, if the shutdown happens to be at 390V, the total bus voltage after aggregation will be 428V, which is significantly higher than the bus protection voltage and will trigger overvoltage protection. In this example, it can be clearly seen that in addition to the trough bus voltage, there are other bus voltage values that will not trigger overvoltage protection when shutting down, such as 375V and 380V. However, since the trough bus voltage is the lowest limit that this solution can adjust, as long as the shutdown is ensured at the trough bus voltage, there is no need to consider the magnitude of the back EMF voltage. Each control only needs to obtain the current bus voltage value, making the control logic simpler. Furthermore, since voltage jumps can occur, this method can allow for jumps, making the control more reliable.
[0077] The first waiting time for controlling the target compressor to continue running can be achieved through a corresponding timer. For example, after determining the first waiting time, a timing command is sent to the timer to start it. When the timer reaches the first waiting time, an interrupt command is fed back, thereby controlling the target compressor to stop according to the interrupt command.
[0078] By utilizing the periodic variation of the bus voltage, the compressor shutdown method described above determines the first waiting time required to reach the trough bus voltage value of the target compressor when the compressor needs to be shut down, based on the current bus voltage value and the relationship between the bus voltage variation and the current value. After the first waiting time, the bus voltage will reach its lowest value, and the compressor will be shut down at that time. Since the bus voltage is at its lowest value when the compressor is shut down, the voltage value of the back electromotive force generated by the shutdown is unlikely to trigger overvoltage protection. This not only avoids damage to the components on the control board due to frequent high voltage surges, but also does not affect the normal operation of the air conditioner.
[0079] In one embodiment, prior to the step of obtaining the current bus voltage value of the target compressor, the compressor shutdown method further includes:
[0080] Obtain the current operating frequency of the target compressor;
[0081] Among them, the operating frequency of the target compressor and the back electromotive force voltage value generated when it stops are positively correlated. The higher the operating frequency, the higher the back electromotive force voltage value. In addition, at least for the same compressor, the mapping relationship between its operating frequency and back electromotive force voltage value is fixed. Therefore, a corresponding mapping relationship table for operating frequency and back electromotive force voltage value can be established in advance and stored locally. When needed, it can be directly read from the local storage.
[0082] The purpose of controlling the shutdown of the target compressor in this application is to ensure that the total bus voltage value after the back electromotive force voltage value generated during shutdown and the bus voltage value at the time of shutdown will not trigger overvoltage protection. Therefore, when the current operating frequency of the target compressor is too low, that is, the total bus voltage value after the back electromotive force voltage value that can be generated and the bus voltage value at the time of shutdown cannot trigger overvoltage protection, that is, the total bus voltage value after the back electromotive force voltage value and the peak voltage value are still lower than the bus protection voltage value. The target compressor does not need to run until the time corresponding to the trough bus voltage value before shutdown, and can be shut down immediately.
[0083] If the current operating frequency is not less than the preset operating frequency, then proceed to the step of obtaining the current bus voltage value of the target compressor;
[0084] As can be seen from the above analysis, the total bus voltage value after superimposing the back EMF voltage value and the peak voltage value corresponding to the preset operating frequency is less than the bus protection voltage value. Furthermore, considering the voltage jump situation, the preset operating frequency can be further reduced. That is, the total bus voltage value after superimposing the back EMF voltage value and the peak voltage value corresponding to the preset operating frequency is not only less than the bus protection voltage value, but also less than a certain extent. Therefore, when the current operating frequency is not less than the preset operating frequency, it indicates that the superimposed total bus voltage value may trigger overvoltage protection, and the above steps need to be performed to control the target compressor to shut down at the time corresponding to the trough bus voltage value.
[0085] If the current operating frequency is lower than the preset operating frequency, the target compressor will be stopped immediately.
[0086] Similarly, when the current operating frequency is less than the preset operating frequency, it means that the superimposed total bus voltage value is unlikely to trigger overvoltage protection. Therefore, there is no need to perform the above steps to control the target compressor to stop at the time corresponding to the trough bus voltage value, and it can be stopped directly.
[0087] In this embodiment, by combining the preset mapping relationship between operating frequency and back EMF voltage value, the mapping relationship between the current operating frequency and whether overvoltage protection is triggered can be directly determined. Since the current operating frequency of the target compressor can be directly obtained, after obtaining the current operating frequency, the judgment can be made directly based on the mapping relationship between the current operating frequency and whether overvoltage protection is triggered, without having to convert it to the judgment of back EMF voltage value. Of course, in other embodiments, the back EMF voltage value corresponding to the current operating frequency can be determined first based on the preset mapping relationship between operating frequency and back EMF voltage value, and then the obtained back EMF voltage value can be judged.
[0088] By judging the current operating frequency, if the current operating frequency is lower than the preset operating frequency, there is no need to perform the above steps, and the machine can be stopped immediately, saving processing resources and improving the shutdown speed.
[0089] In one embodiment, the first waiting time required to reach the trough bus voltage value of the target compressor is determined based on the current bus voltage value and a preset bus voltage change relationship, including:
[0090] Determine the voltage change trend of the current bus voltage value;
[0091] The voltage change trend includes both an upward trend and a downward trend;
[0092] As mentioned above, the bus voltage changes periodically, meaning the bus voltage variation relationship follows a sine or cosine function. When the current bus voltage value is substituted into the bus voltage variation relationship, the resulting time may fall into two categories: two symmetrical times corresponding to the peak or trough bus voltage values. For example, if the bus voltage variation relationship is U = 380 + 10cos100πt, and the current bus voltage value is 375V, substituting it into the bus voltage variation relationship will yield two times: t1 = 1 / 150s and t2 = 1 / 75s. Subsequent calculations based on these two times will result in different first waiting times, and only one of these first waiting times is accurate. Therefore, it is necessary to determine which of these two times is the actual one.
[0093] The voltage change trend can be realized through the sampling circuit mentioned above. For example, after acquiring the current bus voltage value, the bus voltage value at the next time interval is acquired (the time interval only needs to be very small, such as 1μs). The voltage change trend of the current bus voltage value can be determined based on the two acquired bus voltage values. Taking the above example, if the determined voltage change trend is a downward trend, then t1 can be determined as the actual time.
[0094] Based on the current bus voltage value, voltage change trend, and bus voltage change relationship, determine the first waiting time required to reach the trough bus voltage value of the target compressor;
[0095] As mentioned above, the actual time corresponding to the current bus voltage value can be determined based on the voltage change trend. Since the trough bus voltage value is located at a symmetrical point, it has only one time, thus enabling the accurate first waiting time to be obtained.
[0096] Specifically, after determining the actual time corresponding to the current bus voltage value, this time can be reset to zero, and then the parameters of the bus voltage change relationship can be adjusted (mainly adjusting its phase) to obtain the corresponding target bus voltage change relationship; for example, if the determined time is t1 = 1 / 150s, then the target bus voltage change relationship U = 380 + 10cos(100πt + 2π / 3) can be obtained based on t1. In this way, the trough bus voltage value is substituted into the target bus voltage change relationship to obtain the time corresponding to the trough bus voltage value, and this time can be directly used as the first waiting time.
[0097] It should be noted that if the current bus voltage value is exactly the trough bus voltage value or the peak bus voltage value, there is no need to further judge its voltage change trend.
[0098] In one embodiment, the first waiting time required to reach the trough bus voltage value of the target compressor is determined based on the current bus voltage value, voltage change trend, and bus voltage change relationship, including:
[0099] Based on the current bus voltage value and the relationship between the bus voltage changes, at least one first time set corresponding to the current bus voltage value is determined;
[0100] For each first time set, the first time intervals within that set are arranged according to the same periodic intervals as the bus voltage charging and discharging cycle. For example, if the bus voltage change relationship is U = 380 + 10cos100πt, and the current bus voltage value is 375V, substituting it into the bus voltage change relationship will yield two first time sets: t1 = 1 / 150 + 0.02Ns and t2 = 1 / 75 + 0.02Ns, where N is an integer. It should be noted that if the current bus voltage value is 370V (i.e., the trough bus voltage value), then only the first time set t = 1 / 100 + 0.02Ns will be obtained. Similarly, if the current bus voltage value is 390V (i.e., the peak bus voltage value), then only the first time set t = 0.02Ns will be obtained.
[0101] Based on the voltage change trend, determine at least one target first time set in the first time set;
[0102] If the determined voltage change trend is a downward trend, then the first time set t1 is the target first time set;
[0103] Based on the relationship between the trough bus voltage value and the bus voltage change, the second time set corresponding to the trough bus voltage value is determined;
[0104] Among them, each second time in the second time set is periodically spaced according to the bus voltage charging and discharging cycle; similarly, substituting the trough bus voltage value into the bus voltage change relationship, we will get a second time set of t3 = 1 / 100 + 0.02Ns;
[0105] Based on the first and second time sets of the target, determine the first waiting time required to reach the trough bus voltage value of the target compressor;
[0106] In practice, the second time cannot be earlier than the first time. Therefore, the required first waiting time a can be obtained by a = t3 - t1 (a ≥ 0); a can be in multiple cases.
[0107] In one embodiment, determining the first waiting time required to reach the trough bus voltage value of the target compressor based on the target first time set and second time set includes:
[0108] The smallest first time in the target first time set is determined as the target first time corresponding to the current bus voltage value;
[0109] It should be noted that since the first time in the target first time set extends infinitely along both ends of the time axis, in this embodiment, when determining the minimum first time, corresponding restrictions can be set. For example, in this embodiment, a restriction condition that the first time is not less than 0 can be set. If the target first time set is t1 = 1 / 150 + 0.02Ns, then T1 = 1 / 150s can be determined as the target first time.
[0110] The second time in the second time set that is not less than the target first time is defined as the intermediate second time set;
[0111] As mentioned above, the second time cannot be less than the first time. Therefore, it is necessary to exclude the second times in the second time set that are less than the target first time and determine the remaining second times as the intermediate second time set. If the second time set is t3 = 1 / 100 + 0.02Ns, then the intermediate time set t4 = 1 / 100 + 0.02N1s can be determined based on the target first time T1, where N1 is a natural number.
[0112] The smallest second time in the intermediate second time set is determined as the target second time;
[0113] Among them, T2 = 1 / 100s can be determined as the second time of the target;
[0114] Based on the first target time and the second target time, determine the first waiting time required to reach the trough bus voltage value of the target compressor;
[0115] The first waiting time a1 = 1 / 100 - 1 / 150 = 1 / 600s.
[0116] By determining the second time in the second time set that is not less than the target first time as the intermediate second time set, and then determining the smallest second time in the intermediate second time set as the target second time, the first waiting time of the system is guaranteed to be within one bus voltage charging and discharging cycle, thus greatly improving the speed of shutdown.
[0117] In one embodiment, after the step of responding to the compressor shutdown command, the compressor shutdown method further includes:
[0118] Obtain the bus protection voltage value of the target compressor and the back electromotive force voltage value corresponding to the current operating frequency;
[0119] As mentioned above, in addition to the trough bus voltage value, there are other bus voltage values that will not trigger overvoltage protection during shutdown. When voltage jumps are ignored, these bus voltage values can also be used as the bus voltage values when the target compressor is shut down. Since the condition for not triggering overvoltage protection is that the total bus voltage value after superposition is less than the bus protection voltage value, it is necessary to obtain the back electromotive force voltage value generated by the target compressor when it is shut down, so that the required bus voltage value for shutdown can be determined based on the back electromotive force voltage value.
[0120] The target bus voltage value of the target compressor is determined based on the voltage difference between the bus protection voltage value and the back electromotive force voltage value.
[0121] The voltage difference between the bus protection voltage and the back electromotive force voltage can be understood as the maximum allowable bus voltage value during shutdown without triggering overvoltage protection. Therefore, the target bus voltage value for the corresponding target compressor can be obtained based on this voltage difference. Under normal circumstances, i.e., without considering voltage fluctuations, the determined target bus voltage value only needs to be slightly less than this voltage difference. Of course, in other embodiments, the second difference between this voltage difference and the target bus voltage value can be further made greater than a preset voltage value, thereby ensuring that voltage fluctuations are permissible.
[0122] Obtain the current bus voltage value of the target compressor;
[0123] Based on the current bus voltage value and the preset bus voltage change relationship, the second waiting time required to reach the target bus voltage value of the target compressor is determined; the bus voltage change relationship characterizes the relationship between the bus voltage amplitude of the target compressor and the bus voltage charge and discharge cycle.
[0124] The target compressor is controlled to continue running for a second waiting period before being shut down.
[0125] The process involves obtaining the current bus voltage value, determining the second waiting time required to reach the target bus voltage value of the target compressor, and then shutting down the compressor based on the second waiting time. The specific principles and details of these steps can be found in the description of the trough bus voltage value in the above embodiment. In this embodiment, these steps are simply replaced with the determined target bus voltage value.
[0126] The target bus voltage value is determined by the voltage difference between the back electromotive force voltage value and the bus protection voltage value, and shutdown control is performed based on the target bus voltage value. It is not necessary to shut down at the time corresponding to the trough bus voltage value. Shutdown can be performed at the time between the current bus voltage value and the target bus voltage value, which further improves the shutdown speed.
[0127] In one embodiment, prior to the step of determining the target bus voltage value of the target compressor based on the voltage difference between the bus protection voltage value and the back electromotive force voltage value, the compressor shutdown method further includes:
[0128] Determine the voltage difference between the bus protection voltage and the back electromotive force voltage;
[0129] If the voltage difference is not greater than the peak bus voltage of the target compressor, then the step of determining the target bus voltage of the target compressor based on the voltage difference between the bus protection voltage and the back electromotive force voltage is executed.
[0130] If the voltage difference is greater than the peak bus voltage of the target compressor, the target compressor will be shut down immediately.
[0131] As mentioned above, the need to execute corresponding shutdown control steps can be determined based on the current operating frequency or the corresponding back EMF voltage value. In this embodiment, if the determined voltage difference is not greater than the peak bus voltage value of the target compressor, it means that overvoltage protection will be triggered at least when the shutdown is performed at the peak bus voltage value, and therefore the corresponding shutdown control steps need to be executed. Similarly, if the determined voltage difference is greater than the peak bus voltage value of the target compressor, it means that overvoltage protection will not be triggered even when the shutdown is performed at the peak bus voltage value, and therefore the corresponding shutdown control steps do not need to be executed, and the compressor can be shut down immediately.
[0132] It should be noted that the voltage difference judgment criterion and corresponding execution logic in this embodiment are based on the general case of the target compressor, i.e., without considering voltage jumps; in other embodiments, a preset voltage value can be further set, and the corresponding judgment logic can be determined based on the preset voltage value, i.e.:
[0133] If the second difference between the voltage difference and the peak bus voltage of the target compressor is not less than the preset voltage value, then the step of determining the target bus voltage value of the target compressor based on the voltage difference between the bus protection voltage value and the back electromotive force voltage value is executed; if the second difference between the voltage difference and the peak bus voltage of the target compressor is less than the preset voltage value, then the target compressor is controlled to stop immediately; thereby ensuring that voltage jumps are allowed.
[0134] Secondly, such as Figure 5 As shown, in one embodiment, the present invention provides a compressor shutdown device, comprising:
[0135] The first voltage acquisition module 501 is used to acquire the current bus voltage value of the target compressor in response to the compressor shutdown command;
[0136] The first-time determination module 502 is used to determine the first waiting time required to reach the trough bus voltage value of the target compressor based on the current bus voltage value and the preset bus voltage change relationship; the bus voltage change relationship characterizes the relationship between the bus voltage amplitude of the target compressor and the bus voltage charge and discharge cycle.
[0137] The first shutdown control module 503 is used to control the target compressor to continue running for a first waiting period before shutting it down.
[0138] By utilizing the periodic variation of the bus voltage through the aforementioned compressor shutdown device, when the compressor needs to be shut down, the first waiting time required to reach the trough bus voltage value of the target compressor is determined based on the current bus voltage value and the relationship between the bus voltage variation. That is, after the first waiting time, the bus voltage will reach its lowest value, and then the compressor will be shut down at that time. Since the bus voltage is at its lowest value when the compressor is shut down, the voltage value of the back electromotive force generated by the shutdown is unlikely to trigger overvoltage protection. This not only avoids damage to the components on the control board due to frequent high voltage surges, but also does not affect the normal operation of the air conditioner.
[0139] In one embodiment, the compressor shutdown device further includes:
[0140] The frequency acquisition module is used to acquire the current operating frequency of the target compressor before acquiring the current bus voltage value of the target compressor; if the current operating frequency is not less than the preset operating frequency, the step of acquiring the current bus voltage value of the target compressor is executed; if the current operating frequency is less than the preset operating frequency, the target compressor is controlled to stop immediately.
[0141] In one embodiment, the first-time determination module is specifically used to determine the voltage change trend of the current bus voltage value; the voltage change trend includes an upward trend and a downward trend; based on the current bus voltage value, the voltage change trend and the relationship between the bus voltage changes, the first waiting time required to reach the trough bus voltage value of the target compressor is determined.
[0142] In one embodiment, the first time determination module is specifically used to determine at least one first time set corresponding to the current bus voltage value based on the current bus voltage value and the relationship between bus voltage changes; for each first time set, each first time in the first time set is periodically spaced according to the bus voltage charging and discharging cycle; based on the voltage change trend, a target first time set is determined in the at least one first time set; based on the trough bus voltage value and the relationship between bus voltage changes, a second time set corresponding to the trough bus voltage value is determined; each second time in the second time set is periodically spaced according to the bus voltage charging and discharging cycle; based on the target first time set and the second time set, a first waiting time required to reach the trough bus voltage value of the target compressor is determined.
[0143] In one embodiment, the first time determination module is specifically used to determine the smallest first time in the target first time set as the target first time corresponding to the current bus voltage value; determine the second time in the second time set that is not less than the target first time as the intermediate second time set; determine the smallest second time in the intermediate second time set as the target second time; and determine the first waiting time required to reach the trough bus voltage value of the target compressor based on the target first time and the target second time.
[0144] In one embodiment, the compressor shutdown device further includes:
[0145] The second voltage acquisition module is used to acquire the bus protection voltage value of the target compressor and the back electromotive force voltage value corresponding to the current operating frequency after responding to the compressor shutdown command step; determine the target bus voltage value of the target compressor based on the voltage difference between the bus protection voltage value and the back electromotive force voltage value; and acquire the current bus voltage value of the target compressor.
[0146] The second time determination module is used to determine the second waiting time required to reach the target bus voltage value of the target compressor based on the current bus voltage value and the preset bus voltage change relationship; the bus voltage change relationship characterizes the relationship between the bus voltage amplitude of the target compressor and the bus voltage charge and discharge cycle.
[0147] The shutdown control module is used to control the target compressor to continue running for a second waiting period before shutting it down.
[0148] In one embodiment, the compressor shutdown device further includes:
[0149] The difference determination module is used to determine the voltage difference between the bus protection voltage value and the back electromotive force voltage value before determining the target bus voltage value of the target compressor based on the voltage difference between the bus protection voltage value and the back electromotive force voltage value. If the voltage difference is not greater than the peak bus voltage value of the target compressor, the step of determining the target bus voltage value of the target compressor based on the voltage difference between the bus protection voltage value and the back electromotive force voltage value is executed. If the voltage difference is greater than the peak bus voltage value of the target compressor, the target compressor is controlled to stop immediately.
[0150] Thirdly, in one embodiment, the present invention provides a computer device. Specifically, in this embodiment, the processor 201 in the computer device loads executable files corresponding to processes of one or more computer programs into the memory 202 according to the following instructions, and the processor 201 runs the computer programs stored in the memory 202 to perform the following steps:
[0151] In response to a compressor shutdown command, obtain the current bus voltage value of the target compressor;
[0152] Based on the current bus voltage value and the preset bus voltage change relationship, determine the first waiting time required to reach the trough bus voltage value of the target compressor; the bus voltage change relationship characterizes the relationship between the bus voltage amplitude of the target compressor and the bus voltage charge and discharge cycle.
[0153] The target compressor is controlled to continue running for a first waiting period before being shut down.
[0154] Using the aforementioned computer equipment, taking advantage of the periodic variation of the bus voltage, when the compressor needs to be stopped, the first waiting time required to reach the trough bus voltage value of the target compressor is determined based on the current bus voltage value and the relationship between the bus voltage variation. That is, after the first waiting time, the bus voltage will reach its lowest value, and then the compressor will be stopped at that time. Since the bus voltage is at its lowest value when the compressor stops, the voltage value of the back electromotive force generated by the shutdown is unlikely to trigger overvoltage protection. This not only avoids damage to the components on the control board due to frequent high voltage surges, but also does not affect the normal operation of the air conditioner.
[0155] Those skilled in the art will understand that all or part of the steps in any of the methods in the above embodiments can be performed by a computer program or by a computer program controlling related hardware. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0156] Fourthly, in one embodiment, the present invention provides a storage medium storing a plurality of computer programs that can be loaded by a processor to perform the following steps:
[0157] In response to a compressor shutdown command, obtain the current bus voltage value of the target compressor;
[0158] Based on the current bus voltage value and the preset bus voltage change relationship, determine the first waiting time required to reach the trough bus voltage value of the target compressor; the bus voltage change relationship characterizes the relationship between the bus voltage amplitude of the target compressor and the bus voltage charge and discharge cycle.
[0159] The target compressor is controlled to continue running for a first waiting period before being shut down.
[0160] By utilizing the aforementioned storage medium and taking advantage of the periodic variation of the bus voltage, when the compressor needs to be stopped, the first waiting time required to reach the trough bus voltage value of the target compressor is determined based on the current bus voltage value and the relationship between the bus voltage variation. That is, after the first waiting time, the bus voltage will reach its lowest value, and then the compressor will be stopped at that time. Since the bus voltage is at its lowest value when the compressor stops, the voltage value of the back electromotive force generated by the shutdown is unlikely to trigger overvoltage protection. This not only avoids damage to the components on the control board due to frequent high voltage surges, but also does not affect the normal operation of the air conditioner.
[0161] It will be understood by those skilled in the art that any references to memory, storage, database, or other media used in the embodiments provided by this invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0162] Since the computer program stored in the storage medium can execute the steps in the compressor shutdown method in any embodiment of the present invention, the beneficial effects that the compressor shutdown method in any embodiment of the present invention can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0163] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0164] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0165] The above provides a detailed description of a compressor shutdown method, apparatus, computer device, and storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
[0166] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. A method for stopping a compressor, characterized in that, include: In response to a compressor shutdown command, obtain the current bus voltage value of the target compressor; Based on the current bus voltage value and the preset bus voltage change relationship, the first waiting time required to reach the trough bus voltage value of the target compressor is determined; the bus voltage change relationship characterizes the relationship between the bus voltage amplitude of the target compressor and the bus voltage charge and discharge cycle. The target compressor is controlled to continue running for the first waiting period before being shut down. The step of determining the first waiting time required to reach the trough bus voltage value of the target compressor based on the current bus voltage value and a preset bus voltage change relationship includes: Determine the voltage change trend of the current bus voltage value; the voltage change trend includes both an upward trend and a downward trend; Based on the current bus voltage value, the voltage change trend, and the bus voltage change relationship, the first waiting time required to reach the trough bus voltage value of the target compressor is determined, including: Based on the current bus voltage value and the relationship between the bus voltage changes, at least one first time set corresponding to the current bus voltage value is determined; for each first time set, each first time in the first time set is periodically spaced according to the bus voltage charging and discharging cycle; Based on the voltage change trend, determine the target first time set in the at least one first time set; Based on the relationship between the trough bus voltage value and the bus voltage change, a second time set corresponding to the trough bus voltage value is determined; each second time in the second time set is periodically spaced according to the bus voltage charging and discharging cycle. Based on the first target time set and the second target time set, determine the first waiting time required to reach the trough bus voltage value of the target compressor; The smallest first time in the target first time set is determined as the target first time corresponding to the current bus voltage value; The second time in the second time set that is not less than the target first time is determined as the intermediate second time set; The smallest second time in the intermediate second time set is determined as the target second time; Based on the target first time and the target second time, determine the first waiting time required to reach the trough bus voltage value of the target compressor.
2. The compressor shutdown method according to claim 1, characterized in that, Prior to the step of obtaining the current bus voltage value of the target compressor, the method further includes: Obtain the current operating frequency of the target compressor; If the current operating frequency is not less than the preset operating frequency, then the step of obtaining the current bus voltage value of the target compressor is executed; If the current operating frequency is less than the preset operating frequency, the target compressor is controlled to stop immediately.
3. The compressor shutdown method according to claim 1, characterized in that, Following the step of responding to the compressor stop command, the method further includes: Obtain the bus protection voltage value and the back electromotive force voltage value corresponding to the current operating frequency of the target compressor; The target bus voltage value of the target compressor is determined based on the voltage difference between the bus protection voltage value and the back electromotive force voltage value. Obtain the current bus voltage value of the target compressor; Based on the current bus voltage value and the preset bus voltage change relationship, a second waiting time required to reach the target bus voltage value of the target compressor is determined; the bus voltage change relationship characterizes the relationship between the bus voltage amplitude of the target compressor and the bus voltage charge and discharge cycle. The target compressor is controlled to continue running for the second waiting period before being shut down.
4. The compressor shutdown method according to claim 3, characterized in that, Before the step of determining the target bus voltage value of the target compressor based on the voltage difference between the bus protection voltage value and the back electromotive force voltage value, the method further includes: Determine the voltage difference between the bus protection voltage value and the back electromotive force voltage value; If the voltage difference is not greater than the peak bus voltage of the target compressor, then the step of determining the target bus voltage of the target compressor based on the voltage difference between the bus protection voltage and the back electromotive force voltage is executed. If the voltage difference is greater than the peak bus voltage of the target compressor, the target compressor is controlled to stop immediately.
5. A compressor shutdown device, characterized in that, include: The voltage acquisition module is used to acquire the current bus voltage value of the target compressor in response to the compressor stop command; The time determination module is used to determine the first waiting time required to reach the trough bus voltage value of the target compressor based on the current bus voltage value and the preset bus voltage change relationship; the bus voltage change relationship characterizes the relationship between the bus voltage amplitude of the target compressor and the bus voltage charge and discharge cycle. The shutdown control module is used to control the target compressor to continue running for the first waiting time and then shut it down. The time determination module is used to determine the voltage change trend of the current bus voltage value; the voltage change trend includes an upward trend and a downward trend. Based on the current bus voltage value, voltage change trend, and bus voltage change relationship, determine the first waiting time required to reach the trough bus voltage value of the target compressor, including: Based on the current bus voltage value and the relationship between the bus voltage changes, at least one first time set corresponding to the current bus voltage value is determined; for each first time set, each first time in the first time set is periodically spaced according to the bus voltage charging and discharging cycle; Based on the voltage change trend, determine the target first time set in the at least one first time set; Based on the relationship between the trough bus voltage value and the bus voltage change, a second time set corresponding to the trough bus voltage value is determined; each second time in the second time set is periodically spaced according to the bus voltage charging and discharging cycle. Based on the first target time set and the second target time set, determine the first waiting time required to reach the trough bus voltage value of the target compressor; The smallest first time in the target first time set is determined as the target first time corresponding to the current bus voltage value; The second time in the second time set that is not less than the target first time is determined as the intermediate second time set; The smallest second time in the intermediate second time set is determined as the target second time; Based on the target first time and the target second time, determine the first waiting time required to reach the trough bus voltage value of the target compressor.
6. A computer device, characterized in that, It includes a memory and a processor; the memory stores a computer program, and the processor is used to run the computer program in the memory to perform the steps of the compressor shutdown method according to any one of claims 1 to 4.
7. A storage medium, characterized in that, The storage medium stores a computer program, which is loaded by a processor to execute the steps of the compressor shutdown method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Shutdown control method of compressor and air conditioning equipment
CN112178885A