Compressor control method and device and storage medium
Through the coordinated work of open-loop control and closed-loop control, the closed-loop control signal is generated by using the target frequency and three-phase current signal, which solves the problems of local overheating and high cost of the existing compressor self-preheating solution and realizes efficient and uniform preheating of the winding.
Patent Information
- Application Number
- CN202511143507.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-14
- Publication Date
- 2025-10-17
AI Technical Summary
In the existing compressor self-preheating scheme, the locked-rotor heating control method is prone to cause local overheating problems, while the PTC auxiliary heating method increases costs and power consumption.
The method of collaborative work of open-loop control and closed-loop control is adopted. Open-loop control is performed by setting the target frequency, and closed-loop control signals are generated using three-phase current signals to achieve uniform preheating of the winding.
Taking into account both heating speed and accuracy, efficient and uniform preheating of the winding is achieved, avoiding local overheating and increased costs.
Smart Images

Figure CN120798765A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of control, in particular to a compressor control method and device and storage medium. BACKGROUND
[0002] The self-preheating solutions of manufacturers in the industry mainly include locked-rotor heating control method and PTC (positive temperature coefficient) auxiliary heating method.
[0003] The locked-rotor heating control method forcibly locks the rotor and injects direct current, and the direct current bias causes the motor core to be saturated, which is easy to cause local overheating problems. The PTC auxiliary heating method needs to install PTC heating sheets on the shell of the compressor, and the heat conduction path is relatively long, which increases the cost and power consumption. SUMMARY
[0004] Embodiments of the present application provide a compressor control method and device and storage medium, which realize uniform preheating of windings by cooperative work of open-loop control and closed-loop control, taking into account heating speed and accuracy.
[0005] The technical solutions adopted by the present application to solve the problems are as follows:
[0006] In a first aspect, the present application provides a compressor control method, which comprises: obtaining a target frequency; performing open-loop control on a compressor based on the target frequency, and determining whether the time of the open-loop control reaches a target sampling period; if the time of the open-loop control reaches the target sampling period, collecting a three-phase current signal of the operation of the compressor; generating a closed-loop control signal based on the three-phase current signal, and outputting the closed-loop control signal to the compressor.
[0007] In some embodiments, the target sampling period is obtained based on the following manner: determining a first sampling period based on compressor parameters; determining a second sampling period based on the first sampling period; and determining the target sampling period based on the first sampling period and the second sampling period.
[0008] In some embodiments, the compressor parameters include thermal inductance, convection coefficient, surface area, equivalent inductance and equivalent resistance; and the determination of the first sampling period based on the compressor parameters comprises: calculating the thermal inductance, the convection coefficient and the surface area to obtain a third sampling period; calculating the equivalent inductance and the equivalent resistance to obtain a fourth sampling period; determining the third sampling period as the first sampling period when the third sampling period is less than or equal to the fourth sampling period; and determining the fourth sampling period as the first sampling period when the third sampling period is greater than the fourth sampling period.
[0009] In some embodiments, the calculating the heat soak, the convection coefficient, and the surface area to obtain a third sampling period comprises: calculating the heat soak, the convection coefficient, and the surface area to obtain a thermal system dynamic frequency; and calculating the thermal system dynamic frequency and a first coefficient to obtain the third sampling period.
[0010] In some embodiments, the calculating the equivalent inductance and the equivalent resistance to obtain a fourth sampling period comprises: calculating the equivalent inductance and the equivalent resistance to obtain a steady state time constant; and calculating the steady state time constant and a second coefficient to obtain the fourth sampling period.
[0011] In some embodiments, the determining a second sampling period based on the first sampling period comprises: obtaining a third coefficient; and calculating the third coefficient and the first sampling period to obtain the second sampling period.
[0012] In some embodiments, the generating a closed loop control signal based on the three-phase current signal comprises: transforming the three-phase current signal to obtain an effective current of the compressor; determining a target voltage parameter based on the effective current and a target preset current; and generating the closed loop control signal based on the target voltage parameter.
[0013] In some embodiments, the determining a target voltage parameter based on the effective current and a target preset current comprises: comparing the effective current and the target preset current to obtain a comparison parameter; calculating the comparison parameter and a first current parameter to obtain a target current parameter; and calculating the target current parameter to obtain the target voltage parameter.
[0014] The generating the closed loop control signal based on the target voltage parameter comprises: converting the target voltage parameter to voltage vector data; and calculating the closed loop control signal based on the voltage vector data and a basic voltage vector of the compressor.
[0015] In a second aspect, the present application provides a compressor control device, comprising: a first obtaining module, configured to obtain a target frequency; a first control module, configured to perform open loop control on a compressor based on the target frequency, and determine whether a time of the open loop control reaches a target sampling period; a first collecting module, configured to collect a three-phase current signal of the compressor if the time of the open loop control reaches the target sampling period; and a first output module, configured to generate a closed loop control signal based on the three-phase current signal, and output the closed loop control signal to the compressor.
[0016] In a third aspect, the present application provides a computer readable storage medium, having stored thereon a computer program, which is loaded by a processor to execute the steps of the compressor control method.
[0017] The present application has the following beneficial effects: The present application provides a compressor control method, device and storage medium. The compressor control method sets a target frequency, first outputs a matching voltage signal through open-loop control to make the winding pass through alternating current to generate heat, collects a three-phase current signal when the open-loop control time reaches a target sampling period, and generates a closed-loop control signal based on the three-phase current signal to correct the output through closed-loop control to realize adaptive preheating. The open-loop control and the closed-loop control work together to balance the heating speed and accuracy, and efficiently realize uniform preheating of the winding. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.
[0019] Figure 1 is an embodiment flowchart of the compressor control method provided by the present application;
[0020] Figure 2 is an embodiment flowchart of the acquisition method of the target sampling period in the compressor control method provided by the present application;
[0021] Figure 3 is an embodiment flowchart of the specific embodiment of step S201 provided by the present application;
[0022] Figure 4 is an embodiment flowchart of the specific embodiment of step S4 provided by the present application;
[0023] Figure 5 is an embodiment principle block diagram of the compressor control device provided by the present application;
[0024] Figure 6 is an embodiment structure diagram of the computer device provided by the present application. DETAILED DESCRIPTION
[0025] With reference to the drawings and the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments of the present application, any other embodiments obtained by a person of ordinary skill in the art without creative effort are within the scope of the present application.
[0026] In the description of the present application, the terms "first", "second", "third", etc. are used only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second", "third", etc. can be explicitly or implicitly included one or more features.
[0027] In the present application, the word "exemplary" is used to mean "serving as an example, instance, or illustration". Any embodiment described as "exemplary" in the present application is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the present application. In the following description, for the purpose of explanation, details are set forth. It is apparent to those skilled in the art that the present application can be practiced without using these specific details. In other instances, well-known structures and processes are not described in detail in order to avoid obscuring the description of the present application. Therefore, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
[0028] It should be noted that the method of the embodiments of the present application is executed in a computer device, and the processing objects of each computer device exist in the form of data or information, such as time, which is actually time information. It can be understood that if the size, quantity, position, etc. are mentioned in subsequent embodiments, they all exist in the form of corresponding data for processing by the computer device, and specific details are not described here.
[0029] As shown in FIG. 1, it is a flowchart of an embodiment of the compressor control method in the embodiments of the present application. The compressor control method includes the following steps S1 to S4, which are as follows: Figure 1
[0030] Step S1, obtaining a target frequency.
[0031] In the embodiments of the present application, the target frequency is the frequency corresponding to the target speed at which the compressor needs to run. For a variable frequency compressor, the frequency at which it runs is directly related to the refrigerating / heating capacity. The higher the frequency of the compressor, the faster the speed of the compressor, and thus the greater the circulation amount of the refrigerant of the compressor, and therefore the stronger the output power of the compressor.
[0032] It should be noted that the value of the target frequency is usually determined based on system requirements, for example, an air conditioner according to the difference between the set temperature and the ambient temperature, or a refrigerator according to the deviation of the cabin temperature from the set value, or an industrial refrigeration device automatically calculated according to the load change, etc., which is not limited here.
[0033] Step S2, open-loop control of the compressor based on the target frequency, and determining whether the time of open-loop control reaches the target sampling period.
[0034] In this embodiment, open-loop control refers to a mode in which the compressor is directly driven to operate according to the target frequency without relying on real-time feedback signals.
[0035] In this embodiment, the target sampling period refers to the time during which the compressor continuously operates in the open-loop control mode. Real-time timing is performed during the open-loop control process, and then it is determined whether the time of open-loop control reaches the target sampling period.
[0036] In some embodiments, the method of open-loop control of the compressor based on the target frequency in step S2 described above can specifically include: based on the target frequency; determining an open-loop control signal based on the target voltage instruction and the target frequency; outputting the open-loop control signal to the compressor to realize open-loop control.
[0037] In this embodiment, the target voltage instruction is used to represent the voltage parameter required when the compressor operates, and the target voltage instruction includes a d-axis voltage instruction (U d ) and a q-axis voltage instruction (U q ).
[0038] Optionally, the method of determining the open-loop control signal based on the target voltage instruction and the target frequency can include: setting the d-axis voltage instruction to zero while the value of the q-axis voltage instruction remains unchanged; then, combining the target frequency to perform inverse Park transformation on the d-axis voltage instruction and the q-axis voltage instruction to obtain an α voltage instruction (U α ) and a β voltage instruction (U β ); and then, performing space vector pulse width modulation (SVPWM) based on the α voltage instruction and the β voltage instruction to obtain the open-loop control signal.
[0039] In short, the open-loop control mode is to directly drive the compressor according to a preset rule, and the purpose is to quickly bring the compressor from a stopped or low-frequency state to a stable stage near the target frequency, laying a foundation for accurate adjustment of subsequent closed-loop control.
[0040] In some embodiments, as shown in Figure 2 , the target sampling period is obtained based on the following method, specifically including steps S201 to S203:
[0041] Step S201, determining a first sampling period based on compressor parameters.
[0042] In the embodiment, the compressor parameters are various parameters of the compressor when operating, such as heat capacity, surface area, equivalent inductance, and equivalent resistance, etc. The first sampling period is used to represent the minimum sampling period for open-loop control of the compressor.
[0043] In some embodiments, as shown in FIG. 2, the compressor parameters include heat capacity, convection coefficient, surface area, equivalent inductance, and equivalent resistance. The method of determining the first sampling period based on the compressor parameters in step S201 can specifically include steps S2011 to S2014: Figure 3
[0044] In step S2011, the heat capacity, the convection coefficient, and the surface area are calculated to obtain the third sampling period.
[0045] In the embodiment, the heat capacity refers to the heat capacity of a thermal system (such as a compressor), usually in units of J / K (Joule / Kelvin), indicating the heat absorbed by the system to raise the temperature by 1 K (or 1 °C). The convection coefficient, also known as the convection heat transfer coefficient, has a unit of W / (m 2 ·K), indicating the heat exchanged between the thermal system (such as a compressor) and the surrounding environment (or fluid) through convection per unit area per unit temperature difference. The surface area refers to the effective area of the thermal system (such as a compressor) involved in the convection heat exchange, with a unit of m 2 For an air conditioner compressor, the heat capacity is usually 50-200 J / K, the convection coefficient is usually 5-10 W / (m 2 ·K), and the surface area is usually 0.1-1 m 2 .
[0046] In the embodiment, the third sampling period is used to represent the minimum sampling period for open-loop control of the compressor under the condition of meeting the dynamic frequency of the thermal system.
[0047] In some embodiments, the method of calculating the heat capacity, the convection coefficient, and the surface area to obtain the third sampling period in step S2011 can specifically include: calculating the heat capacity, the convection coefficient, and the surface area to obtain the dynamic frequency of the thermal system; and calculating the dynamic frequency of the thermal system and the first coefficient to obtain the third sampling period.
[0048] In some embodiments, the method of calculating the heat capacity, the convection coefficient, and the surface area to obtain the dynamic frequency of the thermal system can include: calculating the convection coefficient and the surface area to obtain a first product; calculating the heat capacity and the first product to obtain a first quotient; and calculating the first quotient and a first constant to obtain the third sampling period.
[0049] Optionally, the process of calculating the heat capacity, the convection coefficient, and the surface area to obtain the dynamic frequency of the thermal system can be represented as: wherein f max热 is the thermal system dynamic frequency, pi is the first constant π, Cth is the thermal capacitance, h is the convection coefficient, and A is the surface area.
[0050] For example, assuming that in the compressor parameters, the thermal capacitance is 100 J / k, the convection coefficient is 10 W / (m 2 ·K), and the surface area is 0.5 m 2 , then the thermal system dynamic frequency is:
[0051] In some embodiments, the method of calculating the thermal system dynamic frequency and the first coefficient to obtain the third sampling period can include: calculating the reciprocal of the thermal system dynamic frequency; and calculating the reciprocal and the first coefficient to obtain the third sampling period.
[0052] Optionally, the process of calculating the thermal system dynamic frequency and the first coefficient to obtain the third sampling period can be represented as: wherein T min热 is the third sampling period, f max热 is the thermal system dynamic frequency, and the first coefficient can be 1 / 2.
[0053] For example, assuming that the thermal system dynamic frequency is 3.18 Hz, then the third sampling period is:
[0054] Step S2012, calculating the equivalent inductance and the equivalent resistance to obtain the fourth sampling period.
[0055] In the present embodiment, the equivalent inductance is the inductance effect (including self-inductance, mutual inductance, and magnetic field energy storage characteristics) of the motor winding of the compressor, which is equivalent to a lumped parameter inductance, with the unit being henry (H). The equivalent resistance is the resistance effect (including direct current resistance, high-frequency skin effect, etc.) of the motor winding of the compressor, which is equivalent to a lumped parameter resistance, with the unit being ohm (Ω). In which, the equivalent inductance of the compressor is usually 1-10 mH, and the equivalent resistance is usually 0.1-1 Ω.
[0056] In the present embodiment, the fourth sampling period is used to represent the minimum sampling period for open-loop control of the compressor under the condition of meeting the dynamic response of the current.
[0057] In some embodiments, the method of calculating the equivalent inductance and the equivalent resistance to obtain the fourth sampling period described above can specifically include: calculating the equivalent inductance and the equivalent resistance to obtain a steady-state time constant; and calculating the steady-state time constant and a second coefficient to obtain the fourth sampling period.
[0058] In some embodiments, the method of calculating the equivalent inductance and the equivalent resistance to obtain the steady-state time constant can specifically include: calculating a quotient of the equivalent inductance and the equivalent resistance, and taking the quotient as the steady-state time constant.
[0059] Optionally, the process of calculating the equivalent inductance and the equivalent resistance to obtain the steady-state time constant can be represented as: te=L / R; wherein te represents the steady-state time constant, L represents the equivalent inductance, and R represents the equivalent resistance.
[0060] For example, assuming that the equivalent inductance is 5.8 mH and the equivalent resistance is 0.54 Ω, the steady-state time constant is: te=L / R=10.74 ms.
[0061] In some embodiments, the method of calculating the steady-state time constant and the second coefficient to obtain the fourth sampling period can specifically include: calculating a product of the steady-state time constant and the second coefficient, and taking the product as the fourth sampling period.
[0062] Optionally, the process of calculating the steady-state time constant and the second coefficient to obtain the fourth sampling period can be represented as: T min电 =5*te; wherein T min电 represents the fourth sampling period, the second coefficient can be 5, and te represents the steady-state time constant.
[0063] For example, assuming that the steady-state time constant is 10.74 ms and the second coefficient is 5, the fourth sampling period is: T min电 =5*te=53.7 ms.
[0064] Step S2013, when the third sampling period is less than or equal to the fourth sampling period, determining the third sampling period as the first sampling period.
[0065] Step S2014, when the third sampling period is greater than the fourth sampling period, determining the fourth sampling period as the first sampling period.
[0066] In this embodiment, the smaller one of the third sampling period and the fourth sampling period is determined as the first sampling period.
[0067] For example, if the third sampling period is 157 ms and the fourth sampling period is 53.7 ms, the third sampling period is greater than the fourth sampling period, and the fourth sampling period is determined as the first sampling period, and the first sampling period is 53.7 ms.
[0068] Step S202, determining the second sampling period based on the first sampling period.
[0069] In this embodiment, the second sampling period is used to represent the maximum sampling period of open-loop control on the compressor.
[0070] In some embodiments, the method of determining the second sampling period based on the first sampling period can include: obtaining a third coefficient; and calculating the third coefficient and the first sampling period to obtain the second sampling period.
[0071] In the embodiment, the third coefficient is obtained by experiment or theoretical calculation. The value of the third coefficient is determined according to the stability principle and actual experience to ensure that the system runs stably in the open loop state, and the closed loop correction can respond in time to ensure that the deviation in the open loop mode is controllable. For example, the third coefficient can be 5.
[0072] In some embodiments, the method of calculating the third coefficient and the first sampling period to obtain the second sampling period can include: taking the product of the third coefficient and the first sampling period as the second sampling period.
[0073] Optionally, the process of calculating the third coefficient and the first sampling period to obtain the second sampling period can be represented as: T max = 5*T min ; wherein T max represents the second sampling period, the third coefficient can be 5, and T min represents the first sampling period.
[0074] For example, if the first sampling period is 53.7 ms, the third sampling period is: T max = 5*T min = 268.5 ms.
[0075] Step S203: determining a target sampling period based on the first sampling period and the second sampling period.
[0076] In some embodiments, the method of determining the target sampling period based on the first sampling period and the second sampling period can include: determining that the range of the first sampling period to the second sampling period is a first range; and determining the target sampling period in the first range.
[0077] For example, if the first sampling period is 53.7 ms and the second sampling period is 268.5 ms, the first range is 53.7-268.5 ms.
[0078] In some embodiments, the method of determining the target sampling period in the first range can include: taking the lower boundary of the first range, i.e., the first sampling period, as the target sampling period; or taking the upper boundary of the first range, i.e., the second sampling period, as the target sampling period; or taking the middle value of the first range as the target sampling period; or selecting the target sampling period in the first range according to real-time working conditions (such as load, environmental parameters, etc.); etc.
[0079] Step S3, if the time of the open-loop control reaches the target sampling period, collect the three-phase current signal of the compressor operation.
[0080] In this embodiment, the three-phase current signal of the compressor operation refers to the actual current flowing in the stator three-phase winding when the compressor motor is running, which is used to reflect the real-time running state of the motor.
[0081] Step S4, generate a closed-loop control signal based on the three-phase current signal, and output the closed-loop control signal to the compressor.
[0082] In this embodiment, the closed-loop control signal is a driving signal generated based on the feedback of the three-phase current signal, which is used to dynamically adjust the running state of the compressor to make the actual running consistent with the target state.
[0083] In some embodiments, as shown in Figure 4 , the method of generating a closed-loop control signal based on a three-phase current signal in the above step S4 can include steps S41 to S43, as follows:
[0084] Step S41, transform the three-phase current signal to obtain the effective current of the compressor.
[0085] In this embodiment, the effective current of the compressor includes the d-axis current (i d ) and the q-axis current (i q ) in the dq coordinate system.
[0086] In some embodiments, the method of transforming the three-phase current signal to obtain the effective current of the compressor can include: performing Clark transformation on the three-phase current signal to obtain the α-axis current (i α ) and the β-axis current (i β ); and performing Park transformation on the α-axis current and the β-axis current to obtain the d-axis current (i d ) and the q-axis current (i q ).
[0087] Step S42, determine the target voltage parameter based on the effective current and the target preset current.
[0088] In this embodiment, the target preset current is an ideal current value set based on the target frequency, and the target preset current includes the d-axis preset current (is d ) and the q-axis preset current (is q ).
[0089] The target voltage parameter is a voltage parameter determined based on the effective current and the target preset current, and the target voltage parameter includes the d-axis voltage parameter (U d ) and the q-axis voltage parameter (U q ).
[0090] In some embodiments, the method of determining the target voltage parameter based on the effective current and the target preset current can specifically include: comparing the effective current with the target preset current to obtain a comparison parameter; calculating the comparison parameter and a first current parameter to obtain a target current parameter; and calculating the target current parameter to obtain the target voltage parameter.
[0091] In the present embodiment, the comparison parameter is the difference between the target preset current and the effective current. The comparison parameter includes a d-axis comparison parameter (Δi d ) and a q-axis comparison parameter (Δi q ).
[0092] The first current parameter is a parameter of current regulation, such as a proportional coefficient (Kp) and an integral coefficient (Ki) of a PI regulator. The target current parameter is a current parameter calculated based on the comparison parameter and the first current parameter.
[0093] The target current parameter includes a d-axis current parameter (i d_ref ) and a q-axis current parameter (i q_ref ).
[0094] In some embodiments, calculating the comparison parameter and the first current parameter to obtain the target current parameter can include: calculating the target current parameter based on the comparison parameter and the first current parameter by a regulator (such as a PI regulator).
[0095] Optionally, taking the d-axis current parameter as an example, the method of calculating the d-axis current parameter based on the comparison parameter and the first current parameter by the regulator (such as the PI regulator) can be represented as:
[0096] i d_ref =i d +Kp×Δi d +Ki×∫Δi d dt;
[0097] wherein i d_ref is the d-axis current parameter, i d is the d-axis current, Δi d is the d-axis comparison parameter, Kp is the proportional coefficient, and Ki is the integral coefficient.
[0098] In some embodiments, the method of calculating the target current parameter to obtain the target voltage parameter can include: calculating the target voltage parameter based on the d-axis current parameter (i d_ref ) and the q-axis current parameter (i q_ref ).
[0099] wherein the target voltage parameter includes a d-axis voltage parameter (U d ) and a q-axis voltage parameter (Uq ) is set to 0. q ) is set to 0.
[0100] In step S43, the closed-loop control signal is generated based on the target voltage parameter.
[0101] In some embodiments, the method of step S43, generating the closed-loop control signal based on the target voltage parameter, can include converting the target voltage parameter into voltage vector data, and calculating the closed-loop control signal based on the voltage vector data and the basic voltage vector of the compressor.
[0102] In this embodiment, the voltage vector data includes α voltage vector data (U α ) and β voltage vector data (U β ).
[0103] Optionally, the method of converting the target voltage parameter into voltage vector data can include setting the q-axis voltage parameter (U q ) to 0, and obtaining the d-axis voltage parameter (U d ); then, performing inverse Park transformation on the q-axis voltage parameter (U q ) and the d-axis voltage parameter (U d ) in combination with the target frequency, to obtain the α voltage vector data (U α ) and the β voltage vector data (U β ).
[0104] In this embodiment, the inverter (three-phase bridge circuit) of the compressor outputs voltage through switching action of power devices (such as IGBT), and the output capability is limited by the basic voltage vector. The basic voltage vector of the compressor represents the voltage vector corresponding to the inherent switching state of the inverter of the compressor.
[0105] Optionally, the closed-loop control signal can be calculated based on the voltage vector data and the basic voltage vector of the compressor through space vector pulse width modulation (SVPWM).
[0106] The compressor control method provided by the embodiments of the present application sets a low-frequency target frequency, first outputs a matching voltage signal through open-loop control to make the winding pass through low-frequency alternating current to generate heat, collects three-phase current signals when the open-loop control time reaches the target sampling period, and generates a closed-loop control signal based on the three-phase current signals to correct the output through closed-loop control, so as to realize adaptive preheating. Through the cooperative work of open-loop control and closed-loop control, the heating speed and accuracy are taken into account, and the winding is uniformly preheated efficiently.
[0107] To better realize the compressor control method in the embodiments of the present application, on the basis of the compressor control method, the embodiments of the present application further provide a compressor control device, as shown in the accompanying drawings, the compressor control device 200 comprises: a first acquisition module 201, configured to acquire a target frequency; a first control module 202, configured to perform open-loop control on the compressor based on the target frequency, and determine whether the time of the open-loop control reaches a target sampling period; a first acquisition module 203, configured to acquire a three-phase current signal of the compressor if the time of the open-loop control reaches the target sampling period; and a first output module 204, configured to generate a closed-loop control signal based on the three-phase current signal, and output the closed-loop control signal to the compressor. Figure 5
[0108] In some embodiments, the compressor control device 200 further comprises: a first determination module 205, configured to determine a first sampling period based on a compressor parameter; a second determination module 206, configured to determine a second sampling period based on the first sampling period; and a third determination module 207, configured to determine a target sampling period based on the first sampling period and the second sampling period.
[0109] In some embodiments, the compressor parameter comprises thermal inductance, convection coefficient, surface area, equivalent inductance and equivalent resistance. The first determination module 205 is specifically configured to: calculate the thermal inductance, the convection coefficient and the surface area to obtain a third sampling period; calculate the equivalent inductance and the equivalent resistance to obtain a fourth sampling period; determine the first sampling period as the third sampling period if the third sampling period is less than or equal to the fourth sampling period; and determine the first sampling period as the fourth sampling period if the third sampling period is greater than the fourth sampling period.
[0110] In some embodiments, the first determination module 205 is specifically further configured to: calculate the thermal inductance, the convection coefficient and the surface area to obtain a thermal system dynamic frequency; and calculate the thermal system dynamic frequency and a first coefficient to obtain the third sampling period.
[0111] In some embodiments, the first determination module 205 is specifically further configured to: calculate the equivalent inductance and the equivalent resistance to obtain a steady-state time constant; and calculate the steady-state time constant and a second coefficient to obtain the fourth sampling period.
[0112] In some embodiments, the second determination module 206 is specifically configured to: acquire a third coefficient; and calculate the third coefficient and the first sampling period to obtain the second sampling period.
[0113] In some embodiments, the first output module 204 is specifically configured to: transform the three-phase current signal to obtain an effective current of the compressor; determine a target voltage parameter based on the effective current and a target preset current; and generate the closed-loop control signal based on the target voltage parameter.
[0114] In some embodiments, the first output module 204 is further configured to: compare the effective current with the target preset current to obtain a comparison parameter; calculate the comparison parameter and the first current parameter to obtain a target current parameter; and calculate the target current parameter to obtain a target voltage parameter. The first output module 204 is further configured to: convert the target voltage parameter into voltage vector data; and calculate a closed-loop control signal based on the voltage vector data and a basic voltage vector of the compressor.
[0115] The embodiments of the present application further provide a computer device integrated with any of the compressor control apparatuses provided by the embodiments of the present application. The computer device comprises:
[0116] one or more processors;
[0117] a memory; and
[0118] one or more application programs, wherein the one or more application programs are stored in the memory and configured to execute the steps in the compressor control method in any of the embodiments of the compressor control method.
[0119] The embodiments of the present application further provide a computer device integrated with any of the compressor control apparatuses provided by the embodiments of the present application. As shown in Figure 6 the structural schematic diagram of the computer device related to the embodiments of the present application is shown, specifically:
[0120] The computer device can include a processor 801 with one or more processing cores, a memory 802 with one or more computer readable storage media, a power supply 803, an input unit 804, and the like. Those skilled in the art can understand that the computer device structure shown in Figure 6 does not constitute a limitation on the computer device, which can include more or fewer components than those shown, or combine certain components, or have different component arrangements. Among them:
[0121] The processor 801 is the control center of the computer device, which connects various parts of the computer device through various interfaces and lines, executes the software programs and / or modules stored in the memory 802 and the data stored in the memory 802, processes various functions and data of the computer device, and thus monitors the computer device as a whole. Optionally, the processor 801 can include one or more processing cores; preferably, the processor 801 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 801.
[0122] The memory 802 can be used to store software programs and modules, and the processor 801 executes various function applications and data processing by running the software programs and modules stored in the memory 802. The memory 802 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; and the data storage area can store data created according to the use of the computer device, etc. In addition, the memory 802 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device. Accordingly, the memory 802 can also include a memory controller to provide the processor 801 with access to the memory 802.
[0123] The computer device further includes a power supply 803 for supplying power to various components. Preferably, the power supply 803 can be logically connected to the processor 801 through a power management system, so that the power management system can realize functions such as management of charging, discharging, and power consumption management. The power supply 803 can also include one or more direct current or alternating current power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power state indicator, and any other components.
[0124] The computer device can further include an input unit 804, 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 controls.
[0125] Although not shown, the computer device can also include a display unit, etc., which will not be described here. Specifically, in the embodiment, the processor 801 in the computer device loads an executable file corresponding to the process of one or more application programs into the memory 802 according to the following instructions, and the processor 801 runs the application programs stored in the memory 802 to realize various functions, as follows:
[0126] Obtaining a target frequency;
[0127] Performing open-loop control on the compressor based on the target frequency, and determining whether the time of the open-loop control reaches a target sampling period;
[0128] If the time of the open-loop control reaches the target sampling period, collecting a three-phase current signal of the compressor;
[0129] Generating a closed-loop control signal based on the three-phase current signal, and outputting the closed-loop control signal to the compressor.
[0130] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by related hardware controlled by the instructions, which can be stored in a computer readable storage medium and loaded and executed by a processor.
[0131] To this end, the embodiments of the present application provide a computer readable storage medium, which can include a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc. A computer program is stored on the storage medium, and the computer program is loaded by a processor to execute the steps in any of the compressor control methods provided by the embodiments of the present application. For example, the computer program loaded by the processor can execute the following steps:
[0132] obtaining a target frequency;
[0133] performing open loop control on the compressor based on the target frequency, and determining whether a time of the open loop control reaches a target sampling period;
[0134] if the time of the open loop control reaches the target sampling period, collecting a three-phase current signal of the compressor;
[0135] generating a closed loop control signal based on the three-phase current signal, and outputting the closed loop control signal to the compressor.
[0136] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the detailed description of other embodiments above, which will not be repeated here.
[0137] In a specific implementation, each of the above units or structures can be implemented as an independent entity, or can be combined as the same or several entities, and the specific implementation of each of the above units or structures can be referred to the method embodiments above, which will not be repeated here.
[0138] The specific implementation of each of the above operations can be referred to the embodiments above, which will not be repeated here.
[0139] The above provides a detailed description of the compressor control method, device and storage medium provided by the embodiments of the present application. The specific examples are applied to the principle and implementation manner of the present application, and the above embodiment description is only used to help understand the method and core idea of the present application. Meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and application range can be changed, and the above description should not be understood as the limitation of the present application.
Claims
1. A compressor control method, characterized in that: The compressor control method comprises: Get the target frequency; Performing open-loop control on the compressor based on the target frequency, and determining whether the open-loop control time reaches a target sampling period; If the open-loop control time reaches the target sampling period, collecting the three-phase current signal of the compressor operation; A closed-loop control signal is generated based on the three-phase current signal, and the closed-loop control signal is output to the compressor.
2. The compressor control method according to claim 1, characterized in that: The target sampling period is obtained based on the following method: determining a first sampling period based on the compressor parameters; determining a second sampling period based on the first sampling period; The target sampling period is determined based on the first sampling period and the second sampling period.
3. The compressor control method according to claim 2, characterized in that: The compressor parameters include thermal conductivity, convection coefficient, surface area, equivalent inductance and equivalent resistance; The determining of the first sampling period based on the compressor parameters includes: Calculating the thermal melt, the convection coefficient, and the surface area to obtain a third sampling period; Calculating the equivalent inductance and the equivalent resistance to obtain a fourth sampling period; When the third sampling period is less than or equal to the fourth sampling period, determining the third sampling period as the first sampling period; When the third sampling period is greater than the fourth sampling period, the fourth sampling period is determined as the first sampling period.
4. The compressor control method according to claim 3, characterized in that: The calculating of the thermal melt, the convection coefficient, and the surface area to obtain a third sampling period includes: Calculating the thermal melt, the convection coefficient, and the surface area to obtain a dynamic frequency of a thermal system; The thermal system dynamic frequency and the first coefficient are calculated to obtain the third sampling period.
5. The compressor control method according to claim 3, characterized in that: The calculating the equivalent inductance and the equivalent resistance to obtain a fourth sampling period includes: Calculating the equivalent inductance and the equivalent resistance to obtain a steady-state time constant; The steady-state time constant and the second coefficient are calculated to obtain the fourth sampling period.
6. The compressor control method according to claim 2, characterized in that: The determining the second sampling period based on the first sampling period includes: Get the third coefficient; The third coefficient and the first sampling period are calculated to obtain the second sampling period.
7. The compressor control method according to claim 1, characterized in that: Generating a closed-loop control signal based on the three-phase current signal includes: transforming the three-phase current signal to obtain the effective current of the compressor; determining a target voltage parameter based on the effective current and the target preset current; A closed-loop control signal is generated based on the target voltage parameter.
8. The compressor control method according to claim 7, characterized in that: The determining of the target voltage parameter based on the effective current and the target preset current includes: Comparing the effective current with a target preset current to obtain a comparison parameter; Calculating the comparison parameter and the first current parameter to obtain a target current parameter; Calculating the target current parameter to obtain a target voltage parameter; Generating a closed-loop control signal based on the target voltage parameter includes: Converting the target voltage parameter into voltage vector data; The closed-loop control signal is calculated based on the voltage vector data and a basic voltage vector of the compressor.
9. A compressor control device, characterized in that: The compressor control device comprises: A first acquisition module is used to acquire a target frequency; a first control module, configured to perform open-loop control on the compressor based on the target frequency, and determine whether the open-loop control time reaches a target sampling period; A first acquisition module is configured to acquire a three-phase current signal of the compressor when the open-loop control time reaches a target sampling period; The first output module is configured to generate a closed-loop control signal based on the three-phase current signal and output the closed-loop control signal to the compressor.
10. A computer-readable storage medium, characterized in that A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the compressor control method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Pump jack assembly
CA3062084A1
Control device and control method of air conditioner compressor and variable-frequency air conditioner
CN102400899A
Variable frequency motor double-dragging control method
CN115967303A
Low-temperature starting method and device of compressor, air conditioner and storage medium
CN116294133A
Motor control method and electric vehicle
CN118318387A