Professional Documents
Culture Documents
Cim Part 2
Cim Part 2
Aim: Generate Part Family Code for a machine components using OPITZ Method
Theory:
Conclusion:
Thus we have learned to Generate Part Family Code for a machine components using
OPITZ Method.
Practical No: 06
Theory:
Computer Integrated Manufacturing (CIM) is the technology for integration of all the
operational and information processing functions in a manufacturing enterprise ranging from order
receipt from customers to design, process planning, material requirement planning, manufacturing
resources planning , purchasing, production planning and control, marketing and sales etc. The
integration of the total manufacturing enterprise is accomplished through the use of computer and
data communication technologies coupled with various managerial philosophies to improve the
organizational and personal efficiencies.
•
A typical CIM cell
The Figures show the components of some typical CIM cells and their components.
Fig: A four axes SCARA robot & A five axes revolute robot
STORAGE STATION:
A storage station is used to retrieve raw materials prior to production, store work-
in-process inventory, as well as finished products. The storage stations may use an Automated
Storage and Retrieval System (ASRS) or simply storage racks. The storage and retrieval at such
stations are automated by robot manipulators.
Conclusion:
Hence we have studied Modeling and Simulation of Computer Integrated Manufacturing
System via virtual lab of IIT Kharagpur. We have also understood how to model and then simulate
a manufacturing system.
Practical No: 07
Aim: Machine Vision Based Quality Control (http://vlabs.iitkgp.ac.in/cim/exp7/index.html#)
Theory:
Machine Vision Machine vision may be defined as the process of extracting, characterizing
and interpreting information from images of a three dimensional world.
It is the process that yields a visual image of sufficient contrast that is typically digitized
and stored in the computer memory.
Image processing and analysis
The digitized image is subjected to image processing and analysis for data reduction and
interpretation of the image. It may be further subdivided into: Preprocessing - It deals with
techniques like noise reduction and enhancement details Segmentation - It partitions an image into
objects of interest. Description - It computes various features like size, shape, etc. suitable for
differentiating one object from another. Recognition - It identifies the object by pattern matching.
Interpretation - It finally assigns a meaning to an ensemble of recognized objects in the scene
Application: The current application of machine vision is inspection, part identification, location
and orientation.
Performing Inspection by Pattern Matching
A pattern matching model or template of the object to be inspected is first created. This
pattern will form the basis of performing inspection of the object. An image of the object is grabbed
with a camera. In the next step, by using the image processing software, the pattern matching
model created earlier is searched in the captured image for inspection of the object. The object is
inspected for various aspects such as its position relative to the pattern matching model, the %
score that reflects the correspondence between the image of the object and the pattern matching
model, the dimensions of the object, perimeter of the .object, surface area of the object and so on.
Vision Cameras
The principal imaging devices used for machine vision are television cameras, consisting
of either a tube (vidicon camera) or the solid state camera (CCD, CID or silicon bipolar sensor
cameras), and associated electronics. Solid state imaging devices offer a number of advantages
over tube cameras such as, lighter weight, smaller size, longer life and lower power consumption.
However, the resolution of certain tubes is still beyond the capabilities of solid state cameras.
CCD Cameras
A Charged Coupled Device (CCD) camera is shown in which an image is projected onto
the CCD, which detects, stores and reads out the accumulated charge generated by the light pattern
of the image. Light detection occurs through the absorption of light on a photoconductive substrate
(e.g. silicon). CCD devices can be subdivided into two categories: line scan sensors and area
sensors.
Preprocessing
Preprocessing deals with techniques like noise reduction and enhancement details. There
are several approaches of preprocessing used in machine vision systems. The preprocessing
approaches typical of the methods satisfying the requirements of computational speed and low
implementation cost are discussed.
Smoothing operations are used for reducing noise and other effects that are introduced in
an image as a result of sampling, quantization, transmission or disturbances in the environment
during image acquisition and digitizing. One straightforward technique for image smoothing is
neighborhood averaging in which a smoothed image is generated whose intensity at every point is
obtained by averaging the intensity values of the pixels of the given image contained in a
predefined neighborhood of that point. One of the principal difficulties in this technique is that it
blurs edges and sharp details. This blurring can be reduced by the use of so called median filters
in which the intensity of each pixel is replaced by the median of the intensities in a predefined
neighborhood of that pixel, instead of by the average.
Enhancement
Segmentation process subdivides a sensed image into constituent parts or objects. It is one
of the most important elements of automated vision system, since it is at this stage of processing
that objects are extracted from a scene for subsequent recognition and analysis. Segmentation
algorithms are generally based on one of the two basic principles: Similarity and Discontinuity.
The principal approaches in the first category are based on thresholding and region growing, and
that in the second category are based on edge detection.
Segmentation
Segmentation process subdivides a sensed image into constituent parts or objects. It is one
of the most important elements of automated vision system, since it is at this stage of processing
that objects are extracted from a scene for subsequent recognition and analysis. Segmentation
algorithms are generally based on one of the two basic principles: Similarity and
Discontinuity. The principal approaches in the first category are based on thresholding and
region growing, and that in the second category are based on edge detection.
Thresholding
In its simplest form, thresholding is a binary conversion technique in which each pixel is
converted into a binary value, either black or white. This is accomplished by using a frequency
histogram of the image and establishing what intensity (gray level) is to be the border between
black and white.
Region growing
Once thresholding is established, the next step is to identify particular areas associated with
objects within the image. Such regions usually possess uniform pixel properties computed over
the area. As the name implies, region growing is a procedure that group's pixels or sub regions into
larger regions based on attribute similarities. The simplest approach is pixel aggregation, where
one can start with a set of seed points and grow regions from these by appending to each seed those
neighboring pixels that have similar properties, e.g. intensity, texture or colour.
Edge detection
Edge detection considers the intensity change that occurs in the pixels at the boundary or
edges of a part. Once a region of similar attributes has been found, the boundary can be determined
by a simple edge following procedure. For a binary image, the procedure is to scan the image from
the top left until a pixel within the region is encountered. For a pixel within the region, turn left
and step; otherwise, turn right and step until the path has returned to the starting image, when the
boundary is traversed. The contour - following procedure can extended to gray level images.
Objective
• To demonstrate inspection of parts by machine vision for quality control.
• To demonstrate various steps of image processing.
Experimental Setup
The set-up consists of the following:
• A USB colour camera mounted on a stand
• Matrox image processing system with various image analysis tools such as image
preprocessing and enhancement, colour image analysis, pattern matching, blob analysis,
etc
Procedure
1. Place the part under the camera
2. Go to the start menu and run ViewFlex by selecting Programs->ViewFlex.The ViewFlex
toolbar will be displayed as shown in figure. (insert snapshot of viewflex toolbar)
3. Click on the Image Processing Tools icon from ViewFlex toolbar to load Matrox Inspector
8.0.
4. Click on the camera icon to open the camera window. Click on Snapshot icon to
grab(capture) the picture of the object and display it in a frame. The captured image will
be put into the current frame of the image.
5. Click the ROI (Region of Interest) icon and outline the perimeter of the object.
6. Click on the Pattern Matching icon as shown in figure (insert screen shot of pattern
matching dialog box) to display the Pattern Matching Model dialog box. From the
Dimension tab,you will see the object that was outlined using the ROI icon. From the
Search tab, click All. From the Angle tab, check Enable search with rotate. Then enter 180
for Delta Negative,and 180 for Delta Positive (this enables a full 360 degree search). Click
Search. This will build a Measurement Table containing all the positions of the object.
7. Save the Pattern Matching Model in the Pattern folder, located in the ViewFlex root folder.
Ensure that the Pattern dialog box is selected when saving.
8. Open the result table and expand the pattern model in the folder tree. Check that the name
you gave is listed in the tree.
9. Use this name when you find object.
10. Use step 4 to capture the image of the object. Click Search. This will build a Result Table
containing all the positions of the object, Score(% matching with the template), and the
Angle.
Conclusion:
Hence we have studied machine vision system via virtual lab of IIT Kharagpur. We also
understood benefits of online inspection system using machine vision system during quality
control process.
Practical No 09
Objective:
2. Automated Material Handling and Storage system: The various automated material handling
systems are used to transport work parts and subassembly parts between the processing stations,
sometimes incorporating storage into function.The various functions of automated material
handling and storage system are
1. Random and independent movement of work parts between workstations
2. Handling of a variety of work part configurations
3. Temporary storage
4. Convenient access for loading and unloading of work parts
5. Compatible with computer control.
3. Computer Control System: It is used to coordinate the activities of the processing stations and
the material handling system in the FMS. The various functions of computer control system are:
(i) Control of each work station (ii) Distribution of control instruction to work station (iii)
Production control (vi) Traffic control (v) Shuttle control (vi) Work handling system and
monitoring (vii) System performance monitoring and reporting
Sequential FMS: It manufactures one-piece part batch type and then planning and preparation is
carried out for the next piece part batch type to be manufactured. It operates like a small batch
flexible transfer line. Random FMS: It manufactures any random mix of piece part types at any
one time. Dedicated FMS: It continually manufactures, for extended periods, the same but
limited mix of piece part batch types. Engineered FMS: It manufactures the same mix its
lifetime. Modular FMS :modular FMS with a sophisticated FMS host, enables and FMS user to
expand their FMS capabilities in a stepwise fashion into any of the previous four types of FMS.
modular FMS, with a sophisticated FMS host, enables and FMS