Synchronization method and device of power supply parallel operation system

By introducing a hardware-level synchronization line mechanism into the power supply parallel system, the synchronization signal transmission delay problem between master and slave is solved, efficient and reliable master and slave synchronization is achieved, and the system synchronization accuracy and response speed are improved.

CN120300752APending Publication Date: 2025-07-11SHENZHEN JICE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510604689.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-12
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

In existing power grid systems, with the increase in the number of devices and the increase in real-time data interaction requirements, the delay problem of synchronous signal transmission between master and slave machine leads to a decline in communication quality and an extended response time, affecting the overall performance of the system.

Method used

The hardware-level synchronization line mechanism is adopted to establish a parallel connection between the master and the slave through the synchronization line. The master and slave pre-calculate the control parameters when the machine is started, and output voltage and current after powering on the synchronization line, reducing the delay in synchronization signal transmission and ensuring fast and accurate synchronization of the master and slave.

Benefits of technology

It improves the synchronization accuracy and response speed of the power parallel system, reduces the dependence on communication quality, and ensures the stable operation of the system in poor communication situations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120300752A_ABST
    Figure CN120300752A_ABST
Patent Text Reader

Abstract

The invention provides a synchronization method and device for a power supply parallel operation system, and relates to the technical field of power supply parallel operation application, and in the power supply parallel operation system, each slave is connected in parallel to the two ends of a host through a synchronization line; comprising the following steps: receiving a control instruction issued by a middle computer for a current working step, and determining target charging and discharging equipment to be started; each target slave machine closes a synchronization line after starting preparation is finished, and calculates a first frame control parameter corresponding to the control instruction; when starting of each target slave is completed, the synchronization line is controlled to be powered on and delayed to be turned off, and each target slave is controlled to output and synchronize a first voltage and a first current based on the first frame control parameter; the host regularly issues control parameters to each target slave, controls each target slave to update the parameters, and outputs and synchronizes a second voltage and a second current; when the master and the slave are started, a master-slave communication mechanism is replaced by a synchronization line on a hardware level, so that the technical problem of synchronization signal transmission delay between the master and the slave in the prior art is relieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power supply parallel operation applications, and particularly to a synchronization method and device for a power supply parallel system. Background Art

[0002] The parallel operation technology of battery charge and discharge equipment, as a key technology to improve the capacity, reliability and flexibility of battery systems, has been widely used in the fields of energy storage systems, electric vehicles and renewable energy power generation. This technology realizes the efficient management and energy optimal scheduling of the battery system through the parallel operation of multiple charge and discharge devices, and its core lies in constructing a stable and reliable parallel operation mechanism.

[0003] At the technical implementation level, the parallel operation of battery charge and discharge equipment mainly relies on the parallel configuration of multiple charge and discharge devices to achieve the unified management and energy distribution of the battery pack. Its key technical system includes the following core elements: First, voltage and current synchronization technology, which ensures that the output voltage and current of each charge and discharge device are consistent through precise control, effectively avoiding the risk of circulating current and equipment damage; Second, energy balancing technology, which adopts an advanced master-slave control algorithm to achieve the balanced distribution of energy among charge and discharge devices and prevent a single device from being overloaded. Among them, the communication protocol, as a key support technology for information interaction and synchronous control among multiple charge and discharge devices, plays a core role in the process of voltage and current synchronization and energy balancing. Currently, standardized communication solutions such as CAN communication and Modbus protocol are mainly used.

[0004] However, in the actual application process, with the increase in the number of parallel devices and the improvement of real-time data interaction requirements, the existing technical system faces significant challenges. In the traditional master-slave control mode, the bus load rate shows a significant upward trend, resulting in a decline in communication quality and an increase in communication delay. Specifically, the CAN frames containing synchronization information sent by the host will have varying degrees of delay during transmission, and this delay effect directly affects the synchronization performance between the host and the slave. For application scenarios with high response requirements, the lag of the slave's response will have a significant impact on the overall performance of the system, specifically manifested as an extended response time, abnormal phenomena such as platforms or backhooks in the waveform, and these technical bottlenecks urgently need to be broken through and optimized. Summary of the Invention

[0005] The purpose of the present invention is to provide a synchronization method and device for a power supply parallel system, which replaces the master-slave communication mechanism with a synchronization line at the hardware level when the master and slave machines start, so as to alleviate the technical problem of the transmission delay of the synchronization signal between the master and slave machines existing in the prior art.

