Control method and device of etching machine, etching equipment and storage medium
Through multi-threaded tasks and signal and slot mechanisms, the real-time and reliability problems of the etching machine control software are solved, efficient collaborative operation and data monitoring of the etching machine are realized, and user experience is improved.
Patent Information
- Application Number
- CN202410958757.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-15
AI Technical Summary
The real-time and reliability of existing etching machine control software is not high, and it is difficult to meet the complex security interlocking and real-time data processing needs.
Using multi-threaded tasks and signal and slot mechanisms, we create objects and control threads to be controlled through periodic multi-threaded tasks, realize collaborative operation between the mechanisms to be controlled and real-time data feedback, and store and display real-time and historical data.
It improves the flexibility and scalability of the system, achieves more efficient control and collaboration, enhances the monitoring and analysis capabilities of the etching processing process, and improves the user experience.
Smart Images

Figure CN118963250A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of software control, and in particular to a control method, device, etching equipment and storage medium for an etching machine. Background Art
[0002] The etcher is a commonly used semiconductor processing equipment, mainly used to make nano-scale structures in microelectronic devices. Its principle is to control the acceleration and focusing of ions, and then aim at the surface of the sample to be etched so that it collides with the sample surface, causing various interactions such as scattering, surface reflection, electron excitation and ion suppression, to achieve the purpose of characterizing semiconductor circuits.
[0003] Each component of the etcher is in a vacuum state when working, and they are isolated from each other by valves, material transfer, and very complex safety interlocking relationships. Therefore, very high requirements are placed on the real-time and reliability of the control software. Summary of the invention
[0004] The technical problem to be solved by the embodiments of the present invention is to provide a control method, device, etching equipment and storage medium for an etching machine to solve the problems of low real-time performance and reliability of control software in the prior art.
[0005] The invention discloses a control method for an etching machine, wherein the etching machine comprises a plurality of mechanisms to be controlled; the control method for the etching machine comprises:
[0006] Acquire recipe data and operation data input by a user, and establish a periodic multi-threaded task according to the recipe data and the operation data;
[0007] Creating objects to be controlled and control threads for the plurality of mechanisms to be controlled respectively according to the periodic multi-threaded task, and moving each object to be controlled to a corresponding control thread;
[0008] Establish communication between various objects to be controlled through the signal and slot mechanism, so as to perform corresponding operations when specific events occur;
[0009] The periodic multi-threaded task is started to obtain real-time feedback data during the processing, the real-time feedback data is stored in a preset database, and the real-time feedback data and the historical feedback data in the preset database are displayed.
[0010] Optionally, the step of establishing communication between the objects to be controlled through the signal and slot mechanism includes:
[0011] Connections between multiple signals and slots are established through the connect function to implement the allocation function entry of each control thread.
[0012] Optionally, the step of establishing communication between the objects to be controlled through the signal and slot mechanism includes:
[0013] When one of the objects to be controlled sends a preset signal, the slot function of another object to be controlled is called.
[0014] Optionally, before the step of storing the real-time feedback data in a preset database, the step includes:
[0015] Determine whether there is a connection with the preset database. If so, directly use the connection; if not, create a connection with the preset database, set the file path of the preset database, and open the database file corresponding to the file path.
[0016] Optionally, the mechanism to be controlled adopts a PLC system, and the method further comprises:
[0017] Open the standard communication port of the automation equipment through the first function and obtain the local address information;
[0018] Setting the network address to a specific value so as to establish a communication connection with the mechanism to be controlled;
[0019] Obtaining and storing the handle of the variable in the PLC according to the name of the variable through the second function of the automation device specification protocol;
[0020] Using the second function, the value of the variable is read from the PLC according to the handle and stored.
[0021] Optionally, the recipe data includes: first process data, second process data and third process data;
[0022] The first process data represents an etching process step for each element to be etched, and includes a plurality of equipment control parameters in the etching process step;
[0023] The second process data is composed of a plurality of first process data, representing an etching process of a component to be etched, including a sequence of a plurality of etching process steps;
[0024] The third process data includes all the second process data, and represents a collection of etching processes of all the components to be etched in one material box.
[0025] Optionally, the step of obtaining the recipe data input by the user includes:
[0026] The first process data, the second process data and the third process data are edited in a forward or reverse order.
[0027] The present invention also discloses a control device for an etching machine, wherein the etching machine comprises a plurality of mechanisms to be controlled; the control device for the etching machine comprises:
[0028] An acquisition module, used for acquiring formula data and operation data input by a user, and establishing a periodic multi-threaded task according to the formula data and the operation data;
[0029] A thread module, used for creating objects to be controlled and control threads for the plurality of mechanisms to be controlled respectively according to the periodic multi-threaded tasks, and moving each object to be controlled to a corresponding control thread;
[0030] The communication module is used to establish communication between various objects to be controlled through the signal and slot mechanism, so as to perform corresponding operations when specific events occur;
[0031] A startup module is used to start the periodic multi-threaded task, obtain real-time feedback data during the processing, store the real-time feedback data in a preset database, and display the real-time feedback data and the historical feedback data in the preset database.
[0032] The present invention also discloses a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps of the method described above.
[0033] The present invention also discloses an etching device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.
[0034] Compared with the prior art, the control method of the etching machine provided by the embodiment of the present invention has the following beneficial effects:
[0035] According to the periodic multi-threaded tasks, objects to be controlled and control threads are created for multiple mechanisms to be controlled respectively, and each object to be controlled is moved to the corresponding control thread. The collaborative operation between multiple mechanisms to be controlled can be realized, and the corresponding operations when specific events are triggered can be realized through the signal and slot mechanism, thereby improving the flexibility and scalability of the system, achieving more efficient control and collaboration, and displaying real-time feedback data and historical feedback data, which can help users monitor the situation during the etching process and analyze and compare with historical data. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The scheme of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments, in which:
[0037] Figure 1 The invention provides a control method for an etching machine;
[0038] Figure 2 It is a flow chart of an embodiment of a method for storing real-time feedback data into a preset database provided by the present invention;
[0039] Figure 3 It is a flow chart of an embodiment of establishing connection with a mechanism to be controlled provided by the present invention;
[0040] Figure 4 It is a schematic diagram of the process recipe interface provided by the present invention;
[0041] Figure 5 It is a structural schematic diagram of an embodiment of a control device for an etching machine provided by the present invention.
[0042] The reference numerals in the figures are:
[0043] 10. Control device of the etching machine; 11. Acquisition module; 12. Thread module; 13. Communication module; 14. Startup module. DETAILED DESCRIPTION
[0044] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. Now, in conjunction with the accompanying drawings, the preferred embodiments of the present invention are described in detail.
[0045] Please refer to Figure 1 , Figure 1 The control method of the etching machine provided by the present invention, the etching machine in this embodiment includes multiple mechanisms to be controlled, for example, one or more loading mechanisms, one or more processing mechanisms, and a transmission mechanism for transmitting the original to be etched loaded by the loading mechanism to the processing mechanism, and may also include related vacuum processing equipment, cooling systems, valves between different components, instruments and valves, motors and other actuators. In order to be able to accurately control these mechanisms to be controlled so that the etching process can be completed smoothly, the following method is implemented:
[0046] S101: Acquire recipe data and operation data input by a user, and establish a periodic multi-threaded task according to the recipe data and operation data.
[0047] In a specific implementation scenario, the recipe data and operation data input by the user are obtained. The recipe data and operation data cover the main contents of user input and operation in the etching process recipe management system. The user can create, edit and manage recipes by inputting these data and performing these operations to achieve the control and management of a specific process flow. Specifically, the recipe data is the specific parameter values of each step of etching, and the operation data is a description of the operation content of the recipe data.
[0048] A periodic multithreaded task is established according to the recipe data and the operation data. The periodic multithreaded task refers to a task or operation that needs to be performed regularly in multithreaded programming. This task needs to be repeated at a certain time interval and is usually used to periodically process specific work or events. In this embodiment, the periodic multithreaded task is to perform the corresponding process operation at a specific time point according to the time arrangement and operation flow in the recipe data to realize the automatic execution and flexible adjustment of the process recipe. Specifically, a main thread is created to manage and schedule periodic multithreaded tasks. Then, the order of steps to be executed, trigger conditions, time arrangement, etc. are determined according to the recipe data. Multiple timers are added to the main thread to trigger the execution of different steps at a fixed time. When the timer is triggered, the current step to be executed is executed in the new thread. Synchronization and communication are performed between different threads to ensure the consistency and correctness of the data. Signal and slot mechanism or other thread communication methods can be used to realize data exchange and synchronization between different threads.
[0049] S102: Creating objects to be controlled and control threads for multiple mechanisms to be controlled according to the periodic multi-threaded tasks, and moving each object to be controlled to a corresponding control thread.
[0050] In a specific implementation scenario, a corresponding object to be controlled is created for each mechanism to be controlled according to the periodic multi-threaded task. The object should contain relevant information, status and control method of the mechanism. A control thread is created for each mechanism to be controlled to execute the control task of the mechanism. Each control thread should run independently to ensure that the control between the mechanisms does not affect each other. Each object to be controlled is moved to the corresponding control thread. This can be achieved by passing a reference to the object to be controlled to the corresponding control thread. After moving the object to be controlled, each control thread is started to start executing the control task of the corresponding mechanism.
[0051] In one embodiment, this can be achieved through the following code:
[0052] auto*worker = new Worker;
[0053] worker->moveToThread(&workerThread); / / Establish communication thread
[0054] auto*archive=new Archive;0721
[0055] archive->moveToThread(&archvThread); / / Create a data archiving thread
[0056] auto*worker = new Worker;: This line of code creates a pointer named worker, which points to an instance of the Worker class. Here, it is assumed that Worker is a custom class. worker->moveToThread(&workerThread);: This line of code moves the worker object to the thread named workerThread for execution. This means that the methods and operations of the worker object will be executed in the workerThread thread, not in the main thread.
[0057] auto*archive = new Archive;: This line of code creates a pointer named archive, which points to an instance of the Archive class. Again, it is assumed that Archive is another custom class. archive->moveToThread(&archvThread);: This line of code moves the archive object to the thread named archvThread for execution. Similar to the above, this means that the methods and operations of the archive object will be executed in the archvThread thread, not in the main thread.
[0058] In general, this code creates two objects (worker and archive) and moves them to different threads (workerThread and archvThread) for execution. This approach is used to perform time-consuming operations in multi-threaded applications to avoid blocking the main thread and improve the responsiveness of the program.
[0059] S103: Establish communication between various objects to be controlled through the signal and slot mechanism, so as to execute corresponding operations when a specific event occurs.
[0060] In a specific implementation scenario, the signals to be sent and the slots to be received are defined in each object to be controlled. The signal is a message sent when an event occurs, and the slot is a function that receives the signal and performs the corresponding operation. The signals and slots of each object to be controlled are connected. In this way, when the signal is triggered, the corresponding slot function will be called, thereby realizing the signal and slot mechanism to establish communication between each object to be controlled. When a specific event occurs, the signal sending function of the corresponding object is called to send the signal to other objects. When other objects receive the signal, the slot function related to it is executed to complete the corresponding operation, so that the corresponding operation is performed when a specific event occurs.
[0061] In an implementation scenario, this can be achieved through the following code:
[0062] connect(worker,SIGNAL(resultReady(STR_Read*,eventFromPLC*)),this,SLOT(resolveToCtcData(STR_Read*,eventFromPLC*)));
[0063] connect(worker,SIGNAL(analogDataReady(STR_Read*,QString)),archive,SLOT(write2ArchvDd(STR_Read*,QString)));
[0064] connect(&workerThread,&QThread::finished,worker,&QObject::deleteLater);
[0065] connect(this,SIGNAL(outputDataOK(STR_Write,LimitValue,SingleStep*,int,bool)),worker,SLOT(doWork(STR_Write,LimitValue,SingleStep*,i nt,bool)));
[0066] connect(archive,&Archive::curveDataOK,this,&MainWindow::receiveCurveData);
[0067] connect(worker,SIGNAL(resultReady(STR_Read*,eventFromPLC*)),this,SLOT(resolveToCtcData(STR_Read*,eventFromPLC*))): This line of code establishes a connection. When the worker object sends the resultReady signal, the resolveToCtcData slot function of the this object (usually the current class) is called. The slot function accepts two parameters, which are STR_Read* type and eventFromPLC* type.
[0068] connect(worker,SIGNAL(analogDataReady(STR_Read*,QString)),archive,SLOT(write2ArchvDd(STR_Read*,QString))): This line of code establishes another connection. When the worker object sends the analogDataReady signal, the write2ArchvDd slot function of the archive object is called. The slot function accepts two parameters, one of type STR_Read* and one of type QString.
[0069] connect(&workerThread,&QThread::finished,worker,&QObject::deleteLater): This line of code establishes a connection. When the workerThread thread ends, the deleteLater function of the worker object will be called to delete the worker object at the appropriate time.
[0070] connect(this,SIGNAL(outputDataOK(STR_Write,LimitValue,SingleStep*,int,bool)),worker,SLOT(doWork(STR_Write,LimitValue,SingleStep*,int,bool))): This line of code establishes a connection. When the this object sends the outputDataOK signal, the doWork slot function of the worker object is called. The slot function accepts multiple parameters, including STR_Write, LimitValue, SingleStep*, int, and bool types.
[0071] connect(archive,SIGNAL(curveDataOK),this,SLOT(receiveCurveData)): This line of code establishes a connection. When the archive object sends the curveDataOK signal, the receiveCurveData slot function of this object (usually the MainWindow class) is called.
[0072] In the above code, the thread task allocation function entry is implemented through the signal and slot mechanism. Specifically, by using the signal and slot mechanism in the Qt framework, the thread task (such as the work of the worker object) can be connected to a specific function (slot function). When a specific signal is emitted, the relevant slot function will be called, thereby realizing the allocation and processing of thread tasks.
[0073] In the above code, the connection between multiple signals and slots is established through the connect function to realize the allocation function entry of the thread task. This is a commonly used mechanism in the Qt framework. Signals and slots are used for communication between objects, where one object sends a signal and the other object responds to the signal through the slot function. This mechanism makes the communication between objects more flexible and decoupled. For example, when the worker object sends the resultReady signal, the resolveToCtcData slot function of the this object is called; when the worker object sends the analogDataReady signal, the write2ArchvDd slot function of the archive object is called; when the workerThread thread ends, the deleteLater function of the worker object is called, etc.
[0074] In this way, thread tasks can be allocated and processed, improving the responsiveness and modularity of the program. The signal and slot mechanism makes communication between different objects more flexible and efficient, and helps to achieve task allocation and collaboration in multi-threaded programming.
[0075] S104: Start a periodic multi-thread task, obtain real-time feedback data during the processing, store the real-time feedback data in a preset database, and display the real-time feedback data and historical feedback data in the preset database.
[0076] In a specific implementation scenario, the periodic multi-threaded tasks created above are started to ensure that each object to be controlled can execute its control task on time. In each control thread, real-time feedback data during the processing is obtained. These data can be data collected by sensors, machine status information, etc. The obtained real-time feedback data is stored in a preset database. Database operation statements can be used to insert data into the database table to ensure persistent storage of data.
[0077] Write an interface program or data display module to obtain real-time feedback data and historical feedback data from the preset database. Real-time feedback data can be displayed on the interface in a real-time update manner, allowing users to understand the status of the processing process in a timely manner. Historical feedback data can be displayed by querying historical records in the database, providing users with reference data for comparison with real-time feedback data, so that users can better understand the situation during the etching process.
[0078] Due to the use of multi-threaded programming technology and concise and efficient data structure, the historical curve query function provided by the present invention has good performance. When the total amount of data is 10G, the response time for querying 1 hour of data is less than 0.1s, which gives users a good experience. However, similar foreign devices have obvious lags when performing similar query operations, and the time delay is significantly greater than 1 second.
[0079] From the above description, it can be seen that in this embodiment, objects to be controlled and control threads are created for multiple mechanisms to be controlled according to periodic multi-threaded tasks, and each object to be controlled is moved to the corresponding control thread. This can achieve collaborative operation between multiple mechanisms to be controlled, and implement corresponding operations when specific events are triggered through signal and slot mechanisms, thereby improving the flexibility and scalability of the system, achieving more efficient control and collaboration, and displaying real-time feedback data and historical feedback data, which can help users monitor the situation during the etching process and analyze and compare with historical data.
[0080] Please refer to Figure 2 , Figure 2 It is a flow chart of an embodiment of a method for storing real-time feedback data into a preset database provided by the present invention.
[0081] S201: Determine whether there is a connection with a preset database, if so, execute step S202, if not, execute step S203.
[0082] In a specific implementation scenario, there is usually a variable in the program to indicate the database connection status. You can check the status of this variable to determine whether there is a connection to the database. If the variable has been set to indicate the connection status, then there is a connection. If a database connection object is used to manage the connection to the database, you can determine whether there is a connection by checking whether the object is empty. If the database connection object is not empty, then there is a connection.
[0083] S202: Use the connection directly.
[0084] In a specific implementation scenario, if there is a connection to a preset database, the connection is used directly.
[0085] S203: Create a connection with a preset database, set a file path of the preset database, and open the database file corresponding to the file path.
[0086] In a specific implementation scenario, if there is no connection to the preset database, you need to create a connection to the preset database, set the file path of the preset database, and open the database file corresponding to the file path. You need to import the library corresponding to the type of database used. For example, to use the SQLite database in Python, you need to import the sqlite3 library. Specify the path to the database file, which will be the location of the database file to be connected. Use the functions or methods provided by the library to create a connection to the database according to the database type.
[0087] In one implementation scenario, the following code is implemented:
[0088] if(QSqlDatabase::contains("qt_sql_default_connection"))
[0089] {db=QSqlDatabase::database("qt_sql_default_connection");}
[0090] else
[0091] {db=QSqlDatabase::addDatabase("QSQLITE","qt_sql_default_connection");}
[0092] db.setDatabaseName("D: / / IBE / / database / / setting.sqlite3");
[0093] db.setUserName("root");
[0094] if(!db.open())
[0095] {
[0096] QMessageBox::information(this,"Information:","Database connectionerror.");
[0097] qDebug()<<"Error: Failed to connect'setting'database";
[0098] return false; / / OpenDatabase Err;
[0099] }
[0100] if(QSqlDatabase::contains("qt_sql_default_connection")): Checks if there is already a database connection named "qt_sql_default_connection". If so, gets the existing database connection; if not, creates a new database connection. db = QSqlDatabase::database("qt_sql_default_connection");: If there is a database connection named "qt_sql_default_connection", assign the existing connection to the variable db.
[0101] else{db=QSqlDatabase::addDatabase("QSQLITE","qt_sql_default_connection");}:If there is no database connection named "qt_sql_default_connection", then use the addDatabase function to create a new SQLite database connection and name it "qt_sql_default_connection", and then assign this new connection to the variable db. db.setDatabaseName("D: / / IBE / / database / / setting.sqlite3");:Set the database name of the database connection, here specify the path of the SQLite database file.
[0102] db.setUserName("root"): Set the user name of the database connection to "root". This is usually not necessary in SQLite because SQLite usually does not require a username and password. if(!db.open()): Try to open a database connection. If the connection fails, do the following: Pop up a message box with the message "Database connection error.". Output the error message "Error: Failed to connect'setting'database" in the console. Return false, indicating that the database connection failed.
[0103] The main function of this code is to create a connection to the SQLite database and try to open the connection. If the connection is successful, the code will continue to perform subsequent database operations; if the connection fails, the code will display an error message and return false. This code is suitable for database operations using the Qt framework and QtSql module, especially for SQLite databases.
[0104] Please refer to Figure 3 , Figure 3 It is a flow chart of an embodiment of establishing a connection with a mechanism to be controlled provided by the present invention. The mechanism to be controlled (such as a processing mechanism) adopts a Beckhoff PLC (Programmable Logic Controller) system and supports ADS (Automation Device Specification) communication. ADS communication is a special protocol defined by Beckhoff. It is an application protocol based on TCP / IP (Transmission Control Protocol / Internet Protocol). Therefore, it has a higher communication rate and bandwidth, and it is also very convenient to expand nodes. The control software needs to establish a communication handshake with the PLC system in order to realize the control of the mechanism to be controlled.
[0105] Specifically, it includes:
[0106] S301: Open the standard communication port of the automation equipment through the first function and obtain the local address information.
[0107] In a specific implementation scenario, when opening the standard communication port of the automation equipment, it is essentially establishing a communication channel that enables the control program to exchange data with the automation equipment. By obtaining the local address information, the network configuration and location of the local system can be determined, which is crucial to ensure the accuracy of communication.
[0108] S302: Setting the network address to a specific value so as to establish a communication connection with the mechanism to be controlled.
[0109] In a specific implementation scenario, the network address is set to ensure that the control program can establish a communication connection with a specific automation device. In this process, the network address of the target device is specified so that the control program knows which device to be controlled to communicate with.
[0110] S303: Obtain and store the handle of the variable in the PLC according to the name of the variable through the second function of the automation device specification protocol.
[0111] In a specific implementation scenario, the handle in the PLC is obtained by the variable name in order to accurately locate and access a specific variable in communication. This handle is actually an identifier that allows the control program to find and operate a specific variable in the PLC.
[0112] S304: Using the second function, read and store the value of the variable from the PLC according to the handle.
[0113] In a specific implementation scenario, the current value of the corresponding variable in the PLC can be obtained by reading and storing the value of the variable from the PLC through the handle. This enables the control program to obtain the device status or control parameters in real time, thereby realizing more advanced automatic control functions.
[0114] In a specific implementation scenario, this can be achieved through the following steps:
[0115] / / Open the ADS communication port
[0116] pAddr = &Addr;
[0117] nPort = AdsPortOpen();
[0118] long nErr;
[0119] nErr=AdsGetLocalAddress(pAddr);
[0120] if(nErr)qDebug()<<"Error:AdsGetLocalAddress:"< <nErr;
[0121] pAddr->port=851;
[0122] pAddr->netId.b[0]=5; / / target device AMSNETID
[0123] pAddr->netId.b[1]=105;
[0124] pAddr->netId.b[2] = 125;
[0125] pAddr->netId.b[3] = 203;
[0126] pAddr->netId.b[4]=1;
[0127] pAddr->netId.b[5] = 1;
[0128] Void Worker::doWork(STR_Write PLC_Wrote,LimitValue lmtSp,SingleStep*stepsWfr,int stepSize,bool newProcessLoaded_)
[0129] {
[0130] long nErr;
[0131] / / ----------------------------------------------------
[0132] char szVar1[]={"PM.toCtc"}; / / Name of the structure variable in PLC
[0133] unsigned long lHdlVar1;
[0134] / / Get the handle of "PM.toCtc"
[0135] nErr=AdsSyncReadWriteReq(pAddr,ADSIGRP_SYM_HNDBYNAME,0x0,sizeof(lHdlVar1),&lHdlVar1,sizeof(szVar1),szVar1);
[0136] if(nErr)
[0137] {
[0138] qDebug()<<"Error:AdsSyncReadWriteReq 1-1:"< <nErr;
[0139] }
[0140] / / Read "PM.toCtc"
[0141] nErr=AdsSyncReadReq(pAddr,ADSIGRP_SYM_VALBYHND,lHdlVar1,sizeof(PLC_Read),&PLC_Read);
[0142] if(nErr)
[0143] {
[0144] qDebug()<<"Error:AdsSyncReadReq 1-2"< <nErr;
[0145] }
[0146] pAddr = &Addr; Point the pointer pAddr to the address of the Addr structure. nPort = AdsPortOpen(); Open the ADS communication port and return the port number nPort. nErr = AdsGetLocalAddress(pAddr); Get the local address information and store the result in pAddr. If an error occurs when getting the local address information, an error message will be output to the console. Set the network address of the target device. Here, the AMSNETID of the target device is set.
[0147] Define a character array szVar1 to store the variable name to get the handle. Use the AdsSyncReadWriteReq function to get the variable handle lHdlVar1 in the PLC through the variable name. If an error occurs when getting the handle, an error message will be output to the console. Use the AdsSyncReadReq function to read the variable value from the PLC through the handle lHdlVar1 and store the result in PLC_Read. If an error occurs when reading the variable value, an error message will be output to the console.
[0148] The main function of this code is to open the ADS communication port, set the communication parameters, obtain the local address information, and then communicate with the PLC through the ADS protocol in the Worker::doWork function to read the value of the specified variable. This method can realize communication and data exchange with the Beckhoff TwinCAT control system.
[0149] Please refer to Figure 4 , Figure 4 It is a schematic diagram of the process recipe interface provided by the present invention. The recipe data provided by the present invention includes first process data (Step), second process data (Process) and third process data (Schedule).
[0150] Each etching process of each component to be etched is called a "Step", which contains multiple equipment control parameters of the mechanism to be controlled. Multiple "Steps" can form a "Process" to complete the etching process of a wafer. Multiple components to be etched in a material box have their own "Process", and these processes are combined to form the "Schedule" of the material box. This data structure is very complex, and it is necessary to build a structure from the bottom up during programming to describe the "Step", and then gradually build the class "Process", and then build the "Schedule". This embodiment fully utilizes the characteristics of C++ as an object-oriented programming language, and completes the description of the above data structure in a concise and robust code form.
[0151] In response to different needs, we have built operations such as "New", "Edit", "Delete" and "Clear" for "Step"; "New", "Open", "Delete", "Remove Step", "Edit Step" and "Move to Schedule" for "Process"; and for "Schedule", we have built operations such as "New", "Open", "Clear", "Remove Process" and "Copy to Process". The operation data in this application includes the above operation content. These operations correspond to the data description items and data operation items when constructing classes in object-oriented programming, reflecting the characteristics of object-oriented programming.
[0152] Users can flexibly transfer data between Step, Process and Schedule, realizing forward and reverse data flow. This design allows users to more conveniently use existing data to build new recipes without having to enter each step one by one from scratch. Specifically, users can quickly create a new Process from existing Steps, combine multiple Steps into a Process, and form a complete process flow. At the same time, users can also integrate existing Processes into a Schedule to build a complete process plan.
[0153] The reverse flow function allows users to extract steps from existing processes or processes from schedules as needed, so as to reorganize and utilize these steps and process flows in new recipes. This flexible data flow mechanism greatly simplifies the user's operating process, saves time and energy, and significantly improves the user's operating efficiency.
[0154] Please refer to Figure 5 , Figure 5 1 is a schematic diagram of the structure of an embodiment of the control device of the etching machine provided by the present invention. The control device 10 of the etching machine includes:
[0155] The acquisition module 11 is used to acquire the recipe data and operation data input by the user, and establish a periodic multi-threaded task based on the recipe data and operation data; the thread module 12 is used to create objects to be controlled and control threads for multiple mechanisms to be controlled according to the periodic multi-threaded task, and move each object to be controlled to the corresponding control thread; the communication module 13 is used to establish communication between each object to be controlled through a signal and slot mechanism, so as to perform corresponding operations when a specific event occurs; the startup module 14 is used to start the periodic multi-threaded task, acquire real-time feedback data during the processing, store the real-time feedback data in a preset database, and display the real-time feedback data and the historical feedback data in the preset database.
[0156] The communication module 13 is also used to establish connections between multiple signals and slots through the connect function to implement the allocation function entry of each control thread.
[0157] The communication module 13 is also used to call the slot function of another object to be controlled when one object to be controlled sends a preset signal.
[0158] The startup module 14 is also used to determine whether there is a connection with the preset database. If so, the connection is directly used; if not, a connection with the preset database is created, and a file path of the preset database is set, and a database file corresponding to the file path is opened.
[0159] The mechanism to be controlled adopts a PLC system, and the communication module 13 is also used to open the automation equipment specification communication port through a first function and obtain local address information; set the network address to a specific value to establish a communication connection with the mechanism to be controlled; obtain and store the handle of the variable in the PLC according to the name of the variable through a second function of the automation equipment specification protocol; use the second function to read and store the value of the variable from the PLC according to the handle.
[0160] The recipe data includes: first process data, second process data and third process data; the first process data represents an etching process step for each component to be etched, including multiple equipment control parameters in the etching process step; the second process data is composed of multiple first process data, representing the etching process of a component to be etched, including the order of multiple etching process steps; the third process data includes all the second process data, representing the set of etching processes of all components to be etched in a material box.
[0161] The acquisition module 11 is further used to edit the first process data, the second process data and the third process data in a forward or reverse order.
[0162] From the above description, it can be seen that in this embodiment, objects to be controlled and control threads are created for multiple mechanisms to be controlled according to periodic multi-threaded tasks, and each object to be controlled is moved to the corresponding control thread. This can achieve collaborative operation between multiple mechanisms to be controlled, and implement corresponding operations when specific events are triggered through signal and slot mechanisms, thereby improving the flexibility and scalability of the system, achieving more efficient control and collaboration, and displaying real-time feedback data and historical feedback data, which can help users monitor the situation during the etching process and analyze and compare with historical data.
[0163] The present invention also provides an etching device. The etching device includes a processor and a memory. The processor is coupled to the memory. A computer program is stored in the memory, and the processor executes the computer program when working to implement the above method. The detailed steps can be found above and will not be repeated here.
[0164] The present invention also provides a computer-readable storage medium. The computer-readable storage medium stores at least one computer program, which is used to be executed by a processor to implement the above method. The detailed steps can be referred to above and will not be repeated here. In one embodiment, the computer-readable storage medium can be a storage chip, a hard disk, or a mobile hard disk or a USB flash drive, a CD, or other readable and writable storage tools in a terminal, or a server, etc.
[0165] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0166] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0167] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. For those skilled in the art, the technical solutions described in the above embodiments can be modified, or some of the technical features therein can be replaced by equivalents; and all these modifications and replacements should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A control method for an etching machine, characterized in that: The etching machine includes a plurality of mechanisms to be controlled; The control method of the etching machine comprises: Acquire recipe data and operation data input by a user, and establish a periodic multi-threaded task according to the recipe data and the operation data; Creating objects to be controlled and control threads for the plurality of mechanisms to be controlled respectively according to the periodic multi-threaded task, and moving each object to be controlled to a corresponding control thread; Establish communication between various objects to be controlled through the signal and slot mechanism, so as to perform corresponding operations when specific events occur; The periodic multi-threaded task is started to obtain real-time feedback data during the processing, the real-time feedback data is stored in a preset database, and the real-time feedback data and the historical feedback data in the preset database are displayed.
2. The control method of the etching machine according to claim 1, characterized in that: The step of establishing communication between the objects to be controlled through the signal and slot mechanism includes: Connections between multiple signals and slots are established through the connect function to implement the allocation function entry of each control thread.
3. The control method of the etching machine according to claim 1 or 2, characterized in that: The step of establishing communication between the objects to be controlled through the signal and slot mechanism includes: When one of the objects to be controlled sends a preset signal, the slot function of another object to be controlled is called.
4. The control method of the etching machine according to claim 1, characterized in that: Before the step of storing the real-time feedback data in a preset database, the method includes: Determine whether there is a connection with the preset database. If so, directly use the connection; if not, create a connection with the preset database, set the file path of the preset database, and open the database file corresponding to the file path.
5. The control method of the etching machine according to claim 1, characterized in that: The mechanism to be controlled adopts a PLC system, and the method further comprises: Open the standard communication port of the automation equipment through the first function and obtain the local address information; Setting the network address to a specific value so as to establish a communication connection with the mechanism to be controlled; Obtaining and storing the handle of the variable in the PLC according to the name of the variable through the second function of the automation device specification protocol; Using the second function, the value of the variable is read from the PLC according to the handle and stored.
6. The control method of the etching machine according to claim 1, characterized in that: The recipe data includes: first process data, second process data and third process data; The first process data represents an etching process step for each element to be etched, and includes a plurality of equipment control parameters in the etching process step; The second process data is composed of a plurality of first process data, representing an etching process of a component to be etched, including a sequence of a plurality of etching process steps; The third process data includes all the second process data, and represents a collection of etching processes of all the components to be etched in one material box.
7. The control method of the etching machine according to claim 6, characterized in that: The step of obtaining the recipe data input by the user comprises: The first process data, the second process data and the third process data are edited in a forward or reverse order.
8. A control device for an etching machine, characterized in that: The etching machine includes a plurality of mechanisms to be controlled; the control device of the etching machine includes: An acquisition module, used for acquiring formula data and operation data input by a user, and establishing a periodic multi-threaded task according to the formula data and the operation data; A thread module, used for creating objects to be controlled and control threads for the plurality of mechanisms to be controlled respectively according to the periodic multi-threaded tasks, and moving each object to be controlled to a corresponding control thread; The communication module is used to establish communication between various objects to be controlled through the signal and slot mechanism, so as to perform corresponding operations when specific events occur; A startup module is used to start the periodic multi-threaded task, obtain real-time feedback data during the processing, store the real-time feedback data in a preset database, and display the real-time feedback data and the historical feedback data in the preset database.
9. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 7.
10. An etching device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 7.
