Industrial production line measurement and control system and method adapted to PLC, electronic equipment and medium

By introducing a data verification module and a secondary acquisition mechanism in the PLC system, the problem of insufficient data verification in the PLC system is solved, the accuracy and completeness of the data are achieved, and effective monitoring and analysis of the production process is ensured.

CN118981179APending Publication Date: 2024-11-19CHINA TOBACCO SICHUAN IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411040179.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

The existing PLC-type industrial production line computer control systems cannot verify data, resulting in signal interference, data loss or inconsistency, affecting the accuracy and reliability of the system.

Method used

A system including communication module, data acquisition module, data verification module, data return module, data processing module and data storage management module is designed. The collected data is verified through the data verification module, and the verification is passed and transferred to the data processing module. , otherwise secondary acquisition will be carried out to ensure the integrity and reliability of the data.

Benefits of technology

Effectively handle and correct abnormalities in the data collection process, ensure the accuracy and completeness of the data, and thus ensure the effectiveness of production process monitoring and analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118981179A_ABST
    Figure CN118981179A_ABST
Patent Text Reader

Abstract

The invention discloses an industrial production line measurement and control system and method adapted to a PLC, electronic equipment and a medium, and the system comprises a communication module which is used for building communication connection with the PLC; the data acquisition module is used for acquiring data from sensor equipment of the PLC production line through the communication module; the data verification module is used for verifying the data acquired by the data acquisition module, sending the data to the data processing module if the verification is passed, and otherwise, sending an instruction to the data return module; the data return module is used for sending a secondary acquisition signal to the data acquisition module when receiving the instruction; the data processing module is used for processing and analyzing the verified data and sending the verified data to the data storage management module; and the data storage management module is used for storing and managing the verified data. According to the method, the data verification process is added, secondary acquisition is carried out when data verification fails, abnormity in the data acquisition process is effectively processed and corrected, data integrity and accuracy are ensured, the situation of data inaccuracy caused by errors or interference in the acquisition process is avoided, and therefore the effectiveness of monitoring and analysis in the production process is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial automation control technology, and in particular to an industrial production line measurement and control system, method, electronic equipment and medium adapted to PLC. Background Art

[0002] The current industrial production line measurement and control computer systems are divided into two types: single-chip microcomputers and programmable logic controllers (PLCs). The advantages of single-chip microcomputers are: 1. Good real-time signal acquisition and control, and timely handling of unexpected consequences on site; 2. The external I / O interface and storage capacity can be expanded as needed. Its disadvantages are: 1. Complex programming, high learning threshold, and enterprises need to spend a lot of money to train users. The advantages of PLCs are: strong versatility, simple programming, easy to learn and use, and wide adaptability. However, when it is used, it does not have a data verification module. Signal interference, data loss or data inconsistency may occur during data acquisition, and data cannot be verified, which will affect the accuracy and reliability of the system. Summary of the invention

[0003] The purpose of the present invention is to provide an industrial production line measurement and control system, method, electronic equipment and medium adapted to PLC, which is used to solve the problem in the prior art that the industrial production line PLC type computer control system affects the accuracy and reliability of the system due to the inability to verify data.

[0004] The present invention solves the above problems through the following technical solutions:

[0005] An industrial production line measurement and control system adapted to PLC, comprising:

[0006] Communication module, used to establish communication connection with PLC;

[0007] A data acquisition module is used to collect data from sensor devices of the PLC production line through the communication module;

[0008] The data verification module is used to verify the data collected by the data acquisition module. If the data passes the verification, it will be sent to the data processing module. Otherwise, it will send instructions to the data return module.

[0009] The data return module is used to send a secondary collection signal to the data collection module upon receiving an instruction;

[0010] A data processing module, used for processing and analyzing the verified data, and sending the verified data to the data storage management module;

[0011] The data storage management module is used to store and manage the verified data.

[0012] After the data acquisition module completes data collection, the present invention verifies the data through the data verification module. After the verification, the system transmits the data to the data processing module, which can realize real-time monitoring and analysis of the production line status. When the verification fails, the system notifies through the data return module and performs secondary collection through the data acquisition module. This mechanism can effectively handle and correct anomalies in the data collection process, ensure the integrity and reliability of the data, avoid inaccurate data caused by errors or interference in the collection process, and thus ensure the effectiveness of production process monitoring and analysis.

[0013] Furthermore, it also includes a user interface module for displaying the processing and analysis results of the verified data by the data processing module.

[0014] Further, the verification module includes a check sorting unit, a balancing unit and an integrity check unit, wherein:

