Data collection method, apparatus and system, and readable storage medium and program product

The data acquisition system with multiple channels and multiple acquisition strategies solves the problems of channel waste and messy wiring caused by redundant sensor installation in traditional solutions, and enables timely diagnosis and simplified management of mechanical equipment failures.

WO2026037263A1PCT designated stage Publication Date: 2026-02-19YANTAI JEREH OILFIELD SERVICES GROUP

Patent Information

Application Number
PCT/CN2025/114002
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-12
Filing Date
2025-08-12
Publication Date
2026-02-19

AI Technical Summary

Technical Problem

In the diagnosis of fault signals in mechanical equipment, installing multiple sensors at the same signal measurement point leads to wasted acquisition channels and messy on-site wiring, which affects the fault diagnosis results. Furthermore, continuous data acquisition may cause memory space shortages and algorithm processing delays.

Method used

The data acquisition system adopts a multi-channel, multi-acquisition strategy. It configures acquisition channels and acquires data according to the acquisition strategy through communication between the acquisition device and the industrial control computer. It uses a fault diagnosis model for real-time analysis, reducing the use of acquisition devices and simplifying on-site management.

Benefits of technology

It enables timely detection and analysis of mechanical equipment failures, reduces economic losses, protects the safety of on-site workers, and simplifies the management of on-site data acquisition equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025114002_19022026_PF_FP_ABST
    Figure CN2025114002_19022026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to a data collection method, apparatus and system, and a readable storage medium and a program product. The method comprises: when a collector is powered on, starting a current main program, and the current main program reading one or more locally stored collection policies, and configuring each collection channel of the collector on the basis of the collection policy, so as to acquire collected data of each collection channel (S202); in response to having established a communication connection with an industrial personal computer, the current main program transmitting the collection policy to the industrial personal computer, so as to instruct the industrial personal computer to execute one or more of the following operations: configuring the collection policy, and sending a data request to the collector on the basis of the collection policy (S204); and in response to having received the data request, the current main program transmitting corresponding collected data to the industrial personal computer, wherein the collected data is used for instructing the industrial personal computer to acquire a fault diagnosis result on the basis of a fault diagnosis model (S206).
Need to check novelty before this filing date? Find Prior Art

Description

Data acquisition method, device, system, readable storage medium and program product

[0001] Related applications

[0002] The present application claims priority to the Chinese patent application No. 2024111031844, filed on August 12, 2024, entitled "Data acquisition method, device, system, readable storage medium and program product", the contents of which are hereby incorporated by reference in its entirety. TECHNICAL FIELD

[0003] The present application relates to the technical field of equipment fault diagnosis, in particular to a data acquisition method, device, system, readable storage medium and program product. BACKGROUND

[0004] In the fault signal diagnosis technology of mechanical equipment, the judgment of different faults may require the comprehensive judgment of one or more different signals such as pressure, temperature, vibration, key phase, etc. However, installing multiple sensors at the same signal measurement point for acquisition will cause waste of acquisition channels and confusion of on-site wiring, affecting the fault diagnosis result. SUMMARY

[0005] According to various embodiments of the present application, a data acquisition method, device, system, readable storage medium and program product capable of ensuring fault diagnosis results are provided.

[0006] In a first aspect, the present application provides a data acquisition method applied to an acquisition device, the method comprising:

[0007] starting a current main program under the condition that the acquisition device is powered on, the current main program reading one or more acquisition strategies stored locally, and configuring each acquisition channel of the acquisition device according to the acquisition strategy to obtain acquisition data of each acquisition channel;

[0008] in response to establishing a communication connection with an industrial computer, the current main program transmitting the acquisition strategy to the industrial computer to instruct the industrial computer to perform one or more operations of: configuring the acquisition strategy, and sending a data request to the acquisition device based on the acquisition strategy;

[0009] in response to receiving the data request, the current main program transmitting corresponding acquisition data to the industrial computer; the acquisition data being used to instruct the industrial computer to obtain a fault diagnosis result based on a fault diagnosis model.

[0010] In one of the embodiments, before the step of transmitting the acquisition strategy to the industrial computer in response to establishing a communication connection with the industrial computer, the method further comprises:

[0011] The acquisition strategy transmitted by the industrial computer is received, and the acquisition strategy is stored locally; the acquisition strategy comprises channel configuration information and acquisition configuration information;

[0012] The channel configuration information comprises one or more of the following parameters of the acquisition channel: an on state, a sensor type, a measurement unit, a sensitivity, and a sampling ratio; and the acquisition configuration information comprises one or more of the following parameters of the collector: a network IP address, an acquisition trigger threshold, an acquisition interval, a sampling duration, a rotational speed reference channel, a rotational speed ratio, and a rotational speed calculation algorithm.

[0013] In one embodiment, the data request carries a time period; the current main program stores the acquisition data of each acquisition channel obtained by the current main program into a circular queue;

[0014] In response to receiving the data request, the current main program transmits the corresponding acquisition data to the industrial computer, comprising:

[0015] The current main program determines the acquisition data of the acquisition time belonging to the time period from the circular queue, and obtains a characteristic value of the acquisition data;

[0016] The current main program determines that the characteristic value reaches the acquisition trigger threshold, and transmits the acquisition data to the industrial computer.

[0017] In one embodiment, the characteristic value comprises a root mean square value of the acquisition data; and the current main program comprises a main process running in the collector.

[0018] In one embodiment, the current main program determines that the measurement unit corresponds to the rotational speed, and selects a rotational speed calculation channel corresponding to the sensor type to obtain the acquisition data; wherein different rotational speed calculation channels correspond to different rotational speed calculation algorithms, and the main program has different selection priorities for different rotational speed calculation channels.

[0019] In one embodiment, the sensor type comprises a key phase sensor and a vibration sensor; and the selection priority of the rotational speed calculation channel corresponding to the key phase sensor is higher than that of the rotational speed calculation channel corresponding to the vibration sensor.

[0020] In one embodiment, the current main program is started under the condition that the collector is powered on, comprising:

[0021] When it is detected that the starting directory of the current main program does not belong to the main directory, the data packet of the current main program in the starting directory is copied to the main directory;

[0022] The current main program is exited, and the main program is started from the main directory.

[0023] In one embodiment, the method further comprises:

[0024] In response to receiving the data packet of the target main program, installing the target main program in a temporary directory; the target main program is a version-updated main program;

[0025] Quitting the current main program and starting the target main program from the temporary directory; wherein the temporary directory is not the main directory.

[0026] In one of the embodiments, the method further comprises:

[0027] The starting of the current main program triggers a starting failure condition, and the main program is started from the temporary directory; wherein the starting failure condition comprises that the number of starting failures of the current main program from the main directory reaches a number threshold.

[0028] In one of the embodiments, the method further comprises:

[0029] The main program acquires the original signal of the sensor corresponding to the acquisition channel, and transmits the fault information to the industrial computer in the case that the sensor is determined to be faulty according to the original signal; wherein the original signal comprises the bias voltage of the sensor.

[0030] In a second aspect, the application further provides a data acquisition method applied to an industrial computer, comprising:

[0031] Receiving the acquisition strategy transmitted by the collector, and performing one or more of the following operations: configuring the acquisition strategy, and sending a data request to the collector based on the acquisition strategy; wherein the data request is used to instruct the collector to transmit corresponding acquisition data to the industrial computer based on a current main program started by power-on; wherein the current main program reads one or more acquisition strategies stored locally, and configures each acquisition channel of the collector according to the acquisition strategy, so as to acquire the acquisition data of each acquisition channel;

[0032] Receiving the acquisition data, and acquiring a fault diagnosis result based on a fault diagnosis model according to the acquisition data.

[0033] In one of the embodiments, the method further comprises:

[0034] Transmitting the acquisition data to the fault diagnosis model in the form of a data file, so that the fault diagnosis model obtains a fault diagnosis result by processing the data file;

[0035] When there is a file backlog in the processing of the fault diagnosis model on the data file corresponding to the acquisition strategy, the sending of the data request is stopped.

[0036] In a third aspect, the application further provides a data acquisition device applied to a collector, comprising:

[0037] The program starting module is configured to start a current main program when the collector is powered on, and the current main program reads one or more collection strategies stored locally, and configures each collection channel of the collector according to the collection strategies to obtain collection data of each collection channel.

[0038] The strategy transmission module is configured to, in response to establishing a communication connection with the industrial computer, transmit the collection strategies to the industrial computer by the current main program to instruct the industrial computer to perform one or more operations of: configuring the collection strategies, and sending a data request to the collector based on the collection strategies.

[0039] The data transmission module is configured to, in response to receiving the data request, transmit corresponding collection data to the industrial computer by the current main program, and the collection data is used to instruct the industrial computer to obtain a fault diagnosis result based on a fault diagnosis model.

[0040] In a fourth aspect, the present application further provides a data collection device applied to an industrial computer, comprising:

[0041] The data request module is configured to receive the collection strategies transmitted by the collector, and perform one or more operations of: configuring the collection strategies, and sending a data request to the collector based on the collection strategies; the data request is used to instruct the collector to transmit corresponding collection data to the industrial computer based on a current main program started by power-on; wherein the current main program reads one or more collection strategies stored locally, and configures each collection channel of the collector according to the collection strategies to obtain collection data of each collection channel.

[0042] The fault diagnosis module is configured to receive the collection data, and obtain a fault diagnosis result based on a fault diagnosis model according to the collection data.

[0043] In a fifth aspect, the present application further provides a multi-channel data collection system, which comprises an industrial computer and a collector connected to the industrial computer, and the collector has each collection channel corresponding to a plurality of sensors one by one, wherein:

[0044] The collector is configured to perform the steps of the method of the first aspect;

[0045] The industrial computer is configured to perform the steps of the method of the second aspect.

[0046] In one of the embodiments, the collector comprises a collection chip configured to obtain an original signal of the sensor; wherein the original signal comprises a bias voltage of the sensor.

[0047] In a sixth aspect, the present application further provides a computer readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the steps of the method of each aspect.

[0048] In a seventh aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the methods described above.

[0049] Details of one or more embodiments of this application are set forth in the following drawings and description. Other features, objects, and advantages of this application will become apparent from the specification, drawings, and claims. Attached Figure Description

[0050] To more clearly illustrate the technical solutions in the embodiments of this application or the conventional technology, the drawings used in the description of the embodiments or the conventional technology will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the disclosed drawings without creative effort.

[0051] Figure 1 is an application environment diagram of a data acquisition method in one embodiment;

[0052] Figure 2 is a flowchart illustrating a data acquisition method in one embodiment;

[0053] Figure 3 is a flowchart illustrating the steps of transmitting the acquired data to the industrial control computer in one embodiment;

[0054] Figure 4 is a flowchart illustrating the main program startup process in one embodiment;

[0055] Figure 5 is a flowchart illustrating the main program startup process in another embodiment;

[0056] Figure 6 is a schematic diagram of the main program update process in one embodiment;

[0057] Figure 7 is a schematic diagram of the specific process of main program update in one embodiment;

[0058] Figure 8 is a flowchart illustrating the data acquisition method in another embodiment;

[0059] Figure 9 is a structural block diagram of a data acquisition device in one embodiment;

[0060] Figure 10 is a structural block diagram of the data acquisition device in another embodiment;

[0061] Figure 11 is an internal structure diagram of the data collector in one embodiment. Detailed Implementation

[0062] With reference to the drawings of the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments of the present application, all the other embodiments obtained by those skilled in the art without creative work belong to the scope of protection of the present application.

[0063] In order to make the purpose, technical solutions and advantages of the present application clearer and more apparent, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not intended to limit the present application.

[0064] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application.

[0065] It can be understood that the terms "first", "second", and the like used in the present application can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element. "Multiple" refers to two or more. "At least part of the element" refers to part or all of the element.

[0066] It can be understood that "connection" in the following embodiments means "electrical connection", "communication connection" and the like if the connected circuits, modules, units and the like have electrical signal or data transmission between each other.

[0067] As used herein, the singular forms "a", "an" and "the" can also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms "comprise / contain" or "have" and the like specify the presence of stated features, integers, steps, operations, components, parts or combinations thereof, but do not exclude the presence or addition of one or more other features, integers, steps, operations, components, parts or combinations thereof.

[0068] During the operation of mechanical equipment such as a plunger pump, when the parts are damaged, various temperature, pressure, vibration and speed signals change. However, in the traditional scheme, multiple sensors are installed at the same signal measurement point for collection, which causes waste of collection channels and confusion of field wiring, and continuous data collection may not be processed in time, resulting in tight memory space and algorithm processing lag.

[0069] Based on the above traditional scheme, the application provides a multi-channel, multi-acquisition strategy data acquisition system in the collection of the fault characteristic signal of the mechanical equipment, which can timely capture the change of the signal and analyze and process it by using the algorithm to timely find the occurrence of the fault, thereby minimizing the economic loss and protecting the safety of the on-site operators.

[0070] It can be understood that the application can be applied to mechanical equipment fault diagnosis, wherein the mechanical equipment can have a plunger pump, of course, not limited to the plunger pump, when other mechanical equipment has a similar structure, such as also having a structure that reciprocates, and the period of the reciprocation is in a fixed proportion to the rotation speed, then it can also be applied to the application.

[0071] It should be noted that the beneficial effects brought by the embodiments of the application or the technical problems solved are not limited to this, but also other implicit or related problems, which can be referred to the description of the following embodiments.

[0072] The data acquisition method provided by the embodiments of the application can be applied to the application environment as shown in FIG. 1. Wherein, the collector communicates with the industrial computer through the wireless network, and the communication process can involve data, configuration information and command information and the like. Exemplarily, the collector can be connected with multiple sensors, for example, the collector has each acquisition channel corresponding to the multiple sensors one by one.

[0073] In some examples, the configuration software can be deployed on the industrial computer side (also can be deployed on the PC side), used to monitor the state of the collector and configure different acquisition strategies, optionally, the configuration software can have configuration and acquisition functions. Exemplarily, the PC side can refer to various personal computers, notebook computers and the like. Further, the acquisition service can be deployed on the industrial computer side, when the industrial computer is started, the acquisition service can automatically run in the background, automatically find the collector and receive and process the data. Optionally, the acquisition service can have the function of starting automatically to collect data.

