Data interaction method and system and electronic equipment
By calibrating the time and monitoring the channel signal in the input and output modules of the fan control system, the problem of extended fault traceability time in the fan control system is solved, and the system safety and fault handling speed are improved.
Patent Information
- Application Number
- CN202411386057.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-10
AI Technical Summary
The accident traceability interval in the fan control system is long, and the failure data interaction is not timely, which may lead to missing important events and pose safety hazards.
By receiving the time message data transmitted by the controller in the input and output module, calibrating the local time, making it consistent with the controller time, monitoring the data transmission channel signal, collecting and sending information about channel signal displacement events in a timely manner, shortening fault detection time.
It improves the speed of the fan control system for faults, enhances system safety, ensures that the control system receives important event information in a timely manner, and reduces the time for accident tracing.
Smart Images

Figure CN119288781A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wind power generation, and in particular to a data interaction method, system and electronic equipment. Background Art
[0002] Under the general trend of "carbon peak and carbon neutrality", the requirements for wind power generation are increasing. In wind power generation, wind turbine control systems are needed to control the normal operation and power generation of wind turbines to ensure the normal operation of wind turbines. Due to the huge architecture of wind turbine control systems, timely tracing of accidents or failures when system failures occur is of great reference significance for evaluating system performance.
[0003] In the prior art, the accident tracing time interval in the fan control system is long, the tracing cycle of fault data when a fault occurs is long, and the data interaction is not timely, which may cause important events to be missed. When the system fails, important event information cannot be sent to the control end in time, which poses a safety hazard to the control system. Summary of the invention
[0004] In view of this, the embodiments of the present application are committed to providing a data interaction method, system and electronic device, which are applied to the input and output module in the fan control system, and the input and output module includes at least one data transmission channel. The method first adjusts the time information of the controller and the input and output module to be consistent, and then when a channel signal displacement event is detected in any channel in the input and output module, the channel information of the displacement event and the occurrence time are directly sent to the control end, thereby shortening the transmission time after the fault is discovered, enabling the control system to receive the displacement event channel information in a timely manner, and improving system safety.
[0005] According to a first aspect of an embodiment of the present application, a data interaction method is provided, which is applied to an input-output module in a wind turbine control system, wherein the input-output module includes at least one data transmission channel, and the wind turbine control system further includes: a controller having a communication connection with the input-output module, and the data interaction method includes:
[0006] receiving time message data transmitted by the controller, and calibrating the local time based on the time message data so that the local time is consistent with the time of the controller;
[0007] Monitoring the channel signals transmitted by each of the data transmission channels, and collecting channel information of a channel signal change event, wherein the channel signal change event refers to a channel signal in the data transmission channel being different from a preset signal;
[0008] The channel information and corresponding time information of the channel signal change event are sent to the controller.
[0009] In one embodiment, the receiving the time message data transmitted by the controller and calibrating the local time based on the time message data comprises:
[0010] Receiving time message data sent by the controller every preset time period;
[0011] Based on the received multiple time message data, the local time is calibrated.
[0012] In one embodiment, the receiving of time message data sent by the controller every preset time period includes:
[0013] Receive the time message data transmitted by the controller, and record the receiving time as the first time;
[0014] Parsing the second time information contained in the time message data;
[0015] Sending a successful reception to the controller, and recording the sending time as a third time;
[0016] The receiving time of the record controller is the fourth time, and the time message data containing the fourth time information sent by the receiving controller is received.
[0017] In one embodiment, calibrating the local time based on the received multiple time message data includes:
[0018] Calculate the transmission delay between the controller time and the local time according to the received time message data, which includes the first time, the second time, the third time and the fourth time information;
[0019] The local time is adjusted according to the transmission delay information so that the local time is consistent with the time of the controller.
[0020] In one embodiment, the monitoring of the channel signal transmitted by each of the data transmission channels further includes:
[0021] When a channel signal change event is detected, secondary monitoring is performed on other channel signals in the same channel group as the change event, where the channel group includes a plurality of data transmission channels.
[0022] In one embodiment, the method further comprises: before the data transmission channel transmits the channel signal, performing digital filtering processing on the channel signal.
[0023] According to a second aspect of the present application, a wind turbine control system is provided, the system comprising: an input-output module, and a controller communicating with the input-output module; wherein:
[0024] The input-output module is configured to: receive time message data transmitted by the controller, and calibrate the local time based on the time message data so that the local time is consistent with the time of the controller; monitor the channel signals transmitted by each of the data transmission channels, and collect channel information of channel signal change events, wherein the channel signal change event refers to that the channel signal in the data transmission channel is different from the preset signal; and send the channel information of the channel signal change event and the corresponding time information to the controller.
[0025] Optionally, the modules in the system are connected by soft wires for signal connection; the input-output module communicates with the controller using an IO-BUS bus. In addition, a backup controller and a backup IO-BUS bus may be provided in the fan control system.
[0026] According to a third aspect of the present application, an electronic device is provided, the electronic device processor and a memory;
[0027] Wherein, the memory is connected to the processor, and the memory is used to store a computer program;
[0028] The processor is used to implement the data interaction method proposed in any of the above embodiments by running the computer program stored in the memory.
[0029] According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the data interaction method proposed in any of the aforementioned embodiments is implemented.
[0030] The present application provides a data interaction method, system, electronic device and computer-readable storage medium, which are applied to an input-output module in a fan control system, and the fan control system includes a controller that is communicatively connected to the input-output module. In the data interaction method, the local time is first calibrated according to the time message data received from the controller, so that the time information of the local input-output module is consistent with the controller time, and then the channel signal of the data transmission channel is monitored, and the channel information and occurrence time of the channel signal change event are sent to the controller end, so that the controller can obtain the channel information where the change event occurs in time, solve the problem according to the actual fault situation, improve the speed of the entire fan control system in handling faults, and improve the system safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0032] Figure 1 A flowchart of a data interaction method provided in one embodiment of the present application.
[0033] Figure 2 A schematic diagram of a time message interaction method in a data interaction method provided in another embodiment of the present application.
[0034] Figure 3 A schematic diagram of the structure of an input and output module in a data interaction method provided in another embodiment of the present application.
[0035] Figure 4 A simplified structural diagram of a fan control system provided in another embodiment of the present application.
[0036] Figure 5 An overall architecture diagram of a fan control system provided in another embodiment of the present application. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0038] Exemplary Methods
[0039] The present application embodiment proposes a data interaction method, which is applied to the field of wind turbine control, and is specifically applied to an input-output module in a wind turbine control system, wherein the input-output module includes at least one data transmission channel, and the wind turbine control system further includes: a controller having a communication connection with the input-output module, which can be referred to Figure 4 As shown in the schematic diagram of the fan control system, the data interaction method proposed in this application can be applied to the input and output modules of the fan control system.
[0040] like Figure 1 As shown, the data interaction method proposed in this application may include the following steps:
[0041] S101. Receive time message data transmitted by the controller, and calibrate local time based on the time message data to make the local time consistent with the time of the controller.
[0042] The exemplary method proposed in the embodiment of the present application is mainly used in the input and output modules of the fan control system, wherein the input and output modules are modular devices used to connect input and output devices in the field of industrial automation. They can interface sensors, actuators and other external devices with the control system to realize data input and output. In addition, because they usually exist in a modular form, they can be easily installed on the rack or cabinet of the control system. They can be connected to the control system through various communication interfaces, such as digital communication interfaces (such as Ethernet), analog communication interfaces (such as current loop signals), etc. As an optional implementation method, the input and output modules in the present application use IO-BUS to communicate with the controller.
[0043] The above-mentioned IO-BUS communication is a communication protocol used for communication between digital input and output (I / O) devices and controllers in industrial automation systems. It is a communication method based on a bus architecture, which enables the controller to exchange data and transmit control signals with multiple I / O devices through the bus.
[0044] In actual work, first, time message data transmitted from the controller is received. The time message data can be a data form marked with a timestamp in data communication. A timestamp refers to an operation of time-marking data to record the time information of data generation or processing. Time message data can generally be used in application scenarios such as data synchronization, data sequencing or data analysis. For example, in an embodiment of the present application, the purpose of receiving the time message data transmitted by the controller is to synchronize the local time data with the time data of the controller.
[0045] Specifically, based on the time message data, calibrating the local time includes:
[0046] Receive the time message data sent by the controller every preset time period; and calibrate the local time based on the received multiple time message data.
[0047] According to the received time message data, the local time is calibrated. In the embodiment of the present application, the input-output module is used as the application subject, so calibrating the local time is to calibrate the time of the input-output module. Through the interaction of time message data between the controller and the input-output module, the time message data is parsed, and finally the local time is made consistent with the time of the controller.
[0048] In addition, during the above calibration time process, the number of periodic time message data interactions between the controller and the input-output module should be no less than three times, so that the input-output module can obtain the time information required to calculate the link delay. Link delay can refer to the time delay experienced by the data signal during the transmission process, which includes the transmission time required for the signal to reach the receiving end from the transmitting end and the processing time and propagation time during the transmission process. For example, in the embodiment of the present application, the link delay is mainly calculated between the controller and the local input-output module. Delay information of the transmission time message data. Specifically, the aforementioned receiving of the time message data sent by the controller every preset time period includes:
[0049] Receive the time message data transmitted by the controller, and record the receiving time as the first time; parse the second time information contained in the time message data; send a successful reception to the controller, and record the sending time as the third time; record the receiving time of the controller as the fourth time, and receive the time message data containing the fourth time information sent by the controller.
[0050] The above-mentioned time message data transmission and reception process involves the need to record time information, and optionally add timestamp information to the message data. The timestamp can indicate the time point when the data is generated or the time when the data arrives at a certain node. Therefore, when sending and receiving time message data, the timestamp can be used to record the sending and receiving time information, and provide data support for the subsequent use of time information to calibrate the local time and calculate the time delay. As an optional implementation method, the interaction process of the controller and the input and output module for time data messages in this application can be referred to Figure 2 .
[0051] After the transmission interaction of the time message data, the time delay can be calculated according to the time information recorded during these interactions to calibrate the local time. The calibrating the local time based on the received multiple time message data may include: calculating the transmission delay between the controller time and the local time according to the received time message data, the time message data including the first time, the second time, the third time and the fourth time information; adjusting the local time through the transmission delay information to make the local time consistent with the controller time.
[0052] In order to more specifically describe the time message data sending and receiving process involved in step S101 and the calculation process of calculating the transmission delay to calibrate the local time, an exemplary case is used to describe the aforementioned process. The IO module involved in this exemplary case is the input and output module mentioned above. Figure 2 For reference, the data interaction process is as follows:
[0053] 1) The controller sends a First Request message to the IO module and encapsulates t1 into the time message data;
[0054] 2) The IO module receives the First Requst message, records the receiving time t2, and parses the controller's sending time t1 from the message;
[0055] 3) The IO module sends a First Ack message to the controller and records the sending time t3;
[0056] 4) The controller receives the First Ack message and records the receiving time t4;
[0057] 5) The controller sends a Second Request message to the IO module, and encapsulates t4 into the time message data and sends it to the IO module;
[0058] 6) The IO module receives the Second Request message and parses t4 from the message data;
[0059] 7) Optionally, the IO module replies a Second Ack packet to the controller.
[0060] Furthermore, according to the time information obtained during the interaction of the above-mentioned time message data, such as t1, t2, t3, t4, etc., the link delay of data transmission between the controller and the IO module can be calculated. In this embodiment, the link delay may include an absolute time deviation (offset) and a transmission delay (delay). Specifically, the transmission delay (delay) can be calculated using the following formula:
[0061] t2-t1=offset+delay
[0062] t4-t3=delay–offset
[0063] Finally, it is calculated that: delay = (t4-t3+t2-t1) / 2. In practical applications, each IO module can adjust the local time in real time according to the delay parameters calculated by real-time measurement and the time message data sent by the controller at a regular period to keep it consistent with the controller, thereby ensuring the time consistency of all IO modules in the overall system.
[0064] S102: Monitor channel signals transmitted by each of the data transmission channels, and collect channel information of a channel signal change event. The channel signal change event refers to a channel signal in the data transmission channel being different from a preset signal.
[0065] After the local time is adjusted to be consistent with the controller time through step S101, the data transmission channel used for data input and output can be monitored. The data transmission channel can be used to transmit input and output signals to assist the control system in controlling related industrial equipment according to the channel data information during the control process. In modern industrial automation systems, there are many common data transmission channels, such as digital channels, analog channels, domain bus channels and wireless channels.
[0066] Optionally, in the embodiment of the present application, the data transmission channel selects a digital channel, which can be used to transmit digital signals. It can be a digital signal communication realized through a digital cable (such as Ethernet, optical cable, etc.), or it can be a module that communicates through a digital bus protocol (such as Profibus, Modbus).
[0067] In addition, in order to realize various control functions, a variety of data transmission channels with different functions can be configured for the input and output modules. Channels with the same function can be optionally divided into a channel group. The number of channels in each group can also be set according to actual needs. For example, in the field of wind power control, there are 3 4-20mA current acquisition channels and 5 PT100 acquisition channels. The IO module can be divided into three levels according to the number of channels: "large (64 channels), medium (32 channels), and small (8 / 16 channels)". This can meet the functional requirements of wind power applications with the least types and the least number of modules.
[0068] Since the purposes to be achieved by each channel group or each channel are different, the embodiments of the present application use different digital signals to represent different functions, that is, a corresponding preset signal is configured for each data transmission channel. When monitoring the channel signals of each data transmission channel, it is determined whether the channel signal of a certain channel meets the preset signal. When it is different from the preset signal, it is considered that there is a problem or fault in the data transmitted by the data transmission channel, and it needs to be processed.
[0069] In an embodiment of the present application, the channel information in which the data transmission channel signal is different from the preset signal is regarded as the channel information of a channel signal displacement event. When a displacement event is found to occur, the corresponding channel signal information will be collected. In addition, in order to know the time when the displacement event occurs, the time information of the displacement event will also be collected.
[0070] In an optional embodiment, since the functions implemented by the data transmission channels in the same channel group are similar, in order not to miss possible displacement events, when monitoring the channel signals transmitted by each of the data transmission channels, it also includes: when a channel signal displacement event is detected, secondary monitoring is performed on other channel signals in the same channel group as the displacement event, so that the channel information of the displacement events in the same channel group can be collected.
[0071] Optionally, in the embodiment of the present application, before receiving the digital signal containing data, the channel signal may be digitally filtered, so that the received data is preprocessed before entering the input and output module, thereby reducing the probability of subsequent errors. The digital filtering process may include changing the frequency characteristics or waveform of the signal by applying a filter to the digital signal, thereby achieving signal processing and improving signal quality. The digital filtering process may generally include the following steps: sampling: converting a continuous-time analog signal into a discrete-time digital signal; filter design: selecting an appropriate filter type and parameters, such as cutoff frequency, gain, etc.; filter application: applying the designed filter to the digital signal, processing the signal through the filter and changing its frequency characteristics; output processing: according to specific needs, the filtered signal may need to be further processed, such as amplification, correction or data analysis.
[0072] The goal of digital filtering can be to remove noise, reduce signal interference, extract signal components of specific frequencies, achieve data compression, etc. Different application scenarios require the selection of appropriate digital filter types and parameters to achieve the desired signal processing effect.
[0073] S103: Send the channel information of the channel signal change event and the corresponding time information to the controller.
[0074] When a channel signal displacement event is detected, the channel information and time information corresponding to the displacement event can be sent to the controller using an extraction or acquisition device, so that the controller can determine the fault type based on the channel information of the displacement event and process the fault data in a timely manner. Optionally, the channel information of the displacement event and its corresponding occurrence time information can be stored in a special storage unit of the input and output module, and then the storage unit can be read in real time to see if there is data information. If the information is read, it means that a fault has occurred, and the read information is directly transmitted to the controller. If no content is read, it means that no displacement event has occurred.
[0075] In order to better understand the data interaction method proposed in the above embodiment, an optional exemplary case is now provided to describe the implementation process of the method. The structural diagram of the input and output modules when implementing the method can be referred to as follows: Figure 3 As shown, this exemplary case takes the data interaction process between the controller and the input and output modules as an example. Figure 3 The functions of each structure include:
[0076] 1) Channel filter (FILTER): Digitally filter the input channel signal. The filter parameters can be configured through the host computer configuration software;
[0077] 2) Time synchronization and timekeeping: including controller standard time reception and processing, time deviation processing and IO module local timekeeping processing, etc.
[0078] 3) Collection and marking of channel accident signals (PACKAGE): In order to balance efficiency and resources, each group of N channels corresponds to a cluster of register groups. When any channel changes, a channel signal change event will be generated, and the current clock information and channel change information will be stored in the corresponding register array.
[0079] 4) Event storage (FIFO_U): Events are stored in FIFO mode. Each time an event is generated, an event is written into the FIFO. An event packet records N channel information at the same time. If the channel has a corresponding position change event, it will be written. If not, it will be skipped.
[0080] 5) Event reporting: When the processor of the IO module (such as ARM) finds that there is data in the event FIFO, it will read the event in time and report it to the controller through the IO-BUS bus.
[0081] Finally, after the data interaction process of the position change event in the above embodiment, the position change event may be a fault accident in actual industrial applications. Through the above event reporting operation, the fault time can be sent to the control end in time, shortening the transmission distance. In other words, the tracing time of the accident is shortened. At the same time, since it also includes a time calibration process, the controller can grasp the time when the accident occurred.
[0082] Exemplary Systems
[0083] The structural diagram of the fan control system provided in one embodiment of the present application is as follows: Figure 4 As shown, the fan control system may include an input-output module and a controller in communication with the input-output module, as follows:
[0084] The input-output module is configured to: receive the time message data transmitted by the controller, and based on the time message data, calibrate the local time so that the local time is consistent with the time of the controller; monitor the channel signals transmitted by each of the data transmission channels, and collect channel information of channel signal change events, wherein the channel signal change event refers to that the channel signal in the data transmission channel is different from the preset signal; and send the channel information of the channel signal change event and the corresponding time information to the controller.
[0085] Optionally, the input / output module (IO module) can be divided into different IO modules according to different structures or functions, such as a combined IO module and a general IO module. To achieve the functions of the above configuration, different functional modules are configured in the internal structure of the input / output module. For example, referring to the structural diagram shown in the figure, in an optional embodiment, the accident tracing function in the IO module is composed as follows: Figure 3As shown, it mainly includes channel filtering processing (FILTER), time synchronization and punctuality module, channel accident signal collection and marking (PACKAGE), event storage (FIFO U), etc.
[0086] In addition, when the exemplary fan control system selects the connection method between functional modules, common connection methods include backplane connection or combined connection. In order to avoid signal failure between modules due to continuous vibration of the fan, the embodiment of the present application uses soft wires for signal connection between modules. Compared with other connection methods, the soft wire connection method has the advantages of flexibility, easy installation, space saving, reduction of vibration and impact, and better maintenance and replacement. When equipment needs to be frequently moved, adjusted or replaced, the soft wire connection method is a more convenient and reliable choice.
[0087] In the above-mentioned wind turbine control system, the input and output module uses the IO-BUS bus to communicate and transmit with the controller. In addition, a backup controller and a backup IO-BUS bus can be set in the wind turbine control system. The purpose of setting a backup controller and a backup IO-BUS bus is to use the backup equipment to continue to complete related functions when the system fails and cannot be controlled, so as to avoid system downtime and losses. Common failures in the field of wind power control include network failures, communication failures or controller failures, so redundant design is selected in the design of the control system to allow redundancy of controllers, IO-BUS buses or other links.
[0088] In some embodiments, the overall architecture diagram of an exemplary wind turbine control system can be referenced Figure 5 As shown, in order to ensure safe and reliable operation of the system while meeting diverse functional requirements, the tower base and the modules in the cabin can optionally use metal casings, and soft wires can be used for signal connection between modules to avoid signal connection failures between modules due to continuous vibration of the fan.
[0089] like Figure 5 As shown, the exemplary wind turbine control system may include a host computer, a switch, a controller module, an optoelectronic module, a combined IO module and a general IO module, a communication module and a power grid module. Among them, the host computer software communicates with the controller module via Ethernet, and optionally allows the inclusion of multiple controller modules. Further, the controller module can communicate with other modules via an IO-BUS cable, such as connecting the optoelectronic modules, combined IO modules, general IO modules, power grid modules and communication modules installed side by side in the tower base cabinet. At the same time, the cabin cabinet can also be provided with corresponding combined IO modules, general IO modules and communication modules, and the tower base and the cabin are connected to their respective optoelectronic modules using optical fiber. In addition, in the case of Figure 5Based on the overall architecture diagram of the wind turbine control system shown in the figure, other functional modules, such as gateway modules, debugging machines or third-party modules, can be connected to meet more requirements of wind power applications.
[0090] Optional, in practical applications can be Figure 5 On the basis of the IO-BUS communication, the photoelectric module is added to complete the expansion of the southbound Ethernet communication of the controller, wherein the added photoelectric module is connected to the previous photoelectric module. In this exemplary control system, the photoelectric module can be used to communicate with third-party devices through Ethernet. The system can also use the photoelectric module to connect to the debugging machine to achieve communication expansion and functional debugging of the system. In addition to supporting IO-BUS communication, this exemplary system can also expand the controller Ethernet to the cabin, and can support Modbus-TCP, UDP and debugging interface, etc.
[0091] In some embodiments, Figure 5 Based on the architecture diagram shown, gateway modules and optoelectronic modules are added to complete the expansion of the southbound Ethernet communication of the controller. The system can communicate with third-party devices through the gateway module. The gateway module can be connected to the optoelectronic module in the cabin. The gateway module in the cabin is responsible for the communication protocol conversion between its upstream "controller Ethernet" and its downstream "third-party Ethernet". The same optoelectronic module can also be connected to the debugging machine according to actual needs. In addition to supporting IO-BUS communication, this exemplary system can also expand the controller Ethernet of the tower base to the cabin, and can support Modbus-TCP, UDP and debugging interface, etc.
[0092] As a feasible design method, the fan control system can also be designed for high availability and high reliability, including but not limited to the following aspects:
[0093] a. In the structural design, a metal shell is used to optimize the heat dissipation and anti-interference problems of the controller and IO module;
[0094] b. When designing the power supply and channel ports, use common-mode inductors, magnetic beads and other protective devices and circuits;
[0095] c. Each port interface supports hot plug;
[0096] d. Use software to implement some functions to reduce the hardware complexity of the equipment;
[0097] e. The control system's communication network uses redundant communication and can perform communication fault diagnosis and alarm, and the communication protocol stack supports hot connection;
[0098] f. The IO-BUS communication chip power supply adopts software-controllable power supply. When the processor fails, the communication chip power supply is automatically disconnected to prevent the module failure from affecting the data interaction between other modules on the communication bus.
[0099] The data interaction process between the input / output module and the controller in the fan control system in the embodiment of the present application belongs to the same application concept as the data interaction method provided in the above embodiment of the present application, and can execute the data interaction method provided in any of the above embodiments of the present application, and has the corresponding functional units and beneficial effects for executing the above data interaction method. The technical details not described in detail in this embodiment can refer to the specific processing content described in the above exemplary method, and will not be repeated here.
[0100] The readable storage medium of the communication device or computing device used in each functional unit of the exemplary wind turbine control system proposed in the present application may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0101] Exemplary Electronic Devices
[0102] An embodiment of the present application also provides an electronic device, which includes a processor and a memory; wherein the memory is connected to the processor, and the memory is used to store a computer program; the processor is used to implement a data interaction method as described in any one of the above exemplary methods by running the computer program stored in the memory. For the specific steps of the data interaction method, please refer to the description of the exemplary method part of the present application, which will not be repeated here.
[0103] In addition, each unit and / or module in the embodiment of the present application can be implemented by configuring corresponding electronic components. The optional implementation methods of the embodiment of the present application are described in detail above in conjunction with the accompanying drawings. However, the embodiment of the present application is not limited to the specific details in the above implementation methods. Within the technical concept of the embodiment of the present application, the technical solution of the embodiment of the present application can be subjected to a variety of simple modifications, and these simple modifications all belong to the protection scope of the embodiment of the present application.
[0104] Exemplary computer-readable storage media
[0105] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the data interaction method described in the aforementioned exemplary method is implemented. For specific steps, please refer to the description of the exemplary method part of the present application, which will not be repeated here.
[0106] In addition, each unit and / or module in the embodiment of the present application can be implemented by configuring corresponding electronic components. The optional implementation methods of the embodiment of the present application are described in detail above in conjunction with the accompanying drawings. However, the embodiment of the present application is not limited to the specific details in the above implementation methods. Within the technical concept of the embodiment of the present application, the technical solution of the embodiment of the present application can be subjected to a variety of simple modifications, and these simple modifications all belong to the protection scope of the embodiment of the present application.
[0107] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
Claims
1. A data interaction method, characterized in that: An input-output module applied to a fan control system, the input-output module comprising at least one data transmission channel, the fan control system further comprising: a controller having a communication connection established with the input-output module, the data interaction method comprising: receiving time message data transmitted by the controller, and calibrating the local time based on the time message data so that the local time is consistent with the time of the controller; Monitoring the channel signals transmitted by each of the data transmission channels, and collecting channel information of a channel signal change event, wherein the channel signal change event refers to a channel signal in the data transmission channel being different from a preset signal; The channel information and corresponding time information of the channel signal change event are sent to the controller.
2. The data interaction method according to claim 1, characterized in that: The receiving the time message data transmitted by the controller and calibrating the local time based on the time message data comprises: Receiving time message data sent by the controller every preset time period; Based on the received multiple time message data, the local time is calibrated.
3. The data interaction method according to claim 2, characterized in that: The receiving of time message data sent by the controller every preset time period includes: Receive the time message data transmitted by the controller, and record the receiving time as the first time; Parsing the second time information contained in the time message data; Sending a successful reception to the controller, and recording the sending time as a third time; The receiving time of the record controller is the fourth time, and the time message data containing the fourth time information sent by the receiving controller is received.
4. The data interaction method according to claim 3, characterized in that: The step of calibrating the local time based on the received plurality of time message data comprises: Calculate the transmission delay between the controller time and the local time according to the received time message data, which includes the first time, the second time, the third time and the fourth time information; The local time is adjusted according to the transmission delay information so that the local time is consistent with the time of the controller.
5. The data interaction method according to claim 1, characterized in that: The monitoring of the channel signals transmitted by each of the data transmission channels also includes: When a channel signal change event is detected, secondary monitoring is performed on other channel signals in the same channel group as the change event, where the channel group includes a plurality of data transmission channels.
6. The data interaction method according to claim 1, characterized in that: The method further includes: before the data transmission channel transmits the channel signal, performing digital filtering processing on the channel signal.
7. A fan control system, characterized in that: include: An input / output module and a controller that establishes a communication connection with the input / output module; wherein, The input-output module is configured to: receive time message data transmitted by the controller, and calibrate the local time based on the time message data so that the local time is consistent with the time of the controller; monitor the channel signals transmitted by each of the data transmission channels, and collect channel information of channel signal change events, wherein the channel signal change event refers to that the channel signal in the data transmission channel is different from the preset signal; and send the channel information of the channel signal change event and the corresponding time information to the controller.
8. The fan control system according to claim 7, characterized in that: In the system, the modules are connected by soft wires for signal connection; the input-output module communicates with the controller by using an IO-BUS bus. In addition, a backup controller and a backup IO-BUS bus can be provided in the fan control system.
9. An electronic device, characterized in that: including a processor and a memory; Wherein, the memory is connected to the processor, and the memory is used to store a computer program; The processor is used to implement the data interaction method according to any one of claims 1 to 6 by running the computer program stored in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the data interaction method according to any one of claims 1 to 6 is implemented.