Digital power supply channel parallel dynamic control method and device based on DAC value synchronization and medium
By synchronizing the DAC values and current measurement difference feedback of the master and slave channels in the digital power system, multi-channel current phase consistency is achieved, solving the oscillation and backflow problems caused by phase difference in the existing technology. It is suitable for scenarios with different output modes and inconsistent hardware, and improves control accuracy and robustness.
Patent Information
- Application Number
- CN202611636060.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-22
- Publication Date
- 2026-11-20
AI Technical Summary
In existing parallel control methods for digital power supply channels, there is an inherent phase difference between the master and slave channel outputs, which can easily cause oscillations and backflow of current between channels under high frequency or large load, and is difficult to adapt to different output modes and hardware inconsistencies.
By synchronizing the DAC value output from the main channel digital loop to the slave channel and using the difference in current measurement value as feedback, dynamic current sharing control with multiple channels in phase and no backflow is achieved. The same synchronous clock signal is used to trigger the synchronous adjustment of the digital loops of the main and slave channels, combined with PID control algorithm and protection mechanism.
It achieves phase consistency of master and slave channel currents, accurate output amplitude, reduces hardware consistency requirements, is suitable for parallel voltage or current source scenarios, avoids oscillation and current backflow, and improves the robustness and control capability of the system.
Smart Images

Figure CN123137004A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital power control technology, and in particular to a method, device and medium for parallel dynamic control of digital power channels based on DAC value synchronization. Background Technology
[0002] Digital power supplies offer advantages such as high control precision, flexibility, and integration, and are widely used in power control and automatic testing systems. A single-channel digital power supply system typically includes a controller, a digital-to-analog converter (DAC, as the driver), an analog-to-digital converter (ADC, as the feedback source), a power amplifier, and current sampling resistors. Each channel can be connected to the load via a 2-wire, 3-wire, or 4-wire Kelvin connection. Due to hardware limitations, there is a maximum output current limit for a single channel. When the load requires a large current exceeding the single-channel limit, multiple channels must be connected in parallel to output the power.
[0003] There are currently three main ways to achieve multi-channel parallel connection: The first is to turn off the digital loop feedback of the slave channel and directly transmit the DAC value or DAC analog output of the master channel to the slave channel to achieve open-loop replication of the output capability; the second is to transmit the current measurement value of the master channel to the slave channel as the reference input value of its digital loop, so that the slave channel follows the output of the master channel; the third is to distribute the target output current evenly to each channel as the reference input.
[0004] In the existing methods, the first method has extremely stringent hardware consistency requirements for multi-channel analog characteristics. Even slight analog differences can lead to deterioration in output accuracy or even backflow of current between channels, burning out the devices. In the second method, due to the inherent time delay in the establishment of the digital loop and analog link in the main channel, the slave channel uses the current measurement value with this delay as a reference input, resulting in a significant phase difference between the outputs of the main channel and the slave channel. When outputting high-frequency dynamic signals or carrying large-value resistors, the peak amplitude cannot be reached. Furthermore, increasing the loop gain under the influence of this phase difference can easily induce severe system oscillations. The third method, when the power supply is operating in constant voltage source mode, cannot pre-allocate the target current because the actual impedance of the unknown load cannot be predicted in advance, thus severely limiting its applicability. Summary of the Invention
[0005] This invention provides a method, device, and medium for parallel dynamic control of digital power supply channels based on DAC value synchronization. It addresses the problems of existing parallel control methods for digital power supply channels, which suffer from inherent phase differences and amplitude attenuation in the master and slave channel outputs due to analog and digital loop delays. These problems can easily lead to output oscillations and mutual current backflow between channels, burning out hardware, under high-frequency or high-load conditions, and are difficult to universally adapt to different output modes.
[0006] The core technology of this invention is to directly superimpose the DAC input value output by the main channel digital loop onto the DAC input of each slave channel as a feedforward basis, and configure each slave channel as a current mode with 0 as the reference input and the difference between its own current measurement value and the current measurement value of the main channel as the closed-loop feedback, so as to achieve dynamic current sharing control with multiple channels in phase and without backflow under the trigger of a unified clock signal.
[0007] In a first aspect, the present invention provides a dynamic control method for parallel digital power supply channels based on DAC value synchronization, applicable to a digital power supply system including a main channel and at least one slave channel connected in parallel to supply power to a load, comprising the following steps: Based on the reference input value and feedback measurement value of the main channel, the DAC input value of the main channel is calculated by the digital loop controller of the main channel; The DAC input value of the main channel and the current measurement value of the main channel are synchronously transmitted to each slave channel; Configure each slave channel to current operating mode and set the reference input value of each slave channel to 0; For any slave channel, the difference between the current measurement value of the slave channel and the current measurement value of the master channel is obtained as the digital loop feedback value of the slave channel, and the slave channel loop output value is calculated by the digital loop controller of the slave channel based on the digital loop feedback value. The main channel DAC input value is summed with the slave channel loop output value to obtain the slave channel DAC input value, and then the slave channel DAC input value is input into the slave channel DAC. The digital loop synchronization adjustment of the master channel and each slave channel is triggered by the same synchronous clock signal.
[0008] Furthermore, both the digital loop controller of the main channel and the digital loop controllers of each slave channel adopt the PID control algorithm with a derivative coefficient D=0; For any slave channel, input the current error value of its digital loop controller. The output formula of the digital loop controller is determined by subtracting the digital loop feedback value from the reference input value of 0.
[0009] Where P is the scaling factor and I is the integral factor. To calculate the output value from the channel loop, This represents the error value from the i-th historical sampling.
[0010] Furthermore, based on the reference input value and feedback measurement value of the main channel, the main channel DAC input value is calculated by the main channel's digital loop controller, including: When the system is configured in voltage output mode, the reference input value of the main channel is set to the user-defined voltage value, and the voltage measurement value of the main channel is used as the feedback measurement value of the main channel. When the system is configured in current output mode, the reference input value of the main channel is set to... The current measurement value of the main channel is used as the feedback measurement value of the main channel, where... Set the total current value for the user, where N is the total number of channels.
[0011] Furthermore, the method also includes: In voltage output mode, a clamping current is set for the main channel. When the measured current value of the main channel exceeds the clamping current, the operating mode of the main channel is switched to current operating mode. In current output mode, a clamping voltage is set for the main channel. When the voltage measurement value of the main channel exceeds the clamping voltage, the operating mode of the main channel is switched to voltage operating mode.
[0012] Furthermore, the method also includes: Each slave channel remains in current operating mode during operation and no clamping value is set; An alarm voltage is configured for each slave channel. When the voltage measurement value of any slave channel exceeds the alarm voltage, the digital loop operation of that slave channel is stopped, and the output connection switch of that slave channel is controlled to disconnect the electrical connection with the load.
[0013] Furthermore, based on the same synchronization clock signal, the digital loop synchronization adjustment of the master channel and each slave channel is triggered, including: After the output connection switches of the main channel and each slave channel are closed to connect the load, the controller generates a trigger signal to start the counter; A pre-set frequency periodic synchronous clock signal is generated by a counter, and the main channel and each slave channel are driven to synchronously perform ADC sampling, loop calculation and DAC output update based on the synchronous clock signal.
[0014] Furthermore, the main channel and each slave channel are connected to the load in parallel via a 2-wire, 3-wire, or 4-wire Kelvin connection, and the data synchronization and loop control between the channels are centrally executed by a shared controller.
[0015] Secondly, the present invention provides a parallel dynamic control device for digital power supply channels based on DAC value synchronization, applied to a digital power supply system including a main channel and at least one slave channel connected in parallel to supply power to a load, comprising: The main channel control module is used to calculate the main channel DAC input value based on the main channel reference input value and feedback measurement value through the main channel digital loop controller; The data synchronization module is used to synchronously transmit the DAC input value of the main channel and the current measurement value of the main channel to each slave channel. The slave channel control module is used to configure each slave channel to current operating mode and set the reference input value of each slave channel to 0. For any slave channel, the difference between the current measurement value of the slave channel and the current measurement value of the master channel is obtained as the digital loop feedback value of the slave channel, and the slave channel loop output value is calculated by the digital loop controller of the slave channel based on the digital loop feedback value. The DAC value synthesis module is used to sum the main channel DAC input value and the slave channel loop output value to obtain the slave channel DAC input value, and then input the slave channel DAC input value into the slave channel DAC. The synchronous trigger module is used to trigger the digital loop synchronous adjustment of the master channel and each slave channel based on the same synchronous clock signal.
[0016] Thirdly, the present invention provides an electronic device including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to execute the above-described method for parallel dynamic control of digital power channels based on DAC value synchronization.
[0017] Fourthly, the present invention provides a readable storage medium storing a computer program, which, when executed by a processor, implements the above-described method for parallel dynamic control of digital power channels based on DAC value synchronization.
[0018] The main contributions and innovations of this invention are as follows: 1. This invention sets the digital loop feedback value of the slave channel as the difference between the slave channel current measurement value and the master channel current measurement value. Since the current measurements of the slave and master channels are theoretically in phase, using this difference as the feedback value essentially eliminates the measurement delay caused by the transmission of the master channel current measurement value through the digital loop and analog link in existing technologies, thereby avoiding the phase difference problem between the output currents of the master and slave channels. Test results show that when using this method, the current phases of the master and slave channels remain completely consistent under various test conditions.
[0019] 2. Because the current phase of the master and slave channels is synchronized, the output capabilities of each channel can be effectively superimposed. Under high-frequency signal output or large load resistance conditions, the total output voltage or current amplitude can reach the user's expected value, solving the problem of insufficient amplitude in existing follower solutions.
[0020] 3. This invention uses the DAC input value of the main channel as the feedforward basis for the DAC input value of the slave channel, ensuring that the digital loop output of the slave channel always operates near zero, aligning the operating point of the slave channel with that of the main channel. This not only reduces the adjustment difficulty of the slave channel's digital loop and shortens the time for the system to establish a stable output, but also provides a physical basis for in-phase comparison of the currents of the slave and main channels. Based on this, combined with differential feedback and zero-reference input control, the current between channels is less likely to backflow, the system output is less prone to oscillation, and the algorithm's control capability and robustness are significantly enhanced.
[0021] 4. The control method of the present invention does not rely on the pre-calculation of the load current and achieves automatic current sharing based on real-time current tracking. Therefore, it is applicable in parallel scenarios where digital power supplies are used as voltage or current sources, overcoming the limitation of the existing third parallel connection method which is only applicable to current source mode.
[0022] 5. Unlike the existing method of directly copying DAC values or output voltage, this invention achieves dynamic current sharing control through closed-loop feedback of the digital loop. It does not rely on the consistency of analog hardware characteristics between channels, and can be applied to circuit systems with low hardware channel consistency, thus reducing the requirements for hardware matching accuracy.
[0023] Details of one or more embodiments of the present invention are set forth in the following drawings and description, so that other features, objects and advantages of the invention will be more readily understood. Attached Figure Description
[0024] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this invention, illustrate exemplary embodiments of the invention and are used to explain the invention, but do not constitute an undue limitation of the invention. In the drawings: Figure 1 This is a schematic diagram of the structure of a digital power supply. Figure 2 This is a schematic diagram of the loop control principle for measuring current from the primary channel following the secondary channel in the existing technology. Figure 3 This is a schematic diagram of the dynamic loop control for DAC value synchronization in this invention. Figure 4 The output waveform of the parallel channels under test 1 condition is shown in voltage mode, with a load of 99.8Ω and two channels in parallel, using the existing method of measuring current from the slave channel following the master channel. Figure 5 The output waveform of the channels in parallel under test 1 condition is shown in voltage mode, load 99.8Ω, 2 channels in parallel, using the DAC value synchronization dynamic control loop method of the present invention. Figure 6The output waveform of the parallel channels under test 2 conditions is shown in the existing method of measuring current by following the master channel from the slave channel (current mode, load 99.8Ω, 2 channels in parallel). Figure 7 The output waveform of the channels in parallel under test 2 conditions is shown in the figure (current mode, load 99.8Ω, 2 channels in parallel) using the DAC value synchronization dynamic control loop method of the present invention. Figure 8 The output waveform of the parallel channels under test 3 conditions is shown in voltage mode, with a load of 501.56Ω and two channels in parallel, using the existing method of measuring current from the slave channel following the master channel. Figure 9 The output waveform of the channels in parallel under test condition 3 is shown in voltage mode, load 501.56Ω, 2 channels in parallel, using the DAC value synchronization dynamic control loop method of the present invention. Figure 10 The output waveform of the parallel channels under test 4 conditions is shown in the existing method of measuring current from the slave channel following the master channel (current mode, load 501.56Ω, 2 channels in parallel). Figure 11 The output waveform of the channels in parallel under test 4 conditions is shown in the form of the DAC value synchronization dynamic control loop method of the present invention (current mode, load 501.56Ω, 2 channels in parallel). Figure 12 The output waveform of the parallel channels under test 5 conditions is shown in the existing method of measuring current from the slave channel following the master channel (current mode, load 99.8Ω, 3 channels in parallel). Figure 13 The output waveform of the channels in parallel under test 5 conditions is shown in the form of the DAC value synchronization dynamic control loop method of the present invention (current mode, load 99.8Ω, 3 channels in parallel). Detailed Implementation
[0025] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with one or more embodiments of this specification. Rather, they are merely examples of apparatuses and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.
[0026] It should be noted that the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification in other embodiments. In some other embodiments, the methods may include more or fewer steps than described in this specification. Furthermore, a single step described in this specification may be broken down into multiple steps in other embodiments; and multiple steps described in this specification may be combined into a single step in other embodiments.
[0027] I. Hardware Architecture of Digital Power System like Figure 1 As shown, the digital power supply system provided in this embodiment of the invention includes a shared controller and multiple output channels (including (master) channel 1, (slave) channel 2... (slave) channel N+1, where N is an integer greater than or equal to 1, and the total number of parallel channels is N+1). Each output channel is symmetrical in hardware circuit topology. The single-channel circuit system mainly consists of a digital-to-analog converter (DAC, as the driver source), an analog-to-digital converter (ADC, including a current ADC for current sampling and a voltage ADC for voltage sampling, as the feedback source), a power amplifier, and a current sampling resistor. It consists of circuits such as output connection switches.
[0028] Each channel's output terminal is connected in parallel to the high end of a common load via its own output connection switch, with the low ends sharing a common ground (GND), forming a multi-channel parallel power supply topology. The system supports 2-wire, 3-wire, or 4-wire Kelvin connection methods for connecting load resistors. :exist Figure 1 In the 2-wire connection shown, the high and low terminals of the output circuit are internally connected to the high and low terminals of the measurement circuit, respectively, and then led out and connected to the load resistor. In the 4-wire connection method, all output circuit lines and measurement circuit lines are directly and independently led out and connected to the load resistor. Both ends are designed to eliminate the impact of line impedance on high-precision sampling. All channel output connection switches are centrally managed by the controller, which centrally executes data synchronization and loop control between channels.
[0029] II. Dynamic Loop Control Principle When multiple channels operate in parallel, the system designates one channel as the master channel (e.g., channel 1) and the remaining channels as slave channels (e.g., channels 2 to N+1). The master channel operates according to the user-defined output mode, which can be configured as voltage mode or current mode; all slave channels are always configured in current operating mode.
[0030] like Figure 3 The diagram shown is a schematic of the dynamic loop control principle for DAC value synchronization according to an embodiment of the present invention. Figure 3 middle, This represents the input reference value for each channel. This represents the transfer function response of the digital loop controller. This represents the integrated hardware response of the digital-to-analog converter (DAC), analog links (including power amplifiers, sampling resistors, etc.), and analog-to-digital converter (ADC) sampling.
[0031] In the main channel control loop: The main channel operates according to the set working mode, and the input reference value of the main channel is... The error signal is compared with the ADC measurement value (voltage ADC measurement value or current ADC measurement value) of the main channel, and the difference is input to the digital loop controller of the main channel. By controller The main channel DAC input value is processed and output. This input value is directly input to the main channel's digital-to-analog converter (DAC), amplified, and then output to the load. Simultaneously, it is sampled in real-time by the ADC to form a closed loop for the main channel.
[0032] In the slave channel control loop, the control structure of each slave channel is improved collaboratively in the following three dimensions: 1. Input Reference Value Setting: Set all digital loop input reference values from the slave channels to a constant value. .
[0033] 2. Feedback signal reconstruction: The feedback value of each slave channel digital loop is reconstructed as "the difference between the current ADC measurement value of this slave channel and the current ADC measurement value of the master channel".
[0034] 3. DAC drive value synthesis: The DAC input value of each slave channel is reconstructed into the sum of the master channel DAC input value and the digital loop controller value of this slave channel. Output the sum of the values.
[0035] By using the master channel DAC input value as a feedforward basis for direct synchronous broadcasting and superimposing it onto the input terminals of each slave channel DAC, each slave channel can obtain the same master drive quantity as the master channel in real time. The slave channel's own digital loop controller... It only needs to compensate for minor differences in analog hardware between channels, thus the output of the channel controller always remains near 0 in steady state, significantly shortening the loop setup time. Since the current sampling of the main channel and each slave channel is theoretically in phase, the differential feedback structure physically eliminates the phase lag caused by the main channel loop setup delay in traditional cascaded tracking schemes, preventing current backflow and output oscillation between multiple channels.
[0036] III. Specific Implementation Steps of the Control Method The specific execution steps of the parallel dynamic control method for digital power supply channels based on DAC value synchronization in this invention are as follows: Step 1: Initial configuration of channel working mode When the user configures the digital power supply to enter the parallel operation mode, the controller will configure the master channel to the user-defined output mode (voltage mode or current mode) and force all slave channels to be configured to current mode. Each slave channel will remain in current mode throughout operation without mode switching.
[0037] Step 2: Setting the main channel digital loop parameters Configure the input reference value and feedback source of the main channel digital loop according to the user-defined output mode: When the user sets the system to operate in voltage output mode, the input reference value of the main channel digital loop is... Set to the user-defined voltage value; the digital loop feedback signal is the voltage ADC measurement value of the main channel.
[0038] When the user sets the system to operate in current output mode, the input reference value of the main channel digital loop is... Set as ,in The total output current value set by the user. This represents the total number of slave channels. The digital loop feedback signal is the current ADC measurement of the master channel. Since each slave channel closely follows the master channel current and the current magnitude is equal in steady state, the signal includes the master channel and... A parallel system of channels (total) In the multiple channels, the current reference value of the main channel is set to the total current. This allows the preset total current output of the entire system to be achieved.
[0039] Step 3: Calculation of the main channel DAC input value Main channel digital loop controller Based on the input reference value of the main channel The difference between the measured value and the feedback value from the main channel is calculated to output the main channel DAC input value. This main channel DAC input value is directly input to the main channel DAC as a digital signal, and after passing through an analog link and power amplification, it is output to the load. Simultaneously, it is sampled by the ADC to form a closed loop.
[0040] Step 4: Synchronous transmission of main channel data The controller synchronously transmits the main channel DAC input value calculated in step 3 and the main channel current measurement value acquired by the main channel current ADC to each slave channel in digital form.
[0041] Step 5: Setting and Calculating Channel Digital Loop Parameters Digital loop input reference values for each channel Set to 0. For any slave channel, obtain the difference between the current measurement value of this slave channel acquired by its current ADC and the current measurement value of the master channel, and use this difference as the feedback value of the digital loop of this slave channel, that is: Feedback value from the channel digital loop
[0042] in, This is the current measurement value from the channel. The current measurement value of the main channel.
[0043] Therefore, the input is from the channel digital loop controller. error value The reference input value is 0 minus the digital loop feedback value, i.e.:
[0044] In the formula, Main channel number The current measurement value of the second sampling, For the channel number The current measurement value of the second sample. When the current in the secondary channel is less than the current in the primary channel, the error value is... When the controller output increases, the input value of the DAC in the slave channel increases, driving the output current of the slave channel to rise; conversely, when the slave channel current is greater than the master channel current, the error value... The controller output decreases, driving the output current from the channel to decrease, thus forming a highly stable negative feedback closed-loop current sharing control.
[0045] Step 6: Synthesis of channel DAC input values From the channel digital loop controller Based on error value The output value of the slave channel loop is obtained after calculation by the control algorithm. The slave channel DAC input value is then set to the sum of the master channel DAC input value and the slave channel loop output value.
[0046] in, Main channel DAC input value, This is the digital loop output value of the slave channel. The synthesized slave channel DAC input value. The input to this channel's DAC is driven by a power amplifier and then output.
[0047] Step 7: Global Synchronization Timing Control Once the main channel and each slave channel are connected to the load via their respective output connection switches, the controller generates a trigger signal to initiate a preset periodic timing sequence. In this embodiment, a 1MHz synchronous clock signal generated by a hardware counter is used. This synchronous clock signal drives the main channel and all slave channels to synchronously perform ADC sampling, loop calculation, and DAC output updates at the same clock beat, ensuring that the entire system is strictly coordinated and adjusted in step.
[0048] IV. Control Algorithm and Protection Mechanism (a) Control Algorithm In this embodiment, the digital loop controllers of both the main channel and each slave channel employ a proportional-integral-derivative (PID) control algorithm, and the derivative coefficients... For any slave channel, the discrete positional output formula of its digital loop controller is:
[0049] In the formula, This is the proportionality coefficient; The integral coefficient; For the first The controller's output value at the next sampling time; For the first Error value of the second sampling; For the first time in history Error value of the second sampling; This is the current sampling sequence number.
[0050] The output formula of the master channel digital loop controller is the same as that of the slave channel; the difference lies in the error value of the master channel. It is determined by subtracting the feedback measurement value of the main channel (voltage measurement value in voltage mode, current measurement value in current mode) from the reference input value of the main channel.
[0051] (ii) Main channel clamping protection When the main channel is configured in voltage output mode, a clamping current value is set for the main channel. During operation, if the current ADC measurement value of the main channel exceeds this clamping current value, the controller automatically switches the main channel's operating mode to current mode, using the clamping current value as the reference input in current mode to limit the output current within a safe range.
[0052] When the main channel is configured in current output mode, a clamping voltage value is set for the main channel. During operation, if the voltage ADC measurement value of the main channel exceeds this clamping voltage value, the controller automatically switches the main channel's operating mode to voltage mode, using the clamping voltage value as the reference input in voltage mode to limit the output voltage within a safe range.
[0053] (iii) Independent protection from the channel Each slave channel remains in current-mode operation throughout the entire process, without setting a clamping value or switching modes based on the clamping value. The digital loop feedback value of each slave channel is always the difference between the current measurement value of that slave channel and the current measurement value of the master channel.
[0054] Each slave channel is configured with an independent alarm voltage threshold. During operation, when the voltage ADC measurement value of any slave channel exceeds the alarm voltage threshold, the controller immediately stops the digital loop operation of that slave channel and controls the corresponding output connection switch to disconnect, thus breaking the physical electrical connection between the slave channel and the load and isolating the faulty channel from the parallel system.
[0055] V. Comparative Test Examples To verify the technical effectiveness of the control method of this invention compared to traditional parallel control schemes, comparative tests were conducted under different load resistance values, different output modes, different numbers of parallel channels, and high-frequency sinusoidal wave conditions. The traditional schemes used for comparison include... Figure 2 As shown, a cascaded follower control method is adopted, which directly uses the measured value of the main channel current as the reference input of the slave channel. In each test case, the controller uses the PID algorithm. ).
[0056] Test Example 1: Voltage Output Mode Test under Low Impedance Load (2 Channels in Parallel) Test conditions: The system contains one master channel and one slave channel (two channels in parallel), load resistance... The channel voltage range is The current range is The desired output signal is frequency. Peak-to-peak value The sinusoidal voltage signal.
[0057] like Figure 4 The results shown are from the traditional following method, with the main channel PID parameters configured as follows: Configure the channel PID parameter as follows .Depend on Figure 4 It can be seen that there is a significant phase difference between the current waveforms of the main channel and the slave channel, and the output voltage amplitude fails to reach the expected set value; if the digital loop parameters are further increased in an attempt to increase the amplitude, the system exhibits severe output oscillation.
[0058] like Figure 5 The results shown are the test results obtained using the method of this invention. The main channel PID parameters are configured as follows: Configure the channel PID parameter as follows .Depend on Figure 5As can be seen, after adopting the solution of the present invention, the output current phases of the main channel and the slave channel are completely coincident, the output voltage and current amplitudes accurately reach the preset target values, and the waveform is smooth and without distortion.
[0059] Test Example 2: Current Output Mode Test under Low Impedance Load (2 Channels in Parallel) Test conditions: The system contains one master channel and one slave channel (two channels in parallel), load resistance... The channel voltage range is The current range is The desired output signal is frequency. Peak-to-peak value The sinusoidal current signal.
[0060] like Figure 6 The results shown are from the traditional following method, with the main channel PID parameters configured as follows: Configure the channel PID parameter as follows .Depend on Figure 6 It can be seen that the channel current lags behind the main channel current, there is a significant phase difference, and the peak amplitude is limited and fails to reach the set value.
[0061] like Figure 7 The results shown are the test results obtained using the method of this invention. The main channel PID parameters are configured as follows: Configure the channel PID parameter as follows .Depend on Figure 7 It can be seen that the current phases of the main channel and the slave channel are completely synchronized, and the amplitudes of both reach the set target, resulting in a rapid and stable dynamic response of the system.
[0062] Test Example 3: Voltage Output Mode Test under High Impedance Load (2 Channels in Parallel) Test conditions: Increase the load resistance to The channel voltage range is The current range is The desired output signal is frequency. Peak-to-peak value A sinusoidal voltage signal, with two channels connected in parallel.
[0063] like Figure 8 The results shown are from the traditional following method, with the main channel PID parameters configured as follows: Configure the channel PID parameter as follows .contrast Figure 4 and Figure 8 It can be seen that as the load resistance increases, the phase lag phenomenon of the traditional method becomes more serious; in order to avoid system divergence and oscillation, the PID loop parameters can only be significantly reduced, which leads to a further deterioration of the deviation between the actual output amplitude and the set value.
[0064] like Figure 9 The results shown are the test results obtained using the method of this invention. The main channel PID parameters are configured as follows: Configure the channel PID parameter as follows .Depend on Figure 9 It can be seen that under high-impedance, large-signal operating conditions, the current waveforms of the master and slave channels still maintain strict in-phase output, and both the voltage and current peak values accurately meet the standards (peak-to-peak value reaches...). It exhibits extremely strong robustness.
[0065] Test Example 4: Current Output Mode Test under High Impedance Load (2 Channels in Parallel) Test conditions: Load resistance The channel voltage range is The current range is The desired output signal is frequency. Peak-to-peak value A sinusoidal current signal, with two channels connected in parallel.
[0066] like Figure 10 The results shown are from the traditional following method, with the main channel PID parameters configured as follows: Configure the channel PID parameter as follows .Depend on Figure 10 It can be seen that the phase difference of the traditional solution is further widened under a large load, and the output current waveform is severely distorted and does not reach the set amplitude.
[0067] like Figure 11 The results shown are the test results obtained using the method of this invention. The main channel PID parameters are configured as follows: Configure the channel PID parameter as follows .Depend on Figure 11 It can be seen that, under the method of the present invention, the output current waveforms of the master and slave channels highly overlap, and the amplitude fully reaches the preset value. Peak-to-peak values, the system did not experience any oscillations or instability.
[0068] Test Example 5: Multi-channel expansion application test (3 channels in parallel) Test conditions: The system is expanded to include 1 master channel and 2 slave channels (slave channel 1 and slave channel 2, a total of 3 channels in parallel), load resistance... The channel voltage range is The current range is The desired output signal is frequency. Peak-to-peak value The sinusoidal current signal. Since the system has three channels in parallel, the reference value of the main channel current is set to... .
[0069] like Figure 12The results shown are from the traditional following method, with the main channel PID parameters configured as follows: Configure the channel PID parameter as follows .Depend on Figure 12 It can be seen that when the three channels are connected in parallel, there is a significant phase difference between the main channel, slave channel 1 and slave channel 2, the output amplitude is significantly attenuated, and the current sharing performance of the system is greatly deteriorated.
[0070] like Figure 13 The results shown are the test results obtained using the method of this invention. The main channel PID parameters are configured as follows: Configure the channel PID parameter as follows .Depend on Figure 13 It can be seen that the voltage and current waveforms of the main channel, slave channel 1, and slave channel 2 are completely in phase, and the current of all channels achieves a strict 1:1:1 even distribution output. The total output accurately reaches the preset amplitude, which verifies the excellent adaptability of the present invention in large-scale multi-channel parallel expansion scenarios.
[0071] VI. Examples of Control Devices, Electronic Equipment, and Media This invention also provides a parallel dynamic control device for digital power channels based on DAC value synchronization. This device operates in the shared controller of the digital power system and includes the following functional modules: Main channel control module: Used to calculate the main channel DAC input value through the main channel digital loop controller based on the main channel reference input value and feedback measurement value.
[0072] Data synchronization module: used to synchronously transmit the DAC input value of the main channel and the current measurement value of the main channel to each slave channel in digital form.
[0073] Slave Channel Control Module: Configures each slave channel to current operating mode and sets the reference input value of each slave channel to 0; for any slave channel, obtains the difference between the current measurement value of the slave channel and the current measurement value of the master channel as the digital loop feedback value of the slave channel, and calculates the slave channel loop output value based on the digital loop feedback value by the digital loop controller of the slave channel.
[0074] DAC value synthesis module: used to sum the main channel DAC input value and the slave channel loop output value to obtain the slave channel DAC input value, and input the slave channel DAC input value into the slave channel DAC.
[0075] Synchronization trigger module: used to trigger the digital loop synchronization adjustment of the master channel and each slave channel based on the same synchronization clock signal.
[0076] This invention also provides an electronic device, including a memory and one or more processors. The memory stores an executable computer program, which the processor calls and runs to implement the various steps of the control method described in the foregoing embodiments.
[0077] This invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the control method described in the foregoing embodiments. This storage medium includes, but is not limited to, various non-volatile or volatile data storage media such as ROM, RAM, magnetic disks, and optical disks.
[0078] Those skilled in the art should understand that 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 have been 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.
[0079] The above embodiments are merely illustrative of several implementations of the present invention, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the appended claims.
Claims
1. A method for parallel dynamic control of digital power supply channels based on DAC value synchronization, applied to a digital power supply system including a main channel and at least one slave channel connected in parallel to supply power to a load, characterized in that, Includes the following steps: The main channel DAC input value is calculated by the digital loop controller of the main channel based on the reference input value and feedback measurement value of the main channel. The main channel DAC input value and the main channel current measurement value are synchronously transmitted to each of the slave channels; Each of the slave channels is configured to current operating mode, and the reference input value of each of the slave channels is set to 0; For any of the slave channels, the difference between the current measurement value of the slave channel and the current measurement value of the master channel is obtained as the digital loop feedback value of the slave channel, and the slave channel loop output value is calculated by the digital loop controller of the slave channel based on the digital loop feedback value. The main channel DAC input value is summed with the slave channel loop output value to obtain the slave channel DAC input value, and then the slave channel DAC input value is input into the DAC of the slave channel. The digital loop synchronization adjustment of the master channel and each of the slave channels is triggered based on the same synchronous clock signal.
2. The parallel dynamic control method for digital power supply channels based on DAC value synchronization as described in claim 1, characterized in that, The digital loop controller of the main channel and the digital loop controllers of each of the slave channels both adopt the PID control algorithm with a differential coefficient D=0. For any of the aforementioned slave channels, input the current error value of its digital loop controller. The output formula of the digital loop controller is determined by subtracting the digital loop feedback value from the reference input value of 0. Where P is the scaling factor and I is the integral factor. To calculate the output value from the channel loop, This represents the error value from the i-th historical sampling.
3. The parallel dynamic control method for digital power supply channels based on DAC value synchronization as described in claim 1, characterized in that, Based on the reference input value and feedback measurement value of the main channel, the main channel DAC input value is calculated by the digital loop controller of the main channel, including: When the system is configured in voltage output mode, the reference input value of the main channel is set to the user-defined voltage value, and the voltage measurement value of the main channel is used as the feedback measurement value of the main channel. When the system is configured in current output mode, the reference input value of the main channel is set to... The current measurement value of the main channel is used as the feedback measurement value of the main channel, wherein... Set the total current value for the user, where N is the total number of the slave channels.
4. The parallel dynamic control method for digital power supply channels based on DAC value synchronization as described in claim 3, characterized in that, The method further includes: In the voltage output mode, a clamping current is set for the main channel. When the current measurement value of the main channel exceeds the clamping current, the operating mode of the main channel is switched to the current operating mode. In the current output mode, a clamping voltage is set for the main channel. When the voltage measurement value of the main channel exceeds the clamping voltage, the operating mode of the main channel is switched to voltage operating mode.
5. The method for parallel dynamic control of digital power supply channels based on DAC value synchronization as described in claim 1, characterized in that, The method further includes: Each of the aforementioned channels remains in current operating mode during operation and no clamping value is set; An alarm voltage is configured for each of the slave channels. When the voltage measurement value of any slave channel exceeds the alarm voltage, the digital loop operation of that slave channel is stopped, and the output connection switch of that slave channel is controlled to disconnect the electrical connection with the load.
6. The method for parallel dynamic control of digital power supply channels based on DAC value synchronization as described in claim 1, characterized in that, Based on the same synchronous clock signal, the digital loop synchronization adjustment of the master channel and each of the slave channels is triggered, including: After the output connection switches of the main channel and each of the slave channels are closed to connect the load, the controller generates a trigger signal to start the counter; The counter generates a periodic synchronization clock signal with a preset frequency, and the master channel and each of the slave channels are driven to synchronously perform ADC sampling, loop calculation and DAC output update based on the synchronization clock signal.
7. A method for parallel dynamic control of digital power supply channels based on DAC value synchronization as described in any one of claims 1 to 6, characterized in that, The main channel and each of the slave channels are connected in parallel to the load via a 2-wire, 3-wire, or 4-wire Kelvin connection, and a shared controller centrally performs data synchronization and loop control between the channels.
8. A dynamic control device for parallel connection of digital power supply channels based on DAC value synchronization, applied to a digital power supply system including a main channel and at least one slave channel connected in parallel to supply power to a load, characterized in that, include: The main channel control module is used to calculate the main channel DAC input value through the digital loop controller of the main channel based on the reference input value and feedback measurement value of the main channel. A data synchronization module is used to synchronously transmit the main channel DAC input value and the main channel current measurement value to each of the slave channels; The slave channel control module is used to configure each slave channel to current operating mode and set the reference input value of each slave channel to 0; for any slave channel, the difference between the current measurement value of the slave channel and the current measurement value of the master channel is obtained as the digital loop feedback value of the slave channel, and the slave channel loop output value is calculated by the digital loop controller of the slave channel based on the digital loop feedback value. The DAC value synthesis module is used to sum the main channel DAC input value and the slave channel loop output value to obtain the slave channel DAC input value, and input the slave channel DAC input value into the DAC of the slave channel; The synchronization trigger module is used to trigger the digital loop synchronization adjustment of the master channel and each of the slave channels based on the same synchronization clock signal.
9. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the parallel dynamic control method for digital power channels based on DAC value synchronization as described in any one of claims 1 to 7.
10. A readable storage medium, characterized in that, The readable storage medium stores a computer program that, when executed by a processor, implements the parallel dynamic control method for digital power channels based on DAC value synchronization as described in any one of claims 1 to 7.
