Method and device for calculating effective value of input voltage of single-phase power factor correction circuit

By monitoring the rectified input voltage, load power and correction circuit opening status in the single-phase power factor correction circuit, the effective value of the input voltage is calculated in real time, which solves the problem of low accuracy of the effective value of the input voltage in the existing technology and achieves Greater accuracy and timeliness.

CN119044588BActive Publication Date: 2025-01-21GD MIDEA HEATING & VENTILATING EQUIP CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411550450.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-01-21
Estimated Expiration
2044-11-01

AI Technical Summary

Technical Problem

In the prior art, when calculating the effective value of the input voltage, it is difficult for a single-phase power factor correction circuit to accurately reflect the changes in the circuit state, resulting in a low accuracy of the effective value of the input voltage.

Method used

By monitoring the rectified input voltage, load power and correction circuit opening status in the single-phase power factor correction circuit, based on changes in these parameters, the effective value of the input voltage is calculated in real time.

Benefits of technology

Realizing the timely update of the effective value of the input voltage and improving its accuracy, the circuit can more accurately reflect the actual situation of the input voltage in different states.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119044588B_ABST
    Figure CN119044588B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method and device for calculating the effective value of the input voltage of a single-phase power factor correction circuit, and relates to the technical field of power factor correction circuits. The method comprises: monitoring the rectified input voltage, load power, and correction circuit start-up state in the single-phase power factor correction circuit, and calculating the input voltage effective value of the single-phase power factor correction circuit in different circuit states according to changes in the rectified input voltage, changes in the load power, and changes in the correction circuit start-up state, so that the input voltage effective value can be updated in time with the change of the circuit state, thereby improving the accuracy of the input voltage effective value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power factor correction circuits, and in particular to a method and device for calculating the effective value of an input voltage of a single-phase power factor correction circuit. Background Art

[0002] In the related technology, the single-phase power factor correction circuit is a circuit topology commonly used to implement power factor correction. Due to the characteristics of simplicity, high efficiency and ability to increase output voltage, the single-phase power factor correction circuit is widely used in technical fields such as air conditioners, power supplies, inverters, and new energy.

[0003] Power factor is a parameter that measures the effective use of electrical energy by a circuit or electrical equipment. If a system or equipment has a low power factor, it means that a large part of the electrical energy it consumes is only used to maintain the phase difference between current and voltage, rather than actually used to do work. This will lead to increased grid load, reduced energy efficiency, and even affect the life and stability of power equipment. Therefore, using a single-phase power factor correction circuit to correct the power factor can enable electrical equipment to use electrical energy more effectively during operation, reduce the consumption of ineffective power, and thus improve the overall energy efficiency and system stability. Summary of the invention

[0004] The embodiment of the present application provides a method and device for calculating the effective value of the input voltage of a single-phase power factor correction circuit. The technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for calculating an effective value of an input voltage of a single-phase power factor correction circuit, the method comprising:

[0006] Monitoring a rectified input voltage in a single-phase power factor correction circuit, wherein the rectified input voltage is a DC voltage obtained by converting an AC power input voltage of the single-phase power factor correction circuit into a DC power;

[0007] Monitoring the load power of the single-phase power factor correction circuit and the correction circuit on state of the single-phase power factor correction circuit, wherein the correction circuit on state is the circuit on state of the power factor correction circuit in the single-phase power factor correction circuit;

[0008] Based on the rectified input voltage, the load power and the start-up state of the correction circuit, the effective value of the input voltage of the single-phase power factor correction circuit is determined.

[0009] In a second aspect, an embodiment of the present application provides a device for calculating an effective value of an input voltage of a single-phase power factor correction circuit, the device comprising:

[0010] A first monitoring module is used to monitor the rectified input voltage in the single-phase power factor correction circuit, wherein the rectified input voltage is a DC voltage obtained by converting the power input voltage of the single-phase power factor correction circuit into a DC voltage;

[0011] A second monitoring module, used to monitor the load power of the single-phase power factor correction circuit and the correction circuit on state of the single-phase power factor correction circuit, wherein the correction circuit on state is the circuit on state of the power factor correction circuit in the single-phase power factor correction circuit;

[0012] A voltage calculation module is used to determine the effective value of the input voltage of the single-phase power factor correction circuit based on the rectified input voltage, the load power and the start-up state of the correction circuit.

[0013] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium has a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above-mentioned method.

[0014] In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a memory and a processor; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the memory and executing the above method.

[0015] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0016] The method for calculating the effective value of the input voltage of a single-phase power factor correction circuit provided in an embodiment of the present application monitors the rectified input voltage, load power, and correction circuit start-up state in the single-phase power factor correction circuit, and calculates the effective value of the input voltage of the single-phase power factor correction circuit in different circuit states according to changes in the rectified input voltage, changes in the load power, and changes in the correction circuit start-up state, so that the effective value of the input voltage can be updated in time with the change of the circuit state, thereby improving the accuracy of the effective value of the input voltage. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 It is a structural schematic diagram of a single-phase power factor correction circuit provided in an embodiment of the present application;

[0019] Figure 2 It is a flow chart of a method for calculating the effective value of input voltage of a single-phase power factor correction circuit provided in an embodiment of the present application;

[0020] Figure 3 This is a schematic diagram of a waveform change of a rectified input voltage provided in an embodiment of the present application;

[0021] Figure 4 It is a flow chart of another method for calculating the effective value of input voltage of a single-phase power factor correction circuit provided in an embodiment of the present application;

[0022] Figure 5 This is a schematic diagram of a rectified input voltage unidirectionally crossing a fixed voltage point provided by an embodiment of the present application;

[0023] Figure 6 It is a flowchart of another method for calculating the effective value of the input voltage of a single-phase power factor correction circuit provided in an embodiment of the present application;

[0024] Figure 7 It is a structural schematic diagram of a device for calculating the effective value of input voltage of a single-phase power factor correction circuit provided in an embodiment of the present application;

[0025] Figure 8 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the purpose, features, and advantages of the embodiments of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0027] In the description of the present application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood in specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are a kind of "or" relationship.

[0028] In the related technology, the single-phase power factor correction circuit has the characteristics of simplicity, high efficiency and the ability to increase the output voltage, and is widely used in technical fields such as air conditioners, power supplies, inverters, and new energy. In the single-phase power factor correction circuit, it is usually necessary to sample the AC input voltage to obtain the amplitude and phase information of the AC input voltage to participate in the loop control. The amplitude of the AC input voltage can also be used to calculate the effective value of the AC input voltage. The effective value of the AC input voltage is of great significance to circuit control. Therefore, how to improve the accuracy of the effective value of the AC input voltage is a technical problem that needs to be solved urgently.

[0029] In order to solve the above technical problems, the present application is described in detail below in conjunction with specific embodiments.

[0030] See also Figure 1 , is a schematic diagram of the structure of a single-phase power factor correction circuit provided in an embodiment of the present application. In the embodiment of the present application, the single-phase power factor correction circuit includes a power supply Vac, a thermistor PTC, a delay switch Relay, a rectifier circuit 1, a power factor correction circuit 2, a first resistor R1, and a capacitor , first resistor R2, load 3.

[0031] The voltage of the power source Vac is the power input voltage of the single-phase power factor correction circuit, and the voltage of the power source Vac is an AC voltage. A thermistor PTC is provided between the power source Vac and the rectifier circuit 1, and a delay switch Relay is also provided in parallel with the thermistor PTC.

[0032] The power factor correction circuit 2 includes an inductor L1, a switch tube Q1 and a diode D1. The switch tube Q1 can be used as a switch to control the opening and closing of the power factor correction (PFC) circuit. The switch tube Q1 can be specifically an NMOS tube. The drain of the switch tube Q1 is connected to one end of the inductor L1 and the positive electrode of the diode D1. The positive electrode of the diode D1 is connected to the negative electrode of the capacitor The negative electrode of the inductor L1 is connected to the source of the switch tube Q1. The other end of the inductor L1 is connected to the positive output end of the rectifier circuit 1. The first end of the first resistor R1 is connected to the negative output end of the rectifier circuit 1, and the second end of the first resistor R1 is connected to the source of the switch tube Q1.

[0033] The first end of the second resistor R2 is connected to the capacitor The negative electrode of the second resistor R2 is connected to the load 3. The load 3 may include a motor. It can be an electrolytic capacitor.

