WIRELESS CONTROLLER FOR DC MOTOR

  • Upload
    takara

  • View
    103

  • Download
    11

Embed Size (px)

DESCRIPTION

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 - PowerPoint PPT Presentation

Citation preview

  • By:

    Khalid HawariMuath NijimThaer shaikh Ibrahim

    Supervisor:

    Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010

  • IntroductionApplications Block Diagram Full Schematic Hardware Layout and Design Specs User InterfaceTestsChallengesSuccessesResultsNext Step

  • 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 MotorOffset QPSK Wireless StandardWindows based GUI12 V DC MotorBattery poweredVariable speed

  • Benefits:

    Practical

    Provides Flexibility

    Economical

    User-friendly

    Can be ran from any PC running Windows

  • 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.

  • 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.

  • 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 = 110At 120 RPM: Duty cycle = 950Y = mx + b Duty = 7.93(speed) + 30.87

  • Replaced Voltage Divider consisting of resistors with Voltage Regulators.

    H-Bridge suffer from little maximum current.

    ASCII Translation Issues.

  • Motor ran in both directions.

    0-120 RPM range.

    Maximum continuous load = 30 W

  • Motor Operations:No-Load Motor Current vs. Terminal Voltage

  • Motor OperationsMax Load Motor Current vs. Terminal Voltage

  • Duty Cycle to H-Bridge:

    PIC To H-Bridge Control Signal @ 42 RPMPIC To H-Bridge Control Signal @ 90 RPM

  • 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.