CN117785512A - Multi-core heterogeneous-based data acquisition device and data processing method thereof - Google Patents

Multi-core heterogeneous-based data acquisition device and data processing method thereof Download PDF

Info

Publication number
CN117785512A
CN117785512A CN202311815933.1A CN202311815933A CN117785512A CN 117785512 A CN117785512 A CN 117785512A CN 202311815933 A CN202311815933 A CN 202311815933A CN 117785512 A CN117785512 A CN 117785512A
Authority
CN
China
Prior art keywords
signal data
data
processor
vibration
shafting
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.)
Granted
Application number
CN202311815933.1A
Other languages
Chinese (zh)
Other versions
CN117785512B (en
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.)
Shenzhen Sbw Monitoring And Control Tech Co ltd
Original Assignee
Shenzhen Sbw Monitoring And Control Tech Co ltd
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 Shenzhen Sbw Monitoring And Control Tech Co ltd filed Critical Shenzhen Sbw Monitoring And Control Tech Co ltd
Priority to CN202311815933.1A priority Critical patent/CN117785512B/en
Publication of CN117785512A publication Critical patent/CN117785512A/en
Application granted granted Critical
Publication of CN117785512B publication Critical patent/CN117785512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)

Abstract

The invention provides a multi-core heterogeneous data acquisition device and a data processing method thereof, wherein a plurality of sensors for acquiring data multipath data are arranged, an analog-to-digital converter corresponding to the number of signal output channels of the sensors and a controller for processing data converted into digital signals are arranged, the sensors comprise vibration sensors for acquiring vibration signals, the controllers comprise a shared memory for caching signal data and inter-core communication data, a first processor for configuring data acquisition parameters and executing data analysis, a second processor for executing signal data packetization to generate sampling task buffer queues for writing first signal data packets into the shared memory, and a third processor for executing data sampling on the first signal data packets according to a pre-configured sampling rate to generate analysis task buffer queues for writing second signal data packets into the shared memory, so that multichannel high-speed synchronous acquisition of vibration data of a rotary machine can be realized.

Description

Multi-core heterogeneous-based data acquisition device and data processing method thereof
Technical Field
The invention relates to the technical field of data acquisition, in particular to a data acquisition device based on multi-core heterogeneous and a data processing method thereof.
Background
The rotary machine is extremely easy to generate mechanical resonance and abnormal vibration in the continuous high-speed running process, and can cause serious mechanical faults and even cause safety accidents, so that the real-time monitoring of vibration signals is important for safe and stable running of the rotary machine. Under a complex production environment, the traditional single-channel data acquisition and monitoring method is low in efficiency, production requirements are difficult to meet, and how to realize multi-channel high-speed synchronous acquisition of vibration signals is still a difficult point.
Disclosure of Invention
The invention provides a multi-core heterogeneous-based data acquisition device and a multi-core heterogeneous-based data processing method, which can realize multi-channel high-speed synchronous acquisition of vibration data of rotary machinery.
In view of this, a first aspect of the present invention proposes a multi-core heterogeneous data acquisition device comprising a plurality of sensors for acquiring data multiplexed with data, an analog-to-digital converter for converting analog signals output by the sensors into digital signals corresponding to the number of signal output channels of the sensors, and a controller for processing the data converted into digital signals, the sensors comprising vibration sensors for acquiring vibration signals, the controller comprising a shared memory for buffering signal data and inter-core communication data, a first processor for configuring data acquisition parameters and performing data analysis, a second processor for performing signal data packetization to generate sampling task buffer queues for writing first signal data packets into the shared memory, and a third processor for performing data sampling on the first signal data packets according to a pre-configured sampling rate to generate second signal data packets to be written into analysis task buffer queues in the shared memory.
Preferably, the first processor includes a first kernel for running an operating system and an application program, and a second kernel for performing data analysis based on a driver running on the first kernel, where the second kernel is a dedicated processor kernel of a single instruction multiple data architecture.
Preferably, the analog-to-digital converter is a multi-channel high-speed analog-to-digital converter, and the number of the analog-to-digital converters satisfies:
n ADC ×ADC CH ≥n shaft +n vibr +n proc
wherein n is ADC ADC_CH is the number of channels of each analog-to-digital converter, n shaft For the number of shafting monitored, n vibr N being the number of vibration sensors proc Is the number of process quantity sensors.
The second aspect of the present invention proposes a data processing method based on multi-core heterogeneous, including:
the second processor is from n vibr The signal data channels respectively acquire vibration signal data obtained by detection of the vibration sensor;
the second processor packetizes the vibration signal data to generate a first signal data packet, and writes the first signal data packet into a sampling task buffer queue in the shared memory;
the third processor performs data sampling on the first signal data packet in the sampling task buffer queue to generate a second signal data packet, and the second signal data packet is written into the analysis task buffer queue in the shared memory;
the first processor performs analysis and upload operations on the second signal data packet in the analysis task buffer queue.
Preferably, the step of the second processor packetizing the vibration signal data to generate a first signal data packet, and writing the first signal data packet into the sampling task buffer queue in the shared memory specifically includes:
reading a first configuration parameter from a shared memory, wherein the first configuration parameter comprises a packaging parameter of the first signal data packet;
reading signal data of each signal data channel from the analog-to-digital conversion module;
dividing the signal data into data blocks corresponding to the transmission data length in the packaging parameters;
encapsulating each data block into the first signal data packet;
and writing the first signal data packet into a sampling task buffer queue in the shared memory.
Preferably, the step of the third processor performing data sampling on the first signal data packet to generate a second signal data packet, and writing the second signal data packet into the analysis task buffer queue in the shared memory specifically includes:
reading a second configuration parameter from the shared memory, the second configuration parameter comprising a sampling rate at which data sampling is performed on the first signal data packet;
sampling the vibration signal data of the first signal data packet at equal intervals based on the sampling rate in the second configuration parameter to obtain a corresponding discrete data point sequence;
packaging the discrete data point sequence to generate the second signal data packet;
and writing the second signal data packet into an analysis task buffer queue in the shared memory.
Preferably, the step of executing the analysis and uploading operation on the second signal data packet in the analysis task buffer queue by the first processor specifically includes:
reading a third configuration parameter, wherein the third configuration parameter comprises shafting information of each signal data channel;
will be from n according to the third configuration parameter vibr Vibration signal data of the signal data channels is divided into n shaft Vibration signal data of the individual shafting;
performing time domain alignment processing on vibration signal data of each shafting;
generating data to be analyzed of each signal data channel based on the vibration signal data after performing the time domain alignment processing;
packaging the data to be analyzed to generate the second signal data packet;
and writing the second signal data packet into an analysis task buffer queue in the shared memory.
Preferably, the step of performing time domain alignment processing on vibration signal data of each axis specifically includes:
judging whether the vibration signal data is keyless signal data or not;
when the vibration signal data are keyless signal data, performing Fourier transform on the vibration signal data to obtain frequency domain signals of the vibration signal data;
calculating the amplitude phase of the frequency domain signal;
carrying out phase translation on frequency domain signals of vibration signal data of the same shafting according to the amplitude phase;
and performing inverse Fourier transform on the frequency domain signal after the phase shift to obtain a corresponding time domain signal.
Preferably, the step of executing the analysis and uploading operation on the second signal data packet in the analysis task buffer queue by the first processor specifically includes:
alarming and judging the data to be analyzed in the second signal data packet;
determining whether the alarm state of each shafting changes according to the alarm judgment result;
when the alarm state of any shafting changes, generating and uploading unit event data of the corresponding shafting;
and uploading real-time data and historical data according to a preset time interval for the shafting with unchanged alarm state.
Preferably, after the step of determining whether the alarm state of each shafting changes according to the alarm judgment result, the method further comprises:
when the alarm state of any shafting changes and the alarm state is changed from a normal state to an abnormal state, defining an abnormal period accumulation variable of the corresponding shafting and initializing a value count for the abnormal period accumulation variable ishaft =1;
When the alarm state of any shafting is unchanged and the alarm state is abnormalIn state, the variable count is accumulated for the abnormal period ishaft Accumulating, wherein the step length of each accumulation is 1;
obtaining a preconfigured count change step cout step Default sampling rate f 0 And a sampling rate change step f step
Judging the abnormal period accumulation variable count ishaft Whether or not to meet
Wherein Mod () is a remainder function;
accumulating variable count when the abnormal period is over ishaft Satisfy the following requirementsWhen calculating the ith shaft Sampling rate of individual shafting:
transmitting an ith to the second processor shaft A sampling rate change instruction of the individual shafting, wherein the sampling rate change instruction comprises a recalculated sampling rate f ishaft
The invention provides a multi-core heterogeneous data acquisition device and a data processing method thereof, wherein a plurality of sensors for acquiring data multipath data are arranged, an analog-to-digital converter corresponding to the number of signal output channels of the sensors and a controller for processing data converted into digital signals are arranged, the sensors comprise vibration sensors for acquiring vibration signals, the controllers comprise a shared memory for caching signal data and inter-core communication data, a first processor for configuring data acquisition parameters and executing data analysis, a second processor for executing signal data packetization to generate sampling task buffer queues for writing first signal data packets into the shared memory, and a third processor for executing data sampling on the first signal data packets according to a pre-configured sampling rate to generate analysis task buffer queues for writing second signal data packets into the shared memory, so that multichannel high-speed synchronous acquisition of vibration data of a rotary machine can be realized.
Drawings
FIG. 1 is a schematic diagram of a data acquisition device based on multi-core heterogeneous according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for processing data based on multi-core heterogeneous according to an embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced otherwise than as described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
In the description of the present invention, the term "plurality" means two or more, unless explicitly defined otherwise, the orientation or positional relationship indicated by the terms "upper", "lower", etc. are based on the orientation or positional relationship shown in the drawings, merely for convenience of description of the present invention and to simplify the description, and do not indicate or imply that the apparatus or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention. The terms "coupled," "mounted," "secured," and the like are to be construed broadly, and may be fixedly coupled, detachably coupled, or integrally connected, for example; can be directly connected or indirectly connected through an intermediate medium. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", etc. may explicitly or implicitly include one or more such feature. In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of this specification, the terms "one embodiment," "some implementations," "particular embodiments," and the like, mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
A data acquisition device based on multi-core heterogeneous and a data processing method thereof according to some embodiments of the present invention are described below with reference to the accompanying drawings.
As shown in fig. 1, a first aspect of the present invention proposes a multi-core heterogeneous data acquisition device, including a plurality of sensors for acquiring data multiplexing data, an analog-to-digital converter (ADC, analog to Digital Converter) corresponding to the number of signal output channels of the sensors for converting analog signals output by the sensors into digital signals, and a controller for processing the data converted into digital signals, the sensors including a vibration sensor for acquiring vibration signals, the controller including a shared memory for buffering signal data and inter-core communication data, a first processor for configuring data acquisition parameters and performing data analysis, a second processor for performing signal data packetization to generate sampling task buffer queues for writing first signal data packets into the shared memory, and a third processor for performing data sampling on the first signal data packets according to a pre-configured sampling rate to generate analysis task buffer queues for writing second signal data packets into the shared memory.
Preferably, the vibration sensor is an eddy current sensor. The eddy current sensor is a non-contact sensor, and has the characteristics of wide frequency response range, high precision and sensitivity, high temperature resistance, high reliability and the like, and can be suitable for high-speed vibration data acquisition in severe industrial environments. The sensor further comprises a key phase sensor for acquiring a key phase signal. The key phase mark is arranged at the rotating shaft of the rotating device, and can be a groove or a convex key, for example, the key phase sensor comprises a key phase mark detection probe arranged at the rotating shaft of the rotating device, and when the key phase mark rotates to the key phase mark detection probe, the key phase mark detection probe can generate a pulse signal which is related to time as the key phase signal. The sensors also include process quantity sensors including, but not limited to, temperature sensors and pressure sensors. For example, the abnormal state of the rotating machine includes temperature abnormality in addition to vibration abnormality, and by installing a temperature sensor at each monitoring point, temperature data of the corresponding monitoring point can be collected to monitor the temperature state of the unit.
And the second processor controls the analog-to-digital converter to carry out parallel and synchronous acquisition of signal data of multiple data sources according to the configuration parameters provided by the first processor. The signal data are specifically key phase signal data, vibration signal data and process quantity data acquired from the rotary machine by the sensor, and the data are cached in the shared memory before and after each processing stage. The processing stages include, but are not limited to, a data packetization stage, a data sampling stage, and a data analysis stage. The first signal data packet is a data signal obtained by performing analog-to-digital conversion on signal data of each signal data channel through the analog-to-digital converter, and after the second processor performs time domain alignment on the signal data, the signal data packet is divided into data blocks with corresponding sizes according to the data quantity carried by the data packet of each corresponding communication protocol, and then the data blocks are packaged to obtain the data packet. The second signal data packet is a data packet obtained by encapsulating discrete data points obtained by sampling from the signal data of the first signal data packet by the third processor according to a pre-configured sampling rate.
The inter-core communication data is communication data between the first processor and the second processor and the third processor, including but not limited to data acquisition configuration parameters and control instructions sent to the second processor and the third processor by the first processor.
Illustratively, the first processor is an ARM (Advanced RISC Machines, advanced reduced instruction set processor) processor configured to run the LINUX operating system and applications or drivers under the LINUX operating system for configuring data collection parameters, performing data analysis, and uploading data to a host computer. The second processor is an FPGA (Field Programmable Gate Array ) configured to receive signal data from a plurality of multiple analog-to-digital converters, packetize the signal data to generate a first signal data packet, and write the first signal data packet to a sample task buffer queue of a shared memory. The FPGA can realize a complex parallel data interface and a cache mechanism, and can realize high efficiency and low delay in the data acquisition and processing process, thereby meeting the acquisition requirement of high flux for mass data. Meanwhile, the FPGA has the characteristic of flexible reconfiguration, so that the system can iteratively upgrade the algorithm according to the requirement without modifying the structure, and the FPGA has incomparable advantages of other special processors in the field of data acquisition. The third processor is an ARM or other special purpose processor, and is configured to sample the signal data in the sampling task buffer queue according to the data sampling parameters configured by the first processor, so as to output the signal data to the first processor for analysis and uploading. In the technical scheme of the invention, the vibration data acquisition process of the rotary machine is divided into sub-packaging, sampling, analysis and other stages, each stage is completed by a special processor, and the characteristics and advantages of different types of processors are fully utilized to realize synchronous acquisition of multichannel vibration data. The method has the advantages that the partial signal processing in the data acquisition process is realized by putting the special hardware, the signal processing performance of the system is effectively improved, the data processing pressure of the first processor running the LINUX operation system and the processing program is reduced, the data acquisition and processing efficiency is greatly improved, the scheme realization flexibility is improved, and the development difficulty is reduced.
Preferably, the first processor includes a first kernel for running an operating system and an application program, and a second kernel for performing data analysis based on a driver running on the first kernel, where the second kernel is a dedicated processor kernel of a single instruction multiple data architecture.
In particular, one of the main indicators that evaluates the data processing performance of a processor core is the processing time it takes to execute each data processing instruction, and when processing large amounts of data, the total processing time depends on the number of instructions required to process the entire data set. Thus, how much data each instruction of a processor core can process is related to its efficiency in processing data. Most general purpose processor cores use a SISD (Single instruction Single data, single instruction stream Single data stream) architecture, where each instruction performs its specified operation on a Single data source, and thus it takes a long time to process a large amount of data. In the technical solution of the foregoing embodiment, the second core is a special processor core of SIMD (Single Instruction Multiple Data, single instruction stream multiple data stream) architecture, which can execute the same operation on multiple data items at the same time when executing one instruction, and the execution efficiency of executing the same operation on a large amount of data is far higher than that of a general processor core.
Preferably, the analog-to-digital converter is a multi-channel high-speed analog-to-digital converter, and the number of the analog-to-digital converters satisfies:
n ADC ×ADC CH ≥n shaft +n vibr +n proc
wherein n is ADC ADC_CH is the number of channels of each analog-to-digital converter, n shaft For the number of shafting monitored, n vibr N being the number of vibration sensors proc Is the number of process quantity sensors.
For example, the analog-to-digital converter is an 8-channel high-speed ADC, and when the target unit has 6 shaft systems to be monitored, each shaft system needs to monitor 8 vibration parameters and 1 temperature parameter, the corresponding shaft system numberQuantity n shaft Number of vibration sensors n=6 vibr Number of process quantity sensors n=6×8=48 proc =6, at which time the number of analog-to-digital converters should satisfy n ADC And is more than or equal to 8. In the technical solution of the above embodiment, when each shaft system in the monitored unit is provided with a key phase mark and a key phase sensor, the number n of shaft systems shaft Number n of sensors in phase with key key Satisfy n shaft =n key
As shown in fig. 2, a second aspect of the present invention proposes a data processing method based on multi-core heterogeneous, which is applied to the data acquisition device according to any one of the first aspect of the present invention, and the method includes:
the second processor is from n vibr The signal data channels respectively acquire vibration signal data obtained by detection of the vibration sensor;
the second processor packetizes the vibration signal data to generate a first signal data packet, and writes the first signal data packet into a sampling task buffer queue in the shared memory;
the third processor performs data sampling on the first signal data packet in the sampling task buffer queue to generate a second signal data packet, and the second signal data packet is written into the analysis task buffer queue in the shared memory;
the first processor performs analysis and upload operations on the second signal data packet in the analysis task buffer queue.
Specifically, the signal data channel is a signal data channel corresponding to each sensor, and represents a data transmission path from the sensor to the analog-to-digital converter and then to the second processor. It should be noted that the data of multiple sensors acquired by the multi-channel analog-to-digital converter from multiple input interfaces may be output from the same output interface after analog-to-digital conversion, and are not regarded as the same signal data channel in the present invention, but are multiple signal data channels. For example, an 8-channel analog-to-digital converter obtains 8 channels of vibration signals from 8 vibration sensors for analog-to-digital conversion, and then outputs the signals to the second processor through an output interface thereof, wherein the signals are regarded as 8 signal data channels.
In the above multi-core heterogeneous-based data processing method, the first core is configured to:
creating a communication memory area for realizing inter-core communication in the shared memory;
generating a shared memory identifier associated with an address space of the communication memory region;
communicating the shared memory identifier to the second core, the second processor, and the third processor via an inter-core communication system;
mapping the communication memory area to the local address space, so that the first kernel accesses and operates the data in the communication memory area based on the address space, wherein the local address space is the address space of the first kernel;
and writing a control instruction sent to the second kernel, the second processor or the third processor into the communication memory area.
In the above multi-core heterogeneous-based data processing method, the second core, the second processor, and the third processor are configured to:
receiving the shared memory identifier through an inter-core communication system;
mapping the communication memory area to a local address space according to the shared memory identifier, so that the second kernel, the second processor and the third processor access and operate data in the communication memory area based on the address space, wherein the local address space is the address space of the second kernel, the second processor and the third processor;
and receiving and executing the control instruction sent by the first kernel.
Preferably, the step of the second processor packetizing the vibration signal data to generate a first signal data packet, and writing the first signal data packet into the sampling task buffer queue in the shared memory specifically includes:
reading a first configuration parameter from a shared memory, wherein the first configuration parameter comprises a packaging parameter of the first signal data packet;
reading signal data of each signal data channel from the analog-to-digital conversion module;
dividing the signal data into data blocks corresponding to the transmission data length in the packaging parameters;
encapsulating each data block into the first signal data packet;
and writing the first signal data packet into a sampling task buffer queue in the shared memory.
Specifically, the encapsulation parameters of the first signal data packet include, but are not limited to, a packet header field, a transmission address, and a transmission data length of the first signal data packet. Before the step of the second processor performing alignment packetization on the vibration signal data to generate a first signal data packet and writing the first signal data packet into the sampling task buffer queue in the shared memory, the method further comprises the step of loading pre-configured configuration parameter data into the shared memory by the first processor, wherein the configuration parameter data comprises the first configuration parameter.
Preferably, the step of the third processor performing data sampling on the first signal data packet to generate a second signal data packet, and writing the second signal data packet into the analysis task buffer queue in the shared memory specifically includes:
reading a second configuration parameter from the shared memory, the second configuration parameter comprising a sampling rate at which data sampling is performed on the first signal data packet;
sampling the vibration signal data of the first signal data packet at equal intervals based on the sampling rate in the second configuration parameter to obtain a corresponding discrete data point sequence;
packaging the discrete data point sequence to generate the second signal data packet;
and writing the second signal data packet into an analysis task buffer queue in the shared memory.
As described above, the signal data in the first signal data packet is a data block obtained by dividing after analog-to-digital conversion, so that all the data of the signal data channel are obtained by combining the signal data in each first signal data packet of the same signal data channel, the data volume is very huge, and the data volume is completely transferred to the back end interface bandwidth, the storage space and the processing capacity of the processor, which all cause great burden, and are not beneficial to subsequent storage, analysis and display.
In the foregoing technical solution of the foregoing embodiment, the step of performing equidistant sampling from the vibration signal data of the first signal data packet to obtain a corresponding discrete data point sequence based on the sampling rate in the second configuration parameter, where the second configuration parameter further includes a rotation period of each shafting specifically includes:
acquisition of the t shaft Sampling rate f of individual shafting ishaft
Calculate the ith shaft Sampling time interval of individual shafting:
per pass deltat ishaft From the (i) th time shaft Taking a data point from the data block transmitted by the first signal data packet of the axis to form the discrete data point sequence.
By ith shaft The rotation period of each shafting is T ishaft For example, the third processor extracts k from the data generated by one rotation of the shaft, i.e. the data block transmitted by the first signal data packet ishaft =T ishaft ×f ishaft Data points.
Preferably, the step of executing the analysis and uploading operation on the second signal data packet in the analysis task buffer queue by the first processor specifically includes:
reading a third configuration parameter, wherein the third configuration parameter comprises shafting information of each signal data channel;
will be from n according to the third configuration parameter vibr Vibration signal data of the signal data channels is divided into n shaft Vibration signal data of the individual shafting;
performing time domain alignment processing on vibration signal data of each shafting;
generating data to be analyzed of each signal data channel based on the vibration signal data after performing the time domain alignment processing;
packaging the data to be analyzed to generate the second signal data packet;
and writing the second signal data packet into an analysis task buffer queue in the shared memory.
Specifically, the sensor has a one-to-one correspondence with the signal data channel, in an operating system operated by the first processor, a device identifier of each sensor, a channel identifier of each signal data channel and a shafting identifier of each shafting are stored, and the device identifier, the channel identifier and the shafting identifier are used for uniquely identifying the corresponding sensor, the signal data channel and the shafting in the system, and the shafting to which the sensor and the signal data channel belong is obtained through the stored correspondence between the device identifier, the channel identifier and the shafting identifier.
One or more measuring points are usually arranged on one shaft system, each measuring point corresponds to one or more signal data channels, and whether the working state of the shaft system is abnormal or not can be judged based on processing and analyzing vibration signal data in the signal data channels, so that corresponding unit event data are generated. And uploading vibration signal data of the second signal data packet according to a preset time interval when no abnormal shafting occurs in the working state, so that the upper computer generates a corresponding vibration monitoring chart based on the vibration signal data and displays the vibration monitoring chart on a display device connected with the upper computer in real time. It should be noted that the vibration signal data of the second signal data packet referred to herein refers to vibration signal data after waveform processing including filtering processing and integrating processing.
Further, other signal data such as temperature, pressure, etc. except for the vibration signal data are processed in the same manner, and will not be described here.
Preferably, the step of performing time domain alignment processing on vibration signal data of each axis specifically includes:
judging whether the vibration signal data is keyless signal data or not;
when the vibration signal data are keyless signal data, performing Fourier transform on the vibration signal data to obtain frequency domain signals of the vibration signal data;
calculating the amplitude phase of the frequency domain signal;
carrying out phase translation on frequency domain signals of vibration signal data of the same shafting according to the amplitude phase;
and performing inverse Fourier transform on the frequency domain signal after the phase shift to obtain a corresponding time domain signal.
Specifically, when the vibration signal data is key signal data, the third configuration parameter includes a channel identifier of a signal data channel corresponding to a key signal of each shafting, and in the technical scheme of the embodiment, whether the vibration signal data is keyless signal data is determined by determining whether the first configuration parameter includes a channel identifier of a signal data channel corresponding to a key signal. In a normal working state, vibration signals of all measuring points of the rotary machine are periodically changed, and when the vibration signal data are keyless signal data, the data of all signal data channels can be aligned according to the amplitude phase of the frequency domain signals of the vibration signal data transmitted by all signal data channels in the same shafting.
Further, after the step of judging whether the vibration signal data is keyless signal data, the method further includes:
when the vibration signal data are key signal data, the vibration signal data transmitted by each signal data channel in the same shafting are aligned based on the key phase signal of each shafting.
Preferably, the vibration signal data is vibration acceleration signal data, and the step of generating the data to be analyzed of each signal data channel based on the vibration signal data after performing the time domain alignment processing specifically includes:
performing frequency domain filtering on the vibration signal data;
integrating the vibration acceleration signal data to obtain corresponding vibration speed and/or vibration displacement signal data;
calculating the characteristic value of the vibration speed and/or vibration displacement signal data;
and determining the vibration speed and/or vibration displacement signal data and the characteristic value thereof as the data to be analyzed.
Specifically, when the vibration signal data is keyless signal data, the step of performing frequency domain filtering on the vibration signal data is specifically to perform filtering on a frequency domain waveform of the vibration signal data after performing the time domain alignment processing. When the vibration signal data is key signal data, the step of performing frequency domain filtering on the vibration signal data is specifically to perform filtering on an original frequency domain waveform of the vibration signal data.
In analyzing vibration problems of a rotary machine, the vibration speed is generally used as a basis for determining the vibration problems. Because the approximation method of differential processing has larger error, and the acceleration sensor generally has the characteristics of small volume, light weight, high sensitivity and the like, in the technical scheme of the embodiment, after the vibration acceleration signal data is measured, the corresponding vibration speed and/or vibration displacement signal data is obtained by performing time domain or frequency domain integral processing on the vibration acceleration signal data.
The characteristic value includes an instantaneous value v (t) of the vibration speed, and the step of calculating the characteristic value of the vibration speed signal data specifically includes calculating a peak value v of the vibration speed from the instantaneous value v (t) of the vibration speed p =max[v(t)]Average absolute valueMean->Effective value +.>
The saidThe characteristic value further comprises an instantaneous value x (t) of the vibration displacement, and the step of calculating the characteristic value of the vibration displacement signal data specifically comprises calculating a peak value x of the vibration displacement based on the instantaneous value x (t) of the vibration displacement p =max[x(t)]Average absolute valueMean->Effective value +.>
Specifically, for the ith shaft Vibration signal data of each shafting, wherein T in the formula is ith shaft The rotation period of each shafting is T ishaft
Preferably, the step of executing the analysis and uploading operation on the second signal data packet in the analysis task buffer queue by the first processor specifically includes:
alarming and judging the data to be analyzed in the second signal data packet;
determining whether the alarm state of each shafting changes according to the alarm judgment result;
when the alarm state of any shafting changes, generating and uploading unit event data of the corresponding shafting;
and uploading real-time data and historical data according to a preset time interval for the shafting with unchanged alarm state.
Specifically, the alarming judgment on the data to be analyzed in the second signal data packet includes performing super-threshold judgment on the feature values in the data to be analyzed, and for each vibration variable such as displacement, speed and acceleration of each shafting of the rotating machine, a standard numerical range of each feature value is preset in the system, and the super-threshold judgment on the feature values is specifically performed to judge whether the feature values exceed the boundary value of the standard numerical range, for example, the feature values are smaller than the lower boundary value of the standard numerical range or larger than the upper boundary value of the standard numerical range, and in practical application, only the situation that the feature values are larger than the upper boundary value of the standard numerical range, namely, the high explosion is generally considered. The alarm state comprises an abnormal state and a normal state, when a characteristic value exceeding a threshold exists in any shafting, the shafting is marked as the abnormal state, corresponding unit event data are generated and uploaded to an upper computer for display, and the attention of operators is prompted. When the system is the shafting in the abnormal state and the characteristic value exceeding the threshold value is detected again, the generation and uploading of the unit event are not repeated.
In the technical scheme of the invention, a first uploading time interval for uploading real-time data and a second uploading time interval for uploading historical data are respectively configured, wherein the first uploading time interval is smaller than the second uploading time interval. And uploading the real-time data to an upper computer for real-time display at a higher frequency, but not performing persistent storage. And uploading the historical data to an upper computer for persistent storage at a lower frequency.
Preferably, after the step of determining whether the alarm state of each shafting changes according to the alarm judgment result, the method further comprises:
when the alarm state of any shafting changes and the alarm state is changed from a normal state to an abnormal state, defining an abnormal period accumulation variable of the corresponding shafting and initializing a value count for the abnormal period accumulation variable ishaft =1;
When the alarm state of any shafting is unchanged and the alarm state is abnormal, accumulating the variable count for the abnormal period ishaft Accumulating, wherein the step length of each accumulation is 1;
obtaining a preconfigured count change step length count step Default sampling rate f 0 And a sampling rate change step f step
Judging the abnormal period accumulation variable count ishaft Whether or not to meetWherein Mod () is a remainder function;
when said differenceConstant period accumulated variable count ishaft Satisfy the following requirementsWhen calculating the ith shaft Sampling rate of individual shafting:
transmitting an ith to the second processor shaft A sampling rate change instruction of the individual shafting, wherein the sampling rate change instruction comprises a recalculated sampling rate f ishaft . Specifically, the remainder function refers to a function for the remainder between the dividend and the divisor in the calculation formula, e.g.The remainder of b is removed for the calculation of α.
Further, after the step of determining whether the alarm state of each shafting changes according to the alarm judgment result, the method further comprises the following steps:
when the alarm state of any shafting changes and the alarm state changes from an abnormal state to a normal state, resetting the abnormal period accumulated variable count of the corresponding shafting ishaft =0。
It should be noted that in this document 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.
Embodiments in accordance with the present invention, as described above, are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention and various modifications as are suited to the particular use contemplated. The invention is limited only by the claims and the full scope and equivalents thereof.

