CNC machine tool monitoring system and method based on Socket10
Through the Socket.IO-based CNC machine tool monitoring system, the Node.js server and communication module are used to realize real-time monitoring and remote management of CNC machine tools, solving the problem of manual operation in traditional systems and improving operation efficiency and security.
Patent Information
- Application Number
- CN202411242689.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2044-09-05
AI Technical Summary
Traditional CNC machine tool monitoring systems require manual operation and management, and cannot achieve unattended monitoring, resulting in unsafe operation and inefficient efficiency.
Design a CNC machine tool monitoring system based on Socket.IO, using Node.js server, detection module and communication module, to obtain alarm signals and parameter data in real time, generate alarm signals, and send them to target mobile terminals according to preset rules to realize Real-time monitoring and remote management.
It realizes stable and reliable real-time monitoring and remote management of CNC machine tools, improves operating efficiency and safety, and reduces labor costs and maintenance costs.
Smart Images

Figure CN118760056B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of numerical control machine tools, and in particular to a numerical control machine tool monitoring system and method based on Socket10. Background Art
[0002] CNC machine tools are equipment that uses computer control systems to automate machine tool processing. It controls the machine tool to perform processing operations such as cutting, drilling, milling, etc. through pre-set programs and instructions, thereby achieving high-precision and high-efficiency processing processes. CNC machine tools are widely used in the manufacturing industry and can process various metal and non-metal materials, such as steel, aluminum alloys, plastics, etc., with the advantages of strong flexibility, high processing accuracy, and high production efficiency.
[0003] The development trends of CNC machine tools include:
[0004] Intelligence: With the development of technologies such as artificial intelligence, big data, and cloud computing, CNC machine tools will become more and more intelligent, able to realize functions such as automated production and automatic fault diagnosis.
[0005] Improvement of precision and speed: With the continuous development of CNC technology, the processing precision and speed of CNC machine tools will continue to improve, and can meet higher processing requirements.
[0006] Multifunctionality: Future CNC machine tools will have more processing functions, be able to switch between multiple processing methods, and improve production efficiency.
[0007] Green and environmental protection: With the enhancement of environmental awareness, CNC machine tools will pay more and more attention to energy conservation and emission reduction, and adopt more environmentally friendly processing methods and materials.
[0008] Personalized customization: With the diversification of market demand, CNC machine tools will develop more and more in the direction of personalized customization, and can meet the processing needs of different industries and different products.
[0009] Networking: CNC machine tools will be combined with the Internet, the Internet of Things and other technologies to realize functions such as remote monitoring and remote maintenance, and improve production efficiency and management level.
[0010] Traditional CNC machine tool monitoring systems usually require manual operation and management and cannot achieve true unattended monitoring. Summary of the invention
[0011] The technical problem to be solved by the present invention is to overcome the defect that the CNC machine tool monitoring system in the prior art usually requires manual operation and management and cannot realize unattended monitoring, and to provide a Socket10-based CNC machine tool monitoring system and method that can realize real-time monitoring and remote management of CNC machine tools, perform stably and reliably, and ensure the safe operation of the machine tools.
[0012] The present invention solves the above technical problems through the following technical solutions:
[0013] A Socket10-based CNC machine tool monitoring system, characterized in that the CNC machine tool monitoring system includes a Node.js server, a plurality of detection modules, a plurality of first communication modules and a second communication module,
[0014] The detection module is used to connect to the alarm light of the CNC machine tool and obtain the trigger signal of the alarm light;
[0015] The first communication module is used to send the trigger signal and parameter data of the detection module that sends the trigger signal to the Node.js server;
[0016] The Node.js server is used to generate an alarm signal according to the trigger signal and parameter data;
[0017] The Node.js server is used to query the mobile terminal that matches the alarm signal, and send the alarm signal to the target mobile terminal according to a preset rule.
[0018] Preferably, the preset rule is to send the alarm signal to the target mobile terminal, and use the target mobile terminal to publish the alarm signal to a matching mobile terminal group.
[0019] Preferably, the preset rule includes an alarm procedure for continuously sending an alarm signal to the target mobile terminal until a confirmation feedback is received, each alarm signal corresponds to a mobile terminal list, and the mobile terminals in the mobile terminal list include priorities,
[0020] The Node.js server is used to query the mobile terminals that match the alarm signal according to priority, determine whether the matched mobile terminal is in the alarm program, and if not, send the alarm program to the matched mobile terminal. If so, search for the next priority mobile terminal in the mobile terminal list as the matched mobile terminal and then execute the step of determining whether the matched mobile terminal is in the alarm program again.
[0021] Preferably, the Node.js server is used to receive management instructions for managing mobile terminals, wherein the management instructions include identity authentication information and personnel editing information;
[0022] The Node.js server is also used to edit the personnel information in the mobile terminal list according to the management instruction.
[0023] Preferably, the mobile terminal is used to automatically send status information to the Node.js server;
[0024] The Node.js server is also used to obtain the number of online users in each mobile terminal list according to all status information.
[0025] Preferably, the status information includes a touch screen signal, a GPS signal, an acceleration sensor signal and a voice signal of the mobile terminal.
[0026] The Node.js server is also used to calculate the feedback success rate of the mobile terminal according to the status information;
[0027] The Node.js server is used to query the mobile terminals matching the alarm signal according to the priority, and for the mobile terminals with the same priority, determine whether the matching mobile terminals are in the alarm program according to the feedback success rate.
[0028] If not, an alarm program is sent to the matched mobile terminal, and it is determined whether a reception feedback is received. If not, the mobile terminal with the next feedback success rate is used as the matched mobile terminal and the step of determining whether the matched mobile terminal is in the alarm program according to the feedback success rate is performed again.
[0029] If yes, the next mobile terminal that feeds back the success rate is used as the matched mobile terminal and then the step of determining whether the reception feedback is received is performed.
[0030] Preferably, the Node.js server is used to connect to a CNC machine tool, receive an alarm light signal of the CNC machine tool, and generate an alarm signal according to the alarm light signal;
[0031] The Node.js server is also used to verify whether the alarm signal generated according to the trigger signal and parameter data is consistent with the alarm signal generated according to the alarm light signal. If not, the verification information is sent to the target mobile terminal according to the preset rules.
[0032] Preferably, the Node.js server is used to simulate a sensor signal to send a fault simulation signal to the CNC machine tool;
[0033] The Node.js server is used to receive an alarm signal generated according to a trigger signal and parameter data and to generate an alarm signal according to an alarm light signal;
[0034] The Node.js server is used to obtain the collection accuracy of the CNC machine tool status information.
[0035] The present invention also provides a Socket10-based CNC machine tool monitoring method, which is characterized in that the CNC machine tool monitoring method uses the CNC machine tool monitoring system as described above to monitor the CNC machine tool.
[0036] The present invention also provides a numerically controlled machine tool, which is characterized in that the numerically controlled machine tool is monitored by the numerically controlled machine tool monitoring system as described above.
[0037] Socket.IO is a JavaScript library for implementing real-time, two-way communication network applications. It is based on the WebSocket protocol and provides a simple API that makes it easier to establish a persistent connection between the client and the server. Socket.IO also supports automatic reconnection, multi-room communication and other functions, making it easier and more reliable to build real-time applications.
[0038] Based on the common sense in the art, the above-mentioned preferred conditions can be combined arbitrarily to obtain the preferred embodiments of the present invention.
[0039] The positive and progressive effects of the present invention are:
[0040] The present invention realizes the application of a mobile phone unattended alarm light monitoring system based on Socket10 in CNC machine tools. The system communicates with the mobile phone through the Socket10 server, realizing real-time monitoring and remote management of the CNC machine tools. After testing, the system is stable and reliable and meets the design requirements. The successful implementation of the system will greatly improve the operating efficiency and safety of CNC machine tools and reduce labor costs and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 This is a flow chart of a CNC machine tool monitoring method according to Embodiment 1 of the present invention. DETAILED DESCRIPTION
[0042] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples. Example
[0043] This embodiment provides a numerically controlled machine tool, which includes a numerically controlled machine tool monitoring system based on Socket10.
[0044] The CNC machine tool monitoring system includes a Node.js server, a plurality of detection modules, a plurality of first communication modules and a second communication module.
[0045] The detection module is used to connect to the alarm light of the CNC machine tool and obtain the trigger signal of the alarm light.
[0046] The first communication module is used to send the trigger signal and parameter data of the detection module that sends the trigger signal to the Node.js server.
[0047] The Node.js server is used to generate an alarm signal according to the trigger signal and parameter data.
[0048] The Node.js server is used to query the mobile terminal that matches the alarm signal, and send the alarm signal to the target mobile terminal according to a preset rule.
[0049] Specifically, the preset rule is to send an alarm signal to a target mobile terminal, and use the target mobile terminal to publish the alarm signal to a matching mobile terminal group.
[0050] Furthermore, the preset rule includes an alarm procedure that continuously sends an alarm signal to the target mobile terminal until a confirmation feedback is received, each alarm signal corresponds to a mobile terminal list, and the mobile terminals in the mobile terminal list include priorities,
[0051] The Node.js server is used to query the mobile terminals that match the alarm signal according to priority, determine whether the matched mobile terminal is in the alarm program, and if not, send the alarm program to the matched mobile terminal. If so, search for the next priority mobile terminal in the mobile terminal list as the matched mobile terminal and then execute the step of determining whether the matched mobile terminal is in the alarm program again.
[0052] The Node.js server is used to receive management instructions for managing mobile terminals, wherein the management instructions include identity authentication information and personnel editing information;
[0053] The Node.js server is also used to edit the personnel information in the mobile terminal list according to the management instruction.
[0054] The mobile terminal is used to automatically send status information to the Node.js server;
[0055] The Node.js server is also used to obtain the number of online users in each mobile terminal list according to all status information.
[0056] The status information includes a touch screen signal, a GPS signal, an acceleration sensor signal and a voice signal of the mobile terminal.
[0057] For example, the touch screen signal collected by the mobile terminal has a high feedback success rate. The GPS signal, acceleration sensor signal and voice signal can indirectly reflect the probability of the mobile terminal responding to the alarm signal.
[0058] The Node.js server is also used to calculate the feedback success rate of the mobile terminal according to the status information;
[0059] The Node.js server is used to query the mobile terminals matching the alarm signal according to the priority, and for the mobile terminals with the same priority, determine whether the matching mobile terminals are in the alarm program according to the feedback success rate.
[0060] If not, an alarm program is sent to the matched mobile terminal, and it is determined whether a reception feedback is received. If not, the mobile terminal with the next feedback success rate is used as the matched mobile terminal and the step of determining whether the matched mobile terminal is in the alarm program according to the feedback success rate is performed again.
[0061] If yes, the next mobile terminal that feeds back the success rate is used as the matched mobile terminal and then the step of determining whether the reception feedback is received is performed.
[0062] If all the information is sent to everyone, a large amount of spam will be generated, further affecting the success rate of alarm signal processing and execution.
[0063] The Node.js server is used to connect to the CNC machine tool, receive the alarm light signal of the CNC machine tool, and generate an alarm signal according to the alarm light signal;
[0064] The Node.js server is also used to verify whether the alarm signal generated according to the trigger signal and parameter data is consistent with the alarm signal generated according to the alarm light signal. If not, the verification information is sent to the target mobile terminal according to the preset rules.
[0065] The Node.js server is used to simulate a sensor signal and send a fault simulation signal to the CNC machine tool;
[0066] The Node.js server is used to receive an alarm signal generated according to a trigger signal and parameter data and to generate an alarm signal according to an alarm light signal;
[0067] The Node.js server is used to obtain the collection accuracy of the CNC machine tool status information.
[0068] See also Figure 1 , using the above-mentioned Socket10-based CNC machine tool monitoring system and CNC machine tool, this embodiment also provides a CNC machine tool monitoring method, including:
[0069] Step 100, the detection module is connected to the alarm light of the CNC machine tool and obtains a trigger signal of the alarm light;
[0070] Step 101: The first communication module sends the trigger signal and parameter data of the detection module that sends the trigger signal to the Node.js server;
[0071] Step 102: the Node.js server generates an alarm signal according to the trigger signal and parameter data;
[0072] Step 103: The Node.js server searches for mobile terminals that match the alarm signal, and sends the alarm signal to the target mobile terminal according to a preset rule.
[0073] The preset rule is to send an alarm signal to a target mobile terminal, and use the target mobile terminal to publish the alarm signal to a matching mobile terminal group.
[0074] The preset rules include an alarm procedure that continuously sends an alarm signal to the target mobile terminal until a confirmation feedback is received, each alarm signal corresponds to a mobile terminal list, and the mobile terminals in the mobile terminal list include priorities,
[0075] Step 103 of the CNC machine tool monitoring method comprises:
[0076] Step 1031, the Node.js server queries the mobile terminal matching the alarm signal according to the priority;
[0077] Step 1032, determine whether the matched mobile terminal is in the alarm program, if not, execute step 1033, if yes, execute step 1034.
[0078] Step 1033, sending an alarm program to the matched mobile terminal, and then executing step 1035;
[0079] Step 1034: Search for the next priority mobile terminal in the mobile terminal list as the matching mobile terminal and then go to step 1032 again.
[0080] Step 1035, determine whether a confirmation feedback of the alarm signal is received from the mobile terminal, if so, end the process, if not, execute step 1034.
[0081] The CNC machine tool monitoring method also includes:
[0082] The Node.js server receives a management instruction for managing a mobile terminal, wherein the management instruction includes identity authentication information and personnel editing information;
[0083] The Node.js server edits the personnel information in the mobile terminal list according to the management instruction.
[0084] The CNC machine tool monitoring method also includes:
[0085] The mobile terminal automatically sends status information to the Node.js server;
[0086] The Node.js server obtains the number of online users in each mobile terminal list according to all status information.
[0087] Furthermore, the status information includes a touch screen signal, a GPS signal, an acceleration sensor signal and a voice signal of the mobile terminal.
[0088] The CNC machine tool monitoring method also includes:
[0089] The Node.js server calculates the feedback success rate of the mobile terminal according to the status information;
[0090] Step 103 of the CNC machine tool monitoring method comprises:
[0091] The Node.js server queries the mobile terminals matching the alarm signal according to the priority, and for the mobile terminals with the same priority, determines whether the matching mobile terminals are in the alarm program according to the feedback success rate.
[0092] If not, an alarm program is sent to the matched mobile terminal, and it is determined whether a reception feedback is received. If not, the mobile terminal with the next feedback success rate is used as the matched mobile terminal and the step of determining whether the matched mobile terminal is in the alarm program according to the feedback success rate is performed again.
[0093] If yes, the next mobile terminal that feeds back the success rate is used as the matched mobile terminal and then the step of determining whether the reception feedback is received is performed.
[0094] The CNC machine tool monitoring method also includes:
[0095] The Node.js server is connected to the CNC machine tool, receives the alarm light signal of the CNC machine tool, and generates an alarm signal according to the alarm light signal;
[0096] The Node.js server verifies whether the alarm signal generated according to the trigger signal and parameter data is consistent with the alarm signal generated according to the alarm light signal. If not, the verification information is sent to the target mobile terminal according to the preset rules.
[0097] The Node.js server simulates a sensor signal to send a fault simulation signal to the CNC machine tool;
[0098] The Node.js server receives and generates an alarm signal according to the trigger signal and parameter data and generates an alarm signal according to the alarm light signal;
[0099] The Node.js server obtains the collection accuracy of the CNC machine tool status information.
[0100] Although the specific embodiments of the present invention are described above, those skilled in the art should understand that these are only examples, and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A Socket10-based CNC machine tool monitoring system, characterized in that: The CNC machine tool monitoring system includes a Node.js server, a plurality of detection modules, a plurality of first communication modules and a second communication module. The detection module is used to connect to the alarm light of the CNC machine tool and obtain the trigger signal of the alarm light; The first communication module is used to send the trigger signal and parameter data of the detection module that sends the trigger signal to the Node.js server; The Node.js server is used to generate an alarm signal according to the trigger signal and parameter data; The Node.js server is used to query the mobile terminal that matches the alarm signal, and send the alarm signal to the target mobile terminal according to the preset rules; The preset rules include an alarm procedure that continuously sends an alarm signal to the target mobile terminal until a confirmation feedback is received, each alarm signal corresponds to a mobile terminal list, and the mobile terminals in the mobile terminal list include priorities, The Node.js server is used to query the mobile terminal matching the alarm signal according to the priority, determine whether the matching mobile terminal is in the alarm program, and if not, send the alarm program to the matching mobile terminal, and if so, search for the mobile terminal with the next priority in the mobile terminal list as the matching mobile terminal and then perform the step of determining whether the matching mobile terminal is in the alarm program again; The mobile terminal is used to automatically send status information to the Node.js server; The state information includes touch screen signals, GPS signals, acceleration sensor signals and voice signals of the mobile terminal. The Node.js server is also used to calculate the feedback success rate of the mobile terminal according to the status information; The Node.js server is used to query the mobile terminals matching the alarm signal according to the priority, and for the mobile terminals with the same priority, determine whether the matching mobile terminals are in the alarm program according to the feedback success rate. If not, an alarm program is sent to the matched mobile terminal, and it is determined whether a reception feedback is received. If not, the mobile terminal with the next feedback success rate is used as the matched mobile terminal and the step of determining whether the matched mobile terminal is in the alarm program according to the feedback success rate is performed again. If yes, the next mobile terminal that feeds back the success rate is used as the matched mobile terminal and then the step of determining whether the reception feedback is received is performed.
2. The Socket10-based CNC machine tool monitoring system according to claim 1, characterized in that: The preset rule is to send the alarm signal to the target mobile terminal, and use the target mobile terminal to publish the alarm signal to the matching mobile terminal group.
3. The Socket10-based CNC machine tool monitoring system according to claim 1, characterized in that: The Node.js server is used to receive management instructions for managing mobile terminals, wherein the management instructions include identity authentication information and personnel editing information; The Node.js server is also used to edit the personnel information in the mobile terminal list according to the management instruction.
4. The Socket10-based CNC machine tool monitoring system according to claim 3, characterized in that: The mobile terminal is used to automatically send status information to the Node.js server; The Node.js server is also used to obtain the number of online users in each mobile terminal list according to all status information.
5. The Socket10-based CNC machine tool monitoring system according to claim 1, characterized in that: The Node.js server is used to connect to the CNC machine tool, receive the alarm light signal of the CNC machine tool, and generate an alarm signal according to the alarm light signal; The Node.js server is also used to verify whether the alarm signal generated according to the trigger signal and parameter data is consistent with the alarm signal generated according to the alarm light signal. If not, the verification information is sent to the target mobile terminal according to the preset rules.
6. The Socket10-based CNC machine tool monitoring system according to claim 5, characterized in that: The Node.js server is used to simulate a sensor signal and send a fault simulation signal to the CNC machine tool; The Node.js server is used to receive an alarm signal generated according to a trigger signal and parameter data and to generate an alarm signal according to an alarm light signal; The Node.js server is used to obtain the collection accuracy of the CNC machine tool status information.
7. A CNC machine tool monitoring method based on Socket10, characterized in that: The CNC machine tool monitoring method utilizes the CNC machine tool monitoring system as claimed in any one of claims 1 to 6 to monitor the CNC machine tool.
8. A CNC machine tool, characterized in that: The CNC machine tool is monitored using the CNC machine tool monitoring system as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Traffic police law enforcement monitoring method and system based on mobile phone
CN102968899A
Webpage end-based numerical control machine tool real time data monitoring visualization method and system
CN106940554A