Electrical system simulator communication method based on interaction frequency classification and time division multiplexing

By adopting communication methods of interactive frequency classification and time division multiplexing in electrical system simulators, the problem of communication data volume bottleneck in traditional methods is solved, efficient data transmission and simulation system scale are achieved, and suitable for large-scale power systems are suitable for and new energy system simulation.

CN119276726APending Publication Date: 2025-01-07CHENGDU MITT INTELLIGENT POWER TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411250779.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The traditional electrical system emulator communication method has a bottleneck in the case of high data volume, resulting in limited simulation object scale, and the implementation of multi-channel network increases system complexity and cost, and fails to effectively meet high-frequency data transmission. Require.

Method used

Using the electrical system emulator communication method based on interactive frequency classification and time division multiplexing, the FPGA logic control module is set up in the simulation switch, and the time division multiplexing module is used to classify and prioritize the data, and the high frequency, medium frequency and Low-frequency data are transmitted in different time windows respectively, and high-frequency data is processed first to ensure real-time.

Benefits of technology

It significantly improves communication efficiency and simulation system scale, optimizes communication bandwidth utilization, reduces data transmission conflicts, ensures real-time and system stability, and is suitable for large-scale power systems and new energy systems simulations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119276726A_ABST
    Figure CN119276726A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, and particularly discloses an electrical system simulator communication method based on interaction frequency classification and time division multiplexing. A plurality of digital simulators are connected with a simulation switch, and an FPGA logic control module is arranged in the simulation switch; the communication module of the digital simulator is in bidirectional parallel communication with the FPGA logic control module of the simulation switch, and the FPGA logic control module is internally provided with a time division multiplexing module. The time division multiplexing module classifies the sending frequencies of the data according to the calculation of different types of data and the data interaction step length, and divides the communication time into a plurality of time windows, so that the data of different frequencies are transmitted in different time windows. The method has the advantages that the utilization rate of sub-hardware resources can be effectively improved through the preset time slot allocation strategy, and the method is particularly suitable for large-scale real-time simulation application needing to process multiple frequency signals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of simulation communication methods, in particular to an electrical system simulator communication method based on interaction frequency classification and time division multiplexing. Background Art

[0002] Digital real-time simulators for electrical systems are widely used in large-scale power system and new energy system simulation and hardware-in-the-loop testing. They can be used for transient characteristics research of electrical systems, control and protection system research and equipment testing. As the simulation scale continues to expand, multiple simulators can be interconnected for parallel computing to increase the simulation scale. When multiple machines are running in parallel, the communication of digital real-time simulators requires strict real-time and synchronous data exchange at microsecond steps, which is usually implemented using a dedicated field programmable gate array (FPGA). The traditional method communicates all data at each microsecond step. When the amount of interactive data increases, there is a bottleneck in the amount of communication data, which seriously restricts the application scale of multiple simulators.

[0003] The electrical simulation object of the simulator includes the primary circuit system and part of the control system, and the other part of the control system is connected by the controller to be tested. There are different types of communication data between different simulators for the primary system and the control and protection system, including but not limited to the primary circuit sub-network coupling signal, including Bergeron transmission line sub-network and other methods, valve group pulse control instructions, control modulation signals, circuit breaker signals, power electronic outer loop control instructions in the control system, etc. The above communication data have different step length and sampling rate requirements during the simulation process, that is, different communication interaction intervals. For example, the primary circuit sub-network interaction data and the converter pulse data require a high communication frequency (low communication interval); the modulation signal and the average value model signal can use a medium communication frequency; the circuit breaker signal and the outer loop power instruction can use a low communication frequency.

[0004] Traditional data transmission methods do not distinguish between data communication requirements and communicate all data at each simulation step. This method easily leads to bandwidth saturation in the case of large amounts of data, thus limiting the scale of simulation objects. Traditional simulation systems can also establish multiple communication networks to handle high-frequency and low-frequency data interactions. However, this solution requires additional hardware for multiple networks and has complex wiring.

[0005] In the paper "Research on High-Frequency, Low-Latency Wireless Data Acquisition Technology", Xu Junyi proposed a solution of using a multi-channel network to solve the bottleneck problems of single-channel networks in transmission rate and network load, especially when dealing with parallel transmission of multiple devices, it is difficult to meet the requirements of high-frequency data transmission. The paper designed a multi-channel network, including one downlink channel and five uplink channels. This configuration ensures that even when multiple devices send data at the same time, each device can still complete data transmission within 1 second. Through this multi-channel approach, different types of data are assigned to different channels for transmission, which effectively reduces the delay of data transmission and improves the throughput of the network. However, the implementation of a multi-channel network requires the support of multiple communication channels, which places higher requirements on the hardware. Each channel requires an independent transmitter and receiver, which increases the complexity and cost of the system. In addition, the paper does not target the scenario of electrical system simulator communication and does not utilize the characteristics of simulation communication scenario data. Summary of the invention

