380 likes | 468 Views
VAHCS V oice A ctivated H ome C ontrol S ystem By: Kyle Joseph Troy Resetich Advisors: Dr. Malinowski Dr. Schertz. Presentation Outline. Project Summary Functional Description Block Diagram IR Capture IR Transmission Voice Direct II interface User Interface Conclusion.
E N D
VAHCSVoice Activated Home Control SystemBy:Kyle JosephTroy ResetichAdvisors: Dr. Malinowski Dr. Schertz
Presentation Outline • Project Summary • Functional Description • Block Diagram • IR Capture • IR Transmission • Voice Direct II interface • User Interface • Conclusion
Presentation Summary Infra-red
Project Summary • Control any IR activated device • Via voice command • Programmable • Learn IR Code • Learn Voice Command • Learn Multiple IR Commands per Voice Command • User interface
Functional Description • Inputs • Voice Commands • IR Sequences To Be Captured • Key Presses (User Responses to Menu) • Outputs • User Interface Menu Via LCD Screen • Transmitted IR Sequences • Speaker Queuing User To Say Command Word
Functional Description Modes Of Operation • Continuous Voice Recognition • Command Recognized • IR Transmit • Keypad Initiated Learn Mode • Learn Voice Command • Learn IR Command(s) • Keypad Initiated Erase Mode • IR Sequences • Voice Systems
LCD (liquid crystal display) 8051 Microprocessor Sensory Voice Direct II (Voice -recognition chip) Microphone Keyboard IR Receiver IR Transmitter Speaker Block Diagram Sub-Systems
Accomplished 1: SW • Logic of Capture is Sampling • Each Sample Saved as Bit in External Memory • Time Out of 7 seconds if no IR detected • 720 samples per sequence
Accomplished 2: SW DVD Discrete Off IR to X-10 Sony Receiver Aux Sony VCR Play Panasonic DVD Play
Accomplished 3: SW • Sample every 100 µs • 72 ms Recording time for each IR Sequence • Logic Low Header Included • Each Sequence Requires 90 Bytes of Memory
Accomplished 4: SW • Transmitting Stored IR Sequences Uses Same Logic and Timing as Capturing • Every 100 µs one of the 720 samples sent to output pin
Accomplished 5: HW • Transmission of IR requires simple modulation • 1 =>intensity of IR light modulated with a triangle wave • 0 =>no IR light • Modulator = VCO, OP-AMP, Transistor, IR-LED • LED requires 76 mA (peak)
Set Backs 1 • Some IR Codes Can Not Be Stored Using This Method • DVD Discrete On • IR to X-10
Set Backs 2 DVD Discrete Off IR to X-10 Sony Receiver Aux Sony VCR Play Panasonic DVD Play
VDII +User Interface • Control a complete menu interface with voice activation • Co-ordinate voice inputs with IR signals • Create user-friendly interface
Problems: • Slave mode: • “not supported” • Stand-alone (4 modes): • ESR, SCL, MCL, SWS • Utilize SCL “Single Trigger Continuous Listening” • Memory: • 60 words different modes • SCL 1 trigger word + 15 words • Number of I/0 pins available
Slave Mode: • Originally the slave mode would allow the EMAC to control the voice templates. • SCL Mode:
Number of I/O pins: • 2 VDII boards working in Parallel • 2 trigger-words or “systems” • 30 commands or 15 per system • Ports: • Share 8 pin parallel input TALK signal • Monitor Talk signal Duration of 32 ms Duration of 176ms
Voice Direct II/EMAC interface TALK MODE1 OUT1 Held Externally Voice Direct II Board Input/output configuration OUT2 MODE2 OUT3 Emac Inputs OUT4 TRAIN OUT5 Emac Outputs TRIG-TRAIN OUT6 OUT7 RESET OUT8
EMAC/Voice Direct II interface: TALK Sys. 1 TALK Sys. 2 OUT1 OUT2 OUT3 OUT4 OUT5 OUT6 OUT7 OUT8 P0.2 TRIG-TRAIN(1) P0.3 TRAIN(1) EMAC Board Input/output configuration P0.4 RECOG(1) VDII CMOS P0.5 TRIG-TRAIN(2) P0.6 TRAIN(2) P0.7 RECOG(2)
EMAC/Voice Direct II interface: • Use CMOS switches MAX4614 active HIGH • Delay used to output 105 ms pulse, INX port P0.2 TRIG-TRAIN(1) P0.3 TRAIN(1) P0.4 RECOG(1) P0.5 TRIG-TRAIN(2) VDII P0.6 TRAIN(2) P0.7 RECOG(2)
VDII + User interface: • Initializations: • Reset both boards • TRAIN & RECOG set HIGH • Options: • Add New System • Add New Command • Delete System
VDII Feedback: • Listening mode entered after any command is stored • Trigger word + Command word Recognized • LED + Voice Output • EMAC External I/0 input • Corresponding IR Recalled • IR output
“Voice Activation”: Receive Voice Command Word? Yes Transmit IR Sequence No Last IR Sequence? No Yes
Conclusion: • Currently Completed: • User interface operational • EMAC / VDII interface operational • IR Capture/Transmit • Possible Project Extensions: • IR / Voice integration • Memory Problems (single EMAC board)