Communication control and automatic voltage regulation method of digital power supply
By using automatic voltage regulation and communication control methods of combining MCU microprocessors and related circuits in digital power supplies, the problem of temperature drift and communication reliability of digital power supplies under wide temperature changes is solved, and the temperature correction and adaptability of multiple communication protocols is achieved, and it is suitable for a variety of electronic systems, especially in the aerospace and aerospace fields.
Patent Information
- Application Number
- CN202411908944.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2044-12-24
AI Technical Summary
Digital power supply has a large output temperature drift in wide temperature variation scenarios, and traditional digital power supply systems have great challenges in temperature sensitivity, which affects output accuracy, and at the same time, communication reliability and interface adaptability are insufficient.
The combination of MCU microprocessor, voltage conditioning circuit, single-ended differential circuit, voltage sampling circuit and switching power supply module is adopted to achieve temperature correction through automatic voltage regulation method, and to adapt to multiple communication protocols through communication control to enhance the reliability of data transmission.
It effectively solves the temperature drift problem of digital power supply in wide temperature changes scenarios, realizes temperature correction, improves communication reliability and adaptability to data transmission, and is suitable for a variety of military and civilian electronic systems, especially in the fields of aviation and aerospace.
Smart Images

Figure CN119853399A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital power supplies, and in particular to a communication control and automatic voltage regulation method for a digital power supply. Background Art
[0002] Digital power is a power supply controlled by a digital interface, and is widely used in various military and civilian electronic systems such as aviation, aerospace, weapons, ships, electronics, and medical treatment. Compared with analog power supplies, digital power supplies have better integration, require fewer components, have faster response speeds, and have better voltage adjustment capabilities, making them suitable for application scenarios that require automatic voltage regulation.
[0003] However, traditional digital power systems are sensitive to temperature. In scenarios with a wide temperature range, there will be large temperature drifts, affecting output accuracy. At the same time, communication between digital power supplies and host computers requires higher reliability and stronger interface adaptability. Summary of the invention
[0004] The purpose of the present 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 the digital power supply under wide temperature change scenarios, but also realize temperature correction of the digital power supply through the automatic voltage regulation method; it can also adapt to various communication protocols and enhance the reliability of data transmission by performing communication control on the digital power supply.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[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 end of the MCU microprocessor is connected to the input end of the voltage conditioning circuit, the output end of the voltage conditioning circuit is connected to the input end of the single-ended to differential circuit, the output end of the single-ended to differential circuit is connected to the input end of the voltage sampling circuit, and the output end of the voltage sampling circuit is connected to the digital signal output end of the MCU microprocessor; the input end of the switching power supply module is connected to the output end of the single-ended to differential circuit, and the output end of the switching power supply module is connected to the input end of the voltage sampling circuit. The MCU microprocessor is provided with a communication interface and a program burning interface.
[0008] The communication control and automatic voltage regulation method of the digital power supply comprises the following steps:
[0009] S1, the digital power supply burns the code into the MCU microprocessor through the program burning interface.
[0010] S2. The communication interface receives the communication command of the host computer, parses the communication command into serial port data, and transmits the serial port data to the MCU microprocessor through the communication interface.
[0011] S3. The MCU microprocessor converts the input data into corresponding voltage regulation instructions through the communication protocol, and converts the voltage regulation instructions 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 of the MCU microprocessor and converts the analog voltage signal into a differential output signal for use as a voltage reference for the switching power supply module.
[0013] S5. The switching power supply module inputs the voltage signal to the voltage sampling circuit, and 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 quantity, and compares the digital quantity with the voltage output by the protocol, and adjusts the size of the analog voltage signal output by the digital-to-analog conversion unit in the MCU microprocessor according to the comparison result until a voltage that meets the requirements of the voltage regulation instruction is obtained.
[0014] As a further improvement of the above technical solution, the communication interface includes any one or more combinations of a UART interface, an RS422 interface, an I2C interface, and an SPI interface.
[0015] As a further improvement of the above technical solution, in step S1, the program burning interface burns the code into the MCU microprocessor through a program burner.
[0016] As a further improvement of the above technical solution, in step S2, the communication interface receives the communication instruction of the host computer, parses the communication instruction into serial port data and transmits the serial port data to the MCU microprocessor through the communication interface, including:
[0017] S21, the host computer sends a voltage regulation instruction to the digital power supply, and the communication interface receives the communication instruction of the host computer; the voltage regulation instruction includes a digital power supply telemetry instruction, a digital power supply output voltage control instruction, a digital power supply software reset instruction and a digital power supply status information reporting instruction.
[0018] S22, the MCU microprocessor executes the application layer communication protocol, and parses the corresponding instructions according to the communication protocol, and parses the communication instructions into serial port data.
[0019] S23, using the communication interface to transmit the serial port data to the MCU microprocessor.
[0020] As a further improvement of 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, and parses the communication instructions into serial port data, including the following steps:
[0021] S221. If the host computer transmits a digital power telemetry command to the digital power supply, the digital power supply enters the working state, completes the state information collection and packaging, 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 instruction to the digital power supply, the digital power supply will parse the instruction data and convert it into the voltage value to be output, output the corresponding voltage, and send a digital power supply status information reporting instruction to the host computer to feedback whether the voltage regulation is completed; after executing the overvoltage correction function, the digital power supply status information reporting instruction is sent to the host computer again to feedback the output status after voltage regulation to complete the closed loop.
[0023] S223: If the host computer sends a digital power supply output voltage control instruction to the digital power supply, the digital power supply completes the output voltage adjustment and reports whether the output voltage adjustment is successful.
[0024] S224. If the host computer sends a digital power software reset instruction to the digital power supply, the digital power supply performs a control software reset and restores the initial loading.
[0025] As a further improvement of the above technical solution, the corresponding point of the output of the switching power supply module is between 11-28V, and the analog voltage signal output by the digital-to-analog conversion unit in the MCU microprocessor is adjusted in 1V steps, and the adjusted voltage change amplitude is 1V; the switching power supply module parses and adjusts according to the voltage regulation instruction sent by the host computer.
[0026] As a further improvement of the above technical solution, if the digital power supply receives a voltage regulation instruction sent by the host computer, it parses the corresponding voltage data according to the voltage regulation instruction and outputs the voltage according to the voltage regulation value, and 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 conversion unit in the output microprocessor MCU is reduced to reduce 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 instruction, the analog output signal of the digital-to-analog conversion unit in the output microprocessor MCU is increased to increase the reference voltage of the analog output power supply.
[0028] The internal reference source is used as a reference for voltage temperature correction. The internal reference source of the chip is fitted with a curve that changes with temperature. The voltage value of the internal reference source is collected and converted to the corresponding temperature. 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 a standard. The ADC value of the internal reference source is measured before voltage adjustment. It is compared with the ADC value of the reference source 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, and according to the output voltage value, the analog voltage is output as the reference of the analog output power module.
[0030] As a further improvement of 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 reduced until the output requirement is met.
[0031] Compared with the prior art, the advantages of the present invention are:
[0032] The present invention can not only solve the problem of large output temperature drift of digital power supply in wide temperature change scenarios, but also realize digital power supply temperature correction through automatic voltage regulation method; it can also adapt to various communication protocols and enhance the reliability of data transmission by performing communication control on various digital power supplies. The present invention can simultaneously support multi-channel numerical control output, realize power supply voltage regulation control through host computer instructions, and is simple to operate. By designing a communication protocol for digital power supply and host computer, which is used for the host computer to control the digital power supply, and standardizing the control rules of the host computer and the digital power supply, the control of the digital power supply can be realized simply and efficiently, and an error-proof mechanism is designed to reduce instruction errors in the communication process. By designing automatic correction of temperature drift in temperature change scenarios, the digital power supply can be suitable for use in wide temperature scenarios, solving the problem of large temperature deviation of the output of the switching power supply in a high temperature difference environment, and optimizing the temperature drift performance. By setting a single-ended differential output circuit and a voltage sampling circuit, it is used to control the output of the switching power supply, and a step-adjustable power supply output is realized. The present invention has a wide range of application scenarios, including various military and civilian electronic systems such as aviation, aerospace, weapons, ships, electronics, and medical treatment, and is particularly used in the fields of aviation and aerospace. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 This is a typical application block diagram of a digital power supply working circuit provided by an embodiment of the present invention;
[0034] Figure 2 is a working flow chart of a digital power supply provided by an embodiment of the present invention;
[0035] Figure 3 is a schematic diagram of a reference source circuit of a digital power supply provided by an embodiment of the present invention;
[0036] Figure 4 It is a logic block diagram of the automatic voltage regulation operation of a digital power supply provided by an embodiment of the present invention;
[0037] Figure 5 It is a working logic block diagram of the communication control method of the digital power supply provided by the embodiment of the present invention. DETAILED DESCRIPTION
[0038] The present invention will be further described below in conjunction with the accompanying drawings:
[0039] like Figure 1 The embodiment of the present invention shown is a typical application block diagram of a communication control and automatic voltage regulation method working circuit of a digital power supply provided by 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 of the above technical solution, the MCU microprocessor adopts the Loongson 1J microprocessor and peripheral configuration circuit of the MIPS architecture. The MCU microprocessor adopts the Loongson 1J processor, and can communicate with the host computer through UART, SPI, and I2C protocols. The digital power module is powered by an auxiliary power supply, and an external crystal oscillator provides a clock signal. After receiving the instruction of the host computer, an analog reference is output, and the single-channel reference voltage is converted into a differential output reference voltage, which is input into the switching power supply module and output after voltage correction to realize 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 of the above technical solution, the digital power supply burns the code into the MCU microprocessor through the program burning interface. The RS422 communication module receives the communication instructions of the host computer, parses the instructions into serial port data, inputs the data into the MCU microprocessor through the serial communication interface UART, and converts it into the corresponding voltage regulation instruction through the communication protocol.
[0042] As a further improvement of the above technical solution, the digital-to-analog conversion unit in the microprocessor MCU converts the voltage regulation instruction into an analog voltage input signal of the single-ended to differential circuit. The single-ended to differential circuit converts the output single-channel analog voltage signal into a differential output and sends it to the switching power supply module.
[0043] As a further improvement of the above technical solution, the switching power supply module inputs the voltage signal into the voltage sampling circuit, detects the voltage value of the switching power supply module, and compares it with the voltage output by the protocol, and adjusts the size of the analog voltage signal output by the digital-to-analog conversion unit of the MCU microprocessor to a voltage that meets the requirements of the voltage regulation instruction.
[0044] As a further improvement of the above technical solution, the program burning interface burns the code into the microprocessor through a program burner. 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, the output voltage is used as a reference and input into the switching power supply module. The voltage output by the switching power supply module is re-input into the digital power supply for correction, and automatic correction is performed. The corrected voltage is output back to the analog output power supply, and the corrected voltage is output.
[0045] As a further improvement of the above technical solution, the host computer sends a voltage regulation instruction to the digital power supply, and the digital power supply executes the application layer communication protocol. The voltage regulation instruction includes: a digital power supply telemetry instruction, a digital power supply output voltage control instruction, and a digital power supply software reset instruction. The execution steps of the application layer communication protocol are as follows: the host computer transmits the digital power supply telemetry instruction, and the digital power supply enters the working state. When the host computer sends the digital power supply output voltage control instruction, the digital power supply parses the instruction data and converts it into the voltage value to be output, and outputs the corresponding voltage, and sends the digital power supply status information reporting instruction to the host computer to feedback whether the voltage regulation is completed. After the overvoltage correction function is executed, the digital power supply status information reporting instruction is sent to the host computer again, and the output state after voltage regulation is fed back to complete the closed loop. When the host computer sends the digital power supply software reset instruction, the digital power supply restores the initial power output state.
[0046] As a further improvement of the above technical solution, the digital power supply communication instruction adopts a three-module redundant verification method. When the three verification instructions are consistent, the instruction is considered to be sent correctly and the corresponding operation of the instruction is executed; if the instruction data is inconsistent, the data that appears the most times is used to form the instruction and the corresponding operation is executed.
[0047] As a further improvement of the above technical solution, the corresponding point of the output of the switching power supply module is between 11-28V, and is adjusted in 1V steps. The voltage regulation instruction sent by the host computer is analyzed and adjusted.
[0048] As a further improvement of the above technical solution, the automatic voltage regulation function of the digital power supply is implemented by feedback regulation. When the digital power supply receives a voltage regulation instruction, it parses the corresponding voltage data and outputs the voltage according to the voltage regulation value. The output voltage is used as the reference voltage of the analog output power supply.
[0049] As a further improvement of the above technical solution, the output voltage of the analog output power supply module is input to the voltage sampling circuit. When the voltage sampling circuit detects that the output voltage is higher than the value required for voltage regulation, the analog output of the digital-to-analog conversion unit in the output microprocessor MCU is reduced to reduce the reference voltage of the analog output power supply. When the voltage sampling circuit detects that the output voltage is lower than the value required for voltage regulation, the analog output of the digital-to-analog conversion unit in the output microprocessor MCU is increased to increase the reference voltage of the analog output power supply.
[0050] As a further improvement of the above technical solution, the automatic voltage regulation function of the digital power supply adopts an internal reference source as a reference for voltage temperature correction. The voltage of the built-in reference source of the chip changes with temperature. The curve of the internal reference source of the chip changing with temperature is fitted, and the voltage value of the internal reference source is collected and converted to the corresponding temperature. Based on the corresponding temperature, the analog voltage output is adjusted to compensate for the temperature drift of the voltage. When the temperature is judged to be higher than normal temperature, the analog voltage output at the same digital voltage value will be higher than the analog voltage output at normal temperature. Therefore, the reduction of the digital voltage value is calculated according to the difference, and the digital voltage value is reduced to achieve high temperature voltage regulation; when the temperature is judged to be lower than normal temperature, the analog voltage output at the same digital voltage value will be lower than the analog voltage output at normal temperature. Therefore, the increase of the digital voltage value is calculated according to the difference, and the digital voltage value is increased to achieve low temperature voltage regulation, thereby achieving temperature correction of the output analog voltage.
[0051] As a further improvement of the above technical solution, the automatic voltage regulation function of the digital power supply needs to parse out the corresponding required output voltage value according to the communication protocol, and output an analog voltage as a reference for the analog output power module according to the output voltage value.
[0052] As a further improvement of the above technical solution, the analog output power supply module includes a voltage output interface and a voltage detection interface. The voltage detection interface is connected to the output voltage detection voltage 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 demand; when the output voltage value is greater than the target voltage value, the output reference voltage value is reduced to meet the output demand.
[0053] As a further improvement of the above technical solution, the automatic voltage regulation function of the digital power supply realizes automatic correction for temperature changes, adopts the internal voltage reference source of the MCU microprocessor as the standard, measures the ADC value of the internal reference source before voltage regulation, and compares it with the ADC value of the reference source under normal temperature conditions to correct the temperature drift of the voltage detection value under temperature changes.
[0054] As a further improvement of the above technical solution, the digital power supply also includes a digital power supply digital control circuit, a communication control protocol and an automatic voltage regulation method based on control instructions. The method includes the digital power supply detecting the voltage regulation instruction sent by the host computer, and executing the corresponding voltage regulation operation if the communication protocol is met; after the single-ended to differential circuit and the voltage divider circuit, the digital power supply digital control circuit is input for voltage detection, and compared with the voltage setting value, after the step voltage regulation, if the error range is met, the voltage regulation is stopped to achieve the voltage value output specified by the communication protocol. Before the power supply is output, the present invention performs voltage input value detection and feedback adjustment, and executes instruction judgment to avoid misoperation, which can effectively reduce the instruction bit error rate, improve communication reliability and improve the output voltage accuracy.
[0055] like Figure 2 The working process diagram of the digital power supply provided by the embodiment of the present invention is shown, and the working process of the digital power supply includes the following steps:
[0056] Step 1: The digital power supply receives the host computer instructions and parses them into corresponding operation instructions.
[0057] Step 2: The output voltage needs to be corrected according to 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 a single-ended to differential circuit.
[0060] like Figure 3 The principle block diagram of the digital power supply provided by the embodiment of the present invention is shown, wherein the voltage stabilizing 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 as an input reference voltage benchmark for the switching power supply module.
[0061] like Figure 4 The automatic voltage regulation working logic block diagram of the digital power supply provided by the embodiment of the present invention is shown, and 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 through the internal ADC function of the digital power supply, and adjust the output reference according to the fitted temperature drift curve.
[0063] Step 2: According to the received host computer instruction, the instruction is converted into the corresponding voltage to be output, and output to the switching power supply module as a reference, so that the switching power supply module outputs the corresponding output voltage.
[0064] Step 3: Input the output voltage to the voltage sampling circuit to monitor whether the output voltage is within the error range.
[0065] Step 4: When the output voltage is within the error range, the voltage output is performed; when the output voltage detection is outside the error range, the voltage output is adjusted until the error condition is met.
[0066] like Figure 5 The program control logic diagram of the digital power supply provided by the embodiment of the present invention is shown, and the program control of the digital power supply includes the following steps:
[0067] Step 1: Configure serial port initialization, including configuring baud rate and corresponding crystal oscillator frequency.
[0068] Step 2: Enter the host computer data for instruction judgment. When the data packet format specified by the communication protocol is met, it enters the instruction judgment stage. If the data packet format is not met, the instruction data is accepted 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 upper computer; when the instruction is a voltage regulation instruction, 1V steps are used as adjustments and the corresponding output voltage is output; when the instruction is a reset instruction, the digital power supply is reset and the output is in the initial state.
[0070] In summary, the present invention can not only solve the problem of large output temperature drift of digital power supply under wide temperature change scenarios, and realize digital power supply temperature correction through automatic voltage regulation method; it can also adapt to various communication protocols and enhance the reliability of data transmission by controlling communication of digital power supply. The present invention has a wide range of application scenarios, including various military and civilian electronic systems such as aviation, aerospace, weapons, ships, electronics, and medical treatment, especially in the fields of aviation and aerospace.
[0071] The above-described embodiments are merely descriptions of preferred implementations of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the scope of protection determined 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 comprises: an MCU microprocessor, a single-ended to differential circuit, a voltage sampling circuit and a switching power supply module; the MCU microprocessor is provided with a communication interface and a program burning interface; The method comprises the following steps: S1, the digital power supply burns the code to the MCU microprocessor through the program burning interface; S2, the communication interface receives the communication command of the host computer, parses the communication command into serial port data and transmits the serial port data to the MCU microprocessor through the communication interface; S3, the MCU microprocessor converts the input data into corresponding voltage regulation instructions through the communication protocol, and converts the voltage regulation instructions 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 of the MCU microprocessor, and converts the analog voltage signal into a differential output signal, which is used as a voltage reference for the switching power supply module; S5. The switching power supply module inputs the voltage signal to the voltage sampling circuit, and 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 quantity, and compares the digital quantity with the voltage output by the protocol, and adjusts the size of the analog voltage signal output by the digital-to-analog conversion unit in the MCU microprocessor according to the comparison result until a voltage that meets the requirements of the voltage regulation instruction is obtained.
2. The communication control and automatic voltage regulation method of a digital power supply according to claim 1, characterized in that: The analog signal output end of the MCU microprocessor is connected to the input end of the voltage conditioning circuit, the output end of the voltage conditioning circuit is connected to the input end of the single-ended to differential circuit, the output end of the single-ended to differential circuit is connected to the input end of the voltage sampling circuit, and the output end of the voltage sampling circuit is connected to the digital signal output end of the MCU microprocessor; the input end of the switching power supply module is connected to the output end of the single-ended to differential circuit, and the output end of the switching power supply module is connected to the input end of the voltage sampling circuit.
3. The communication control and automatic voltage regulation method of a digital power supply according to claim 2, characterized in that: The communication interface includes any one or more combinations of a UART interface, an RS422 interface, an I2C interface, and an SPI interface.
4. The communication control and automatic voltage regulation method of a digital power supply according to claim 1, characterized in that: In the step S1, the program burning interface burns the code into the MCU microprocessor through a program burner.
5. The communication control and automatic voltage regulation method of a digital power supply according to claim 1, characterized in that: In step S2, the communication interface receives the communication instruction of the host computer, parses the communication instruction 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 instruction to the digital power supply, and the communication interface receives the communication instruction of the host computer; the voltage regulation instruction includes a digital power supply telemetry instruction, a digital power supply output voltage control instruction, a digital power supply software reset instruction and a digital power supply status information reporting instruction; S22, the MCU microprocessor executes the application layer communication protocol, and parses the corresponding instructions according to the communication protocol, and parses the communication instructions into serial port data; S23, using the communication interface to transmit the serial port data to the MCU microprocessor.
6. The communication control and automatic voltage regulation method of 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, and parses the communication instructions into serial port data, including the following steps: S221. If the host computer transmits a digital power supply telemetry instruction to the digital power supply, the digital power supply enters the working state, completes the state information collection and packaging, and reports it according to the agreed content and sequence number; S222, if the host computer sends a digital power supply output voltage control instruction to the digital power supply, the digital power supply will convert the parsed instruction data into the voltage value to be output, output the corresponding voltage, and send a digital power supply status information reporting instruction to the host computer to feedback whether the voltage regulation is completed; after executing the overvoltage correction function, the digital power supply status information reporting instruction is sent to the host computer again to feedback the output status after voltage regulation to complete the closed loop; S223, if the host computer sends a digital power supply output voltage control instruction to the digital power supply, the digital power supply completes the output voltage adjustment and reports whether the output voltage adjustment is successful; S224. If the host computer sends a digital power software reset instruction to the digital power supply, the digital power supply performs a control software reset and restores the initial loading.
7. The communication control and automatic voltage regulation method of a digital power supply according to claim 6, characterized in that: The corresponding point of the output of the switching power supply module is between 11-28V, and the analog voltage signal output by the digital-to-analog conversion unit in the MCU microprocessor is adjusted in 1V steps, and the adjusted voltage change amplitude is 1V; the switching power supply module parses and adjusts according to the voltage regulation instruction sent by the host computer.
8. The communication control and automatic voltage regulation method of a digital power supply according to claim 7, characterized in that: The method further comprises the following steps: If the digital power supply receives a voltage regulation instruction sent by the host computer, it will parse the corresponding voltage data according to the voltage regulation instruction 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 conversion unit in the output microprocessor MCU is reduced to reduce 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 instruction, the analog output signal of the digital-to-analog conversion 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, and according to the output voltage value, the analog voltage is output as the reference of the analog output power supply module.
9. The communication control and automatic voltage regulation method of a digital power supply according to claim 8, characterized in that: The method further comprises the following steps: The internal reference source is used as a reference for voltage temperature correction. The internal reference source of the chip is fitted with a curve that changes with temperature. The voltage value of the internal reference source is collected and converted to the corresponding temperature. 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. The ADC value of the internal reference source is measured before voltage adjustment. It is compared with the ADC value of the reference source 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 of 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 demand is met; If the output voltage value is greater than the target voltage value, the output reference voltage value 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
Digital power supply
CN111917304A
Output programmable control DC / DC converter for space navigation
CN118646272A
Sigma-delta analog-to-digital converter and signal processing method
JP2000232362A
Cited By
Power supply voltage regulating device, method and system, medium and product
CN120560431A