Processing method and device of compressor and storage medium
By calculating the voltage vector angle and power factor angle of the three-phase current of the compressor and determining its direction, the problem of the need to install hardware circuits in the prior art to detect current polarity is solved, and lower cost and higher precision control is achieved.
Patent Information
- Application Number
- CN202311813839.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2025-06-27
AI Technical Summary
In compressor control scenarios, the prior art requires the installation of hardware circuits to detect the current polarity of the compressor, resulting in an increase in the control system cost.
By determining the three-phase current of the compressor and its voltage vector in the two-phase stationary coordinate system, the voltage vector angle and the power factor angle are calculated, and the current vector angle is then calculated, and the direction of the three-phase current is determined.
It realizes the determination of the compressor current direction without adding hardware circuits, reducing costs and improving control accuracy.
Smart Images

Figure CN120222878A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of compressors, and particularly to a processing method, apparatus, and storage medium for compressors. Background Art
[0002] In related compressor control scenarios, it is often necessary to determine the current polarity of a compressor. For example, in some scenarios, a hardware circuit can be added and the current polarity of the compressor can be detected through the hardware circuit. However, due to the addition of the hardware circuit, the cost of the control system also increases. Summary of the Invention
[0003] To overcome the problems existing in the related art, the present disclosure provides a processing method, apparatus, and storage medium for compressors.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a processing method for a compressor, including:
[0005] Determine the three-phase current of the compressor and the voltage vector of the three-phase current in a two-phase stationary coordinate system;
[0006] Calculate the voltage vector angle according to the voltage vector;
[0007] Calculate the power factor angle of the three-phase current in a two-phase rotating coordinate system;
[0008] Calculate the current vector angle through the voltage vector angle and the power factor angle;
[0009] Determine the direction of the three-phase current according to the current vector angle.
[0010] Optionally, the calculating the current vector angle through the voltage vector angle and the power factor angle includes:
[0011] Calculate the difference between the voltage vector angle and the power factor angle to obtain the current vector angle.
[0012] Optionally, the determining the direction of the three-phase current according to the current vector angle includes:
[0013] Determine the angle interval where the current vector angle is located to obtain a target angle interval;
[0014] Determine the direction of the three-phase current according to the target angle interval.
[0015] Optionally, the determining the direction of the three-phase current according to the target angle interval includes:
[0016] When the target angle range is (-30, 30], determine that the current polarity of phase A of the three-phase current is positive, the current polarity of phase B of the three-phase current is negative, and the current polarity of phase C of the three-phase current is negative;
[0017] When the target angle range is (30, 90], determine that the current polarity of phase A is positive, the current polarity of phase B is positive, and the current polarity of phase C is negative;
[0018] When the target angle range is (90, 150], determine that the current polarity of phase A is negative, the current polarity of phase B is positive, and the current polarity of phase C is negative;
[0019] When the target angle range is (150, 210], determine that the current polarity of phase A is negative, the current polarity of phase B is positive, and the current polarity of phase C is positive;
[0020] When the target angle range is (210, 270], determine that the current polarity of phase A is negative, the current polarity of phase B is negative, and the current polarity of phase C is positive;
[0021] When the target angle range is (270, 330], determine that the current polarity of phase A is positive, the current polarity of phase B is negative, and the current polarity of phase C is positive.
[0022] Optionally, the determining the three-phase current of the compressor and the voltage vector of the three-phase current in the two-phase stationary coordinate system includes:
[0023] Map the three-phase current to the two-phase rotating coordinate system to obtain a mapped current;
[0024] Use the mapped current as the input of the current loop in the control system of the compressor to obtain the mapped voltage output by the current loop;
[0025] Map the mapped voltage to the two-phase stationary coordinate system to obtain the voltage vector.
[0026] Optionally, the calculating the power factor angle of the three-phase current in the two-phase rotating coordinate system includes:
[0027] Determine the coordinate values of the mapped current in the two-phase rotating coordinate system;
[0028] Calculate the amplitude of the voltage vector;
[0029] Calculate the power factor angle according to the amplitude of the voltage vector and the coordinate values of the mapped current in the two-phase rotating coordinate system.
[0030] Optionally, calculating the voltage vector angle according to the voltage vector includes:
[0031] Determining the coordinate value of the voltage vector on the first coordinate axis of the two-phase stationary coordinate system to obtain a first coordinate value;
[0032] Determining the coordinate value of the voltage vector on the second coordinate axis of the two-phase stationary coordinate system to obtain a second coordinate value;
[0033] Calculating the voltage vector angle according to the first coordinate value and the second coordinate value.
[0034] Optionally, the method includes:
[0035] Using the direction of the three-phase current as a parameter of the dead zone compensation algorithm to control the compressor through the dead zone compensation algorithm.
[0036] According to a second aspect of the embodiments of the present disclosure, there is provided a processing device for a compressor, including:
[0037] A first module configured to determine the three-phase current of the compressor and the voltage vector of the three-phase current in the two-phase stationary coordinate system;
[0038] A second module configured to calculate the voltage vector angle according to the voltage vector;
[0039] A third module configured to calculate the power factor angle of the three-phase current in the two-phase rotating coordinate system;
[0040] A fourth module configured to calculate the current vector angle through the voltage vector angle and the power factor angle;
[0041] A fifth module configured to determine the direction of the three-phase current according to the current vector angle.
[0042] Optionally, the fourth module includes:
[0043] A first sub-module configured to calculate the difference between the voltage vector angle and the power factor angle to obtain the current vector angle.
[0044] Optionally, the fifth module includes:
[0045] A second sub-module configured to determine the angle interval where the current vector angle is located to obtain a target angle interval;
[0046] A third sub-module configured to determine the direction of the three-phase current according to the target angle interval.
[0047] Optionally, the third sub-module includes:
[0048] The first sub-unit is configured to determine that the current polarity of phase A of the three-phase current is positive, the current polarity of phase B of the three-phase current is negative, and the current polarity of phase C of the three-phase current is negative when the target angle range is (-30, 30];
[0049] The second sub-unit is configured to determine that the current polarity of phase A is positive, the current polarity of phase B is positive, and the current polarity of phase C is negative when the target angle range is (30, 90];
[0050] The third sub-unit is configured to determine that the current polarity of phase A is negative, the current polarity of phase B is positive, and the current polarity of phase C is negative when the target angle range is (90, 150];
[0051] The fourth sub-unit is configured to determine that the current polarity of phase A is negative, the current polarity of phase B is positive, and the current polarity of phase C is positive when the target angle range is (150, 210];
[0052] The fifth sub-unit is configured to determine that the current polarity of phase A is negative, the current polarity of phase B is negative, and the current polarity of phase C is positive when the target angle range is (210, 270];
[0053] The sixth sub-unit is configured to determine that the current polarity of phase A is positive, the current polarity of phase B is negative, and the current polarity of phase C is positive when the target angle range is (270, 330).
[0054] Optionally, the first module includes:
[0055] The fourth sub-module is configured to map the three-phase current to the two-phase rotating coordinate system to obtain a mapped current;
[0056] The fifth sub-module is configured to use the mapped current as the input of the current loop in the control system of the compressor to obtain a mapped voltage output by the current loop;
[0057] The sixth sub-module is configured to map the mapped voltage to the two-phase stationary coordinate system to obtain the voltage vector.
[0058] Optionally, the third module includes:
[0059] The seventh sub-module is configured to determine the coordinate values of the mapped current in the two-phase rotating coordinate system;
[0060] The eighth sub-module is configured to calculate the amplitude of the voltage vector;
[0061] A ninth sub-module, configured to calculate the power factor angle according to the amplitude of the voltage vector and the coordinate values of the mapped current in the two-phase rotating coordinate system.
[0062] Optionally, the second module includes:
[0063] A tenth sub-module, configured to determine the coordinate value of the voltage vector on the first coordinate axis of the two-phase stationary coordinate system to obtain a first coordinate value;
[0064] An eleventh sub-module, configured to determine the coordinate value of the voltage vector on the second coordinate axis of the two-phase stationary coordinate system to obtain a second coordinate value;
[0065] A twelfth sub-module, configured to calculate the voltage vector angle according to the first coordinate value and the second coordinate value.
[0066] Optionally, the device includes:
[0067] A control module, configured to use the directions of the three-phase currents as parameters of a dead zone compensation algorithm, and control the compressor through the dead zone compensation algorithm.
[0068] According to a third aspect of the embodiments of the present disclosure, there is provided a processing device for a compressor, including:
[0069] A processor;
[0070] A memory for storing instructions executable by the processor;
[0071] Wherein, the processor is configured to execute the steps of the method described in any one of the first aspect.
[0072] According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the method described in any one of the first aspect are implemented.
[0073] In the above technical solutions, the three-phase currents of the compressor and the voltage vector of the three-phase currents in the two-phase stationary coordinate system can be determined, and the voltage vector angle can be calculated according to the voltage vector. In addition, the power factor angle of the three-phase currents in the two-phase rotating coordinate system can also be calculated. In this way, the current vector angle can be calculated through the voltage vector angle and the power factor angle. And according to the current vector angle, the directions of the three-phase currents can be determined.
[0074] By adopting the above technical solution, the power factor angle and the voltage vector angle can be determined based on the three-phase current of the compressor, and then the current vector angle can be calculated. In this way, the direction of the three-phase current can be determined according to the current vector angle. The above solution can determine the direction of the compressor current without adding a hardware circuit, and has a lower cost.
[0075] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.
[0077] Figure 1 is a flowchart of a processing method for a compressor shown according to an exemplary embodiment.
[0078] Figure 2 is a Figure 1 implementation flowchart of step S11 in.
[0079] Figure 3 is an implementation flowchart of a step S15 shown according to an exemplary embodiment.
[0080] Figure 4 is an implementation flowchart of a step S152 shown according to an exemplary embodiment.
[0081] Figure 5 is a block diagram of a processing device for a compressor shown according to an exemplary embodiment.
[0082] Figure 6 is a block diagram of an electronic device shown according to an exemplary embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0083] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0084] Before introducing the processing method, device and storage medium of the compressor of the present disclosure, the related scenarios of the embodiments of the present disclosure will be introduced first.
[0085] In related control scenarios, it is often necessary to determine the current polarity of a compressor. For example, in the scenario of low-frequency operation of an air conditioner, the air conditioner compressor can be controlled by a dead zone compensation algorithm. When applying the dead zone compensation algorithm, the current polarity of the compressor needs to be obtained.
[0086] To obtain the current polarity of the compressor, in some scenarios, a hardware circuit can be added to the air conditioner, and the current polarity of the compressor can be determined through the hardware circuit. However, the addition of the hardware circuit may increase the cost of the air conditioner and make the structure more complex.
[0087] Therefore, an embodiment of the present disclosure provides a processing method for a compressor. In some embodiments, the method can be applied to an air conditioner. In some possible implementation manners, the method can also be used for other devices other than the air conditioner. Figure 1 is a flowchart of a processing method for a compressor shown in an exemplary embodiment of the present disclosure. Refer to Figure 1 , the method includes:
[0088] In step S11, determine the three-phase current of the compressor and the voltage vector of the three-phase current in a two-phase stationary coordinate system.
[0089] In one embodiment, AD (analog-to-digital) sampling can be performed on the compressor current to obtain the three-phase current. The three-phase current can be denoted as i A , i B and i C . i A is the phase A current, i B is the phase B current, and i C is the phase C current.
[0090] In addition, according to the three-phase current, the voltage vector of the three-phase current in a two-phase stationary coordinate system can be determined. Figure 2 is an implementation flowchart of step S11 in an exemplary embodiment of the present disclosure. Refer to Figure 1 In one possible implementation manner, the determining the three-phase current of the compressor and the voltage vector of the three-phase current in a two-phase stationary coordinate system includes: Figure 2 In step S111, map the three-phase current to a two-phase rotating coordinate system to obtain a mapped current.
[0091] As an example, the three-phase current can be subjected to a 3 / 2 transformation to map the three-phase current to a two-phase stationary coordinate system to obtain a mapping result. The two-phase stationary coordinate system can include an α coordinate axis and a β coordinate axis.
[0092]
[0093] After obtaining the mapping result, the mapping result can be mapped to a two-phase rotating coordinate system again. Exemplarily, the mapping result of the three-phase current in the two-phase stationary coordinate system can be mapped to a two-phase rotating coordinate system (also referred to as the d-q coordinate system) by a 2s / 2r transformation method, so as to obtain the mapped current. The two-phase rotating coordinate system can include a d-axis and a q-axis, so the mapped current can be expressed as
[0094] Refer to Figure 2 , in step S112, the mapped current is used as the input of the current loop in the control system of the compressor, and the mapped voltage output by the current loop is obtained.
[0095] In step S113, the mapped voltage is mapped to a two-phase stationary coordinate system to obtain a voltage vector.
[0096] Exemplarily, in a compressor vector control system (such as the vector control system of an air-conditioning compressor), the mapped current is used as the input of the current loop, and the mapped voltage output by the current loop is obtained. The mapped voltage can be expressed as In this way, the mapped voltage can be mapped to a two-phase stationary coordinate system through coordinate transformation to obtain a voltage vector. As an example, the voltage vector can be expressed as
[0097] Refer to Figure 1 , in step S12, the voltage vector angle is calculated according to the voltage vector.
[0098] For example, in a possible implementation manner, the calculating the voltage vector angle according to the voltage vector includes:
[0099] Determining the coordinate value of the voltage vector on the first coordinate axis of the two-phase stationary coordinate system to obtain a first coordinate value;
[0100] Determining the coordinate value of the voltage vector on the second coordinate axis of the two-phase stationary coordinate system to obtain a second coordinate value;
[0101] Calculating the voltage vector angle according to the first coordinate value and the second coordinate value.
[0102] The first coordinate axis can be, for example, the α-axis, and the second coordinate axis can be, for example, the β-axis. Continuing with the above example of the voltage vector , the coordinate value v of the voltage vector on the α-axis of the two-phase stationary coordinate system can be determined α , and the coordinate value v of the voltage vector on the β-axis of the two-phase stationary coordinate system β . In this way, the voltage vector angle can be:
[0103] In step S13, calculate the power factor angle of the three-phase current in the two-phase rotating coordinate system.
[0104] For example, in a possible implementation, calculating the power factor angle of the three-phase current in the two-phase rotating coordinate system includes:
[0105] Determine the coordinate values of the mapped current in the two-phase rotating coordinate system;
[0106] Calculate the amplitude of the voltage vector;
[0107] According to the amplitude of the voltage vector and the coordinate values of the mapped current in the two-phase rotating coordinate system, calculate the power factor angle.
[0108] Continuing with the above example, when calculating the power factor angle, the coordinate values of the mapped current in the two-phase rotating coordinate system can be determined and the voltage vector can be calculated amplitude. The amplitude can be expressed as i m . In this way, the power factor angle θ can be solved according to the following calculation relationship:
[0109]
[0110] Refer to Figure 1 . After determining the voltage vector angle and the power factor angle, in step S14, calculate the current vector angle through the voltage vector angle and the power factor angle.
[0111] As an example, the difference between the voltage vector angle and the power factor angle can be calculated to obtain the current vector angle.
[0112] Continuing with the above example, the current vector angle can be expressed as θ i , then
[0113] In step S15, determine the direction of the three-phase current according to the current vector angle.
[0114] Figure 3 is a flowchart of an implementation of step S15 shown in an exemplary embodiment of the present disclosure. Refer to Figure 3 , step S15 includes:
[0115] In step S151, determine the angle interval where the current vector angle is located to obtain the target angle interval.
[0116] In step S152, determine the direction of the three-phase current according to the target angle interval.
[0117] That is to say, multiple angle intervals can be preset, and the polarities of the three-phase current can be determined corresponding to the angle intervals. As an example, the multiple angle intervals and the polarities of the three-phase current represented by the angle intervals can be pre-experimented or calibrated.
[0118] In this way, in step S152, the directions of the three-phase current can be determined according to the target angle interval where the current vector angle is located.
[0119] Figure 4 is a flowchart of an implementation of step S152 shown in an exemplary embodiment of the present disclosure. Referring to Figure 4 , step S152 includes:
[0120] In step S41, when the target angle interval is (-30, 30], it is determined that the current polarity of phase A of the three-phase current is positive, the current polarity of phase B of the three-phase current is negative, and the current polarity of phase C of the three-phase current is negative.
[0121] In step S42, when the target angle interval is (30, 90], it is determined that the current polarity of phase A is positive, the current polarity of phase B is positive, and the current polarity of phase C is negative.
[0122] In step S43, when the target angle interval is (90, 150], it is determined that the current polarity of phase A is negative, the current polarity of phase B is positive, and the current polarity of phase C is negative.
[0123] In step S44, when the target angle interval is (150, 210], it is determined that the current polarity of phase A is negative, the current polarity of phase B is positive, and the current polarity of phase C is positive.
[0124] In step S45, when the target angle interval is (210, 270], it is determined that the current polarity of phase A is negative, the current polarity of phase B is negative, and the current polarity of phase C is positive.
[0125] In step S46, when the target angle interval is (270, 330], it is determined that the current polarity of phase A is positive, the current polarity of phase B is negative, and the current polarity of phase C is positive.
[0126] By adopting the above technical solution, the power factor angle and the voltage vector angle can be determined through the three-phase current of the compressor, and then the current vector angle can be calculated. In this way, the directions of the three-phase current can be determined according to the current vector angle. The above solution can determine the direction of the compressor current without adding a hardware circuit, and has a lower cost.
[0127] After obtaining the direction of the compressor current, the compressor can also be controlled according to the direction of the compressor current. For example, in one possible implementation, the method is Figure 1 further included:
[0128] Taking the direction of the three-phase current as a parameter of the dead-zone compensation algorithm, and controlling the compressor through the dead-zone compensation algorithm.
[0129] For example, in an air conditioner drive control system without electrolytic capacitors, the direction of the three-phase current can be determined through the above solution. In this way, the direction of the three-phase current can be used as a parameter of the dead-zone compensation algorithm, and the air conditioner compressor can be controlled through the dead-zone compensation algorithm. In this way, the dead-zone compensation algorithm can be applied in the air conditioner drive control system without electrolytic capacitors, which helps to improve the control accuracy of the air conditioner. Moreover, this solution does not require additional hardware to be installed, and has the advantage of low cost.
[0130] Based on the same inventive concept, the embodiments of the present disclosure also provide a processing device for a compressor. Figure 5 is a block diagram of a processing device for a compressor shown in an exemplary embodiment of the present disclosure. Referring to Figure 5 , the device includes:
[0131] A first module 501, configured to determine the three-phase current of the compressor and the voltage vector of the three-phase current in a two-phase stationary coordinate system;
[0132] A second module 502, configured to calculate the voltage vector angle according to the voltage vector;
[0133] A third module 503, configured to calculate the power factor angle of the three-phase current in a two-phase rotating coordinate system;
[0134] A fourth module 504, configured to calculate the current vector angle through the voltage vector angle and the power factor angle;
[0135] A fifth module 505, configured to determine the direction of the three-phase current according to the current vector angle.
[0136] In the above technical solution, the three-phase current of the compressor and the voltage vector of the three-phase current in a two-phase stationary coordinate system can be determined, and the voltage vector angle can be calculated according to the voltage vector. In addition, the power factor angle of the three-phase current in a two-phase rotating coordinate system can also be calculated. In this way, the current vector angle can be calculated through the voltage vector angle and the power factor angle. And according to the current vector angle, the direction of the three-phase current can be determined.
[0137] By adopting the above technical solution, the power factor angle and the voltage vector angle can be determined through the three-phase current of the compressor, and then the current vector angle can be calculated. In this way, the direction of the three-phase current can be determined according to the current vector angle. The above solution can determine the direction of the compressor current without adding a hardware circuit, with lower cost.
[0138] Optionally, the fourth module 504 includes:
[0139] The first sub-module is configured to calculate the difference between the voltage vector angle and the power factor angle to obtain the current vector angle.
[0140] Optionally, the fifth module 505 includes:
[0141] The second sub-module is configured to determine the angle range where the current vector angle is located to obtain the target angle range;
[0142] The third sub-module is configured to determine the direction of the three-phase current according to the target angle range.
[0143] Optionally, the third sub-module includes:
[0144] The first sub-unit is configured to, when the target angle range is (-30, 30], determine that the current polarity of phase A of the three-phase current is positive, the current polarity of phase B of the three-phase current is negative, and the current polarity of phase C of the three-phase current is negative;
[0145] The second sub-unit is configured to, when the target angle range is (30, 90], determine that the current polarity of phase A is positive, the current polarity of phase B is positive, and the current polarity of phase C is negative;
[0146] The third sub-unit is configured to, when the target angle range is (90, 150], determine that the current polarity of phase A is negative, the current polarity of phase B is positive, and the current polarity of phase C is negative;
[0147] The fourth sub-unit is configured to, when the target angle range is (150, 210], determine that the current polarity of phase A is negative, the current polarity of phase B is positive, and the current polarity of phase C is positive;
[0148] The fifth sub-unit is configured to, when the target angle range is (210, 270], determine that the current polarity of phase A is negative, the current polarity of phase B is negative, and the current polarity of phase C is positive;
[0149] The sixth sub-unit is configured to determine that the current polarity of phase A is positive, the current polarity of phase B is negative, and the current polarity of phase C is positive when the target angle range is (270, 330].
[0150] Optionally, the first module 501 includes:
[0151] The fourth sub-module is configured to map the three-phase current to the two-phase rotating coordinate system to obtain a mapped current;
[0152] The fifth sub-module is configured to use the mapped current as the input of the current loop in the control system of the compressor to obtain a mapped voltage output by the current loop;
[0153] The sixth sub-module is configured to map the mapped voltage to the two-phase stationary coordinate system to obtain the voltage vector.
[0154] Optionally, the third module 503 includes:
[0155] The seventh sub-module is configured to determine the coordinate values of the mapped current in the two-phase rotating coordinate system;
[0156] The eighth sub-module is configured to calculate the amplitude of the voltage vector;
[0157] The ninth sub-module is configured to calculate the power factor angle according to the amplitude of the voltage vector and the coordinate values of the mapped current in the two-phase rotating coordinate system.
[0158] Optionally, the second module 502 includes:
[0159] The tenth sub-module is configured to determine the coordinate value of the voltage vector on the first coordinate axis of the two-phase stationary coordinate system to obtain a first coordinate value;
[0160] The eleventh sub-module is configured to determine the coordinate value of the voltage vector on the second coordinate axis of the two-phase stationary coordinate system to obtain a second coordinate value;
[0161] The twelfth sub-module is configured to calculate the voltage vector angle according to the first coordinate value and the second coordinate value.
[0162] Optionally, the device includes;
[0163] A control module configured to use the direction of the three-phase current as a parameter of a dead zone compensation algorithm to control the compressor through the dead zone compensation algorithm.
[0164] An embodiment of the present disclosure provides a processing device for a compressor, including:
[0165] A processor;
[0166] A memory for storing processor-executable instructions;
[0167] Wherein, the processor is configured to execute the steps of the processing method of the compressor provided in any embodiment of the present disclosure.
[0168] An embodiment of the present disclosure provides a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the processing method of the compressor provided in any embodiment of the present disclosure are implemented.
[0169] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment related to the method, and will not be elaborated here.
[0170] Figure 6 is a block diagram of an electronic device 700 shown according to an exemplary embodiment, and the electronic device 700 may be configured, for example, as a processing device for a compressor. As Figure 6 shown, the electronic device 700 may include: a processor 701, a memory 702. The electronic device 700 may further include one or more of a multimedia component 703, an input / output (I / O) interface 704, and a communication component 705.
[0171] Among them, the processor 701 is used to control the overall operation of the electronic device 700 to complete all or part of the steps in the above-mentioned processing method of the compressor. The memory 702 is used to store various types of data to support the operation of the electronic device 700. These data may include, for example, instructions for any application or method operating on the electronic device 700, as well as application-related data. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic memory, flash memory, etc. The multimedia component 703 may include a screen and an audio component. The I / O interface 704 provides an interface between the processor 701 and other interface modules. The above-mentioned other interface modules may be dials, buttons, etc. These buttons can be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), etc., or a combination of one or more of them, is not limited herein. Therefore, correspondingly, the communication component 705 may include: a Wi-Fi module, a Bluetooth module, an NFC module, etc.
[0172] In an exemplary embodiment, the electronic device 700 can be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components, and is used to execute the above-mentioned processing method of the compressor.
[0173] In another exemplary embodiment, a computer-readable storage medium including program instructions is further provided. When the program instructions are executed by a processor, the steps of the above-described processing method of the compressor are implemented. For example, the computer-readable storage medium may be the above-described memory 702 including program instructions, and the above program instructions may be executed by the processor 701 of the electronic device 700 to complete the above-described processing method of the compressor.
[0174] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device, and the computer program has a code portion for executing the above-described processing method of the compressor when executed by the programmable device.
[0175] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include well-known knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0176] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A processing method for a compressor, characterized in that, Including: Determine the three-phase current of the compressor and the voltage vector of the three-phase current in the two-phase stationary coordinate system; Calculate the voltage vector angle according to the voltage vector; Calculate the power factor angle of the three-phase current in the two-phase rotating coordinate system; Calculate the current vector angle through the voltage vector angle and the power factor angle; Determine the direction of the three-phase current according to the current vector angle.
2. The method according to claim 1, characterized in that, The calculating the current vector angle through the voltage vector angle and the power factor angle includes: Calculate the difference between the voltage vector angle and the power factor angle to obtain the current vector angle.
3. The method according to claim 1, wherein The determining the direction of the three-phase current according to the current vector angle includes: Determine the angle interval where the current vector angle is located to obtain the target angle interval; Determine the direction of the three-phase current according to the target angle interval.
4. The method according to claim 3, characterized in that, The determining the direction of the three-phase current according to the target angle interval includes: When the target angle interval is (-30, 30], determine that the current polarity of phase A of the three-phase current is positive, the current polarity of phase B of the three-phase current is negative, and the current polarity of phase C of the three-phase current is negative; When the target angle interval is (30, 90], determine that the current polarity of phase A is positive, the current polarity of phase B is positive, and the current polarity of phase C is negative; When the target angle interval is (90, 150], determine that the current polarity of phase A is negative, the current polarity of phase B is positive, and the current polarity of phase C is negative; When the target angle interval is (150, 210], determine that the current polarity of phase A is negative, the current polarity of phase B is positive, and the current polarity of phase C is positive; When the target angle interval is (210, 270], determine that the current polarity of phase A is negative, the current polarity of phase B is negative, and the current polarity of phase C is positive; When the target angle interval is (270, 330], determine that the current polarity of phase A is positive, the current polarity of phase B is negative, and the current polarity of phase C is positive.
5. The method according to any one of claims 1 to 4, characterized in that The determining the three-phase current of the compressor and the voltage vector of the three-phase current in the two-phase stationary coordinate system includes: Map the three-phase current to the two-phase rotating coordinate system to obtain the mapped current; Use the mapped current as the input of the current loop in the control system of the compressor to obtain the mapped voltage output by the current loop; Map the mapped voltage to the two-phase stationary coordinate system to obtain the voltage vector.
6. The method according to claim 5, wherein The calculating the power factor angle of the three-phase current in the two-phase rotating coordinate system includes: Determine the coordinate values of the mapped current in the two-phase rotating coordinate system; Calculate the amplitude of the voltage vector; Calculate the power factor angle according to the amplitude of the voltage vector and the coordinate values of the mapped current in the two-phase rotating coordinate system.
7. The method according to any one of claims 1 to 4, characterized in that The calculating the voltage vector angle according to the voltage vector includes: Determine the coordinate value of the voltage vector on the first coordinate axis in the two-phase stationary coordinate system to obtain the first coordinate value; Determine the coordinate value of the voltage vector on the second coordinate axis of the two-phase stationary coordinate system to obtain a second coordinate value; Calculate the voltage vector angle according to the first coordinate value and the second coordinate value.
8. The method according to any one of claims 1 to 4, characterized in that The method includes: Use the directions of the three-phase currents as parameters of a dead zone compensation algorithm, and control the compressor through the dead zone compensation algorithm.
9. A processing device for a compressor, characterized in that, It includes: A first module configured to determine the three-phase currents of a compressor and the voltage vector of the three-phase currents in a two-phase stationary coordinate system; A second module configured to calculate the voltage vector angle according to the voltage vector; A third module configured to calculate the power factor angle of the three-phase currents in a two-phase rotating coordinate system; A fourth module configured to calculate the current vector angle through the voltage vector angle and the power factor angle; A fifth module configured to determine the directions of the three-phase currents according to the current vector angle.
10. A processing device for a compressor, characterized in that, It includes: A processor; A memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the steps of the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instructions are executed by the processor, the steps of the method according to any one of claims 1 to 8 are implemented.