[0034] When the single-phase power factor correction circuit is working, the PFC circuit is turned on by controlling the action of the switch tube Q1. The specific working process of the power factor correction circuit 2 in the embodiment of the present application includes: when the switch tube Q1 is turned on, the current flows through the switch tube Q1, the inductor L1 is charged, the inductor current gradually increases, and the bus capacitor The discharge supplies power to load 3, and the capacitor voltage drops; when the switch tube Q1 is turned off, the current flows through the diode D1, and the inductor L1 discharges to the bus capacitor and load 3, the inductor current gradually decreases, and the bus capacitor Charging, the capacitor voltage increases.

[0035] The method for calculating the effective value of the input voltage of a single-phase power factor correction circuit provided in an embodiment of the present application is applied to the above-mentioned single-phase power factor correction circuit. The executor of the method can be a control device or electronic device connected to the single-phase power factor correction circuit, or an electronic device equipped with the single-phase power factor correction circuit. The method specifically includes: monitoring the rectified input voltage in the single-phase power factor correction circuit, the rectified input voltage is a DC voltage obtained by converting the power input voltage of the single-phase power factor correction circuit into DC power; monitoring the load power of the single-phase power factor correction circuit and the correction circuit on state of the single-phase power factor correction circuit, the correction circuit on state is the circuit on state of the power factor correction circuit in the single-phase power factor correction circuit; determining the effective value of the input voltage of the single-phase power factor correction circuit based on the rectified input voltage, the load power and the correction circuit on state.

[0036] The method for calculating the effective value of the input voltage of a single-phase power factor correction circuit provided in an embodiment of the present application monitors the rectified input voltage, load power, and correction circuit start-up state in the single-phase power factor correction circuit, and calculates the effective value of the input voltage of the single-phase power factor correction circuit in different circuit states according to changes in the rectified input voltage, changes in the load power, and changes in the correction circuit start-up state, so that the effective value of the input voltage can be updated in time with the change of the circuit state, thereby improving the accuracy of the effective value of the input voltage.

[0037] In one embodiment, Figure 2 As shown, a method for calculating the effective value of the input voltage of a single-phase power factor correction circuit is proposed. The method can be implemented by a computer program and can be run on a calculation device for the effective value of the input voltage of a single-phase power factor correction circuit based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application.

[0038] Specifically, the method for calculating the effective value of the input voltage of the single-phase power factor correction circuit includes:

[0039] S201, monitoring the rectified input voltage in the single-phase power factor correction circuit.

[0040] The single-phase power factor correction circuit can refer to a single-phase power factor correction circuit based on a boost power factor correction circuit (referred to as Boost PFC). The circuit structure of the single-phase power factor correction circuit can be found in Figure 1 The circuit structure diagram is shown. Single-phase Boost PFC can be divided into single-channel PFC and multi-channel interleaved PFC according to the number of channels, and can be divided into dual-loop control and single-cycle control according to the control method. If any of the above PFCs adopts the input voltage sampling after rectification, the calculation method of the input voltage effective value of the single-phase power factor correction circuit of the embodiment of the present application can be applied.

[0041] The rectified input voltage is a DC voltage obtained by converting the power input voltage of the single-phase power factor correction circuit into a DC voltage. Figure 1 In the single-phase power factor correction circuit shown, the voltage of the power supply Vac is the power input voltage. Figure 1 The rectifier circuit in the embodiment converts the voltage of the power supply Vac into direct current to obtain a direct current voltage, which is the rectified input voltage.

[0042] In some embodiments, the rectified input voltage may be monitored in real time after power-on, and each monitoring result may be recorded, that is, the rectified input voltage obtained by each monitoring may be recorded.

[0043] S202, monitoring the load power of the single-phase power factor correction circuit and the correction circuit start-up state of the single-phase power factor correction circuit.

[0044] Load power refers to the power consumed by the load in the single-phase power factor correction circuit. Figure 1 The single-phase power factor correction circuit shown in Figure 1 The power consumed by load 3 in is the load power.

[0045] The correction circuit on state is the circuit on state of the power factor correction circuit in the single-phase power factor correction circuit. Figure 1 The single-phase power factor correction circuit shown is Figure 1 The power factor correction circuit 1 in the embodiment of the present invention. The correction circuit start-up state may include two states: an on state and an off state.

[0046] In some embodiments, the load power and the correction circuit activation state of the single-phase power factor correction circuit may be monitored in real time after power-on, and the load power and the correction circuit activation state obtained in each monitoring may be recorded.

[0047] S203, determining an effective value of an input voltage of a single-phase power factor correction circuit based on the rectified input voltage, load power, and a start-up state of the correction circuit.

[0048] The effective value of the input voltage is not only the effective value of the rectified DC voltage in the single-phase power factor correction circuit, but also the effective value of the AC voltage in the single-phase power factor correction circuit.

[0049] It is understandable that the rectified input voltage is a steamed wave voltage when it is heavily loaded, and a non-steamed wave voltage when it is unloaded and lightly loaded. Therefore, the calculation method of the effective value of the input voltage is different when the rectified input voltage is a steamed wave voltage and when the rectified input voltage is a non-steamed wave voltage. It takes a larger load power to convert the rectified input voltage into a steamed wave voltage. According to the state of the load power changing from small to large, the rectified input voltage can change from a non-steamed wave voltage to a steamed wave voltage.

[0050] For example: See Figure 3 , is a schematic diagram of a waveform change of a rectified input voltage provided in an embodiment of the present application. Figure 3 As shown, Figure 3 The horizontal axis represents the load power, Figure 3 The vertical axis represents the rectified input voltage. As the load power gradually increases, the waveform of the rectified input voltage changes from a non-steamed wave voltage waveform to a steamed wave voltage waveform. Figure 3In the first stage, the circuit state is: the load power is zero and the correction circuit is turned on and off. At this time, the waveform of the rectified input voltage is a non-steamed wave voltage waveform. Figure 3 In the second stage, the circuit state is: the correction circuit is turned on in the off state, the load power is greater than the second preset power, and the load power is less than the first preset power. At this time, the waveform of the rectified input voltage is a non-steamed wave voltage waveform. Figure 3 In the third stage, the circuit state is: the correction circuit is turned on and the load power is less than the first preset power. At this time, the waveform of the rectified input voltage is a non-steamed wave voltage waveform that gradually changes into a steamed wave voltage waveform. Figure 3 In the fourth stage, the circuit state is: the correction circuit is turned on and the load power is greater than the first preset power. At this time, the waveform of the rectified input voltage is completely changed into the waveform of the steamed bun wave voltage.

[0051] When the input voltage after rectification is a non-steamed wave voltage, if the load power is zero and the correction circuit is turned on, the peak voltage method can be used to calculate the effective value of the input voltage after rectification to obtain the effective value of the input voltage. When the load power is zero, the single-phase power factor correction circuit is in standby mode.

[0052] When the input voltage after rectification is a non-steamed wave voltage, if the correction circuit is turned on in the off state, the load power is greater than the second preset power, and the load power is less than the first preset power, then the latest input voltage effective value of the single-phase power factor correction circuit in the standby state can be obtained, and the latest input voltage effective value is used as the input voltage effective value of the single-phase power factor correction circuit without updating. The latest input voltage effective value can be understood as the input voltage effective value after the single-phase power factor correction circuit is last updated in the standby state. Among them, the second preset power can be set to 0, and the value range of the first preset power can be 1500W-2000W.

[0053] When the rectified input voltage is a non-steaming voltage, if the correction circuit is turned on and the load power is less than the first preset power, the latest input voltage effective value of the single-phase power factor correction circuit in the standby state can be obtained, and the latest input voltage effective value can be used as the input voltage effective value of the single-phase power factor correction circuit without updating.

