Power electronic transformer redundant controller switching method
By configuring a redundant array of master and slave controllers in the power electronic transformer, the control logic is monitored in real time and updated dynamically, which solves the problem of unstable switching when the power electronic transformer module fails, realizes shockless switching and stable system operation, and reduces maintenance costs.
Patent Information
- Application Number
- CN202511501018.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-21
- Publication Date
- 2025-11-18
AI Technical Summary
The redundant controller switching of existing power electronic transformers is unstable when a module fails, leading to system fluctuations and downtime risks, and increasing maintenance costs.
Configure a redundant control array with a master controller and slave controllers, collect analog data in real time, realize master-slave state switching through a high-speed inter-board communication protocol, monitor fault information during the interrupt cycle, and dynamically update the control logic to ensure stable switching.
It enables shock-free switching of power electronic transformers during faults, ensuring stable system operation, reducing maintenance costs and downtime risks, and improving system reliability and control precision.
Smart Images

Figure CN120972491A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power equipment technology, specifically to a method for switching redundant controllers of power electronic transformers. Background Technology
[0002] Power electronic transformers often employ modular structures to handle high voltage levels, and their application in data center power supply places extremely high demands on reliability. To improve overall system stability during operation, multiple modules are typically designed with redundancy. This means that if a module fails during operation, the power electronic transformer shuts down, and redundant operations are performed on the faulty module, allowing for restarting with a reduced number of modules. Furthermore, some power electronic transformers can achieve online redundancy in case of module failure, allowing the faulty module to continue operating without shutting down the system. When shutdown is possible, maintenance personnel can replace the faulty module. However, current redundant controllers for power electronic transformers suffer from instability during fault switching, leading to system fluctuations and downtime risks. This can negatively impact the long-term stable operation of the power electronic transformer and significantly increase maintenance costs. Summary of the Invention
[0003] In view of this, the purpose of the present invention is to provide a method for switching redundant controllers of power electronic transformers to solve the technical problems mentioned in the prior art.
[0004] A method for switching redundant controllers in a power electronic transformer includes the following steps: A redundant control array is constructed by configuring a main controller and several slave controllers for the power electronic transformer to collect analog data of the power electronic transformer in real time and obtain two sets of one-to-one instantaneous interactive data respectively. The main controller generates control logic using any one of the instantaneous interactive data sets to control the operating state of the power electronic transformer, and sends another set of instantaneous interactive data sets to the slave controller within a preset interruption period. The slave controller dynamically updates the two sets of instantaneous interactive data sets stored in its own memory based on the received instantaneous interactive data sets. When the master controller fails, the master controller and any of the slave controllers connected to it switch master and slave states according to a set interaction mechanism. After the switch, the master controller continues the instantaneous interaction data last updated by the master controller before the switch and dynamically updates the master-slave switch flag. The interaction mechanism is set as follows: the master controller and / or the slave controller execute an interrupt routine self-test task within a preset interrupt cycle to monitor the fault information of the master controller in real time, and implement redundant control according to the set master-slave state switch order. When the master-slave switching flag of all controllers in the redundant control array is either the master controller or the slave controller, a master-slave status abnormality instruction is generated and fed back to the previous control terminal, and the interrupt program self-test task is terminated.
[0005] Optionally, the master controller and the slave controller are connected via a high-speed inter-board communication protocol.
[0006] Optionally, the interrupt routine self-test task is configured as follows: The main controller and / or the slave controller monitor in real time whether the currently collected instantaneous interactive data is within a preset detection range; If the currently collected instantaneous interactive data is within the preset detection range, the main controller is operating normally; If the currently collected instantaneous interactive data is outside the preset detection range, the main controller will malfunction.
[0007] Optionally, when the main controller is operating normally, the redundant control array executes a first interrupt routine via the main controller, the first interrupt routine being configured as follows: The system generates control logic using the instantaneous interactive data of the power electronic transformer received by the main controller; and executes the control logic as a state-running machine to dynamically adjust the voltage loop and current loop, while outputting external switching control commands.
[0008] Optionally, when the main controller fails, the redundant control array selects the corresponding slave controller to execute the second interrupt routine according to the set master-slave state switching order. The second interrupt routine is configured as follows: The system generates control logic and updates the instantaneous interactive data of the main controller using the instantaneous interactive data of the power electronic transformer received from the currently selected slave controller; and executes the control logic using the currently selected slave controller as a state machine to dynamically adjust the operating state of the voltage loop and current loop of the power electronic transformer, while outputting external switching control commands.
[0009] Optionally, the instantaneous interactive data includes control PI loop integral data, state machine data, control logic data, DI signal data, and / or DO signal data.
[0010] Optionally, the state machine data includes master-slave state variables of the master controller and the slave controller.
[0011] Optionally, the control PI loop integral data includes voltage loop PI integral data and current loop PI integral data.
[0012] The beneficial effects that this invention can produce include: 1. The redundancy controller switching method for power electronic transformers provided by this invention, through the redundancy design of master and slave controllers, enables rapid switching to the slave controller within one control cycle when the master controller fails. The switched master controller continues the instantaneous interactive data last updated by the master controller before the switch, achieving a shock-free switching and avoiding system fluctuations or downtime risks, thus ensuring the stable operation of the power electronic transformer. Simultaneously, the master and slave controllers independently collect analog data, so a failure of a single controller will not affect the overall operation, further improving system reliability; and reducing maintenance and downtime losses due to faults, thereby lowering overall maintenance costs.
[0013] 2. In this invention, by configuring an interrupt routine self-test task, the main controller and / or the slave controller can monitor the operating status of the main controller in real time within a preset interrupt cycle (such as a control cycle) (by judging whether the instantaneous interactive data is within the preset detection range), which can promptly detect the main controller failure and trigger the switching mechanism, ensuring that the system can quickly switch to the slave controller to maintain stable operation when the main controller fails.
[0014] 3. In this invention, by setting up a precise control and dynamic adjustment mechanism, when the main controller is operating normally, it executes a first interrupt program, generates control logic based on instantaneous interactive data, dynamically adjusts the voltage loop and current loop, and outputs switching control commands to achieve precise control of the power electronic transformer. When the main controller fails, the slave controller after control switching executes a second interrupt program, which can also generate control logic based on instantaneous interactive data and update data to dynamically adjust the voltage loop and current loop, ensuring the continuity and precision of control. Attached Figure Description
[0015] Figure 1 This is a circuit diagram of the power electronic transformer redundancy controller of the present invention; Figure 2 This is a flowchart of a power electronic transformer redundancy controller switching method according to the present invention; Figure 3 This is the logical architecture of the controller's interrupt routine self-test task in this invention; Figure 4 This is a block diagram of the PI control of the redundant controller for the power electronic transformer in this invention. Detailed Implementation
[0016] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0017] Please see Figure 2 As shown, this invention provides a method for switching redundant controllers of a power electronic transformer, comprising the following steps: configuring a master controller and several slave controllers to construct a redundant control array for the power electronic transformer to collect analog data of the power electronic transformer in real time to obtain two sets of one-to-one corresponding instantaneous interactive data; wherein, the master controller and the slave controllers are connected through a high-speed inter-board communication protocol, the master controller generates control logic using any one set of instantaneous interactive data to control the operating state of the power electronic transformer, and sends the other set of instantaneous interactive data to the slave controller within a preset interruption period, the slave controller dynamically updates the two sets of instantaneous interactive data stored in its own memory according to the received instantaneous interactive data; when the master controller experiences an interruption... In the event of a fault, the master controller and any connected slave controller switch master-slave status according to a set interaction mechanism. The switched master controller continues the instantaneous interaction data last updated by the master controller just moments before the switch and dynamically updates the master-slave switching flag. The switching time is set to one control cycle. The interaction mechanism is as follows: the master controller and / or slave controller execute an interrupt routine self-check within a preset interrupt cycle to monitor the master controller's fault information in real time and implement redundant control according to the set master-slave state switching order. When the master-slave switching flags of all controllers in the redundant control array are both set to master or slave, a master-slave state abnormality command is generated and fed back to the previous control terminal, and the interrupt routine self-check ends. During master-slave controller switching, a shock-free switching is achieved by using the minimum control data update time scale required by the control system, ensuring the operational stability and reliability of the redundant controllers of the power electronic transformer during switching, eliminating the risk of system fluctuations and downtime, thereby reducing maintenance and downtime losses due to faults and lowering overall maintenance costs.
[0018] In the above configuration, the interrupt routine self-test task is set as follows: the main controller and / or the slave controller monitor in real time whether the currently acquired instantaneous interactive data is within a preset detection range; if the currently acquired instantaneous interactive data is within the preset detection range, the main controller is operating normally; if the currently acquired instantaneous interactive data is outside the preset detection range, the main controller is malfunctioning. Thus, during system operation, the interrupt routine self-test task monitors the operating status of the main controller in real time, ensuring that if the main controller malfunctions during system operation, the slave controller can be switched in a timely manner to maintain stable system operation.
[0019] Furthermore, when the main controller is operating normally, the redundant control array executes the first interrupt program with the main controller. The first interrupt program is configured to generate control logic using the instantaneous interactive data of the power electronic transformer received by the current main controller; and execute the control logic as a state running machine to dynamically adjust the voltage loop and current loop, while outputting external switching control commands.
[0020] Furthermore, when the main controller malfunctions, the redundant control array selects the corresponding slave controller to execute the second interrupt program according to the set master-slave state switching order. The second interrupt program is configured to: generate control logic and update the instantaneous interactive data of the power electronic transformer received by the currently selected slave controller; and use the currently selected slave controller as a state running machine to execute the control logic to dynamically adjust the operating state of the voltage loop and current loop of the power electronic transformer, while outputting external switching control commands.
[0021] Furthermore, the instantaneous interactive data includes control PI loop integral data, state machine data, control logic data, DI signal data, and / or DO signal data. The state machine data includes the master-slave state variables of the master and slave controllers. The control PI loop integral data includes voltage loop PI integral data and current loop PI integral data.
[0022] In this embodiment, as Figure 1 As shown, the power electronic transformer is equipped with a redundant controller. This redundant controller consists of controller 1 and controller 2 connected via a high-speed inter-board communication protocol to form a redundant control array, such as... Figure 2 As shown, this is used to control the operation of the entire device. Each controller can independently control one power cabinet (PET1) or simultaneously control two power cabinets (PET1+PET2). Each power cabinet consists of multiple cascaded power modules. Controller 1 and Controller 2 operate in a master-slave relationship during operation, with the master controller having control of the entire device and the slave controller acting as a substitute. Both controllers have an automatic master-slave switching function; when the master controller fails, the slave controller automatically switches to master and takes over control of the entire device. It should be noted that the two controllers independently acquire analog data from the power electronic transformer; therefore, a failure in one controller will not affect the operation of the entire device.
[0023] like Figure 2As shown, redundant controllers 1 and 2 communicate with each other via a high-speed inter-board communication protocol, ensuring that the program can update data once within an interrupt. The analog sampling points for both controllers are the voltage and current at the same location. Each controller has two sets of communication synchronization data variables: one set stores instantaneous interaction data when acting as a slave, and the other set stores instantaneous interaction data when acting as a master. These two sets of variables correspond one-to-one, allowing the controller to generate control logic using its own data when in master mode. Simultaneously, it sends its own instantaneous interaction data to the slave controller during each interrupt cycle. When acting as a slave, the controller receives redundant interaction data from the master controller in real time during each interrupt cycle and replaces its own control loop integral data, status data, command data, and DI and DO signal data.
[0024] like Figure 2 As shown, the redundant control array controls two redundant controllers to synchronously acquire each other's master-slave status to execute interrupt routine self-test tasks, thereby monitoring the operating status of the master controller in real time. It should be noted that the master-slave relationship between the two redundant controllers can switch at any time. Specifically, as... Figure 3 As shown, each controller has two master-slave status variables: one to store its own master-slave status and the other to store the master-slave status of the other controller. The master controller determines whether it is the master or slave controller based on its master-slave status. The master controller uses its own data generation control logic to achieve precise control of the power electronic transformer, while simultaneously sending its instantaneous interactive data to the slave controller. The slave controller receives the instantaneous interactive data from the master controller to update its own instantaneous interactive data. If the master-slave status is abnormal—that is, both controllers are simultaneously either master or slave—the redundant control array reports an abnormal master-slave status command to the previous control terminal. This can be sent as an alarm signal to the monitoring terminal to trigger the system alarm; or it can be sent as a pre-defined text format or image to the user's handheld terminal, providing dynamic status updates for the system.
[0025] like Figure 4 As shown, to ensure a stable PI control process, the slave device uses the PI integral output sent by the master device. The PI integral output is updated once per interrupt. During redundancy switching, i.e., when the slave device switches to the master device, since the PI integral output controlled by the slave device follows the PI integral output of the master device in each interrupt, it inherits the PI integral output controlled by the master device after switching back to the master device, and will not cause any impact on the system.
Claims
1. A method for switching redundant controllers in a power electronic transformer, characterized in that, Includes the following steps: A redundant control array is constructed by configuring a main controller and several slave controllers for the power electronic transformer to collect analog data of the power electronic transformer in real time and obtain two sets of one-to-one instantaneous interactive data respectively. The main controller generates control logic using any one of the instantaneous interactive data sets to control the operating state of the power electronic transformer, and sends another set of instantaneous interactive data sets to the slave controller within a preset interruption period. The slave controller dynamically updates the two sets of instantaneous interactive data sets stored in its own memory based on the received instantaneous interactive data sets. When the master controller fails, the master controller and any of the slave controllers connected to it switch master and slave states according to a set interaction mechanism. After the switch, the master controller continues the instantaneous interaction data last updated by the master controller before the switch and dynamically updates the master-slave switch flag. The interaction mechanism is set as follows: the master controller and / or the slave controller execute an interrupt routine self-test task within a preset interrupt cycle to monitor the fault information of the master controller in real time, and implement redundant control according to the set master-slave state switch order. When the master-slave switching flag of all controllers in the redundant control array is either the master controller or the slave controller, a master-slave status abnormality instruction is generated and fed back to the previous control terminal, and the interrupt program self-test task is terminated.
2. The method for switching redundant controllers of a power electronic transformer according to claim 1, characterized in that, The master controller and the slave controller are connected via a high-speed inter-board communication protocol.
3. The switching method for a redundant controller of a power electronic transformer according to claim 1, characterized in that, The interrupt routine self-test task is configured as follows: The main controller and / or the slave controller monitor in real time whether the currently collected instantaneous interactive data is within a preset detection range; If the currently collected instantaneous interactive data is within the preset detection range, the main controller is operating normally; If the currently collected instantaneous interactive data is outside the preset detection range, the main controller will malfunction.
4. The switching method for a redundant controller of a power electronic transformer according to claim 3, characterized in that, When the main controller is operating normally, the redundant control array executes the first interrupt routine via the main controller. The first interrupt routine is configured as follows: The system generates control logic using the instantaneous interactive data of the power electronic transformer received by the main controller; and executes the control logic as a state-running machine to dynamically adjust the voltage loop and current loop, while outputting external switching control commands.
5. The switching method for a redundant controller of a power electronic transformer according to claim 3, characterized in that, When the main controller fails, the redundant control array selects the corresponding slave controller to execute the second interrupt routine according to the set master-slave state switching order. The second interrupt routine is configured as follows: The control logic is generated and the instantaneous interactive data of the main controller is updated using the instantaneous interactive data of the power electronic transformer currently selected from the controller. The currently selected slave controller is used as a state machine to execute the control logic to dynamically adjust the operating state of the voltage loop and current loop of the power electronic transformer, and at the same time output external switching control commands.
6. The method for switching redundant controllers of a power electronic transformer according to claim 1, characterized in that, The instantaneous interactive data includes control PI loop integral data, state machine data, control logic data, DI signal data, and / or DO signal data.
7. A method for switching redundant controllers of a power electronic transformer according to claim 6, characterized in that, The state machine data includes the master-slave state variables of the master controller and the slave controller.
8. A method for switching redundant controllers of a power electronic transformer according to claim 6, characterized in that, The integrated data of the control PI loop includes voltage loop PI integrated data and current loop PI integrated data.
Citation Information
Patent Citations
Double generator redundancy control system
CN101017366A
Double-CPU redundancy control system based on analysis redundancy mechanism
CN101916218A
Hot-redundancy CAN (Controller Area Network)-bus high-fault-tolerance control terminal and method based on dual DSPs (Digital Signal Processors)
CN103149907A
Dual-configuration method of intelligent electronic controller of transformer
CN106527214A
A parking control method and apparatus for a vehicle and the vehicle
CN110228453A
Cited By
Switching and control method for communication between PET redundant controllers and related device
CN121216873A
Switching and control method for pet redundant inter-controller communication and related device
CN121216873B
PLC redundant CPU master / slave switching method and system
CN121477738A