Claims (10)

1. The multi-core heterogeneous data acquisition device is characterized by comprising a plurality of sensors for acquiring data multiplexing data, an analog-to-digital converter for converting analog signals output by the sensors into digital signals and a controller for processing the data converted into the digital signals, wherein the sensors comprise a vibration sensor for acquiring vibration signals, the controller comprises a shared memory for caching signal data and inter-core communication data, a first processor for configuring data acquisition parameters and performing data analysis, a second processor for performing signal data packetization to generate first signal data packets and writing the first signal data packets into a sampling task buffer queue in the shared memory, and a third processor for performing data sampling on the first signal data packets according to a pre-configured sampling rate to generate second signal data packets and writing the second signal data packets into an analysis task buffer queue in the shared memory.
2. The data acquisition device of claim 1 wherein the first processor comprises a first kernel for running an operating system and applications and a second kernel for performing data analysis based on a driver running on the first kernel, the second kernel being a special purpose processor kernel of a single instruction multiple data architecture.
3. The data acquisition device of claim 1, wherein the analog-to-digital converter is a multi-channel high-speed analog-to-digital converter, the number of analog-to-digital converters satisfying:
n ADC ×ADC CH ≥n shaft +n vibr +n proc
wherein n is ADC ADC_CH is the number of channels of each analog-to-digital converter, n shaft For the number of shafting monitored, n vibr N being the number of vibration sensors proc Is the number of process quantity sensors.
4. A data processing method based on multi-core heterogeneous, applied to the data acquisition device of any one of claims 1 to 3, comprising:
the second processor is from n vibr The signal data channels respectively acquire vibration signal data obtained by detection of the vibration sensor;
the second processor packetizes the vibration signal data to generate a first signal data packet, and writes the first signal data packet into a sampling task buffer queue in the shared memory;
the third processor performs data sampling on the first signal data packet in the sampling task buffer queue to generate a second signal data packet, and the second signal data packet is written into the analysis task buffer queue in the shared memory;
the first processor performs analysis and upload operations on the second signal data packet in the analysis task buffer queue.
5. The method of claim 4, wherein the step of the second processor packetizing the vibration signal data to generate a first signal data packet for writing into a sample task buffer queue in the shared memory comprises:
reading a first configuration parameter from a shared memory, wherein the first configuration parameter comprises a packaging parameter of the first signal data packet;
reading signal data of each signal data channel from the analog-to-digital conversion module;
dividing the signal data into data blocks corresponding to the transmission data length in the packaging parameters;
encapsulating each data block into the first signal data packet;
and writing the first signal data packet into a sampling task buffer queue in the shared memory.
6. The method of claim 4, wherein the step of the third processor performing data sampling on the first signal data packet to generate a second signal data packet to be written into the analysis task buffer queue in the shared memory comprises:
reading a second configuration parameter from the shared memory, the second configuration parameter comprising a sampling rate at which data sampling is performed on the first signal data packet;
sampling the vibration signal data of the first signal data packet at equal intervals based on the sampling rate in the second configuration parameter to obtain a corresponding discrete data point sequence;
packaging the discrete data point sequence to generate the second signal data packet;
and writing the second signal data packet into an analysis task buffer queue in the shared memory.
7. The method of claim 4, wherein the step of the first processor performing analysis and uploading operations on the second signal data packet in the analysis task buffer queue comprises:
reading a third configuration parameter, wherein the third configuration parameter comprises shafting information of each signal data channel;
will be from n according to the third configuration parameter vibr Vibration signal data of the signal data channels is divided into n shaft Vibration signal data of the individual shafting;
performing time domain alignment processing on vibration signal data of each shafting;
generating data to be analyzed of each signal data channel based on the vibration signal data after performing the time domain alignment processing;
packaging the data to be analyzed to generate the second signal data packet;
and writing the second signal data packet into an analysis task buffer queue in the shared memory.
8. The method for data acquisition according to claim 7, wherein the step of performing time-domain alignment processing on the vibration signal data of each axis specifically comprises:
judging whether the vibration signal data is keyless signal data or not;
when the vibration signal data are keyless signal data, performing Fourier transform on the vibration signal data to obtain frequency domain signals of the vibration signal data;
calculating the amplitude phase of the frequency domain signal;
carrying out phase translation on frequency domain signals of vibration signal data of the same shafting according to the amplitude phase;
and performing inverse Fourier transform on the frequency domain signal after the phase shift to obtain a corresponding time domain signal.
9. The method of claim 7, wherein the step of the first processor performing analysis and uploading operations on the second signal data packet in the analysis task buffer queue comprises:
alarming and judging the data to be analyzed in the second signal data packet;
determining whether the alarm state of each shafting changes according to the alarm judgment result;
when the alarm state of any shafting changes, generating and uploading unit event data of the corresponding shafting;
and uploading real-time data and historical data according to a preset time interval for the shafting with unchanged alarm state.
10. The data acquisition method according to claim 9, further comprising, after the step of determining whether the alarm state of each axis is changed according to the result of the alarm judgment:
when the alarm state of any shafting changes and the alarm state is changed from a normal state to an abnormal state, defining an abnormal period accumulation variable of the corresponding shafting and initializing a value count for the abnormal period accumulation variable ishaft =1;
When the alarm state of any shafting is unchanged and the alarm state is abnormal, accumulating the variable count for the abnormal period ishaft Accumulating, wherein the step length of each accumulation is 1;
obtaining a preconfigured count change step length count step Default sampling rate f 0 And a sampling rate change step f step
Judging the abnormal period accumulation variable count ishaft Whether or not to meetWherein Mod () is a remainder function;
accumulating variable count when the abnormal period is over ishaft Satisfy the following requirementsWhen calculating the ith shaft Sampling rate of individual shafting:
transmitting an ith to the second processor shaft A sampling rate change instruction of the individual shafting, wherein the sampling rate change instruction comprises a recalculated sampling rate f ishaft
CN202311815933.1A 2023-12-27 2023-12-27 Multi-core heterogeneous-based data acquisition device and data processing method thereof Active CN117785512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311815933.1A CN117785512B (en) 2023-12-27 2023-12-27 Multi-core heterogeneous-based data acquisition device and data processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311815933.1A CN117785512B (en) 2023-12-27 2023-12-27 Multi-core heterogeneous-based data acquisition device and data processing method thereof

