Power supply equipment

By using a closed-loop controlled power supply device, which combines digital-to-analog conversion and voltage comparator, the problem of unstable power supply voltage in the circuit is solved, the stability of the load voltage is achieved, and the normal operation of electrical appliances is ensured during transportation.

CN114244367BActive Publication Date: 2025-11-14GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111604338.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2025-11-14
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

Existing power supply equipment cannot guarantee the stability of the circuit power supply voltage, which may cause sensors and controllers to malfunction during long-distance transportation, resulting in catastrophic consequences.

Method used

Power supply equipment employing closed-loop control achieves real-time adjustment of voltage error through a combination of digital-to-analog conversion and voltage comparator in the controller, ensuring voltage stability within the error range. This includes the use of a reference voltage zero-adjustment unit and relay switches.

Benefits of technology

This ensures that the reference voltage output by the power supply equipment is fixed and accurate, guarantees the stability of the load voltage, and avoids the problem of sensor and controller failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114244367B_ABST
    Figure CN114244367B_ABST
Patent Text Reader

Abstract

This application relates to a power supply device. The power supply device includes a controller and a voltage comparator. The analog-to-digital (ADC) input terminal of the controller is connected to the output terminal of the voltage comparator. A first ADC output terminal of the controller is connected to a second input terminal of the voltage comparator. The second ADC output terminal of the controller is connected to a load, and the power supply terminal of the load is connected to the first input terminal of the voltage comparator. The controller outputs a first voltage through the first ADC output terminal and a second voltage through the second ADC output terminal. The voltage comparator outputs a first voltage error signal between the first voltage and the load voltage at the power supply terminal of the load. The controller performs analog-to-digital conversion on the first voltage error signal through the ADC input terminal to obtain a first error value, and then adjusts the parameters of the second ADC output terminal according to the first error value until the first error value stabilizes within the first error voltage range. This method ensures the stability of the voltage supplied to the load by the power supply device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power supply technology, and in particular to a power supply device. Background Technology

[0002] Power supplies are commonly used to provide voltage to electrical appliances, enabling them to operate. For example, new energy vehicle refrigeration equipment uses a large number of sensors and refrigeration devices, each of which requires a stable voltage from a power supply to function.

[0003] However, current power supply equipment generally uses open-loop control, which makes it difficult to guarantee the stability of the circuit power supply voltage, causing some sensors and controllers to malfunction. If this is not properly addressed over a long period of time, it can lead to catastrophic consequences during long-distance transportation. Summary of the Invention

[0004] Therefore, it is necessary to provide a power supply device that can improve the stability of the circuit power supply voltage in response to the above-mentioned technical problems.

[0005] This application provides a power supply device, which includes a controller and a voltage comparator. The analog-to-digital conversion input terminal of the controller is connected to the output terminal of the voltage comparator. The first digital-to-analog conversion output terminal of the controller is connected to the second input terminal of the voltage comparator. The second digital-to-analog conversion output terminal of the controller is connected to a load, and the power supply terminal of the load is connected to the first input terminal of the voltage comparator.

[0006] The controller outputs a first voltage through the first digital-to-analog converter output terminal and a second voltage through the second digital-to-analog converter output terminal. The voltage comparator outputs a first voltage error signal between the first voltage and the load voltage at the power supply terminal of the load. After the controller performs analog-to-digital conversion on the first voltage error signal through the analog-to-digital converter input terminal to obtain a first error value, it adjusts the parameters of the second digital-to-analog converter output terminal according to the first error value until the first error value stabilizes within the first error voltage range.

[0007] In one embodiment, the power supply device further includes: a reference voltage zero-adjustment unit, a first switching device, and a second switching device. The first switching device is disposed between the analog-to-digital converter input terminal, the output terminal of the voltage comparator, and the output terminal of the reference voltage zero-adjustment unit. The second switching device is connected between the first input terminal, the output terminal of the reference voltage zero-adjustment unit, and the power supply terminal of the load.

[0008] The controller controls the switching states of the first switching device and the second switching device to achieve reference zeroing control of the first digital-to-analog converter output terminal based on the reference voltage zeroing unit, and to stabilize the first error value within the first error voltage range.

