Method for automating adjustment of electronic equipment

Through the method of automatically adjusting electronic equipment, parameter combinations and algorithms are used to optimize optical detection parameters, which solves the problems of long time-consuming adjustment and high training cost in traditional methods, and achieves automatic equipment adjustment and improved accuracy.

CN114113099BActive Publication Date: 2024-10-11CHROMA ATE (SUZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010883553.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-28
Publication Date
2024-10-11
Estimated Expiration
2040-08-28

Smart Images

  • Figure CN114113099B_ABST
    Figure CN114113099B_ABST
Patent Text Reader

Abstract

The present application provides a method for automatically adjusting an electronic device, which is applicable to an electronic device, and the method for automatically adjusting an electronic device comprises the following steps. First, a first parameter combination is generated, and the first parameter combination is at least associated with a first optical detection parameter and a first automation script. Whether the multiple test images are qualified is judged based on the first parameter combination, and a first indicator parameter is calculated. Whether the first indicator parameter reaches a set target value is judged. When the first indicator parameter reaches the set target value, the first parameter combination corresponding to the first indicator parameter is set as the optimal parameter combination. When the first indicator parameter does not reach the set target value, the first parameter combination is adjusted according to an algorithm to generate a second parameter combination. The second parameter combination is different from the first parameter combination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a method for adjusting an electronic device, and more particularly to a method for adjusting the electronic device in an automated manner using an algorithm. Background Art

[0002] Traditionally, after a manufacturer sells an electronic device to a customer, in addition to sending an engineer to the customer's company to install the electronic device, the engineer also needs to stay on site to adjust the parameters of the electronic device so that the output of the electronic device can meet the customer's requirements. For example, assuming that the electronic device is a test device, then when the test device measures whether the object under test meets the standard, it may encounter problems such as over-judgment (normal objects under test are judged to be unqualified) or under-judgment (abnormal objects under test are judged to be qualified). Generally speaking, customers have regulations on the over-judgment rate, under-judgment rate or matching rate (the proportion of correctly judged objects under test). Experienced engineers can adjust the test device on site based on their practical experience so that the aforementioned over-judgment rate, under-judgment rate or matching rate can meet the customer's requirements.

[0003] However, it is not easy to adjust the test equipment. Even experienced engineers may need to spend a very long time to find the appropriate parameters. In addition, the practical experience of adjusting the test equipment is not easy to pass on, which makes it difficult for new engineers to put it to use immediately. It also requires a long time of training and experience accumulation. For manufacturers, it undoubtedly increases the cost burden. Therefore, the industry needs a new method to adjust electronic equipment. In addition to preventing engineers from spending too much time adjusting electronic equipment, it also needs to shorten the training time of engineers. Summary of the invention

[0004] In view of this, the main purpose of the present application is to provide a method for automatically adjusting an electronic device, which can allow the electronic device to automatically find appropriate parameters, thereby replacing the manual operation of adjusting the electronic device.

[0005] The present application proposes a method for automatically adjusting an electronic device, which is applicable to an electronic device, and the method for automatically adjusting an electronic device comprises the following steps. First, a first parameter combination is generated, and the first parameter combination is at least associated with a first optical detection parameter and a first automation script. Whether the multiple test images are qualified is judged based on the first parameter combination, and a first indicator parameter is calculated. Whether the first indicator parameter reaches a set target value is judged. When the first indicator parameter reaches the set target value, the first parameter combination corresponding to the first indicator parameter is set as the optimal parameter combination. When the first indicator parameter does not reach the set target value, the first parameter combination is adjusted according to an algorithm to generate a second parameter combination. The second parameter combination is different from the first parameter combination.

[0006] In some embodiments, the method for automatically adjusting an electronic device may further include the following steps. First, a second indicator parameter is calculated based on a second parameter combination. Then, it is determined whether the second indicator parameter reaches a set target value. In addition, the method for automatically adjusting an electronic device may also determine whether a third parameter combination exists, and the third parameter combination is different from the first parameter combination and the second parameter combination. When the third parameter combination does not exist, it is determined which of the first indicator parameter or the second indicator parameter is closer to the set target value. And, the first parameter combination or the second parameter combination corresponding to the first indicator parameter or the second indicator parameter that is closer to the set target value is set as the optimal parameter combination.

[0007] In some embodiments, the second parameter combination may be associated with at least the second optical detection parameter and the second automation script. Furthermore, the first optical detection parameter and the second optical detection parameter may be selected from an optical detection parameter database. In addition, the method for automatically adjusting an electronic device may further include the following steps. First, determine whether the number of times the algorithm is executed reaches an upper limit. When the number of times the algorithm is executed reaches the upper limit, determine which of the first indicator parameter or the second indicator parameter is closer to the set target value. And, set the first parameter combination or the second parameter combination corresponding to the first indicator parameter or the second indicator parameter that is closer to the set target value as the optimal parameter combination.

[0008] In some embodiments, the method for automatically adjusting an electronic device may further include the following steps. First, determine whether there is a third parameter combination, and the third parameter combination is different from the first parameter combination and the second parameter combination. When the third parameter combination does not exist, the second parameter combination can be set as the optimal parameter combination. In addition, in the step of determining whether the multiple test images are qualified based on the first parameter combination and calculating the first index parameter, the following steps may be further included. Determine whether the multiple test images are qualified based on the first parameter combination to generate at least one over-judgment rate parameter, missed judgment rate parameter or matching rate parameter. And, multiply the over-judgment rate parameter, missed judgment rate parameter or matching rate parameter by the first weight to generate the first index parameter. In addition, the algorithm may be a Newton algorithm, a genetic algorithm or a traversal algorithm.

[0009] In summary, unlike the traditional manual adjustment of electronic equipment, the method of automatically adjusting electronic equipment in this application can effectively simplify the process of adjusting electronic equipment, allowing the electronic equipment to automatically find the best parameters. In addition to reducing the qualification requirements for engineers, allowing new engineers to quickly get started, it also saves engineers time in subsequent adjustments to electronic equipment.

[0010] The details of other effects and embodiments of the present application are described as follows with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0012] Figure 1 FIG. 4 is a flowchart illustrating a method for automatically adjusting an electronic device according to an embodiment of the present application.