[0074] Further, the collector can be a data collection device, for example, a data collection device developed based on ZYNQ; wherein the ZYNQ can be divided into a PS (Processing System) end and a PL (Progarmmable Logic) end; in the embodiment of the present application, the PL end can be connected to multiple AD (Analog-to-Digital) chips for collecting analog signals, and the PS end can adopt a four-core ARM chip with a linux system; the PS end and the PL end can interact with data through an AXI4 (Advanced eXtensible Interface) transmission protocol. It can be understood that the collector can also adopt other forms, and is not limited to the forms mentioned in the above embodiments, as long as it can achieve the function of completing data collection for the sensor.

[0075] As shown in FIG. 1, the configuration software can issue the configured collection strategy to the collector, which is saved in the internal non-volatile memory after parsing (for example, forming a local configuration file). Exemplarily, when the collector is connected to the TCP (Transmission Control Protocol) server network established by the configuration software or the collection service, the collector can issue the locally stored collection strategy. When the collection strategy is connected to the collection service, the collection service can "ask for data" from the collector according to the collection strategy, that is, request the collector to send data at a fixed time. When the collector is connected to the configuration software, the specific collection strategy configuration will be displayed in the interface, and the collection strategy in the collector can be configured.

[0076] In an exemplary embodiment, as shown in FIG. 2, a data collection method is provided, which is applied to the collector in FIG. 1 as an example for illustration, including the following steps 202 to 206.

[0077] Step 202, starting the current main program under the condition that the collector is powered on, the current main program reading one or more collection strategies stored locally, and configuring each collection channel of the collector according to the collection strategy to obtain the collection data of each collection channel.

[0078] Among them, the collector can start the current main program when powered on; the current main program can refer to the current main program in the collector. Exemplarily, the current main program can include a main process running in the collector; optionally, the main program can be a main process running in the collector for controlling network connection, data collection, and saving data.

[0079] Specifically, the current main program can read one or more collection strategies stored locally by the collector, and configure each collection channel of the collector according to the collection strategies to obtain collection data of each collection channel. Wherein, the locally stored collection strategy can be referred to as a local collection strategy, after the collector is powered on, the current main program can read the local collection strategy, and configure all collection channels according to the collection strategy (for example, configure the sensor type of the collection channel), and then continuously collect the data of all channels. Exemplarily, the collection data can be analog data.

[0080] Exemplarily, one or more collection strategies stored locally by the collector can be issued by the configuration software at the end of the industrial computer, wherein the configuration software can add multiple collection strategies for one collector. Alternatively, the collector can save the collection strategy in the internal non-volatile memory. It can be understood that in the embodiments of the present application, the working state and working mode of the collection channel can be configured by the collection strategy, and the working mode and working state of the collector can also be configured to meet different collection requirements. In some examples, the collection strategy can correspond to a fault diagnosis model.

[0081] The data collection of the multi-channel and multi-collection strategy can realize the function of a single collector meeting different collection requirements. The use of the collector is reduced by the multi-collection strategy, and the management of the field collection device is simplified.

[0082] Step 204, in response to establishing a communication connection with the industrial computer, the current main program transmits the collection strategy to the industrial computer to instruct the industrial computer to perform one or more of the following operations: configure the collection strategy, send a data request to the collector based on the collection strategy.

[0083] Specifically, the current main program will not send the collection data immediately after obtaining the collection data of each collection channel, but will request the collector to send data by sending a data request by the industrial computer after the collector establishes a communication connection with the industrial computer. When the collector receives the data request, it can further decide whether to send the collection data.

[0084] Exemplarily, the collector establishing a communication connection with the industrial computer can mean that the collector establishes a connection with the configuration software or the collection service in the industrial computer through a wireless network, for example, the collector connects to the TCP server network established by the configuration software or the collection service. Wherein, the collector can transmit the collection strategy to the industrial computer through the current main program, and then the industrial computer can perform one or more of the following operations: configure the collection strategy, send a data request to the collector based on the collection strategy.

[0085] As for the configuration of the collection strategy by the industrial computer, when the collector is connected to the configuration software, the configuration software can display the configuration of the specific collection strategy in the interface, and then the collection strategy for the collector can be configured.

[0086] As for the sending of the data request by the industrial computer to the collector based on the collection strategy, optionally, the data request can be sent by the configuration software or by the collection service, that is, the configuration software and the collection service on the industrial computer side can both request data from the collector in a timely and quantitative manner according to the collection strategy. In actual application, in order to prevent multiple collection of the same data, the collection service can be configured to have a higher priority on the collection function, and when the configuration software updates the collection strategy during data collection, the collection service is notified by the collector to update the collection strategy, and the collection service can continue to request data from the collector according to the new collection strategy. When the collector detects that the service has been connected, the configuration software service is notified that the service has been online, and the request for data (i.e., the data request) of the configuration software is shielded.

[0087] Step 206, in response to receiving the data request, the current main program transmits the corresponding collection data to the industrial computer; the collection data is used to instruct the industrial computer to obtain a fault diagnosis result based on a fault diagnosis model.

[0088] Specifically, the collector receives the data request sent by the industrial computer, and the current main program can transmit the collection data corresponding to the data request to the industrial computer, and then instruct the industrial computer to process the collection data based on the fault diagnosis model to obtain the fault diagnosis result.

[0089] The above data collection method reduces the use of the collector through multiple collection strategies, and realizes the function of a single collector meeting different collection demands through the configuration software, the collection service, and the collector, thereby simplifying the management of the field collection device.

[0090] In an exemplary embodiment, before step 204, the following steps can also be included:

[0091] Receiving the collection strategy transmitted by the industrial computer and storing the collection strategy locally; the collection strategy includes channel configuration information and collection configuration information;

[0092] The channel configuration information includes one or more of the following parameters of the collection channel: on state, sensor type, measurement unit, sensitivity, and sampling ratio; the collection configuration information includes one or more of the following parameters of the collector: network IP (Internet Protocol Address) address, collection trigger threshold, collection interval, sampling duration, rotational speed reference channel, rotational speed ratio, and rotational speed calculation algorithm.

[0093] Specifically, the configuration software at the industrial computer end issues the configured acquisition strategy to the collector, and the collector can locally store the acquisition strategy, for example, after parsing, save it in the internal non-volatile memory.

[0094] Optionally, the acquisition strategy can include but is not limited to channel configuration information and acquisition configuration information; wherein the channel configuration information includes one or more of the following parameters of the acquisition channel: open state, sensor type, measurement unit, sensitivity and sampling ratio; in the embodiment of the application, the channel configuration information can be used for channel configuration, and the channel configuration can include the open state, sensor type, measurement unit, sensitivity and sampling ratio of each acquisition channel of the collector.

[0095] It can be understood that the open state of the channel can refer to selecting the channel that needs to save data; the sensor type is used to configure the sensor of the corresponding channel of the collector, when the command for the sensor type is issued to the collector, the relay can be used to switch the sensor; the measurement unit can be used to select the type of saved data, for example, the acceleration can select g, m / s 2 , mm / s 2 , r / s, etc.; the sensitivity can be used to convert the voltage value into the actual physical value; and for example, the collector collects at the highest frequency, the sampling ratio can be used to adjust the data collection frequency.

[0096] Further, the acquisition configuration information can include one or more of the following parameters of the collector: network IP address, acquisition trigger threshold, acquisition interval, sampling duration, rotational speed reference channel, rotational speed ratio and rotational speed calculation algorithm. Exemplarily, the acquisition configuration information can be used for acquisition configuration, wherein the acquisition configuration can include: configuring the network IP address, acquisition trigger threshold, acquisition interval and sampling duration, rotational speed reference channel, rotational speed ratio and rotational speed calculation algorithm of the collector. As for the rotational speed reference channel, in the mechanical equipment, the speed measurement position and the actual concerned measurement point rotational speed position can pass through multiple transmission members, i.e. the rotational speed of the speed measurement position and the concerned measurement point position is not the same, but there can be a ratio relationship, and there are multiple rotational speed measurement channels in the collector, so it is necessary to indicate the rotational speed source of the non-rotational speed measurement channel. For example, channels 1-5 are used to measure rotational speed, and channel 6 has a ratio relationship with the rotational speed of channel 1, and then the rotational speed reference channel of channel 6 is channel 1.

[0097] The embodiment of the application can configure the channel and acquisition of the collector through the acquisition strategy, realize multi-channel and multi-acquisition strategy data acquisition; wherein the configuration software can configure the data transmission mode of the collector, such as acquisition period, data volume, acquisition channel, sensor type, trigger threshold and sampling ratio, etc., so as to meet the acquisition needs of different fault diagnosis models.

[0098] In an example embodiment, the data request carries a time period; the current main program stores the collected data of each collection channel into the circular queue; as shown in FIG. 3, step 206 can include steps 302 to 306. Among them:

[0099] In step 302, the current main program determines the collected data of the time period to which the collection time belongs from the circular queue, and obtains the characteristic value of the collected data.

[0100] Specifically, after the current main program completes the configuration of each collection channel according to the collection strategy, it can continuously collect the data of all channels. The collected data will not be sent immediately, but all data will be stored in the circular queue, and after the industrial computer (configuration software or collection service) is connected, the data of a certain time period will be requested through the data request (i.e., the data request carries a time period).

[0101] Optionally, the current main program can store the sampling data of each collection channel into the circular queue in the RAM (Random Access Memory, Random Access Memory).

[0102] Further, in response to receiving the data request, the current main program can determine the collected data of the time period to which the collection time belongs from the circular queue; with a collection interval of T seconds in the collection strategy of a certain fault diagnosis model, a collection duration of t seconds, a highest sampling frequency of the collector of Fs, a sampling ratio of P, and the collection strategy enabling N channels (i.e., N collection channels are in an open state), the amount of data D that the collector can send every T seconds is:

[0103] After the collector receives the data request, the collector can cut out this part of data from the circular queue (i.e., determine the collected data of the time period to which the collection time belongs from the circular queue), and then obtain the data characteristics of this part of data.

[0104] In the embodiment of the application, the data characteristics can be represented by the characteristic value. After obtaining the characteristic value, it can be determined whether the collected data should be sent according to the threshold trigger condition, so as to avoid the situation that the continuously collected data cannot be processed in time. Among them, the threshold trigger condition can refer to whether the characteristic value reaches the collection trigger threshold.

[0105] In step 304, the current main program determines that the characteristic value reaches the collection trigger threshold, and then transmits the collected data to the industrial computer.

[0106] Specifically, when the feature value reaches the collection trigger threshold, the current main program can transmit the collected data to the industrial computer. Wherein, the feature value reaching the collection trigger threshold can represent that the threshold trigger condition is met, and the collected data is sent to the industrial computer when the feature value reaches the collection trigger threshold, which can not only avoid wasting bandwidth, but also can pre-process the data, reduce the workload of the fault diagnosis model, and prevent the continuously collected data from being unable to be processed in time, resulting in a large amount of data backlog in the storage space. Further, if the feature value does not reach the collection trigger threshold, it means that the threshold trigger condition is not met, and the collected data is not sent to the industrial computer.

[0107] In one of the embodiments, the feature value can include the root mean square value of the collected data.

[0108] Specifically, the embodiments of the present application can use the root mean square value as the feature data of the collected data. The feature value can also take other forms, not limited to the forms mentioned in the above embodiments, as long as it can achieve the function of characterizing the features of the collected data.

[0109] In actual application, when the mechanical equipment is just started, the fault and normal situation have small differences in vibration, speed, pressure and other feature values, and the fault diagnosis model cannot accurately judge the fault condition of the equipment, which may cause false alarm. Moreover, the time of this stage is short, and the data of this stage should be avoided as the basis for fault warning. For this, the present application uses the collection trigger threshold as the threshold trigger condition, for example, by calculating the root mean square value of the corresponding channel, to judge whether the data of the collection strategy should be sent by the collector to the industrial computer and used as the basis for fault warning. When the sensor is set as the key phase signal, the corresponding collection trigger threshold can represent the speed, and in the collector, when the corresponding channel is set as the key phase signal channel, the number of key phase pulses in a unit of time can be calculated to obtain the speed during collection.

[0110] In order to ensure that the industrial computer can receive accurate and real-time data, regarding the speed calculation, in one exemplary embodiment, the current main program determines that the measurement unit corresponds to the speed, and then selects the speed calculation channel corresponding to the sensor type to obtain the collected data; wherein, different speed calculation channels correspond to different speed calculation algorithms, and the main program has different selection priorities for different speed calculation channels.

[0111] Specifically, different speed calculation channels correspond to different speed calculation algorithms, and through multiple speed calculation channels, the embodiments of the present application can use multiple speed calculation methods to ensure accurate and real-time acquisition of speed data. Wherein, the speed calculation channel can be obtained through the collection strategy configuration.

[0112] When multiple rotation speed measurement channels are set in the same acquisition strategy, the main program has different selection priorities for different rotation speed calculation channels; wherein the selection priority of the rotation speed calculation channel is related to the sensor type, when the high-priority sensor fails, the rotation speed of the low-priority sensor will be used and participate in the related calculation, since the algorithms for different rotation speed calculations are different, it is also necessary to determine the rotation speed calculation algorithm used by each rotation speed calculation channel.

[0113] Exemplarily, regarding the selection priority of the rotation speed calculation channel, the priority of the sensor can be configured by pre-setting, for example, for a mechanical equipment with a plunger pump, the priority of the key phase sensor is the highest, the vibration sensor installed on the plunger rod is the second, and the priority of the sensor at the planetary gear bearing position is the lowest.

[0114] In an exemplary embodiment, the sensor type can include a key phase sensor and a vibration sensor; the selection priority of the rotation speed calculation channel corresponding to the key phase sensor is higher than that of the rotation speed calculation channel corresponding to the vibration sensor.

[0115] Specifically, the sensor type can include but is not limited to a key phase sensor and a vibration sensor, wherein the selection priority of the rotation speed calculation channel corresponding to the key phase sensor is higher than that of the rotation speed calculation channel corresponding to the vibration sensor.

[0116] It can be understood that when the key phase sensor fails, the signal amplitude is too small, which leads to the failure to extract the rising edge and the falling edge. Therefore, the key phase sensor cannot be used to determine the rotation speed at this time, but the mechanical equipment cannot be stopped just because the key phase sensor is damaged. Based on the present application, the vibration sensor can be used to replace the rotation speed extraction method, when the vibration sensor is installed at the preset position, the actual rotation speed of the large pump (such as the plunger pump) can be calculated according to the value of the vibration sensor, for example, the vibration sensor installed on the plunger rod will move back and forth with the plunger rod, and the rotation speed can be determined by judging the extreme value point of the vibration data; the vibration sensor installed at the planetary gear bearing position of the reduction gearbox will vibrate with the gear meshing, and the rotation speed can also be calculated by calculating the number of gear meshing per unit time and the rotation speed ratio. Therefore, when the measurement unit of the channel is rpm (revolutions per minute), the data of the channel can be used for rotation speed related calculation and threshold judgment.

[0117] The present application uses multiple rotation speed calculation methods, so that even if the key phase sensor is damaged, the vibration sensor can be used to replace the rotation speed calculation, thereby ensuring that the fault diagnosis model can receive accurate and real-time data, and reducing the use of the collector through multiple acquisition strategies, and simplifying the management of the field acquisition equipment.

[0118] The following collector developed based on ZYNQ includes PS end and PL end, wherein the PL end is FPGA (Field-Programmable Gate Array) part, which can connect multiple AD chips to collect analog signals, the PS end carries a four-core ARM chip of the linux system, and the PS end and the PL end interact data through the AXI4 transmission protocol. As shown in FIG. 4, after the PS end is powered on and the linux system is loaded, the linux system will automatically start the main program of the collector. After the collector is powered on, the main program can read the local collection strategy, and configure the sensor types of all collection channels according to the collection strategy, and then continuously collect the data of all channels. The collected data will not be sent immediately, but will be stored in the circular queue in the RAM, and after the configuration software or the collection service is connected, the industrial computer can obtain the data of a certain time period by sending commands (such as data request, start collection, end collection, etc.). In addition, the program updating and other related operations are also involved.

[0119] Regarding the program updating and other related operations, in one embodiment, as shown in FIG. 5, the step 202 of starting the current main program when the collector is powered on can include steps 502 to 504, wherein:

[0120] In step 502, if it is detected that the start directory of the current main program does not belong to the main directory, the data package of the current main program in the start directory is copied to the main directory.

[0121] Specifically, when the collector detects that the start directory of the current main program does not belong to the main directory, the initialization work can be performed, which includes copying the data package of the current main program in the start directory to the main directory. For example, the program in the collector can check the start directory of the program every time the program is started. When the program start directory is not in the main directory, the related data (such as complete data package) in the start directory can be copied (copied) to the main directory, and then the program can be installed in the main directory.

[0122] In step 504, the current main program is exited, and the main program is started from the main directory.

[0123] Specifically, when the collector copies the data package of the current main program in the start directory to the main directory, the current program (i.e. the current main program) can be exited, and the program is started from the main directory by the operating system to ensure the stability of the main program and complete the backup of the main program in time, so that the collector can recover to the previous state in the case of poor network signal, power failure and other unexpected situations.

[0124] In one of the embodiments, as shown in FIG. 6, the method can further include steps 602-604, wherein:

[0125] In step 602, in response to receiving the data packet of the target main program, the target main program is installed in the temporary directory; the target main program is the main program after version update.

[0126] Specifically, the collector can install the target main program in the temporary directory in the case of receiving the data packet of the target main program, wherein the target main program is the main program after version update, i.e., the target main program is the main program of the new version.

[0127] Optionally, the collector can perform security check on the data packet after receiving the data packet of the target main program, so as to improve the security of the main program update.

[0128] In step 604, the current main program is exited, and the target main program is started from the temporary directory; wherein the temporary directory does not belong to the main directory.

[0129] Specifically, the collector can exit the current main program and start the target main program from the temporary directory in the case of installing the target main program in the temporary directory, wherein the temporary directory does not belong to the main directory. It can be understood that, in combination with the above steps 502-504, when the collector starts the target main program in the temporary directory (i.e., the temporary directory is the starting directory of the target main program), since the temporary directory does not belong to the main directory, it is necessary to copy the data packet of the target main program in the temporary directory to the main directory, and then exit the target main program and start the target main program from the main directory.

[0130] The above embodiments of the application can complete the main program update function, not only the new version of the main program will be installed in the main directory, but also the new version of the main program has a backup in the temporary directory. In actual application, the collector is often installed in the internal of the device or in a relatively remote area. When the algorithm or logic in the main program needs to be updated in the collector, a large amount of manpower is needed to update on site. The main program remote update method proposed in the application not only ensures that the original main program can run normally even if the power supply or network is interrupted and the main program update task cannot be completed, but also solves the problem of wasting a large amount of manpower to update on site due to program update failure.

[0131] In one of the embodiments, the method can further include: starting the main program from the temporary directory when the starting of the current main program triggers a starting failure condition; wherein the starting failure condition includes that the number of starting failures of the current main program from the main directory reaches a number threshold.

[0132] Specifically, after the collector is powered on, if the starting of the current main program triggers a starting failure condition, the main program can be started from the temporary directory. For example, the starting failure condition can include that the number of times of starting failure of starting the current main program from the main directory reaches a number threshold. The number threshold can be 3. It can be understood that the number of times of starting failure can be the number of times of failure of starting the main program from the main directory, or the number of times of continuous program exit.

[0133] In some examples, for example, the temporary directory is "temp / ", after the collector is powered on, if the operating system fails to start the main program from the main directory for three times in succession or the program exits for three times in succession, the program can be started from the temporary directory "temp / ", and the initialization work in the previous starting is repeated again. In this way, even if the program encounters poor network signal, power failure or other unexpected situations in the updating process, the internal program of the collector can be ensured to be restored to the previous state, and the operation that is not completed before is executed again.

[0134] The following is described by taking a specific example. For example, the temporary directory is "temp / ", after the collector receives a complete data packet of a new program, the new program can be installed in the temporary directory "temp / ", and then the new program is started by the linux system, and the original program exits. The program checks the starting directory of the program every time the program is started. When the starting directory of the program is not in the main directory, the data packet of the program is copied to the main directory, the parameter "update" is transmitted to the program in the main directory, and the program in the main directory is started, so that the new main program is installed in the main directory, and after the configuration software is connected, the parameter "update" is used to notify the industrial computer that the updating operation is successful.

[0135] As shown in FIG. 7, after the main program completes the reception of the new version of the main program, CRC32 (Cyclic Redundancy Check) verification can be performed, and in the case of passing the verification, the new version of the main program is installed in the temporary directory temp / . Then, the linux system command is used to execute'starting the program in the temp directory after a 2-second delay in the background', and then the main program exits. The main program in the temp directory can detect whether the program is started in the main directory. If yes, the related operation of the main program initialization is continued to be performed. If no, the program in the temp directory is copied to the main directory, the current program exits, and the program is started from the main directory by the operating system.

[0136] Through the above remote program updating manner, the internal main program of the collector can be restored to the previous state in the case of poor network signal, power failure or other unexpected situations. It is ensured that the fault diagnosis algorithm can receive accurate and real-time data.

[0137] In one of the embodiments, the method can further include: the main program acquiring an original signal of the sensor corresponding to the acquisition channel, and transmitting fault information to the industrial computer in a case where it is determined according to the original signal that the sensor is faulty; wherein the original signal includes a bias voltage of the sensor.