[0009] In one embodiment, the controller controls the first switching device to connect the analog-to-digital converter input terminal to the output terminal of the reference voltage zeroing unit;

[0010] The analog-to-digital conversion input terminal of the controller performs analog-to-digital conversion processing on the reference zero-adjustment voltage output by the reference voltage zero-adjustment unit to obtain the digital value of the reference zero-adjustment voltage;

[0011] The controller controls the first switching device to connect the analog-to-digital converter input terminal to the output terminal of the voltage comparator, and controls the second switching device to connect the output terminal of the reference voltage zeroing unit to the first input terminal of the voltage comparator; the first digital-to-analog converter output terminal of the controller performs digital-to-analog conversion processing on the reference zeroing voltage digital quantity and outputs it to the second input terminal; the controller adjusts the parameters of the first digital-to-analog converter output terminal according to the second error value output by the voltage comparator until the second error value stabilizes within the second error voltage range, thus completing the reference zeroing control of the first digital-to-analog converter output terminal.

[0012] In one embodiment, the controller controls the first switching device to connect the analog-to-digital converter input terminal to the output terminal of the voltage comparator, and controls the second switching device to connect the power supply terminal of the load to the first input terminal of the voltage comparator, so as to achieve the control that the first error value is stabilized within the first error voltage range.

[0013] In one embodiment, the power supply device further includes a third switching device disposed between the first digital-to-analog converter output terminal of the controller, the second digital-to-analog converter output terminal of the controller, the second input terminal of the voltage comparator, and the power supply terminal of the load.

[0014] The controller controls the switching states of the first switching device, the second switching device, and the third switching device to achieve reference zeroing control of the first digital-to-analog converter output terminal and the second digital-to-analog converter output terminal according to the reference voltage zeroing unit, and to control the first error value to be stable within the first error voltage range.

[0015] In one embodiment, the controller controls the first switching device to connect the analog-to-digital converter input terminal to the output terminal of the reference voltage zeroing unit;

[0016] The analog-to-digital conversion input terminal of the controller performs analog-to-digital conversion processing on the reference zero-adjustment voltage output by the reference voltage zero-adjustment unit to obtain the digital value of the reference zero-adjustment voltage;

[0017] The controller controls the first switching device to connect the analog-to-digital converter input terminal to the output terminal of the voltage comparator, and controls the second switching device to connect the output terminal of the reference voltage zeroing unit to the first input terminal of the voltage comparator; and controls the third switching device to connect the first digital-to-analog converter output terminal or the second digital-to-analog converter output terminal to the second input terminal of the voltage comparator. After the first digital-to-analog converter output terminal or the second digital-to-analog converter output terminal of the controller performs digital-to-analog conversion processing on the reference zeroing voltage digital quantity, it outputs it to the second input terminal. The controller adjusts the parameters of the first digital-to-analog converter output terminal or the second digital-to-analog converter output terminal according to the second error value output by the voltage comparator until the second error value is stable within the second error voltage range, thus completing the reference zeroing control of the first digital-to-analog converter output terminal or the second digital-to-analog converter output terminal.

[0018] In one embodiment, the controller controls the first switching device to connect the analog-to-digital converter input terminal to the output terminal of the voltage comparator, controls the second switching device to connect the power supply terminal of the load to the first input terminal of the voltage comparator, and controls the third switching device to connect the first digital-to-analog converter output terminal to the second input terminal and the second digital-to-analog converter output terminal to the power supply terminal of the load; so as to achieve the control that the first error value is stabilized within the first error voltage range.

[0019] In one embodiment, the first switching device, the second switching device, and the third switching device include a relay.

[0020] In one embodiment, the power supply device further includes a power chip connected between the second digital-to-analog converter output and the power supply terminal of the load.

[0021] In one embodiment, the reference voltage zeroing unit includes a reverse diode.

[0022] The power supply device based on the embodiments of this application described above outputs a first voltage as a reference voltage through the first digital-to-analog output terminal of the controller, and outputs the voltage supplied to the load through the second digital-to-analog converter output terminal of the controller. By combining a voltage comparator to compare the error between the first digital-to-analog output terminal and the load voltage supplied to the load, the parameters of the second digital-to-analog converter output terminal are adjusted until the first error value is stable within the first error voltage range, thereby completing the control closed loop to obtain an accurate voltage. The power supply device has a simple structure, and the output reference voltage is fixed and accurate, thereby ensuring the stability of the voltage supplied to the load by the power supply device. Attached Figure Description