[0013] Explanation of symbols

[0014] S10~S18 step flow DETAILED DESCRIPTION

[0015] The following is a detailed description of the implementation methods and effects achieved by the present application, and an embodiment is provided with accompanying drawings.

[0016] See also Figure 1 , Figure 1 1 is a flowchart of the steps of the method for automatically adjusting an electronic device according to an embodiment of the present application. The method for automatically adjusting an electronic device demonstrated in this embodiment is applicable to an electronic device, and the electronic device may be an automatic optical inspection (AOI) device, that is, by shooting a test image of the object to be tested to determine whether the object to be tested has defects or whether the quality of the object to be tested is qualified. This embodiment does not limit the industry to which the electronic device can be applied or the object to be tested that is photographed. For example, the electronic device may be applied to the light-emitting diode or laser diode industry, and the object to be tested may be a light-emitting component. Alternatively, the electronic device may also be applied to the solar energy industry, and the object to be tested may be a solar panel. Alternatively, the electronic device may also be applied to the semiconductor industry, and the object to be tested may be a grain on the surface of a wafer or in a wafer. In practice, after the electronic device is installed, some standards are needed to determine the state of the electronic device, and the standards may be, for example, an over-judgment rate, a missed judgment rate, and a coincidence rate. If it does not meet the standards, it means that the electronic device still needs subsequent adjustment. Here, the electronic device adjusted by the method of this embodiment should be able to accurately judge whether the quality of the object to be tested is qualified based on the test image of the object to be tested, and meet the standards of judgment rate, missed judgment rate and matching rate.

[0017] like Figure 1As shown, in the method step S10 of automatically adjusting the electronic device demonstrated in this embodiment, a first parameter combination is first generated, and the first parameter combination is at least associated with the first optical detection parameter and the first automation script. In practice, the first parameter combination can be screened out from an optical detection parameter database, and the optical detection parameter database can contain many parameters frequently used in the field of automatic optical inspection (AOI). For example, the first optical detection parameter can be used to indicate the scale, border, chamfer, structural discontinuity, bright spot, etc. in the test image, and this embodiment is not limited here. In addition, the first automation script can define the degree or proportion of each adjustment of the first optical detection parameter, and can also define the adjustable range (such as upper limit and lower limit) of the first optical detection parameter. In other words, the first parameter combination indicates the permutation and combination of the adjustable range of the first optical detection parameter. It is worth mentioning that the first parameter combination is not limited to only one optical detection parameter and one automation script. For example, there can be more optical detection parameters and corresponding automation scripts in the first parameter combination. In other words, one parameter combination may be associated with multiple optical detection parameters and indicate the arrangement and combination of adjustable ranges of the multiple optical detection parameters.

