Converter control system, method, converter and wind turbine generator set
By adopting the design of multi-parallel communication link and multi-stage slave controller in the converter, the problem of the limiting number and synchronization differences in the number of nodes connected by the converter controller is solved, and more efficient expansion and synchronization are achieved , improves product development efficiency and reliability.
Patent Information
- Application Number
- CN202010560427.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-18
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2040-06-18
AI Technical Summary
There are problems of quantity limitations and synchronization differences when connecting lower nodes, which lead to the inability to meet the needs and improve product reliability.
The control system adopts a multi-parallel communication link, and communicates with the main controller through a series of multi-stage slave controllers to achieve the expansion of the system's downlink and uplink communication links, ensuring that the slave controllers at all levels and the main controllers are synchronousness.
Without redesigning the main controller, the number of lower-level connections is increased, synchronization and control accuracy is improved, R&D costs and communication delays are reduced, and product reliability is enhanced.
Smart Images

Figure CN113824296B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of converters, and in particular to a converter control system, a converter method, a converter and a wind turbine generator set. Background Art
[0002] The development of converters is constantly moving towards high power, resulting in the emergence of more and more high-power converters. Due to the power and cost limitations of a single IGBT (Insulated Gate Bipolar Transistor), most converters currently use multi-parallel technology. As the total power increases, the number of IGBTs that need to be connected in parallel increases. At the same time, due to modular design, the number of functional modules that the controller in the converter needs to control increases.
[0003] In previous converters, controllers were mainly connected using a star network. This connection method has the following problems: the controller is the main node of the star network, and the number of its star branches limits the number of connected lower-level nodes. As demand continues to increase, the number of lower-level nodes in the controller will eventually fail to meet demand, or the size of the controller becomes particularly large. Every time the lower-level topology changes, the controller needs to be redesigned, the controller version is increased, and the R&D and maintenance costs are increased; the communication of the lower-level nodes is not from the same source, and the routing paths are inconsistent, there will be differences in synchronization, which can easily lead to synchronization not meeting requirements. Summary of the invention
[0004] In view of the shortcomings of the existing methods, the present application proposes a control system, method, converter and wind turbine generator set for the converter, so as to solve the technical problem that the existing controller connection method limits the number of downstream nodes and the synchronization difference problem caused by different communication sources of the downstream nodes.
[0005] In a first aspect, an embodiment of the present application provides a control system for a converter, comprising: a main controller and a plurality of parallel communication links;
[0006] Each communication link includes a system downlink communication link and a system uplink communication link formed by multiple stages of slave station controllers connected in series;
[0007] The first-level slave controller in each communication link is communicatively connected with the master controller;
[0008] In each communication link, the system downlink communication link and the system uplink communication link are used to realize the communication between the slave station controllers at each level and the master controller in this communication link.
[0009] In a second aspect, an embodiment of the present application provides a converter, including: a control system of the converter provided in the first aspect of the embodiment of the present application, and at least one functional module;
[0010] Each functional module is connected to a slave controller in the control system.
[0011] In a third aspect, an embodiment of the present application provides a wind turbine generator set, including: the converter provided in the second aspect of the embodiment of the present application.
[0012] In a fourth aspect, an embodiment of the present application provides a control method for a converter, which is applied to the control system of the converter provided in the first aspect of the embodiment of the present application;
[0013] The control method includes:
[0014] In each communication link of the control system, the master controller sends control data packets to slave controllers at all levels through the system downlink communication link, and receives feedback data packets for control data packets uploaded by slave controllers at all levels through the system uplink communication link;
[0015] Each level of slave controller identifies the control data for the slave controller at this level from the control data packet, and performs corresponding operations according to the control data;
[0016] After identifying the control data, each level of slave controller uploads the feedback data packet of the slave controller at this level to the main controller through the system uplink communication link, or after the slave controller at the next level completes sending the feedback data packet of the slave controller at the next level, it uploads the feedback data packet of the slave controller at this level to the main controller through the system uplink communication link.
[0017] The technical solution provided in the embodiments of the present application has at least the following beneficial effects:
[0018] 1) In the embodiment of the present application, multiple parallel communication links are set up starting from the main controller, and the number of star branches of the main controller is determined by the form of the communication links; a multi-level slave station controller is set in series in each communication link, and the slave station controllers at each level can communicate with the main controller through the system downlink communication link and the system uplink communication link, that is, the control function of the main controller is expanded through the slave station controller and the system downlink communication link and the system uplink communication link formed. Under this connection mode, each communication link can be directly expanded by increasing the number of slave station controllers. When the number of star branches is fixed, the number of lower-level connections of the star branches of the main controller can still be increased, thereby meeting actual needs without redesigning the main controller and without affecting the original control architecture, improving the development efficiency of new complete products, and reducing the research and development costs of new complete products.
[0019] 2) The communication in each communication link of the embodiment of the present application is derived from the same signal and is unique relative to the communication path, which improves the synchronization between the slave station controllers in the communication link, improves the control accuracy, and improves the product reliability.
[0020] Additional aspects and advantages of the present application will be partially given in the following description, which will become apparent from the following description, or will be understood through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0022] Figure 1 A schematic diagram of the structural framework of a control system of a converter provided in an embodiment of the present application;
[0023] Figure 2 A schematic diagram of the structural framework of another converter control system provided in an embodiment of the present application;
[0024] Figure 3 This is a schematic diagram of the structural framework of the slave station controller in an embodiment of the present application;
[0025] Figure 4 This is a schematic diagram of communication data transmission when the downlink communication link of the slave station is turned on in an embodiment of the present application;
[0026] Figure 5 This is a schematic diagram of communication data transmission when the downlink communication link of the slave station is disconnected in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The present application is described in detail below, and examples of embodiments of the present application are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar components or components with the same or similar functions. In addition, if the detailed description of the known technology is unnecessary for the features of the present application shown, it will be omitted. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present application.
[0028] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with those in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.
[0029] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0030] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments.
[0031] A wind turbine generator set according to an embodiment of the present application includes the converter provided in the embodiment of the present application. The converter provided in the embodiment of the present application includes: a control system of the converter, and multiple functional modules; each functional module is connected to a slave station controller in the control system.
[0032] Optionally, the multiple functional modules of the embodiment of the present application include at least one type of functional modules; when the multiple functional modules include multiple types of functional modules, for each type, each functional module under that type is respectively electrically connected to each slave station controller in a communication link in the control system of the converter.
[0033] As an example, the types of functional modules in the embodiments of the present application include but are not limited to the following types: machine-side power module, grid-side power module, brake module, and general extension module. Among them, the general extension module is mainly used to expand resources such as DIO (Digital Input Output), AI (Analogy Input), AO (Analogy Output), and status monitoring.
[0034] In the embodiment of the present application, the type of functional module can be matched and connected one-to-one with the communication link in the control system of the converter through the above-mentioned method, and each functional module of the same type can be matched and connected one-to-one with each slave station controller in a matched communication link, so that each communication link is grouped according to the type of the connected functional module, which is conducive to realizing data classification or group transmission.
[0035] like Figure 1As shown, the control system of the converter in the embodiment of the present application includes: a main controller and a plurality of parallel communication links.
[0036] Each communication link includes a system downlink communication link and a system uplink communication link formed by multiple levels of slave station controllers connected in series; the first level slave station controller in each communication link is communicatively connected with the main controller; in each of the communication links, the system downlink communication link and the system uplink communication link are used to realize communication between the slave station controllers at each level and the main controller in this communication link.
[0037] The embodiment of the present application does not limit the number of communication links, and any number of communication links can be set according to actual needs; in one example, four communication links can be set (such as Figure 1 and Figure 2 The first-level slave controller in each communication link (such as Figure 1 and Figure 2 Each slave station controller 1) in the link slave station 1 part is communicatively connected with the main controller.
[0038] Optionally, each slave controller in each communication link may be connected to the same type of functional module, for example, Figure 1 and Figure 2 The slave controllers 1-n in the communication link 1 can be connected to the machine-side functional modules 1-n respectively, the slave controllers 1-n in the communication link 2 can be connected to the network-side functional modules 1-n respectively, the slave controllers 1-n in the communication link 3 can be connected to the braking modules 1-n respectively, and the slave controllers 1-n in the communication link 4 can be connected to the universal extension modules 1-n respectively, so as to realize the grouping of the communication links.
[0039] Figure 1 and Figure 2 The slave stations 1-n in the middle link are used to mark the different slave controllers in each communication link, which is convenient for Figure 1 and Figure 2 The slave controllers in different communication links are compared.
[0040] Alternatively, if Figure 2 As shown, the master controller and the slave controller both include a data processing module and an optical fiber communication module that are communicatively connected.
[0041] In each communication link, the fiber optic communication module in the first-level slave station controller is connected to the fiber optic communication module in the master controller through optical fiber; between any two adjacent slave station controllers, the fiber optic communication module in the upper-level slave station controller is connected to the fiber optic communication module in the lower-level slave station controller through optical fiber.
[0042] Alternatively, if Figure 3As shown, the optical fiber communication modules in the master controller and the slave controller each include: a downlink optical fiber receiving unit, a downlink optical fiber sending unit, an uplink optical fiber receiving unit, and an uplink optical fiber sending unit.
[0043] Between any two adjacent slave station controllers, the downlink optical fiber sending unit in the upper-level slave station controller is connected to the downlink optical fiber receiving unit in the lower-level slave station controller through optical fiber; the uplink optical fiber receiving unit in the upper-level slave station controller is connected to the uplink optical fiber sending unit in the lower-level slave station controller through optical fiber.
[0044] Optionally, in each communication link of the embodiment of the present application, the system downlink communication link may include a path formed by connecting the downlink optical fiber sending unit in the first-level (i.e., the first of the two adjacent levels) slave station controller of every two adjacent levels of slave station controllers with the downlink optical fiber receiving unit in the second-level (i.e., the second of the two adjacent levels) slave station controller; the system uplink communication link may include a path formed by connecting the uplink optical fiber receiving unit in the first-level (i.e., the first of the two adjacent levels) slave station controller of every two adjacent levels of slave station controllers with the uplink optical fiber sending unit in the second-level (i.e., the second of the two adjacent levels) slave station controller.
[0045] Optionally, the embodiment of the present application does not limit the bandwidth of the downstream optical fiber receiving unit, the downstream optical fiber sending unit, the upstream optical fiber receiving unit, and the upstream optical fiber sending unit, and can be set according to actual conditions, for example, can be set to 50M (megabytes).
[0046] In some embodiments, Figure 3 As shown, the data processing module in the slave station controller includes a first control unit, a slave station downlink communication link and a slave station uplink communication link;
[0047] The downlink communication link and the uplink communication link of the slave station are both electrically connected to the first control unit; the receiving end and the transmitting end of the downlink communication link of the slave station are respectively electrically connected to the downlink optical fiber receiving unit and the downlink optical fiber transmitting unit in the slave station controller of the same level; the receiving end and the transmitting end of the uplink communication link of the slave station are respectively electrically connected to the uplink optical fiber receiving unit and the uplink optical fiber transmitting unit of the slave station controller of the same level.
[0048] Optionally, in each communication link of the embodiment of the present application, the system downlink communication link may include the slave station downlink communication link in each slave station controller in the communication link, and the system uplink communication link may include the slave station uplink communication link in each slave station controller in the communication link.
[0049] Optionally, the data processing module in the master controller can be used to: detect whether a fault occurs in slave controllers at each level; for the last-level slave controller that fails, control the disconnection of the slave downlink communication link and the slave uplink communication link in the previous-level slave controller; for any level of slave controller other than the last-level slave controller that fails, maintain the conduction state of the slave downlink communication link and the slave uplink communication link in the slave controller.
[0050] In an optional embodiment, the data processing module may be a ZynQ (a processor launched by Xilinx) chip, the first control unit may be an MCU (Micro Control Unit) unit (PS side) in the ZynQ chip, and the slave downlink communication link and the slave uplink communication link may be communication links in an FPGA (Field-Programmable Gate Array) unit (PL side) in the ZynQ chip.
[0051] In another optional embodiment, the first control unit can be any one of MCU, ARM (Advanced RISC-Machines), and DSP (Digital Signal Processor), and the slave station downlink communication link and the slave station uplink communication link can be communication links in an FPGA chip or a CPLD (Complex Programmable Logic Device) chip.
[0052] Alternatively, if Figure 3 As shown, the slave station downlink communication link and the slave station uplink communication link both include: a communication link control unit and a three-state buffer 301 .
[0053] One end of the communication link control unit is electrically connected to the first control unit, and the other end is electrically connected to the first end of the three-state buffer 301; the second end and the third end of the three-state buffer 301 of the slave station downlink communication link respectively serve as the receiving end and the transmitting end of the slave station downlink communication link, and are respectively electrically connected to the downlink optical fiber receiving unit and the downlink optical fiber transmitting unit in the slave station controller of this level; the second end and the third end of the three-state buffer 301 in the slave station uplink communication link respectively serve as the receiving end and the transmitting end of the slave station uplink communication link, and are respectively electrically connected to the uplink optical fiber receiving unit and the uplink optical fiber transmitting unit in the slave station controller of this level.
[0054] The communication link control unit is used to control the opening and closing of the three-state buffer 301, so that the slave station downlink communication link or the slave station uplink communication link where the three-state buffer 301 is located is turned on or off.
[0055] The on and off of the three-state buffer 301 can control the on and off of the slave station downlink communication link or the slave station uplink communication link. When the three-state buffer 301 is turned on, the slave station downlink communication link or the slave station uplink communication link to which the three-state buffer 301 belongs is turned on and data can be transmitted; when the three-state buffer 301 is turned off, the slave station downlink communication link or the slave station uplink communication link to which the three-state buffer 301 belongs is disconnected and data transmission stops; the on and off of the slave station downlink communication link and the corresponding communication data transmission are respectively as shown in FIG. Figure 4 and Figure 5 shown.
[0056] Reference Figure 4 , the slave station downlink communication link is connected. When downlink communication is carried out, the communication data can be sent directly from the downlink optical fiber receiving unit to the next communication object, that is, the next-level slave station controller, via the downlink optical fiber sending unit; the situation where the slave station uplink communication link is connected is the same, thereby realizing cross-level communication between non-adjacent slave station controllers or between intermediate-level slave station controllers (except the first-level and last-level slave station controllers) and the main controller.
[0057] If the slave uplink communication links of the previous slave controllers are all connected, the communication data can be directly transmitted from the current slave controller to the master controller. If the slave downlink communication links in the subsequent slave controllers are all connected, the relevant data can be directly transmitted from the current slave controller or the master controller to the last slave controller, thereby speeding up the overall communication speed. Moreover, since the slave controllers at all levels are connected by hardware, the communication delay is greatly reduced. At the same time, when the slave downlink communication link or the slave uplink communication link is connected, the slave controller at this level does not send data, which can prevent communication disorder caused by data competition.
[0058] Optionally, the tri-state buffer 301 in the embodiment of the present application may be a tri-state buffer chip integrated in a ZynQ chip or an FPGA chip, or may be an independently arranged tri-state buffer chip.
[0059] Alternatively, if Figure 3 As shown, the control unit to which the slave station downlink communication link belongs (such as the FPGA unit in the ZynQ chip) may also include: a first serial-to-parallel conversion unit, a decoding unit, an encoding unit and a second serial-to-parallel conversion unit.
[0060] The serial port input end of the first serial-to-parallel conversion unit is electrically connected to the downlink optical fiber receiving unit in the slave station controller at the same level, and the parallel port output end is electrically connected to the input end of the decoding unit, and the output end of the decoding unit is electrically connected to the first control unit; the input end of the encoding unit is electrically connected to the first control unit, and the output end is connected to the parallel port input end of the second serial-to-parallel conversion unit, and the serial port output end of the second serial-to-parallel conversion unit is electrically connected to the downlink optical fiber sending unit in the slave station controller at the same level.
[0061] Alternatively, if Figure 3 As shown, the control unit to which the slave station uplink communication link belongs (such as the FPGA unit in the ZynQ chip) may also include: a first serial-to-parallel conversion unit, a decoding unit, an encoding unit and a second serial-to-parallel conversion unit.
[0062] The serial port input end of the first serial-to-parallel conversion unit is electrically connected to the uplink optical fiber receiving unit in the slave station controller at the same level, and the parallel port output end is electrically connected to the input end of the decoding unit, and the output end of the decoding unit is electrically connected to the first control unit; the input end of the encoding unit is electrically connected to the first control unit, and the output end is connected to the parallel port input end of the second serial-to-parallel conversion unit, and the serial port output end of the second serial-to-parallel conversion unit is electrically connected to the uplink optical fiber sending unit in the slave station controller at the same level.
[0063] The first serial-to-parallel conversion unit, the decoding unit, the encoding unit, and the second serial-to-parallel conversion unit can form a communication branch. When the slave station downlink communication link in the slave station controller of this level is disconnected, such as Figure 5 As shown, the slave station controller at this level can receive communication data and control the sending of communication data through the communication branch to complete downlink communication. The communication process is as follows:
[0064] When receiving data, the first serial-to-parallel conversion unit can convert the serial data received through the downstream optical fiber receiving unit and sent by the upper-level slave station controller or the main controller into parallel data, and send the parallel data to the decoding unit; the decoding unit can decode the received parallel data and send the decoded parallel data to the first control unit; the first control unit can use the received parallel data as needed.
[0065] When sending data, the first control unit sends the parallel data to be sent to the encoding unit; the encoding unit can encode the parallel data sent by the first control unit, and send the encoded parallel data to the second serial-to-parallel conversion unit; the second serial-to-parallel conversion unit can convert the received parallel data into serial data, and send the parallel data to the next-level slave station controller or master controller through the downlink optical fiber sending unit.
[0066] The communication process when the slave station's uplink communication link is turned on is similar to Figure 4 The communication process shown is similar to the communication process when the upstream communication link of the slave station is disconnected. Figure 5 The communication process shown is the same and will not be repeated here.
[0067] Optionally, the data processing module in the slave station controller further includes: a synchronous detection unit.
[0068] One end of the synchronous detection unit is electrically connected to the first control unit, and the other end is electrically connected to the downlink optical fiber receiving unit or the uplink optical fiber receiving unit in the slave station controller at the same level.
[0069] The synchronous detection unit is used to detect the data delay of the slave station controller at this level relative to other slave station controllers or the main controller based on the synchronous correction data packet received through the downstream optical fiber receiving unit or the upstream optical fiber receiving unit, and perform synchronization correction on the slave station controller at this level according to the data delay.
[0070] Optionally, in each communication link, each level of synchronous detection unit can generate a synchronization pulse based on the data in the received synchronization correction data packet, and each level of slave station controller in this communication link can perform synchronization correction based on the synchronization pulse to eliminate the delay caused by the communication cable and crystal oscillator differences, so that the synchronization of each level of slave station controller meets the requirements.
[0071] The specific working principle of the control system of the converter provided in the embodiment of the present application can be referred to the following method embodiment.
[0072] Based on the same inventive concept, the embodiment of the present application provides a control method for a converter, which can be applied to the control system of the converter provided in the embodiment of the present application, referring to Figure 1 or Figure 2 The converter control system shown in the figure, the control method includes:
[0073] In each communication link of the control system, the master controller sends control data packets to slave controllers at all levels through the system downlink communication link, and receives feedback data packets for the control data packets uploaded by slave controllers at all levels through the system uplink communication link;
[0074] Each level of slave controller identifies the control data for the slave controller at this level from the control data packet, and performs corresponding operations according to the control data;
[0075] After identifying the control data, each level of slave controller uploads the feedback data packet of the slave controller at this level to the main controller through the system uplink communication link, or after the slave controller at the next level completes sending the feedback data packet of the slave controller at the next level, it uploads the feedback data packet of the slave controller at this level to the main controller through the system uplink communication link.
[0076] In the embodiment of the present application, the data of the system downlink communication link (including the slave downlink communication link in the slave controllers at all levels in this communication link) is determined by the main controller. The main controller is responsible for sending data to each slave controller and receiving feedback data packets uploaded by each slave controller through the system uplink communication link (including the slave uplink communication link in the slave controllers at all levels in this communication link) to realize monitoring of each slave controller.
[0077] Optionally, when receiving a control data packet sent by the master controller, each slave station controller in the embodiment of the present application only receives the control data packet and performs corresponding operations based on the control data identified in the control data packet, and does not send data to the subsequent slave station controller through the system downlink communication link in this communication link, so as to prevent communication data disorder.
[0078] Optionally, the operation of the main controller sending the control data packet in the embodiment of the present application can be executed by a data processing module in the main controller, and the data processing module implements the sending of data through the optical fiber communication module.
[0079] Optionally, when uploading a feedback data packet to the master controller, each slave station controller can monitor the data packet sending status of the next-level slave station controller, and only send the feedback data packet of the slave station controller at this level after determining that the next-level slave station controller is not currently sending a feedback data packet or the feedback data packet of the next-level slave station controller has been sent. That is, only one feedback data packet of the slave station controller is sent and transmitted at each moment in the system uplink communication link to prevent communication disorder caused by data being sent and transmitted at the same time.
[0080] In one example, after the last-level slave controller receives a control data packet sent by the main controller through the system downlink communication link and identifies the control data for the slave controller in the control data packet, it sends a feedback data packet of the slave controller through the system uplink communication link. At this time, the system uplink communication link is in an open state, and the feedback data packet can be directly transmitted to the main controller through the system uplink communication link. The penultimate-level slave controller directly connected to the last-level slave controller sends the feedback data packet of the slave controller through the system uplink communication link after monitoring that the data packet of the last-level slave controller is sent. In this way, the feedback data packets of the slave controllers at each level are sent in sequence until the feedback data packet of the first-level slave controller directly connected to the main controller is sent, so as to prevent communication disorder.
[0081] Optionally, the identification of control data, operation based on control data, and uploading of feedback data packets by the slave controller in the embodiment of the present application can be performed by Figure 3 The first control unit shown is executed.
[0082] Optionally, the feedback data packet in the embodiment of the present application includes at least: feedback information for the received and identified control data and status information of the slave station controller at this level.
[0083] Optionally, the control method of the converter provided in the embodiment of the present application further includes:
[0084] Detect whether the slave controllers at all levels have faults; for the last level slave controller that has faults, control the slave downlink communication link and the slave uplink communication link in the upper level slave controller to be disconnected (the disconnection state is as follows: Figure 5 For any slave controller of the first level other than the last slave controller that fails, the conduction state of the slave downlink communication link and the slave uplink communication link in the slave controller of the first level is maintained (the conduction state is shown in Figure 4 shown).
[0085] Optionally, fault detection of slave station controllers at all levels can be performed by the main controller in the communication link (such as the data processing module in the main controller), for example, by judging whether a fault has occurred through the status information received from the slave station controllers at all levels. If the status information shows an abnormality, it is considered that a fault has occurred. It can also be performed by the upper-level slave station controller in the communication link (such as the first control unit in the slave station controller). For example, for the last-level slave station controller, if the upper-level slave station controller does not receive the data sent by the last-level slave station controller via the system uplink communication link within a communication cycle, it is considered that the last-level slave station controller has failed.
[0086] A communication cycle in the embodiment of the present application refers to a data interaction cycle between two adjacent levels of slave station controllers. Specifically, if the moment when the first-level slave station controller in the two adjacent levels of slave station controllers sends data to the second-level slave station controller is the first moment, and the moment when the first-level slave station controller receives the response information returned by the second-level slave station controller after operating on the data is the second moment, then the time range between the first moment and the second moment (which may include the first moment and the second moment) is a communication cycle.
[0087] Optionally, refer to Figure 3 and Figure 5 For the last-level slave station controller that fails, when controlling the slave station downlink communication link and the slave station uplink communication link in the upper-level slave station controller to be disconnected, the two communication link control units in the upper-level slave station controller can respectively control the two three-state buffers 301 to be turned off, thereby disconnecting the slave station downlink communication link and the slave station uplink communication link, so that the upper-level slave station controller is converted into a new last-level slave station controller, so as to realize the fault isolation of the original last slave station controller.
[0088] Optionally, refer to Figure 3 and Figure 4For any level of slave station controller other than the last level slave station controller that fails (referring to the situation where any level of slave station controller fails), the two three-state buffers 301 in the slave station controller of this level are maintained in the open state, so that the slave station downlink communication link and the slave station uplink communication link in the slave station controller of this level are maintained in the conductive state and are no longer disconnected, so that the communication data is forwarded to the next level communication object or the previous level communication object via the slave station downlink communication link or the slave station uplink communication link in the slave station controller, and the first control unit in the slave station controller no longer receives and sends data, so as to realize the fault isolation of the slave station controller of this level.
[0089] Optionally, before the master controller sends the control data packet to the slave controllers at each level through the system downlink communication link, the process further includes:
[0090] In each communication link, when the first-level slave controller receives the automatic configuration command sent by the master controller, after configuring the first-level slave controller according to the automatic configuration command, the configuration information of the first-level slave controller is sent to the second-level slave controller, and the configuration success information is uploaded to the master controller;
[0091] Each level of slave controller after the first level slave controller receives the configuration information sent by the previous level slave controller. After configuring the current level slave controller according to the configuration information of the previous level slave controller, it sends the configuration information of the current level slave controller to the next level slave controller and uploads the configuration success information to the main controller.
[0092] The above method can realize automatic configuration of various parameters of slave controllers at all levels, and the parameters involved include but are not limited to: ID (Identity Document) number, number of interfaces (for example, how many interfaces are configured among all interfaces for subsequent use), protection threshold, and communication waiting time.
[0093] Taking the ID number as an example, automatic configuration of the ID (Identity Document) number of each slave station can be realized. When the first-level slave station controller receives the automatic configuration command issued by the main controller, it configures its own ID number to 1, and writes its own configuration information into the data packet, sends it to the second-level slave station controller, and uploads the configuration success information to the main controller; after the second-level slave station controller receives the data packet sent by the first-level slave station controller, it configures its own ID number to 2 according to the configuration information in the data packet, and writes its own configuration information into the data packet, sends it to the third-level slave station controller, and uploads the configuration success information to the main controller through the upper-level slave station controller; the subsequent levels of slave station controllers are configured in the same way until the last slave station controller completes the configuration and uploads the configuration success information.
[0094] Optionally, after completing its own configuration, the last slave controller waits for a communication cycle. If no configuration success information is received from the next-level slave controller within a communication cycle, the configuration success information is uploaded to the master controller through the previous levels of slave controllers.
[0095] Optionally, in the embodiment of the present application, the configuration success information uploaded by each level of slave controllers includes the ID number configured by each level of slave controllers for themselves, and the configuration success information uploaded by the last level of slave controllers also includes information that the slave controller is the last level controller.
[0096] Optionally, the slave controller in the embodiment of the present application can provide feedback on the operation based on the automatic configuration command or configuration information and the configuration success information by: Figure 3 The first control unit shown is executed.
[0097] Optionally, before completing the automatic configuration of slave station controllers at various levels in the above manner, the method further includes: after the control system is started, initializing the configuration of slave station controllers at various levels.
[0098] In an optional embodiment, the initialization configuration includes: disconnecting the slave station downlink communication link and the slave station uplink communication link in the slave station controllers at each level. Specifically, the two communication link control units in the slave station controllers at each level can respectively control the two tri-state buffers 301 to be turned off (the disconnection state is as follows: Figure 5 As shown), the corresponding slave station downlink communication link and the slave station uplink communication link are disconnected, and each slave station controller is disconnected to wait for the master controller to send an automatic configuration command.
[0099] Optionally, before the master controller sends the control data packet to the slave controllers at each level through the system downlink communication link, the process further includes:
[0100] In each communication link, after completing the configuration, each level of slave station controller controls the slave station downlink communication link and the slave station uplink communication link in the slave station controller of this level to be turned on.
[0101] After the slave downlink communication link and the slave uplink communication link in the slave controller of this level are turned on, the data transmission between the master controller and each slave controller can be accelerated, and it is beneficial to realize the synchronous correction of the slave controller.
[0102] Optionally, for each level of slave controller after the first level of slave controller, uploading configuration success information to the master controller includes:
[0103] The configuration success information is uploaded to the master controller through the slave uplink communication link in the previous slave controllers.
[0104] Optionally, after controlling the slave station downlink communication link and the slave station uplink communication link in the slave station controller at the same level to be turned on, the method further includes:
[0105] For each communication link, after receiving the configuration success information uploaded by the last-level slave controller, the master controller sends a synchronization correction data packet to the first-level slave controller, and sends synchronization correction data packets to the slave controllers of each level after the first-level slave controller through the slave downlink communication links in the slave controllers of each level;
[0106] Each level of slave controller determines the clock deviation between the slave controller at this level and the master controller according to the received synchronization correction data packet, and performs synchronization correction on the slave controller at this level according to the clock deviation.
[0107] Optionally, the synchronous correction data packet includes a first correction data packet and a second correction data packet. The main controller sends the second correction data packet after sending the first correction data packet. The sending interval between the first correction data packet and the second correction data packet can be set according to actual needs. For example, it can be set to 2000 clock cycles of the main controller (i.e., the main clock cycle of the main controller). For the main controller with a clock frequency of 25 MHz (megahertz), the total time of 2000 clock cycles is 80 microseconds. In other examples, the clock frequency of the main controller can also be other frequency values, and the corresponding total time can be other time values.
[0108] Optionally, each time the synchronous detection unit in the slave station controller receives a data packet (for example, the first correction data packet or the second correction data packet), it can generate a synchronization pulse signal based on the received data packet. If the default is a low level before the data packet is received, the synchronous detection unit sets the signal high when the frame header of the data packet is received, and sets the signal low when the frame tail of the data packet is received. When the synchronous detection unit receives the first correction data packet and the second correction data packet, it can generate two pulses based on the two data packets through the above-mentioned high and low operations. According to the count between the two pulses (the count of the slave station master clock), the clock deviation between the slave station controller at this level and the master controller can be determined. According to the clock deviation, the slave station controller at this level can be synchronized and corrected to synchronize the slave station control at this level with the master controller.
[0109] In one example, let the clock period of the main controller be T m , the clock period of the slave controller is T s , the count between two pulses of the slave controller is N1, and T m It is known that since the hardware and cable delays in the control system will not change suddenly in a short time, the time interval between the slave controller receiving the first correction data packet and the second correction data packet should be consistent with the time interval between the master controller sending the first correction data packet and the second correction data packet, that is, 2000Tm =N1*T s , from which we can determine T s =2000T m / N1, according to the determined T s The value of can determine the clock deviation between the slave controller and the master controller, and then the slave controller can be corrected according to the determined clock deviation.
[0110] Optionally, after the master controller sends the synchronization correction data packet to the slave controllers at each level, the following steps are further included:
[0111] After receiving the synchronization correction data packet, the last level slave controller sends the synchronization correction data packet to the previous levels of slave controllers through the slave uplink communication link in the previous levels of slave controllers;
[0112] Each level of slave station controller determines the data delay of the slave station controller at this level relative to the slave station controller at the last level based on the count between the time when the slave station controller at this level first receives the synchronization correction data packet and the time when the slave station controller at this level receives the synchronization correction data packet for the second time, and performs synchronization correction on the slave station controller at this level based on the data delay.
[0113] Optionally, when the last-level slave station controller returns the synchronous correction data packet, it may return at least one of the first correction data packet and the second correction data packet. When returning the first correction data packet and the second correction data packet, the time interval between the last-level slave station controller sending the first correction data packet and the second correction data packet is consistent with the time interval between the master controller sending the first correction data packet and the second correction data packet.
[0114] Optionally, each level of the slave station controller may start counting when the first correction data packet is received for the first time (i.e., when the synchronous detection unit in the downlink branch of the slave station controller receives the first correction data packet), and stop counting when the first correction data packet is received for the second time (i.e., when the synchronous detection unit in the uplink branch of the slave station controller receives the first correction data packet); or start counting when the second correction data packet is received for the first time (i.e., when the synchronous detection unit in the downlink branch of the slave station controller receives the second correction data packet), and stop counting when the second correction data packet is received for the second time (i.e., when the synchronous detection unit in the uplink branch of the slave station controller receives the second correction data packet).
[0115] Optionally, when the two synchronous detection units receive the first correction data packet or the second correction data packet, the slave station controller can determine the data delay of the slave station controller at this level relative to the last slave station controller based on the count between the two first correction data packets or the count between the two second correction data packets. The data delay is used to correct the controller at this level, and the data delay of each slave station controller caused by hardware and cable delays can be corrected to enable each slave station controller to work synchronously.
[0116] In one example, since communication is implemented on the FPGA (PL side), the last-level slave controller directly forwards data, and its delay time is very short and can be ignored; the delay of the slave uplink communication link and the slave downlink communication link from any level of slave controller to the next level of slave controller can be equivalent to being consistent.
[0117] In one example, the synchronous detection unit of each level of slave controller starts counting when receiving the first calibration data packet sent by the master controller, and stops counting when receiving the first calibration data packet sent back by the last level of slave controller. Assuming that the count value is N2, the clock period of the slave controller at this level is T s1 The physical delay of one-way data transmission from the current slave controller to the last slave controller is T d , since the delay of the slave station uplink communication link and the slave station downlink communication link is consistent, we can get: 2T d =N2*T s1 , we can further get: T d =(N2*T s1 ) / 2, according to the determined T d The slave controller at this level can be synchronized and corrected to synchronize the slave controller at this level with the slave controller at the last level.
[0118] Optionally, after completing the synchronization correction of the slave controller in the above manner, the normal working mode may be entered. In the normal working mode, the master controller may send control data packets to the slave controllers and receive feedback data packets from each slave controller.
[0119] By applying the embodiments of the present application, at least the following beneficial effects can be achieved:
[0120] 1) In the embodiment of the present application, multiple parallel communication links are set up starting from the main controller, and the number of star branches of the main controller is determined by the form of the communication links; a multi-level slave station controller is set in series in each communication link, and the slave station controllers at each level can communicate with the main controller through the system downlink communication link and the system uplink communication link, that is, the control function of the main controller is expanded through the slave station controller and the system downlink communication link and the system uplink communication link formed. Under this connection mode, each communication link can be directly expanded by increasing the number of slave station controllers. When the number of star branches is fixed, the number of lower-level connections of the star branches of the main controller can still be increased, thereby meeting actual needs without redesigning the main controller and without affecting the original control architecture, improving the development efficiency of new complete products, and reducing the research and development costs of new complete products.
[0121] 2) The communication in each communication link of the embodiment of the present application is derived from the same signal and is unique relative to the communication path, which improves the synchronization between the slave station controllers in the communication link, improves the control accuracy, and improves the product reliability.
[0122] 3) In the embodiment of the present application, all levels of slave station controllers include fiber optic communication modules. The fiber optic communication modules in different slave station controllers are connected by fiber optic cables. The original multiple long optical fibers (optical fibers between the controller and each functional module) can be converted into a combination of long optical fibers (optical fibers between the master controller and the first-level slave station controller) and short optical fibers (optical fibers between the slave station controllers). The number of long optical fibers can be greatly reduced, and wiring is easier to carry out. At the same time, the probability of multiple bending of optical fibers can be reduced, and the probability of optical fiber failure can be reduced. For n functional modules, the number of long optical fibers can be reduced to 1 / n. The more functional modules there are, the more obvious the above advantages of the embodiment of the present application are.
[0123] 4) Each slave station controller in each communication link in the embodiment of the present application can be connected to the same type of functional module, thereby solidifying the star node resources of the main controller, realizing link grouping, meeting different future needs, expanding the scope of application of the product, and reducing the communication load and improving product reliability.
[0124] 5) In the embodiment of the present application, a slave station downlink communication link and a slave station uplink communication link are set in the slave station controller. The two slave station communication links are connected to the corresponding optical fiber units in the slave station controllers or the main controller of two adjacent levels through the optical fiber receiving unit (downlink optical fiber receiving unit or uplink optical fiber receiving unit) and the optical fiber sending unit (downlink optical fiber sending unit or uplink optical fiber sending unit) to achieve cross-level communication between different slave station controllers and direct communication between the slave station controller and the main controller. When there are a large number of slave stations in the same communication link, the communication speed can be greatly accelerated.
[0125] 6) The embodiment of the present application can realize on-off control of each slave station downlink communication link and slave station uplink communication link by setting a communication link control unit and a three-state buffer, so as to transmit data according to actual needs and avoid communication data disorder.
[0126] 7) The synchronous detection unit in the embodiment of the present application can receive a synchronous correction data packet sent by the main controller or the last-level controller, and perform synchronous correction on each slave station controller based on the synchronous detection data packet, so that each slave station controller can work synchronously and synchronously with the main controller, thereby improving the synchronization of each controller and improving the control accuracy.
[0127] 8) The embodiments of the present application can realize automatic isolation of faults in the slave station control sequence without affecting the normal operation of other parts, thereby improving product reliability and availability.
[0128] Those skilled in the art will appreciate that the various operations, methods, steps, measures, and schemes in the processes discussed in this application may be alternated, altered, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and processes discussed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted. Further, the steps, measures, and schemes in the prior art that are similar to those disclosed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted.
[0129] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the feature. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0130] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0131] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A control system for a converter, characterized in that: include: A main controller and a plurality of parallel communication links; Each of the communication links includes a system downlink communication link and a system uplink communication link formed by multiple stages of slave station controllers connected in series; The first-level slave controller in each of the communication links is communicatively connected with the master controller; In each of the communication links, the system downlink communication link and the system uplink communication link are used to implement communication between slave station controllers at all levels in the communication link and the master controller; The master controller and the slave controller both include a data processing module and an optical fiber communication module in communication connection; in each of the communication links, the optical fiber communication module in the first-level slave controller is connected to the optical fiber communication module in the master controller via an optical fiber; between any two adjacent slave controllers, the optical fiber communication module in the upper-level slave controller is connected to the optical fiber communication module in the lower-level slave controller via the optical fiber; The optical fiber communication module in the slave station controller includes: a downlink optical fiber receiving unit, a downlink optical fiber sending unit, an uplink optical fiber receiving unit and an uplink optical fiber sending unit; between any two adjacent slave station controllers, the downlink optical fiber sending unit in the upper-level slave station controller is connected to the downlink optical fiber receiving unit in the lower-level slave station controller through an optical fiber; the uplink optical fiber receiving unit in the upper-level slave station controller is connected to the uplink optical fiber sending unit in the lower-level slave station controller through an optical fiber; The data processing module in the slave station controller includes a first control unit, a slave station downlink communication link and a slave station uplink communication link; the slave station downlink communication link and the slave station uplink communication link are both electrically connected to the first control unit; the receiving end and the transmitting end of the slave station downlink communication link are respectively electrically connected to the downlink optical fiber receiving unit and the downlink optical fiber transmitting unit in the slave station controller at the same level; the receiving end and the transmitting end of the slave station uplink communication link are respectively electrically connected to the uplink optical fiber receiving unit and the uplink optical fiber transmitting unit of the slave station controller at the same level; The downlink communication link of the slave station and the uplink communication link of the slave station both include: a communication link control unit and a three-state buffer; one end of the communication link control unit is electrically connected to the first control unit, and the other end is electrically connected to the first end of the three-state buffer; the second end and the third end of the three-state buffer of the downlink communication link of the slave station respectively serve as the receiving end and the transmitting end of the downlink communication link of the slave station, and are respectively electrically connected to the downlink optical fiber receiving unit and the downlink optical fiber transmitting unit in the slave station controller of this level; the second end and the third end of the three-state buffer in the uplink communication link of the slave station respectively serve as the receiving end and the transmitting end of the uplink communication link of the slave station, and are respectively electrically connected to the uplink optical fiber receiving unit and the uplink optical fiber transmitting unit in the slave station controller of this level; the communication link control unit is used to control the opening and closing of the three-state buffer, so that the downlink communication link of the slave station or the uplink communication link of the slave station where the three-state buffer is located is turned on or off.
2. The control system according to claim 1, characterized in that: The data processing module in the master controller is used to: detect whether the slave controllers at all levels have failed; for the last slave controller that has failed, control the slave downlink communication link and the slave uplink communication link in the upper slave controller to be disconnected; For any level of slave station controller other than the last level slave station controller that fails, the conduction state of the slave station downlink communication link and the slave station uplink communication link in the slave station controller is maintained.
3. The control system according to claim 1, characterized in that: The data processing module in the slave station controller further includes: a synchronous detection unit; One end of the synchronous detection unit is electrically connected to the first control unit, and the other end is electrically connected to the downlink optical fiber receiving unit or the uplink optical fiber receiving unit in the slave station controller at the same level; The synchronous detection unit is used to detect the data delay of the slave station controller at this level relative to other slave station controllers or the master controller based on the synchronous correction data packet received through the downstream optical fiber receiving unit or the upstream optical fiber receiving unit, and perform synchronization correction on the slave station controller at this level according to the data delay.
4. The control system according to claim 3, characterized in that: For each level of slave controller, the synchronous detection unit is specifically used to: determine the clock deviation between the slave controller of this level and the master controller according to the received synchronous correction data packet sent by the master controller, and perform synchronization correction on the slave controller of this level according to the clock deviation.
5. The control system according to claim 4, characterized in that: For the last level slave controller, the synchronous detection unit is further used to: after receiving the synchronous correction data packet sent by the master controller, send the synchronous correction data packet to the previous levels of slave controllers through the slave uplink communication link in the previous levels of slave controllers; For the slave station controllers of each level preceding the last level slave station controller, the synchronous detection unit is also used to determine the data delay of the slave station controller of this level relative to the slave station controller of the last level based on the count between the time when the slave station controller of this level receives the synchronous correction data packet for the first time and the time when the slave station controller of this level receives the synchronous correction data packet for the second time, and perform synchronization correction on the slave station controller of this level based on the data delay.
6. A converter, characterized in that: include: A control system for a converter as claimed in any one of claims 1 to 5, and a plurality of functional modules; Each of the functional modules is connected to a slave controller in the control system.
7. The converter according to claim 6, characterized in that The plurality of said functional modules include at least one type of said functional module; When the plurality of functional modules include a plurality of types of functional modules, for each type, each functional module under the type is electrically connected to each slave station controller in a communication link in the control system.
8. A wind turbine generator set, characterized in that: include: A converter as claimed in claim 6 or 7.
9. A method for controlling a converter, characterized in that: A control system applied to a converter as claimed in any one of claims 1 to 5; The control method comprises: In each communication link of the control system, the master controller sends control data packets to slave controllers at all levels through the system downlink communication link, and receives feedback data packets for the control data packets uploaded by slave controllers at all levels through the system uplink communication link; Each level of slave station controller identifies control data for the slave station controller at the same level from the control data packet, and performs corresponding operations according to the control data; After identifying the control data, each level of slave station controller uploads the feedback data packet of the slave station controller at this level to the master controller through the system uplink communication link, or after the slave station controller at the next level completes sending the feedback data packet of the slave station controller at the next level, it uploads the feedback data packet of the slave station controller at this level to the master controller through the system uplink communication link.
10. The control method according to claim 9, characterized in that: The control method further comprises: Detect whether the slave controllers at all levels are faulty; For the last-level slave station controller that fails, the slave station downlink communication link and the slave station uplink communication link in the upper-level slave station controller are controlled to be disconnected; For any level of slave station controller other than the last level slave station controller that fails, the conduction state of the slave station downlink communication link and the slave station uplink communication link in the slave station controller is maintained.
11. The control method according to claim 9, characterized in that: Before the master controller sends control data packets to slave controllers at all levels through the system downlink communication link, the method further includes: In each of the communication links, when the first-level slave controller receives the automatic configuration command sent by the master controller, after configuring the first-level slave controller according to the automatic configuration command, the first-level slave controller sends the configuration information to the second-level slave controller, and uploads the configuration success information to the master controller; Each level of slave station controller after the first level of slave station controller receives the configuration information sent by the previous level of slave station controller, and after configuring the current level of slave station controller according to the configuration information of the previous level of slave station controller, sends the configuration information of the current level of slave station controller to the next level of slave station controller, and uploads the configuration success information to the master controller.
12. The control method according to claim 11, characterized in that: Before the master controller sends control data packets to slave controllers at all levels through the system downlink communication link, the method further includes: In each of the communication links, after completing the configuration, each level of slave station controller controls the slave station downlink communication link and the slave station uplink communication link in the slave station controller of the same level to be turned on; For each level of slave controller after the first level of slave controller, uploading the configuration success information to the master controller includes: The configuration success information is uploaded to the master controller through the slave station uplink communication link in the previous slave station controllers of each level.
Citation Information
Patent Citations
Method and apparatus for implementing time synchronization
CN102725994A
Method and device for achieving serial communication between controller and power units
CN104079355A
double-link interconnection architecture based on a three-dimensional Mesh network-on-chip
CN109582622A
Optical transmission apparatus and power converter
JP2005333246A
Methods and apparatus for controlling power switches via a digital communication bus
US20150023080A1
