Multifunctional edge industrial gateway and part online detection method
By integrating the grating ruler module and computing unit in the edge industrial gateway, precise online measurement and data comparison of workpieces is achieved, which solves the problem of online quality control that cannot be achieved with existing technology and improves product quality and production efficiency.
Patent Information
- Application Number
- CN202410711722.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-24
AI Technical Summary
Existing edge industrial gateways cannot achieve precise online measurement of workpieces and online quality data comparison, resulting in unstable product quality and reduced production efficiency.
Design a multifunctional edge industrial gateway that integrates a grating ruler module and a computing unit to automatically measure the size information of parts and compare it with the standard size information. When the difference exceeds the preset range, an alarm will be prompted. Combined with the physical Networked communication modules and storage units enable data collection, calculation and uploading.
It achieves precise online measurement and online data comparison of workpieces, improves product processing accuracy and production efficiency, and reduces manufacturing costs.
Smart Images

Figure CN118694633A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial gateways, and in particular to a multifunctional edge industrial gateway integrating machine tool data acquisition and online measurement of workpiece dimensions and a parts online detection method. Background Art
[0002] With the advent of the big data era, in order to seize the opportunities of digital transformation, gain a foothold and develop in the fierce market competition, and create the important strategic goal of "digital factory", enterprises must achieve secure remote access to machines and connect to industrial equipment easily and securely from anywhere. Therefore, it is necessary to install digital gateways with physical interfaces such as 232 / 485 serial ports, network ports, WIFI and GPRS modules on the equipment.
[0003] In the process of connecting data to realize digital production, in order to complete the real-time collection of machine tool, cutting tool and workpiece data and achieve the purpose of data interaction, a comprehensive industrial data collection gateway with cloud management function is needed. However, the edge gateways on the market currently do not have the function of precise measurement of workpieces and cannot realize online quality data comparison, which can easily cause product quality defects and reduce production efficiency. Summary of the invention
[0004] The purpose of the present invention is to provide a multifunctional edge industrial gateway and a parts online detection method, which can perform precise online measurement of workpieces and realize online data comparison.
[0005] To achieve the above object, the present invention provides the following solutions:
[0006] A multifunctional edge industrial gateway, comprising: a housing, a grating ruler module and a computing unit; the grating ruler module is connected to the computing unit;
[0007] One side of the housing is open; the grating ruler module is arranged at the opening, and the measuring head of the grating ruler module is arranged outside the housing;
[0008] The grating ruler module is used to measure the size information of the parts and transmit the size information to the computing unit;
[0009] The calculation unit is used to calculate the difference between the size information and the standard size information, and to issue an alarm when the difference exceeds a preset difference range.
[0010] Optionally, the dimension information includes: one or more of thickness dimension information, outer diameter dimension information, width dimension information, inner diameter dimension information, straightness dimension information, height dimension information, step difference dimension information, circle concentricity dimension information, workpiece inner hole diameter dimension information, roundness dimension information, and shaft surface runout dimension information.
[0011] Optionally, it also includes: a display unit;
[0012] The display unit is used to display the size information and the alarm prompt information.
[0013] Optionally, it also includes: multifunctional IoT communication module;
[0014] The industrial gateway obtains data of industrial field equipment through the multifunctional IoT communication module;
[0015] The industrial field equipment includes: one or more of sensors, instruments, PLC and CNC.
[0016] Optional,
[0017] The multifunctional IoT communication module includes: one or more of an industrial bus interface, a wireless interface and a network interface.
[0018] Optionally, it also includes: a storage unit;
[0019] The storage unit is used to store data.
[0020] A method for online detection of parts based on the multifunctional edge industrial gateway described in any one of the above, the method comprising:
[0021] Put the standard part into the measuring platform to obtain standard size information; the standard size information is the reading of the grating ruler module in the multifunctional edge industrial gateway after the standard part and the multifunctional edge industrial gateway are placed on the measuring platform;
[0022] Acquire the size information of the part to be measured; the size information of the part to be measured is the reading of the grating ruler module after the standard part is removed from the measuring platform and the part to be measured is placed on the measuring platform;
[0023] Calculating the difference between the dimension information of the part to be measured and the standard dimension information;
[0024] The difference is compared with a preset difference range, and an alarm is issued when the difference exceeds the preset difference range.
[0025] Optionally, the method further includes:
[0026] The difference is input into the numerical control system as the tool compensation value.
[0027] Optionally, after calculating the difference between the size information of the part to be measured and the standard size information, the method further includes:
[0028] The difference is displayed using a display screen.
[0029] Optionally, the method further includes: deleting measurement information acquired within a preset time.
[0030] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0031] The present invention provides a multifunctional edge industrial gateway and a method for online detection of parts, the gateway comprising: a housing, a grating ruler module and a computing unit; the grating ruler module is connected to the computing unit; one side of the housing is open; the grating ruler module is arranged at the opening, and the probe of the grating ruler module is arranged outside the housing; the grating ruler module is used to measure the size information of the part, and transmit the size information to the computing unit; the computing unit is used to calculate the difference between the size information and the standard size information, and an alarm is given when the difference exceeds a preset difference range. The present invention adds a computing unit and a grating ruler module on the basis of the hardware of the digital gateway, so that the multifunctional edge industrial gateway has the function of automatic measurement and the function of realizing online data comparison. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0033] Figure 1 A schematic diagram of the structure of the multifunctional edge industrial gateway provided in Example 1 of the present invention.
[0034] Figure 2 This is a schematic diagram of the automatic thickness or outer diameter measurement function provided in Example 1 of the present invention.
[0035] Figure 3 This is a schematic diagram of the automatic width or inner diameter measurement function provided in Example 1 of the present invention.
[0036] Figure 4 This is a schematic diagram of the automatic flatness measurement function provided in Example 1 of the present invention.
[0037] Figure 5 This is a schematic diagram of the thickness and height automatic measurement function provided in Example 1 of the present invention.
[0038] Figure 6 Schematic diagram of the step difference automatic measurement function provided in Example 1 of the present invention.
[0039] Figure 7 This is a schematic diagram of the dynamic circle concentricity automatic measurement function provided in Example 1 of the present invention.
[0040] Figure 8 Schematic diagram of the automatic measurement function of the inner hole diameter and roundness of the workpiece provided in Example 1 of the present invention.
[0041] Fig. 9 Schematic diagram of the automatic measurement function of shaft surface runout provided in Example 1 of the present invention.
[0042] Fig.10 This is a schematic diagram of automatic measurement provided in Example 1 of the present invention.
[0043] Fig.11 A schematic flow chart of an online parts detection method provided in Example 2 of the present invention. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] The present invention integrates a multifunctional Internet of Things industrial data acquisition gateway during the CNC machine tool processing process in a digital factory. It has the function of online real-time monitoring of machine tool operation, workpiece accuracy and tool status data, and collects the operating status of machine tool equipment based on network communication, edge computing and precision measurement technology; and can automatically measure the workpiece size accuracy through an internal program according to the working principle of the grating ruler, and perform edge comparison calculations in combination with the set parameters given by the control system to realize automatic compensation function, and upload the cleaned data to the cloud platform; the machine tool status, tool life cycle, and workpiece quality process can be mined, analyzed and counted, so as to further improve the product processing accuracy and production efficiency and reduce manufacturing costs.
[0046] The purpose of the present invention is to provide a multifunctional edge industrial gateway and a parts online detection method, which can perform precise online measurement of workpieces and realize online data comparison.
[0047] Based on the existing digital gateway hardware, through embedded software and the addition of a grating ruler module, the original data collection and forwarding functions are upgraded to have automatic measurement functions while also having edge computing and data interaction and communication functions. It can communicate with various industrial control equipment, collect data and upload it to the cloud, improve the further application of data, and become a comprehensive gateway based on the management of the Internet of Things cloud platform, integrating equipment data, tool status, online dimension measurement and edge computing.
[0048] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0049] Example 1
[0050] See also Figure 1 , this embodiment provides a multifunctional edge industrial gateway, including: a housing, a grating ruler module and a computing unit; the grating ruler module is connected to the computing unit;
[0051] One side of the housing is open; the grating ruler module is arranged at the opening, and the measuring head of the grating ruler module is arranged outside the housing;
[0052] The grating ruler module is used to measure the size information of the parts and transmit the size information to the computing unit;
[0053] The calculation unit is used to calculate the difference between the size information and the standard size information, and to issue an alarm when the difference exceeds a preset difference range.
[0054] Among them, the dimensional information measured in this embodiment includes: one or more of thickness dimensional information, outer diameter dimensional information, width dimensional information, inner diameter dimensional information, straightness dimensional information, height dimensional information, step difference dimensional information, circle concentricity dimensional information, workpiece inner hole diameter dimensional information, roundness dimensional information, and shaft surface runout dimensional information.
[0055] The multifunctional edge industrial gateway in this embodiment also includes: a display unit for displaying the size information and alarm prompt information.
[0056] The multifunctional edge industrial gateway in this embodiment also includes: a multifunctional IoT communication module; the industrial gateway obtains data of industrial field equipment through the multifunctional IoT communication module; the industrial field equipment includes: one or more of sensors, instruments, PLCs and CNCs. The multifunctional IoT communication module includes: one or more of an industrial bus interface, a wireless interface and a network interface.
[0057] As the most basic function of the industrial gateway, the basic data collection and forwarding functions connect the sensors, instruments, PLC, CNC and other equipment on the industrial site to the gateway through the industrial bus interface (RS485, CAN, etc.), wireless interface, and network interface in this embodiment. Through the corresponding communication protocol of the field equipment (such as Modbus, ModbusTcp, TCP / IP, OPC, DTL645, etc.), the data of the equipment can be read and written and control commands can be issued; the gateway can send the collected data to the system platform through 4G / 5G, industrial bus interface, network interface, etc. For example, a flow sensor is installed on the pipeline. When liquid flows through, the sensor generates a corresponding electrical signal, which is transmitted to the flow meter through the wire. After the flow meter converts the electrical signal, the field flow value is displayed. At the same time, the digital gateway reads the data from the instrument through the 485 interface with the Modbus Rtu protocol and uploads it to the system platform.
[0058] Among them, the sensors commonly used in industrial sites include: pressure, flow, liquid level, temperature, displacement, etc. Their output methods are standard electrical signal output (for example: 0-10V or 0-20mA, etc.) and standard communication port output (for example: 485 / 232 or network interface, etc.); instruments generally correspond to sensors (for example: pressure gauges, flow meters, etc.), they convert the electrical signals fed back by the sensors into actual engineering values on site, and instruments generally have various communication ports, which can upload the actual engineering value data on site to the system platform through the communication protocol corresponding to the field instrument interface.
[0059] The multifunctional edge industrial gateway provided in this embodiment also includes: a storage unit. Based on the storage unit, the multifunctional edge industrial gateway provided in this embodiment has storage and breakpoint resume functions. The gateway has a built-in FLASH storage unit to support local data storage and effectively prevent data loss; when the platform loses connection with the site, the gateway continues the on-site collection and storage work, and after the communication with the platform is restored, the data can be actively uploaded to the platform from the time of disconnection to ensure the integrity of the platform's basic data.
[0060] The multifunctional edge industrial gateway provided in this embodiment also has edge computing functions: the gateway supports various edge computing functions such as intelligent collection, data filtering, alarm calculation, jump triggering, formula calculation, grouping strategy, etc. The gateway can process the field data according to the preset and send the processing results to the platform.
[0061] The edge computing process is exemplified as follows: Assuming that a machine tool is processing a bearing ring, the outer diameter of the bearing ring is 20mm, and the tolerance is plus or minus 0.003mm. These data are set in the gateway. When a part is processed, it is placed on the measuring platform, and the measuring head position moves to trigger the measurement function, and the jump trigger is completed; the measurement is completed in a unit time (N data can be collected per second), and all data are temporarily stored in the operation unit to complete the collection function; the data is removed from a maximum value and a minimum value according to the software requirements (it can also be set by time to remove the data before and after a few tenths of a second), and the data filtering is completed; according to the requirements of taking the average value, the remaining data is added and divided by the number of data to obtain the average value, and the calculation function is completed; the average value obtained is compared with the pre-set value, and if it exceeds the tolerance, an alarm will be triggered; the average value data and the comparison result will be displayed on the gateway screen, and the data will be uploaded to the IOT platform, and the data compensation function will also be turned on, judging whether to make tool radius compensation or feed position compensation according to the setting. The calculated data interacts with the control system of the device through the IoT interface, so that the processing position can be automatically compensated.
[0062] The multifunctional edge industrial gateway provided in this embodiment can also provide remote maintenance and debugging services: after the gateway is connected to the platform, the supporting debugging software is remotely connected to the on-site gateway through the remote server. Engineers can debug the on-site gateway or troubleshoot on-site problems in the office, and solve problems remotely immediately when problems are found, greatly improving operating efficiency.
[0063] This embodiment can troubleshoot many problems, for example: 1. During the turning process of the lathe, the size of the processed parts has basically not changed, but the surface roughness has seriously decreased. By comparing the newly collected machine tool spindle motor current and feed motor current with previous data, it is found that the motor current is gradually increasing. According to this analysis, it is found that the tool is passivating at a fast speed. Although the equipment is positioned correctly, it takes a lot of force, turning the original light cutting into extrusion scraping, resulting in a decline in surface quality. 2. Check the pipeline pressure. During the operation of the equipment, the liquid in the pipeline needs to reach a certain pressure before it can operate. When the normal operating pressure of the hydraulic motor cannot be reached, the real-time data of the pressure monitored by the platform is compared with the preset data and exceeds the range. An alarm will be issued on the platform display screen and the on-site display device to prompt personnel to intervene.
[0064] See also Figure 2-Figure 9This embodiment realizes the automatic measurement function through the grating ruler module. On the basis of the existing digital gateway hardware, it is placed in the gateway in a modular form through embedded software and the addition of a grating ruler module (the grating ruler uses the principle of Moore fringe and photoelectric conversion to digitally represent the linear displacement); on the basis of the original data collection and forwarding functions, the gateway is upgraded to have the automatic measurement function while also having edge computing and data interaction and communication functions. The gateway relies on the function of reading and measuring the number of grating ruler pulses (the corresponding moving distance is obtained after the number of pulses is converted), and adds an edge trigger function (using the rising edge of the probe movement) to trigger the timed measurement time (the time can be adjusted). Within the unit time of measurement, the obtained data is calculated by the DSP high-speed computing unit, stored in the FLASH unit, and displayed on the LCD screen (multiple sets of data can be set to display). At the same time, the set data is uploaded to the cloud through physical interfaces such as 232 / 485 serial port, network port, WIFI and GPRS module. The measurement schematic diagram is shown as follows Fig.10 shown.
[0065] Automatic data compensation function: The measurement result calculated by the gateway per unit time is compared with the set value (the preset number set in the gateway or the preset number set in the reading system). If it exceeds the set abnormal range (exceeding the upper and lower limits or several consecutive points appear on the same side of the preset dimension line), the gateway calculates the compensation amount according to the internal design formula and sends a new tool radius compensation (PLC system feed axis feed amount compensation) to the CNC system through the data interface to improve the processing accuracy of the workpiece.
[0066] The present embodiment provides a multifunctional edge industrial gateway, including: a housing, a grating ruler module and a computing unit; the grating ruler module is connected to the computing unit; one side of the housing is open; the grating ruler module is arranged at the opening, and the probe of the grating ruler module is arranged outside the housing; the grating ruler module is used to measure the size information of the part, and transmit the size information to the computing unit; the computing unit is used to calculate the difference between the size information and the standard size information, and an alarm is given when the difference exceeds a preset difference range. The present invention adds a computing unit and a grating ruler module on the basis of the hardware of the digital gateway, so that the multifunctional edge industrial gateway has the function of automatic measurement and the function of realizing online data comparison.
[0067] Example 2
[0068] See also Fig.11 This embodiment provides a method for online detection of parts. The method is based on the method of the multifunctional edge industrial gateway described in Example 1 and includes:
[0069] S1. Place a standard part on the measuring platform to obtain standard size information; the standard size information is the reading of the grating ruler module in the multifunctional edge industrial gateway after placing the standard part and the multifunctional edge industrial gateway on the measuring platform.
[0070] S2. Obtaining the size information of the part to be measured; the size information of the part to be measured is the reading of the grating ruler module after the standard part is removed from the measuring platform and the part to be measured is placed on the measuring platform.
[0071] S3, calculating the difference between the dimension information of the part to be measured and the standard dimension information, and then displaying the difference on a display screen.
[0072] S4. Compare the difference with a preset difference range, and issue an alarm when the difference exceeds the preset difference range.
[0073] As a specific implementation method, the parts online detection method specifically includes the following steps:
[0074] A1. Adjust the gateway measurement time S1 second (P9 function, time adjustable) and the shortest time S2 seconds (P7 function, time adjustable) required to load and unload the workpiece according to the size of the workpiece.
[0075] A2. After the gateway is placed on the measuring platform and locked firmly, place the standard part, lift the probe to position 0, and press the gateway zero key on the P0 page to return the gateway display value to zero.
[0076] A3. Remove the standard parts. The gateway probe is in the original relaxed state when it moves downward, temporarily set to position 1. The gateway is placed on page P1 (automatic measurement page), and the workpiece to be measured is reloaded. The probe moves from position 1 to position 0. The rising edge of the movement triggers the measurement function to enter the measurement state to read the displacement. The rotation of the workpiece is completed within the specified S1 time, and N measurement data are obtained (the amount of data is related to the scanning cycle of the gateway, and there are at least dozens of data per second). Since the friction force must be overcome at the moment of starting to rotate the workpiece, the workpiece will deviate or jitter, so the data of the first few tenths of a second is inaccurate and cannot be used for data calculation. Therefore, the correct data is N-N1 (the data obtained within the deducted initial time). This calculation process is completed by the DSP high-speed computing unit (with a special formula written internally). The calculated data is transmitted to the display screen and the FLASH unit for storage.
[0077] A4. The measurement result can be compared with the set value. If it exceeds the set range, the display screen will display an alarm (P2 sets the preset number, P3 sets the upper tolerance, P4 sets the basic size, and P5 sets the lower tolerance). The calculated data interacts with the control system of the equipment through the IoT interface, so that the processing position can be automatically compensated and the processing accuracy of the product can be improved. For example: the difference between the actual diameter measurement value and the set value in the outer diameter processing can be directly entered into the CNC system or PLC as the tool compensation value to improve the processing quality.
[0078] A5. Remove the workpiece to be measured, and the gateway probe returns from position 0 to position 1. The falling edge of the probe moving down to the position triggers the multifunctional IoT communication module, and the FLASH unit uploads the N-N1 data saved to the server through the network to obtain a complete set of data. By comparing multiple groups of data, an SPC chart of quality data is generated to help enterprises improve product quality.
[0079] A6. The time S2 from removing the workpiece to loading the new workpiece (the shortest time required to load and unload the workpiece) is the shortest time to ensure that the workpiece can be smoothly and accurately fed into the measuring device. If the time is shorter than this, the workpiece may not be placed correctly, so the gateway will not enter the measurement state to ensure the accuracy of the data.
[0080] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, 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. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided by the present invention may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited thereto. The processor involved in each embodiment provided by the present invention may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited thereto.
[0081] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0082] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A multifunctional edge industrial gateway, It is characterized in that include: Housing, grating scale module and computing unit; The grating ruler module is connected to the computing unit; One side of the housing is open; The grating ruler module is arranged at the opening, and the measuring head of the grating ruler module is arranged outside the housing; The grating ruler module is used to measure the size information of the parts and transmit the size information to the computing unit; The calculation unit is used to calculate the difference between the size information and the standard size information, and to issue an alarm when the difference exceeds a preset difference range.
2. A multifunctional edge industrial gateway according to claim 1, It is characterized in that The dimension information includes: one or more of thickness dimension information, outer diameter dimension information, width dimension information, inner diameter dimension information, straightness dimension information, height dimension information, step difference dimension information, circle concentricity dimension information, workpiece inner hole diameter dimension information, roundness dimension information, and shaft surface runout dimension information.
3. A multifunctional edge industrial gateway according to claim 1, It is characterized in that Also includes: Display unit; The display unit is used to display the size information and the alarm prompt information.
4. A multifunctional edge industrial gateway according to claim 1, It is characterized in that Also includes: Multifunctional IoT communication module; The industrial gateway obtains data of industrial field equipment through the multifunctional IoT communication module; The industrial field equipment includes: one or more of sensors, instruments, PLC and CNC.
5. A multifunctional edge industrial gateway according to claim 4, It is characterized in that The multifunctional IoT communication module includes: one or more of an industrial bus interface, a wireless interface and a network interface.
6. A multifunctional edge industrial gateway according to claim 1, It is characterized in that Also includes: Storage unit; The storage unit is used to store data.
7. A method for online detection of parts based on the multifunctional edge industrial gateway according to any one of claims 1 to 6, It is characterized in that The method comprises: Put the standard part into the measuring platform to obtain standard size information; the standard size information is the reading of the grating ruler module in the multifunctional edge industrial gateway after the standard part and the multifunctional edge industrial gateway are placed on the measuring platform; Acquire the size information of the part to be measured; the size information of the part to be measured is the reading of the grating ruler module after the standard part is removed from the measuring platform and the part to be measured is placed on the measuring platform; Calculating the difference between the dimension information of the part to be measured and the standard dimension information; The difference is compared with a preset difference range, and an alarm is issued when the difference exceeds the preset difference range.
8. The parts online detection method according to claim 7, It is characterized in that The method further comprises: The difference is input into the numerical control system as the tool compensation value.
9. The parts online detection method according to claim 7, It is characterized in that It is characterized in that After calculating the difference between the dimension information of the part to be measured and the standard dimension information, the method further includes: The difference is displayed using a display screen.
10. The parts online detection method according to claim 7, It is characterized in that The method further includes: deleting measurement information acquired within a preset time.
Citation Information
Cited By
Digital production progress tracking method, productivity analysis method and system
CN120087734A
Multi-source verification handheld industrial intelligent terminal integrating on-line measurement technology and MES function
CN120163497A