[0018] In step S12 of the method for automatically adjusting the electronic device, it is determined whether multiple test images are qualified according to the first parameter combination, and the index parameter (first index parameter) corresponding to the first parameter combination is calculated. In practice, the multiple test images can be sample images obtained in advance, for example, the multiple test images can be obtained by shooting multiple samples of the object to be tested with a verified device. Then, the electronic device can judge these test images according to the optical detection parameters selected in the first parameter combination and the automated script, and classify the test images that the electronic device considers qualified and the test images that are unqualified. Of course, since it is known whether each test image is actually qualified, the over-judgment rate, missed judgment rate and matching rate of the electronic device can be obtained when the first parameter combination is used. The over-judgment rate refers to the proportion of all test images that are actually qualified test images that are mistakenly judged as unqualified by the electronic device. The missed judgment rate refers to the proportion of all test images that are actually unqualified test images that are mistakenly judged as qualified by the electronic device. The matching rate refers to the proportion of all test images that are actually qualified test images that are correctly judged as qualified by the electronic device.

[0019] Because it is convenient to calculate and quantify, this embodiment will first generate an over-judgment rate parameter, a miss-judgment rate parameter and a match rate parameter based on the over-judgment rate, miss-judgment rate and match rate of the electronic device. In an example, this embodiment can set the over-judgment rate and the over-judgment rate parameter to be negatively correlated, that is, the smaller the over-judgment rate, the larger the over-judgment rate parameter. Similarly, this embodiment can also set the miss-judgment rate and the miss-judgment rate parameter to be negatively correlated, that is, the smaller the miss-judgment rate, the larger the miss-judgment rate parameter. In addition, this embodiment can set the match rate and the match rate parameter to be positively correlated, that is, the larger the match rate, the larger the miss-judgment rate parameter. However, this embodiment is not limited to this, and those with general knowledge in the technical field may change the correlation between the over-judgment rate parameter, the miss-judgment rate parameter and the match rate parameter as the electronic device is adjusted. In addition, the reasons for setting the over-judgment rate parameter, the miss-judgment rate parameter and the match rate parameter in this way will be explained in this embodiment later.

[0020] After obtaining the over-judgment rate parameter, the missed judgment rate parameter and the matching rate parameter, the index parameter (first index parameter) corresponding to the first parameter combination can be calculated. The present embodiment does not limit the calculation method of the index parameter, but only indicates that the index parameter can be obtained by calculating the over-judgment rate parameter, the missed judgment rate parameter and the matching rate parameter. In addition, the index parameter may be associated with only one of the over-judgment rate parameter, the missed judgment rate parameter and the matching rate parameter, that is, not necessarily all of them are associated. Assuming that the index parameter includes the over-judgment rate parameter, the missed judgment rate parameter and the matching rate parameter, the above three parameters may also have differences in importance, and thus may have different weights. For example, the over-judgment rate parameter and the missed judgment rate parameter may have different weights. In an example, the index parameter can be calculated by the following formula (1):

[0021] Fi=R1×w1+ R2×w2+ R3×w3 (1)

[0022] Wherein Fi is an index parameter (the aforementioned first index parameter), R1 can be the aforementioned over-judgment rate parameter, R2 can be the aforementioned missed judgment rate parameter, and R3 can be the aforementioned matching rate parameter. Moreover, it can be known from the above formula (1) that w1 is the weight of the over-judgment rate parameter, w2 is the weight of the missed judgment rate parameter, and w3 is the weight of the matching rate parameter. Of course, this embodiment does not limit the index parameter to be associated only with the over-judgment rate parameter, the missed judgment rate parameter, and the matching rate parameter. The index parameter may also include other customized parameters and the weights of the corresponding customized parameters. Generally speaking, the over-judgment rate parameter, the missed judgment rate parameter, and the matching rate parameter should be as large as possible, that is, the smaller the over-judgment rate and the missed judgment rate of the electronic device, the better, and the larger the matching rate, the better, which also means that the judgment of the electronic device is more correct. Therefore, the index parameter Fi obtained after adding the over-judgment rate parameter R1, the missed judgment rate parameter R2, and the matching rate parameter R3 is as large as possible. However, taking the above formula (1) as an example, the weights of the over-judgment rate parameter R1, the under-judgment rate parameter R2 and the matching rate parameter R3 may also be related to the industry in which the electronic device is applied.