[0006] The purpose of the present invention is to overcome the shortcomings of the prior art and provide an electrical system simulator communication method based on interaction frequency classification and time division multiplexing.

[0007] The purpose of the present invention is achieved through the following technical scheme: an electrical system simulator communication method based on interaction frequency classification and time division multiplexing, connecting multiple digital simulators to a simulation switch, setting an FPGA logic control module in the simulation switch, and performing two-way parallel communication between the communication module of the digital simulator and the FPGA logic control module of the simulation switch. The FPGA logic control module has a built-in time division multiplexing module. During the real-time simulation process of the digital simulator, the time division multiplexing module classifies the sending frequency of these data according to the calculation of different types of data and the data interaction step, and divides the communication time into multiple time windows, so that data of different frequencies are transmitted in different time windows.

[0008] Specifically, the data is classified into high-frequency, medium-frequency and low-frequency data according to frequency.

[0009] Specifically, the processing of data by the time division multiplexing module includes the following steps:

[0010] Step S1, the system is initialized, the expected frequency information of different data types is preconfigured and stored in a lookup table, and the system then enters an idle state, waiting for data reception;

[0011] Step S2: data reception: the system receives new data and extracts the data type identifier;

[0012] Step S3: table search: according to the data type identifier, search for the corresponding frequency category in the pre-configured search table;

[0013] Step S4, data classification: the system classifies the received data according to the pre-configured information in the lookup table, and classifies the data into high frequency, medium frequency or low frequency;

[0014] Step S5: data processing: the system processes the data according to the classification results;

[0015] Step S6, time slot allocation, the system allocates corresponding transmission time slots for each data according to data frequency category and priority;

[0016] Step S7: Data transmission: the system transmits data in the order of the allocated time slots.

[0017] Specifically, in step S5, high-frequency data is processed first to ensure its real-time performance; low-frequency data is processed with a delay, and the processed data enters a time slot allocation state.

[0018] Specifically, in step S7, high-frequency data is transmitted first to ensure the response speed of the control system; medium-frequency and low-frequency data are transmitted subsequently.

[0019] Specifically, the method for classifying data by the time division multiplexing module also includes:

[0020] Step S8, dynamic adjustment and feedback. During the data transmission process, the system continuously monitors the actual transmission frequency of various types of signals and dynamically adjusts the lookup table to optimize the accuracy of classification.

[0021] Specifically, in step S6, the time slot allocation strategy is pre-set to avoid adaptive adjustment, thereby improving the stability and processing efficiency of the system.

[0022] The present invention has the following advantages:

[0023] 1. The present invention proposes a communication method for an electrical system digital simulator based on time division multiplexing and interactive frequency, which aims to solve the bottleneck problem in the interconnection and communication of multiple real-time simulators, improve the utilization rate of hardware resources and the scale of the simulation system. The method classifies and prioritizes signals of different frequencies. For example, high-frequency signals (such as valve group pulse control signals) are assigned higher priorities, while low-frequency signals (such as circuit breaker control signals) are assigned lower priorities. This priority scheduling mechanism reduces data transmission conflicts, optimizes the utilization of communication bandwidth, and significantly improves the overall communication efficiency of the system.

[0024] 2. Through time division multiplexing technology, the present invention divides the communication time into multiple time windows, and combines the principle of time sensitive network (TSN) to flexibly adjust the length and allocation strategy of each time window to ensure that the real-time requirements are met. High-priority signals are scheduled and transmitted first in the corresponding time window, while low-priority signals are arranged in idle time slots or scheduled according to their transmission cycle, thereby further optimizing the use of communication bandwidth. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a schematic diagram of the basic principle of the time division multiplexing technology of the present invention;

[0026] Figure 2 A schematic diagram of time slot division within a 1 millisecond simulation cycle of the present invention;

[0027] Figure 3 is a system structure block diagram of the present invention;

[0028] Figure 4 It is a data transmission flow chart of the present invention;

[0029] Figure 5 It is a state switching diagram of the time division multiplexing module of the present invention. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention, that is, the embodiments described are only part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations.

[0031] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.