Publications (2)

Publication Number Publication Date
CN117785512A true CN117785512A (en) 2024-03-29
CN117785512B CN117785512B (en) 2024-07-12

Family

ID=90386770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311815933.1A Active CN117785512B (en) 2023-12-27 2023-12-27 Multi-core heterogeneous-based data acquisition device and data processing method thereof

Country Status (1)

Country Link
CN (1) CN117785512B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102735329A (en) * 2012-06-13 2012-10-17 中国船舶重工集团公司第七0四研究所 Device and method for monitoring vibration state of marine rotary mechanical shaft system
CN113295445A (en) * 2021-05-19 2021-08-24 郑州大学 Vibration signal acquisition and fault real-time monitoring system and method for rotary machine
CN114199364A (en) * 2021-12-14 2022-03-18 中国航发南方工业有限公司 Vibration monitoring system of aircraft engine
CN219142004U (en) * 2022-11-11 2023-06-06 中国长江三峡集团有限公司 Vibration detection device based on PLC

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102735329A (en) * 2012-06-13 2012-10-17 中国船舶重工集团公司第七0四研究所 Device and method for monitoring vibration state of marine rotary mechanical shaft system
CN113295445A (en) * 2021-05-19 2021-08-24 郑州大学 Vibration signal acquisition and fault real-time monitoring system and method for rotary machine
CN114199364A (en) * 2021-12-14 2022-03-18 中国航发南方工业有限公司 Vibration monitoring system of aircraft engine
CN219142004U (en) * 2022-11-11 2023-06-06 中国长江三峡集团有限公司 Vibration detection device based on PLC

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
安建波等: "数控机床多通道高精度振动信号采集系统设计", 《现代制造工程》, 18 June 2023 (2023-06-18), pages 138 - 143 *

