WO2023028904A1 - 控制系统的同步方法及控制系统 - Google Patents

控制系统的同步方法及控制系统 Download PDF

Info

Publication number
WO2023028904A1
WO2023028904A1 PCT/CN2021/115863 CN2021115863W WO2023028904A1 WO 2023028904 A1 WO2023028904 A1 WO 2023028904A1 CN 2021115863 W CN2021115863 W CN 2021115863W WO 2023028904 A1 WO2023028904 A1 WO 2023028904A1
Authority
WO
WIPO (PCT)
Prior art keywords
controller
communication
frame
custom
custom communication
Prior art date
Application number
PCT/CN2021/115863
Other languages
English (en)
French (fr)
Inventor
綦韦唯
宋近才
黄晨曦
牛瑞根
刘贺
陈海鹏
Original Assignee
远景能源有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 远景能源有限公司 filed Critical 远景能源有限公司
Priority to PCT/CN2021/115863 priority Critical patent/WO2023028904A1/zh
Priority to CN202180002976.0A priority patent/CN113924533A/zh
Publication of WO2023028904A1 publication Critical patent/WO2023028904A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/048Monitoring; Safety
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25213Synchronisation, address and data

Definitions

  • the invention relates to the field of new energy technologies, in particular to a method for synchronizing a control system and a control system applying the method.
  • Carrier synchronization is one of the key technologies for converter coordination. If the carrier is not synchronized, it will cause circulating current between the converters, which will seriously distort the grid-connected current, cause power waste, heat generation and interference, and affect the safety and reliability of the entire system.
  • the existing synchronization methods of the control system when multiple converters work together mainly include the following:
  • the disadvantage of this method is that in addition to transmitting control data, additional communication lines are required to transmit proprietary synchronization signals, which increases the number of connections; some also require special hardware circuits for generating synchronization signals, which increases hardware costs.
  • the second is to communicate between the master controller and the slave controller through the CAN bus, and the master controller synchronizes by sending CAN synchronization frames to the slave controller.
  • the disadvantage of this method is that the transmission rate of CAN communication is low, which affects the synchronization effect; in addition, CAN communication is easily disturbed in a high-voltage electromagnetic environment, which affects data transmission and has poor stability.
  • the third is to communicate between the master controller and the slave controller through Ethernet communication, such as EtherCAT communication.
  • EtherCAT communication such as Ethernet communication.
  • the synchronization between controllers relies on the clock synchronization function provided by EtherCAT; although this method has a high synchronization accuracy, up to 40ns, it has the disadvantages of relying on dedicated software and hardware, increasing additional cost investment, and not being conducive to diagnosis after a fault occurs .
  • the purpose of the present invention is to provide a synchronization method for a control system, which is applied to a control system to solve the need for an additional dedicated synchronization line when synchronizing existing multiple converters.
  • the anti-interference ability is weak and the synchronization accuracy is low. Low, additional software and hardware investment and other issues.
  • the present invention provides a method for synchronizing a control system.
  • the method for synchronizing a control system includes:
  • the first controller is configured to simultaneously send a custom communication frame to multiple second controllers, wherein the custom communication frame includes a frame header and an original interaction data packet;
  • each second controller configured to perform the following actions:
  • the application information of the converter device is extracted according to the original interaction data packet, and the application information includes control information and control instructions, and includes converter status data, log files, etc. in addition to the control information and control instructions.
  • the synchronization method of the control system is applied to a control system, and the control system is used to control power generation, storage or energy conversion devices, including a first controller and second controller;
  • the first controller includes a custom communication main module, which sends a custom communication frame to the second controller, and receives the custom communication frame sent by the second controller;
  • the second controller includes a custom communication slave module, which sends a custom communication frame to the first controller, and receives the custom communication frame sent by the first controller;
  • the custom communication master module sends a custom communication frame to each custom communication slave module with the first inherent period
  • Each self-defined communication slave module sends a self-defined communication frame to the self-defined communication master module in the second natural period.
  • the custom communication frame is fixed to n bytes, and the frame header and the original interactive data packet can be read by encoding or setting the frame header as fixed data. Distinguish, so that the custom communication master module and the custom communication slave module can identify the frame header in each frame received;
  • the custom communication slave module After the custom communication slave module receives the frame header of the custom communication frame, it generates a deframing signal, and generates a synchronization signal according to the deframing signal;
  • the synchronization signal is used for carrier synchronization, switch synchronization, or sampling synchronization, for example, a carrier synchronization signal or a switch synchronization signal.
  • the step of generating a synchronization signal includes:
  • the first controller and each second controller are powered on and loaded;
  • the custom communication master module and each custom communication slave module start running separately;
  • the custom communication master module sends a custom communication frame to each custom communication slave module, and the transmission time of the communication frame to each slave station is strictly aligned;
  • the custom communication main module After the custom communication main module sends each custom communication frame, it sends the next frame in accordance with the first fixed period, and repeats;
  • Each custom communication slave module recognizes the frame header from the received custom communication frame, and generates a deframe signal
  • Each self-defined communication slave module generates a synchronization signal according to the deframing signal.
  • the step of generating the synchronization signal also includes: the self-defined communication master module can identify the time difference of the self-defined communication frames sent from each self-defined communication slave module, and send to The sending time of the custom communication frame of each custom communication slave module is adjusted to reduce the jitter of the synchronization signal and improve the synchronization accuracy.
  • the present invention also provides a control system for implementing the synchronization method of the above-mentioned control system, used for controlling the energy conversion device, including a first controller and a second controller.
  • the energy conversion device comprises at least one converter, a converter cluster and/or a converter assembly.
  • Each first controller corresponds to a plurality of second controllers, and each second controller corresponds to controlling a coordinated converter; each second controller is connected to the first controller through a set of communication lines.
  • both the first controller and the second controller are provided with custom communication modules on their respective embedded processors;
  • the first controller has a custom communication main module, and the The second controller has a self-defined communication slave module;
  • the custom communication master module and the custom communication slave module interact with each other to customize the communication frame.
  • control system there are multiple first controllers, and each first controller controls a plurality of second controllers, and each second controller controls a coordinated the converter;
  • the follower controller not only needs to be equipped with a custom communication master module, but also needs to be equipped with a custom communication slave module; the reference controller is only equipped with a custom communication master module.
  • the step of generating a synchronization signal includes:
  • the reference controller among the plurality of first controllers interacts with the data frame through the self-defined communication master module and the self-defined communication slave module following the controller, wherein the reference controller determines the departure time and return time of the self-defined communication frame by identifying The time difference between the following controller and the reference controller;
  • the follower controller After the follower controller receives the frame header from the reference controller, it starts sending a custom communication frame to its corresponding second controller at the same time;
  • the reference controller Based on the identified time difference, the reference controller adjusts the start time of sending a custom communication frame to its corresponding second controller, so that it is consistent with the start time of the follower controller sending a custom communication frame to the second controller ;
  • Each self-defined communication slave module recognizes the frame header from the received self-defined communication frame and generates a deframing signal, and then generates a synchronization signal according to the deframing signal.
  • a master controller is also included, the number of the first controllers is multiple, the master controller controls a plurality of first controllers correspondingly, and each first controller correspondingly controls A plurality of second controllers, each second controller correspondingly controls a coordinated converter;
  • the first controllers are respectively connected to the main controller through a set of communication lines, thereby forming a multi-level star communication topology
  • the self-defined communication master module not only the self-defined communication master module but also the self-defined communication slave module need to be equipped; the general controller only needs to be equipped with the self-defined communication master module.
  • the step of generating a synchronization signal includes:
  • the main controller, each first controller and each second controller are powered on and started;
  • the custom communication master module and each custom communication slave module start running separately;
  • the self-defined communication master module of the general controller sends a self-defined communication frame to the self-defined communication slave module of the first controller, and the communication frame sending time to each self-defined communication slave module is strictly aligned;
  • the custom communication main module of the general controller After the custom communication main module of the general controller sends a custom communication frame, it will send the next frame in accordance with the first fixed cycle, and it will start again and again;
  • the custom communication slave module of the first controller recognizes the frame header in the received custom communication frame, generates a deframing signal, and generates a synchronization signal according to the deframing signal;
  • the first controller After the first controller is synchronized, it starts to send a custom communication frame to each second controller at the same time, and it goes round and round;
  • the self-defined communication slave module of the second controller recognizes the frame header in the received self-defined communication frame, generates a deframing signal, and generates a synchronization signal according to the deframing signal.
  • the present invention also provides a power generation system, including a controller configured to execute the above synchronization method of the control system.
  • the control system provided by the present invention is used for controlling power generation, storage or energy conversion devices, and has a controller, and the controller executes the synchronization method of the above control system.
  • the control system includes a power generation system and/or an energy storage system, specifically a wind power generation system, a hydroelectric power generation system, a photovoltaic power generation system, a tidal power generation system, etc.; the controller can be implemented by software, hardware or firmware or a combination thereof. Controllers can stand alone or be part of a component.
  • the first controller sends a self-defined communication frame to multiple second controllers at the same time, and each second controller extracts the The synchronization signal, and the application information of the converter device can be extracted according to the original interactive data packet of the custom communication frame, which can be used for data analysis and synchronization, without additional hardware synchronization lines or in the converter
  • the transmission of proprietary synchronization signals or synchronization frames in the control system only requires normal communication and interactive data frames between the controllers to achieve high-precision synchronization requirements, and the synchronization accuracy can reach 25ns.
  • Fig. 1 is a schematic diagram of a converter control system in an embodiment of the present invention
  • Fig. 2 is a schematic diagram of a custom communication frame of the converter control system in an embodiment of the present invention
  • Fig. 3 is a schematic diagram of connection of multiple first controllers in the converter control system in an embodiment of the present invention
  • Fig. 4 is a schematic diagram of the connection between the general controller and the first controller in the converter control system in an embodiment of the present invention.
  • the quantifiers "a” and “an” do not exclude the scene of multiple elements.
  • the purpose of the present invention is to provide a synchronization method for a control system, which is applied to the control system, and the control system is used to control the energy conversion device, so as to solve the existing need for additional proprietary synchronization when multiple converters work together.
  • the present invention provides a method for synchronizing the control system of the converter devices when they work together and the converter control system, including: a first controller configured to send a self- Define the communication frame, wherein the custom communication frame includes the frame header and the original interaction data packet; and the second controller, each second controller is configured to perform the following actions: extract the synchronization signal according to the frame header of the custom communication frame , and extract the application information of the converter device according to the original interaction data packet.
  • the present invention provides a method for synchronizing the control system when converter devices work together, which is applied to the converter control system, as shown in Figures 1 to 4, including: a first controller configured to simultaneously send multiple second The controller sends a custom communication frame, wherein the custom communication frame includes a frame header and an original interaction data packet; and a second controller, each second controller is configured to perform the following actions: according to the frame header of the custom communication frame
  • the synchronization signal is extracted, and the application information of the converter device is extracted according to the original interaction data packet.
  • the first controller may be a master controller
  • the second controller may be a slave controller.
  • a master controller and a slave controller are subordinate to the converter control system; the converter device includes at least one converter, a converter cluster and/or a converter assembly.
  • the first controller includes an automatic Define the communication master module, which sends a custom communication frame to the second controller, and receives the custom communication frame sent by the second controller;
  • the second controller includes a custom communication slave module, which sends a custom communication frame to The first controller, and receive the custom communication frame sent by the first controller;
  • the custom communication master module sends a custom communication frame to each custom communication slave module with the first natural cycle;
  • each custom communication slave module sends a custom communication frame with the second The inherent cycle sends a custom communication frame to the custom communication main module.
  • the custom communication frame in the synchronization method of the control system, as shown in Figure 2, is fixed to n bytes, and by encoding or setting the frame header as fixed data,
  • the frame header can be distinguished from the original interactive data packet, so that the custom communication master module and the custom communication slave module can identify the frame header in each frame; the custom communication slave module receives the custom communication frame Afterwards, a deframe signal is generated, and a synchronization signal is generated according to the deframe signal.
  • the step of generating a synchronization signal includes: powering on and starting the first controller and each second controller; Define the communication slave modules to start running separately; the custom communication master module sends custom communication frames to each custom communication slave module, and the sending time of the communication frames to each slave station is strictly aligned; the custom communication master module sends each frame to a custom After the communication frame, send the next frame in accordance with the first fixed period, and repeat; each custom communication slave module recognizes the frame header from the received custom communication frame, and generates a deframe signal; each custom communication slave module according to the deframe signal generates a sync signal.
  • the step of generating a synchronization signal further includes: the self-defined communication master module can identify the order of the self-defined communication frames sent from each self-defined communication slave module Time difference, adjust the sending time of the self-defined communication frame sent to each self-defined communication slave module to reduce the jitter of the synchronization signal and improve the synchronization accuracy;
  • the jitter of the synchronization signal of each self-defined communication slave module includes: the first controller sends The wiring and component jitter between the bit stream and the communication line, the jitter caused by the uneven length of each group of communication lines, the jitter caused by the uneven medium of each group of communication lines, the wiring and the bit stream received from the communication line to each custom communication slave module
  • the jitter of the components and the difference of the crystal oscillators of the second controllers cause the jitter of the analysis time.
  • FIG. 2 a schematic diagram of a custom communication frame is provided.
  • the data frame is fixed at n bytes and is divided into two parts: a frame header and a data packet.
  • each first controller controls a plurality of second controllers correspondingly.
  • each second controller correspondingly controls a coordinated converter; select a reference controller (the first controller 2 in Fig. 3) among multiple first controllers, and the remaining first controllers are used as A follower controller (the first controller 1 in FIG. 3 ), which is connected to the reference controller through a set of communication lines.
  • the following controller not only needs to be equipped with a custom communication master module, but also needs to be equipped with a custom communication slave module.
  • the reference controller is only equipped with a custom communication master module.
  • the step of generating a synchronization signal includes: multiple first controllers and each second controller are powered on and started;
  • the communication master module and the self-defined communication slave module of the follower controller perform data frame interaction, wherein the reference controller determines the time difference between the follower controller and the reference controller by identifying the departure time and return time of the custom communication frame;
  • the follower controller is in After receiving the frame header from the reference controller, it starts to send a custom communication frame to its corresponding second controller at the same time; the reference controller adjusts to send a custom communication frame to its corresponding second controller according to the identified time difference.
  • the start time of the communication frame is consistent with the start time of the following controller sending the custom communication frame to the second controller; each custom communication slave module recognizes the frame header from the received custom communication frame and generates Deframe the signal, and then generate a synchronization signal according to the deframe signal.
  • the converter control system in the converter control system, as shown in FIG. 4 , it further includes a master controller (the first controller n+1 in FIG. 4 ), the first controller There are multiple controllers (the first controllers 1-n in FIG. 4 ), the total controller controls a plurality of first controllers, each first controller corresponds to a plurality of second controllers, and each first controller controls a plurality of second controllers.
  • the two controllers correspondingly control a coordinated converter; the first controller is respectively connected to the general controller through a set of communication lines, thereby forming a multi-level star communication topology.
  • the master controller is only equipped with a custom communication main module.
  • the step of generating a synchronization signal includes: the general controller, each first controller and each second controller are powered on and started; The main module and each self-defined communication slave module start to run respectively; the self-defined communication master module of the general controller sends a custom communication frame to the self-defined communication slave module of the first controller, and the communication frame sending time of each self-defined communication slave module Strict alignment; after the main controller's custom communication master module sends a frame of custom communication frame, it will send the next frame in accordance with the first fixed period, and repeats; the custom communication slave module of the first controller receives the custom communication frame Identify the frame header in the communication frame, generate a deframe signal, and generate a synchronization signal according to the deframe signal; after the first controller is synchronized, it starts to send a custom communication frame to each second controller at the same time, and repeats; the second controller The self-defined communication slave module recognizes the frame header in the received custom communication frame, generates a de-
  • the first controller sends a self-defined communication frame to multiple second controllers at the same time, and each second controller extracts a synchronization signal according to the frame header of the self-defined communication frame, And extract the application information of the converter device according to the original interactive data packet of the custom communication frame, which can be used for data analysis and synchronization, without the need for additional hardware synchronization lines, and without the need to transmit proprietary data in the collaborative system
  • the synchronous signal or synchronous frame of each controller only needs normal communication and interactive data frames between the controllers to achieve high-precision synchronization requirements, and the synchronization accuracy can reach 25ns.
  • the communication line between the controllers can use optical fiber, shielded cable, etc., which has strong anti-interference ability.
  • the interactive data frame has a total of n bytes and is divided into two parts: frame header and data packet.
  • the definition method can be encoding method, fixed data, or other A way to distinguish frame headers from data packets.
  • the synchronization period is flexible and adjustable, because the deframing signal is generated once per frame, the transmission time of each frame of data can be adjusted by configuring the length of each frame of data or inserting idle time, and then the synchronization signal is configured to be generated every N frames by configuration .
  • the plurality of converter control systems described in the present invention include a plurality of first controllers and a plurality of second controllers, wherein each first controller corresponds to a plurality of second controllers, and each second controller corresponds to a control A coordinated converter; each second controller is connected to the first controller through a set of communication lines, thereby forming a star communication topology; wherein the communication lines can be optical fibers, shielded cables, etc. Strong cable.
  • Both the first controller and the second controller implement a self-defined communication module on their respective embedded processors;
  • the self-defined communication module is highly modularized, and it is divided into a master module (custom communication main module) and There are two types of slave modules (custom communication slave modules), which are used for exchanging custom communication frames between the first controller and the second controller;
  • the custom communication master module periodically sends custom communication frames to each slave station module, and sends the next frame immediately after each frame is sent, and repeats; correspondingly, each custom communication slave module also periodically sends a frame to the master station module Custom communication frame.
  • the custom communication frame has a total of n bytes and is divided into two parts: frame header and data packet; the custom communication frame can be distinguished from the original interactive data packet (referred to as data packet) through a certain definition method , so that the custom communication module can identify the frame header in each frame; then the slave station module generates a deframe signal, and the synchronization signal comes from it; the definition method mentioned in it can be a coding method or a fixed data, or whatever.
  • the present invention provides a control system for multiple converters working together;
  • the control system for multiple converters includes a first controller and n second controllers, where each Each second controller correspondingly controls a coordinated converter; each second controller is connected to the first controller through a set of communication lines, thereby forming a star communication topology.
  • the present invention provides a kind of self-defining communication frame format;
  • the frame header is defined as special data SOF, and this data no longer occurs in the remaining data packets;
  • the synchronization steps are: first The controller and each second controller are powered on, loaded and started; the custom communication master module and each slave module start running respectively; the custom communication master module sends a custom communication frame to each slave module, and the The transmission time of the communication frame is strictly aligned; after the master module sends each communication frame, it sends the next frame immediately, and repeats; each self-defined communication slave module recognizes the SOF of the frame header from the received communication frame, and generates a solution Frame signal; each self-defined communication slave module generates a synchronization signal according to the deframing signal.
  • the present invention provides yet another control system for multiple converters working together;
  • the multiple converter control system includes two first controllers and 2*n second controllers Each first controller corresponds to control n second controllers, and each second controller corresponds to a coordinated converter; the two first controllers are connected through a set of communication lines, and the two The communication of the first controller is realized by the first controller 2 as the master station module, and the first controller 1 as the slave station module; the specific synchronization steps are: two first controllers and each second controller are powered on and started ; Two first controllers perform data frame interaction through a custom communication module, wherein the first controller 2 determines the time difference between the first controller 1 and the first controller 2 by identifying the time when the custom frame leaves and the frame returns; After the first controller 1 receives the SOF from the first controller 2, it starts to send a custom communication frame to n second controllers at the same time; the first controller 2 according to the identified two first controllers The time difference between them, adjust the starting moment of sending the custom communication frame to n second controllers, so
  • the present invention provides another control system for multiple converters working together;
  • the multiple converter control system includes n+1 first controllers and n*m first controllers Two controllers, in which each first controller corresponds to control m second controllers, and each second controller corresponds to a coordinated converter;
  • the first controllers 1 ⁇ n are respectively connected through a set of communication lines to the first controller n+1, thereby forming a multi-level star communication topology;
  • the communication between n+1 first controllers is realized by the first controller 1 ⁇ n as the slave station module, and the first controller n +1 to realize the master station module;
  • the specific synchronization steps are: each first controller and each second controller are powered on and loaded; the custom communication master station module and each slave station module start running respectively;
  • the first controller n+1 The master station module of the first controller sends a custom communication frame to the slave station modules of the first controller 1 ⁇ n, and the sending time of the communication frame to each slave station module is strictly aligned; the master station module of the first controller n+1 send
  • the above-mentioned embodiments have described in detail the different configurations of the converter control system.
  • the present invention includes but is not limited to the configurations listed in the above-mentioned implementations. Any configuration based on the configurations provided in the above-mentioned embodiments The contents of the transformation all belong to the protection scope of the present invention. Those skilled in the art can draw inferences based on the content of the foregoing embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Power Engineering (AREA)
  • Small-Scale Networks (AREA)

Abstract

提供了一种控制系统的同步方法,应用于控制系统,包括:第一控制器,被配置为同时向多个第二控制器发送自定义通信帧,其中自定义通信帧包括帧头和原有交互数据包;以及第二控制器,每个第二控制器被配置为执行以下动作:根据自定义通信帧的帧头提取出同步信号,以及根据原有交互数据包提取出应用信息。

Description

控制系统的同步方法及控制系统 技术领域
本发明涉及新能源技术领域,特别涉及一种控制系统的同步方法,以及应用该方法的控制系统。
背景技术
在变流器大功率应用场景下,多个变流器协同工作是系统扩容的主要方式。载波同步是变流器协同的关键技术之一。若发生载波不同步的情况会导致变流器间出现环流,从而使并网电流畸变严重,造成功率浪费,发热与干扰,从而影响整个系统的安全性与可靠性。
现有的多个变流器协同工作时的控制系统的同步方法主要有以下几种:
一是将多个变流器控制系统中的主控制器与从控制器通过通讯线连接,然后由主控制器产生专有的同步信号传输至每个从控制器,周期性地进行同步。此方法的缺点是除了传输控制数据之外,还需要额外的通讯线来传输专有的同步信号,增加了连线数量;部分还需要特殊的硬件电路用于产生同步信号,增加了硬件成本。
二是主控制器和从控制器之间通过CAN总线的方式进行通讯,主控制器是通过向从控制器发送CAN同步帧的方式来进行同步。此方法的缺点是CAN通讯的传输速率较低,影响同步效果;此外CAN通讯在高压电磁环境下易受到干扰,影响数据传输,稳定性较差。
三是主控制器和从控制器之间通过以太网通讯的方式进行通讯,例如EtherCAT通讯方式。控制器之间的同步则是依赖于EtherCAT提供的时钟同步功能;虽然此方法同步精度较高,可达40ns,但具有依赖专用的软硬件、增加额外成本投入、故障发生后不利于诊断的缺点。
发明内容
本发明的目的在于提供一种控制系统的同步方法,应用于一种控制系统,以解决现有的多个变流器协同工作时的同步需要额外专有同步线,抗干扰能力弱,同步精度低,额外软硬件投入等问题。
为解决上述技术问题,本发明提供一种控制系统的同步方法,所述控制系统的同步方法包括:
第一控制器,被配置为同时向多个第二控制器发送自定义通信帧,其中自定义通信帧包括帧头和原有交互数据包;以及
第二控制器,每个第二控制器被配置为执行以下动作:
根据自定义通信帧的帧头提取出同步信号,以及
根据原有交互数据包提取该变流装置的应用信息,所述应用信息包括控制信息及控制指令,除控制信息及控制指令还包括变流器状态数据,日志文件等。
可选的,在所述的控制系统的同步方法中,所述控制系统的同步方法应用于一种控制系统,所述控制系统用于控制发电、储存或能量转换装置,包括第一控制器和第二控制器;
在第一控制器和与其相应的第二控制器之间:
所述第一控制器包括自定义通讯主模块,其发送自定义通信帧至第二控制器,并接收第二控制器发送的自定义通信帧;
所述第二控制器包括自定义通讯从模块,其发送自定义通信帧至第一控制器,并接收第一控制器发送的自定义通信帧;
自定义通讯主模块以第一固有周期向各个自定义通讯从模块发送自定义通信帧;
各个自定义通讯从模块以第二固有周期向自定义通讯主模块发送自定义通信帧。
可选的,在所述的控制系统的同步方法中,自定义通信帧固定为n个字节,通过编码方式或设置帧头为固定数据的方式,使得帧头和原有交互数据包能够被区分开来,以使得自定义通讯主模块和自定义通讯从模块能够在接收到的每一帧中识别出帧头;
自定义通讯从模块接收到自定义通信帧的帧头后,产生一个解帧信号,并根据解帧信号产生同步信号;
所述同步信号用于载波同步、开关同步、或采样同步,例如为载波同步信号或开关同步信号。
可选的,在所述的控制系统的同步方法中,生成同步信号的步骤包括:
第一控制器和各个第二控制器上电加载启动;
自定义通讯主模块和各个自定义通讯从模块分别开始运行;
自定义通讯主模块向各个自定义通讯从模块发送自定义通信帧,至各从站的通讯帧发送时刻严格对齐;
自定义通讯主模块发送完毕每一帧自定义通信帧之后,以符合第一固定周期发送下一帧,周而复始;
各个自定义通讯从模块从接收的自定义通信帧中识别出帧头,产生解帧信号;
各个自定义通讯从模块根据解帧信号生成同步信号。
可选的,在所述的控制系统的同步方法中,生成同步信号的步骤还包括:自定义通讯主模块能够识别从各个自定义通讯从模块发送的自定义通信帧的先后时差,对发送给各自定义通讯从模块的自定义通信帧的发送时刻进行调整,以减小同步信号的抖动,提高同步精度。
本发明还提供一种实施上述的控制系统的同步方法的控制系统,用于控制能量转换装置,包括第一控制器和第二控制器。
所述能量转换装置包括至少一个变流器、变流器集群和/或变流器组件。
其中每个第一控制器对应多个第二控制器,每个第二控制器对应控制一台协同的变流器;每个第二控制器通过一组通讯线与第一控制器相连。
可选的,在所述的控制系统中,第一控制器和第二控制器均在各自的嵌入式处理器上设置自定义通讯模块;所述第一控制器具有自定义通讯主模块,所述第二控制器具有自定义通讯从模块;
自定义通讯主模块与自定义通讯从模块互相交互自定义通信帧。
可选的,在所述的控制系统中,所述第一控制器的数量为多个,每个第一控制器对应控制多个第二控制器,每个第二控制器对应控制一台协同 的变流器;
在多个第一控制器中选择一基准控制器,剩余第一控制器作为跟随控制器,跟随控制器通过一组通讯线连接至基准控制器;
在多个第一控制器中,除基准控制器之外,跟随控制器不仅需要搭载自定义通讯主模块,还需搭载自定义通讯从模块;基准控制器仅搭载自定义通讯主模块。
可选的,在所述的控制系统中,生成同步信号的步骤包括:
多个第一控制器和各个第二控制器上电加载启动;
多个第一控制器中的基准控制器通过自定义通讯主模块与跟随控制器的自定义通讯从模块进行数据帧交互,其中基准控制器通过识别自定义通信帧的离开时刻与返回时刻,确定跟随控制器和基准控制器的时间差;
跟随控制器在接收到来自基准控制器的帧头后,在同一时刻开始向其对应的第二控制器发送自定义通信帧;
基准控制器根据识别出的时间差,调整向其对应的第二控制器发送自定义通信帧的起始时刻,使之与跟随控制器向第二控制器发送自定义通信帧的起始时刻保持一致;
各个自定义通讯从模块从接收的自定义通信帧中识别出帧头并产生解帧信号,再根据解帧信号生成同步信号。
可选的,在所述的控制系统中,还包括总控制器,所述第一控制器的数量为多个,总控制器对应控制多个第一控制器,每个第一控制器对应控制多个第二控制器,每个第二控制器对应控制一台协同的变流器;
第一控制器分别通过一组通讯线连接至总控制器,从而形成多级星型通讯拓扑;
在多个第一控制器中,不仅需要搭载自定义通讯主模块,还需搭载自定义通讯从模块;总控制器仅搭载自定义通讯主模块。
可选的,在所述的控制系统中,生成同步信号的步骤包括:
总控制器、各个第一控制器和各个第二控制器上电加载启动;
自定义通讯主模块和各个自定义通讯从模块分别开始运行;
总控制器的自定义通讯主模块向第一控制器的自定义通讯从模块发送 自定义通信帧,至各自定义通讯从模块的通讯帧发送时刻严格对齐;
总控制器的自定义通讯主模块发送完一帧自定义通信帧后,以符合第一固定周期发送下一帧,周而复始;
第一控制器的自定义通讯从模块在接收的自定义通信帧中识别出帧头,产生解帧信号,根据解帧信号生成同步信号;
第一控制器同步之后,在同一时刻开始向各个第二控制器发送自定义通信帧,周而复始;
第二控制器的自定义通讯从模块在接收的自定义通信帧中识别出帧头,产生解帧信号,根据解帧信号生成同步信号。
本发明还提供一种发电系统,包括控制器,所述控制器被配置为执行上述控制系统的同步方法。
本发明提供的控制系统,控制系统用于控制发电、储存或能量转换装置,其具有控制器,所述控制器执行上述控制系统的同步方法。所述控制系统包括发电系统和/或储能系统,具体包括风力发电系统、水力发电系统、光伏发电系统、潮汐发电系统等;所述控制器可以用软件、硬件或固件或其组合来实现。控制器既可以单独存在,也可以是某个部件的一部分。
在本发明提供的控制系统的同步方法及控制系统中,通过第一控制器同时向多个第二控制器发送自定义通信帧,每个第二控制器根据自定义通信帧的帧头提取出同步信号,以及根据自定义通信帧的原有交互数据包提取该变流装置的应用信息,既可以进行数据解析,又可以用于进行同步,无需额外的硬件同步线,也无需在变流器控制系统中传输专有的同步信号或者同步帧,仅需各控制器之间正常通讯和交互数据帧,即可达到高精度的同步要求,同步精度可达25ns。
附图说明
图1是本发明一实施例中的变流器控制系统示意图;
图2是本发明一实施例中的变流器控制系统的自定义通信帧示意图;
图3是本发明一实施例中的变流器控制系统中多个第一控制器连接示 意图;
图4是本发明一实施例中的变流器控制系统中总控制器和第一控制器连接示意图。
具体实施方式
下面结合具体实施方式参考附图进一步阐述本发明。
应当指出,各附图中的各组件可能为了图解说明而被夸大地示出,而不一定是比例正确的。在各附图中,给相同或功能相同的组件配备了相同的附图标记。
在本发明中,除非特别指出,“布置在…上”、“布置在…上方”以及“布置在…之上”并未排除二者之间存在中间物的情况。此外,“布置在…上或上方”仅仅表示两个部件之间的相对位置关系,而在一定情况下、如在颠倒产品方向后,也可以转换为“布置在…下或下方”,反之亦然。
在本发明中,各实施例仅仅旨在说明本发明的方案,而不应被理解为限制性的。
在本发明中,除非特别指出,量词“一个”、“一”并未排除多个元素的场景。
在此还应当指出,在本发明的实施例中,为清楚、简单起见,可能示出了仅仅一部分部件或组件,但是本领域的普通技术人员能够理解,在本发明的教导下,可根据具体场景需要添加所需的部件或组件。另外,除非另行说明,本发明的不同实施例中的特征可以相互组合。例如,可以用第二实施例中的某特征替换第一实施例中相对应或功能相同或相似的特征,所得到的实施例同样落入本申请的公开范围或记载范围。
在此还应当指出,在本发明的范围内,“相同”、“相等”、“等于”等措辞并不意味着二者数值绝对相等,而是允许一定的合理误差,也就是说,所述措辞也涵盖了“基本上相同”、“基本上相等”、“基本上等于”。以此类推,在本发明中,表方向的术语“垂直于”、“平行于”等等同样涵盖了“基本上垂直于”、“基本上平行于”的含义。
另外,本发明的各方法的步骤的编号并未限定所述方法步骤的执行顺 序。除非特别指出,各方法步骤可以以不同顺序执行。
以下结合附图和具体实施例对本发明提出的控制系统的同步方法及控制系统作进一步详细说明。根据下面说明和权利要求书,本发明的优点和特征将更清楚。需说明的是,附图均采用非常简化的形式且均使用非精准的比例,仅用以方便、明晰地辅助说明本发明实施例的目的。
本发明的目的在于提供一种控制系统的同步方法,应用于控制系统,所述控制系统用于控制能量转换装置,以解决现有的多个变流器协同工作时的同步需要额外专有同步线,抗干扰能力弱,同步精度低,额外软硬件投入等问题。
为实现上述目的,本发明提供了一种变流装置协同工作时的控制系统的同步方法及变流器控制系统,包括:第一控制器,被配置为同时向多个第二控制器发送自定义通信帧,其中自定义通信帧包括帧头和原有交互数据包;以及第二控制器,每个第二控制器被配置为执行以下动作:根据自定义通信帧的帧头提取出同步信号,以及根据原有交互数据包提取该变流装置的应用信息。
本发明提供一种变流装置协同工作时的控制系统的同步方法,应用于变流器控制系统,如图1~4所示,包括:第一控制器,被配置为同时向多个第二控制器发送自定义通信帧,其中自定义通信帧包括帧头和原有交互数据包;以及第二控制器,每个第二控制器被配置为执行以下动作:根据自定义通信帧的帧头提取出同步信号,以及根据原有交互数据包提取该变流装置的应用信息。其中,第一控制器可以为主控制器,第二控制器可以为从控制器。主控制器和从控制器从属于所述变流器控制系统;所述变流装置包括至少一个变流器、变流器集群和/或变流器组件。
在本发明的一个实施例中,如图1所示,在所述的控制系统的同步方法中,在第一控制器和与其相应的第二控制器之间:所述第一控制器包括自定义通讯主模块,其发送自定义通信帧至第二控制器,并接收第二控制器发送的自定义通信帧;所述第二控制器包括自定义通讯从模块,其发送自定义通信帧至第一控制器,并接收第一控制器发送的自定义通信帧;自定义通讯主模块以第一固有周期向各个自定义通讯从模块发送自定义通信 帧;各个自定义通讯从模块以第二固有周期向自定义通讯主模块发送自定义通信帧。
在本发明的一个实施例中,在所述的控制系统的同步方法中,如图2所示,自定义通信帧固定为n个字节,通过编码方式或设置帧头为固定数据的方式,使得帧头和原有交互数据包能够被区分开来,以使得自定义通讯主模块和自定义通讯从模块能够在每一帧中识别出帧头;自定义通讯从模块接收到自定义通信帧后,产生一个解帧信号,并根据解帧信号产生同步信号。
在本发明的一个实施例中,在所述的变流器控制系统中,生成同步信号的步骤包括:第一控制器和各个第二控制器上电加载启动;自定义通讯主模块和各个自定义通讯从模块分别开始运行;自定义通讯主模块向各个自定义通讯从模块发送自定义通信帧,至各从站的通讯帧发送时刻严格对齐;自定义通讯主模块发送完毕每一帧自定义通信帧之后,以符合第一固定周期发送下一帧,周而复始;各个自定义通讯从模块从接收的自定义通信帧中识别出帧头,产生解帧信号;各个自定义通讯从模块根据解帧信号生成同步信号。
在本发明的一个实施例中,在所述的变流器控制系统中,生成同步信号的步骤还包括:自定义通讯主模块能够识别从各个自定义通讯从模块发送的自定义通信帧的先后时差,对发送给各自定义通讯从模块的自定义通信帧的发送时刻进行调整,以减小同步信号的抖动,提高同步精度;各自定义通讯从模块的同步信号的抖动包括:第一控制器发出比特流到通讯线之间的布线和元器件抖动、各组通讯线长度参差造成的抖动、各组通讯线介质不均匀造成的抖动、通讯线到各自定义通讯从模块接收到比特流的布线和元器件抖动、各第二控制器晶振的差异造成解析时刻的抖动。
在本发明的一个实施例中,如图2所示,提供一种自定义通信帧示意图,数据帧固定为n个字节,分为两部分:帧头和数据包。
在本发明的一个实施例中,在所述的变流器控制系统中,如图3所示,所述第一控制器的数量为多个,每个第一控制器对应控制多个第二控制器,每个第二控制器对应控制一台协同的变流器;在多个第一控制器中选择一 基准控制器(图3中的第一控制器2),剩余第一控制器作为跟随控制器(图3中的第一控制器1),跟随控制器通过一组通讯线连接至基准控制器。跟随控制器不仅需要搭载自定义通讯主模块,还需搭载自定义通讯从模块。基准控制器仅搭载自定义通讯主模块。
在本发明的一个实施例中,在所述的变流器控制系统中,生成同步信号的步骤包括:多个第一控制器和各个第二控制器上电加载启动;基准控制器通过自定义通讯主模块与跟随控制器的自定义通讯从模块进行数据帧交互,其中基准控制器通过识别自定义通信帧的离开时刻与返回时刻,确定跟随控制器和基准控制器的时间差;跟随控制器在接收到来自基准控制器的帧头后,在同一时刻开始向其对应的第二控制器发送自定义通信帧;基准控制器根据识别出的时间差,调整向其对应的第二控制器发送自定义通信帧的起始时刻,使之与跟随控制器向第二控制器发送自定义通信帧的起始时刻保持一致;各个自定义通讯从模块从接收的自定义通信帧中识别出帧头并产生解帧信号,再根据解帧信号生成同步信号。
在本发明的一个实施例中,在所述的变流器控制系统中,如图4所示,还包括总控制器(图4中的第一控制器n+1),所述第一控制器(图4中的第一控制器1~n)的数量为多个,总控制器对应控制多个第一控制器,每个第一控制器对应控制多个第二控制器,每个第二控制器对应控制一台协同的变流器;第一控制器分别通过一组通讯线连接至总控制器,从而形成多级星型通讯拓扑。在多个第一控制器中,不仅需要搭载自定义通讯主模块,还需搭载自定义通讯从模块。总控制器仅搭载自定义通讯主模块。
在本发明的一个实施例中,在所述的变流器控制系统中,生成同步信号的步骤包括:总控制器、各个第一控制器和各个第二控制器上电加载启动;自定义通讯主模块和各个自定义通讯从模块分别开始运行;总控制器的自定义通讯主模块向第一控制器的自定义通讯从模块发送自定义通信帧,至各自定义通讯从模块的通讯帧发送时刻严格对齐;总控制器的自定义通讯主模块发送完一帧自定义通信帧后,以符合第一固定周期发送下一帧,周而复始;第一控制器的自定义通讯从模块在接收的自定义通信帧中识别出帧头,产生解帧信号,根据解帧信号生成同步信号;第一控制器同步之 后,在同一时刻开始向各个第二控制器发送自定义通信帧,周而复始;第二控制器的自定义通讯从模块在接收的自定义通信帧中识别出帧头,产生解帧信号,根据解帧信号生成同步信号。
在本发明提供的变流器控制系统中,通过第一控制器同时向多个第二控制器发送自定义通信帧,每个第二控制器根据自定义通信帧的帧头提取出同步信号,以及根据自定义通信帧的原有交互数据包提取该变流装置的应用信息,既可以进行数据解析,又可以用于进行同步,无需额外的硬件同步线,也无需在协同系统中传输专有的同步信号或者同步帧,仅需各控制器之间正常通讯和交互数据帧,即可达到高精度的同步要求,同步精度可达25ns。
此外控制器之间的通讯线可以采用光纤、屏蔽电缆等,抗干扰能力强。
本发明优点如下:
无需额外的硬件同步线,无需传输专有同步信号或者同步帧,节省硬件资源;无需复杂的协议栈,通过某种定义方式将帧头和数据包区分开来,即可以识别出帧头进行数据解析,又可以用于进行同步,实现简单;同步周期可灵活配置;同步精度高;在本方案的实例中,实测可达25ns;可采用抗干扰性强的通讯线,例如光纤或屏蔽电缆等,克服高压电磁干扰带来的影响;扩展性好,可实现多级同步。
此控制系统的同步方法相对于现有控制系统的同步方法的改进点在于:
无需传输专有的同步信号,也不用传输额外的同步帧,控制器之间只是正常地交互数据;交互的数据帧一共n个字节,分为两部分:帧头和数据包。
通过某种定义方式将帧头和数据包区分开来,通过识别出帧头,既可以进行数据解析,又可以用于进行同步;定义方式可以是编码方式,也可以是固定数据,或者其他可以区分帧头和数据包的方式。
同步周期灵活可调,因为解帧信号每帧产生一次,可以通过配置每帧数据的长度或者插入空闲时间来调节每帧数据的传输时间,再通过配置将 同步信号配置为每隔N帧产生一次。
本发明所述的多个变流器控制系统包括多个第一控制器和多个第二控制器,其中每个第一控制器对应多个第二控制器,每个第二控制器对应控制一台协同的变流器;每个第二控制器通过一组通讯线与第一控制器相连,从而形成星型通讯拓扑结构;其中所述通讯线可以是光纤、屏蔽电缆等抗干扰能力较强的线缆。
第一控制器和第二控制器均在各自的嵌入式处理器上实现了一种自定义通讯模块;该自定义通讯模块高度模块化,它分为主站模块(自定义通讯主模块)和从站模块(自定义通讯从模块)两种,用于第一控制器和第二控制器之间交互自定义通信帧;
自定义通讯主模块周期性地向各从站模块发送自定义通信帧,每帧发送结束后紧接着发送下一帧,周而复始;相应地,各自定义通讯从模块也周期性地向主站模块发送自定义通信帧。
自定义通信帧一共n个字节,分为两部分:帧头和数据包;自定义通信帧通过某种定义方式,使得帧头和原有交互数据包(简称为数据包)可以区分开来,从而使得自定义通讯模块可以在每一帧中识别出帧头;随后从站模块产生一个解帧信号,同步信号由此而来;其中提到的定义方式可以是编码方式,也可以是固定数据,或者其他。
如图1所示,本发明提供了一种多个变流器协同工作时的控制系统;所述的多个变流器控制系统包括一个第一控制器和n个第二控制器,其中每个第二控制器对应控制一台协同的变流器;每个第二控制器通过一组通讯线与第一控制器相连,从而形成星型通讯拓扑结构。
如图2所示,本发明提供了一种自定义通信帧格式;在具体实施例中,帧头定义为特殊数据SOF,剩余的数据包中不再出现这一数据;同步步骤为:第一控制器和各个第二控制器上电加载启动;自定义通讯主站模块和各个从站模块分别开始运行;自定义通讯主站模块向各个从站模块发送自定义通信帧,至各从站的通讯帧发送时刻严格对齐;主站模块发送完毕每一帧通讯帧之后,紧接着再发送下一帧,周而复始;各个自定义通讯从站模块从接收的通讯帧中识别出帧头SOF,产生解帧信号;各个自定义通讯 从站模块根据解帧信号生成同步信号。
如图3所示,本发明提供了又一种多个变流器协同工作时的控制系统;所述的多个变流器控制系统包括两个第一控制器和2*n个第二控制器,其中每个第一控制器对应控制n台第二控制器,每个第二控制器对应控制一台协同的变流器;两台第一控制器之间通过一组通讯线连接,两台第一控制器的通讯是由第一控制器2实现主站模块,第一控制器1实现从站模块;具体同步步骤为:两个第一控制器和各个第二控制器上电加载启动;两台第一控制器通过自定义通讯模块进行数据帧交互,其中第一控制器2通过识别自定义帧离开时刻与帧返回时刻来确定第一控制器1和第一控制器2的时间差;第一控制器1在接收到来自第一控制器2的SOF后,在同一时刻开始向n台第二控制器发送自定义通信帧;第一控制器2根据识别出的两台第一控制器之间的时间差,调整向n台第二控制器发送自定义通信帧的起始时刻,使之与第一控制器1向第二控制器发送自定义通信帧的时刻保持一致;各个自定义通讯从站模块从接收的通讯帧中识别出帧头SOF并产生解帧信号,再根据解帧信号生成同步信号。
如图4所示,本发明提供了再一种多个变流器协同工作时的控制系统;所述的多个变流器控制系统包括n+1个第一控制器和n*m个第二控制器,其中每个第一控制器对应控制m台第二控制器,每个第二控制器对应控制一台协同的变流器;第一控制器1~n分别通过一组通讯线连接至第一控制器n+1,从而形成多级星型通讯拓扑;n+1台第一控制器们之间的通讯是由第一控制器1~n实现从站模块,第一控制器n+1实现主站模块;具体同步步骤为:各个第一控制器和各个第二控制器上电加载启动;自定义通讯主站模块和各个从站模块分别开始运行;第一控制器n+1的主站模块向第一控制器1~n的从站模块发送自定义通信帧,至各从站模块的通讯帧发送时刻严格对齐;第一控制器n+1的主站模块发送完毕每一帧通讯帧之后,紧接着再发送下一帧,周而复始;第一控制器1~n的从站模块从接收的通讯帧中识别出帧头SOF,产生解帧信号,再根据解帧信号生成同步信号;第一控制器1~n同步之后,在同一时刻开始向各个第二控制器发送自定义通信帧,周而复始;第二控制器上的从站模块从接收的通讯帧中识别出帧 头SOF,产生解帧信号,再根据解帧信号生成同步信号。
综上,上述实施例对变流器控制系统的不同构型进行了详细说明,当然,本发明包括但不局限于上述实施中所列举的构型,任何在上述实施例提供的构型基础上进行变换的内容,均属于本发明所保护的范围。本领域技术人员可以根据上述实施例的内容举一反三。
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统而言,由于与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。
上述描述仅是对本发明较佳实施例的描述,并非对本发明范围的任何限定,本发明领域的普通技术人员根据上述揭示内容做的任何变更、修饰,均属于权利要求书的保护范围。