[0015] A checking and sorting unit is used to check the occurrence frequency of the same data in each field of the multiple data collected by the data collection module, and assign values ​​from low to high according to the frequency of occurrence, i.e. 1-the number of data collected;

[0016] The balancing unit is used to check the sorted data from both ends to the middle to check whether there is a null value in each field of the data. If there is a null value, the data is deleted until the two data in the center are checked. If there is still data left, it is sent to the next module. If all are deleted, an instruction is sent to the data return module.

[0017] The integrity check unit is used to check the integrity of the remaining data from high to low according to the assigned values. If the integrity passes, it will be output to the data processing module and end. If it fails, it will send instructions to the data return module.

[0018] A PLC-compatible industrial production line measurement and control method, comprising:

[0019] Step S1, establishing communication with PLC;

[0020] Step S2, acquiring collected data from the sensors of the PLC production line, and verifying the collected data. If the verification passes, proceed to step S3, otherwise proceed to step S4;

[0021] Step S3: Process and analyze the verified data, and display the processing and analysis results;

[0022] Step S4, send a secondary collection instruction, and return to step S2.

[0023] Furthermore, the method for verifying the collected data is as follows:

[0024] Check the frequency of occurrence of the same data in each field of the collected data, and assign values ​​from low to high based on the frequency of occurrence (1-collected quantity);

[0025] Check the sorted data from both ends to the middle to see if there is a null value in each field of the data. If there is a null value, delete the data until the two data in the center are checked. If there is any remaining data, proceed to the next step. If all are deleted, proceed to step S4.

[0026] Check the integrity of the remaining data from high to low according to the assigned values. If the integrity passes, go to step S3. If it fails, go to step S4.

[0027] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the industrial production line measurement and control method adapted to PLC is implemented.

[0028] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the industrial production line measurement and control method adapted to PLC.

[0029] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0030] The present invention adds a data verification process and performs secondary collection when data verification fails, effectively processing and correcting anomalies in the data collection process, ensuring the integrity and accuracy of the data, and avoiding inaccurate data caused by errors or interference in the collection process, thereby ensuring the effectiveness of production process monitoring and analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a system block diagram of the present invention. DETAILED DESCRIPTION

[0032] The present invention is further described in detail below in conjunction with examples, but the embodiments of the present invention are not limited thereto.

[0033] Embodiment 1:

[0034] Combined with Figure 1 As shown, an industrial production line measurement and control system adapted to PLC includes:

[0035] Communication module, used to establish communication connection with PLC;

[0036] Data acquisition module, used to collect data from sensor devices of the PLC production line through the communication module, such as real-time production data such as temperature, pressure, speed, etc.;

[0037] The data verification module is used to verify the data collected by the data acquisition module. If the data passes the verification, it will be sent to the data processing module. Otherwise, it will send instructions to the data return module.

[0038] The data return module is used to send a secondary collection signal to the data collection module upon receiving an instruction;

[0039] A data processing module, used for processing and analyzing the verified data, and sending the verified data to the data storage management module;

[0040] The data storage management module is used to store and manage the verified data.

[0041] After the data is collected by the data acquisition module, it is verified by the data verification module. After verification, the system transmits the data to the data processing module, which can realize real-time monitoring and analysis of the production line status. When the verification fails, the system notifies through the data return module and performs secondary collection through the data acquisition module. This mechanism can effectively handle and correct anomalies in the data collection process and ensure the integrity and reliability of the data. This can avoid inaccurate data caused by errors or interference in the collection process, thereby ensuring the effectiveness of production process monitoring and analysis.

[0042] Furthermore, it also includes a user interface module for displaying the processing and analysis results of the verified data by the data processing module.

[0043] The data processing module receives the verified data and processes and analyzes the data according to the preset logic and algorithm, such as generating reports, conducting real-time monitoring, issuing automatic control instructions, etc. The processed data is sent to the user interface module for the operator to view. The user interface module provides the operator with a graphical interface or command line interface to display real-time production data, processed analysis results, alarm information, etc.

[0044] Further, the verification module includes a check sorting unit, a balancing unit and an integrity check unit, wherein:

[0045] A checking and sorting unit is used to check the occurrence frequency of the same data in each field of the multiple data collected by the data collection module, and assign values ​​from low to high according to the frequency of occurrence, i.e. 1-the number of data collected;

[0046] The balancing unit is used to check the sorted data from both ends to the middle to check whether there is a null value in each field of the data. If there is a null value, the data is deleted until the two data in the center are checked. If there is still data left, it is sent to the next module. If all are deleted, an instruction is sent to the data return module.

[0047] The integrity check unit is used to check the integrity of the remaining data from high to low according to the assigned values. If the integrity passes, it will be output to the data processing module and end. If it fails, it will send instructions to the data return module.