[0023] Figure 1 This is a schematic diagram of the power supply device in one embodiment;

[0024] Figure 2 This is a schematic diagram of the power supply device in another embodiment;

[0025] Figure 3 This is a schematic diagram of the power supply device in another embodiment;

[0026] Figure 4 This is a schematic diagram of the power supply device in another embodiment;

[0027] Figure 5 This is a schematic diagram of the power supply device in another embodiment;

[0028] Figure 6 This is a schematic diagram of the power supply device in another embodiment;

[0029] Figure 7 This is a schematic diagram of the power supply device in another embodiment. Detailed Implementation

[0030] To make the above-mentioned objectives, features, and advantages of this application more apparent and understandable, the specific embodiments of this application are described in detail below with reference to the accompanying drawings. Many specific details are set forth in the following description to provide a thorough understanding of this application. However, this application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar modifications without departing from the spirit of this application. Therefore, this application is not limited to the specific embodiments disclosed below.

[0031] In the description of this application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicating the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.

[0032] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0033] In this application, unless otherwise expressly specified and limited, the terms "installation," "connection," "joining," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise expressly limited. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0034] In this application, unless otherwise expressly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "on top of," and "over" the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.

[0035] It should be noted that when an element is referred to as being "fixed to" or "set on" another element, it can be directly on the other element or there may be an intervening element. When an element is considered to be "connected to" another element, it can be directly connected to the other element or there may be an intervening element. The terms "vertical," "horizontal," "upper," "lower," "left," "right," and similar expressions used herein are for illustrative purposes only and do not represent the only possible implementation.

[0036] In a first aspect, this application provides a power supply device, such as... Figure 1 As shown, the system includes a controller (MCU) 102 and a voltage comparator 104. The controller 102 has an analog-to-digital converter (ADC) input, a first digital-to-analog converter (DAC1) output, and a second DAC output, DAC2. Specifically, the ADC input of the controller 102 is connected to the output 106 of the voltage comparator 104. The first DAC output, DAC1, is connected to the second input 110 of the voltage comparator 104. The second DAC output, DAC2, is connected to a load, and the load's power supply is connected to the first input 108 of the voltage comparator 104. The load's power supply refers to the end of the load connected to the second DAC output, DAC2. The load voltage at the load's power supply can be the voltage output from the second DAC output, DAC2, and before reaching the load. The controller 102 can be any microcontroller, PLC (Programmable Logic Controller), or similar device capable of implementing control functions.

[0037] In one embodiment, the voltage comparator 104 can be used to compare the magnitudes of the voltages at the first input terminal 108 and the second input terminal 110. The first input terminal 108 can be a positive input terminal and the second input terminal 110 can be an inverting input terminal. Optionally, the first input terminal 108 can also be an inverting input terminal and the second input terminal 110 can also be a positive input terminal. In this application, the embodiments are described with the first input terminal 108 as a positive input terminal and the second input terminal 110 as an inverting input terminal as an example.

[0038] In one embodiment, the controller 102 outputs a first voltage through a first digital-to-analog converter (DAC1) output terminal and a second voltage through a second DAC output terminal (DAC2). A voltage comparator 104 outputs a first voltage error signal between the first voltage and the load voltage at the power supply terminal of the load. The controller 102 performs analog-to-digital conversion on the first voltage error signal through an analog-to-digital converter (ADC) input terminal to obtain a first error value. Based on the first error value, the controller 102 adjusts the parameters of the second DAC output terminal (DAC2) until the first error value stabilizes within the first error voltage range. The first voltage can serve as a reference voltage, which can be an accurate, stable, and non-adjustable voltage. The second DAC output terminal (DAC2) can output the second voltage to the power supply terminal of the load. The voltage comparator 104 can determine the first error voltage signal between the first voltage and the load power supply terminal when there is an error, and output this signal to the controller 102.

