66
Ain Shams University Faculty of Engineering Cairo , 2014 Mechatronics (2) Prof. Dr. Magdy M. Abdelhameed

Mechatronics (2)mct.asu.edu.eg/.../8/14081679/lect_02-mechatronics_2_mini-projects.pdf · Automatic stamping and sorting machine depend on object’s colour ... 3- The project must

Embed Size (px)

Citation preview

Ain Shams University

Faculty of Engineering

Cairo , 2014

Mechatronics (2)Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

Mechatronics(2)

Mini-Projects

March 12, 2014

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

Agenda1- Objectives.

2- What do you do in mini-project?

2- Samples from last years mini-projects.

3- Examples for proposed mini-projects.

4- Examples of Mechatronics mini-projects from USA Universities

5- Essential requirements to accept the mini-project idea.

6- How can I write the mini-project proposal.

7- Questions.

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

Objectives of the mini-project

• To provide students with a realistic overview of the mechatronics

system design.

• To enable students to apply techniques which studied in several courses

throughout university years.

• To work in team.

• To innovate something new.

• To practice mechatronics configuration as an engineering discipline.

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

What do we do for designing and

implementing a mini-project?

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

Samples from last year mini-projects. 1- Smart Window.

2- Smart Vise.

3- Griper for sorting purpose.

4- Compact production line 1

5- Compact sorting line.

6- Smart Drill Chuck.

7- Elevator.

8- XY plotter.

9- Smart Window

10- Inverted Pendulum.

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

1- Smart window

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2008Mechatronics (2)

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

Mechanical alignment

Prof. Dr. Magdy M. Abdelhameed

Ready-manufactured mechanism

P1

G

Bearing

1

Bearing

2

Worm and

worm-gear

Locking

rope

mechanism

Blinds tilting

axle

Pulley1

Top view main mechanism components

Mechanical alignment modifications:

P1

G

M1

Stepper

motor 1

But how?Pulley 2

Timing belt

Cont. mechanical alignment modifications:

P1

G

M1M2

Missalign the locking rope mechanism

Stepper

motor 2

Pulley 3

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

Structure analysis and force distribution

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2008Mechatronics (2)

Ain Shams University

Faculty of Engineering

Cairo , 2008Mechatronics (2)

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

2- Smart Machine ViceDepend on force sensing

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

3- Griper for automatic sorting

Prof. Dr. Magdy M. Abdelhameed

-indexing developmentWe added circuit to detect red and black colour through:

A photoresistor is an electronic component whose resistance decreases with increasing incident light intensity. It can also be referred to as a light-dependent resistor (LDR), or photoconductor.

A photoresistor is made of a high-resistance semiconductor. If light falling on the device is of high enough frequency, photons absorbed by the semiconductor give bound electrons enough energy to jump into the conduction band. The resulting free electron (and its hole partner) conduct electricity, thereby lowering resistance.

A photoelectric device can be either intrinsic or extrinsic. An intrinsic semiconductor has its own charge carriers and is not an efficient semiconductor, eg. silicon. In intrinsic devices, the only available electrons are in the valence band, and hence the photon must have enough energy to excite the electron across the entire bandgap. Extrinsic devices have impurities added, which have a ground state energy closer to the conduction band — since the electrons don't have as far to jump, lower energy photons (i.e. longer wavelengths and lower frequencies) are sufficient to trigger the device. If a sample of silicon has some of its atoms replaced by phosphorus atoms(impurities), there will be extra electrons available for conduction. This is an example of an extrinsic semiconductor.

Electronic circuits

Infrared transmitter and detector

Photo resistor(LDR)

(symbol of circuit)

Drawings of electronic circuit

Simulation (color detection

circuit)

D1

LED-BLUE

D2

LED-RED

R1

200RVI

1VO

3

GN

D2

U17812

B116V

R2

1k

LIGHT DETECTOR1k

+88.8

Volts

Microcontroller circuit

and simulation

XTAL218

XTAL119

ALE30

EA31

PSEN29

RST9

P0.0/AD039

P0.1/AD138

P0.2/AD237

P0.3/AD336

P0.4/AD435

P0.5/AD534

P0.6/AD633

P0.7/AD732

P1.01

P1.12

P1.23

P1.34

P1.45

P1.56

P1.67

P1.78

P3.0/RXD10

P3.1/TXD11

P3.2/INT012

P3.3/INT113

P3.4/T014

P3.7/RD17

P3.6/WR16

P3.5/T115

P2.7/A1528

P2.0/A821

P2.1/A922

P2.2/A1023

P2.3/A1124

P2.4/A1225

P2.5/A1326

P2.6/A1427

U1

AT89C51

1B1

1C16

2B2

2C15

3B3

3C14

4B4

4C13

5B5

5C12

6B6

6C11

7B7

7C10

COM9

U2

ULN2003A

1B1

1C16

2B2

2C15

3B3

3C14

4B4

4C13

5B5

5C12

6B6

6C11

7B7

7C10

COM9

U3

ULN2003A

X1CRYSTAL

