remote control of a television set via thought patterns

25
Remote Control of a Television Set via Thought Patterns Dr. William Hunt, Project Advisor Josh Rosner Drew Petry Gary Grimm George Melcer Thursday, March 11, 2010

Upload: buckminster-dixon

Post on 03-Jan-2016

32 views

Category:

Documents


2 download

DESCRIPTION

Remote Control of a Television Set via Thought Patterns. Dr. William Hunt, Project Advisor Josh Rosner Drew Petry Gary Grimm George Melcer. Thursday, March 11, 2010. The MindLink System. Manipulates television functions via user thought patterns - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Remote Control of a Television Set via Thought Patterns

Remote Control of a Television Set via Thought Patterns

Dr. William Hunt, Project AdvisorJosh RosnerDrew PetryGary Grimm

George Melcer

Thursday, March 11, 2010

Page 2: Remote Control of a Television Set via Thought Patterns

The MindLink System

• Manipulates television functions via user thought patterns

• Provides independence to handicapped and disabled persons

• Estimated development cost at $80,940; per unit cost will be approximately $500

EEG Headset 2.4 GHz WirelessHost PC

EmoState Analysis Software

USB to RS-232 SPB & URCFirmware

Page 3: Remote Control of a Television Set via Thought Patterns

Design Objectives• Minimize system costs to maximize target market• Offer intuitive interface for non-technical users• Manipulate simple command set for IR (Infrared)

controlled devices• Detect EEG (Electroencephalogram) signals in real-

time to provide reliable thought pattern analysis• Utilize Emotiv API (Application Programming

Interface) in analysis software• Interface with modified off-the-shelf remote control

Page 4: Remote Control of a Television Set via Thought Patterns

Current Status

• EEG Headset– Selected and purchased headset– Commenced training with one engineer

• Host PC / EAS– Designed Pseudo code and learned about

API

• SPB /URC– Completed Circuit Design and Board Layout

Page 5: Remote Control of a Television Set via Thought Patterns

EEG Headset

EEG Headset 2.4 GHz WirelessHost PC

EmoState Analysis Software

USB to RS-232 SPB & URCFirmware

Page 6: Remote Control of a Television Set via Thought Patterns

Illustration

Page 7: Remote Control of a Television Set via Thought Patterns

Input Propagation

Emotiv Headset

USB DongleHost PC Device Driver

EEG Signals From User

14 Sensors

2.4 GHz Wireless

Page 8: Remote Control of a Television Set via Thought Patterns

Emotiv Control Panel

Page 9: Remote Control of a Television Set via Thought Patterns

Cognitive Suite

Page 10: Remote Control of a Television Set via Thought Patterns

Expressive Suite

Page 11: Remote Control of a Television Set via Thought Patterns

EEG Headset - Problems / Issues

• Problem: Consistency of EEG signal from user• Proposed Solutions

– More training– Alter sensitivity settings– Use Expressive Suite

• Problem: Placement of headset• Proposed Solutions

– Need consistent signals to test– Seek advice from Emotiv online community

Page 12: Remote Control of a Television Set via Thought Patterns

Host PC: EmoState Analysis Software

EEG Headset 2.4 GHz WirelessHost PC

EmoState Analysis Software

USB to RS-232 SPB & URCFirmware

Page 13: Remote Control of a Television Set via Thought Patterns

Software ProcessEmoEngine (EDK.dll)

Emotiv EPOC

Headset

EEG and Gyro Processing

Control Logic

EmoStateBuffer

EmoState and EmoEvent query

handlingEmotive

API

C#MindLinkControl

Software

SynergyBoard

Page 14: Remote Control of a Television Set via Thought Patterns

Software LogicOpen

connection to EmoEngine

Retrieve current

EmoState

New EmoEngine

Event?

ClassifyEvent

Yes

No

CognitiveEvent?

No

Satisfies criterion for

action?

YesNo

Send command to Synergy board

Yes

Close connection to EmoEngine

Init

Proc

ess

Loop

Term

inat

ion

Termination condition?

No

Yes

Page 15: Remote Control of a Television Set via Thought Patterns

EAS – Problems / Issues

• Problem: Invoking and communicating with Emotiv API

