A Communication Control and Automatic Voltage Regulation Method for Digital Power Supply

By combining MCU microprocessors and circuits, automatic voltage regulation and communication control of digital power supplies are achieved, solving the temperature drift problem under wide temperature variations, improving output accuracy and communication reliability, and making it suitable for military and civilian electronic systems in aviation, aerospace and other fields.

CN119853399BActive Publication Date: 2025-10-31NO 43 INST OF CHINA ELECTRONICS TECH GRP CETC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411908944.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-10-31
Estimated Expiration
2044-12-24

AI Technical Summary

Technical Problem

Traditional digital power supplies suffer from temperature drift over a wide temperature range, and their communication reliability and interface compatibility are insufficient.

Method used

The system employs an MCU microprocessor, voltage conditioning circuit, single-ended to differential circuit, voltage sampling circuit, and switching power supply module. Temperature correction is achieved through automatic voltage regulation, and multiple communication protocols are designed to enhance data transmission reliability.

Benefits of technology

It solves the temperature drift problem of digital power supplies under wide temperature variation scenarios, improves output accuracy and communication reliability, adapts to multiple communication protocols, supports multi-channel digital control output, and simplifies power supply voltage regulation operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119853399B_ABST
    Figure CN119853399B_ABST
Patent Text Reader

Abstract

This invention relates to a communication control and automatic voltage regulation method for a digital power supply. The digital power supply includes an MCU microprocessor, a voltage conditioning circuit, a single-ended to differential converter circuit, a voltage sampling circuit, and a switching power supply module. The method includes the digital power supply detecting a voltage regulation command sent by a host computer; if the communication protocol is met, the corresponding voltage regulation operation is executed. The analog voltage signal output by the MCU microprocessor after passing through the single-ended to differential converter circuit is converted into a differential output signal. The voltage sampling circuit detects the voltage and compares it with the set voltage value. After step-by-step voltage regulation, if the error range is met, voltage regulation stops, achieving the voltage value output specified by the communication protocol. This invention performs voltage input value detection and feedback adjustment before power output and executes command judgment to avoid erroneous operations, effectively reducing the command error rate, improving communication reliability, and increasing the accuracy of the output voltage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital power supply technology, and more specifically to a communication control and automatic voltage regulation method for a digital power supply. Background Technology

[0002] Digital power supplies are controlled via digital interfaces and are widely used in various military and civilian electronic systems, including aviation, aerospace, weaponry, shipbuilding, electronics, and medical applications. Compared to analog power supplies, digital power supplies offer better integration, require fewer components, have faster response times, and superior voltage regulation capabilities, making them suitable for applications requiring automatic voltage adjustment.

[0003] However, traditional digital power systems are sensitive to temperature and can experience significant temperature drift in scenarios with a wide temperature range, affecting output accuracy. At the same time, communication between digital power supplies and host computers requires higher reliability and stronger interface compatibility. Summary of the Invention

[0004] The purpose of this invention is to provide a communication control and automatic voltage regulation method for a digital power supply, which can not only solve the problem of large output temperature drift of digital power supply under wide temperature variation scenarios and realize temperature correction of digital power supply through automatic voltage regulation method; but also adapt to multiple communication protocols and enhance the reliability of data transmission by performing communication control on the digital power supply.

[0005] To achieve the above objectives, the present invention adopts the following technical solution:

[0006] A communication control and automatic voltage regulation method for a digital power supply, the digital power supply comprising: an MCU microprocessor, a voltage conditioning circuit, a single-ended to differential circuit, a voltage sampling circuit, and a switching power supply module.

[0007] The analog signal output terminal of the MCU microprocessor is connected to the input terminal of the voltage conditioning circuit. The output terminal of the voltage conditioning circuit is connected to the input terminal of the single-ended to differential converter. The output terminal of the single-ended to differential converter is connected to the input terminal of the voltage sampling circuit. The output terminal of the voltage sampling circuit is connected to the digital signal output terminal of the MCU microprocessor. The input terminal of the switching power supply module is connected to the output terminal of the single-ended to differential converter. The output terminal of the switching power supply module is connected to the input terminal of the voltage sampling circuit. The MCU microprocessor is equipped with a communication interface and a program programming interface.

