| Literature DB >> 34815490 |
Ce Guo1, Xiao-Ling Lv2, Yan Zhang1, Ming-Lu Zhang1.
Abstract
In the electronics industry environment, rapid recognition of objects to be grasped from digital images is essential for visual guidance of intelligent robots. However, electronic components have a small size, are difficult to distinguish, and are in motion on a conveyor belt, making target detection more difficult. For this reason, the YOLOv4-tiny method is used to detect electronic components and is improved. Then, different network structures are built for the adaptive integration of middle- and high-level features to address the phenomenon in which the original algorithm integrates all feature information indiscriminately. The method is deployed on an electronic component dataset for validation. Experimental results show that the accuracy of the original algorithm is improved from 93.74 to 98.6%. Compared with other current mainstream algorithms, such as Faster RCNN, SSD, RefineDet, EfficientDet, and YOLOv4, the method can maintain high detection accuracy at the fastest speed. The method can provide a technical reference for the development of manufacturing robots in the electronics industry.Entities:
Year: 2021 PMID: 34815490 PMCID: PMC8611011 DOI: 10.1038/s41598-021-02225-y
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.379
Figure 1Robot vision system in the electronics manufacturing industry. First, a CCD industrial camera is used to collect images of electronic components, then algorithms are used to perform two-dimensional detection of electronic components. Lastly, three-dimensional reconstruction of the obtained two-dimensional classification and positioning information is performed to obtain the corresponding trajectory.
Figure 2BCE curve comparison before and after improvement.
Figure 3C-YOLOv4 loss function. S × S is the number of grid points, and M is the number of anchor boxes on each grid. corresponds to whether a target is present in the grid (existence is 1, otherwise it is 0), is the opposite, and is used to balance positive and negative samples. The anchor box corresponding to each grid has a confidence level .
Figure 4YOLOv4-tiny architecture.
Figure 5Improved YOLOv4-tiny architecture. Only the MAM is added, and the rest of the network structure remains unchanged. The structure of CSPdarknet53 adopts the original YOLOv4-tiny network structure.
Figure 6DCA module. Only the corresponding weight is applied to the original feature layer, and the size of the feature layer has not changed, so it can be directly transplanted to the YOLOv4-tiny network.
Figure 7BNCA module. The attention mechanism is applied to each channel through the Global Average Pooling and sigmoid functions, and the size of the feature layer is not changed in the end.
Figure 8Data set collection. (a) A target detection platform was built to simulate an industrial environment. (b) The electronic components were placed and the data set was collected.
Categories and usages of the electronic components.
| Category | Sample image | Size (mm) | Aspect ratio | Function |
|---|---|---|---|---|
| Electric resistance |
| 26*2.5 | 10.4 | Resistance is a current-limiting element, usually two pins. When the resistance is connected to the circuit, it can limit the current through the branch to which it is connected |
| Capcitance |
| 38*4.5 | 8.44 | Capacitances’ positive electrode is metal foil (Al or Ta), closed to the electrolyte, which is oxide film (Al2O3 or Ta2O3), and its cathode is composed of conductive material, electrolyte (electrolyte can be liquid or solid) and other materials. Its role in the circuit is stop direct current while passing through alternating current |
| DC plug |
| 18*10.5 | 1.71 | The DC plug is widely used in various audio-visual equipment, digital cameras, toys, mobile phones, notebook computers, MP3, MP4, DV, radio tape recorders, telephones, repeaters, emergency lights, televisions, massagers, headphones, household appliances and power tools |
| Film capacitor |
| 28*9 | 3.11 | The film capacitor is a capacitor with excellent performance, and has good characteristics of no polarity, high insulation resistance, excellent frequency characteristic (wide frequency response), and small dielectric loss |
| Micro Mot |
| 32*12 | 2.67 | Micro motor refers to a motor with a diameter less than 160 mm or a rated power less than 750 mW. Micromotors are often used in control systems or transmission mechanical loads to realize electromechanical signals or energy detection, analytical operations, amplification, execution, or conversion functions |
| Photoresistance |
| 28*3.5 | 8 | The photoresistance is a special resistor made of a semiconductor material such as a sulfide or a selenide, the working principle of which is based on the internal photoelectric effect. The stronger the illumination, the less the resistance |
| Tantalum capacitor |
| 18*5 | 3.6 | The tantalum capacitor is an electrolytic capacitor with a small volume and large capacitance. It has a wide working temperature range and high specific capacity, so it is especially suitable for miniaturization |
| IC chip |
| 9*7 | 1.29 | The IC chip is an integrated circuit formed by a large number of microelectronic components (transistors, resistors, capacitors, etc.) on a plastic base to form a chip. Thus, the electronic component achieves a big step forward in the aspects of miniaturization, low power consumption and high reliability |
| Battery |
| 16*7 | 2.29 | The battery is a device that converts chemical energy into electric energy. Using the battery as the energy source, we can obtain a current with stable voltage, current, stable and power supply for a long time, and minimal influence by the outside world |
| Slide switch |
| 23.5*15 | 1.57 | The switch is the operation unit that uses electronic circuit and power electronic device to turn the circuit on and off |
| Luminous diode |
| 34*3 | 11.33 | The light-emitting diode acts as indicator lights or forms text or digital display in circuits and instruments |
| Quartz piezoelectric resonator |
| 26*9.5 | 2.73 | The quartz crystal resonator has the characteristics of stable and good anti-interference performance |
| Ceramics piezoelectric resonator |
| 15*13 | 1.15 | The ceramic crystal resonator is a frequency component of the piezoelectric ceramic class. Its main function is to convert the electric energy in the circuit into mechanical energy to produce a predetermined stable frequency |
| 7 segment LED |
| 20*12 | 1.67 | The nixie light is an electronic device that can display digital and other information. Most cathodes of the nixie light are in the shape of numbers. The tube is filled with low-pressure gas, most of which is neon. To charge a cathode, the nixie light emits a colored light |
| Inductors |
| 22*3.5 | 6.29 | The inductor is a group of coaxial turns made of enameled wire, yarn-wrapped wire, or plastic wire in series on an insulated skeleton or magnetic core. Its main function is to isolate the AC signal, filter or form resonant circuit with capacitor, resistor, and so on |
| Fuse |
| 17*2.5 | 6.8 | The fuse acts as overload protection and protects the safe operation of the circuit |
| Crystal triode |
| 25*7.5 | 3.33 | The crystal triode transistor is a semiconductor device that controls the current. Its function is to amplify the weak signals into electric signals with a large amplitude value, and it is also used as a contactless switch |
| Field-effect transistor |
| 28*9 | 3.11 | The field-effect transistor is a voltage-controlled semiconductor device. It has the advantages of high input resistance (107–1015 Ω), low noise, low power consumption, large dynamic range, easy integration, no secondary breakdown phenomenon, and wide safe working area |
| USB connector |
| 19*16 | 1.19 | Universal Serial Bus (USB) is a serial bus standard and a technical specification for input and output interfaces. It is widely used in information communication products such as personal computers and mobile devices, and extends to photographic equipment and digital TVs (set-top boxes), game consoles, and other related fields |
| Pin header |
| 25*10 | 2.5 | Pin headers are generally widely used in the connection of PCB boards and are known as universal connectors.It generally paired with headers, wire ends, and other connectors |
The effect of γ and β on accuracy.
| Map | β | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| None | 0.9 | 0.8 | 0.7 | 0.6 | 0.5 | 0.4 | 0.3 | 0.2 | 0.1 | |
| None | 93.94 | 93.25 | 93.92 | 93.19 | 94.10 | 94.32 | 94.56 | 94.71 | 94.11 | 90.46 |
| 1.1 | 94.25 | 94.31 | 93.86 | 93.95 | 94.58 | 94.67 | 94.87 | 94.92 | 94.51 | 91.56 |
| 1.2 | 93.27 | 93.48 | 94.15 | 93.15 | 93.77 | 94.06 | 94.22 | 94.36 | 93.82 | 91.17 |
| 1.3 | 94.19 | 94.35 | 94.18 | 94.08 | 94.37 | 94.72 | 95.02 | 95.21 | 94.31 | 92.36 |
| 1.4 | 94.54 | 94.23 | 95.33 | 94.42 | 94.88 | 95.13 | 95.25 | 95.33 | 94.51 | 92.87 |
| 1.5 | 95.27 | 94.86 | 95.62 | 95.21 | 95.52 | 95.79 | 95.85 | 95.83 | 94.19 | |
| 1.6 | 93.56 | 93.21 | 93.79 | 93.05 | 94.02 | 94.29 | 94.33 | 94.89 | 94.01 | 92.48 |
| 1.7 | 94.71 | 95.11 | 95.18 | 94.56 | 94.87 | 94.95 | 95.17 | 95.36 | 94.85 | 92.84 |
| 1.8 | 94.63 | 94.57 | 94.68 | 94.45 | 94.75 | 94.81 | 95.11 | 95.23 | 94.77 | 92.63 |
| 1.9 | 92.46 | 93.04 | 93.52 | 92.37 | 93.19 | 93.55 | 93.82 | 94.07 | 93.84 | 91.27 |
Maximum values are in bold.
Evaluation results on the test set.
| Method | Parameters (M) | FLOPs (B) | mAP (%) | FPS |
|---|---|---|---|---|
| YOLOv4-tiny | 5.88 | 6.9 | 93.94 | 67 |
| C-YOLOv4 | 5.88 | 6.9 | 95.92 | |
| DCA | 6.11 | 7.2 | 95.37 | 64.7 |
| BNCA | 5.92 | 7.0 | 96.12 | 65 |
| C-YOLOv4 + MAM | 6.15 | 7.4 | 64.8 |
Maximum values are in bold.
Figure 9Comparison of accuracy with other advanced algorithms.
Figure 10Comparison of efficiency with other advanced algorithms.
Figure 11Inspection results of electronic components.