Claims (12)

  1. 一种控制系统的同步方法,其特征在于,所述控制系统的同步方法包括:
    第一控制器,被配置为同时向多个第二控制器发送自定义通信帧,其中自定义通信帧包括帧头和原有交互数据包;以及
    第二控制器,每个第二控制器被配置为执行以下动作:
    根据自定义通信帧的帧头提取出同步信号,以及
    根据原有交互数据包提取出应用信息。
  2. 如权利要求1所述的控制系统的同步方法,其特征在于,应用于一种控制系统,所述控制系统用于控制发电、储存或能量转换装置,所述控制系统包括第一控制器和第二控制器;
    在第一控制器和与其相应的第二控制器之间:
    所述第一控制器包括自定义通讯主模块,其发送自定义通信帧至第二控制器,并接收第二控制器发送的自定义通信帧;
    所述第二控制器包括自定义通讯从模块,其发送自定义通信帧至第一控制器,并接收第一控制器发送的自定义通信帧;
    自定义通讯主模块以第一固有周期向各个自定义通讯从模块发送自定义通信帧;
    各个自定义通讯从模块以第二固有周期向自定义通讯主模块发送自定义通信帧。
  3. 如权利要求2所述的控制系统的同步方法,其特征在于,自定义通信帧固定为n个字节,通过编码方式或设置帧头为固定数据的方式,使得帧头和原有交互数据包能够被区分开来,以使得自定义通讯主模块和自定义通讯从模块能够在接收到的每一帧中识别出帧头;
    自定义通讯从模块接收到自定义通信帧的帧头后,产生一个解帧信号,并根据解帧信号产生同步信号;
    所述同步信号用于载波同步、开关同步、或采样同步。
  4. 如权利要求3所述的控制系统的同步方法,其特征在于,生成同步 信号的步骤包括:
    第一控制器和各个第二控制器上电加载启动;
    自定义通讯主模块和各个自定义通讯从模块分别开始运行;
    自定义通讯主模块向各个自定义通讯从模块发送自定义通信帧,至各从站的通讯帧发送时刻严格对齐;
    自定义通讯主模块发送完毕每一帧自定义通信帧之后,以符合第一固定周期发送下一帧,周而复始;
    各个自定义通讯从模块从接收的自定义通信帧中识别出帧头,产生解帧信号;
    各个自定义通讯从模块根据解帧信号生成同步信号。
  5. 如权利要求4所述的控制系统的同步方法,其特征在于,生成同步信号的步骤还包括:自定义通讯主模块能够识别从各个自定义通讯从模块发送的自定义通信帧的先后时差,对发送给各自定义通讯从模块的自定义通信帧的发送时刻进行调整,以减小同步信号的抖动,提高同步精度。
  6. 一种实施权利要求1所述的控制系统的同步方法的控制系统,其特征在于,用于控制能量转换装置,包括第一控制器和第二控制器;
    所述能量转换装置包括至少一个变流器、变流器集群和/或变流器组件;
    其中每个第一控制器对应多个第二控制器,每个第二控制器对应控制一台协同的变流器;每个第二控制器通过一组通讯线与第一控制器相连。
  7. 如权利要求6所述的控制系统,其特征在于,第一控制器和第二控制器均在各自的嵌入式处理器上设置自定义通讯模块;所述第一控制器具有自定义通讯主模块,所述第二控制器具有自定义通讯从模块;
    自定义通讯主模块与自定义通讯从模块互相交互自定义通信帧。
  8. 如权利要求7所述的控制系统,其特征在于,所述第一控制器的数量为多个,每个第一控制器对应控制多个第二控制器,每个第二控制器对应控制一台协同的变流器;
    在多个第一控制器中选择一基准控制器,剩余第一控制器作为跟随控制器,跟随控制器通过一组通讯线连接至基准控制器;
    在多个第一控制器中,除基准控制器之外,跟随控制器不仅需要搭载 自定义通讯主模块,还需搭载自定义通讯从模块;基准控制器仅搭载自定义通讯主模块。
  9. 如权利要求8所述的控制系统,其特征在于,生成同步信号的步骤包括:
    多个第一控制器和各个第二控制器上电加载启动;
    多个第一控制器中的基准控制器通过自定义通讯主模块与跟随控制器的自定义通讯从模块进行数据帧交互,其中基准控制器通过识别自定义通信帧的离开时刻与返回时刻,确定跟随控制器和基准控制器的时间差;
    跟随控制器在接收到来自基准控制器的帧头后,在同一时刻开始向其对应的第二控制器发送自定义通信帧;
    基准控制器根据识别出的时间差,调整向其对应的第二控制器发送自定义通信帧的起始时刻,使之与跟随控制器向第二控制器发送自定义通信帧的起始时刻保持一致;
    各个自定义通讯从模块从接收的自定义通信帧中识别出帧头并产生解帧信号,再根据解帧信号生成同步信号。
  10. 如权利要求7所述的控制系统,其特征在于,还包括总控制器,所述第一控制器的数量为多个,总控制器对应控制多个第一控制器,每个第一控制器对应控制多个第二控制器,每个第二控制器对应控制一台协同的变流器;
    第一控制器分别通过一组通讯线连接至总控制器,从而形成多级星型通讯拓扑;
    在多个第一控制器中,不仅需要搭载自定义通讯主模块,还需搭载自定义通讯从模块;总控制器仅搭载自定义通讯主模块。
  11. 如权利要求10所述的控制系统,其特征在于,生成同步信号的步骤包括:
    总控制器、各个第一控制器和各个第二控制器上电加载启动;
    自定义通讯主模块和各个自定义通讯从模块分别开始运行;
    总控制器的自定义通讯主模块向第一控制器的自定义通讯从模块发送自定义通信帧,至各自定义通讯从模块的通讯帧发送时刻严格对齐;
    总控制器的自定义通讯主模块发送完一帧自定义通信帧后,以符合第一固定周期发送下一帧,周而复始;
    第一控制器的自定义通讯从模块在接收的自定义通信帧中识别出帧头,产生解帧信号,根据解帧信号生成同步信号;
    第一控制器同步之后,在同一时刻开始向各个第二控制器发送自定义通信帧,周而复始;
    第二控制器的自定义通讯从模块在接收的自定义通信帧中识别出帧头,产生解帧信号,根据解帧信号生成同步信号。
  12. 一种发电系统,包括控制器,所述控制器被配置为执行权利要求1至5之一所述方法。
PCT/CN2021/115863 2021-09-01 2021-09-01 控制系统的同步方法及控制系统 WO2023028904A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/115863 WO2023028904A1 (zh) 2021-09-01 2021-09-01 控制系统的同步方法及控制系统
CN202180002976.0A CN113924533A (zh) 2021-09-01 2021-09-01 控制系统的同步方法及控制系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/115863 WO2023028904A1 (zh) 2021-09-01 2021-09-01 控制系统的同步方法及控制系统

Publications (1)

Publication Number Publication Date
WO2023028904A1 true WO2023028904A1 (zh) 2023-03-09

Family

ID=79248982

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/115863 WO2023028904A1 (zh) 2021-09-01 2021-09-01 控制系统的同步方法及控制系统

Country Status (2)

Country Link
CN (1) CN113924533A (zh)
WO (1) WO2023028904A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117784699A (zh) * 2024-02-28 2024-03-29 深圳市瑞天激光有限公司 一种通讯方法、装置及系统

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141408A (zh) * 2007-10-22 2008-03-12 中兴通讯股份有限公司 一种网络多媒体数据包规整化的方法
CN101374093A (zh) * 2008-09-27 2009-02-25 华中科技大学 一种现场总线的通信接口及通信数据的实时传输方法
US20090309360A1 (en) * 2008-06-16 2009-12-17 Nordex Energy Gmbh Method for controlling a wind energy plant
JP2012516589A (ja) * 2009-04-15 2012-07-19 中控科技集▲団▼有限公司 イーサネット(登録商標)に基づくデータ伝送方法、イーサネット(登録商標)ノードおよび制御システム
CN102938565A (zh) * 2012-09-28 2013-02-20 上海交通大学 基于大规模并联系统的分布式通讯系统及其控制方法
CN104767605A (zh) * 2014-01-07 2015-07-08 艾默生网络能源有限公司 一种工业以太网中的同步方法及设备
CN104767633A (zh) * 2014-01-07 2015-07-08 艾默生网络能源有限公司 一种工业以太网系统
CN108243075A (zh) * 2016-12-26 2018-07-03 北京天诚同创电气有限公司 模块化变流器的控制系统及控制系统的通信方法

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141408A (zh) * 2007-10-22 2008-03-12 中兴通讯股份有限公司 一种网络多媒体数据包规整化的方法
US20090309360A1 (en) * 2008-06-16 2009-12-17 Nordex Energy Gmbh Method for controlling a wind energy plant
CN101374093A (zh) * 2008-09-27 2009-02-25 华中科技大学 一种现场总线的通信接口及通信数据的实时传输方法
JP2012516589A (ja) * 2009-04-15 2012-07-19 中控科技集▲団▼有限公司 イーサネット(登録商標)に基づくデータ伝送方法、イーサネット(登録商標)ノードおよび制御システム
CN102938565A (zh) * 2012-09-28 2013-02-20 上海交通大学 基于大规模并联系统的分布式通讯系统及其控制方法
CN104767605A (zh) * 2014-01-07 2015-07-08 艾默生网络能源有限公司 一种工业以太网中的同步方法及设备
CN104767633A (zh) * 2014-01-07 2015-07-08 艾默生网络能源有限公司 一种工业以太网系统
CN108243075A (zh) * 2016-12-26 2018-07-03 北京天诚同创电气有限公司 模块化变流器的控制系统及控制系统的通信方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117784699A (zh) * 2024-02-28 2024-03-29 深圳市瑞天激光有限公司 一种通讯方法、装置及系统
CN117784699B (zh) * 2024-02-28 2024-05-28 深圳市瑞天激光有限公司 一种通讯方法、装置及系统