[0048] Furthermore, the data acquisition module is an acquisition card; the data return module is a signal transmission device, such as a Bluetooth module; the data processing module is a data processor; the user interface module is a display screen, and also includes a power module for powering the user interface module; the data storage management module is a memory card; and the communication module is a CANopen dedicated protocol communication module.

[0049] Embodiment 2:

[0050] A PLC-compatible industrial production line measurement and control method, comprising:

[0051] Step S1, establishing communication with PLC;

[0052] Step S2, acquiring collected data from the sensors of the PLC production line, and verifying the collected data. If the verification passes, proceed to step S3, otherwise proceed to step S4;

[0053] Step S3: Process and analyze the verified data, and display the processing and analysis results;

[0054] Step S4, send a secondary collection instruction, and return to step S2.

[0055] Furthermore, the method for verifying the collected data is as follows:

[0056] Check the frequency of occurrence of the same data in each field of the collected data, and assign values ​​from low to high based on the frequency of occurrence (1-collected number);

[0057] Check the sorted data from both ends to the middle to see if there is a null value in each field of the data. If there is a null value, delete the data until the two data in the center are checked. If there is any remaining data, proceed to the next step. If all are deleted, proceed to step S4.

[0058] Check the integrity of the remaining data from high to low according to the assigned values. If the integrity passes, go to step S3. If it fails, go to step S4.

[0059] Embodiment 3:

[0060] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the industrial production line measurement and control method adapted to PLC is implemented.

[0061] Embodiment 4:

[0062] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the industrial production line measurement and control method adapted to PLC.

[0063] Although the present invention is described herein with reference to the illustrative embodiments of the present invention, the above embodiments are only preferred embodiments of the present invention, and the embodiments of the present invention are not limited to the above embodiments. It should be understood that those skilled in the art can design many other modifications and embodiments, which will fall within the scope and spirit of the principles disclosed in this application.

Claims

1. An industrial production line measurement and control system adapted to PLC, It is characterized in that include: Communication module, used to establish communication connection with PLC; A data acquisition module is used to collect data from sensor devices of the PLC production line through the communication module; The data verification module is used to verify the data collected by the data acquisition module. If the data passes the verification, it will be sent to the data processing module. Otherwise, it will send instructions to the data return module. The data return module is used to send a secondary collection signal to the data collection module upon receiving an instruction; A data processing module, used for processing and analyzing the verified data, and sending the verified data to the data storage management module; The data storage management module is used to store and manage the verified data.

2. The industrial production line measurement and control system adapted to PLC according to claim 1, It is characterized in that It also includes a user interface module for displaying the processing and analysis results of the verified data by the data processing module.

3. The industrial production line measurement and control system adapted to PLC according to claim 1, It is characterized in that The verification module includes a check sorting unit, a balance unit and an integrity check unit, wherein: A checking and sorting unit is used to check the occurrence frequency of the same data in each field of the multiple data collected by the data collection module, and assign values ​​from low to high according to the frequency of occurrence, i.e. 1-the number of data collected; The balancing unit is used to check the sorted data from both ends to the middle to check whether there is a null value in each field of the data. If there is a null value, the data is deleted until the two data in the center are checked. If there is still data left, it is sent to the next module. If all are deleted, an instruction is sent to the data return module. The integrity check unit is used to check the integrity of the remaining data from high to low according to the assigned values. If the integrity passes, it will be output to the data processing module and end. If it fails, it will send instructions to the data return module.

4. A method for measuring and controlling industrial production lines adapted to PLC, It is characterized in that include: Step S1, establishing communication with PLC; Step S2, acquiring collected data from the sensors of the PLC production line, and verifying the collected data. If the verification passes, proceed to step S3, otherwise proceed to step S4; Step S3: Process and analyze the verified data, and display the processing and analysis results; Step S4, send a secondary collection instruction, and return to step S2.

5. The industrial production line measurement and control method adapted to PLC according to claim 4, It is characterized in that The method to verify the collected data is: Check the frequency of occurrence of the same data in each field of the collected data, and assign values ​​from low to high based on the frequency of occurrence (1-collected quantity); Check the sorted data from both ends to the middle to see if there is a null value in each field of the data. If there is a null value, delete the data until the two data in the center are checked. If there is any remaining data, proceed to the next step. If all are deleted, proceed to step S4. Check the integrity of the remaining data from high to low according to the assigned values. If the integrity passes, go to step S3. If it fails, go to step S4.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the industrial production line measurement and control method adapted to PLC as described in claim 4 or 5 is implemented.

7. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the industrial production line measurement and control method adapted to PLC as described in claim 4 or 5 is implemented.