[0006] In a first aspect, the present invention provides a synchronization method for a power supply parallel operation system, which is applied to a power supply parallel operation system. The power supply parallel operation system includes a charging and discharging device host and a plurality of charging and discharging device slaves; each slave is connected in parallel to both ends of the host through a synchronization line; the method includes:

[0007] Receiving a control instruction for the current working step issued by a middle-level machine, and determining a target charging and discharging device to be powered on; wherein, the target charging and discharging device includes the host and at least one target slave;

[0008] Controlling each of the target slaves to close the synchronization line when the startup preparation is completed, and calculating a first-frame control parameter corresponding to the control instruction;

[0009] When each of the target slaves has completed startup, controlling the synchronization line to be powered on and delayed shutdown, and controlling each of the target slaves to output and synchronize a first voltage and a first current based on the first-frame control parameter;

[0010] Controlling the host to periodically send control parameters to each of the target slaves, controlling each of the target slaves to update the parameters, and outputting and synchronizing a second voltage and a second current.

[0011] In an optional implementation manner, the step of receiving a control instruction for the current working step issued by a middle-level machine and determining a target charging and discharging device to be powered on includes:

[0012] Receiving control instructions for the current working step issued by the middle-level machine to the host and each of the slaves;

[0013] Calculating the number of parallel-connected charging and discharging devices based on the control instruction;

[0014] Determining the target charging and discharging device to be powered on according to the number of parallel-connected devices and the address of each slave.

[0015] In an optional implementation manner, the step of controlling each of the target slaves to close the synchronization line when the startup preparation is completed and calculating a first-frame control parameter corresponding to the control instruction includes:

[0016] Controlling the host and each of the target slaves to perform startup preparation respectively;

[0017] When the preparation of each of the target slaves is completed, sending a startup completion signal to the host, closing the synchronization line corresponding to the target slave, and calculating a first-frame control parameter based on the control instruction.

[0018] In an alternative embodiment, when each of the target slaves has completed starting up, the steps of controlling the synchronous line to be powered on and delayed shutdown, and controlling each of the target slaves to output and synchronize a first voltage and a first current based on the first frame control parameters include:

[0019] When the master receives the startup completion signal of each of the target slaves, close the synchronous line corresponding to the master to trigger the synchronous line to pull up the high level, update the control parameters based on the control instruction to control the master to output a first voltage and a first current, and delay the control to turn off the synchronous line corresponding to the master;

[0020] When each of the target slaves receives the synchronous signal of the synchronous line pulling up the high level, control each of the target slaves to output a first voltage and a first current based on the first frame control parameters, synchronize the first voltage and the first current back to the master at a preset time point, and delay the control to turn off the synchronous line corresponding to each of the target slaves.

[0021] In an alternative embodiment, the steps of controlling the master to periodically send control parameters to each of the target slaves, controlling each of the target slaves to update the parameters, and outputting and synchronizing a second voltage and a second current include:

[0022] Repeat the following steps until terminated when receiving the control instruction corresponding to the next working step sent by the middle machine again:

[0023] Based on the control parameters periodically sent by the master to each of the target slaves, control each of the target slaves to update the parameters, and control the output and synchronization of a second voltage and a second current.

[0024] In an alternative embodiment, the method further includes:

[0025] Taking the control instruction corresponding to the next working step as the control instruction corresponding to the new current working step, and returning to execute the step of receiving the control instruction for the current working step sent by the middle machine to determine the target charge and discharge device to be powered on.

[0026] In an alternative embodiment, the middle machine sends the control instruction for each working step when meeting the preset conditions.

[0027] In a second aspect, the present invention provides a synchronization device for a power parallel system, which is applied to a power parallel system. The power parallel system includes a charge and discharge device master and a plurality of charge and discharge device slaves; each slave is connected in parallel to both ends of the master through a synchronous line; the device includes:

[0028] A determination module, which receives the control instruction for the current working step sent by the middle machine and determines the target charge and discharge device to be powered on; wherein, the target charge and discharge device includes the master and at least one target slave;

[0029] A calculation module that controls each of the target slaves to close the synchronization line when the startup preparation is completed, and calculates the first-frame control parameters corresponding to the control instruction;

[0030] A first synchronization module that, when each of the target slaves has completed startup, controls the synchronization line to be powered on and delayed shutdown, and controls each of the target slaves to output and synchronize the first voltage and the first current based on the first-frame control parameters;

