saki aoi program data course - cse-hk.com · how to make a complete pcb ... make fiducial mark data...

60
1 SAKI AOI Program Data Course Written by Xu Yi Xin (Gorden) At Clarion Philippines

Upload: trinhthuan

Post on 18-Apr-2018

222 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

1

SAKI AOI Program Data Course

Written by Xu Yi Xin(Gorden)

At Clarion Philippines

Page 2: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

2

I. How to make a complete PCB program data

1. Select CAD data

2. Create new program data & Set board data

3. Move inspection windows to match components accurately

4. Make fiducial mark data

5. Make all components data

6. Fine-tuning

7. Complete program data has been finished

Page 3: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

3

I. How to make a complete PCB program data

Note: The procedures are based on Panasonic MV2C CAD format because the order can save time. For other CAD formats, usually, we should exchange the order of step1 with step2.

Page 4: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

4

II. How to select CAD data, Create new program data & Set board data

1. Click “File” “select cad data”.

Page 5: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

5

II. How to select CAD data, Create new program data & Set board data

2. Select cad data and format type, then click “ok”.

Click “Browse” to select cad data from disk

Click here to select format type

Page 6: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

6

II. How to select CAD data, Create new program data & Set board data

Note: Sometimes if CAD data can not be read by our software directly because of no compatible format type, users have to edit personally then select format type “others” to load.

Page 7: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

7

II. How to select CAD data, Create new program data & Set board data

3. If it is Panasonic MV2C cad data, software will ask you to input group name to create new program data

Key in group name then click “ok” to create new program data

Page 8: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

8

II. How to select CAD data, Create new program data & Set board data

4. After step 3, the follow interface will be displayed. Usually, we click “new” to create same board name as group name.

Page 9: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

9

II. How to select CAD data, Create new program data & Set board data

5. Then you can see all inspection windows of CAD data on monitor.

Page 10: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

10

II. How to select CAD data, Create new program data & Set board data

6. Click “Scan”to capture PCB image

Page 11: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

11

II. How to select CAD data, Create new program data & Set board data

7. If board size is not suitable, please move your mouse arrow into vacant place to click right button to call “board data” interface to change its size.

The area is vacant place.

Page 12: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

12

II. How to select CAD data, Create new program data & Set board data

8. At the “board data” interface you can adjust board size until it is suitable. After adjusting, please click “ok” and use shortcut “D” of keyboard to refresh image to check its size.

Page 13: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

13

II. How to select CAD data, Create new program data & Set board data

Please input data here to change board size. Data unit is 1/1000 mm.

For Desktop AOI, here always should be 5000 and 5000.

Page 14: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

14

III. Move inspection windows to match components accurately

• 1. If you finish all above procedures well, please move inspection windows to match components accurately. Usually, you can use shortcut “D” to change light to “toplight”(Shortcut “D” also can change light as well as refresh image) , because under “toplight”you are easy to find how to move is rightful.

Page 15: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

15

III. Move inspection windows to match components accurately

This image is under toplight

Page 16: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

16

III. Move inspection windows to match components accurately

Note: Sometimes the direction of inspection windows of cad data is different from PCB direction which you put into machine conveyor. Under the circumstance, you have 2 choices to keep their direction same. 1st one is you put PCB direction again according to inspection windows of cad data. Another solution is you click “Edit”“offset” to offset inspection windows.

Page 17: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

17

III. Move inspection windows to match components accurately

Click “Edit”“Offset”, you can call offset interface to offset inspection windows.

Page 18: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

18

III. Move inspection windows to match components accurately

For rotation. For detailed data offset.

For X-direction / Y-direction mirroring offset.

For X-direction / Y-direction invert offset.

Page 19: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

19

III. Move inspection windows to match components accurately

2. When PCB direction is same as inspection windows, please start to move inspections to match components accurately. Detailed steps as follow:

Page 20: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

20

III. Move inspection windows to match components accurately

a. Please move mouse arrow into a blue inspection window and click right button to call “edit component data” interface.

Page 21: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

21

III. Move inspection windows to match components accurately

At the interface of “edit component data” , please move mouse arrow into the area to click right button to create new window (any name is available) then click “ok” to quit.

Here is “ok”

Page 22: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

22

III. Move inspection windows to match components accurately

b. After “quit”, the color of window changed, you can move it to corresponding component. (blue window can not be moved)

Page 23: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

23

III. Move inspection windows to match components accurately

C. While moving inspection window, the “move component”interface will displayed on monitor. Because you must move all inspection windows and fiducialmark together this time, you should click on “all data with fiducial mark data” then click “ok”.

Page 24: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

24

III. Move inspection windows to match components accurately

d. After moving, please make sure those components in the center of PCB can be matched by inspection windows completely accurate. For those components of four corners of PCB, a little miss match is no problem because it can be rectified after you finish fiducial mark data.

Page 25: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

25

IV. Make for fiducial mark

1. After Move inspection windows to match components accurately, users can make fiducial mark data. If CAD data without Mark1 and Mark2 windows, please add them manually. If CAD data with them, please edit directly. You can click “edit”“search” to call “search data” interface to confirm with or not.

Page 26: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

26

IV. Make for fiducial mark

At “search data” interface, please click on “system data”to confirm.

If there are “mark1” and “mark2” in the list, that means cad data with mark windows so that you can click “edit” to make fiducial data directly. If there are no the two items, that mean you have to add mark inspection windows manually.

Page 27: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

27

IV. Make for fiducial mark2. How to make fiducial mark as follows:

Please make sure type as “fiducial mark”

Entitle a name for library. Please make sure it is easy to know what this is so that you can load it again easily while you make Mark2 later.

Page 28: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

28

IV. Make for fiducial mark2. How to make fiducial mark as follows:

Please make 2 windows, the 1st is “Adjust” and 2nd is “Area”. Make sure “Area”window has enough space to cover mark.

This window is “Area” window

Page 29: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

29

IV. Make for fiducial mark1.) Click “Adjust”

2.) Select best lighting here to make sure you can distinguish mark clearly.

3.) If the mark is circle, please use the algorithm “circle”. If it is square, please use the algorithm “gravity”.

Page 30: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

30

IV. Make for fiducial markThis area about parameters

If you use the algorithme“circle” , please set correct mark diameter in “diameter”field and set suitable “lowerlevel” and “upperlevel”. If mark is very bright, you can set 200 to “lowerlevel” and 255 to “upperlevel”. Finally, you must make sure pink circle window can match mark accurately and sample value is in the range of Ok range.

Note: Usually, we always set <OK range> as “upper” to 100 and “lower” to 80

Page 31: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

31

IV. Make for fiducial mark

Here is “update”

Here is “OK”

Note: After finishing mark data, please click “update”then “ok” to quit. Click “update” can save library and create link between “Macro” and Library; Click “Ok” can save component program data.

Page 32: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

32

IV. Make for fiducial mark

3. Usually we should make 2 marks data–mark1 and mark2. After finishing mark1, when you make data for mark2, you are only required to load library for which you made while making data for mark 1. Please refer to the illustration on the next page.

Page 33: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

33

IV. Make for fiducial markYou are only required to load library here while making mark2. After loading, please click “update” and “ok” also to quit. Until now, you have finished fiducialmark data.

Page 34: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

34

IV. Make for fiducial mark

Note: Sometimes you are possible to face square mark, you can make data as followed steps:

Page 35: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

35

IV. Make for fiducial markSame as “Circle”, you also should make 2 windows, 1st

is “Adjust” and 2nd is “Area”. Make sure “Area” window has enough space to cover square mark

Page 36: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

36

IV. Make for fiducial markSelect best lighting and use “gravity” as algorithm. If the mark is very bright, you can set 200 to “lowerlevel” and 255 to “upperlevel”. Then click “inspect” make sure pink cross in the center of the mark. This time, <ok range> is different from “circle”. Please use sample+15%sample to “upper” and sample-15%sample to “lower”. Then click “update” and “ok” to quit.

Page 37: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

37

IV. Make for fiducial markNote: If you find fiducial mark data is not

good enough, you can adjust detailed parameters or delete them and make again. If you want to delete fiducial mark, you only can click “edit” “delete” to achieve the goal. Drag window on PCB image to delete is in vain to delete fiducial mark.

Page 38: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

38

IV. Make for fiducial mark

Click here to call “delete data”interface

Page 39: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

39

IV. Make for fiducial mark

Click “system data”then Mark1 and Mark2 will be displayed in the list. Please select them and click “delete”, fiducial mark data will be deleted.

Page 40: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

40

V. Make all components data

1. After finishing fiducial mark data, users should go on to make all components data. We can click “edit” “search”“undefined” to make one by one until finish all.

Page 41: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

41

V. Make all components data

Click “edit” “search”to call “search data”interface.

Page 42: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

42

V. Make all components dataYou can select component to make data in “undefined”list by clicking “Edit”

All finished chips data will be displayed by clicking on “chip”

All finished IC/Connector data will be displayed by clicking “IC/Connect” list

Fiducial mark data will be displayed by clicking “system data”

Page 43: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

43

V. Make all components data

2. By clicking “edit”, “edit component data”interface will be displayed on your monitor, please use it to make data.

Page 44: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

44

V. Make all components data

Component name

Macro code

Library name

Inspection items

Page 45: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

45

V. Make all components dataInspection item kind, lighting and algorithm

Algorithm parameters setting area

Sample value

Ok range

Component type

Page 46: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

46

V. Make all components dataNote: a.) After finishing data, please name library for

convenient load later while you meet those components with same surface or create new PCB program data.

b.) Don’t forget click “update” and “ok” before you exit “edit component data” interface. “update” is for saving library and establishing link between library and macro (That means those components with same marco which use same library so after you click “update”, the same components data all have been finished.). “Ok” for saving all setting about the component.

Page 47: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

47

V. Make all components data

3. Sometimes, you maybe find some components without inspection windows of cad data. Under the circumstance, you have to click menu “edit” “add” to add window for data making manually.

Page 48: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

48

V. Make all components data

Move mouse arrow to left click on component without inspection, then you can click “edit”“add” to make data manually

Page 49: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

49

VI. Fine-tuning1. After you finish all components data, you

should do fine-tuning before use the program data to run auto mode for PCBs inspection

2. You should click “scan” to scan PCB manually then click “inspect” to calculate final result.

Page 50: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

50

After clicking “scan” to scan and “inspect” to calculate PCB, final result will be displayed on monitor

Page 51: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

51

VI. Fine-tuningThose red color components are judged by AOI as NG.

3. Take PCB out and check by your eyes carefully to confirm how many NG components are skipped capture by AOI, how many NG components which are judged by AOI are false calls. For NG skipped capture, you should adjust parameters stricter. For false calls, you should adjust parameters less strict.

Page 52: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

52

VI. Fine-tuning4. There are 2 modes to do fine-tuning. a.) If there are many false calls should be

rectified, please click menu “ edit” “edit NG” to call “edit component” interface to do fine-tuning.

Here is “Edit NG”

Page 53: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

53

VI. Fine-tuningIn “edit components”interface, click “inspect” to confirm how many false calls of each library, then click “edit” to do fine-tuning until all false calls of the PCB have been fixed.

Page 54: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

54

VI. Fine-tuning

b.) If there are only few false calls, you can move mouse arrow in the area of those red color windows to click right button to call “edit component data” interface for fine-tuning directly

Page 55: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

55

VI. Fine-tuningMove mouse arrow in the area of red color components then click right button to call “edit component data”interface, you can do fine-tuning directly.

Page 56: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

56

VI. Fine-tuning5. After finishing 1 PCB fine-tuning, please

take some others to do again, procedures are same as above. (Please make sure do fine-tuning for at least 10 PCBs)

Page 57: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

57

VI. Fine-tuningNote: 1.) While fine-tuning, you maybe require to

move inspection windows to match components more accurately. For convenient moving, you can click menu “view” and click on “component body”

Page 58: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

58

VI. Fine-tuning

After clicking on “component body”, you’ll find outline of component will be easy to recognized. It will be easily moved to correct position because of avoiding vision interference from too many windows.

Page 59: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

59

VI. Fine-tuning2.) However you do, there maybe still have

few false calls. Don’t be afraid, because it is normal. In addition, you must take care for balance of false calls and NG skipped capture. After all, avoid all NG skipped capture is our first priority. Based on it, we can accept few false calls.

Page 60: SAKI AOI Program Data Course - cse-hk.com · How to make a complete PCB ... Make fiducial mark data 5. Make all components data 6. Fine-tuning 7. ... are judged by AOI as NG

60

VI. Fine-tuning3.) After fine-tuning, you can run auto mode

to inspect PCBs formally. In auto mode, if you find something is worthy of adjusting, you also can click “edit” to do fine-tuning ( only those users with administrator privilege can do it.)