Automatic switching method, device, equipment and storage medium for chip burning
By constructing a chip information database and using automatic identification technology, the automatic matching and connection of chip burning equipment is realized, combined with the anomaly detection of the naive Bayes model, which solves the problems of low chip burning efficiency and insufficient automation in the existing technology, and improves Improve the accuracy and production efficiency of chip programming.
Patent Information
- Application Number
- CN202410882334.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-07-03
AI Technical Summary
Existing chip burning technology is inefficient and prone to human error. It lacks automation and intelligence, resulting in chip burning failure or unstable quality. The specifications and burning requirements of different chips are complex, and manual selection and connection are cumbersome, limiting the production line. degree of automation and efficiency.
By obtaining the chip information to be burned, classifying and structuring it, building a chip information database, using surface optical character recognition and radio frequency identification technology to automatically obtain the chip model and specification parameters, automatically matching the burning equipment and programs, and using the robot arm Realize the automatic connection between the chip and the device, monitor current and voltage parameters in real time, use the naive Bayes model for abnormality detection and processing, and realize automatic switching of the chip burning process.
It improves the accuracy and efficiency of chip burning, reduces manual errors, ensures the reliability of physical and electrical connections, detects and handles abnormal situations in a timely manner, ensures burning quality and equipment safety, and realizes the automation of the chip burning process. and efficiency.
Smart Images

