PFC circuit and electronic equipment
By introducing voltage sampling units and control modules into the PFC circuit, the problem of difficulty in voltage sampling in the bridgeless PFC circuit is solved, precise control of the PFC module is achieved, and power efficiency and power supply quality are improved.
Patent Information
- Application Number
- CN202411184435.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-12-03
AI Technical Summary
When the existing bridgeless PFC circuit is operating, due to the alternating voltage of positive and negative in the circuit, the control chip cannot sample the negative voltage, which makes the circuit control difficult and cannot accurately control the PFC circuit.
A PFC circuit is designed, including a PFC module, a sampling module and a control module. The sampling module detects the voltage size and voltage polarity of the AC power supply through the voltage sampling unit. The control module drives the switch tube unit to turn on and off according to the detection results, so as to realize the PFC Accurate control of modules.
By simultaneously obtaining the voltage size and voltage polarity of the AC power supply, the control module can accurately identify the voltage changes of the PFC module during operation, realize precise control of the PFC module, and improve the power factor and power supply quality.
Smart Images

Figure CN119070623A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of circuit technology, and in particular to a PFC circuit and electronic equipment. Background Art
[0002] At present, the power of server and PC power supplies is getting larger and larger, and the efficiency requirements are getting higher and higher. It is very important to choose a suitable power topology. The PFC circuit is a power factor correction (PFC) circuit that reduces the number of semiconductor components in the line current path to reduce conduction losses, thereby improving the efficiency of the power supply. Due to its special circuit architecture, the bridgeless PFC circuit has the advantages of fewer components and high efficiency, so it is also often used in the power supply design of servers. However, the disadvantage of the current bridgeless PFC circuit is that when it is working, there are alternating positive and negative voltages in the circuit, and the control chip cannot sample the negative voltage, making it difficult to sample the voltage, and the control chip cannot accurately control the bridgeless PFC circuit. Summary of the invention
[0003] The embodiments of the present invention provide a PFC circuit and an electronic device, which solve the problem of difficulty in controlling the circuit due to difficulty in voltage sampling in the existing bridgeless PFC circuit.
[0004] In a first aspect, an embodiment of the present invention provides a PFC circuit, which includes:
[0005] A PFC module, used to connect to an AC power supply, the PFC module comprising a switch tube unit for switching on and off the output of the AC power supply;
[0006] A sampling module, comprising a voltage sampling unit, wherein the voltage sampling unit is connected to the PFC module, and the voltage sampling unit is used to detect the PFC module to obtain the voltage magnitude and voltage polarity of the AC power supply;
[0007] A control module is connected to the sampling module and the PFC module, and is used to drive the switch tube unit to turn on or off according to the voltage magnitude and voltage polarity of the AC power supply.
[0008] In the PFC circuit provided by the embodiment of the present invention, the voltage sampling unit includes a first reduction unit, the PFC module is provided with a positive input terminal and a negative input terminal respectively used to connect the positive electrode and the negative electrode of the AC power supply, and the first reduction unit is connected to the positive input terminal and the negative input terminal; wherein the first reduction unit is used to reduce the difference between the voltage of the positive input terminal and the voltage of the negative input terminal to obtain a first voltage, and the control module calculates the voltage value of the AC power supply according to the first voltage.
[0009] In the PFC circuit provided by the embodiment of the present invention, the voltage sampling unit further includes a second reduction unit, and the second reduction unit is connected to the positive input terminal and the negative input terminal; wherein the second reduction unit is used to reduce the difference between the voltage of the positive input terminal and the voltage of the negative input terminal to obtain a second voltage, and the control module determines the voltage polarity of the AC power supply according to the comparison between the second voltage and the first voltage, and calculates the voltage value of the AC power supply according to the second voltage.
[0010] In the PFC circuit provided by the embodiment of the present invention, the sampling module includes a current sampling unit, which is connected to the PFC module and the control module; wherein the current sampling unit is used to detect the PFC module to obtain the current size of the AC power supply.
[0011] In the PFC circuit provided by the embodiment of the present invention, the current sampling unit includes a Hall sensor, the PFC module also includes a PFC inductor, the PFC inductor is connected to the switch tube unit, and the Hall sensor is connected to the PFC inductor and the control module; wherein the Hall sensor is used to detect the current on the PFC inductor to output a sampling voltage, and the control module calculates the current value of the AC power supply according to the reference voltage and the sampling voltage.
[0012] In the PFC circuit provided in an embodiment of the present invention, the current sampling unit further includes a differential amplification unit, and the differential amplification unit is connected to the Hall sensor and the control module; wherein the differential amplification unit is used to amplify the difference between the sampling voltage and the reference voltage, and the control module calculates the current value of the AC power supply according to the difference between the amplified sampling voltage and the reference voltage.
[0013] In the PFC circuit provided by the embodiment of the present invention, the Hall sensor is a bidirectional current type Hall sensor.
[0014] In the PFC circuit provided by an embodiment of the present invention, the differential amplification unit includes a first amplification unit, which is connected to the Hall sensor and the control module; wherein the first amplification unit is used to amplify the difference between the sampled voltage and the reference voltage to obtain a third voltage, and the control module calculates the current value of the AC power supply according to the third voltage.
[0015] In the PFC circuit provided by the embodiment of the present invention, the differential amplifier unit further includes a second amplifier unit, and the second amplifier unit is connected to the Hall sensor and the control module; wherein the second amplifier unit is used to amplify the difference between the sampled voltage and the reference voltage to obtain a fourth voltage, and the control module determines the current polarity of the AC power supply according to the comparison between the third voltage and the fourth voltage, and calculates the current value of the AC power supply according to the fourth voltage.
[0016] In a second aspect, an embodiment of the present invention further provides an electronic device, which includes any one of the PFC circuits provided by the embodiments of the present invention.
[0017] The embodiment of the present invention provides a PFC circuit and an electronic device, wherein the PFC circuit includes a PFC module, a sampling module and a control module; the PFC module is used to access an AC power supply, and the PFC module includes a switch tube unit for turning on and off the output of the AC power supply; the sampling module includes a voltage sampling unit, the voltage sampling unit is connected to the PFC module, and the voltage sampling unit is used to detect the PFC module to obtain the voltage magnitude and voltage polarity of the AC power supply; the control module is connected to the sampling module and the PFC module, and the control module is used to drive the switch tube unit to turn on or off according to the voltage magnitude and voltage polarity of the AC power supply. The PFC circuit of the present application detects the AC power supply in the PFC module through the voltage sampling unit of the sampling module to simultaneously obtain two parameters, namely, the voltage magnitude and voltage polarity of the AC power supply, so that the control module can accurately identify the voltage of the AC power supply that alternates between positive and negative when the PFC module is working, and drives the switch tube unit of the PFC module to turn on and off according to the voltage magnitude and voltage polarity of the AC power supply, thereby realizing accurate control of the operation of the PFC module. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0019] Figure 1 A structural block diagram of a PFC circuit provided by an embodiment of the present invention;
[0020] Figure 2 A structural block diagram of a PFC circuit provided by an embodiment of the present invention;
[0021] Figure 3 A structural block diagram of a PFC circuit provided by an embodiment of the present invention;
[0022] Figure 4 A structural block diagram of a PFC circuit provided by an embodiment of the present invention;
[0023] Figure 5 A structural block diagram of a PFC circuit provided by an embodiment of the present invention;
[0024] Figure 6 A circuit diagram of a PFC circuit provided by an embodiment of the present invention;
[0025] Figure 7 A circuit diagram of a PFC module of a PFC circuit provided in an embodiment of the present invention;
[0026] The reference numerals in the figures are:
[0027] 10. PFC module; 11. Switch tube unit; 110. Positive input terminal; 111. Negative input terminal; 12. PFC inductor; 20. Sampling module; 21. Voltage sampling unit; 210. First reduction unit; 211. Second reduction unit; 22. Current sampling unit; 220. Hall sensor; 221. Differential amplifier unit; 2210. First amplifier unit; 2211. Second amplifier unit; 30. Control module. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] The directional terms mentioned in the present invention, such as "upper", "lower", "front", "back", "left", "right", "inner", "outer", "side", etc., are only referenced to the directions of the attached drawings. Therefore, the directional terms used are used to illustrate and understand the present invention, but are not used to limit the present invention. In addition, in the drawings, structures with similar or identical structures are represented by the same reference numerals.
[0030] See also Figures 1 to 7The embodiment of the present invention shows a PFC circuit, which includes a PFC module 10, a sampling module 20 and a control module 30; the PFC module 10 is used to connect to an AC power supply, and the PFC module 10 includes a switch tube unit 11 for turning on and off the output of the AC power supply; the sampling module 20 includes a voltage sampling unit 21, and the voltage sampling unit 21 is connected to the PFC module 10, and the voltage sampling unit 21 is used to detect the PFC module 10 to obtain the voltage magnitude and voltage polarity of the AC power supply; the control module 30 is connected to the sampling module 20 and the PFC module 10, and the control module 30 is used to drive the switch tube unit 11 to turn on or off according to the voltage magnitude and voltage polarity of the AC power supply.
[0031] In specific implementation, Figure 7 As shown, Figure 71 is a circuit diagram of a PFC module 10. The PFC module 10 adopts a classic bridgeless PFC circuit. L and N represent the positive and negative input terminals of the AC power supply, respectively. L1 is the PFC inductor 12, C1 is the PFC capacitor, Q1 and Q2 are two MOS tubes, and D1 and D2 are diodes. The working principle of the classic bridgeless PFC circuit is briefly introduced below. Taking the AC power input within a sinusoidal waveform cycle as an example, when the AC power input is in the positive half cycle of the sinusoidal waveform, the voltage of the L line is greater than the voltage of the N line, Q2 is continuously turned on for freewheeling, and Q1 is the main switch tube. When Q1 is turned on, the current of L1 is charged through the PFC inductor 12L1, and the current first reaches Q1, and then returns to the N line through Q2. When Q1 is turned off, the current of L1 passes through the PFC inductor 12L1 and then reaches the diode D1, charges the capacitor C1, and then returns to the N line through Q2. During the whole process, the voltage of the N line is continuously 0V with respect to the primary side reference ground B-, and the voltage of the L line is a positive voltage with respect to B-. After the positive voltage is divided by a resistor and sent to the control chip, the value of the input voltage of the AC power supply can be calculated; when the AC power supply input is in the negative half cycle of the sine waveform, the voltage of the L line is less than the voltage of the N line, Q1 is continuously turned on for freewheeling, and Q2 is used as the main switch tube. When Q2 is turned on, the current of the N line charges the PFC inductor 12L1 through Q2 and then through Q1, and the current returns to the L line. When Q2 is turned off, the current of the N line charges the capacitor C1 through the diode D2, and then returns to the L line through Q1 and L1. When Q2 is turned off, the voltage of the N line is close to the voltage of C1, and the N line is a positive voltage with respect to the primary side reference ground B-. At this time, the voltage of L is less than the voltage of the N line, but it will be greater than the voltage of B-. The control chip can still sample the voltages of the L and N lines and calculate the voltage value of the AC power supply output. When Q2 is turned on, the voltage of the N line is 0V. Since the voltage of the AC power supply is in the negative half cycle of the sine waveform, the voltage of the L line is lower than that of the N line. The voltage of the L line to B- is a negative voltage. Since the control chip cannot sample the negative voltage, the value of the AC input voltage cannot be directly calculated. Therefore, this embodiment uses the sampling module 20 to sample the voltage of the classic PFC circuit, so that when the voltage of the L line to B- is a negative voltage, the control chip can sample and calculate the voltage, so that the control chip can accurately control the MOS tube Q1 and MOS tube Q2 in the classic PFC circuit to work according to the calculated result.
[0032] In this embodiment, the PFC circuit can be used in electronic devices such as servers and switching power supplies, and is mainly used to improve the power supply quality of the AC power supply. The PFC circuit includes a PFC module 10, a sampling module 20, and a control module 30. The PFC module 10 integrates a classic bridgeless PFC circuit. The PFC module 10 includes a switch tube unit 11 for switching the AC power output on and off. The switch tube unit 11 specifically includes a MOS tube Q1 and a MOS tube Q2 in the classic bridgeless PFC circuit. The switch tube unit 11 is mainly used as a switch for switching the AC power output on and off. The sampling module 20 includes a voltage sampling unit 21, which is connected to the PFC module 10, specifically to the input end of the AC power supply of the PFC module 10. The voltage sampling unit 21 detects the voltage of the PFC module 10, and detects the voltage of the AC power supply input to the PFC module 10. Here, the voltage sampling unit 21 detects two parameters, one parameter is the voltage magnitude of the AC power supply input to the PFC module 10, the magnitude of the voltage is the voltage value, and the other parameter is the voltage polarity of the AC power supply input to the PFC module 10, the voltage polarity includes the positive and negative of the voltage. The control module 30 is connected to the voltage sampling unit 21 and the PFC module 10, and the control module 30 is specifically a control chip, which includes but is not limited to a DSP chip, a CPU, an MCU and other control chips. The voltage sampling unit 21 detects the voltage magnitude and voltage polarity of the AC power supply from the PFC module 10, and outputs the voltage magnitude and voltage polarity of the AC power supply to the control module 30 in the form of an electrical signal. The voltage magnitude can be output in the form of an ADC value, and the voltage polarity can be output in the form of a high or low level. The control module 30 outputs a corresponding driving signal to drive the on and off of the switch tube unit 11 in the PFC module 10 according to the on and off control mode of the switch tube unit 11 configured by the program based on the voltage magnitude and voltage polarity acquired by the voltage sampling unit 21, thereby accurately controlling the operation of the PFC module 10, improving the power factor, reducing the harmonic current of the AC power input, and providing a stable DC voltage to the secondary circuit.
[0033] The PFC circuit provided in this embodiment detects the AC power supply in the PFC module through the voltage sampling unit of the sampling module to simultaneously obtain two parameters, namely, the voltage magnitude and voltage polarity of the AC power supply, so that the control module can accurately identify the voltage of the AC power supply that alternates between positive and negative when the PFC module is working, and drive the switch tube unit of the PFC module to turn on and off according to the voltage magnitude and voltage polarity of the AC power supply, thereby realizing accurate control of the operation of the PFC module.
[0034] In one embodiment, referring to Figure 2 , Figure 6 , Figure 7The voltage sampling unit 21 includes a first reduction unit 210, the PFC module 10 is provided with a positive input terminal 110 and a negative input terminal 111 respectively used to connect the positive and negative electrodes of the AC power supply, and the first reduction unit 210 is connected to the positive input terminal 110 and the negative input terminal 111; wherein the first reduction unit 210 is used to reduce the difference between the voltage of the positive input terminal 110 and the voltage of the negative input terminal 111 to obtain a first voltage, and the control module 30 calculates the voltage value of the AC power supply according to the first voltage. The voltage sampling unit 21 also includes a second reduction unit 211, and the second reduction unit 211 is connected to the positive input terminal 110 and the negative input terminal 111; wherein the second reduction unit 211 is used to reduce the difference between the voltage of the positive input terminal 110 and the voltage of the negative input terminal 111 to obtain a second voltage, and the control module 30 compares the second voltage with the first voltage to determine the voltage polarity of the AC power supply, and calculates the voltage value of the AC power supply according to the second voltage. In a specific implementation, the PFC module 10 is provided with a positive input terminal 110 and a negative input terminal 111, such as Figure 6 and Figure 7 As shown, the positive input terminal 110 of the PFC module 10 is used to connect to the positive electrode L of the AC power supply, and the negative input terminal 111 of the PFC module 10 is used to connect to the negative electrode N of the AC power supply. The voltage sampling unit 21 is composed of a first reduction unit 210 and a second reduction unit 211. Both the first reduction unit 210 and the second reduction unit 211 are connected to the positive input terminal 110 and the negative input terminal 111 of the PFC module 10. The first reduction unit 210 and the second reduction unit 211 both have the function of sampling the positive input terminal 110 and the negative input terminal 111 of the PFC module 10. Specifically, as shown in FIG. Figure 6As shown, the first reduction unit 210 and the second reduction unit 211 are both designed with operational amplifiers, the non-inverting input terminal of the first reduction unit 210 is connected to the positive input terminal 110 of the PFC module 10, and the inverting input terminal is connected to the negative input terminal 111 of the PFC module 10. The second reduction unit 211 is opposite to the first reduction unit 210, the non-inverting input terminal of the second reduction unit 211 is connected to the negative input terminal 111 of the PFC module 10, and the inverting input terminal is connected to the positive input terminal 110 of the PFC module 10. The first reduction unit 210 can reduce the difference between the voltage of the positive input terminal 110 of the PFC module 10 and the voltage of the negative input terminal 111 thereof to obtain a first voltage, and the second reduction unit 211 can reduce the difference between the voltage of the positive input terminal 110 of the PFC module 10 and the voltage of the negative input terminal 111 thereof to obtain a second voltage. The first voltage reduced by the first reduction unit 210 and the second voltage reduced by the second reduction unit 211 are simultaneously output to the control module 30. Since there is no negative voltage in the positive half cycle of the AC power supply, the control module 30 can directly calculate the voltage value of the AC power supply when it is in the positive half cycle according to the first voltage. The positive half cycle of the AC power supply refers to the process in which the voltage waveform of the AC power supply rises to a peak and then gradually decreases to 0, and the negative half cycle of the AC power supply refers to the process in which the voltage waveform of the AC power supply decreases to a peak and then gradually rises to 0. Since there is a negative voltage in the negative half cycle of the AC power supply, the control module 30 must determine the voltage polarity of the AC power supply. The control module 30 compares the second voltage with the first voltage, and then determines the voltage polarity of the AC power supply in the PFC module 10 according to the comparison result. For example, when the second voltage is greater than the first voltage, it can be determined that the voltage of the AC power supply is in the negative half cycle, and the voltage value of the negative half cycle of the AC power supply of the PFC module 10 is calculated according to the second voltage. During the process of the AC power supply completing a complete sinusoidal waveform cycle, the control module 30 simultaneously obtains the voltage value and voltage polarity of the AC power supply, and can accurately control the on-off of the light-opening tube unit of the PFC module 10 according to the voltage value and voltage polarity of the AC power supply.
[0035] In order to facilitate understanding of this embodiment, Figure 6The circuit shown is specifically described as follows: (1) When the sinusoidal waveform of the AC power supply is in the positive half cycle, the voltage of the L line of the AC power supply is greater than the voltage of the N line. In the first reduction unit 210, the voltage difference LN obtained by subtracting the N line from the L line is sent to the input end of the first reduction unit 210 through the resistors R3 and R4. The resistance values of the resistors R3 and R4 are set to be equal, and the resistance values of the resistors R12 and R14 are set to be equal. The amplification factor Gain2A of the first reduction unit 210 is equal to R12 / R4. The first voltage output by the first reduction unit 210 is V_L>N. The first voltage is equal to (LN)*R12 / R4. The first voltage V_L>N is always positive. The resistance value of the resistor R12 is set to be smaller than the resistance value of the resistor R4, so that the first reduction unit 210 achieves voltage reduction. The voltage difference LN between the L line and the N line is reduced by a certain multiple, and the control module 30 can sample the first voltage V_L>N. At this time, the voltage at the non-inverting input terminal of the second shrinking unit 211 is lower than the voltage at the reverse input terminal, and the second voltage V_N>L output by the second shrinking unit 211 is continuously 0V. The control module 30 reads that the first voltage V_L>N output by the first reduction unit 210 is always greater than the second voltage V_N>L output by the second reduction unit 211, and thus determines that the sinusoidal waveform of the AC power source is in the positive half cycle. The control module 30 can directly calculate the voltage value of the AC power source according to the first voltage V_L>N output by the first reduction unit 210; (2) When the sinusoidal waveform of the AC power source is in the negative half cycle, the voltage of the N line is greater than the voltage of the L line. The second reduction unit 211 sends the voltage difference of the N line minus the L line to the input end of the second reduction unit 211 through the resistor R1 and the resistor R2. The resistance values of the resistors R1 and R2 are set to be equal, and the resistance values of the resistors R17 and R20 are set to be equal. The amplification factor of the second reduction unit is Gain2B=R20 / R2. The second voltage V_N>L output by the second reduction unit is equal to (NL)*R20 / R2, and the first voltage V_L>N is always positive. The resistance value of R2 is set to be smaller than the resistance value of R20, so that the second reduction unit 211 can achieve voltage reduction, and the voltage difference NL between the N line and the L line is reduced by a certain multiple, and the control module 30 can sample the second voltage V_N>L. At this time, the voltage at the positive input terminal of the first reduction unit 210 is greater than the voltage at the reverse input terminal, and the first voltage V_L>N output by the first reduction unit 210 is continuously 0V. The control module 30 reads that the second voltage V_N>L output by the second reduction unit 211 is always greater than the first voltage V_L>N output by the first reduction unit 210, and it can be determined that the sinusoidal waveform of the input AC power supply is in the negative half cycle. The control module 30 directly calculates the voltage value of the AC power supply according to the second voltage V_N>L output by the second reduction unit 211.During a complete sine wave cycle of the AC power supply, the control module 30 obtains the voltage value and voltage polarity of the AC power supply, and accurately controls the on / off of the switch unit of the PFC module 10 according to the voltage value and voltage polarity of the AC power supply.
[0036] In one embodiment, referring to Figures 1 to 5 , the sampling module 20 includes a current sampling unit 22, which is connected to the PFC module 10 and the control module 30; wherein the current sampling unit 22 is used to detect the PFC module 10 to obtain the current size of the AC power supply. In a specific implementation, the sampling module 20 also includes a current sampling unit 22, which is connected to the PFC module 10 and the control module 30. The current sampling unit 22 is used to detect the current of the PFC module 10, and the current sampling unit 22 detects the current size of the AC power input to the PFC module 10 in real time. When the current sampling module 20 detects the current, it is output to the control module 30 in the form of a voltage signal. After receiving the signal, the control module 30 calculates the current size, and uses the calculated current size as a current reference for controlling the switch tube unit 11 of the PFC module 10, and also as an overcurrent protection signal to limit the current size of the MOS tube in the switch tube unit 11 to protect the MOS tube. The control module 30 controls the PFC module 10 to work according to the current size detected by the current detection unit in real time, so that the PFC module 10 works more safely and reliably.
[0037] Further, refer to Figures 3 to 6 , the current sampling unit 22 includes a Hall sensor 220, the PFC module 10 also includes a PFC inductor 12, the PFC inductor 12 is connected to the switch tube unit 11, and the Hall sensor 220 is connected to the PFC inductor 12 and the control module 30; wherein the Hall sensor 220 is used to detect the current on the PFC inductor 12 to output a sampling voltage, and the control module 30 calculates the current value of the AC power supply according to the reference voltage and the sampling voltage. In a specific implementation, the PFC module 10 also includes a PFC inductor 12, which is one of the core components of the classic bridgeless PFC circuit in the PFC module 10, and the PFC inductor 12 is mainly used to improve the power factor in the PFC module 10. In this embodiment, the current sampling unit 22 is designed with a Hall sensor 220, which is a magnetic field sensor made based on the Hall effect, and the Hall sensor 220 can detect changes in the magnetic field and convert the changes in the magnetic field into changes in the output voltage. The input end of the Hall sensor 220 is connected in series with the PFC inductor 12, and the current on the PFC inductor 12 is equal to the current entering the Hall sensor 220. Figure 6In the circuit shown, when the voltage of the L line of the AC power input is greater than the N line, the current of the PFC inductor 12 is positive for the Hall sensor 220, and the output sampling voltage I_PFC is output. The reference voltage of the Hall sensor 220 is used as a standard for judging the output voltage. The reference voltage can be provided by an external constant current source. The reference voltage can be set according to the standard of current detection. Here, a 2.5V reference voltage 2.5VREF_P is taken as an example. The reference voltage 2.5VREF_P is constant as a reference standard, and the sampling voltage I_PFC output by the Hall sensor 220 is higher than the reference voltage 2.5VREF_P; when the current is 0, that is, there is no current on the PFC inductor 12, the sampling voltage output by the Hall sensor 220 is equal to the 2.5VREF_P voltage; and when the voltage of the N line of the AC power supply is greater than the L line, the current of the PFC inductor 12 is negative for the Hall sensor 220, and the output sampling voltage I_PFC is lower than the reference voltage 2.5VREF_P. The sampled voltage I_PFC and the reference voltage 2.5VREF_P are simultaneously output to the control module 30 to calculate the current value. When the control module 30 calculates the current value, the reference voltage 2.5VREF_P can be subtracted from the sampled voltage I_PFC. If the result is negative, the absolute value is taken. The obtained value is then proportionally converted into the current of the PFC inductor 12. In this way, the current value of the AC power supply inside the PFC module 10 is obtained, and the phase of the AC power supply can be determined, thereby accurately controlling the switch tube unit 11 of the PFC module 10 to work.
[0038] Specifically, the Hall sensor 220 is a bidirectional current Hall sensor 220. The bidirectional Hall sensor 220 is used to detect the current of the PFC inductor 12 of the PFC module 10, and the measurement sensitivity is higher and the response speed is faster, so that the control module 30 can quickly calculate the current of the AC power supply in the PFC module 10, and then more accurately control the switch tube unit 11 of the PFC module 10 to work, and the control reliability is higher.
[0039] In one embodiment, referring to Figures 4 to 6, the current sampling unit 22 further includes a differential amplifier unit 221, the differential amplifier unit 221 is connected to the Hall sensor 220 and the control module 30; wherein the differential amplifier unit 221 is used to amplify the difference between the sampled voltage and the reference voltage, and the control module 30 calculates the current value of the AC power supply according to the difference between the amplified sampled voltage and the reference voltage. In a specific implementation, the current sampling unit 22 further includes a differential amplifier unit 221, the differential amplifier unit 221 is connected to the Hall sensor 220 and the control module 30, and the difference between the sampled voltage detected by the Hall sensor 220 and the reference voltage of the Hall sensor 220 is amplified by the differential amplifier unit 221. After the Hall sensor 220 detects the current on the PFC inductor 12 and obtains the sampled voltage, the sampled voltage and the reference voltage are simultaneously output to the differential amplifier unit 221. The differential amplifier unit 221 amplifies the difference between the sampled voltage and the reference voltage, and outputs the amplified difference between the sampled voltage and the reference voltage to the control module 30. The control module 30 can calculate the current value of the AC power supply according to the difference between the amplified sampled voltage and the reference voltage. The control module 30 accurately controls the switch tube unit 11 of the PFC module 10 to work according to the calculated current value.
[0040] Further, referring to FIGS. Figure 6 The differential amplifier unit 221 includes a first amplifier unit 2210, which is connected to the Hall sensor 220 and the control module 30; wherein the first amplifier unit 2210 is used to amplify the difference between the sampled voltage and the reference voltage to obtain a third voltage, and the control module 30 calculates the current value of the AC power supply according to the third voltage. The differential amplifier unit 221 also includes a second amplifier unit 2211, which is connected to the Hall sensor 220 and the control module 30; wherein the second amplifier unit 2211 is used to amplify the difference between the sampled voltage and the reference voltage to obtain a fourth voltage, and the control module 30 compares the third voltage with the fourth voltage to determine the current polarity of the AC power supply, and calculates the current value of the AC power supply according to the fourth voltage. In a specific implementation, the differential amplifier unit 221 is composed of a first amplifier unit 2210 and a second amplifier unit 2211. Both the first amplifier unit 2210 and the second amplifier unit 2211 are connected to the Hall sensor 220 and the control module 30. Specifically, both the first amplifier unit 2210 and the second amplifier unit 2211 are designed using operational amplifiers, such as Figure 6As shown, the non-inverting input terminal of the first amplifying unit 2210 is connected to the output terminal VOUT of the Hall sensor 220, and the inverting input terminal is connected to the reference voltage terminal VREF of the Hall sensor 220, and is connected to the control module 30; the non-inverting input terminal of the second amplifying unit 2211 is connected to the reference voltage terminal VREF of the Hall sensor 220, and the inverting input terminal is connected to the output terminal VOUT of the Hall sensor 220, and the output terminal is also connected to the control module 30. The first amplifier unit 2210 can amplify the difference between the sampling voltage I_PFC output by the Hall sensor 220 and the reference voltage 2.5VREF_P to obtain a third voltage I_L>N, and the second amplifier unit 2211 can amplify the difference between the sampling voltage I_PFC output by the Hall sensor 220 and the reference voltage to obtain a fourth voltage I_N>L. The third voltage I_L>N output by the first amplifier unit 2210 and the fourth voltage I_N>L output by the second amplifier unit 2211 are simultaneously output to the control module 30. Since the voltage polarity of the positive half-cycle of the sinusoidal waveform of the AC power supply is positive, the current polarity is also positive. The control module 30 can directly calculate the current value when the AC power supply is in the positive half-cycle of the sinusoidal waveform based on the third voltage. The voltage polarity of the negative half cycle of the sinusoidal waveform of the AC power source is negative, and the polarity of the current is also negative. The control module 30 needs to determine the current polarity. The control module 30 compares the third voltage with the fourth voltage, and determines the current polarity of the AC power source in the PFC module 10 according to the comparison result. When the fourth voltage is greater than the third voltage, it can be determined that the current polarity of the AC power source in the PFC module 10 is negative, and the current value of the negative half cycle of the sinusoidal waveform of the AC power source in the PFC module 10 is calculated according to the fourth voltage. During a complete sinusoidal waveform cycle of the AC power supply, the third voltage and the fourth voltage correspond to the currents of the positive half cycle and the negative half cycle of the sinusoidal waveform of the AC power supply in the PFC module 10 respectively. The control module 30 can calculate the total current in a complete sinusoidal waveform cycle of the AC power supply according to the third voltage and the fourth voltage. The control module 30 uses the calculated current as a current reference for controlling the switch tube unit 11 of the PFC module 10, and at the same time as an overcurrent protection signal to limit the current of the MOS tube in the switch tube unit 11 to protect the MOS tube, so that the operation of the PFC module 10 becomes safer and more reliable.
[0041] In order to facilitate understanding of this embodiment, Figure 6The circuit shown is specifically described as follows: (1) When the sinusoidal waveform of the AC power supply is in the positive half cycle, the third voltage I_L>N outputted by the output terminal of the first amplifier unit 2210 is a positive voltage. Here, the resistance values of the resistors R8 and R11 are set to be equal, the resistance values of the resistors R6 and R13 are set to be equal, the amplification factor of the first amplifier unit 2210 is R6 / R8, and the third voltage I_L>N outputted by the first amplifier unit 2210 is equal to (I_PFC-2.5VREF_P)*R6 / R8. The fourth voltage I_N>L outputted by the second amplifier unit 2211 is continuously 0V. (2) When the AC input is in the negative half cycle, the fourth voltage I_N>L outputted by the second amplifier unit 2211 is a positive voltage. Here, the resistance values of the resistor R16 and the resistor R18 are set to be equal, and the resistance values of the resistor R15 and the resistor R19 are set to be equal. At this time, the amplification factor of the second amplifier unit 2211 is R15 / R16, and the fourth voltage I_N>L output by the second amplifier unit 2211 is equal to (2.5VREF_P-I_PFC)*R15 / R16. At this time, the third voltage I_L>N is continuously 0V. The two voltages of the first amplifier unit 2210 and the second amplifier unit 2211 correspond to the current of the PFC inductor 12 in each half cycle respectively. The control module 30 can obtain the total current by adding the current values calculated according to the two voltages of the first amplifier unit 2210 and the second amplifier unit 2211.
[0042] In one embodiment, an electronic device is provided, the electronic device includes the PFC circuit described in the above embodiment, the electronic device may specifically be a server, a switching power supply, etc., the PFC circuit is integrated in the electronic device, and the PFC circuit is mainly used to improve the power factor between the electronic device power supply and the load, correct the phase difference of the current waveform of the power supply input of the electronic device, stabilize the voltage waveform, and thus improve the power factor. Since the specific structure and working principle of the PFC circuit have been described in detail in the previous description, they will not be repeated here for the sake of brevity of the description.
[0043] The electronic device in this embodiment adopts the PFC circuit provided by the embodiment of the present invention, so the power factor of the power input is improved, the input is more stable, and the reliability of use is better.
[0044] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A PFC circuit, characterized in that: include: A PFC module, used to connect to an AC power supply, the PFC module comprising a switch tube unit for switching on and off the output of the AC power supply; A sampling module, comprising a voltage sampling unit, wherein the voltage sampling unit is connected to the PFC module, and the voltage sampling unit is used to detect the PFC module to obtain the voltage magnitude and voltage polarity of the AC power supply; A control module is connected to the sampling module and the PFC module, and is used to drive the switch tube unit to turn on or off according to the voltage magnitude and voltage polarity of the AC power supply.
2. The PFC circuit according to claim 1, characterized in that: The voltage sampling unit includes a first reduction unit, the PFC module is provided with a positive input terminal and a negative input terminal respectively used to connect the positive electrode and the negative electrode of the AC power supply, and the first reduction unit is connected to the positive input terminal and the negative input terminal; The first reduction unit is used to reduce the difference between the voltage of the positive input terminal and the voltage of the negative input terminal to obtain a first voltage, and the control module calculates the voltage value of the AC power supply according to the first voltage.
3. The PFC circuit according to claim 2, characterized in that: The voltage sampling unit further includes a second reduction unit, and the second reduction unit is connected to the positive input terminal and the negative input terminal; Among them, the second reduction unit is used to reduce the difference between the voltage of the positive input terminal and the voltage of the negative input terminal to obtain a second voltage, and the control module determines the voltage polarity of the AC power supply according to the comparison between the second voltage and the first voltage, and calculates the voltage value of the AC power supply according to the second voltage.
4. The PFC circuit according to any one of claims 1 to 3, characterized in that: The sampling module includes a current sampling unit, and the current sampling unit is connected to the PFC module and the control module; The current sampling unit is used to detect the PFC module to obtain the current size of the AC power supply.
5. The PFC circuit according to claim 4, characterized in that: The current sampling unit includes a Hall sensor, the PFC module also includes a PFC inductor, the PFC inductor is connected to the switch tube unit, and the Hall sensor is connected to the PFC inductor and the control module; The Hall sensor is used to detect the current on the PFC inductor to output a sampled voltage, and the control module calculates the current value of the AC power supply according to a reference voltage and the sampled voltage.
6. The PFC circuit according to claim 5, characterized in that: The current sampling unit further includes a differential amplification unit, and the differential amplification unit is connected to the Hall sensor and the control module; The differential amplifier unit is used to amplify the difference between the sampled voltage and the reference voltage, and the control module calculates the current value of the AC power supply according to the amplified difference between the sampled voltage and the reference voltage.
7. The PFC circuit according to claim 6, characterized in that: The Hall sensor is a bidirectional current Hall sensor.
8. The PFC circuit according to claim 6, characterized in that: The differential amplification unit includes a first amplification unit, and the first amplification unit is connected to the Hall sensor and the control module; The first amplifying unit is used to amplify the difference between the sampled voltage and the reference voltage to obtain a third voltage, and the control module calculates the current value of the AC power supply according to the third voltage.
9. The PFC circuit according to claim 8, characterized in that: The differential amplification unit further includes a second amplification unit, and the second amplification unit is connected to the Hall sensor and the control module; Among them, the second amplification unit is used to amplify the difference between the sampled voltage and the reference voltage to obtain a fourth voltage, and the control module determines the current polarity of the AC power supply according to the comparison between the third voltage and the fourth voltage, and calculates the current value of the AC power supply according to the fourth voltage.
10. An electronic device, characterized in that: The PFC circuit comprises the PFC circuit described in any one of claims 1 to 9.
