Power module control system, method, electronic device and storage medium
By introducing the design of the main controller, redundant controller and signal selection module in the MMC system, automatic switching is realized when the main controller fails, solving the problem of low reliability caused by the controller failure in the MMC system, and improving the System stability and reliability.
Patent Information
- Application Number
- CN202211199122.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-29
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2042-09-29
AI Technical Summary
The MMC system has low reliability because even when the main circuit is set to redundant, the controller will still cause system failure and cannot effectively switch to the redundant controller to continue running.
Design a power module control system, including the main controller, the redundant controller and the signal selection module, and switch to the control command of the redundant controller when the main controller fails, to ensure that the power module can continue to operate normally.
By realizing redundant switching of the controller, system failures caused by main controller failure are avoided, and the reliability and stability of the MMC system are improved.
Smart Images

Figure CN115561992B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electrical engineering technology, and in particular to a power module control system, method, electronic device and storage medium. Background Art
[0002] Modular Multilevel Converter (MMC) has the advantages of high efficiency, modularity, flexible scalability, and high output waveform quality. It is widely used in large-scale drives, DC transmission and other fields. The MMC system includes a controller and a main circuit. The main circuit includes multiple power modules (PM). Each power module includes multiple switch tubes. The controller controls the on and off states of each switch tube to achieve rectification, filtering, inversion and other processing. Since the MMC system is used in large-scale drives, DC transmission and other scenarios, the MMC system has high requirements for reliability, because MMC system failures will cause greater losses.
[0003] At present, in order to improve the reliability of the MMC system, a redundant main circuit is set in the MMC system. When one main circuit fails, it switches to another spare main circuit so that the MMC system can continue to operate.
[0004] However, setting a redundant main circuit in the MMC system can only solve the MMC system failure caused by the main circuit failure, while the MMC system failure will still occur when the controller fails, so the reliability of the MMC system is still low. Summary of the invention
[0005] In view of this, the power module control system, method, electronic device and storage medium provided in the present application can improve the reliability of the MMC system.
[0006] According to a first aspect of an embodiment of the present application, a power module control system is provided, comprising: a main controller, a redundant controller, a signal selection module and at least three power modules; the main controller, the redundant controller and the at least three power modules are respectively connected to the signal selection module; the signal selection module is used to send a control command from the main controller to the power module when the main controller operates normally, and to send a control command from the redundant controller to the power module when a failure occurs in the main controller; the power module is used to execute a switch state switching action according to the received control command.
[0007] In one possible implementation, the main controller is used to send a main controller status signal to the signal selection module; the redundant controller is used to send a redundant controller status signal to the signal selection module; the signal selection module is used to send a control command from the main controller to the power module when the main controller status signal indicates that the main controller is operating normally, and send a control command from the redundant controller to the power module when the main controller status signal indicates that the main controller has failed and the redundant controller status signal indicates that the redundant controller is operating normally.
[0008] In one possible implementation, the main controller is used to reset the first counter at the beginning of each switching cycle, and send a control command to the signal selection module when the count value of the first counter reaches the first count value; the redundant controller is used to reset the second counter at the beginning of each switching cycle, and send a control command to the signal selection module when the count value of the second counter reaches the first count value; the power module is used to set the count value of the third counter to the second count value after receiving the control command from the signal selection module, reset the third counter after the count value of the third counter reaches the duration of one switching cycle, and perform a switching state switching action according to the received control command, wherein the second count value is equal to the sum of the first count value and a preset first duration threshold, and the second count value is less than the duration of one switching cycle.
[0009] In one possible implementation, the power module is used to send the status information in the current switching cycle to the signal selection module after setting the count value of the third counter to the second count value; the signal selection module is used to send the status information to the main controller and the redundant controller respectively; the main controller is used to reset the first counter after receiving the status information; the redundant controller is used to reset the second counter after receiving the status information.
[0010] In one possible implementation, the main controller is used to send first exchange information to the redundant controller after the count value of the first counter reaches a third count value, wherein the third count value is greater than or equal to the first count value and less than the duration of one switching cycle, and the first exchange information includes at least one of system status information, a control loop calculation result of the main controller, and a modulation result of the main controller; the redundant controller is used to send second exchange information to the main controller after the count value of the second counter reaches the third count value, and generate a control command for the next switching cycle based on the first exchange information when the first exchange information is different from the second exchange information, wherein the second exchange information includes at least one of system status information, a control loop calculation result of the redundant controller, and a modulation result of the redundant controller.
[0011] In one possible implementation, the main controller is used to execute a first task, wherein the first task includes a task for generating control commands; the redundant controller is used to execute a second task when the main controller operates normally, and to execute the first task and the second task when the main controller sends a fault, wherein the second task does not include a task for generating control instructions.
[0012] In one possible implementation, the main controller is used to execute a control task for controlling the power module; the redundant controller is used to be in bypass mode when the main controller operates normally, copy the results of the main controller executing the control task, and execute the control task when the main controller fails.
[0013] In one possible implementation, the signal selection module is used to receive input and output control signals from the main controller and the redundant controller, and send the input and output control signals to a controlled object, and receive feedback signals from the controlled object, and send the feedback signals to the main controller and the redundant controller, wherein the input and output control signals are used to control the controlled object; or, the main controller is used to generate input and output control signals, and send the input and output control signals to the controlled object, and receive feedback signals from the controlled object, and the redundant controller is used to generate the input and output control signals, and send the input and output control signals to the controlled object, and receive feedback signals from the controlled object.
[0014] According to a second aspect of an embodiment of the present application, a power module control method is provided, which is applied to a signal selection module, wherein the signal selection module is respectively connected to a main controller, a redundant controller and at least three power modules, and the method comprises: determining whether the main controller is operating normally; if the main controller is operating normally, sending a control command from the main controller to the power module, so that the power module performs a switch state switching action according to the received control command; if the main controller fails, sending a control command from the redundant controller to the power module, so that the power module performs a switch state switching action according to the received control command.
[0015] According to a third aspect of an embodiment of the present application, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a bus, wherein the processor, the memory and the communication interface communicate with each other through the bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the power module control method described in the second aspect above.
[0016] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which computer instructions are stored. When the computer instructions are executed by a processor, the processor executes the power module control method as described in the second aspect above.
[0017] According to a fifth aspect of an embodiment of the present application, a computer program product is provided, which is tangibly stored on a computer-readable medium and includes computer-executable instructions, which, when executed, enable at least one processor to perform the power module control method described in the second aspect above.
[0018] It can be seen from the above technical solution that the power module control system includes a main controller, a redundant controller, a signal selection module and multiple power modules. When the main controller operates normally, the signal selection module sends the control command from the main controller to the power module. When the main controller fails, the signal selection module sends the control command from the redundant controller to the power module. The redundancy of the controller is achieved through multiple controllers and signal selection modules. That is, when the main controller fails, the control signal can be sent by the redundant controller to control the operation of each power module, so that the power module control system can continue to work, avoiding the situation where the power module control system fails due to the failure of the main controller, making the power module control system work more stably and less prone to failure. Therefore, the power module control system has higher reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1is a schematic diagram of a power module control system according to an embodiment of the present application;
[0020] Figure 2 is a schematic diagram of a control timing of an embodiment of the present application;
[0021] Figure 3 is a schematic diagram of a power module control system according to another embodiment of the present application;
[0022] Figure 4 is a schematic diagram of a power module control system according to yet another embodiment of the present application;
[0023] Figure 5 is a flow chart of a power module control method according to an embodiment of the present application;
[0024] Figure 6 It is a schematic diagram of an electronic device according to an embodiment of the present application.
[0025] List of reference numerals:
[0026] 501. Determine whether the main controller is operating normally
[0027] 502: Send control commands from the main controller to the power module
[0028] 503: Send control commands from the redundant controller to the power module
[0029] 100: Power module control system 500: Power module control method 101: Main controller
[0030] 102: Redundant controller 103: Signal selection module 104: Power module
[0031] D1: first count value D2: second count value A: control command
[0032] B: Status information K1: Main controller status signal L1: First exchange information
[0033] L2: Second exchange information K2: Redundant controller status signal T: Switching cycle
[0034] C1: Input and output control signal C2: Feedback signal 105: Control object
[0035] 602: processor 604: communication interface 606: memory
[0036] 608: bus 610: program D4: fourth count value DETAILED DESCRIPTION
[0037] As mentioned above, the MMC system includes a controller and a main circuit. The main circuit includes multiple power modules, each power module includes multiple switch tubes, and the controller realizes rectification, filtering, inversion and other processing by controlling the on and off states of each switch tube. Since the MMC system is used in scenarios such as large drives and DC transmission, the MMC system has high requirements for reliability. At present, in order to improve the reliability of the MMC system, a redundant main circuit is set in the MMC system. When one main circuit fails, it switches to another spare main circuit, so that the MMC system can continue to operate when one main circuit fails. However, setting a redundant main circuit in the MMC system can only solve the MMC system failure caused by the main circuit failure. When the controller fails, the MMC system will still fail, so the reliability of the existing MMC system is low.
[0038] In an embodiment of the present application, a power module control system includes a main controller, a redundant controller, a signal selection module and multiple power modules. When the main controller operates normally, the signal selection module sends the control command from the main controller to the power module. When the main controller fails, the signal selection module sends the control command from the redundant controller to the power module. Controller redundancy is achieved through multiple controllers and signal selection modules. That is, when the main controller fails, the redundant controller can send a control signal to control the operation of each power module, so that the power module control system can continue to work, avoiding the situation where the power module control system fails due to a controller failure, making the power module control system work more stably, so the power module control system has higher reliability.
[0039] The power module control system, method, electronic device and storage medium provided by the embodiments of the present application are described in detail below in conjunction with the accompanying drawings. It should be noted that the above only uses the MMC system to illustrate the problems existing in the existing power module control system, and the control system provided by the embodiments of the present application is not only applicable to the MMC system, but also to systems including various types of power electronic converters.
[0040] Power module control system
[0041] Figure 1 FIG. 1 is a schematic diagram of a power module control system according to an embodiment of the present application. Figure 1 As shown, the power module control system 100 includes: a main controller 101, a redundant controller 102, a signal selection module 103 and at least three power modules 104;
[0042] The main controller 101, the redundant controller 102 and at least three power modules 104 are respectively connected to the signal selection module 103. The signal selection module 103 can send the control command from the main controller 101 to the power module 104 when the main controller 101 operates normally, and send the control command from the redundant controller 102 to the power module 104 when the main controller 101 fails. The power module 104 can perform a switch state switching action according to the received control command.
[0043] A redundant controller 102 is provided in the power module control system 100. When the main controller 101 fails, the signal selection module 103 sends the control command of the redundant controller 102 to each power module 104 to control the switch tube in each power module 104 to perform switch state switching. The power module 104 includes a plurality of switch tubes, and the power module control system 100 can be controlled to perform different tasks by turning on and off the plurality of switch tubes. For example, the power module control system 100 can be made to perform rectification work by controlling the on and off of the switch tubes, and the power module control system 100 can be made to perform inversion work by controlling the on and off of the switch tubes.
[0044] The signal selection module 103 can selectively send the control command issued by the main controller 101 or the redundant controller 102 to the power module 104 connected to the signal selection module 103. The signal selection module 103 can specifically be a complex programmable logic device (CPLD), a field programmable gate array (FPGA) and a signal selection unit, etc., which is not limited in this application.
[0045] It should be understood that in order to make the power module control system 100 more reliable, multiple redundant controllers 102 can be provided, and when there are multiple redundant controllers 102, the priority of each redundant controller 102 can be set. When the main controller 101 fails, the signal selection module 103 sends the control command output by the redundant controller 102 to the power module 104 according to the preset priority. For example, there are three redundant controllers 102, the first redundant controller 102 has a first priority, and the second controller has a second priority. When the main controller 101 fails, the signal selection module 103 sends the control command of the first redundant controller 102 to the power module 104. If the first redundant controller 102 is also damaged at this time, the signal selection module 103 sends the control command of the second redundant controller 102 to the power module 104, and so on.
[0046] In an embodiment of the present application, a power module control system 100 includes a main controller 101, a redundant controller 102, a signal selection module 103 and multiple power modules 104. When the main controller 101 operates normally, the signal selection module 103 sends a control command from the main controller 101 to the power module 104. When the main controller 101 fails, the signal selection module 103 sends a control command from the redundant controller 102 to the power module 104. Controller redundancy is achieved through multiple controllers and the signal selection module 103. That is, when the main controller 101 fails, the redundant controller 102 can issue a control command to control the operation of each power module 104, so that the power module control system 100 can continue to work, avoiding the situation where the power module control system 100 fails due to a failure of the main controller 101, making the power module control system 100 work more stably and less prone to failure. Therefore, the power module control system 100 has higher reliability.
[0047] In a possible implementation, the main controller 101 may send a main controller state signal K1 to the signal selection module 103. The redundant controller 102 may send a redundant controller state signal K2 to the signal selection module 103. The signal selection module 103 may send a control command from the main controller 101 to the power module 104 when the main controller state signal K1 indicates that the main controller 101 is operating normally, and may send a control command from the redundant controller 102 to the power module 104 when the main controller state signal K1 indicates that the main controller 101 is failing and the redundant controller state signal K2 indicates that the redundant controller 102 is operating normally.
[0048] The main controller 101 and the redundant controller 102 output corresponding controller status signals to the signal selection module 103, and the status signals can indicate whether the controller is operating normally, for example: if the controller is operating normally, the signal is high level, if the controller fails, the signal is low level, etc. If the status signal of the main controller 101 indicates a controller failure, the redundant controller 102 is switched to control the power module 104. It should be noted that this example is only used for example and does not impose any limitation on this application.
[0049] In an embodiment of the present application, the main controller 101 and the redundant controller 102 output corresponding controller status signals to the signal selection module 103, so that the signal selection module 103 can determine whether the main controller 101 and / or the redundant controller 102 are operating normally through the controller status signal, thereby sending the control command issued by the normally operating main controller 101 or the redundant controller 102 to the power module 104, achieving a smooth transition to the redundant controller 102 issuing a control command when the main controller 101 fails, so that when the main controller 101 fails, the power module control system 100 can continue to work, thereby improving the reliability of the system.
[0050] Figure 2 Schematic diagram of the control sequence of an embodiment of the present application. Figure 2 As shown, the main controller 101 can reset the first counter at the beginning of each switching cycle T, and send a control command A to the signal selection module 103 when the count value of the first counter reaches the first count value D1. The redundant controller 102 can reset the second counter at the beginning of each switching cycle T, and send a control command A to the signal selection module 103 when the count value of the second counter reaches the first count value D1. After receiving the control command A from the signal selection module 103, the power module 104 can set the count value of the third counter to the second count value D2, reset the third counter after the count value of the third counter reaches the duration of a switching cycle T, and perform a switch state switching action according to the received control command A, wherein the second count value D2 is equal to the sum of the first count value D1 and the preset first duration threshold, and the second count value D2 is less than the duration of a switching cycle T.
[0051] The controller controls the on and off of the switch tubes in each power module 104 according to a certain period T. The main controller 101 is provided with a first counter. The main controller 101 resets the first counter at the beginning of each period T. For example, if a period T is 100 μs, the first counter is reset at the 100th μs and starts counting again from 0 μs. When the first counter reaches the first count value D1, the control command A is sent to the signal selection module 103, wherein the first count value D1 is a manually specified value, and the first count value D1 can be any count value within the period T. Specifically, the count value can be determined according to the delay of the transmission data, for example, the first count value D1 can be set to 97 μs, or it can be set to 95 μs, etc. The control method of the redundant controller 102 and the second counter is similar to the control method of the main controller 101 and the first counter, and will not be repeated here.
[0052] When the signal selection module 103 receives the control command A from the main controller 101 and / or the redundant controller 102, the control command A is selected and sent to the power module 104. The selection process is specifically as follows: if the main controller 101 operates normally, the control command A output by the main controller 101 is output to the power module 104; if the main controller 101 fails, the control command A output by the redundant controller 102 is output to the power module 104. After the power module 104 receives the control command A, the third counter in the power module 104 is set to the second count value D2, which is obtained by adding the first count value D1 to the preset first duration threshold, wherein the preset first duration threshold is the time difference between the signal selection module 103 outputting the control command A and the power module 104 receiving the control command A, that is, the delay time of the signal transmission. After the third counter is set to the second count value D2, the third counter starts timing from the second count value D2. When the count value reaches the switching period T, it is reset and then the switch on and off operation indicated by the control command A is executed. For example, if the first count value D1 is 97μs and the signal transmission time difference is 1.5μs, the current count of the third counter is set to 98.5μs. After the third counter starts counting for 1.5μs and reaches the switching period of 100μs, the third counter is reset to start counting from 0μs and the control command A is executed.
[0053] It should be understood that since the main controller 101 and the redundant controller 102 are generally directly connected to the signal selection module 103, the signal transmission delay between each controller and the signal selection module 103 can be ignored, and the signal selection module 103 and the multiple power modules 104 are generally connected via optical fibers, and optical fiber transmission signals have a certain delay, so there is a delay when the signal selection module 103 transmits signals to the power modules 104.
[0054] It should also be understood that Figure 2 As shown, the main controller 101 and the redundant controller 102 are in the Nth switching cycle T n The information collection and algorithm operation are performed between a certain period of time and the fourth count value D4, and the fourth count value D4 is the switching period T n The counter is modulated between the fourth count value D4 and the first count value D1, and when the counter reaches the first count value, the controller issues a control command A and performs timing synchronization, thereby repeating the cycle T, i.e., the switching cycle T n The information collected is the last switching cycle T n-1 As a result of the control, the switching period T n+1 The information collected is the switching cycle T n control results.
[0055] In an embodiment of the present application, the counter of each controller is reset at the beginning of each switching cycle T, and the counter is synchronized with the power module 104 when the counter reaches the first count value D1, so as to prevent the clocks of various parts in the power module control system 100 from being inconsistent, which would lead to deviations in system control. In addition, when synchronizing the counters, the time delay of signal transmission is taken into account, so that the synchronization between the counters is more accurate, thereby improving the reliability of the power module control system 100.
[0056] In one possible implementation, Figure 2 As shown, the power module 104 can set the count value of the third counter to the second count value D2, and then send the state information B in the current switching cycle T to the signal selection module 103. The signal selection module 103 can send the state information B to the main controller 101 and the redundant controller 102 respectively. The main controller 101 can reset the first counter after receiving the state information B. The redundant controller 102 can reset the second counter after receiving the state information B.
[0057] After the third counter of the power module 104 is set to the second count value D2, the third counter returns a state information B to the signal selection module 103. After receiving the state information B, the signal selection module 103 sends the information to the main controller 101 and the redundant controller 102. After receiving the information, the main controller 101 and the redundant controller 102 reset their respective counters. The state information B includes but is not limited to bus voltage, protection information, temperature information, etc.
[0058] It should be understood that it takes the first time threshold for the signal selection module 103 to transmit a signal to the power module 104, and therefore it also takes the first time threshold for the power module 104 to transmit a signal to the signal selection module 103. When the controller receives the status information B output by the signal selection module 103, it should be at the end of a switching cycle T. Therefore, the sum of the second count value D2 and the first time threshold is a switching cycle T, that is, the difference between the first count value D1 and one switching cycle T is two first time thresholds.
[0059] In an embodiment of the present application, the power module 104 sets the third counter to the second count value D2 and then returns its own status information B to the signal selection module 103. After the signal selection module 103 sends the information to the controller, each controller resets its own counter, thereby completing a cycle T, thereby achieving synchronization between the clock counters of the power module 104 and each controller, preventing the clocks of various parts in the power module control system 100 from being inconsistent, resulting in deviations in system control, and because the power module 104 returns its own status information B, the controller can identify the current state of the power module 104, which can make the controller's control over the power module 104 more precise, thereby improving the reliability of the power module control system 100.
[0060] Figure 3 is a schematic diagram of a power module control system according to another embodiment of the present application. Figure 3 As shown, the main controller 101 may send the first exchange information L1 to the redundant controller 102 after the count value of the first counter reaches the third count value, wherein the third count value is greater than or equal to the first count value D1 and less than the duration of a switching cycle T, and the first exchange information L1 includes at least one of the system state information B, the control loop calculation result of the main controller 101, and the modulation result of the main controller 101. The redundant controller 102 may send the second exchange information L2 to the main controller 101 after the count value of the second counter reaches the third count value, and generate the control command A for the next switching cycle T based on the first exchange information L1 when the first exchange information L1 is different from the second exchange information L2, wherein the second exchange information L2 includes at least one of the system state information B, the control loop calculation result of the redundant controller 102, and the modulation result of the redundant controller 102.
[0061] When the first counter of the main controller 101 reaches the first count value D1, it will send control information to the signal selection module 103, and after sending the control information and before the end of the switching cycle T, the main controller 101 will send the first exchange information L1 to the redundant controller 102. Similar to the above, the redundant controller 102 will send the second exchange information L2 to the main controller 101 after sending the control information in the same switching cycle T and before the end of the switching cycle T. At this time, the redundant controller 102 will compare the first exchange information L1 with the second exchange information L2. If the first exchange information L1 is different from the second exchange information L2, the redundant controller 102 will copy the first exchange information L1 and generate the next control command A according to the first exchange information L1.
[0062] It should be noted that in the embodiment of the present application, the main controller 101 and the redundant controller 102 have the same task, for example, the tasks of the main controller 101 and the redundant controller 102 are both to control the power module 104 to perform rectification. The control code, control logic, etc. in the main controller 101 and the redundant controller 102 are exactly the same, that is, the control program is exactly the same. In other embodiments of the present application, the control tasks performed by the main controller 101 and the redundant controller 102 may be different, but they still have the same control program.
[0063] Optionally, data exchange may not be performed between the main controller 101 and the redundant controller 102. In this case, if the main controller 101 fails, after switching to the redundant controller 102, the power module 104 cannot continue to be controlled according to the control progress of the main controller 101, but the power module 104 is re-controlled to work. The specific control method will not be repeated here.
[0064] In an embodiment of the present application, the main controller 101 and the redundant controller 102 exchange data at the third count value. If the data is different at this time, the redundant controller 102 copies the data information in the main controller 101. If the main controller 101 fails, the redundant controller 102 can continue to control the power module 104 according to the control progress of the main controller 101, thereby achieving a smooth switch to the redundant controller 102 to continue to control the power module 104 when the main controller 101 fails, thereby improving the reliability of the power module control system 100.
[0065] In a possible implementation, the main controller 101 may execute a first task, wherein the first task includes a task for generating a control command A. The redundant controller 102 may execute a second task when the main controller 101 operates normally, and execute the first task and the second task when the main controller 101 sends a fault, wherein the second task does not include a task for generating a control instruction.
[0066] The main controller 101 and the redundant controller 102 are both in working state. The main controller 101 performs core tasks, such as calculation and modulation of algorithms, etc. The redundant controller 102 performs auxiliary tasks. At this time, the main controller 101 concentrates all computing power to process core tasks. If the main controller 101 fails at this time, the redundant controller 102 processes all tasks.
[0067] It should be understood that even if the main controller 101 and the redundant controller 102 process different tasks, the main controller 101 and the redundant controller 102 will still exchange data, so when the main controller 101 fails, the redundant controller 102 can directly execute the tasks executed in the main controller 101.
[0068] In an embodiment of the present application, the main controller 101 and the redundant controller 102 process different tasks respectively, and if the main controller fails, the redundant controller 102 processes all tasks, thereby achieving controller redundancy and smooth switching. Dividing all tasks into two parts and assigning them to different controllers for processing can improve the efficiency of the controller in processing tasks and improve the control efficiency of the power module control system 100.
[0069] In a possible implementation, the main controller 101 may execute control tasks for controlling the power module 104. The redundant controller 102 may be in bypass mode when the main controller 101 operates normally, copy the results of the main controller 101 executing the control tasks, and execute the control tasks when the main controller 101 fails.
[0070] When the main controller 101 is working normally, the main controller 101 is in control and the redundant controller 102 is in bypass mode, that is, the redundant controller 102 is not working, but will still copy the first switching information L1 of the main controller 101. If the main controller 101 fails at this time, the redundant controller 102 will immediately start working and continue to control the power module 104 according to the first switching information L1 output by the main controller 101 in the previous switching cycle T.
[0071] In an embodiment of the present application, the main controller 101 handles all tasks and the redundant controller 102 is in bypass state. When the main controller 101 fails, the redundant controller 102 takes over the tasks handled by the main controller 101, thereby achieving controller redundancy and being able to smoothly transition the main controller 101 to the redundant controller 102, thereby improving the reliability of the power module control system 100.
[0072] In one possible implementation, Figure 3 As shown, the signal selection module 103 can receive the input and output control signal C1 from the main controller 101 and the redundant controller 102, and send the input and output control signal C1 to the control object 105, and receive the feedback signal C2 from the control object 105, and send the feedback signal C2 to the main controller 101 and the redundant controller 102, wherein the input and output control signal C1 can control the control object 105.
[0073] The main controller 101 and the redundant controller 102 can generate an input and output control signal C1, and the signal selection module 103 outputs the input and output control signal C1 to an external control object 105, for example: control contactors, LED lights and other equipment, and the control object 105 can reflect the working state of the power module control system 100 at this time, or reflect whether the working controller is the main controller 101 or the redundant controller 102, for example: when the main controller 101 is working, the LED light is yellow, and when the redundant controller 102 is working, the LED light is green, etc. The contactor can collect data such as inductor current, grid current, grid voltage, bus voltage, etc. for reference by the controller.
[0074] In an embodiment of the present application, the signal selection module 103 transmits the input and output control signal C1 output by the controller to an externally connected control object 105, and receives a feedback signal C2 output by the control object 105 to display the current working status of the device and collect necessary reference information of the controller. It can display the current working status to the user so that the user can identify whether the controller is faulty, thereby improving the reliability of the power module control system 100.
[0075] Figure 4 is a schematic diagram of a power module control system according to another embodiment of the present application, such as Figure 4 As shown, the main controller 101 can generate an input-output control signal C1, send the input-output control signal C1 to the control object 105, and receive a feedback signal C2 from the control object 105, and the redundant controller 102 can generate an input-output control signal C1, send the input-output control signal C1 to the control object 105, and receive a feedback signal C2 from the control object 105.
[0076] In an embodiment of the present application, the main controller 101 and the redundant controller 102 are directly connected to the control object 105. Each controller transmits the input and output control signal C1 directly to the control object 105, and receives the feedback signal C2 output by the control object 105 to display the current working status of the equipment and collect necessary reference information of the controller. It can display the current working status to the user so that the user can identify whether the controller is faulty, thereby improving the reliability of the power module control system 100.
[0077] Power module control method
[0078] Based on the above Figure 1 The power module control system 100 shown in FIG. Figure 5As shown, a power module control method 500 of an embodiment of the present application, unless otherwise stated, the power module in the following method embodiment may be the power module 104 in the aforementioned embodiment, the main controller may be the main controller 101 in the aforementioned embodiment, and the redundant controller may be the redundant controller 102 in the aforementioned embodiment. Figure 5 As shown, the power module control method 500 includes the following steps 501 to 503:
[0079] Step 501, determine whether the main controller is operating normally, if it is Y, execute step 502, if not N, execute step 503.
[0080] Step 502: Send the control command from the main controller to the power module, so that the power module performs the switch state switching action according to the received control command, and ends the current column process.
[0081] When the main controller operates normally, the signal selection module sends the control command output by the main controller to the power module to control the on and off of each switch tube in the power module.
[0082] Step 503: Send the control command from the redundant controller to the power module, so that the power module performs a switch state switching action according to the received control command.
[0083] When the main controller fails, the signal selection module sends the control command output by the redundant controller to the power module to control the on and off of each switch tube in the power module.
[0084] In an embodiment of the present application, when the main controller operates normally, the signal selection module sends control commands from the main controller to the power module. When the main controller fails, the signal selection module sends control commands from the redundant controller to the power module. Controller redundancy is achieved through multiple controllers, that is, when the main controller fails, control commands can be issued by the redundant controller to control the operation of each power module, so that the power module control system can continue to work, avoiding the situation where the power module control system fails due to the failure of the main controller, making the power module control system work more stably and less prone to failure, and therefore having higher reliability.
[0085] Electronic devices
[0086] Figure 6 Schematic diagram of an electronic device provided in Embodiment 4 of the present application. The specific embodiments of the present application do not limit the specific implementation of the electronic device. Figure 6The electronic device 600 provided in the embodiment of the present application includes: a processor 602, a communication interface 604, a memory 606, and a bus 608. Among them:
[0087] The processor 602 , the communication interface 604 , and the memory 606 communicate with each other via a bus 608 .
[0088] The communication interface 604 is used to communicate with other electronic devices or servers.
[0089] The processor 602 is used to execute the program 610, and specifically can execute the relevant steps in the embodiment of the power module control method 100 described above.
[0090] Specifically, the program 610 may include program codes, which include computer operation instructions.
[0091] The processor 602 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0092] The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0093] The program 610 may be specifically used to enable the processor 602 to execute the power module control method 100 in any of the aforementioned embodiments.
[0094] The specific implementation of each step in the program 610 can refer to the corresponding description of the corresponding steps and units in the above-mentioned power module control method 100 embodiment, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above-mentioned method embodiment, which will not be repeated here.
[0095] Through the electronic device of this embodiment, the power module control system includes a main controller, a redundant controller, a signal selection module and multiple power modules. When the main controller operates normally, the signal selection module sends the control command from the main controller to the power module. When the main controller fails, the signal selection module sends the control command from the redundant controller to the power module. The redundancy of the controller is achieved through multiple controllers and signal selection modules. That is, when the main controller fails, the control signal can be sent by the redundant controller to control the operation of each power module, so that the power module control system can continue to work, avoiding the situation where the power module control system fails due to the failure of the main controller, making the power module control system work more stably and less prone to failure. Therefore, the power module control system has higher reliability.
[0096] Computer readable storage medium
[0097] The present application also provides a computer-readable storage medium storing instructions for causing a machine to execute the power module control method 100 as described herein. Specifically, a system or device equipped with a storage medium may be provided, on which a software program code for implementing the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device reads and executes the program code stored in the storage medium.
[0098] In this case, the program code read from the storage medium itself can implement the function of any one of the above embodiments, so the program code and the storage medium storing the program code constitute part of the present application.
[0099] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.
[0100] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.
[0101] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.
[0102] Computer program product
[0103] The embodiment of the present application also provides a computer program product, which is tangibly stored on a computer-readable medium and includes computer executable instructions, which, when executed, enable at least one processor to execute the power module control method 100 provided in the above embodiments. It should be understood that each solution in this embodiment has the corresponding technical effect in the above method embodiment, which will not be repeated here.
[0104] It should be noted that not all steps and modules in the above-mentioned processes and device structure diagrams are necessary, and some steps or modules can be ignored according to actual needs. The execution order of each step is not fixed and can be adjusted as needed. The system structure described in the above-mentioned embodiments can be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by multiple physical entities, or some components in multiple independent devices may be implemented together.
[0105] In the above embodiments, the hardware module can be implemented mechanically or electrically. For example, a hardware module can include permanent dedicated circuits or logic (such as special processors, FPGA or ASIC) to complete the corresponding operation. The hardware module can also include programmable logic or circuits (such as general-purpose processors or other programmable processors), which can be temporarily set by software to complete the corresponding operation. The specific implementation method (mechanical method, or dedicated permanent circuit, or temporarily set circuit) can be determined based on cost and time considerations.
[0106] The present application is presented and described in detail above through the accompanying drawings and preferred embodiments; however, the present application is not limited to these disclosed embodiments, and those skilled in the art may know based on the above-mentioned multiple embodiments that the code review methods in the above-mentioned different embodiments may be combined to obtain more embodiments of the present application, and these embodiments are also within the protection scope of the present application.
Claims
1. A power module control system (100), comprising: A main controller (101), a redundant controller (102), a signal selection module (103) and at least three power modules (104); The main controller (101), the redundant controller (102) and the at least three power modules (104) are respectively connected to the signal selection module (103); The signal selection module (103) is used to send the control command (A) from the main controller (101) to the power module (104) when the main controller (101) operates normally, and to send the control command (A) from the redundant controller (102) to the power module (104) when the main controller (101) fails; The power module (104) is used to execute a switch state switching action according to a received control command (A); The main controller (101) is used to reset the first counter at the beginning of each switching cycle, and send a control command (A) to the signal selection module (103) when the count value of the first counter reaches a first count value (D1); The redundant controller (102) is used to reset the second counter at the beginning of each switching cycle, and send a control command (A) to the signal selection module (103) when the count value of the second counter reaches the first count value (D1); The power module (104) is used to set the count value of the third counter to the second count value (D2) after receiving the control command (A) from the signal selection module (103), reset the third counter after the count value of the third counter reaches the duration of one switching cycle, and perform a switch state switching action according to the received control command (A), wherein the second count value (D2) is equal to the sum of the first count value (D1) and a preset first duration threshold, and the second count value (D2) is less than the duration of one switching cycle.
2. The system according to claim 1, wherein: The main controller (101) is used to send a main controller state signal (K1) to the signal selection module (103); The redundant controller (102) is used to send a redundant controller state signal (K2) to the signal selection module (103); The signal selection module (103) is used to send a control command (A) from the main controller (101) to the power module (104) when the main controller status signal (K1) indicates that the main controller (101) is operating normally, and to send a control command (A) from the redundant controller (102) to the power module (104) when the main controller status signal (K1) indicates that the main controller (101) has failed and the redundant controller status signal (K2) indicates that the redundant controller (102) is operating normally.
3. The system according to claim 1, wherein: The power module (104) is used to send the state information (B) in the current switching cycle to the signal selection module (103) after setting the count value of the third counter to the second count value (D2); The signal selection module (103) is used to send the status information (B) to the main controller (101) and the redundant controller (102) respectively; The main controller (101) is used to reset the first counter after receiving the status information (B); The redundant controller (102) is used to reset the second counter after receiving the status information (B).
4. The system according to claim 3, wherein: The main controller (101) is used to send first exchange information (L1) to the redundant controller (102) after the count value of the first counter reaches a third count value, wherein the third count value is greater than or equal to the first count value (D1) and less than the duration of one switching cycle, and the first exchange information (L1) includes at least one of system state information (B), a control loop calculation result of the main controller (101), and a modulation result of the main controller (101); The redundant controller (102) is used to send second exchange information (L2) to the main controller (101) after the count value of the second counter reaches the third count value, and generate a control command (A) for the next switching cycle based on the first exchange information (L1) when the first exchange information (L1) is different from the second exchange information (L2), wherein the second exchange information (L2) includes at least one of system status information (B), a control loop calculation result of the redundant controller (102), and a modulation result of the redundant controller (102).
5. The system according to claim 1, wherein: The main controller (101) is used to perform a first task, wherein the first task includes a task for generating a control command (A); The redundant controller (102) is used to execute the second task when the main controller (101) operates normally, and to execute the first task and the second task when the main controller (101) sends a fault, wherein the second task does not include a task for generating a control instruction.
6. The system according to claim 1, wherein: The main controller (101) is used to perform a control task for controlling the power module (104); The redundant controller (102) is used to be in bypass mode when the main controller (101) operates normally, to replicate the result of the main controller (101) executing the control task, and to execute the control task when the main controller (101) fails.
7. The system according to any one of claims 1 to 6, wherein: The signal selection module (103) is used to receive input / output control signals (C1) from the main controller (101) and the redundant controller (102), and send the input / output control signals (C1) to a control object (105), and receive feedback signals (C2) from the control object (105), and send the feedback signals (C2) to the main controller (101) and the redundant controller (102), wherein the input / output control signals (C1) are used to control the control object (105); or, The main controller (101) is used to generate an input / output control signal (C1), send the input / output control signal (C1) to the control object (105), and receive a feedback signal (C2) from the control object (105); and the redundant controller (102) is used to generate the input / output control signal (C1), send the input / output control signal (C1) to the control object (105), and receive a feedback signal (C2) from the control object (105).
8. A power module control method (500), applied to a signal selection module (103), wherein the signal selection module (103) is respectively connected to a main controller (101), a redundant controller (102) and at least three power modules (104), the method comprising: Determining whether the main controller (101) operates normally; If the main controller (101) operates normally, a control command (A) from the main controller (101) is sent to the power module (104), so that the power module (104) performs a switch state switching action according to the received control command (A); If the main controller (101) fails, a control command (A) from the redundant controller (102) is sent to the power module (104), so that the power module (104) performs a switch state switching action according to the received control command (A); The main controller (101) is used to reset the first counter at the beginning of each switching cycle, and send a control command (A) to the signal selection module (103) when the count value of the first counter reaches a first count value (D1); The redundant controller (102) is used to reset the second counter at the beginning of each switching cycle, and send a control command (A) to the signal selection module (103) when the count value of the second counter reaches the first count value (D1); The power module (104) is used to set the count value of the third counter to the second count value (D2) after receiving the control command (A) from the signal selection module (103), reset the third counter after the count value of the third counter reaches the duration of one switching cycle, and perform a switch state switching action according to the received control command (A), wherein the second count value (D2) is equal to the sum of the first count value (D1) and a preset first duration threshold, and the second count value (D2) is less than the duration of one switching cycle.
9. An electronic device (600), comprising: A processor (602), a communication interface (604), a memory (606) and a bus (608), wherein the processor (602), the communication interface (604) and the memory (606) communicate with each other via the bus (608); The memory (606) is used to store at least one executable instruction, wherein the executable instruction enables the processor (602) to execute operations corresponding to the power module control method (100) as claimed in claim 8. 10 . A computer-readable storage medium having computer instructions stored thereon, wherein when the computer instructions are executed by a processor, the processor is caused to execute the method of claim 8 .
11. A computer program product tangibly stored on a computer readable medium and comprising computer executable instructions which, when executed, cause at least one processor to perform the method of claim 8.