[0054] When the rectified input voltage changes from a steamed wave voltage to a steamed wave voltage, the correction circuit is turned on and the load power is greater than the first preset power. The effective value definition method can be used to calculate the effective value of the rectified input voltage collected in real time to obtain the effective value of the input voltage, and determine the power supply voltage evaluation result. Further, determine whether the latest collected load power is greater than the first preset power. If the latest collected load power is greater than the first preset power, continue to use the effective value definition method to calculate the effective value of the rectified input voltage in real time to obtain the input voltage effective value, and determine the power supply voltage evaluation result; if the latest collected load power is less than the first preset power, and the power supply voltage evaluation result is a normal type, then use one of the first reference input voltage effective value and the second reference input voltage effective value as the input voltage effective value, the first reference input voltage effective value is the input voltage effective value obtained by using the effective value definition method to calculate the effective value of the rectified input voltage collected in real time, and the second reference input voltage effective value is the input voltage effective value obtained by using the peak voltage method to calculate the effective value of the rectified input voltage collected in real time; if the latest collected load power is less than the first preset power, and the power supply voltage evaluation result is an abnormal type, determine the previous effective value update time corresponding to the moment when the load power exits the first preset power, and use the input voltage effective value corresponding to the previous effective value update time as the input voltage effective value of the single-phase power factor correction circuit. When the correction circuit is in the on state, when the load power is further reduced to the point where the correction circuit is switched from the on state to the off state, the previous effective value update time corresponding to the moment when the correction circuit is switched from the on state to the off state is determined, and the input voltage effective value corresponding to the previous effective value update time is used as the input voltage effective value of the single-phase factor correction circuit.

[0055] It can be understood that in the embodiment of the present application, step S201-step S203 can be a process of continuous loop execution. For example, step S201 is executed at a certain moment after the single-phase power factor correction circuit is powered on, and then step S202 is executed, and then step S203 is executed, and then step S201 is executed, and step S202 is executed again, and step S203 is executed again, and step S201-step S203 are executed again, and this reciprocating execution is performed until the single-phase power factor correction circuit is powered off and the above steps are stopped, so as to realize the function of timely determining the effective value of the input voltage of the single-phase power factor correction circuit, and timely ensure the accuracy of the effective value of the input voltage, so that subsequent control work can be performed based on the accurate effective value of the input voltage, such as limiting the frequency of the compressor in the whole equipment, protecting the circuit, displaying the current power supply information, etc.

[0056] The method for calculating the effective value of the input voltage of a single-phase power factor correction circuit provided in an embodiment of the present application monitors the rectified input voltage, load power, and correction circuit start-up state in the single-phase power factor correction circuit, and calculates the effective value of the input voltage of the single-phase power factor correction circuit in different circuit states according to changes in the rectified input voltage, changes in the load power, and changes in the correction circuit start-up state, so that the effective value of the input voltage can be updated in time with the change of the circuit state, thereby improving the accuracy of the effective value of the input voltage.

[0057] See next Figure 4 , Figure 4 It is a flow chart of another embodiment of a method for calculating the effective value of input voltage of a single-phase power factor correction circuit proposed in the present application.

[0058] Specifically, the method for calculating the effective value of the input voltage of the single-phase power factor correction circuit includes:

[0059] S401, monitoring the rectified input voltage in the single-phase power factor correction circuit.

[0060] In some embodiments, the rectified input voltage may be monitored at a first preset monitoring frequency, for example, the first preset monitoring frequency may be 10 milliseconds / time, 20 milliseconds / time, 30 milliseconds / time, 40 milliseconds / time, etc.

[0061] S402, monitoring the load power of the single-phase power factor correction circuit and the correction circuit start-up state of the single-phase power factor correction circuit.

[0062] In some embodiments, the load power of the single-phase power factor correction circuit can be monitored according to the second preset monitoring frequency, and the correction circuit activation state of the single-phase power factor correction circuit can be detected according to the third preset monitoring frequency. For example, the second preset monitoring frequency can be 10 milliseconds / time, 20 milliseconds / time, 30 milliseconds / time, 40 milliseconds / time, etc., and the third preset monitoring frequency can also be 10 milliseconds / time, 20 milliseconds / time, 30 milliseconds / time, 40 milliseconds / time, etc.

[0063] It can be understood that the first preset monitoring frequency, the second preset monitoring frequency, and the third preset monitoring frequency can be the same, and the starting monitoring time corresponding to the first preset monitoring frequency (the time to start monitoring the rectified input voltage), the starting monitoring time corresponding to the second preset monitoring frequency (the time to start monitoring the load power), and the starting monitoring time corresponding to the third preset monitoring frequency (the time to start monitoring the start-up state of the correction circuit) can be the same.

[0064] S403: If the correction circuit is turned on in the off state, the effective value of the input voltage of the single-phase power factor correction circuit is calculated based on the rectified input voltage.

[0065] In some embodiments, when the correction circuit is turned on in the non-on state, that is, the PFC circuit is in the off state, the load power may be the second preset power, or may be greater than the second preset power, but the load power is always less than the first preset power, and the first preset power is much greater than the second preset power. Among them, the second preset power can be set to 0, and the value range of the first preset power can be 1500W-2000W. When the load power is the second preset power, and when the load power is greater than the second preset power, the calculation method of the effective value of the input voltage is different. Specifically, executing step S403 may include the following steps:

[0066] A1: If the correction circuit is turned on in the off state and the load power is the second preset power, the voltage peak of the rectified input voltage is monitored, the voltage peak is filtered to obtain the filtered voltage peak, an effective value is calculated based on the filtered voltage peak to obtain a reference voltage peak, and a filtering process is performed based on the reference voltage peak to obtain the input voltage effective value of the single-phase power factor correction circuit;

[0067] Specifically, the voltage peak value of the rectified input voltage can be monitored according to a preset peak monitoring frequency, and the voltage peak value is the maximum value of the rectified input voltage. The preset peak monitoring frequency can be set to 100 milliseconds per time. Further, a low-pass filter can be used to filter the voltage peak value to obtain a filtered voltage peak value, such as Figure 1 The circuit structure diagram shown in the figure, the input voltage after rectification can be Figure 1 The voltage peak value can be expressed as Vbdmax. The reference voltage peak value can be obtained by calculating the effective value based on the filtered voltage peak value: the quotient of the filtered voltage peak value and the square root of 2 is calculated to obtain the reference voltage peak value. The filtered voltage peak value can be expressed as The input voltage effective value of the single-phase power factor correction circuit is obtained by filtering the reference voltage peak value, which can be: the reference voltage peak value is filtered and calculated using a first calculation formula to obtain the input voltage effective value of the single-phase power factor correction circuit; wherein the first calculation formula satisfies the following calculation formula:

[0068]

[0069] in, Indicates the effective value of the input voltage. Indicates the reference voltage peak value, Represents the filter function.

[0070] A2: If the correction circuit is turned on in the off state, the load power is greater than the second preset power, and the load power is less than the first preset power, determine the last effective value update time corresponding to the load power, obtain the first input voltage effective value corresponding to the last effective value update time, and use the first input voltage effective value as the input voltage effective value of the single-phase power factor correction circuit;

[0071] Among them, the second preset power is less than the first preset power, the last effective value update time is the last effective value update time corresponding to the reference effective value update time, the reference effective value update time is the power switching time corresponding to the load power, and the power switching time is the power switching time when the load power is greater than the second preset power for the first time.

[0072] Specifically, the power switching moment can be understood as the moment when the load power is first monitored to be greater than the second preset power, and the reference effective value update moment can be understood as the moment when the effective value of the input voltage is ready to be updated (but not yet updated), and the reference effective value update moment is the same as the power switching moment. The last effective value update moment is the moment when the input voltage effective value has been updated, which is adjacent to the reference effective value update moment and located between the reference effective update moments. The last effective value update moment is also the moment when the input voltage effective value is last updated in the standby state. The first input voltage effective value is the input voltage effective value that has been updated at the last effective value update moment. Since the correction circuit is turned on in the non-on state, the load power is not 0, and the load power is less than the first preset power, the latest monitored rectified input voltage will be lower than the rectified input voltage monitored in the standby state. At this time, the input voltage effective value (first input voltage effective value) last updated in the standby state is used as the input voltage effective value, and the input voltage effective value is kept unupdated to ensure the accuracy of the input voltage effective value. The standby state refers to a state in which the correction circuit is turned off and the load power is a second preset power, and the second preset power is set to 0.

[0073] S404: If the correction circuit is turned on, the effective value of the input voltage of the single-phase power factor correction circuit is determined based on the rectified input voltage and the load power.

[0074] In some embodiments, when the correction circuit is turned on, that is, the PFC circuit is in the on state, the load power may be less than the first preset power, or may be greater than the first preset power. The value range of the first preset power may be 1500W-2000W. When the load power is less than the first preset power, and when the load power is greater than the first preset power, the calculation method of the effective value of the input voltage is different. Specifically, executing step S404 may include the following steps:

[0075] B1: If the correction circuit is turned on and the load power is less than the first preset power, determine the last effective value update time corresponding to the load power, obtain the first input voltage effective value corresponding to the last effective value update time, and use the first input voltage effective value as the input voltage effective value of the single-phase power factor correction circuit;

[0076] Among them, the second preset power is less than the first preset power, the last effective value update time is the last effective value update time corresponding to the reference effective value update time, the reference effective value update time is the power switching time corresponding to the load power, and the power switching time is the power switching time when the load power is greater than the second preset power for the first time.

[0077] Specifically, the power switching moment can be understood as the moment when the load power is first monitored to be greater than the second preset power, and the reference effective value update moment can be understood as the moment when the input voltage effective value is ready to be updated (but not yet updated), and the reference effective value update moment is the same as the power switching moment. The last effective value update moment is the moment when the input voltage effective value has been updated, which is adjacent to the reference effective value update moment and located between the reference effective update moments. The last effective value update moment is also the moment when the input voltage effective value is last updated in the standby state. The first input voltage effective value is the input voltage effective value that has been updated at the last effective value update moment. Since it is not determined whether the power supply voltage is a normal voltage when the correction circuit is turned on and the load power is less than the first preset power, the input voltage effective value (the first input voltage effective value) last updated in the standby state is used as the input voltage effective value, and the input voltage effective value is kept unupdated to ensure the accuracy of the input voltage effective value. Among them, the standby state refers to the state where the correction circuit is turned on and the load power is the second preset power, and the second preset power is set to 0.

[0078] B2: If the correction circuit is in the turned-on state and the load power is greater than the first preset power, the effective value of the input voltage of the single-phase power factor correction circuit is determined based on the input voltage frequency and the rectified input voltage, and the power supply voltage evaluation result is determined based on the input voltage effective value and the rectified input voltage, and the input voltage effective value is updated based on the power supply voltage evaluation result to obtain an updated input voltage effective value.

[0079] Specifically, when executing the step of determining the effective value of the input voltage of the single-phase power factor correction circuit based on the input voltage frequency and the rectified input voltage, the following steps can be specifically included: b1, obtaining the input voltage frequency, and determining a preset number of square sum accumulations based on the input voltage frequency; b2, determining the effective value of the input voltage of the single-phase power factor correction circuit based on the preset number of square sum accumulations and the rectified input voltage.

[0080] It can be understood that the input voltage frequency is the voltage frequency corresponding to the rectified input voltage, and the input voltage frequency can be determined by frequency detection processing before executing step b1 and stored in the preset frequency storage table. Specifically, the input voltage frequency can be determined before executing step S401, and determining the input voltage frequency can specifically include: monitoring the input power of the single-phase power factor correction circuit; if the input power is greater than the preset start-up power threshold, performing frequency detection processing based on the rectified input voltage to obtain the input voltage frequency.

[0081] Specifically, the preset start-up power threshold can be set in the following manner: when the input voltage is less than or equal to the first preset input voltage, the preset start-up power threshold is set to the first power threshold; when the input voltage is equal to the second preset input voltage, the preset start-up power threshold is set to the second power threshold; when the input voltage is greater than the first preset input voltage and the input voltage is less than the second preset input voltage, or when the input voltage is greater than the second preset input voltage, the input voltage is linearly calculated based on a linear calculation formula to obtain the preset start-up power threshold. The linear calculation formula is determined based on the first power threshold, the second power threshold, the first preset input voltage, and the second preset input voltage, and the linear calculation formula satisfies the following formula:

[0082]

[0083] Indicates the preset power-on threshold. represents the first power threshold, represents the second power threshold, Indicates the input voltage, represents the first preset input voltage, Indicates the second preset input voltage.

[0084] When the input power is less than the preset shutdown power threshold, the frequency detection process based on the rectified input voltage to obtain the input voltage frequency is canceled. The preset shutdown power threshold is less than the preset startup power threshold, and the difference between the preset startup power threshold and the preset shutdown power threshold can be set to 50W.

[0085] Specifically, performing frequency detection processing based on the rectified input voltage to obtain the input voltage frequency may include: calculating the reference interruption times and the reference steamed wave cycle number based on the cycle calculation formula to obtain the input voltage cycle, and calculating the input voltage frequency based on the frequency calculation formula. The reference interruption times refers to the total interruption times of the slow interruption loop within n steamed wave cycles, n is an even number, the reference steamed wave cycle number is the number of steamed wave cycles, and n is the reference steamed wave cycle number.

[0086] The cycle calculation formula satisfies the following formula:

[0087]

[0088] represents the input voltage cycle, Indicates the number of reference interruptions, Indicates the number of reference steamed bun wave cycles, The unit is 0.01 milliseconds.

[0089] The frequency calculation formula satisfies the following formula:

[0090]

[0091] Indicates the input voltage frequency, represents the input voltage cycle, The unit is 0.1 Hz.

[0092] It is understandable that, due to the large voltage error at the zero-crossing point of the rectified input voltage, the input voltage frequency cannot be detected by directly detecting the zero-crossing point of the rectified input voltage, but the input voltage frequency is detected by detecting the rectified input voltage unidirectionally crossing a certain voltage point from top to bottom or from bottom to top. The voltage point can be defined as the crossing voltage Vcross, and Vcross does not have to be close to 0, but it is best to be far away from the peak value to improve the detection accuracy. A certain intermediate value can be selected as Vcross, for example, 150V is taken as Vcross. At the same time, in order to avoid the interference of the harmonics of the rectified input voltage on the frequency detection, the filtered voltage Vbd_Filt of the rectified input voltage is used for frequency detection. That is, when Vbd_Filt unidirectionally crosses Vcross, the counter is cleared, and then the counter is added by 1 each time an interruption comes in, until the next time Vbd_Filt unidirectionally crosses Vcross, the counter is cleared again, so that the number of interruptions k in a steamed bun wave cycle is recorded, and the total number of interruptions K in n steamed bun wave cycles can be counted, n is an even number, and the total number of interruptions K is the above-mentioned reference number of interruptions. For example, if n=100, the total number of interruptions K in 100 steamed bun wave cycles is counted. For details, see Figure 5 , is a schematic diagram of a rectified input voltage unidirectionally crossing a fixed voltage point provided in an embodiment of the present application, Figure 5 As shown in , within the period from the 1st steamed bun wave to the 100th steamed bun wave, the total interruption number K is the reference interruption number.

[0093] Since the input voltage frequency does not require a very fast detection speed, the frequency detection can be placed in the slow loop interrupt to save the interrupt execution time of the fast loop. The interrupt frequency of the slow loop can be 1000 Hz.

[0094] When executing step b1, the input voltage frequency can be obtained from the preset frequency storage table, and the preset square sum accumulation times can be determined according to the input voltage frequency, the preset interruption frequency, and the preset number of steamed wave cycles. The preset interruption frequency refers to the interruption frequency of the fast loop, and the preset number of steamed wave cycles refers to the number of steamed wave cycles required to calculate the effective value of the input voltage. Specifically, the second calculation formula can be used to calculate the input voltage frequency, the preset interruption frequency, the preset number of steamed wave cycles, and obtain the preset square sum accumulation times. The second calculation formula satisfies the following formula:

[0095]

[0096] Indicates the preset number of square sum accumulations, Indicates the number of preset steamed bun wave cycles. Indicates the preset interrupt frequency, Indicates the input voltage frequency.

[0097] For the execution process of step b2, please refer to Figure 6 , Figure 6 A flow chart of another method for calculating the effective value of the input voltage of a single-phase power factor correction circuit provided in an embodiment of the present application is provided. Specifically, the method includes:

[0098] S601, initializing the reference accumulation times and initializing the reference square sum accumulation result.

[0099] Specifically, the reference accumulation times may be recorded as c, and the reference accumulation times may be initialized by setting c to 0. The reference square sum accumulation result may be recorded as s, and the reference square sum accumulation result may be initialized by setting s to 0.

[0100] S602, performing a self-addition operation on a reference accumulation number to obtain a target accumulation number, and performing a self-addition operation on a reference square sum accumulation result based on the square value of the rectified input voltage to obtain a target square sum accumulation result.