[0138] Specifically, the collector can acquire an original signal of the sensor, and then determine whether the sensor is faulty according to the original signal, so as to avoid misjudgment of the device fault by the fault diagnosis model. Optionally, the original signal can include a bias voltage of the sensor.

[0139] When the sensor is faulty, if it cannot be found in time, "problem data" will be collected, and if the data flows to the fault diagnosis model, it will cause misjudgment of the device fault by the fault diagnosis model. For example, the most direct manifestation of the fault of the acceleration sensor is that the output full-scale vibration sensor signal input circuit often blocks the direct current signal or other filtering processing, thereby causing the collected data to be unable to be directly judged as full-scale.

[0140] Taking the vibration sensor as an example, the embodiments of the present application ensure that the vibration sensor fault can be found in time by increasing bias voltage collection, and whether the sensor is faulty can be judged by the main program (for example, the original signal is input to the PS end). When the fault occurs, it is sent to the configuration software to notify the relevant personnel to handle in time.

[0141] The above data acquisition method realizes the function of a single collector satisfying different acquisition requirements through the configuration software, the acquisition service and the collector. The single collector can refer to the number of collectors being one, and each collector can have multiple acquisition channels, and each acquisition channel can be connected to one sensor.

[0142] Specifically, the present application can ensure that the internal main program of the collector can be restored to the previous state in the case of poor network signal, power failure and other unexpected situations through a remote program updating method. The vibration sensor fault can be found in time by increasing bias voltage collection, and then the vibration sensor can be used to replace the calculation of the rotational speed even if the key phase sensor is damaged through multiple rotational speed calculation methods. The data sending mode of the collector, such as the acquisition period, the data amount, the acquisition channel, the sensor type, the trigger threshold, and the sampling ratio, can be configured in detail through the configuration software, so as to meet the acquisition requirements of different fault diagnosis models. The present application ensures that the fault diagnosis algorithm can receive accurate and real-time data. The use of the collector is reduced and the management of the field acquisition equipment is simplified through the multiple acquisition strategies.

[0143] In one exemplary embodiment, as shown in FIG. 8, a data acquisition method is provided, which is applied to the industrial computer in FIG. 1 as an example for illustration, including the following steps 702 to 704.

[0144] At step 702, the acquisition strategy transmitted by the collector is received, and one or more of the following operations is performed: the acquisition strategy is configured, and a data request is sent to the collector based on the acquisition strategy; the data request is used to instruct the collector to transmit corresponding acquisition data to the industrial computer based on a current main program started by power-on; wherein the current main program reads one or more acquisition strategies stored locally, and each acquisition channel of the collector is configured according to the acquisition strategy to obtain acquisition data of each acquisition channel;

[0145] At step 704, the acquisition data is received, and a fault diagnosis result is obtained based on the fault diagnosis model according to the acquisition data.

[0146] Specifically, the industrial computer can receive the acquisition strategy transmitted by the collector, and perform one or more of the following operations: configure the acquisition strategy, and send a data request to the collector based on the acquisition strategy, and then the industrial computer can receive the acquisition data, and obtain a fault diagnosis result based on the fault diagnosis model according to the acquisition data.

[0147] Among them, the configuration software and the acquisition service can be deployed in the industrial computer. Illustratively, the configuration software can be used to monitor the connection state of the collector, display the main program version inside the collector, can also control the start and stop of acquisition, and can also remotely update the main program running in the collector; optionally, the configuration software can add multiple acquisition strategies in one collector, and one acquisition strategy can include acquisition configuration and channel configuration two kinds of configuration information.

[0148] And the acquisition service can be deployed on the industrial computer, when the industrial computer starts, the acquisition service can automatically run in the background, automatically find the collector and receive and process data.

[0149] It can be understood that the steps in the data acquisition method implemented from the perspective of the industrial computer are similar to the implementation schemes described in the data acquisition method implemented from the perspective of the collector, and therefore the specific limitations of the steps in the data acquisition method implemented from the perspective of the industrial computer can be referred to the limitations of the data acquisition method implemented from the perspective of the collector described above, which will not be repeated here.

[0150] In one embodiment, the method can further include: transmitting the acquisition data to the fault diagnosis model in the form of a data file, so that the fault diagnosis model obtains a fault diagnosis result by processing the data file; wherein when there is a file backlog in the processing of the data file corresponding to the acquisition strategy by the fault diagnosis model, the sending of the data request is stopped.

[0151] Specifically, the industrial computer can transmit the acquisition data to the fault diagnosis model in the form of a data file, so that the fault diagnosis model obtains a fault diagnosis result by processing the data file.

[0152] Exemplarily, the collection service can deliver data to the fault diagnosis model in the form of files, when it is detected that data files generated by a certain collection strategy are not processed in time, the collection service can suspend the data request of the collection strategy until the data files are processed, and then continue to request data according to the established collection strategy. It should be noted that when the fault diagnosis model finishes processing the data, the file is deleted or moved to other places, and if it is judged that there are files in the directory, it can be determined that there is a data file backlog.

[0153] The above, the embodiment of the application automatically collects data through the collection service, and can suspend in time when the data is accumulated, thereby ensuring the real-time processing of the algorithm model. The data sending mode of the collector is configured in detail through the configuration software, so as to meet the collection needs of different fault diagnosis models. Through the above measures, the application ensures that the fault diagnosis algorithm can receive accurate and real-time data. Through the multi-collection strategy mode, the use of the collector is reduced, and the management of the field collection equipment is simplified.

[0154] It should be understood that although each step in the flowchart involved in each embodiment as described above is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other orders. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.

[0155] Based on the same inventive concept, the embodiment of the application also provides a data collection device for implementing the above-mentioned data collection method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more data collection device embodiments provided below can refer to the limitations of the data collection method in the above text, which will not be repeated here.

[0156] In one exemplary embodiment, as shown in FIG. 9, a data collection device is provided, applied to a collector, comprising:

[0157] The program starting module 801 is configured to start the current main program when the collector is powered on, the current main program reads one or more collection strategies stored locally, and configures each collection channel of the collector according to the collection strategy to obtain the collection data of each collection channel.

[0158] The policy transmission module 802 is configured to, in response to establishing the communication connection with the industrial computer, transmit, by the current main program, the collection policy to the industrial computer, so as to instruct the industrial computer to perform one or more of the following operations: configuring the collection policy, and sending a data request to the collector based on the collection policy;

[0159] The data transmission module 803 is configured to, in response to receiving the data request, transmit, by the current main program, corresponding collection data to the industrial computer; the collection data is used to instruct the industrial computer to obtain a fault diagnosis result based on the fault diagnosis model.

[0160] In one of the embodiments, the apparatus further includes:

[0161] The local storage module is configured to receive the collection policy transmitted by the industrial computer, and locally store the collection policy; the collection policy includes channel configuration information and collection configuration information.

[0162] The channel configuration information includes one or more of the following parameters of the collection channel: an on state, a sensor type, a measurement unit, a sensitivity, and a sampling ratio; and the collection configuration information includes one or more of the following parameters of the collector: a network IP address, a collection trigger threshold, a collection interval, a sampling duration, a rotational speed reference channel, a rotational speed ratio, and a rotational speed calculation algorithm.