[0039] In one embodiment, the analog-to-digital converter (ADC) input of controller 102 performs analog-to-digital conversion on the first error signal to obtain a first error value. After obtaining the first error value, controller 102 can use a PI control algorithm to calculate the parameters of the second digital-to-analog converter (DAC2) output, thereby outputting an updated second voltage. Voltage comparator 104 recalculates the error between the voltage at the load's power supply terminal and the first voltage, and outputs the first error signal to controller 102. Controller 102 processes the first error signal again until the first error value stabilizes within the first error voltage range. The first error voltage range can be adjusted according to actual accuracy requirements, etc.

[0040] The aforementioned power supply device outputs a first voltage as a reference voltage through the first digital-to-analog output terminal of the controller, and outputs the voltage supplied to the load through the second digital-to-analog converter output terminal of the controller. By combining a voltage comparator to compare the error between the first digital-to-analog output terminal and the load voltage supplied to the load, the parameters of the second digital-to-analog converter output terminal are adjusted until the first error value stabilizes within the first error voltage range, thereby completing the control closed loop to obtain a precise voltage. This power supply device has a simple structure, and the output reference voltage is fixed and accurate, thus ensuring the stability of the voltage supplied to the load by the power supply device.

[0041] In one embodiment, reference Figure 2 The diagram shown is a structural schematic of a power supply device in one embodiment. Figure 2 As shown, in Figure 1Based on the power supply device shown, the power supply device in this embodiment also includes a power chip 202 connected between the second digital-to-analog converter output terminal DAC2 and the power supply terminal of the load. Through the power chip 202, since the second digital-to-analog converter output terminal DAC2 of the controller 102 has a weak load-carrying capacity, the second voltage of the second digital-to-analog converter output terminal DAC2 can be amplified according to a certain amplification factor, so that the voltage output to the power supply terminal of the load can be kept within a more suitable range.

[0042] In one embodiment, reference Figure 3 The diagram shown is a structural schematic of a power supply device in another embodiment. Figure 3 As shown, based on the above-described embodiment, the power supply device of this embodiment further includes: a reference voltage zeroing unit 302, a first switching device 304, and a second switching device 306. The first switching device 304 is disposed between the analog-to-digital converter input terminal ADC, the output terminal 106 of the voltage comparator 104, and the output terminal of the reference voltage zeroing unit 302. The second switching device 306 is connected between the first input terminal 108, the output terminal of the reference voltage zeroing unit 302, and the power supply terminal of the load.

[0043] In one embodiment, the first switching device 304 and the second switching device 306 can be relay switches. Specifically, the signal terminal of the relay switch can be connected to the GPIO (General Purpose Input / Output) port of the controller 102, so that the switching state of the first switching device and the second switching device can be controlled according to the GPIO port.

[0044] In one embodiment, if the first switching device 304 and the second switching device 306 are relay switches, the first switching device 304 and the second switching device 306 may include normally open terminals and normally closed terminals. Then, the switch state corresponding to the normally open terminal can be set to the switch contacting the upper arm, and the switch state corresponding to the normally closed terminal can be set to the switch contacting the lower arm. The normally open and normally closed terminals of the first switching device 304 and the second switching device 306 can be adjusted according to the actual situation. In this application, the embodiments are all described with the example that the switch state corresponding to the normally open terminal of the first switching device 304 and the second switching device 306 is set to the switch contacting the upper arm, and the switch state corresponding to the normally closed terminal is set to the switch contacting the lower arm.

[0045] In one embodiment, the reference voltage zeroing unit 302 may include a reverse diode and an external power supply. By inputting voltage to the reverse diode through the external power supply and combining the reverse breakdown principle of the reverse diode, a precise digital zeroing voltage can be obtained.

[0046] In one embodiment, the controller 102 controls the switching states of the first switching device 304 and the second switching device 306 to achieve reference zeroing control of the first digital-to-analog converter output terminal based on the reference voltage zeroing unit, and to stabilize the first error value within the first error voltage range. Specifically, the switching states of the first switching device 304 and the second switching device 306 can be controlled by controlling whether the first switching device 304 is in contact with the upper arm or the lower arm, and by controlling whether the second switching device 306 is in contact with the upper arm or the lower arm.