[0101] Specifically, the first cumulative calculation formula may be used to perform a self-addition operation on the reference cumulative number to obtain the target cumulative number. The first cumulative calculation formula is: ;in, Indicates the number of reference accumulations, Indicates the target accumulation times. The second accumulation calculation formula can be used to perform a self-addition operation on the square value of the rectified input voltage and the reference square sum accumulation result to obtain the target square sum accumulation result. The second accumulation calculation formula is: ;in, represents the rectified input voltage, Represents the square value of the rectified input voltage, represents the reference square and cumulative result, Represents the reference square and accumulation result.

[0102] S603, determining whether the target accumulation times is equal to the preset square sum accumulation times.

[0103] S604, if yes, then a square root operation is performed based on the target square sum accumulation result and the target accumulation times to obtain a voltage effective value, and filtering is performed based on the voltage effective value to obtain an input voltage effective value.

[0104] Specifically, the square root calculation formula can be used to perform a square root operation on the target square sum accumulation result and the target accumulation number to obtain the voltage effective value. The open calculation formula is: ;in, represents the rectified input voltage, Indicates the target cumulative number, Represents the effective value of voltage. The effective value of voltage can be filtered by low-pass filtering to obtain the effective value of input voltage.

[0105] S605, if no, then the target cumulative number is used as the reference cumulative number, the target square sum cumulative result is used as the reference square sum cumulative result, and return to execute S502: perform self-addition operation on the cumulative number to obtain the target cumulative number and perform self-addition operation on the square sum cumulative result based on the square value of the rectified input voltage to obtain the target square sum cumulative result.

[0106] Specifically, when executing the step of determining the power supply voltage evaluation result based on the effective value of the input voltage and the rectified input voltage, the following steps can be specifically included: d1, filtering based on the voltage peak of the rectified input voltage to obtain a filtered voltage peak, and performing effective value calculation and filtering based on the filtered voltage peak to obtain a peak voltage effective value; d2, calculating the voltage difference between the peak voltage effective value and the input voltage effective value, and determining the power supply voltage evaluation result based on the voltage difference.

[0107] When executing step d1, it can be specifically as follows: monitoring the voltage peak of the input voltage after rectification, filtering the voltage peak to obtain the filtered voltage peak, performing effective value calculation based on the filtered voltage peak to obtain the reference voltage peak, and filtering based on the reference voltage peak to obtain the peak voltage effective value of the single-phase power factor correction circuit. Among them, the implementation methods of monitoring the voltage peak of the input voltage after rectification, filtering the voltage peak to obtain the filtered voltage peak, and performing effective value calculation based on the filtered voltage peak to obtain the reference voltage peak, can be specifically referred to the description of step A1, and will not be described in detail here. The reference voltage peak can be filtered by low-pass filtering to obtain the peak voltage effective value of the single-phase power factor correction circuit.

[0108] When executing step d2, if the voltage difference is less than or equal to the preset difference, a power supply voltage evaluation result of a normal voltage type is generated; if the voltage difference is greater than the preset difference, a power supply voltage evaluation result of an abnormal voltage type is generated. The preset difference can be set to 2%.

[0109] Specifically, when executing the step of performing an effective value update process on the input voltage effective value based on the power supply voltage evaluation result to obtain an updated input voltage effective value, the following steps may be specifically included: e1, if the power supply voltage evaluation result is a normal voltage type, the load power is less than the first preset power, and the load power is in a power reduction state, then determining the minimum effective value between the peak voltage effective value and the input voltage effective value, and using the minimum effective value as the updated input voltage effective value;

[0110] It can be understood that the power reduction state refers to a state in which the value of the load power changes from greater than the first preset power to less than the first preset power. When the correction circuit is turned on, the value of the latest monitored load power changes from greater than the first preset power to less than the first preset power, and the power supply voltage evaluation result is a normal voltage type, the minimum effective value is selected as the updated input voltage effective value to ensure the accuracy of the input voltage effective value. If the peak voltage effective value is less than the input voltage effective value, the peak voltage effective value is the minimum effective value, and if the peak voltage effective value is greater than the input voltage effective value, the input voltage effective value is the minimum effective value. If the correction circuit is turned on and the latest monitored load power is still greater than the first preset power, then continue to execute step B1.

[0111] e2, if the power supply voltage evaluation result is an abnormal voltage type, the correction circuit is turned on, the load power is less than the first preset power, and the load power is in a power reduction state, then obtain the reference input voltage effective value, obtain the second input voltage effective value corresponding to the first preset power, determine the target input voltage effective value based on the reference input voltage effective value and the second input voltage effective value, and use the target input voltage effective value as the updated input voltage effective value;

[0112] Among them, the reference input voltage effective value is the input voltage effective value corresponding to the previous load power collection time, the previous load power collection time is the previous load power collection time corresponding to the load power collection time, and the load power collection time is the collection time corresponding to the load power.

[0113] The load power collection moment can be understood as the moment when the input voltage effective value is prepared to be updated (but not yet updated) when the latest load power is detected to be less than the first preset power. The previous load power collection moment is the moment adjacent to the load power collection moment, located before the load power collection moment, and the input voltage effective value has been updated. The previous load power collection moment is also the latest input voltage effective value before the load power exits the first preset power. The reference input voltage effective value is the input voltage effective value that has been updated at the previous load power collection moment. The second input voltage effective value is the latest input voltage effective value when the load power is detected to be the first preset power.

[0114] The reference input voltage effective value may be the second input voltage effective value, or the reference input voltage effective value may not be the second input voltage effective value. This is because, in the process of the latest monitored load power value changing from greater than the first preset power to less than the first preset power, the latest monitored load power value may be directly changed from the third power threshold greater than the first preset power to the fourth power threshold less than the first preset power. At this time, the reference input voltage effective value is not the second input voltage effective value. The reference input voltage effective value is the latest input voltage effective value when the load power is monitored to be the third power threshold. In the process of the latest monitored load power value changing from greater than the first preset power to less than the first preset power, the latest monitored load power value may be changed from the third power threshold greater than the first preset power to the first preset power, and then from the first preset power to the fourth power threshold less than the first preset power. At this time, the reference input voltage effective value is the second input voltage effective value. They are both the latest input voltage effective values ​​when the load power is monitored to be the first preset power.

[0115] It can be understood that when the power supply voltage evaluation result is an abnormal voltage type, the correction circuit is turned on, and the latest monitored load power value changes from greater than the first preset power to less than the first preset power, it is necessary to use the latest input voltage effective value before the load power exits the first preset power as the input voltage effective value, and keep the input voltage effective value without updating until a new change occurs in the circuit state (determined by the correction circuit turn-on state, the power supply voltage evaluation result, and the load power), and then select the corresponding calculation method to calculate the new input voltage effective value.

[0116] Optionally, after executing step e1, the following steps are also performed: if the correction circuit is switched from an on state to a not on state, determine the state switching moment, determine the last effective value calculation moment corresponding to the state switching moment, obtain the third input voltage effective value corresponding to the last effective value calculation moment, and use the third input voltage effective value as the updated input voltage effective value.

[0117] The third input voltage effective value is, when the correction circuit is turned on, the power supply voltage evaluation result is a normal voltage type, the load power is less than the first preset power, the load power is in a power reduction state, and the load power is further reduced until the correction circuit is turned on and switched to a non-turned state, the input voltage effective value last updated before the correction circuit is turned on is used as the input voltage effective value. The last effective value calculation time is the time when the third input voltage effective value is updated. The state switching time is the time when the correction circuit is turned on from the turned on state to the non-turned state.

[0118] It can be understood that when the correction circuit is in the turned-on state, the power supply voltage evaluation result is a normal voltage type, the load power is less than the first preset power, the load power is in a power reduction state, and the load power is further reduced until the correction circuit is switched from the turned-on state to the not-turned state, it is necessary to use the input voltage effective value last updated before the correction circuit is turned into the not-turned state as the input voltage effective value, and keep the input voltage value from being updated until a new change occurs in the circuit state (determined by the correction circuit turned-on state, the power supply voltage evaluation result, and the load power), and then select the corresponding calculation method to calculate the new input voltage effective value.

