Data acquisition method and system for a factory automation device, and electronic device
By using timer units in factory automation equipment to acquire action time difference and working signal data, and combining them with different monitoring cycles to output early warning signals, the problems of low real-time data acquisition and insufficient diagnostic effectiveness in existing technologies are solved, and efficient data acquisition and diagnostic feedback are achieved.
Patent Information
- Application Number
- CN202211621315.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2042-12-16
AI Technical Summary
Existing data acquisition solutions for factory automation equipment suffer from low real-time performance, lack of effective diagnostic and feedback processing, and high system complexity.
The timer unit of the control module obtains the time difference between the standard and the actual action, and combines it with the working signal data to output early warning, alert and alarm signals using different monitoring cycles, and uploads the data to the server to realize data collection in different emergency situations.
It achieves high real-time data acquisition, simplifies the system architecture, reduces the computational load of routine system monitoring, and improves the effectiveness of diagnosis and feedback processing of on-site operational data.
Smart Images

Figure CN115933561B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of factory automation equipment data collection, in particular to a factory automation equipment data collection method and system and an electronic device. BACKGROUND
[0002] With the development of science and technology, the intelligent development of various industries is getting faster and faster. The current data collection scheme is mostly the bottom interface of the upper system, which is only used as a data collection channel to connect the upper software system (such as MES and ERP) with the bottom hardware device. However, due to the complexity of the upper system, the real-time performance of the data collection is low, and the diagnosis and feedback processing of the on-site operation data lack effectiveness.
[0003] Therefore, the prior art needs to be further developed. SUMMARY
[0004] The present application aims to overcome the above technical deficiencies and provide a factory automation equipment data collection method and system and an electronic device to solve the problems existing in the prior art.
[0005] To achieve the above technical purpose, according to the first aspect of the present application, a factory automation equipment data collection method is provided, which comprises:
[0006] The timer unit of the control module is used to obtain the standard action time of each action of the standard automation equipment, the actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment are obtained according to the first monitoring period, and the absolute value of the action time difference is calculated according to the actual action time and the standard action time. The relevant data collected is uploaded to the server, if the absolute value of the action time difference is greater than or equal to the first preset threshold, the actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment are obtained according to the second monitoring period and a warning signal is output, and the relevant data collected is uploaded to the server.
[0007] Specifically, the working signal data at least includes one of:
[0008] The current data of the to-be-monitored automation equipment, the voltage data of the to-be-monitored automation equipment, the temperature data of the to-be-monitored automation equipment, and the vibration frequency data of the action part of the to-be-monitored automation equipment.
[0009] Specifically, the actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment according to the second monitoring period further comprises:
[0010] According to the current data of the to-be-monitored automation equipment and / or the voltage data of the to-be-monitored automation equipment and / or the temperature data of the to-be-monitored automation equipment and / or the vibration frequency data of the action part of the to-be-monitored automation equipment, the respective data variation amplitudes are calculated, if the data variation amplitude of a certain work signal data is greater than or equal to the second preset threshold, the third monitoring period is used to acquire the work signal data of the to-be-monitored automation equipment and output the warning signal about the abnormality of the work signal data, and the collected related data is uploaded to the server.
[0011] Specifically, the third monitoring period is used to acquire the work signal data of the to-be-monitored automation equipment and output the warning signal about the abnormality of the work signal data, and the third monitoring period includes:
[0012] According to the data variation amplitude of the work signal data and the third monitoring period, the data variation rate of the work signal data is calculated, if the data variation rate of the work signal data exceeds the third preset threshold, the alarm signal about the serious abnormality of the work signal data is output, the to-be-monitored automation equipment is controlled to stop, and the collected related data is uploaded to the server.
[0013] Specifically, the third monitoring period is less than the second monitoring period, and the second monitoring period is less than the first monitoring period.
[0014] Specifically, the method further includes:
[0015] If the data variation rate of the work signal data is less than or equal to the third preset threshold, the duration of the abnormality of the work signal data is calculated according to the third monitoring period, if the duration of the abnormality of the work signal data is greater than or equal to the fourth preset threshold, the alarm signal about the serious abnormality of the work signal data is output, the to-be-monitored automation equipment is controlled to stop, and the collected related data is uploaded to the server.
[0016] Specifically, the method further includes:
[0017] If the duration of the abnormality of the work signal data is less than the fourth preset threshold, the step of acquiring the actual action time of the corresponding action of the to-be-monitored automation equipment and the work signal data of the to-be-monitored automation equipment according to the second monitoring period is returned, and the collected related data is uploaded to the server.
[0018] Specifically, the method further includes:
[0019] If the absolute value of the action time difference value is less than the first preset threshold value, the step is returned to continue to acquire the actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment according to the first monitoring period, and the absolute value of the action time difference value is calculated according to the actual action time and the standard action time, and it is judged whether the absolute value of the action time difference value is greater than or equal to the first preset threshold value, and the collected related data is uploaded to the server.
[0020] According to a second aspect of the present application, a data acquisition system of a factory automation equipment is provided, comprising:
[0021] The acquisition module is configured to acquire the working signal data of the to-be-monitored automation equipment.
[0022] The control module is configured to acquire the standard action time of each action of the standard automation equipment by using the timer unit of the control module, or acquire the actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment according to the first monitoring period, and calculate the absolute value of the action time difference value according to the actual action time and the standard action time, and upload the collected related data to the server.
[0023] The server is configured to receive the collected related data.
[0024] The alarm module is configured to output an alarm signal.
[0025] According to a third aspect of the present application, an electronic device is provided, comprising:
[0026] The memory and the processor, wherein the memory has computer readable instructions stored thereon, and the computer readable instructions are executed by the processor to implement the data acquisition method of the factory automation equipment according to any one of claims 1 to 8.
[0027] The present application has the following beneficial effects:
[0028] 1. In the technical scheme of the present application, the timer unit of the control module is used to obtain the standard action time of each action of the standard automation equipment and the actual action time of the corresponding action of the to-be-monitored automation equipment to calculate the absolute value of the action time difference value, and by judging whether the absolute value of the action time difference value is greater than or equal to a first preset threshold, whether the actual action time is within a reasonable range is judged, the complex and abstract automation equipment operation state monitoring problem is concretized, the system architecture is greatly simplified, complex algorithm modeling is not needed, and the application scenarios of the present application are greatly expanded.
[0029] 2. In the technical scheme of the present application, if the absolute value of the action time difference value is greater than or equal to the first preset threshold, the actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment are obtained according to a second monitoring period, and a warning signal is output, and the collected related data is uploaded to a server. If the data change amplitude of a certain working signal data is greater than or equal to a second preset threshold, the working signal data is obtained according to a third monitoring period, and an alarm signal about the abnormality of the working signal data is output, and the collected related data is uploaded to the server. If the data change rate of the working signal data exceeds a third preset threshold, an alarm signal about the serious abnormality of the working signal data is output, the to-be-monitored automation equipment is controlled to stop, and the collected related data is uploaded to the server. Different data acquisition methods are realized under different emergency situations, the data acquisition has high real-time performance, and the diagnosis and feedback processing of the on-site operation data have very high effectiveness.
[0030] 3. The present application sets the third monitoring period to be less than the second monitoring period, and sets the second monitoring period to be less than the first monitoring period, thereby reducing the system data acquisition and operation amount during normal system monitoring, and realizing low-power operation during normal system monitoring. BRIEF DESCRIPTION OF DRAWINGS
[0031] Figure 1 is a flowchart of the data acquisition method of the factory automation equipment provided in the embodiments of the present application;
[0032] Figure 2 is a schematic diagram of the data acquisition system of the factory automation equipment provided in the embodiments of the present application. DETAILED DESCRIPTION
[0033] In order for the personnel in the art to better understand the technical solutions of the present application, the technical solutions of the present application are described clearly and completely below in combination with the drawings of the present application. Based on the embodiments in the present application, other similar embodiments obtained by the personnel in the art without making creative efforts shall all belong to the protection scope of the present application. In addition, the direction words mentioned in the following embodiments, such as “up”, “down”, “left”, “right” and the like are only the directions of the drawings, therefore, the direction words used are used for illustration but not for limiting the present application.
[0034] The present application is further described below in combination with the drawings and the preferred embodiments.
[0035] Please refer to Figure 1 The present embodiment provides a data acquisition method of a factory automation equipment, the data acquisition method of the factory automation equipment comprises:
[0036] S100, acquiring standard action time of each action of the standard automation equipment by using a timer unit of the control module.
[0037] Specifically, the work signal data at least comprises one of the following:
[0038] The current data of the to-be-monitored automation equipment, the voltage data of the to-be-monitored automation equipment, the temperature data of the to-be-monitored automation equipment and the vibration frequency data of the action part of the to-be-monitored automation equipment.
[0039] It is to be noted that the acquisition module comprises a high-precision current sensor, a high-precision voltage sensor, a high-precision temperature sensor and a high-precision vibration sensor which are electrically connected with each electric control device of the automation equipment, for acquiring the voltage data of the target automation equipment, the temperature data of the to-be-monitored automation equipment and the vibration frequency data of the action part of the to-be-monitored automation equipment.
[0040] It is to be noted that before the step S100, the first monitoring period, the second monitoring period, the third monitoring period, the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold are preset, and the third monitoring period is set to be less than the second monitoring period, and the second monitoring period is set to be less than the first monitoring period. This setting can reduce the system data acquisition and operation amount during the system normal monitoring, and realize the low-power consumption operation during the system normal monitoring. Different data acquisition modes under different emergency situations are realized, the data acquisition has high real-time performance, and the diagnosis and feedback to the field operation data have very high effectiveness.
[0041] S200, acquiring the actual action time of the corresponding action of the to-be-monitored automation equipment and the work signal data of the to-be-monitored automation equipment according to the first monitoring period.
[0042] The third monitoring period is set to be less than the second monitoring period, and the second monitoring period is set to be less than the first monitoring period. This setting can reduce the system data acquisition and operation amount during system normal monitoring, and realize low-power operation during system normal monitoring. Different data acquisition modes are realized under different emergency situations, and the data acquisition has high real-time performance, and the diagnosis and feedback of the field operation data have very high effectiveness.
[0043] S300, calculate the absolute value of the action time difference value according to the actual action time and the standard action time, and upload the collected related data to the server.
[0044] The application calculates the absolute value of the action time difference value by using the timer unit of the control module to obtain the standard action time of each action of the standard automation equipment and the actual action time of the corresponding action of the automation equipment to be monitored, and judges whether the actual action time is within a reasonable range by judging whether the absolute value of the action time difference value is greater than or equal to a first preset threshold value, which objectifies the complex and abstract automation equipment operation state monitoring problem, greatly simplifies the system architecture, does not need complex algorithm modeling, and greatly expands the application scenarios of the application.
[0045] S400, if the absolute value of the action time difference value is greater than or equal to the first preset threshold value, the actual action time of the corresponding action of the automation equipment to be monitored and the working signal data of the automation equipment to be monitored are obtained according to the second monitoring period, and a warning signal is output, and the collected related data is uploaded to the server.
[0046] Specifically, the actual action time of the corresponding action of the automation equipment to be monitored and the working signal data of the automation equipment to be monitored according to the second monitoring period further include:
[0047] According to the current data of the automation equipment to be monitored and / or the voltage data of the automation equipment to be monitored and / or the temperature data of the automation equipment to be monitored and / or the vibration frequency data of the action part of the automation equipment to be monitored, the respective data change amplitudes are calculated, if the data change amplitude of a certain working signal data is greater than or equal to a second preset threshold value, the working signal data of the automation equipment to be monitored is obtained according to a third monitoring period, and a warning signal about the abnormality of the working signal data is output, and the collected related data is uploaded to the server.
[0048] The working signal data of the automation equipment to be monitored is obtained according to the third monitoring period, and the warning signal about the abnormality of the working signal data further includes:
[0049] According to the data variation range of the work signal data and the third monitoring period, a data variation rate of the work signal data is calculated, if the data variation rate of the work signal data exceeds a third preset threshold value, an alarm signal about serious abnormality of the work signal data is outputted, the to-be-monitored automation equipment is controlled to stop, and the collected related data is uploaded to the server.
[0050] Specifically, the third monitoring period is less than the second monitoring period, and the second monitoring period is less than the first monitoring period.
[0051] Specifically, if the data variation rate of the work signal data is less than or equal to the third preset threshold value, a duration of abnormality of the work signal data is calculated according to the third monitoring period, if the duration of abnormality of the work signal data is greater than or equal to a fourth preset threshold value, an alarm signal about serious abnormality of the work signal data is outputted, the to-be-monitored automation equipment is controlled to stop, and the collected related data is uploaded to the server.
[0052] Specifically, if the duration of abnormality of the work signal data is less than the fourth preset threshold value, the step of acquiring the actual action time of the corresponding action of the to-be-monitored automation equipment and the work signal data of the to-be-monitored automation equipment according to the second monitoring period is returned, and the collected related data is uploaded to the server.
[0053] It can be understood that, if the absolute value of the action time difference value is greater than or equal to the first preset threshold value, the actual action time of the corresponding action of the to-be-monitored automation equipment and the work signal data of the to-be-monitored automation equipment are acquired according to the second monitoring period, a pre-warning signal is outputted, and the collected related data is uploaded to the server. If the data variation range of a work signal data is greater than or equal to a second preset threshold value, the work signal data of the to-be-monitored automation equipment is acquired according to the third monitoring period, a warning signal about abnormality of the work signal data is outputted, and the collected related data is uploaded to the server. If the data variation rate of the work signal data exceeds a third preset threshold value, an alarm signal about serious abnormality of the work signal data is outputted, the to-be-monitored automation equipment is controlled to stop, and the collected related data is uploaded to the server. Different data acquisition modes in different emergency situations are realized, the data acquisition has high real-time performance, and the diagnosis and feedback processing of the on-site operation data have very high effectiveness.
[0054] Specifically, if the absolute value of the action time difference value is less than the first preset threshold, the step of returning continues to acquire the actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment according to the first monitoring period, and calculates the absolute value of the action time difference value according to the actual action time and the standard action time, judges whether the absolute value of the action time difference value is greater than or equal to the first preset threshold, and uploads the collected related data to the server.
[0055] Referring to Figure 2 The present application provides another embodiment, which provides a data acquisition system of a factory automation equipment, the system comprising:
[0056] The acquisition module 100 is configured to acquire the working signal data of the to-be-monitored automation equipment.
[0057] The control module 200 is configured to acquire the standard action time of each action of the standard automation equipment by using the timer unit of the control module 200, or acquire the actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment according to the first monitoring period, and calculate the absolute value of the action time difference value according to the actual action time and the standard action time, upload the collected related data to the server 300, if the absolute value of the action time difference value is greater than or equal to the first preset threshold, acquire the actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment according to the second monitoring period and control the alarm module 400 to output a warning signal, and upload the collected related data to the server.
[0058] The server 300 is configured to receive the collected related data.
[0059] The alarm module 400 is configured to output an alarm signal.
[0060] In a preferred embodiment, the present application further provides an electronic device, comprising:
[0061] The computer device can be a server, a terminal, or any other electronic device having necessary computing and / or processing capabilities in a broad sense. In one embodiment, the computer device can include a processor, a memory, a network interface, a communication interface, and the like connected by a system bus. The processor of the computer device can be configured to provide necessary computing, processing, and / or control capabilities. The memory of the computer device can include a non-volatile storage medium and an internal memory. The non-volatile storage medium can store an operating system, a computer program, and the like therein or thereon. The internal memory can provide an environment for running the operating system and the computer program in the non-volatile storage medium. The network interface and the communication interface of the computer device can be configured to connect and communicate with external devices through a network. The computer program, when executed by the processor, performs the steps of the method of the present application.
[0062] The present application can be implemented as a computer readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the steps of the method of the embodiments of the present application to be performed. In one embodiment, the computer program is distributed over a plurality of computer devices or processors coupled via a network, such that the computer program is stored, accessed, and executed by one or more computer devices or processors in a distributed manner. A single method step / operation, or two or more method steps / operations, can be performed by a single computer device or processor, or by two or more computer devices or processors. One or more method steps / operations can be performed by one or more computer devices or processors, and one or more other method steps / operations can be performed by one or more other computer devices or processors. One or more computer devices or processors can perform a single method step / operation, or perform two or more method steps / operations.
[0063] It will be appreciated by those skilled in the art that the method steps of the present application can be instructed by a computer program to relevant hardware such as a computer device or a processor, which can be stored in a non-transitory computer readable storage medium, and which, when executed, causes the steps of the present application to be performed. Depending on the circumstances, any reference herein to a memory, storage, database, or other medium can include non-volatile and / or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tapes, floppy disks, magneto-optical data storage devices, optical data storage devices, hard disks, solid-state disks, and the like. Examples of volatile memory include random access memory (RAM), external cache memory, and the like.
[0064] It can be understood that if the absolute value of the action time difference value is greater than or equal to the first preset threshold, the actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment are acquired according to the second monitoring period, and a pre-warning signal is output, and the collected related data is uploaded to the server. If the data variation amplitude of a certain working signal data is greater than or equal to the second preset threshold, the working signal data of the to-be-monitored automation equipment is acquired according to the third monitoring period, and a warning signal about the abnormality of the working signal data is output, and the collected related data is uploaded to the server. If the data variation rate of the working signal data exceeds the third preset threshold, an alarm signal about the serious abnormality of the working signal data is output, and the to-be-monitored automation equipment is controlled to stop, and the collected related data is uploaded to the server. Different data acquisition modes under different emergency situations are realized, the data acquisition has high real-time performance, and the diagnosis and feedback processing of the on-site operation data have very high effectiveness.
[0065] The technical features described above can be combined arbitrarily. Although all possible combinations of the technical features are not described, any combination of the technical features should be considered to be covered by the present specification, as long as there is no contradiction in the combination.
[0066] The specific embodiments of the application described above do not constitute a limitation on the scope of protection of the application. Any various other corresponding changes and modifications made according to the technical concept of the present application should be included in the scope of protection of the claims of the present application.
Claims
1. A data collection method of a factory automation device, characterized by, The timer unit of the control module is used to obtain the standard action time of each action of the standard automation equipment, the actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment are obtained according to a first monitoring period, and the absolute value of the action time difference is calculated according to the actual action time and the standard action time, the related data collected is uploaded to the server, if the absolute value of the action time difference is greater than or equal to a first preset threshold, the actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment are obtained according to a second monitoring period, and a pre-warning signal is output, and the related data collected is uploaded to the server; The working signal data at least includes one of the following: The current data of the to-be-monitored automation equipment, the voltage data of the to-be-monitored automation equipment, the temperature data of the to-be-monitored automation equipment, and the vibration frequency data of the action part of the to-be-monitored automation equipment; The actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment according to the second monitoring period further includes: The data change amplitude of each is calculated according to the current data of the to-be-monitored automation equipment and / or the voltage data of the to-be-monitored automation equipment and / or the temperature data of the to-be-monitored automation equipment and / or the vibration frequency data of the action part of the to-be-monitored automation equipment, if the data change amplitude of a certain item of working signal data is greater than or equal to a second preset threshold, the third monitoring period is used to obtain the working signal data of the to-be-monitored automation equipment and output the warning signal about the abnormality of the working signal data, and the related data collected is uploaded to the server; The actual action time of the corresponding action of the to-be-monitored automation equipment and the working signal data of the to-be-monitored automation equipment according to the second monitoring period further includes: The data change rate of the working signal data is calculated according to the data change amplitude of the working signal data and the third monitoring period, if the data change rate of the working signal data exceeds a third preset threshold, an alarm signal about the serious abnormality of the working signal data is output, the to-be-monitored automation equipment is controlled to stop, and the related data collected is uploaded to the server.
2. The data collection method of a factory automation device according to claim 1, characterized by, The third monitoring period is less than the second monitoring period, and the second monitoring period is less than the first monitoring period.
3. The data acquisition method of the factory automation equipment according to claim 2, characterized in that, The method further includes: If the data change rate of the working signal data is less than or equal to the third preset threshold, the duration of the abnormality of the working signal data is calculated according to the third monitoring period, if the duration of the abnormality of the working signal data is greater than or equal to a fourth preset threshold, an alarm signal about the serious abnormality of the working signal data is output, the to-be-monitored automation equipment is controlled to stop, and the related data collected is uploaded to the server.
4. The data collection method of a factory automation device according to claim 3, characterized by, The method further includes: If the duration of the abnormal work signal data is less than the fourth preset threshold, the method returns to step S2 of acquiring the actual action time of the corresponding action of the to-be-monitored automation device and the work signal data of the to-be-monitored automation device according to the second monitoring period, and uploading the collected related data to the server.
5. The data collection method of a factory automation device according to Claim 1, characterized by, The method further comprises: If the absolute value of the action time difference is less than the first preset threshold, the method returns to step S2 of acquiring the actual action time of the corresponding action of the to-be-monitored automation device and the work signal data of the to-be-monitored automation device according to the first monitoring period, and calculating the absolute value of the action time difference according to the actual action time and the standard action time, determining whether the absolute value of the action time difference is greater than or equal to the first preset threshold, and uploading the collected related data to the server.
6. A data acquisition system for a factory automation installation, characterized by The data acquisition module of the factory automation device according to any one of claims 1-5 is used to acquire the work signal data of the to-be-monitored automation device. The control module is used to acquire the standard action time of each action of the standard automation device by using the timer unit of the control module, or acquire the actual action time of the corresponding action of the to-be-monitored automation device and the work signal data of the to-be-monitored automation device according to the first monitoring period, and calculate the absolute value of the action time difference according to the actual action time and the standard action time, upload the collected related data to the server, and if the absolute value of the action time difference is greater than or equal to the first preset threshold, acquire the actual action time of the corresponding action of the to-be-monitored automation device and the work signal data of the to-be-monitored automation device according to the second monitoring period and control the alarm module to output a warning signal, and upload the collected related data to the server. The server is used to receive the collected related data. The alarm module is used to output an alarm signal.
7. An electronic device, comprising: Comprise: A memory; and a processor, the memory has computer readable instructions stored thereon, and the computer readable instructions are executed by the processor to implement the data acquisition method of the factory automation device according to any one of claims 1-5.
Citation Information
Patent Citations
Device for recording and monitoring running of staircase
CN102826437A
Method and system for detecting vibration signal of driving shaft of gas compressor
CN105041631A
Equipment fault reporting method and device and storage medium
CN114155692A