Top Banner
Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions
44

Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Dynamic Directional System for the Visually Impaired

ENSC 340 Project

Copyright 2003 © Sound Directions

Page 2: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Team Organization

• Farhan Ali, Team leader, CEO

• Daniel Kim, VP R&D

• Nima Jahedi, CTO

• Galerah Paradian, VP Marketing

• Ted Liu, CFO

• Chris Chun, COO

Page 3: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Overview

• Market

• Solutions

• Phase one details

• Phase two details

• Questions

Page 4: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

The Need

• 105,000 Canadians registered with CNIB

• Number is increasing by one thousand people per month

• Navigation aids very limited

Page 5: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Existing Solutions

• Guide Dogs

• Talking Signs™

– IR Beacons placed in environment

– User Must Scan using hand-held device

– Line of sight required

– No directions given

Page 6: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Dynamic Directional System

• Provide directions to the visually impaired based on their orientation

• Easy to use for the visually impaired

• Effective in indoor and outdoor environments

• Cheap

Page 7: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Research

• Visually Impaired Program at VCC

– Focus group of visually impaired navigation students

• CNIB

– Existing trends and technologies

Page 8: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Project Overview

• Phase One

– ENSC 340 deliverable

– Basic functionality

• Phase Two

– End of 2004

Page 9: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Phase One Overview

USER MODULE:“Snow hill is North, Civic

centre is East”

Location code

Sign Module

Page 10: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Phase One Overview (Contd..)

Database

Page 11: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Wireless Communications Technology

• Wireless Communications Design criteria:

– Simple to integrate

– Short-range (within a 5 ~ 7 meter radii)

– Does not require line-of-sight

– Cheap

Page 12: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Competing Technologies

• Infrared Pros

• Cheap, simple to integrate

– Cons• Needs line-of-sight

• Narrow range communication

• Ultrasound– Cons

• Complicated detection scheme

• Only useful in range finding

• Discouraged by instructors

Page 13: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Competing Technologies (Contd..)

• Bluetooth

Pros• For short-range

application

– Cons• Takes time to develop

• Expensive, development kit costs > $1,000 apiece

• RF Pros

• Higher S/N

• Not line-of-sight

• Simple to use

– Cons

• Co-channel Interference

Page 14: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Technology of our choice

• Linx Technologies ES-series Evaluation Kit

– Cheapest module

– Allows surface mount

• Low interference and better S/N ratio

• Power consumption

• Signal strength indicator

• Usage of unlicensed ISM-band

Page 15: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

RF Communication

• Receiver module

– Integrated with the user module

– Used to receive location codes

– Receives at USART rate

• Transmitter module

– Integrated with sign module

– Transmit location codes for location identification

– Transmits at USART rate

RF transmitter

PIC Microcontroller

RF receiver

PIC Microcontroller

Page 16: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Modules Specification

Transmission Frequency

916.48MHz

Interface USART serial with header encapsulation

Data Rate Up to 200 ~ 56,000bps

Range Approx. 500ft indoor

Page 17: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Range Determination

• To determine if the user is near a sign

• When the user is near a sign– Notifies the user

– Receives location codes

• When the user is not near a sign– Warns the user

Page 18: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Range Control System

• When RSSI is low• The Processor is sleeping

– Saves Power– No UART

• When RSSI is high• Interrupt

• The Processor wakes up

Antenna

ReceiverModule

SignalProcessing

PICRSSI916MHz FSK

Page 19: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Signal Possessing

Contains: Amplifier

• Shifts the signal level

Integrator

• Removes Spikes

Schmitt Trigger

• Stabilizing the switching against rapid triggering

Page 20: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Advantages

• Processor goes to sleep

– Saves Power

– Extends Battery Life

– Reduces interference from other RF sources

– Ensures data is only received near a sign

Page 21: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

UART

• Universal Asynchronous Receiver and Transmitter

• Data communication between microcontrollers and RF receiver/transmitter

• Frame Format: (11bits)– 8-bits Data– Even Parity