• Proposed Solutions– Should include EDK.h and link with EDK.dll– Use EE_EngineConnect for communication with headset; EE_EngineRemoteConnect used for communication with EmoComposer (debugging)

• Problem: Sending commands to Synergy board• Proposed Solutions

– Propose communication of serial connection– Invoke .NET System.IO.Ports namespace and use instance of SerialPort class

Page 16: Remote Control of a Television Set via Thought Patterns

Synergy Prototyping Board &

Universal Remote Control

EEG Headset 2.4 GHz WirelessHost PC

EmoState Analysis Software

USB to RS-232 SPB & URCFirmware

Page 17: Remote Control of a Television Set via Thought Patterns

Synergy Prototyping BoardData via

Serial Class from EAS

USB to Serial/UART

(FT232R)

Microcontroller(ADuC7024)

Multiplexer(74HC154)

Quad, Bi-Lateral Switch Package

(CD4016)

Quad, Bi-Lateral Switch Package

(CD4016)

Quad, Bi-Lateral Switch Package

(CD4016)

Quad, Bi-Lateral Switch Package

(CD4016)

URC/TV

Synergy Prototyping BoardLow-Dropout

Regulator(LT1963)

5 Volts

OUTPUT HEADERS

OUTPUT HEADERS

Page 18: Remote Control of a Television Set via Thought Patterns

SPB Layout

Page 19: Remote Control of a Television Set via Thought Patterns

Synergy Prototyping Board FirmwareData via

Serial Class

from EAS

Set Clock to 41.78Mhz

Set registers to configure pins as

GPIOs

Initialize RS232 Communication

Link

URC/TV

Synergy Prototyping Board

Wait for incoming data

(blocking)

Fill char* buffer

Parse ASCII data into two integers

Execute Data

Initialization

Page 20: Remote Control of a Television Set via Thought Patterns

SPB – Problems / Issues

• Problem: MOSFETs did not interface with URC as expected

• Proposed Solution– Opted for bi-lateral switches instead of MOSFETs because

we are open/closing a circuit, NOT pulling the signal high or low

• Problem: Simulation of SPB requires too much time• Proposed Solution

– Use “trial and error” approach with physical implementation of the board

• Problem: Soldering joints are weak on URC• Proposed Solution

– Use RTV silicone to isolate joints and prevent breaks

Page 21: Remote Control of a Television Set via Thought Patterns

Acceptance Testing

• EPOC Headset– Train and test with Emotiv Control Panel

• EmoState Analysis Software– Utilize EmoComposer, printf stream, and debug symbols

• Synergy Prototyping Board & Universal RC– Component Testing (Switches, Microcontroller, etc.)– Board Testing (LED Blink Program)

• MindLink System– Iterate through defined thought patterns

EEG Headset 2.4 GHz WirelessHost PC

EmoState Analysis Software

USB to RS-232 SPB & URCFirmware

Page 22: Remote Control of a Television Set via Thought Patterns

Projected Schedule

• March 19th

– EAS Development Complete– SPB Firmware Development Complete

• April– 16th: System Integration Complete– 30th: Final Project Summary Complete

• May 6th – Final Report Complete– Successful Project Demonstration

Page 23: Remote Control of a Television Set via Thought Patterns

Budget & Cost AnalysisMindLink Venture

• Prototype– Initial Capital Expenditure: $750– Labor Costs: $80,000– Per Unit Component Cost: $500

• 10,000 Units Production over 60 Months– Total Costs: $3,700,000– Total Sales ($500 per unit): $5,000,000– Net Profits: $1,300,000

Page 24: Remote Control of a Television Set via Thought Patterns

Future Work• Headset

– Complete Emotiv Control Panel Training• EmoState Analysis Software

– Port pseudo code to C#– Develop and test serial port interface class– Test and debug

• Synergy Prototyping Board– Order PCB and generate Gerber Files– Order Additional Components– Develop Firmware– Test and debug

• MindLink System– Complete component integration– Test and debug

Page 25: Remote Control of a Television Set via Thought Patterns

Questions / Feedback

• EmoState Analysis Software– How to interface C# with serial ports?

• Synergy Prototyping Board– Alternative Solutions?