PID regulation direct current power supply controlled by FPGA
By using FPGA and PID control unit in the DC power supply to accurately adjust the DPWM control unit, the problems of DC power supply output accuracy and rapid response in the existing technology are solved, and stable control and output accuracy of high-frequency switching tubes are achieved. .
Patent Information
- Application Number
- CN202420070881.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-11
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2034-01-11
AI Technical Summary
Existing DC power supplies have deficiencies in output accuracy and fast response. In particular, the switching speed needs to be controlled at a higher operating frequency, which makes it difficult to meet the needs of practical applications.
FPGA is used as the main control unit, combined with the PID control unit to accurately control and adjust the DPWM control unit, improve the operating frequency of the switching tube through fast calculation and response, and ensure the accuracy and robustness of the DC power output.
It achieves fast calculation and response, improves the operating frequency of the switching tube, and ensures the accuracy and robustness of the DC power output through PID control.
Smart Images

Figure CN221633621U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of power electronics, in particular to a PID-regulated direct current power supply controlled by FPGA. Background Art
[0002] As a widely used converter, DC power supply converts AC mains into stable DC power supply. For actual application scenarios, its output needs to be accurate and have a certain degree of robustness. Existing DC power supplies include switching power supplies and analog power supplies, and switching power supplies are increasingly widely used. Switching power supplies control their output by turning their switching devices on and off. For the requirements of output accuracy and rapid response, their switching speed needs to operate at a higher operating frequency. Utility Model Content
[0003] In order to meet the above needs, the utility model aims to provide a PID-regulated DC power supply controlled by FPGA, which uses FPGA as the main control, can achieve fast calculation and fast response, and is conducive to improving the operating frequency of the switch tube. At the same time, the PID control unit is used to accurately control and regulate the DPWM control unit, which can ensure the accuracy and robustness of the DC power supply output.
[0004] In order to achieve the above purpose, the utility model is implemented by adopting the following technical solutions:
[0005] The FPGA-controlled PID-regulated DC power supply disclosed in the utility model comprises a main circuit and a control circuit, wherein the main circuit comprises:
[0006] A primary rectification / filtering unit, used for converting the input alternating current into a first direct current voltage;
[0007] An inverter unit, used for converting the first DC voltage into a high-frequency pulse voltage;
[0008] A secondary rectification / filtering unit, used for converting the high-frequency pulse voltage into a second DC voltage, where the second DC voltage is the output voltage of the DC power supply;
[0009] The control circuit comprises:
[0010] A sampling unit, used for sampling a second DC voltage parameter;
[0011] A / D conversion unit, used for converting the analog quantity output by the sampling unit into a digital quantity;
[0012] FPGA, used for receiving and processing the digital quantity and transmitting the processing result;
[0013] A PID control unit, used to receive the processing result and use the processing result as a control parameter to perform PID calculation;
[0014] The DPWM control unit is used to receive the PID operation result of the PID control unit, and use the PID operation result to control the on and off of the switch tube of the inverter unit.
[0015] Furthermore, the utility model also includes a control panel, which includes a key switch and / or an adjustment switch, and the key switch and / or the adjustment switch are connected to the FPGA.
[0016] Furthermore, the utility model also includes a display unit, and the display unit is connected to the FPGA.
[0017] Preferably, the sampling unit includes a voltage sampling circuit and / or a current sampling circuit.
[0018] Preferably, the inverter unit includes an inverter full bridge, and the switch tube of the inverter full bridge is an IGBT.
[0019] Preferably, the primary rectification / filtering unit includes a primary rectification bridge, which is a three-phase bridge or a single-phase bridge; the secondary rectification / filtering unit includes a secondary rectification bridge, which is a single-phase bridge.
[0020] The working principle of the utility model is as follows:
[0021] The three-phase or single-phase AC mains electricity is connected to the primary rectification / filtering unit through a three-phase or single-phase transformer or directly, and is transformed into a second DC voltage after rectification and filtering, and then inverted and outputted as the second DC voltage through an inverter unit and a secondary rectification / filtering unit. The magnitude of the second DC voltage is determined by the duty cycle of the switch tube of the inverter full bridge digitally controlled by the DPWM control unit, and the FPGA accurately controls and adjusts the DPWM control unit through the PID control unit through the predetermined control parameters or the actual second DC voltage parameters sampled by the sampling unit, so as to ensure the stability of the second DC voltage output.
[0022] Beneficial effects of the utility model:
[0023] 1. The utility model adopts FPGA as the main control, which can achieve fast calculation and fast response, and is conducive to improving the operating frequency of the switch tube.
[0024] 2. The utility model adopts a PID control unit to accurately control and adjust the DPWM control unit, which can ensure the accuracy and robustness of the DC power supply output. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 This is the electrical principle block diagram of the utility model. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings.
[0027] like Figure 1 As shown, the utility model discloses a PID-regulated DC power supply controlled by FPGA, including a main circuit and a control circuit, wherein the main circuit includes:
[0028] The primary rectifying / filtering unit is used to convert the input alternating current into a first direct current voltage.
[0029] The inverter unit is used to convert the first DC voltage into a high-frequency pulse voltage.
[0030] The secondary rectification / filtering unit is used to transform the high-frequency pulse voltage into a second DC voltage, where the second DC voltage is the output voltage of the DC power supply.
[0031] Wherein: the inverter unit includes an inverter full bridge, and the switch tube of the inverter full bridge is an IGBT, which can also be a MOS tube or other switch devices.
[0032] The primary rectification / filtering unit includes a primary rectification bridge, which is a three-phase bridge or a single-phase bridge, and is used for three-phase AC input or single-phase AC input respectively; the secondary rectification / filtering unit includes a secondary rectification bridge, which is a single-phase bridge.
[0033] The control circuit includes FPGA, PID control unit, DPWM control unit, among which:
[0034] The FPGA is used to receive the actual output value sampled by the sampling unit and process it, and transmit the processing result to the PID control unit. The PID control unit is used to receive the above processing result and use the above processing result as a control parameter to perform PID operation and transmit the operation result to the DPWM control unit. The DPWM control unit is used to receive the PID operation result of the PID control unit and use the above PID operation result to control the conduction and cutoff of the switch tube of the inverter unit.
[0035] The control panel includes a key switch and / or an adjustment switch for manual control of the DC power supply, including on / off and adjustment of output quantity and output size.
[0036] The display unit is used to display the predetermined working parameters and actual working parameters of the DC power supply, including output voltage and output current.
[0037] The sampling unit is used to sample the second DC voltage parameter; the sampling unit includes a voltage sampling circuit and / or a current sampling circuit. For a flat characteristic power supply, the output voltage of the power supply is mainly sampled by the voltage sampling circuit, and the PID control unit is controlled and adjusted after being fed back to the FPGA for processing, thereby controlling and stabilizing the output voltage. For a falling characteristic power supply, the output current of the power supply is mainly sampled by the current sampling circuit, and the PID control unit is controlled and adjusted after being fed back to the FPGA for processing, thereby controlling and stabilizing the output current.
[0038] Of course, the present invention may have many other embodiments. Without departing from the spirit and essence of the present invention, technicians familiar with the field may make various corresponding changes and deformations based on the present invention, but these corresponding changes and deformations should all fall within the scope of protection of the claims attached to the present invention.
Claims
1. FPGA controlled PID regulated DC power supply, characterized by: It includes a main circuit and a control circuit, and the main circuit includes: A primary rectification / filtering unit, used for converting the input alternating current into a first direct current voltage; An inverter unit, used for converting the first DC voltage into a high-frequency pulse voltage; A secondary rectification / filtering unit, used for converting the high-frequency pulse voltage into a second DC voltage, where the second DC voltage is the output voltage of the DC power supply; The control circuit comprises: A sampling unit, used for sampling a second DC voltage parameter; A / D conversion unit, used for converting the analog quantity output by the sampling unit into a digital quantity; FPGA, used for receiving and processing the digital quantity and transmitting the processing result; A PID control unit, used to receive the processing result and use the processing result as a control parameter to perform PID calculation; The DPWM control unit is used to receive the PID operation result of the PID control unit, and use the PID operation result to control the on and off of the switch tube of the inverter unit.
2. The PID-regulated DC power supply controlled by FPGA according to claim 1, characterized in that: It also includes a control panel, which includes a key switch and / or an adjustment switch, and the key switch and / or the adjustment switch are connected to the FPGA.
3. The FPGA-controlled PID-regulated DC power supply according to claim 1 or 2, characterized in that: The device also includes a display unit connected to the FPGA.
4. The FPGA-controlled PID-regulated DC power supply according to claim 3, characterized in that: The sampling unit includes a voltage sampling circuit and / or a current sampling circuit.
5. The FPGA-controlled PID-regulated DC power supply according to claim 3, characterized in that: The inverter unit includes an inverter full bridge, and the switch tube of the inverter full bridge is an IGBT.
6. The FPGA-controlled PID-regulated DC power supply according to claim 3, characterized in that: The primary rectification / filtering unit includes a primary rectification bridge, which is a three-phase bridge or a single-phase bridge; the secondary rectification / filtering unit includes a secondary rectification bridge, which is a single-phase bridge.
