全面了解红外遥控器.docx

上传人:b****8 文档编号:9398356 上传时间:2023-02-04 格式:DOCX 页数:26 大小:121.12KB
下载 相关 举报
全面了解红外遥控器.docx_第1页
第1页 / 共26页
全面了解红外遥控器.docx_第2页
第2页 / 共26页
全面了解红外遥控器.docx_第3页
第3页 / 共26页
全面了解红外遥控器.docx_第4页
第4页 / 共26页
全面了解红外遥控器.docx_第5页
第5页 / 共26页
点击查看更多>>
下载资源
资源描述

全面了解红外遥控器.docx

《全面了解红外遥控器.docx》由会员分享,可在线阅读,更多相关《全面了解红外遥控器.docx(26页珍藏版)》请在冰豆网上搜索。

全面了解红外遥控器.docx

全面了解红外遥控器

全面了解红外遥控

作者:

SanBergmans

IRRemoteControlTheory

ThecheapestwaytoremotelycontroladevicewithinavisiblerangeisviaInfra-Redlight.Almostallaudioandvideoequipmentcanbecontrolledthiswaynowadays.Duetothiswidespreadusetherequiredcomponentsarequitecheap.Thusmakingitidealforushobbyiststouseforourownprojects.

ThispartofmyknowledgebasewillexplainthetheoryofoperationofIRremotecontrol,andsomeoftheprotocolsthatareinuseinconsumerelectronics.

Infra-RedLight

Infra-Redactuallyisnormallightwithaparticularcolour.Ushumanscan'tseethiscolourbecauseit'swavelengthof950nmisbelowthevisiblespectrum.That'soneofthereasonswhyIRischosenforremotecontrolpurposes,wewanttouseitbutwe'renotinterestedinseeingit.AnotherreasonisbecauseIRLEDsarequiteeasytomake,andthereforcanbeverycheap.

Althoughwehumanscan'tseetheInfra-Redlightemittedfromaremotecontroldoesn'tmeanwecan'tmakeitvisible.

Avideocameraordigitalcameracan"see"theInfra-Redlightasyoucanseeinthispicture.

UnfortunatelyforustherearemanymoresourcesofInfra-Redlight.Thesunisthebrightestsourceofall,buttherearemanyothers,like:

lightbulbs,candles,centralheatingsystem,andevenourbodyradiatesInfra-Redlight.Infacteverythingthatradiatesheat,alsoradiatesInfra-Redlight.

ThereforwehavetotakesomeprecautionstoguaranteethatourIRmessagegetsacrosstothereceiverwithouterrors.

Modulation

Modulationistheanswertomakeoursignalstandoutabovethenoise.WithmodulationwemaketheIRlightsourceblinkinaparticularfrequency.TheIRreceiverwillbetunedtothatfrequency,soitcanignoreeverythingelse.

Youcanthinkofthisblinkingasattractingthereceiver'sattention.Wehumansalsonoticetheblinkingofyellowlightsatconstructionsitesinstantly,eveninbroughtdaylight.

InthepictureaboveyoucanseeamodulatedsignaldrivingtheIRLEDofthetransmitterontheleftside.Thedetectedsignaliscomingoutofthereceiverattheotherside.

Inserialcommunicationweusuallyspeakof'marks'and'spaces'.The'space'isthedefaultsignal,whichistheoffstateinthetransmittercase.Nolightisemittedduringthe'space'state.Duringthe'mark'stateofthesignaltheIRlightispulsedonandoffataparticularfrequency.Frequenciesbetween30kHzand60kHzarecommonlyusedinconsumerelectronics.

Atthereceiversidea'space'isrepresentedbyahighlevelofthereceiver'soutput.A'mark'isthenautomaticallyrepresentedbyalowlevel.

Pleasenotethatthe'marks'and'spaces'arenotthe1-sand0-swewanttotransmit.Therealrelationshipbetweenthe'marks'and'spaces'andthe1-sand0-sdependsontheprotocolthat'sbeingused.Moreinformationaboutthatcanbefoundonthepagesthatdescribetheprotocols.

TheTransmitter

Thetransmitterusuallyisabatterypoweredhandset.Itshouldconsumeaslittlepoweraspossible,andtheIRsignalshouldalsobeasstrongaspossibletoachieveanacceptablecontroldistance.Preferablyitshouldbeshockproofaswell.

ManychipsaredesignedtobeusedasIRtransmitters.Theolderchipswerededicatedtoonlyoneofthemanyprotocolsthatwereinvented.NowadaysverylowpowermicrocontrollersareusedinIRtransmittersforthesimplereasonthattheyaremoreflexibleintheiruse.Whennobuttonispressedtheyareinaverylowpowersleepmode,inwhichhardlyanycurrentisconsumed.TheprocessorwakesuptotransmittheappropriateIRcommandonlywhenakeyispressed.

Quartzcrystalsareseldomusedinsuchhandsets.Theyareveryfragileandtendtobreakeasilywhenthehandsetisdropped.Ceramicresonatorsaremuchmoresuitablehere,becausetheycanwithstandlargerphysicalshocks.Thefactthattheyarealittlelessaccurateisnotimportant.

ThecurrentthroughtheLED(orLEDs)canvaryfrom100mAtowellover1A!

InordertogetanacceptablecontroldistancetheLEDcurrentshavetobeashighaspossible.Atrade-offshouldbemadebetweenLEDparameters,batterylifetimeandmaximumcontroldistance.LEDcurrentscanbethathighbecausethepulsesdrivingtheLEDsareveryshort.AveragepowerdissipationoftheLEDshouldnotexceedthemaximumvaluethough.YoushouldalsoseetoitthatthemaximumpeekcurrentfortheLEDisnotexceeded.AlltheseparameterscanbefoundintheLED'sdatasheet.

AsimpletransistorcircuitcanbeusedtodrivetheLED.AtransistorwithasuitableHFEandswitchingspeedshouldbeselectedforthispurpose.

TheresistorvaluescansimplybecalculatedusingOhm'slaw.RememberthatthenominalvoltagedropoveranIRLEDisapproximately1.1V.

Thenormaldriver,describedabove,hasonedisadvantage.Asthebatteryvoltagedrops,thecurrentthroughtheLEDwilldecreaseaswell.Thiswillresultinashortercontroldistancethatcanbecovered.

Anemitterfollowercircuitcanavoidthis.The2diodesinserieswilllimitthepulsesonthebaseofthetransistorto1.2V.Thebase-emittervoltageofthetransistorsubtracts0.6Vfromthat,resultinginaconstantamplitudeof0.6Vattheemitter.Thisconstantamplitudeacrossaconstantresistorresultsincurrentpulsesofaconstantmagnitude.CalculatingthecurrentthroughtheLEDissimplyapplyingOhm'slawagain.

TheReceiver

Manydifferentreceivercircuitsexistonthemarket.Themostimportantselectioncriteriaarethemodulationfrequencyusedandtheavailabilityinyouregion.

InthepictureaboveyoucanseeatypicalblockdiagramofsuchanIRreceiver.Don'tbealarmedifyoudon'tunderstandthispartofthedescription,foreverythingisbuiltintoonesingleelectroniccomponent.

ThereceivedIRsignalispickedupbytheIRdetectiondiodeontheleftsideofthediagram.Thissignalisamplifiedandlimitedbythefirst2stages.ThelimiteractsasanAGCcircuittogetaconstantpulselevel,regardlessofthedistancetothehandset.

AsyoucanseeonlytheACsignalissenttotheBandPassFilter.TheBandPassFilteristunedtothemodulationfrequencyofthehandsetunit.Commonfrequenciesrangefrom30kHzto60kHzinconsumerelectronics.