[0119] It can be understood that in the embodiment of the present application, step S401-step S404 can be a process of continuous loop execution. For example, step S401 is executed at a certain moment after the single-phase power factor correction circuit is powered on, and then step S402 is executed, and then step S403 or step S404 is executed, step S401 is executed again, step S402 is executed again, and step S403 or step S404 is executed again, and this is repeated until the single-phase power factor correction circuit is powered off and stops executing the above steps, so as to realize the function of timely determining the effective value of the input voltage of the single-phase power factor correction circuit, and timely ensure the accuracy of the effective value of the input voltage, so that subsequent control work can be performed based on the accurate effective value of the input voltage, such as limiting the frequency of the compressor in the whole equipment, protecting the circuit, displaying the current power supply information, etc.

[0120] The calculation method of the effective value of the input voltage of the single-phase power factor correction circuit provided in the embodiment of the present application monitors the rectified input voltage, load power, and the correction circuit opening state in the single-phase power factor correction circuit, so that when the correction circuit opening state is not turned on, the effective value of the input voltage of the single-phase power factor correction circuit is calculated based on the rectified input voltage, and when the correction circuit opening state is turned on, the effective value of the input voltage of the single-phase power factor correction circuit is determined based on the rectified input voltage and the load power. Specifically, when the correction circuit opening state is not turned on, the new effective value of the input voltage is calculated according to the change of the load power by using a corresponding calculation method; and, when the correction circuit opening state is turned on, the new effective value of the input voltage is calculated according to the change of the load power and the power supply voltage evaluation result by using a corresponding calculation method. Therefore, the embodiment of the present application can be applied to a variety of circuit change states, can calculate accurate input voltage effective values ​​according to the characteristics of different circuit change states, and expand the update range of the input voltage effective value, and can also identify abnormal power supply voltage (that is, the power supply voltage is a non-standard sine wave).

[0121] See also Figure 7 , is a schematic diagram of a structure of a device for calculating the effective value of input voltage of a single-phase power factor correction circuit provided in an embodiment of the present application. It should be noted that, Figure 7 The single-phase power factor correction circuit input voltage effective value calculation device shown is used to implement the present application Figure 1 to Figure 6 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 1 to Figure 6 The embodiment shown.

[0122] See also Figure 7 , which shows a schematic diagram of the structure of a device for calculating the effective value of the input voltage of a single-phase power factor correction circuit according to an embodiment of the present application. The device 1 for calculating the effective value of the input voltage of a single-phase power factor correction circuit can be implemented as all or part of the device through software, hardware, or a combination of both. According to some embodiments, the device 1 for calculating the effective value of the input voltage of a single-phase power factor correction circuit includes a first monitoring module 11, a second monitoring module 12, and a voltage calculation module 13, which are specifically used to:

[0123] A first monitoring module 11 is used to monitor the rectified input voltage in the single-phase power factor correction circuit, wherein the rectified input voltage is a DC voltage obtained by converting the power input voltage of the single-phase power factor correction circuit into a DC voltage;

[0124] A second monitoring module 12, used to monitor the load power of the single-phase power factor correction circuit and the correction circuit on state of the single-phase power factor correction circuit, wherein the correction circuit on state is the circuit on state of the power factor correction circuit in the single-phase power factor correction circuit;

[0125] The voltage calculation module 13 is used to determine the effective value of the input voltage of the single-phase power factor correction circuit based on the rectified input voltage, the load power and the start-up state of the correction circuit.

[0126] Optionally, the voltage calculation module 13 includes:

[0127] A first calculation unit, configured to calculate an effective value of an input voltage of the single-phase power factor correction circuit based on the rectified input voltage if the correction circuit is turned on in an off state;

[0128] The second calculation unit is used to determine the effective value of the input voltage of the single-phase power factor correction circuit based on the rectified input voltage and the load power if the correction circuit is turned on.

[0129] Optionally, the second computing unit includes:

[0130] A first calculation subunit is used to determine the last effective value update time corresponding to the load power if the correction circuit is turned on and the load power is less than a first preset power, obtain the first input voltage effective value corresponding to the last effective value update time, and use the first input voltage effective value as the input voltage effective value of the single-phase power factor correction circuit; wherein the last effective value update time is the last effective value update time corresponding to the reference effective value update time, the reference effective value update time is the power switching time corresponding to the load power, the power switching time is the power switching time when the load power is greater than the second preset power for the first time, and the second preset power is less than the first preset power;

[0131] A second calculation subunit is used to determine the input voltage effective value of the single-phase power factor correction circuit based on the input voltage frequency and the rectified input voltage if the correction circuit is in the turned-on state and the load power is greater than a first preset power, determine a power supply voltage evaluation result based on the input voltage effective value and the rectified input voltage, perform effective value update processing on the input voltage effective value based on the power supply voltage evaluation result to obtain an updated input voltage effective value, and the input voltage frequency is the voltage frequency corresponding to the rectified input voltage.

[0132] Optionally, the second computing subunit is specifically configured to:

[0133] Performing filtering processing based on the voltage peak value of the rectified input voltage to obtain a filtered voltage peak value, and performing effective value calculation and filtering processing based on the filtered voltage peak value to obtain a peak voltage effective value;

[0134] A voltage difference between the peak voltage effective value and the input voltage effective value is calculated, and a power supply voltage evaluation result is determined based on the voltage difference.

[0135] Optionally, the second computing subunit is specifically configured to:

[0136] If the power supply voltage evaluation result is a normal voltage type, the load power is less than the first preset power, and the load power is in a power reduction state, determining a minimum effective value between the peak voltage effective value and the input voltage effective value, and using the minimum effective value as the updated input voltage effective value;

[0137] If the power supply voltage evaluation result is an abnormal voltage type, the correction circuit is turned on, the load power is less than the first preset power, and the load power is in a power reduction state, then obtain the reference input voltage effective value, obtain the second input voltage effective value corresponding to the first preset power, determine the target input voltage effective value based on the reference input voltage effective value and the second input voltage effective value, and use the target input voltage effective value as the updated input voltage effective value; wherein, the reference input voltage effective value is the input voltage effective value corresponding to the previous load power collection moment, the previous load power collection moment is the previous load power collection moment corresponding to the load power collection moment, and the load power collection moment is the collection moment corresponding to the load power.

[0138] Optionally, the second computing subunit is further configured to:

[0139] If the correction circuit is switched from the turned-on state to the turned-off state, determine the state switching time, determine the last effective value calculation time corresponding to the state switching time, obtain the third input voltage effective value corresponding to the last effective value calculation time, and use the third input voltage effective value as the updated input voltage effective value.

[0140] Optionally, the second computing subunit is further configured to:

[0141] monitoring the input power of the single-phase power factor correction circuit;

[0142] If the input power is greater than a preset start-up power threshold, a frequency detection process is performed based on the rectified input voltage to obtain the input voltage frequency.

[0143] Optionally, the first computing unit is specifically configured to:

[0144] If the correction circuit is turned on in an unactivated state and the load power is a second preset power, the voltage peak value of the rectified input voltage is monitored, the voltage peak value is filtered to obtain a filtered voltage peak value, an effective value is calculated based on the filtered voltage peak value to obtain a reference voltage peak value, and a filtering process is performed based on the reference voltage peak value to obtain an input voltage effective value of the single-phase power factor correction circuit;

[0145] If the correction circuit is in an unactivated state, the load power is greater than the second preset power, and the load power is less than the first preset power, the last effective value update time corresponding to the load power is determined, the first input voltage effective value corresponding to the last effective value update time is obtained, and the first input voltage effective value is used as the input voltage effective value of the single-phase power factor correction circuit; wherein the second preset power is less than the first preset power, the last effective value update time is the last effective value update time corresponding to the reference effective value update time, the reference effective value update time is the power switching time corresponding to the load power, and the power switching time is the power switching time when the load power is greater than the second preset power for the first time.

[0146] The device for calculating the effective value of the input voltage of a single-phase power factor correction circuit provided in the embodiment of the present application monitors the rectified input voltage, load power, and correction circuit start-up state in the single-phase power factor correction circuit to calculate the effective value of the input voltage of the single-phase power factor correction circuit in different circuit states according to changes in the rectified input voltage, changes in the load power, and changes in the correction circuit start-up state, so that the effective value of the input voltage can be updated in time with the change of the circuit state, thereby improving the accuracy of the effective value of the input voltage.