[0032] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including a..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0033] The present invention is further described below in conjunction with the accompanying drawings, but the protection scope of the present invention is not limited to the following description. Figures 1 to 5 As shown, an electrical system simulator communication method based on interaction frequency classification and time division multiplexing connects multiple digital simulators to a simulation switch, an FPGA logic control module is set in the simulation switch, and bidirectional parallel communication is performed between the communication module of the digital simulator and the FPGA logic control module of the simulation switch. The FPGA logic control module has a built-in time division multiplexing module. During the real-time simulation process of the digital simulator, the time division multiplexing module classifies the sending frequency of these data according to the calculation of different types of data and the data interaction step, and divides the communication time into multiple time windows, so that data of different frequencies are transmitted in different time windows; in addition, the exchange timing of each simulator is synchronized at each step, which can avoid the problem of misalignment of the exchange data step and improve the stability and accuracy of the simulator calculation results; the communication time is divided into multiple time windows by using time division multiplexing technology, and combined with the principle of time-sensitive network, only data with a specific interaction frequency is allowed to communicate in each time window, so as to improve the data transmission efficiency and greatly increase the communication data volume between simulators and the scale of the simulation system;

[0034] Furthermore, the data is classified according to frequency into high frequency, medium frequency and low frequency data.

[0035] Furthermore, the processing of data by the time division multiplexing module includes the following steps:

[0036] Step S1, system initialization, pre-configuration of expected frequency information of different data types and storage in a lookup table, the system then enters an idle state, waiting for data reception; for example, the valve group pulse control signal is assigned to the high frequency category due to its high expected frequency; the converter average value model modulation signal is classified as the medium frequency category; and the circuit breaker control signal is classified as a low frequency signal due to its low triggering frequency;

[0037] Step S2: data reception: the system receives new data and extracts the data type identifier;

[0038] Step S3: table search: according to the data type identifier, search for the corresponding frequency category in the pre-configured search table;

[0039] Step S4, data classification, the system classifies the received data according to the pre-configured information in the lookup table, and classifies the data into high frequency, medium frequency or low frequency; valve group pulse control signal: these signals (for example, a0, a1, a2, a3, a4, a5, a6, a7) are identified as high frequency signals;

[0040] Converter average value model modulation signal: These signals (for example, b0, b1, b2, b3, b4) are classified as medium frequency signals; Circuit breaker control signal: These signals (for example, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9) are classified as low frequency signals; Step S5, data processing, the system processes the data according to the classification result and priority, gives priority to high frequency data to ensure its timeliness; delays the processing of low frequency data, and the processed data enters the time slot allocation state; Valve group pulse control signal: Due to its high priority, the system immediately processes and caches this signal to ensure its real-time response.

[0041] Converter average value model modulation signal: The processing priority of medium frequency signal is lower than that of high frequency signal.

[0042] Circuit breaker control signal: Low-frequency signals have the lowest priority. The system processes this signal after processing other signals and caches it for transmission.

[0043] Step S6, time slot allocation, based on the time-sensitive network, the system allocates corresponding transmission time slots for each data according to the data frequency category and priority; valve group pulse control signal: these high-frequency signals (such as a0, a1, a2, a3, a4, a5, a6, a7) are allocated to the most transmission time slots and are continuously transmitted in each 10 microsecond time slot.

[0044] Converter average value model modulated signal: The intermediate frequency signal is allocated to fewer time slots, but the continuity of signal transmission is still ensured. These signals (for example, b0, b1, b2, b3, b4) are transmitted in the time slots in sequence.

[0045] Circuit breaker control signals: Low frequency signals are assigned to the fewest time slots and are usually transmitted when the system load is low. These signals (e.g., c0, c1, c2, c3, c4, c5, c6, c7, c8, c9) are transmitted in the time slots in sequence.

[0046] The specific time slot allocation details are as follows: Figure 2 As shown, in each time slot, the signal data is combined and transmitted in the following order:

[0047] Time slot 1: (a0,a1,a2,a3,a4,a5,a6,a7,b0,c0)

[0048] Time slot 2: (a0,a1,a2,a3,a4,a5,a6,a7,b1,c1)

[0049] Time slot 3: (a0, a1, a2, a3, a4, a5, a6, a7, b2, c2)

[0050] Time slot 4: (a0, a1, a2, a3, a4, a5, a6, a7, b3, c3)

[0051] Time slot 5: (a0, a1, a2, a3, a4, a5, a6, a7, b4, c4)

[0052] Time slot 6: (a0,a1,a2,a3,a4,a5,a6,a7,b0,c5)

[0053] Time slot 7: (a0, a1, a2, a3, a4, a5, a6, a7, b1, c6)

[0054] Time slot 8: (a0, a1, a2, a3, a4, a5, a6, a7, b2, c7)

[0055] Time slot 9: (a0, a1, a2, a3, a4, a5, a6, a7, b3, c8)

