A multi-machine parallel FPGA system of a general four-quadrant frequency converter

By using inverter systems with star and daisy-chain topologies, combined with configuration registers and a unified FPGA program, the problem of parallel operation of four or more inverters is solved, enabling flexible switching of operating modes and reliable data transmission, thus meeting the requirements of complex motor test benches.

CN123184497APending Publication Date: 2026-11-27DONGFANG HITACHI CHENGDU ELECTRICAL CONTROL EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611418714.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-14
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies cannot meet the requirements of parallel or cascaded operation of four or more frequency converters. The system topology is not flexible enough and cannot adapt to different operating conditions. Furthermore, the fiber optic ports are fully occupied and difficult to expand.

Method used

The system employs a star topology for data communication links and a daisy-chain topology for synchronous signal communication links. Combined with configuration registers to define operating modes and board roles, it supports three operating modes: independent, group, and overall. It enables four machines to be connected in parallel/cascaded through a unified FPGA program, introduces the concept of frequency converter groups, and uses CRC-8 checksum and timeout detection mechanisms to ensure data transmission reliability.

Benefits of technology

It enables parallel/cascaded operation of four frequency converters, supports the needs of complex motor test benches, improves scalability and flexibility, reduces hardware modifications, ensures data transmission integrity and synchronization reliability, and reduces verification and debugging workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184497A_ABST
    Figure CN123184497A_ABST
Patent Text Reader

Abstract

The application discloses a multi-machine parallel FPGA system of a general four-quadrant frequency converter, relates to the technical field of frequency converter control, and comprises four FPGA inverter boards, adopts a star topology for a data communication link, and adopts a daisy chain topology for a synchronous signal link; each board is provided with a configuration register, supports three running modes of independence, group and entirety, can switch four-machine parallel / cascaded or two-group pair running, and adopts CRC-8 checking and timeout detection to guarantee data transmission, a special optical fiber channel is used for realizing pulse type synchronous signal transmission, an AD data replacement mechanism is used for optimizing bandwidth utilization, error states of each link can be monitored in real time, the system can meet the demand of a complex motor test bench, and the running mode can be switched without modifying hardware, and the expansibility and flexibility are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of frequency converter control technology, specifically to a multi-machine parallel FPGA system for a general-purpose four-quadrant frequency converter. Background Technology

[0002] Currently, in multi-unit parallel applications of four-quadrant frequency converters, existing technologies have enabled parallel or cascaded operation of up to two two-quadrant / four-quadrant frequency converters through inverter board-rectifier board interconnection and inverter board-inverter board interconnection. The system topology is as follows: Figure 5 As shown, the system comprises two four-quadrant frequency converters, designated as a master converter and a slave converter. Each converter consists of a rectifier board and an inverter board. The inverter boards communicate and transmit synchronization signals via multiple pairs of optical fibers. The master / slave relationship is determined by the firmware. Communication data is primarily determined by the MCU. In addition to MCU-defined content, the FPGA and inverter boards also exchange the following information: the master converter sends the intermediate value of the modulation wave from the master MCU to the slave converter for modulation wave calculation; the slave converter sends the current AD code value received by its AD module to the master converter for parallel closed-loop current sharing control. The synchronization signal is a pulse signal generated by the master converter and transmitted to the slave converter via optical fiber. Unlike communication signals, pulse signals avoid the overhead of sampling and encoding / decoding protocols, minimizing synchronization delay and ensuring the synchronization accuracy of the interrupt pulses sent from the FPGA to the MCU and the internal carrier signal used for PWM modulation. This minimizes circulating current between the two converters in parallel operation. Each inverter board is equipped with multiple fiber optic connectors, including fiber optic connections for inverter-to-inverter communication, inverter-to-rectifier board communication, and synchronization signal fiber optic connections between inverter boards. Since the fiber optic connectors operate in half-duplex mode, one fiber is required for communication in each direction, and point-to-point communication uses a dual-fiber configuration. For power unit control, each inverter board's FPGA uses an internal PWM communication module and a serial communication interface to independently control and monitor the status of up to 15 power units. Each power unit is connected to the FPGA inverter board via a pair of fibers (transmit and receive) to transmit PWM modulation signals and return AD sampling data, unit fault status, and other information.

[0003] While existing technologies enable communication between FPGA inverter boards, they still have the following shortcomings: they only support parallel or cascaded operation of up to two inverters, failing to meet the needs of complex motor test benches requiring four or more inverters to operate collaboratively. The role (master or slave) of each inverter board in the system is uniquely determined by hardware connections and program versions, making it impossible to flexibly switch board operating modes without changing hardware connections. Different projects and hardware platforms require maintaining their own independent FPGA program versions, resulting in a huge workload for verification and debugging. In the existing topology, two inverters operate as a fixed unit, unable to be flexibly split into two independently operating inverter groups, making the system topology inflexible and unable to adapt to different operating conditions. In scenarios with only two inverters, the fiber optic ports on the inverter boards are almost fully occupied, making it difficult to expand more interconnection channels to support more complex multi-machine collaborative control requirements. Summary of the Invention

[0004] The purpose of this application is to provide a multi-machine parallel FPGA system for a general-purpose four-quadrant frequency converter, which solves the problems of insufficient scalability and flexibility in the existing technology.

[0005] This application is achieved through the following technical solution:

[0006] A multi-machine parallel FPGA system for a general-purpose four-quadrant frequency converter includes a first FPGA inverter board, a second FPGA inverter board, a third FPGA inverter board, and a fourth FPGA inverter board.

[0007] Any one of the first, second, third, and fourth FPGA inverter boards serves as the master control FPGA inverter board, and the data communication links between the first, second, third, and fourth FPGA inverter boards are configured in a star topology with the master control FPGA inverter board as the center; the synchronization signal communication links between the first, second, third, and fourth FPGA inverter boards are configured in a daisy-chain topology.

[0008] Each of the first, second, third, and fourth FPGA inverter boards is equipped with a configuration register to define its operating mode and board role, thereby enabling the first, second, third, and fourth FPGA inverter boards to operate in independent, group, or overall operating modes.

