Power factor correction method and device, electronic equipment and storage medium
By determining the correspondence between the input current and the carrier period in the power factor correction circuit, and accurately determining the current zero crossing point using the count deviation value at the peak current time, the high cost problem caused by the zero crossing point detection in the prior art is solved, and low-cost power factor correction control is realized.
Patent Information
- Application Number
- CN202410026480.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-08
- Publication Date
- 2025-07-08
AI Technical Summary
In the prior art, the power factor correction cost is high, especially due to the high cost problem caused by the demand for zero crossing point detection of input voltage.
By determining the correspondence between the input current and the power factor correction carrier period, the carrier period count deviation value at the peak current moment is used to accurately determine the current zero crossing point, and control the power factor correction circuit according to the current zero crossing point to realize the power factor correction of the input voltage. Only the input current detection device is used, and no additional detection of the input voltage zero crossing point is required.
The cost of power factor correction is reduced, the accuracy of current zero crossing determination is improved, and the control process is simplified.
Smart Images

Figure CN120281178A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technologies, and in particular, to a power factor correction method, apparatus, electronic device, and storage medium. Background Art
[0002] A power factor correction (PFC) circuit can improve the power factor of a power supply, enabling it to transmit and distribute energy more efficiently, reducing power waste, and improving overall energy efficiency. A voltage-current double closed-loop control method based on the detection of the DC bus voltage, input voltage, and input current can be used to control the PFC circuit. However, the cost required by the voltage-current double closed-loop control method is relatively high, resulting in a relatively high power factor correction cost.
[0003] In related technologies, a single-cycle control method based on the detection of the DC bus voltage and input current can be used to control the PFC circuit. However, although the single-cycle control method reduces the cost required for input voltage detection, the single-cycle control method needs to detect the zero-crossing point of the input voltage and control the PFC circuit to start power factor correction at the zero-crossing moment of the input voltage. The detection of the zero-crossing point of the input voltage also leads to a relatively high power factor correction cost. Summary of the Invention
[0004] The present disclosure aims to at least solve one of the technical problems in the related technologies to some extent.
[0005] To this end, the first object of the present disclosure is to propose a power factor correction method to reduce the cost of power factor correction.
[0006] The second object of the present disclosure is to propose a power factor correction apparatus.
[0007] The third object of the present disclosure is to propose an electronic device.
[0008] The fourth object of the present disclosure is to propose a computer-readable storage medium.
[0009] The fifth object of the present disclosure is to propose a computer program product.
[0010] To achieve the above object, an embodiment of the first aspect of the present disclosure proposes a power factor correction method, including:
[0011] Determining a first correspondence between an input current period corresponding to the input current and a power factor correction carrier period according to a current frequency of the input current corresponding to a power factor correction circuit and a power factor correction carrier frequency;
[0012] Determine a second correspondence between the current peak value in the input current period and the power factor correction carrier period according to the first correspondence, and determine the carrier period count deviation value at the current peak moment according to the second correspondence;
[0013] Determine the zero-crossing point of the current according to the first correspondence and the carrier period count deviation value at the current peak moment, and control the power factor correction circuit to perform power factor correction on the input voltage according to the zero-crossing point of the current.
[0014] Optionally, the determining the carrier period count deviation value at the current peak moment according to the second correspondence includes:
[0015] Count the power factor correction carrier period in any input current period, and perform closed-loop tracking of the current peak value of the input current to determine the actual count value of the power factor correction carrier period corresponding to the current peak moment of any input current period;
[0016] Determine the unbiased count value of the power factor correction carrier period at the current peak moment according to the second correspondence;
[0017] Determine the carrier period count deviation value at the current peak moment according to the unbiased count value of the power factor correction carrier period at the current peak moment and the actual count value of the power factor correction carrier period.
[0018] Optionally, the determining the actual count value of the power factor correction carrier period corresponding to the current peak moment of any input current period includes:
[0019] Determine the current count value of the power factor correction carrier period, and sample the input current to obtain the input current value and the current peak value;
[0020] When the input current value is less than the current peak value, add 1 to the current count value of the power factor correction carrier period and resample the input current value until the input current value is equal to the current peak value to obtain the actual count value of the power factor correction carrier period.
[0021] Optionally, the determining the zero-crossing point of the current according to the first correspondence and the carrier period count deviation value at the current peak moment includes:
[0022] Determine the unbiased count value of the power factor correction carrier period at the zero-crossing point of the current according to the first correspondence;
[0023] Determine the actual count value of the carrier period at the zero-crossing point of the current according to the unbiased count value of the power factor correction carrier period at the zero-crossing point of the current and the carrier period count deviation value at the current peak moment;
[0024] Determine the current count value of the power factor correction carrier period. When the current count value of the power factor correction carrier period is less than the actual count value of the carrier period at the current zero-crossing moment of the current, after adding 1 to the current count value of the power factor correction carrier period, compare the current count value of the power factor correction carrier period and the actual count value of the carrier period at the current zero-crossing moment of the current again until the current count value of the power factor correction carrier period is equal to the actual count value of the carrier period at the current zero-crossing moment of the current, so as to obtain the current zero-crossing point.
[0025] Optionally, after the current count value of the power factor correction carrier period is equal to the actual count value of the carrier period at the current zero-crossing moment of the current, the method further includes:
[0026] Perform initialization processing on the current count value of the power factor correction carrier period, and record the carrier period count deviation value at the current peak moment of the current.
[0027] Optionally, the counting of the power factor correction carrier period in any input current cycle includes:
[0028] Use a phase counter to count the power factor correction carrier period in any input current cycle.
[0029] Optionally, the controlling the power factor correction circuit to perform power factor correction on the input voltage according to the current zero-crossing point includes:
[0030] Determine the frequency correspondence and phase correspondence between the input current and the input voltage;
[0031] According to the frequency correspondence and the phase correspondence, determine the voltage zero-crossing point corresponding to the current zero-crossing point;
[0032] Control the power factor correction circuit to perform power factor correction on the input voltage according to the voltage zero-crossing point.
[0033] To achieve the above object, an embodiment of the second aspect of the present disclosure provides a power factor correction device, including:
[0034] A relationship determination unit, configured to determine a first correspondence between the input current period corresponding to the input current and the power factor correction carrier period according to the current frequency of the input current corresponding to the power factor correction circuit and the power factor correction carrier frequency;
[0035] A deviation determination unit, configured to determine a second correspondence between the current peak in the input current period and the power factor correction carrier period according to the first correspondence, and determine the carrier period count deviation value at the current peak moment according to the second correspondence;
[0036] A factor correction unit is configured to determine a current zero-crossing point according to the first correspondence relationship and the carrier period count deviation value at the current peak moment, and control the power factor correction circuit to perform power factor correction on the input voltage according to the current zero-crossing point.
[0037] To achieve the above object, an embodiment of the third aspect of the present disclosure provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0038] The memory stores computer-executable instructions;
[0039] The processor executes the computer-executable instructions stored in the memory to implement the method shown in any one of the foregoing first aspects.
[0040] To achieve the above object, an embodiment of the fourth aspect of the present disclosure provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the method shown in any one of the foregoing first aspects.
[0041] To achieve the above object, an embodiment of the fifth aspect of the present disclosure provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the method shown in any one of the foregoing first aspects.
[0042] In summary, the method, device, electronic device, and storage medium provided by the present disclosure determine the current zero-crossing point according to the carrier period count deviation value at the current peak moment, and control the power factor correction circuit to perform power factor correction on the input voltage according to the current zero-crossing point. Only an input current detection device is used to control the power factor correction circuit, and it is not necessary to add an additional device to detect the zero-crossing point of the input voltage, which can reduce the cost of power factor correction.
[0043] Additional aspects and advantages of the present disclosure will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The above and / or additional aspects and advantages of the present disclosure will become apparent and be readily understood from the following description of the embodiments in conjunction with the drawings, in which:
[0045] Figure 1 is a schematic flowchart of a power factor correction method provided by an embodiment of the present disclosure;
[0046] Figure 2 is a schematic structural diagram of a power factor correction device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0047] Embodiments of the present disclosure will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, where like or similar reference numerals denote like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary and are intended to explain the present disclosure, and should not be construed as a limitation of the present disclosure.
[0048] The present disclosure will be described in detail below in conjunction with specific embodiments.
[0049] In the first embodiment, as Figure 1 shown, Figure 1 is a schematic flowchart of a power factor correction method provided by an embodiment of the present disclosure. This method can be implemented depending on a computer program and can run on a device for power factor correction. This computer program can be integrated in an application or run as an independent tool-like application.
[0050] Among them, the power factor correction device can be an electronic device with power factor correction function. This electronic device includes but is not limited to devices such as air conditioners, mobile phones, computers, watches, etc.
[0051] Specifically, the power factor correction method includes the following steps:
[0052] S101, determine a first correspondence relationship between the input current period corresponding to the input current and the power factor correction carrier period according to the current frequency of the input current corresponding to the power factor correction circuit and the power factor correction carrier frequency;
[0053] According to some embodiments, the power factor correction circuit does not specifically refer to a certain fixed circuit. For example, the power factor correction circuit can be a boost-type power factor correction circuit.
[0054] According to some embodiments, the power factor correction carrier frequency refers to the frequency of the power factor correction carrier. The power factor correction carrier refers to the carrier signal used by the power factor correction circuit during power factor correction.
[0055] In some embodiments, in the power factor correction circuit, by controlling the on and off of elements such as switching tubes through the carrier signal, modulation of the input current and input voltage can be achieved, thereby improving the power factor of the power supply. By adjusting parameters such as the frequency and duty cycle of the carrier signal, the modulation degree of the input current and input voltage can be adjusted. This carrier signal includes but is not limited to waveform signals such as sine waves and triangular waves.
[0056] According to some embodiments, the power factor correction carrier period refers to the period of the power factor correction carrier.
[0057] In some embodiments, the first correspondence is used to indicate the number of power factor correction carrier cycles included in an input current cycle.
[0058] It is easy to understand that when the electronic device performs power factor correction, the electronic device can determine the first correspondence between the input current cycle corresponding to the input current and the power factor correction carrier cycle according to the current frequency of the input current corresponding to the power factor correction circuit and the power factor correction carrier frequency.
[0059] S102. Determine the second correspondence between the current peak value in the input current cycle and the power factor correction carrier cycle according to the first correspondence, and determine the carrier cycle count deviation value at the current peak time according to the second correspondence;
[0060] According to some embodiments, the second correspondence is used to indicate the number of power factor correction carrier cycles included between the start time and the current peak time in an input current cycle.
[0061] In some embodiments, the carrier cycle count deviation value at the current peak time refers to the deviation value between the number of power factor correction carrier cycles actually measured between the start time and the current peak time in an input current cycle and the number of power factor correction carrier cycles indicated by the second correspondence.
[0062] It is easy to understand that when the electronic device obtains the first correspondence, the electronic device can determine the second correspondence between the current peak value in the input current cycle and the power factor correction carrier cycle according to the first correspondence, and determine the carrier cycle count deviation value at the current peak time according to the second correspondence.
[0063] S103. Determine the current zero crossing according to the first correspondence and the carrier cycle count deviation value at the current peak time, and control the power factor correction circuit to perform power factor correction on the input voltage according to the current zero crossing.
[0064] It should be noted that in an input current cycle, the carrier cycle count deviation value at the current peak time is basically the same as the carrier cycle count deviation value at the current zero crossing time. Therefore, according to the number of power factor correction carrier cycles indicated by the first correspondence and the carrier cycle count deviation value at the current peak time, the number of power factor correction carrier cycles included between the start time and the current zero crossing time can be determined. Thus, the moment when the number of power factor correction carrier cycles reaches the number of power factor correction carrier cycles included between the start time and the current zero crossing time is the moment of the current zero crossing.
[0065] It is easy to understand that when the electronic device obtains the carrier period count deviation value at the current peak moment, the electronic device can determine the current zero-crossing point according to the first correspondence relationship and the carrier period count deviation value at the current peak moment, and control the power factor correction circuit to perform power factor correction on the input voltage according to the current zero-crossing point.
[0066] In summary, the method provided in this embodiment determines the current zero-crossing point according to the carrier period count deviation value at the current peak moment, and controls the power factor correction circuit to perform power factor correction on the input voltage according to the current zero-crossing point. Only by using the input current detection device can the control of the power factor correction circuit be realized, and there is no need to add an additional device to detect the input voltage zero-crossing point, which can reduce the cost of power factor correction.
[0067] This embodiment also provides another power factor correction method. This method can be executed by an electronic device.
[0068] Specifically, this power factor correction method may include the following steps:
[0069] S201, determine the first correspondence relationship between the input current period corresponding to the input current and the power factor correction carrier period according to the current frequency of the input current corresponding to the power factor correction circuit and the power factor correction carrier frequency;
[0070] According to some embodiments, the current frequency of the input current can be obtained by a current detection device.
[0071] In some embodiments, the input current may be, for example, the rectified input current. The phase range of the rectified input current is 0 to 180°, that is to say, each current value in the current waveform corresponding to the rectified input current is not less than zero, and the current frequency of the rectified input current is twice the current frequency of the input current before rectification. For example, when the input current before rectification is a sine wave, the rectified input current may be, for example, a Mantovani wave.
[0072] For example, when the PFC carrier frequency is 40 kHz and the current frequency of the input current before rectification is 50 Hz, the current frequency of the rectified input current can be 100 Hz, and the number of power factor correction carrier periods included in one rectified input current period can be 40000 / 100 / 2 = 200. At this time, the first correspondence relationship indicates that one rectified input current period includes 200 power factor correction carrier periods.
[0073] S202, determine the second correspondence relationship between the current peak value in the input current period and the power factor correction carrier period according to the first correspondence relationship;
[0074] According to some embodiments, when the input current is the rectified input current and the rectified input current is a chopped wave, the phase corresponding to the current peak value of the rectified input current is 90°. In this case, within one input current cycle, the number of power factor correction carrier cycles included between the start time and the current peak time is half of the number of power factor correction carrier cycles included in one input current cycle.
[0075] For example, when the first correspondence indicates that one rectified input current cycle includes 200 power factor correction carrier cycles, the second correspondence indicates that within one input current cycle, there are 100 power factor correction carrier cycles between the start time and the current peak time.
[0076] S203, within any input current cycle, count the power factor correction carrier cycles, and perform closed-loop tracking of the current peak value of the input current to determine the actual count value of the power factor correction carrier cycle corresponding to the current peak time of any input current cycle;
[0077] According to some embodiments, a phase counter can be used to count the power factor correction carrier cycles within any input current cycle.
[0078] In some embodiments, the phase counter is used to count the number of power factor correction carrier cycles.
[0079] According to some embodiments, the closed-loop tracking of the current peak value can keep the current peak value within a set range by adjusting and controlling the current in real time.
[0080] In some embodiments, when determining the actual count value of the power factor correction carrier cycle corresponding to the current peak time of any input current cycle, the current count value of the power factor correction carrier cycle can be determined, and the input current is sampled to obtain the input current value and the current peak value; when the input current value is less than the current peak value, the current count value of the power factor correction carrier cycle is incremented by one and the input current value is resampled until the input current value is equal to the current peak value, thereby obtaining the actual count value of the power factor correction carrier cycle.
[0081] In some embodiments, at the start time of counting the power factor correction carrier cycles within any input current cycle, the current count value of the power factor correction carrier cycle can be zero, and then the current count value of the power factor correction carrier cycle is incremented by one every time one power factor correction carrier cycle passes.
[0082] In some embodiments, the current peak value can be the historical current peak value sampled in the input current cycle before the current input current cycle.
[0083] S204. Determine the unbiased count value of the power factor correction carrier period at the current peak moment according to the second corresponding relationship;
[0084] For example, in the case where the second corresponding relationship indicates that there are 100 power factor correction carrier periods between the start moment and the current peak moment in an input current period, and the current count value of the power factor correction carrier period at the start moment of counting the power factor correction carrier period in any input current period is set to zero, the unbiased count value of the power factor correction carrier period at the current peak moment is 100.
[0085] S205. Determine the carrier period counting deviation value at the current peak moment according to the unbiased count value of the power factor correction carrier period at the current peak moment and the actual count value of the power factor correction carrier period;
[0086] For example, when the unbiased count value of the power factor correction carrier period at the current peak moment is 100, the carrier period counting deviation value Δφ temp = 100 - PhaseCnt, where PhaseCnt is the actual count value of the power factor correction carrier period.
[0087] S206. Determine the unbiased count value of the power factor correction carrier period at the current zero-crossing moment according to the first corresponding relationship;
[0088] For example, in the case where the first corresponding relationship indicates that a rectified input current period contains 200 power factor correction carrier periods, and the current count value of the power factor correction carrier period at the start moment of counting the power factor correction carrier period in any input current period is set to zero, the unbiased count value of the power factor correction carrier period at the current zero-crossing moment is 200.
[0089] S207. Determine the actual value of the carrier period count at the current zero-crossing moment according to the unbiased count value of the power factor correction carrier period at the current zero-crossing moment and the carrier period counting deviation value at the current peak moment;
[0090] For example, when the unbiased count value of the power factor correction carrier period at the current zero-crossing moment is 200, the actual value of the carrier period count at the current zero-crossing moment can be 200 - Δφ temp .
[0091] S208. Determine the current count value of the power factor correction carrier period. When the current count value of the power factor correction carrier period is less than the actual count value of the carrier period at the current zero-crossing moment of the current, after adding 1 to the current count value of the power factor correction carrier period, compare the current count value of the power factor correction carrier period and the actual count value of the carrier period at the current zero-crossing moment of the current again until the current count value of the power factor correction carrier period is equal to the actual count value of the carrier period at the current zero-crossing moment of the current, and obtain the current zero-crossing point.
[0092] It should be noted that after the actual count value of the power factor correction carrier period is obtained when the input current value is equal to the current peak value, even if the sampled input current value is less than the current peak value again, the process will not return to step S203 to recalculate the carrier period count deviation value at the current peak moment of the current.
[0093] For example, when the input current value is equal to the current peak value with the current count value of the power factor correction carrier period being 95, the carrier period count deviation value Δφ temp = 5. However, 95 is less than 200 - 5 = 195, so it is necessary to wait for the current count value of the power factor correction carrier period to continue to increase until it is equal to 195. During this process, the sampled input current value will be less than the current peak value again, but the carrier period count deviation value at the current peak moment of the current will not be recalculated.
[0094] S209. Initialize the current count value of the power factor correction carrier period and record the carrier period count deviation value at the current peak moment of the current.
[0095] According to some embodiments, when initializing the current count value of the power factor correction carrier period, the current count value of the power factor correction carrier period can be reset to 0.
[0096] In some embodiments, after recording the carrier period count deviation value at the current peak moment of the current, this value can be directly used to determine the current zero-crossing point in the next input current cycle.
[0097] In some embodiments, it is also possible to determine the carrier period count deviation value at the current peak moment of the current in the current input current cycle, and update the carrier period count deviation value at the current peak moment of the current recorded in the previous input current cycle to the carrier period count deviation value at the current peak moment of the current in the current input current cycle.
[0098] S210. Determine the frequency correspondence and phase correspondence between the input current and the input voltage.
[0099] According to some embodiments, the frequency correspondence refers to the correspondence between the frequency of the input current and the frequency of the input voltage. For example, the frequency of the input current can be the same as the frequency of the input voltage.
[0100] In some embodiments, based on the frequency correspondence and the input current waveform detected by the input current, the frequency of the input voltage can be calculated.
[0101] In some embodiments, based on the input current waveform, real-time detection of short-term interruption of the input voltage can also be performed.
[0102] According to some embodiments, the phase correspondence refers to the correspondence between the phase of the input current and the phase of the input voltage. For example, the phase of the input current can be the same as the phase of the input voltage.
[0103] S211. Determine the voltage zero-crossing point corresponding to the current zero-crossing point according to the frequency correspondence and the phase correspondence;
[0104] For example, when the input current and the input voltage have the same frequency and the same phase, the moment of the current zero-crossing point is the moment of the voltage zero-crossing point.
[0105] S212. Control the power factor correction circuit to perform power factor correction on the input voltage according to the voltage zero-crossing point.
[0106] According to some embodiments, when controlling the power factor correction circuit to perform power factor correction on the input voltage according to the voltage zero-crossing point, for example, a single-cycle control method can be used to perform power factor correction on the input voltage.
[0107] In summary, for the method provided in the embodiments of the present disclosure, first, according to the current frequency of the input current corresponding to the power factor correction circuit and the power factor correction carrier frequency, a first correspondence between the input current period corresponding to the input current and the power factor correction carrier period is determined; according to the first correspondence, a second correspondence between the current peak value in the input current period and the power factor correction carrier period is determined; in any input current period, the power factor correction carrier period is counted, and the input current is subjected to current peak value closed-loop tracking to determine the actual count value of the power factor correction carrier period corresponding to the current peak moment in any input current period; according to the second correspondence, the unbiased count value of the power factor correction carrier period at the current peak moment is determined; according to the unbiased count value of the power factor correction carrier period at the current peak moment and the actual count value of the power factor correction carrier period, the count deviation value of the carrier period at the current peak moment is determined; therefore, the accuracy of determining the count deviation value of the carrier period at the current peak moment can be improved. Next, according to the first correspondence, the unbiased count value of the power factor correction carrier period at the current zero-crossing moment is determined; according to the unbiased count value of the power factor correction carrier period at the current zero-crossing moment and the count deviation value of the carrier period at the current peak moment, the actual count value of the carrier period at the current zero-crossing moment is determined; the current count value of the power factor correction carrier period is determined. When the current count value of the power factor correction carrier period is less than the actual count value of the carrier period at the current zero-crossing moment, after adding 1 to the current count value of the power factor correction carrier period, the current count value of the power factor correction carrier period and the actual count value of the carrier period at the current zero-crossing moment are compared again until the current count value of the power factor correction carrier period is equal to the actual count value of the carrier period at the current zero-crossing moment, and the current zero-crossing is obtained; therefore, the accuracy of determining the current zero-crossing can be improved. Secondly, the current count value of the power factor correction carrier period is initialized, and the count deviation value of the carrier period at the current peak moment is recorded; therefore, the convenience of determining the current zero-crossing in each input current period can be improved. Finally, by determining the frequency correspondence and phase correspondence between the input current and the input voltage; according to the frequency correspondence and phase correspondence, the voltage zero-crossing corresponding to the current zero-crossing is determined; the power factor correction circuit is controlled according to the voltage zero-crossing to perform power factor correction on the input voltage; therefore, the voltage zero-crossing can be determined according to the current zero-crossing, additional devices for detecting the input voltage zero-crossing do not need to be added, the cost of power factor correction can be reduced, and the accuracy of determining the voltage zero-crossing is relatively high.
[0108] To implement the above embodiments, the present disclosure also proposes a power factor correction device.
[0109] As Figure 2 shown, the power factor correction device 200 includes:
[0110] A relationship determination unit 201, configured to determine a first correspondence between an input current period corresponding to an input current and a power factor correction carrier period according to a current frequency of the input current corresponding to a power factor correction circuit and a power factor correction carrier frequency;
[0111] A deviation determination unit 202, configured to determine a second correspondence between a current peak value in the input current period and the power factor correction carrier period according to the first correspondence, and determine a carrier period count deviation value at the current peak value moment according to the second correspondence;
[0112] A factor correction unit 203, configured to determine a current zero crossing according to the first correspondence and the carrier period count deviation value at the current peak value moment, and control the power factor correction circuit to perform power factor correction on the input voltage according to the current zero crossing.
[0113] Optionally, when the deviation determination unit 202 is configured to determine the carrier period count deviation value at the current peak value moment according to the second correspondence, it is specifically configured to:
[0114] Count the power factor correction carrier period in any input current period, perform closed-loop tracking on the current peak value of the input current, and determine the actual count value of the power factor correction carrier period corresponding to the current peak value moment of any input current period;
[0115] Determine the unbiased count value of the power factor correction carrier period at the current peak value moment according to the second correspondence;
[0116] Determine the carrier period count deviation value at the current peak value moment according to the unbiased count value of the power factor correction carrier period at the current peak value moment and the actual count value of the power factor correction carrier period.
[0117] Optionally, when the deviation determination unit 202 is configured to determine the actual count value of the power factor correction carrier period corresponding to the current peak value moment of any input current period, it is specifically configured to:
[0118] Determine the current count value of the power factor correction carrier period, sample the input current, and obtain the input current value and the current peak value;
[0119] When the input current value is less than the current peak value, add 1 to the current count value of the power factor correction carrier period and resample the input current value until the input current value is equal to the current peak value, so as to obtain the actual count value of the power factor correction carrier period.
[0120] Optionally, when the factor correction unit 203 is configured to determine the current zero crossing according to the first correspondence and the carrier period count deviation value at the current peak value moment, it is specifically configured to:
[0121] Determine the non-bias count value of the power factor correction carrier period at the current zero-crossing moment according to the first correspondence relationship;
[0122] Determine the actual count value of the carrier period at the current zero-crossing moment of the current according to the non-bias count value of the power factor correction carrier period at the current zero-crossing moment of the current and the count deviation value of the carrier period at the current peak moment of the current;
[0123] Determine the current count value of the power factor correction carrier period. When the current count value of the power factor correction carrier period is less than the actual count value of the carrier period at the current zero-crossing moment of the current, after adding 1 to the current count value of the power factor correction carrier period, compare the current count value of the power factor correction carrier period and the actual count value of the carrier period at the current zero-crossing moment of the current again until the current count value of the power factor correction carrier period is equal to the actual count value of the carrier period at the current zero-crossing moment of the current, and obtain the current zero-crossing point.
[0124] Optionally, the factor correction unit 203 is further configured to, after the current count value of the power factor correction carrier period is equal to the actual count value of the carrier period at the current zero-crossing moment of the current:
[0125] Perform initialization processing on the current count value of the power factor correction carrier period, and record the count deviation value of the carrier period at the current peak moment of the current.
[0126] Optionally, when the deviation determination unit 202 counts the power factor correction carrier period in any input current cycle, it is specifically configured to:
[0127] Use a phase counter to count the power factor correction carrier period in any input current cycle.
[0128] Optionally, when the factor correction unit 203 controls the power factor correction circuit to perform power factor correction on the input voltage according to the current zero-crossing point, it is specifically configured to:
[0129] Determine the frequency correspondence relationship and the phase correspondence relationship between the input current and the input voltage;
[0130] Determine the voltage zero-crossing point corresponding to the current zero-crossing point according to the frequency correspondence relationship and the phase correspondence relationship;
[0131] Control the power factor correction circuit to perform power factor correction on the input voltage according to the voltage zero-crossing point.
[0132] It should be noted that the foregoing explanation of the power factor correction method embodiment also applies to the power factor correction device of this embodiment, and will not be elaborated here.
[0133] In summary, the device provided by the embodiments of the present disclosure determines the current zero-crossing point based on the carrier period counting deviation value at the current peak moment, and controls the power factor correction circuit to perform power factor correction on the input voltage according to the current zero-crossing point. The control of the power factor correction circuit can be achieved only by using the input current detection device, without the need to add an additional device to detect the input voltage zero-crossing point, which can reduce the cost of power factor correction.
[0134] To implement the above embodiments, the present disclosure also provides an electronic device, including: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method provided by the foregoing embodiments.
[0135] To implement the above embodiments, the present disclosure also provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the method provided by the foregoing embodiments when executed by a processor.
[0136] To implement the above embodiments, the present disclosure also provides a computer program product including a computer program, which implements the method provided by the foregoing embodiments when executed by a processor.
[0137] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the present disclosure all comply with the provisions of relevant laws and regulations and do not violate public order and good customs.
[0138] It should be noted that personal information from users should be collected for legal and reasonable purposes and should not be shared or sold outside of these legal uses. In addition, such collection / sharing should be carried out after obtaining the informed consent of the user, including but not limited to notifying the user to read the user agreement / user notice and signing an agreement / authorization including authorizing relevant user information before the user uses the function. In addition, any necessary steps should be taken to protect and safeguard access to such personal information data and ensure that others with access to personal information data comply with their privacy policies and procedures.
[0139] The present disclosure anticipates providing embodiments that allow users to selectively block the use or access of personal information data. That is, the present disclosure anticipates providing hardware and / or software to prevent or block access to such personal information data. Once personal information data is no longer needed, the risk can be minimized by restricting data collection and deleting the data. In addition, when applicable, personal identifiers are removed from such personal information to protect the privacy of the user.
[0140] In the description of the foregoing embodiments, the descriptions referring to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, without contradiction, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0141] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "a plurality" is at least two, such as two, three, etc., unless otherwise specifically defined.
[0142] Any process or method description shown in a flowchart or described in other ways herein may be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a customized logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations, where the functions may be executed in a substantially simultaneous manner or in a reverse order according to the functions involved, rather than in the order shown or discussed, which should be understood by those skilled in the art to which the embodiments of the present disclosure pertain.
[0143] The logic and / or steps represented in the flowchart or otherwise described herein can be considered, for example, a definitional sequence of executable instructions for implementing a logical function, which can be embodied specifically in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or used in conjunction with these instruction execution systems, apparatuses, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection part having one or more wirings (electronic device), a portable computer diskette case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which a program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or other appropriate processing as necessary, and then stored in a computer memory.
[0144] It should be understood that various parts of the present disclosure can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), and the like.
[0145] Those of ordinary skill in the art of this technology can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.
[0146] In addition, in various embodiments of the present disclosure, each functional unit may be integrated into a processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0147] The above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disc, etc. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present disclosure.
Claims
1. A power factor correction method, characterized in that, Including: Determine a first correspondence between an input current period corresponding to the input current and a power factor correction carrier period according to a current frequency of the input current corresponding to a power factor correction circuit and a power factor correction carrier frequency; Determine a second correspondence between a current peak value in the input current period and the power factor correction carrier period according to the first correspondence, and determine a carrier period count deviation value at the current peak value moment according to the second correspondence; Determine a current zero crossing according to the first correspondence and the carrier period count deviation value at the current peak value moment, and control the power factor correction circuit to perform power factor correction on an input voltage according to the current zero crossing.
2. The method according to claim 1, wherein The determining the carrier period count deviation value at the current peak value moment according to the second correspondence includes: Count the power factor correction carrier period in any input current period, and perform closed-loop tracking on the current peak value of the input current to determine an actual count value of the power factor correction carrier period corresponding to the current peak value moment of any input current period; Determine an unbiased count value of the power factor correction carrier period at the current peak value moment according to the second correspondence; Determine the carrier period count deviation value at the current peak value moment according to the unbiased count value of the power factor correction carrier period at the current peak value moment and the actual count value of the power factor correction carrier period.
3. The method according to claim 2, characterized in that, The determining the actual count value of the power factor correction carrier period corresponding to the current peak value moment of any input current period includes: Determine a current count value of the power factor correction carrier period, and sample the input current to obtain an input current value and a current peak value; When the input current value is less than the current peak value, add 1 to the current count value of the power factor correction carrier period and re-sample the input current value until the input current value is equal to the current peak value to obtain the actual count value of the power factor correction carrier period.
4. The method according to claim 2, characterized in that, The determining the current zero crossing according to the first correspondence and the carrier period count deviation value at the current peak value moment includes: Determine an unbiased count value of the power factor correction carrier period at the current zero crossing moment according to the first correspondence; Determine an actual count value of the carrier period at the current zero crossing moment according to the unbiased count value of the power factor correction carrier period at the current zero crossing moment and the carrier period count deviation value at the current peak value moment; Determine the current count value of the power factor correction carrier period. When the current count value of the power factor correction carrier period is less than the actual count value of the carrier period at the current zero crossing moment, add 1 to the current count value of the power factor correction carrier period and re-compare the current count value of the power factor correction carrier period and the actual count value of the carrier period at the current zero crossing moment until the current count value of the power factor correction carrier period is equal to the actual count value of the carrier period at the current zero crossing moment to obtain the current zero crossing.
5. The method according to claim 4, characterized in that After the current count value of the power factor correction carrier period is equal to the actual count value of the carrier period at the current zero crossing moment, the method further includes: Initialize the current count value of the power factor correction carrier period, and record the carrier period count deviation value at the current peak time of the current.
6. The method according to claim 2, wherein Count the power factor correction carrier period in any input current cycle, including: Use a phase counter to count the power factor correction carrier period in any input current cycle.
7. The method according to claim 1, characterized in that Control the power factor correction circuit to perform power factor correction on the input voltage according to the current zero crossing, including: Determine the frequency correspondence and phase correspondence between the input current and the input voltage; Determine the voltage zero crossing corresponding to the current zero crossing according to the frequency correspondence and the phase correspondence; Control the power factor correction circuit to perform power factor correction on the input voltage according to the voltage zero crossing.
8. A power factor correction device, characterized in that, Include: A relationship determination unit for determining a first correspondence between the input current period corresponding to the input current and the power factor correction carrier period according to the current frequency of the input current corresponding to the power factor correction circuit and the power factor correction carrier frequency; A deviation determination unit for determining a second correspondence between the current peak in the input current period and the power factor correction carrier period according to the first correspondence, and determining the carrier period count deviation value at the current peak time according to the second correspondence; A factor correction unit for determining the current zero crossing according to the first correspondence and the carrier period count deviation value at the current peak time, and controlling the power factor correction circuit to perform power factor correction on the input voltage according to the current zero crossing.
9. An electronic device, characterized in that, Include: A processor and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1 to 7.