[0023] In the LED industry, the over-judgment rate parameter R1, the under-judgment rate parameter R2, and the matching rate parameter R3 are usually set to have similar weights. For example, w1, w2, and w3 can be set to 0.3, 0.3, and 0.4, respectively. One possible reason is that in the product line of the LED industry, it is hoped that the detection results of the electronic equipment can meet the standard definition framework. In the solar energy industry, in order to increase the output of good products, the matching rate is relatively unimportant, but it is important to ensure that over-judgment and under-judgment do not occur. Based on this, in terms of weighing the power generation efficiency and construction cost, w1, w2, and w3 can be set to 0.6, 0.4, and 0, respectively. It can be seen that the solar energy industry does not attach much importance to the matching rate parameter R3. On the other hand, in the semiconductor industry, it is relatively more important to ensure that the product is flawless, that is, it is better to over-judgment than under-judgment, so w1, w2, and w3 can be set to 0.1, 0.7, and 0.2, respectively. It can be seen that the semiconductor industry attaches relatively much importance to the under-judgment rate parameter R2. Of course, this embodiment does not limit each industry to be set according to the above-mentioned weight distribution. Those with general knowledge in the relevant technical field can set the weight distribution according to the needs of each industry.

[0024] Next, in step S14 of the method for automatically adjusting the electronic device, it is determined whether the index parameter Fi corresponding to the first parameter combination reaches the set target value. As mentioned above, according to the above formula (1), the index parameter Fi should be as large as possible. In this embodiment, a set target value can be given to determine whether the index parameter Fi is large enough. When the index parameter Fi reaches the set target value, in step S16, the first parameter combination corresponding to the index parameter Fi is set as the best parameter combination. In practice, the index parameter Fi reaches the set target value, indicating that the electronic device uses the first parameter combination to judge the test image (sample image) with a high accuracy, so that the first parameter combination can be regarded as the best parameter combination. On the contrary, when the index parameter Fi corresponding to the first parameter combination does not reach the set target value, in step S18, the first parameter combination is adjusted according to the algorithm to generate a new parameter combination (second parameter combination). In an example, the algorithm can be a Newton algorithm, a genetic algorithm, or a traversal algorithm, etc., which is not limited in this embodiment.

[0025] Similar to the first parameter combination, the second parameter combination is also associated with at least one optical detection parameter (second optical detection parameter) and at least one automation script (second automation script). In one example, the first optical detection parameter and the second optical detection parameter can be pre-recorded in the optical detection parameter database. Of course, the second parameter combination should be different from the first parameter combination, and the algorithm is to select one or more different optical detection parameters from the optical detection parameter database. Then, the electronic device will judge the aforementioned multiple test images (sample images) again with the second parameter combination, and classify the test images that the electronic device considers qualified and unqualified again. As mentioned above, since it is known whether each test image is actually qualified, the over-judgment rate, missed judgment rate and matching rate of the electronic device, as well as the new over-judgment rate parameter R1, missed judgment rate parameter R2 and matching rate parameter R3 can be obtained when the second parameter combination is used. In addition, the new over-judgment rate parameter R1, missed judgment rate parameter R2 and matching rate parameter R3 will also be substituted into formula (1) to obtain the new index parameter Fi (corresponding to the index parameter of the second parameter combination). And, it will continue to determine whether the index parameter Fi corresponding to the second parameter combination reaches the set target value. Those with ordinary knowledge in the relevant technical field will know that the above steps S10 to S14 will be repeated until the index parameter corresponding to a set of parameter combinations reaches the set target value (entering step S16).

[0026] Of course, this embodiment does not limit the only stopping condition that a set of parameter combinations reaches the set target value in step S16. For example, when steps S10 to S14 are repeated too many times, or the number of times the algorithm is executed reaches the upper limit, the electronic device will find the index parameter closest to the set target value from the index parameters that have been calculated. In addition, the electronic device will be able to set the group of parameter combinations corresponding to the index parameters closest to the set target value as the optimal parameter combination. Of course, this embodiment does not exclude that the electronic device can directly set the current parameter combination as the optimal parameter combination, or directly stop and pop up a warning without setting the optimal parameter combination. In addition, when the number of times the algorithm is executed has not reached the upper limit, the cycle of steps S10 to S14 can be continued, and the parameter combination can be continued to be adjusted until the index parameters corresponding to a certain group of parameter combinations reach the set target value.