[0008] The communication control and automatic voltage regulation method for the digital power supply includes the following steps:

[0009] S1. The digital power supply programs the code to the MCU microprocessor through the programming interface.

[0010] S2. The communication interface receives communication instructions from the host computer, parses the communication instructions into serial port data, and transmits the serial port data into the MCU microprocessor through the communication interface.

[0011] S3. The MCU microprocessor converts the input data into corresponding voltage regulation commands through a communication protocol, and then converts the voltage regulation commands into analog voltage input signals of the single-ended to differential circuit.

[0012] S4. The single-ended to differential circuit receives the analog voltage input signal from the MCU microprocessor and converts the analog voltage signal into a differential output signal, which is used as the voltage reference of the switching power supply module.

[0013] S5. The switching power supply module inputs a voltage signal to the voltage sampling circuit. The MCU microprocessor detects the voltage value of the switching power supply module collected by the voltage sampling circuit. The MCU microprocessor converts the voltage value of the switching power supply module into a corresponding digital value and compares the digital value with the voltage output by the protocol. Based on the comparison result, the MCU microprocessor adjusts the magnitude of the analog voltage signal output by the digital-to-analog converter unit until a voltage that meets the voltage regulation command requirements is obtained.

[0014] As a further improvement to the above technical solution, the communication interface includes any one or more combinations of UART interface, RS422 interface, I2C interface, and SPI interface.

[0015] As a further improvement to the above technical solution, in step S1, the program programming interface programs the code onto the MCU microprocessor through a program programmer.

[0016] As a further improvement to the above technical solution, in step S2, the communication interface receives communication instructions from the host computer, parses the communication instructions into serial port data, and transmits the serial port data into the MCU microprocessor through the communication interface, including:

[0017] S21. The host computer sends a voltage regulation command to the digital power supply, and the communication interface receives the communication command from the host computer; the voltage regulation command includes a digital power supply telemetry command, a digital power supply output voltage control command, a digital power supply software reset command, and a digital power supply status information reporting command.

[0018] S22. The MCU microprocessor executes the application layer communication protocol and parses the corresponding instructions according to the communication protocol, converting the communication instructions into serial port data.

[0019] S23. Use the communication interface to transmit serial port data to the MCU microprocessor.

[0020] As a further improvement to the above technical solution, in step S22, the MCU microprocessor executes the application layer communication protocol and parses the corresponding instructions according to the communication protocol, converting the communication instructions into serial port data, including the following steps:

[0021] S221. If the host computer transmits a telemetry command to the digital power supply, the digital power supply enters the working state, completes the collection and packaging of status information, and reports it according to the agreed content and sequence number.

[0022] S222. If the host computer sends a digital power supply output voltage control command to the digital power supply, the digital power supply will parse the command data and convert it into the required output voltage value, output the corresponding voltage, and send a digital power supply status information reporting command to the host computer to provide feedback on whether the voltage regulation is completed. After the overvoltage correction function is executed, the digital power supply will send a digital power supply status information reporting command to the host computer again to provide feedback on the output status after voltage regulation, thus completing the closed loop.

[0023] S223. If the host computer sends a digital power supply output voltage control command to the digital power supply, the digital power supply completes the output voltage adjustment and reports whether the output voltage adjustment was successful.

[0024] S224. If the host computer sends a digital power supply software reset command to the digital power supply, the digital power supply will perform a control software reset and restore the initial loading.

[0025] As a further improvement to the above technical solution, the corresponding output of the switching power supply module is between 11-28V, and the magnitude of the analog voltage signal output by the digital-to-analog converter unit in the MCU microprocessor is adjusted in 1V steps, with the voltage change range being 1V; the switching power supply module parses and adjusts according to the voltage adjustment command sent by the host computer.

[0026] As a further improvement to the above technical solution, if the digital power supply receives a voltage adjustment command sent by the host computer, it will parse the corresponding voltage data according to the voltage adjustment command and output the voltage according to the voltage adjustment value. The output voltage is used as the reference voltage of the switching power supply module.