[0031] A second synchronization module that controls the host to periodically send control parameters to each of the target slaves, controls each of the target slaves to update the parameters, and outputs and synchronizes the second voltage and the second current.

[0032] In a third aspect, the present invention provides an electronic device, including a memory, a processor, and a program stored in the memory and capable of running on the processor. When the processor executes the program, the method described in any one of the foregoing embodiments is implemented.

[0033] In a fourth aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed, the method described in any one of the foregoing embodiments is implemented.

[0034] The embodiments of the present invention bring a synchronization method and device for a power supply parallel system. According to the control instruction issued by the median machine, the host and the target slaves to be started are determined, and the host and each target slave are prepared to start up; when each target slave is ready, the corresponding synchronization line is closed, and before the synchronization operation, the first-frame control parameters for controlling the output are pre-calculated based on the control instruction; when each target slave is ready, the synchronization line corresponding to the host is closed to realize the power-on of the synchronization line. At this time, each target slave outputs the corresponding voltage and current based on the synchronization signal of the synchronization line, and synchronizes them to the host, and then delays to turn off the synchronization lines of the host and each target slave; subsequently, each target slave updates its own control parameters based on the control parameters periodically sent by the host, outputs the corresponding voltage and current, and then synchronizes them back to the host, reducing the delay of the master-slave interaction when starting up, ensuring the master-slave consistency, and reducing the dependence on the communication quality.

[0035] Other features and advantages of the present invention will be described in the following specification, and part of them will become obvious from the specification, or be understood by implementing the present invention. The objectives and other advantages of the present invention are realized and obtained by the structures specifically pointed out in the specification and the drawings.

[0036] To make the above objectives, features, and advantages of the present invention more obvious and understandable, the following specific preferred embodiments are given, and in conjunction with the accompanying drawings, the detailed description is as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0038] Figure 1 It is a flowchart of a synchronization method for a power supply parallel operation system provided by an embodiment of the present invention;

[0039] Figure 2 It is a schematic diagram of the function of a synchronization line provided by an embodiment of the present invention;

[0040] Figure 3 It is a schematic diagram of the functional modules of a synchronization device for a power supply parallel operation system provided by an embodiment of the present invention;

[0041] Figure 4 It is a schematic diagram of the hardware architecture of an electronic device provided by an embodiment of the present invention. Specific Embodiments

[0042] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions of the present invention with reference to the drawings. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the protection scope of the present invention.

[0043] Currently, most of the solutions for the parallel operation synchronization of the power supply master and slave machines are implemented by communication methods. However, the consistency between the master and slave is affected by the communication speed and communication quality. For example, factors such as the CAN baud rate and the CAN bus load rate will affect the master-slave consistency, thereby causing abnormalities in the synchronization effect of the power supply parallel operation.

[0044] Based on this, a synchronization method and device for a power supply parallel operation system provided by an embodiment of the present invention can introduce a synchronization line mechanism at the hardware level to reduce the delay of synchronization signal transmission. Especially during startup, it can ensure the fast and accurate transmission of synchronization instructions between the master and slave machines, thereby improving the synchronization accuracy and response speed of the system.

[0045] For the convenience of understanding this embodiment, first, a synchronization method for a power supply parallel operation system disclosed in an embodiment of the present invention will be introduced in detail. This method is applied to a power supply parallel operation system, and the power supply parallel operation system includes a charging and discharging device host and multiple charging and discharging device slaves; each slave is connected in parallel to both ends of the host through a synchronization line, asFigure 2 As shown, one end of each slave is connected to the master through a synchronization line to achieve a parallel connection between the master and the slaves. It should be noted that one end of the master is also connected to the synchronization line; the master and slaves can achieve synchronization through the synchronization line mechanism, that is, when the synchronization lines of the master and each slave are all closed, the synchronization signal is triggered to be sent to control the synchronization of the master and slaves;

[0046] As an alternative embodiment, the master can operate as a voltage source, and the slaves can operate as current sources. The control parameters of the master can be used as the current setting for each slave. When the device starts output, both the master and the slaves pre-calculate the first-frame control parameters according to the control instructions of the middle-level machine, that is, set the voltage and current, and then control the master and slaves to output the corresponding voltage and current based on the synchronization line signal obtained from the hardware synchronization line mechanism. After that, the subsequent-frame control parameters are sent to each slave through CAN communication. After receiving the signal, the slave performs the corresponding output and uploads the echo data of the slave itself to the master, thereby realizing the synchronous control of the master and slaves combining software and hardware, ensuring the response efficiency and synchronization consistency.