Figure CN118426792B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of chip burning, and in particular to an automatic switching method, device, equipment and storage medium for chip burning. Background Art
[0002] As electronic devices become more complex and integrated, the types and models of chips are increasing, and the demand for chip programming is becoming more urgent. The traditional chip programming method relies on manual operation. The operator needs to manually identify the chip model, select the corresponding programming equipment and program, and physically connect the chip to the programmer. This method is not only inefficient, but also prone to human errors, resulting in chip programming failure or unstable quality. In addition, different chips have different specifications and programming requirements, and the manual selection and connection process is cumbersome, which greatly restricts the automation and production efficiency of the production line.
[0003] Existing technologies still have significant deficiencies in automation and intelligence. Existing technologies lack effective processing of chip information. The chip identification and information verification process mostly rely on manual intervention. Automatic identification means are limited, information acquisition is incomplete, and there is a lack of real-time monitoring and abnormal handling mechanisms. Once an abnormal situation occurs, it cannot be discovered and handled in time, which can easily cause damage to chips and equipment. Summary of the invention
[0004] The present application provides a chip burning automatic switching method, device, equipment and storage medium, which are used to improve the accuracy of chip burning and realize automatic switching of the chip burning process.
[0005] In a first aspect, the present application provides an automatic switching method for chip burning, the automatic switching method for chip burning comprising:
[0006] Acquire multiple chip information to be burned and classify and structure it to obtain multiple standard chip information, and build a chip information database according to the multiple standard chip information;
[0007] Perform surface optical character recognition on the target burning chip to obtain the chip model, and perform information verification through wireless radio frequency identification technology to obtain specification parameters of the target burning chip;
[0008] According to the chip model and the specification parameters, matching the burner and the burning program of the target burning chip from the chip information database;
[0009] Establishing a physical connection between the target burning chip and the burner and performing an electrical connection status check based on the chip pin definition to obtain electrical connection status information;
[0010] Based on the electrical connection status information, the programming instruction and data are sent through the burning program and the burner is controlled to perform erasing, programming and verification operations, and at the same time, the current parameter data and voltage parameter data of the target burning chip are monitored in real time;
[0011] Inputting the current parameter data and the voltage parameter data into a preset naive Bayes model to perform abnormality detection during the burning process to obtain an abnormality detection result;
[0012] If the abnormality detection result is abnormal, the burner is checked for abnormality and an abnormality handling solution is generated. If the abnormality detection result is normal, the burner is controlled to continue the burning operation. When the target burning chip completes the burning, the next chip to be burned is automatically switched to perform the burning operation.
[0013] In a second aspect, the present application provides an automatic switching device for chip burning, the automatic switching device for chip burning comprising:
[0014] An acquisition module is used to acquire information of multiple chips to be burned and classify and structure them to obtain multiple standard chip information, and to construct a chip information database according to the multiple standard chip information;
[0015] A verification module is used to perform surface optical character recognition on the target burning chip to obtain the chip model, and to perform information verification through wireless radio frequency identification technology to obtain specification parameters of the target burning chip;
[0016] A matching module, used for matching the burner and burning program of the target burning chip from the chip information database according to the chip model and the specification parameters;
[0017] A checking module, used for establishing a physical connection between the target burning chip and the burner and performing an electrical connection status check based on the chip pin definition to obtain electrical connection status information;
[0018] A processing module, for sending programming instructions and data through the burning program and controlling the burner to perform erasing, programming and verification operations based on the electrical connection status information, and at the same time, monitoring the current parameter data and voltage parameter data of the target burning chip in real time;
[0019] A detection module, used for inputting the current parameter data and the voltage parameter data into a preset naive Bayes model to perform abnormality detection during the burning process to obtain an abnormality detection result;
[0020] The switching module is used to check the burner for abnormalities and generate an abnormality handling solution if the abnormality detection result is abnormal; if the abnormality detection result is normal, control the burner to continue the burning operation; and automatically switch the next chip to be burned to perform the burning operation when the target burning chip completes the burning.
[0021] The third aspect of the present application provides an automatic switching device for chip burning, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the automatic switching device for chip burning executes the above-mentioned automatic switching method for chip burning.
[0022] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned automatic switching method for chip burning.
[0023] In the technical solution provided by the present application, a comprehensive chip information database is constructed through classification and structured processing, and data query and update are carried out efficiently to ensure the accuracy and comprehensiveness of information during the burning process. Optical character recognition and wireless radio frequency identification technology are used to automatically obtain the model and specification parameters of the chip, which reduces the error of manual operation and improves the recognition accuracy and efficiency. Based on the data in the chip information database, the most suitable burning equipment and program are automatically matched according to the chip model and specification parameters to ensure that the technical indicators of the burning equipment meet or exceed the requirements of the chip and avoid manual matching errors. The chip is automatically connected to the burning equipment through a mechanical arm and an alignment device, and the electrical connection status is checked according to the chip pin definition to ensure the reliability of the physical connection and the accuracy of the electrical connection, reducing the risk of manual connection errors. During the burning process, the current and voltage parameters of the chip are monitored in real time through the device interface, and the preset naive Bayesian model is used to detect abnormalities in the burning process, which can timely detect and handle abnormal situations and ensure the burning quality and equipment safety. The burning equipment is automatically controlled to perform erase, programming and verification operations, which improves the consistency and efficiency of the burning operation. After the burning is completed, it automatically switches to the next chip to be burned, reducing waiting time and improving equipment utilization and production rhythm. When an abnormality is detected during the burning process, it automatically conducts abnormality troubleshooting and generates an abnormality handling plan to ensure that normal operation can be quickly restored even in abnormal situations, avoiding the impact on subsequent burning tasks. Therefore, this application improves the accuracy of chip burning and realizes automatic switching of the chip burning process. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0025] Figure 1 A schematic diagram of an embodiment of an automatic switching method for chip burning in an embodiment of the present application;
[0026] Figure 2 This is a schematic diagram of an embodiment of an automatic switching device for chip burning in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The embodiments of the present application provide an automatic switching method, device, equipment and storage medium for chip burning. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 , an embodiment of the automatic switching method of chip burning in the embodiment of the present application includes:
[0029] Step S101, obtaining information of multiple chips to be burned and classifying and structuring them to obtain information of multiple standard chips, and constructing a chip information database according to the information of multiple standard chips;
[0030] It is understandable that the execution subject of the present application may be an automatic switching device for chip burning, or a terminal or a server, which is not limited here. The present application embodiment is described by taking a server as the execution subject as an example.
[0031] Specifically, through chip information query, basic information of the chip to be burned is obtained. This information may come from the chip manufacturer data, inventory system or other sources. This information is classified according to certain standards. The basis for classification may be the type, model or other relevant parameters of the chip. Through classification, different types of chips can be better managed and distinguished. The classified chip information is structured, and the standardization and consistency of the information can be ensured by organizing the information in a predefined format. These structured information include the type, model, specification parameters, quantity and unique identification code of each chip. After generating the unique identification code, it is associated with the corresponding structured chip information to obtain the associated chip information. On this basis, the associated chip information is standardized so that all chip information conforms to a unified standard and format, which is convenient for subsequent database construction and information management. According to the standardized chip information, a chip information database is constructed. This database contains the standard information of all chips to be burned, which can be used for subsequent chip burning operations. By querying the database, the detailed information of each chip can be quickly obtained, and the appropriate burner and burning program can be matched to ensure the efficiency and accuracy of the burning process.
[0032] Step S102, performing surface optical character recognition on the target burning chip to obtain the chip model, and performing information verification through wireless radio frequency identification technology to obtain specification parameters of the target burning chip;
[0033] Specifically, a surface grayscale image of the target burning chip is collected by a high-resolution industrial camera to obtain a surface grayscale image, and the surface grayscale image is image preprocessed to obtain a preprocessed surface image. The image preprocessing steps include denoising, contrast enhancement, edge detection and other operations to improve the accuracy of subsequent character positioning and segmentation. According to the preprocessed surface image, the surface characters of the target burning chip are positioned and segmented to obtain a segmented character image. In the character positioning process, the position of the characters on the chip surface is accurately found by the positioning algorithm, and the characters are separated from the background by the segmentation algorithm to form a clear segmented character image. The segmented character image is subjected to character recognition to obtain the chip model. The character recognition process usually uses optical character recognition technology to convert the segmented character image into a readable chip model through a trained recognition model. The identified chip model is used for subsequent verification and comparison. At the same time, the wireless radio frequency identification tag of the target burning chip is obtained. The RFID tag on the chip is read by wireless radio frequency identification technology to obtain a wireless radio frequency identification result containing chip information. In order to ensure the accuracy of recognition, the wireless radio frequency identification result is compared with the chip model to obtain a comparison result. If the comparison result is inconsistent or does not match, the target burning chip needs to be re-performed with surface optical character recognition and wireless radio frequency identification until the comparison result is consistent and matched. Through cyclic detection and verification, the accuracy and reliability of chip model recognition are guaranteed to avoid burning failure or other problems caused by recognition errors. When the comparison result is consistent and matched, the specification parameters of the target burning chip are obtained from the chip information database according to the chip model. These specification parameters include chip package type, chip pin number, chip operating voltage and chip storage capacity.
[0034] Step S103, matching the burner and burning program of the target burning chip from the chip information database according to the chip model and specification parameters;
[0035] Specifically, a chip information database is established, which contains the models and specifications of various chips, such as chip package type, chip pin number, chip operating voltage and chip storage capacity. When chip burning is required, the system will query the database by reading the model and specification parameters of the target burning chip to find the corresponding record. The query process ensures that the retrieved record accurately corresponds to the target chip by matching the key field of chip model. According to the queried records, the detailed specification parameters of the chip are extracted. These parameters are the basis for selecting appropriate burners and burning programs. Each chip usually corresponds to one or more specific models of burners, which can perform precise operations based on the physical and electrical characteristics of the chip. The chip's specification parameters, such as the number and arrangement of pins, operating voltage range, storage capacity, etc., directly affect the choice of burner. Therefore, the system will filter out compatible burner models from the database based on these parameters. At the same time, each chip also requires a specific burning program. The burning program not only contains basic burning instructions, but also includes optimized parameters and verification algorithms for specific chips to ensure the accuracy and integrity of the burning data. Therefore, when selecting a programmer, the system extracts the programming program that matches the target chip from the database. Each programming program in the database is recorded in detail, including the model of the applicable chip, the required programming environment, specific operating steps, etc. During the matching process, multiple algorithms and rules are used to ensure the compatibility and optimality of the selected programmer and programming program. These algorithms will take into account all the specifications of the chip and give priority to those combinations that perform best in actual operation.
[0036] Step S104, establishing a physical connection between the target burning chip and the burner and performing an electrical connection status check based on the chip pin definition to obtain electrical connection status information;
[0037] Specifically, according to the specification parameters, the chip pin definition is obtained from the chip information database, wherein the chip pin definition includes a power pin, a ground pin, a clock pin, a data pin and a control pin. Based on these pin definitions, a pin connection configuration file of the target burning chip is generated, which lists the number, name, type and connection method of each pin to ensure accuracy and consistency during physical connection. After the pin connection configuration file is generated, the target burning chip is placed on the chip fixture of the burner, and according to the pin connection configuration file, the adapter pin of the burner is physically connected to the pin of the target burning chip through the mechanical arm to establish a reliable physical connection between the target burning chip and the burner. After the physical connection is established, the target burning chip and the burner are powered on to test and obtain the power-on test result. The power-on test includes applying voltage to the power pin and the ground pin, and detecting whether the current is within the normal range, so as to determine whether the connection of the power and ground pins is normal. By preliminarily testing the connection of the power and ground pins, some basic connection problems can be found and eliminated. According to the power-on test result and the pin connection configuration file, the electrical connection status of each pin of the target burning chip is checked to obtain the electrical connection status of each pin. The electrical connection status check not only includes detecting whether the pins are connected, but also whether the pin voltage is normal and whether the pin resistance is within a reasonable range. By applying a specific voltage and current, the response of each pin is detected to ensure that it meets the expected electrical characteristics. The electrical connection status information of each pin is summarized to obtain the overall electrical connection status information. This information records the connection status of each pin, including connectivity, voltage level, and resistance value.
[0038] Step S105, based on the electrical connection status information, the programming instruction and data are sent through the burning program and the burner is controlled to perform erasing, programming and verification operations, and at the same time, the current parameter data and voltage parameter data of the target burning chip are monitored in real time;
[0039] Specifically, based on the electrical connection status information, the programming instructions and data are sent through the burning program and the burner is controlled to perform erasing, programming and verification operations. By analyzing the electrical connection status information, the burning program can determine the specific model and requirements of the target chip, and then send appropriate programming instructions and data. The burning program interacts with the burner through the communication interface and sends an erase instruction. The erase operation is to clear the original data in the target chip to ensure that the writing of new data will not be disturbed. After the erase process is completed, the burning program sends a programming instruction to write the new data to the target chip. This process includes transmitting the data in blocks, and each block of data needs to be verified to ensure the accuracy and integrity of the writing. During the programming process, the current parameter data and voltage parameter data are monitored in real time. The built-in monitoring module of the burner continuously collects the current and voltage data of the target chip and transmits this data to the control system in real time. By analyzing these real-time data, the control system detects any abnormal conditions, such as excessive current or abnormal voltage fluctuations, which may indicate potential problems with the chip or connection. If an abnormality is found, the system immediately stops the programming operation and performs troubleshooting and processing to prevent chip damage or data writing errors. After the programming operation is completed, the burning program will perform a verification operation. Verification is to read the written chip data and compare it with the original data to confirm that the data is accurate. During the verification process, any mismatch will be recorded and reported, and the system will decide whether to reprogram or perform further diagnosis and repair based on the specific situation.
[0040] Step S106, inputting the current parameter data and the voltage parameter data into a preset naive Bayes model to perform abnormality detection during the burning process to obtain an abnormality detection result;
[0041] Specifically, the current parameter data is subjected to wavelet decomposition to obtain a multi-scale current component sequence, and the time domain statistical characteristics and frequency domain energy characteristics of the current are extracted based on the multi-scale current component sequence to obtain a current feature vector set. Through wavelet decomposition, the complex current signal is decomposed into components of different scales, thereby capturing the characteristics in different frequency ranges, so that the time domain statistical characteristics and frequency domain energy characteristics can fully reflect the changes in the current signal. At the same time, the voltage parameter data is subjected to short-time Fourier transform to obtain a time-frequency energy distribution image, and the time-frequency energy distribution image is subjected to image segmentation and pattern extraction to obtain a voltage feature image set. Short-time Fourier transform can provide the joint distribution of voltage signals in time and frequency, and through image segmentation and pattern extraction technology, key voltage feature information can be effectively extracted from the time-frequency energy distribution image. The current feature vector set and the voltage feature image set are data fused to obtain a burning parameter fusion feature set. Based on the burning parameter fusion feature set, the feature space and class prior probability of the naive Bayes model are constructed. The Naive Bayes model assumes independence between features and uses sample data in the feature space to calculate the prior probability of each category. These prior probabilities reflect the distribution of each category in the data. The feature space is mapped using the Gaussian kernel function to obtain the Gaussian kernel feature space. The Gaussian kernel function mapping can convert the original feature space into a high-dimensional space, so that the distribution of data in the high-dimensional space is easier to be segmented by the linear classifier, thereby improving the accuracy of classification. According to the Gaussian kernel feature space and the class prior probability, the parameters of the Naive Bayes model are estimated to obtain the classifier parameter set. The model parameters are optimized using the training data by maximizing the likelihood estimation method, so that the model can more accurately reflect the statistical characteristics of the data. The burned parameter fusion feature set is input into the Naive Bayes model to obtain the classification probability vector. The classification probability vector represents the probability that each feature sample belongs to different categories. By comparing these probabilities, the most likely category can be determined. According to the classification probability vector, the category label of the anomaly detection result is determined. The category label is used to identify whether there is an anomaly in the burning process. If the classification probability vector indicates that the sample belongs to an abnormal category, the system will issue an alarm and take corresponding measures to ensure the safety and reliability of the burning process.
[0042] The kernel matrix of the Gaussian kernel feature space is calculated to obtain the kernel matrix, and the objective function and constraints of the semi-positive definite programming problem are constructed based on the kernel matrix. The kernel matrix is obtained by calculating the value of the Gaussian kernel function, which reflects the similarity between the sample points in the feature space. Through the kernel matrix, the nonlinear problem is converted into a linear problem for processing. The semi-positive definite programming problem is solved by the sequential minimum optimization algorithm to obtain the support vector set. The sequential minimum optimization algorithm is an efficient optimization method that can quickly find the optimal solution to the problem. The support vector set includes the sample points that play a key role in the classification decision process. Based on these support vector sets, the weight vector of the Gaussian kernel function of the naive Bayes model is calculated. The class prior probability is Laplace corrected to obtain the smoothed class prior probability. Laplace correction is a common smoothing technique that can avoid the problem of zero prior probability and make the model more robust. Based on the smoothed class prior probability, the class weight vector of the naive Bayes model is calculated. The class weight vector reflects the prior probability distribution of each class. The weight vector of the Gaussian kernel function and the category weight vector are concatenated to obtain the weight parameter matrix of the naive Bayes model. By concatenating these two weight vectors, a comprehensive parameter matrix is constructed, which contains all the key parameters of the model. The weight parameter matrix is subjected to principal component analysis to obtain a parameter set after dimensionality reduction. Principal component analysis is a dimensionality reduction technique that can reduce feature redundancy and improve the computational efficiency of the model by extracting the main components of the data. Based on the parameter set after dimensionality reduction, the decision function of the naive Bayes model is constructed. The decision function is the core of the model for classification. By calculating the input data, the classification result can be output. The coefficients of the decision function are output as the classifier parameter set.
[0043] The burning parameter fusion feature set is subjected to feature normalization processing to obtain a normalized feature set, and the normalized feature vector of the naive Bayes model is constructed based on the normalized feature set. Feature normalization processing ensures that all features are within the same range by standardizing feature data of different scales, thereby avoiding unstable model training or poor classification effect due to large differences in feature values. Gaussian kernel function mapping is performed on the normalized feature vector to obtain a kernel feature vector. Gaussian kernel function mapping is a commonly used kernel method that maps the original feature space to a high-dimensional space through nonlinear transformation, making the data distribution in the high-dimensional space easier to classify. The category discriminant function value vector is calculated based on the kernel feature vector and the weight parameter matrix in the classifier parameter set. The category discriminant function value vector is obtained by linearly combining the kernel feature vector and the weight parameter, reflecting the possibility that each sample belongs to a different category. The category discriminant function value vector is subjected to softmax normalization to obtain an unnormalized probability vector. The softmax function converts the discriminant function value vector into a probability distribution, so that the sum of the probabilities of all categories is 1, which is convenient for subsequent probability calculation and correction. According to the unnormalized probability vector and the category weight vector in the classifier parameter set, probability correction is performed to obtain a normalized probability vector. Probability correction adjusts the probability value of each category by combining the category weight, so that the classification result of the model is more accurate. Logarithmic operation is performed on the normalized probability vector to obtain a log-likelihood probability vector. Logarithmic operation can convert multiplication operation into addition operation, simplify the calculation process, and also improve numerical stability. According to the log-likelihood probability vector, the maximum expectation estimation problem is constructed. The maximum expectation estimation problem finds the optimal probability distribution parameters by maximizing the log-likelihood probability to ensure that the prediction results of the model have the highest credibility. Quasi-Newton method is used to iteratively optimize the maximum expectation estimation problem to obtain a probability correction vector. Quasi-Newton method is an efficient optimization algorithm that continuously approaches the optimal solution through iterative calculation. The probability correction vector reflects the direction and amplitude of the correction of the initial probability during the iteration process. The probability correction vector is added to the normalized probability vector to obtain a classification probability vector. The classification probability vector is the final classification result, which indicates the probability that each sample belongs to a different category.
[0044] Step S107: If the abnormality detection result is abnormal, the programmer is checked for abnormality and an abnormality handling solution is generated. If the abnormality detection result is normal, the programmer is controlled to continue the programming operation. When the target programming chip completes the programming, the next chip to be programmed is automatically switched to perform the programming operation.
[0045] Specifically, when the system detects abnormalities in the current and voltage parameters during the programming process through the naive Bayes model, the current programming operation is immediately suspended to prevent further errors or damage. In this state, the abnormality troubleshooting program is automatically started to perform a detailed inspection of the programmer and related components. This process includes many aspects of detection, such as checking the hardware connection status of the programmer, the power supply status, the integrity of the data transmission line, and the feedback signals of each sensor. Through a comprehensive analysis of these factors, the specific cause of the abnormality can be determined. Based on the test results, an abnormality handling plan is generated. This plan includes a fault diagnosis report and recommended repair steps, which may involve replacing damaged components, re-adjusting connections or calibrating device parameters. After the abnormal situation is resolved, the electrical connection status is re-checked to ensure that all connection points are restored to normal. If the inspection results show that all parameters are within the normal range, the programming process is restarted to continue the unfinished programming task. If the abnormality detection result is normal, the system will control the programmer to continue the programming operation. During this process, the programmer performs erase, programming and verification operations according to the predetermined programming instructions and data streams to ensure that the target chip accurately writes the required data. During the entire programming process, the current and voltage parameters are continuously monitored to detect any abnormalities that may occur in real time. When the target programming chip is completed, the final verification is automatically performed to confirm that all data is correctly written and the chip functions normally. After the verification is completed, the programming status and parameter information of the current chip are recorded to provide data support for quality traceability. Automatically switch to the next chip to be programmed. The new chip is placed in the fixture of the programmer through a robotic arm or other automated device, and the physical connection and electrical inspection are re-performed. After the next chip is ready, the system repeats the previous programming process, starting with the electrical connection status check, to parameter detection, and then to the actual programming operation until the programming is completed.
[0046] In the embodiment of the present application, a comprehensive chip information database is constructed through classification and structured processing, and data query and update are carried out efficiently to ensure the accuracy and comprehensiveness of information in the burning process. Optical character recognition and wireless radio frequency identification technology are used to automatically obtain the model and specification parameters of the chip, reduce the error of manual operation, and improve the recognition accuracy and efficiency. Based on the data in the chip information database, the most suitable burning equipment and program are automatically matched according to the chip model and specification parameters to ensure that the technical indicators of the burning equipment meet or exceed the requirements of the chip, avoiding manual matching errors. The chip is automatically connected to the burning equipment through a mechanical arm and an alignment device, and the electrical connection status is checked according to the chip pin definition to ensure the reliability of the physical connection and the accuracy of the electrical connection, reducing the risk of manual connection errors. During the burning process, the current and voltage parameters of the chip are monitored in real time through the device interface, and the abnormal detection of the burning process is performed using a preset naive Bayesian model, which can timely detect and handle abnormal situations and ensure the burning quality and equipment safety. The burning equipment is automatically controlled to perform erase, programming and verification operations, which improves the consistency and efficiency of the burning operation. After the burning is completed, it automatically switches to the next chip to be burned, reducing waiting time and improving equipment utilization and production rhythm. When an abnormality is detected during the burning process, it automatically conducts abnormality troubleshooting and generates an abnormality handling plan to ensure that normal operation can be quickly restored even in abnormal situations, avoiding the impact on subsequent burning tasks. Therefore, this application improves the accuracy of chip burning and realizes automatic switching of the chip burning process.
[0047] In a specific embodiment, the process of executing step S101 may specifically include the following steps:
[0048] (1) Query chip information of multiple chips to be burned to obtain information of multiple chips to be burned;
[0049] (2) According to the information of the multiple chips to be burned, the multiple chips to be burned are classified to obtain multiple classified chip information;
[0050] (3) Structuring the multiple classified chip information to obtain multiple structured chip information, wherein the structured chip information includes chip type, chip model, specification parameters, chip quantity and chip ID;
[0051] (4) generating a unique identification code for each chip to be programmed based on the multiple structured chip information, and associating the unique identification code with the corresponding structured chip information to obtain multiple associated chip information;
[0052] (5) Standardizing the information of multiple related chips to obtain multiple standard chip information, and constructing a chip information database based on the multiple standard chip information.
[0053] Specifically, through chip information query, information of the chips to be burned is collected from multiple sources, including chip manufacturer data, warehouse management system, and supply chain management system. By integrating and analyzing these data, the detailed information of all chips to be burned is fully understood, including their production date, manufacturing batch and technical specifications. According to the information of multiple chips to be burned, multiple chips to be burned are classified. Chips with similar characteristics are classified into one category for subsequent processing and management. The classification basis includes the type of chip (such as microcontroller, memory, sensor, etc.), the model of the chip (such as specific models of different series and specifications), and the specification parameters of the chip (such as voltage, number of pins, package type, etc.). Through this classification, different types of chips can be managed and processed more effectively to ensure that each type of chip can be burned in the best way. The classified chip information is structured. The raw data is converted into data with a unified format and standard for easy storage, retrieval and analysis. In this process, the information of each chip is sorted according to a predefined format to form structured chip information. The structured chip information includes chip type, chip model, specification parameters, chip quantity and chip ID. Generate a unique identification code for each chip to be burned based on the structured chip information. The unique identification code is a unique string or code that can uniquely identify each chip. When generating the UID, use a variety of methods, such as combining the chip model, production date and serial number to generate a unique code. Associate the UID with the corresponding structured chip information to form associated chip information. Standardize the associated chip information. Unify the data format to facilitate subsequent data management and analysis. Through standardization, redundancy and inconsistency in the data can be eliminated to ensure that all data meets the predefined standards. During the standardization process, perform operations such as data cleaning, format conversion and consistency checking. For example, all specification parameters are uniformly converted to the same unit to ensure data consistency and comparability. After the standardization process is completed, multiple standard chip information is obtained. This standardized information is highly standardized and consistent, and is easy to store and retrieve. Based on these standard chip information, a chip information database is constructed. The chip information database is a system that centrally stores and manages all chip information, which can provide efficient data query and management functions. When building a database, you can use technologies such as relational databases (such as MySQL, PostgreSQL) or NoSQL databases (such as MongoDB), and choose the appropriate database type based on your specific needs.
[0054] In a specific embodiment, the process of executing step S102 may specifically include the following steps:
[0055] (1) Using a high-resolution industrial camera to acquire a surface grayscale image of the target burning chip, a surface grayscale image is obtained, and the surface grayscale image is preprocessed to obtain a preprocessed surface image;
[0056] (2) Based on the pre-processed surface image, the surface characters of the target burning chip are located and segmented to obtain a segmented character image;
[0057] (3) Perform character recognition on the segmented character image to obtain the chip model and obtain the radio frequency identification tag of the target burning chip;
[0058] (4) performing radio frequency identification on the radio frequency identification tag to obtain a radio frequency identification result, and comparing the radio frequency identification result with the chip model to obtain a comparison result;
[0059] (5) If the comparison result is inconsistent or mismatched, re-perform surface optical character recognition and wireless radio frequency identification on the target burning chip until the comparison result is consistent and matches;
[0060] (6) According to the chip model, obtain the specification parameters of the target burning chip from the chip information database, where the specification parameters include chip package type, chip pin number, chip operating voltage and chip storage capacity.
[0061] Specifically, a surface grayscale image of the target burning chip is collected by a high-resolution industrial camera to obtain a surface grayscale image, and the surface grayscale image is image preprocessed to obtain a preprocessed surface image. Image preprocessing includes steps such as denoising, contrast enhancement and edge detection, which can improve image quality and make the target characters more clearly visible. For example, denoising can use a Gaussian filter, and contrast enhancement can be achieved through histogram equalization. According to the preprocessed surface image, the surface characters of the target burning chip are located and segmented to obtain a segmented character image. Character location is achieved by detecting the character area in the image, and techniques such as contour detection or morphological operation can be used. After positioning, each character area is segmented to ensure that each character is separated separately to form a segmented character image. Character segmentation is usually achieved through morphological processing and connected domain analysis. Character recognition is performed on the segmented character image to obtain the chip model. Character recognition can use optical character recognition technology to convert the segmented character image into corresponding text through a trained neural network model, such as a convolutional neural network. At the same time, the wireless radio frequency identification tag (RFID) of the target burning chip is obtained. The RFID tag stores the relevant information of the chip. The data in the tag can be read through the wireless radio frequency identification technology. Perform wireless radio frequency identification on the wireless radio frequency identification tag to obtain the wireless radio frequency identification result. Use the RFID reader to communicate with the RFID tag through electromagnetic signals to read the information in the tag, such as the serial number and batch number of the chip. Compare the wireless radio frequency identification result with the chip model to obtain the comparison result. If the comparison result is inconsistent or does not match, re-perform surface optical character recognition and wireless radio frequency identification on the target burning chip until the comparison result is consistent and matches. During the comparison process, if inconsistencies are found, image acquisition and recognition can be performed again to ensure the accuracy of the final result. According to the chip model, the specification parameters of the target burning chip are obtained from the chip information database. The chip information database contains detailed specification parameters of all chips, including package type, number of pins, operating voltage and storage capacity. By querying the database, all necessary information of the target chip can be quickly obtained.
[0062] In a specific embodiment, the process of executing step S104 may specifically include the following steps:
[0063] (1) Obtain chip pin definitions from a chip information database according to specification parameters, where the chip pin definitions include power pins, ground pins, clock pins, data pins, and control pins;
[0064] (2) Generate a pin connection configuration file for the target chip based on the chip pin definition, where the pin connection configuration file includes the number, name, type and connection method of each pin;
[0065] (3) Place the target chip on the chip fixture of the programmer, and according to the pin connection configuration file, use the robotic arm to physically connect the adapter pins of the programmer with the pins of the target chip to establish a physical connection between the target chip and the programmer;
[0066] (4) Performing a power-on test on the target programming chip and the programmer after establishing physical connection to obtain a power-on test result, wherein the power-on test includes applying voltage to the power pin and the ground pin and detecting whether the current is within a normal range;
[0067] (5) According to the power-on test results and the pin connection configuration file, the electrical connection status of each pin of the target burning chip is checked to obtain the electrical connection status of each pin, where the electrical connection status includes whether the pin is connected, whether the pin voltage is normal, and whether the pin resistance is within a reasonable range;
[0068] (6) Summarize the electrical connection status of each pin to obtain the electrical connection status information
[0069] Specifically, the specification parameters of the target chip are analyzed, and the pin definition of the chip is obtained by querying the chip information database. The chip pin definition is an important part of chip design, which clarifies the function and connection requirements of each pin. For example, a record in the database may include the following fields: pin number, pin name, pin type and connection method. According to the chip pin definition, a pin connection configuration file of the target burning chip is generated. The pin connection configuration file records the number, name, type and connection method of each pin. For example, assume that the chip has the following key pins: power pin, ground pin, clock pin, data pin, control pin. The target burning chip is placed on the chip fixture of the burner, and according to the pin connection configuration file, the adapter pin of the burner is physically connected to the pin of the target burning chip through the mechanical arm. The high-precision control of the mechanical arm can ensure that each adapter pin is accurately connected to the corresponding chip pin to establish a reliable physical connection. After the physical connection is established, the target burning chip and the burner are powered on to test and obtain the power-on test results. The power-on test is an important step to verify the correctness of the connection and preliminarily check the chip function. During the power-on test, voltage is applied to the power pin and the ground pin, and the current is measured to determine whether the connection is normal. Assume that the applied voltage is The measured current is , the resistance can be calculated using Ohm's law :
[0070] ;
[0071] If the resistance value is within the expected range, it means that the power and ground pins are connected properly. According to the power-on test results and the pin connection configuration file, the electrical connection status of each pin of the target burning chip is checked to obtain the electrical connection status of each pin. The electrical connection status check includes detecting whether the pin is connected, whether the pin voltage is normal, and whether the pin resistance is within a reasonable range. For example, by applying a specific test signal to each pin and measuring its response, the connectivity and functionality of the pin can be verified. Assume that the voltage that a pin should display during the test is The actual measured voltage is If the difference between the two is within the allowable error range, the pin status is normal:
[0072] ;
[0073] in, is the allowable error range. The electrical connection status of each pin is summarized to obtain the electrical connection status information. The electrical connection status information combines the test results of all pins to form a complete report. The report records the status of each pin and also includes possible problems and recommended solutions. For example, if the voltage of a pin is abnormal, the report will describe the problem in detail and recommend checking the relevant connections or replacing the chip.
[0074] In a specific embodiment, the process of executing step S106 may specifically include the following steps:
[0075] (1) Perform wavelet decomposition on the current parameter data to obtain a multi-scale current component sequence. Based on the multi-scale current component sequence, extract the time domain statistical characteristics and frequency domain energy characteristics of the current to obtain a set of current feature vectors;
[0076] (2) Performing short-time Fourier transform on the voltage parameter data to obtain a time-frequency energy distribution image, and performing image segmentation and pattern extraction on the time-frequency energy distribution image to obtain a set of voltage feature images;
[0077] (3) Fusing the current feature vector set and the voltage feature image set to obtain a fusion feature set of programming parameters;
[0078] (4) Based on the burned-in parameters, the feature set is fused to construct the feature space and class prior probability of the naive Bayes model;
[0079] (5) Map the feature space using the Gaussian kernel function to obtain the Gaussian kernel feature space;
[0080] (6) According to the Gaussian kernel feature space and class prior probability, the parameters of the naive Bayes model are estimated to obtain the classifier parameter set;
[0081] (7) Input the burning parameter fusion feature set into the naive Bayes model to obtain the classification probability vector;
[0082] (8) Determine the category label of the anomaly detection result based on the classification probability vector.
[0083] Specifically, the current parameter data is subjected to wavelet decomposition. Wavelet decomposition is an effective signal processing method that can decompose complex current signals into components of different scales and capture features in different frequency ranges. Through wavelet transform, the current signal is decomposed into a series of multi-scale component sequences, each component corresponding to a specific frequency range. By analyzing these component sequences, the time domain statistical characteristics and frequency domain energy characteristics of the current signal, such as mean, variance, peak value and frequency domain energy, are extracted. The voltage parameter data is subjected to short-time Fourier transform to obtain a time-frequency energy distribution image. Short-time Fourier transform can provide the joint distribution of voltage signals in time and frequency. By performing piecewise Fourier transform on the signal, the spectrum information in each time period is obtained. By performing image segmentation and pattern extraction on the time-frequency energy distribution image, the characteristic patterns of the voltage signal at different times and frequencies are extracted to form a set of voltage feature images. The current feature vector set and the voltage feature image set are fused to obtain a fusion feature set of the burning parameters. The features from different signal sources are combined to form a comprehensive feature set to more comprehensively describe the state of the system. According to the burned parameters, the feature set is fused to construct the feature space and class prior probability of the naive Bayes model. The naive Bayes model assumes independence between features and uses the sample data in the feature space to calculate the prior probability of each category. Let the feature space be , the class prior probability is ,in Represents the category. By analyzing historical data, the distribution of each category in the feature space is calculated and the class prior probability is constructed. The feature space is mapped by Gaussian kernel function to obtain Gaussian kernel feature space. Gaussian kernel function mapping is a method of nonlinearly mapping the original feature space to a high-dimensional space, so that the data distribution in the high-dimensional space is more linearly separable. Let the Gaussian kernel function be:
[0084] ;
[0085] in and represents the feature vector, Represents the kernel parameter. Through Gaussian kernel function mapping, we get Gaussian kernel feature space According to the Gaussian kernel feature space and class prior probability, the parameters of the naive Bayes model are estimated to obtain the classifier parameter set. Parameter estimation is to optimize the model parameters by using the sample data in the Gaussian kernel feature space through the maximum likelihood estimation method, so that the model can more accurately reflect the statistical characteristics of the data. Let the model parameter set be ,in Indicates category The parameters of are optimized by log-likelihood function to obtain the optimal parameter set. The burned parameter fusion feature set is input into the naive Bayes model to obtain the classification probability vector. By inputting the fusion feature set into the naive Bayes model, the probability of each sample belonging to a different category is calculated. Let the classification probability vector be , indicating that the sample belongs to the category The probability of classification is calculated by Bayes' formula:
[0086] ;
[0087] in, Indicates in category The conditional probability of the following feature set, represents the class prior probability, Represents the marginal probability of the feature set. According to the classification probability vector, the category label of the anomaly detection result is determined. By comparing the classification probability of each category, the category with the largest probability is selected as the final classification result. Let the maximum classification probability be , then the category label of the anomaly detection result is In this way, abnormal situations during the burning process can be accurately detected and handled accordingly.
[0088] In a specific embodiment, the execution step estimates the parameters of the naive Bayes model according to the Gaussian kernel feature space and the class prior probability, and the process of obtaining the classifier parameter set may specifically include the following steps:
[0089] (1) Calculate the kernel matrix of the Gaussian kernel feature space to obtain the kernel matrix, and construct the objective function and constraints of the semi-positive definite programming problem based on the kernel matrix;
[0090] (2) Solve the semi-definite programming problem using a sequential minimum optimization algorithm to obtain a set of support vectors, and calculate the weight vector of the Gaussian kernel function of the naive Bayes model based on the set of support vectors;
[0091] (3) Perform Laplace correction on the class prior probability to obtain the smoothed class prior probability, and calculate the class weight vector of the naive Bayes model based on the smoothed class prior probability;
[0092] (4) Concatenate the weight vector of the Gaussian kernel function and the category weight vector into matrices to obtain the weight parameter matrix of the naive Bayes model;
[0093] (5) Perform principal component analysis on the weight parameter matrix to obtain the parameter set after dimensionality reduction, and construct the decision function of the naive Bayes model based on the parameter set after dimensionality reduction;
[0094] (6) Output the coefficients of the decision function as a set of classifier parameters.
[0095] Specifically, the kernel matrix is calculated for the Gaussian kernel feature space to obtain the kernel matrix, and the objective function and constraints of the semi-positive definite programming problem are constructed based on the kernel matrix. The Gaussian kernel feature space makes the data more linearly separable in the high-dimensional space by nonlinearly mapping the original feature space to the high-dimensional space. It is obtained by calculating the Gaussian kernel function value, the formula is:
[0096] ;
[0097] in, and They represent the feature vectors, are the kernel parameters. The kernel matrix Each element of represents the similarity of two feature vectors in high-dimensional space. Construct the objective function and constraints of the semi-positive programming problem, and find the optimal support vector and classification hyperplane through optimization. The objective function can be expressed as:
[0098] ;
[0099] in, is the Lagrange multiplier, It is a sample The category label of . The constraints are:
[0100] ;
[0101] in, is a regularization parameter that controls the complexity of the model. The sequential minimum optimization (SMO) algorithm is used to solve the semi-positive programming problem and obtain the support vector set. The SMO algorithm is an efficient optimization method that decomposes the original problem into a series of small problems, gradually optimizes each small problem, and finally converges to the global optimal solution. The support vector set refers to those corresponding Lagrange multipliers Samples greater than zero, they play a key role in classification decisions. Based on the support vector set, calculate the weight vector of the Gaussian kernel function of the naive Bayes model. Weight vector Determined by the support vector and its Lagrange multiplier, the formula is:
[0102] ;
[0103] in, is the mapping of the support vector in high-dimensional space. The class prior probability is Laplace corrected to obtain the smoothed class prior probability. The Laplace correction avoids the problem of zero prior probability by adding a small smoothing parameter to each class count. Corrected class prior probability The calculation formula is:
[0104] ;
[0105] in, Yes Category The number of samples, is the total sample size, is the total number of categories. According to the smoothed class prior probabilities, the class weight vector of the naive Bayes model is calculated. The class weight vector reflects the weight of the prior probability of each class in the classification decision, and the calculation formula is:
[0106] ;
[0107] in, Yes Category The weight vector of the Gaussian kernel function and the category weight vector are concatenated to obtain the weight parameter matrix of the naive Bayes model. The weight parameter matrix is subjected to principal component analysis to obtain the parameter set after dimensionality reduction. By extracting the main components of the data, the redundancy of features is reduced and the computational efficiency of the model is improved. The principal component analysis step includes calculating the covariance matrix of the weight parameter matrix , and then perform eigenvalue decomposition, and select the eigenvectors corresponding to the largest first few eigenvalues as the principal components. The parameter set after dimensionality reduction is expressed as:
[0108] ;
[0109] in, is the set of parameters after dimensionality reduction, is the principal component eigenvector matrix. Based on the parameter set after dimensionality reduction, the decision function of the naive Bayes model is constructed. The decision function is used to classify new samples and calculate the posterior probability of each category. The formula is:
[0110] ;
[0111] in, It is a sample Belongs to category The posterior probability of is the class conditional probability, is the class prior probability, is the marginal probability of the feature. The coefficients of the decision function are output as the classifier parameter set. The classifier parameter set contains all the key parameters used for classification decisions, including the Gaussian kernel weight vector, the class weight vector, and the smoothed class prior probability.
[0112] In a specific embodiment, the execution step of inputting the burning parameter fusion feature set into the naive Bayes model to obtain the classification probability vector may specifically include the following steps:
[0113] (1) Perform feature normalization processing on the burning parameter fusion feature set to obtain a normalized feature set, and construct a normalized feature vector of the naive Bayes model based on the normalized feature set;
[0114] (2) Perform Gaussian kernel function mapping on the normalized feature vector to obtain the kernel feature vector, and calculate the category discriminant function value vector based on the kernel feature vector and the weight parameter matrix in the classifier parameter set;
[0115] (3) Perform softmax normalization on the category discriminant function value vector to obtain an unnormalized probability vector, and perform probability correction based on the unnormalized probability vector and the category weight vector in the classifier parameter set to obtain a normalized probability vector;
[0116] (4) Perform logarithmic operation on the normalized probability vector to obtain the log-likelihood probability vector, and construct the maximum expectation estimation problem based on the log-likelihood probability vector;
[0117] (5) The maximum expectation estimation problem is iteratively optimized using the quasi-Newton method to obtain a probability correction vector, which is then added to the normalized probability vector to obtain a classification probability vector.
[0118] Specifically, the burning parameter fusion feature set is subjected to feature normalization processing to obtain a normalized feature set, and based on the normalized feature set, a normalized feature vector of the naive Bayes model is constructed. Feature normalization processing is to convert feature values of different scales into a common range, usually between 0 and 1, so as to avoid certain features from having too much impact on model training due to different dimensions. Gaussian kernel function mapping is performed on the normalized feature vector to obtain a kernel feature vector. Gaussian kernel function mapping is a nonlinear transformation method that can map the original feature space to a high-dimensional space, making the data more linearly separable in the high-dimensional space. The formula of the Gaussian kernel function is:
[0119] ;
[0120] in, and is the normalized eigenvector, is the kernel parameter. By calculating the Gaussian kernel function value, the kernel feature vector is obtained, which will be used in the subsequent classification process. According to the kernel feature vector and the weight parameter matrix in the classifier parameter set, the class discriminant function value vector is calculated. The class discriminant function value vector is obtained by linearly combining the kernel feature vector and the weight parameter matrix, and the formula is:
[0121] ;
[0122] in, Yes Category The discriminant function value of Yes Category The weight vector of is the kernel feature vector. By calculating the discriminant function value of each category, we get the category discriminant function value vector, which represents the possibility that the sample belongs to different categories. We perform softmax normalization on the category discriminant function value vector to get the unnormalized probability vector. The softtmax function converts the category discriminant function value into a probability distribution so that the sum of the probabilities of all categories is 1. The formula is:
[0123] ;
[0124] in, Yes Category The unnormalized probability of Yes Category The discriminant function value of . Through softmax normalization, we get the unnormalized probability vectors, which represent the probability of samples belonging to different categories. According to the unnormalized probability vector and the category weight vector in the classifier parameter set, we make probability correction and get the normalized probability vector. Probability correction is to adjust the probability value of each category by combining the category weight, so that the classification result of the model is more accurate. The corrected normalized probability vector is expressed as: .in, Yes Category The normalized probability of is the unnormalized probability, Yes Category The weight vector of . Perform logarithmic operation on the normalized probability vector to obtain the log-likelihood probability vector. The logarithmic operation can convert the multiplication operation into an addition operation, simplify the calculation process, and also improve the numerical stability. The log-likelihood probability vector is expressed as: . Through logarithmic operations, we get the log-likelihood probability vectors, which will be used to construct the maximum expectation estimation problem. Based on the log-likelihood probability vector, we construct the maximum expectation estimation problem. The maximum expectation estimation problem maximizes the log-likelihood probability to find the optimal probability distribution parameters, ensuring that the prediction results of the model have the highest credibility. The objective function of the maximum expectation estimation problem can be expressed as:
[0125] ;
[0126] By optimizing the objective function, the optimal probability distribution parameters can be obtained. The maximum expectation estimation problem is iteratively optimized using the quasi-Newton method to obtain a probability correction vector. The quasi-Newton method is an efficient optimization algorithm that continuously approaches the optimal solution through iterative calculations. During the optimization process, the gradient of each step and the approximate value of the Hessian matrix are calculated, and the probability distribution parameters are adjusted until they converge to the optimal solution. The probability correction vector is expressed as:
[0127] ;
[0128] Through iterative optimization of the quasi-Newton method, probability correction vectors are obtained, which will be used to correct the normalized probability. The probability correction vector is added to the normalized probability vector to obtain the classification probability vector. The classification probability vector represents the final probability that each sample belongs to a different category, and the formula is:
[0129] ;
[0130] By adding the probability correction vector to the normalized probability vector, the classification probability vector is obtained to determine the classification result of the sample.
[0131] The above describes the automatic switching method for chip burning in the embodiment of the present application. The following describes the automatic switching device for chip burning in the embodiment of the present application. Figure 2 In the embodiment of the present application, an automatic switching device for chip burning includes:
[0132] The acquisition module 201 is used to acquire information of multiple chips to be burned and classify and structure them to obtain multiple standard chip information, and to construct a chip information database according to the multiple standard chip information;
[0133] Verification module 202, used to perform surface optical character recognition on the target burning chip to obtain the chip model, and perform information verification through wireless radio frequency identification technology to obtain specification parameters of the target burning chip;
[0134] The matching module 203 is used to match the burner and burning program of the target burning chip from the chip information database according to the chip model and specification parameters;
[0135] The checking module 204 is used to establish a physical connection between the target burning chip and the burner and to check the electrical connection status based on the chip pin definition to obtain electrical connection status information;
[0136] The processing module 205 is used to send programming instructions and data through the burning program and control the burner to perform erasing, programming and verification operations based on the electrical connection status information, and at the same time, monitor the current parameter data and voltage parameter data of the target burning chip in real time;
[0137] The detection module 206 is used to input the current parameter data and the voltage parameter data into a preset naive Bayes model to perform abnormality detection during the burning process to obtain an abnormality detection result;
[0138] The switching module 207 is used to check the programmer for abnormalities and generate an abnormality handling solution if the abnormality detection result is abnormal. If the abnormality detection result is normal, the programmer is controlled to continue the programming operation. When the target programming chip completes the programming, the next chip to be programmed is automatically switched to perform the programming operation.
[0139] Through the cooperation of the above components, through classification and structured processing, a comprehensive chip information database is constructed, data query and update are carried out efficiently, and the accuracy and comprehensiveness of information in the burning process are ensured. Optical character recognition and wireless radio frequency identification technology are used to automatically obtain the model and specification parameters of the chip, reducing the errors of manual operation and improving the recognition accuracy and efficiency. Based on the data in the chip information database, the most suitable burning equipment and program are automatically matched according to the chip model and specification parameters to ensure that the technical indicators of the burning equipment meet or exceed the requirements of the chip and avoid manual matching errors. The chip and the burning equipment are automatically connected through the mechanical arm and alignment device, and the electrical connection status is checked according to the chip pin definition to ensure the reliability of the physical connection and the accuracy of the electrical connection, reducing the risk of manual connection errors. During the burning process, the current and voltage parameters of the chip are monitored in real time through the device interface, and the preset naive Bayes model is used to detect abnormalities in the burning process, which can timely detect and handle abnormal situations and ensure the burning quality and equipment safety. The burning equipment is automatically controlled to perform erase, programming and verification operations, which improves the consistency and efficiency of the burning operation. After the burning is completed, it automatically switches to the next chip to be burned, reducing waiting time and improving equipment utilization and production rhythm. When an abnormality is detected during the burning process, it automatically conducts abnormality troubleshooting and generates an abnormality handling plan to ensure that normal operation can be quickly restored even in abnormal situations, avoiding the impact on subsequent burning tasks. Therefore, this application improves the accuracy of chip burning and realizes automatic switching of the chip burning process.
[0140] The present application also provides an automatic switching device for chip burning, which includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the automatic switching method for chip burning in the above-mentioned embodiments.
[0141] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the automatic switching method for chip burning.
[0142] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0143] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0144] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An automatic switching method for chip burning, characterized in that: The method comprises: Acquire multiple chip information to be burned and classify and structure it to obtain multiple standard chip information, and build a chip information database according to the multiple standard chip information; Perform surface optical character recognition on the target burning chip to obtain the chip model, and perform information verification through wireless radio frequency identification technology to obtain specification parameters of the target burning chip; According to the chip model and the specification parameters, matching the burner and the burning program of the target burning chip from the chip information database; Establishing a physical connection between the target burning chip and the burner and performing an electrical connection status check based on the chip pin definition to obtain electrical connection status information; Based on the electrical connection status information, the programming instruction and data are sent through the burning program and the burner is controlled to perform erasing, programming and verification operations, and at the same time, the current parameter data and voltage parameter data of the target burning chip are monitored in real time; The current parameter data and the voltage parameter data are input into a preset naive Bayes model to perform abnormality detection during the burning process to obtain an abnormality detection result; specifically comprising: performing wavelet decomposition on the current parameter data to obtain a multi-scale current component sequence, and extracting the time domain statistical characteristics and frequency domain energy characteristics of the current according to the multi-scale current component sequence to obtain a current feature vector set; performing short-time Fourier transform on the voltage parameter data to obtain a time-frequency energy distribution image, and performing image segmentation and pattern extraction on the time-frequency energy distribution image to obtain a voltage feature image set; the current feature The vector set and the voltage feature image set are subjected to data fusion to obtain a fusion feature set of burning parameters; a feature space and a class prior probability of a naive Bayesian model are constructed according to the fusion feature set of burning parameters; a Gaussian kernel function is performed on the feature space to obtain a Gaussian kernel feature space; parameters of the naive Bayesian model are estimated according to the Gaussian kernel feature space and the class prior probability to obtain a classifier parameter set; the fusion feature set of burning parameters is input into the naive Bayesian model to obtain a classification probability vector; and a category label of an abnormality detection result is determined according to the classification probability vector; If the abnormality detection result is abnormal, the burner is checked for abnormality and an abnormality handling solution is generated. If the abnormality detection result is normal, the burner is controlled to continue the burning operation. When the target burning chip completes the burning, the next chip to be burned is automatically switched to perform the burning operation.
2. The automatic switching method for chip burning according to claim 1, characterized in that: The step of acquiring information of a plurality of chips to be burned and classifying and structuring them to obtain information of a plurality of standard chips, and constructing a chip information database according to the plurality of standard chip information includes: Perform chip information query on multiple chips to be burned, and obtain information of multiple chips to be burned; According to the information of the plurality of chips to be burned, the plurality of chips to be burned are classified to obtain a plurality of classified chip information; Structuring the plurality of classified chip information to obtain a plurality of structured chip information, wherein the structured chip information includes chip type, chip model, specification parameters, chip quantity and chip ID; Generate a unique identification code for each chip to be burned according to the plurality of structured chip information, and associate the unique identification code with the corresponding structured chip information to obtain a plurality of associated chip information; The plurality of associated chip information are standardized to obtain a plurality of standard chip information, and a chip information database is constructed according to the plurality of standard chip information.
3. The automatic switching method for chip burning according to claim 1, characterized in that: The method of performing surface optical character recognition on the target burning chip to obtain the chip model, and performing information verification through wireless radio frequency identification technology to obtain specification parameters of the target burning chip includes: Capturing a surface grayscale image of a target burning chip by a high-resolution industrial camera to obtain a surface grayscale image, and performing image preprocessing on the surface grayscale image to obtain a preprocessed surface image; According to the pre-processed surface image, the surface characters of the target burning chip are located and segmented to obtain a segmented character image; Performing character recognition on the segmented character image to obtain a chip model, and acquiring a radio frequency identification tag of the target burning chip; Performing radio frequency identification on the radio frequency identification tag to obtain a radio frequency identification result, and comparing the radio frequency identification result with the chip model to obtain a comparison result; If the comparison result is inconsistent or mismatched, re-perform surface optical character recognition and wireless radio frequency identification on the target burning chip until the comparison result is consistent and matched; According to the chip model, the specification parameters of the target programming chip are obtained from the chip information database, wherein the specification parameters include chip packaging type, chip pin quantity, chip operating voltage and chip storage capacity.
4. The automatic switching method for chip burning according to claim 1, characterized in that: The step of establishing a physical connection between the target programming chip and the programmer and performing an electrical connection status check based on a chip pin definition to obtain electrical connection status information includes: According to the specification parameters, a chip pin definition is obtained from a chip information database, wherein the chip pin definition includes a power pin, a ground pin, a clock pin, a data pin, and a control pin; Generate a pin connection configuration file of the target burning chip according to the chip pin definition, wherein the pin connection configuration file includes the number, name, type and connection mode of each pin; Placing the target burning chip on the chip fixture of the burner, and physically connecting the adapter pins of the burner with the pins of the target burning chip through a mechanical arm according to the pin connection configuration file, so as to establish a physical connection between the target burning chip and the burner; Performing a power-on test on the target programming chip and the programmer after establishing physical connection to obtain a power-on test result, wherein the power-on test includes applying voltage to the power pin and the ground pin and detecting whether the current is within a normal range; According to the power-on test result and the pin connection configuration file, an electrical connection status check is performed on each pin of the target programming chip to obtain the electrical connection status of each pin, wherein the electrical connection status includes whether the pin is connected, whether the pin voltage is normal, and whether the pin resistance is within a reasonable range; The electrical connection status of each pin is summarized to obtain electrical connection status information.
5. The automatic switching method for chip burning according to claim 1, characterized in that: The parameter estimation of the naive Bayes model is performed according to the Gaussian kernel feature space and the class prior probability to obtain a classifier parameter set, including: Performing kernel matrix calculation on the Gaussian kernel feature space to obtain a kernel matrix, and constructing an objective function and constraint conditions of a semi-positive definite programming problem based on the kernel matrix; Solving the semi-positive definite programming problem using a sequential minimum optimization algorithm to obtain a support vector set, and calculating a weight vector of a Gaussian kernel function of the naive Bayes model based on the support vector set; Performing Laplace correction on the class prior probability to obtain a smoothed class prior probability, and calculating a class weight vector of the naive Bayes model according to the smoothed class prior probability; Performing matrix concatenation of the weight vector of the Gaussian kernel function and the category weight vector to obtain a weight parameter matrix of the naive Bayes model; Performing principal component analysis on the weight parameter matrix to obtain a parameter set after dimension reduction, and constructing a decision function of the naive Bayes model according to the parameter set after dimension reduction; The coefficients of the decision function are output as a set of classifier parameters.
6. The automatic switching method for chip burning according to claim 5, characterized in that: The step of inputting the burning parameter fusion feature set into the naive Bayes model to obtain a classification probability vector includes: Performing feature normalization processing on the burning parameter fusion feature set to obtain a normalized feature set, and constructing a normalized feature vector of the naive Bayes model according to the normalized feature set; Performing Gaussian kernel function mapping on the normalized feature vector to obtain a kernel feature vector, and calculating a category discriminant function value vector according to the kernel feature vector and a weight parameter matrix in the classifier parameter set; Performing softmax normalization on the category discriminant function value vector to obtain an unnormalized probability vector, and performing probability correction according to the unnormalized probability vector and the category weight vector in the classifier parameter set to obtain a normalized probability vector; Performing a logarithmic operation on the normalized probability vector to obtain a log-likelihood probability vector, and constructing a maximum expectation estimation problem based on the log-likelihood probability vector; The maximum expectation estimation problem is iteratively optimized using the quasi-Newton method to obtain a probability correction vector, and the probability correction vector is added to the normalized probability vector to obtain a classification probability vector.
7. An automatic switching device for chip burning, used for executing the automatic switching method for chip burning as claimed in any one of claims 1 to 6, characterized in that: The device comprises: An acquisition module is used to acquire information of multiple chips to be burned and classify and structure them to obtain multiple standard chip information, and to construct a chip information database according to the multiple standard chip information; A verification module is used to perform surface optical character recognition on the target burning chip to obtain the chip model, and to perform information verification through wireless radio frequency identification technology to obtain specification parameters of the target burning chip; A matching module, used for matching the burner and burning program of the target burning chip from the chip information database according to the chip model and the specification parameters; A checking module, used for establishing a physical connection between the target burning chip and the burner and performing an electrical connection status check based on the chip pin definition to obtain electrical connection status information; A processing module, for sending programming instructions and data through the burning program and controlling the burner to perform erasing, programming and verification operations based on the electrical connection status information, and at the same time, monitoring the current parameter data and voltage parameter data of the target burning chip in real time; A detection module, used for inputting the current parameter data and the voltage parameter data into a preset naive Bayes model to perform abnormality detection during the burning process to obtain an abnormality detection result; The switching module is used to check the burner for abnormalities and generate an abnormality handling solution if the abnormality detection result is abnormal; if the abnormality detection result is normal, control the burner to continue the burning operation; and automatically switch the next chip to be burned to perform the burning operation when the target burning chip completes the burning.
8. An automatic switching device for chip burning, characterized in that: The automatic switching device for chip burning comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instruction in the memory to enable the automatic switching device for chip burning to execute the automatic switching method for chip burning according to any one of claims 1-6.
9. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by the processor, the automatic switching method for chip burning according to any one of claims 1 to 6 is implemented.
