Real-time simulation device of rail transit power supply system based on multiple FPGAs
Through the distributed architecture and ring communication link based on multi-FPGA, the problem of poor simulation timeliness and low efficiency in the simulation method of rail transit power supply system is solved, and efficient and scalable simulation capabilities are achieved, which are suitable for the simulation of complex subway power supply systems.
Patent Information
- Application Number
- CN202421510292.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2034-06-28
AI Technical Summary
The existing simulation methods of rail transit power supply systems have problems such as poor simulation timeliness and low efficiency. Single FPGAs are difficult to independently carry digital models of complex subway power supply systems, and the data exchange and communication efficiency between different FPGA modules are low.
Using a distributed architecture based on multiple FPGAs, a ring communication link is formed through the FPGA main control module and multiple FPGA subsystem modules, and efficient data transmission and power supply between modules are achieved using the PCIe interface communication base plate and AC-DC power module.
It significantly improves the simulation efficiency and scalability, solves the problem of limited resources of a single block FPGA, realizes efficient simulation of complex power supply systems, and ensures consistency and coordination of simulation results.
Smart Images

Figure CN222618991U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of power supply system simulation, and specifically, the utility model relates to a real-time simulation device for a rail transit power supply system based on multiple FPGAs. Background Art
[0002] With the rapid development of rail transit systems, the reliability and stability of power supply systems are increasingly required. In the research and development and testing of rail transit systems such as subways, it is particularly important to accurately simulate and predict the operating status of the power supply system. This not only helps to evaluate the effectiveness of system design, but also prevents potential failures and risks, ensuring passenger safety and the normal operation of the system. Traditional simulation methods mainly rely on mathematical models and computer simulation software, but these methods often have problems such as low simulation accuracy and poor real-time performance. FPGA has great potential in the field of real-time simulation due to its high hardware parallelism, memory distribution and pipeline architecture. However, the logic resources and processing power of a single FPGA are limited. For a complex subway power supply system, it is difficult for a single FPGA to independently carry the digital model of the entire system. In a multi-FPGA distributed simulation architecture, effective data exchange and communication are required between different FPGA modules to ensure the consistency and coordination of the simulation. Designing an efficient communication mechanism is one of the key challenges in realizing a distributed simulation architecture.
[0003] Therefore, it is urgent to develop a real-time simulation device for rail transit power supply system based on multiple FPGAs with efficient communication mechanism. Utility Model Content
[0004] The utility model provides a real-time simulation device for a rail transit power supply system based on multiple FPGAs, so as to at least solve the problems of poor simulation real-time performance and low efficiency of the existing rail transit power supply system simulation method.
[0005] To achieve the above-mentioned purpose, the utility model provides a real-time simulation device for a rail transit power supply system based on multiple FPGAs, comprising:
[0006] FPGA master control module, electrically connected to the host computer;
[0007] A plurality of FPGA subsystem modules, each FPGA subsystem module is electrically connected to the other FPGA subsystem modules, and is electrically connected to the FPGA main control module to form a ring communication link;
[0008] A PCIe interface communication baseboard, the FPGA main control module and the FPGA subsystem module are electrically connected to the PCIe interface communication baseboard;
[0009] The AC-DC power supply module is electrically connected to the PCIe interface communication baseboard.
[0010] Furthermore, the FPGA subsystem module includes: an FPGA traction network module, an FPGA AC bus module, an FPGA transformer rectifier module, an FPGA low-voltage load module, and an FPGA switch control logic module.
[0011] Furthermore, the FPGA traction network module is electrically connected to the FPGA transformer rectifier module, the FPGA AC bus module is electrically connected to the FPGA transformer rectifier module and the FPGA low-voltage load module, the FPGA transformer rectifier module is electrically connected to the FPGA traction network module and the FPGA AC bus module, the FPGA low-voltage load module is electrically connected to the AC bus module, and the FPGA switch control logic module is electrically connected to the FPGA AC bus module, the FPGA transformer rectifier module and the FPGA low-voltage load module.
[0012] Furthermore, each FPGA subsystem module and the FPGA main control module are connected via an uplink high-speed serial communication interface and a downlink high-speed serial communication interface to form a ring communication link.
[0013] Furthermore, the PCIe interface communication baseboard is provided with a plurality of PCIe×8 standard interfaces, and each FPGA subsystem module and the FPGA main control module are electrically connected to the PCIe interface communication baseboard via the PCIe×8 standard interfaces.
[0014] The real-time simulation device of the rail transit power supply system based on multiple FPGAs is characterized in that the PCIe interface communication baseboard is electrically connected to the AC-DC power supply module through a power supply interface.
[0015] Furthermore, a control switch is provided between the PCIe×8 standard interface and the AC-DC power supply module.
[0016] Furthermore, the host computer is electrically connected to the FPGA main control module via a USB-UART serial port line.
[0017] Furthermore, the FPGA main control module and the FPGA subsystem module use the XILINX K7 series development board AV7K325.
[0018] Furthermore, the FPGA main control module and the FPGA subsystem module each include 1 PCIe×8 interface, 4 optical fiber interfaces, 4 HDMI interfaces, 1 UART serial port interface and a 40-pin IO expansion port.
[0019] Compared with the prior art, the advantages and positive effects of the utility model are:
[0020] By adopting a distributed architecture based on multiple FPGAs, making full use of the advantages of FPGAs in terms of high speed, high efficiency, and high flexibility, and adopting a distributed architecture, the efficiency and scalability of simulation can be significantly improved, solving the problem of limited resources of a single FPGA.
[0021] The distributed architecture allows for flexible addition or reduction of FPGA modules based on demand, making it easier for the system to expand and adapt to simulation needs of different scales.
[0022] The design of the ring communication link and the dedicated high-speed serial transceiver configuration ensure the efficient and orderly transmission of data between FPGA modules.
[0023] The device can simulate complex power supply systems and provide a reliable basis for the design and optimization of power supply systems. It has broad application prospects in power electronics systems, electric drive systems, power systems and other fields. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a schematic diagram of the structure of a real-time simulation device for a rail transit power supply system based on multiple FPGAs of the utility model;
[0025] Figure 2 It is a schematic diagram of the composition of the FPGA subsystem simulation module of the 35kV traction step-down substation power supply system provided in the embodiment of the utility model;
[0026] Figure 3 This is a schematic diagram of the data transmission method of the ring communication link of the utility model.
[0027] In the above picture:
[0028] 1. FPGA main control module; 2. FPGA subsystem module; 3. PCIe interface communication baseboard; 4. AC-DC power supply module; 5. Host computer; 21. FPGA traction network module; 22. FPGA AC bus module; 23. FPGA transformer rectifier module; 24. FPGA low-voltage load module; 25. FPGA switch control logic module. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0030] In the description of the present application, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "liquid level", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. The terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present application, unless otherwise specified, "multiple" means two or more.
[0031] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0032] Embodiment 1:
[0033] like Figure 1-Figure 3 As shown, the utility model provides a real-time simulation device for a rail transit power supply system based on multiple FPGAs, including: an FPGA main control module 1, an FPGA subsystem module 2, a PCIe interface communication baseboard 3, and an AC-DC power supply module 4. Specifically, the FPGA main control module 1 is electrically connected to a host computer 5; multiple FPGA subsystem modules 2, each FPGA subsystem module 2 is electrically connected, and is electrically connected to the FPGA main control module 1 to form a ring communication link; the FPGA main control module 1 and the FPGA subsystem module 2 are electrically connected to the PCIe interface communication baseboard 3; the AC-DC power supply module 4 is electrically connected to the PCIe interface communication baseboard 3.
[0034] In some embodiments, the FPGA main control module 1 is electrically connected to the host computer 5 via a USB-UART serial port line. The FPGA main control module 1 can receive instructions from the host computer 5 in real time and issue instructions to the FPGA subsystem simulation module. At the same time, the FPGA main control module 1 can upload simulation calculation data to the host computer 5 for real-time simulation analysis.
[0035] like Figure 3As shown, in some embodiments, each FPGA subsystem module 2 and the FPGA main control module 1 are connected through an uplink high-speed serial communication interface and a downlink high-speed serial communication interface to form a ring communication link. Multiple FPGA subsystem modules 2 are respectively configured with a group of high-speed serial transceivers GTX for data transmission. A group of high-speed serial transceivers GTX includes 4 channels for transmission and reception, and actually uses two channels rx1 / tx1 and rx0 / tx0, where rx1 / tx1 is an uplink data transmission port and an uplink data receiving port, and rx0 / tx0 is a downlink data transmission port and a downlink data receiving port. The design of the ring communication link ensures the orderliness of data transmission. Each module receives and sends data in a predetermined order. The configuration of the high-speed serial transceiver GTX provides efficient data transmission capability and reduces the delay of data transmission. At the same time, the ring structure improves the stability of the communication link. Even if a module has a problem, it will not affect the communication of the entire system.
[0036] In some embodiments, a plurality of PCIe×8 standard interfaces are provided on the PCIe interface communication baseboard 3, and each FPGA subsystem module 2 and the FPGA master control module 1 are electrically connected to the PCIe interface communication baseboard 3 through the PCIe×8 standard interface. The use of the PCIe×8 standard interface ensures compatibility with existing hardware and simplifies the connection method between modules. The plurality of PCIe×8 interfaces on the PCIe interface communication baseboard 3 provides system scalability, and FPGA modules can be added or reduced according to simulation requirements. Centralized wiring through the baseboard reduces the number of cables required to connect each FPGA module separately, and reduces wiring complexity.
[0037] In some embodiments, the PCIe interface communication baseboard 3 is electrically connected to the AC-DC power module 4 through a power supply interface. The AC-DC power module 4 converts an external 220V AC power into 12V DC power and connects it to the baseboard PCIe interface communication baseboard 3 to realize power supply to the FPGA main control module and each FPGA subsystem module 2.
[0038] In some embodiments, a control switch is provided between the PCIe×8 standard interface and the AC-DC power supply module 4, that is, a control switch is provided between the PCIe×8 standard interface and the 12V power supply to control the power-on of each FPGA subsystem module 2 and the FPGA master control module 1. The control switch allows precise control of the power supply of each FPGA module, and a specific module can be turned on or off separately. The independent power supply control of each FPGA module provides flexibility, allowing maintenance or testing of a single module without affecting other modules. Through the control switch, the power supply can be quickly cut off when a problem is detected in a specific module to prevent the fault from spreading to the entire system.
[0039] In some embodiments, the FPGA main control module 1 and the FPGA subsystem module 2 use the XILINX K7 series development board AV7K325. The FPGA chips of the FPGA main control module 1 and the FPGA subsystem module 2 are both XC7K325T.
[0040] In some embodiments, the FPGA master control module 1 and the FPGA subsystem module 2 each include a PCIe×8 interface, 4 optical fiber interfaces, 4 HDMI interfaces, a UART serial port interface, and a 40-pin IO expansion port. Multiple interface options allow the FPGA module to be flexibly integrated into different system architectures and expanded as needed.
[0041] Embodiment 2:
[0042] like Figure 2 As shown, the composition of the FPGA subsystem simulation module of the present invention is described in detail below, taking the 35kV traction step-down substation power supply system as an example. In some embodiments, the FPGA subsystem module 2 includes: an FPGA traction network module 21, an FPGA AC bus module 22, an FPGA transformer rectifier module 23, an FPGA low-voltage load module 24, and an FPGA switch control logic module 25. The FPGA traction network module 21 is electrically connected to the FPGA transformer rectifier module 23, the FPGA AC bus module 22 is electrically connected to the FPGA transformer rectifier module 23 and the FPGA low-voltage load module 24, the FPGA transformer rectifier module 23 is electrically connected to the FPGA traction network module 2121 and the FPGA AC bus module 22, the FPGA low-voltage load module 24 is electrically connected to the AC bus module, and the FPGA switch control logic module 25 is electrically connected to the FPGA AC bus module 22, the FPGA transformer rectifier module 23 and the FPGA low-voltage load module 24.
[0043] Specifically, the FPGA traction network module 21 runs the traction network model, receives the DC bus voltage of the FPGA transformer rectifier module 23 and feeds back the DC bus current value; the FPGA AC bus module 22 runs the 35kV AC bus model, provides the bus voltage value for the FPGA transformer rectifier module 23 and the step-down transformer model in the FPGA low-voltage load module 24, and receives the feedback current value; the FPGA transformer rectifier module 23 runs the step-down transformer model, the uncontrolled rectifier model and the straight-line bus model, receives the voltage of the FPGA AC bus module 22 and feeds back the straight-line bus current, provides the DC bus voltage for the traction network model of the FPGA traction network module 21 and receives the feedback current value; the FPGA transformer rectifier module 23 runs the step-down transformer model and the low-voltage distribution load model, receives the AC bus voltage of the FPGA AC bus module 22 and feeds back the current; the FPGA switch control logic module 25 runs the switch control logic, and provides the switch logic for the FPGA AC bus module 22, the FPGA transformer rectifier module 23 and the FPGA low-voltage load module 24.
[0044] Figure 3 Schematic diagram of the composition of the FPGA module of the 35kV traction step-down substation power supply system provided in the embodiment of the utility model, as shown in FIG. Figure 3 As shown, after the FPGA main control module 1 starts the communication process, it transmits the communication data to the FPGA traction network module 21 through the uplink data sending interface. After the FPGA traction network module 21 receives the communication data through the uplink data receiving interface, it loads its own simulation calculation data into the simulation calculation data packet according to the instruction of the FPGA main control module 1, and sends the loaded simulation calculation data packet to the FPGA AC bus module 22 through the uplink data sending interface. The FPGA AC bus module 22, the FPGA transformer rectifier module 23 and the FPGA low-voltage load module 24 repeat the above-mentioned loading action in turn. The FPGA switch control logic module 25 is configured as a transfer module, that is, the end module of the uplink data transmission link and the initial module of the downlink data link. The FPGA After the switch control logic module 25 completes the loading of the simulation calculation data, it retrieves and caches the data according to the instructions of the FPGA main control module 1, and then sends the simulation calculation data to the FPGA low-voltage load module 24 through its downstream data sending port. From then on, the communication data begins to be transmitted in reverse downstream. The FPGA low-voltage load module 24 receives the simulation calculation data through its downstream data receiving port, retrieves and caches the data according to the instructions defined by the FPGA main control module 1, and sends the simulation calculation data to the FPGA transformer rectifier module 23 through the downstream data sending port. The FPGA transformer rectifier module 23 and the FPGA AC bus module 22 repeat the above-mentioned retrieval actions in turn until the FPGA main control module 1 receives the simulation calculation data, completing the communication data transmission process.
[0045] The FPGA master control module 1 only sends data through the uplink data sending port and receives data through the downlink data receiving port; the FPGA switch control logic module 25 acts as a transfer module, only receives data through the uplink data receiving port, and sends data through the downlink data sending port after loading and taking data. From the uplink data sending port of the FPGA master control module 1 sending data to the downlink data receiving port of the FPGA master control module 1 receiving data, it is a complete communication data transmission process, and each FPGA module completes one data sending and receiving in this process. The FPGA master control module 1 uploads the simulation calculation data to the host computer 5 for real-time simulation analysis.
[0046] Through the design of the ring communication link and the centralized control of the FPGA master control module 1, each FPGA module only sends and receives data once during the data transmission process, which enhances the stability and reliability of data transmission. During the data transmission process, the FPGA master control module 1 can monitor the status of each module in real time, and promptly discover and handle potential faults. As the starting point and end point of communication, the FPGA master control module 1 helps to synchronize data in the entire simulation system and avoid time deviation. At the same time, centralized communication control simplifies system management, reduces the error rate, and improves the controllability of the simulation process.
[0047] The above description is only a preferred embodiment of the present invention and does not limit the present invention in other forms. Any technician familiar with the profession may use the technical content disclosed above to change or modify it into an equivalent embodiment with equivalent changes and apply it to other fields. However, any simple modification, equivalent change and modification made to the above embodiment based on the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.
Claims
1. A real-time simulation device for a rail transit power supply system based on multiple FPGAs, characterized in that: include: FPGA master control module, electrically connected to the host computer; A plurality of FPGA subsystem modules, each FPGA subsystem module is electrically connected to the other FPGA subsystem modules, and is electrically connected to the FPGA main control module to form a ring communication link; A PCIe interface communication baseboard, the FPGA main control module and the FPGA subsystem module are electrically connected to the PCIe interface communication baseboard; The AC-DC power supply module is electrically connected to the PCIe interface communication baseboard.
2. The real-time simulation device for a rail transit power supply system based on multiple FPGAs according to claim 1 is characterized in that: The FPGA subsystem module includes: an FPGA traction network module, an FPGA AC bus module, an FPGA transformer rectifier module, an FPGA low-voltage load module, and an FPGA switch control logic module.
3. The real-time simulation device for a rail transit power supply system based on multiple FPGAs according to claim 2 is characterized in that: The FPGA traction network module is electrically connected to the FPGA transformer rectifier module, the FPGA AC bus module is electrically connected to the FPGA transformer rectifier module and the FPGA low-voltage load module, the FPGA transformer rectifier module is electrically connected to the FPGA traction network module and the FPGA AC bus module, the FPGA low-voltage load module is electrically connected to the AC bus module, and the FPGA switch control logic module is electrically connected to the FPGA AC bus module, the FPGA transformer rectifier module and the FPGA low-voltage load module.
4. The real-time simulation device for a rail transit power supply system based on multiple FPGAs according to claim 1 is characterized in that: Each FPGA subsystem module and the FPGA main control module are connected via an uplink high-speed serial communication interface and a downlink high-speed serial communication interface to form a ring communication link.
5. The real-time simulation device for a rail transit power supply system based on multiple FPGAs according to claim 1 is characterized in that: The PCIe interface communication baseboard is provided with a plurality of PCIe×8 standard interfaces, and each FPGA subsystem module and the FPGA main control module are electrically connected to the PCIe interface communication baseboard via the PCIe×8 standard interfaces.
6. The real-time simulation device for a rail transit power supply system based on multiple FPGAs according to claim 5 is characterized in that: The PCIe interface communication baseboard is electrically connected to the AC-DC power supply module via a power supply interface.
7. The real-time simulation device for a rail transit power supply system based on multiple FPGAs according to claim 6 is characterized in that: A control switch is provided between the PCIe×8 standard interface and the AC-DC power supply module.
8. The real-time simulation device for a rail transit power supply system based on multiple FPGAs according to claim 1, characterized in that: The host computer is electrically connected to the FPGA main control module via a USB-UART serial port line.
9. The real-time simulation device for a rail transit power supply system based on multiple FPGAs according to claim 1, characterized in that: The FPGA main control module and the FPGA subsystem module use the XILINX K7 series development board AV7K325.
10. The real-time simulation device for a rail transit power supply system based on multiple FPGAs according to claim 1, characterized in that: The FPGA main control module and the FPGA subsystem module each include 1 PCIe×8 interface, 4 optical fiber interfaces, 4 HDMI interfaces, 1 UART serial port interface and a 40-pin IO expansion port.