Download - Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

Transcript
Page 1: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

TONGUE DRIVE SYSTEM(TDS)

Project Presentation By

Anshul Routhu,Parimala Gollapudi,

Swathi Dhanavanthri,Vamshi Krishna Nagamalla

Page 2: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

�Introduction�Block Diagram�Circuit Diagram�Hardware component

OVERVIEW

�Hardware component description

�Software description�Challenges�Conclusion and Future work

2

Page 3: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

� The Tongue Drive System allows handicapped users � move around their wheelchairs, � control computers or other electronic devices, and � manage home appliances.

� The mouth is turned into a computer using a tiny magnetic system placed on the tongue.

INTRODUCTION

� The mouth is turned into a computer using a tiny magnetic system placed on the tongue.

� The tongue is the controller and with its movement the user tells the system what to do.

� A small magnet about the size of a rice grain is attached to the user’s tongue by implantation, piercing or tissue adhesive.

3

Page 4: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

� Movement of the magnetic tracer attached to the tongue is detected by an array of magnetic field sensorsmounted on a headset outside the mouth.

� The sensor output signals are

INTRODUCTION

� The sensor output signals are processed to determine the relative motion of the magnet

� This information is thenused to control the movement of a powered wheel chair.

� To operate the Tongue Drive system, users only need to be able to move their tongues.

4

Page 5: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

BLOCK DIAGRAM

DESCRIPTION

�The hall effect sensor generates analog signal proportional to magnetic field .

�The ADC converts the analog values into digital.digital.

�The controller configures the PWM in accordance to the software(algorithm ).

�The PWM controls the speed of the motor�The H-Bridge driver drives the motor in

both directions.

5

Page 6: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

BLOCK DIAGRAM

Hall Effect Sensor 0

ADC-1

MSP 430G2252

Hall Effect Sensor 1

ADC-2

Hall Effect Sensor 3

Hall Effect Sensor 4

Driver ICSN754410

Motor 1

MSP 430G2252

PWM

Hall Effect Sensor 2

Hall Effect Sensor 3

ADC-3

ADC-4 Motor 2

6

Page 7: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

CIRCUIT DIAGRAM

Page 8: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

CIRCUIT DIAGRAM

Page 9: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

HARDWARE COMPONENT DESCRIPTION

MSP430G2252

� 20-pin MSP430G2252.

� 4 ADC Channels for taking the output from the hall effect sensors.

� 5 pins as input to the H-bridge driver.

9

Page 10: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

HARDWARE COMPONENT DESCRIPTION

Power Supply

LM 7805 L1117

Vin Vout

Gnd

Vin Vout

Gnd

C1 C2 C3 C4

5V 3.3V

+12V

� Two regulators LM 7805 and L1117 are used.

� The hall effect sensors and the H-bridge driver req uire 5V.

� MSP430 controller requires 3.3V.

� The motors run on 5V.

10

Page 11: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

� Hall-effect sensors provide a voltage output that is proportional to the applied magnetic field.

� A1321 is a linear Hall Effect Sensor which is sensitive and temperature

HARDWARE COMPONENT DESCRIPTION

Hall Effect Sensor - A1321

which is sensitive and temperature stable.

� They are ideal for use in the harsh environments.

� It is connected to the ADC input channel of the MSP430G2252.

11

Page 12: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

HARDWARE COMPONENT DESCRIPTION

H-Bridge Driver - SN754410

� SN754410 is a bidirectional driver and it can drive two motors at a time.

� Capable of driving high voltage motors motors

� It is controlled by the Pulse Width Modulated (PWM) signal. PWM is generated using timers on port 1.2.

12

Page 13: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

HARDWARE COMPONENT DESCRIPTION

H-Bridge Driver - SN754410

� An H bridge is built with four switches.

� When the switches A and D are closed (and B and C are open) a positive voltage will be applied positive voltage will be applied across the motor.

� By opening A and D switches and closing B and C switches, this voltage is reversed, allowing reverse operation of the motor.

13

Page 14: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

f1 - S1 > 750 // forwardf2 - S3 > 600 // backwardf3 - S3 > 700 // speed increase

Algorithm

S1 S2f12

f1 f2

f13

f3 - S3 > 700 // speed increasef4 - S4 > 700 // speed decrease

S3 S4f34f3 f4

Page 15: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

Hall Effect

Sensor

Magneticfield Analog Output

A/D Converter 0 to 10230V to 5V

SOFTWARE DESCRIPTION

Digital output

SOFTWARE DESCRIPTION

Analog to Digital Converter(ADC)

Analog Voltage fromSensor(V)

Corresponding DigitalValue

0 0

2.5 512

5 1023

15

Page 16: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

SOFTWARE DESCRIPTION

Analog to Digital Converter(ADC)

� A 10-bit ADC is used to convert the analog output from the sensor to a digital value.

� 4 ADC channels: A3, A4, A5, A6 on pins P1.3- P1.6.

ADC Configuration:

� The conversion is initiated using the ADC10SC bit.� A Single channel Single conversion mode is used.� ADC10 oscillator is used as input clock to the

ADC.� The sampling time chosen is 16 times the ADC10

clock.

16

Page 17: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

SOFTWARE DESCRIPTION

� A modulating technique which generates variable widthpulses is used to vary the speed of the motor.

� The Duty cycle is varied based on the input values atP1.5 and P1.6 from sensors 3 & 4 respectively.

� The output is driven from P1.2 of controller to the 1,9enable pins of H-bridge .

Pulse Width Modulator(PWM)

enable pins of H-bridge .

PWM approach:

� We set the corresponding modes

� Timer operating mode is UP mode (mode 1).

� Output mode is reset/set mode (mode 7).

17

Page 18: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

SOFTWARE DESCRIPTION

Pulse Width Modulator(PWM)

� Of the 9 16bit registers, 2 CCR registers, TAR register the corresponding control registers are used.

� Initially, TACCR0 and TACCR1 are initialized to certain value. TACCR1 is incremented or decremented by a value based on the outputs

18

decremented by a value based on the outputs from sensors 3 and 4 respectively.

� Thus as the Duty cycle is varied the output power is varied and the output is fed to enable pins of H -bridge to change the speed.

Page 19: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

SOFTWARE DESCRIPTION

TACCR 0

TACCR 1

0FFFFh

Up mode

Duty Cycle = ( TACCR1/ TACCR0) *100

Outmode 7Reset/set mode

19

Page 20: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

CHALLENGES

• Back E.M.F produced by motors.

• ADC value was read before completion of conversion.

• Exact Positioning of sensors.

Turning the vehicle Left or Right.• Turning the vehicle Left or Right.

20

Page 21: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

CONCLUSION &

FUTURE WORK

This device could revolutionize the field of assistive technologies by helping individuals with severe disabilities such as those with high-level spinal cord injuries return to rich, active, independent and productive lives .independent and productive lives .

Wireless communication.More sensor, Better navigation.

21

Page 22: Project Presentation By Anshul Routhu, Parimala Gollapudi ...ece.gmu.edu/~jkaps/courses/ece511-f11/project/Team7-Final.pdf · Anshul Routhu, Parimala Gollapudi, Swathi Dhanavanthri,

QUESTIONS?

22