[0047] Figure 1 It is a flowchart of a synchronization method for a power parallel system provided by an embodiment of the present invention.

[0048] Refer to Figure 1 , the method may include the following steps:

[0049] Step S102, receive the control instruction for the current working step issued by the middle-level machine, and determine the target charge and discharge device to be powered on.

[0050] Among them, the upper-level machine and the middle-level machine are generally arranged in the cabinet. The middle-level machine is used to receive the control instruction of the upper-level machine and send the control instruction to the lower-level machine for control; in the embodiment of the present invention, the lower-level machine can be understood as the power parallel system; based on the control instruction issued by the middle-level machine, it can be known which master and corresponding slaves need to be started under the current working step, that is, the target charge and discharge device; the target charge and discharge device includes the master and at least one target slave; each slave can independently judge whether it needs to start according to the control instruction of the middle-level machine, reducing unnecessary waiting time, thereby improving the overall efficiency of the system, reducing resource waste, and optimizing resource utilization.

[0051] As an alternative embodiment, the middle-level machine issues the control instruction for each working step when meeting the preset conditions; for example, when the middle-level machine meets the corresponding preset conditions, such as the running time meets the preset duration of 10 min, or reaches a specific voltage value or current value required by the service, the control instruction for the next working step is issued, and at this time, the control of the master and slaves in the current working step is terminated.

[0052] Step S104: Control each target slave to close the synchronization line when the startup preparation is completed, and calculate the first-frame control parameters corresponding to the control instruction.

[0053] Here, the target slave can be understood as the slave that needs to start up determined based on the control instruction; each target slave prepares to start up based on the control instruction, releases the synchronization line after the preparation is completed, and calculates the first-frame control parameters in advance before the synchronization operation; the first-frame control parameters can be understood as the control parameters that the first output after startup needs to be based on.

[0054] Step S106: When each target slave has completed starting up, control the synchronization line to be powered on and then turned off after a delay, and control each target slave to output and synchronize the first voltage and the first current based on the first-frame control parameters.

[0055] It should be noted that when each target slave has completed starting up, at this time, the synchronization lines corresponding to each target slave are all released and closed. Only by controlling the host to release and close the synchronization line can the purpose of powering on the synchronization line be achieved; powering on the synchronization line means sending a synchronization signal so that each target slave outputs the corresponding voltage and current values and synchronizes them to the host based on the first-frame control parameters pre-calculated in the foregoing embodiments; at the same time, when the synchronization line is powered on, usually after a preset time period, both the host and each target slave control their corresponding synchronization lines to be turned off.

[0056] Step S108: Control the host to regularly send control parameters to each target slave, control each target slave to update the parameters, and output and synchronize the second voltage and the second current.

[0057] In the case where each target slave has just started up, the synchronization signal sent based on the synchronization line is used to achieve the rapid response of each slave, ensuring the master-slave consistency; on this basis, through the master-slave communication mechanism, based on the control parameters regularly sent by the host, the voltage and current outputs of each subsequent frame of each target slave can be controlled.

[0058] In a preferred embodiment of the actual application, according to the control instructions issued by the middle-level machine, the main machine and the target slave machines to be started are determined, and the main machine and each target slave machine are prepared to start; when each target slave machine is ready, the corresponding synchronization line is closed, and before the synchronization operation, the first-frame control parameters for controlling the output are pre-calculated based on the control instructions; when each target slave machine is ready, the synchronization line corresponding to the main machine is closed to realize power-on of the synchronization line. At this time, each target slave machine outputs the corresponding voltage and current based on the synchronization signal of the synchronization line and synchronizes them to the main machine, and then turns off the synchronization lines of the main machine and each target slave machine after an equal delay; subsequently, each target slave machine updates its own control parameters based on the control parameters regularly issued by the main machine and outputs the corresponding voltage and current, and then synchronizes them back to the main machine, reducing the delay of the master-slave interaction at the initial startup, ensuring the master-slave consistency, and reducing the dependence on the communication quality; it can be applied to high-requirement industrial scenarios and provide an efficient and reliable synchronization solution for the power parallel system with high requirements for synchronization performance and real-time performance.