[0009] In one possible implementation, the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board and the fourth FPGA inverter board are each provided with multiple fiber optic sockets, and the multiple fiber optic sockets on each FPGA inverter board are divided into a first set of fiber optic sockets, a second set of fiber optic sockets, a third set of fiber optic sockets and a fourth set of fiber optic sockets.

[0010] The first fiber optic connector is used to connect the power unit for transmitting PWM modulation signals and transmitting power unit status / AD data back.

[0011] The second fiber optic connector set is used for data communication between FPGA inverter boards. The second fiber optic connectors on different FPGA inverter boards are connected to each other to form a data communication link.

[0012] The third fiber optic socket assembly is used for communication between the FPGA inverter board and the external rectifier board;

[0013] The fourth fiber optic connector set is used for synchronization between FPGA inverter boards. The fourth fiber optic connectors on different FPGA inverter boards are interconnected to form a synchronization signal communication link.

[0014] In one possible implementation, the configuration register is configured with a variety of different values, and the different values ​​correspond to different operating modes and board positions.

[0015] After the FPGA inverter board is powered on and reset, it determines its own operating mode and board position role by reading the value in the configuration register, and configures the preset fiber optic pin allocation, data link direction, synchronization signal processing method and modulation wave allocation logic according to the operating mode and board position role.

[0016] In one possible implementation, when the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are operating in independent operation mode, there is no inter-board interconnection communication. The FPGA inverter board is connected to the power unit through the first fiber optic connector set and to the rectifier board through the third fiber optic connector set.

[0017] In one possible implementation, when the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are operating in group operation mode, the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are divided into two inverter groups. The FPGA inverter boards in each inverter group are operated in parallel / cascaded mode, and electrical isolation is provided between the inverter groups.

[0018] For any inverter group, any FPGA inverter board in the inverter group is used as the main board of the inverter group, and another FPGA inverter board is used as the slave board of the inverter group. The main board and slave board of the inverter group communicate data through a second fiber optic socket set and synchronize through a fourth fiber optic socket set. There is no communication between inverter groups.

[0019] In one possible implementation, when the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are operating in the overall operation mode, any one of the FPGA inverter boards is used as the master FPGA inverter board, and the remaining FPGA inverter boards are used as slave FPGA inverter boards. The master FPGA inverter board is defined as the MM board, and the three slave FPGA inverter boards are defined as the MS board, the SM board, and the SS board, respectively.

[0020] In overall operation mode, the MM board forms a star topology data communication link with the MS board, SM board and SS board through the second fiber optic socket set to perform bidirectional communication; the MM board sends pulses through the fourth fiber optic socket set, the MS board receives and forwards to the SM board, the SM board receives and forwards to the SS board, and the SS board only receives, forming a daisy-chain topology synchronization signal communication link for synchronization.

[0021] In one possible implementation, a data synchronization module is provided on the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board.

[0022] The data frame format of the data synchronization module is set to 6×16-bit data frame, and a part of the data frame stores the custom communication data of the FPGA inverter board, while the other part stores the fixed interaction information of the FPGA; and the data frame is appended with a CRC-8 checksum.

[0023] The data synchronization module between different FPGA inverter boards communicates based on a custom serial communication protocol. In this embodiment, it is implemented based on the UART serial communication protocol, and the baud rate is configurable.

[0024] The data synchronization module has a built-in timeout detection mechanism. If a valid data frame that has passed verification is not received within a preset time, an error flag will be triggered, and the error flag will be summarized into the inter-board link error status register through the general interface module.

[0025] The general interface module instantiates four interconnect communication module channels through the generate statement, and each interconnect communication module channel is mapped to the data synchronization module of the FPGA inverter board.

[0026] In one possible implementation, when the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are operating as slave boards or slave FPGA inverter boards of the inverter group, before the data is transmitted to the main board of the inverter group or the master control FPGA inverter board, the AD sampling data of the FPGA inverter board is replaced to a specified position in the data frame, so as to realize the master's acquisition of slave current AD data for parallel current sharing control.

[0027] In one possible implementation, when the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are operating as slave boards of the inverter group or slave FPGA inverter boards, they communicate with each other through the second fiber optic socket set, receive the intermediate value of the modulation wave sent by the main board of the inverter group or the master control FPGA inverter board, and generate the PWM modulation signal of the FPGA inverter board accordingly.

[0028] In one possible implementation, the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board transmit interrupt synchronization signals and PWM carrier synchronization signals through a synchronization signal communication link.

[0029] Furthermore, a timeout detection circuit is set on the synchronization signal communication link. When the interrupted synchronization signal fails to flip for more than the configurable time threshold, a synchronization loss error flag will be triggered. This flag is recorded in the preset bit of the inter-board link error status register.

[0030] Compared with the prior art, this application has the following advantages and beneficial effects:

[0031] This application provides a multi-machine parallel FPGA system for a general-purpose four-quadrant frequency converter. The system includes four FPGA inverter boards, with a star topology for data communication links and a daisy-chain topology for synchronization signal links. Each board has a configuration register, supporting three operating modes: independent, group, and overall. It can switch between four-machine parallel / cascaded or two-group paired operation. The system uses CRC-8 checksum and timeout detection to ensure data transmission, and a dedicated fiber optic channel to achieve pulse-type synchronization signal transmission. With an AD data replacement mechanism, bandwidth utilization is optimized, and the error status of each link can be monitored in real time. It can meet the needs of complex motor test benches, and the operating mode can be switched without modifying the hardware, improving scalability and flexibility. Attached Figure Description

[0032] To more clearly illustrate the technical solutions of the exemplary embodiments of this application, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of this application and should not be considered as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort. In the drawings:

[0033] Figure 1 This application provides a schematic diagram of the structure of a multi-machine parallel FPGA system for a general-purpose four-quadrant frequency converter.

[0034] Figure 2 This application provides a topology diagram of a four-machine parallel / cascaded system for embodiments;

[0035] Figure 3 A schematic diagram of the group-independent operation mode topology and data flow is provided for the embodiments of this application;

[0036] Figure 4 A schematic diagram of the overall system operation mode topology and data flow is provided for the embodiments of this application;

[0037] Figure 5 This is a schematic diagram of the topology of a dual-machine parallel / cascaded system in the prior art. Detailed Implementation

