A circuit and control method for optimizing critical PFC zero-crossing signal detection
By using a digital control method in the Boost PFC circuit to calculate and actively drive the switching tube on and off, the problem of being unable to detect the zero-crossing signal is solved, the circuit stability and fault tolerance are improved, and voltage and current abnormalities are avoided. Phenomenon.
Patent Information
- Application Number
- CN202210743304.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-27
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-06-27
AI Technical Summary
In the digitally controlled critical Boost PFC circuit, the boost inductor current zero-crossing signal cannot be reliably detected, leading to problems such as input overcurrent, bus voltage overvoltage, undervoltage, and switch tube damage.
Through the digital control method, we intervene in advance and no longer wait for the zero-crossing signal. We use algorithms to calculate the conduction time and conduction period of the boost switch tube, actively drive the switch tube on and off, and promptly detect and intervene in unstable zero-crossings. signal, optimizing critical PFC zero-crossing signal detection.
It improves the stability of the circuit output, enhances the fault tolerance rate, ensures the normal operation of the downstream circuit, avoids bus voltage jitter and input current spikes, and prevents bus voltage overvoltage, undervoltage and switch tube damage.
Smart Images

Figure CN115001240B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of circuit detection, and in particular relates to a circuit and a control method for optimizing critical PFC zero-crossing signal detection. Background Art
[0002] PFC (Power Factor Correction) Power factor refers to the relationship between effective power and total power consumption (apparent power), that is, the ratio of effective power divided by total power consumption. Basically, power factor can measure the degree to which electricity is effectively used. The larger the power factor value, the higher the power utilization rate. Power factor is a parameter used to measure the power efficiency of electrical equipment. A low power factor means low power efficiency. The technology to improve the power factor of electrical equipment is called power factor correction.
[0003] This control method is mainly used in critical Boost PFC circuit topology applications. In the digitally controlled critical Boost PFC circuit, it is necessary to generate a zero-crossing signal (ZCD) when the boost inductor current crosses zero. This zero-crossing signal can directly or indirectly control the conduction of the Boost switch. When the zero-crossing of the Boost inductor current is detected to be unstable, such as loading, unloading and input voltage jitter, it is easy to fail to detect the zero-crossing signal, resulting in missing the conduction moment of the boost switch, resulting in input overcurrent, bus voltage overvoltage and undervoltage of the Boost PFC circuit, and even damage to the boost switch. Therefore, reliably detecting the zero-crossing signal of the Boost PFC circuit is very important in the application of the Boost PFC circuit.
[0004] In the prior art, the processing methods and corresponding defects when the zero-crossing signal cannot be reliably detected in the Boost PFC circuit generally include the following:
[0005] 1. Wait for the zero-crossing signal of the boost inductor current, and when a stable zero-crossing signal is detected, control the switch tube to turn on. The problem caused by this method is that the loss of continuous zero-crossing signals will cause the switch tube to be unable to be controlled to turn on, causing the BoostPFC bus voltage to drop significantly, causing the Boost PFC post-stage to work abnormally.
[0006] 2. Define a fixed time. If no zero-crossing signal is detected within the defined fixed time, the switch tube is immediately controlled to turn on. The problem with this method is that it will cause a delay in the switch tube turning on, making the bus voltage control of the Boost PFC circuit unstable and easily causing bus voltage overvoltage, undervoltage and input overcurrent.
[0007] 3. Detect the inductor current through the auxiliary winding to avoid the problem of unreliable detection of the inductor current zero-crossing signal. The problem with this method is that when detecting the inductor current through the auxiliary winding, the small current detection error is large, and it will increase the circuit complexity and increase the circuit cost. Summary of the invention
[0008] The present invention proposes a circuit and control method for optimizing critical PFC zero-crossing signal detection, which mainly solves the problem that the boost inductor current zero-crossing signal cannot be reliably detected under hardware control. The present invention intervenes in advance through digital control, no longer waiting for the zero-crossing signal, and calculates the on-time and on-cycle of the boost switch tube through an algorithm, and actively drives the on and off of the boost switch tube. It can timely discover and intervene in unstable zero-crossing signals, making the output of the circuit more stable, with a high fault tolerance rate, and ensuring the normal operation of the subsequent circuit.
[0009] The technical solution of the present invention is as follows:
[0010] A circuit for optimizing critical PFC zero-crossing signal detection, the circuit is based on a Boost PFC circuit, the Boost PFC circuit includes a voltage source, an inductor L1, a switch tube Q1, a diode D1, a resistor RL and a capacitor C1, the positive electrode of the voltage source is connected to the drain of the switch tube through the inductor L1, the source of the switch tube is connected to a power supply ground, the drain of the switch tube is also connected to the positive electrode of the diode D1, the capacitor C1 and the resistor RL are connected between the negative electrode of the diode D1 and the power supply ground, the capacitor C1 and the resistor RL are connected in parallel, the circuit for optimizing critical PFC zero-crossing signal detection also includes a switch tube control unit, the switch tube control unit includes a microcontroller and a comparison module, the microcontroller includes a pulse module inside, the gate of the switch tube is connected to the output pin of the switch tube control unit corresponding to the microcontroller, the pulse module is used to control the on and off of the switch tube, the output end of the comparison module is connected to the input pin of the controller corresponding to the pulse module, the output end of the pulse module is controlled to be connected to the gate of the switch tube, the comparison module is used to collect and compare the drain voltage of the switch tube and the Boost The bus voltage of the PFC circuit, the in-phase end of the comparison module is connected to the drain of the switch tube, the reverse end of the comparison module is connected to the bus of the Boost PFC circuit, the microcontroller also includes an analog-to-digital conversion module, the signal input end of the analog-to-digital conversion module is respectively connected to the voltage source and the bus of the Boost PFC circuit, the analog-to-digital conversion module is used to collect the input voltage and bus voltage of the Boost PFC circuit, and the output end of the analog-to-digital conversion module is connected to the pulse module signal through the operation module inside the microcontroller.
[0011] As a further optimization of this solution, a driving module is provided between the microcontroller and the gate of the switch tube.
[0012] A control method for optimizing critical PFC zero-crossing signal detection, the method is based on a circuit for optimizing critical PFC zero-crossing signal detection, the method is also based on a digital control method, including
[0013] Calculating the voltage difference, the analog-to-digital conversion module collects the bus voltage of the Boost PFC circuit and the input voltage of the Boost PFC circuit, converts the analog voltage into a digital value, and inputs the digital value into the calculation module to calculate the voltage difference between the two;
[0014] Zero-crossing signal abnormality judgment: judging whether the zero-crossing signal is normal according to the calculation result in the step of calculating the voltage difference, and if normal, continuing to execute the normal zero-crossing signal control mode; otherwise, executing the zero-crossing signal abnormality control;
[0015] Abnormal control of zero-crossing signal, stopping the normal control mode of zero-crossing signal, digital control intervention, the microcontroller controls the switch tube according to the conduction period and conduction time of the switch tube;
[0016] The normal recovery control module recovers hardware control when it is detected that the voltage difference between the bus voltage of the Boost PFC circuit and the input voltage of the Boost PFC circuit is normal.
[0017] As a further optimization of this solution, the zero-crossing signal abnormality judgment step includes:
[0018] The microcontroller determines whether the zero-crossing signal abnormality control is being executed, and if so, performs the first standard judgment; otherwise, performs the second standard judgment;
[0019] The first standard judgment includes: if the voltage difference is greater than Δv1 and the duration is greater than Δt1, it is determined that the zero-crossing signal is normal and the normal zero-crossing signal control mode is executed, otherwise the abnormal zero-crossing signal control is executed;
[0020] The second standard judgment includes: if the voltage difference is less than Δv2 and the duration is less than Δt2, then executing the zero-crossing signal abnormal control; otherwise, it is determined that the zero-crossing signal is normal and executing the zero-crossing signal normal control mode.
[0021] As a further optimization of this scheme, Δv1>Δv2, Δt1>Δt2.
[0022] As a further optimization of this solution, the zero-crossing signal abnormality control step includes:
[0023] S3-1, stop the normal control mode of hardware zero-crossing signal,
[0024] S3-2, calculating the on-time Ton and the on-cycle T that the switch tube should execute;
[0025] S3-3, add time margin in each conduction cycle,
[0026] S3-4, storing the conduction period Tadd and the conduction time Ton after the time margin is added into the pulse module, and directly controlling the switch tube until the voltage difference between the bus voltage of the Boost PFC circuit and the input voltage of the Boost PFC circuit is normal.
[0027] As a further optimization of this solution, in S3-2,
[0028]
[0029]
[0030] Where Po is the output power, V RMS Refers to the effective value of the input voltage.
[0031] As a further optimization of this solution, in S3-3, the time margin decreases gradually with the number of times the conduction cycle is executed.
[0032] As a further optimization of this scheme, the time margin for the first cycle in the zero-crossing signal abnormal control step is increased by 50% of the conduction cycle; the time margin for the second cycle is increased by 25% of the conduction cycle; the time margin for the third cycle is increased by 12.5% of the conduction cycle; the time margin for the third cycle and all subsequent cycles is increased by 12.5% of the conduction cycle.
[0033] As a further optimization of this solution, in S3-4, the judgment process executes the zero-crossing signal abnormality judgment step.
[0034] As a further optimization of the present solution, the step of restoring the hardware control includes ending the zero-crossing signal abnormal control step and executing a zero-crossing signal normal control mode.
[0035] The working principle and beneficial effects of the present invention are:
[0036] This control method is mainly used for critical Boost PFC circuit topology applications under digital control. It mainly solves the problem that when the boost inductor current zero-crossing signal cannot be reliably detected under digital control, the digital control intervenes in advance and no longer waits for the zero-crossing signal. Instead, the on-time and on-cycle of the boost switch tube are calculated through an algorithm, and the on and off of the boost switch tube are actively driven. When the boost inductor current zero-crossing signal can be reliably detected, the normal control mode is returned, that is, the on-time is triggered by the zero-crossing signal.
[0037] When loading, unloading and input voltage jitter, the bus voltage of the Boost PFC circuit will jitter, thereby causing abnormal boost inductor current zero-crossing signal. The present invention can effectively reduce the jitter of the Boost PFC bus voltage and the spike of the input current when the boost inductor current zero-crossing signal is abnormal, improve the control stability, and avoid bus voltage overvoltage, undervoltage, input overcurrent and boost switch tube damage.
[0038] Under digital control, when the boost inductor current zero-crossing signal cannot be reliably detected, digital control intervenes in advance and no longer waits for the zero-crossing signal. Instead, the on-time and on-cycle of the boost switch tube are calculated through an algorithm, and the boost switch tube is actively driven on and off. When the boost inductor current zero-crossing signal can be reliably detected, the normal control mode is returned, that is, the on-time is triggered by the zero-crossing signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0040] Figure 1 is a circuit schematic diagram of the circuit in the present invention;
[0041] Figure 2 It is a flowchart of the method in the present invention. DETAILED DESCRIPTION
[0042] The following will be combined with 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 only 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.
[0043] Specific embodiment 1, as attached to the specification Figure 1As shown, a circuit for optimizing critical PFC zero-crossing signal detection is based on a Boost PFC circuit. The PFC circuit includes a voltage source, an inductor L1, a switch tube Q1, a diode D1, a resistor RL and a capacitor C1. The positive electrode of the voltage source is connected to the drain of the switch tube through the inductor L1, the source of the switch tube is connected to the power ground, the drain of the switch tube is also connected to the positive electrode of the diode D1, the capacitor C1 and the resistor RL are connected between the negative electrode of the diode D1 and the power ground, and the capacitor C1 and the resistor RL are connected in parallel. The circuit for optimizing the critical PFC zero-crossing signal detection also includes a switch tube control unit, the switch tube control unit includes a microcontroller and a comparison module, the microcontroller includes a pulse module inside, the gate of the switch tube is connected to the output pin of the switch tube control unit corresponding to the microcontroller, the pulse module is used to control the on and off of the switch tube, the output end of the comparison module is connected to the input pin of the controller corresponding to the pulse module, the output end of the pulse module controls the connection to the gate of the switch tube, and the comparison module is used to collect and compare the drain voltage of the switch tube and the Boost The bus voltage of the PFC circuit, the in-phase end of the comparison module is connected to the drain of the switch tube, and the reverse end of the comparison module is connected to the bus of the Boost PFC circuit. It is characterized in that the microcontroller also includes an analog-to-digital conversion module, and the signal input end of the analog-to-digital conversion module is respectively connected to the voltage source and the bus of the Boost PFC circuit. The analog-to-digital conversion module is used to collect the input voltage and bus voltage of the Boost PFC circuit, and the output end of the analog-to-digital conversion module is connected to the pulse module signal through the operation module inside the microcontroller.
[0044] The present invention acts on a Boost circuit, the basic principle of which is as follows:
[0045] There is a voltage source, Figure 1The medium voltage source is an AC input, and a pulsating DC voltage is output through a rectifier. The PWM and driver group form a pulse module. The PWM outputs a square wave signal, that is, a PWM control signal. The driver can improve the load carrying capacity and ensure the stability of the signal waveform. The PWM controls the on and off of the switch tube through the driver. When the switch tube is turned on, the switch tube short-circuits the load, and the current passes through the inductor L1 and then flows to the power supply ground through the switch tube. In this process, the inductor L1 is charged and the capacitor C1 discharges to the load; when the switch tube is turned off, the current flows to the power supply ground through the load. At this time, the current stored in the inductor L1 will continue to be released. The inductor L1 is connected in series with the original voltage source as a power source, so the voltage in the circuit increases. While carrying the load, it also charges the capacitor C1 to complete a boost cycle. When the switch tube is turned on, the diode D1 can prevent the current released by the capacitor C1 from flowing to the switch tube, so that the current borne by the switch tube is too large. The microcontroller can be a single-chip microcomputer, CPU or computer, etc., which can realize data processing. The microcontroller is equipped with a PWM pulse module, a calculation module, and a digital-to-analog conversion module.
[0046] Normal control of zero-crossing signal, that is, hardware control, belongs to the control method of the prior art. It is collected by comparator. The comparison module includes a comparator, which compares the PFC bus voltage and the drain of the switch tube in real time. When the gate of the switch tube is at a low potential, the switch tube is turned off. At this time, the inductor L1 is discharged and the capacitor C1 is charged. When the inductor discharge current is zero, the drain voltage of the switch tube V d Drop, V d The voltage drops below V bus When the voltage reaches a certain threshold, the output of the comparator will reverse to a low potential, indicating that a zero-crossing signal is detected and the signal is sent to the pulse module. The pulse module outputs a high potential to command the switch tube to turn on. When the gate of the switch tube is at a high potential, the switch tube is turned on. At this time, the inductor L1 is charged, the capacitor C1 is discharged, and the drain voltage V d Increase, V d The voltage rises above V bus When the voltage reaches a certain threshold, the comparator resumes outputting a high potential, and the conduction of the switch tube is controlled by the conduction time. When the conduction time is up, the pulse module outputs a low potential, and the inductor L1 is discharged and the capacitor C1 is charged, and the cycle repeats. However, when using this type of zero-crossing signal detection control, sometimes the bus voltage V bus Too low, and when the inductor discharge current is zero, the switch tube drain voltage V d decreases, but V d The voltage is still greater than V bus If the voltage is too low, the comparator cannot flip, resulting in invalid PWM output, missing the turn-on moment of the switch tube, and making the critical Boost PFC control ineffective.
[0047] However, the present application uses the voltage difference between the bus voltage and the input voltage of the PFC circuit as a reference. Since the bus voltage will be much higher than the input voltage, that is, the power supply voltage, when the boost circuit is working normally, when the bus voltage value is close to the input voltage value, it means that the PFC circuit is basically invalid, that is, the bus voltage is too low, and the comparator cannot be flipped. The analog-to-digital conversion module continuously collects the input voltage and the bus voltage, and converts the analog quantity into a specific data value, and performs a subtraction operation in the calculation module of the microcontroller (the process of calling the calculation module is equivalent to calling the calculation function in the single-chip microcomputer or computer to perform a subtraction operation according to the code. Since the subtraction operation of the specific value in the microcontroller can be realized through conventional codes or commands, in the attached Figure 1 There is no marking of the calculation module, and it can also be understood that the microcontroller directly executes the function of the calculation module). When the voltage difference is less than a certain value, it means that the bus voltage is too low. It can be judged that an abnormality of zero-crossing signal loss has occurred, and the hardware control is actively closed to execute the method of the present invention.
[0048] Specific embodiment 2,
[0049] As the instruction manual Figure 2 As shown, a control method for optimizing critical PFC zero-crossing signal detection is based on a circuit for optimizing critical PFC zero-crossing signal detection as described in claim 1. The method is also based on a digital control method, including
[0050] The voltage difference is calculated. The analog-to-digital conversion module collects the bus voltage of the Boost PFC circuit and the input voltage of the Boost PFC circuit, and calculates the voltage difference between the two; and the zero-crossing signal abnormality judgment step is performed according to the voltage difference.
[0051] Zero-crossing signal abnormality judgment: judging whether the zero-crossing signal is normal according to the calculation result in the voltage difference calculation step, if normal, continuing to execute the zero-crossing signal normal control mode; otherwise, executing the digital control intervention step;
[0052] The zero-crossing signal abnormality judgment step includes judging whether the zero-crossing signal abnormality control is being executed, and if the zero-crossing signal abnormality control is being executed, performing a first standard judgment; otherwise, performing a second standard judgment;
[0053] The first standard judgment includes: if the voltage difference is greater than Δv1 and the duration is greater than Δt1, it is determined that the zero-crossing signal is normal and the normal zero-crossing signal control mode is executed, otherwise the abnormal zero-crossing signal control is executed;
[0054] The second standard judgment includes: if the voltage difference is less than Δv2 and the duration is less than Δt2, then executing the zero-crossing signal abnormal control; otherwise, the zero-crossing signal is determined to be normal and executing the zero-crossing signal normal control mode; wherein Δv1>Δv2, Δt1>Δt2.
[0055] The zero-crossing signal abnormality judgment step includes: the zero-crossing signal abnormality judgment step and the voltage difference calculation step are real-time, that is, the analog-to-digital conversion module continuously collects voltage signals from the bus of the PFC circuit and the input voltage of the PFC circuit and inputs them into the microcontroller to calculate the voltage difference. If the current state is executing the zero-crossing signal abnormality control mode, if the voltage difference is detected to be greater than Δv1, the microcontroller starts to count the duration of the voltage difference greater than Δv1, with the first detection of the voltage difference signal greater than Δv1 as the starting time, when the duration of the voltage difference greater than Δv1 recorded exceeds Δt1, it is considered that the zero-crossing signal has returned to normal, and the zero-crossing abnormality control mode is terminated, otherwise the digital control continues to intervene in the generation of the zero-crossing signal. The current state is executing the zero-crossing signal normal control mode, if the voltage difference is detected to be less than Δv2, the microprocessor starts to count the duration of the voltage difference less than Δv2, with the first detection of the voltage difference signal less than Δv2 as the starting time, when the duration of the voltage difference less than Δv2 recorded exceeds Δt2, it is considered that the zero-crossing signal has returned to normal, and the zero-crossing abnormality control mode is terminated, otherwise the digital control continues to intervene in the generation of the zero-crossing signal.
[0056] Among them, Δv1 can be selected as 25V, Δv2 can be selected as 35V, Δt1 can be selected as 300us, and Δt2 can be selected as 200us.
[0057] Abnormal control of zero-crossing signal, digital control intervention, stopping the normal control mode of zero-crossing signal, the microcontroller controls the switch tube according to the conduction period and conduction time of the switch tube;
[0058] The zero-crossing signal abnormality control step includes:
[0059] S3-1, stop the intervention of the hardware zero-crossing signal, that is, end the normal control mode of the zero-crossing signal, and actively drive the on and off of the switch tube in the Boost PFC circuit.
[0060] S3-2, calculating the on-time Ton and the on-cycle T that the switch tube should execute;
[0061]
[0062]
[0063] Among them, P o Refers to the output power, V RMS Refers to the effective value of the input voltage.
[0064] S3-3, adding a time margin in each conduction cycle, the time margin decreases with the number of conduction cycles executed. For the decreasing amount, it can be selected that the time margin added to the first cycle in the zero-crossing signal abnormality control step is 50% of the conduction cycle; the time margin added to the second cycle is 25% of the conduction cycle; the time margin added to the third cycle is 12.5% of the conduction cycle; the time margin added to the third cycle and all subsequent cycles is 12.5% of the conduction cycle.
[0065] S3-4, the conduction period Tadd and the conduction time Ton after adding the time margin are stored in the pulse module, and the switch tube is directly controlled until the voltage difference between the bus voltage of the Boost PFC circuit and the input voltage of the Boost PFC circuit is normal. The judgment process is to perform the zero-crossing signal abnormality judgment step.
[0066] Restoring hardware control, when detecting that the voltage difference between the bus voltage of the Boost PFC circuit and the input voltage of the Boost PFC circuit is normal, restoring the normal control mode of the zero-crossing signal. The step of restoring hardware control includes ending the abnormal zero-crossing signal control step and executing the normal control mode of the zero-crossing signal through hardware.
[0067] Specific embodiment 3,
[0068] In the digitally controlled critical Boost PFC circuit topology, as shown in the attached manual Figure 1 As shown, it is necessary to generate a zero-crossing signal ZCD when the boost inductor current passes through zero. This zero-crossing signal ZCD can directly or indirectly control the conduction of the boost switch tube, thereby achieving the purpose of soft switching. There are two main methods for detecting the zero-crossing of the inductor current. The first method is to use the auxiliary winding to detect the current, and the second method is to detect the drain voltage of the switch tube.
[0069] The patent of the present invention adopts the second method, which detects the drain voltage of the switch tube and the Boost PFC bus voltage, and uses the two as the input signals of the comparator. When it is detected that the drain voltage of the switch tube is lower than the Boost PFC bus voltage by a certain value, the comparator outputs a trigger signal. This trigger signal is the signal of the inductor current crossing zero. However, when the Boost PFC bus voltage is unstable, such as loading, unloading and input voltage jitter, it is easy to fail to detect the zero-crossing signal, resulting in missing the turn-on moment of the boost switch tube, thereby causing input overcurrent, Boost PFC bus voltage overvoltage, undervoltage, and even damage to the boost switch tube.
[0070] The present invention is based on a digital control method, actively detects and determines whether the boost inductor current zero-crossing signal is abnormal. When it is abnormal, the digital control actively intervenes, calculates the on and off moments of the boost switch tube through an algorithm, and actively drives the on and off of the boost switch tube, which well solves the control problem when the zero-crossing signal is lost. The control process is as follows:
[0071] In the first step, based on the current input voltage and the Boost PFC bus voltage, when the difference between the Boost PFC bus voltage and the input voltage is less than a certain value (such as 20V) and lasts for a period of time (such as 200us), it is considered that this is an abnormal zero-crossing signal.
[0072] When the zero-crossing signal is abnormal, the digital control takes the initiative to intervene and no longer uses the hardware zero-crossing signal as the conduction signal to control the boost switch tube. The on and off times of the boost switch tube are calculated through an algorithm, that is, the on time and on period.
[0073] The theoretical on-time Ton is calculated by the general critical control formula, and the theoretical on-cycle T is calculated by the volt-second balance principle. The calculation formula is as follows:
[0074]
[0075]
[0076] Where Po is the output power, V RMS Refers to the effective value of the input voltage.
[0077] In the second step, the theoretical conduction period T calculated needs to be increased by a certain amount of time margin, and the increased time margin is gradually reduced from 50% to 12.5% according to the step-by-step approximation method, that is, first increase the time margin by 50% for one cycle, then reduce it to 25% for one cycle, and finally stabilize at 12.5% of the time margin. This is to prevent the conduction period from being too short, causing the boost inductor current to enter the continuous mode, and also to avoid the conduction period from being too long, causing the boost inductor current to have abnormal audio noise.
[0078] The third step is to load the on-period Tadd and Ton after adding the time margin into the PWM register to control the on and off moments.
[0079] In the fourth step, when the difference between the Boost PFC bus voltage and the input voltage is greater than a certain value (such as 25V) and lasts for a period of time (such as 300us), it is considered that the zero-crossing signal has returned to normal, and the digital control actively reuses the hardware zero-crossing signal as the conduction signal to control the boost switch tube.
[0080] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A control method for optimizing critical PFC zero-crossing signal detection, the method is based on a circuit for optimizing critical PFC zero-crossing signal detection, the circuit is based on a Boost PFC circuit, the Boost The PFC circuit includes a voltage source, an inductor L1, a switch tube Q1, a diode D1, a resistor RL and a capacitor C1. The positive electrode of the voltage source is connected to the drain of the switch tube through the inductor L1, the source of the switch tube is connected to the power ground, the drain of the switch tube is also connected to the positive electrode of the diode D1, the capacitor C1 and the resistor RL are connected between the negative electrode of the diode D1 and the power ground, and the capacitor C1 and the resistor RL are connected in parallel. The circuit for optimizing the critical PFC zero-crossing signal detection also includes a switch tube control unit, the switch tube control unit includes a microcontroller and a comparison module, the microcontroller includes a pulse module inside, the gate of the switch tube is connected to the output pin of the switch tube control unit corresponding to the microcontroller, the pulse module is used to control the on and off of the switch tube, the output end of the comparison module is connected to the input pin of the controller corresponding to the pulse module, the output end of the pulse module controls the connection to the gate of the switch tube, and the comparison module is used to collect and compare the drain voltage of the switch tube and the Boost The bus voltage of the PFC circuit, the in-phase end of the comparison module is connected to the drain of the switch tube, the reverse end of the comparison module is connected to the bus of the Boost PFC circuit, the microcontroller also includes an analog-to-digital conversion module, the signal input end of the analog-to-digital conversion module is respectively connected to the voltage source and the bus of the Boost PFC circuit, the analog-to-digital conversion module is used to collect the input voltage and bus voltage of the Boost PFC circuit, the output end of the analog-to-digital conversion module is connected to the pulse module signal through the operation module inside the microcontroller, and a driving module is arranged between the microcontroller and the gate of the switch tube, characterized in that The method is also based on digital control methods, including Calculating the voltage difference, the analog-to-digital conversion module collects the bus voltage of the Boost PFC circuit and the input voltage of the Boost PFC circuit, converts the analog voltage into a digital value, and inputs the digital value into the calculation module to calculate the voltage difference between the two; Zero-crossing signal abnormality judgment: judging whether the zero-crossing signal is normal according to the calculation result in the voltage difference calculation step, and if normal, continuing to execute the normal zero-crossing signal control mode; Otherwise, execute zero-crossing signal abnormality control; Abnormal control of zero-crossing signal, stopping the normal control mode of zero-crossing signal, digital control intervention, the microcontroller controls the switch tube according to the conduction period and conduction time of the switch tube; A normal recovery control module, when detecting that the voltage difference between the bus voltage of the Boost PFC circuit and the input voltage of the Boost PFC circuit is normal, recovers the hardware control; The zero-crossing signal abnormality judgment step includes: The microcontroller determines whether the zero-crossing signal abnormality control is being executed, and if the zero-crossing signal abnormality control is being executed, a first standard judgment is performed; Otherwise, the second standard judgment is carried out; The first standard judgment includes: if the voltage difference is greater than Δv1 and the duration is greater than Δt1, it is determined that the zero-crossing signal is normal and the normal zero-crossing signal control mode is executed, otherwise the abnormal zero-crossing signal control is executed; The second standard judgment includes: if the voltage difference is less than Δv2 and the duration is less than Δt2, then the zero-crossing signal abnormal control is executed; otherwise, the zero-crossing signal is determined to be normal and the zero-crossing signal normal control mode is executed. Where Δv1>Δv2, Δt1>Δt2, The zero-crossing signal abnormality control step includes: S3-1, stop the normal control mode of hardware zero-crossing signal, S3-2, calculating the on-time Ton and the on-cycle T that the switch tube should execute; S3-3, add time margin in each conduction cycle, S3-4, storing the conduction period Tadd and the conduction time Ton after the time margin is added into the pulse module, and directly controlling the switch tube until the voltage difference between the bus voltage of the Boost PFC circuit and the input voltage of the Boost PFC circuit is normal.
2. A control method for optimizing critical PFC zero-crossing signal detection according to claim 1, characterized in that: In said S3-2, Where Po is the output power, V RMS Refers to the effective value of the input voltage.
3. A control method for optimizing critical PFC zero-crossing signal detection according to claim 1, characterized in that: In the S3-3, the time margin is gradually reduced as the number of on-cycles is executed.
4. A control method for optimizing critical PFC zero-crossing signal detection according to claim 1, characterized in that: For the first cycle in the zero-crossing signal abnormality control step, the time margin is increased by 50% of the conduction cycle; the time margin is increased by 25% of the conduction cycle for the second cycle; the time margin is increased by 12.5% of the conduction cycle for the third cycle; and the time margin increased for the third cycle and all subsequent cycles is 12.5% of the conduction cycle.
5. A control method for optimizing critical PFC zero-crossing signal detection according to claim 1, characterized in that: In S3-4, the judgment process executes the zero-crossing signal abnormality judgment step.
