CN114463331A - Automatic generation method and device for printed circuit board AOI maintenance report - Google Patents

Automatic generation method and device for printed circuit board AOI maintenance report Download PDF

Info

Publication number
CN114463331A
CN114463331A CN202210377589.1A CN202210377589A CN114463331A CN 114463331 A CN114463331 A CN 114463331A CN 202210377589 A CN202210377589 A CN 202210377589A CN 114463331 A CN114463331 A CN 114463331A
Authority
CN
China
Prior art keywords
interactive object
defect
printed circuit
circuit board
interactive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210377589.1A
Other languages
Chinese (zh)
Inventor
李清华
刘竹
牟玉贵
胡志强
杨海军
邓岚
孙洋强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Vocational and Technical College
Inno Circuits Ltd
Original Assignee
Sichuan Vocational and Technical College
Inno Circuits Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Vocational and Technical College, Inno Circuits Ltd filed Critical Sichuan Vocational and Technical College
Priority to CN202210377589.1A priority Critical patent/CN114463331A/en
Publication of CN114463331A publication Critical patent/CN114463331A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30141Printed circuit board [PCB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

A method and a device for automatically generating an AOI maintenance report of a printed circuit board are disclosed, wherein the method comprises the following steps: when a defect position is detected, recording a material number and a defect position coordinate; acquiring and displaying a circuit board amplified image of a region corresponding to the defect position coordinates, and simultaneously displaying a first interactive object region on a display interface, wherein a plurality of first interactive objects and a second interactive object are arranged in the first interactive object region; responding to the interactive operation of a user on the first interactive object area, and recording the defect name corresponding to the first interactive object in the second state when the second interactive object and at least one first interactive object are changed from the first state to the second state; continuously carrying out the operation on the amplified image corresponding to each defect position; and after a batch of circuit boards are overhauled, storing and outputting the recorded material number, defect position coordinates, defect names and corresponding relations thereof in a table form. The method avoids the possible missing and error of manual paper recording and manual input, and automatically records and generates a statistical statement.

Description

Automatic generation method and device for printed circuit board AOI maintenance report
Technical Field
The application relates to the technical field of printed circuit board detection, in particular to a method and a device for automatically generating an AOI maintenance report of a printed circuit board.
Background
The existing AOI (automatic Optical Inspection) scanning of the printed circuit board is to compare a product with original data after photographing by an image comparison technology, report a coordinate point of a defective circuit board product, transmit the defective circuit board product to an overhauling machine through a host, enable the overhauling machine to carry out coordinate positioning, automatically move the circuit board below a lens capable of being amplified for manual observation, and repair or scrap poor products. In order to facilitate quality management, poor statistics is usually performed on defects of a circuit board, and analysis is conveniently provided for abnormal improvement of the circuit board. Therefore, the production efficiency of operators is influenced, and the problems of missing record and error record are easy to occur, so that the statistical data is distorted.
Disclosure of Invention
In order to solve the defects of the prior art, the application provides a method and a device for automatically generating an AOI maintenance report of a printed circuit board, which can automatically record the material number, the position coordinates and the name of the defective circuit board and the corresponding relation of the material number, the position coordinates and the name of the defective circuit board according to simple interactive operation, automatically generate a statistical report, avoid the possibility of missing errors caused by manual paper recording and improve the detection efficiency of the printed circuit board.
In order to achieve the above object, the present invention employs the following techniques:
a method for automatically generating an AOI maintenance report of a printed circuit board comprises the following steps:
s100, recording the material number and the coordinates of each defect position of the current printed circuit board to be detected when at least one defect position is detected according to the AOI scanning result of the current printed circuit board to be detected;
s200, acquiring amplified images of the printed circuit board in areas corresponding to the defect position coordinates, wherein one defect position coordinate corresponds to one amplified image;
s300, sequentially displaying each amplified image on a display interface of display equipment, and displaying a first interactive object area on the display interface aiming at the display of each amplified image, wherein a plurality of first interactive objects and a second interactive object are displayed in the first interactive object area, and each first interactive object corresponds to a different defect name;
s400, responding to the interactive operation of a user on a first interactive object area according to the currently displayed enlarged image, and recording the defect name corresponding to the first interactive object in the second state when the second interactive object and at least one first interactive object are changed from the first state to the second state;
s500, judging whether the currently displayed amplified image is the last amplified image of the current printed circuit board to be detected:
if so, clearing the display of the display interface, and starting to execute S100 on the next printed circuit board to be tested until the printed circuit boards of one batch are overhauled;
if not, displaying the next magnified image on the display interface as the currently displayed magnified image, initializing both the first interactive object and the second interactive object in the first interactive object area to the first state, and executing S400 again;
s600, after the printed circuit boards of a batch are overhauled, the recorded material numbers, defect position coordinates, defect names and corresponding relations are stored and output in a table form, wherein one material number corresponds to a plurality of defect position coordinates, and one defect position coordinate corresponds to a plurality of defect names.
Further, a third interactive object is displayed in the first interactive object area;
in S400, in response to the interactive operation of the user on the first interactive object region according to the currently displayed enlarged image, when the third interactive object is changed from the first state to the second state, displaying the second interactive object region in the display interface, wherein a plurality of fourth interactive objects are displayed in the second interactive object region, and the fourth interactive objects are character input boxes for the user to input defect names;
and when the second interactive object is changed from the first state to the second state, and at least one first interactive object is changed from the first state to the second state, and/or at least one fourth interactive object has a defect name input by a user, recording the defect name corresponding to the first interactive object in the second state, and/or the defect name in the fourth interactive object.
Further, in S400, the user refers to an operator authenticated by an operation authority, and the operation authority authentication includes the steps of: acquiring a face image of a current operator and identifying, wherein if the identification result can find a matched face image in a prestored face library of an authenticator, the authentication passes the operation authority authentication, and if the matching is not found, the authentication does not pass the operation authority authentication;
when the operation authority authentication is not passed, all objects of the display interface are always kept in a first state, and the current interactive operation of an operator cannot be responded;
in S400, when recording the defect name, recording the name of the user and the current operation time together; each face picture in the authenticator face library and each name in a prestored authenticator name library have a one-to-one corresponding relationship; the name is a name which is searched from the name library and corresponds to the matched face picture; the current operation time comprises current year, month, day, hour, minute and second information; in S600, the name and the operation time are also generated in the table.
An automatic generating device of a printed circuit board AOI maintenance report comprises:
the first recording module is used for recording the material number and the coordinates of each defect position of the current printed circuit board to be detected when at least one defect position is detected according to the AOI scanning result of the current printed circuit board to be detected;
the image module is used for acquiring amplified images of the printed circuit board in the areas corresponding to the defect position coordinates, and one defect position coordinate corresponds to one amplified image;
the display module is used for sequentially displaying each amplified image on a display interface of the display equipment, and displaying a first interactive object area on the display interface aiming at the display of each amplified image, wherein a plurality of first interactive objects and a second interactive object are displayed in the first interactive object area, and each first interactive object corresponds to a different defect name;
the second recording module is used for responding to the interactive operation of a user on the first interactive object area according to the currently displayed enlarged image, and recording the defect name corresponding to the first interactive object in the second state when the second interactive object and at least one first interactive object are changed from the first state to the second state;
the judging module is used for judging whether the currently displayed amplified image is the last amplified image of the current printed circuit board to be detected:
if so, the display module clears the display of the display interface, and the first recording module starts to process the next printed circuit board to be tested until the printed circuit boards of one batch are overhauled;
if not, enabling the display module to display the next amplified image on the display interface as the currently displayed amplified image, initializing the first interactive object and the second interactive object in the first interactive object area to be in the first state, and executing the second recording module again;
and the report output module is used for storing and outputting the recorded material number, defect position coordinates, defect names and corresponding relations thereof in a table form after the printed circuit boards of a batch are overhauled, wherein one material number corresponds to a plurality of defect position coordinates, and one defect position coordinate corresponds to a plurality of defect names.
Further, the display module is further configured to display a third interactive object in the first interactive object region, respond to an interactive operation of a user on the first interactive object region according to the currently displayed enlarged image, and display a second interactive object region in the display interface when the third interactive object changes from the first state to the second state, where a plurality of fourth interactive objects are displayed in the second interactive object region, and the fourth interactive objects are text input boxes for the user to input defect names; the second recording module is used for recording the defect name corresponding to the first interactive object in the second state and/or the defect name in the fourth interactive object when the second interactive object is changed from the first state to the second state, and at least one first interactive object is changed from the first state to the second state, and/or at least one fourth interactive object has the defect name input by the user.
An electronic device, comprising: the device comprises at least one processor and a memory, wherein the memory stores computer execution instructions, and when the at least one processor executes the computer execution instructions stored in the memory, the at least one processor is enabled to execute the automatic generation method of the AOI overhaul report of the printed circuit board.
A computer readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program controls equipment where the storage medium is located to execute the automatic generation method of the AOI overhaul report of the printed circuit board.
The invention has the beneficial effects that:
1. the material number, the position coordinate and the name of the defect circuit board and the corresponding relation of the material number, the position coordinate and the name of the defect circuit board can be automatically recorded through simple interactive operation, and a statistical report is automatically generated for storage, so that the output display or the printing are convenient, the possible error leakage caused by manual paper recording and manual input is avoided, the detection/maintenance efficiency of the printed circuit board is improved, and the statistical summary is convenient;
2. by additionally arranging other defect self-defining input modes, when unconventional defect items are encountered in actual scanning, a second interactive object area can be called, and the self-defining defect name is input in a fourth interactive object so as to be convenient for recording, so that the adaptability of the scheme of the application is improved;
3. by adding the authority authentication of the operator, the responded interactive operation can be ensured to be the operation performed by the authenticated user, and the operation performed by non-post personnel is avoided; further, the identification information is displayed through a green light band and a red light band, so that the current operator can obtain the indication of the identification result conveniently;
4. through automatic recording and statistics, a plurality of defect position coordinates corresponding to one material number and one or more defect types corresponding to the coordinates can be conveniently counted, and statistical data is further conveniently formed to provide support for production.
Drawings
FIG. 1 is a flowchart of an overall method of an embodiment of the present application.
Fig. 2 is a display example of a display interface according to an embodiment of the present application.
Fig. 3 is a display example of a first interactive object area according to an embodiment of the present application.
Fig. 4 is another display example of the first interactive object area according to the embodiment of the present application.
Fig. 5 is another example of a display of the first interactive object region according to the embodiment of the present application.
Fig. 6 is another display example of a display interface according to an embodiment of the present application.
Fig. 7 is a display example of a second interactive object region according to an embodiment of the present application.
Fig. 8 is a block diagram of an apparatus according to an embodiment of the present application.
Fig. 9 is a table example one formed in an embodiment of the present application.
Fig. 10 is a table example two formed in the embodiment of the present application.
FIG. 11 is a schematic diagram of a display device with optical tape according to an embodiment of the present application.
Fig. 12 is a block diagram of a preferred structure of the apparatus according to the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the following detailed description of the embodiments of the present invention is provided with reference to the accompanying drawings, but the described embodiments of the present invention are a part of the embodiments of the present invention, not all of the embodiments of the present invention.
In the prior art, the conventional AOI scanning maintenance statistical method at present is that an operator manually records position coordinates of defects and circuit board material numbers on paper according to the condition after AOI scanning, then judges the defect type according to an enlarged defect position image, and continuously records on the paper; after the overhaul of a batch is completed, the recorded paper is handed over to the next operator or the current operator, the records are sequentially input into a computer and recorded in an electronic form, so that the efficiency is low, the conditions of omission, cross recording, confusion recording and the like exist, the rework probability is increased, and the efficiency of the detection link is not improved.
One aspect of the embodiment of the application provides an automatic generation method for an AOI maintenance report of a printed circuit board, which is used for realizing defect statistics of the printed circuit board which completes AOI scanning, and is realized through a computer program, and an operator or a user only needs to select a corresponding defect name on a display interface according to an amplified defect image. As shown in fig. 1, the method of the present example includes the steps of:
s100, recording the material number and the coordinates of each defect position of the current printed circuit board to be detected when at least one defect position is detected according to the AOI scanning result of the current printed circuit board to be detected; the method mainly comprises the steps of utilizing a program to judge and record whether the printed circuit board has a defect, recording the material number and the coordinates of the defect position if the printed circuit board has the defect, ending the process if the printed circuit board has no defect, and executing S100 on the next printed circuit board.
The defect position coordinate is a coordinate with a certain vertex angle, or the center in the length and width directions of the printed circuit board to be detected as the origin of coordinates, and the defect position is equivalent to the coordinate of the origin of coordinates. In the process, if the circuit board only has one defect position coordinate, the material number of the circuit board is recorded, for example, YCL-DC-001, and the defect position coordinate is recorded, for example, the coordinate origin is the lower left corner of the circuit board, and the defect position coordinate is (32.04, 21.13) in mm. If the circuit board has two defects, the material number YCL-DC-002 is recorded, and two defect position coordinates (12.34, 51.33), (26.53, 34.06) are recorded at the same time.
S200, amplifying the printed circuit board image in the area corresponding to each defect position coordinate, wherein the image of the whole printed circuit board is acquired through AOI scanning, and the amplified image of the defect position is conveniently presented on a display interface of display equipment for a user/an operator to confirm/record the defect type. Wherein one defect position coordinate corresponds to one enlarged image. The defect location coordinate corresponding region is a circular region having a predetermined radius range with the defect location coordinate as a center, or a regular polygon region having a predetermined side length, or a rectangular region having a predetermined length and width, and generally, a rectangular region such as a square or a rectangle is often used.
S300, sequentially displaying the amplified images on a display interface of the display device, and displaying a first interaction object area on the display interface aiming at the display of each amplified image, wherein the first interaction object area is a defect name selection area, so as to form a mode for a user to observe and analyze and select and confirm defect types. As shown in fig. 2, on the display interface 101 of the display apparatus 100, an enlarged image is displayed, and a first interaction object region 200 is displayed in the lower right corner of the display interface 101. Specifically, the first interaction object area 200 may also be displayed in the lower left corner, or the upper right corner of the display interface 101, and may be set according to the operation habit of the user. The first interaction object region 200 covers the magnified image displayed on the display interface 101, and generally, the area occupied by the first interaction object region 200 is not too large, so as to avoid the influence of shielding the magnified image on defect judgment and recording, and the area occupied by the first interaction object region 200 on the display interface 101 is not more than 1/8, so that a user can conveniently judge the defect according to the magnified image displayed in the main region of the display interface 101.
Specifically, as shown in fig. 3, a plurality of first interactive objects 201 and a second interactive object 202 are displayed in the first interactive object area 200, each first interactive object 201 corresponds to a different defect name, and the second interactive object 202 may be an "ok" button. In fig. 3, it can be seen that 6 first interactive objects 201 are displayed in the first interactive object area 200, and correspond to different defect names: the notch, the missing weld, the wiping, the residual copper, the short circuit and the pinhole. The first interactive object 201 and the second interactive object 202 both have two states, and are displayed as a convex state when not selected by the user in the first state, and are displayed as a concave state when selected by the user in the second state; a circular or square checkbox may be provided on one of the top, bottom, left, and right sides of each interactive object, the checkbox being filled in when the checkbox is not selected in the first state, and filled in when the checkbox is selected in the second state.
Specifically, the user may touch the position of the display interface 101 of the display device 100 corresponding to each interactive object, and touch and click once, that is, change the state of the interactive object once; or when the user moves the mouse pointer to the position of each interactive object through mouse operation, the state of the interactive object can be changed by clicking the left button of the mouse once, so that the reset after selection or wrong selection is facilitated.
S400, after a user judges the defect type/name according to the currently displayed enlarged image, selects the corresponding defect name in the first interactive object 201 and selects 'confirm' of the second interactive object 202, the defect name corresponding to the first interactive object 201 in the second state is recorded in response to the change from the first state to the second state of the second interactive object 202 and the first interactive object 201. As shown in fig. 4, it can be seen that the "notch" and the "pinhole" in the first interactive object 201 are selected and displayed as the second-state recess, and at the same time, the "confirmation" of the second interactive object 202 is selected and displayed as the second-state recess, the circuit board recording the current material number (for example, YCL-DC-001) has two defects, i.e., the "notch" and the "pinhole" at the current defect position coordinates (32.04, 21.13).
S500, judging whether the currently displayed amplified image is the last amplified image of the current printed circuit board to be detected:
if so, indicating that all defect positions of the current printed circuit board are selected and the defect names are recorded, clearing the display of the display interface 101, skipping to S100, and starting to execute S100 on the next printed circuit board to be tested until the printed circuit boards of one batch are repaired;
if not, it indicates that the current printed circuit board has defect names of other defect positions to be selected and recorded, a next enlarged image (i.e., of another defect position of the circuit board) is displayed on the display interface 101 as a currently displayed enlarged image, the first interactive object 201 and the second interactive object 202 of the first interactive object area 200 are both initialized to the first state, so that the user can judge a new enlarged image again and make a selection in the first interactive object area 200, and S400 is executed again.
In the case of a current printed circuit board having more than one defect position, for example, two, such as the printed circuit board with the material number of YCL-DC-002 as exemplified above, there are two defect position coordinates (12.34, 51.33), (26.53, 34.06). Through the first pass of S300-S400, the defect recorded at the first defect position coordinate (12.34, 51.33) is 'scratch'. At this time, it is determined in S500 that the last magnified image is not the last magnified image, because there is a magnified image corresponding to the second defect position coordinate (26.53, 34.06), the magnified image corresponding to the coordinate (26.53, 34.06) replaces/covers the currently displayed image on the display interface 101 as the currently displayed magnified image, and at the same time, the first interactive object 201 and the second interactive object 202 in the first interactive object region 200 are both initialized to the first state, that is, the previously selected objects are both reset to the unselected state, such as the protruding state. Then, S400 is executed, after the user selects corresponding defect names, such as "short" and "pinhole", and selects "confirm", the printed circuit board with the material number YCL-DC-002 is recorded, and the defects at the defect position coordinates (26.53, 34.06) are "short" and "pinhole". Then, the processing of all the defective positions of the material number circuit board is completed, and the process jumps back to S100 to execute the processing of the next circuit board of the same batch.
S600, after the printed circuit boards of a batch are overhauled, the recorded material numbers, defect position coordinates, defect names and corresponding relations are stored and output in a table form, wherein one material number corresponds to a plurality of defect position coordinates, and one defect position coordinate corresponds to a plurality of defect names.
As shown in fig. 9, an example of a table is formed, in which the material number YCL-DC-001 has one defect and two defect position coordinates (32.04, 21.13), and the defect names have "notch" and "pinhole", respectively; the material number YCL-DC-002 has two defects, the defect at (12.34, 51.33) is 'scratch', and the defect at (26.53, 34.06) is 'short circuit' and 'pinhole'.
When the table is formed, each defect position coordinate may correspond to one row, and the defect name may have a plurality of columns, each column displaying one defect name. If one material number has a plurality of defect position coordinates, displaying a plurality of lines according to the defect position coordinates, wherein the material number of each line is the material number; the defect name is displayed by filling from the first column of the defect name column, and if the current defect position coordinates have a plurality of names, the defect names are displayed by filling in the defect name column in sequence.
After the defect tables of the circuit boards in a batch are generated, the defect positions corresponding to each material number can be automatically calculated according to the statistical conditions in the tables, and each defect position corresponds to several defect types; for example, when one material number has multiple rows, the units where the material numbers are located can be combined; and two columns are added in the subsequent columns of the table: one column is the number of defect positions, and one column is the number of defect types, which can be automatically calculated by a program according to the table filling condition. Through the display of the number of defect positions and the number of defect types of each material number, more statistical conclusions can be provided for a generation manager, and the production support is provided.
In practical applications, a new defect form may occur, i.e. the preset type of the second interactive object 202 cannot meet the requirement, and the new defect form cannot find a suitable option in the second interactive object 202. To this end, the present example proposes the following preferred solutions:
as shown in fig. 5, a third interactive object 203 is also displayed in the first interactive object area 200; the third interactive object 203 corresponds to an "other defect" button.
Thus, in S400, in response to the user' S interaction with the first interactive object region 200 according to the currently displayed magnified image, when the third interactive object 203 changes from the first state to the second state, that is, "other defects" are selected, the defects indicated by the currently listed second interactive object 202 cannot meet the requirement, special or rare defect forms are encountered, or defect types that need to be manually defined are selected, and the second interactive object region 300 is displayed in the display interface 101, as shown in fig. 6, the size of the second interactive object region 300 is equivalent to the size of the first interactive object region 200, and a frame can be shared therein, and the position does not obscure the analysis and observation of the magnified image. As shown in fig. 7, a plurality of fourth interactive objects 301 are displayed in the second interactive object area 300, and the fourth interactive objects 301 are text input boxes for users to input defect names.
Thus, when the second interactive object 202 changes from the first state to the second state, and at least one first interactive object 201 changes from the first state to the second state, and/or at least one fourth interactive object 301 has a defect name input by the user, the defect name corresponding to the first interactive object 201 in the second state and/or the defect name in the fourth interactive object 301 are recorded.
For example, in fig. 7, if the user inputs "poor exposure" in one fourth interactive object 301 and "poor etching" in another fourth interactive object 301, the defect name corresponding to the current defect position coordinate is recorded as "poor exposure" and "poor etching" if the user clicks "confirm" of the second interactive object 202. If a defect of the first interactive object 201, such as "residual copper", is also selected, the defect names corresponding to the current defect position coordinates are recorded as "residual copper", "poor exposure", and "poor etching".
In practical application, in order to avoid the defect selection operation by a person without operation authority, that is, to ensure that each post is operated by a special post specialist, an operation authority authentication link is introduced in the preferred mode of the embodiment.
In S400, the user refers to an operator authenticated by the operation authority. In the preferred embodiment, the operation authority authentication includes the steps of:
acquiring a face image of a current operator and identifying; specifically, the image can be obtained by scanning through a camera device and identified by a face image identification program;
then, comparing the recognition result with a pre-stored face library of the authenticator: if the recognition result can find out a matched face picture in a prestored face library of the authenticator, the authentication is passed; if the matching is not found, the operation authority authentication is not passed.
The operation authority authentication step is performed when the user is ready to perform an interactive operation while facing the display device.
When the operation authority authentication is not passed, all objects of the display interface are always kept in the first state, and the current interactive operation of an operator cannot be responded.
If the operation authority authentication is passed, in S400, when recording the defect name, the name of the user and the current operation time are recorded together; each face picture in the authenticator face library and each name in a prestored authenticator name library have a one-to-one corresponding relationship; the name is a name which is searched from the name library and corresponds to the matched face picture; the current operation time comprises current year, month, day, hour, minute and second information.
Finally, in S600, the name and the operation time are also generated in the table, and the correspondence relationship is formed, as shown in fig. 10.
As a further preferable scheme of the operation authority authentication, as shown in fig. 11, a circle of light band 102 is provided on the periphery of the display interface 101 of the display device 100, the light band is an LED light bar, the LED light bar is a color-changeable light bar, and two colors, green and red, are provided. If the current operation authority passes the authentication, the light band 102 is bright green, and if the current operation authority does not pass the authentication, the light band 102 is bright red, so that the current operator can be indicated by the authentication result.
Another aspect of the embodiments of the present application provides an automatic generation device for a printed circuit board AOI maintenance report, which is used to implement defect statistics on a printed circuit board that completes AOI scanning, and as shown in fig. 8, includes: the system comprises a first recording module, an image module connected with the first recording module, a display module connected with the image module, a second recording module connected with the display module, a judgment module connected with the second recording module, and a report output module connected with the judgment module, wherein the judgment module is also connected with the display module and the first recording module.
When in work:
the first recording module records the material number and the coordinates of each defect position of the current printed circuit board to be detected when at least one defect position is detected according to the AOI scanning result of the current printed circuit board to be detected. For example, the material number is YCL-DC-001, the coordinate of the defect position (the origin of the coordinate is the left lower corner of the circuit board) is (32.04, 21.13), and the unit is mm; if the circuit board has two defects, the material number is YCL-DC-002, and two defect position coordinates (12.34, 51.33), (26.53, 34.06) are recorded at the same time.
The image module acquires the amplified images of the printed circuit board in the areas corresponding to the defect position coordinates, and one defect position coordinate corresponds to one amplified image.
As shown in fig. 2, the display module is configured to sequentially display each enlarged image on the display interface 101 of the display device 100, and display a first interactive object area 200 on the display interface for each enlarged image, as shown in fig. 3, a plurality of first interactive objects 201 and a second interactive object 202 are displayed in the first interactive object area 200, where each first interactive object 201 corresponds to a different defect name, and in fig. 3, each first interactive object 201 corresponds to a different defect name: "notch", "missing weld", "wipe", "residual copper", "short circuit", "pinhole"; second interactive object 202 corresponds to an "OK" button. The first interactive object 201 and the second interactive object 202 each have two states, a first state, i.e. when not selected by the user, showing a convex state, and a second state, i.e. when selected by the user, showing a concave state.
The second recording module may respond to an interactive operation of the user on the first interactive object region 200 according to the currently displayed enlarged image, that is, when the user clicks the interactive object by touch or mouse, the state of the interactive object changes once, that is, the state may change from the first state to the second state, or from the second state to the first state. When the second interactive object 202 and at least one first interactive object 201 change from the first state to the second state, that is, the defect name is already selected, the defect name corresponding to the first interactive object 201 in the second state is recorded, as shown in fig. 4, the "gap", "pinhole", and "confirmation" are selected, and the defect names are recorded as "gap" and "pinhole".
The judging module judges whether the currently displayed amplified image is the last amplified image of the current printed circuit board to be detected:
if so, the display module clears the display of the display interface 101, and then the first recording module starts to process the next printed circuit board to be tested until the printed circuit boards of one batch are overhauled;
if not, the display module displays the next enlarged image on the display interface 101 as the currently displayed enlarged image, initializes the first interactive object 201 and the second interactive object 202 of the first interactive object area 200 to the first state, and executes the second recording module again.
And through the judgment of the judgment module and the calling of other modules according to corresponding judgment results, the defect names of all the defect positions of the current printed circuit are ensured to be selected and finished and the recording is finished, and if the defect names are not finished, the display module and the second recording module are used for continuing executing.
The report output module can store and output the recorded material number, defect position coordinates, defect names and corresponding relations thereof in a table form after the printed circuit boards of a batch are overhauled, wherein one material number corresponds to a plurality of defect position coordinates, one defect position coordinate corresponds to a plurality of defect names, and as shown in fig. 9, the report output module can perform table display on another display device or can perform printing through a printer.
As a preferred solution of this example, the display module is further configured to display a third interactive object 203 in the first interactive object area 200, as shown in fig. 5; and responding to the interactive operation of the user on the first interactive object area 200 according to the currently displayed enlarged image, when the third interactive object 203 is changed from the first state to the second state, displaying the second interactive object area 300 in the display interface 101, wherein a plurality of fourth interactive objects 301 are displayed in the second interactive object area 300, and the fourth interactive objects 301 are character input boxes for the user to input defect names. Therefore, when a new defect is faced and the defect type can be accurately extracted only by inputting the defect in a user-defined mode, the defect can be accurately defined by a user conveniently.
Thus, when the second interactive object 202 changes from the first state to the second state, and at least one first interactive object 201 changes from the first state to the second state, and/or at least one fourth interactive object 301 has a defect name input by the user, the second recording module may record the defect name corresponding to the first interactive object 201 in the second state, and/or the defect name in the fourth interactive object 301. That is, it is realized that the defect name can be defined by the fourth interactive object 301 for recording, and the conventional defect actually existing at the current defect position, such as the defect name shown by the first interactive object 201, can also be simultaneously selected and recorded, so that the flexibility and adaptability of the present example are improved.
As a further preferable solution of this example, an authority authentication module is further provided, as shown in fig. 12, connected between the display module and the second recording module, and configured to authenticate the identity card of the current operator, and ensure that all users performing operations are operators meeting authority authentication.
The authority authentication module acquires and identifies a face image of a current operator; specifically, a face image can be obtained by scanning through a camera device and is identified by a face image identification program; then, comparing the recognition result with a pre-stored face library of the authenticator: if the recognition result can find out a matched face picture in a prestored face library of the authenticator, the authentication is passed; if the matching is not found, the operation authority authentication is not passed.
The operation authority authentication performed by the authority authentication module is performed when the user is ready to perform an interactive operation while facing the display device. When the operation authority authentication is not passed, each object of the display interface 101 is always kept in the first state, and does not respond to the current interactive operation of the operator.
If the operation authority passes the authentication, recording the name of the user and the current operation time when the second recording module records the defect name; each face picture in the authenticator face library and each name in a prestored authenticator name library have one-to-one correspondence; the name is a name which is searched from the name library and corresponds to the matched face picture; the current operation time comprises current year, month, day, hour, minute and second information. Finally, in the report output module, the name and the operation time are also generated into the table, and a corresponding relationship is formed, as shown in fig. 10.
In another aspect of the embodiments of the present application, an electronic device is provided, which includes: the AOI overhaul report automatic generation system comprises at least one processor and a memory, wherein the memory stores computer execution instructions, and when the at least one processor executes the computer execution instructions stored by the memory, the at least one processor is enabled to execute the AOI overhaul report automatic generation method for the printed circuit board according to the previous embodiment.
In another aspect of the embodiments of the present application, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program controls a device on which the storage medium is located to perform the method for automatically generating an AOI repair report of a printed circuit board as described above.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and it is apparent that those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. The automatic generation method of the AOI maintenance report of the printed circuit board is characterized by comprising the following steps:
s100, recording the material number and the coordinates of each defect position of the current printed circuit board to be detected when at least one defect position is detected according to the AOI scanning result of the current printed circuit board to be detected;
s200, acquiring amplified images of the printed circuit board in areas corresponding to the defect position coordinates, wherein one defect position coordinate corresponds to one amplified image;
s300, sequentially displaying each amplified image on a display interface of display equipment, and displaying a first interactive object area on the display interface aiming at the display of each amplified image, wherein a plurality of first interactive objects and a second interactive object are displayed in the first interactive object area, and each first interactive object corresponds to a different defect name;
s400, responding to the interactive operation of a user on a first interactive object area according to the currently displayed enlarged image, and recording the defect name corresponding to the first interactive object in the second state when the second interactive object and at least one first interactive object are changed from the first state to the second state;
s500, judging whether the currently displayed amplified image is the last amplified image of the current printed circuit board to be detected: if so, clearing the display of the display interface, and starting to execute S100 on the next printed circuit board to be tested until the printed circuit boards of one batch are overhauled; if not, displaying the next magnified image on the display interface as the currently displayed magnified image, initializing both the first interactive object and the second interactive object in the first interactive object area to the first state, and executing S400 again;
s600, after the printed circuit boards of a batch are overhauled, the recorded material numbers, defect position coordinates, defect names and corresponding relations are stored and output in a table form, wherein one material number corresponds to a plurality of defect position coordinates, and one defect position coordinate corresponds to a plurality of defect names.
2. The automatic generation method of the AOI overhaul report of the printed circuit board according to claim 1, which is characterized in that: a third interactive object is also displayed in the first interactive object area;
in S400, in response to the interactive operation of the user on the first interactive object region according to the currently displayed enlarged image, when the third interactive object is changed from the first state to the second state, displaying the second interactive object region in the display interface, wherein a plurality of fourth interactive objects are displayed in the second interactive object region, and the fourth interactive objects are character input boxes for the user to input defect names;
and when the second interactive object is changed from the first state to the second state, and at least one first interactive object is changed from the first state to the second state, and/or at least one fourth interactive object has a defect name input by a user, recording the defect name corresponding to the first interactive object in the second state, and/or the defect name in the fourth interactive object.
3. The automatic generation method of the AOI maintenance report of the printed circuit board according to claim 2, characterized in that: the first interaction object area is located at the lower left corner or the lower right corner of the display interface, the second interaction object area is located at the upper side of the first interaction object area, the first interaction object area and the second interaction object area are both located at the upper layer of an enlarged image displayed on the display interface, and the areas of the display interface occupied by the first interaction object area and the second interaction object area are respectively not more than 1/8.
4. The automatic generation method of the AOI overhaul report of the printed circuit board according to claim 1, which is characterized in that: the defect position coordinate corresponding region is a circular region having a predetermined radius range with the defect position coordinate as a center, or a regular polygonal region having a predetermined side length, or a rectangular region having a predetermined length and width.
5. The automatic generation method of the AOI overhaul report of the printed circuit board according to claim 1, which is characterized in that: the defect position coordinate is a coordinate taking a certain vertex angle, or center in the length and width directions of the printed circuit board to be detected as a coordinate origin, and the defect position is equivalent to the coordinate of the coordinate origin.
6. The automatic generation method of the AOI overhaul report of the printed circuit board according to claim 1, which is characterized in that: in S400, the user refers to an operator authenticated by an operation authority, and the operation authority authentication includes: acquiring a face image of a current operator and identifying, wherein if the identification result can find a matched face image in a prestored face library of an authenticator, the authentication passes the operation authority authentication, and if the matching is not found, the authentication does not pass the operation authority authentication;
when the operation authority authentication is not passed, all objects of the display interface are always kept in a first state, and the current interactive operation of an operator cannot be responded;
in S400, when recording the defect name, recording the name of the user and the current operation time together; each face picture in the authenticator face library and each name in a prestored authenticator name library have a one-to-one corresponding relationship; the name is a name which is searched from the name library and corresponds to the matched face picture; the current operation time comprises current year, month, day, hour, minute and second information; in S600, the name and the operation time are also generated in the table.
7. Automatic generating device of printed circuit board AOI maintenance statement, its characterized in that includes:
the first recording module is used for recording the material number and the coordinates of each defect position of the current printed circuit board to be detected when at least one defect position is detected according to the AOI scanning result of the current printed circuit board to be detected;
the image module is used for acquiring amplified images of the printed circuit board in areas corresponding to the defect position coordinates, and one defect position coordinate corresponds to one amplified image;
the display module is used for sequentially displaying each amplified image on a display interface of the display equipment, and displaying a first interactive object area on the display interface aiming at the display of each amplified image, wherein a plurality of first interactive objects and a second interactive object are displayed in the first interactive object area, and each first interactive object corresponds to a different defect name;
the second recording module is used for responding to the interactive operation of a user on the first interactive object area according to the currently displayed enlarged image, and recording the defect name corresponding to the first interactive object in the second state when the second interactive object and at least one first interactive object are changed from the first state to the second state;
the judging module is used for judging whether the currently displayed amplified image is the last amplified image of the current printed circuit board to be detected:
if so, the display module clears the display of the display interface, and the first recording module starts to process the next printed circuit board to be tested until the printed circuit boards of one batch are overhauled;
if not, enabling the display module to display the next amplified image on the display interface as the currently displayed amplified image, initializing the first interactive object and the second interactive object in the first interactive object area to be in the first state, and executing the second recording module again;
and the report output module is used for storing and outputting the recorded material number, defect position coordinates, defect names and corresponding relations thereof in a table form after the printed circuit boards of a batch are overhauled, wherein one material number corresponds to a plurality of defect position coordinates, and one defect position coordinate corresponds to a plurality of defect names.
8. The automatic generation apparatus of AOI overhaul report of printed circuit board of claim 7, wherein the display module is further configured to display a third interactive object in the first interactive object area, and in response to the user's interactive operation on the first interactive object area according to the currently displayed enlarged image, when the third interactive object changes from the first state to the second state, display a second interactive object area in the display interface, the second interactive object area displaying a plurality of fourth interactive objects, the fourth interactive objects being text input boxes for the user to input defect names;
the second recording module is used for recording the defect name corresponding to the first interactive object in the second state and/or the defect name in the fourth interactive object when the second interactive object is changed from the first state to the second state, and at least one first interactive object is changed from the first state to the second state, and/or at least one fourth interactive object has the defect name input by the user.
9. An electronic device, comprising: at least one processor and a memory, wherein the memory stores computer-executable instructions, wherein the at least one processor, when executing the computer-executable instructions stored by the memory, causes the at least one processor to perform the method of automatically generating a printed circuit board AOI repair report according to any of claims 1-6.
10. A computer readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the computer program controls an apparatus on which the storage medium is located to perform the method for automatically generating an AOI maintenance report of a printed circuit board according to any one of claims 1 to 6.
CN202210377589.1A 2022-04-12 2022-04-12 Automatic generation method and device for printed circuit board AOI maintenance report Pending CN114463331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210377589.1A CN114463331A (en) 2022-04-12 2022-04-12 Automatic generation method and device for printed circuit board AOI maintenance report

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210377589.1A CN114463331A (en) 2022-04-12 2022-04-12 Automatic generation method and device for printed circuit board AOI maintenance report

Publications (1)

Publication Number Publication Date
CN114463331A true CN114463331A (en) 2022-05-10

Family

ID=81417947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210377589.1A Pending CN114463331A (en) 2022-04-12 2022-04-12 Automatic generation method and device for printed circuit board AOI maintenance report

Country Status (1)

Country Link
CN (1) CN114463331A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770612A (en) * 2009-09-17 2010-07-07 宁波北电源兴电力工程有限公司 Device defect management module of EAM (Enterprise Asset Management) system in power plant
CN107809589A (en) * 2017-11-08 2018-03-16 天津市普迅电力信息技术有限公司 A kind of power circuit unmanned plane inspection operation auxiliary supports instrument
CN112613015A (en) * 2020-12-17 2021-04-06 联合汽车电子有限公司 Intelligent authority management system and method for production equipment
CN112730462A (en) * 2021-03-30 2021-04-30 四川英创力电子科技股份有限公司 Printed circuit board etching device, etching residue detection device and method
WO2021120186A1 (en) * 2019-12-20 2021-06-24 京东方科技集团股份有限公司 Distributed product defect analysis system and method, and computer-readable storage medium
CN113222913A (en) * 2021-04-28 2021-08-06 南京南瑞继保电气有限公司 Circuit board defect detection positioning method and device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770612A (en) * 2009-09-17 2010-07-07 宁波北电源兴电力工程有限公司 Device defect management module of EAM (Enterprise Asset Management) system in power plant
CN107809589A (en) * 2017-11-08 2018-03-16 天津市普迅电力信息技术有限公司 A kind of power circuit unmanned plane inspection operation auxiliary supports instrument
WO2021120186A1 (en) * 2019-12-20 2021-06-24 京东方科技集团股份有限公司 Distributed product defect analysis system and method, and computer-readable storage medium
CN113632099A (en) * 2019-12-20 2021-11-09 京东方科技集团股份有限公司 Distributed product defect analysis system, method and computer readable storage medium
CN112613015A (en) * 2020-12-17 2021-04-06 联合汽车电子有限公司 Intelligent authority management system and method for production equipment
CN112730462A (en) * 2021-03-30 2021-04-30 四川英创力电子科技股份有限公司 Printed circuit board etching device, etching residue detection device and method
CN113222913A (en) * 2021-04-28 2021-08-06 南京南瑞继保电气有限公司 Circuit board defect detection positioning method and device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄艳军等: "电路板元器件缺陷检测研究", 《数字计数与应用》 *

Similar Documents

Publication Publication Date Title
TWI757825B (en) System and method for pcb inspection based on false defect detection
US11164304B2 (en) Methods for automatically generating a common measurement across multiple assembly units
CN109690570B (en) Computer room management method and dynamic loop system
US6362013B1 (en) Semiconductor inspection apparatus and method of specifying attributes of dies on wafer in semiconductor inspection apparatus
JP5522065B2 (en) Board inspection system
JP5776605B2 (en) Information display system for supporting analysis work of substrate inspection result and analysis work support method
KR101117472B1 (en) Apparatus and Method for Visual Inspection
JP6516884B2 (en) Connection inspection work support system
CN106501978B (en) A kind of analysis method and analytical equipment of display panel flame
JP2015061339A (en) Wire connection work support system
US5408537A (en) Mounted connector pin test using image processing
JP2000131242A (en) Defect analyzer
US20220183197A1 (en) System and methods for assisting with manual assembly and testing of printed circuit boards
CN114463331A (en) Automatic generation method and device for printed circuit board AOI maintenance report
CN110658215B (en) PCB automatic splicing detection method and device based on machine vision
JP2002133392A (en) Parameter setting method for image processing system and image processing system
CN107729839B (en) Method and device for identifying on-off state of pull-plug switch of protection pressing plate
JP2006220528A (en) System and method for defect classification
JP2019105998A (en) Information processing device, information processing method and computer program
US6943826B1 (en) Apparatus for debugging imaging devices and method of testing imaging devices
JP6708935B2 (en) Information processing apparatus, processing method thereof, and program
JP2008218737A (en) Image processing device
CN110989422A (en) Management system and management method for AOI (automated optical inspection) over-inspection parameters based on serial number code spraying
CN117790349B (en) Pcs electrical measurement bad defect display method, device, equipment and storage medium
KR102544533B1 (en) Object management system through electronic pen record information and photo image information matching

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220510

RJ01 Rejection of invention patent application after publication