[0038] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the embodiments and accompanying drawings. The illustrative embodiments and descriptions of this application are only for explaining this application and are not intended to limit this application.

[0039] like Figure 1 As shown, this application provides a multi-machine parallel FPGA system for a general-purpose four-quadrant frequency converter, including a first FPGA inverter board, a second FPGA inverter board, a third FPGA inverter board, and a fourth FPGA inverter board;

[0040] Any one of the first, second, third, and fourth FPGA inverter boards serves as the master control FPGA inverter board, and the data communication links between the first, second, third, and fourth FPGA inverter boards are configured in a star topology with the master control FPGA inverter board as the center; the synchronization signal communication links between the first, second, third, and fourth FPGA inverter boards are configured in a daisy-chain topology.

[0041] Each of the first, second, third, and fourth FPGA inverter boards is equipped with a configuration register to define its operating mode and board role, thereby enabling the first, second, third, and fourth FPGA inverter boards to operate in independent, group, or overall operating modes.

[0042] In one possible implementation, the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board and the fourth FPGA inverter board are each provided with multiple fiber optic sockets, and the multiple fiber optic sockets on each FPGA inverter board are divided into a first set of fiber optic sockets, a second set of fiber optic sockets, a third set of fiber optic sockets and a fourth set of fiber optic sockets.

[0043] The first fiber optic connector is used to connect the power unit for transmitting PWM modulation signals and transmitting power unit status / AD data back.

[0044] The second fiber optic connector set is used for data communication between FPGA inverter boards. The second fiber optic connectors on different FPGA inverter boards are connected to each other to form a data communication link.

[0045] The third fiber optic socket assembly is used for communication between the FPGA inverter board and the external rectifier board;

[0046] The fourth fiber optic connector set is used for synchronization between FPGA inverter boards. The fourth fiber optic connectors on different FPGA inverter boards are interconnected to form a synchronization signal communication link.

[0047] For example, such as Figure 2 As shown, the four inverter boards are interconnected via optical fiber to form a complete four-quadrant inverter multi-machine parallel system. The MM board is positioned as the master control FPGA of the entire system. When the entire system is running in parallel / cascaded mode, all other FPGAs must keep synchronized with the MM board FPGA. The SM board is the secondary master control FPGA of the B group of inverters. When the B group is running independently, the SS board FPGA keeps synchronized with the SM board FPGA.

[0048] Each inverter board (MB210 / MB1307 hardware platform) provides 15 fiber optic connectors (numbered 0~14), with the following functional divisions:

[0049] The first fiber optic bracket set is configured as fiber optic brackets 0-8: connecting power units (up to 5 units per phase, 15 units in total for three phases), used for PWM modulation signal transmission and power unit status / AD data feedback;

[0050] The second set of fiber optic connectors is configured as fiber optic connectors 9-11: inverter board-inverter board data communication (inter-board data link).

[0051] The third fiber optic socket set is configured as fiber optic socket 12: inverter board-rectifier board communication (connecting the rectifier board of this inverter);

[0052] The fourth fiber optic socket set is configured as fiber optic sockets 13-14: synchronization signals (interrupt synchronization and PWM carrier synchronization).

[0053] Among them, fiber optic connectors 9 to 14 are configurable fiber optic interfaces for inter-board interconnection, and their functions can be switched between unit control and board interconnection through configuration.

[0054] Data communication between inverter boards adopts a star topology, with the MM board as the center. It establishes bidirectional data links with the other three inverter boards through fiber optic connectors 9 (to SS), 10 (to SM), and 11 (to MS), respectively. The synchronization signal adopts a daisy-chain topology, with the MM board sending a pulse signal to the MS board through fiber optic connectors 13 / 14. The MS board forwards the signal to the SM board, and the SM board forwards it to the SS board, achieving one-way broadcast synchronization.

[0055] In one possible implementation, the configuration register is configured with a variety of different values, and the different values ​​correspond to different operating modes and board positions.

[0056] After the FPGA inverter board is powered on and reset, it determines its own operating mode and board position role by reading the value in the configuration register, and configures the preset fiber optic pin allocation, data link direction, synchronization signal processing method and modulation wave allocation logic according to the operating mode and board position role.

[0057] For example, the FPGA program for each inverter board is completely uniform. The operating mode and board role of the board are determined by the value of the 16-bit configuration register (conf). A total of 9 configurations are defined (conf=0~8), as shown in Table 1.

[0058] Table 1 Configuration Register (conf) Definition Table

[0059]