[0027] The output voltage of the switching power supply module is input to the voltage sampling circuit. If the output voltage detected by the voltage sampling circuit is higher than the value required for voltage regulation, the analog output of the digital-to-analog converter unit in the output microprocessor MCU is reduced to lower the reference voltage of the switching power supply module. If the output voltage detected by the voltage sampling circuit is lower than the voltage required by the voltage regulation command, the analog output signal of the digital-to-analog converter unit in the output microprocessor MCU is increased to increase the reference voltage of the analog output power supply.

[0028] An internal reference source is used as the reference for voltage temperature correction. The curve of the internal reference source changing with temperature is fitted, the voltage value of the internal reference source is collected, converted into the corresponding temperature, and the temperature drift of the voltage is compensated to achieve temperature correction of the output analog voltage. Automatic correction is achieved for temperature changes. The internal voltage reference source of the MCU microprocessor is used as the standard. Before voltage adjustment, the ADC value of the internal reference source is measured and compared with the reference source ADC value under normal temperature conditions to correct the temperature drift of the voltage detection value under temperature changes.

[0029] According to the communication protocol, the required output voltage value is parsed out, and the analog voltage is output as the reference for the analog output power module based on the output voltage value.

[0030] As a further improvement to the above technical solution, the switching power supply module includes a voltage output interface and a voltage detection interface; the voltage detection interface is connected to the voltage sampling circuit; the voltage sampling circuit is used to detect the output voltage value and compare it with the target voltage value. If the output voltage value is less than the target voltage value, the output reference voltage value is increased until the output requirement is met; if the output voltage value is greater than the target voltage value, the output reference voltage value is decreased until the output requirement is met.

[0031] Compared with the prior art, the advantages of the present invention are:

[0032] This invention not only solves the problem of large output temperature drift in digital power supplies under wide temperature variation scenarios by achieving temperature correction through automatic voltage regulation, but also enables communication control of various digital power supplies, adapting to multiple communication protocols and enhancing data transmission reliability. This invention can simultaneously support multiple digital control outputs, enabling power supply voltage regulation controlled by host computer commands, with simple operation. By designing a communication protocol for the digital power supply and host computer, the control rules between the host computer and the digital power supply are standardized, allowing for simple and efficient control. An error-prevention mechanism is also designed to reduce command errors during communication. The automatic temperature drift correction design for temperature variation scenarios allows the digital power supply to be used in wide temperature environments, solving the problem of large output deviation with temperature in switching power supplies under high temperature differences and optimizing temperature drift performance. By setting up a single-ended differential output circuit and a voltage sampling circuit to control the output of the switching power supply, step-adjustable power output is achieved. This invention has wide applications in various military and civilian electronic systems, including aviation, aerospace, weaponry, shipbuilding, electronics, and medical fields, especially in the aviation and aerospace fields. Attached Figure Description

[0033] Figure 1 This is a typical application block diagram of the digital power supply operating circuit provided in the embodiments of the present invention;

[0034] Figure 2 This is a flowchart of the operation of a digital power supply provided in an embodiment of the present invention;

[0035] Figure 3 This is a schematic diagram of the reference source circuit for a digital power supply provided in an embodiment of the present invention;

[0036] Figure 4 This is a block diagram of the automatic voltage regulation logic of a digital power supply provided in an embodiment of the present invention;

[0037] Figure 5 This is a working logic block diagram of the communication control method for a digital power supply provided in an embodiment of the present invention. Detailed Implementation

[0038] The present invention will be further described below with reference to the accompanying drawings:

[0039] like Figure 1 The diagram shown is a typical application block diagram of a communication control and automatic voltage regulation method for a digital power supply provided by an embodiment of the present invention. The digital power supply includes: an MCU microprocessor, a voltage conditioning circuit, a single-ended to differential circuit, a voltage sampling circuit, and a switching power supply module.

[0040] As a further improvement to the above technical solution, the MCU microprocessor adopts a Loongson 1J microprocessor based on the MIPS architecture and peripheral configuration circuitry. The MCU microprocessor, using the Loongson 1J processor, communicates with the host computer via UART, SPI, and I2C protocols. An auxiliary power supply powers the digital power module, and an external crystal oscillator provides the clock signal. After receiving instructions from the host computer, it outputs an analog reference, converting the single-channel reference voltage into a differential output reference voltage, which is then input to the switching power supply module and output after voltage correction, thus realizing the function. The single-ended to differential circuit is used to control the voltage output value of the switching power supply module.

[0041] As a further improvement to the above technical solution, the digital power supply programs code into the MCU microprocessor via a programming interface. The RS422 communication module receives communication commands from the host computer, parses the commands into serial port data, inputs the data into the MCU microprocessor through the UART serial communication interface, and converts it into corresponding voltage regulation commands through the communication protocol.

[0042] As a further improvement to the above technical solution, the digital-to-analog converter unit within the microprocessor (MCU) converts the voltage regulation command into an analog voltage input signal via a single-ended to differential circuit. The single-ended to differential circuit then converts the output single-channel analog voltage signal into a differential output, which is then fed into the switching power supply module.

[0043] As a further improvement to the above technical solution, the switching power supply module inputs a voltage signal to the voltage sampling circuit, detects the voltage value of the switching power supply module, compares it with the voltage output by the protocol, and adjusts the magnitude of the analog voltage signal output by the digital-to-analog converter unit of the MCU microprocessor to meet the voltage regulation command requirements.

[0044] As a further improvement to the above technical solution, the program programming interface programs the code into the microprocessor through a program programmer. After power-on, the host computer sends instruction data through the communication interface and inputs it into the MCU serial port module. After the microprocessor parses the instruction, it outputs a voltage as a reference and inputs it into the switching power supply module. The voltage output by the switching power supply module is then re-inputted back into the digital power supply for automatic correction. The corrected voltage is then output back to the analog output power supply and outputs the corrected voltage.

[0045] As a further improvement to the above technical solution, the host computer sends a voltage regulation command to the digital power supply, and the digital power supply executes the application layer communication protocol. The voltage regulation command includes: a digital power supply telemetry command, a digital power supply output voltage control command, and a digital power supply software reset command. The execution steps of the application layer communication protocol are as follows: The host computer transmits the digital power supply telemetry command, the digital power supply enters the working state. When the host computer sends the digital power supply output voltage control command, the digital power supply parses the command data, converts it into the required output voltage value, outputs the corresponding voltage, and sends a digital power supply status information reporting command to the host computer to feedback whether the voltage regulation is complete. After executing the overvoltage correction function, it sends another digital power supply status information reporting command to the host computer to feedback the output status after voltage regulation, completing the closed loop. When the host computer sends the digital power supply software reset command, the digital power supply restores its initial power output state.

[0046] As a further improvement to the above technical solution, the digital power communication command adopts a three-modular redundancy check method. When the three checked commands are consistent, the command is considered to have been sent correctly and the corresponding operation is executed. If there is a discrepancy among the command data, the data that appears most frequently is used to form the command and the corresponding operation is executed.

[0047] As a further improvement to the above technical solution, the output voltage of the switching power supply module is between 11-28V, adjusted in 1V increments. The voltage adjustment is performed according to the voltage regulation commands sent by the host computer.

[0048] As a further improvement to the above technical solution, the automatic voltage regulation function of the digital power supply adopts a feedback regulation method. When the digital power supply receives a voltage regulation command, it parses the corresponding voltage data and outputs a voltage according to the regulated value. The output voltage serves as the reference voltage for the analog output power supply.

[0049] As a further improvement to the above technical solution, the output voltage of the analog output power module is input to a voltage sampling circuit. When the output voltage is higher than the required regulation value, the voltage sampling circuit reduces the analog output of the digital-to-analog converter unit within the output microprocessor (MCU) to lower the reference voltage of the analog output power supply. Conversely, when the output voltage is lower than the required regulation value, the voltage sampling circuit increases the analog output of the digital-to-analog converter unit within the output microprocessor (MCU) to increase the reference voltage of the analog output power supply.

