by: khalid hawari muath nijim thaer shaikh ibrahim supervisor: dr. jamal kharousheh dr. nasser hamad...

22
By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Upload: ann-copeland

Post on 01-Jan-2016

221 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

By:

Khalid Hawari

Muath Nijim

Thaer shaikh Ibrahim

Supervisor:

Dr. Jamal Kharousheh

Dr. Nasser Hamad

27 December 2010

Page 2: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Introduction

Applications

Block Diagram

Full Schematic

Hardware Layout and Design Specs

User Interface

Tests

Challenges

Successes

Results

Next Step

Page 3: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Motivation:Motivation:

Wireless becoming more and more available and widely used.

Wireless control technology is effective in the world.

It is general project so it is can be installed for any devices in many places.

Page 4: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Features:Features:

Wireless Controller for DC Motor

Offset QPSK Wireless Standard

Windows based GUI

12 V DC Motor

Battery powered

Variable speed

Page 5: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Benefits:Benefits:

Practical

Provides Flexibility

Economical

User-friendly

Can be ran from any PC running Windows

Page 6: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Robotics

Remote control car

Industrial Uses

Household Uses

Page 7: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010
Page 8: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010
Page 9: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010
Page 10: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Microcontroller:

PIC16F877 40 pin.

Programmed in PIC C using PIC C Compiler.

Receives control signal from user software.

Translates desired speed to necessary duty cycle.

1 kHz internal clock used for timers.

Sends duty cycle to H-bridge inputs using onboard PWMs.

Page 11: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

H-Bridge:

L298N Dual H-Bridge Driver.

Duty cycle determines speed by controlling how long switches are active.

Motor direction can be controlled.

IN1 and IN2 fed from PWM.

Adjusted voltage is output to motor terminals.

Page 12: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

GUI developed in Visual C-sharp.

It can detect the active port automatically.

User can accelerate, decelerate, start and stop motor.

Motor direction can be chosen.

Speed is output to serial port (RS232) by software.

Page 13: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010
Page 14: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Functional Tests:

Used HyperTerminal to get initial connection between XBee Modules and another XBee with their implemented receiver and transmitter circuits.

Sent serial input to PIC, tested basic outputs (oscilloscope, serial text echo).

Tested H-Bridge using function generator.

Page 15: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Operation Tests:

For a given duty cycle, the resulting speed was measured.

Using a collection of these points, a linear translation from duty cycle to speed was calculated.

At 10 RPM: Duty cycle = 110

At 120 RPM: Duty cycle = 950

Y = mx + b Duty = 7.93(speed) + 30.87

Page 16: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Replaced Voltage Divider consisting of resistors with Voltage Regulators.

H-Bridge suffer from little maximum current.

ASCII Translation Issues.

Page 17: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Motor ran in both directions.

0-120 RPM range.

Maximum continuous load = 30 W

Page 18: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Motor Operations:

No-Load Motor Current vs. Terminal Voltage

Page 19: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Motor Operations

Max Load Motor Current vs. Terminal Voltage

Page 20: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Duty Cycle to H-Bridge:

PIC To H-Bridge Control Signal

@ 42 RPM

PIC To H-Bridge Control Signal

@ 90 RPM

Page 21: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

Designed feedback loop for closed system control.

Designed optical encoder wheel on motor shaft with one notch to read RPM.

Directed signal to PIC, began programming.

Modified the interface program to display the real and active RPM.

Install the system in a practical application as a car control.

Page 22: By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010