[0060] In FPGA programs, the operating mode (mode_r) is defined as three states: MODE_IND (2'd0): independent operating mode; MODE_GROUP (2'd1): group independent operating mode; MODE_INTG (2'd2): whole system operating mode.

[0061] The board slot role (loc_r) is defined as four states: LOC_MM (2'd0): Group A main board; LOC_MS (2'd1): Group A slave board; LOC_SM (2'd2): Group B main board; LOC_SS (2'd3): Group B slave board.

[0062] Upon system power-on reset, the FPGA automatically decodes the value of the conf configuration register to determine the current board's operating mode and board role, and accordingly configures the fiber optic pin allocation, data link direction, synchronization signal processing method, and modulation wave allocation logic. This configuration method allows all inverter boards to use the same FPGA program file, and project adaptation only requires modifying the configuration values.

[0063] In one possible implementation, when the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are operating in independent operation mode, there is no inter-board interconnection communication. The FPGA inverter board is connected to the power unit through the first fiber optic connector set and to the rectifier board through the third fiber optic connector set.

[0064] Each inverter board operates independently, with no inter-board communication. All fiber optic connectors are used solely for connecting power units and rectifier boards. Interrupt synchronization and PWM carrier synchronization are disabled, and the system operates in basic single-inverter mode. This mode is primarily used for scenarios where a single inverter operates independently.

[0065] In one possible implementation, when the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are operating in group operation mode, the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are divided into two inverter groups. The FPGA inverter boards in each inverter group are operated in parallel / cascaded mode, and electrical isolation is provided between the inverter groups.

[0066] For any inverter group, any FPGA inverter board in the inverter group is used as the main board of the inverter group, and another FPGA inverter board is used as the slave board of the inverter group. The main board and slave board of the inverter group communicate data through a second fiber optic socket set and synchronize through a fourth fiber optic socket set. There is no communication between inverter groups.

[0067] For example, such as Figure 3 As shown, the four inverter boards are divided into two inverter groups, A and B. Each group contains two inverter boards operating in parallel / cascaded mode. The two groups are electrically isolated and do not affect each other. The specific configuration is as follows:

[0068] Group A: MM board (conf=1) serves as the main board of Group A, and MS board (conf=2) serves as the slave board of Group A;

[0069] Group B: The SM board (conf=3) serves as the main board of Group B, and the SS board (conf=4) serves as the slave board of Group B.

[0070] Within Group A, the MM board and MS board establish a bidirectional data communication link via fiber optic connector 11, and transmit synchronization signals (MM sends to MS for reception) via fiber optic connectors 13 / 14. In Group B, the SM board and SS board work similarly; synchronization signals are transmitted via fiber optic connectors 13 / 14 (SM sends to SS for reception), and data communication is via fiber optic connector 11. There is no data exchange between the two groups; fiber optic connectors 9 and 10 are not used in this mode. The functional allocation of each board in group-independent mode is shown in Table 2.

[0071] Table 2. Functional Description of FPGAs on Each Inverter Board in Independent Operation Mode

[0072]

[0073] In one possible implementation, when the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are operating in the overall operation mode, any one of the FPGA inverter boards is used as the master FPGA inverter board, and the remaining FPGA inverter boards are used as slave FPGA inverter boards. The master FPGA inverter board is defined as the MM board, and the three slave FPGA inverter boards are defined as the MS board, the SM board, and the SS board, respectively.

[0074] In overall operation mode, the MM board forms a star topology data communication link with the MS board, SM board and SS board through the second fiber optic socket set to perform bidirectional communication; the MM board sends pulses through the fourth fiber optic socket set, the MS board receives and forwards to the SM board, the SM board receives and forwards to the SS board, and the SS board only receives, forming a daisy-chain topology synchronization signal communication link for synchronization.

[0075] For example, such as Figure 4 As shown, the four inverter boards operate as a single frequency converter system. The MM board (conf=5) serves as the main control FPGA, while the MS board (conf=6), SM board (conf=7), and SS board (conf=8) act as slave devices. All slave FPGAs are synchronized with the MM board FPGA.

[0076] In system-wide mode, data communication uses a star topology: the MM board communicates bidirectionally with the MS board via fiber optic connector 11, bidirectionally with the SM board via fiber optic connector 10, and bidirectionally with the SS board via fiber optic connector 9. Synchronization signals use a daisy-chain topology: the MM board sends pulses via fiber optic connectors 13 / 14, the MS board receives and forwards them to the SM board, the SM board receives and forwards them to the SS board, and the SS board only receives. At this time, the fiber optic connection between ports 11 of the SM board and 11 of the SS board is not used. The functional allocation of each board in system-wide mode is shown in Table 3.

[0077] Table 3. Functional Description of FPGAs on Each Inverter Board in the Overall System Operation Mode

[0078]

[0079] In one possible implementation, a data synchronization module is provided on the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board.

[0080] The data frame format of the data synchronization module is set to 6×16-bit data frame, and a part of the data frame stores the custom communication data of the FPGA inverter board, while the other part stores the fixed interaction information of the FPGA; and the data frame is appended with a CRC-8 checksum.

[0081] The data synchronization module between different FPGA inverter boards communicates based on a custom serial communication protocol. In this embodiment, it is implemented based on the UART serial communication protocol, and the baud rate is configurable.

[0082] The data synchronization module has a built-in timeout detection mechanism. If a valid data frame that has passed verification is not received within a preset time, an error flag will be triggered, and the error flag will be summarized into the inter-board link error status register through the general interface module.

[0083] The general interface module instantiates four interconnect communication module channels through the generate statement, and each interconnect communication module channel is mapped to the data synchronization module of the FPGA inverter board.

[0084] For example, in this application embodiment, a general data synchronization module is used to achieve reliable data communication between inverter boards, and the data communication has the following characteristics:

[0085] 1) Data frame format: A 6×16-bit data frame is used, meaning that each communication transmits 6 16-bit data words, for a total of 96 bits of valid data. The front of the data frame stores the MCU's custom communication data, and the back stores the FPGA's fixed interaction information.

[0086] 2) Physical Layer: Based on the UART serial communication protocol, it performs point-to-point transmission through a configurable baud rate (4Mbps or 8Mbps). The serial transceiver module (seril) implements parallel-to-serial conversion and serial-to-parallel conversion of data.

[0087] 3) Error detection: Each frame of data is appended with a CRC-8 checksum (polynomial 0x15). When sending data, a CRC checksum byte is inserted after the data is sent. The receiving end performs CRC check on the received data. Only when the check result is correct (CRC result is 0x00) is the received data marked as valid and output.

[0088] 4) Error Handling: The interconnection module has a built-in timeout detection mechanism. When the receiving end does not receive a valid data frame that has passed verification within a configurable time period (timeoutMax), an error flag will be triggered (the state signal output will be high). The upper-layer logic (general interface module) summarizes the error flags of each channel into the inter-board link error status register (db_link_err) for system monitoring and fault handling.

[0089] 5) Link Architecture: The general interface module internally instantiates four interconnect communication module channels (indexes 0-3) via the `generate` statement, with each channel mapped to a pair of fiber optic connections. The mapping relationship between channels and fiber optic ports is determined by a joint state machine of the operating mode (`mode_r`) and board position role (`loc_r`). The data link arbitration has automatic transmission timing control; the enable signal is generated by an internal timer trigger (`triger_gen`) at fixed intervals, ensuring that data is transmitted at fixed intervals.

[0090] In one possible implementation, when the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are operating as slave boards or slave FPGA inverter boards of the inverter group, before the data is transmitted to the main board of the inverter group or the master control FPGA inverter board, the AD sampling data of the FPGA inverter board is replaced to a specified position in the data frame, so as to realize the master's acquisition of slave current AD data for parallel current sharing control.