[0047] In one embodiment, reference Figure 4 The diagram shows a schematic of a power supply device in a specific embodiment. The controller 102 controls the first switching device 304 to connect the analog-to-digital converter (ADC) to the output of the reference voltage zeroing unit. At this time, the first switching device 304 is in contact with the upper arm, indicating that the ADC is connected to the output of the reference voltage zeroing unit 302. The ADC of the controller 102 performs analog-to-digital conversion on the reference zeroing voltage output by the reference voltage zeroing unit 302 to obtain a digital value of the reference zeroing voltage. Specifically, the reference zeroing unit 302 obtains a precise zeroing voltage based on the breakdown principle of a reverse diode, and then the ADC performs analog-to-digital conversion to obtain the digital value of the reference zeroing voltage. After obtaining the digital value of the reference zeroing voltage, the controller 102 can save the digital value, thereby achieving precise zeroing of the ADC.

[0048] After achieving precise zeroing of the analog-to-digital converter (ADC) input, the controller 102 controls the first switching device 304 to connect the ADC input to the output terminal 106 of the voltage comparator 104. At this time, the first switching device 304 is in contact with the lower arm, indicating that the ADC is connected to the output terminal 106 of the voltage comparator 104. The controller then controls the second switching device 306 to connect the output terminal of the reference voltage zeroing unit 302 to the first input terminal 108 of the voltage comparator 104. At this time, the second switching device 306 is in contact with the upper arm, indicating that the voltage is connected to the upper arm. The input voltage of the first input terminal 108 of the voltage comparator 104 is the output voltage of the reference voltage zeroing unit 302. After the first digital-to-analog converter output terminal DAC1 of the controller 102 performs digital-to-analog conversion processing on the digital value of the reference zeroing voltage, it outputs to the second input terminal 110. The controller 102 adjusts the parameters of the first digital-to-analog converter output terminal DAC1 according to the second error value output by the voltage comparator 104 until the second error value is stable within the second error voltage range, thus completing the reference zeroing control of the first digital-to-analog converter output terminal DAC1, thereby achieving precise zeroing of the first digital-to-analog converter output terminal DAC1.

[0049] Specifically, after the precise zeroing of the analog-to-digital converter (ADC) input terminal is completed, a reference zeroing voltage can be output from the first digital-to-analog converter (DAC1) output terminal to the second input terminal 110. The reference zeroing voltage is the voltage obtained by digital-to-analog conversion of the reference zeroing voltage digital value. The voltage comparator compares the voltage at the second input terminal 110 with the input voltage at the first input terminal 108 (i.e., the reference zeroing voltage output by the reference voltage zeroing unit 302). If a second error exists between the two, the voltage comparator 104 can output a second voltage error signal to the controller 102. The controller 102 can perform analog-to-digital conversion on the second voltage error signal through the ADC input terminal to obtain the second error value. Using a PI control algorithm, the controller 102 calculates the parameters of the first digital-to-analog converter (DAC1) output terminal to be adjusted based on the second error value, thereby changing the output voltage of the first digital-to-analog converter (DAC1) output terminal until the second error value stabilizes within the second error voltage range. The second error voltage range can be adjusted according to actual accuracy requirements, etc.

[0050] In one embodiment, reference Figure 5The diagram shows a schematic of a power supply device in one embodiment. The controller 102 controls the first switching device 304 to connect the analog-to-digital converter (ADC) input terminal to the output terminal 106 of the voltage comparator 104. At this time, the first switching device 304 is in contact with the lower arm, indicating that the ADC and the voltage comparator 104 are connected. The controller also controls the second switching device 306 to connect the power supply terminal of the load to the first input terminal 108 of the voltage comparator. At this time, the second switching device 306 is in contact with the lower arm, indicating that the input voltage of the first input terminal 108 of the voltage comparator 104 is the load voltage of the load's power supply terminal. Thus, through the voltage comparator 104, it can be determined whether there is a first error between the load voltage of the load's power supply terminal and the first voltage output by the first digital-to-analog converter (DAC1), and if a first error exists, the controller can stabilize the first error value within the first error voltage range.

