JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWAL

15
JOYSTICK BASED DC MOTOR CONTROL PROJECT GUIDE - Mr. Rajkumar Rajoria TEAM MEMBERS - Vaishnavi Agrawal [0905EC131178] Shivani Bhargava [0905EC131152] Electronics & Comm. Engineering Dept.

Transcript of JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWAL

JOYSTICK BASED DC MOTOR CONTROL

JOYSTICK BASED DC MOTOR CONTROLPROJECT GUIDE - Mr. Rajkumar RajoriaTEAM MEMBERS - Vaishnavi Agrawal [0905EC131178] Shivani Bhargava [0905EC131152]

Electronics & Comm. Engineering Dept.

1

Electronics & Comm. Engineering Dept.CONTENTSIntroductionRequirementsBlock DiagramConcept of PWMJoystick OperationSchematic DiagramSimulationSequence of OperationsPCB DesignApplicationsProject ScheduleBudgetReferences

2

Electronics & Comm. Engineering Dept.INTRODUCTIONThis is the primary movement system for any accelerating / de-accelerating vehicle or object.

By this module we can control the speed of two DC motors and its direction in X & Y axis.

Pulse Width Modulation Technique is used to control the speed of DC motors

Gradual speed change in dual directions using only one Mechanical switch/ component is not possible with potentiometer ,hence we are using Joystick as an input device.

3

Electronics & Comm. Engineering Dept.REQUIREMENTSATmega16JoystickCrystal Oscillator(16MHz)CapacitorsLEDResistanceDiodesVoltage Regulator IC(7805)TransformerProteus 7CodeVision AVRExpress PCBBurner

Power SupplySoftware

Hardware

4

Electronics & Comm. Engineering Dept.BLOCK DIAGRAM

JOYSTICK+5VGND8 Bit ADCATMEGA16 MOTOR DRIVING IC L293DM1M2PWM SIGNALOutput from D Port Pin

5

Electronics & Comm. Engineering Dept.CONCEPT OF PULSE WIDTH MODULATION

The PWM mode is used to control the speed of DC motors. Higher the duty cycle of the PWM signal higher is the speed of DC motor. The ATmega16 microcontroller will generate PWM signals of different duty cycle using its Timer Counter 1 and will give the PWM signal to the two enable pins of the L293D. Here, we will use the DC Motor Driver to control the speed of two DC motor.In this way, the microcontroller will run the motors in forward/ backward direction with different speeds.Example:-Analog input=1.25 VDigital output= 256 (in 10 Bit ADC)So,Ton=256 msToff= 1024-256=768 msSimply, we are controlling the average value(DC value) of output waveform.

6

Electronics & Comm. Engineering Dept.JOYSTICK OPERATION

We are using a joystick to control speed as well as direction of DC motor.When joystick is at centre position the motor is rest.When joystick is moved forward or backward the motor rotates forward and reverse. Also the motor speed increases when joystick is moved further forward or reverse.It rotates motor as well as varies its speed as joystick is moved.

7

Electronics & Comm. Engineering Dept.SCHEMATIC DIAGRAM

8

Electronics & Comm. Engineering Dept.SIMULATION

9

Electronics & Comm. Engineering Dept.SEQUENCE OF OPERATIONS

Joystick Movement8 Bit ADCChecking for required speed wrt obtained digital valueMotor Driving IC L293DMotor Rotation in Desired directionChange in analog input=?STOPAnalog InputInput not equals to zeroInput=0Digital O/PPWM SignalEnable SignalYESNO

MICROCONTROLLER

10

Electronics & Comm. Engineering Dept.

11PCB DESIGN

11

Electronics & Comm. Engineering Dept.12Remote controlled toys like RC (remote controlled) plane, helicopter, boat, car etcJoystick controlled video camera craneIndustrial Jog controllerRobotic arm or robotic vehicleSurveillance camera controllerJoystick controlled Wheel Chair (Major Project)

APPLICATIONSJoystick control for DC motor is used in many different applications like -

12

Electronics & Comm. Engineering Dept.13PROJECT SCHEDULETASKSTATUSBlock DiagramCompletedUnderstanding ConceptsCompletedSchematic DiagramCompletedSimulationCompletedPCB DesigningCompletedFabrication of BoardLeft to doTesting & TroubleshootingLeft to doImprovisationsIn Major Project

13

Electronics & Comm. Engineering Dept.14References..Avr Microcontroller and Embedded systems by Muhammad Ali MazidiOp-amps & linear integrated circuit techmology by Gayakward Alldatasheet.comwww.avrfreaks.netwww.extremeelectronics.co.inwww.Ablab.inwww.engineersgarage.comwww.instructables.com BUDGETEstimated Project Cost = Rs. 300 (excluding the cost of motors)

14

Electronics & Comm. Engineering Dept.

THANK YOU

15