[0056] Time slot 10: (a0, a1, a2, a3, a4, a5, a6, a7, b4, c9)

[0057] This mode is cycled within a simulation period of 1ms;

[0058] Step S7, data transmission. After the time slot allocation is completed, the system enters the data transmission state and transmits high-frequency, medium-frequency and low-frequency data in the order of the allocated time slots. High-frequency data is transmitted first to ensure the response speed of the control system; medium-frequency and low-frequency data are transmitted subsequently.

[0059] Step S8, dynamic adjustment and feedback. During data transmission, the system continuously monitors the actual transmission frequency of various types of signals and dynamically adjusts the lookup table to optimize the accuracy of classification. Based on the feedback information, the system adjusts the time slot allocation strategy to ensure the transmission efficiency of various types of signals.

[0060] After the data transmission is completed, the system checks whether there is new data to be processed. If so, the system processes the next round of data in a loop; otherwise, the system returns to the initial waiting state and prepares for the next simulation task; through time division multiplexing technology and time slot allocation strategy, the present invention can effectively process signals of multiple frequencies, and is particularly suitable for scenarios with high real-time requirements and large amounts of communication data. While ensuring real-time transmission of signals, the present invention optimizes the utilization rate of the system's communication resources and improves the overall performance of the simulation system. Furthermore, since the load is predetermined, the time slot allocation strategy can be pre-set to avoid adaptive adjustments and improve the stability and processing efficiency of the system.

[0061] The above is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any technician familiar with the art can make many possible changes and modifications to the technical solution of the present invention by using the above-mentioned technical content without departing from the scope of the technical solution of the present invention, or modify it into an equivalent embodiment of equivalent changes. Therefore, any changes, modifications, equivalent changes and modifications made to the above embodiments based on the technology of the present invention without departing from the content of the technical solution of the present invention belong to the protection scope of the present technical solution.

Claims

1. An electrical system simulator communication method based on interaction frequency classification and time division multiplexing, characterized in that: Multiple digital simulators are connected to a simulation switch, an FPGA logic control module is set in the simulation switch, and bidirectional parallel communication is performed between the communication module of the digital simulator and the FPGA logic control module of the simulation switch. The FPGA logic control module has a built-in time division multiplexing module. During the real-time simulation process of the digital simulator, the time division multiplexing module classifies the sending frequency of these data according to the calculation of different types of data and the data interaction step, and divides the communication time into multiple time windows, so that data of different frequencies are transmitted in different time windows.

2. The electrical system simulator communication method based on interaction frequency classification and time division multiplexing according to claim 1, characterized in that: The data are classified according to frequency into high frequency, medium frequency and low frequency data.

3. The electrical system simulator communication method based on interaction frequency classification and time division multiplexing according to claim 1, characterized in that: The processing of data by the time division multiplexing module comprises the following steps: Step S1, the system is initialized, the expected frequency information of different data types is preconfigured and stored in a lookup table, and the system then enters an idle state, waiting for data reception; Step S2: data reception: the system receives new data and extracts the data type identifier; Step S3: table search: according to the data type identifier, search for the corresponding frequency category in the pre-configured search table; Step S4, data classification: the system classifies the received data according to the pre-configured information in the lookup table, and classifies the data into high frequency, medium frequency or low frequency; Step S5: data processing: the system processes the data according to the classification results; Step S6, time slot allocation, the system allocates corresponding transmission time slots for each data according to data frequency category and priority; Step S7: Data transmission: the system transmits data in the order of the allocated time slots.

4. The electrical system simulator communication method based on interaction frequency classification and time division multiplexing according to claim 3 is characterized in that: In the step S5, high-frequency data is processed first to ensure its timeliness; low-frequency data is processed later, and the processed data enters the time slot allocation state.

5. The electrical system simulator communication method based on interaction frequency classification and time division multiplexing according to claim 3, characterized in that: In step S7, high-frequency data is transmitted first to ensure the response speed of the control system; The medium and low frequency data are then transmitted.

6. The electrical system simulator communication method based on interaction frequency classification and time division multiplexing according to claim 3, characterized in that: The method for classifying data by the time division multiplexing module also includes: Step S8, dynamic adjustment and feedback. During the data transmission process, the system continuously monitors the actual transmission frequency of various types of signals and dynamically adjusts the lookup table to optimize the accuracy of classification.

7. The electrical system simulator communication method based on interaction frequency classification and time division multiplexing according to claim 3 is characterized in that: In step S6, the time slot allocation strategy is pre-set to avoid adaptive adjustment, thereby improving the stability and processing efficiency of the system.