[0091] For example, in slave mode, there is an AD data replacement mechanism. When the slave board receives data from the master through the inter-board data link, before sending the data back to the master, it replaces the AD sampling data of the slave board with the specified position in the data frame, thereby enabling the master to obtain the slave current AD code value through inter-board communication.

[0092] The conditions and location for AD data replacement are determined by the operating mode and board position role. The specific replacement rules are as follows:

[0093] In MODE_GROUP mode, both the MS board and the SS board replace the lower 32 bits of data frame index 2;

[0094] In MODE_INTG mode, the MS board replaces the lower 32 bits of data frame index 2, the SM board replaces the lower 32 bits of data frame index 1, and the SS board replaces the lower 32 bits of data frame index 0.

[0095] This mechanism allows the host to synchronously acquire AD data from each slave device in each communication cycle, which is then used for parallel current sharing control algorithms.

[0096] In one possible implementation, when the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are operating as slave boards of the inverter group or slave FPGA inverter boards, they communicate with each other through the second fiber optic socket set, receive the intermediate value of the modulation wave sent by the main board of the inverter group or the master control FPGA inverter board, and generate the PWM modulation signal of the FPGA inverter board accordingly.

[0097] For example, in the whole system operation mode (MODE_INTG) and group independent operation mode (MODE_GROUP), when the FPGA is running as a slave, it needs to receive the intermediate values ​​of the modulation waves (three-phase modulation waves a, b, and c, each 16 bits) sent by the host through the inter-board data link, and generate the PWM modulation signal of the board accordingly.

[0098] The location for extracting the modulated wave value is determined by the operating mode and the board position role:

[0099] Group Independent Mode (MODE_GROUP): Both the MS board and the SS board extract the modulation wave (modulating_wave) from data channel index 2 (fiber optic dock 11).

[0100] System mode (MODE_INTG): MS board is extracted from channel index 2 (fiber optic connector 11), SM board is extracted from channel index 1 (fiber optic connector 10), and SS board is extracted from channel index 0 (fiber optic connector 9).

[0101] In slave mode, the ms_modulation signal output is MODE_MODUL_SLAVE (1'b1), informing the MCU that the current PWM modulation wave is being transmitted from the host via optical fiber, and the MCU should no longer transmit independent modulation wave data to this board. In independent operation mode (MODE_IND), the ms_modulation signal is MODE_MODUL_MASTER (1'b0), indicating that the modulation wave is generated autonomously by the MCU on this board.

[0102] In one possible implementation, the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board transmit interrupt synchronization signals and PWM carrier synchronization signals through a synchronization signal communication link.

[0103] Furthermore, a timeout detection circuit is set on the synchronization signal communication link. When the interrupted synchronization signal fails to flip for more than the configurable time threshold, a synchronization loss error flag will be triggered. This flag is recorded in the preset bit of the inter-board link error status register.

[0104] For example, the synchronization signal architecture is divided into two parts: interrupt synchronization and PWM carrier synchronization, corresponding to fiber optic connector 13 and fiber optic connector 14, respectively.

[0105] 1) Interrupt synchronization: Implemented using the fiber_sync module. In master mode (MS_MASTER), the FPGA sends the locally generated interrupt pulse (pwmint_loc) out through the optical fiber; in slave mode (MS_SLAVE), the FPGA receives the rising edge of the pulse signal from the optical fiber and generates a synchronous interrupt output (pwmint_ext), thereby ensuring that the timing of the interrupt pulses sent by multiple inverter boards to their respective MCUs is completely consistent.

[0106] 2) PWM Carrier Synchronization: Implemented using a carrier reload synchronization module in conjunction with the fiber_sync module. This module detects the reload pulse (pwmcnt_reload_loc) of the local PWM counter and transmits it to the lower-level board via optical fiber. Upon receiving the optical fiber signal, the lower-level board triggers the reload operation of the local PWM counter, thereby keeping the PWM carrier phase of all inverters in the entire system synchronized.

[0107] The synchronization signal adopts a daisy-chain topology. Taking the whole system mode as an example: the MM board acts as the synchronization signal source, transmitting pulses through fiber optic connector 13 / 14. The MS board receives the pulses and forwards them to the SM board through the transmitting end of its fiber optic connector 13 / 14. The SM board then forwards the pulses to the SS board, which, as the end of the daisy chain, only receives the pulses. In group-independent mode, synchronization between MM and MS within group A uses a point-to-point method, and the same applies to synchronization between SM and SS within group B.

[0108] Each synchronization channel is equipped with a timeout detection circuit (TimeOutCheck module). When the interrupted synchronization signal fails to flip for more than the configurable time threshold, a synchronization loss error flag will be triggered. This flag is recorded in the corresponding bit of the inter-board link error status register.

[0109] Fiber optic pin assignment is one of the core logics of the entire Universal Interface Module (UNIVERSAL_INTERFACE). Through combinational logic, based on nine combinations of operating modes and board positions (see Table 1), the input / output signals of each fiber optic connector are connected to the corresponding functional modules.

[0110] The FPGA's fiber optic interface is defined as a 15-bit bus, with each bit corresponding to one fiber optic connector. The basic rules for pin assignment are as follows:

[0111] Fiber optic connectors 0-8: Always serve as the power unit control interface, directly connected to the PWM communication module (PWMCOM), unaffected by mode configuration;

[0112] Fiber optic connectors 9-11: In MODE_INTG mode, connect to interconnect communication module channels 0-2; in MODE_GROUP mode, only channel 2 (fiber optic connector 11) is connected to the interconnect communication module, and the other ports are disconnected.

[0113] Fiber Optic Connector 12: Always connected to the rectifier board communication interface (to rectifier communication), regardless of mode configuration;

[0114] Fiber Optic Connector 13: Connects to the interrupt synchronization module (fiber_sync), which determines the direction (master send / slave receive / slave forward) based on the role.

[0115] Fiber Optic Connector 14: Connects to the carrier reload synchronization module, and determines the direction according to the role.

