Regulation method for a digital power supply device and digital power supply device
By setting preset coefficients and filtering algorithms in the digital power supply device and gradually adjusting the output parameters, the problem of users being unable to set them is solved, and flexible time control of the digital power supply device is achieved to adapt to the testing requirements of different loads.
Patent Information
- Application Number
- CN202511005438.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-22
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2045-07-22
AI Technical Summary
Current digital power supply devices cannot be set by users when they directly increase or decrease from current output parameters to preset target output parameters. This results in limited options and cannot meet the time requirements of different loads.
By setting preset coefficients in the digital power supply device, the current output parameters are gradually adjusted until the target output parameters are reached by using the resistance-capacitance time constant of the filtering algorithm according to the current output parameters and the preset target output parameters, providing flexible control of the adjustment time.
It enables users to adjust the time of digital power supply equipment from current output parameters to preset target output parameters, meeting the testing needs of different loads, giving users more choices, and adapting to the time requirements of capacitive or inductive devices.
Smart Images

Figure CN120511949B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital power supply equipment, and in particular to a regulation method for digital power supply equipment and the digital power supply equipment. Background Art
[0002] Digital power devices can function as both a source and a meter, i.e., a four-quadrant current source, a current source, a voltmeter, and an ammeter. They are widely used in automated testing, semiconductor packaging, and other fields.
[0003] When currently in use, digital power supply devices can directly increase or decrease from a current output parameter to a preset target output parameter. In some cases, this can occur very quickly, or very slowly if the difference between the current output parameter and the preset target output parameter is large. Current digital power supply devices cannot be set by the user when directly increasing or decreasing from the current output parameter to the preset target output parameter, leaving users with limited options. Summary of the Invention
[0004] The main technical problem solved by the present invention is that the user cannot set the current digital power supply device when it directly increases or decreases from the current output parameter to the preset target output parameter, and the user has few options.
[0005] According to a first aspect, an embodiment provides a regulation method for a digital power supply device, wherein the digital power supply device has a voltage source mode and / or a current source mode, and the regulation method includes:
[0006] acquiring a current output parameter of the digital power supply device in any operating mode, the operating mode including the voltage source mode and / or the current source mode;
[0007] determining whether a current output parameter of the digital power device is equal to a preset target output parameter; and if not, updating the current output parameter of the digital power device based on at least a preset coefficient until the current output parameter of the digital power device is equal to the preset target output parameter, wherein the preset coefficient is used to adjust the time it takes for the current output parameter of the digital power device to rise or fall to the preset target output parameter.
[0008] Optionally, a filtering algorithm is provided in the digital power supply device, and the preset coefficient is a resistance-capacitance time constant in the filtering algorithm.
[0009] Optionally, the method further comprises: judging whether the current output parameter of the digital power supply device is equal to a preset target output parameter; and if not, updating the current output parameter of the digital power supply device based on at least the preset coefficient until the current output parameter of the digital power supply device is equal to the preset target output parameter, the preset coefficient being used to adjust a time for the current output parameter of the digital power supply device to rise or fall to the target output parameter, comprising:
[0010] Optionally, the method further comprises: when the current output parameter of the digital power supply device is not equal to the preset target output parameter, updating the current output parameter of the digital power supply device based on the preset coefficient, the current output parameter of the digital power supply device and the preset target output parameter.
[0011] Optionally, the calculation formula of the updated current output parameter of the digital power supply device is as follows:
[0012] ;
[0013] wherein y[n] is the updated current output parameter of the digital power supply device; y[n-1] is the current output parameter of the digital power supply device; a is the preset coefficient; and x[n] is the preset target output parameter.
[0014] Optionally, when the digital power supply device is in the current source mode, the current output parameter of the digital power supply device is a current output current of the digital power supply device, and the preset target output parameter is a preset target output current.
[0015] Optionally, when the digital power supply device is in the voltage source mode, the current output parameter of the digital power supply device is a current output voltage of the digital power supply device, and the preset target output parameter is a preset target output voltage.
[0016] According to a second aspect, in an embodiment, there is provided a digital power supply device having a voltage source mode and / or a current source mode, comprising:
[0017] an output parameter acquisition circuit configured to acquire a current output parameter of the digital power supply device in any one of the working modes, the working modes comprising the voltage source mode and / or the current source mode;
[0018] a processing module configured to perform the adjusting method for the digital power supply device as described above.
[0019] Optionally, a filter circuit is arranged in the digital power supply device, and the preset coefficient in the adjusting method for the digital power supply device is a resistance-capacitance time constant of the filter circuit.
[0020] Optionally, the output parameter acquisition circuit comprises:
[0021] a current sampling circuit for acquiring a current output current of the digital power supply device;
[0022] a voltage sampling circuit for acquiring a current output voltage of the digital power supply device.
[0023] The present application discloses a regulating method for a digital power supply device and the digital power supply device. In the regulating method, when a current output parameter of the digital power supply device is not equal to a preset target output parameter, the current output parameter of the digital power supply device is regulated to the preset target output parameter by gradually regulating the current output parameter of the digital power supply device by a preset coefficient until the current output parameter of the digital power supply device is equal to the preset target output parameter. Thus, it can be seen that,
[0024] The user can control the time for regulating the digital power supply device from the current output parameter to the preset target output parameter by setting the preset coefficient, so as to meet the test needs of different loads and give the user more choices. BRIEF DESCRIPTION OF DRAWINGS
[0025] Figure 1 is a rising curve diagram of the current output parameter of the digital power supply device to the preset target output parameter in the prior art;
[0026] Figure 2 is a flow chart of the regulating method for the digital power supply device;
[0027] Figure 3 is a logic block diagram of the regulating method for the digital power supply device in an embodiment;
[0028] Figure 4 is a PID topology structure diagram of the digital power supply device in an embodiment;
[0029] Figure 5 is a circuit structure diagram of the digital power supply device in an embodiment;
[0030] Figure 6 is a display interface of the touch screen when the touch screen is integrated in the digital power supply device in an embodiment. DETAILED DESCRIPTION
[0031] The application will be described in further detail below with specific reference being made to the drawings. Like elements in different embodiments are denoted by like reference numerals. In the following description, numerous specific details are described to provide a thorough understanding of the application. However, it will be apparent to one skilled in the art that the application can be practiced without some or all of these specific details. In other instances, well known process steps have not been described in detail in order not to unnecessarily obscure the application. In the following description, numerous specific details are described to provide a thorough understanding of the application. However, it will be apparent to one skilled in the art that the application can be practiced without some or all of these specific details. In other instances, well known process steps have not been described in detail in order not to unnecessarily obscure the application.
[0032] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various embodiments. At the same time, the steps or actions in the method description can also be sequentially adjusted or adjusted in a manner that can be obviously seen by those skilled in the art. Therefore, the various sequences in the specification and drawings are only for the purpose of clearly describing a certain embodiment, and do not mean that the sequence is necessary, unless otherwise stated that a certain sequence must be followed.
[0033] The serial numbers of the components in this paper, such as "first", "second", etc., are only used to distinguish the described objects, and do not have any sequence or technical meaning. The "connection" and "coupling" in this paper include direct and indirect connection (coupling) unless otherwise specified.
[0034] The digital power supply device can be used as a source output and a meter measurement, that is, a four-quadrant current source, a current source, a voltage meter and a current meter. The digital power supply device can be widely used in the fields of automatic detection and semiconductor packaging. The digital power supply device has a voltage source mode and / or a current source mode; when the digital power supply device is in the current source mode, the digital power supply device acts as a programmable current source, can accurately output a set current value, and can measure the voltage or other parameters across the load; when the digital source is in the voltage source mode, the digital power supply device acts as a programmable voltage source, can accurately output a set voltage value, and measures the current or other parameters flowing through the load.
[0035] When the digital power supply device is applied, the digital power supply device has a source and a limit value. When the working mode of the digital power supply device is the voltage source mode, the digital power supply device acts as a voltage source, and the current is the limit value, where the current refers to the current flowing through the load collected by the digital power supply device; when the working mode of the digital power supply device is the current source mode, the digital power supply device acts as a current source, and the voltage is the limit value, where the voltage value is the voltage across the load collected by the digital power supply device.
[0036] Current digital power supply device applications, such as Figure 1 As shown in the figure, the current output parameter is directly increased or decreased to the preset target output parameter. In some cases, the digital power supply device directly increases or decreases from the current output parameter to the preset target output parameter, which may be very fast. In this case, if the load is a capacitive or inductive device, the time for the digital power supply device to increase or decrease from the current output parameter to the preset target output parameter is strictly required. For example, in some current-sensitive capacitive devices, if the digital power supply device directly increases or decreases from the current output parameter to the preset target output parameter, the increase or decrease speed may be too fast, which may cause a temporary current increase due to capacitive effect, and then the power supply device will be limited to the current limit, and finally the waveform is the voltage loop switching current loop, and then the current loop switches to the voltage loop.
[0037] In some cases, the digital power supply device directly increases or decreases from the current output parameter to the preset target output parameter, which may also be very slow, for example, when the difference between the current output parameter and the preset target output parameter is large. Based on the above discussion, the current digital power supply device application cannot be set by the user to meet different time requirements during measurement, and the user has fewer choices.
[0038] The present application provides a regulating method for a digital power supply device, which can adjust the current output parameter of the digital power supply device by a preset coefficient until the current output parameter of the digital power supply device is equal to the preset target output parameter, so that the increase or decrease time of the current output parameter of the digital power supply device to the preset target output parameter can be adjusted, giving the user more choices.
[0039] The present application provides a regulating method for a digital power supply device, which can adjust the current output parameter of the digital power supply device by a preset coefficient until the current output parameter of the digital power supply device is equal to the preset target output parameter, so that the increase or decrease time of the current output parameter of the digital power supply device to the preset target output parameter can be adjusted, giving the user more choices.
[0040] As shown in the figure, the regulating method for the digital power supply device can include the following steps: Figure 2
[0041] S100, in any working mode, the current output parameter of the digital power supply device is obtained, and the working mode includes a voltage source mode and / or a current source mode.
[0042] In this embodiment, when the digital power device obtains the current output parameter, it needs to obtain the parameter based on the current operating mode of the digital power device. When the operating mode of the digital power device is voltage source mode, the current output parameter obtained by the digital power device is the current output voltage of the digital power device. When the operating mode of the digital power device is current source mode, the current output parameter obtained by the digital power device is the current output current of the digital power device.
[0043] Some digital power supply devices have two operating modes: one is a voltage source mode, and the other is a current source mode. When using this digital power supply device, the user needs to switch the device to the corresponding operating mode based on their needs. At this point, the digital power supply device will obtain the current output parameters of the digital power supply device based on the current operating mode. For example, if the digital power supply device is integrated with a touch screen, the user can switch the operating mode using the touch screen. Another example is if the digital power supply device is integrated with a mechanical key, the user can switch the operating mode using the mechanical key.
[0044] In some digital power supply devices, the digital power supply device has only one working mode, that is, the digital power supply device only has a voltage source mode. In this case, when the digital power supply device is working, the current working mode is the voltage source mode; or the digital power supply device only has a current source mode. In this case, when the digital power supply device is working, the current working mode is the current source mode.
[0045] S200: Determine whether a current output parameter of the digital power supply device is equal to a preset target output parameter. If not, update the current output parameter of the digital power supply device based on at least a preset coefficient until the current output parameter of the digital power supply device is equal to the preset target output parameter. The preset coefficient is used to adjust the time it takes for the current output parameter of the digital power supply device to rise or fall to the preset target output parameter.
[0046] In this embodiment, the user will set a preset target output parameter as needed. When the working mode of the digital power supply device is the voltage source mode, the preset target output parameter is the preset target output voltage, that is, the digital power supply device needs to adjust the current output voltage to the preset target output voltage; when the working mode of the digital power supply device is the current source mode, the preset target output parameter is the preset target output current, that is, the digital power supply device needs to adjust the current output current to the preset target output current.
[0047] Furthermore, the user may preset a coefficient (ie, a preset coefficient) in advance according to his or her needs, and of course, the preset coefficient set last time may also be used.
[0048] In the voltage source mode of the digital power supply device, the digital power supply device compares the current output voltage with the preset target voltage after obtaining the current output voltage. When the current output voltage is not equal to the preset target output voltage, the digital power supply device further automatically updates the current output voltage according to the preset coefficient, and again judges whether the updated current output voltage is equal to the preset target output voltage. If yes, the adjustment is stopped and the updated current output voltage is output. If no, the current output voltage is continuously updated until the updated current output voltage is equal to the preset target output voltage.
[0049] In the current source mode of the digital power supply device, the digital power supply device compares the current output current with the preset target current after obtaining the current output current. When the current output current is not equal to the preset target output current, the digital power supply device further automatically updates the current output current according to the preset coefficient, and again judges whether the updated current output current is equal to the preset target output current. If yes, the adjustment is stopped and the updated current output current is output. If no, the current output current is continuously updated until the updated current output current is equal to the preset target output current.
[0050] In the embodiment, the user can control the time for the digital power supply device to adjust from the current output parameter to the preset target output parameter by setting the preset coefficient, which can meet the test needs of different loads 500, and gives the user more choices. Since the user can set the preset coefficient to adjust the time for the digital power supply device to adjust from the current output parameter to the preset target output parameter, the digital power supply device applying the adjustment method can meet the time requirements of the load 500 being a capacitive or inductive device for the current output parameter to rise or fall to the output preset target output parameter.
[0051] In some embodiments, a filter algorithm is provided in the digital power supply device. When the preset coefficient is set, the preset coefficient can be set according to the filter algorithm in the digital power supply device. Specifically, the filter algorithm is an RC filter algorithm, and the preset coefficient can be set as the resistance-capacitance time constant of the filter algorithm. According to the characteristic that the response time of the filter algorithm to a step signal is 2.2RC (RC represents the resistance-capacitance time constant), after the preset coefficient is set as the value of RC, the time required for the digital power supply device to adjust from the current output parameter to the preset target output parameter is also 2.2RC (the response time of the RC filter circuit to a step signal is 2.2RC).
[0052] In some embodiments, if the current output parameter of the digital power supply device is not equal to the preset target output parameter, the current output parameter of the digital power supply device is updated based on at least a preset coefficient until the current output parameter of the digital power supply device is equal to the preset target output parameter, the preset coefficient being used to adjust the time for the current output parameter of the digital power supply device to rise or fall to the preset target output parameter, comprising:
[0053] S201, when the current output parameter of the digital power supply device is not equal to the preset target output parameter, updating the current output parameter of the digital power supply device based on the preset coefficient, the current output parameter of the digital power supply device and the preset target output parameter.
[0054] In this embodiment, when the working mode of the digital power supply device is the voltage source mode, the current output parameter of the digital power supply device is updated as the current output voltage of the digital power supply device, and the updated current output voltage of the digital power supply device is related to the preset coefficient, the current output voltage of the digital power supply device and the preset target output voltage.
[0055] When the working mode of the digital power supply device is the current source mode, the current output parameter of the digital power supply device is updated as the current output current of the digital power supply device, and the updated current output current of the digital power supply device is related to the preset coefficient, the current output current of the digital power supply device and the preset target output current.
[0056] Specifically, the calculation formula for updating the current output parameter of the digital power supply device is as follows:
[0057] ;
[0058] Wherein, y[n] is the updated current output parameter of the digital power supply device; y[n-1] is the current output parameter of the digital power supply device; a is the preset coefficient; x[n] is the preset target output parameter.
[0059] In this embodiment, when the working mode of the digital power supply device is the voltage source mode, y[n] is the updated current output voltage of the digital power supply device, y[n-1] is the current output voltage of the digital power supply device, and x[n] is the preset target output voltage.
[0060] That is, when the working mode of the digital power supply device is the voltage source mode, if the current output voltage is not equal to the preset target output voltage, the updated current output voltage of the digital power supply device = the current output voltage of the digital power supply device x a + (1-a) x the preset target output voltage.
[0061] For example, when the preset target output voltage is 3V and the current output voltage is 1V, the updated current output voltage of the digital power supply device = 1 x a + (1-a) x 3 (assuming that the updated current output voltage of the digital power supply device obtained in this calculation is m1), if m1 is equal to 3, the digital power supply device stops adjusting the current output voltage, if m1 is not equal to 3, the current output voltage of the digital power supply device is continuously updated, the current output voltage of the digital power supply device obtained in the next update = m1 x a + (1-a) x 3 (assuming that the updated current output voltage of the digital power supply device obtained in this calculation is m2), if m2 is equal to 3, the digital power supply device stops adjusting the current output voltage, if m2 is not equal to 3, the current output voltage of the digital power supply device is continuously updated, the current output voltage of the digital power supply device obtained in the next update = m2 x a + (1-a) x 3, and the current output voltage of the digital power supply device is updated in this way until the updated current output voltage of the digital power supply device is equal to 3V.
[0062] When the working mode of the digital power supply device is the current source mode, the process of adjusting the current output current of the digital power supply device to the preset target output current can refer to the process of adjusting the current output voltage of the digital power supply device to the preset target output voltage when the working mode of the digital power supply device is the voltage source mode, which will not be described herein again.
[0063] In some embodiments, the present application also provides a digital power supply device having a voltage source mode and / or a current source mode. As shown in Figure 5 the digital power supply device can include an output parameter acquisition circuit 800 and a processing module 100; wherein the output parameter acquisition circuit 800 is configured to acquire the current output parameter of the digital power supply device in any working mode, and the working mode includes the voltage source mode and / or the current source mode; and the processing module 100 is configured to execute the adjusting method for the digital power supply device as described above.
[0064] As shown in Figure 5 the output parameter acquisition circuit 800 includes a current sampling circuit 600 and a voltage sampling circuit 700, the current sampling circuit 600 is configured to acquire the current output current of the digital power supply device, and the voltage sampling circuit 700 is configured to acquire the current output voltage of the digital power supply device.
[0065] In this embodiment, the preset coefficient and the preset target output parameter can be written into the processing module 100 of the digital power supply device by using a computer, a tablet computer, a notebook computer or the like, or the digital power supply device can be integrated with a touch screen or mechanical buttons, and the preset coefficient and the preset target output parameter can be written into the processing module 100 of the digital power supply device by using the touch screen or the mechanical buttons, as shown in Figure 6As shown, it is a display interface of a touch screen when the touch screen is integrated in a digital power supply device. Wherein, when the working mode of the digital power supply device is a voltage source mode, the preset target output parameter is a preset target output voltage, and when the working mode is a current source mode, the preset target output parameter is a preset target output current. In specific setting, the processing module 100 is provided with a filtering algorithm, and the preset coefficient in the processing module 100 can be set as the resistance-capacitance time constant of the filtering algorithm in the digital power supply device.
[0066] In specific application, when the working mode of the digital power supply device is a voltage source mode, the processing module 100 can obtain the current output voltage collected by the voltage sampling circuit 700 in the digital power supply device, and determine whether the obtained current output voltage is equal to the preset target output voltage. If not, the processing module 100 automatically updates the current output voltage according to the preset coefficient, and determines again whether the updated current output voltage is equal to the preset target output voltage. If yes, the updated current output voltage is output, and if not, the current output voltage is continuously updated until the updated current output voltage is equal to the preset target output voltage.
[0067] It should be noted that when the voltage sampling circuit 700 collects the current output voltage of the digital power supply device, the voltage across the load 500 can be collected, that is, the current output voltage of the digital power supply device.
[0068] In some embodiments, when updating the current output voltage of the digital power supply device, the processing module 100 can update the current output voltage of the digital power supply device according to the preset coefficient, the current output voltage and the preset target output voltage. In specific updating, a calculation formula can be written into the processing module 100 through a computer, a tablet computer, a notebook computer or other terminal devices, and the current output voltage of the digital power supply device is updated through the calculation formula. The specific calculation formula is as follows:
[0069] ;
[0070] Wherein, y[n] is the updated current output parameter of the digital power supply device; y[n-1] is the current output parameter of the digital power supply device; a is the preset coefficient; x[n] is the preset target output parameter; when the digital power supply device is in the voltage source mode, y[n] is the updated current output voltage of the digital power supply device, and y[n-1] is the current output voltage of the digital power supply device.
[0071] That is, as Figure 3As shown, when updating the current output voltage of the digital power supply device, after obtaining the current output voltage collected by the voltage sampling circuit 700, the processing module 100 compares the current output voltage with the preset target output voltage, and if the current output voltage is not equal to the preset target output voltage, the current output voltage, the preset target output voltage, and the preset coefficient are used to calculate the updated current output voltage of the digital power supply device based on the above calculation formula. At this time, the current output voltage of the digital power supply device is the updated voltage output value, and the processing module 100 continues to determine whether the current output voltage (updated voltage output value) of the digital power supply device is equal to the preset target output voltage. If yes, the current output voltage adjustment of the digital power supply device is completed, and if no, the current output voltage of the digital power supply device is continuously updated based on the above calculation formula by using the current output voltage, the preset target output voltage, and the preset coefficient. For specific updating process, reference can be made to the description of the above-mentioned one kind of adjustment method for digital power supply device, and no more details are given here.
[0072] In some embodiments, the processing module 100 can update the current output current of the digital power supply device according to the preset coefficient, the current output current, and the preset target output current. For specific updating, a computer, a tablet, a notebook computer, or the like terminal device can be used to write a calculation formula into the processing module 100, and the current output current of the digital power supply device is updated by using the calculation formula. The specific calculation formula is as follows:
[0073] ;
[0074] Wherein, y[n] is the updated current output parameter of the digital power supply device; y[n-1] is the current output parameter of the digital power supply device; α is the preset coefficient; x[n] is the preset target output parameter; when the digital power supply device is in the current source mode, y[n] is the updated current output current of the digital power supply device, and y[n-1] is the current output current of the digital power supply device.
[0075] The specific updating process of the current output current of the digital power supply device can refer to the process of updating the current output voltage of the digital power supply device. The difference is that the current output parameter is the current output current, and the preset target output parameter is the preset target output current.
[0076] In an embodiment, the digital power supply device has a voltage source mode and a current source mode. In this embodiment, the processing module 100 can be a FPGA (Field-Programmable Gate Array, Field-Programmable Gate Array).
[0077] As Figure 4As shown, the PID (proportional-integral-differential) control topology in the FPGA of the digital power supply device can realize closed-loop regulation of the current output current or the current output voltage of the digital power supply device through the FPGA.
[0078] like Figure 5 As shown, the digital power supply device may include an FPGA, a digital-to-analog converter 200 , a first amplifier 300 , a sampling resistor 400 , a current sampling circuit 600 , and a voltage sampling circuit 700 .
[0079] The FPGA includes an output terminal, a current feedback terminal, and a voltage feedback terminal. The output terminal is used to output a current signal when the digital power supply device is in current source mode, and is used to output a voltage signal when the digital power supply device is in voltage source mode. The input terminal of the digital-to-analog converter 200 is connected to the output terminal of the FPGA, the output terminal of the digital-to-analog converter 200 is connected to the input terminal of the first amplifier 300, the output terminal of the first amplifier 300 is connected to one end of the sampling resistor 400, the other end of the sampling resistor 400 is connected to one end of the load 500, and the other end of the load 500 is connected to ground. The two sampling terminals of the current sampling circuit 600 are respectively connected to the two ends of the sampling resistor 400, and the feedback terminal of the current sampling circuit 600 is connected to the current feedback terminal of the FPGA. One of the two sampling terminals of the voltage sampling circuit 700 is connected to the connection between the sampling resistor 400 and the load 500, and the other sampling terminal is grounded. The feedback terminal of the voltage sampling circuit 700 is connected to the voltage feedback terminal of the FPGA.
[0080] In this embodiment, the current sampling circuit 600 may include a first analog-to-digital converter 601 and a second amplifier 602. The two input terminals of the second amplifier 602 are the two sampling terminals of the current sampling circuit 600. The two input terminals of the second amplifier 602 are respectively connected to the two ends of the sampling circuit. The output terminal of the second amplifier 602 is connected to the input terminal of the first analog-to-digital converter 601. The output terminal of the first analog-to-digital converter 601 is connected to the current feedback terminal of the FPGA.
[0081] The voltage sampling circuit 700 may include a second analog-to-digital converter 701 and a third amplifier 702. The two input terminals of the third amplifier 702 are the two sampling terminals of the voltage sampling circuit 700, one of which is connected to the connection path between the load 500 and the sampling resistor 400, and the other input terminal is grounded. The output terminal of the third amplifier 702 is connected to the voltage feedback terminal of the FPGA.
[0082] In the voltage source mode, the voltage signal output by the output end of the FPGA is amplified by the digital-to-analog converter 200 and the first amplifier 300, and then output to the load 500 through the sampling resistor 400, while the current flowing through the load 500 is collected by the second amplifier 602 and the first analog-to-digital converter 601 and fed back to the current feedback end of the FPGA, and the voltage across the load 500 is collected by the third amplifier 702 and the second analog-to-digital converter 701 and fed back to the voltage feedback end of the FPGA, and the FPGA can maintain the current flowing through the load 500 within the current limit range in the voltage source mode.
[0083] In the current source mode, the voltage signal output by the output end of the FPGA is amplified by the digital-to-analog converter 200 and the first amplifier 300, and then output to the load 500 through the sampling resistor 400, while the current flowing through the load 500 is collected by the second amplifier 602 and the first analog-to-digital converter 601 and fed back to the current feedback end of the FPGA, and the voltage across the load 500 is collected by the third amplifier 702 and the second analog-to-digital converter 701 and fed back to the voltage feedback end of the FPGA, and the FPGA can maintain the voltage of the load 500 within the voltage limit range in the current source mode.
[0084] It should be noted that the digital power supply device can also switch the range during application, that is, reset the preset coefficient and / or preset target output parameter. When the range is switched, the adjustment before the range switching stops, and after the range switching, the adjustment is performed again according to the current output parameter of the digital power supply device after the switching, the preset target output parameter and the preset coefficient. The adjustment process can be referred to the above, and will not be described in detail here.
[0085] In summary, the present application provides an adjustment method for a digital power supply device and a digital power supply device, which has the following advantages:
[0086] The user can set the preset coefficient to control the time of adjusting the digital power supply device from the current output parameter to the preset target output parameter, so as to meet the test needs of different loads 500, and give the user more choices.
[0087] The above application of specific examples is used to illustrate the present application, which is only used to help understand the present application, and does not limit the present application. For those skilled in the art to which the present application belongs, according to the idea of the present application, a number of simple deductions, deformations or substitutions can be made.
Claims
1. A method for regulating a digital power supply device, characterized in that: The digital power supply device has a voltage source mode and / or a current source mode, and the adjustment method includes: acquiring a current output parameter of the digital power supply device in any operating mode, the operating mode including the voltage source mode and / or the current source mode; determining whether a current output parameter of the digital power device is equal to a preset target output parameter, and if not, updating the current output parameter of the digital power device based on at least a preset coefficient until the current output parameter of the digital power device is equal to the preset target output parameter, wherein the preset coefficient is used to adjust the time it takes for the current output parameter of the digital power device to rise or fall to the preset target output parameter; The updated calculation formula for the current output parameter of the digital power supply device is as follows: ; Wherein, y[n] is the updated current output parameter of the digital power supply device; y[n-1] is the current output parameter of the digital power supply device; α is the preset coefficient; x[n] is the preset target output parameter; The digital power supply device is provided with a filtering algorithm, and the preset coefficient is a resistance-capacitance time constant in the filtering algorithm; The determining whether the current output parameter of the digital power device is equal to the preset target output parameter, and if not, updating the current output parameter of the digital power device based on at least the preset coefficient until the current output parameter of the digital power device is equal to the preset target output parameter, wherein the preset coefficient is used to adjust the time it takes for the current output parameter of the digital power device to rise or fall to the target output parameter, includes: When the current output parameter of the digital power device is not equal to the preset target output parameter, the current output parameter of the digital power device is updated based on the preset coefficient, the current output parameter of the digital power device, and the preset target output parameter.
2. The adjustment method for a digital power supply device according to claim 1, wherein: When the digital power device is in the current source mode, the current output parameter of the digital power device is the current output current of the digital power device, and the preset target output parameter is the preset target output current.
3. The adjustment method for a digital power supply device according to claim 1, wherein: When the digital power device is in the voltage source mode, the current output parameter of the digital power device is the current output voltage of the digital power device, and the preset target output parameter is the preset target output voltage.
4. A digital power supply device having a voltage source mode and / or a current source mode, characterized in that: include: an output parameter acquisition circuit, configured to acquire current output parameters of the digital power supply device in any one of the operating modes, the operating modes including the voltage source mode and / or the current source mode; A processing module, configured to execute the regulation method for a digital power supply device according to any one of claims 1 to 3.
5. The digital power supply device according to claim 4, wherein: The digital power supply device is provided with a filtering algorithm, and the preset coefficient in the adjustment method for the digital power supply device is a resistor-capacitor time constant in the filtering algorithm.
6. The digital power supply device according to claim 5, wherein: The output parameter acquisition circuit includes: A current sampling circuit, used for collecting the current output current of the digital power supply device; The voltage sampling circuit is used to collect the current output voltage of the digital power supply device.
Citation Information
Patent Citations
Voltage regulation method and device
CN116931644A
Plant control device
JP2020047075A