CN115265982A - Sampling control method of multi-module data acquisition unit and multi-module data acquisition unit - Google Patents
Sampling control method of multi-module data acquisition unit and multi-module data acquisition unit Download PDFInfo
- Publication number
- CN115265982A CN115265982A CN202210912031.9A CN202210912031A CN115265982A CN 115265982 A CN115265982 A CN 115265982A CN 202210912031 A CN202210912031 A CN 202210912031A CN 115265982 A CN115265982 A CN 115265982A
- Authority
- CN
- China
- Prior art keywords
- signal acquisition
- sampling
- module
- dynamic signal
- synchronous
- 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
Links
- 238000005070 sampling Methods 0.000 title claims abstract description 231
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000001360 synchronised effect Effects 0.000 claims abstract description 142
- 230000008569 process Effects 0.000 claims description 22
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000012423 maintenance Methods 0.000 abstract description 3
- 238000004519 manufacturing process Methods 0.000 abstract description 3
- 238000004458 analytical method Methods 0.000 description 16
- 238000003745 diagnosis Methods 0.000 description 13
- 230000004927 fusion Effects 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000010183 spectrum analysis Methods 0.000 description 3
- 238000013139 quantization Methods 0.000 description 2
- 230000004888 barrier function Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M7/00—Vibration-testing of structures; Shock-testing of structures
- G01M7/02—Vibration-testing by means of a shake table
- G01M7/025—Measuring arrangements
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01H—MEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
- G01H1/00—Measuring characteristics of vibrations in solids by using direct conduction to the detector
- G01H1/003—Measuring characteristics of vibrations in solids by using direct conduction to the detector of rotating machines
- G01H1/006—Measuring characteristics of vibrations in solids by using direct conduction to the detector of rotating machines of the rotor of turbo machines
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01H—MEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
- G01H17/00—Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves, not provided for in the preceding groups
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/05—Digital input using the sampling of an analogue quantity at regular intervals of time, input from a/d converter or output to d/a converter
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/1205—Multiplexed conversion systems
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/124—Sampling or signal conditioning arrangements specially adapted for A/D converters
- H03M1/1245—Details of sampling arrangements or methods
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Abstract
The invention belongs to the field of intelligent manufacturing and equipment predictive maintenance, and particularly relates to a sampling control method of a multi-module data collector and the multi-module data collector, which comprise the following steps: when synchronous sampling is needed among dynamic signal acquisition modules in the collector and key phase signals exist, key phase signal acquisition channels of all the dynamic signal acquisition modules needing to be synchronized are connected with the same key phase signal, a main control module in the collector sends synchronous sampling instructions to all the dynamic signal acquisition modules needing to be synchronized, all the dynamic signal acquisition modules needing to be synchronized determine sampling frequency according to the received key phase signals, and synchronously use vibration signal acquisition channels corresponding to all the dynamic signal acquisition modules to perform sampling according to the synchronous sampling instructions and the determined sampling frequency so as to realize synchronous whole-period sampling among all the dynamic signal acquisition modules; therefore, the invention is used for realizing the whole-period synchronous sampling among the plurality of acquisition modules.
Description
Technical Field
The invention belongs to the field of intelligent manufacturing and equipment predictive maintenance, and particularly relates to a sampling control method of a multi-module data collector and the multi-module data collector.
Background
The vibration signal generated when the rotating mechanical equipment runs can reflect the running condition of the mechanical equipment, and an important basis is provided for fault diagnosis. Where phase and amplitude are important objects for field device detection, a computer is typically used to perform spectral analysis on discrete data of a certain length. However, when performing spectral analysis on a signal using FFT, the analysis accuracy depends on aliasing effects, quantization errors, spectral leakage, and fence effects. The aliasing effect and the quantization error can be controlled within the precision range through an aliasing filter and an analog-digital converter with matched precision; for the frequency spectrum leakage and the barrier effect, if the intercepted discrete signal does not meet the condition of the whole period, a larger error is generated, the vibration analysis precision is influenced, and the fault diagnosis is not facilitated.
Therefore, in the process of performing equipment health management and fault diagnosis, correct completion of data acquisition is a very important link. When the frequency spectrum analysis and the fault diagnosis of the signals are carried out, the whole period sampling is needed, namely the sampling frequency of the vibration signals of the rotating machinery is determined according to a certain multiple of the frequency corresponding to the instantaneous speed of the rotor, so that the energy leakage of the acquired signals is reduced. However, in order to make the acquired multipath signals comparable for cross-contrast analysis and data fusion to identify equipment faults, strict synchronization of the signals between the multiple channels is required. This puts higher design requirements on digital acquisition equipment, especially data acquisition equipment for vibration signals of industrial equipment.
Disclosure of Invention
The invention aims to provide a sampling control method of a multi-module data acquisition device and the multi-module data acquisition device, which are used for realizing the synchronous sampling of the whole period among a plurality of acquisition modules in digital acquisition equipment.
In order to solve the technical problems, the technical scheme provided by the invention and the corresponding beneficial effects of the technical scheme are as follows:
the invention relates to a sampling control method of a multi-module data acquisition unit, which comprises the following steps:
when synchronous sampling is needed among dynamic signal acquisition modules in the collector and key phase signals exist, key phase signal acquisition channels of the dynamic signal acquisition modules needing to be synchronized are connected with the same key phase signal, a main control module in the collector sends synchronous sampling instructions to the dynamic signal acquisition modules needing to be synchronized, the dynamic signal acquisition modules needing to be synchronized determine sampling frequency according to the received key phase signals, and synchronously use vibration signal acquisition channels corresponding to the dynamic signal acquisition modules to perform sampling according to the synchronous sampling instructions and the determined sampling frequency, so that synchronous whole-period sampling among the dynamic signal acquisition modules is realized.
The beneficial effects of the above technical scheme are: the invention uses the main control module to uniformly send synchronous sampling instructions to each dynamic signal acquisition module which needs to be synchronized so as to ensure that the modules simultaneously execute sampling, and uses uniform key phase signals to set the same sampling frequency for sampling among the dynamic signal acquisition modules. Specifically, the key phase signal is a signal of a key phase sensor mounted on the vibration device, in actual operation, one key phase pulse is generated every time the rotor of the vibration device rotates, and the device rotation speed can be calculated according to the time interval of the key phase pulse. And setting the number of sampling points in each period according to the rotating speed to obtain the sampling frequency of the vibration signal, triggering sampling when the edge of the key phase pulse arrives, and continuously acquiring a dynamic vibration waveform with a certain length to realize synchronous whole-period sampling. Therefore, the invention can meet the requirement of multi-channel cross comparison in the process of synchronous whole-period sampling among the acquisition modules for subsequent signal analysis and fault diagnosis of equipment, is convenient for multi-channel data fusion analysis and increases the accuracy and reliability of analysis and diagnosis.
Furthermore, when synchronous sampling is not needed among the dynamic signal acquisition modules and key phase signals exist, the key phase signal acquisition channels of the dynamic signal acquisition modules which do not need to be synchronous are connected with the corresponding key phase signals; the main control module sends synchronous sampling instructions to the dynamic signal acquisition modules which do not need to be synchronized, the dynamic signal acquisition modules which do not need to be synchronized determine corresponding sampling frequencies according to the received key phase signals, and the dynamic signal acquisition modules synchronously perform sampling by using a plurality of vibration signal acquisition channels corresponding to the dynamic signal acquisition modules according to the determined sampling frequencies and the key phase signals.
Further, when no key phase signal exists, the master control module sends a synchronous sampling instruction to each dynamic signal acquisition module, and each dynamic signal acquisition module synchronously performs sampling by using a plurality of vibration signal acquisition channels corresponding to each dynamic signal acquisition module according to the sampling frequency set by the master control module.
Further, the implementation manner of synchronously sampling the vibration signal acquisition channel in the dynamic signal acquisition module includes: the counter sets up the count value according to the sampling frequency of the vibration signal acquisition passageway that needs synchronous sampling to trigger each vibration signal acquisition passageway and sample simultaneously, the vibration signal that the sampling ware used the counter to count and keep sampling obtains, so that follow-up vibration signal that will gather carries out analog-to-digital conversion.
The beneficial effects of the above technical scheme are: the invention sets a count value according to the sampling frequency, adopts the same counter to count so as to set sampling pulses, samples each channel in the dynamic signal acquisition module according to pulse information sent by the counter after counting, then uses a sampling holder to carry out timing and holding, and adopts the timer when timing and holding, and converts the acquired vibration signals into digital signals according to time in sequence, thereby ensuring the synchronous sampling of each channel in the acquisition module. Therefore, the multi-channel synchronous sampling method meets the requirement of multi-channel cross comparison in the subsequent signal analysis and fault diagnosis process of the equipment by synchronous sampling of multiple channels in a single acquisition module, is convenient for multi-channel data fusion analysis, and increases the accuracy and reliability of analysis and diagnosis.
Further, before the master control module sends a synchronous sampling instruction to each dynamic signal acquisition module to be synchronized, a synchronous request instruction needs to be sent to each dynamic signal acquisition module to be synchronized, and each dynamic signal acquisition module needs to reply to a synchronous ready state after receiving the synchronous request instruction.
The invention relates to a multi-module data acquisition device, which comprises a main control module and an expansion module; the expansion module comprises a plurality of dynamic signal acquisition modules, and the main control module is connected with the plurality of dynamic signal acquisition modules; the dynamic signal acquisition module comprises a plurality of vibration signal acquisition channels and key phase signal acquisition channels; the key phase signal acquisition channel is used for acquiring key phase signals of a key phase sensor arranged on the mechanical equipment; the vibration signal acquisition channel is used for acquiring vibration signals of mechanical equipment; the master control module and the plurality of dynamic signal acquisition modules adopt the sampling control method of the multi-module data acquisition device to carry out synchronous sampling.
The beneficial effects of the above technical scheme are: the invention uses the main control module to uniformly send synchronous sampling instructions to each dynamic signal acquisition module which needs to be synchronized so as to ensure that the modules simultaneously execute sampling, and uses uniform key phase signals to set the same sampling frequency and the same sampling time according to the same key phase signals between each dynamic signal acquisition module so as to ensure synchronous whole-period sampling. Specifically, when a key phase sensor and a vibration sensor are installed to measure a dynamic vibration signal of a rotating machine, one key phase pulse is generated every time a rotor rotates, and the rotating speed of the machine can be calculated according to the time interval of the key phase pulses. The sampling frequency of the vibration signal is obtained by setting the number of sampling points in each period according to the rotating speed, and the sampling is triggered when the edge of the key phase pulse arrives. Therefore, the invention can meet the synchronous whole-period sampling among the acquisition modules and the synchronous sampling of multiple channels in a single acquisition module, so as to meet the requirement of multi-channel cross comparison in the subsequent signal analysis and fault diagnosis processes of equipment, facilitate the multi-channel data fusion analysis and increase the accuracy and reliability of analysis and diagnosis.
Furthermore, the expansion module also comprises at least one process signal acquisition module and at least one switching value module; the process signal acquisition module is used for acquiring process signals including temperature and/or pressure; the switching value module is used for collecting and controlling switching value signals; the process signal acquisition module and the switching value module are connected with the main control module.
Further, the master control module is connected with the dynamic signal acquisition module through a USB bus interface, and is configured to send a synchronization request instruction to the dynamic signal acquisition module and receive a vibration signal of the mechanical device acquired by the dynamic signal acquisition module; the main control module is connected with the process signal acquisition module and the switching value module through a CAN bus interface and is used for receiving signals acquired by the process signal acquisition module and the switching value module; the master control module is also connected with the dynamic signal acquisition module through a GPIO interface and is used for sending a synchronous sampling instruction to the dynamic signal acquisition module.
Further, a GPIO port for sending a synchronous sampling command is connected to the external interrupt interface of each dynamic signal acquisition module.
Furthermore, synchronous sampling of a plurality of vibration signal acquisition channels in the dynamic signal acquisition module is realized through a synchronous sampling circuit in the module; the synchronous sampling circuit includes: the system comprises an analog-to-digital converter, a multi-way switch, a counter and sampling holders which are connected with all vibration signal acquisition channels of a dynamic signal acquisition module in a one-to-one corresponding mode; the counter is used for setting a count value according to the sampling frequency of the vibration signal acquisition channels needing synchronous sampling so as to trigger each vibration signal acquisition channel to perform sampling simultaneously; the sampling retainer is connected with the counter and is used for timing and retaining the sampled vibration signal; all the sampling holders are connected with the analog-to-digital converter through a multi-way switch, and the multi-way switch enables all the sampling holders to be communicated with the analog-to-digital converter one by one so as to input the vibration signals held by the sampling holders to the analog-to-digital converter for analog-to-digital conversion in sequence.
The beneficial effects of the above technical scheme are: the invention sets the count value according to the sampling frequency, and adopts the same counter and the same sampling starting time for sampling, each channel in the dynamic signal acquisition module samples according to the pulse information sent by the counter after the counting is finished, and then uses the sampling holder for timing and holding, the same timer is adopted during the timing and holding, and under the control of the multi-way switch, the analog-to-digital converter converts the vibration signals obtained by sampling into digital signals in sequence according to the timing time, thereby realizing the synchronous sampling of each channel in the acquisition module. Therefore, the multi-channel synchronous sampling method meets the requirement of multi-channel cross comparison in the subsequent signal analysis and fault diagnosis process of the equipment by synchronous sampling of multiple channels in a single acquisition module, is convenient for multi-channel data fusion analysis, and increases the accuracy and reliability of analysis and diagnosis.
Drawings
FIG. 1 is a schematic diagram of the components of the modular harvester of the present invention;
FIG. 2 is a schematic view of the electrical connections of the interfaces between the modules of the present invention;
FIG. 3 is a graph of the relationship between a key phase signal and a synchronously sampled vibration signal of the present invention;
FIG. 4 is a flow chart of the synchronous sampling control of the present invention;
FIG. 5 is a block diagram of the synchronous sampling and sampling frequency setting structure within the acquisition module of the present invention;
fig. 6 is a schematic diagram of the control flow of synchronous sampling between modules of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments.
An embodiment of a multi-module data collector:
as shown in fig. 1, the collector of the present invention adopts a modular structural design, and includes a main control module and an expansion module. The expansion module comprises a dynamic signal acquisition module, a process signal acquisition module and a switching value module. The dynamic signal acquisition module is used for acquiring dynamic signals such as vibration of mechanical equipment, the process signal acquisition module is used for acquiring process signals such as temperature and pressure, and the switching value module is used for acquiring and controlling switching value signals.
The main control module mainly completes the sampling control and preprocessing of signals of each dynamic signal acquisition module and the communication forwarding of data to the server. Structurally, the connection of the main control module and the extension module adopts a side connection mode, and the modules are cascaded through the opposite insertion interfaces. The main control module and each expansion module are connected together in a side interface mode and then are installed on a guide rail of a case or a cabinet. The main control module controls each expansion module to work, collects data of each expansion module, and carries out edge calculation and communication forwarding of the data to a service. Specifically, as shown in fig. 2, the main control module establishes an electrical connection with the expansion module through a USB bus, a CAN bus, and a GPIO interface; the USB bus interface is used for communicating with the dynamic vibration module, the CAN bus interface is used for communicating with the process module and the switching value module, and the GPIO is used for setting a trigger signal for synchronous sampling between the dynamic modules.
The synchronous sampling method of the modular collector mainly aims at the fact that a plurality of dynamic signal collecting modules are used, interfaces connecting the main control module and the dynamic signal collecting modules are USB interfaces and GPIO interfaces, wherein the USB interfaces are used for data transmission and sending synchronous request instructions, the synchronous request instructions are used for informing the dynamic signal collecting modules to enter a synchronous sampling ready state, the GPIO interfaces are used for sampling trigger control, namely sending synchronous sampling instructions, and the synchronous sampling instructions are used for informing the dynamic signal collecting modules to perform sampling simultaneously.
During specific work, as shown in fig. 2, the main control module and the dynamic signal expansion module issue instructions and transmit data through the USB interface, and the main control module issues instructions and transmits data through the CAN bus between the process module and the switching value module. When a plurality of dynamic signal acquisition modules are required to acquire synchronously, the main control module sends synchronous pulses to each dynamic signal acquisition module through the GPIO port. Each dynamic signal acquisition module comprises a key phase signal acquisition channel except for N (such as 8) vibration signal acquisition channels. The key phase signal acquisition channel is used for acquiring key phase signals of a key phase sensor arranged on the vibration equipment; the vibration signal acquisition channel is used for acquiring a vibration signal of the vibration equipment.
As shown in fig. 3, a key phase sensor and a vibration sensor are mounted on the rotary machine, and the key phase sensor is connected with a key phase signal acquisition channel; the vibration sensor is connected with the vibration signal acquisition channel. When the dynamic vibration signal of the rotating machine is measured, a key phase pulse is generated every time the rotor rotates for one circle, and the rotating speed of the equipment can be calculated according to the time interval of the key phase pulse. And setting the number of sampling points in each period according to the rotating speed to obtain the sampling frequency of the vibration signal, triggering sampling when the edge of the key phase pulse arrives, and continuously acquiring a dynamic vibration waveform with a certain length to realize synchronous whole-period sampling.
Synchronous sampling control is carried out on each vibration signal acquisition channel in the dynamic signal acquisition module, the sampling frequency is set through the count value of a counter, and each vibration signal acquisition channel adopts the same sampling clock, so that the acquisition synchronization is ensured; and then, the held signals are sequentially converted through a multi-way switch, and the sampling and holding circuits of all channels adopt the same clock signal, so that the sampling synchronism is ensured.
The dynamic signal acquisition module is internally set to adopt a synchronous sampling mode by default, whether the dynamic signal acquisition module adopts a whole-period sampling mode or not is set according to the difference of key phase signals, and when the key phase signals exist, a synchronous whole-period mode is adopted. In the absence of a key phase signal, only the sampling synchronization of each channel is maintained.
The plurality of dynamic signal acquisition modules are set to be synchronous or not according to requirements, and sometimes, one part of the dynamic signal acquisition modules are required to be synchronous for sampling, and the other part of the dynamic signal acquisition modules are not required to be synchronous for sampling; sometimes it is desirable that all dynamic signal acquisition modules sample synchronously. For example, a part of the dynamic signal acquisition modules are arranged at different measuring points of the same rotating speed shaft of the rotating machine and used for measuring vibration signals of the same rotor, and the dynamic signal acquisition modules need to synchronously sample; and the other part of dynamic signal acquisition module is used for measuring the vibration signals of other equipment, so that synchronous sampling is not needed between the two parts of dynamic signal acquisition modules.
As shown in fig. 4, which is a flowchart at the time of sampling control, when there is no key phase signal, sampling parameters may be set by software, the sampling parameters include a sampling frequency, and the sampling frequency is empirically set. And the main control module sends sampling parameters to each dynamic signal acquisition module according to the sampling and starts the sampling. When key phase signals exist and synchronization among the dynamic signal acquisition modules is not needed, each dynamic signal acquisition module is provided with an independent key phase channel and is connected with the independent key phase channel signals. When key phase signals exist and synchronous acquisition is required among the dynamic signal acquisition modules, the key phase channels of the dynamic vibration modules are connected together, and the same sampling parameters are set according to the key phase pulses for sampling.
When synchronous whole-period sampling is needed among a plurality of modules, all the key phase trigger signals are connected together. The time difference between the two pulse edges of the key phase signal can be used to calculate the device speed; and setting the number of sampling points in each period according to the measured rotating speed to obtain the sampling frequency. When the key phase pulse edge comes, the sampling is triggered according to the set sampling frequency, and the synchronous whole-period sampling of the channels among the modules is realized. Synchronous sampling control of each channel among modules is realized, when synchronous sampling of each channel among different vibration acquisition modules is to be realized, because each dynamic signal acquisition module is controlled by an independent CPU, an instruction form of a master-slave structure is required to be adopted, a master control module sends a synchronous request instruction, each dynamic signal acquisition module triggers interruption when receiving the instruction, and sends a synchronous ready signal to the master control module after the task currently executed by each module is completed, and enters a sampling waiting state. After the master control module receives all synchronous ready signals, a sampling control signal is sent to each dynamic signal acquisition module, each dynamic signal acquisition module receives the control signal in a hardware interrupt mode, and an AD converter (analog-to-digital converter) in each dynamic signal acquisition module is triggered to work, so that synchronous sampling is realized.
The detailed flow steps of synchronous sampling control are as follows:
s1, judging whether a key phase signal exists or not.
S21, if no key phase signal exists;
s211, setting parameters such as sampling frequency through software, wherein the sampling frequency is set according to experience;
s212, the main control module requests data from the dynamic signal acquisition module, namely, sends a synchronous request command;
s213, after receiving the master control instruction, each dynamic signal acquisition module performs sampling according to sampling parameters, so that the synchronism among the modules is not ensured;
and S214, each dynamic signal acquisition module transmits sampling result data to the master control.
S22, if a key phase signal exists;
and S3, judging whether the modules need to be synchronized.
S31, if the modules need to be synchronized;
s311, each dynamic signal acquisition module needing synchronization adopts the same key phase signal to externally trigger sampling;
s312, the master control requests data from each dynamic signal acquisition module needing synchronization;
s313, after receiving the master control sampling request, each dynamic signal acquisition module replies a synchronous ready state to the master control to wait for starting a sampling instruction;
and S314, the master controller sends out a synchronous signal, namely a synchronous sampling instruction, to each module through the IO port. After each module receives the synchronous signal, starting sampling;
and S315, sampling synchronism among modules and in the modules is guaranteed through external synchronization pulses and internal logics of each dynamic signal acquisition module. And each module transmits the data to the main control module respectively and generates data time labels in groups.
S32, if the modules do not need to be synchronized;
s321, each dynamic signal acquisition module adopts independent key phase signals to externally trigger sampling;
s322, the master control requests data from each dynamic signal acquisition module;
s323, after receiving the master control sampling request, each dynamic signal acquisition module calculates the respective rotating speed according to the key phase pulse interval and sets the sampling rate according to the rotating speed;
s324, after each dynamic signal acquisition module sets a sampling rate parameter, starting sampling when the next key phase pulse arrives, and ensuring data synchronization in the modules;
and S325, each dynamic signal acquisition module transmits the sampling parameters and the sampling data to a master control respectively, and the modules do not ensure synchronism.
The synchronous sampling circuit implemented as fig. 5 performs synchronous sampling among a plurality of vibration signal acquisition channels in the same dynamic signal acquisition module, and the sampling frequency is obtained by frequency division of a counter. The counter works in a descending mode, when the counting value is equal to the set value, a pulse is output, the counter is reset and counted again,thus, a signal output from an IO port controlled by the counter is equal to a sampling frequency, and a sampling frequency clock is connected to a sampling holder on the sampling channel, for example, in fig. 5, a vibration signal acquisition channel 1 (vibration signal acquisition channel) corresponds to a sampling holder 1 (specifically, a sampling holder), a vibration signal acquisition channel 2 corresponds to a sampling holder 2 (specifically, a sampling holder), and a vibration signal acquisition channel N corresponds to a sampling holder N (specifically, a sampling holder)Sample holder) for controlling the multi-way switch to convert the held signals one by the analog-to-digital converter (analog-to-digital conversion in fig. 5) to realize synchronous data acquisition of the signals.
Fig. 6 shows a synchronous whole-period sampling control flow between the dynamic signal acquisition modules. The main control module sends a synchronous request instruction to each module at one time through the USB interface; after receiving the instruction, each module enters a synchronous pulse waiting state in sequence; after receiving all ready signals, the main control module sends out synchronous pulses through the GPIO ports, the synchronous pulse signals are connected with the external interrupt interfaces of each dynamic signal acquisition module, and each dynamic signal acquisition module detects the synchronous pulses through IRQ interrupt triggered by the edges. If the key phase signal exists, the dynamic signal acquisition module sends out a sampling pulse to start sampling when the next key phase pulse after receiving the synchronous pulse arrives. At this time, if no key phase signal exists, each dynamic signal acquisition module immediately sends out a sampling pulse to start sampling, and synchronization among the modules is realized. The synchronous sampling control flow among the specific modules comprises the following steps:
1) The master control module sequentially sends synchronous sampling requests to the dynamic signal acquisition modules through the USB interfaces;
2) After receiving the request command in sequence, each dynamic signal acquisition module respectively replies a ready signal to the master control module and enters a waiting state.
3) After receiving all ready signals, the main control module sends out synchronous pulses through the GPIO port, and the synchronous pulse signals are connected with the external interrupt interface of each dynamic signal acquisition module.
4) Each vibration module detects a synchronous pulse through IRQ interruption triggered by the edge, and judges whether a key phase signal exists for sampling;
5) And if the key phase signal exists, each dynamic signal acquisition module sends out a sampling pulse when the next key phase pulse arrives, and starts sampling.
The invention relates to a synchronous sampling control method of a multi-module data acquisition unit, belonging to the field of intelligent manufacturing and equipment predictive maintenance. The method comprises the following steps: 1) Designing a data acquisition unit by adopting a structure of a main control module and an expansion module; 2) The main control module and the expanded dynamic signal acquisition module realize data interaction in a USB communication mode; 3) Synchronous whole-period sampling of a plurality of channels in the extended dynamic signal acquisition module is realized through circuit design and logic control; 4) The synchronous whole-period sampling among the modules is realized among the plurality of expanded dynamic signal acquisition modules through circuit design and program logic control. The circuit and the program design of the invention complete the synchronous sampling of a plurality of acquisition channels in the module and among the modules, and have important significance for the data fusion and the cross analysis of multi-channel signals and the improvement of the reliability of equipment diagnosis.
An embodiment of a sampling control method of a multi-module data acquisition unit comprises the following steps:
the embodiment of the sampling control method of the multi-module data acquisition unit comprises the following steps:
when synchronous sampling is needed among dynamic signal acquisition modules in the collector and key phase signals exist, key phase signal acquisition channels of the dynamic signal acquisition modules needing to be synchronized are connected with the same key phase signal, a main control module in the collector sends synchronous sampling instructions to the dynamic signal acquisition modules needing to be synchronized, the dynamic signal acquisition modules needing to be synchronized determine sampling frequency according to the received key phase signals, and synchronously use vibration signal acquisition channels corresponding to the dynamic signal acquisition modules to perform sampling according to the set sampling frequency and the synchronous sampling instructions, so that synchronous whole-period sampling among the dynamic signal acquisition modules is realized.
The sampling control method of the multi-module data collector of the invention is clearly and completely introduced in the embodiment of the multi-module data collector of the invention, so the embodiment is not described in detail.
Claims (10)
1. A sampling control method of a multi-module data acquisition unit is characterized in that: the method comprises the following steps:
when synchronous sampling is needed among dynamic signal acquisition modules in the collector and key phase signals exist, key phase signal acquisition channels of the dynamic signal acquisition modules needing to be synchronized are connected with the same key phase signal, a main control module in the collector sends synchronous sampling instructions to the dynamic signal acquisition modules needing to be synchronized, the dynamic signal acquisition modules needing to be synchronized determine sampling frequency according to the received key phase signal, and vibration signal acquisition channels corresponding to the dynamic signal acquisition modules are used for synchronous sampling according to the synchronous sampling instructions and the determined sampling frequency, so that synchronous whole-period sampling among the dynamic signal acquisition modules is realized.
2. The sampling control method of the multi-module data collector according to claim 1, characterized in that: when synchronous sampling is not needed among the dynamic signal acquisition modules and key phase signals exist, the key phase signal acquisition channels of the dynamic signal acquisition modules which do not need to be synchronous are connected with the corresponding key phase signals; the main control module sends synchronous sampling instructions to the dynamic signal acquisition modules which do not need to be synchronized, the dynamic signal acquisition modules which do not need to be synchronized determine corresponding sampling frequencies according to the received key phase signals, and the dynamic signal acquisition modules synchronously perform sampling by using a plurality of vibration signal acquisition channels corresponding to the dynamic signal acquisition modules according to the determined sampling frequencies and the key phase signals.
3. The sampling control method of the multi-module data collector according to claim 1, characterized in that: when no key phase signal exists, the main control module sends a synchronous sampling instruction to each dynamic signal acquisition module, and each dynamic signal acquisition module synchronously samples by using a plurality of vibration signal acquisition channels corresponding to each dynamic signal acquisition module according to the sampling frequency set by the main control module.
4. The sampling control method of the multi-module data collector according to claim 1, characterized in that: the implementation mode of synchronously sampling the vibration signal acquisition channel in the dynamic signal acquisition module comprises the following steps: the counter sets a count value according to the sampling frequency of the vibration signal acquisition channels needing synchronous sampling so as to trigger each vibration signal acquisition channel to carry out sampling simultaneously, and the sampling retainer uses the counter to count and retain the vibration signals obtained by sampling so as to carry out analog-to-digital conversion on the vibration signals obtained by sampling subsequently.
5. The sampling control method of the multi-module data collector according to claim 1, characterized in that: before the main control module sends a synchronous sampling instruction to each dynamic signal acquisition module needing to be synchronized, a synchronous request instruction needs to be sent to each dynamic signal acquisition module needing to be synchronized, and each dynamic signal acquisition module needs to reply to a synchronous ready state after receiving the synchronous request instruction.
6. A kind of multi-module data collector, characterized by that: the collector comprises a main control module and an expansion module; the expansion module comprises a plurality of dynamic signal acquisition modules, and the main control module is connected with the plurality of dynamic signal acquisition modules; the dynamic signal acquisition module comprises a plurality of vibration signal acquisition channels and key phase signal acquisition channels; the key phase signal acquisition channel is used for acquiring key phase signals of a key phase sensor arranged on the mechanical equipment; the vibration signal acquisition channel is used for acquiring vibration signals of mechanical equipment; the main control module and the plurality of dynamic signal acquisition modules adopt the sampling control method of the multi-module data acquisition unit as claimed in any one of claims 1 to 5 to perform synchronous sampling.
7. The multi-module data collector of claim 6, wherein: the expansion module also comprises at least one process signal acquisition module and at least one switching value module; the process signal acquisition module is used for acquiring process signals including temperature and/or pressure; the switching value module is used for collecting and controlling switching value signals; the process signal acquisition module and the switching value module are connected with the main control module.
8. The multi-module data collector of claim 7, wherein: the main control module is connected with the dynamic signal acquisition module through a USB bus interface and is used for sending a synchronization request instruction to the dynamic signal acquisition module and receiving a vibration signal of the mechanical equipment acquired by the dynamic signal acquisition module; the main control module is connected with the process signal acquisition module and the switching value module through a CAN bus interface and is used for receiving signals acquired by the process signal acquisition module and the switching value module; the master control module is also connected with the dynamic signal acquisition module through a GPIO interface and is used for sending a synchronous sampling instruction to the dynamic signal acquisition module.
9. The multi-module data collector of claim 8, wherein: and the GPIO port for sending the synchronous sampling instruction is connected with the external interrupt interface of each dynamic signal acquisition module.
10. The multi-module data collector of claim 6, wherein: synchronous sampling of a plurality of vibration signal acquisition channels in the dynamic signal acquisition module is realized through a synchronous sampling circuit in the module; the synchronous sampling circuit includes: the system comprises an analog-to-digital converter, a multi-way switch, a counter and sampling holders which are connected with all vibration signal acquisition channels of a dynamic signal acquisition module in a one-to-one corresponding mode; the counter is used for setting a count value according to the sampling frequency of the vibration signal acquisition channels needing synchronous sampling so as to trigger each vibration signal acquisition channel to sample simultaneously; the sampling retainer is connected with the counter and is used for timing and retaining the sampled vibration signal; all the sampling holders are connected with the analog-to-digital converter through a multi-way switch, and the multi-way switch enables all the sampling holders to be communicated with the analog-to-digital converter one by one so as to input the vibration signals held by the sampling holders to the analog-to-digital converter for analog-to-digital conversion in sequence.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210912031.9A CN115265982A (en) | 2022-07-29 | 2022-07-29 | Sampling control method of multi-module data acquisition unit and multi-module data acquisition unit |
LU506699A LU506699B1 (en) | 2022-07-29 | 2023-06-30 | Sampling control method of multi-module data collector, and multi-module data collector |
PCT/CN2023/104430 WO2024022019A1 (en) | 2022-07-29 | 2023-06-30 | Sampling control method of multi-module data collector, and multi-module data collector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210912031.9A CN115265982A (en) | 2022-07-29 | 2022-07-29 | Sampling control method of multi-module data acquisition unit and multi-module data acquisition unit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115265982A true CN115265982A (en) | 2022-11-01 |
Family
ID=83746237
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210912031.9A Pending CN115265982A (en) | 2022-07-29 | 2022-07-29 | Sampling control method of multi-module data acquisition unit and multi-module data acquisition unit |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN115265982A (en) |
LU (1) | LU506699B1 (en) |
WO (1) | WO2024022019A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024022019A1 (en) * | 2022-07-29 | 2024-02-01 | 郑州恩普特科技股份有限公司 | Sampling control method of multi-module data collector, and multi-module data collector |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118377748B (en) * | 2024-06-25 | 2024-09-17 | 深圳市中电电力技术股份有限公司 | Dynamic sampling data synchronization method and system |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3112188A1 (en) * | 1980-03-31 | 1982-01-14 | Hitachi, Ltd., Tokyo | METHOD AND DEVICE FOR MONITORING THE VIBRATION OF A ROTATING SHAFT |
CN102116670B (en) * | 2010-01-05 | 2012-08-08 | 华北电力科学研究院有限责任公司 | Vibration acquisition and analysis method |
CN102155984B (en) * | 2010-12-30 | 2013-04-10 | 北京四方继保自动化股份有限公司 | General vibration signal measuring system of fan |
JP2013228245A (en) * | 2012-04-25 | 2013-11-07 | Toshiba Corp | Vibration measuring system and vibration measuring method |
CN102735329A (en) * | 2012-06-13 | 2012-10-17 | 中国船舶重工集团公司第七0四研究所 | Device and method for monitoring vibration state of marine rotary mechanical shaft system |
CN107478182A (en) * | 2017-06-23 | 2017-12-15 | 江西飞尚科技有限公司 | A kind of multi-channel synchronous vibrating wire acquirer |
CN110493744B (en) * | 2019-08-20 | 2022-02-01 | 郑州大学 | Data synchronous acquisition method and system of master-slave wireless sensor |
CN112085930B (en) * | 2020-09-14 | 2022-06-03 | 武汉瑞莱保科技有限公司 | Intelligent monitoring and early warning system and method for generator set |
CN113390505B (en) * | 2021-08-17 | 2021-12-14 | 北京博华信智科技股份有限公司 | Vibration protection method and system for multi-channel synchronous acquisition |
CN115265982A (en) * | 2022-07-29 | 2022-11-01 | 郑州恩普特科技股份有限公司 | Sampling control method of multi-module data acquisition unit and multi-module data acquisition unit |
-
2022
- 2022-07-29 CN CN202210912031.9A patent/CN115265982A/en active Pending
-
2023
- 2023-06-30 WO PCT/CN2023/104430 patent/WO2024022019A1/en unknown
- 2023-06-30 LU LU506699A patent/LU506699B1/en active IP Right Grant
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024022019A1 (en) * | 2022-07-29 | 2024-02-01 | 郑州恩普特科技股份有限公司 | Sampling control method of multi-module data collector, and multi-module data collector |
Also Published As
Publication number | Publication date |
---|---|
LU506699B1 (en) | 2024-05-27 |
WO2024022019A1 (en) | 2024-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
LU506699B1 (en) | Sampling control method of multi-module data collector, and multi-module data collector | |
CN101958785B (en) | Transfer time difference-based numerical control system on-site bus time synchronization method and device | |
CN101777796A (en) | DSP (Digital Signal Processor)-based distributed fault recorder for electric system | |
CN109683567B (en) | RS485 network-based system clock synchronization method | |
CN101533052B (en) | Testing system and method for PWM fan electrical performance | |
WO2015043337A1 (en) | Automatic calibration method and dedicated device for clock synchronization | |
CN104506376A (en) | Multichannel redundant CAN (Controller Area Network) bus test system with frame start sensitive synchronous trigger function | |
CN108322291B (en) | Multi-axis servo operation data monitoring method based on serial bus | |
CN100362449C (en) | Fan monitoring device and its monitoring method | |
CN110346668A (en) | Detection wave recording device and data monitoring method in a kind of electric system | |
CN107505883A (en) | A kind of highly reliable dual redundant integrated control module based on microcontroller | |
CN216959432U (en) | Wireless metering system suitable for medium and low voltage distribution network | |
CN114167839B (en) | Nuclear power plant DCS system response time testing device and method | |
CN109358256A (en) | The arrester on-line monitoring system of synchronized sampling is realized in RS485 communication | |
CN109407752A (en) | The synchronous GIS breaker on-line monitoring system of clock is realized in RS485 communication | |
CN113608065B (en) | Multi-direct-current system looped network fault monitoring device and method | |
CN117741423A (en) | Multi-fracture breaker fault monitoring mechanical parameter synchronous measurement method and system | |
CN110907693A (en) | Compact peripheral interconnection bus board card | |
CN105527882A (en) | Data monitoring and collecting system of electronic equipment | |
CN110632899A (en) | Cooperative control method and system for distributed energy station multi-energy supply network | |
CN106371399B (en) | A kind of numerical control device machining information acquisition system and method | |
Jiang et al. | Wireless network performance test in hybrid wired/wireless network system | |
CN116996154A (en) | Synchronous acquisition system and method based on EtherCAT | |
CN110763947A (en) | Statistical device for synchronous line loss and using method thereof | |
CN220419830U (en) | Large programmable automatic controller integrating residual voltage frequency measurement function |
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 |