[0050] As a further improvement to the above technical solution, the automatic voltage regulation function of the digital power supply uses an internal reference source as a reference for voltage temperature correction. The voltage of the chip's built-in reference source changes in a fixed manner with temperature. The curve of the internal reference source changing with temperature is fitted, the voltage value of the internal reference source is collected, converted into the corresponding temperature, and the analog voltage output is adjusted based on the corresponding temperature to compensate for voltage temperature drift. When the temperature is determined to be higher than normal temperature, the output analog voltage will be higher than the analog voltage output at normal temperature for the same digital voltage value. Therefore, the reduction in digital voltage value is calculated based on the difference, and the digital voltage value is reduced to achieve high-temperature voltage regulation. When the temperature is determined to be lower than normal temperature, the output analog voltage will be lower than the analog voltage output at normal temperature for the same digital voltage value. Therefore, the increase in digital voltage value is calculated based on the difference, and the digital voltage value is increased to achieve low-temperature voltage regulation, thereby realizing temperature correction of the output analog voltage.

[0051] As a further improvement to the above technical solution, the automatic voltage regulation function of the digital power supply needs to parse the corresponding required output voltage value according to the communication protocol, and output an analog voltage as the reference of the analog output power supply module according to the output voltage value.

[0052] As a further improvement to the above technical solution, the analog output power module includes a voltage output interface and a voltage detection interface. The voltage detection interface is connected to the output voltage detection and sampling circuit to detect the output voltage value and compare it with the target voltage value. When the output voltage value is less than the target voltage value, the output reference voltage value is increased to meet the output requirements; when the output voltage value is greater than the target voltage value, the output reference voltage value is decreased to meet the output requirements.

[0053] As a further improvement to the above technical solution, the automatic voltage regulation function of the digital power supply automatically corrects for temperature changes. It uses the internal voltage reference source of the MCU microprocessor as a standard, measures the ADC value of the internal reference source before voltage regulation, and compares it with the reference source ADC value under normal temperature conditions to correct the temperature drift of the voltage detection value under temperature changes.

[0054] As a further improvement to the above technical solution, the digital power supply also includes a digital power supply numerical control circuit, a communication control protocol, and an automatic voltage regulation method based on control commands. This method includes the digital power supply detecting voltage regulation commands sent by the host computer; if the communication protocol is satisfied, the corresponding voltage regulation operation is executed; the voltage is then input to the digital power supply numerical control circuit via a single-ended to differential circuit and a voltage divider circuit for voltage detection and comparison with the set voltage value. After step-by-step voltage regulation, if the error range is met, voltage regulation stops, achieving the voltage value output specified by the communication protocol. This invention performs voltage input value detection and feedback adjustment before power output and executes command judgment to avoid erroneous operations, effectively reducing the command error rate, improving communication reliability, and increasing the accuracy of the output voltage.

[0055] like Figure 2 The illustrated embodiment of the present invention provides a digital power supply workflow diagram. The digital power supply workflow includes the following steps:

[0056] Step 1: The digital power supply receives instructions from the host computer and parses them into corresponding operation instructions.

[0057] Step 2: The output voltage needs to be corrected based on the temperature drift, and the corresponding analog voltage is output.

[0058] Step 3: Adjust the output voltage of the switching power supply module according to the analog voltage provided by the single-ended to differential circuit.

[0059] Step 4: When the output error is within the range, the output is completed. When the output error is large, the output analog voltage of the MCU microprocessor is adjusted, and the output of the switching power supply module is controlled to meet the output conditions through the single-ended to differential circuit.

[0060] like Figure 3 The schematic diagram of the digital power supply provided in the embodiment of the present invention is shown. The voltage regulator circuit provides a stable input voltage for the digital power supply, and the single-ended to differential circuit converts the output single-ended voltage into a differential voltage, which serves as the input reference voltage reference for the switching power supply module.

[0061] like Figure 4 The illustrated embodiment of the present invention provides an automatic voltage regulation logic block diagram for a digital power supply. The automatic voltage regulation process of the digital power supply includes the following steps:

[0062] Step 1: First, measure the internal voltage reference source voltage using the internal ADC function of the digital power supply, and then adjust the output reference according to the fitted temperature drift curve.

[0063] Step 2: According to the received host computer instructions, convert the instructions into the corresponding output voltage, and use it as a reference output to the switching power supply module, so that the switching power supply module outputs the corresponding output voltage.

[0064] Step 3: Input the output voltage into the voltage sampling circuit and monitor whether the output voltage is within the error range.

[0065] Step 4: When the output voltage is within the error range, output the voltage. When the output voltage is outside the error range, adjust the voltage output until the error condition is met.

[0066] like Figure 5 The illustrated embodiment of the present invention provides a program control logic diagram for a digital power supply. The program control of the digital power supply includes the following steps:

[0067] Step 1: Configure serial port initialization, including configuring the baud rate and the corresponding crystal oscillator frequency.

[0068] Step 2: The host computer performs instruction judgment on the data. If the data packet format meets the requirements of the communication protocol, the instruction judgment stage is entered. If the data packet format does not meet the requirements, instruction data is received again.

[0069] Step 3: When the instruction is a voltage telemetry instruction, the output voltage value is measured and the input voltage value is fed back to the host computer; when the instruction is a voltage adjustment instruction, the corresponding output voltage is output in 1V steps; when the instruction is a reset instruction, the digital power supply is reset and the output is in the initial state.

[0070] In summary, this invention not only solves the problem of large output temperature drift in digital power supplies under wide temperature variation scenarios by achieving temperature correction through automatic voltage regulation, but also enables communication control of various digital power supplies, adapting to multiple communication protocols and enhancing data transmission reliability. This invention has a wide range of applications, including various military and civilian electronic systems in aviation, aerospace, weaponry, shipbuilding, electronics, and medical fields, especially in the aviation and aerospace sectors.

[0071] The above-described embodiments are merely preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Various modifications and improvements made by those skilled in the art to the technical solutions of the present invention without departing from the spirit of the present invention should fall within the protection scope defined by the claims of the present invention.

Claims

1. A communication control and automatic voltage regulation method for a digital power supply, characterized in that, The digital power supply includes: an MCU microprocessor, a single-ended to differential circuit, a voltage sampling circuit, and a switching power supply module; the MCU microprocessor is equipped with a communication interface and a program programming interface; The method includes the following steps: S1. The digital power supply programs the code to the MCU microprocessor through the programming interface; S2. The communication interface receives communication instructions from the host computer, parses the communication instructions into serial port data, and transmits the serial port data into the MCU microprocessor through the communication interface. S3. The MCU microprocessor converts the input data into corresponding voltage regulation commands through a communication protocol, and converts the voltage regulation commands into analog voltage input signals of the single-ended to differential circuit; S4. The single-ended to differential circuit receives the analog voltage input signal from the MCU microprocessor and converts the analog voltage signal into a differential output signal, which is used as the voltage reference of the switching power supply module. S5. The switching power supply module inputs a voltage signal to the voltage sampling circuit. The MCU microprocessor detects the voltage value of the switching power supply module collected by the voltage sampling circuit. The MCU microprocessor converts the voltage value of the switching power supply module into a corresponding digital value and compares the digital value with the voltage output by the protocol. Based on the comparison result, the MCU microprocessor adjusts the magnitude of the analog voltage signal output by the digital-to-analog converter unit until a voltage that meets the voltage regulation command requirements is obtained.

2. The communication control and automatic voltage regulation method for a digital power supply according to claim 1, characterized in that, The analog signal output terminal of the MCU microprocessor is connected to the input terminal of the voltage conditioning circuit. The output terminal of the voltage conditioning circuit is connected to the input terminal of the single-ended to differential circuit. The output terminal of the single-ended to differential circuit is connected to the input terminal of the voltage sampling circuit. The output terminal of the voltage sampling circuit is connected to the digital signal output terminal of the MCU microprocessor. The input terminal of the switching power supply module is connected to the output terminal of the single-ended to differential circuit. The output terminal of the switching power supply module is connected to the input terminal of the voltage sampling circuit.

3. The communication control and automatic voltage regulation method for a digital power supply according to claim 2, characterized in that, The communication interface includes any one or more combinations of UART interface, RS422 interface, I2C interface, and SPI interface.

4. The communication control and automatic voltage regulation method for a digital power supply according to claim 1, characterized in that, In step S1, the program programming interface programs the code onto the MCU microprocessor via a program programmer.