[0027] Another possibility is that, assuming that the algorithm has not found any parameter combination that has not been tried, for example, the third parameter combination cannot be different from the first parameter combination and the second parameter combination, indicating that there is no need to continue to repeat the cycle of steps S10 to S14. As in the previous example, at this time, the electronic device can find the indicator parameters that are closest to the set target value from the indicator parameters that have been calculated. In addition, the electronic device can set the group of parameter combinations corresponding to the indicator parameters that are closest to the set target value as the optimal parameter combination. Of course, this embodiment does not exclude that the electronic device can directly set the last group of parameter combinations as the optimal parameter combination, or does not set the optimal parameter combination but directly stops and pops up a warning.

[0028] In summary, unlike the traditional manual adjustment of electronic equipment, the method of automatically adjusting electronic equipment in this application can effectively simplify the process of adjusting electronic equipment, allowing the electronic equipment to automatically find the best parameters. In addition to reducing the qualification requirements for engineers, allowing new engineers to quickly get started, it also saves engineers time in subsequent adjustments to electronic equipment.

[0029] The embodiments and / or implementation methods described above are only used to illustrate the preferred embodiments and / or implementation methods for realizing the technology of the present application, and are not intended to limit the implementation methods of the technology of the present application in any form. Any technical personnel in this field may make slight changes or modifications to other equivalent embodiments without departing from the scope of the technical means disclosed in the content of this application, but they should still be regarded as technologies or embodiments that are essentially the same as those of the present application.

Claims

1. A method for automatically adjusting an electronic device, applicable to an electronic device, characterized in that: The method for automatically adjusting an electronic device comprises: Generating a first parameter combination, the first parameter combination at least associated with a first optical detection parameter and a first automation script; Determining whether a plurality of test images are qualified according to the first parameter combination, and calculating a first index parameter; Determining whether the first indicator parameter reaches a set target value; When the first indicator parameter reaches the set target value, setting the first parameter combination corresponding to the first indicator parameter as an optimal parameter combination; as well as When the first indicator parameter does not reach the set target value, adjusting the first parameter combination according to an algorithm to generate a second parameter combination; wherein the second parameter combination is different from the first parameter combination; The first automated script defines the degree or proportion of adjusting the first optical detection parameter each time, or the adjustable range of the first optical detection parameter; The step of determining whether the test images are qualified according to the first parameter combination and calculating the first indicator parameter further includes: Determine whether the test images are qualified according to the first parameter combination to generate at least one pass rate parameter, one miss rate parameter or one match rate parameter; multiply the pass rate parameter, the miss rate parameter or the match rate parameter by a first weight to generate the first indicator parameter; Calculating a second indicator parameter according to the second parameter combination; as well as Determine whether the second indicator parameter reaches the set target value.

2. The method for automatically adjusting an electronic device according to claim 1, characterized in that: Also includes: Determining whether there is a third parameter combination, the third parameter combination being different from the first parameter combination and the second parameter combination; When the third parameter combination does not exist, determining that the first indicator parameter or the second indicator parameter is closer to the set target value; as well as The first parameter combination or the second parameter combination corresponding to the first indicator parameter or the second indicator parameter closer to the set target value is set as the optimal parameter combination.

3. The method for automatically adjusting an electronic device according to claim 1, characterized in that: The second parameter combination is at least associated with a second optical detection parameter and a second automation script.

4. The method for automatically adjusting an electronic device according to claim 3, characterized in that: The first optical detection parameter and the second optical detection parameter are selected from an optical detection parameter database.

5. The method for automatically adjusting an electronic device according to claim 1, characterized in that: Also includes: Determine whether the number of times the algorithm is executed reaches an upper limit; When the number of times the algorithm is executed reaches the upper limit, determining that the first indicator parameter or a second indicator parameter is closer to the set target value; as well as The first parameter combination or the second parameter combination corresponding to the first indicator parameter or the second indicator parameter that is closer to the set target value is set as the optimal parameter combination.

6. The method for automatically adjusting an electronic device according to claim 1, characterized in that: The algorithm is a Newton algorithm, a genetic algorithm or a transversal algorithm.