Professional Documents
Culture Documents
Dodad Assembly
Dodad Assembly
Dodad Assembly
CONESTOGA COLLEGE
ROBOTICS AND INDUSTRIAL
AUTOMATION
[V]
TEAM VIKINGS
2
[V] VIKINGS
TABLE OF CONTENTS
TEAM MEMBERS………………………………………………………………..…………….2
TABLE OF CONTENTS…………………………………………………………………...…...3
PROJECT ABSTRACT………………........……………………………………………………5
2 METHODOLOGY .....................................................................................................................7
2.1 Analysis ............................................................................................................................. 7
2.2 Developement .................................................................................................................... 8
2.3 Testing ............................................................................................................................. 10
3 THE PROCESS.........................................................................................................................11
3.1 Gantt Chart (Updated) ..................................................................................................... 11
3.2 Team Meeting Documentation ........................................................................................ 12
4 THE DESIGN…………………………………………………………………………………13
4.1 System Layout ................................................................................................................. 13
4.2 Doodad Mechanical Design ............................................................................................. 14
4.3 Pneumatic Layout ............................................................................................................ 15
4.3.1 Parts Description ...................................................................................................... 15
4.3.2 Pneumatics 1
4.3.3 Pneumatics 2
4.3.4 Pneumatics 3
4.3.5 Pneumatics 4
4.4 Electrical Drawings ......................................................................................................... 19
4.5 PLC Logic ........................................................................................................................ 20
4.6 HMI Design ..................................................................................................................... 21
4.7 Robot Programming......................................................................................................... 27
4.8 Smart Motor Programming .............................................................................................. 31
3
[V] VIKINGS
5 OPERATOR MANUAL…..…………………………………………………………………61
5.1 Explanation Of Setup ....................................................................................................... 62
5.2 Step By Step Operating Procedure .................................................................................. 63
5.3 Troubleshooting ............................................................................................................... 63
6 CONCLUSION .........................................................................................................................65
9 APPENDICES ...........................................................................................................................68
9.1 CX-Programmer Manual ................................................................................................. 68
9.2 CX-Designer Manual ....................................................................................................... 69
9.3 Cognex Manual ................................................................................................................ 70
4
[V] VIKINGS
PROJECT ABSTRACT
5
[V] VIKINGS
1. THE PROJECT
Reverse engineer all electrical and pneumatic setup of the assembler and
document them for reference
Program the PLC for optimized assembly of the error free product
Program the Denso robot for correct pick and place operation
Program all servo and smart motors to accomplish the required task
Testing, troubleshooting and tweaking to attain the target production rate with
maximum efficiency
6
[V] VIKINGS
2. METHODOLOGY
Data collection is a stage in any area of study. At this stage our team planned
about the projects resources, requirements and schedule to get more information in
this study. All the research and data collected from journals and research papers
gathered from the Internet. Within the data collection period we have given the
individual responsibility to carry on the research and finish the assigned work that
include designing or drawing, programming of PLC, HMI designing, Pneumatics,
working of a camera, LinMot and AcTech drives, Denso Robot programming.
I. Electrical study:
Connections were the main requirement of the project so that we can program
and design the control system. The project required different types of device
connections and panel connections. These connections were not easy enough
without any deep level of research and must be wired right way to make the
connections safe and secure. Our team first step was to understand the connections
of all the electrical components such as actuators, sensors and motors to the plc.
Just connecting wires to device terminals doesn’t solve the problem. We
researched about the correct way to connect.
7
[V] VIKINGS
2. Development:
Our team focused on the analysis part so that we can proceed with an idea to
implement it while developing the project.
The project is being depended on extra in the testing process, for proper use
of time and research it is crucial that every team member involved has a good
understanding of the steps taken in the project. Our team focused on the analysis
part so that we can proceed with an idea to implement it while developing the
project. We have to be sure that every team member understands how the project is
built, maintained, executed.
The work was divided to achieve the goal so we come with the solution that we
will make algorithm for each divided work.
8
[V] VIKINGS
9
[V] VIKINGS
3. Evaluation:
On the basis of our technique for evaluation we used the analysis method,
which proved to be quite fruitful as it was a unique method of data collection and
experimentation/programming. We checked the programs by debugging it step by
step to perform the operation as required.
Our team was aware about the problems facing during the development of
the project so we used different ways to tackle the problems sometimes using trial
and error method. We checked each and every one problems and working of the
project which was assigned.
10
[V] VIKINGS
3. THE PROCESS
3.1 Gantt Chart (Updated)
(Refer Gantt Chart)
11
[V] VIKINGS
12
[V] VIKINGS
March-30-2015
6
(12-1 PM)
4.THE DESIGN
4.1 System Layout:
(Refer Drawings)
13
[V] VIKINGS
14
[V] VIKINGS
15
[V] VIKINGS
4.3 Pneumatics:
4.3.1 Pneumatics Parts descriptions:
Devices and their description:
Model – NAV200-N02-5BZ
Manufacturer - SMC
Actuators:
1. Cylinders:
Model – CDQ2A50-50DM
Manufacturer - SMC
16
[V] VIKINGS
2. Grippers:
Model – DPP-14M-15
Manufacturer – DESTA.CO
Stroke: 15.9mm
Pressure regulators:
Model – ITV2050-04N2L4
Manufacturer - SMC
Input signal – 4 to 20 mA
Port size - ¼
17
[V] VIKINGS
Precision regulators:
Model – IR1010-N01
Manufacturer - SMC
Input signal – 4 to 20 mA
Directional Valves:
Model – SY5320-5DZ-N7T
Manufacturer – SMC
Number of ports - 5
18
[V] VIKINGS
Pressure switches:
Model – ISE40-01-62
Manufacturer - SMC
19
[V] VIKINGS
20
[V] VIKINGS
21
[V] VIKINGS
SCREEN 1
22
[V] VIKINGS
SCREEN 2
This screen is created for the operator to carry out all the station functions.
It contains bit lamps which indicate the current stage of the program.
It has a fault reset button to reset all the faults occurred in the station.
A button to trigger the ESTOP which shut off all the power to the station
instantly.
23
[V] VIKINGS
SCREEN 3
This is the maintenance screen which enables the user to manually operate
the devices.
24
[V] VIKINGS
SCREEN 4
This is the management screen which contains the part count, cycle time and
fault count.
This screen has navigation buttons to all the screen and it contains the
ESTOP and fault reset buttons.
25
[V] VIKINGS
SCREEN 5
26
[V] VIKINGS
SCREEN 6
27
[V] VIKINGS
Robot Specifications:-
Item Specs
Weight 550g
Robot’s task:-
28
[V] VIKINGS
The robot is programmed to pick and place part from the turn table. It operates
under two scenarios. If the processed part is good the robot picks the part from the
turn table and places it on the smart motor, whereas if the part is bad then the robot
picks the part from the turn table and places puts it into the bin. The robot is
programmed using WINCAPS software.
Robot Program
'This program takes good/bad part from the turn table and either puts it in the bin
or on the top of smart motor depending on the part.
PROGRAM VE026A_DEMO
29
[V] VIKINGS
WAIT IO[0]=ON 'WAIT FOR THE SIGNAL FROM THE PLC TO START
ROBOT MOTION
30
[V] VIKINGS
31
[V] VIKINGS
TECHNICAL SPECIFICATION:
Continuous
Torque 2.50 in-lb; 40 oz-in; 0.28 N-m
Nominal
Continuous
Power 181 Watt
32
[V] VIKINGS
Continuous
Current @
Nominal Power 5.0 Amps
Voltage
Constance 4.45 V/kRPM
Winding
Resistance 1.0 ohms
Encoder
Resolutions 4,000 counts/Rev
Shaft, Radial
Load 7 lb; 3.18 kg
Shaft, Axial
Thrust Load 3 lb; 1.36 kg
33
[V] VIKINGS
NEMA Frame
Size NEMA 23
DIMENSION DRAWING:
RS 232
RS-232 defines the connection between data terminal equipment (DTE) and data
circuit-terminating equipment (DCE). Data terminal equipment is any end user
device, such as a computer, that can be used to send data over a network. Data
circuit-terminating equipment is a device that provides the interface between the
DTE and the network, and is often a modem or terminal adapter. An RS-232-
34
[V] VIKINGS
RS-232 devices are either DTE or DCE devices. Computer terminals are usually
equipped with male connectors with DTE pin functions, while modems have
female connectors with DCE pin functions. Although the standard specifies twenty
different signal connections, most devices use only a few of these signals, enabling
the smaller 9-pin (DB9) connectors to be used. The more commonly used signals
are shown in the table below.
35
[V] VIKINGS
Signal Description
TxD Transmitted Data - data transmitted from the DTE to the DCE
RxD Received Data - data transmitted from the DCE to the DTE
RTS Request To Send - set to 0 (asserted) by the DTE to prepare the DCE to
receive data
CTS Clear To Send - set to 0 (asserted) by the DCE to acknowledge RTS and
allow the DTE to transmit
DTR Data Terminal Ready - set to 0 (asserted) by the DTE to indicate that it is
ready to be connected
DSR Data Set Ready - set to 0 (asserted) by the DCE to indicate an active
connection
DCD Data Carrier Detect - set to 0 (asserted) by the DCE when a connection
has been established with a remote device
36
[V] VIKINGS
Description:
The output from Digital output card (2.09) is made to trigger at input
terminal (2) of the smart motor, which triggers the motion.
The signal from output card is given to the motor using a 24 VDC
relay.
37
[V] VIKINGS
EIGN(2)
EIGN(3)
ZS
G 'Start motion
ADT=1500
G 'Start motion
38
[V] VIKINGS
ZS 'Clear faults
ADT=1500
G 'Start motion
G 'Start motion
WAIT = 6000
39
[V] VIKINGS
G 'Start motion
ENDIF
40
[V] VIKINGS
Introduction
The In-Sight 7000 series, IS 7200 821-0084-1R D vision system is used in this
project for the automatic extraction of information from digital images and to
perform different functions such as to locate and detect orientation, Measurement,
to check presence/ absence of the part and its inspection and error proofing. It is a
compact, network-ready, stand-alone machine vision system.
Increase safety
Cognex cameras are smart cameras and they have typically five components that
make up a machine vision system; they include
Sensors/ Camera
Light source
Lens
Hardware
Input/output Interfaces
Data Communication
41
[V] VIKINGS
The operating principle of vision systems can be explained as follows: there will be
a target to capture image. We shine light on it, the light reflects back and the
corresponding data related to image is collected. It is processed and measurements
are taken to make judgments like whether it is good or bad part and the output is sent
to robot, PLC or may be to some external control devices to make proper decisions
whether to proceed or reject the part.
In-Sight vision system has powerful vision tools and In-Sight Explorer software
interface. The smart vision tools have automatically select features, set parameters
and operate in real world conditions without adjustment.
Communications:
In-Sight I/O Expansion Modules
42
[V] VIKINGS
The Power and I/O Breakout cable can be used to connect to a PNP-compatible
PLC output. Connect any general purpose input directly to the PLC output. As the
PLC output is sinking and the cognex input is sourcing.
The Power and I/O Breakout cable provides connections to an external power
supply, the acquisition trigger input, general-purpose inputs, high-speed outputs,
and RS-232 serial communications. The Power and I/O Breakout cable is not
terminated.
43
[V] VIKINGS
The white-violet and black are connected to common 0V and the white-yellow
which is the input for Cognex is connected to the output slot of the PLC IO 3.15
The tag accusation trigger is used to trigger the camera for image.
Output Configuration
The Power and I/O Breakout cable can be used to connect to an NPN-compatible
PLC input. Connect any high-speed output directly to the PLC input. When
enabled, the output pulls the PLC input down to 1VDC or less.
44
[V] VIKINGS
The Power and I/O Breakout cable provides connections to an external power
supply, the acquisition trigger input, general-purpose inputs, high-speed outputs,
and RS-232 serial communications. The Power and I/O Breakout cable is not
terminated.
45
[V] VIKINGS
White-brown and brown are outputs .The green is connected to common along
with black 0V and the red is connected to 24V DC .The wire white-brown is for
detecting bad part and brown for detecting good part.
Hardware Installation
Connectors
Ethernet cable
Light cable
Power and I/O
Breakout cable
Indicators
46
[V] VIKINGS
INDICATOR FUNCTION
Light Source
Unlike most vision systems, the In-Sight 7000 smart camera has the capability to
power and control specialized lighting directly and eliminating the need for
external power supplies.
47
[V] VIKINGS
In-Sight Explorer 4.7.3 software interface is used for graphical controls such as
lights, data displays and entries, image analysis and processing in this project. It
includes an EasyBuilder view and a spreadsheet view
configuration.
Spreadsheet view
PROCEDURE
1. Log On to the Vision System. Open the In-Sight Explorer software. From
the Windows start menu, Select: All Programs > Cognex > In-Sight > In-
Sight Explorer 4.7.3
48
[V] VIKINGS
2. The interface Easy Builder guides the user step by step through the
configuration of the image processing application. Mainly, four simple steps
complete the application setup:
Start - Connect your In-Sight vision system on network and set up the image to
inspect
Set up tools - Locate and inspect the part using a library of over 40 industry
proven vision tools.
Finish - Choose the images to record while inspecting, and put In-Sight vision
system online.
3. The image setup in the EasyBuilder interface is then organized and built in
Spreadsheet view.
Application Steps
1. Start
Get Connected
If camera is not on the list, click System > ‘Add Sensor/Device to network’
49
[V] VIKINGS
Setup Image
Triggered Image
50
[V] VIKINGS
Live video
51
[V] VIKINGS
For In-Sight vision systems, calibration refers to the process of "mapping" the
image area by establishing a relationship between features in the image and known,
real-world measurement units. For that, select the calibration type and for the
figure shown below, ‘edge to edge’ calibration type is selected.
52
[V] VIKINGS
Thickness of the
part for
inspection
53
[V] VIKINGS
2. Setup Tools
Locate Part
There are different location tools in the ‘Add Tool’ Palette as shown above. To add
a Location Tool to the job, select an appropriate tool from the Add Tool group and
press the Add button
The location tool parameters are adjusted by adjusting the values of each parameter
in the General and settings pane.
Inspect Part
There are different Inspection tools in the ‘Add Tool’ Palette as shown above. To
add a tool to your job, select an appropriate tool from the Add Tool group and press
the Add button.We used measurement tools > Measure distance.
54
[V] VIKINGS
If this distance is not within the range, the Cognex sends the signal to PLC that it is
a bad part.
Select a particular inspection tool. The Links tab allows a tool's output result to be
used as an input parameter to another tool. In the links tab, we can add properties
to the link by selecting the data types.
55
[V] VIKINGS
3. Configure Results
Inputs
There are 2 general purpose direct (built-in) inputs in In-Sight 7000 series vision
system. Lines 2 and 3 are the input lines for the Direct I/O.
56
[V] VIKINGS
Click the I/O Module button to open the I/O Module Configuration dialog
and configure the I/O module. Once configured, press the OK button to
close the I/O Module Configuration dialog and return to the Discrete Input
Settings dialog.
Outputs
The direct (built-in) outputs in In-Sight 7000 series vision system are
4 high-speed outputs
57
[V] VIKINGS
4. Finish
Fillmstrip
The filmstrip can be used to play back images recorded to the PC or review images
and results stored to the sensor.
Save Job
Using ‘Save Job’, the tool settings and the information specific to that job are
saved. Although job is saved during previous EasyBuilder steps, the Save Job step
serves as an important reminder. EasyBuilder provides no "automatic save"
capability, so any unsaved changes will be lost if power is cycled on the sensor.
58
[V] VIKINGS
Run Job
The image setup in the EasyBuilder interface is then organized and built in
Spreadsheet view as shown below.
59
[V] VIKINGS
Start
NOT OK
OK
Station 4 press
operation
begins
Station 5 Robot
operation
Operations 60
Done
[V] VIKINGS
The time required to process the parts at station 1 (ie part place is 8-10 sec)
and station 2 and station 3 is 3 sec each. The most time consuming station is the
robot pick and place which is about 11sec. This is one station which has variable
effect on part production.
Thus the total cycle time would be 25 seconds per part assembly. Since a
new case is assembled every 11 seconds (ie robot pick and place) after the first
cycle, the total production rate would be 325 Doodad cases per hour.
61
[V] VIKINGS
5. OPERATOR MANUAL
OPERATION
STAGE 1
62
[V] VIKINGS
The operator loads the first piece of part into the lower nest and then manually he
closes the upper nest. After that he places the other piece of part on the upper nest.
Once the parts are loaded the operator press both the palm buttons so that the turn
table rotates. Now the part is in stage 2
STAGE 2
In stage 2 when the parts arrives in the station the vertical cylinder extends and
takes the upper part from the nest. As soon as the upper part is removed, the
horizontal cylinder extends and moves the upper nest. Then the vertical cylinder
places the part on the lower part.
STAGE 3
Once the parts are aligned in stage 2 the part moves to stage 3 for pressing
operation. In stage 3 the vertical cylinder extends slowly and presses the parts.
STAGE 4
Once the parts are pressed in stage 3 the turn table moves the part into stage 4.
Here in stage 4 we are using a vision system to check the accuracy of pressing
operation that has been done in stage 4. If the part is good then the table moves the
part to stage 5 or if it is bad part the vertical cylinder extends and press again so
that the parts gets aligned. Then it moves it to stage 5.
STAGE 5
Here when the part arrives two operations are carried out.
1) If the part is good, the robot picks it and places it on the smart motor which
takes it away to unload.
2) If it is a bad part, the robot picks it and places in the bad parts bin.
NOTE: Please make sure that the operator keeps his both hands on the palm
buttons in 500ms delay for proper operation.
63
[V] VIKINGS
5.3 Troubleshooting:
CONDITION REMEDY
a. Check input power.
Machine will not run
b. Check E-stop to ensure it is released.
64
[V] VIKINGS
a. Press E-stop.
b. Ensure airline is ON.
Air fault
c. Check if there is any air leakage (by noise). If so, call
technician.
Linmot fault
a. Press RESET button on HMI and shut down and
(may occur due to overheat or over restart the system.
voltage)
65
[V] VIKINGS
6. CONCLUSION
The project was successfully completed as expected. All systems are working as
per the requirements. Even though the project worked well there were some short
comings. It was difficult to integrate the robot and plc. There were no any
communication software or devices available to integrate the both. But somehow
we were able to operate the robot for the particular task and accompany it to work
well with the system. Similarly there were some draw back with the vision systems
but it wasn’t a barrier for the working of the system.
One of the major problem found was the HMI. It was difficult to establish the
connection with the HMI and plc. The manual for the HMI wasn’t self-
explanatory. Even though we were able to transfer the screens built in the software
to the HMI, it was not possible through the plc. It took a while for all group
members to understand the software used in the project but towards the end
everything worked as planned. Some new devices such as proximity sensor, relays
were added which improved the overall efficiency of the system. Overall the
outcome of the project was favorable.
66
[V] VIKINGS
In this system, the rotational speed of the table is set as a constant value. To
improve the functionality of the system, it is good idea to include variable
speed for the rotation of the table. (So that the assembling process can be
slowed and accelerated on operator’s choice).
The upper part holder in the table has only manual operation. Operator need
to move the upper part holder by hand. This part of the system can be
improved by giving an electric drive to move the upper part holder
In order to improve the efficiency of the program, part sensors can be placed
at all stations so that feedback about the presence of part will be obtained.
In the given system two press stations are present. It takes more space and
redundant. The second press can be removed and this place can be utilized
for the vision system components.
The vision system in this project lacks suitable place for its operation. One
way to improve the vision system by removing the second press and placing
vision system at that place. Another way is to take the pictures of the
assembled part from top so that better images will be obtained for error
analysis.
Indicators for good part and bad part can be given. For example, green light
for good part detection and red light for bad part detection.
67
[V] VIKINGS
8. FUTURE SCOPE
Adding a multimedia camera to see what is going inside the home by sitting
in office or somewhere
Upgrading the palm buttons to a finger print touch button, so that the
machine can only be accessed by the corresponding operator
Can add a voice alarm, so that the machine can exactly tell the operator what
the problem is.
68
[V] VIKINGS
9. APPENDICES
69
[V] VIKINGS
70
[V] VIKINGS
71