[0116] In MODE_INTG mode, fiber optic connectors 13 / 14 on both the MS and SM boards simultaneously receive the synchronization signal from the upper level and forward it to the lower level (i.e., the local transmitter drives the synchronization signal from the upper level), thus achieving daisy-chain relay. The SS board, as the end of the daisy chain, has fiber optic connectors 13 / 14 that only receive and do not transmit.

[0117] UNIVERSAL_INTERFACE is the core top-level module of the FPGA architecture described in this application embodiment, and its internal architecture mainly includes the following functional sub-modules:

[0118] 1) Configure the decoder: decode the operating mode (mode_r) and board position role (loc_r) based on the externally input 16-bit conf signal.

[0119] 2) Data link array: 4 interconnected communication module instantiation channels, in conjunction with AD data replacement logic.

[0120] 3) Modulation wave selector: Selects the required three-phase modulation wave value from the data link output according to the operating mode and board position role.

[0121] 4) Synchronization signal routing: including the fiber_sync module and the carrier reload synchronization module, to achieve interrupt synchronization and PWM carrier synchronization.

[0122] 5) Timeout detection: Perform timeout detection on interrupt synchronization and PWM carrier synchronization signals, and summarize all link error states.

[0123] 6) Fiber Optic Pin Splitter: Combinational logic maps each functional module to the corresponding fiber optic pin according to the operating mode and board position role.

[0124] 7) PWM communication module (PWMCOM): Controls the PWM modulation of up to 15 power units through a serial communication interface.

[0125] 8) MCU Interface Module (CPUINTERFACE): Enables the MCU to read and write to the FPGA's internal registers, including AD data, encoder data, etc.

[0126] Based on the above technical solution, the technical effects of the embodiments of this application are as follows:

[0127] 1) Nine different configurations are achieved through a unified FPGA program and a 16-bit configuration register. All inverter boards can use the same FPGA program file to cover all role requirements in three modes: independent operation, group independent operation, and whole system operation. This completely eliminates the problem of maintaining multiple FPGA program versions between different projects and greatly reduces the workload of verification and debugging.

[0128] 2) The system topology has been expanded from the original two machines to four machines (one master and three slaves), supporting multi-machine parallel / cascade operation of up to four frequency converters, which can meet the needs of more complex motor test benches. At the same time, the concept of frequency converter group is introduced, supporting two frequency converters to be paired and combined into a larger capacity frequency converter group. The system can contain a maximum of two frequency converter groups.

[0129] 3) Supports two multi-machine working modes: whole system operation (four frequency converters as a whole) and group independent operation (groups A and B are independent). The same hardware topology can support the switching between these two modes. Only the value of the configuration register needs to be changed without modifying the hardware connection or FPGA program file.

[0130] 4) A dual error detection mechanism, employing CRC-8 checksum and timeout detection, ensures the integrity of data transmission between boards. CRC checksum can detect single-bit or multi-bit errors that may occur during data transmission over optical fiber, while timeout detection prevents data interruptions caused by link failures from going undetected.

[0131] 5) A dedicated optical fiber channel is used to transmit synchronization pulse signals (interrupt synchronization and PWM carrier synchronization), avoiding uncertainties and delays caused by data communication encoding and decoding. A daisy-chain topology is used to cascade the synchronization signals between the four inverter boards, with a timeout detection mechanism to ensure synchronization reliability. In system operation mode, the PWM carrier phase of all four inverter boards remains consistent, minimizing circulating current under multi-machine parallel operation.

[0132] 6) The synchronization signal is transmitted in pulse mode instead of data frame mode, avoiding the overhead of sampling and encoding / decoding protocols. The AD data replacement mechanism realizes slave AD data backhaul without adding additional fiber optic links, making full use of the bandwidth of the existing data channel.

[0133] 7) All inter-board data channels and synchronization channels are equipped with independent error detection mechanisms. Error status is summarized in the inter-board link error status register. The MCU can monitor the health status of each link in real time through the CPU interface, which facilitates system fault diagnosis and redundancy handling.

[0134] Based on the above technical solutions, this application describes three typical operating scenarios, which correspond to parallel operation of the whole system, independent parallel operation of groups, and independent operation of a single machine.

[0135] Operating Scenario 1: The entire system operates with four machines in parallel, using four inverter boards as the overall frequency converter system to drive high-power motors in parallel.

[0136] 1) System configuration: The four inverter boards are configured as follows:

[0137] MM board: conf=5, i.e. MODE_INTG+LOC_MM, serves as the main FPGA for system control;

[0138] MS board: conf=6, i.e. MODE_INTG+LOC_MS, as a slave board of group A;

[0139] SM board: conf=7, i.e. MODE_INTG+LOC_SM, as a slave board of group B;

[0140] SS board: conf=8, i.e. MODE_INTG+LOC_SS, as a slave board of group B.

[0141] 2) Fiber optic connection:

[0142] Data communication: The fiber optic connectors 9 / 10 / 11 of the MM board communicate bidirectionally with the fiber optic connector 9 of the SS board, the fiber optic connector 10 of the SM board, and the fiber optic connector 11 of the MS board via dual fibers.

[0143] Rectification communication: The fiber optic connector 12 of each inverter board is connected to the rectifier board of its respective frequency converter;

[0144] Synchronization signal: The fiber optic connector 13 / 14 of the MM board sends a pulse to the fiber optic connector 13 / 14 of the MS board. The transmitting end of the fiber optic connector 13 / 14 of the MS board forwards the pulse to the fiber optic connector 13 / 14 of the SM board. The transmitting end of the fiber optic connector 13 / 14 of the SM board forwards the pulse to the fiber optic connector 13 / 14 of the SS board. The fiber optic connector 13 / 14 of the SS board only receives the pulse and does not forward it.

[0145] Power Units: Each inverter board's fiber optic connectors 0-8 are connected to the 15 power units of its respective frequency converter.

[0146] 3) System power-on and initialization:

[0147] After each inverter board is powered on, the FPGA reads the local conf configuration value and decodes it to obtain mode_r and loc_r;

[0148] The MM board (conf=5) is decoded as MODE_INTG+LOC_MM, and it is configured as the system motherboard.

[0149] MS / SM / SS boards are decoded into their respective roles and configured as system slave boards;

[0150] Each board initializes the inter-board data link and synchronization module, and waits for the MM board to generate a synchronization signal.