[0163] In one of the embodiments, the data request carries a time period; the current main program stores the collection data of each collection channel obtained by the current main program into a circular queue; and the data transmission module 803 includes:

[0164] The feature acquisition module is configured to determine, by the current main program, the collection data of the collection time belonging to the time period from the circular queue, and acquire a feature value of the collection data.

[0165] The transmission module is configured to, in response to determining, by the current main program, that the feature value reaches the collection trigger threshold, transmit the collection data to the industrial computer.

[0166] In one of the embodiments, the feature value includes a root mean square value of the collection data; and the current main program includes a main process running in the collector.

[0167] In one of the embodiments, the current main program determines that the measurement unit corresponds to a rotational speed, and selects a rotational speed calculation channel corresponding to the sensor type to acquire the collection data; different rotational speed calculation channels correspond to different rotational speed calculation algorithms, and the selection priority of the main program for different rotational speed calculation channels is different.

[0168] In one of the embodiments, the sensor type includes a key phase sensor and a vibration sensor; and the selection priority of the rotational speed calculation channel corresponding to the key phase sensor is higher than that of the rotational speed calculation channel corresponding to the vibration sensor.

[0169] In one of the embodiments, the program starting module 801 comprises:

[0170] a copying module, configured to copy the data packet of the current main program in the starting directory to the main directory if it is detected that the starting directory of the current main program does not belong to the main directory;

[0171] a first starting module, configured to exit the current main program and start the main program from the main directory.

[0172] In one of the embodiments, the program starting module 801 further comprises:

[0173] a temporary installation module, configured to install a target main program in a temporary directory in response to receiving the data packet of the target main program; the target main program is a main program after version update;

[0174] a second starting module, configured to exit the current main program and start the target main program from the temporary directory; the temporary directory does not belong to the main directory.

[0175] In one of the embodiments, the program starting module 801 further comprises:

[0176] a third starting module, configured to start the main program from the temporary directory if a starting failure condition is triggered by the starting of the current main program; the starting failure condition comprises that the number of starting failures of the current main program from the main directory reaches a number threshold.

[0177] In one of the embodiments, the device further comprises:

[0178] a sensor fault transmission module, configured to acquire an original signal of a sensor corresponding to a collection channel by the main program, and transmit fault information to an industrial computer if it is determined that the sensor has a fault according to the original signal; the original signal comprises a bias voltage of the sensor.

[0179] In one of the exemplary embodiments, as shown in FIG. 10, a data collection device is provided, applied to an industrial computer, comprising:

[0180] a data request module 901, configured to receive a collection strategy transmitted by a collector, and perform one or more operations: configure the collection strategy, and send a data request to the collector based on the collection strategy; the data request is used to instruct the collector to transmit corresponding collection data to the industrial computer based on a current main program started by power-on; the current main program reads one or more collection strategies stored locally, and configures each collection channel of the collector according to the collection strategy, so as to acquire collection data of each collection channel;

[0181] a fault diagnosis module 902, configured to receive the collection data, and acquire a fault diagnosis result based on a fault diagnosis model according to the collection data.

[0182] In one of the embodiments, the fault diagnosis module 902 is configured to transmit the collected data to the fault diagnosis model in the form of a data file, so that the fault diagnosis model obtains a fault diagnosis result by processing the data file; and when there is a file backlog in processing of the data file corresponding to the collection strategy by the fault diagnosis model, the data request is stopped from being sent.

[0183] The modules in the data collection device described above can be implemented by software, hardware, or a combination thereof, in whole or in part. The modules described above can be embedded in or independent of a processor in a computer device in hardware form, or stored in a memory in a computer device in software form, so as to be called and executed by a processor to perform the operations corresponding to the modules.

[0184] In one of the embodiments, the present application also provides a multi-channel data collection system, which comprises an industrial computer and a collector connected to the industrial computer, the collector having a plurality of collection channels corresponding to a plurality of sensors respectively, wherein:

[0185] The collector is configured to perform the steps of the data collection method implemented from the perspective of the collector;

[0186] The industrial computer is configured to perform the steps of the data collection method implemented from the perspective of the industrial computer.

[0187] In one of the embodiments, the collector comprises a collection chip configured to acquire an original signal of the sensor; wherein the original signal comprises a bias voltage of the sensor.

[0188] Specifically, the collector can comprise a collection chip configured to acquire an original signal of the sensor, which can be configured to collect the original signal of the sensor, such as a bias voltage. The embodiments of the present application ensure that the vibration sensor fault can be found in time by adding bias voltage collection. The collection chip can be an analog signal collection chip, such as an 8-bit AD collection chip.

[0189] The embodiments of the present application add a channel of a low sampling frequency and low resolution analog signal collection chip for collecting the bias voltage of the sensor for each signal quantity, as shown in FIG. 11, the sensor signal is input to the 8-bit AD collection chip without any processing. Then input to the PS end, and the main program judges whether the sensor has a fault, and when the fault occurs, it is sent to the configuration software to notify the relevant personnel to handle in time.

[0190] It can be understood that the direct current blocking, filtering processing and 24-bit AD acquisition chip in FIG. 11 can be implemented by corresponding circuits, such as a direct current blocking circuit, a filtering processing circuit, and the like. Of course, other forms can also be used, and are not limited to the forms mentioned in the above embodiments, as long as the corresponding functions can be achieved.

[0191] The application provides a data acquisition system based on a multi-channel multi-acquisition strategy of ZYNQ. The single acquisition device can meet different acquisition requirements by configuring software, an acquisition service and an acquisition device. In the application, the internal main program of the acquisition device can be restored to the previous state in the case of poor network signal, power failure or other unexpected situations through remote program updating. The acquisition of bias voltage is added to ensure that the vibration sensor failure can be found in time. Various rotation speed calculation methods can ensure that even if the key phase sensor is damaged, the vibration sensor can be used to replace the rotation speed calculation. The acquisition service is used to automatically collect data, and the data collection can be suspended in time when the data is accumulated, thereby ensuring the real-time performance of the algorithm model in processing data. The configuration software is used to configure the data transmission mode of the acquisition device, such as the acquisition cycle, the data volume, the acquisition channel, the sensor type, the trigger threshold and the sampling ratio, so as to meet the acquisition requirements of different fault diagnosis models. The whole system ensures that the fault diagnosis algorithm can receive accurate and real-time data. The use of the acquisition device is reduced by using the multi-acquisition strategy, and the management of the field acquisition equipment is simplified.

[0192] In an embodiment, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the steps in the above method embodiments.

[0193] In an embodiment, a computer program product is provided, and the computer program product includes a computer program. The computer program is executed by a processor to implement the steps in the above method embodiments.

[0194] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., without being limited thereto.

[0195] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above-mentioned embodiments are not described, however, as long as the combinations of the technical features do not exist contradictory, they should be considered as the scope of the present application.

[0196] The above embodiments only express several implementation ways of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation to the patent scope of the application. It should be pointed out that for ordinary skilled persons in the art, several modifications and improvements can be made without departing from the concept of the present application, which all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.

Claims