5. The communication control and automatic voltage regulation method for a digital power supply according to claim 1, characterized in that, In step S2, the communication interface receives communication instructions from the host computer, parses the communication instructions into serial port data, and transmits the serial port data to the MCU microprocessor through the communication interface, including: S21. The host computer sends a voltage regulation command to the digital power supply, and the communication interface receives the communication command from the host computer; the voltage regulation command includes a digital power supply telemetry command, a digital power supply output voltage control command, a digital power supply software reset command, and a digital power supply status information reporting command. S22. The MCU microprocessor executes the application layer communication protocol and parses the corresponding instructions according to the communication protocol, converting the communication instructions into serial port data. S23. Use the communication interface to transmit serial port data to the MCU microprocessor.

6. The communication control and automatic voltage regulation method for a digital power supply according to claim 5, characterized in that, In step S22, the MCU microprocessor executes the application layer communication protocol and parses the corresponding instructions according to the communication protocol, converting the communication instructions into serial port data, including the following steps: S221. If the host computer transmits a telemetry command to the digital power supply, the digital power supply enters the working state, completes the collection and packaging of status information, and reports it according to the agreed content and sequence number. S222. If the host computer sends a digital power supply output voltage control command to the digital power supply, the digital power supply will parse the command data and convert it into the required output voltage value, output the corresponding voltage, and send a digital power supply status information reporting command to the host computer to provide feedback on whether the voltage regulation is completed. After the overvoltage correction function is executed, the digital power supply will send a digital power supply status information reporting command to the host computer again to provide feedback on the output status after voltage regulation, thus completing the closed loop. S223. If the host computer sends a digital power supply output voltage control command to the digital power supply, the digital power supply completes the output voltage adjustment and reports whether the output voltage adjustment was successful. S224. If the host computer sends a digital power supply software reset command to the digital power supply, the digital power supply will perform a control software reset and restore the initial loading.

7. The communication control and automatic voltage regulation method for a digital power supply according to claim 6, characterized in that, The corresponding output of the switching power supply module is between 11-28V, and the analog voltage signal output by the digital-to-analog converter unit in the MCU microprocessor is adjusted in 1V increments, with the voltage change range being 1V; the switching power supply module parses and adjusts according to the voltage adjustment command sent by the host computer.

8. The communication control and automatic voltage regulation method for a digital power supply according to claim 7, characterized in that, The method also includes the following steps: If the digital power supply receives a voltage regulation command sent by the host computer, it will parse out the corresponding voltage data according to the voltage regulation command and output the voltage according to the voltage regulation value. The output voltage is used as the reference voltage of the switching power supply module. The output voltage of the switching power supply module is input to the voltage sampling circuit. If the output voltage detected by the voltage sampling circuit is higher than the value required for voltage regulation, the analog output of the digital-to-analog converter unit in the output microprocessor MCU is reduced to lower the reference voltage of the switching power supply module. If the output voltage detected by the voltage sampling circuit is lower than the voltage required by the voltage regulation command, the analog output signal of the digital-to-analog converter unit in the output microprocessor MCU is increased to increase the reference voltage of the analog output power supply. According to the communication protocol, the corresponding required output voltage value is parsed out, and an analog voltage is output as the reference of the analog output power supply module according to the output voltage value.

9. The communication control and automatic voltage regulation method for a digital power supply according to claim 8, characterized in that, The method also includes the following steps: An internal reference source is used as the reference for voltage temperature correction. The curve of the internal reference source changing with temperature is fitted, the voltage value of the internal reference source is collected, converted into the corresponding temperature, and the temperature drift of the voltage is compensated to achieve temperature correction of the output analog voltage. Automatic correction is achieved for temperature changes. The internal voltage reference source of the MCU microprocessor is used as the standard. Before voltage adjustment, the ADC value of the internal reference source is measured and compared with the reference source ADC value under normal temperature conditions to correct the temperature drift of the voltage detection value under temperature changes.

10. The communication control and automatic voltage regulation method for a digital power supply according to claim 1, characterized in that, The switching power supply module includes a voltage output interface and a voltage detection interface; the voltage detection interface is connected to the voltage sampling circuit; the voltage sampling circuit is used to detect the output voltage value and compare it with the target voltage value. If the output voltage value is less than the target voltage value, the output reference voltage value is increased until the output requirement is met. If the output voltage is greater than the target voltage, the output reference voltage is reduced until the output requirement is met.

Citation Information

Patent Citations

  • Digital adjustable bipolar high-voltage power supply

    CN102916587A

  • Temperature change simulating device and method

    CN105159349A