CN116222663A - Cascade type edge intelligent monitoring method and device, electronic equipment and medium - Google Patents

Cascade type edge intelligent monitoring method and device, electronic equipment and medium Download PDF

Info

Publication number
CN116222663A
CN116222663A CN202310220394.0A CN202310220394A CN116222663A CN 116222663 A CN116222663 A CN 116222663A CN 202310220394 A CN202310220394 A CN 202310220394A CN 116222663 A CN116222663 A CN 116222663A
Authority
CN
China
Prior art keywords
data
time synchronization
signal
digital signal
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310220394.0A
Other languages
Chinese (zh)
Inventor
王金江
王新伟
张凤丽
李伟宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Lianhua Technology Co ltd
China University of Petroleum Beijing
Original Assignee
Beijing Lianhua Technology Co ltd
China University of Petroleum Beijing
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Lianhua Technology Co ltd, China University of Petroleum Beijing filed Critical Beijing Lianhua Technology Co ltd
Priority to CN202310220394.0A priority Critical patent/CN116222663A/en
Publication of CN116222663A publication Critical patent/CN116222663A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Train Traffic Observation, Control, And Security (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The application discloses a cascading type edge intelligent monitoring method, a cascading type edge intelligent monitoring device, electronic equipment and a cascading type edge intelligent monitoring medium, which are applied to the field of industrial field equipment detection. According to the cascade type edge intelligent monitoring method, sensor data acquired through an external sensor to be monitored are processed, and corresponding initial digital signals are obtained; performing time synchronization according to the time synchronization control signal sent by the master station, and performing synchronous data acquisition on the initial digital signal after the time synchronization to obtain corresponding data to be detected; and analyzing and detecting the data to be detected, and sending the analysis and detection result to the master station so that the master station manages the analysis and detection result. The method and the device realize the distributed detection of the industrial field device and solve the problem of centralization at present. Real-time performance, compatibility and safe reliability of the industrial data acquisition system are guaranteed, visual and reliable data support is provided for management staff, and therefore the problem that predictive maintenance fault treatment is not timely is avoided.

Description

Cascade type edge intelligent monitoring method and device, electronic equipment and medium
Technical Field
The application relates to the field of industrial field equipment detection, in particular to a cascading type edge intelligent monitoring method, a cascading type edge intelligent monitoring device, electronic equipment and a cascading type edge intelligent monitoring medium.
Background
The existing monitoring system of the industrial equipment site mainly monitors the vibration of equipment, adopts a centralized monitoring mode, deploys an acquisition module and nodes nearby the equipment to acquire vibration data, and transmits the monitoring data to a server to perform centralized analysis and diagnosis. Meanwhile, the traditional acquisition system mostly adopts the traditional Ethernet bus protocol. Centralized industrial equipment monitoring systems employing traditional buses are a mainstream communication solution in the field of industrial field data acquisition monitoring systems.
However, with the increase of the number of industrial field devices, the complexity of the devices and the rapid increase of monitoring system monitoring parameters, the centralized device state monitoring system based on the traditional field bus technology has difficulty in meeting the requirements of further development of industrial field state monitoring and predictive maintenance in many application occasions, and has the problems that the real-time performance of a data acquisition system is insufficient, the compatibility of the field bus cannot be met by a transmission protocol, and the distributed edge calculation and system monitoring cannot be realized by the traditional bus.
In view of the above technology, searching for a cascade edge intelligent monitoring method is a problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a cascading type edge intelligent monitoring method, device, electronic equipment and medium. The data can be acquired in real time, the compatibility of the field bus is met, and the data analysis and detection are realized, so that the detection of corresponding equipment is realized.
In order to solve the above technical problems, the present application provides a cascade edge intelligent monitoring method, which is applied to any slave station, and includes:
processing sensor data acquired by an external sensor to be monitored to obtain a corresponding initial digital signal;
performing time synchronization according to the time synchronization control signal sent by the master station, and performing synchronous data acquisition on the initial digital signal after the time synchronization to obtain corresponding data to be detected;
and analyzing and detecting the data to be detected, and sending the analysis and detection result to the master station so that the master station manages the analysis and detection result.
Preferably, processing the sensor data acquired by the external sensor to be monitored to obtain a corresponding initial digital signal includes:
sequentially performing constant current source driving, high-pass filtering, amplification gain and low-pass filtering on signals of the IEPE acceleration sensor to obtain corresponding first initial analog signals;
the method comprises the steps of isolating and converting a current signal of a secondary side loop into a voltage signal by using a voltage conversion device, and converting the voltage signal of the secondary side loop into a signal in a voltage range matched with an ADC range so as to obtain a corresponding second initial analog signal;
based on a sensing loop self-checking technology, processing the 4-20mA signal through a sensing transmitter, amplification gain and rectification/feedback to obtain a corresponding third initial analog signal;
and respectively carrying out analog-to-digital conversion processing on the first initial analog signal, the second initial analog signal and the third initial analog signal to obtain corresponding initial digital signals.
Preferably, the time synchronization is performed according to a time synchronization control signal sent by the master station, including:
and carrying out time synchronization according to the time synchronization control signal sent by the master station and based on a preset network protocol distributed clock.
Preferably, after time synchronization, the initial digital signal is subjected to synchronous data acquisition to obtain corresponding data to be detected, including:
after time synchronization, utilizing a Wireshark network protocol to acquire synchronous data of the initial digital signal so as to obtain a corresponding preset network protocol message to be detected;
correspondingly, analyzing and detecting the data to be detected comprises the following steps:
analyzing and detecting a preset network protocol message to be detected to obtain an analysis and detection result containing corresponding equipment state parameters; the device state parameter is the state parameter of the device where the external sensor to be monitored is located.
Preferably, after the analysis and detection are performed on the data to be detected, the method further comprises:
monitoring whether any equipment state parameter exceeds a corresponding preset normal parameter range;
if any equipment state parameter is monitored to exceed the corresponding preset normal parameter range, triggering a corresponding parameter abnormality alarm, and recording a corresponding alarm log.
Preferably, the synchronous data acquisition of the initial digital signal after time synchronization comprises:
when the format of the initial digital signal accords with the structured format, synchronous data acquisition is carried out on the initial digital signal based on the process data object after time synchronization;
when the format of the initial digital signal accords with the unstructured format, synchronous data acquisition is carried out on the initial digital signal based on a mail protocol after time synchronization.
In order to solve the above problems, the present application further provides a cascade edge intelligent monitoring method, which is applied to a master station, and includes:
generating a time synchronization control signal;
the method comprises the steps that a time synchronization control signal is sent to a secondary station, so that the secondary station performs time synchronization according to the time synchronization control signal, and performs synchronous data acquisition on an initial digital signal after the time synchronization to obtain corresponding data to be detected; the initial digital signal is a signal obtained after the secondary station processes the sensor data acquired by the external sensor to be monitored;
and acquiring an analysis detection result generated after the secondary station performs analysis detection on the data to be detected, and managing the analysis detection result.
In order to solve the above problem, the present application further provides a cascaded edge intelligent monitoring device, which is applied to any slave station, and includes:
the data processing module is used for processing the sensor data acquired by the external sensor to be monitored to obtain a corresponding initial digital signal;
the synchronous acquisition module is used for carrying out time synchronization according to the time synchronization control signal sent by the master station and carrying out synchronous data acquisition on the initial digital signal after the time synchronization so as to obtain corresponding data to be detected;
the analysis detection module is used for analyzing and detecting the data to be detected and sending the analysis detection result to the master station so that the master station can manage the analysis detection result.
To solve the above-mentioned problems, the present application further provides an electronic device, including a memory for storing a computer program;
and the processor is used for realizing the steps of the cascade type edge intelligent monitoring method when executing the computer program.
In order to solve the above problems, the present application further provides a computer readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the cascade edge intelligent monitoring method described above.
The cascade type edge intelligent monitoring method is applied to any slave station, and processes sensor data acquired through an external sensor to be monitored to obtain corresponding initial digital signals; performing time synchronization according to the time synchronization control signal sent by the master station, and performing synchronous data acquisition on the initial digital signal after the time synchronization to obtain corresponding data to be detected; and analyzing and detecting the data to be detected, and sending the analysis and detection result to the master station so that the master station manages the analysis and detection result. According to the method and the system, the distributed type of industrial field device detection can be realized through the relation between the slave station and the master station, the problems that the real-time performance of a centralized data acquisition system is insufficient, the compatibility of a field bus cannot be met by a transmission protocol at present can be solved according to time synchronization, and the problem that the distributed type edge calculation and system monitoring cannot be realized by a traditional bus can be solved by detecting and analyzing the acquired data in the corresponding slave station. Real-time performance, compatibility and safe reliability of the industrial data acquisition system are guaranteed, visual and reliable data support is provided for management staff, and therefore the problem that predictive maintenance fault treatment is not timely is avoided.
Drawings
For a clearer description of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a cascade edge intelligent monitoring method provided in an embodiment of the present application;
FIG. 2 is a block diagram of an intelligent monitoring system for industrial equipment edges according to an embodiment of the present application;
fig. 3 is a schematic diagram of a cascade scheme of multi-channel high-frequency synchronous data acquisition modules according to an embodiment of the present application;
FIG. 4 is a block diagram of a cascaded edge intelligent monitoring device according to another embodiment of the present disclosure;
fig. 5 is a block diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments herein without making any inventive effort are intended to fall within the scope of the present application.
The core of the application is to provide a cascade type edge intelligent monitoring method, a cascade type edge intelligent monitoring device, electronic equipment and a cascade type edge intelligent monitoring medium.
In order to provide a better understanding of the present application, those skilled in the art will now make further details of the present application with reference to the drawings and detailed description.
The existing monitoring system of the industrial equipment site mainly monitors the vibration of equipment, adopts a centralized monitoring mode, deploys an acquisition module and nodes nearby the equipment to acquire vibration data, and transmits the monitoring data to a server to perform centralized analysis and diagnosis. Meanwhile, the traditional acquisition system mostly adopts the traditional Ethernet bus protocol, and in the past twenty years, the centralized industrial equipment monitoring system adopting the traditional bus is a mainstream communication solution in the field of industrial field data acquisition monitoring systems. However, with the increasing number of industrial field devices, complex devices and rapid growth of monitoring parameters of a monitoring system, a centralized device state monitoring system based on a traditional field bus technology has difficulty in meeting the requirements of further development of industrial field state monitoring and predictive maintenance in many application occasions, and in the development background of industrial internet edge intelligence, a centralized industrial data acquisition system based on a traditional bus protocol has failure to meet the increasingly developed predictive maintenance of devices, so that the following problems mainly exist in the existing industrial equipment state monitoring system:
1. the real-time performance of a traditional centralized data acquisition system which is in common operation is 10 milliseconds, however, a data acquisition system based on the traditional industrial Ethernet cannot meet and be qualified when a monitoring system is required to achieve a rapid response with a higher level and a real-time performance requirement of less than 10 milliseconds.
2. The traditional field buses are incompatible, data among state monitoring systems of different companies are closed, high-speed real-time data transmission can not be realized among different acquisition node controllers and among different monitoring systems, and a data transmission network has gaps in protocols, so that 'information island' is caused. Meanwhile, with the application of an intelligent management and control platform of a field data center, certain requirements are set for data transmission protocols and modes, and the traditional data transmission protocols cannot be met.
3. The traditional bus applied at present on site cannot realize distributed data acquisition, special transmission hardware support is needed, and along with the improvement of the industrial automation and the intelligent degree of industrial equipment, the cost of the conventional data acquisition system in operation and expansion is far higher than that of an open and distributed monitoring system. Meanwhile, the system configuration of the early operation is low, the equipment is old, most accessories are stopped, the system maintenance difficulty is high, and new modules are difficult to install or hardware performance is difficult to upgrade.
4. The edge calculation of the data acquisition system cannot be realized, so that the data transmission pressure in the platform is high, meanwhile, the communication bandwidth between the platform and the site is limited, the data is required to be analyzed and processed at the edge end, the calculation resources are fully utilized, and the bandwidth pressure is reduced. Meanwhile, the safety of the whole system is enhanced by combining distributed data acquisition with edge calculation, and the risk of system whole paralysis caused by the fact that a host computer of a traditional centralized monitoring system fails is reduced.
Therefore, the application provides a cascading edge intelligent monitoring method which is applied to any slave station and comprises the following flow, as shown in fig. 1.
S10: and processing the sensor data acquired by the external sensor to be monitored to obtain a corresponding initial digital signal.
In a specific embodiment, the equipment of the industrial field is many and complex, and the sensor data acquired by the external sensor to be monitored is not a signal in a unified format in a high probability, so that the data is processed to obtain a unified initial digital signal, and the data transmission, analysis and calculation are convenient.
The acquisition can be real-time acquisition or timing acquisition, and the method is not limited and can be set according to the needs of users.
S11: and carrying out time synchronization according to the time synchronization control signal sent by the master station, and carrying out synchronous data acquisition on the initial digital signal after the time synchronization to obtain corresponding data to be detected.
In a specific embodiment, during the actual transmission process of each slave station, the crystal oscillator of each slave station control chip has an error range of tens of ppm, so that the local clock inside the slave station also has a clock drift phenomenon caused by the accumulated error caused by the crystal oscillator error. When data frames are transmitted between the secondary stations through the physical layer, delay is generated due to signal transmission, nanosecond processing delay is also caused when signals are processed in real time through hardware, and therefore the processing delay and the transmission delay are required to be compensated and corrected so as to ensure the clock precision of the secondary stations. And carrying out time synchronization with the slave station through a time synchronization control signal sent by the master station, thereby realizing real-time data acquisition and obtaining corresponding data to be detected.
S12: and analyzing and detecting the data to be detected, and sending the analysis and detection result to the master station so that the master station manages the analysis and detection result.
In a specific embodiment, each secondary station performs analysis and detection on the data to be detected, and sends analysis and detection results to the primary station so that the primary station can manage the analysis and detection results.
And the data from the edge acquisition node and the edge processing result information are received through the MQTT (Message Queuing TelemetryTransport) message queue telemetry transmission, so that the cloud and the local server control and management on the edge node are realized.
It should be noted that, the MQTT in the embodiment of the present application is only one implementation manner, and may also be implemented by protocols such as TCP, UDP, coAP, lwM M, etc., which is not limited in the present application and may be set by a user according to the needs of the user.
In summary, as shown in fig. 2, the multi-mode data signal conditioning module acquires data obtained by a flow sensor, a vibration sensor and an IEPE acceleration sensor, and processes the acquired data to obtain an initial digital signal; the synchronous acquisition module is used for synchronously acquiring data transmitted by different acquisition modules based on a distributed clock under a preset network protocol to obtain data to be detected, the edge service application and the edge acquisition node are used for carrying out calculation analysis on the data to be detected, and the cloud service application is used for receiving data from the edge acquisition node and edge processing result information, so that control management of the cloud and local servers on the edge node is further realized.
The cascade type edge intelligent monitoring method is applied to any slave station, and processes sensor data acquired through an external sensor to be monitored to obtain corresponding initial digital signals; performing time synchronization according to the time synchronization control signal sent by the master station, and performing synchronous data acquisition on the initial digital signal after the time synchronization to obtain corresponding data to be detected; and analyzing and detecting the data to be detected, and sending the analysis and detection result to the master station so that the master station manages the analysis and detection result. According to the method and the system, the distributed detection of the industrial field devices can be realized through the relation between the slave stations and the master stations, the problems that the real-time performance of the existing centralized data acquisition system is insufficient, the compatibility of the field bus cannot be met by a transmission protocol can be solved according to time synchronization, and the problem that the distributed edge calculation and system monitoring cannot be realized by the traditional bus can be solved by detecting and analyzing the acquired data in the corresponding slave stations. Real-time performance, compatibility and safe reliability of the industrial data acquisition system are guaranteed, visual and reliable data support is provided for management staff, and therefore the problem that predictive maintenance fault treatment is not timely is avoided.
On the basis of the above embodiment, as a preferred embodiment, processing the sensor data acquired by the external sensor to be monitored to obtain the corresponding initial digital signal includes:
sequentially performing constant current source driving, high-pass filtering, amplification gain and low-pass filtering on signals of the IEPE acceleration sensor to obtain corresponding first initial analog signals;
the method comprises the steps of isolating and converting a current signal of a secondary side loop into a voltage signal by using a voltage conversion device, and converting the voltage signal of the secondary side loop into a signal in a voltage range matched with an ADC range so as to obtain a corresponding second initial analog signal;
based on a sensing loop self-checking technology, processing the 4-20mA signal through a sensing transmitter, amplification gain and rectification/feedback to obtain a corresponding third initial analog signal;
and respectively carrying out analog-to-digital conversion processing on the first initial analog signal, the second initial analog signal and the third initial analog signal to obtain corresponding initial digital signals.
In a specific embodiment, the multi-mode data signal conditioning module firstly performs type unification processing on IEPE acceleration sensor signals, current and voltage signals, 4-20mA analog quantity signals and the like, and further performs analog-to-digital conversion on the processed signals uniformly by using an analog-to-digital conversion chip, so that generalized multi-mode sensing signal acquisition and transmission are realized.
During the data acquisition process, monitoring vibration measurement by using an IEPE acceleration sensor; measuring the current voltage signal by using a secondary side loop; the temperature signal, the pressure signal and the flow signal are collected by a collecting module of 4-20 mA. Therefore, the main IEPE vibration sensor signal, the current voltage signal and the 4-20mA analog quantity are respectively analyzed and conditioned.
And performing constant current source driving, high-pass filtering, amplification gain and low-pass filtering treatment on the signals of the IEPE acceleration sensor, so as to prevent aliasing distortion and remove noise to obtain the optimal signal-to-noise ratio and extract effective signals. For the current and voltage signals, the secondary side loop current signals are isolated and converted into voltage signals through a voltage converter, and the secondary side loop voltage signals are converted into voltage ranges with matched ADC measuring ranges, so that stable sampling of the current and voltage signals is realized; for 4-20mA analog quantity, the analog quantity is processed by a sensing transmitter, an amplifying gain and rectifying/feedback (AFE) process based on a sensing loop self-checking technology.
The self-checking circuit of the sensing loop monitors the output voltage value of the IEPE sensor so as to judge the working state of the loop. When the output voltage of the IEPE sensor is detected to be larger than 11V, judging that the sensing loop is open-circuit fault, and sending an open-circuit digital signal of the sensing loop to a slave station control chip under a preset network protocol; when the output voltage of the detection IEPE sensor is smaller than 1.8V, judging that the sensing loop is short-circuit fault, and sending a loop short-circuit digital signal to a slave station control chip under a preset network protocol, so that the detection of the loop fault of the IEPE sensor is realized.
The method comprises the steps of analog-to-digital conversion and data transmission, wherein multi-mode data are conditioned into uniform differential signals, the analog signals are converted into digital signals through an analog-to-digital conversion chip, and the digital signals are transmitted to a slave station communication chip on an acquisition module through an SPI protocol. And the slave station communication chip supports industrial Ethernet access of copper wires, and utilizes two types PDI (Process Data Interfaces) of SPI slave and Local bus to realize receiving SPI signals and digital IO output by the ADC, and finally establishes a standard preset network protocol operation environment for the data acquisition module.
It should be noted that, the type unification processing of the IEPE acceleration sensor signal, the current voltage signal, the 4-20mA analog signal and the like is only a preferred embodiment, and the application is not limited to the types of the signal and the sensor, and can be set according to the needs of users.
According to the method, the corresponding initial digital signals are finally obtained through processing the signals of different types, so that data transmission and data analysis and calculation can be conveniently carried out.
On the basis of the above embodiment, as a preferred embodiment, time synchronization is performed according to a time synchronization control signal transmitted from a master station, including:
and carrying out time synchronization according to the time synchronization control signal sent by the master station and based on a preset network protocol distributed clock.
In a specific embodiment, as shown in fig. 3, a cascade data acquisition board is adopted to realize single-card dual-channel acquisition, and data transmission is performed through a 6PIN terminal, wherein the front and back sides of the terminal are respectively connected with an acquisition module of a previous slave station and an acquisition module of a next slave station. The preset network protocol can be EtherCAT or EtherMAC and other real-time synchronous Ethernet protocols, the application is not limited to the selection of the network protocol, and the network protocol can be set automatically according to the needs of users.
With the EtherCAT example, time synchronization is based on EtherCAT Distributed Clock (DC) implementation, providing the same system time between different slaves. The slave station controller chip is utilized to keep the time of different slave stations consistent with that of the master station, and each slave station can generate an interrupt triggering synchronous signal according to the local time, so that synchronous acquisition among different slave stations is realized.
In the EtherCAT, a reference clock is set, which is used to synchronize the other slave clocks with the master clock by defining the clock of the first slave station with a distributed clock function connected to the master station, the clock on the subsequent slave station being defined as the slave clock. The first slave clock will be used as the reference clock Tref. Each DC slave has a local clock that is independent of the operation of the other slaves. Since the slave station starts to operate automatically after being powered on, a certain amount of deviation exists between local clocks of the slave stations due to different initial values, and the amount of deviation from a predetermined reference clock is the initial amount of deviation of the clocks.
In the actual transmission process of each slave station, the crystal oscillator of each slave station control chip has an error range of tens ppm, so that the local clock inside the slave station also has the phenomenon of clock drift caused by accumulated error caused by crystal oscillator error. When data frames are transmitted between the secondary stations through the physical layer, delay is generated due to signal transmission, nanosecond processing delay is also caused when signals are processed in real time through hardware, and therefore the processing delay and the transmission delay are required to be compensated and corrected so as to ensure the clock precision of the secondary stations. Therefore, to solve the synchronization of the distributed clocks, the main flow is as follows:
1. system initialization, the master station transmits measurement frames to all the slave stations, and obtains delay T of data transmission delay (x) A. The invention relates to a method for producing a fibre-reinforced plastic composite Thus, the secondary station x local time is equal to:
T local (x)=T ref +T offset (x)
wherein T is offset (x) For initial deviation of local clock from reference clock, T ref Is the reference clock.
2. After receiving the frame (when Port0 receives the first bit of the data preamble), the slave station writes the local clock into the parameters, and counts T 1 (n). Wherein n is the slave serial number. When the data frame is transmitted back (when Port2 receives the first bit of the data preamble), the local clock is written into the parameters, which are calculated as T 2 (n)。
3. The master station can calculate the local offset time according to the received time of the slave station, so that the initial offset time can be obtained, and then the value is written into a system time offset register of the slave station.
4. The master station reads two receiving time values T 1 (n) and T 2 (n) the delay of each slave relative to the reference clock (first DC slave) can be calculated by:
Figure BDA0004118907380000101
wherein T is 1 Representing the time when the slave station just received the data frame, T 2 Representing the time at which the slave station receives the data frame back. T (T) 1 (n) n in brackets represents the serial number of the slave station. T (T) 2 (1) Indicating the time of receipt of the data frame back from station 1, T 1 (1) Indicating the time at which the data frame was just received by the slave station 1. T (T) 2 (n) represents the time of receipt of the data frame back from station n, T 1 (n) represents the time when the slave station n just received the data frame.
Here, assuming that the transmission time is uniform, the delay time calculated by the master writes this parameter into the slave's register system time transmission compensation parameter.
And the system is realized based on a preset network protocol by adopting the real-time communication transmission of the high-flux high-frequency data, so that the problems that the real-time performance is not high, the anti-interference performance is not strong, the high-flux data transmission cannot be met, and the like in the high-frequency acquisition process of the data acquisition module of the distributed edge monitoring system are solved. Taking EtherCAT as an example, the method specifically comprises the following steps:
4.1 Master-Slave station design
The method adopts a master-slave station mode to transmit the large-flux data of the data acquisition module. The secondary station packages the acquired data into EtherCAT related data frames by means of a secondary station control chip, the primary station adopts IGH EtherCAT for communication, and the primary station module provides corresponding equipment interfaces and application interfaces.
4.2 Master-Slave station parameter configuration
The IGH EtherCAT application configuration process is mainly designed as 5 steps:
1. the master station applies for and creates a data field. And obtaining the master station equipment by calling the function to apply for the master station. After the request master station device is completed, the creation of the corresponding data field is started.
2. The secondary station is configured. After the master station creates the data field, the master station completes the configuration of each slave station device, and the configuration content comprises: PDO mapping, SM configuration, FMMU configuration, and DC configuration.
3. Adding a slave station PDO configuration to the data field, enabling a user program activation function to activate a master station, exiting an IDLE process, starting an OPERATION process, starting to execute a master station control task, and acquiring a pointer operating on the data field.
4. And starting a real-time communication thread.
5. And when the communication thread is finished, releasing the EtherCAT master station.
The method and the device realize time synchronization and complete high-flux high-frequency data real-time communication transmission based on EtherCAT so as to solve the problems that the real-time performance is not high, the anti-interference performance is not strong and the high-flux data transmission cannot be satisfied in the high-frequency acquisition process of the data acquisition module of the distributed edge monitoring system.
On the basis of the foregoing embodiment, as a preferred embodiment, the method for acquiring synchronous data of the initial digital signal after time synchronization to obtain corresponding data to be detected includes:
after time synchronization, utilizing a Wireshark network protocol to acquire synchronous data of the initial digital signal so as to obtain a corresponding preset network protocol message to be detected;
correspondingly, analyzing and detecting the data to be detected comprises the following steps:
analyzing and detecting a preset network protocol message to be detected to obtain an analysis and detection result containing corresponding equipment state parameters; the device state parameter is the state parameter of the device where the external sensor to be monitored is located.
After analyzing and detecting the data to be detected, the method further comprises the following steps:
monitoring whether any equipment state parameter exceeds a corresponding preset normal parameter range;
if any equipment state parameter is monitored to exceed the corresponding preset normal parameter range, triggering a corresponding parameter abnormality alarm, and recording a corresponding alarm log.
In a specific embodiment, a Wireshark network protocol analysis tool is used for capturing a preset network protocol message to obtain original data, calculating a true value, and then calculating parameter characteristic values such as vibration intensity values, harmonic quantities and the like. The data analysis application program of the edge node analyzes the original signals and the parameter characteristic values, such as time-frequency domain analysis, power spectrum analysis and the like for the vibration signals; and adopting time-frequency domain analysis, harmonic analysis, DQ transformation analysis and the like for the current signal, thereby realizing intelligent processing of the edge data. And diagnosing based on a light fault diagnosis model and early warning based on state estimation, judging the state of the equipment through the obtained primary monitoring parameters and the obtained state parameters, alarming when overrun occurs, and providing a diagnosis alarming record so as to realize intelligent monitoring of the edge equipment.
On the basis of the above embodiment, as a preferred embodiment, the method for performing synchronous data acquisition on the initial digital signal after time synchronization includes:
when the format of the initial digital signal accords with the structured format, synchronous data acquisition is carried out on the initial digital signal based on the process data object after time synchronization;
when the format of the initial digital signal accords with the unstructured format, synchronous data acquisition is carried out on the initial digital signal based on a mail protocol after time synchronization.
In a specific embodiment, different data transmission schemes are adopted for structured data and unstructured data in the data acquisition process. For repeated data with highly similar structures and formats such as vibration data, current voltage data, temperature data, pressure data and the like, the data communication period transmission in the design process is designed; unstructured data generated occasionally by a sensing loop open signal, a sensing loop short signal, a power supply enabling signal, lamplight control and the like are transmitted by using an aperiodic data transmission mode such as a mail protocol.
The process data communication cycle transmission needs to use a process data object communication technology, data is output to an SM channel of the synchronous manager by using object dictionary mapping, the memory management unit FMMU is responsible for converting a logical address into a physical address, and finally the physical address is stored and read by the unit to complete writing and writing of the data.
The embodiment of the application realizes the optimization of synchronous data acquisition and transmission.
On the basis of the above embodiment, as a preferred embodiment, applied to the master station, it includes:
generating a time synchronization control signal;
the method comprises the steps that a time synchronization control signal is sent to a secondary station, so that the secondary station performs time synchronization according to the time synchronization control signal, and performs synchronous data acquisition on an initial digital signal after the time synchronization to obtain corresponding data to be detected; the initial digital signal is a signal obtained after the secondary station processes the sensor data acquired by the external sensor to be monitored;
and acquiring an analysis detection result generated after the secondary station performs analysis detection on the data to be detected, and managing the analysis detection result.
It should be noted that, in this embodiment of the present application, writing is performed from the perspective of the master station, and corresponds to the embodiment of the slave station angle described above, which is not described herein again.
The application provides a cascading type edge intelligent monitoring method. According to the method, through sensing of working parameters and environment data of the multi-mode equipment, an edge computing acquisition and processing module is constructed, and intelligent sensing and data analysis and processing of edge equipment nodes are achieved. And a service model for monitoring and diagnosing key equipment of the platform is built so as to realize the functions of complex data processing, fault early warning, data backup and the like. Real-time performance, compatibility and safe reliability of the industrial data acquisition system are guaranteed, visual and reliable data support is provided for management staff, and therefore the problem that predictive maintenance fault treatment is not timely is avoided.
In the foregoing embodiments, a detailed description is given of a cascade edge intelligent monitoring method, and the present application further provides a corresponding embodiment of a cascade edge intelligent monitoring device. It should be noted that the present application describes an embodiment of the device portion from two angles, one based on the angle of the functional module and the other based on the angle of the hardware.
Fig. 4 is a block diagram of a cascaded edge intelligent monitoring device according to another embodiment of the present application, which is applied to any slave station, and includes:
the data processing module 11 is used for processing the sensor data acquired by the external sensor to be monitored to obtain a corresponding initial digital signal;
the synchronous acquisition module 12 is used for performing time synchronization according to the time synchronization control signal sent by the master station, and performing synchronous data acquisition on the initial digital signal after the time synchronization to obtain corresponding data to be detected;
the analysis detection module 13 is used for analyzing and detecting the data to be detected and sending the analysis detection result to the master station so that the master station can manage the analysis detection result.
Since the embodiments of the apparatus portion and the embodiments of the method portion correspond to each other, the embodiments of the apparatus portion are referred to the description of the embodiments of the method portion, and are not repeated herein.
Fig. 5 is a block diagram of an electronic device according to another embodiment of the present application, and as shown in fig. 5, the electronic device includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of a cascaded edge intelligent monitoring method as mentioned in the above embodiments when executing a computer program.
The electronic device provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in hardware in at least one of a digital signal processor (Digital Signal Processor, DSP), a Field programmable gate array (Field-Programmable Gate Array, FPGA), a programmable logic array (Programmable Logic Array, PLA). The processor 21 may also comprise a main processor, which is a processor for processing data in an awake state, also called central processor (Central Processing Unit, CPU), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with an image processor (Graphics Processing Unit, GPU) for taking care of rendering and rendering of the content that the display screen is required to display. In some embodiments, the processor 21 may also include an artificial intelligence (Artificial Intelligence, AI) processor for processing computing operations related to machine learning.
Memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, where the computer program, when loaded and executed by the processor 21, can implement the relevant steps of a cascade monitoring method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may further include an operating system 202, data 203, and the like, where the storage manner may be transient storage or permanent storage. The operating system 202 may include Windows, unix, linux, among others.
In some embodiments, the electronic device may further include a display 22, an input-output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the structure shown in fig. 5 is not limiting of the electronic device and may include more or fewer components than shown.
The electronic device provided by the embodiment of the application comprises a memory and a processor, wherein when the processor executes a program stored in the memory, the processor can realize the following method: a cascading type edge intelligent monitoring method.
Finally, the present application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium stores a computer program which, when executed by a processor, performs the steps described in the above method embodiments (the method may be a method corresponding to the slave station side, a method corresponding to the master station side, or a method corresponding to the slave station side and the master station side).
It will be appreciated that the methods of the above embodiments, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored on a computer readable storage medium. With such understanding, the technical solution of the present application, or a part contributing to the prior art or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, performing all or part of the steps of the method described in the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The method, the device, the electronic equipment and the medium for cascade edge intelligent monitoring are described in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it would be obvious to those skilled in the art that various improvements and modifications can be made to the present application without departing from the principles of the present application, and such improvements and modifications fall within the scope of the claims of the present application.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A cascading edge intelligent monitoring method, which is characterized by being applied to any slave station, comprising:
processing sensor data acquired by an external sensor to be monitored to obtain a corresponding initial digital signal;
performing time synchronization according to a time synchronization control signal sent by a master station, and performing synchronous data acquisition on the initial digital signal after the time synchronization to obtain corresponding data to be detected;
and analyzing and detecting the data to be detected, and sending an analysis and detection result to the master station so that the master station manages the analysis and detection result.
2. The method for intelligent cascade edge monitoring according to claim 1, wherein the processing the sensor data acquired by the external sensor to be monitored to obtain the corresponding initial digital signal comprises:
sequentially performing constant current source driving, high-pass filtering, amplification gain and low-pass filtering on signals of the IEPE acceleration sensor to obtain corresponding first initial analog signals;
the method comprises the steps of utilizing a voltage conversion device to convert a current signal of a secondary side loop into a voltage signal in an isolated mode, and converting the voltage signal of the secondary side loop into a signal in a voltage range matched with an ADC range so as to obtain a corresponding second initial analog signal;
based on a sensing loop self-checking technology, processing the 4-20mA signal through a sensing transmitter, amplification gain and rectification/feedback to obtain a corresponding third initial analog signal;
and respectively performing analog-to-digital conversion processing on the first initial analog signal, the second initial analog signal and the third initial analog signal to obtain corresponding initial digital signals.
3. The method for intelligent monitoring of cascaded edges according to claim 1, wherein the performing time synchronization according to the time synchronization control signal sent by the master station comprises:
and carrying out time synchronization according to the time synchronization control signal sent by the master station and based on a distributed clock under a preset network protocol.
4. The method for intelligent cascade edge monitoring according to claim 1, wherein the step of performing synchronous data acquisition on the initial digital signal after time synchronization to obtain corresponding data to be detected comprises:
after time synchronization, utilizing a Wireshark network protocol to acquire synchronous data of the initial digital signal so as to obtain a corresponding preset network protocol message to be detected;
correspondingly, the analyzing and detecting the data to be detected includes:
analyzing and detecting the preset network protocol message to be detected to obtain an analysis and detection result containing corresponding equipment state parameters; the equipment state parameter is the state parameter of the equipment where the external sensor to be monitored is located.
5. The method for intelligent monitoring of cascading edges according to claim 4, further comprising, after said analyzing and detecting the data to be detected:
monitoring whether any equipment state parameter exceeds a corresponding preset normal parameter range;
if any equipment state parameter is monitored to exceed the corresponding preset normal parameter range, triggering a corresponding parameter abnormality alarm, and recording a corresponding alarm log.
6. The method for intelligent edge monitoring in cascade according to any one of claims 1-5, wherein the step of performing synchronous data acquisition on the initial digital signal after time synchronization comprises:
when the initial digital signal format accords with a structured format, synchronous data acquisition is carried out on the initial digital signal based on a process data object after the time synchronization;
and when the initial digital signal format accords with an unstructured format, synchronous data acquisition is carried out on the initial digital signal based on a mail protocol after the time synchronization.
7. The cascade type edge intelligent monitoring method is characterized by being applied to a master station and comprising the following steps of:
generating a time synchronization control signal;
the time synchronization control signal is sent to the slave station, so that the slave station performs time synchronization according to the time synchronization control signal, and performs synchronous data acquisition on the initial digital signal after the time synchronization to obtain corresponding data to be detected; the initial digital signal is a signal obtained after the secondary station processes sensor data acquired by an external sensor to be monitored;
and acquiring an analysis detection result generated after the secondary station analyzes and detects the data to be detected, and managing the analysis detection result.
8. A cascading edge intelligent monitoring device, characterized in that it is applied to any slave station, comprising:
the data processing module is used for processing the sensor data acquired by the external sensor to be monitored to obtain a corresponding initial digital signal;
the synchronous acquisition module is used for carrying out time synchronization according to the time synchronization control signal sent by the master station and carrying out synchronous data acquisition on the initial digital signal after the time synchronization so as to obtain corresponding data to be detected;
and the analysis detection module is used for analyzing and detecting the data to be detected and sending an analysis detection result to the master station so that the master station manages the analysis detection result.
9. An electronic device comprising a memory for storing a computer program;
a processor for implementing the steps of the cascade edge intelligent monitoring method according to any one of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the cascade edge intelligent monitoring method according to any of claims 1 to 7.
CN202310220394.0A 2023-03-08 2023-03-08 Cascade type edge intelligent monitoring method and device, electronic equipment and medium Pending CN116222663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310220394.0A CN116222663A (en) 2023-03-08 2023-03-08 Cascade type edge intelligent monitoring method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310220394.0A CN116222663A (en) 2023-03-08 2023-03-08 Cascade type edge intelligent monitoring method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN116222663A true CN116222663A (en) 2023-06-06

Family

ID=86576626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310220394.0A Pending CN116222663A (en) 2023-03-08 2023-03-08 Cascade type edge intelligent monitoring method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN116222663A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116633021A (en) * 2023-06-13 2023-08-22 杭州科丰电子股份有限公司 Switch cabinet energy consumption monitoring method and system based on Internet of things
CN117784699A (en) * 2024-02-28 2024-03-29 深圳市瑞天激光有限公司 Communication method, device and system
CN117878821A (en) * 2024-03-12 2024-04-12 广州煜能电气有限公司 Grounding monitoring and protection analysis method for high-voltage direct-current system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116633021A (en) * 2023-06-13 2023-08-22 杭州科丰电子股份有限公司 Switch cabinet energy consumption monitoring method and system based on Internet of things
CN116633021B (en) * 2023-06-13 2024-04-02 杭州科丰电子股份有限公司 Switch cabinet energy consumption monitoring method and system based on Internet of things
CN117784699A (en) * 2024-02-28 2024-03-29 深圳市瑞天激光有限公司 Communication method, device and system
CN117784699B (en) * 2024-02-28 2024-05-28 深圳市瑞天激光有限公司 Communication method, device and system
CN117878821A (en) * 2024-03-12 2024-04-12 广州煜能电气有限公司 Grounding monitoring and protection analysis method for high-voltage direct-current system
CN117878821B (en) * 2024-03-12 2024-06-04 广州煜能电气有限公司 Grounding monitoring and protection analysis method for high-voltage direct-current system

Similar Documents

Publication Publication Date Title
CN116222663A (en) Cascade type edge intelligent monitoring method and device, electronic equipment and medium
US20220413474A1 (en) Control system
CN109446023A (en) A kind of determination method, apparatus, equipment and the storage medium of data collection cycle
CN109471588B (en) Synchronization method and device
CN109254922A (en) A kind of automated testing method and device of server B MC Redfish function
Gaitan et al. A flexible acquisition cycle for incompletely defined fieldbus protocols
CN106850614B (en) Multifunctional digital network joint debugging device
CN111262943A (en) Data acquisition method and device for operation and maintenance monitoring system and storage medium
US20060023691A1 (en) Communication controller for coordinating transmission of scheduled and unscheduled messages
CN110247936A (en) A kind of communications protocol transition card and Conversion System of Communication Protocol
CN112836094A (en) Automatic interpretation method for telemetering data analog quantity parameters
CN114390093B (en) Virtual gateway simulation system
CN107395478B (en) Network control system and network communication module for high-speed cigarette packaging equipment
CN211786734U (en) PLC controller supporting deterministic data transmission
Chang et al. The Design of Intelligent Temperature Transmitter Based on HART Protocol
CN110098991B (en) Equipment for accessing EtherCAT bus system to universal Internet of things cloud platform
WO2024044976A1 (en) Data acquisition apparatus, method and system, electronic device, and storage medium
CN112527708B (en) Device and method for realizing universal servo drive bus interface
Wenyue et al. A development platform for complex data acquisition system
CN219919184U (en) SDN gateway of Internet of things
CN204836207U (en) Register is synthesized to 1394B bus interface protection type
CN115277421B (en) Configuration information pushing method, device, electronic equipment and computer readable medium
CN220419830U (en) Large programmable automatic controller integrating residual voltage frequency measurement function
EP4304157A1 (en) Edge controller apparatus and corresponding systems, method, and computer program
CN114701663B (en) Aircraft testing method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination