AutomaticVolumeControl
ProjectProposal
ChrisGouletRolandLeGrandEricDavila
TA:IgorFedorov
February6,2013
TableofContents
1.0INTRODUCTION
1.1StatementofPurpose...................................................................................................................3
1.2Objectives...................................................................................................................................4
1.2.1Goals.......................................................................................................................................4
1.2.2Functions.....................................................................................................................4
1.2.3Benefits........................................................................................................................4
1.2.4Features.......................................................................................................................4
2.0DESIGN
2.1BlockDiagrams......................................................................................................................56
2.2BlockDescriptions..................................................................................................................56
2.2.1CentralHubDescription..............................................................................................7
2.2.2SpeakerSystemDescription.....................................................................................78
2.2.3TransmitterDescription................................................................................................8
3.0REQUIREMENTSANDVERIFICATION
3.1.1Requirementsandverification...................................................................................................9
3.1.1CentralHub.................................................................................................................9
3.1.2SpeakerSystem...........................................................................................................9
3.1.3Transmitter..................................................................................................................9
3.2ToleranceAnalysis.....................................................................................................................10
4.0COSTANDSCHEDULE
4.1CostAnalysis.............................................................................................................................11
4.1.1LaborCosts................................................................................................................11
4.1.2PartsCosts.................................................................................................................11
4.1.3GrandTotal................................................................................................................12
4.2Schedule..............................................................................................................................1213
1.0Introduction
1.1StatementofPurpose
Acommonproblemthatanyonewholovesmusicrunsintoiswhentheyarelisteningtoasong
ontheirstereoinoneroom,[Link]
avoidthisproblem?Someturnuptheirstereoreallyloudsothattheycanhearitfromfurtheraway,and
[Link]
waytoadjustthevolumeofthestereobasedonthedistancethatthelistenerisfromit?Thatisexactly
[Link],thevolumeofany
soundsystemcanbeadjustedsimplybythedistancethatthelistenerisfromitsothatnomatterwhat
distancetheyarefromit,[Link]
differentspeakersindifferentrooms,sothatthecloserspeakersplaythemusicasyoumovefromone
[Link],thelistenerspositionwillalwaysbe
knownrelativetothespeakersinorderforthissystemtofunction.
1.2Objectives
1.2.1Goals
Thegoalsofthisprojectaretocreateanautomaticsystemthatwilladjustthevolumeofa
[Link]
willalsoallowformultiplespeakersystems,sothatwhenthelistenerwalksfromoneroomtoanother,
thespeakersinthepreviousroomwillturnoffandthenewspeakersturnon.
1.2.2Functions
Thiswillallbeaccomplishedthroughaportableactivedevicethatthelistenerwouldcarry,such
[Link]
allowultrasonicsensorstoknowhowfarawayitisfromthem,andwiththatinformationthevolume
levelsofthespeakerswouldbeadjusted.
1.2.3Benefits
Movewithinroomwhilemaintainingnormalaudiovolume
transitionfromroomtoroomwhilemaintainingnormalaudiovolume
1.2.4ProductFeatures
multiplevolumecontrolledspeakersthatcanbeindifferentrooms
transmitterisanappthatcanbedownloadedfromgoogleappsortheappleappstoreforfree,
sothesystemwillworkwithanysmartphone
2.0Design
2.1BlockDiagrams
Figure1(HighLevelBlockDiagram)
Figure2(CentralHubDiagram)
Figure3(SpeakerSystemDiagram)
Figure4(TransmitterDiagram)
2.2BlockDescriptions
2.2.1CentralHub
OverallSummary:
Thepurposeofthiscomponentistoplaythemusicdesired,sendingthesignaltothespeakers,
[Link]
informationitreceivesfromeachspeakersystemisthedistancethepersonisfromthatspeakersystem.
[Link]
ofamusicsourceandalogicunit.
CaseDesign:
[Link],such
asaportablelaptoporstereo,[Link]
poweredbythemusicsourceaswell.
MusicSource:
Themusicsourcewillconsistofalaptop(stereo)thatwilltakeasoundfile(MP3,.wav,itunes,
windowsmediaplayer)asthedesiredmusictobeplayedandwillthensendthisinformationtothe
speakersviaaudiocables.
LogicUnit:
[Link],whichisthedistance
informationwhereagreaterintensitymeansashorterdistance,fromspeakersystem1andcomparesit
[Link]
[Link],thatspeakersystemis
sentasignaltoturnonorleaveonthespeakerandtheothertwospeakersystemsaresentsignalsto
[Link],onlytheclosestspeakerwillbeplayingthemusic.
2.2.2SpeakerSystem
OverallSummary:
[Link]
parts:switch,receiver,controller,speakers,andpowersupply.
CaseDesign:
[Link]
[Link].
Thecasewillbeconnectedtothespeakerssuchthatitwilltellthespeakerswhattoplayandthe
volumetobeplayedat.
Switch:
[Link],itsupplies
[Link],thespeakerdoesnotreceivepowerandremainsoff.
Receiver:
Thisblockconsistsofatransducerthatdetectstheaudiofrequencytransmittedbythereceiver.
Itthenturnsthisaudiosignalintoanelectricalsignaldescribingtheintensityoftheaudiofrequency.
Controller:
[Link]
[Link]
andafterconsultingalookuptableitwillsendasignaltothespeakertoturnupordownthevolume.
Speakers:
Thespeakersreceiveasignalformthecontrollertoturnupordownthevolumetotransmitthe
desiredsoundatanormalvolume.
PowerSupply:
Thepowersupplymakessurethatallofthesecomponentsarereceivingthepowerthatthey
need.
2.2.3Transmitter
OverallSummary:
Thepurposeofthiscomponentistoemitahighfrequencysignalintheformofaultrasonic
[Link].
Thisfrequencywillbereceivedatallspeakers.
CaseDesign:
[Link]
UltrasonicRingtonesandSoundsbyRayJayFro.
Transmitter:
Thetransmitterwillbesetataspecificfrequency80kHZthisfrequencywaschosentoavoidthe
rangeofhumansandanimals,butalsouseaslowafrequencyaspossibletotransmitthesignalasfaras
possible.
3.0REQUIREMENTSANDVERIFICATION
3.1RequirementsandVerification
Thissectionliststherequirementsandverificationmethodsforeachmajorcomponentinthe
Highlevelblockdiagram(seefigure1HighLevelBlockDiagram).
3.1.1CentralHub
Requirements:
Verification:
Sendmusicsignaltospeakers
Isthecorrectmusicbeingplayedwhentheswitchis
on?
Sendthecorrectcontrolsignaltothespeakersystem
switches
Isonlyonespeakerplaying?Isitthecorrectspeaker?
Receivesignalsfromcontrollerofspeakersystems
Thelogicunitreceivesdifferentsignalsasthedistance
changes
3.1.2SpeakerSystem
Requirements:
Verification:
Volumechangeswithdistance
Volumechangeswhenthepersonwiththedevice
moves
Speakersturnonandoffcorrectly
Personwithdevicewalksfromonespeakertoanother,
theformerspeakerturnsoffandthenewspeakerturns
oninthemiddle
Receiverdetectsthedistancesignal
Receiversdataisconsistentwithtransmittedsignal
Controllersendssignaltocontrolhub
Controllersendsclearsignalcorrespondingtothe
signalreceivedbythereceiver
Normalvolumechangeswhenadjustingtheregular
musicsourcevolume
Atthesamedistance,bychangingthevolumeofthe
musicsource,thevolumechangesandchanges
accordinglyfromthatnormallevelwhendistance
changesagain
Allspeakersshouldbesynced
Nolagtimeswhenswitchingbetweenspeakers
3.1.3Transmitter
Requirements:
Verification:
Sendsahighfrequencysignal
Humansandanimalscanthearit,atleast80kHz
Transmitteruseslowpower
Usingthetransmitterapplicationisnotasignificant
drainonthebatterylifeofasmartphone,nomorethan
10%in30minutes
Synchronizedclockwiththereceiver
Mustbesyncedtowithin5ms
3.2ToleranceAnalysis
Thesystemmustdistinguishdistancesveryaccuratelyinordertocleanlytransitionfromone
speakersettoanother,especiallysincethelistenermightbewalkingfastfromoneroomtoanother.
Whenbetweentwospeakers,thetransitionshouldtakeplacewithin2feetofthemidpointbetweenthe
[Link],within100ms.
Thesystemmustdistinguishdistancesveryaccuratelyinordertochangethevolumesmoothly
andconsistentlywithdistance.Withevery5feet,thevolumelevelshouldchangeeitherhigherorlower.
10
4.0CostandSchedule
4.1CostAnalysis
4.1.1LaborCosts
Name
HourlyRate($)
TotalInvestedHours
Total=HourlyRatex2.5
xTotalHoursInvested
EricDavila
42
150
15750
ChrisGoulet
42
150
15750
RolandLegrand
42
150
15750
TotalHours:450hrs
TotalLaborCost:$47250.00
4.1.2PartsCost
Item
Quantity
Cost/Unit($)
TotalCost($)
A520SV7Speakers
7.24
21.72
SensCompSeries600
UltrasonicSensor
27.00
81.00
PCBs
15.00
60.00
PIC16F1459
Microcontroller
1.82
9.10
TICSD18531Q5A
MOSFETs
10
1.62
16.20
Resistors
20
0.09
1.80
Capacitors
20
0.08
1.60
Inductors
20
0.39
7.80
11
TotalPartsCost:$199.22
4.1.3GrandTotal
Section
Total
Labor
$47250.00
Parts
$199.22
Total
$47,449.22
4.2Schedule
WeekOf
Task
PersonResponsible
Feb4
Prepareintroductionforproposal
ChrisGoulet
Prepareblockdiagramanddesignoverviewforproposal
RolandLeGrand
Preparecostandschedulingforproposal
EricDavila
Finalizeproposal
All
Designlogicunitforhub
EricDavila
Researchanddesignpowersupplyforspeakersandhub
ChrisGoulet
Researchcommunicationbetweentransmitterandreceiver
RolandLeGrand
Designcontrolschemeforspeakers
EricDavila
Researchthedynamicsofthespeaker
ChrisGoulet
SimulatelogicunitandpowersupplyusingPSpice
RolandLeGrand
SignupforDesignReview
All
LearnsoftwareforPICmicrocontroller
EricDavila
PreparepresentationforDesignReview
ChrisGoulet
LayoutPCBforhubandspeakers
RolandLeGrand
AdjustdesignusingsuggestionsfromDesignReview
RolandLeGrand
ProgramPICmicrocontroller
EricDavila
OrderthePCBsandpartsfrompartslist
ChrisGoulet
Feb11
Feb18
Feb25
Mar4
12
Mar11
PrepareIndividualProgressReport
All
Verifymicrocontrollerdesign
EricDavila
Testultrasonicsensorandmicrocontroller
RolandLeGrand
Assemblestereoassembly
ChrisGoulet
Mar18
Mar25
April1
April8
April15
April22
SpringBreak
SaudercomponentsintoPCBs
ChrisGoulet
Preparepresentationformockpresentation
EricDavila
Assemblehubandsetupsystemfortesting
RolandLeGrand
Testconnections
RolandLeGrand
Performinitialtoleranceanalysis
ChrisGoulet
Adjustpresentationusingsuggestionsfrommockpresentation
EricDavila
Testassembledsystem
RolandLeGrand
Debugremainingissuesfacingsystem
EricDavila
Performremainingtoleranceanalysis
ChrisGoulet
Verifyspecificationsandfixanyremainingbugs
EricDavila
Preparepresentation,usingsuggestionsfrommockpresentation
RolandLeGrand
OutlineFinalPaper
ChrisGoulet
DemoandPresentation
All
FinalPaperwriteup
April29
FinalPresentationandCheckin
All
All
13