[0147] Please refer to Figure 8 , Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Exemplarily, the electronic device in the embodiment of the present application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected via the bus 150.

[0148] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.

[0149] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The operating system may be an Android system, including a system deeply developed based on the Android system, an iOS system developed by Apple, including a system deeply developed based on the iOS system, or other systems.

[0150] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to open up data communication between third-party applications and the operating system so that the operating system can obtain the current scenario information of third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.

[0151] The input device 130 is used to receive input commands or data, and includes but is not limited to a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used to output commands or data, and includes but is not limited to a display device and a speaker. In one example, the input device 130 and the output device 140 can be combined, and the input device 130 and the output device 140 are touch screen displays.

[0152] The touch display screen can be designed as a full screen, a curved screen or a special-shaped screen. The touch display screen can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in the embodiments of the present application.

[0153] In addition, those skilled in the art can understand that the structure of the electronic device shown in the above drawings does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the drawings, or combine certain components, or arrange the components differently. For example, the electronic device also includes radio frequency circuits, input units, sensors, audio circuits, wireless fidelity (WiFi) modules, power supplies, Bluetooth modules and other components, which will not be described in detail here.

[0154] exist Figure 8 In the electronic device shown, the processor 110 can be used to call the program of the calculation method of the input voltage effective value of the single-phase power factor correction circuit stored in the memory 120, and specifically perform the following operations:

[0155] Monitoring a rectified input voltage in a single-phase power factor correction circuit, wherein the rectified input voltage is a DC voltage obtained by converting an AC power input voltage of the single-phase power factor correction circuit into a DC power;

[0156] Monitoring the load power of the single-phase power factor correction circuit and the correction circuit on state of the single-phase power factor correction circuit, wherein the correction circuit on state is the circuit on state of the power factor correction circuit in the single-phase power factor correction circuit;

[0157] Based on the rectified input voltage, the load power and the start-up state of the correction circuit, the effective value of the input voltage of the single-phase power factor correction circuit is determined.

[0158] In one embodiment, when the processor 110 performs the step of determining the effective value of the input voltage of the single-phase power factor correction circuit based on the rectified input voltage, the load power, and the start-up state of the correction circuit, the following operations are specifically performed:

[0159] If the correction circuit is turned on in the off state, calculating the effective value of the input voltage of the single-phase power factor correction circuit based on the rectified input voltage;

[0160] If the correction circuit is turned on, the effective value of the input voltage of the single-phase power factor correction circuit is determined based on the rectified input voltage and the load power.

[0161] In one embodiment, when the processor 110 executes the step of determining the effective value of the input voltage of the single-phase power factor correction circuit based on the rectified input voltage and the load power if the correction circuit is turned on, the processor 110 specifically performs the following operations:

[0162] If the correction circuit is turned on and the load power is less than the first preset power, the last effective value update time corresponding to the load power is determined, the first input voltage effective value corresponding to the last effective value update time is obtained, and the first input voltage effective value is used as the input voltage effective value of the single-phase power factor correction circuit; wherein the last effective value update time is the last effective value update time corresponding to the reference effective value update time, the reference effective value update time is the power switching time corresponding to the load power, the power switching time is the power switching time when the load power is greater than the second preset power for the first time, and the second preset power is less than the first preset power;

[0163] If the correction circuit is in the turned-on state and the load power is greater than the first preset power, the input voltage effective value of the single-phase power factor correction circuit is determined based on the input voltage frequency and the rectified input voltage, and the power supply voltage evaluation result is determined based on the input voltage effective value and the rectified input voltage. Based on the power supply voltage evaluation result, the input voltage effective value is updated to obtain an updated input voltage effective value, and the input voltage frequency is the voltage frequency corresponding to the rectified input voltage.

[0164] In one embodiment, when the processor 110 executes the step of determining the effective value of the input voltage of the single-phase power factor correction circuit based on the input voltage frequency and the rectified input voltage, the processor 110 specifically performs the following operations:

[0165] Acquire an input voltage frequency, and determine a preset square sum accumulation number based on the input voltage frequency;

[0166] The effective value of the input voltage of the single-phase power factor correction circuit is determined based on the preset number of square sum accumulation times and the rectified input voltage.

[0167] In one embodiment, when the processor 110 executes the step of determining the power supply voltage evaluation result based on the input voltage effective value and the rectified input voltage, the processor 110 specifically performs the following operations:

[0168] Performing filtering processing based on the voltage peak value of the rectified input voltage to obtain a filtered voltage peak value, and performing effective value calculation and filtering processing based on the filtered voltage peak value to obtain a peak voltage effective value;

[0169] A voltage difference between the peak voltage effective value and the input voltage effective value is calculated, and a power supply voltage evaluation result is determined based on the voltage difference.

[0170] In one embodiment, when the processor 110 executes the step of performing an effective value update process on the input voltage effective value based on the power supply voltage evaluation result to obtain an updated input voltage effective value, the processor 110 specifically performs the following operations:

[0171] If the power supply voltage evaluation result is a normal voltage type, the load power is less than the first preset power, and the load power is in a power reduction state, determining a minimum effective value between the peak voltage effective value and the input voltage effective value, and using the minimum effective value as the updated input voltage effective value;

[0172] If the power supply voltage evaluation result is an abnormal voltage type, the correction circuit is turned on, the load power is less than the first preset power, and the load power is in a power reduction state, then obtain the reference input voltage effective value, obtain the second input voltage effective value corresponding to the first preset power, determine the target input voltage effective value based on the reference input voltage effective value and the second input voltage effective value, and use the target input voltage effective value as the updated input voltage effective value; wherein, the reference input voltage effective value is the input voltage effective value corresponding to the previous load power collection moment, the previous load power collection moment is the previous load power collection moment corresponding to the load power collection moment, and the load power collection moment is the collection moment corresponding to the load power.

[0173] In one embodiment, after determining the minimum effective value between the peak voltage effective value and the input voltage effective value and using the minimum effective value as the updated input voltage effective value, the processor 110 further performs the following operations:

[0174] If the correction circuit is switched from the turned-on state to the turned-off state, determine the state switching time, determine the last effective value calculation time corresponding to the state switching time, obtain the third input voltage effective value corresponding to the last effective value calculation time, and use the third input voltage effective value as the updated input voltage effective value.

[0175] In one embodiment, before executing the step of obtaining the input voltage frequency, the processor 110 further performs the following operations:

[0176] monitoring the input power of the single-phase power factor correction circuit;

[0177] If the input power is greater than a preset start-up power threshold, a frequency detection process is performed based on the rectified input voltage to obtain the input voltage frequency.

[0178] In one embodiment, when the processor 110 executes the step of calculating the effective value of the input voltage of the single-phase power factor correction circuit based on the rectified input voltage if the correction circuit is turned on and off, the processor 110 specifically performs the following operations:

[0179] If the correction circuit is turned on in an unactivated state and the load power is a second preset power, the voltage peak value of the rectified input voltage is monitored, the voltage peak value is filtered to obtain a filtered voltage peak value, an effective value is calculated based on the filtered voltage peak value to obtain a reference voltage peak value, and a filtering process is performed based on the reference voltage peak value to obtain an input voltage effective value of the single-phase power factor correction circuit;

[0180] If the correction circuit is in an unactivated state, the load power is greater than the second preset power, and the load power is less than the first preset power, the last effective value update time corresponding to the load power is determined, the first input voltage effective value corresponding to the last effective value update time is obtained, and the first input voltage effective value is used as the input voltage effective value of the single-phase power factor correction circuit; wherein the second preset power is less than the first preset power, the last effective value update time is the last effective value update time corresponding to the reference effective value update time, the reference effective value update time is the power switching time corresponding to the load power, and the power switching time is the power switching time when the load power is greater than the second preset power for the first time.

[0181] In addition, those skilled in the art can understand that the structure of the electronic device shown in the above drawings does not constitute a limitation on the electronic device, and the washing device may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the electronic device also includes components such as radio frequency circuits, audio circuits, WiFi components, power supplies, and Bluetooth components, which will not be described in detail here.

[0182] An embodiment of the present application also provides a computer-readable storage medium, which stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the method for calculating the effective value of the input voltage of a single-phase power factor correction circuit as described in the above embodiments.

[0183] An embodiment of the present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the method for calculating the effective value of the input voltage of the single-phase power factor correction circuit as described in the above embodiments.

