A planar grinding control method based on the Internet of Things in the workshop
By deploying a plane grinding management and control system based on the workshop Internet of Things in the workshop, using the communication connection between OLAM, server and database, online monitoring and control of the grinder is realized, solving the Internet of Things problems of grinders and frequency measuring instruments in the prior art, and improving production efficiency and product quality.
Patent Information
- Application Number
- CN202211659672.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-22
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2042-12-22
AI Technical Summary
The existing grinding frequency tester cannot realize the Internet of Things of each grinder and frequency tester in the workshop, and cannot transmit the real-time data of all online grinding measuring instruments to the server through the data upload function, resulting in frequent overclocking accidents caused by operator setup errors and low production efficiency.
The planar grinding management and control system based on the workshop Internet of Things is adopted, including OLAM (online grinding measuring instrument), server and database. The communication connection between OLAM and server is realized through Ethernet module and MCU, uploading heartbeat packets and grinding information, and online monitoring and control of the grinder is realized.
Centrally uploading and monitoring of the working condition data of multiple grinders is realized, overclocking accidents caused by operator settings are reduced, production efficiency is improved, and high-quality, high stability and high reliability production of quartz wafers is achieved through intelligent measurement and control systems.
Smart Images

Figure CN116330146B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the Internet of Things technology, and particularly refers to a planar grinding control method based on the Internet of Things in a workshop. Background Art
[0002] The ultra-high precision planar grinding process is an advanced basic process in the manufacturing industry, and is the key core technology for the processing of precision basic components such as optical glass wafers, sapphire substrates, quartz wafers, silicon wafers, wafers, molds, light guide plates, and optical fiber connectors. In the prior art, the ultra-high precision planar grinding process can specifically use a grinding frequency measuring instrument to achieve automatic frequency measurement during the grinding process. For example, the ALC-2000 type and ALC-2100 type grinding frequency measuring instruments of Beijing Sanhe Taida Technology Co., Ltd. use the grinding frequency measuring technology based on the American TRANSAT company.
[0003] However, the existing grinding frequency measuring instrument is only an independent measuring instrument, which is limited to interacting with the corresponding grinding machine, and cannot solve the Internet of Things of each grinding machine and frequency measuring instrument in the workshop. For example, it cannot realize the control of the frequency measuring system and then control the operation of the grinding machine to reduce over-frequency accidents caused by operator setting errors and improve production efficiency. It cannot transmit the real-time data of all online grinding control instruments to the server through the data upload function, so as to obtain the operating conditions of the grinding machine through data analysis and processing.
[0004] With the substantial increase in the demand for the quantity and quality of quartz crystal oscillators in current digital electronic products, it is hoped to realize the industrial production of high-quality, high-stable, and high-reliable quartz wafers. Combining the measurement capabilities of the quartz wafer online frequency measuring instrument with the production process and process technology of planar grinding, and at the same time combining networking technology, researching and developing an intelligent measurement and control system for ultra-high precision planar grinding in this sub-field of quartz wafers, realizing an intelligent grinding workshop for quartz wafers, and thus realizing an intelligent Internet of Things system for intelligent control of grinding machines, operators, ground objects, working environments, and production processes is an inevitable trend in the future development of the industry.
[0005] Therefore, it is an urgent need for major quartz crystal oscillator manufacturers to combine production practice to research and explore wafer online frequency measuring technology, break away from the existing frequency measuring system architecture, and innovatively develop a wafer grinding online grinding measurement and control instrument (OLAM). However, there is still relatively little research on the realization of online monitoring, analysis, and control of the online grinding measurement and control instrument based on the Internet of Things technology, and practical methods can be said to be almost blank. Summary of the Invention
[0006] To overcome the deficiencies and existing problems of the prior art and make the workshop manufacturing control have the advantages of centralized control and stable Ethernet connection, the present invention provides a planar grinding control system and method based on the Internet of Things in a workshop.
[0007] To achieve the above object, the present invention adopts the following technical solutions:
[0008] On the one hand, the present invention provides a surface grinding control system based on the workshop Internet of Things, including:
[0009] OLAM, which includes a power-off storage module, an Ethernet module, an MCU, and a touch screen;
[0010] A server, which is communicatively connected to the OLAM in an Ethernet manner;
[0011] A database, which is communicatively connected to the OLAM.
[0012] Preferably, the system further includes an intelligent terminal, and the intelligent terminal is communicatively connected to the server.
[0013] Preferably, the intelligent terminal includes at least one of a computer and a mobile phone.
[0014] On the other hand, the present invention provides a surface grinding control method based on the workshop Internet of Things. Based on the above surface grinding control system based on the workshop Internet of Things, the method includes the following steps:
[0015] After the system is powered on and booted, execute the Ethernet parameter reading process to read the Ethernet parameters in the power-off storage module, obtain the Ethernet connection status before the last shutdown, and determine whether the Ethernet connection status before the last shutdown is successful. If so, execute the Ethernet module connection configuration process and then execute the Ethernet connection process in the Ethernet module connection and reconnection process to achieve Ethernet connection. If not, switch to the Ethernet setting interface and then execute the Ethernet connection process in the Ethernet module connection and reconnection process to achieve Ethernet connection;
[0016] Determine whether the Ethernet connection status is successful. If so, execute the server heartbeat packet processing process and the OLAM heartbeat packet uploading process;
[0017] Determine whether the system is in the standby state. If so, execute the OLAM grinding information acquisition process to obtain the grinding information sent by the server, and determine whether the grinding information sent by the server is consistent with the grinding information input by the operator. If so, the system switches to the grinding state;
[0018] Determine whether the system is in the grinding state. If so, execute the frequency grinding processing process;
[0019] Determine whether the system is in the parameter copy interface. If so, execute the parameter upload and download process.
[0020] Preferably, the Ethernet parameter reading process specifically includes:
[0021] Step 11: The system reads Ethernet parameters from the power-down storage module. The Ethernet parameters include the grinding information setting method, the grinding information acquisition method, the server IP address, the IP address of OLAM, the MAC address of OLAM, the Ethernet connection timeout, the Ethernet communication time, the Ethernet data upload time interval, the grinding information acquisition time, and the OLAM identity information.
[0022] Step 12: Determine whether the Ethernet parameters are within the system-set threshold range. If not, set the Ethernet parameters to the default Ethernet parameters and send them to the touch screen for display. If so, send the Ethernet parameters to the touch screen for display. The default Ethernet parameters are set within the system-set threshold range.
[0023] Preferably, the Ethernet module connection configuration process specifically includes:
[0024] Step 21: The MCU sends a configuration mode command to the Ethernet module. The Ethernet module configures Ethernet configuration parameters in the configuration mode and feeds back the Ethernet configuration result to the MCU.
[0025] Step 22: The MCU verifies whether the Ethernet configuration parameters are successfully configured. If not, iterate Steps 21 and 22 until the MCU verifies that the Ethernet configuration parameters are successfully configured.
[0026] Step 23: The MCU sends a command to establish a connection with the server to the Ethernet module, sets the enable flag bit of the Ethernet module to 1, and the Ethernet module feeds back the command execution result to the MCU.
[0027] Step 24: During the real-time operation of the system, send a command to check the connection status to the Ethernet module. The Ethernet module feeds back the Ethernet connection status to the MCU, and the MCU sets the Ethernet connection status in the MCU according to the feedback information.
[0028] Preferably, the Ethernet module connection and reconnection process includes an Ethernet connection process and an Ethernet module reconnection process.
[0029] The Ethernet connection process specifically includes:
[0030] Step 31: The Ethernet module enters the configuration mode, configures Ethernet configuration parameters in the configuration mode, and sends the Ethernet configuration result to the MCU.
[0031] Step 32: The MCU verifies whether the Ethernet configuration parameters are successfully configured. If not, iterate Steps 31 and 32. If so, execute Step 33.
[0032] Step 33: The MCU sends a connection establishment command to the Ethernet module, and the Ethernet module establishes an Ethernet connection between the OLAM and the server according to the connection establishment command with the server;
[0033] Step 34: The MCU sends a connection status check command to the Ethernet module, and the Ethernet module sends the Ethernet connection status to the MCU;
[0034] Step 35: The MCU determines whether the Ethernet connection status is successful. If so, it controls the Ethernet module to exit the configuration mode. If not, it determines whether the duration of the Ethernet connection status being a connection failure is greater than the Ethernet connection timeout. If so, it restarts the Ethernet module and iterates steps 31 to 35.
[0035] The reconnection process of the Ethernet module specifically includes:
[0036] Step 41: The system determines whether the Ethernet connection status is a waiting connection status. If not, it ends the reconnection process of the Ethernet module. If so, it executes step 42;
[0037] In the above steps, if the OLAM and the server send
[0038] Step 42: Determine whether the system is in the main interface standby state. If not, it executes the Ethernet connection process. If so, it executes step 43;
[0039] Step 43: Determine whether the grinding information setting method is the automatic method. If not, it executes the Ethernet connection process. If so, it sends the reconnection selection data to the touch screen for display and obtains the grinding information setting method selected by the operator on the touch screen;
[0040] Step 44: First, determine whether the operator selects reconnection on the touch screen. If so, it executes the Ethernet connection process. If not, determine whether the grinding information setting method selected by the operator on the touch screen is the manual method. If the grinding information setting method selected by the operator on the touch screen is the manual method, set the grinding information setting method to the manual method and then execute the Ethernet connection process. If the operator has no operation on the touch screen, iterate steps 43 to 44 and wait for the operator to operate on the touch screen.
[0041] Preferably, the heartbeat packet processing process issued by the server specifically includes:
[0042] Step 51: Determine whether the Ethernet connection status is successful. If not, it ends the server heartbeat sending process. If so, obtain the timing time of the Ethernet communication time by timing;
[0043] Step 52: Determine whether the timing time of the Ethernet communication time reaches the Ethernet communication time. If so, it executes step 53;
[0044] Step 53: Determine whether heartbeat packet data sent by the server to the OLAM is received within the timing time of the Ethernet communication time. If not, clear the timing time of the Ethernet communication time and increment the number of times the OLAM fails to receive heartbeat packet data by 1. If so, clear the timing time of the Ethernet communication time and the number of times the OLAM fails to receive heartbeat packet data;
[0045] Step 54: Determine whether the number of times the OLAM fails to receive heartbeat packet data exceeds the heartbeat threshold. If so, set the Ethernet connection status to the disconnected state and execute the Ethernet module reconnection process.
[0046] Preferably, the OLAM uploads a heartbeat packet process for implementing the OLAM to periodically upload heartbeat packet data, specifically including:
[0047] Step 61: Determine whether the Ethernet connection status is successfully connected. If not, end the OLAM heartbeat sending process. If so, obtain the timing time of the Ethernet communication time by timing;
[0048] Step 62: Determine whether the timing time of the Ethernet communication time reaches the Ethernet communication time. If so, execute Step 63;
[0049] Step 63: Obtain the timing time of the Ethernet data upload time interval, and determine whether the timing time of the Ethernet data upload time interval reaches the Ethernet data upload time interval. If so, the OLAM sends the OLAM identity information to the server, where the OLAM identity information includes the device station number and device number of the OLAM.
[0050] Preferably, the OLAM obtains the grinding information process for implementing the OLAM to automatically obtain the grinding control data on the server through the Ethernet. The grinding control data includes an identifier, a command length, a device station number, a device number, grinding information, and a CRC check code, specifically including:
[0051] Step 71: Determine whether the Ethernet connection status is successfully connected. If not, end the OLAM process of obtaining grinding information. If so, execute Step 62;
[0052] Step 72: Determine whether the grinding information setting method is the automatic method. If not, the OLAM manually inputs the grinding information through the operator on the main interface of the OLAM. If so, execute Step 73;
[0053] Step 73: Determine whether the grinding information acquisition method is the server - issued method. If it is, the server actively issues grinding control data to the OLAM. If not, the OLAM actively sends a acquisition command to the server, and then the server issues the grinding control data to the OLAM according to the acquisition command. The OLAM executes the grinding information receiving and verification process for the grinding control data. The grinding information receiving and verification process is used to verify the grinding control data. Among them, the grinding control data includes an identifier, a command length, a device station number, a device number, grinding information, and a CRC check code.
[0054] Preferably, the grinding information receiving and verification process specifically includes:
[0055] Step 731: Determine whether the identifier is 01. If not, send an identifier error command to the server and end the grinding information receiving and verification process.
[0056] Step 732: Intercept the grinding control data according to the command length to obtain the intercepted data. Determine whether the CRC value calculated from the CRC check code and the intercepted data is consistent. If not, send a CRC verification failure command to the server and end the grinding information receiving and verification process. If it is, perform a manual secondary verification process. If the manual secondary verification process fails, send a manual verification failure command to the server and end the grinding information receiving and verification process.
[0057] Step 733: Determine whether the number of bytes occupied by the grinding information is consistent with the preset number of bytes. If not, send a grinding information error command to the server and end the grinding information receiving and verification process.
[0058] Step 734: Determine whether the grinding information in the grinding control data is consistent with the grinding information in the OLAM's power - off storage module. If not, update the grinding information in the grinding control data to the power - off storage module.
[0059] Preferably, the frequency grinding processing process is used to enable the server to obtain the working condition data of the grinding machine on the OLAM in real time. Among them, the working condition data of the grinding machine includes the working state of the grinding machine, the number of grinding cycles, and the physical and chemical data of the quartz wafer. The physical and chemical data of the quartz wafer includes the frequency, scatter, and grinding speed of the quartz wafer. Specifically, it includes:
[0060] Step 81: Determine whether the grinding machine has started grinding. If not, end the frequency grinding processing process. If it is, execute Step 82.
[0061] Step 82: Determine whether the control line used to control the grinding machine on the OLAM is normally connected. If not, send a control line connection abnormal command to the server and end the frequency grinding processing process. If it is, execute Step 83.
[0062] Step 83: Execute the automatic search process, which is used to search for the number of quartz wafers on the grinding machine and determine whether the number of searched quartz wafers reaches the set threshold for successful search. If not, send an automatic search failure command to the server, clear the OLAM upload heartbeat packet timing time, and end the frequency grinding process. If so, send an automatic search success command to the server, clear the OLAM upload heartbeat packet timing time, and re-execute Step 83. The OLAM upload heartbeat packet timing time is the timing time of the Ethernet communication time.
[0063] Step 84: Send the working condition data of the grinding machine to the server at the Ethernet upload interval time;
[0064] Step 85: Determine whether the operation of the grinding machine is abnormal according to the working condition data of the grinding machine.
[0065] Preferably, Step 85 specifically includes:
[0066] Step 851: Determine whether the scatter of the quartz wafers is within the normal scatter range. If not, send a scatter abnormality command to the server. If so, send a scatter normal command to the server;
[0067] Step 852: Determine whether the grinding rate of the grinding machine is within the normal rate range. If so, execute Step 855. If not, execute Step 853;
[0068] Step 853: Determine whether the grinding rate of the grinding machine is within the warning rate range. If so, send a rate abnormality warning command to the server. If not, execute Step 854;
[0069] Step 854: Determine whether the grinding rate of the grinding machine is within the shutdown rate range. If so, send a rate abnormality shutdown command to the server and the grinding machine.
[0070] Step 855: Determine whether the number of quartz wafers counted within the specified number of turns reaches the set threshold of the number of quartz wafers. If not, determine whether the average frequency of the wafers within the specified number of turns is within the first 80% range of the grinding frequency band. If the average frequency of the wafers within the specified number of turns is within the first 80% range of the grinding frequency band, send a frequency measurement abnormality command to the server and iterate Steps 83 to 85. If the average frequency of the wafers within the specified number of turns is within the last 20% range of the grinding frequency band, send a frequency measurement abnormality command to the server, send a frequency measurement abnormality shutdown command to the grinding machine, and end the frequency grinding process;
[0071] Step 856: Calculate the upper limit value of the grinding frequency according to the grinding frequency of the grinding machine, and determine whether the upper limit value of the grinding frequency is greater than the safety upper limit value. If so, send a frequency exceeding the upper limit command to the server;
[0072] Step 857: Determine whether the number of grinding circles increases within the preset grinding time. If not, send a command to stop the machine due to abnormal counting to the grinding machine and the server.
[0073] The prominent and beneficial technical effects of the present invention compared with the prior art are as follows:
[0074] In the present invention, the working condition data of multiple grinding machines are uploaded to the system. The system monitors, analyzes, and regulates the grinding machines according to the working condition data of the grinding machines, so as to optimize and manage the grinding process of multiple grindings. One system can send control information to multiple grinding machines, so as to centrally regulate the working conditions of multiple grinding machines, improve production performance management and production efficiency, and reduce the problem of operator setting errors.
[0075] In the present invention, the planar grinding control system constructed based on OLAM is significantly better than the traditional ALC system in terms of core technical indicators such as dynamic frequency measurement accuracy and frequency measurement efficiency, as well as in terms of human-computer interaction and data visualization display. Moreover, it is also equipped with Ethernet communication and intelligent measurement and control capabilities, meeting the requirements of the current industrial 4.0 technology upgrade, and realizing the construction of an intelligent workshop for grinding the frequency of quartz wafers. In actual use, the system comprehensively manages and controls the grinding machines, operators, and production processes according to the working condition data such as the physical and chemical properties of quartz wafers and grinding information, so as to achieve high quality, high stability, and high reliability during the industrial production of quartz wafers, bringing a qualitative leap to the production and quality of quartz wafers, and having a very promising market and industrialization prospect.
[0076] In the present invention, a network architecture of OLAM, server, and database is established through the Internet of Things technology to realize the networking function of OLAMs of all grinding machines in the workshop. The online monitoring and analysis of the grinding process of the grinding machines are realized by uploading grinding information through OLAM, so as to facilitate the operator to analyze the running status of the grinding machines in real time. The online control of frequency measurement and grinding process of OLAM and grinding machines is realized by the server sending data to OLAM, so as to reduce the over-frequency accidents caused by operator setting errors and improve production efficiency, and finally realize that one server can control the grinding processes of all grinding machines. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] Figure 1 is a schematic structural diagram of the system of the present invention;
[0078] Figure 2 is a schematic overall process diagram of the method of the present invention;
[0079] Figure 3 is a schematic diagram of the Ethernet connection process of the method of the present invention;
[0080] Figure 4 is a schematic diagram of the Ethernet module reconnection process of the method of the present invention;
[0081] Figure 5 It is a schematic diagram of the heartbeat packet processing flow sent by the server in the method of the present invention;
[0082] Figure 6 It is a schematic diagram of the OLAM upload heartbeat packet process in the method of the present invention;
[0083] Figure 7 It is a schematic diagram of the OLAM obtaining grinding information flow chart in the method of the present invention;
[0084] Figure 8 It is a schematic diagram of the frequency grinding processing flow in the method of the present invention;
[0085] Figure 9 It is an axial schematic diagram of the normal speed range, alarm speed range and shutdown speed range in the method of the present invention;
[0086] Figure 10 It is a schematic diagram of the Ethernet interface operation process in the method of the present invention;
[0087] Figure 11 It is a schematic diagram of the main interface on the touch screen for the operator to select. Detailed implementation manners
[0088] For the convenience of those skilled in the art to understand, the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0089] As Figures 1 to 11 shown, this embodiment provides a planar grinding control system based on the workshop Internet of Things, which is used to realize the control of the grinding machine when grinding quartz wafers. The main purposes include: (1) Big data collection: The working condition data of multiple grinding machines are uploaded to the system, and the system realizes the monitoring, analysis and regulation of the grinding machines according to the working condition data of the grinding machines, so as to optimize and manage the grinding process of multiple grindings; (2) Centralized issuance of control information: One system can issue control information to multiple grinding machines, so as to realize the centralized regulation of the working conditions of multiple grinding machines, improve production performance management and production efficiency, and reduce the problem of operator setting errors.
[0090] The grinding machine is used to grind the quartz wafer, so that the physical and chemical properties of the quartz wafer meet the design requirements. The grinding machine includes a grinding head, and the grinding head rotates under the drive of a motor, so as to grind on the surface of the quartz wafer to achieve the effect of thinning. In a workshop, the number of grinding machines is multiple.
[0091] The system includes OLAM (also known as the on-line grinding measurement and control instrument for quartz wafers). OLAM can obtain the working condition data of the grinding machine, record, manage, and analyze the working condition data. In actual use, OLAM of the system obtains the working condition data of the grinding machine, and then the system analyzes according to the working condition data of the grinding machine and further regulates the operation of the grinding machine to ensure that the grinding machine can produce quartz wafers meeting the design requirements. Each grinding machine in the workshop is equipped with an independent OLAM.
[0092] OLAM includes an MCU (also known as a micro-control unit), a power-off storage unit, an Ethernet module, a touch screen, and a grinding button. The power-off storage unit also has the function of storing and reading data after the system power-off. The Ethernet module refers to a module that communicates based on Ethernet technology. OLAM is equivalent to a "terminal" in the Internet of Things. Specifically, the Ethernet module can use the modbus serial communication protocol for communication. The touch screen is used to visually display data such as grinding information, Ethernet connection status, and Ethernet configuration parameters. The grinding button is used for the operator to control whether to start or stop the grinding of the grinding machine.
[0093] The system also includes a server, which is communicatively connected to OLAM. The server is equivalent to a "management platform" in the Internet of Things. In actual use, OLAM can upload the working condition data of the grinding machine to the server. The operator can view the working condition data of the grinding machine on the server. The operator can also set control information on the server, and the server regulates the grinding machine through OLAM according to the control information. In this embodiment, the server is a desktop computer.
[0094] The system also includes a database, which is communicatively connected to OLAM and the server. The database is used to store data. In actual use, the data on OLAM and the server can be stored in the database.
[0095] The system also includes a smart terminal, which is communicatively connected to the server. The smart terminal can be at least one of a tablet computer, a desktop computer, and a mobile phone. The smart terminal can be wirelessly connected to the server. The server is equipped with control software. In actual use, the smart terminal can call the control software on the server. The operator can issue commands to the server through the control software and view the information on the server on the smart terminal, thus realizing remote work.
[0096] On the other hand, this embodiment also provides a method for planar grinding control based on the Internet of Things in the workshop. Based on the above-mentioned planar grinding control system based on the Internet of Things in the workshop, as shown in the figure, it is a schematic diagram of the overall process of the method. The method includes the following steps:
[0097] After the system is powered on and booted, the Ethernet parameter reading process is executed to read the Ethernet parameters in the power-off storage module. Through the Ethernet parameter reading process, OLAM will read the Ethernet parameters from the power-off storage module. The Ethernet data is the information for establishing an Ethernet connection between OLAM and the server.
[0098] The system then obtains the Ethernet connection status before the last shutdown. The Ethernet connection status before the last shutdown refers to the Ethernet connection status between OLAM and the server before the system was last shut down.
[0099] The system then determines whether the Ethernet connection status before the last shutdown was a successful connection. If so, it executes the Ethernet module connection configuration process and then the Ethernet connection process in the Ethernet module connection and reconnection process to achieve an Ethernet connection. Whether the Ethernet connection status before the last shutdown was a successful connection indicates whether the Ethernet parameters set in the power-off storage module can be used to achieve an Ethernet connection or whether the operator has issued a command to execute an Ethernet connection through the server, etc. The Ethernet module connection configuration process is used to set Ethernet configuration parameters, establish a connection command with the server, the enable flag bit of the Ethernet module, and a command to view the connection status, preparing for the subsequent execution of the Ethernet connection process in the Ethernet module connection and reconnection process. If the Ethernet connection process in the Ethernet module connection and reconnection process is executed after the Ethernet module connection configuration process is completed to achieve an Ethernet connection, the Ethernet module connection and reconnection process includes an Ethernet connection process and an Ethernet module reconnection process. The Ethernet connection process is used to execute the Ethernet connection process between OLAM and the server and finally establish an Ethernet connection. The Ethernet module reconnection process is used to execute the Ethernet module reconnection process between OLAM and the server and establish an Ethernet connection when the Ethernet connection is disconnected due to communication anomalies, thus achieving the re-establishment of an Ethernet connection without operator intervention.
[0100] If the system determines that the Ethernet connection status before the last shutdown was not a successful connection, it switches to the Ethernet settings interface, executes the Ethernet interface operation process, and then the Ethernet connection process in the Ethernet module connection and reconnection process to achieve an Ethernet connection. The Ethernet connection status before the last shutdown not being a successful connection indicates that the Ethernet parameters in the power-off storage module may not be able to be used to achieve an Ethernet connection or that the Ethernet status is a disconnected state. The Ethernet interface operation process is used to enable the operator to set Ethernet parameters on the Ethernet interface and issue a command to execute the Ethernet connection process, so that the system can subsequently execute the Ethernet connection process in the Ethernet module connection and reconnection process based on the Ethernet parameters set on the Ethernet interface.
[0101] The system then determines whether the Ethernet connection status is successful. If so, it executes the server heartbeat packet sending process and the OLAM heartbeat packet uploading process. The server heartbeat packet sending process is used to send heartbeat packet data from the server to OLAM, and the OLAM heartbeat packet uploading process is used to upload heartbeat packet data from OLAM to the server, thereby achieving the two-way sending of heartbeat packets between the server and OLAM and ensuring the stable and reliable connection of the Ethernet.
[0102] The system then determines whether the OLAM of the system is in the standby state. If so, it executes the OLAM grinding information acquisition process to obtain the grinding information sent from the server to OLAM. The standby state of OLAM refers to the state where OLAM is powered on but does not perform substantial work. The OLAM grinding information acquisition process is used to enable OLAM to obtain the grinding information sent from the server, and this grinding information can be used by OLAM to determine whether to start the grinding machine to grind the quartz wafer.
[0103] OLAM then compares the grinding information sent from the server to OLAM with the grinding information input by the operator into OLAM to determine whether they are consistent. If so, the system switches to the grinding state to control the grinding machine to start grinding. Through this process, the consistency and correctness of the grinding information input by the OLAM operator and the grinding information sent from the server to OLAM are ensured, avoiding problems such as incorrect material arrangement by the operator and abnormal operation of the grinding machine caused by incorrect grinding information sent from the server to OLAM.
[0104] The system then determines whether OLAM is in the grinding state. If so, it executes the frequency grinding processing process. The grinding state refers to the state where the grinding machine grinds the quartz wafer and the system real-time obtains the working condition parameters of the grinding machine. The system real-time obtains the working condition parameters of the grinding machine from the grinding machine by OLAM and uploads them to the server. In actual use, the operator can observe the entire grinding process and grinding results of the grinding machine on the server, achieving the effect of one server supervising the grinding machines corresponding to multiple OLAMs.
[0105] The system then determines whether OLAM is in the parameter copy interface. If so, it executes the parameter upload and download process. The parameter copy interface is used to enable the operator to control whether to execute the parameter upload and download process on OLAM. The parameter upload and download process is used to achieve the rapid copying and backup of data on OLAM, avoiding the problem of data loss and inability to recover on OLAM, and is also used to quickly configure the data on OLAM on the OLAMs of the same grinding machine. Among them, the data on OLAM includes Ethernet data, heartbeat packet data, and working condition data of the grinding machine, etc.
[0106] More specifically, the Ethernet parameter reading process is used to enable the system to read Ethernet parameters, which are used to participate in subsequent Ethernet module connection and reconnection processes, and specifically includes:
[0107] Step 11: The Ethernet module reads Ethernet parameters from the power-off storage module, where the Ethernet parameters include the grinding information setting method, the grinding information acquisition method, the server IP address, the IP address of OLAM, the MAC address of OLAM, the Ethernet connection timeout, the Ethernet communication time, the Ethernet data upload time interval, the grinding information acquisition time, and the OLAM identity information;
[0108] In the above steps, the Ethernet module obtains the grinding information setting method from the power-off storage module. The grinding information setting method is divided into an automatic mode and a manual mode. If the grinding information setting method is the automatic mode, then subsequently the OLAM obtains the grinding information from the server. If the grinding information setting method is the manual mode, then subsequently the operator manually inputs the grinding information on the OLAM. The grinding information acquisition method is divided into a server distribution method and an OLAM upload command acquisition method. If the grinding information acquisition method is the server distribution method, the server actively distributes the grinding information to the OLAM. If the grinding information acquisition method is the OLAM upload command acquisition method, the OLAM actively uploads the acquisition command to the server, and after the server receives the acquisition command, it distributes the grinding information to the OLAM. The Ethernet connection timeout represents the maximum time allowed for the OLAM and the server to establish an Ethernet connection during the execution of the Ethernet connection process. The Ethernet connection timeout can be preset to 10 seconds. The server IP address is preset to 192.168.1.1. The IP address of the OLAM is preset to 192.168.1.2. The Ethernet communication time represents the maximum time allowed for the server to send the heartbeat packet data to the OLAM during the server heartbeat packet processing process, and can also represent the maximum time allowed for the OLAM to upload the heartbeat packet data to the server during the OLAM heartbeat packet upload process. The Ethernet communication time is preset to 30 seconds. The Ethernet data upload time interval represents the maximum time interval allowed between the moment when the OLAM last uploaded the heartbeat packet data to the server and the current moment. The Ethernet data upload time interval is preset to 3 seconds. The grinding information acquisition time represents the maximum time allowed for the OLAM to acquire the grinding information, and is preset to 3 seconds. The OLAM identity information represents the device information of the OLAM, including the device station number, device number, order number, specification, employee number, and carrier number of the OLAM. The device station number and the device number represent the location of the grinding machine corresponding to the OLAM in the workshop. The preset character of the device station number is 1, and the preset character of the device number is 1. The order number, specification, and carrier number represent the initial physical and chemical data of the quartz wafer in the corresponding grinding machine. The preset character of the order number is 1, the preset character of the specification is 1, and the preset character of the carrier number is 1. The employee number represents the operator number of the current grinding machine, and the preset character of the employee number is 1.
[0109] When the OLAM is used for the first time, the Ethernet module reads the preset value of the Ethernet data in the power-off module. During subsequent use, the Ethernet data in the power-off storage module can be adjusted according to the actual situation. When powering on next time, the Ethernet module reads the adjusted Ethernet data in the power-off storage module.
[0110] Step 12: Determine whether the Ethernet parameters are within the threshold range set by the system. If not, set the Ethernet parameters to default Ethernet parameters and send the Ethernet parameters set to default Ethernet parameters to the touch screen for display. If yes, send the Ethernet parameters to the touch screen for display, wherein the default Ethernet parameters are within the threshold range set by the system.
[0111] In the above steps, the system setting threshold range can be pre-set in OLAM. The operator can verify whether the Ethernet parameter is within the system setting threshold range through the touch screen.
[0112] Specifically, after the system completes the Ethernet parameter reading process, it determines whether the Ethernet connection status is successfully connected. If so, the Ethernet module connection configuration process is executed. If not, the operator performs Ethernet connection on the Ethernet setting interface of OLAM. As shown in the figure, the Ethernet module connection configuration process specifically includes:
[0113] Step 21: The MCU sends a configuration mode command to the Ethernet module. The Ethernet module configures Ethernet configuration parameters in the configuration mode according to the configuration mode command and feeds back the Ethernet configuration result to the MCU.
[0114] In the above steps, the Ethernet module is used to realize the Ethernet connection between OLAM and the server. The Ethernet module is a serial port to Ethernet module, which adopts the modbus serial port protocol. After the system configures the Ethernet configuration parameters in the configuration mode, the Ethernet module will generate the Ethernet configuration result. The Ethernet configuration result includes the Ethernet configuration parameters and the Ethernet connection status on the Ethernet module. The Ethernet module feeds back the Ethernet configuration result to the MCU, and the MCU learns the Ethernet connection status according to the Ethernet configuration result.
[0115] Step 22: The MCU verifies whether the Ethernet configuration parameters are configured successfully. If not, iterates steps 21 and 22 until the MCU verifies whether the Ethernet configuration parameters are configured successfully.
[0116] In the above steps, MCU verifies the Ethernet configuration parameters, which means comparing the Ethernet configuration parameters with the Ethernet parameters read by the Ethernet parameter reading process to see if they are consistent. If yes, it means the configuration is successful, otherwise it means the configuration is unsuccessful. If the configuration is unsuccessful, OLAM will re-execute the Ethernet module connection configuration process until the configuration is successful.
[0117] Step 23: The MCU sends a command to the Ethernet module to establish a connection with the server, sets the enable flag bit of the Ethernet module to 1, and the Ethernet module feeds back the command execution result to the MCU;
[0118] In the above steps, the command execution result refers to the processing result when the Ethernet module receives the command to establish a connection with the server. The command execution result includes the Ethernet connection status, and the MCU can determine whether the Ethernet module and the server have successfully established an Ethernet connection based on the command execution result.
[0119] Step 24: During the real-time operation of the system, send a command to check the connection status to the Ethernet module. The Ethernet module feeds back the Ethernet connection status to the MCU, and the MCU sets the Ethernet connection status in the MCU according to the feedback information.
[0120] In the above steps, the Ethernet connection status of the MCU can be visually displayed on the OLAM. The feedback information refers to the Ethernet connection status on the Ethernet module. It enables the operator to view the Ethernet connection status on the OLAM, thereby determining whether the Ethernet connection status is a successful connection.
[0121] Specifically, the connection and reconnection processes of the Ethernet module include the Ethernet connection process and the Ethernet module reconnection process.
[0122] As shown in the figure, the Ethernet connection process specifically includes:
[0123] Step 31: The Ethernet module enters the configuration mode, configures the Ethernet configuration parameters in the configuration mode, and sends the Ethernet configuration result to the MCU.
[0124] In the above steps, the Ethernet configuration result includes the Ethernet configuration parameters on the Ethernet module and the Ethernet connection status.
[0125] Step 32: The MCU verifies whether the Ethernet configuration parameters are successfully configured. If not, iterate steps 31 and 32. If so, execute step 33.
[0126] In the above steps, the MCU's verification of whether the Ethernet configuration parameters are successfully configured means that the MCU compares the Ethernet configuration parameters with the Ethernet parameters obtained through the Ethernet parameter reading process. If they are consistent, it is determined that the configuration is successful; if not, it is determined that the configuration is unsuccessful.
[0127] Step 33: The MCU sends a command to establish a connection with the server to the Ethernet module, and the Ethernet module establishes an Ethernet connection between the OLAM and the server according to the command to establish a connection with the server.
[0128] Step 34: The MCU sends a command to check the connection status to the Ethernet module, and the Ethernet module sends the Ethernet connection status to the MCU.
[0129] Step 35: The MCU determines whether the Ethernet connection status is successfully connected. If so, it controls the Ethernet module to exit the configuration mode. If not, it determines whether the duration of the Ethernet connection status being connected unsuccessfully is greater than the Ethernet connection timeout. If so, it restarts the Ethernet module and iterates steps 31 to 35.
[0130] The reconnection process of the Ethernet module specifically includes:
[0131] Step 41: The system determines whether the Ethernet connection status is the waiting connection status. If not, it ends the reconnection process of the Ethernet module. If so, it executes step 42;
[0132] In the above steps, if the communication between the OLAM and the Ethernet module is abnormal and disconnected, the Ethernet connection status switches to the waiting connection status.
[0133] Step 42: The system determines whether the system is in the main interface standby state. If not, it executes the Ethernet connection process. If so, it executes step 43;
[0134] In the above steps, when the Ethernet connection status is the waiting connection status, the system switches to the main interface standby state.
[0135] Step 43: The system determines whether the grinding information setting method is the automatic method. If not, it executes the Ethernet connection process. If so, it sends the reconnection selection data to the touch screen for display and obtains the grinding information setting method selected by the operator on the touch screen;
[0136] In the above steps, if the grinding information setting method is not the automatic method but the manual method, an Ethernet reconnection prompt box is sent to be displayed on the touch screen, and the system executes the Ethernet connection process. The Ethernet reconnection prompt box is used for visual display on the touch screen so that the operator can understand that the system is currently executing the Ethernet connection process. The reconnection selection operation includes the operator selecting the grinding information setting method on the touch screen.
[0137] When the touch screen visually displays the reconnection selection data, the system obtains the grinding information setting method selected by the operator on the touch and also obtains whether the operator selects reconnection on the touch screen. Then it determines whether the grinding information setting method selected by the operator on the touch screen is the manual method and whether the operator selects reconnection on the touch screen. If both are true, it executes the Ethernet connection process. If both are false, it iterates steps 43 to 44.
[0138] Step 44: OLAM first determines whether the operator selects reconnection on the touch screen. If so, it executes the Ethernet connection process. Otherwise, it determines whether the grinding information setting method selected by the operator on the touch screen is the manual method. If the grinding information setting method selected by the operator on the touch screen is the manual method, it sets the grinding information setting method to the manual method and then executes the Ethernet connection process. If the operator has no operation on the touch screen, it iterates steps 43 to 44 and waits for the operator to operate on the touch screen.
[0139] As shown in the figure, after OLAM and the server establish an Ethernet connection, it executes the server heartbeat packet processing process. The server will regularly send heartbeat packet data to OLAM to ensure the stability of the Ethernet connection between OLAM and the server. The heartbeat packet data is string data and is not a communication command in the system. The server heartbeat packet processing process specifically includes:
[0140] Step 51: OLAM determines whether the Ethernet connection status is successful. If not, it ends the server heartbeat sending process. If so, it obtains the timing time of the Ethernet communication time.
[0141] In the above steps, the timing time of the Ethernet communication time refers to the time between the moment when the server last sent heartbeat packet data and the current moment / the time between the moment when the Ethernet connection status is successful and the current moment.
[0142] Step 52: OLAM determines whether the timing time of the Ethernet communication time reaches the Ethernet communication time. If so, it executes step 53.
[0143] Step 53: OLAM determines whether it receives the heartbeat packet data sent by the server to OLAM within the timing time of the Ethernet communication time. If not, it clears the timing time of the Ethernet communication time and increments the number of times OLAM has not received the heartbeat packet data by 1. If so, it clears the timing time of the Ethernet communication time and the number of times OLAM has not received the heartbeat packet data.
[0144] Step 54: OLAM determines whether the number of times the Ethernet module has not received the heartbeat packet data exceeds the heartbeat threshold. If so, it sets the Ethernet connection status to the disconnected state and executes the Ethernet module reconnection process.
[0145] In the above steps, the heartbeat threshold is pre-set in OLAM, and the heartbeat threshold represents the maximum allowable value of the number of times OLAM has not received the heartbeat packet data.
[0146] As shown in the figure, after OLAM establishes an Ethernet connection with the server, the system executes the OLAM heartbeat packet upload process to achieve the regular upload of OLAM heartbeat packets to the server data and realize the two-way transmission of heartbeat packets between OLAM and the server. The OLAM heartbeat packet upload process specifically includes:
[0147] Step 61: Determine whether the Ethernet connection status is successful. If not, end the OLAM heartbeat packet sending process. If so, obtain the timing time of the Ethernet communication time.
[0148] In the above steps, the timing time of the Ethernet communication time refers to the time between the moment when the last OLAM uploaded heartbeat packet data to the server and the current moment / the time between the moment when the Ethernet connection status is successful and the current moment.
[0149] Step 62: The server determines whether the timing time of the Ethernet communication time reaches the Ethernet communication time. If so, execute Step 63.
[0150] Step 63: The server obtains the timing time of the Ethernet data upload time interval and determines whether the timing time of the Ethernet data upload time interval reaches the Ethernet data upload time interval. If so, OLAM sends the OLAM identity information to the server, where the OLAM identity information includes the device station number and device number of OLAM.
[0151] In the above steps, the timing time of the Ethernet data upload time interval represents the time between the moment when the last OLAM uploaded heartbeat packet data to the server and the current moment / the time between the moment when the Ethernet connection status is successful and the current moment.
[0152] Specifically, when the system is in the standby state, the OLAM grinding information acquisition process is executed. The OLAM grinding information acquisition process is used to enable OLAM to automatically obtain the grinding control data on the server through the Ethernet without the operator manually inputting in OLAM, and is also used to verify the grinding control data, solving the problem that the grinding control data on OLAM is incorrect due to the server sending incorrect data. Among them, the grinding control data includes an identifier, a command length, a device station number, a device number, grinding information, and a CRC check code, specifically including:
[0153] Step 71: The system determines whether the Ethernet connection status is successful. If not, end the OLAM grinding information acquisition process. If so, execute Step 72.
[0154] In the above steps, after the system ends the OLAM grinding information acquisition process, it waits for OLAM and the server to re-establish an Ethernet connection.
[0155] Step 72: Determine whether the grinding information setting method is the automatic method. If not, OLAM manually inputs the grinding information through the operator on the main interface of OLAM. If so, execute Step 73;
[0156] In the above steps, when the grinding information setting method is not the automatic method, the operator can manually input the grinding information on the touch screen of OLAM, so that the system controls the grinding machine to grind according to the grinding information and the control system switches to the grinding state.
[0157] Step 73: Determine whether the grinding information acquisition method is the server distribution method. If so, the server actively distributes the grinding control data to OLAM. If not, OLAM actively sends a acquisition command to the server, and then the server distributes the grinding control data to OLAM according to the acquisition command, and executes the grinding information receiving and verification process on the grinding control data. The grinding information receiving and verification process is used to verify the grinding control data. Among them, the grinding control data includes an identifier, a command length, a device station number, a device number, grinding information, and a CRC check code;
[0158] In the above steps, the grinding control data is string data. The correct identifier is 01, which occupies 2 bytes of the grinding control data and is located at the beginning of the grinding control data. The command length represents the number of characters of the grinding control data. The device station number occupies 10 bytes of the grinding control data. The device number occupies 10 bytes of the grinding control data. The grinding information includes a single order number, specifications, power consumption, a carrier number. The single order number, specifications, power consumption, grinding type, the starting frequency and target frequency of the quartz wafer, and the carrier number occupy 10 / 20 bytes of the grinding control data. The starting frequency and target frequency of the quartz wafer occupy 5 bytes of the grinding control data, and the grinding type occupies 2 bytes of the grinding control data. The CRC check code occupies 2 bytes of the grinding control data. The command length, device station number, device number, single order number, specifications, job number, carrier number, grinding type, CRC check code, and the starting frequency and target frequency of the quartz wafer are separated by space characters pairwise, and there is no space character between the identifier and the command length. The operator can set the single order number, specifications, power consumption, and carrier number on the touch screen. After the set single order number, specifications, power consumption, and carrier number are converted into grinding control data, they are distributed to OLAM by the server, and OLAM controls the operation of the grinding machine according to the grinding control data.
[0159] Specifically, the grinding information receiving and verification process specifically includes:
[0160] Step 731: OLAM determines whether the identifier is 01. If not, send an identifier error command to the server and end the grinding information receiving and verification process;
[0161] In the above steps, the correct identifier is 01. When the identifier is 01, the identifier error command is not sent.
[0162] Step 732: OLAM intercepts the grinding control data according to the command length to obtain the intercepted data, and determines whether the CRC check code is consistent with the CRC value calculated from the intercepted data. If not, it sends a CRC check failure command to the server and ends the grinding information receiving and verification process. If so, it proceeds to the manual secondary verification process. If the manual secondary verification process fails, it sends a manual verification failure command to the server and ends the grinding information receiving and verification process. If the manual secondary verification process passes, it executes Step 733;
[0163] In the above steps, the method for OLAM to intercept and obtain the intercepted data is to discard the first 2 bytes of characters in the grinding control data, and the remaining is the intercepted data. OLAM then calculates the CRC value based on the intercepted data. Then, if the CRC check code is consistent with the CRC value calculated from the intercepted data, it indicates that the verification is successful. If the CRC check code is inconsistent with the intercepted data, it indicates that the verification fails.
[0164] As Figure 11 shown, it is a schematic diagram of the main interface for the operator to select on the touch screen. The manual secondary verification process is used for the operator to perform secondary verification on the grinding information sent by the server on the touch screen. The manual secondary verification process specifically includes:
[0165] The grinding information is visually displayed on the touch screen, and the operator can perform secondary verification on the grinding information on the touch screen. If the operator's secondary verification confirms that there is no error, it indicates that the manual secondary verification process passes, and the system executes Step 733. If the operator's secondary verification confirms an error, it indicates that the manual secondary verification process fails, and the system sends a manual verification failure command to the server and ends the grinding information receiving and verification process. In addition, if the operator's secondary verification confirms an error, the operator can also modify the grinding information on the touch screen, and the server then sends the modified grinding information to OLAM, and OLAM controls the grinding machine to start grinding according to the modified grinding information.
[0166] In the above steps, the main interface for the operator to select on the touch screen includes a "Server Download" button, a "Target Frequency Comparison" button, a "Bill Number Comparison" button, a "Specification Comparison" button, and a "Carrier Number Comparison" button.
[0167] In actual use, when the operator presses the "Server Download" button, the Ethernet configuration data downloaded by the server is visually displayed on the touch screen to facilitate the user to verify the Ethernet configuration data. When the operator presses the "Order Number Comparison" button, the order number downloaded by the server to the touch screen and the order number manually input / modified by the user are sent to the touch screen, and the operator can compare the two and perform a secondary verification to confirm whether the order number downloaded by the server is consistent. When the operator presses the "Specification Comparison" button, the specification downloaded by the server to the touch screen and the specification manually input / modified by the user are sent to the touch screen, and the operator can compare the two and perform a secondary verification to confirm whether the specification downloaded by the server is consistent. When the operator presses the "Carrier Number Comparison" button, the carrier number downloaded by the server to the touch screen and the carrier number manually input / modified by the user are sent to the touch screen, and the operator can compare the two and perform a secondary verification to confirm whether the carrier number downloaded by the server is consistent. If the operator can select at least one of the target frequency, order number, specification, and carrier number downloaded by the server to confirm whether they are consistent, if the operator confirms that they are consistent, it means that the manual secondary verification process passes, and if the operator confirms that they are inconsistent, it means that the manual secondary verification fails, and the operator can modify the incorrect data on the touch screen. The method of using the manual secondary verification process achieves the effect of system anti-fooling.
[0168] On the main interface for the operator to select on the touch screen, there is also a "Target Frequency Clear" button. In actual use, when the operator presses the "Target Frequency Clear" button, "Clear" and "Not Clear" buttons will pop up on the touch screen. If the operator presses the "Clear" button and the grinding information setting method is the automatic method, the target frequency input by the operator on the touch screen will be cleared. When the target frequency input by the operator on the touch screen is cleared, the operator needs to input the target frequency on the touch screen first the next time the grinding machine grinds the quartz wafer, thus achieving the effect of system anti-fooling. If the operator presses the "Not Clear" button, the target frequency input by the operator on the touch screen will not be cleared.
[0169] When the operator presses the "Target Frequency Comparison" button, the target frequency downloaded by the server to the OLAM and the target frequency input by the user can be compared and verified to confirm whether they are consistent. If they are consistent, the grinding machine starts to grind the quartz wafer. If they are inconsistent, the operator can modify the incorrect data on the touch screen and then the grinding machine starts to grind the quartz lens.
[0170] In addition, in the grinding information receiving and verification process, the OLAM can also determine whether the number of space characters in the grinding control data is consistent with the normal number of space characters. If not, it sends a grinding information error command to the server and waits for the server to re-download the grinding control data to the OLAM.
[0171] Step 733: OLAM determines whether the number of bytes occupied by the grinding information is the same as the preset number of bytes. If not, it sends a grinding information error command to the server and ends the grinding information receiving and verification process.
[0172] In the above steps, if OLAM determines that the number of bytes occupied by the grinding information is the same as the preset number of bytes, it does not send a grinding information error command to the server.
[0173] Step 734: OLAM determines whether the grinding information in the grinding control data is the same as the grinding information in OLAM's power-off storage module. If not, it updates the grinding information in the grinding control data to the power-off storage module.
[0174] In the above steps, when OLAM updates the grinding information in the grinding control data to the power-off storage module, the original grinding information is deleted. OLAM obtains the order number, specification, job number, carrier number, starting frequency, target frequency, and grinding type from the grinding information and stores them in the power-off storage module.
[0175] Specifically, as shown in the figure, when the grinding machine starts grinding, the system executes the frequency grinding processing flow. OLAM real-time detects the working condition data of the grinding machine and uploads it to the server to facilitate the operator and / or the system to timely discover the abnormal operation of the grinding machine. The frequency grinding processing flow is used to enable the server to real-time obtain the working condition data of the grinding machine on OLAM. Among them, the working condition data of the grinding machine includes the working state of the grinding machine, the number of grinding circles, and the physical and chemical data of the quartz wafer. The physical and chemical data of the quartz wafer includes the frequency, scatter, and grinding speed of the quartz wafer, specifically including:
[0176] Step 81: OLAM determines whether the grinding machine has started grinding. If not, it ends the frequency grinding processing flow. If so, it executes Step 82.
[0177] In the above steps, after the grinding machine has not started grinding and the frequency grinding processing flow is ended, the system waits for the grinding machine to start grinding and then executes the frequency grinding processing flow. The grinding speed of the quartz wafer refers to the change rate of the frequency during the grinding process of the quartz wafer, specifically the rate calculated by the least squares method based on the number of circles and the average frequency per circle.
[0178] Step 82: OLAM determines whether the control line used to control the grinding machine on OLAM is connected normally. If not, it sends a control line connection abnormal command to the server and ends the frequency grinding processing flow. If so, it executes Step 83.
[0179] In the above steps, OLAM also includes a control line, which is used to control the operation of the grinding machine.
[0180] Step 83: OLAM executes an automatic search process, which is used to search for the number of quartz wafers on the grinding machine and determine whether the number of searched quartz wafers reaches the set threshold for successful search. If not, it sends an automatic search failure command to the server, clears the OLAM upload heartbeat packet timing, and ends the frequency grinding process. If it reaches the threshold, it sends an automatic search success command to the server, clears the OLAM upload heartbeat packet timing, and re-executes Step 83;
[0181] In the above steps, searching for the number of quartz wafers on the grinding machine and determining whether the number of searched quartz wafers reaches the set threshold for successful search means checking whether the number of quartz wafers on the grinding machine is consistent with the set threshold for successful search. The set threshold for successful search is preset in OLAM. If the number of quartz wafers on the grinding machine is consistent with the set threshold for successful search, OLAM determines that the automatic search is successful. If the number of quartz wafers on the grinding machine is inconsistent with the set threshold for successful search, OLAM determines that the automatic search fails. In the frequency grinding process, as long as OLAM uploads data, it clears the OLAM upload heartbeat packet timing. The timing of the heartbeat packet uploaded by OLAM is the timing of the Ethernet communication time.
[0182] Step 84: OLAM sends the working condition data of the grinding machine to the server at the Ethernet upload interval;
[0183] In the above steps, the Ethernet upload interval is preset in OLAM. When the OLAM timing reaches the Ethernet upload interval, it sends the working condition data of the grinding machine to the server. In addition, OLAM also checks whether the number of grinding cycles increases. If not, it determines that the grinding machine is working abnormally.
[0184] Step 85: Determine whether the grinding machine is working abnormally based on the working condition data of the grinding machine.
[0185] Specifically, as shown in the figure, Step 85 specifically includes:
[0186] Step 851: OLAM determines whether the scatter of the quartz wafers is within the normal scatter range. If not, it sends a scatter abnormality command to the server. If so, it sends a scatter normal command to the server;
[0187] Step 852: OLAM determines whether the grinding rate of the grinding machine is within the normal rate range. If so, it executes Step 855. If not, it executes Step 853;
[0188] Step 853: OLAM determines whether the grinding rate of the grinding machine is within the warning rate range. If so, it sends a rate abnormality warning command to the server. If not, it executes Step 844;
[0189] Step 854: OLAM determines whether the grinding rate of the grinding machine is within the shutdown rate range. If so, it sends a rate abnormal shutdown command to the server and the grinding machine;
[0190] Step 855: OLAM determines whether the number of quartz wafers counted within the specified number of turns reaches the set threshold of the number of quartz wafers. If not, it determines whether the average frequency of the wafers within the specified number of turns is within the first 80% range of the grinding frequency band. If the average frequency of the wafers within the specified number of turns is within the first 80% range of the grinding frequency band, it sends a frequency measurement abnormal command to the server and iterates from Step 83 to Step 85. If the average frequency of the wafers within the specified number of turns is within the last 20% range of the grinding frequency band, it sends a frequency measurement abnormal command to the server, sends a frequency measurement abnormal shutdown command to the grinding machine, and ends the frequency grinding process;
[0191] In the above steps, at least two quartz wafers are provided on the grinding machine. The at least two quartz wafers are arranged circumferentially on the grinding machine, and the circumferentially arranged quartz wafers enclose a circular body. During the grinding process of the grinding machine, the at least two quartz wafers perform a rotational movement and sequentially pass through a probe on the grinding machine. In this embodiment, the grinding machine includes a rotatable turntable and a motor drivingly connected to the turntable. More than two quartz wafers are provided on the turntable, and the motor on the grinding machine can drive the turntable to rotate. The probe is a sensor for detecting the wafer frequency of the quartz wafer and counting the number of quartz wafers. When the motor drives the turntable to rotate one circle, the system records that the quartz wafer rotates one circle, and the probe can perform frequency detection and quantity statistics on the quartz wafers within one rotation. In the system, the probe counts the number of rotations of the turntable, and the number of rotations of the turntable at the current moment is set to the nth circle. The specified number of circles in step 855 refers to the time between the (n - k)th circle and the nth circle of the turntable rotation, where k is less than n, and both n and k are positive integers. The number of quartz wafers counted within the specified number of circles refers to the number of quartz wafers counted by the probe during the time between the (n - k)th circle and the nth circle of the turntable rotation. Due to the problem of detection error of the probe, a threshold value for the set number of quartz wafers needs to be preset on the grinding machine. The threshold value for the set number of quartz wafers represents the minimum allowable number of quartz wafers that the probe needs to detect during the time between the (n - k)th circle and the nth circle of the turntable rotation. If the number of quartz wafers counted within the specified number of circles is lower than the threshold value for the set number of quartz wafers, then the average wafer frequency of the quartz wafers detected within the specified number of circles cannot be calculated, and the probe re-counts the number of quartz wafers within the specified number of circles after the turntable rotates one circle. If the number of quartz wafers counted within the specified number of circles is not lower than the threshold value for the set number of quartz wafers, then the average wafer frequency of the quartz wafers detected within the specified number of circles is calculated, which is the average wafer frequency within the specified number of circles. The average wafer frequency within the specified number of circles refers to the average value of the wafer frequencies of all the quartz lenses detected by the probe during the time between the (n - k)th circle and the nth circle of the turntable rotation. The grinding frequency band refers to the range of change in the quartz wafer frequency during the grinding process of the grinding machine and under the design requirements. The upper limit value of the grinding frequency band is the designed required wafer frequency when the quartz wafer is ground and qualified, and the lower limit value of the grinding frequency band is the initial wafer frequency of the quartz wafer before grinding starts. The upper limit value of the first 80% range of the grinding frequency band becomes 80% of the designed required wafer frequency, and the lower limit value of the first 80% range of the grinding frequency band remains the initial wafer frequency. The upper limit value of the last 20% range of the grinding frequency band is the designed required wafer frequency, and the lower limit value of the last 20% range of the grinding frequency band is 80% of the designed required wafer frequency.
[0192] When determining whether the average wafer frequency within the specified number of turns is within the top 80% range of the grinding frequency band, the probe head is allowed to re-detect the number of quartz wafers and the wafer frequency within the current turn. OLAM sends a frequency measurement anomaly command to the server, and OLAM also iterates from step 83 to step 85. Send a frequency measurement anomaly stop command to the grinding machine and end the frequency grinding process. When the average wafer frequency within the specified number of turns is within the bottom 20% range of the grinding frequency band, OLAM sends a frequency measurement anomaly command to the server, OLAM also sends a frequency measurement anomaly stop command to the grinding machine, and OLAM also ends the frequency grinding process. When the server receives the frequency measurement anomaly command, it can visually display on the touch screen that OLAM is in a frequency measurement anomaly state, and the operator can learn from the touch screen that OLAM is in a frequency measurement anomaly state. When the grinding machine receives the frequency measurement anomaly stop command, the grinding machine stops working.
[0193] OLAM calculates the upper limit value of the grinding frequency based on the grinding frequency of the grinding machine, and determines whether the upper limit value of the grinding frequency is greater than the safety upper limit value. If so, it sends a frequency exceeding the upper limit command to the server;
[0194] Step 857: OLAM determines whether the number of grinding turns increases within the preset grinding time. If not, it sends a turn counting anomaly stop command to the grinding machine and the server.
[0195] As Figure 11 shown, when the touch screen enters the Ethernet setting interface, the Ethernet interface operation process can be executed. In the Ethernet setting interface, the operator can input Ethernet parameters to set the Ethernet parameters, so as to realize the Ethernet connection / disconnection operation of the system. The Ethernet interface operation process specifically includes:
[0196] Step 91: The operator switches the touch screen to the Ethernet setting interface;
[0197] Step 92: The server determines whether the Ethernet connection status is successfully connected. If so, the operator can perform an Ethernet disconnection operation on the touch screen. If not, the operator can perform an Ethernet connection operation on the touch screen;
[0198] In the above steps, the operator can input Ethernet parameters on the touch screen and control the system to realize the disconnection / connection of the Ethernet according to the Ethernet parameters. There are "Ethernet Disconnect" button and "Ethernet Connect" button on the touch screen. When the operator presses the "Ethernet Disconnect" button, the system performs an Ethernet disconnection operation. After the system completes the Ethernet disconnection operation, the system switches to the standby state. When the operator presses the "Ethernet Connect" button, the system performs an Ethernet connection operation.
[0199] The system determines whether the "Ethernet Connect" button is pressed. If so, it performs an Ethernet connection operation. The Ethernet connection operation specifically includes:
[0200] Step 921: OLAM obtains the Ethernet parameters set by the operator on the touch screen;
[0201] Step 922: Determine whether the Ethernet parameters on the touch screen are consistent with the Ethernet parameters in the power-off storage module. If not, restart the Ethernet module and update the server IP address and the IP address of OLAM on the touch screen to the power-off storage module;
[0202] Step 923: OLAM establishes an Ethernet connection according to the Ethernet parameters in the power-off storage module;
[0203] Step 924: OLAM determines whether the Ethernet connection status is successfully connected. If so, the server sends an Ethernet connection success command to OLAM. The Ethernet connection success command includes the MAC address of OLAM. The Ethernet connection success command is used for MAC address conflict judgment, then switches the Ethernet connection status to successfully connected, and clears the corresponding Ethernet parameters for Ethernet communication.
[0204] The above embodiments are only preferred embodiments of the present invention, and do not limit the protection scope of the present invention accordingly. Therefore, all equivalent changes made according to the structure, shape, and principle of the present invention shall be covered within the protection scope of the present invention.
Claims
1. A planar grinding control method based on the Internet of Things in the workshop, characterized in that, Including: After the system is powered on and booted, execute the Ethernet parameter reading process to read the Ethernet parameters in the power-off storage module, obtain the Ethernet connection status before the last shutdown, and determine whether the Ethernet connection status before the last shutdown is successful. If so, execute the Ethernet module connection configuration process and then execute the Ethernet connection process in the Ethernet module connection and reconnection process to achieve Ethernet connection. If not, switch to the Ethernet settings interface and then execute the Ethernet connection process in the Ethernet module connection and reconnection process to achieve Ethernet connection; Determine whether the Ethernet connection status is successful. If so, execute the server heartbeat packet processing process and the OLAM upload heartbeat packet process; Determine whether the system is in the standby state. If so, execute the OLAM grinding information acquisition process to obtain the grinding information sent by the server, and determine whether the grinding information sent by the server is consistent with the grinding information input by the operator. If so, the system switches to the grinding state; Determine whether the system is in the grinding state. If so, execute the frequency grinding processing process; The OLAM grinding information acquisition process is used to enable OLAM to automatically obtain the grinding control data on the server through Ethernet. Among them, the grinding control data includes an identifier, a command length, a device station number, a device number, grinding information, and a CRC check code, specifically including: Step 71: Determine whether the Ethernet connection status is successful. If not, end the OLAM grinding information acquisition process. If so, execute Step 72; Step 72: Determine whether the grinding information setting method is the automatic method. If not, OLAM manually inputs the grinding information through the operator on the main interface of OLAM. If so, execute Step 73; Step 73: Determine whether the grinding information acquisition method is the server distribution method. If so, the server actively distributes the grinding control data to OLAM. If not, OLAM actively sends an acquisition command to the server, and then the server distributes the grinding control data to OLAM according to the acquisition command. OLAM executes the grinding information reception and verification process on the grinding control data. The grinding information reception and verification process is used to verify the grinding control data. Among them, the grinding control data includes an identifier, a command length, a device station number, a device number, grinding information, and a CRC check code; Determine whether the system is in the parameter copy interface. If so, execute the parameter upload and distribution process.
2. The planar grinding control method based on the Internet of Things in the workshop according to claim 1, characterized in that, The Ethernet parameter reading process specifically includes: Step 11: The system reads the Ethernet parameters from the power-off storage module. Among them, the Ethernet parameters include the grinding information setting method, the Ethernet grinding information acquisition method, the server IP address, the OLAM IP address, the OLAM MAC address, the Ethernet connection timeout time, the Ethernet communication time, the Ethernet data upload time interval, the grinding information acquisition time, and the OLAM identity information; Step 12: Determine whether the Ethernet parameters are within the system set threshold range. If not, set the Ethernet parameters to the default Ethernet parameters and send them to the touch screen for display. If so, send the Ethernet parameters to the touch screen for display.
3. The planar grinding control method based on the Internet of Things in the workshop according to claim 1, characterized in that, The Ethernet module connection configuration process specifically includes: Step 21: The MCU sends a configuration mode command to the Ethernet module. The Ethernet module configures Ethernet configuration parameters in the configuration mode according to the configuration mode command and feeds back the Ethernet configuration result to the MCU. Step 22: The MCU verifies whether the Ethernet configuration parameters are successfully configured. If not, steps 21 and 22 are iterated until the MCU verifies that the Ethernet configuration parameters are successfully configured. Step 23: The MCU sends a command to establish a connection with the server to the Ethernet module, sets the enable flag bit of the Ethernet module to 1, and the Ethernet module feeds back the command execution result to the MCU. Step 24: During the real-time operation of the system, a command to check the connection status is sent to the Ethernet module. The Ethernet module feeds back the Ethernet connection status to the MCU, and the MCU sets the Ethernet connection status in the MCU according to the feedback information.
4. The planar grinding control method based on the Internet of Things in the workshop according to claim 1, characterized in that, The connection and reconnection processes of the Ethernet module include an Ethernet connection process and an Ethernet module reconnection process. The Ethernet connection process specifically includes: Step 31: The Ethernet module enters the configuration mode, configures Ethernet configuration parameters in the configuration mode, and sends the Ethernet configuration result to the MCU. Step 32: The MCU verifies whether the Ethernet configuration parameters are successfully configured. If not, steps 31 and 32 are iterated. If so, step 33 is executed. Step 33: The MCU sends a command to establish a connection with the server to the Ethernet module. The Ethernet module establishes an Ethernet connection between the OLAM and the server according to the command to establish a connection with the server. Step 34: The MCU sends a command to check the connection status to the Ethernet module. The Ethernet module sends the Ethernet connection status to the MCU. Step 35: The MCU determines whether the Ethernet connection status is a successful connection. If so, it controls the Ethernet module to exit the configuration mode. If not, it determines whether the duration of the Ethernet connection status being a failed connection is greater than the Ethernet connection timeout. If so, the Ethernet module is restarted and steps 31 to 35 are iterated. The Ethernet module reconnection process specifically includes: Step 41: The system determines whether the Ethernet connection status is a waiting connection status. If not, the Ethernet module reconnection process ends. If so, step 42 is executed. Step 42: Determine whether the system is in the main interface standby state. If not, the Ethernet connection process is executed. If so, step 43 is executed. Step 43: Determine whether the grinding information setting method is the automatic method. If not, the Ethernet connection process is executed. If so, reconnection selection data is sent to the touch screen for display and the grinding information setting method selected by the operator on the touch screen is obtained. If the grinding information setting method is not the automatic method but the manual method, an Ethernet reconnection prompt box is sent to be displayed on the touch screen, and the system executes the Ethernet connection process. Step 44: First, determine whether the operator selects reconnection on the touch screen. If so, execute the Ethernet connection process. If not, determine whether the grinding information setting method selected by the operator on the touch screen is the manual method. If the grinding information setting method selected by the operator on the touch screen is the manual method, set the grinding information setting method to the manual method and then execute the Ethernet connection process. If the operator has no operation on the touch screen, iterate steps 43 to 44 and wait for the operator to operate on the touch screen.
5. The planar grinding control method based on the Internet of Things in the workshop according to claim 1, characterized in that, The heartbeat packet processing process sent by the server specifically includes: Step 51: Determine whether the Ethernet connection status is successfully connected. If not, end the server heartbeat sending process. If so, obtain the timing time of the Ethernet communication time by timing; Step 52: Determine whether the timing time of the Ethernet communication time reaches the Ethernet communication time. If so, execute step 53; Step 53: Determine whether the heartbeat packet data sent by the server to OLAM is received within the timing time of the Ethernet communication time. If not, clear the timing time of the Ethernet communication time and increment the number of times OLAM has not received the heartbeat packet data by 1. If so, clear the timing time of the Ethernet communication time and the number of times OLAM has not received the heartbeat packet data; Step 54: Determine whether the number of times OLAM has not received the heartbeat packet data exceeds the heartbeat threshold. If so, set the Ethernet connection status to the disconnected state and execute the Ethernet module reconnection process.
6. The planar grinding control method based on the workshop Internet of Things according to claim 1, wherein, The OLAM heartbeat packet uploading process is used to implement the periodic uploading of heartbeat packet data by OLAM and specifically includes: Step 61: Determine whether the Ethernet connection status is successfully connected. If not, end the OLAM heartbeat sending process. If so, obtain the timing time of the Ethernet communication time by timing; Step 62: Determine whether the timing time of the Ethernet communication time reaches the Ethernet communication time. If so, execute step 63; Step 63: Obtain the timing time of the Ethernet data upload time interval, and determine whether the timing time of the Ethernet data upload time interval reaches the Ethernet data upload time interval. If so, OLAM sends the OLAM identity information to the server, where the OLAM identity information includes the device station number and device number of OLAM.
7. The planar grinding control method based on the workshop Internet of Things according to claim 1, wherein, The grinding information receiving and verification process specifically includes: Step 731: Determine whether the identifier is 01. If not, send an identifier error command to the server and end the grinding information receiving and verification process; Step 732: Intercept the grinding control data according to the command length to obtain the intercepted data, and determine whether the CRC value calculated from the CRC check code and the intercepted data is consistent. If not, send a CRC verification failure command to the server and end the grinding information receiving and verification process. If so, perform the manual secondary verification process. If the manual secondary verification process fails, send a manual verification failure command to the server and end the grinding information receiving and verification process; Step 733: Determine whether the number of bytes occupied by the grinding information is consistent with the preset number of bytes. If not, send a grinding information error command to the server and end the grinding information receiving and verification process; Step 734: Determine whether the grinding information in the grinding control data is consistent with the grinding information in the power-off storage module of the OLAM. If not, update the grinding information in the grinding control data to the power-off storage module.
8. The planar grinding control method based on the workshop Internet of Things according to claim 1, wherein, The frequency grinding processing flow is used to enable the server to obtain the working condition data of the grinding machine on the OLAM in real time. Among them, the working condition data of the grinding machine includes the working state of the grinding machine, the number of grinding circles, and the physical and chemical data of the quartz wafer. The physical and chemical data of the quartz wafer includes the frequency, scatter, and grinding speed of the quartz wafer, and specifically includes: Step 81: Determine whether the grinding machine starts grinding. If not, end the frequency grinding processing flow. If so, execute Step 82; Step 82: Determine whether the control line used to control the grinding machine on the OLAM is connected normally. If not, send a control line connection abnormal command to the server and end the frequency grinding processing flow. If so, execute Step 83; Step 83: Execute the automatic search process. The automatic search process is used to search for the number of quartz wafers on the grinding machine and determine whether the number of searched quartz wafers reaches the set threshold for successful search. If not, send an automatic search failure command to the server, clear the OLAM upload heartbeat packet timing time, and end the frequency grinding processing flow. If so, send an automatic search success command to the server, clear the OLAM upload heartbeat packet timing time, and execute Step 84; Step 84: Send the working condition data of the grinding machine to the server at the Ethernet upload interval time; Step 85: Determine whether the operation of the grinding machine is abnormal according to the working condition data of the grinding machine.
9. The planar grinding control method based on the workshop Internet of Things according to claim 8, wherein, The specific content of Step 85 includes: Step 851: Determine whether the scatter of the quartz wafer is within the normal scatter range. If not, send a scatter abnormal command to the server. If so, send a scatter normal command to the server; Step 852: Determine whether the grinding rate of the grinding machine is within the normal rate range. If so, execute Step 855. If not, execute Step 853; Step 853: Determine whether the grinding rate of the grinding machine is within the warning rate range. If so, send a rate abnormal warning command to the server. If not, execute Step 854; Step 854: Determine whether the grinding rate of the grinding machine is within the shutdown rate range. If so, send a rate abnormal shutdown command to the server and the grinding machine; Step 855: Determine whether the number of quartz wafers counted within the specified number of circles reaches the set threshold of the number of quartz wafers. If not, determine whether the average frequency of the wafers within the specified number of circles is within the first 80% range of the grinding frequency band. If the average frequency of the wafers within the specified number of circles is within the first 80% range of the grinding frequency band, send a frequency measurement abnormal command to the server and iterate from Step 83 to Step 85. If the average frequency of the wafers within the specified number of circles is within the last 20% range of the grinding frequency band, send a frequency measurement abnormal command to the server, send a frequency measurement abnormal shutdown command to the grinding machine, and end the frequency grinding processing flow; Step 856: Calculate the upper limit value of the grinding frequency according to the grinding frequency of the grinding machine, and determine whether the upper limit value of the grinding frequency is greater than the safety upper limit value. If so, send a frequency exceeding the upper limit command to the server; Step 857: Determine whether the number of grinding circles increases within the preset grinding time. If not, send a command for abnormal stop of counting circles to the grinding machine and the server.
Citation Information
Patent Citations
Plane grinding management and control system based on workshop Internet of Things
CN116117679A