Programmable power supply circuit and power supply
By using controllers and op amps in program-controlled power supplies to adjust the conductivity of semiconductor switching components, the problems of low voltage regulation accuracy and poor system stability of traditional program-controlled power supplies are solved, and high-efficiency energy conversion and stable output are achieved.
Patent Information
- Application Number
- CN202421796444.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2034-07-29
AI Technical Summary
Traditional programmable power supplies are difficult to achieve extremely fine voltage regulation, and the control accuracy may decrease. In the face of rapidly changing loads, the system is poor, resulting in output fluctuations and affecting the reliability of the test results.
The controller controls the operational amplifier to monitor the actual voltage signal and compares it with the reference voltage signal. Based on the difference between the two, the operational amplifier adjusts the conductivity of the semiconductor switching elements to achieve precise control of the power supply and efficient energy conversion, while reducing output ripple and noise, improving system stability and reliability.
It realizes precise control of the power supply and efficient energy conversion, reduces output ripple and noise, and improves the stability and reliability of the overall system.
Smart Images

Figure CN222850898U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power supply control technology, and in particular to a programmable power supply circuit and a power supply. Background Art
[0002] In the field of modern electronic equipment testing, programmable power supplies, as key power supply and testing equipment, play a vital role. However, traditional programmable power supply designs face a series of technical challenges, especially in terms of performance.
[0003] Traditional programmable power supplies often have difficulty achieving extremely fine voltage regulation, especially when running for a long time, and their control accuracy may gradually decrease. Secondly, system stability is another key factor to ensure the smooth progress of the test process. During the test process, electronic equipment may suddenly change its power requirements. This sudden change in load requires the programmable power supply to respond quickly and stably to maintain the constant output voltage. However, when faced with rapidly changing loads, the control mechanism of traditional programmable power supplies may seem incapable, resulting in output fluctuations and affecting the reliability of test results. Summary of the invention
[0004] In order to solve the problems of low output voltage control accuracy and poor system stability of existing programmable power supplies, the utility model provides a programmable power supply circuit and power supply. The specific technical solutions are as follows:
[0005] The utility model provides a program-controlled power supply circuit, comprising:
[0006] A controller, used for controlling an output reference voltage signal;
[0007] An operational amplifier circuit, the operational amplifier circuit comprising an operational amplifier, a first input terminal of the operational amplifier circuit being connected to the controller;
[0008] A semiconductor switching element, wherein the output end of the operational amplifier is connected to the first electrode of the semiconductor switching element, the second electrode of the semiconductor switching element outputs an actual voltage signal, and the second electrode of the semiconductor switching element is also connected to the second input end of the operational amplifier, so that the reference voltage signal outputs a stable actual voltage signal through the operational amplifier and the semiconductor switching element.
[0009] The programmable power supply circuit provided by the utility model controls the operational amplifier through a controller to monitor the actual voltage signal and compare it with the reference voltage signal. Based on the difference between the two, the operational amplifier adjusts the conduction degree of the semiconductor switch element, thereby realizing precise control of the power supply and efficient energy conversion, while reducing output ripple and noise, and improving the stability and reliability of the overall system.
[0010] In one implementation, the operational amplifier circuit further includes:
[0011] The first resistor and the second resistor are used to set the gain of the operational amplifier circuit;
[0012] The first end of the first resistor is connected to the second input end of the operational amplifier circuit, and the second end of the first resistor is grounded;
[0013] A first end of the second resistor is connected to a second input end of the operational amplifier circuit, and a second end of the second resistor is connected to a second electrode of the semiconductor switch element.
[0014] The programmable power supply circuit provided by the utility model forms an inverting amplifier circuit and a negative feedback loop through the connection between the first resistor, the second resistor and the operational amplifier. The gain of the circuit can be set by properly selecting the resistance value, and the stability of the circuit is ensured by the negative feedback mechanism.
[0015] In one embodiment, the semiconductor switch element comprises:
[0016] NMOS tube, the first electrode of the semiconductor switch element corresponds to the gate of the NMOS tube, the second electrode of the semiconductor switch element corresponds to the source of the NMOS tube, and the third electrode of the semiconductor switch element corresponds to the drain of the NMOS tube.
[0017] In one embodiment, the programmable power supply circuit further includes:
[0018] A current collection circuit, wherein the input end of the current collection circuit is connected to the third electrode of the semiconductor switch element, and the output end of the current collection circuit is connected to the controller, and is used to collect the current passing through the semiconductor switch element.
[0019] In one implementation, the current acquisition circuit includes:
[0020] a current detection amplifier and a first filtering circuit;
[0021] The input end of the current detection amplifier is connected to the third electrode of the semiconductor switch element, and the output end of the current detection amplifier is connected to the first end of the first filter circuit;
[0022] The second end of the first filter circuit is connected to the controller.
[0023] In one embodiment, the programmable power supply circuit further includes:
[0024] A voltage collection circuit, wherein the input end of the voltage collection circuit is connected to the second electrode of the semiconductor switch element, and the output end of the voltage collection circuit is connected to the controller, and is used to collect the voltage passing through the semiconductor switch element.
[0025] In one implementation, the voltage acquisition circuit includes:
[0026] A second filter circuit and a voltage dividing resistor;
[0027] The first end of the second filtering circuit is connected to the controller;
[0028] The first end of the voltage-dividing resistor is connected to the second electrode of the semiconductor switch element, and the second end of the voltage-dividing resistor is connected to the second end of the second filter circuit.
[0029] In one embodiment, the programmable power supply circuit further includes:
[0030] Display circuit and input circuit,
[0031] The display circuit is connected to the controller and is used to send the reference voltage signal and the actual voltage signal to a display screen for display;
[0032] The input circuit is connected to the controller and is used for receiving the reference voltage signal input by an external input device.
[0033] The program-controlled power supply circuit provided by the utility model is connected to the display screen through the display circuit, realizing an intuitive user interaction interface, allowing the user to easily view the real-time status of the power supply, and connecting the buttons and knobs through the input circuit, so that the user can conveniently adjust the output parameters of the power supply, reducing the difficulty of operation and time cost. In addition, the display screen provides timely feedback, reducing the risk of misoperation caused by improper settings or parameter errors, and ensuring the smooth progress of the test or production process.
[0034] In one embodiment, the programmable power supply circuit further includes:
[0035] A communication circuit, wherein the controller performs bidirectional communication with a host computer according to the communication circuit.
[0036] The programmable power supply circuit provided by the utility model realizes remote communication between the host computer and the programmable power supply through the integrated communication circuit. The user can remotely control and finely manage the power supply through the host computer, which significantly enhances the flexibility of operation and the degree of automation of testing.
[0037] In some implementations, the utility model further provides a power supply, including the above-mentioned programmable power supply circuit.
[0038] The utility model provides a program-controlled power supply circuit, which has at least one of the following technical effects:
[0039] 1. The controller controls the operational amplifier to monitor the actual voltage signal and compare it with the reference voltage signal. Based on the difference between the two, the operational amplifier adjusts the conduction degree of the semiconductor switch element, achieving precise control of the power supply and efficient energy conversion, while reducing output ripple and noise, and improving the stability and reliability of the overall system.
[0040] 2. By connecting the first resistor, the second resistor and the operational amplifier, an inverting amplifier circuit is formed, and a negative feedback loop is formed. By properly selecting the resistance value, the gain of the circuit can be set, and the stability of the circuit can be ensured by the negative feedback mechanism.
[0041] 3. By connecting the display screen through the display circuit, an intuitive user interaction interface is realized, allowing users to easily view the real-time status of the power supply. By connecting the buttons and knobs through the input circuit, users can easily adjust the output parameters of the power supply, reducing the difficulty and time cost of operation. In addition, the display screen provides timely feedback, reducing the risk of misoperation caused by improper settings or wrong parameters, and ensuring the smooth progress of the test or production process.
[0042] 4. Through the integrated communication circuit, remote communication between the host computer and the programmable power supply is realized. The user can remotely control and finely manage the power supply through the host computer, which significantly enhances the flexibility of operation and the degree of automation of testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0044] Figure 1 This is an application block diagram of a program-controlled power supply circuit of the utility model;
[0045] Figure 2 This is a basic implementation block diagram of a program-controlled power supply circuit of the utility model;
[0046] Figure 3 A circuit diagram of a controller of a program-controlled power supply circuit of the utility model;
[0047] Figure 4 This is a circuit structure diagram of a power output circuit of a program-controlled power circuit of the utility model;
[0048] Figure 5This is a circuit structure diagram of a power input circuit of a program-controlled power circuit of the utility model;
[0049] Figure 6 This is a circuit structure diagram of a current acquisition circuit of a program-controlled power supply circuit of the utility model;
[0050] Figure 7 This is a circuit structure diagram of a voltage acquisition circuit of a program-controlled power supply circuit of the utility model;
[0051] Figure 8 This is a circuit structure diagram of a display circuit of a program-controlled power supply circuit of the utility model;
[0052] Fig. 9 This is a circuit structure diagram of an input circuit of a program-controlled power supply circuit of the utility model;
[0053] Fig.10 The utility model is a circuit structure diagram of a communication circuit of a program-controlled power supply circuit.
[0054] Reference numerals: controller-100, operational amplifier circuit-200, semiconductor switch element-300, current acquisition circuit-400 and voltage acquisition circuit-500. DETAILED DESCRIPTION
[0055] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0056] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections.
[0057] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0058] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0059] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0060] An embodiment of the utility model, as Figure 1 and Figure 2 As shown, the utility model provides a program-controlled power supply circuit, including a controller 100 , an operational amplifier circuit 200 and a semiconductor switch element 300 .
[0061] The controller 100 is used to control the output of a reference voltage signal.
[0062] The operational amplifier circuit 200 includes an operational amplifier, and a first input terminal of the operational amplifier is connected to the controller 100 .
[0063] The output end of the operational amplifier is connected to the first electrode of the semiconductor switch element 300, the second electrode of the semiconductor switch element 300 outputs an actual voltage signal, and the second electrode of the semiconductor switch element 300 is also connected to the second input end of the operational amplifier, so that the reference voltage signal outputs a stable actual voltage signal through the operational amplifier and the semiconductor switch element 300.
[0064] Specifically, Figure 1 and Figure 2 As shown, the controller 100 in this embodiment specifically corresponds to the MCU chip; the first input terminal of the operational amplifier corresponds to the non-inverting input terminal, and the second input terminal of the operational amplifier corresponds to the inverting input terminal; the semiconductor switch element 300 specifically corresponds to the NMOS tube, the first electrode of the semiconductor switch element 300 corresponds to the gate of the NMOS tube, the second electrode of the semiconductor switch element 300 corresponds to the source of the NMOS tube, and the third electrode of the semiconductor switch element 300 corresponds to the drain of the NMOS tube.
[0065] Further, such as Figure 4 and Figure 5 As shown, the gate of the NMOS tube is connected to the output terminal of the operational amplifier. The Zener diode BZT52B5V1 is used to limit the output voltage of the NMOS to prevent the input voltage and output voltage difference of the low-dropout voltage regulator LD1117AG-50-AA3-AR from being too high and burning. The source of the NMOS tube supplies power to the controller 100 through the capacitor C2 and the low-dropout voltage regulator LD1117AG-50-AA3-AR. The drain of the NMOS tube is connected to the current collection circuit 400.
[0066] Further, in this embodiment, according to the voltage value set by the user, a corresponding reference voltage signal is output, and the reference voltage signal will be sent to a digital-to-analog converter, wherein the digital-to-analog converter can be integrated in the MCU chip or can be an independent external component. The digital simulator converts the reference voltage signal from a digital signal to an analog voltage signal, and the analog voltage signal represents the voltage value that the MCU chip wants to output. At this time, the converted reference voltage signal is sent to the positive input terminal of the operational amplifier, and the operational amplifier acts as a comparator and amplifier here, and the inverting input terminal of the operational amplifier receives the actual voltage signal fed back from the output terminal. The operational amplifier compares the reference voltage signal with the actual voltage signal to generate an error signal, which reflects the difference between the reference voltage signal and the actual voltage signal. The error signal is used to control the conduction degree of the semiconductor switch element 300. The semiconductor switch element 300 acts as a switch for the power output, and adjusts its conduction degree according to the size of the error signal, thereby changing the height of the actual voltage signal to achieve the purpose of matching with the reference voltage signal. At the same time, a part of the actual voltage signal is fed back to the negative input terminal of the operational amplifier, forming a closed-loop control system. This feedback loop ensures the stability of the actual voltage signal. Even in the case of load changes or power supply fluctuations, the actual voltage signal can be kept close to the reference voltage signal through dynamic adjustment of the operational amplifier and semiconductor switching elements.
[0067] The programmable power supply circuit and power supply provided by the utility model ensure that the actual voltage signal can quickly respond to the change of the reference voltage signal and remain stable as much as possible through the coordinated work of the MCU chip, operational amplifier and NMOS tube, thereby achieving accurate control and stabilization of the actual voltage signal.
[0068] In another embodiment of the present invention, on the basis of any of the above embodiments, the semiconductor switch element 300 is composed of other switch elements, and can also achieve voltage conversion or voltage stabilization effect by controlling the on and off of the current in the circuit. For example, PMOS tube, BJT, IGBT, etc., are not limited in the present invention. Of course, using other types of semiconductor switch elements as an alternative to the present invention should also be within the scope of protection of this application.
[0069] Another embodiment of a programmable circuit and a power supply of the utility model, based on any one of the above embodiments, the number of operational amplifiers in the operational amplifier circuit can be multiple, and the utility model does not limit the model and number of operational amplifiers.
[0070] In one embodiment, Figure 2 and Figure 4As shown, the utility model provides a programmable power supply circuit and a power supply, and the operational amplifier also includes a first resistor R1 and a second resistor R2.
[0071] The first resistor R1 and the second resistor R2 are used to set the gain of the operational amplifier.
[0072] The first end of the first resistor R1 is connected to the second input end of the operational amplifier, the second end of the first resistor R1 is grounded, the first end of the second resistor R2 is connected to the second input end of the operational amplifier, and the second end of the second resistor R2 is connected to the second electrode of the semiconductor switch element 300 .
[0073] Specifically, the first end of the first resistor R1 is connected to the inverting input terminal of the operational amplifier, the second end of the first resistor R1 is grounded, the first end of the second resistor R2 is connected to the inverting input terminal of the operational amplifier, the second end of the second resistor R2 is connected to the source of the NMOS tube, the first end of the third resistor R5 is connected to the controller 100 and the non-inverting input terminal of the operational amplifier, the second end of the third resistor R5 is grounded, the non-inverting input terminal of the operational amplifier is grounded through the first end of the fourth resistor R6, and is also connected to the output terminal of the operational amplifier through the second end of the fourth resistor R6, and the inverting input terminal of the operational amplifier is also connected to VDC and ground through a capacitor C5.
[0074] Among them, the first resistor R1 and the second resistor R2 are the amplification resistors of the operational amplifier, which can be changed according to actual requirements. By adjusting the values of R1 and R2, the closed-loop amplification factor can be set, thereby controlling the range and accuracy of the output voltage. The third resistor R5 is a pull-down resistor, which pulls down the positive input terminal of the operational amplifier to 0V during the power-on period of the device to prevent the positive input terminal of the operational amplifier from being in a floating state during the power-on period. The connection between the fourth resistor R6 and the operational amplifier constitutes a special circuit called a voltage follower or buffer, which is used to convert a high-impedance signal source into a low-impedance output to protect the signal source from the influence of the load. Capacitor C5 allows AC signals to pass while blocking DC signals. It is used to stabilize the DC bias point of the inverting input terminal and is also used to reduce the influence of high-frequency noise on the operational amplifier.
[0075] With the collaborative cooperation between the operational amplifier, resistors and capacitors, the operational amplifier circuit achieves precise control and stabilization of the power supply output voltage through its feedback mechanism and high gain characteristics, achieving high precision and high stability of the output voltage.
[0076] In one embodiment, Figure 6 As shown, the utility model provides a programmable power supply circuit, which also includes a current acquisition circuit 400.
[0077] The input end of the current collection circuit 400 is connected to the third electrode of the semiconductor switch element 300 , and the output end of the current collection circuit 400 is connected to the controller for collecting the current passing through the semiconductor switch element 300 .
[0078] Furthermore, the current acquisition circuit 400 includes: a current detection amplifier and a first filter circuit.
[0079] The input end of the current detection amplifier is connected to the third electrode of the semiconductor switch element 300 , the output end of the current detection amplifier is connected to the first end of the first filter circuit, and the second end of the first filter circuit is connected to the controller.
[0080] Specifically, the RS+ pin and RS- pin of the current detection amplifier MAX9938WEUK+T are connected to both ends of the sampling resistor R4, the current detection amplifier output pin OUT is connected to the first filter circuit, the first filter circuit includes a resistor R9 and a filter capacitor C12, and the output end of the first filter circuit is connected to the controller.
[0081] The current enters the drain of the NMOS tube through the current sampling resistor R4 and is given to the current collection circuit 400, and then amplified by the current detection amplifier MAX9938WEUK+T. At this time, the voltage drop generated by the current sampling resistor R4 is used to measure the current. The circuit composed of resistor R9 and capacitor C12 can be regarded as a low-pass filter, which is used to filter out the high-frequency components in the output signal of the current detection amplifier, so that the output signal is more stable. The filter capacitor C12 can filter out the capacitor noise and ensure the stable operation of the current detection amplifier. Finally, the output voltage signal is transmitted to the controller 100 through the IOUT port for processing and analysis. The controller 100 monitors the leakage current of the NMOS tube by reading the voltage signal of the IOUT port, thereby realizing the protection and control of the MOS tube and the load.
[0082] Through the current detection amplifier, the current sampling resistor R4, and the filter circuit composed of the resistor R9 and the capacitor C12, the current acquisition circuit realizes high-precision and real-time monitoring of the current and transmits the monitored current information to the MCU.
[0083] In one embodiment, Figure 7 As shown, the utility model provides a programmable power supply circuit, which also includes a voltage acquisition circuit 500.
[0084] The input end of the voltage collection circuit 500 is connected to the second electrode of the semiconductor switch element 300 , and the output end of the voltage collection circuit 500 is connected to the controller 100 for collecting the voltage passing through the semiconductor switch element 300 .
[0085] Furthermore, the voltage collection circuit 500 includes: a second filter circuit and a voltage dividing resistor.
[0086] The first end of the second filter circuit is connected to the controller, the first end of the voltage-dividing resistor is connected to the second electrode of the semiconductor switch element, and the second end of the voltage-dividing resistor is connected to the second end of the second filter circuit.
[0087] Specifically, the voltage-dividing resistor R7 and the resistor R11 form a voltage-dividing resistor network, and the capacitor C13 and the resistor R11 form a second filtering circuit. The voltage acquisition circuit 500 adjusts the actual voltage signal to a range that the MCU chip can receive through the voltage-dividing resistor network, removes noise through the second filtering circuit, and inputs the processed actual voltage signal into the controller for conversion from analog signal to digital signal. The MCU chip monitors the circuit state by reading the voltage value of the source of the NMOS tube, thereby ensuring the accuracy and reliability of the voltage measurement.
[0088] The voltage acquisition circuit realizes real-time monitoring and control of voltage through the coordinated work of the voltage-dividing resistor network and capacitor, effectively protecting the circuit from overvoltage or undervoltage damage.
[0089] In one embodiment, the utility model provides a programmable power supply circuit, which also includes a display circuit and an input circuit.
[0090] The display circuit is connected to the controller 100 and is used to send the reference voltage signal and the actual voltage signal to the display screen for display;
[0091] The input circuit is connected to the controller 100 and is used to receive a reference voltage signal input from an external input device.
[0092] Specifically, Figure 3 and Figure 8 As shown, the display screen U2 includes 7 pins. The GND pin of the display screen U2 is grounded to power the display screen. The capacitor C9 is connected between the VCC pin of the display screen U2 and the ground for VCC decoupling. The capacitor C10 is connected between 3V3 and the ground for 3V3 decoupling. The D0 pin of the display screen U2 is connected to the PB13 pin of the controller 100 through the resistor R8, which is used for the MCU chip to provide a clock signal to the display screen U2. The display screen U2 operates synchronously according to this clock signal. The D1 pin of the display screen U2 is connected to the WKUP5-PB15 pin of the MCU chip through the resistor R10, which is used for the MCU chip to send commands and data to the display screen U2. The RES# pin of the display screen U2 is connected to the PA8 pin of the MCU chip 0 to reset the display screen and ensure that the display screen is in the initial state. The D / C# pin of the display screen U2 is connected to the PB14 pin of the MCU chip to distinguish whether the communication between the controller and the display screen U2 is a command or data. The CS# pin of the display screen U2 is connected to the PB12 pin of the MCU chip to select the display screen U2 as the current communication target.
[0093] Furthermore, the display screen U2 communicates with the MCU chip through the SPI interface. The MCU chip selects the display screen U2 as the communication object, and then performs a reset operation on the display screen U2. Then the MCU chip sends the reference voltage signal and the actual voltage signal to the display screen U2. The display screen U2 displays the received reference voltage signal and the actual voltage signal on the screen.
[0094] By connecting the MCU chip and the display screen through the display circuit, an intuitive user interface is provided for the programmable power supply, allowing users to view and control the status of the circuit in real time. Information display and human-computer interaction are realized, achieving enhanced user experience and circuit monitoring effects.
[0095] In another embodiment of the present invention, based on any of the above embodiments, the display screen and the MCU chip can exchange data through other communication protocols to achieve information display and human-computer interaction effects, such as I2C, UART, etc., which are not limited in the present invention.
[0096] Specifically, Figure 3 He Ru Fig. 9 As shown, the input circuit includes a knob circuit and a key circuit.
[0097] The key circuit includes a first key circuit, a second key circuit, and a third key circuit. One end of the first key circuit is connected to the PH1-OSC_OUT pin of the MCU chip through the KEY2 pin, and the other end is grounded through a key SW1 and a pull-up resistor R21. One end of the second key circuit is connected to the PH1-OSC_IN pin of the controller through KEY3, and the other end is grounded through a key SW3 and a pull-up resistor R23. One end of the third key circuit is connected to the PC15-OSC32_O pin of the MCU chip through KEY4, and the other end is grounded through a key SW4 and a pull-up resistor R24.
[0098] The knob circuit includes a button switch SW2, two resistors R18 and R19 are connected in parallel between the A and B pins of the button switch SW2, and the other end of the parallel resistor is connected to 3V3. A resistor R22 is connected between the D pin of the button switch SW2 and 3V3 for current limiting and circuit protection. One end of the resistor R22 is connected to a low-pass filter composed of a resistor R20 and a capacitor C22 for reducing noise in the signal. The C, E, 6, and 7 pins of the button switch SW2 are all grounded.
[0099] By integrating buttons and knobs in the programmable power circuit and power supply, a physical interface for users to interact with the programmable power circuit and power supply is provided, allowing users to interact with the programmable power circuit and power supply intuitively, achieve precise control of the parameters of the programmable power circuit and power supply, improve the operability of the programmable power circuit and power supply and user satisfaction, while simplifying the adjustment process of complex settings, and enhancing the flexibility and practicality of the programmable power circuit and power supply.
[0100] In one embodiment, Figure 3 and Fig.10 As shown, the programmable power supply circuit provided by the utility model further includes a communication circuit, and the controller 100 performs two-way communication with the host computer according to the communication circuit.
[0101] Specifically, the MCU chip communicates with the host computer through a communication circuit, and the communication methods include USB communication and UART communication. This embodiment mainly describes USB communication. The USB_DM-PA11 pin of the MCU chip is connected to the DN1 pin and DN2 pin of USB1 through a resistor R13, and the USB_DP-PA12 pin of the MCU chip is connected to the DP1 pin and DP2 pin of USB1 through a resistor R15.
[0102] Through communication with the host computer, the programmable power circuit and power supply have achieved significant functional upgrades and convenient operation. Specifically, the host computer can send precise control commands to fine-tune the output parameters of the programmable power circuit and power supply, such as voltage and current, to meet the high-precision requirements under complex applications; at the same time, the real-time monitoring capability is enhanced, and the host computer continuously collects and analyzes the operating data of the programmable power circuit and power supply, such as voltage fluctuations, current changes, temperature conditions, etc., and presents them through an intuitive graphical interface, which is convenient for users to grasp the system status in real time and promptly discover and prevent potential faults; in addition, the automation level is greatly improved, and the host computer can automatically adjust the power supply parameters according to preset rules or real-time data to achieve intelligent control, and support remote operation at the same time. Users can control the power switch and adjust the settings through the network anytime and anywhere, which greatly facilitates system management and maintenance work and ensures the high efficiency, high reliability and user-friendliness of the power supply system.
[0103] In another embodiment of the present invention, based on any of the above embodiments, the communication circuit can enable the host computer to communicate with the MCU chip through other communication methods to achieve the effect of remote control, such as SOL, VCP, etc., which are not limited in the present invention.
[0104] In one embodiment, according to another aspect of the present invention, the present invention further provides a power supply, comprising the programmable power supply circuit provided in the above embodiment.
[0105] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0106] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed with hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0107] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0108] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0109] It should be noted that the above embodiments can be freely combined as needed. The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention.
Claims
1. A program-controlled power supply circuit, characterized in that: include: A controller, used for controlling an output reference voltage signal; An operational amplifier circuit, the operational amplifier circuit comprising an operational amplifier, a first input terminal of the operational amplifier being connected to the controller; A semiconductor switching element, wherein the output end of the operational amplifier is connected to the first electrode of the semiconductor switching element, the second electrode of the semiconductor switching element outputs an actual voltage signal, and the second electrode of the semiconductor switching element is also connected to the second input end of the operational amplifier, so that the reference voltage signal outputs a stable actual voltage signal through the operational amplifier and the semiconductor switching element.
2. The programmable power supply circuit according to claim 1, characterized in that: The operational amplifier circuit further includes: A first resistor and a second resistor, used to set the gain of the operational amplifier; The first end of the first resistor is connected to the second input end of the operational amplifier, and the second end of the first resistor is grounded; A first end of the second resistor is connected to the second input end of the operational amplifier, and a second end of the second resistor is connected to the second electrode of the semiconductor switch element.
3. The programmable power supply circuit according to claim 1, characterized in that: The semiconductor switch element comprises: NMOS tube, the first electrode of the semiconductor switch element corresponds to the gate of the NMOS tube, the second electrode of the semiconductor switch element corresponds to the source of the NMOS tube, and the third electrode of the semiconductor switch element corresponds to the drain of the NMOS tube.
4. The programmable power supply circuit according to claim 1, characterized in that: The program-controlled power supply circuit also includes: A current collection circuit, wherein the input end of the current collection circuit is connected to the third electrode of the semiconductor switch element, and the output end of the current collection circuit is connected to the controller, and is used to collect the current passing through the semiconductor switch element.
5. The programmable power supply circuit according to claim 4, characterized in that: The current collection circuit comprises: a current detection amplifier and a first filtering circuit; The input end of the current detection amplifier is connected to the third electrode of the semiconductor switch element, and the output end of the current detection amplifier is connected to the first end of the first filter circuit; The second end of the first filter circuit is connected to the controller.
6. The programmable power supply circuit according to claim 1, characterized in that: The program-controlled power supply circuit also includes: A voltage collection circuit, wherein the input end of the voltage collection circuit is connected to the second electrode of the semiconductor switch element, and the output end of the voltage collection circuit is connected to the controller, and is used to collect the voltage passing through the semiconductor switch element.
7. The program-controlled power supply circuit according to claim 6, characterized in that: The voltage acquisition circuit comprises: A second filter circuit and a voltage dividing resistor; The first end of the second filtering circuit is connected to the controller; The first end of the voltage-dividing resistor is connected to the second electrode of the semiconductor switch element, and the second end of the voltage-dividing resistor is connected to the second end of the second filter circuit.
8. The program-controlled power supply circuit according to any one of claims 1 to 7, characterized in that: The program-controlled power supply circuit also includes: Display circuit and input circuit; The display circuit is connected to the controller and is used to send the reference voltage signal and the actual voltage signal to a display screen for display; The input circuit is connected to the controller and is used for receiving the reference voltage signal input by an external input device.
9. The program-controlled power supply circuit according to claim 8, characterized in that: The program-controlled power supply circuit also includes: A communication circuit, wherein the controller performs bidirectional communication with a host computer according to the communication circuit.
10. A power supply, characterized in that: A programmable power supply circuit comprising any one of claims 1 to 9.