Thenextstagesareadetector,integratorandcomparator.Thepurposeofthesethreeblocksistodetectthepresenceofthemodulationfrequency.Ifthismodulationfrequencyispresenttheoutputofthecomparatorwillbelow.

AsIsaidbefore,alltheseblocksareintegratedintoasingleelectroniccomponent.Therearemanydifferentmanufacturersofthesecomponentsonthemarket.Andmostdevicesareavailableinseveralversionseachofwhicharetunedtoaparticularmodulationfrequency.

Pleasenotethattheamplifierissettoaveryhighgain.Thereforethesystemtendstostartoscillatingveryeasily.Placingalargecapacitorofatleast22µFclosetothereceiver'spowerconnectionsismandatorytodecouplethepowerlines.Somedatasheetsrecommendaresistorof330Ohmsinserieswiththepowersupplytofurtherdecouplethepowersupplyfromtherestofthecircuit.

ThereareseveralmanufacturersofIRreceiversonthemarket.Siemens,VishayandTelefunkenarethemainsuppliershereinEurope.SiemenshasitsSFH506-xxseries,wherexxdenotesthemodulationfrequencyof30,33,36,38,40or56kHz.TelefunkenhaditsTFMS5xx0andTK18xxseries,wherexxagainindicatesthemodulationfrequencythedeviceistunedto.Itappearsthatthesepartshavenowbecomeobsolete.TheyarereplacedbytheVishayTSOP12xx,TSOP48xxandTSOP62xxproductseries.

Sharp,XiamenHualianandJapaneseElectricare3AsianIRreceiverproducingcompanies.SharphasdeviceswithverycrypticIDnames,like:

GP1UD26xK,GP1UD27xKandGP1UD28xK,wherexisrelatedtothemodulationfrequency.Hualianhasit'sHRMxx00series,liketheHRM3700andHRM3800.JapaneseElectrichasaseriesofdevicesthatdon'tincludethemodulationfrequencyinthepart'sID.ThePIC-12042LMistunedto36.7kHz,andthePIC12043LMistunedto37.9kHz.

TheEnd?

ThisconcludesthetheoryofoperationforIRremotecontrolsystemsintendedforuseinconsumerelectronics.IrealisethatotherwaysexisttoimplementIRcontrol,butIwilllimitmyselftothedescriptionabove.Oneoftheissuesnotcoveredhereissecurity.SecurityisofnoimportanceifIwanttocontrolmyVCRorTVset.Butwhenitcomestoopeningdoorsorcarsitliterallybecomesa'key'feature!

MaybeIwillcoverthisissuelater,butnotfornow.

Ialsorealisethatmysmalllistofmanufacturersisfarfrombeingcomplete.Itishardlypossibletolisteverymanufacturerhere.

ThispageonlydescribedthebasictheoryofoperationofIRremotecontrol.Itdidnotdescribetheprotocolsthatareinvolvedincommunicationbetweentransmitterandreceiver.Manyprotocolsaredesignedbydifferentmanufacturers.Youcanfindtheprotocolsofsomemanufacturersinthelinksectionatthetopofthispage.

ITTProtocol

TheITTIRprotocolisaveryoldone.ItdiffersfromotherprotocolsinthatitdoesnotuseamodulatedcarrierfrequencytosendtheIRmessages.Asinglecommandistransmittedbyatotalof14pulseswithawidthof10µseach.Thecommandisencodedbythedistancebetweenthepulses.

Thisprotocolisveryreliableandconsumesverylittlepowerensuringlongbatterylife.

ManyconsumerelectronicsbrandsusedthisprotocolinEurope.Amongthemwere:

ITT,Greatz,Schaub-Lorenz,Finlux,Luxor,Salora,OceanicandlateralsoNokia,tonamebutafew.

Features

∙Only14veryshortIRpulsespermessage

∙Pulsedistanceencoding

∙Longbatterylife

∙4bitaddress,6bitcommandlength

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 医学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1