Also Published As

Publication number Publication date
CN113924533A (zh) 2022-01-11

Similar Documents

Publication Publication Date Title
CN105871466B (zh) 一种具有智能识别功能的广域安稳通信装置及方法
CN101409661B (zh) 利用音视频桥接管理节能网络的方法和系统
CN102096407B (zh) 一种基于EtherCAT技术的链式STATCOM控制系统
CN105743566B (zh) 一种双pon口onu光链路保护倒换装置和保护方法
CN109167667B (zh) 一种基于ptp同步的传感器数据采集传输系统和方法
CN101645869B (zh) 具有亚微秒级时钟的交换机及其交换处理方法
JP4913865B2 (ja) 光通信ネットワークシステム、親局光通信装置、光通信方法および通信プログラム
CN106209541B (zh) 一种并联驱动系统的通讯方法
CN201590682U (zh) 稳控系统和直流控制保护系统之间的通讯装置
CN107948136B (zh) 电力调度通信网pcm语音信令和协议通讯转换系统
WO2023028904A1 (zh) 控制系统的同步方法及控制系统
Rong et al. Distributed control and communication system for pebb-based modular power converters
CN111698052B (zh) 一种跨越电力安全区的同源对时系统
CN217546078U (zh) 用于大型储能电站分层分组协调功率控制的组网结构
WO2014205936A1 (zh) 一种基于点对点报文同步的采样及控制方法
CN108809618A (zh) 一种8b10b编码串行数据的时钟恢复方法
CN110676818B (zh) 一种基于星型网络拓扑的就地化母线保护方法与系统
CN113726687B (zh) 数据传输系统及方法
JP5724816B2 (ja) 省電力制御方法、通信システムおよび局側装置
CN204761436U (zh) 一种双pon 双mac 保护的电力采集装置
CN101296389A (zh) 双光自愈保护式以太网光交换多业务综合复用设备
CN202906946U (zh) 一种海底观测网络的多节点通信系统
CN209627384U (zh) 一种用于实现远距离poe传输的系统
CN103441509A (zh) 无功补偿柜及控制方法
CN101771617A (zh) 点到点带宽跟随方法及系统、远端设备及本端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21955453

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE