92
CHAPTER 12. GAUGING STATION
Measure the bored hole radii
Use three
Shape Detection
steps to look for each of the three circles. A single
such step is able to detect all circles at once and present them as an array of
measurement results, but then it is not easy to determine which measurement
belongs to which circle. Study
Detect and Measure a Circular Shape
to learn
how to detect a circular shape and to measure its radius and center coordinates.
Find slot features and bevelled side
The
Edge Detector
finds edges along a straight-line ROI, for example, the two
side-wall edges of the slot that defines the slot width
S
w
. See
to learn how to find the two side-wall edges. Use a
Caliper
step to locate
the slot center as the midpoint between these two edges as illustrated by
. Use another
Edge Detector
step to locate the
slot bottom that partially defines the slot depth
S
d
.
Use a
Find Straight Edge
step to locate the bevelled left side edge of the
component.
Take remaining measurements
The
Caliper
step can easily make many measurements at once and return them
in a 2-D array as illustrated in
1. Bevel angle
θ
: Use the component’s bottom and left edges to define the 4-
point angle (“Angle 4 Points” geometric feature) as illustrated by
2. Slot width
S
w
: Measure the distance between the two edge points found
earlier (“Distance” geometric feature),
3. Slot depth
S
d
: Measure the “Perpendicular Projection” distance between
the bottom edge of the component and the slot bottom edge as illustrated
by
Measure a Perpendicular Projection Distance
, and
4. Slot center distance
S
c
: Measure the perpendicular projection distance be-
tween the right edge of the component and the slot midpoint found earlier.
(2:06)
(3:21)
10
(1:55)
11
(3:13)
12
(2:06)
13
(2:22)
Содержание NI myRIO
Страница 1: ...Ed Doering NI myRIO Vision Essentials Guide...
Страница 2: ......
Страница 11: ...Part I Machine Vision Fundamentals...
Страница 12: ......
Страница 31: ...Part II Introductory Machine Vision Projects...
Страница 32: ......
Страница 38: ...32 CHAPTER 4 CAMERA SETUP...
Страница 44: ...38 CHAPTER 5 STEREO VISION...
Страница 61: ...Part III Machine Vision Application Projects...
Страница 62: ......
Страница 72: ...66 CHAPTER 8 COIN COUNTER...
Страница 85: ...CHAPTER 10 KEYED OPTICAL LOCK 79 Figure 10 3 Typical expected results for the Geometric Matching step...
Страница 86: ...80 CHAPTER 10 KEYED OPTICAL LOCK...
Страница 92: ...86 CHAPTER 11 DMM TEST STAND...
Страница 134: ...128 CHAPTER 17 MARBLE SORTER...
Страница 135: ...Part IV Appendices...
Страница 136: ......
Страница 143: ...B MXPandMSPConnectorDiagrams Figure B 1 MXP myRIO eXpansion Port connector diagram...
Страница 144: ...138 APPENDIX B MXP AND MSP CONNECTOR DIAGRAMS Figure B 2 MSP miniSystem Port connector diagram...
Страница 148: ...142 APPENDIX D BUILD A STAND ALONE APPLICATION...
Страница 149: ...E MarbleSorterConstructionDetails To be continued...
Страница 150: ...144 APPENDIX E MARBLE SORTER CONSTRUCTION DETAILS...