[0051] In one embodiment, reference Figure 6 As shown, based on the embodiment described above, the power supply device of this embodiment further includes a third switching device 502, which is disposed between the first digital-to-analog converter output terminal DAC1 of the controller 102, the second digital-to-analog converter output terminal DAC2 of the controller 102, the second input terminal 110 of the voltage comparator 104, and the power supply terminal of the load.

[0052] In one embodiment, the third switching device 502 can be a relay switch. By setting the third switching device 502, the first digital-to-analog converter output terminal DAC1 and the second digital-to-analog converter output terminal DAC2 can be connected in sequence to the second input terminal 110 of the transformer voltage comparator 104, thereby enabling the zeroing of the first digital-to-analog converter output terminal DAC1 and the second digital-to-analog converter output terminal DAC2 of the controller 102.

[0053] In one embodiment, the controller 102 controls the reference zeroing of the first digital-to-analog converter output terminal DAC1 and the second digital-to-analog converter output terminal DAC2 according to the reference voltage zeroing unit 302 by controlling the switching states of the first switching device 304, the second switching device 306 and the third switching device 502, and controls the first error value to be stable within the first error voltage range.

[0054] During the reference zeroing of the analog-to-digital converter (ADC), the controller 102 controls the first switching device 304 to connect the ADC to the output of the reference voltage zeroing unit 302. The ADC of the controller 102 performs analog-to-digital conversion on the reference zeroing voltage output by the reference voltage zeroing unit 302 to obtain a digital value of the reference zeroing voltage. The controller 102 determines whether the digital value of the reference zeroing voltage is the same as the reference zeroing voltage set by the reference voltage zeroing unit 302. If they are different, the ADC parameters are adjusted until the digital value of the reference zeroing voltage obtained after analog-to-digital conversion by the ADC is the same as the reference zeroing voltage set by the reference voltage zeroing unit 302, thus completing the reference zeroing of the ADC.

[0055] After the reference zeroing of the analog-to-digital converter (ADC) input terminal is completed, the reference zeroing control of the first digital-to-analog converter (DAC1) output terminal and the second digital-to-analog converter (DAC2) output terminal can be sequentially performed.

[0056] When performing reference zeroing control on the first digital-to-analog converter output terminal DAC1, the controller 102 controls the first switching device 304 to connect the analog-to-digital converter input terminal ADC to the output terminal 106 of the voltage comparator 104, and controls the second switching device 306 to connect the output terminal of the reference voltage zeroing unit 302 to the first input terminal 108 of the voltage comparator 104; and controls the third switching device 502 to connect the first digital-to-analog converter output terminal DAC1 to the second input terminal 110 of the voltage comparator 104. After the first digital-to-analog converter output terminal DAC1 of the controller 102 performs digital-to-analog conversion processing on the reference zeroing voltage digital quantity, it outputs to the second input terminal 110. The controller 102 adjusts the parameters of the first digital-to-analog converter output terminal DAC1 according to the second error value output by the voltage comparator 104 until the second error value is stable within the second error voltage range, thus completing the reference zeroing control of the first digital-to-analog converter output terminal DAC1.

[0057] When performing reference zeroing control on the second digital-to-analog converter output terminal DAC2, the controller 102 controls the first switching device 304 to connect the analog-to-digital converter input terminal ADC to the output terminal 106 of the voltage comparator 104, and controls the second switching device 306 to connect the output terminal of the reference voltage zeroing unit 302 to the first input terminal 108 of the voltage comparator 104; and controls the third switching device 502 to connect the second digital-to-analog converter output terminal DAC2 to the second input terminal 110 of the voltage comparator 104. After the second digital-to-analog converter output terminal DAC2 of the controller 102 performs digital-to-analog conversion processing on the reference zeroing voltage digital quantity, it outputs to the second input terminal 110. The controller 102 adjusts the parameters of the second digital-to-analog converter output terminal DAC2 according to the second error value output by the voltage comparator 104 until the second error value is stable within the second error voltage range, thus completing the reference zeroing control of the second digital-to-analog converter output terminal DAC2.

[0058] After completing the reference zeroing control of the analog-to-digital converter (ADC) input terminal and the reference zeroing control of each digital-to-analog converter output terminal (second digital-to-analog converter output terminal DAC1, second digital-to-analog converter output terminal DAC2), the power supply device can be put into use, enabling the power supply device to provide a stable load voltage to the load.