[0151] 4) Normal operating procedure:

[0152] ①The MM board MCU calculates the intermediate values ​​of the three-phase modulating wave (modulating_wave_a / b / c) according to the system control algorithm and writes them into the FPGA;

[0153] ②The MM board FPGA transmits the intermediate value of the modulated wave to each slave board through the interconnection communication module channel 0 (fiber optic connector 9→SS), channel 1 (fiber optic connector 10→SM), and channel 2 (fiber optic connector 11→MS) via the internal data link array.

[0154] ③The MS board FPGA extracts the intermediate value of the modulation wave from the data received from the interconnection communication module channel 2 (fiber optic connector 11), sets ms_modulation=MODE_MODUL_SLAVE, and sends the extracted modulation wave value to the PWMCOM module to generate a PWM drive signal;

[0155] ④The FPGA on the SM board extracts the modulation wave value from channel 1 (fiber optic connector 10) of the interconnection communication module and generates the PWM signal in the same way;

[0156] ⑤The SS board FPGA extracts the modulation wave value from the interconnection communication module channel 0 (fiber optic connector 9), and similarly generates the PWM signal;

[0157] ⑥ When each slave FPGA sends a data frame back to the MM board through the interconnection communication module channel, it automatically replaces the AD sampling current data of its own board with the specified position of the data frame (MS replaces the low bit of channel 2, SM replaces the low bit of channel 1, and SS replaces the low bit of channel 0).

[0158] ⑦ The MM board FPGA receives the data frames returned by each slave board and extracts the current AD code value of each slave device;

[0159] ⑧The MM board MCU reads the current value of each slave through the CPU interface, performs a parallel closed-loop current sharing control algorithm, and calculates the modulation wave value for the next cycle;

[0160] ⑨ Repeat steps ① to ⑧ to achieve closed-loop control.

[0161] 5) Synchronization process:

[0162] ①When the PWM counter inside the MM board FPGA reaches the reload value, it generates pwmint_loc (interrupt pulse) and pwmcnt_reload_loc (carrier reload pulse).

[0163] ② Interruption Synchronization: pwmint_loc is sent from fiber optic connector 13 to the MS board via the fiber_sync module; the MS board fiber optic connector 13 receives the pulse, and after the fiber_sync module detects the rising edge, it generates pwmint_ext (synchronization interrupt output) and sends it to the MS board MCU. At the same time, it forwards the pulse to the SM board through the transmitting end of fiber optic connector 13; the SM board also receives and forwards it to the SS board; the SS board only receives and does not forward.

[0164] ③PWM carrier synchronization: pwmcnt_reload_loc is sent from fiber optic socket 14 through the carrier reload synchronization module and relayed sequentially through MS→SM→SS;

[0165] ④ After each slave board FPGA receives the PWM carrier synchronization pulse, it triggers the local PWM counter to be reloaded, so that the PWM carrier phase of all four inverter boards is consistent with that of the MM board.

[0166] 6) Link Monitoring: The TimeOutCheck module of each FPGA board continuously monitors the activity of the synchronization signal, and the interconnection communication module continuously monitors the data link. If any link fails (synchronization timeout or data reception timeout), the corresponding error bit is set in the db_link_err register. The MCU can query through the CPU interface and respond in the control strategy (such as alarm or derated operation).

[0167] Operating Scenario 2: Independent Parallel Operation of Two Inverter Groups, A and B, operate independently and drive their own independent loads.

[0168] 1) System Configuration:

[0169] Group A: MM board conf=1 (MODE_GROUP+LOC_MM), MS board conf=2 (MODE_GROUP+LOC_MS);

[0170] Group B: SM board conf=3 (MODE_GROUP+LOC_SM), SS board conf=4 (MODE_GROUP+LOC_SS).

[0171] 2) Fiber optic connection:

[0172] Within Group A: MM board fiber optic connector 11 and MS board fiber optic connector 11 are interconnected via dual fibers; MM board fiber optic connector 13 / 14 sends synchronization signals to MS board fiber optic connector 13 / 14 (MS only receives).

[0173] Within Group B: SM board fiber optic connector 11 and SS board fiber optic connector 11 are interconnected via dual fibers; SM board fiber optic connector 13 / 14 sends synchronization signals to SS board fiber optic connector 13 / 14 (SS only receives).

[0174] Fiber optic connectors 9 and 10 on MM board and 9 and 10 on SM board were not used;

[0175] Each board has fiber optic connector 12 connected to its respective rectifier board, and fiber optic connectors 0-8 connected to the power unit.

[0176] 3) Operation process:

[0177] ①The MM board in Group A acts as the main board of Group A. It sends the intermediate value of the modulation wave to the MS board through the fiber optic connector 11. The MS board replaces the AD data of its own board from the data return.

[0178] ②The SM board in group B acts as the main board of group B. It sends the intermediate value of the modulation wave to the SS board through the fiber optic connector 11. The SS board replaces the AD data of its own board from the data return.

[0179] ③Groups A and B are completely independent, with no data interaction or synchronization.

[0180] ④ The operation control and current sharing algorithm of each group are independently completed by the motherboard MCU within their respective groups.

[0181] Operating Scenario 3: Standalone operation, a basic operating scenario in which a single inverter board independently drives the load.

[0182] 1) System configuration: One inverter board is configured as conf=0 (MODE_IND+LOC_MM).

[0183] 2) Fiber optic connection: Fiber optic connectors 0-8 connect to the 15 power units of this inverter; fiber optic connector 12 connects to the rectifier board of this inverter; fiber optic connectors 9-11 and 13-14 are not connected (no inter-board interconnection function is enabled).