[0059] Among them, after the middle-level machine issues control instructions to the main machine and the slave machines, the behavior mode of the slave machines is optimized. In the traditional mode, the slave machines only respond according to the synchronization instructions issued by the host communication. However, in the embodiments of the present invention, the slave machines can also independently judge whether the module needs to be started according to the control instructions issued by the middle-level machine and calculate the first-frame control parameter values. When the synchronization line issues a synchronization signal, the slave machines will directly use the pre-calculated first-frame control parameters as the initial parameters at startup, thereby reducing the response delay. It can be seen that the traditional master-slave synchronization system highly depends on the stability of the communication network. However, in the embodiments of the present invention, by optimizing the data processing logic, the slave machines can independently calculate the control parameters according to the middle-level machine instructions, reducing the dependence on the host instructions, so as to still maintain the stable operation of the system in the case of poor communication quality.

[0060] In some embodiments, the step S102 of determining the startup timing and startup equipment based on the control instructions issued by the middle-level machine may include:

[0061] Step 1.1), receiving the control instructions for the current working step issued by the middle-level machine to the main machine and each slave machine.

[0062] The embodiments of the present invention can trigger the startup of the charge and discharge equipment for each working step based on the control instructions issued by the middle-level machine.

[0063] Step 1.2), calculating the number of parallel-connected charge and discharge equipment based on the control instructions.

[0064] Here, according to the control instructions issued by the middle-level machine, both the main machine and each slave machine can know the service requirements such as voltage and current for the current working step, and then determine the required number of parallel-connected units.

[0065] Step 1.3), according to the number of paralleled devices and the address of each slave device, determine the target charge and discharge device to be powered on.

[0066] Among them, each slave device corresponds to its own address. The slave devices are sorted according to this address, and the paralleling operation corresponding to each working step is controlled in this order; for example, if the number of paralleled devices calculated according to the control instruction of the current working step is 4, then in addition to the master device, the top three slave devices sorted according to the address order are used as the target slave devices, and then the target charge and discharge device to be started currently is determined.

[0067] In practical applications, the embodiment of the present invention significantly improves the synchronization performance of the master-slave paralleling system by introducing a synchronization line mechanism. This mechanism adopts a logical connection method similar to "wired AND", and interconnects the master device and each slave device in the system through synchronization lines. Exemplarily, this step S104 controls each target slave device to release the corresponding synchronization line when the startup is completed, and the operation of calculating the first frame control parameters in advance can be realized through the following steps, including:

[0068] Step 2.1), control the master device and each target slave device to perform startup preparations respectively.

[0069] According to the control instruction issued by the middle-level device, the target charge and discharge device performs the corresponding preparation operations required for startup respectively.

[0070] Step 2.2), when each target slave device is ready, send a startup completion signal to the master device, close the synchronization line corresponding to the target slave device, and calculate the first frame control parameters based on the control instruction.

[0071] Here, when each target slave device is ready, it sends a corresponding signal to the master device. At the same time, close its corresponding synchronization line and calculate the corresponding first frame control parameters before receiving the synchronization signal, so that it can respond quickly when receiving the synchronization signal.

[0072] It can be understood that after the master device and each target slave device complete the startup preparation operation, they can start up by themselves.

[0073] On the basis of the foregoing embodiment, step S106 can trigger the release of the synchronization signal based on the startup completion signals sent by each target slave device to the master device, and then realize the low-latency master-slave synchronization operation through the synchronization line mechanism, including:

[0074] Step 3.1), when the master device receives the startup completion signals of each target slave device, close the synchronization line corresponding to the master device to trigger the synchronization line to pull up the high level, update the control parameters based on the control instruction to control the master device to output the first voltage and the first current, and delay to control the synchronization line corresponding to the master device to turn off.

[0075] Here, based on the start-up completion signals sent by each target slave and the number of paralleled units, the host can know whether all the target slaves to be started in the current working step have released their corresponding synchronization lines; when all the synchronization lines corresponding to the target slaves are released, the host releases its corresponding synchronization line to trigger the synchronization line level to change to a high level, sending out a synchronization signal, delaying for a preset time (usually such as 1 - 2 ms) to control the synchronization line to turn off, and controlling the host to output corresponding voltage and current values based on the control parameters when the synchronization signal is sent out.

[0076] Step 3.2), when each target slave receives the synchronization signal with the synchronization line pulled to a high level, control each target slave to output a first voltage and a first current based on the first-frame control parameters, synchronize the first voltage and the first current back to the host at a preset time point, and delay to control the synchronization line corresponding to each target slave to turn off.

[0077] Among them, the preset time point can be understood as a time point that meets the preset conditions or a time point that meets the timing of the preset time period.

[0078] As an optional embodiment, the CPU monitors the level state of the synchronization line in real time. When the synchronization line becomes high, the synchronization signal is sent to each target slave, and the external interrupt is used to preferentially process the synchronization information between the host and the target slaves, so as to ensure the synchronization and stability of the system during parallel operation.

[0079] In some embodiments, during the stage when the median machine issues a control instruction to trigger the start-up of the target charge and discharge device, problems such as response delay that affect the master-slave consistency are most likely to occur. Therefore, the embodiment of the present invention realizes master-slave synchronous control for the power parallel system by collecting the hardware synchronization line mechanism at this stage; on this basis, the embodiment of the present invention also combines the master-slave control of the software communication mechanism. Exemplarily, step S108 can also be implemented through the following steps, including:

[0080] Repeat the following step 4.1) until the control instruction corresponding to the next working step issued by the median machine is received again and then terminate:

[0081] Step 4.1), based on the control parameters regularly sent by the host to each target slave, control each target slave to update the parameters, and control the output and synchronization of the second voltage and the second current.

[0082] During the software master-slave communication control stage, each target slave receives the control parameters regularly sent by the host to update its own control parameters, realizes the output of the corresponding voltage and current values, and can synchronize its own voltage and current values to the host at a preset time point until the control corresponding to the current working step is terminated when the control instruction corresponding to the next working step issued by the median machine is received.

[0083] To further improve the accuracy and real-time performance of control, after each target slave device receives the first frame of control parameters sent by the master device during the startup phase, it will actively discard the first frame of control data calculated by itself to avoid conflicts during the parameter update process; in other words, if the first frame of control parameters sent by the master device cannot be received in a timely manner due to communication delays or other issues when the target slave device starts up, the first frame of control data calculated by itself can be selected to achieve consistent master-slave control based on the synchronization line mechanism. Subsequently, when the target slave device receives the second frame of control parameters from the master device, it updates the first frame of control parameters. This method not only ensures the accurate transmission of control parameters but also avoids system instability problems caused by asynchronous parameter updates. Finally, the master-slave control logic of the system resumes to the conventional communication mechanism and continues to operate stably.

[0084] In some embodiments, the master-slave synchronization method of the power supply parallel system can be applied to each working step, and this method further includes:

[0085] Step 5.1), taking the control instruction corresponding to the next working step as the control instruction corresponding to the new current working step, and returning to execute step S102.

[0086] Here, the control instruction sent by the middle device based on each working step can be received, return to execute step S102, and then successively execute the subsequent steps up to step S108.

[0087] The embodiment of the present invention significantly shortens the synchronization time between the master device and each target slave device through the synchronization line mechanism and the method of independently calculating parameters, and has better improvement on the response time and waveform during parallel operation, providing an efficient and reliable synchronization solution for the power supply parallel system with high requirements for synchronization performance and real-time performance; at the same time, when receiving the first frame of control parameters of the two mechanisms, the first frame of control data calculated by itself can be discarded, which can effectively avoid parameter conflicts, enhance system stability and control accuracy. In addition, each slave device can independently judge the startup condition according to the instruction of the middle device, reducing unnecessary waiting time, optimizing resource utilization, and improving the overall efficiency of the system.

[0088] In some embodiments, as Figure 3 shown, the embodiment of the present invention provides a synchronization device for a power supply parallel system, which is applied to a power supply parallel system. The power supply parallel system includes a charging and discharging device master and multiple charging and discharging device slaves; each slave is connected in parallel to both ends of the master through a synchronization line; the device includes:

[0089] A determination module, which receives the control instruction for the current working step sent by the middle device and determines the target charging and discharging device to be powered on; wherein, the target charging and discharging device includes the master and at least one target slave.

[0090] A calculation module that controls each of the target slaves to close the synchronization line when the start-up preparation is completed, and calculates the first-frame control parameters corresponding to the control instruction;

[0091] A first synchronization module that, when each of the target slaves has completed starting up, controls the synchronization line to be powered on and delayed shutdown, and controls each of the target slaves to output and synchronize the first voltage and the first current based on the first-frame control parameters;

[0092] A second synchronization module that controls the host to periodically send control parameters to each of the target slaves, controls each of the target slaves to update the parameters, and outputs and synchronizes the second voltage and the second current.

[0093] After the master station in the embodiment of the present invention issues control instructions to the host and the slaves, the behavior mode of the slaves is optimized. In the traditional mode, the slaves only rely on the synchronization instructions sent by the host communication to respond. However, in the embodiment of the present invention, the slaves can also independently determine whether this module needs to be powered on according to the control instructions issued by the master station, and calculate the first-frame control parameter value. When the synchronization line sends a synchronization signal, the slaves will directly use the pre-calculated first-frame control parameters as the initial parameters when starting up, thereby reducing the response delay. It can be seen that the traditional master-slave synchronization system highly depends on the stability of the communication network. However, in the embodiment of the present invention, by optimizing the data processing logic, the slaves can independently calculate the control parameters according to the master station instructions, reducing the dependence on the host instructions, so as to still maintain the stable operation of the system under poor communication quality.

[0094] In some embodiments, the determination module is specifically further configured to receive the control instructions for the current working step sent by the master station to the host and each of the slaves; calculate the number of parallel-connected charge and discharge devices based on the control instructions; and determine the target charge and discharge devices to be powered on according to the number of parallel-connected devices and the addresses of each of the slaves.

[0095] In some embodiments, the calculation module is specifically further configured to control the host and each of the target slaves to perform start-up preparation respectively; when each of the target slaves is ready, send a start-up completion signal to the host, close the synchronization line corresponding to the target slave, and calculate the first-frame control parameters based on the control instructions.

[0096] In some embodiments, the first synchronization module is further specifically configured to, when the host receives the startup completion signal of each target slave, close the synchronization line corresponding to the host to trigger the synchronization line to pull up the high level, update the control parameters based on the control instruction to control the host to output a first voltage and a first current, and delay the turn-off of the synchronization line corresponding to the host; when each target slave receives the synchronization signal of the synchronization line pulling up the high level, control each target slave to output a first voltage and a first current based on the first frame control parameters, synchronize the first voltage and the first current back to the host at a preset time point, and delay the turn-off of the synchronization line corresponding to each target slave.

[0097] In some embodiments, the second synchronization module is further specifically configured to repeatedly execute the following steps until terminated when receiving the control instruction corresponding to the next working step issued by the middle machine again: control each target slave to update the parameters, and control the output and synchronization of a second voltage and a second current based on the control parameters regularly sent by the host to each target slave.

[0098] In some embodiments, the device is further configured to use the control instruction corresponding to the next working step as the control instruction corresponding to the new current working step, and return to execute the step of receiving the control instruction for the current working step issued by the middle machine to determine the target charge and discharge device to be powered on.

[0099] In some embodiments, the middle machine issues the control instruction for each working step when meeting the preset conditions.

[0100] The embodiments of the present invention provide an electronic device for implementation. In this embodiment, the electronic device may be, but is not limited to, a computer device with analysis and processing capabilities such as a personal computer (PC), a laptop computer, a monitoring device, a server, etc.

[0101] As an exemplary embodiment, refer to Figure 4 , the electronic device 110 includes a communication interface 111, a processor 112, a memory 113, and a bus 114. The processor 112, the communication interface 111, and the memory 113 are connected through the bus 114; the above-mentioned memory 113 is used to store a computer program that supports the processor 112 to execute the above method, and the above-mentioned processor 112 is configured to execute the program stored in the memory 113.

[0102] The machine-readable storage medium mentioned in this article can be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so on. For example, the machine-readable storage medium can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or a combination thereof.

[0103] The non-volatile medium can be non-volatile memory, flash memory, storage drives (such as hard disk drives), any type of storage disk (such as optical discs, DVDs, etc.), or similar non-volatile storage media, or a combination thereof.

[0104] It can be understood that the specific operation methods of the functional modules in this embodiment can refer to the detailed descriptions of the corresponding steps in the above method embodiment, and will not be repeated here.

[0105] The computer-readable storage medium provided by the embodiment of the present invention stores a computer program, and when the computer program code is executed, it can implement the method described in any of the above embodiments. For the specific implementation, refer to the method embodiment and will not be elaborated here.

[0106] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the foregoing method embodiments and will not be repeated here.

[0107] In addition, in the description of the embodiments of the present invention, unless otherwise clearly defined and limited, the terms "installation", "connection", and "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

[0108] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0109] Finally, it should be noted that the above-described embodiments are only specific implementation manners of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting it. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the technical field of the present invention can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the protection scope of the present invention.

Claims

1. A synchronization method for a power supply parallel system, characterized in that, Applied to a power supply parallel system, the power supply parallel system includes a main charge-discharge device and multiple slave charge-discharge devices; each slave device is connected in parallel to both ends of the main device through a synchronization line; the method includes: Receiving a control instruction for the current working step issued by the middle-level device, and determining a target charge-discharge device to be powered on; wherein, the target charge-discharge device includes the main device and at least one target slave device; Controlling each of the target slave devices to close the synchronization line when the startup preparation is completed, and calculating a first-frame control parameter corresponding to the control instruction; When each of the target slave devices has completed startup, controlling the synchronization line to be powered on and delayed shutdown, and controlling each of the target slave devices to output and synchronize a first voltage and a first current based on the first-frame control parameter; Controlling the main device to periodically send control parameters to each of the target slave devices, controlling each of the target slave devices to update the parameters, and outputting and synchronizing a second voltage and a second current.

2. The method according to claim 1, wherein The step of receiving a control instruction for the current working step issued by the middle-level device and determining a target charge-discharge device to be powered on includes: Receiving control instructions for the current working step issued by the middle-level device to the main device and each of the slave devices; Calculating the number of parallel-connected charge-discharge devices based on the control instruction; Determining the target charge-discharge device to be powered on according to the number of parallel-connected devices and the address of each slave device.

3. The method according to claim 1, characterized in that, The step of controlling each of the target slave devices to close the synchronization line when the startup preparation is completed and calculating a first-frame control parameter corresponding to the control instruction includes: Controlling the main device and each of the target slave devices to perform startup preparation respectively; When the startup preparation of each of the target slave devices is completed, sending a startup completion signal to the main device, closing the synchronization line corresponding to the target slave device, and calculating a first-frame control parameter based on the control instruction.

4. The method according to claim 1 or 3, characterized in that, The step of, when each of the target slave devices has completed startup, controlling the synchronization line to be powered on and delayed shutdown, and controlling each of the target slave devices to output and synchronize a first voltage and a first current based on the first-frame control parameter includes: When the main device receives the startup completion signal of each of the target slave devices, closing the synchronization line corresponding to the main device to trigger the synchronization line to pull up the high level, updating the control parameter based on the control instruction to control the main device to output a first voltage and a first current, and delaying the shutdown of the synchronization line corresponding to the main device; When each of the target slave devices receives the synchronization signal of the synchronization line pulling up the high level, controlling each of the target slave devices to output a first voltage and a first current based on the first-frame control parameter, synchronizing the first voltage and the first current back to the main device at a preset time point, and delaying the shutdown of the synchronization line corresponding to each of the target slave devices.

5. The method according to claim 1, wherein The step of controlling the main device to periodically send control parameters to each of the target slave devices, controlling each of the target slave devices to update the parameters, and outputting and synchronizing a second voltage and a second current includes: Repeating the following steps until terminated when receiving a control instruction corresponding to the next working step issued by the middle-level device again: Based on the control parameters periodically sent by the host to each of the target slaves, control each of the target slaves to update the parameters, and control the output and synchronization of the second voltage and the second current.

6. The method according to claim 1 or 5, characterized in that, The method further includes: Taking the control instruction corresponding to the next working step as the control instruction corresponding to the new current working step, and returning to execute the control instruction for the current working step sent by the middle machine to determine the target charge and discharge device to be powered on.

7. The method according to claim 1, wherein The middle machine sends the control instruction for each working step when the preset conditions are met.

8. A synchronization device for a power supply parallel operation system, characterized in that, Applied to a power parallel system, the power parallel system includes a charge and discharge device host and a plurality of charge and discharge device slaves; each slave is connected in parallel to both ends of the host through a synchronization line; the device includes: A determination module, which receives the control instruction for the current working step sent by the middle machine and determines the target charge and discharge device to be powered on; wherein, the target charge and discharge device includes the host and at least one target slave; A calculation module, which controls each of the target slaves to close the synchronization line when the start-up preparation is completed, and calculates the first frame of control parameters corresponding to the control instruction; A first synchronization module, when each of the target slaves has completed starting up, controls the synchronization line to be powered on and delayed shutdown, and controls each of the target slaves to output and synchronize the first voltage and the first current based on the first frame of control parameters; A second synchronization module, which controls the host to periodically send control parameters to each of the target slaves, controls each of the target slaves to update the parameters, output and synchronize the second voltage and the second current.

9. An electronic device, characterized in that, It includes a memory, a processor, and a program stored on the memory and capable of running on the processor. When the processor executes the program, it implements the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, A computer program is stored in the readable storage medium, and when the computer program is executed, it implements the method according to any one of claims 1-7.