460 likes | 1.4k Views
Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad . WIRELESS CONTROLLER FOR DC MOTOR. By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim. 27 December 2010. C ontents. Introduction Applications Block Diagram Full Schematic Hardware Layout and Design Specs User Interface
E N D
Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad WIRELESS CONTROLLER FOR DC MOTOR By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim 27 December 2010
Contents Introduction Applications Block Diagram Full Schematic Hardware Layout and Design Specs User Interface Tests Challenges Successes Results Next Step
Introduction 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.
Features: Wireless Controller for DC Motor Offset QPSK Wireless Standard Windows based GUI 12 V DC Motor Battery powered Variable speed
Benefits: Practical Provides Flexibility Economical User-friendly Can be ran from any PC running Windows
Applications Robotics Remote control car Industrial Uses Household Uses
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.
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.
User Interface 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.
Tests 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.
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
Challenges Replaced Voltage Divider consisting of resistors with Voltage Regulators. H-Bridge suffer from little maximum current. ASCII Translation Issues.
Results Motor ran in both directions. 0-120 RPM range. Maximum continuous load = 30 W
Motor Operations: No-Load Motor Current vs. Terminal Voltage
Motor Operations Max Load Motor Current vs. Terminal Voltage
PIC To H-Bridge Control Signal @ 42 RPM PIC To H-Bridge Control Signal @ 90 RPM Duty Cycle to H-Bridge:
Next Step 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.