[0059] Specifically, the controller 102 controls the first switching device 304 to connect the analog-to-digital converter input terminal (ADC) to the output terminal 108 of the voltage comparator 104, and controls the second switching device 306 to connect the power supply terminal of the load to the first input terminal 108 of the voltage comparator. The controller also controls the third switching device 502 to connect the first digital-to-analog converter output terminal (DAC1) to the second input terminal 110 and the second digital-to-analog converter output terminal (DAC2) to the power supply terminal of the load. This allows the voltage comparator to compare the voltage output of the first digital-to-analog converter output terminal (DAC1) with the power supply voltage of the load. If an error exists, the voltage comparator 104 can output a first error signal to the controller 102. The controller 102 performs analog-to-digital conversion to obtain a first error value and adjusts the parameters of the second digital-to-analog converter output terminal (DAC2) based on the first error value to stabilize the first error value within the first error voltage range, thereby providing a stable operating voltage to the load.

[0060] In one embodiment, the controller 102 controls the first switching device 304 to connect the analog-to-digital converter input terminal (ADC) to the output terminal 108 of the voltage comparator 104, and controls the second switching device 306 to connect the power supply terminal of the load to the first input terminal 108 of the voltage comparator. The controller also controls the third switching device 502 to connect the first digital-to-analog converter output terminal (DAC1) to the power supply terminal of the load, and the second digital-to-analog converter output terminal (DAC2) to the second input terminal 110. This allows the voltage comparator to compare the voltage output from the second digital-to-analog converter output terminal (DAC2) with the power supply voltage of the load. If an error exists, the voltage comparator 104 can output a first error signal to the controller 102. The controller 102 performs analog-to-digital conversion to obtain a first error value, and adjusts the parameters of the first digital-to-analog converter output terminal (DAC1) according to the first error value to stabilize the first error value within the first error voltage range, thereby providing a stable operating voltage to the load.

[0061] In one embodiment, reference Figure 7 As shown, based on the embodiment described above, the power supply device in this embodiment further includes a buzzer 602, a display 604, and a button 606, wherein the buzzer 602, display 604, and button 606 are respectively connected to the controller 102. The buzzer 602 can output a prompt message to the user when the voltage error value cannot be controlled within a certain time, allowing the user to make corresponding adjustments based on the prompt message. The display 604 can display parameters related to the power supply device. The user can input parameters to the controller 102 via the button 606, thereby enabling the controller 102 to meet the power supply requirements of different devices based on the input parameters.

[0062] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0063] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A power supply device, characterized in that, The power supply device includes: a controller and a voltage comparator. The analog-to-digital conversion input terminal of the controller is connected to the output terminal of the voltage comparator. The first digital-to-analog conversion output terminal of the controller is connected to the second input terminal of the voltage comparator. The second digital-to-analog conversion output terminal of the controller is connected to the load, and the power supply terminal of the load is connected to the first input terminal of the voltage comparator. The controller outputs a first voltage through the first digital-to-analog converter output terminal and a second voltage through the second digital-to-analog converter output terminal. The voltage comparator outputs a first voltage error signal between the first voltage and the load voltage at the power supply terminal of the load. The controller performs analog-to-digital conversion on the first voltage error signal through the analog-to-digital converter input terminal to obtain a first error value, and then adjusts the parameters of the second digital-to-analog converter output terminal according to the first error value until the first error value stabilizes within the first error voltage range. The power supply device further includes: a reference voltage zero-adjustment unit, a first switching device, and a second switching device. The first switching device is disposed between the analog-to-digital converter input terminal, the output terminal of the voltage comparator, and the output terminal of the reference voltage zero-adjustment unit. The second switching device is connected between the first input terminal, the output terminal of the reference voltage zero-adjustment unit, and the power supply terminal of the load. The controller controls the switching states of the first switching device and the second switching device to achieve reference zeroing control of the first digital-to-analog converter output terminal based on the reference voltage zeroing unit, and to stabilize the first error value within the first error voltage range.

2. The power supply device according to claim 1, characterized in that, The first switching device and the second switching device include a relay switch, and the signal terminal of the relay switch is connected to the general-purpose input / output port of the controller; The controller controls the switching states of the first switching device and the second switching device according to the general input / output port.

3. The power supply device according to claim 1, characterized in that, The controller controls the first switching device to connect the analog-to-digital converter input terminal to the output terminal of the reference voltage zeroing unit; The analog-to-digital conversion input terminal of the controller performs analog-to-digital conversion processing on the reference zero-adjustment voltage output by the reference voltage zero-adjustment unit to obtain the digital value of the reference zero-adjustment voltage; The controller controls the first switching device to connect the analog-to-digital converter input terminal to the output terminal of the voltage comparator, and controls the second switching device to connect the output terminal of the reference voltage zeroing unit to the first input terminal of the voltage comparator; the first digital-to-analog converter output terminal of the controller performs digital-to-analog conversion processing on the reference zeroing voltage digital quantity and outputs it to the second input terminal; the controller adjusts the parameters of the first digital-to-analog converter output terminal according to the second error value output by the voltage comparator until the second error value stabilizes within the second error voltage range, thus completing the reference zeroing control of the first digital-to-analog converter output terminal.

4. The power supply device according to claim 1, characterized in that, The controller controls the first switching device to connect the analog-to-digital converter input terminal to the voltage comparator output terminal, and controls the second switching device to connect the load power supply terminal to the voltage comparator first input terminal, so as to achieve the control that the first error value is stabilized within the first error voltage range.

5. The power supply device according to claim 1, characterized in that, The power supply device further includes: a third switching device, which is disposed between the first digital-to-analog converter output terminal of the controller, the second digital-to-analog converter output terminal of the controller, the second input terminal of the voltage comparator, and the power supply terminal of the load; The controller controls the switching states of the first switching device, the second switching device, and the third switching device to achieve reference zeroing control of the first digital-to-analog converter output terminal and the second digital-to-analog converter output terminal according to the reference voltage zeroing unit, and to control the first error value to be stable within the first error voltage range.

6. The power supply device according to claim 5, characterized in that, The controller controls the first switching device to connect the analog-to-digital converter input terminal to the output terminal of the reference voltage zeroing unit; The analog-to-digital conversion input terminal of the controller performs analog-to-digital conversion processing on the reference zero-adjustment voltage output by the reference voltage zero-adjustment unit to obtain the digital value of the reference zero-adjustment voltage; The controller controls the first switching device to connect the analog-to-digital converter input terminal to the output terminal of the voltage comparator, and controls the second switching device to connect the output terminal of the reference voltage zeroing unit to the first input terminal of the voltage comparator; and controls the third switching device to connect the first digital-to-analog converter output terminal or the second digital-to-analog converter output terminal to the second input terminal of the voltage comparator. After the first digital-to-analog converter output terminal or the second digital-to-analog converter output terminal of the controller performs digital-to-analog conversion processing on the reference zeroing voltage digital quantity, it outputs it to the second input terminal. The controller adjusts the parameters of the first digital-to-analog converter output terminal or the second digital-to-analog converter output terminal according to the second error value output by the voltage comparator until the second error value is stable within the second error voltage range, thus completing the reference zeroing control of the first digital-to-analog converter output terminal or the second digital-to-analog converter output terminal.

7. The power supply device according to claim 6, characterized in that, The controller controls the first switching device to connect the analog-to-digital converter input terminal to the output terminal of the voltage comparator, controls the second switching device to connect the power supply terminal of the load to the first input terminal of the voltage comparator, and controls the third switching device to connect the first digital-to-analog converter output terminal to the second input terminal and the second digital-to-analog converter output terminal to the power supply terminal of the load; so as to achieve the control that the first error value is stabilized within the first error voltage range.

8. The power supply device according to claim 5, characterized in that, The first switching device, the second switching device, and the third switching device all include relays.

9. The power supply device according to any one of claims 1-8, characterized in that, The power supply device further includes a power chip connected between the output terminal of the second digital-to-analog converter and the power supply terminal of the load.

10. The power supply device according to claim 1, characterized in that, The reference voltage zeroing unit includes a reverse diode.

Citation Information

Patent Citations

  • Battery charger digital control circuit and method

    CN102624042A