Also Published As

Publication number Publication date
CN117785512B (en) 2024-07-12

Similar Documents

Publication Publication Date Title
JP6768765B2 (en) How to collect process control data and manufactured goods
US10677625B2 (en) System and methods for providing a cloud flowmeter
US11036199B2 (en) Control device, control program, and control method for anomaly detection
CN108803502B (en) Data collection device and system, data server, data collection method, and computer-readable non-volatile recording medium
US10935397B2 (en) Position-measuring device and method for operating a position-measuring device
US20080186194A1 (en) Dynamic condition monitoring system employing a multi-core processor
JP6998781B2 (en) Failure diagnosis system
CN108827454A (en) A kind of turbine shafting vibrating data collection and processing method
JP2019056701A5 (en)
CN103675324A (en) Rotation speed measurement method with anti-shake function
CN110573845B (en) Method for detecting defects in a vibration sensor, associated device and computer program
CN110346668A (en) Detection wave recording device and data monitoring method in a kind of electric system
CN117785512B (en) Multi-core heterogeneous-based data acquisition device and data processing method thereof
CN111971933B (en) Integration of diagnostic instruments with machine protection systems
CN110745163A (en) Method, system and equipment for realizing rotating speed tracking sampling
JP7017881B2 (en) Data collection system, data server and data collection method
CN111936945B (en) Flexible condition monitoring of industrial machines
EP3396337B1 (en) Torsional vibration monitoring and diagnostics system and method
US10914656B2 (en) Condition monitoring
CN209214914U (en) Rotating machinery bearing chamber vibrates examination value calibration facility
Rodrigues et al. Modular Data Acquisition Architecture for Thin-Film Sensors Surfaces
CN111295625B (en) Abnormality detection method, abnormality detection system and abnormality detection storage medium for process instrument
CN111446891B (en) Configurable high-speed parallel detection method, system and medium for motor speed and position
Zhining et al. Vehicle fault diagnose based on smart sensor
CN202628679U (en) Hydraulic cylinder fault detection device based on multi-sensor information fusion

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
GR01 Patent grant
GR01 Patent grant