[0184] 3) Operation Flow: The FPGA operates in independent mode, with the ms_modulation signal set to MODE_MODUL_MASTER (1'b0), indicating that the PWM modulation wave is generated autonomously by the MCU on this board. The MCU writes the modulation wave value to the FPGA via the CPU interface, and the FPGA's PWMCOM module generates the PWM drive signal accordingly. There is no inter-board synchronization requirement in this mode; interrupt synchronization and PWM carrier synchronization functions are disabled.

[0185] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of this application. It should be understood that the above description is only a specific embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A multi-machine parallel FPGA system for a general-purpose four-quadrant frequency converter, characterized in that, It includes a first FPGA inverter board, a second FPGA inverter board, a third FPGA inverter board, and a fourth FPGA inverter board; Any one of the first, second, third, and fourth FPGA inverter boards serves as the master control FPGA inverter board, and the data communication links between the first, second, third, and fourth FPGA inverter boards are configured in a star topology with the master control FPGA inverter board as the center; the synchronization signal communication links between the first, second, third, and fourth FPGA inverter boards are configured in a daisy-chain topology. Each of the first, second, third, and fourth FPGA inverter boards is equipped with a configuration register to define its operating mode and board role, thereby enabling the first, second, third, and fourth FPGA inverter boards to operate in independent, group, or overall operating modes.

2. The multi-machine parallel FPGA system of the universal four-quadrant frequency converter according to claim 1, characterized in that, The first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board and the fourth FPGA inverter board are each provided with multiple fiber optic sockets, and the multiple fiber optic sockets on each FPGA inverter board are divided into a first fiber optic socket set, a second fiber optic socket set, a third fiber optic socket set and a fourth fiber optic socket set. The first fiber optic connector is used to connect the power unit for transmitting PWM modulation signals and transmitting power unit status / AD data back. The second fiber optic connector set is used for data communication between FPGA inverter boards. The second fiber optic connectors on different FPGA inverter boards are connected to each other to form a data communication link. The third fiber optic socket assembly is used for communication between the FPGA inverter board and the external rectifier board; The fourth fiber optic connector set is used for synchronization between FPGA inverter boards. The fourth fiber optic connectors on different FPGA inverter boards are interconnected to form a synchronization signal communication link.

3. The multi-machine parallel FPGA system of the universal four-quadrant frequency converter according to claim 1, characterized in that, The configuration register can be configured with a variety of different values, and different values ​​correspond to different operating modes and board positions. After the FPGA inverter board is powered on and reset, it determines its own operating mode and board position role by reading the value in the configuration register, and configures the preset fiber optic pin allocation, data link direction, synchronization signal processing method and modulation wave allocation logic according to the operating mode and board position role.

4. The multi-machine parallel FPGA system of the universal four-quadrant frequency converter according to claim 2, characterized in that, When the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are operating in independent operation mode, there is no inter-board interconnection communication. The FPGA inverter board is connected to the power unit through the first fiber optic connector set and to the rectifier board through the third fiber optic connector set.

5. The multi-machine parallel FPGA system of the universal four-quadrant frequency converter according to claim 2, characterized in that, When the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board and the fourth FPGA inverter board are running in group operation mode, the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board and the fourth FPGA inverter board are divided into two inverter groups. The FPGA inverter boards in each inverter group are connected in parallel / cascaded, and electrical isolation is provided between the inverter groups. For any inverter group, any FPGA inverter board in the inverter group is used as the main board of the inverter group, and another FPGA inverter board is used as the slave board of the inverter group. The main board and slave board of the inverter group communicate data through a second fiber optic socket set and synchronize through a fourth fiber optic socket set. There is no communication between inverter groups.

6. The multi-machine parallel FPGA system of the universal four-quadrant frequency converter according to claim 2, characterized in that, When the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board and the fourth FPGA inverter board are running in the overall operation mode, any one of the FPGA inverter boards is used as the master FPGA inverter board and the other FPGA inverter boards are used as slave FPGA inverter boards. The master FPGA inverter board is defined as the MM board, and the three slave FPGA inverter boards are defined as the MS board, the SM board and the SS board respectively. In overall operation mode, the MM board forms a star topology data communication link with the MS board, SM board and SS board respectively through the second fiber optic socket set to enable bidirectional communication; The MM board sends pulses through the fourth fiber optic connector, the MS board receives and forwards them to the SM board, the SM board receives and forwards them to the SS board, and the SS board only receives them, forming a daisy-chain topology synchronization signal communication link for synchronization.

7. The multi-machine parallel FPGA system of the universal four-quadrant frequency converter according to claim 2, characterized in that, Data synchronization modules are provided on the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board. The data frame format of the data synchronization module is set to 6×16bit data frame, and a part of the data frame stores the custom communication data of the FPGA inverter board, and another part stores the fixed interaction information of the FPGA. The data frame is also attached with a CRC-8 check code. The data synchronization module between different FPGA inverter boards communicates based on a custom serial communication protocol; The data synchronization module has a built-in timeout detection mechanism. If a valid data frame that has passed verification is not received within a preset time, an error flag will be triggered, and the error flag will be summarized into the inter-board link error status register through the general interface module. The general interface module instantiates four interconnect communication module channels using the generate statement, with each interconnect communication module channel corresponding to a pair of optical fiber connections.

8. The multi-machine parallel FPGA system of the universal four-quadrant frequency converter according to claim 2, characterized in that, When the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are operating as slave boards or slave FPGA inverter boards of the inverter group, before the data is transmitted to the main board of the inverter group or the master control FPGA inverter board, the AD sampling data of the FPGA inverter board is replaced to the specified position of the data frame, so as to realize the master's acquisition of the slave current AD data for parallel current sharing control.

9. The multi-machine parallel FPGA system of the universal four-quadrant frequency converter according to claim 2, characterized in that, When the first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board are operating as slave boards or slave FPGA inverter boards of the inverter group, they communicate with each other through the second fiber optic socket set, receive the intermediate value of the modulation wave sent by the main board of the inverter group or the main control FPGA inverter board, and generate the PWM modulation signal of the FPGA inverter board accordingly.

10. The multi-machine parallel FPGA system of the universal four-quadrant frequency converter according to claim 2, characterized in that, The first FPGA inverter board, the second FPGA inverter board, the third FPGA inverter board, and the fourth FPGA inverter board transmit interrupt synchronization signals and PWM carrier synchronization signals through a synchronization signal communication link. Furthermore, the two synchronization signal communication links are equipped with timeout detection circuits. When the synchronization signal exceeds the configurable time threshold without flipping, a synchronization loss error flag will be triggered. This flag is recorded in a preset bit of the inter-board link error status register.