[0184] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

[0185] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for calculating the effective value of input voltage of a single-phase power factor correction circuit, characterized in that: The method comprises: Monitoring a rectified input voltage in a single-phase power factor correction circuit, wherein the rectified input voltage is a DC voltage obtained by converting an AC power input voltage of the single-phase power factor correction circuit into a DC power; Monitoring the load power of the single-phase power factor correction circuit and the correction circuit on state of the single-phase power factor correction circuit, wherein the correction circuit on state is the circuit on state of the power factor correction circuit in the single-phase power factor correction circuit; Determining an effective value of an input voltage of the single-phase power factor correction circuit based on the rectified input voltage, the load power, and the start-up state of the correction circuit; Wherein, determining the effective value of the input voltage of the single-phase power factor correction circuit based on the rectified input voltage, the load power and the start-up state of the correction circuit includes: If the correction circuit is turned on and the load power is less than the first preset power, the last effective value update time corresponding to the load power is determined, the first input voltage effective value corresponding to the last effective value update time is obtained, and the first input voltage effective value is used as the input voltage effective value of the single-phase power factor correction circuit; wherein the last effective value update time is the last effective value update time corresponding to the reference effective value update time, the reference effective value update time is the power switching time corresponding to the load power, the power switching time is the power switching time when the load power is greater than the second preset power for the first time, and the second preset power is less than the first preset power; If the correction circuit is turned on and the load power is greater than a first preset power, the input voltage effective value of the single-phase power factor correction circuit is determined based on the input voltage frequency and the rectified input voltage, filtering is performed based on the voltage peak of the rectified input voltage to obtain a filtered voltage peak, effective value calculation and filtering are performed based on the filtered voltage peak to obtain a peak voltage effective value, a voltage difference between the peak voltage effective value and the input voltage effective value is calculated, and a power supply voltage evaluation result is determined based on the voltage difference; if the power supply voltage evaluation result is a normal voltage type, the load power is less than the first preset power, and the load power is in a power reduction state, the minimum effective value between the peak voltage effective value and the input voltage effective value is determined, and the minimum effective value is used as the minimum effective value. The smallest effective value is used as the updated input voltage effective value; if the power supply voltage evaluation result is an abnormal voltage type, the correction circuit is turned on, the load power is less than the first preset power, and the load power is in a power reduction state, then the reference input voltage effective value is obtained, the second input voltage effective value corresponding to the first preset power is obtained, and the target input voltage effective value is determined based on the reference input voltage effective value and the second input voltage effective value, and the target input voltage effective value is used as the updated input voltage effective value, wherein the reference input voltage effective value is the input voltage effective value corresponding to the previous load power collection moment, the previous load power collection moment is the previous load power collection moment corresponding to the load power collection moment, and the load power collection moment is the collection moment corresponding to the load power.

2. The method according to claim 1, characterized in that The step of determining the effective value of the input voltage of the single-phase power factor correction circuit based on the rectified input voltage, the load power, and the start-up state of the correction circuit comprises: If the correction circuit is turned on in the off state, calculating the effective value of the input voltage of the single-phase power factor correction circuit based on the rectified input voltage; If the correction circuit is turned on, the effective value of the input voltage of the single-phase power factor correction circuit is determined based on the rectified input voltage and the load power.

3. The method according to claim 1, characterized in that The step of determining the input voltage effective value of the single-phase power factor correction circuit based on the input voltage frequency and the rectified input voltage comprises: obtaining the input voltage frequency, and determining a preset square sum accumulation number based on the input voltage frequency; The effective value of the input voltage of the single-phase power factor correction circuit is determined based on the preset number of square sum accumulation times and the rectified input voltage.

4. The method according to claim 1, characterized in that: After determining the minimum effective value between the peak voltage effective value and the input voltage effective value and taking the minimum effective value as the updated input voltage effective value, the method further includes: If the correction circuit is switched from the turned-on state to the turned-off state, determine the state switching time, determine the last effective value calculation time corresponding to the state switching time, obtain the third input voltage effective value corresponding to the last effective value calculation time, and use the third input voltage effective value as the updated input voltage effective value.

5. The method according to claim 3, characterized in that: Before obtaining the input voltage frequency, the method further includes: monitoring the input power of the single-phase power factor correction circuit; If the input power is greater than a preset start-up power threshold, a frequency detection process is performed based on the rectified input voltage to obtain the input voltage frequency.

6. The method according to claim 2, characterized in that If the correction circuit is turned on in the off state, the input voltage effective value of the single-phase power factor correction circuit is calculated based on the rectified input voltage, including: If the correction circuit is turned on in an unactivated state and the load power is a second preset power, the voltage peak value of the rectified input voltage is monitored, the voltage peak value is filtered to obtain a filtered voltage peak value, an effective value is calculated based on the filtered voltage peak value to obtain a reference voltage peak value, and a filtering process is performed based on the reference voltage peak value to obtain an input voltage effective value of the single-phase power factor correction circuit; If the correction circuit is in an unactivated state, the load power is greater than the second preset power, and the load power is less than the first preset power, the last effective value update time corresponding to the load power is determined, the first input voltage effective value corresponding to the last effective value update time is obtained, and the first input voltage effective value is used as the input voltage effective value of the single-phase power factor correction circuit; wherein the second preset power is less than the first preset power, the last effective value update time is the last effective value update time corresponding to the reference effective value update time, the reference effective value update time is the power switching time corresponding to the load power, and the power switching time is the power switching time when the load power is greater than the second preset power for the first time.

7. A device for calculating the effective value of input voltage of a single-phase power factor correction circuit, characterized in that: The device comprises: A first monitoring module is used to monitor the rectified input voltage in the single-phase power factor correction circuit, wherein the rectified input voltage is a DC voltage obtained by converting the power input voltage of the single-phase power factor correction circuit into a DC voltage; A second monitoring module, used to monitor the load power of the single-phase power factor correction circuit and the correction circuit on state of the single-phase power factor correction circuit, wherein the correction circuit on state is the circuit on state of the power factor correction circuit in the single-phase power factor correction circuit; A voltage calculation module, used to determine the effective value of the input voltage of the single-phase power factor correction circuit based on the rectified input voltage, the load power and the start-up state of the correction circuit; Wherein, the voltage calculation module includes: A first calculation subunit is used to determine the last effective value update time corresponding to the load power if the correction circuit is turned on and the load power is less than a first preset power, obtain the first input voltage effective value corresponding to the last effective value update time, and use the first input voltage effective value as the input voltage effective value of the single-phase power factor correction circuit; wherein the last effective value update time is the last effective value update time corresponding to the reference effective value update time, the reference effective value update time is the power switching time corresponding to the load power, the power switching time is the power switching time when the load power is greater than the second preset power for the first time, and the second preset power is less than the first preset power; A second calculation subunit is used to determine the input voltage effective value of the single-phase power factor correction circuit based on the input voltage frequency and the rectified input voltage if the correction circuit is in the turned-on state and the load power is greater than a first preset power, perform filtering processing based on the voltage peak of the rectified input voltage to obtain a filtered voltage peak, perform effective value calculation and filtering processing based on the filtered voltage peak to obtain a peak voltage effective value, calculate the voltage difference between the peak voltage effective value and the input voltage effective value, and determine the power supply voltage evaluation result based on the voltage difference; if the power supply voltage evaluation result is a normal voltage type, the load power is less than the first preset power, and the load power is in a power reduction state, determine the minimum effective value between the peak voltage effective value and the input voltage effective value , taking the minimum effective value as the updated input voltage effective value; if the power supply voltage evaluation result is an abnormal voltage type, the correction circuit is turned on, the load power is less than the first preset power, and the load power is in a power reduction state, then obtain the reference input voltage effective value, obtain the second input voltage effective value corresponding to the first preset power, determine the target input voltage effective value based on the reference input voltage effective value and the second input voltage effective value, and take the target input voltage effective value as the updated input voltage effective value, wherein the reference input voltage effective value is the input voltage effective value corresponding to the previous load power collection moment, the previous load power collection moment is the previous load power collection moment corresponding to the load power collection moment, and the load power collection moment is the collection moment corresponding to the load power.

8. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method according to any one of claims 1 to 6.

9. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Input voltage effective value obtaining method and device, air conditioning equipment and storage medium

    CN118050558A