R110k

C1

33p

C2

33p

C3

10u

B112V

VI

1V

O3

GND2

U4

7805

+88.8

+88.8

B212V

infra

red

blue

B312V

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

4-Compact production line Automatic sorting machine depend on object’s

colour

Prof. Dr. Magdy M. Abdelhameed

ON

OFF

Magnetic sensor

Non Metal

Metal

Stepper

Motor

Conveyer

Pneumatic

Cylinder

DC

Motor Plan view

Elevation view

3 Limit Switches

Ladder diagramWhere :

X20 == start PB

T0 == indicate of

stepper motor ON

X4 == first limit

switch

Y1 == DC motor On

(conveyor)

X10 == magnetic

sensor

Y5 == pneumatic

cylinder

Y20, Y21, Y22 == lamp

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

5-Compact production line Automatic stamping and sorting machine

depend on object’s colour

Prof. Dr. Magdy M. Abdelhameed

Feeding

Sensing

Separating

Packing

Stamping

Play Simulation

Mechanical Electrical

Project

Micro-code

START

END

Simple Mechanic Diagram

NEXT

BACK

END

START

Simple Mechanic Diagram

NEXT

BACK

END

START

Simple Mechanic Diagram

WhiteWhite

NEXT

BACK

END

START

Simple Mechanic Diagram

MechaMecha

NEXT

BACK

END

START

Simple Mechanic Diagram

NEXT

BACK

END

START

Simple Mechanic Diagram

BlackBlack

NEXT

BACK

END

START

Simple Mechanic Diagram

BACK

START

Simple Mechanic Diagram

Electrical System

Mainly consists of Micro-controller (8051) ,

DC chopper ,

Sensor (limit switch + IR Sensor ) ,

LCD and some Buttons

Micro

8051

Limit

Switch

IR

Sensor

DC

Chopper

LCD

Controlling

buttons

DC

motor

DC

valve

Electrical circuit Design

DC Chopper

Used to control dc (on-off control ) using a micro signal

DC motor VCC

DC

chopper

It mainly

consists ofResistance ,

transistor and Free

wheeling diode

PCB Circuit

PCB Circuit

Elec. Components

1- DC MOTOR

2-NEUMATIC VALVE (5/2)

3-STRPPER MOTOR (1.8 deg/step)

4-TWO DC MOTRO

5-TWO Limit Switches

6-TWO INFRA RED SENSOR (2 EMMITER +2 RECIVER )

7-POWER SUPPLY (with 5V and 24V output)

8-FOUR Power Transistor (TIP29A)

9-EIGHT resistance (7.4k) AND six (270 ohm)

10-FOUR Diodes (1N4001)

11-CRYSTAL (4Mgh)

12-TWO Capacitors (33pf)

13-LCD (2x20 character )

14-Variable Resistance (10k)

15-Stepper-Motor driver (ULN2003)

16-micro-controllar (89c51)

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

6 - Smart Drill ChuckAutomatic opening and closing with force sensing to prevent slipping

of twist drill

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

Smart Drill Chuck

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

Smart Drill Chuck

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

Examples of Mechatronics mini-projects from USA

Universities 7- Elevator.

8- XY plotter.

9- Smart Window

10- Inverted Pendulum.

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

7- Elevator

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

8- XY Plotter

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

9- Smart Window

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

10- Inverted Pendulum

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

Essential requirements to accept the mini-project

idea.1- You must be work in group. Each group consists of 5 to 6 members.

2- Choose mini-project with at least two actuators and two sensors.

3- The project must be implemented hardware and software within 7 weeks.

4- You must fill the proposal template and submit it before the due date.

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

How can I write the mini-project proposal?

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

To write the proposal.1- First of all, you must determine project's idea and your objectives from this

project.

2- What will you do to achieve this idea (your strategy)?

3- What are facilities both hardware and software that you need ?

4- Draw the proposed system configuration and block diagram.

5- Try to fill the proposal template.

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

The proposal template.1- Group’s names.

2- Project title.

3- Project objectives.

4- Methodology.

5- Facilities to be used (Hardware + Software).

6-System configuration and Block Diagram

7- Proposed tasks plan and time according to CDIO concept

8- References.

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

What’s CDIO?

•CONCEIVE: To identify and define real world problems with

creative thinking

•DESIGN: To be able to approach a problem and outline possible

solutions

•IMPLEMENT: To apply and verify the possible solutions

•OPERATE: To optimize and improve the final product and

determine its life cycle

C= Conceive I= Implement

D= Design O= Operate

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

Progress SheetThis sheet have to be with team leader

Names

Progress 1 Progress 2 Progress 3 Presentation

Task Instructor

signature

Task Instructor

signature

Task Instructor

signature

Task Instructor

signature

1-

2-

3-

4-

5-

6-

Prof. Dr. Magdy M. Abdelhameed

Ain Shams University

Faculty of Engineering

Cairo , 2014Mechatronics (2)

We are now ready to receive questions.

Prof. Dr. Magdy M. Abdelhameed