Wave recording analysis system for fan master control PLC
By using the CAN bus protocol and data acquisition, analysis and analysis modules in the fan main control PLC wave recording analysis system, the communication quality between the fan main control PLC and the fan core components is solved, and the problem that the prior art cannot monitor such communication quality is solved.
Patent Information
- Application Number
- CN202510062613.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2025-05-13
AI Technical Summary
The existing fan main control PLC wave recording software cannot monitor or evaluate the communication quality between the fan main control PLC and the fan core components, especially the communication situation using the CANopen protocol.
It provides a wave recording analysis system for fan main control PLC, which communicates with fan main control PLC and fan core components through the CAN bus protocol, configures data acquisition parameters and communication parameters, collects and analyzes communication messages, and performs data analysis and displays to monitor and evaluate communication quality.
The monitoring and evaluation of the communication quality between the main control PLC of the fan and the core components of the fan are realized, and the problem that the prior art cannot monitor and evaluate such communication quality.
Smart Images

Figure CN119996244A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data analysis, and in particular to a wave recording and analysis system for a fan master control PLC. Background Art
[0002] The existing fan master control PLC mainly adopts imported PLC (such as Beckhoff and Bachmann). Each manufacturer's PLC is equipped with a dedicated fan master control recording software. Data collection is carried out through Ethernet and stored as CSV or TXT files. In order to facilitate users to analyze data, each manufacturer usually uses private protocols for data collection. For example, Beckhoff uses the ADS protocol and Bachmann uses the SVI protocol.
[0003] The existing wind turbine master control recording software only supports data acquisition using the Ethernet protocol, and can obtain the wind turbine master control parameters and operating data. However, it is unable to monitor or evaluate the communication quality between the wind turbine master control PLC and the wind turbine core components (such as the pitch system and the inverter system) that use the CANopen protocol to establish communication. Summary of the invention
[0004] The purpose of the embodiment of the present application is to provide a wave recording and analysis system for a wind turbine master control PLC, so as to solve the problem in the prior art that the communication quality between the wind turbine master control PLC and the core components of the wind turbine cannot be determined when performing wave recording and analysis on the wind turbine master control PLC.
[0005] In order to achieve the above-mentioned purpose, the present application provides a wave recording and analysis system for a wind turbine master control PLC, wherein the wind turbine master control PLC and the wave recording and analysis system communicate with each other using a CAN bus protocol, and the wave recording and analysis system comprises: A system configuration module, used to configure data acquisition parameters, first communication parameters between the fan master control PLC and the fan key components, and configuration information for parsing the communication message between the fan master control PLC and the fan key components; wherein the fan master control PLC and the fan key components communicate using the CAN bus protocol; A data acquisition module, used for acquiring communication messages between the wind turbine master control PLC and the wind turbine key components based on configured data acquisition parameters and first communication parameters; A data analysis module is used to perform data analysis based on the configured configuration information and the collected communication messages to obtain message analysis results; The data display module is used to display the message analysis results.
[0006] In the embodiment of the present application, the configuration information includes at least one of bus data offset, byte swap, high and low bit swap, and byte bit-by-bit parsing.
[0007] In the embodiment of the present application, the wind turbine master control PLC and the wave recording and analysis system also communicate using Ethernet protocol; The system configuration module is also used to: configure a second communication parameter for acquiring OPC UA data of the wind turbine master control PLC using the OPC UA protocol; wherein the OPC UA data includes wind turbine master control parameters and operation data.
[0008] In the embodiment of the present application, the system configuration module is also used to: manage the OPC UA data channel.
[0009] In the embodiment of the present application, the data acquisition module is further used to: acquire OPC UA data based on the configured data acquisition parameters and the second communication parameters.
[0010] In the embodiment of the present application, the data analysis module is further used to: analyze the collected OPC UA data according to the preset analysis rules for OPC UA data to obtain the data analysis results; The data display module is also used to: display the data analysis results.
[0011] In an embodiment of the present application, the data display module is also used to generate and display a real-time data curve based on the data collected by the data collection module.
[0012] In the embodiment of the present application, the recording analysis system further includes: A data storage module, used to store the data acquired by the data acquisition module; The system configuration module is also used to: configure the storage path of the data acquired by the data acquisition module and set the storage parameters of the data storage module.
[0013] In an embodiment of the present application, the data storage module is specifically used to: convert the data acquired by the data acquisition module into binary data and store it in a CSV file format.
[0014] In an embodiment of the present application, the data display module is further used to generate and display a historical data curve based on the data stored in the data storage module.
[0015] The wave recording and analysis system for the fan master control PLC provided in the present application first configures the data acquisition parameters, the first communication parameters between the fan master control PLC and the key components of the fan, and the configuration information for parsing the communication messages between the fan master control PLC and the key components of the fan, and then based on the configured data acquisition parameters and the first communication parameters, collects the communication messages between the fan master control PLC and the key components of the fan, and then performs data analysis based on the configured configuration information and the collected communication messages to obtain message analysis results, and finally displays the message analysis results, thereby realizing the monitoring and evaluation of the communication quality of the key components of the fan, and effectively solving the problem that the existing fan master control wave recording software only supports data acquisition using the Ethernet protocol and cannot monitor and evaluate the communication quality between the fan master control PLC and the core components of the fan.
[0016] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings: Figure 1 The structural block diagram of the recording analysis system of an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0019] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back, etc.), such directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0020] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0021] In the related technology, the wind turbine master control recording software only supports data acquisition using the Ethernet protocol, and can obtain the wind turbine master control parameters and operating data. However, for the wind turbine master control PLC and the wind turbine core components (such as the pitch system, inverter system) that use the CANopen protocol to establish communication, it is impossible to monitor or evaluate the communication quality between the wind turbine master control PLC and the wind turbine core components.
[0022] In view of the problem that the communication quality between the fan master control PLC and the fan core components cannot be determined when performing recording analysis on the fan master control PLC in the related technology, the present application provides a recording analysis system for the fan master control PLC. The recording analysis system for the fan master control PLC provided by the present application is described in detail below in conjunction with the accompanying drawings through specific embodiments and implementation methods.
[0023] Figure 1 The structural block diagram of the wave recording and analysis system for the wind turbine master control PLC according to the embodiment of the present application is schematically shown. Figure 1 As shown, in one embodiment of the present application, a wave recording and analysis system for a wind turbine master control PLC is provided, and the wind turbine master control PLC and the wave recording and analysis system communicate with each other using the CAN bus protocol, and the wave recording and analysis system may include the following functional modules.
[0024] The system configuration module is used to configure data acquisition parameters, first communication parameters between the fan master control PLC and the fan key components, and configuration information for parsing communication messages between the fan master control PLC and the fan key components.
[0025] Among them, the wind turbine master PLC and the wind turbine key components (such as the pitch system and the inverter system) communicate using the CAN bus protocol, that is, the recording and analysis system collects the communication messages between the wind turbine master PLC and the wind turbine key components based on the CAN bus protocol.
[0026] In the embodiment of the present application, the data acquisition parameters configured by the system configuration module include acquisition frequency and acquisition cycle. In the communication mode based on CAN bus protocol, the first communication parameters configured by the system configuration module include baud rate and CAN ID (used to filter communication messages).
[0027] In an embodiment of the present application, the configuration information for parsing the communication message includes at least one of bus data offset, byte swapping, high and low bit swapping, and byte bit-by-bit parsing.
[0028] Specifically, since the CANopen message structure may contain multiple fields, when parsing data, it is necessary to locate the position of specific data according to the field length defined by the protocol. The embodiment of the present application ensures the accuracy and consistency of data by providing a bus data offset setting function, providing a reliable basis for subsequent data analysis.
[0029] The byte swap setting is used to adjust the order of bytes in CAN data according to a specific protocol (such as the CANopen protocol) to ensure that the data maintains the correct format and order during transmission and reception. The embodiment of the present application provides the correct data format for subsequent data analysis by providing the byte swap setting function.
[0030] The high-low bit swap setting is used to swap the high and low bits in the CAN data to meet specific application requirements. The embodiment of the present application ensures that the data can be correctly parsed and processed by providing the high-low bit swap setting function.
[0031] The byte bit-by-bit parsing setting is used to determine the bit-by-bit parsing of each byte in the CAN data to extract specific information or status. The embodiment of the present application provides a byte bit-by-bit parsing setting function to achieve fine control and analysis capabilities of data, providing detailed data support for subsequent data analysis.
[0032] In addition, when configuring the configuration information for the communication message, the system configuration module also provides a CAN ID retrieval function to quickly extract the required communication message.
[0033] The data acquisition module is used to collect the communication messages between the fan master control PLC and the key components of the fan based on the configured data acquisition parameters and the first communication parameters.
[0034] It can be understood that in the embodiment of the present application, the collected communication messages are CAN data.
[0035] In a specific example, for CAN data, the data acquisition module supports full-load real-time complete data acquisition at a maximum transmission rate of 1000 kbps, and the recording analysis system supports CAN2.0 and Canopen protocols.
[0036] The data analysis module is used to perform data analysis based on the configured configuration information and the collected communication messages to obtain message analysis results.
[0037] In the embodiment of the present application, the data analysis module first analyzes the collected communication messages according to the configured configuration information to obtain the analysis results, and then performs data analysis according to the analysis results to obtain the message analysis results. It should be understood that the obtained message analysis results directly reflect the communication quality between the fan master PLC and the fan key components.
[0038] In a specific example, the operation of performing data analysis based on the analysis result to obtain the message analysis result is: determining the communication heartbeat frequency or bus load rate (i.e., the message analysis result) based on the analysis result. The communication heartbeat frequency and bus load rate are parameters that can reflect the communication quality. According to the communication quality reflected by the communication message, relevant technical personnel can be guided to check the communication link and optimize the communication quality.
[0039] Specifically, for CAN data, the data analysis module provides a searchable data analysis function based on CAN ID, which can search for byte / bit offsets of CAN data, swap bytes, and exchange high and low bits, and perform real-time byte bit-by-bit analysis.
[0040] It is worth mentioning that in the embodiment of the present application, the specific analysis method for performing data analysis on the parsing result of the communication message to obtain the message analysis result is a prior art and will not be repeated here.
[0041] The data display module is used to display the message analysis results.
[0042] Specifically, for CAN data, the data display module can display all communication message information in real time, including CAN ID, byte bit data and message update cycle.
[0043] The embodiment of the present application displays the message analysis results obtained based on the communication message analysis through the data display module, thereby realizing the monitoring and evaluation of the communication quality between the wind turbine master control PLC and the core components of the wind turbine.
[0044] It can be seen that the recording and analysis system provided in the embodiment of the present application first configures the data acquisition parameters, the first communication parameters between the fan master PLC and the key components of the fan, and the configuration information for parsing the communication messages between the fan master PLC and the key components of the fan, and then based on the configured data acquisition parameters and the first communication parameters, collects the communication messages between the fan master PLC and the key components of the fan, and then performs data analysis based on the configured configuration information and the collected communication messages to obtain message analysis results, and finally displays the message analysis results, thereby realizing the monitoring and evaluation of the communication quality of the key components of the fan, and effectively solving the problem that the existing fan master control recording software only supports data acquisition using the Ethernet protocol and cannot monitor and evaluate the communication quality between the fan master PLC and the core components of the fan.
[0045] Optionally, in an embodiment of the present application, the wind turbine master PLC and the wave recording and analysis system also communicate using an Ethernet protocol. The system configuration module is also used to configure a second communication parameter for acquiring OPC UA data of the wind turbine master PLC using the OPC UA protocol. The system configuration module is also used to manage the OPC UA data channel. The data acquisition module is also used to collect OPC UA data based on the configured data acquisition parameters and the second communication parameters. The data analysis module is also used to analyze the collected OPC UA data according to preset analysis rules for OPC UA data to obtain data analysis results. The data display module is also used to display the data analysis results.
[0046] Among them, OPC UA data includes wind turbine master control parameters and operation data.
[0047] In the communication mode based on the OPC UA protocol, the second communication parameters configured by the system configuration module include the IP address and port number of the wind turbine master PLC.
[0048] In a specific example, the operation of the system configuration module to manage the OPC UA data channel is: inputting a channel name for retrieval, and performing operations such as checking or deleting in the retrieved channel list.
[0049] In a specific example, for OPC UA data, the data acquisition module supports the Ethernet bus standard and supports a maximum transmission rate of 1000Mbps, ensuring high-speed and efficient communication interconnection. Under this high-performance standard, the data acquisition module can capture OPC UA data in real time and synchronously, and the data frame size does not exceed 1500Byte, thereby ensuring the integrity, real-time and stability of data transmission.
[0050] In a specific example, the data analysis module analyzes the collected OPC UA data according to preset analysis rules for OPC UA data to obtain data analysis results, which can be: synchronous analysis of OPC UA data from multiple server ends (i.e., the recording analysis system is simultaneously connected to multiple wind turbine master PLCs), and during the analysis process, the data timestamp synchronization accuracy reaches millisecond level; and / or classified retrieval of IP / node ID / channel variables of different wind turbine master PLCs, and displaying data node channel variable information in a tree structure; and / or classified retrieval and standardized analysis of data of commonly used computer data types (such as Byte / FLOAT / WORD / DWORD / Array byte / Array FLOAT); and / or calculation of the maximum, minimum, average and difference of multiple sampling channels at the same time.
[0051] The embodiment of the present application collects, analyzes and displays the OPC UA data of the wind turbine master control PLC, thereby facilitating the optimized operation of the wind turbine master control PLC.
[0052] Optionally, in an embodiment of the present application, the data display module is also used to generate and display a real-time data curve based on the data collected by the data collection module.
[0053] Specifically, the data display module supports the real-time curve drawing function of channel variables. Among them, for CAN data, channel variables include data analysis results such as original communication message byte data and byte swap data, high and low bit swap data, and bit parsing data. For OPC UA data, after the user checks or deletes the channels in the channel list, the data display module can display all channel values filtered by the user in real time in its data display area. When displaying, multiple curves can be displayed in the same coordinate system, or the curves corresponding to each channel can be displayed separately.
[0054] Optionally, in an embodiment of the present application, the data analysis module is also used to integrate or decompose the collected data according to user needs, so as to compare data trends in the data display module according to user needs.
[0055] Optionally, in an embodiment of the present application, the wave recording analysis system further includes a data storage module, which is used to store the data acquired by the data acquisition module. The system configuration module is also used to configure the storage path of the data acquired by the data acquisition module and set the storage parameters of the data storage module (such as the size of a single storage file). The data display module is also used to generate and display a historical data curve based on the data stored in the data storage module.
[0056] In a specific example, the data storage module is specifically used to convert the data acquired by the data acquisition module into binary data and store it in CSV file format to reduce the required data storage space. In addition, the data storage module also supports all conventional operations of CSV file format.
[0057] In the embodiment of the present application, for the stored CAN data and OPC UA data, the data display module provides a historical data curve playback function. Specifically, the historical data curve provides coordinate axis positioning, dynamic real-time waveform coordinates and data point pop-up window display, curve zooming and curve dragging functions. In addition, the data display module can display and compare the maximum, minimum, average and difference values of multiple sampling channels.
[0058] That is to say, in the embodiment of the present application, the data display module can provide targeted display of various types of bus data, including: real-time data value display, real-time data curve drawing, historical data curve playback and other functions.
[0059] The wave recording and analysis system provided in the embodiment of the present application supports two protocol stack functions based on the OPC UA standard protocol and the CAN bus protocol. Among them, the OPC UA protocol is mainly used for real-time acquisition of the main control parameters and operation data of the wind turbine, data analysis, real-time display of data analysis results, and curve playback. The CAN bus protocol is mainly used for real-time communication message acquisition, message parsing, and real-time display of message analysis results between the wind turbine master control PLC and the key components of the wind turbine to identify the communication quality. It is worth mentioning that the embodiment of the present application performs data acquisition based on the OPC UA standard protocol, without the need for additional data parsing. The protocol comes with the attributes of each channel data, including timestamp, variable name, data type, etc. Users can obtain variable values in an adaptive manner, which is universal.
[0060] It can be seen that the embodiment of the present application realizes the data acquisition function based on two international standard protocols, the OPC UA standard protocol and the CAN bus protocol. OPC UA data and CAN data can be collected at the same time, and relevant technical personnel can quickly obtain the wind turbine operation data and the communication data of key components of the wind turbine, so that the recording and analysis system has the universality of the wind turbine master control PLC, which effectively solves the problem that the existing wind turbine master control recording software does not have universality (the reason is that the data acquisition protocol is a private protocol of each manufacturer and only supports the use of each manufacturer). The recording and analysis system has two working modes, online and offline, which supports both real-time data online monitoring and real-time curve drawing functions, and data storage and historical data curve playback functions, which effectively solves the problem that the existing wind turbine recording software only supports offline data analysis and cannot perform online monitoring of real-time data. When the operation and maintenance personnel are troubleshooting on site, they need to wait until the data is recorded before they can analyze it, and the timeliness of fault analysis is poor. The wave recording and analysis system has a data analysis function and provides secondary calculation functions for the collected data, including data integration, data decomposition, and data trend comparison, etc., which improves the troubleshooting efficiency of on-site operation and maintenance personnel and effectively solves the problem that the existing wind turbine master control wave recording software needs to rely on third-party data analysis tools for variable trend analysis and does not have data analysis functions. In addition, the wave recording and analysis system displays data in the form of curves and provides functions such as curve expansion and contraction, which facilitates relevant technical personnel to troubleshoot on-site.
[0061] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0062] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A wave recording and analysis system for a fan master control PLC, characterized in that: The fan master control PLC and the wave recording and analysis system communicate using the CAN bus protocol. The wave recording and analysis system includes: A system configuration module, used to configure data acquisition parameters, first communication parameters between the fan master control PLC and the fan key components, and configuration information for parsing the communication message between the fan master control PLC and the fan key components; wherein the fan master control PLC and the fan key components communicate using the CAN bus protocol; A data acquisition module, used for acquiring communication messages between the wind turbine master control PLC and the wind turbine key components based on configured data acquisition parameters and first communication parameters; A data analysis module is used to perform data analysis based on the configured configuration information and the collected communication messages to obtain message analysis results; The data display module is used to display the message analysis results.
2. The system according to claim 1, characterized in that The configuration information includes at least one of bus data offset, byte swap, high-low bit swap, and byte bit-by-bit parsing.
3. The system according to claim 1, characterized in that The fan master control PLC and the wave recording and analysis system also communicate using Ethernet protocol; The system configuration module is also used to: configure a second communication parameter for acquiring OPC UA data of the wind turbine master control PLC using the OPC UA protocol; wherein the OPC UA data includes wind turbine master control parameters and operation data.
4. The system according to claim 3, characterized in that The system configuration module is also used to manage the OPC UA data channel.
5. The system according to claim 3, characterized in that The data acquisition module is also used to collect OPC UA data based on the configured data acquisition parameters and the second communication parameters.
6. The system according to claim 3, characterized in that The data analysis module is also used to: analyze the collected OPC UA data according to preset analysis rules for OPC UA data to obtain data analysis results; The data display module is also used to: display the data analysis results.
7. The system according to claim 1, characterized in that The data display module is also used to generate and display a real-time data curve based on the data collected by the data collection module.
8. The system according to any one of claims 1 to 7, characterized in that The wave recording analysis system also includes: A data storage module, used to store the data acquired by the data acquisition module; The system configuration module is also used to: configure the storage path of the data acquired by the data acquisition module and set the storage parameters of the data storage module.
9. The system according to claim 8, characterized in that The data storage module is specifically used to convert the data acquired by the data acquisition module into binary data and store it in a CSV file format.
10. The system according to claim 8, characterized in that The data display module is also used to generate and display a historical data curve based on the data stored in the data storage module.