Multi-channel power supply and output control method for multi-channel power supply
By delaying execution of power output control instructions on each power output channel of the multi-channel power supply, the problem of the inability to accurately control the multi-channel power supply timing in the prior art is solved, and precise timing control of the output power signal of each channel is realized, reducing R&D costs.
Patent Information
- Application Number
- CN202510212872.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-26
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2045-02-26
AI Technical Summary
Existing multi-channel power supplies cannot achieve precise control of the timing relationship of the output power signal of each channel, resulting in the need to design a dedicated power supply power supply in multi-load power supply scenarios, increasing time and equipment development costs.
By obtaining the timing parameters of each power output channel, sending power output control instructions, and executing instructions after receiving the command by a preset delay time ΔT after each power output channel receives the command, precise time control of each power output channel is achieved.
Accurate timing control of the output power signal of each channel of multi-channel power supply is realized, reducing the need to design dedicated power supply power in multi-load power supply scenarios, and reducing time and equipment R&D costs.
Smart Images

Figure CN119689912B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power supply control, and in particular to a multi-channel power supply and an output control method for the multi-channel power supply. Background Art
[0002] In order to synchronously supply power to multiple loads or a high-power load, a multi-channel power supply is required to supply power to each load separately, or multiple channel power supplies of the multi-channel power supply are connected in series and parallel to supply power to the high-power load. In the application scenario with multiple loads, it is necessary to turn on or off the power supply to multiple loads in sequence at preset time intervals. However, the communication method of the multi-channel power supply in the prior art cannot achieve precise control of the timing relationship of the output electrical signal of each channel. For this special application environment, the multi-load power supply scenario generally requires the design of a dedicated power supply, which greatly increases the time cost and equipment R&D cost. Summary of the invention
[0003] The technical problem to be solved by the present application is how to achieve precise timing control of the power supply signals output by each channel based on the existing multi-channel power supply.
[0004] According to a first aspect, an embodiment provides an output control method for a multi-channel power supply, comprising:
[0005] Acquire a timing parameter for identifying an output power signal of each power output channel of the multi-channel power supply; the timing parameter includes a time when each power output channel of the multi-channel power supply is turned on or off;
[0006] Sending a power output control instruction to each of the power output channels in a preset channel arrangement order; the power output control instruction includes a timing parameter corresponding to the output power signal of each of the power output channels;
[0007] After each of the power output channels receives the power output control instruction, it delays for a preset delay time ΔT before executing the power output control instruction; wherein the delay time ΔT of each of the power output channels is related to the time difference of each of the power output channels receiving the power output control instruction.
[0008] In one embodiment, the method for obtaining the delay time ΔT of each power output channel delay includes:
[0009] Acquire the time when each of the power output channels receives the power output control instruction according to the preset channel arrangement order;
[0010] The time difference between each power output channel and the power output channel that receives the power output control instruction last receives the power output control instruction as the delay time ΔT of the power output channel.
[0011] In one embodiment, the output control method further includes:
[0012] The power signals output by at least two of the power output channels are connected in series or in parallel and then used as the power output of the multi-channel power supply.
[0013] In one embodiment, the timing parameters of the power signal output by each power output channel of the multi-channel power supply are used to identify whether the power output channel of the multi-channel power supply is turned on or off synchronously or asynchronously.
[0014] According to a second aspect, an embodiment provides a multi-channel power supply, which is applied to the output control method as described in the first aspect, wherein the multi-channel power supply includes a main control unit, a communication unit, and a slave control unit; each of the slave control units is used as a power output channel of the multi-channel power supply to output a power signal of a preset power output parameter;
[0015] The main control unit includes a main control module and an input module, wherein the input module is used to obtain the power output parameters of the power signal output by each power output channel through human-computer interaction; the main control module is used to send the control instruction containing the power output parameters to the slave control unit through the communication unit;
[0016] The communication unit comprises the same number of isolation communication modules as the slave control units, each of the isolation communication modules being connected between the main control module and one slave control unit and being used for interactive communication between the main control unit and the slave control unit;
[0017] The slave control unit includes a slave control module and a power output module. The slave control module is used to receive the control instruction and output a power signal with preset power output parameters through the power output module.
[0018] In one embodiment, the isolated communication module includes an isolated data communication circuit and an isolated upgrade communication circuit, and the isolated data communication circuit is connected between the main control module and the slave control module, and is used for serial communication when the main control module and the slave control module interact with each other through data electrical signals; wherein the data electrical signal includes power output parameters of the output power of each power output channel obtained by setting and / or monitoring;
[0019] The isolated upgrade communication circuit is connected between the main control module and the slave control module, and is used for serial communication when the main control module performs software upgrade on the slave control module;
[0020] The isolated data communication circuit and the isolated upgrade communication circuit are respectively universal asynchronous receiver-transmitters using optocoupler isolation technology.
[0021] In one embodiment, the isolated data communication circuit includes a first multi-channel digital isolation chip U1, and the isolated upgrade communication circuit includes a second multi-channel digital isolation chip U2; the first multi-channel digital isolation chip U1 and the second multi-channel digital isolation chip U2 are used as four-channel digital isolators; the first multi-channel digital isolation chip U1 and the second multi-channel digital isolation chip U2 respectively include a first connection terminal VCC1, a second connection terminal GND1, a third connection terminal INA, a fourth connection terminal INB, a fifth connection terminal INC, a sixth connection terminal OUTD, a seventh connection terminal EN1, an eighth connection terminal GND2, a ninth connection terminal GND3, a tenth connection terminal EN2, an eleventh connection terminal IND, a twelfth connection terminal OUTC, a thirteenth connection terminal OUTB, a fourteenth connection terminal OUTA, a fifteenth connection terminal GND4 and a sixteenth connection terminal VCC2;
[0022] The third connection terminal INA, the fourth connection terminal INB, the fifth connection terminal INC and the sixth connection terminal OUTD of the first multi-channel digital isolation chip U1 and the second multi-channel digital isolation chip U2 are connected to the main control module, and the eleventh connection terminal IND, the twelfth connection terminal OUTC, the thirteenth connection terminal OUTB and the fourteenth connection terminal OUTA of the first multi-channel digital isolation chip U1 and the second multi-channel digital isolation chip U2 are electrically connected to the slave control module;
[0023] Among them, a first diode D1 is connected in series between the sixth connection terminal OUTD of the first multi-channel digital isolation chip U1 and the main control module, the anode of the first diode D1 is connected to the sixth connection terminal OUTD of the first multi-channel digital isolation chip U1, and the cathode of the first diode D1 is connected to the main control module; a second diode D2 is connected in series between the sixth connection terminal OUTD of the second multi-channel digital isolation chip U2 and the main control module, the anode of the second diode D2 is connected to the sixth connection terminal OUTD of the second multi-channel digital isolation chip U2, and the cathode of the second diode D2 is connected to the main control module; a third diode D3 is connected in series between the fourteenth connection terminal OUTA of the first multi-channel digital isolation chip U1 and the twelfth connection terminal OUTC of the second multi-channel digital isolation chip U2, the anode of the third diode D3 is connected to the twelfth connection terminal OUTC of the second multi-channel digital isolation chip U2, and the cathode of the third diode D3 is connected to the fourteenth connection terminal OUTA of the first multi-channel digital isolation chip U1.
[0024] In one embodiment, the isolated communication module further includes a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4;
[0025] One end of the first resistor R1 is connected to the cathode of the first diode D1, and the other end is grounded;
[0026] One end of the second resistor R2 is connected to the cathode of the second diode D2, and the other end is grounded;
[0027] A third resistor R3 is connected in series between the twelfth connection terminal OUTC of the second multi-channel digital isolation chip U2 and the slave control module;
[0028] One end of the fourth resistor R4 is connected to the twelfth connection terminal OUTC of the second multi-channel digital isolation chip U2, and the other end of the fourth resistor R4 is used to input a preset voltage signal.
[0029] In one embodiment, the multi-channel power supply includes at least two slave control modules, and the communication unit includes the same number of isolated communication modules as the slave control modules; each of the isolated communication modules is connected to a corresponding slave control module;
[0030] The cathode of each of the first diodes D1 in the isolated data communication circuit is electrically connected, and the cathode of each of the second diodes D2 in the isolated upgrade communication circuit 22 is electrically connected; the fourth connection terminal INB of each of the first multi-channel digital isolation chips U1 is electrically connected, the fifth connection terminal INC of each of the first multi-channel digital isolation chips U1 is electrically connected, and the fifth connection terminal INC of each of the second multi-channel digital isolation chips U2 is electrically connected.
[0031] In one embodiment, the multi-channel power supply also includes an output control module, which is respectively connected to the main control module and each slave control unit of the multi-channel power supply, and each slave control unit is used to serve as one of the power output channels of the multi-channel power supply; the output control module is used to respond to a preset output control electrical signal output by the main control module, and connect the power signals output by at least two slave control units in series and parallel as the output power output of the multi-channel power supply.
[0032] According to the output control method of the above embodiment, by setting the delay time corresponding to each power output channel when each power output channel executes the power output control instruction, each power output channel of the multi-channel power supply with asynchronous communication transmission can be accurately turned on or off according to the timing set by the user, thereby increasing the purpose and function of the multi-channel power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a structural block diagram of a multi-channel power supply;
[0034] Figure 2 It is a schematic diagram of the structural connection of the isolation communication module;
[0035] Figure 3 This is a schematic diagram of the serial communication circuit principle;
[0036] Figure 4 A schematic diagram of circuit connections of an isolated communication module in an embodiment;
[0037] Figure 5 A circuit connection diagram of a communication unit in an embodiment;
[0038] Figure 6 This is a schematic diagram of electrical connections of an output control module in an embodiment;
[0039] Figure 7 A schematic diagram of a flow chart of an output control method in an embodiment;
[0040] Figure 8 This is a schematic diagram of channel delay output of a multi-channel power supply. DETAILED DESCRIPTION
[0041] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0042] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0043] The serial numbers assigned to the components herein, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).
[0044] Multi-channel power supplies used in laboratories often encounter application scenarios where precise timing control of power supply to multiple loads is required. In the prior art, synchronous or asynchronous timing power supply control can be achieved through a switching circuit. However, this method can only meet the scenario where each output channel of the multi-channel power supply outputs a power signal with a fixed preset voltage value. When it is necessary to provide a power signal whose voltage value changes linearly with time, the switching circuit method cannot meet actual needs.
[0045] In the embodiment of the present application, based on the characteristics of the asynchronous communication transmission method of the multi-channel power supply, precise time control of opening and closing of each power output channel is achieved by setting the delay time corresponding to each power output channel when executing the power output control instruction on each power output channel.
[0046] Embodiment 1:
[0047] Please refer to Figure 1 , is a structural block diagram of a multi-channel power supply, which includes a main control unit 1, a communication unit 2 and multiple slave control units 3. The main control unit 1 includes a main control module 11, a display module 12, an external interface module 13 and an input module 14. The input module 14 includes a key panel and / or a touch screen, which is used to set the working electrical parameters of the multi-channel power supply through human-computer interaction (the working electrical parameters include the power output parameters of each channel output power signal). The display module is used to display the working state and power output parameters of the multi-channel power supply. The external interface module 13 is used as an external device connection interface and an interactive interface for control and data output of the multi-channel power supply. The main control module 11 is connected to each slave control unit 3 through the communication unit 2, and is used to set the power output parameters of each slave control unit 3 output power signal. The communication unit 2 includes the same number of isolation communication modules 20 as the slave control unit 3, each isolation communication module 20 is connected between the main control module 11 and a slave control unit 3, and is used for interactive communication between the main control unit 1 and the slave control unit 3. The slave control unit 3 includes a slave control module 31, a power output module 32 and an electrical signal sampling module 33. The slave control module 31 is connected to the isolation communication module 20 and the power output module 32 respectively. The slave control module 31 is used to obtain the power output parameters of the output power signal through the isolation communication module 20, and the power output module 32 outputs the power signal according to the obtained power output parameters. The electrical signal sampling module 33 is used to monitor the power output parameters of the power signal output by the power output module 32. The slave control module 31 is also used to send the monitored power output parameters to the main control module 11 through the isolation communication module 20, so as to display the power output parameters of each power signal output by the slave control unit through the display module 12.
[0048] Please refer to Figure 2 and Figure 3 , is a schematic diagram of the structural connection of the isolated communication module and a schematic diagram of the serial communication circuit principle. The isolated communication module 20 includes an isolated data communication circuit 21 and an isolated upgrade communication circuit 22. The isolated data communication circuit 21 is connected between the main control module 11 and the slave control module 31, and is used for serial communication when the main control module 11 and the slave control module 31 interact with each other in data electrical signals. The isolated upgrade communication circuit 22 is connected between the main control module 11 and the slave control module 31, and is used for serial communication when the main control module 11 performs software upgrades on the slave control module 31. In one embodiment, the isolated data communication circuit 21 and the isolated upgrade communication circuit 22 are respectively universal asynchronous receiver-transmitter (UART) using optocoupler isolation technology. The number of isolated communication modules 20 and slave control modules 31 is the same, and each isolated communication module 20 is connected between the main control module 11 and a slave control module 31, and is used for serial communication between the main control module 11 and the slave control module 31. The master control module 11 and the slave control module 31 include a microcontroller unit (MCU) respectively, and the isolated data communication circuit 21 and the isolated upgrade communication circuit 22 include a universal asynchronous receiver-transmitter (UART) using optocoupler isolation technology to achieve serial port communication between the master control module 11 and the slave control module 31.
[0049] In the prior art, the isolation communication module 20 of the multi-channel power supply only includes an isolation data communication circuit 21, and the control software of the slave control unit 31 is burned once and cannot be upgraded with the subsequent upgrade of the main control unit 1. If the slave control unit 3 has a bug or needs to add functions, it can only be returned to the factory for maintenance. In this embodiment, an isolation upgrade communication circuit 22 is added to the original isolation communication module, so that the main control module 11 can perform software upgrades on the slave control module 31 through the isolation upgrade communication circuit 22, and the post-upgrade maintenance function of the power output channel is added to the existing multi-channel power supply to ensure that the function upgrade of the multi-channel power supply is achieved on the basis of minimal modification of the original circuit.
[0050] Please refer to Figure 4, is a circuit connection diagram of an isolated communication module in an embodiment, the isolated data communication circuit 21 includes a first multi-channel digital isolation chip U1, and the isolated upgrade communication circuit 22 includes a second multi-channel digital isolation chip U2. In one embodiment, the first multi-channel digital isolation chip U1 and the second multi-channel digital isolation chip U2 are used as a four-channel digital isolator. The first multi-channel digital isolation chip U1 and the second multi-channel digital isolation chip U2 respectively include a first connection terminal VCC1, a second connection terminal GND1, a third connection terminal INA, a fourth connection terminal INB, a fifth connection terminal INC, a sixth connection terminal OUTD, a seventh connection terminal EN1, an eighth connection terminal GND2, a ninth connection terminal GND3, a tenth connection terminal EN2, an eleventh connection terminal IND, a twelfth connection terminal OUTC, a thirteenth connection terminal OUTB, a fourteenth connection terminal OUTA, a fifteenth connection terminal GND4 and a sixteenth connection terminal VCC2.
[0051] Please refer to Figure 5 , is a circuit connection diagram of a communication unit in an embodiment, the third connection terminal INA, the fourth connection terminal INB, the fifth connection terminal INC and the sixth connection terminal OUTD of the first multi-channel digital isolation chip U1 and the second multi-channel digital isolation chip U2 are connected to the main control module 11, and the eleventh connection terminal IND, the twelfth connection terminal OUTC, the thirteenth connection terminal OUTB and the fourteenth connection terminal OUTA of the first multi-channel digital isolation chip U1 and the second multi-channel digital isolation chip U2 are electrically connected to the slave control module 31. Among them, a first diode D1 is connected in series between the sixth connection terminal OUTD of the first multi-channel digital isolation chip U1 and the main control module 11, the anode of the first diode D1 is connected to the sixth connection terminal OUTD of the first multi-channel digital isolation chip U1, and the cathode of the first diode D1 is connected to the main control module 11. A second diode D2 is connected in series between the sixth connection terminal OUTD of the second multi-channel digital isolation chip U2 and the main control module 11, the anode of the second diode D2 is connected to the sixth connection terminal OUTD of the second multi-channel digital isolation chip U2, and the cathode of the second diode D2 is connected to the main control module 11. A third diode D3 is connected in series between the fourteenth connection terminal OUTA of the first multi-channel digital isolation chip U1 and the twelfth connection terminal OUTC of the second multi-channel digital isolation chip U2, the anode of the third diode D3 is connected to the twelfth connection terminal OUTC of the second multi-channel digital isolation chip U2, and the cathode of the third diode D3 is connected to the fourteenth connection terminal OUTA of the first multi-channel digital isolation chip U1.
[0052] In one embodiment, the isolated communication module 20 further includes a first resistor R1, one end of the first resistor R1 is connected to the cathode of the first diode D1, and the other end is grounded;
[0053] In one embodiment, the isolated communication module 20 further includes a second resistor R2, one end of the second resistor R2 is connected to the cathode of the second diode D2, and the other end is grounded;
[0054] In one embodiment, the isolation upgrade communication circuit 22 further includes a third resistor R3 and a fourth resistor R4. The third resistor R3 is connected in series between the twelfth connection terminal OUTC of the second multi-channel digital isolation chip U2 and the slave control module 31. One end of the fourth resistor R4 is connected to the twelfth connection terminal OUTC of the second multi-channel digital isolation chip U2, and the other end is used to input a preset voltage signal (+3V3B).
[0055] like Figure 5 As shown, the multi-channel power supply includes at least two slave control units 3, each slave control unit 3 includes a slave control module 31, and the communication unit 2 includes the same number of isolation communication modules 20 as the slave control modules 31. Each isolation communication module 20 is connected to a corresponding slave control module 31. The cathode of the first diode D1 in each isolated data communication circuit 21 is electrically connected, and the cathode of the second diode D2 in each isolated upgrade communication circuit 22 is electrically connected. The fourth connection terminal INB of each first multi-channel digital isolation chip U1 is electrically connected. The fifth connection terminal INC of each first multi-channel digital isolation chip U1 is electrically connected. The fifth connection terminal INC of each second multi-channel digital isolation chip U2 is electrically connected.
[0056] In one embodiment, the master control module 11 and the slave control module 31 respectively include STM32 chip circuits (microcontroller circuits).
[0057] Please refer to Figure 6 , is a schematic diagram of electrical connections of an output control module in an embodiment. In one embodiment, the multi-channel power supply further includes an output control module 4, which is respectively connected to the main control module 11 and each slave control unit 3 of the multi-channel power supply, and is used to respond to a preset output control electrical signal output by the main control module 11, and connect at least two power signals output by the slave control units 3 in series and parallel as output power outputs of the multi-channel power supply.
[0058] In order to facilitate understanding of the working mode of the multi-channel power supply disclosed in the present application when performing software upgrade and maintenance on the slave control module, the following is described through specific embodiments, including:
[0059] Assuming that the multi-channel power supply includes three power output channels (from the control unit 3), the communication unit 2 also includes three isolation communication modules 20, each isolation communication module 20 correspondingly connected to a slave control module 31 of the control unit 3. Figure 5As shown, when the multi-channel power supply enters the bootstrap program, each functional module, i.e., the device, is reset first. When upgrading the slave control module 31 of the first slave control unit 3, the host IO of the master control module 11 corresponds to the first Master_RST, which is pulled low and then pulled high to complete the reset of the first slave control module 31. The BOOT0 signal connection end of the host (the first Master_ch_BOOT0 signal connection) is configured as 1. Since it is a one-master-to-multi-slave structure, in order to prevent the other two slave control units 3 from affecting the signal when upgrading the first isolated upgrade communication circuit, a Schottky diode is added to the Slave_TX signal connection end of the sending end of the master control module 11, and the conduction voltage is 0.1- 0.3V, connected to the Slave_CS signal connection end, the first isolation upgrade communication circuit sets the Slave1_CS signal connection end to 1, the Slave2_CS signal connection end of other isolation upgrade communication circuits to 0, and the Slave_TX signal connection end of other isolation upgrade communication circuits is clamped to 0.3V. When the Master_TX signal connection end of the main control module 11 sends a 0X7F instruction to the slave control module 31, since the Slave_TX signal connection end of other isolation upgrade communication circuits is clamped to a low level except for the first isolation upgrade communication circuit, only the first isolation upgrade communication circuit can receive 0X7F, thereby performing an upgrade response. TX_A returns 0X79, and after isolation, the Master_RX signal connection end of the receiving end of the main control module 11 reads back 0X79, waits for a duration of 1 byte, and enters the bootstrap program. The main control module 11 loads the upgrade program into the slave control module 31 connected to the first isolation upgrade communication circuit through the Master_TX signal connection end. After loading, the same method is used to perform the upgrade of other slave control modules 31. Among them, the TX_A signal connection terminals of the three slave control modules are set to 0 by default, and the Master_RX signal connection terminal of the master control module 11 is read back in three ways through the second diode D2 in each isolation communication module 20 and connected in parallel, and the default state is 0, and the pull-down resistor R2. Only when there is a communication 1 in these three ways, the Master_RX signal connection terminal of the receiving end of the master control module 11 can receive 1, so that the three slave control units 3 are upgraded separately without affecting each other.
[0060] The multi-channel power supply disclosed in the embodiment of the present application includes a communication unit. The communication unit includes an isolation communication module, and the isolation communication module includes an isolation data communication circuit and an isolation upgrade communication circuit. The isolation data communication circuit is used for serial communication when the main control module and the slave control module interact with each other for data electrical signals, and the isolation upgrade communication circuit is used for serial communication when the main control module performs software upgrades on the slave control module. Since an isolation upgrade communication circuit is added to the isolation communication module of the original multi-channel power supply, the main control module can perform software upgrades on the slave control module through the isolation upgrade communication circuit, thereby adding a later upgrade and maintenance function of the power output channel to the existing multi-channel power supply.
[0061] In one embodiment, if Figure 1 In the multi-channel power supply shown, each power output channel (slave control unit) is isolated and independent. Both the main control module and the slave control module use STM32 series chips. The main control module completes the display drive of the display module. The external interface module includes USB interface, LAN interface, etc. The input module includes human-machine interaction devices such as buttons and touch screens. The slave control unit and the main control unit communicate serially through the isolated communication module. The slave control module receives the control command issued by the main control module and controls the power output module to output the power signal. The power output module uses DAC circuit, and the electrical signal sampling module uses ADC circuit, which is sent to the main control module through the slave control module.
[0062] In one embodiment, the working process of the multi-channel power supply includes: the main control module receives the user's settings (power output parameters of each channel output power signal) through the input module or the external interface module remote program control, and sends the set value to the slave control module through the isolation communication module, and the slave control module controls the DAC output of the power output module to control the corresponding channel output power signal. When the user also needs to control the output power signal of each channel to have different delays, it is necessary to control it through the host computer programming. However, since the time accuracy of the communication cannot achieve a small delay error, it cannot meet the requirements when there are high-precision timing requirements.
[0063] Please refer to Figure 7 , is a flow chart of an output control method in an embodiment. In an embodiment of the present application, an output control method is also disclosed, which is applied to the multi-channel power supply as described above, and is used to accurately control the timing control of turning on or off the output power signal of each channel of the multi-channel power supply. The output control method includes:
[0064] Step 101, obtaining timing parameters.
[0065] Acquire a timing parameter for identifying the output power signal of each power output channel of the multi-channel power supply, the timing parameter including the time when each power output channel of the multi-channel power supply is turned on or off. In one embodiment, the timing parameter is acquired in a human-computer interaction manner through an external interface module and an input module. In one embodiment, the timing parameter of the output power signal of each power output channel of the multi-channel power supply is used to identify whether the power output channel of the multi-channel power supply is turned on or off synchronously or asynchronously.
[0066] Step 102: Send a power output control instruction.
[0067] A power output control instruction is sent to each power output channel according to a preset channel arrangement sequence, wherein the power output control instruction includes a timing parameter corresponding to each power output channel outputting a power signal and / or a power output parameter corresponding to each power output channel outputting a power signal.
[0068] Step 103, delaying the execution of the power output control instruction.
[0069] After receiving the power output control instruction, each power output channel executes the power output control instruction after a preset delay time ΔT, wherein the delay time ΔT of each power output channel is related to the time difference of each power output channel receiving the power output control instruction.
[0070] In one embodiment, the method for obtaining the delay time ΔT of each power output channel delay includes:
[0071] The time when each power output channel receives the power output control instruction in the preset channel arrangement order is obtained, and the time difference between each power output channel and the power output channel that receives the power output control instruction last is used as the delay time ΔT of the power output channel.
[0072] In one embodiment, the output control method further includes:
[0073] Step 104, series-parallel output.
[0074] The power signals output by at least two power output channels are connected in series or in parallel and then used as the power output of the multi-channel power supply.
[0075] In order to facilitate understanding of the application of the output control method disclosed in the present application, the following is described through specific embodiments, specifically including:
[0076] Please refer to Figure 8, is a schematic diagram of the channel delay output of the multi-channel power supply. The horizontal axis is time t, and the vertical axis is the voltage of the three channel output power supply signals. Curve CH1 corresponds to the first channel of the multi-channel power supply, curve CH2 corresponds to the second channel of the multi-channel power supply, and curve CH3 corresponds to the third channel of the multi-channel power supply. The master control module and the three slave control modules use the same SPI to work, so the chip selection of the three slave control modules adopts the method of sending commands in steps. The sending order is the first channel (curve CH1), the second channel (curve CH2) and the third channel (curve CH3), which leads to a time difference in the output of the three channels. After the test measurement command is sent to the three slave control modules by the master control module, the output time of the three channels is T1, T2, and T3 respectively. The time difference between T2 and T1 is calculated to be ΔT1, and the time difference between T3 and T2 is ΔT2. The third channel receives the command the latest, so the third channel takes the longest time to execute the command and outputs it last. After testing ΔT1 and ΔT2, the output time of the third channel is used as the T0 benchmark. The first channel can delay ΔT1+ΔT2 after receiving the command and then execute it, and the second channel can delay ΔT2 after receiving the command and then execute it. The third channel will execute it as soon as it receives the command, so that the three channels can achieve synchronous output. Based on the above principle, different delays can also be configured for the three channels to establish output control with different timings between channels to meet user needs.
[0077] The output control method disclosed in the embodiment of the present application first obtains the timing parameters for identifying the output power signal of each power output channel of the multi-channel power supply; then sends the power output control instruction to each power output channel according to the preset channel arrangement order; finally, after each power output channel receives the power output control instruction, it delays for a preset delay time before executing the power output control instruction. By setting the delay time corresponding to each power output channel when executing the power output control instruction on each power output channel, each power output channel of the multi-channel power supply with asynchronous communication transmission can be accurately turned on or off according to the timing set by the user, thereby increasing the purpose and function of the multi-channel power supply.
[0078] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0079] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.
Claims
1. A multi-channel power supply, characterized in that: It includes a main control unit, a communication unit and a slave control unit; each of the slave control units is used as a power output channel of the multi-channel power supply to output a power signal with preset power output parameters; The main control unit includes a main control module and an input module, wherein the input module is used to obtain the power output parameters of the power signal output by each power output channel through human-computer interaction; the main control module is used to send the control instruction containing the power output parameters to the slave control unit through the communication unit; The communication unit comprises the same number of isolation communication modules as the slave control units, each of the isolation communication modules being connected between the main control module and one slave control unit and being used for interactive communication between the main control unit and the slave control unit; The slave control unit comprises a slave control module and a power output module, wherein the slave control module is used to receive the control instruction and output a power signal with preset power output parameters through the power output module; The isolated communication module comprises an isolated data communication circuit and an isolated upgrade communication circuit, wherein the isolated data communication circuit is connected between the main control module and the slave control module and is used for serial communication when the main control module and the slave control module perform data electrical signal interaction; wherein the data electrical signal comprises power output parameters of the output power of each power output channel obtained by setting and / or monitoring; The isolated upgrade communication circuit is connected between the main control module and the slave control module, and is used for serial communication when the main control module performs software upgrade on the slave control module; The isolated data communication circuit and the isolated upgrade communication circuit are respectively universal asynchronous receiver-transmitter transmitters using optocoupler isolation technology; The isolated data communication circuit includes a first multi-channel digital isolation chip U1, and the isolated upgrade communication circuit includes a second multi-channel digital isolation chip U2; the first multi-channel digital isolation chip U1 and the second multi-channel digital isolation chip U2 are used as four-channel digital isolators; the first multi-channel digital isolation chip U1 and the second multi-channel digital isolation chip U2 respectively include a first connection terminal VCC1, a second connection terminal GND1, a third connection terminal INA, a fourth connection terminal INB, a fifth connection terminal INC, a sixth connection terminal OUTD, a seventh connection terminal EN1, an eighth connection terminal GND2, a ninth connection terminal GND3, a tenth connection terminal EN2, an eleventh connection terminal IND, a twelfth connection terminal OUTC, a thirteenth connection terminal OUTB, a fourteenth connection terminal OUTA, a fifteenth connection terminal GND4 and a sixteenth connection terminal VCC2; The third connection terminal INA, the fourth connection terminal INB, the fifth connection terminal INC and the sixth connection terminal OUTD of the first multi-channel digital isolation chip U1 and the second multi-channel digital isolation chip U2 are connected to the main control module, and the eleventh connection terminal IND, the twelfth connection terminal OUTC, the thirteenth connection terminal OUTB and the fourteenth connection terminal OUTA of the first multi-channel digital isolation chip U1 and the second multi-channel digital isolation chip U2 are electrically connected to the slave control module; Among them, a first diode D1 is connected in series between the sixth connection terminal OUTD of the first multi-channel digital isolation chip U1 and the main control module, the anode of the first diode D1 is connected to the sixth connection terminal OUTD of the first multi-channel digital isolation chip U1, and the cathode of the first diode D1 is connected to the main control module; a second diode D2 is connected in series between the sixth connection terminal OUTD of the second multi-channel digital isolation chip U2 and the main control module, the anode of the second diode D2 is connected to the sixth connection terminal OUTD of the second multi-channel digital isolation chip U2, and the cathode of the second diode D2 is connected to the main control module; a third diode D3 is connected in series between the fourteenth connection terminal OUTA of the first multi-channel digital isolation chip U1 and the twelfth connection terminal OUTC of the second multi-channel digital isolation chip U2, the anode of the third diode D3 is connected to the twelfth connection terminal OUTC of the second multi-channel digital isolation chip U2, and the cathode of the third diode D3 is connected to the fourteenth connection terminal OUTA of the first multi-channel digital isolation chip U1.
2. The multi-channel power supply according to claim 1, characterized in that: The isolated communication module also includes a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4; One end of the first resistor R1 is connected to the cathode of the first diode D1, and the other end is grounded; One end of the second resistor R2 is connected to the cathode of the second diode D2, and the other end is grounded; A third resistor R3 is connected in series between the twelfth connection terminal OUTC of the second multi-channel digital isolation chip U2 and the slave control module; One end of the fourth resistor R4 is connected to the twelfth connection terminal OUTC of the second multi-channel digital isolation chip U2, and the other end of the fourth resistor R4 is used to input a preset voltage signal.
3. The multi-channel power supply according to claim 1, characterized in that: The device comprises at least two slave control modules, wherein the communication unit comprises the same number of isolated communication modules as the slave control modules; each of the isolated communication modules is connected to a corresponding slave control module; The cathodes of the first diode D1 in each of the isolated data communication circuits are electrically connected to each other, and the cathodes of the second diode D2 in each of the isolated upgrade communication circuits 22 are electrically connected to each other; the fourth connection terminals INB of each of the first multi-channel digital isolation chips U1 are electrically connected to each other, the fifth connection terminals INC of each of the first multi-channel digital isolation chips U1 are electrically connected to each other, and the fifth connection terminals INC of each of the second multi-channel digital isolation chips U2 are electrically connected to each other.
4. The multi-channel power supply according to claim 1, characterized in that: It also includes an output control module, which is connected to the main control module and each slave control unit of the multi-channel power supply respectively, and each slave control unit is used as one of the power output channels of the multi-channel power supply; The output control module is used to respond to a preset output control electrical signal output by the main control module, and connect at least two power supply signals output by the slave control unit in series or in parallel as output power output of the multi-channel power supply.
5. An output control method for a multi-channel power supply, characterized in that: Applied to the multi-channel power supply according to any one of claims 1 to 4, the output control method comprises: Acquire a timing parameter for identifying a power signal output by each power output channel of the multi-channel power supply; the timing parameter includes a time when each power output channel of the multi-channel power supply is turned on or off; Sending a power output control instruction to each of the power output channels in a preset channel arrangement order; the power output control instruction includes a timing parameter corresponding to the output power signal of each of the power output channels; After each of the power output channels receives the power output control instruction, it delays for a preset delay time ΔT before executing the power output control instruction; wherein the delay time ΔT of each of the power output channels is related to the time difference of each of the power output channels receiving the power output control instruction.
6. The output control method according to claim 5, characterized in that: The method for obtaining the delay time ΔT of each power output channel delay includes: Acquire the time when each of the power output channels receives the power output control instruction according to the preset channel arrangement order; The time difference between each power output channel and the power output channel that receives the power output control instruction last receives the power output control instruction as the delay time ΔT of the power output channel.
7. The output control method according to claim 5, characterized in that: Also includes: The power signals output by at least two of the power output channels are connected in series or in parallel and then used as the power output of the multi-channel power supply.
8. The output control method according to claim 5, characterized in that: The timing parameters of the power signal output by each power output channel of the multi-channel power supply are used to identify whether the power output channel of the multi-channel power supply is turned on or off synchronously or asynchronously.
Citation Information
Patent Citations
Channel isolation oscilloscope
CN211697939U
Power supply control system
CN215498706U