Voice Activated RC Car

spectacularscarecrowAI and Robotics

Nov 17, 2013 (3 years and 7 months ago)

56 views

Voice Activated RC Car

Darren Gould

Kevin Grant

Andrew Stanley
-
Jones

Project Goals


To design and build a voice recognition
system that controls an RC Car


To obtain acceptable accuracy with the
voice recognition algorithm


To distinguish between 4 commands

What Voice Looks Like


Amplitude


Frequency

Processing Voice Data


“Time Chunks”


Threshold value


1

2

3

4

7

12

8

6

Successful Voice Compare


Sum of Absolute Differences: 8


Sum of Squared Differences: 18


Command 1: 7 8 12 6


D: 1 2 3 2


D
2
: 1 4 9 4


Command 2: 8 6 9 8

Failed Voice Comparison


Sum of Absolute Differences: 9


Sum of Squared Differences: 41


Command 1: 7 8 12 6


D: 0 6 2 1


D
2
: 0 36 4 1


Command 2: 7 14 10 7

External Hardware


3 Main System Components

FOR MORE INFO...


See Application Notes

A/D Converter

FPGA

RC Car

FPGA Design Overview

Input Reader
Input
Memory
Crossings Counter
Sum of Differences
Voter
DSP
RC Car Control
Output
Controller

Control Path and Data Path Structure


Data path components connected over 8
-
bit communications channel.

The Brain


One central state machine controller


Allows for re
-
use of timers and counters


Two basic modes of operation


train


recognize


28 states


The Data Path


6 Major Components


Data Acquisition


Crossings Counter


Memory Access


Sum of Squared Differences


Voter


RC Car Controller


Training uses only the first 3 components


Physical Operation


Train Each Command


Select command on switches


For each version


Push train button and speak command


Wait for flashing light


Light no longer flashes when command is
trained


Voice Recognition


Push listen button and speak command







Demo!


Train two commands


“Go Forwards”


“Backward”


Issue commands


If we have sufficient time, train the
remaining turn commands