1. A data acquisition method applied to an acquisition device, the method comprising: starting a current main program when the acquisition device is powered on, the current main program reading one or more acquisition strategies stored locally, and configuring each acquisition channel of the acquisition device according to the acquisition strategies to obtain acquisition data of each acquisition channel; in response to establishing a communication connection with an industrial computer, the current main program transmitting the acquisition strategies to the industrial computer to instruct the industrial computer to perform one or more operations of: configuring the acquisition strategies, and sending a data request to the acquisition device based on the acquisition strategies; in response to receiving the data request, the current main program transmitting corresponding acquisition data to the industrial computer, the acquisition data being used to instruct the industrial computer to obtain a fault diagnosis result based on a fault diagnosis model.

2. The data collection method of claim 1, wherein, Before the step of transmitting the acquisition strategies to the industrial computer in response to establishing a communication connection with the industrial computer, the method further comprises: receiving the acquisition strategies transmitted by the industrial computer, and storing the acquisition strategies locally, the acquisition strategies comprising channel configuration information and acquisition configuration information; wherein the channel configuration information comprises one or more of the following parameters of the acquisition channel: an on state, a sensor type, a measurement unit, a sensitivity, and a sampling ratio, and the acquisition configuration information comprises one or more of the following parameters of the acquisition device: a network IP address, an acquisition trigger threshold, an acquisition interval, a sampling duration, a rotational speed reference channel, a rotational speed ratio, and a rotational speed calculation algorithm.

3. The data collection method of claim 2, wherein, The data request carries a time period, and the current main program stores the acquisition data of each acquisition channel obtained in a circular queue; in response to receiving the data request, the current main program transmitting corresponding acquisition data to the industrial computer, comprising: the current main program determining the acquisition data in the circular queue whose acquisition time belongs to the time period, and obtaining a characteristic value of the acquisition data; the current main program determining that the characteristic value reaches the acquisition trigger threshold, and then transmitting the acquisition data to the industrial computer.

4. The data collection method of claim 3, wherein, The characteristic value comprises a root mean square value of the acquisition data, and the current main program comprises a main process running in the acquisition device. 5.The data acquisition method of claim 2, wherein: the current main program determines that the measurement unit corresponds to a rotational speed, and then selects a rotational speed calculation channel corresponding to the sensor type to obtain the acquisition data, wherein different rotational speed calculation channels correspond to different rotational speed calculation algorithms, and the main program has different selection priorities for different rotational speed calculation channels.

6. The data collection method of claim 5, wherein, The sensor type comprises a key phase sensor and a vibration sensor, and the selection priority of the rotational speed calculation channel corresponding to the key phase sensor is higher than that of the rotational speed calculation channel corresponding to the vibration sensor.

7. The data acquisition method according to any one of claims 1 to 6, characterized in that, Starting the current main program when the acquisition device is powered on comprises: detecting that a start directory of the current main program does not belong to a main directory, and then copying a data packet of the current main program in the start directory to the main directory. Exit the current main program, and start a main program from the main directory.

8. The data collection method of claim 7, wherein, The method further comprises: In response to receiving a data packet of a target main program, installing the target main program in a temporary directory; the target main program is a version-updated main program; Exit the current main program, and start the target main program from the temporary directory; wherein the temporary directory does not belong to the main directory.

9. The data collection method of claim 8, wherein, The method further comprises: If the starting of the current main program triggers a starting failure condition, start a main program from the temporary directory; wherein the starting failure condition includes that the number of starting failures of the current main program from the main directory reaches a number threshold.

10. The data collection method of claim 1, wherein, The method further comprises: The main program acquires an original signal of a sensor corresponding to the acquisition channel, and transmits fault information to the industrial computer in a case where it is determined that the sensor has a fault according to the original signal; wherein the original signal includes a bias voltage of the sensor.

11. A data acquisition method applied to an industrial computer, the method comprising: receiving an acquisition strategy transmitted by an acquisition device, and performing one or more of the following operations: configuring the acquisition strategy, and sending a data request to the acquisition device based on the acquisition strategy; the data request is used to instruct the acquisition device to transmit corresponding acquisition data to the industrial computer based on a current main program started after power-on; wherein the current main program reads one or more acquisition strategies stored locally, and configures each acquisition channel of the acquisition device according to the acquisition strategy, so as to acquire the acquisition data of each acquisition channel; receiving the acquisition data, and acquiring a fault diagnosis result based on a fault diagnosis model according to the acquisition data.

12. The data collection method of claim 11, wherein, The method further comprises: transmitting the acquisition data to the fault diagnosis model in the form of a data file, so that the fault diagnosis model obtains the fault diagnosis result by processing the data file; wherein when there is a file backlog in the processing of the fault diagnosis model on the data file corresponding to the acquisition strategy, the sending of the data request is stopped.

13. A data acquisition device applied to an acquisition device, the device comprising: a program starting module, configured to start a current main program in a case where the acquisition device is powered on; the current main program reads one or more acquisition strategies stored locally, and configures each acquisition channel of the acquisition device according to the acquisition strategy, so as to acquire acquisition data of each acquisition channel; a strategy transmission module, configured to, in response to establishing a communication connection with an industrial computer, transmit the acquisition strategy to the industrial computer by the current main program, so as to instruct the industrial computer to perform one or more of the following operations: configuring the acquisition strategy, and sending a data request to the acquisition device based on the acquisition strategy; a data transmission module, configured to, in response to receiving the data request, transmit corresponding acquisition data to the industrial computer by the current main program; the acquisition data is used to instruct the industrial computer to acquire a fault diagnosis result based on a fault diagnosis model.

14. A data acquisition device applied to an industrial computer, the device comprising: a data request module, configured to receive a collection strategy transmitted by the collector, and perform one or more of the following operations: configuring the collection strategy, and sending a data request to the collector based on the collection strategy; wherein the data request is used to instruct the collector to transmit corresponding collection data to the industrial computer based on a current main program started by power-on; wherein the current main program reads one or more collection strategies stored locally, and configures each collection channel of the collector according to the collection strategy, so as to obtain the collection data of each collection channel; a fault diagnosis module, configured to receive the collection data, and obtain a fault diagnosis result based on a fault diagnosis model according to the collection data.

15. A multi-channel data collection system, comprising an industrial computer, and a collector connected to the industrial computer, the collector having each collection channel corresponding to a plurality of sensors one by one, wherein: the collector is configured to perform the steps of the method of any one of claims 1 to 10; the industrial computer is configured to perform the steps of the method of claim 11 or 12.

16. The multi-channel data acquisition system of claim 15, wherein, the collector comprises a collection chip configured to obtain an original signal of the sensor; wherein the original signal comprises a bias voltage of the sensor.

17. A computer readable storage medium, having a computer program stored thereon, the computer program being executed by a processor to implement the steps of the method of any one of claims 1 to 12.

18. A computer program product, comprising a computer program, the computer program being executed by a processor to implement the steps of the method of any one of claims 1 to 12.

Citation Information

Patent Citations

  • Equipment operation and maintenance method and device, electronic equipment and computer readable storage medium

    CN112101596A

  • Server real-time data processing method and system based on server cluster

    CN113010565A

  • Automobile signal acquisition method and system based on edge calculation

    CN116016592A

  • Operation and maintenance method and system

    CN118175093A

  • Data acquisition method, device and system, readable storage medium and program product

    CN119166990A

Cited By

  • Sampling control method and device, energy storage device, storage medium and program product

    CN121856828A