A phase detection method and system for air conditioner compressor bus voltage ripple
Patent Information
- Application Number
- CN202111006164.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-30
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-08-30
AI Technical Summary
[0006]本发明的目的是要提供一种空调器压缩机母线电压纹波的相位检测方法和系统,解决了现有空调器通过硬件电路检测母线电压波纹相位存在的成本高和体积大的技术问题
[0029] Compared with the existing technology, the advantages and positive effects of the present invention are: the phase detection method of the air conditioner compressor bus voltage ripple of the present invention is detected after the PFC power factor correction is turned on. The detection method is: obtaining the compressor AC power supply The current instantaneous value Iac; calculate the current peak value Ipeak of the AC power supply; set the comparison current Idetect=Ipeak*sinθ, where the value range of θ is (0, π/2); when Iac≥Idetect, output the AC power supply at this time The phase is θ; calculate the bus voltage ripple phase Ψ at this time based on the phase θ of the AC power supply. The present invention does not need to set up a phase detection hardware circuit, but only needs to use the existing AC power supply current detection circuit to detect the instantaneous value of the AC power supply, and then detect and track the phase of the AC power supply and the phase of the DC bus voltage ripple through software. The algorithm of the invention is simple, takes up less MCU resources, saves chip resource overhead, and is easy to implement.
Smart Images

Figure CN113625052B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioner compressor control, and in particular to a phase detection method and system for bus voltage ripple of an air conditioner compressor. Background Art
[0002] The bus voltage of the compressor in the frequency conversion field is the DC voltage at the back end of the PFC. During the operation of the compressor, the DC bus voltage will fluctuate at twice the AC input frequency. The bus voltage fluctuation will affect the current fluctuation of the compressor. Especially under heavy load conditions, the compressor current fluctuation will cause overcurrent shutdown. In order to reduce the compressor current fluctuation caused by the bus voltage fluctuation, the current fluctuation component caused by the bus voltage fluctuation can be separated from the compressor current Id and Iq, and the compressor drive voltage can be compensated. Figure 1 As shown, the control principle is explained by taking the d-axis as an example. Figure 1 In the bus fluctuation compressor current suppression module, it is necessary to track the phase of the bus voltage ripple. The relationship between the AC current phase and the bus voltage ripple phase is as follows: Figure 2 As shown, the fluctuation frequency of the bus voltage is twice the frequency of the AC current. Therefore, as long as the phase of the AC current is detected and used as a reference, the phase of the bus voltage ripple can be obtained.
[0003] In a traditional PFC control scheme, the phase detection of the AC power supply is implemented by a hardware circuit. As it is well known, the hardware principle will not be described in detail.
[0004] However, the phase detection of AC power supply through hardware circuit will inevitably increase the cost and the volume of circuit board. Therefore, the phase detection method without AC phase hardware detection circuit has become a research trend, which is of great significance to realize the detection and tracking of AC current phase and further the detection and tracking of bus voltage ripple phase.
[0005] The above information disclosed in the background technology is only used to increase the understanding of the background technology of the present application, and therefore, it may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] The purpose of the present invention is to provide a phase detection method and system for bus voltage ripple of air conditioner compressor, which solves the technical problems of high cost and large volume of existing air conditioners in detecting bus voltage ripple phase through hardware circuits.
[0007] The invention provides a phase detection method and system for a bus voltage ripple of an air conditioner compressor.
[0008] A phase detection method for the bus voltage ripple of an air conditioner compressor is performed after the PFC power factor correction is turned on. The detection method is as follows:
[0009] Obtaining the instantaneous current value Iac of the compressor AC power supply;
[0010] Calculating a current peak value Ipeak of the AC power supply;
[0011] Set the comparison current Idetect=Ipeak*sinθ, where θ ranges from (0 to π / 2);
[0012] When Iac≥Idetect, the phase of the AC power supply is output as θ;
[0013] The bus voltage ripple phase Ψ at this time is calculated according to the phase θ of the AC power supply.
[0014] According to the phase detection method of the air conditioner compressor bus voltage ripple as described above, the bus voltage ripple phase Ψ=2θ+phase_shift, wherein phase_shift is the phase difference between the current phase of the AC power supply and the bus ripple voltage.
[0015] According to the above-mentioned phase detection method of the air conditioner compressor bus voltage ripple, the method for calculating the current peak value Ipeak of the AC power supply is:
[0016] Calculating a root mean square value I_ac_rms of the power supply current according to the instantaneous current value Iac;
[0017] The peak value of the AC current Ipeak=I_ac_rms*√2 is calculated from I_ac_rms.
[0018] The phase detection method of the air conditioner compressor bus voltage ripple as described above outputs the phase of the AC power supply as θ when Iac≥Idetect and lasts for a set time t, wherein the set time t is a predetermined value.
[0019] According to the phase detection method of the air conditioner compressor bus voltage ripple as described above, the bus ripple voltage phase α=Ψ+T*2π / Tac is updated in each detection calculation cycle, wherein Tac is the period of the steamed bun wave after rectification of the AC power supply; and T is the detection calculation cycle.
[0020] A phase detection system for a bus voltage ripple of an air conditioner compressor, the system comprising:
[0021] An AC power supply current instantaneous value acquisition module, used to acquire the current instantaneous value Iac of the compressor AC power supply;
[0022] A current peak value calculation module, used to calculate the current peak value Ipeak of the AC power supply;
[0023] A comparison module, used for setting a comparison current Idetect=Ipeak*sinθ, wherein the value range of θ is (0, π / 2); and for outputting the phase of the AC power supply as θ when Iac≥Idetect;
[0024] The bus voltage ripple phase calculation module is used to calculate the bus voltage ripple phase Ψ at this time according to the phase θ of the AC power supply.
[0025] In the phase detection system for the air conditioner compressor bus voltage ripple as described above, the bus voltage ripple phase calculation module calculates the bus voltage ripple phase Ψ=2θ+phase_shift at this time, wherein phase_shift is the phase difference between the current phase of the AC power supply and the bus ripple voltage.
[0026] In the phase detection system for the air conditioner compressor bus voltage ripple as described above, the current peak calculation module is used to calculate the root mean square value I_ac_rms of the power supply current according to the instantaneous current value Iac; and the peak value Ipeak=I_ac_rms*√2 of the AC current is calculated from I_ac_rms.
[0027] In the phase detection system for the air conditioner compressor bus voltage ripple as described above, the comparison module is used to output the phase of the AC power supply as θ when Iac≥Idetect and lasts for a set time t, wherein the set time t is a predetermined value.
[0028] The phase detection system of the air conditioner compressor bus voltage ripple as described above includes an update module for updating the bus ripple voltage phase α=Ψ+T*2π / Tac in each detection calculation cycle, wherein Tac is the period of the steamed bun wave after rectification of the AC power supply; and T is the detection calculation cycle.
[0029] Compared with the prior art, the advantages and positive effects of the present invention are: the phase detection method of the bus voltage ripple of the air conditioner compressor of the present invention is detected after the PFC power factor correction is turned on, and the detection method is: obtain the instantaneous current value Iac of the compressor AC power supply; calculate the current peak value Ipeak of the AC power supply; set the comparison current Idetect = Ipeak*sinθ, where θ has a value range of (0, π / 2); when Iac≥Idetect, output the phase of the AC power supply at this time as θ; calculate the bus voltage ripple phase Ψ at this time according to the phase θ of the AC power supply. The present invention does not need to set a phase detection hardware circuit, but only needs to use the existing AC power current detection circuit to detect the instantaneous value of the AC power supply, and then the phase of the AC power supply and the phase of the DC bus voltage ripple can be detected and tracked by software. The algorithm of the present invention is simple, occupies less MCU resources, saves chip resource overhead, and is easy to implement.
[0030] The phase detection system of the bus voltage ripple of the air conditioner compressor of the present invention comprises an instantaneous current value acquisition module of an AC power supply, a current peak value calculation module, a comparison module and a bus voltage ripple phase calculation module. The instantaneous current value acquisition module of the AC power supply is used to obtain the instantaneous current value Iac of the compressor AC power supply; the current peak value calculation module is used to calculate the current peak value Ipeak of the AC power supply; the comparison module is used to set the comparison current Idetect=Ipeak*sinθ, wherein the value range of θ is (0, π / 2); the comparison module is also used to output the phase of the AC power supply at this time as θ when Iac≥Idetect; the bus voltage ripple phase calculation module is used to calculate the bus voltage ripple phase Ψ at this time according to the phase θ of the AC power supply. The present invention does not need to set a phase detection hardware circuit, but only needs to use the existing AC power supply current detection circuit to detect the instantaneous value of the AC power supply, and then the phase of the AC power supply and the phase of the DC bus voltage ripple can be detected and tracked by software. The algorithm of the present invention is simple, occupies less MCU resources, saves chip resource overhead, and is easy to implement.
[0031] After reading the specific embodiments of the present invention in conjunction with the accompanying drawings, other features and advantages of the present invention will become more clear. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic diagram of separating the current fluctuation component caused by bus voltage fluctuation from the compressor current Id and compensating the compressor driving voltage.
[0033] Figure 2 It is a schematic diagram of the relationship between the AC power supply current phase and the bus voltage ripple phase.
[0034] Figure 3 It is the waveform of AC power supply current.
[0035] Figure 4 It is a schematic diagram of the AC power waveform and the rectified steamed bun wave waveform.
[0036] Figure 5 It is a flow chart of a specific embodiment of the present invention.
[0037] Figure 6 It is a block diagram of using bus-bar fluctuating current to suppress compensation voltage.
[0038] Figure 7 It is a principle block diagram of a specific embodiment of the present invention. DETAILED DESCRIPTION
[0039] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0040] It should be noted that in the description of the present invention, the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" and the like indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings, which are only for the convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0041] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0042] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0043] The variable frequency compressor of the air conditioner is generally powered by an AC power supply converted into a DC voltage, and has a PFC power factor correction. The DC voltage at the back end of the PFC is the bus voltage. During the operation of the compressor, the DC bus voltage will fluctuate at twice the frequency of the AC input. The bus voltage fluctuation will affect the current fluctuation of the compressor. Especially under heavy load conditions, the fluctuation of the compressor current will cause overcurrent shutdown. In order to reduce the compressor current fluctuation caused by the bus voltage fluctuation, the current fluctuation component caused by the bus voltage fluctuation can be separated from the compressor current Id and Iq to compensate for the driving voltage of the compressor. In the above control method, it is necessary to track the phase of the bus voltage ripple. This embodiment proposes a software-based bus voltage ripple phase detection method and system. There is no need to add any hardware. It only needs to use the existing AC power current detection circuit to detect the instantaneous value of the AC power supply, and then the AC power supply phase and the DC bus voltage ripple phase can be detected and tracked through software.
[0044] The following specifically describes the phase detection method of the air conditioner compressor bus voltage ripple in this embodiment:
[0045] A phase detection method for a bus voltage ripple of an air conditioner compressor is provided. The phase detection of the bus voltage ripple is performed after the PFC power factor correction is turned on. The detection method is as follows:
[0046] Get the instantaneous current value Iac of the compressor AC power supply.
[0047] The instantaneous current value Iac of the compressor AC power supply can be detected by an AC power supply current detection circuit in an existing hardware circuit.
[0048] Calculate the peak current Ipeak of the AC power supply, such as Figure 3 shown.
[0049] The peak current Ipeak of the AC power supply is calculated based on the instantaneous current value Iac of the compressor AC power supply.
[0050] Specifically, the method for calculating the current peak value Ipeak of the AC power supply is:
[0051] Calculate the root mean square value I_ac_rms of the power supply current according to the instantaneous current value Iac;
[0052] The peak value of the AC current Ipeak=I_ac_rms*√2 is calculated from I_ac_rms.
[0053] Among them, the root mean square value I_ac_rms of the power supply current, that is, the effective value of the instantaneous value Iac of the current, can be obtained by the filtering method of the existing technology or by PFC power factor correction. Therefore, the root mean square value I_ac_rms of the power supply current can be obtained by the existing technology and will not be repeated here.
[0054] Set the comparison current Idetect = Ipeak*sinθ, such as Figure 3 shown.
[0055] Among them, the value range of θ is (0, π / 2).
[0056] When Iac≥Idetect, the phase of the output AC power supply at this time is θ.
[0057] Since the current has certain fluctuations, in order to improve the detection accuracy and avoid misjudgment, this embodiment preferably outputs the phase of the AC power supply as θ when Iac≥Idetect and continues for a set time t.
[0058] The set time t is a predetermined value.
[0059] In this embodiment, t is preferably any value between 50 and 200 us.
[0060] The bus voltage ripple phase Ψ at this time is calculated according to the phase θ of the AC power supply.
[0061] Specifically, the bus voltage ripple phase Ψ=2θ+phase_shift.
[0062] Wherein, phase_shift is the phase difference between the current phase of the AC power supply and the bus ripple voltage.
[0063] Phase_shift can be estimated to be π based on the conservation of input and output power.
[0064] The above scheme realizes the detection of bus voltage ripple phase.
[0065] In order to further track the bus voltage ripple phase, the bus voltage ripple phase is updated in each detection calculation cycle in this embodiment.
[0066] Specifically, in each detection and calculation cycle, the bus ripple voltage phase α=Ψ+T*2π / Tac is updated.
[0067] Among them, Tac is the period of the steamed bun wave after the AC power is rectified, such as Figure 4 In this embodiment, Tac is 0.01s.
[0068] T is the detection calculation period, which can be set according to the actual detection accuracy requirements. In this embodiment, the detection calculation period T is 0.00005s.
[0069] The above scheme realizes the tracking of bus voltage ripple phase.
[0070] It should be noted that the above solution can only be implemented after PFC is turned on. If PFC is not turned on, the power supply current is non-sinusoidal, which will cause the initial phase of Ψ to be incorrect.
[0071] like Figure 5 As shown, the phase detection method of the bus voltage ripple of the air conditioner compressor in this embodiment performs the phase detection of the bus voltage ripple after the PFC power factor correction is turned on, and includes the following steps:
[0072] S1. Obtain the instantaneous current value Iac of the compressor AC power supply.
[0073] The instantaneous current value Iac of the compressor AC power supply can be detected by an AC power supply current detection circuit in an existing hardware circuit.
[0074] S2. Calculate the current peak value Ipeak of the AC power supply according to the instantaneous current value Iac of the compressor AC power supply.
[0075] Specifically, the method for calculating the current peak value Ipeak of the AC power supply is:
[0076] Calculate the root mean square value I_ac_rms of the power supply current according to the instantaneous current value Iac;
[0077] The peak value of the AC current Ipeak=I_ac_rms*√2 is calculated from I_ac_rms.
[0078] Among them, the root mean square value I_ac_rms of the power supply current, that is, the effective value of the instantaneous value Iac of the current, can be obtained by the filtering method of the existing technology or by PFC power factor correction. Therefore, the root mean square value I_ac_rms of the power supply current can be obtained by the existing technology and will not be repeated here.
[0079] S3. Set the comparison current Idetect=Ipeak*sinθ, where the value range of θ is (0, π / 2).
[0080] S4. Determine if Iac≥Idetect and continue for a set time t. If so, go to step S5; otherwise, go to step S4.
[0081] The set time t is a predetermined value.
[0082] In this embodiment, t is preferably any value between 50 and 200 us.
[0083] S5. Output: The phase of the AC power supply at this time is θ.
[0084] S6. Calculate the bus voltage ripple phase Ψ at this time according to the phase θ of the AC power supply.
[0085] Specifically, the bus voltage ripple phase Ψ=2θ+phase_shift.
[0086] Wherein, phase_shift is the phase difference between the current phase of the AC power supply and the bus ripple voltage.
[0087] Phase_shift can be estimated to be π based on the conservation of input and output power.
[0088] S7. The bus ripple voltage phase must be updated in each detection calculation cycle.
[0089] Specifically, in each detection and calculation cycle, the bus ripple voltage phase α=Ψ+T*2π / Tac is updated.
[0090] Among them, Tac is the period of the steamed bun wave after the AC power is rectified, such as Figure 4 In this embodiment, Tac is 0.01s.
[0091] T is the detection calculation period, which can be set according to the actual detection accuracy requirements. In this embodiment, the detection calculation period T is 0.00005s.
[0092] After the bus voltage ripple phase is obtained, the drive voltage of the compressor can be compensated by separating the current fluctuation component caused by the bus voltage fluctuation from the compressor currents Id and Iq.
[0093] Specifically, Figure 6 As shown, the current fluctuation component caused by bus voltage fluctuation is separated from the compressor current Id, and the driving voltage of the compressor is compensated as an example for explanation:
[0094] Id is expanded by Fourier series to obtain the function expression of the d-axis current with respect to the bus voltage phase α. The function expression is multiplied by cosα and -sinα respectively, subtracted from the target value 0, filtered by an integrator, and then inverse Fourier transformed. It is multiplied by cosα and -sinα respectively and then added to obtain the compensation instruction for the d-axis voltage.
[0095] like Figure 7 As shown, this embodiment also proposes a phase detection system for the bus voltage ripple of an air conditioner compressor, including an AC power supply current instantaneous value acquisition module, a current peak value calculation module, a comparison module, a bus voltage ripple phase calculation module and a bus voltage ripple phase update module.
[0096] The following is a detailed description of each module:
[0097] The AC power supply current instantaneous value acquisition module is used to acquire the compressor AC power supply current instantaneous value Iac.
[0098] The instantaneous current value Iac of the compressor AC power supply can be detected by an AC power supply current detection circuit in an existing hardware circuit.
[0099] The current peak value calculation module is used to calculate the current peak value Ipeak of the AC power supply.
[0100] The current peak value calculation module calculates the current peak value Ipeak of the AC power supply according to the instantaneous current value Iac of the compressor AC power supply.
[0101] Specifically, the method by which the current peak value calculation module calculates the current peak value Ipeak of the AC power supply is:
[0102] Calculate the root mean square value I_ac_rms of the power supply current according to the instantaneous current value Iac;
[0103] The peak value of the AC current Ipeak=I_ac_rms*√2 is calculated from I_ac_rms.
[0104] Among them, the root mean square value I_ac_rms of the power supply current, that is, the effective value of the instantaneous value Iac of the current, can be obtained by the filtering method of the existing technology or by PFC power factor correction. Therefore, the root mean square value I_ac_rms of the power supply current can be obtained by the existing technology and will not be repeated here.
[0105] The comparison module is used to set the comparison current Idetect=Ipeak*sinθ, where the value range of θ is (0, π / 2).
[0106] The comparison module is also used for outputting the phase of the AC power supply as θ when Iac≥Idetect.
[0107] Since the current has certain fluctuations, in order to improve the detection accuracy and avoid misjudgment, the comparison module in this embodiment preferably outputs the phase of the AC power supply as θ when Iac≥Idetect and continues for a set time t.
[0108] The set time t is a predetermined value.
[0109] In this embodiment, t is preferably any value between 50 and 200 us.
[0110] The bus voltage ripple phase calculation module is used to calculate the bus voltage ripple phase Ψ at this time according to the phase θ of the AC power supply.
[0111] Specifically, the bus voltage ripple phase calculated by the bus voltage ripple phase calculation module is Ψ=2θ+phase_shift.
[0112] Wherein, phase_shift is the phase difference between the current phase of the AC power supply and the bus ripple voltage.
[0113] Phase_shift can be estimated to be π based on the conservation of input and output power.
[0114] The above scheme realizes the detection of bus voltage ripple phase.
[0115] In order to further track the bus voltage ripple phase, the present embodiment updates the bus voltage ripple phase in each detection calculation cycle. The present embodiment further includes a bus voltage ripple phase updating module.
[0116] The bus ripple voltage phase update module is used to update the bus ripple voltage phase α=Ψ+T*2π / Tac in each detection calculation cycle.
[0117] Among them, Tac is the period of the steamed bun wave after the AC power is rectified, such as Figure 4 In this embodiment, Tac is 0.01s.
[0118] T is the detection calculation period, which can be set according to the actual detection accuracy requirements. In this embodiment, the detection calculation period T is 0.00005s.
[0119] The above scheme realizes the tracking of bus voltage ripple phase.
[0120] It should be noted that the above solution can only be implemented after PFC is turned on. If PFC is not turned on, the power supply current is non-sinusoidal, which will cause the initial phase of Ψ to be incorrect.
[0121] The principle implemented in this embodiment is: the set comparison current Idetect is the current corresponding to the phase θ, so when the detected current is equal to Idetect, that is, the phase value of the current at this time is θ.
[0122] Therefore, this embodiment does not need to set up a phase detection hardware circuit, and only needs to use the existing AC power current detection circuit to detect the instantaneous value of the AC power, and then the phase of the AC power and the phase of the DC bus voltage ripple can be detected and tracked through software. The algorithm of this embodiment is simple, occupies less MCU resources, saves chip resource overhead, and is easy to implement.
[0123] The above is only a preferred embodiment of the present invention, and does not limit the present invention in other forms. Any technician familiar with the profession may use the above disclosed technical content to change or modify it into an equivalent embodiment with equivalent changes. However, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention still belongs to the protection scope of the technical solution of the present invention.
Claims
1. A phase detection method for air conditioner compressor bus voltage ripple, characterized in that: After the PFC power factor correction is turned on, detection is performed, and the detection method is: Obtaining the instantaneous current value Iac of the compressor AC power supply; Calculating the current peak value Ipeak of the AC power supply; Set the comparison current Idetect = Ipeak * sinθ, where θ ranges from (0 to π / 2); When Iac≥Idetect, the phase of the AC power supply is output as θ; The bus voltage ripple phase Ψ is calculated according to the phase θ of the AC power supply; the bus voltage ripple phase Ψ=2θ+phase_shift, wherein phase_shift is the phase difference between the current phase of the AC power supply and the bus voltage ripple; When Iac≥Idetect and lasts for a set time t, outputting the phase of the AC power supply at this time as θ, wherein the set time t is a predetermined value; In each detection calculation cycle, the bus voltage ripple phase α=Ψ+T*2π / Tac is updated, where Tac is the period of the steamed bun wave after the AC power supply is rectified; T is the detection calculation cycle; the method for calculating the current peak value Ipeak of the AC power supply is: Calculating a root mean square value I_ac_rms of the power supply current according to the instantaneous current value Iac; The peak value of the AC current is calculated by I_ac_rms: Ipeak = I_ac_rms* .
2. A system based on the phase detection method of the air conditioner compressor bus voltage ripple according to claim 1, characterized in that: The system comprises: An AC power supply current instantaneous value acquisition module, used to acquire the current instantaneous value Iac of the compressor AC power supply; A current peak value calculation module, used to calculate the current peak value Ipeak of the AC power supply; A comparison module, used for setting a comparison current Idetect = Ipeak * sinθ, wherein the value range of θ is (0, π / 2); and for outputting that the phase of the AC power supply at this time is θ when Iac≥Idetect; A bus voltage ripple phase calculation module, used to calculate the bus voltage ripple phase Ψ at this time according to the phase θ of the AC power supply; The bus voltage ripple phase calculation module calculates the bus voltage ripple phase Ψ=2θ+phase_shift at this time, wherein phase_shift is the phase difference between the current phase of the AC power supply and the bus voltage ripple.
3. The phase detection system for air conditioner compressor bus voltage ripple according to claim 2, characterized in that: The current peak value calculation module is used to calculate the root mean square value I_ac_rms of the power supply current according to the instantaneous current value Iac; and calculate the peak value Ipeak of the alternating current from I_ac_rms = I_ac_rms* .
4. The phase detection system for air conditioner compressor bus voltage ripple according to claim 2, characterized in that: The comparison module is used for outputting that the phase of the AC power source is θ when Iac≥Idetect and lasts for a set time t, wherein the set time t is a value determined in advance.
5. The phase detection system for the bus voltage ripple of the air conditioner compressor according to any one of claims 2 to 4, characterized in that: The system includes an updating module for updating the bus voltage ripple phase α=Ψ+T*2π / Tac in each detection calculation cycle, wherein Tac is the period of the steamed bun wave after rectification of the AC power supply; and T is the detection calculation cycle.
