A communication interface device and communication method suitable for emergency control system of virtual power plant
By designing the communication interface devices of CPU, FPGA, STM-1 and COMSTC optical fiber interfaces in the virtual power plant emergency control system, the problem of E1 interface board configuration limit is solved, multi-terminal access and communication reliability is achieved, and the operation is reduced. Dimension pressure and investment costs.
Patent Information
- Application Number
- CN202210905664.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2042-07-29
AI Technical Summary
The E1 interface board in the emergency control system of the virtual power plant has configuration limits, resulting in insufficient communication load-bearing capacity, exceeding the limit of existing SDH equipment, and increasing the complexity of on-site construction and operation and maintenance.
A communication interface device is designed, including a CPU unit, FPGA unit, STM-1 fiber interface and multiple COMSTC fiber interface. The transmission and reception of 63 E1 channels are realized through the STM-1 and COMSTC fiber interfaces, and the HDLC protocol and 8b10b encoding are adopted. Combining the watchdog unit and reset module ensures the reliability and stability of communication.
It realizes multi-terminal access to control substations at the end user access level, improves the reliability of data communication, saves investment costs, and reduces construction and operation and maintenance pressure.
Smart Images

Figure CN115499063B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system communications, and in particular to a communication interface device and a communication method suitable for an emergency control system of a virtual power plant. Background Art
[0002] The inter-station communication of the virtual power plant emergency control system generally adopts 2M dedicated line, and the device interface form is E1. The virtual power plant emergency control system adopts transparent transmission mode for the use of 2M channels, that is, one 2M channel can only transmit one single-source data. This transmission mode can be roughly divided into information coding layer and baseband transmission coding layer at the physical layer, using 1B4B and HDB3 coding respectively; HDLC protocol is used at the data link layer. In the conventional 3-layer structure (control master station, control substation, terminal access layer) of the virtual power plant emergency control system, the control substation has a large number of E1 interfaces, but generally no more than 50. The virtual power plant emergency control system can provide a sufficient number of external interfaces through a dedicated communication expansion chassis.
[0003] In the virtual power plant emergency control system, the control substation located in the load / power concentrated area has hundreds of user control terminals connected at one time. Even if multiple users share 2M access, the number of 2M channels required for access to a single device may be more than 100. In this case, if the E1 interface is still used for access, it will exceed the configuration limit of the E1 interface card of the existing SDH equipment in the substation, exceed the communication carrying capacity of the existing virtual power plant emergency control system, and bring great pressure to the engineering workload of the on-site coaxial cable laying and the complexity of the subsequent equipment operation and maintenance. Summary of the invention
[0004] The purpose of the present invention is to provide a communication interface device and a communication method suitable for a virtual power plant emergency control system, which can realize the communication interaction between the control substation and the multi-user control terminal in the virtual power plant emergency control system, solve the problem of configuration limit of the E1 interface board in the current virtual power plant emergency control system solution, and ensure communication reliability.
[0005] The technical solution adopted by the present invention is: a communication interface device suitable for an emergency control system of a virtual power plant, comprising a CPU unit, an FPGA unit, an STM-1 optical fiber interface and a multi-channel COMSTC optical fiber interface;
[0006] The FPGA unit includes an STM-1 transceiver circuit module and a plurality of COMSTC transceiver circuit modules, the STM-1 optical fiber transceiver module is communicatively connected to the STM-1 optical fiber interface, and the STM-1 optical fiber interface is used to communicate with the user control terminal through the SDH device; each COMSTC optical fiber transceiver module is communicatively connected to the COMSTC optical fiber interface, and the COMSTC optical fiber interface is used to communicate with the control substation;
[0007] The COMSTC transceiver circuit module receives the data sent by the control substation and transmits it to the CPU unit. The CPU unit processes the data and then feeds it back to the STM-1 transceiver circuit module. The STM-1 transceiver circuit module transmits the received data to the SDH equipment at the user control terminal side.
[0008] The STM-1 transceiver circuit module receives data uploaded by the user control terminal via the SDH equipment and transmits it to the CPU unit. The CPU unit processes the data and then feeds it back to the COMSTC transceiver circuit module. The COMSTC transceiver circuit module transmits the received data to the control substation.
[0009] Optionally, the processing performed by the CPU unit on the data sent by the control substation includes: processing the data into data that complies with the STM-1 protocol standard;
[0010] The CPU unit processes the data uploaded by the user control terminal, including: processing the data into data that complies with the COMSTC communication protocol standard.
[0011] Optionally, in the FPGA unit, the number of COMSTC transceiver circuit modules is at least 4 groups, corresponding to 4 COMSTC optical fiber interfaces respectively, and each COMSTC transceiver circuit module adopts 8b10b physical layer encoding mode; the number of STM-1 transceiver circuit modules is 1 group;
[0012] The STM-1 transceiver circuit module of the FPGA unit exchanges data with the STM-1 optical fiber interface through the HDLC link layer high-level data link control protocol (High-Level Data Link Control); the STM-1 transceiver circuit module is an STM-1 interface module that complies with the ITU-TG.703 standard and is obtained by integrating 63 HDLC modules using FPGA hardware encoding technology.
[0013] The STM-1 interface of the communication interface device realizes the expansion of the terminal access interface through the SDH equipment, and the SDH equipment can connect 63 user control terminals through the E1 interface.
[0014] Optionally, the communication interface device further includes a watchdog unit, and the CPU unit is configured to send a preset signal to the watchdog unit at a set period, and the watchdog unit receives the preset signal. If the preset information is not received for a set period of time, the watchdog unit performs a reset operation on the communication interface device. This can effectively prevent the parallel bus between FPGA402 and CPU403 from being disturbed and causing communication interruption, and can also prevent the CPU403 module from freezing, effectively improving the reliability of the communication interface device 30.
[0015] Optionally, the CPU unit is connected to the STM-1 transceiver circuit module and the COMSTC transceiver circuit module of the FPGA through a parallel bus communication.
[0016] Optionally, each COMSTC transceiver circuit module and STM-1 transceiver circuit module is respectively provided with a reset module, which is used to monitor the data transceiver process of the corresponding COMSTC transceiver circuit module or STM-1 transceiver circuit module, determine whether a communication interruption fault occurs, and control the corresponding COMSTC transceiver circuit module or STM-1 transceiver circuit module to reset if a communication interruption fault occurs.
[0017] Optionally, the CPU unit is also configured to control the FPGA unit to reset and record the reset number plus 1 if no correct uplink data frame or downlink data frame is received within a set time and the reset times have not reached the set times during data transmission with the FPGA unit; when the reset times reach the set reset upper limit, the FPGA will no longer be reset until the correct uplink data frame or downlink data frame is received again, and the stored reset times will be cleared. Here, the data frame is correct if it meets the data format and other requirements specified by the corresponding communication protocol.
[0018] Preferably, the upper limit of the reset times is set to 3 times, which can avoid invalid repeated resets in the event of a long-term fault and reduce the power consumption of the device.
[0019] In a second aspect, the present invention provides a communication method of a virtual power plant emergency control system implemented by using the communication interface device described in the first aspect, wherein the virtual power plant emergency control system comprises a control substation, an SDH device of the communication interface device described in the first aspect, and a user control terminal; the communication method comprises:
[0020] The control substation is connected to the communication interface device through the COMSTC optical fiber interface to send downstream data frames or command frame data or receive upstream data; the user control terminal is connected to the SDH device through the E1 interface to send upstream data or receive downstream data frames or command data, and the SDH device is connected to the communication interface device through the STM-1 optical fiber interface;
[0021] The COMSTC transceiver circuit module of the communication interface device receives the downlink data frame or command frame data and transmits it to the CPU unit. The CPU unit processes the data into data that complies with the STM-1 protocol standard and then feeds it back to the STM-1 transceiver circuit module. The STM-1 transceiver circuit module transmits the data to the SDH device.
[0022] The STM-1 transceiver circuit module receives the uplink data transmitted by the SDH equipment and transmits it to the CPU unit. The CPU unit processes the data into data that complies with the COMSTC communication protocol standard and then feeds it back to the COMSTC transceiver circuit module. The COMSTC transceiver circuit module transmits the data to the control substation.
[0023] Beneficial Effects
[0024] The communication interface device of the present invention can realize the transmission and reception of 63-channel E1 data through the design of STM-1 optical fiber interface and COMSTC optical fiber interface, solve the problem of configuration limit of E1 interface board in conventional virtual power plant emergency control system solution, realize multi-terminal access of terminal user access layer to control substation, and at the same time improve the reliability of data communication, save investment cost, and alleviate the pressure of on-site construction and later equipment operation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 Shown is a schematic diagram of the architecture of the virtual power plant emergency control system implemented by the present invention;
[0026] Figure 2 Shown is a schematic diagram of the principle architecture of a communication interface device;
[0027] Figure 3 The figure shows the principle diagram of the data transmission process between the STM-1 optical fiber interface of the communication interface device and the SDH equipment;
[0028] Figure 4 Shown is a schematic diagram of the communication method of the virtual power plant emergency control system. DETAILED DESCRIPTION
[0029] The invention is further described below with reference to the accompanying drawings and specific embodiments.
[0030] Example 1
[0031] This embodiment introduces a communication interface device suitable for a virtual power plant emergency control system. Figure 2 As shown, the communication interface device includes a CPU unit, an FPGA unit, an STM-1 optical fiber interface, and a multi-channel COMSTC optical fiber interface;
[0032] The FPGA unit includes an STM-1 transceiver circuit module and multiple COMSTC transceiver circuit modules, and the STM-1 optical fiber transceiver module is communicatively connected to the STM-1 optical fiber interface; Figure 1 As shown, the STM-1 optical fiber interface is used to communicate with the user control terminal through the SDH device; each COMSTC optical fiber transceiver module is respectively connected to the COMSTC optical fiber interface for communication, and the COMSTC optical fiber interface is used to communicate with the control substation;
[0033] The COMSTC transceiver circuit module receives the data sent by the control substation and transmits it to the CPU unit. The CPU unit processes the data and then feeds it back to the STM-1 transceiver circuit module. The STM-1 transceiver circuit module transmits the received data to the SDH equipment at the user control terminal side.
[0034] The STM-1 transceiver circuit module receives data uploaded by the user control terminal via the SDH equipment and transmits it to the CPU unit. The CPU unit processes the data and then feeds it back to the COMSTC transceiver circuit module. The COMSTC transceiver circuit module transmits the received data to the control substation.
[0035] Figure 1 and Figure 2 In the embodiment shown, the number of COMSTC transceiver circuit modules of the FPGA unit is 4 groups, corresponding to 4 COMSTC optical fiber interfaces respectively. The COMSTC transceiver circuit modules adopt 8b10b physical layer encoding method, and the communication rate can reach 32.768Mbits / s.
[0036] This embodiment is based on the COMSTC protocol dedicated to stable control to achieve optical fiber interface communication with the control substation device. The COMSTC protocol dedicated to stable control is a multi-layer protocol that integrates link layer, transport layer, network layer, etc., and is designed based on the intellectual property core (IP Core) of FPGA, and is a flexible and reusable communication method. The COMSTC module provides a standard memory peripheral interface to the central processing unit (CPU) of both communicating parties. Each COMSTC contains a 2k-byte data transmission and reception area and a 128-byte register area. Since COMSTC integrates the contents of the communication link layer and the transport layer, both communicating parties only need to read and write data to the memory area to achieve reliable high-speed communication. COMSTC simplifies the communication process between the two parties into a virtual dual-port memory, which can greatly reduce the processing burden of the CPU and achieve high-speed and high-reliability data transmission. Multiple such modules can be integrated in an FPGA chip and can run in parallel, so the CPU can achieve one-to-many communication as long as it accesses different memory segments. COMSTC uses a line transmission rate of 32.768Mbps, and the effective application layer data bandwidth for both communicating parties can reach 24Mbps.
[0037] The number of STM-1 transceiver circuit modules is 1 group. Through the connected SDH equipment, the user terminal access interface can be expanded to realize the interaction of 63 E1 signals with a communication rate of 155.520Mbits / s. The STM-1 transceiver circuit module exchanges data with the STM-1 optical fiber interface through the link layer High-Level Data Link Control (HDLC) protocol. Figure 3 The STM-1 transceiver circuit module is an STM-1 interface module that complies with the ITU-T G.703 standard by integrating 63 HDLC modules using FPGA hardware coding technology. The SDH equipment 40 is connected to the user control terminal 41 through an E1 channel. The physical layer of the E1 channel complies with the ITU-T G.703 specification, the communication rate is 2Mbits / s, and the bit error rate is less than 10-8.
[0038] Figure 3The data transmission logic of the interaction between the SDH equipment and the communication interface device is shown, wherein VC12, TU-12, TUG-2, and TUG-3 correspond to the standard information frame structure, tributary unit, and tributary unit group used in the multiplexing and demultiplexing mapping in the SDH transmission system, respectively, and HDLC and E1 are the data link layer communication module and the physical layer 1B4B data encoding module, respectively. The SDH equipment 40 receives the data sent by each user control terminal 41 through the transmission system and the E1 interface, and transmits it to the HDLC data link layer communication module after conversion. The module is linked to the STM-1 interface 401 through the HDLC protocol. The STM-1 interface sends the data to the STM-1 transceiver module of the FPGA402, and sends the data to the CPU unit 403 through the parallel bus for processing. The CPU unit 403 also realizes the transceiver control of the FPGA unit through the parallel bus.
[0039] In SDH equipment, the information in the E1 module is mapped to load signals of various rates into the corresponding standard container (C) after code rate adjustment, and then add the path overhead (POH) to form a virtual container (VC). The frame offset information is then placed into the tributary unit TU through positioning. The tributary unit group TUG2 in SDH is multiplexed to form the tributary unit group TUG3.
[0040] On the basis of the above, the communication interface device of this embodiment also includes a watchdog unit. The CPU unit sends a preset signal to the watchdog unit at a set period. The watchdog unit receives the preset signal. If the preset information is not received for more than a set period of time, the watchdog unit performs a reset operation on the communication interface device. This can effectively prevent the parallel bus between FPGA402 and CPU403 from being disturbed and causing communication interruption, and can also prevent the CPU403 module from freezing, effectively improving the reliability of the communication interface device 30.
[0041] Each COMSTC transceiver circuit module and STM-1 transceiver circuit module is respectively provided with a reset module, which is used to monitor the data transceiver process of the corresponding COMSTC transceiver circuit module or STM-1 transceiver circuit module, determine whether a communication interruption fault occurs, and control the corresponding COMSTC transceiver circuit module or STM-1 transceiver circuit module to reset if a communication interruption fault occurs. In this way, the problem of communication interruption of a submodule caused by interference with the FPGA can be effectively solved, thereby improving the reliability of the equipment.
[0042] During data transmission between the CPU unit and the FPGA unit, if no correct uplink data frame or downlink data frame is received within the set time, and the number of resets does not reach the set number, the FPGA unit is controlled to reset, and the number of resets plus 1 is recorded; when the number of resets reaches the set reset upper limit, such as 3 times, the FPGA will no longer be reset until the correct uplink data frame or downlink data frame is received again, and the stored number of resets will be cleared. Here, the correct data frame meets the data format and other requirements specified by the corresponding communication protocol. It can avoid invalid repeated resets in the event of a long-term fault and reduce equipment power consumption.
[0043] The communication interface device of this embodiment can realize reliable data interaction with the control substation and the terminal access layer.
[0044] Example 2
[0045] This embodiment introduces a communication method for a virtual power plant emergency control system implemented by using the communication interface device introduced in Embodiment 1. Figure 1 As shown, traditional user loads, thermal power units, wind power, solar power generation and other new energy units, or power storage devices are not directly controlled by the grid operation and dispatching center, but are controlled through the virtual power plant emergency control system and participate in the operation and dispatching of the grid as a whole.
[0046] The virtual power plant emergency control system includes a control main station layer, a control substation layer and a terminal user access layer. The control main station of the control main station layer is provided with a control main station device such as an emergency control device, which is usually set up in an important 500kV hub substation of the power grid, receives the load or unit quantity sent by the virtual power plant emergency control system, performs the load shedding / machine cutting distribution function, and sends load shedding / machine cutting instructions to the lower-level substations. The control substations of the control substation layer are provided with control substation devices. The functions performed by the control substations are to collect information on the amount of load / machine cutting that can be cut in the responsible area, upload it to the control main station 10, and execute the load shedding / machine cutting instructions issued by the control main station. The terminal user access layer has a large number of user control terminals that need to be accessed, and they access the control substations through the SDH equipment via the communication interface device of the present invention.
[0047] In this embodiment, the communication interface device 30 is connected to the control substation device through four COMSTC optical fibers, and the communication interface device 30 is connected to the SDH (Synchronous Digital Hierarchy) device 40 through the STM-1 optical fiber. The SDH device is connected to up to 63 user control terminals 41 through the E1 interface.
[0048] The communication method of the above virtual power plant emergency control system is:
[0049] The control substation is connected to the communication interface device through the COMSTC optical fiber interface to send downstream data frames or command frame data or receive upstream data; the user control terminal is connected to the SDH device through the E1 interface to send upstream data or receive downstream data frames or command data, and the SDH device is connected to the communication interface device through the STM-1 optical fiber interface;
[0050] The COMSTC transceiver circuit module of the communication interface device receives the downlink data frame or command frame data and transmits it to the CPU unit. The CPU unit processes the data into data that complies with the STM-1 protocol standard and then feeds it back to the STM-1 transceiver circuit module. The STM-1 transceiver circuit module transmits the data to the SDH device.
[0051] The STM-1 transceiver circuit module receives the uplink data transmitted by the SDH equipment and transmits it to the CPU unit. The CPU unit processes the data into data that complies with the COMSTC communication protocol standard and then feeds it back to the COMSTC transceiver circuit module. The COMSTC transceiver circuit module transmits the data to the control substation.
[0052] Specifically, refer to Figure 4 , the control flow of this embodiment is:
[0053] The communication interface device receives the data frame or command frame sent by the control device of the control substation 20 through the four-way COMSTC optical fiber interface 400, reads the data through the COMSTC optical fiber transceiver circuit module, and sends the data to the CPU unit 403 through the parallel bus for processing, and then feeds back to the FPGA unit 402, and sends the processed data to the SDH device 40 through the STM-1 transceiver circuit module, and further sends it to each user control terminal 41 through the E1 interface. The data frame sent by the control substation 20 is usually the photovoltaic inverter, wind turbine cuttable capacity and status information, load cuttable capacity and other data information, and the command frame is usually the wind turbine cut, photovoltaic inverter instruction, load cut instruction and other instruction information.
[0054] The SDH equipment 40 receives data sent by each user control terminal 41 through the E1 interface, sends the data to the STM-1 transceiver circuit module of the FPGA unit 402 through the STM-1 interface, and sends the data to the CPU 403 for processing through the parallel bus. The processed data is sent to the control module of the control substation 20 through the four-way COMSTC optical fiber transceiver module.
[0055] As described above, when the CPU unit of the communication interface device performs data processing, the type of data is not changed, and the data frame is still a data frame after processing, and the command frame is still a command frame after processing.
[0056] The communication solution of the virtual power plant emergency control system of this embodiment realizes multi-terminal access to the control substation at the terminal user access level, while improving the reliability of data communication, saving investment costs, and alleviating the pressure of on-site construction and subsequent equipment operation and maintenance.
[0057] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.
Claims
1. A communication interface device suitable for a virtual power plant emergency control system, characterized in that: Includes CPU unit, FPGA unit, STM-1 optical fiber interface and multi-channel COMSTC optical fiber interface; The FPGA unit includes an STM-1 transceiver circuit module and a plurality of COMSTC transceiver circuit modules, the STM-1 optical fiber transceiver module is communicatively connected to the STM-1 optical fiber interface, and the STM-1 optical fiber interface is used to communicate with the user control terminal through the SDH device; each COMSTC optical fiber transceiver module is communicatively connected to the COMSTC optical fiber interface, and the COMSTC optical fiber interface is used to communicate with the control substation; The COMSTC transceiver circuit module receives the data sent by the control substation and transmits it to the CPU unit. The CPU unit processes the data and then feeds it back to the STM-1 transceiver circuit module. The STM-1 transceiver circuit module transmits the received data to the SDH equipment at the user control terminal side. The STM-1 transceiver circuit module receives data uploaded by the user control terminal via the SDH equipment and transmits it to the CPU unit. The CPU unit processes the data and then feeds it back to the COMSTC transceiver circuit module. The COMSTC transceiver circuit module transmits the received data to the control substation.
2. The communication interface device for a virtual power plant emergency control system according to claim 1, characterized in that: The CPU unit processes the data sent from the control substation including: processing the data into data that complies with the STM-1 protocol standard; The CPU unit processes the data uploaded by the user control terminal, including: processing the data into data that complies with the COMSTC communication protocol standard.
3. The communication interface device for a virtual power plant emergency control system according to claim 1, characterized in that: In the FPGA unit, the number of COMSTC transceiver circuit modules is at least 4 groups, corresponding to 4 COMSTC optical fiber interfaces, and each COMSTC transceiver circuit module adopts 8b10b physical layer encoding mode; the number of STM-1 transceiver circuit modules is 1 group; The STM-1 transceiver circuit module of the FPGA unit exchanges data with the STM-1 optical fiber interface through the HDLC protocol; the STM-1 transceiver circuit module is an STM-1 interface module that complies with the ITU-TG.703 standard and is obtained by integrating 63 HDLC modules using FPGA hardware encoding technology.
4. The communication interface device for a virtual power plant emergency control system according to claim 1, characterized in that: The communication interface device also includes a watchdog unit. The CPU unit is configured to send a preset signal to the watchdog unit at a set period. The watchdog unit receives the preset signal. If the preset signal is not received within a set time, the watchdog unit performs a reset operation on the communication interface device.
5. The communication interface device for a virtual power plant emergency control system according to claim 1, characterized in that: The CPU unit is connected to the STM-1 transceiver circuit module and the COMSTC transceiver circuit module of the FPGA through a parallel bus communication.
6. The communication interface device for a virtual power plant emergency control system according to claim 1, characterized in that: Each COMSTC transceiver circuit module and STM-1 transceiver circuit module is respectively provided with a corresponding reset module, which is used to monitor the data transceiver process of the corresponding COMSTC transceiver circuit module or STM-1 transceiver circuit module, determine whether a communication interruption fault occurs, and control the corresponding COMSTC transceiver circuit module or STM-1 transceiver circuit module to reset if a communication interruption fault occurs.
7. The communication interface device for a virtual power plant emergency control system according to claim 1, characterized in that: The CPU unit is also configured to, during data transmission with the FPGA unit, control the FPGA unit to reset and record the reset number plus 1 if no correct uplink data frame or downlink data frame is received within a set time period and the number of resets has not reached the set number; when the number of resets reaches the set reset upper limit, the FPGA will no longer be reset until the correct uplink data frame or downlink data frame is received again, then the stored reset number will be cleared.
8. The communication interface device for a virtual power plant emergency control system according to claim 7, characterized in that: The set reset upper limit number is 3 times.
9. A communication method for a virtual power plant emergency control system implemented by using the communication interface device according to any one of claims 1 to 8, wherein the virtual power plant emergency control system comprises a control substation, the communication interface device SDH device according to the first aspect, and a user control terminal; wherein: Communication methods include: The control substation is connected to the communication interface device through the COMSTC optical fiber interface to send downstream data frames or command frame data or receive upstream data; the user control terminal is connected to the SDH device through the E1 interface to send upstream data or receive downstream data frames or command data, and the SDH device is connected to the communication interface device through the STM-1 optical fiber interface; The COMSTC transceiver circuit module of the communication interface device receives the downlink data frame or command frame data and transmits it to the CPU unit. The CPU unit processes the data into data that complies with the STM-1 protocol standard and then feeds it back to the STM-1 transceiver circuit module. The STM-1 transceiver circuit module transmits the data to the SDH device. The STM-1 transceiver circuit module receives the uplink data transmitted by the SDH equipment and transmits it to the CPU unit. The CPU unit processes the data into data that complies with the COMSTC communication protocol standard and then feeds it back to the COMSTC transceiver circuit module. The COMSTC transceiver circuit module transmits the data to the control substation.