ParityBit

8-Bit DataSTART Stop

Page 22: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

PIC16F876A UART

- Two level FIFO register

- Used for Preamble and Location Code

- Error Flags (OERR, FERR)

- Baud rate generator

Page 23: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Transmission

• We are using 33.6K Baud

• Transmit Preamble and Data periodically

• Produce and send “Parity bit”

WAIT

SEND DATA

SEND PREAMBLE

Transmitter

Page 24: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Reception

• After Microcontroller wakes up:

– Check for errors

– Check for Data validity

Check Parity

OERR Check

FERRCheck

Wait for a sign

Receive Data + parity

Error

Error

Error

Good data

Good data

Receiver

Good data

Page 25: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Reception (Contd..)

Preamble?

Old Data?

Valid Data?

Received Data

Error

Error

Enable location code rx

Good data

• After receiving one byte of data:

– Check if it is the preamble

– Check if it is old data

– Check if it is valid data

Page 26: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Error Checking

1) Parity (Error in transmission)

- Done internally by the microcontroller firmware

- Calculate Parity in Transmitter side- Check for parity bit on the Receiver side

Single bit checking had been used to Parity detection

Errors

Parity OERR FERR

Page 27: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Error Checking (Contd..)

2) Internal PIC microcontroller error flags for UART

-OERR (Overrun error)

Third byte arrives before reading the last two

-FERR (Framing error)

Stop bit detected as clear

PIC will reject data with any of the errors.

Page 28: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Data processing

Determine orientation

Calculate resultant direction

Wait for valid location code

SPEAK

Fetch store namesfrom database

Same code?Yes

Page 29: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Determining orientationNorth

South

West East

00 32

64

96

128

160

192

224

0 1 1 0 0 01 1

Page 30: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Determine resultant direction

Resultant direction =

Store Direction – User direction

Ex) London Drugs – South (126)

User orientation – East (64)

126 - 64 = 64 EAST

Page 31: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Compass

• Provides digital 0-255 compass bearing

• Uses Philips magnetic field sensor

• Can detect Earth’s magnetic field

Page 32: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Limitations

• Magnetic interference

– may influence compass reading

– compass should be kept afar

– choose sign locations with care

• Tilting

– tilting off horizontal results in increasing error

– Tilt compensated compass (upto 50˚ without error)

Page 33: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Text-to-speech

• Input: ASCII characters

• Converts ASCII characters to speech

• Reduces storage, complexity and cost

Page 34: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

I2C

• Bi-directional two-wire serial bus

• provides a communication link between integrated circuits (ICs)

Compass bearings

ASCII

Page 35: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Phase Two Overview

• Data Storage

• User Interface

• Potential

Page 36: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Data Storage

Database

Internet

Database

Page 37: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Proposed System

Internet

Sign Module

Sign Module

Server with directional database

Location Codes

Directions

Page 38: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Internet storage

• Can store large amounts of data

• Easier to update the database

• Infrastructure already in place

• Cheap to implement, can be used with other applications

Page 39: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Internet Integration

• PDA with WLAN card Easy to program

Minimal Hardware design required

– Visually impaired people have no other use for PDA

• Cell Phone Used by many people

– Slower Data rates

– Coverage Issues

Page 40: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Internet Integration (Contd..)

• Custom made WLAN moduleCould be made cheaper

Customized for use by visually impaired people

– Extensive Hardware development required

Page 41: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

User Interface

• Hot Keys for critical locations

• Earphone

• Pushbuttons with Braille subtitles

Page 42: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Complete Solution

• To accurately direct visually impaired people to any place they wish to go

Page 43: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Budget

Phase One Phase Two

Estimated Actual Estimated

$850 $550 $2000

Page 44: Dynamic Directional System for the Visually Impaired ENSC 340 Project Copyright 2003 © Sound Directions.

Summary

• Phase One completed

• Research on phase two underway already

– Orientation Detection Methods

– Communication methods

– User Interface