《RS-422,485协议英文介绍》由会员分享,可在线阅读,更多相关《RS-422,485协议英文介绍(17页珍藏版)》请在金锄头文库上搜索。
1、RS-422andRS-485applicationnoteChapter1:OverviewIntroductionThepurposeofthisapplicationnoteistodescribethemainelementsofanRS-422andRS-485system.Thisapplicationnoteattemptstocoverenoughtechnicaldetailssothatthesystemdesignerwillhaveconsideredalltheimportantaspectsinhisdatasystemdesign.SincebothRS-422a
2、ndRS-485aredatatransmissionsystemsthatusebalanceddifferentialsignals,itisappropriatetodiscussbothsystemsinthesameapplicationnote.ThroughoutthisapplicationnotethegenerictermsofRS-422andRS-485willbeusedtorepresenttheEIA/TIA-422andEIA/TIA-485Standards.DataTransmissionSignalsUnbalancedLineDriversEachsig
3、nalthattransmitsinanRS-232unbalanceddatatransmissionsystemappearsontheinterfaceconnectorasavoltagewithreferencetoasignalground.Forexample,thetransmitteddata(TD)fromaDTEdeviceappearsonpin2withrespecttopin7(signalground)onaDB-25connector.Thisvoltagewillbenegativeifthelineisidleandalternatebetweenthatn
4、egativelevelandapositivelevelwhendataissentwithamagnitudeof5to15volts.TheRS-232receivertypicallyoperateswithinthevoltagerangeof+3to+12and-3to-12voltsasshowninFigure1.1.BalancedLineDriversInabalanceddifferentialsystemthevoltageproducedbythedriverappearsacrossapairofsignallinesthattransmitonlyonesigna
5、l.Figure1.2showsaschematicsymbolforabalancedlinedriverandthevoltagesthatexist.Abalancedlinedriverwillproduceavoltagefrom2to6voltsacrossitsAandBoutputterminalsandwillhaveasignalground(C)connection.Althoughproperconnectiontothesignalgroundisimportant,itisntusedbyabalancedlinereceiverindeterminingthelo
6、gicstateofthedataline.Abalancedlinedrivercanalsohaveaninputsignalcalledan“Enable”signal.Thepurposeofthissignalistoconnectthedrivertoitsoutputterminals,AandB.Ifthe“Enable”signalisOFF,onecanconsiderthedriverasdisconnectedfromthetransmissionline.AnRS-485drivermusthavethe“Enable”controlsignal.AnRS-422dr
7、ivermayhavethissignal,butitisnotalwaysrequired.Thedisconnectedordisabledconditionofthelinedriverusuallyisreferredtoasthe“tristate1”conditionofthedriver.1Theterm“tristate”comesfromthefactthatthereisathirdoutputstateofanRS-485driver,inadditiontotheoutputstatesof“1”and“0.”BalancedLineReceiversAbalanced
8、differentiallinereceiversensesthevoltagestateofthetransmissionlineacrosstwosignalinputlines,AandB.Itwillalsohaveasignalground(C)thatisnecessaryinmakingtheproperinterfaceconnection.Figure1.3isaschematicsymbolforabalanceddifferentiallinereceiver.Figure1.3alsoshowsthevoltagesthatareimportanttothebalanc
9、edlinereceiver.IfthedifferentialinputvoltageVabisgreaterthan+200mVthereceiverwillhaveaspecificlogicstateonitsoutputterminal.Iftheinputvoltageisreversedtolessthan-200mVthereceiverwillcreatetheoppositelogicstateonitsoutputterminal.TheinputvoltagesthatabalancedlinereceivermustsenseareshowninFigure1.3.T
10、he200mVto6Vrangeisrequiredtoallowforattenuationonthetransmissionline.EIAStandardRS-422DataTransmissionTheEIAStandardRS-422-Aentitled“ElectricalCharacteristicsofBalancedVoltageDigitalInterfaceCircuits”definesthecharacteristicsofRS-422interfacecircuits.Figure1.4isatypicalRS-422four-wireinterface.Notic
11、ethatfiveconductorsareused.Eachgeneratorordrivercandriveuptoten(10)receivers.Thetwosignalingstatesofthelinearedefinedasfollows:a.Whenthe“A”terminalofthedriverisnegativewithrespecttothe“B”terminal,thelineisinabinary1(MARKorOFF)state.b.Whenthe“A”terminalofthedriverispositivewithrespecttothe“B”terminal
12、,thelineisinabinary0(SPACEorON)state.Figure1.5showstheconditionofthevoltageofthebalancedlineforanRS-232toRS-422converterwhenthelineisinthe“idle”conditionorOFFstate.Italsoshowstherelationshipofthe“A” and“B”terminalsofanRS-422systemandthe“-”and“+”terminalmarkingsusedonmanytypesofequipment.The“A”termin
13、alisequivalenttothe“-”designation,andthe“B”terminalequivalenttothe“+”designation.ThesamerelationshipshowninFigure1.5alsoappliesforRS-485systems.RS-422canwithstandacommonmodevoltage(Vcm)of7volts.CommonmodevoltageisdefinedasthemeanvoltageoftheAandBterminalswithrespecttosignalground.EIAStandardRS-485DataTransmissionTheRS-485Standardpermitsabalancedtransmissionlinetobesharedinapartylineormultidropmode.Asmanyas32driver/receiverpairscanshareamultidropnetwork.Manycharacteristicsofthedriversandreceive