16.06.2013 Views

Application Notes - Moduli RF wireless

Application Notes - Moduli RF wireless

Application Notes - Moduli RF wireless

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Application</strong>note• Notaapplicativa mod. RTF-DATA-SAW<br />

Transmitter<br />

The transmitter is turned "On", or keyed, with +5V on Pin 2.<br />

Transmitting RS-232 type data is done by using positive-true<br />

signals,wherealogic"1"turns-onthetransmitter.<br />

Thus the Start bit would turn the transmitter On and after the<br />

Data bits had been transmitted, the Stop bit would return the<br />

transmittertothequiescent(Off)state.<br />

The transmitter SAW resonator takes afinite time to start and<br />

stop. The typical start time is 50µs and the stop time 10µs.<br />

However,thesetimesarenotconstant.<br />

ThusthemaximumratethatcanreliablybeusedwiththeRTF<br />

moduleis4800Baud.<br />

AsecondlimitcomesfromtheuseofanRCnetworkonPin2to<br />

limit the slew-rate of the keying signal and to control the<br />

transmittedbandwidth.<br />

A 1K W /10nF low-pass filter is needed to comply with<br />

ETS300220<br />

regulations.Thesevalueshaveatimeconstantof<br />

10µssowillnotdegradetransmitterperformanceprovidedthat<br />

the minimum logic 1on Pin 2is 4.5V,alevel that standard<br />

CMOSshould normallysupply.<br />

Receiver<br />

Theoutputstageofthesuper-regenerativereceiverisshownin<br />

Figure2.<br />

ThedetectorouputisDCcoupledintoanamplifierwithanAC<br />

gainof 100.<br />

Theoutputofthisamplifierisgivenanominal+100mVoffset<br />

and compared with the mean detector DC level, available on<br />

capacitorC.<br />

The offset is more than the noise level at the output of the<br />

amplifierandsoensuresthattheoutputofthecomparatorislow<br />

exceptwhenasignalisreceived.<br />

For intermittent signals consisting of single words or short<br />

strings of words with arelatively long no-signal time, this<br />

methodofgeneratingadigitaloutputis entirelyadeguate.<br />

Howeveritcancauseproblemswhenthelong-termmark/space<br />

ratio of the received signal moves too far away from unity.<br />

When faced with long strings of non-encoded RS-232 words<br />

containing only 0s or 1s as databits, themean detector output<br />

voltage stored on Cwill change, as the RC time-constant of<br />

around10msisnotinfinite.<br />

Ifthestringislongenough,mis-detectionwilleventuallyoccur.<br />

This problem can occur whenever AC amplification is used<br />

whenprocessingunencodedRS-232data.<br />

ThereisawayaroundthisproblemusingManchesterencoding,<br />

whichwillbedescribe dlater.<br />

The second time-constant formed by Rc and C must be<br />

considered.<br />

TheratioofRtoRcisaround50-100,givingatime-constantof<br />

aroundafewseconds.<br />

This information may be subject to revision without notice. AUR°EL makes no warranty and assumes no liability in conn ection with any use of this information .<br />

Variazioni senza preavviso delle presenti informazioni non implicano responsabilità da parte AUR°EL. L'acquiren te assume ogni responsabilità derivante dall'uso del prodotto.<br />

1-6<br />

Perriconoscereisingolibitdidatoènecessariosincronizzarsi<br />

sulfrontedisalitadellostartbit,temporizzareopportunamente<br />

per campionare il livello di ogni bit, ricostruire l'intero byte<br />

(8bit)diinformazioneutilizzandoeventualmenteiltempodello<br />

stopbit.<br />

Isingoli bit non hanno singole identificazioni per cui l'unico<br />

sistema di riconoscimento èla corretta interpretazione dello<br />

startbit.<br />

Non vi èlimite all'insieme di parole che si può trasmettere di<br />

seguito per cui sarà necessario prevedere alivello software<br />

tecniche di riconoscimento della validità di trasmiss ione di<br />

stringhecomplesse.<br />

Nel nostro caso ci limiteremo aconsiderare iproblemi che si<br />

incontrano già con stringhe lunghe 10 o20 parole senza<br />

intervallofraisingolidati.<br />

Caratteristiche del trasmettitore<br />

Iltrasmettitorevieneattivatosemplicementeportandoilpin2a<br />

livello5V.<br />

Vienespentoriportandoillivelloa0V.<br />

La trasmissione RS232 sarebbe dunque possibile<br />

semplicemente trasformando ilivelli elettrici da bipolari a<br />

logica 0-5 econsiderando il livello di riposo (negativo) come<br />

logica0inmododaavereiltrasmettitoreinfunzionesoloperi<br />

livellilogici1.<br />

Ovviamente lo start bit deve essere trasmesso come acceso,<br />

mentre lo stop bit risulterà come periodo di off per cui il<br />

trasmettitore dovrà accendersi espegnersi nel minor tempo<br />

possibileperconsentireilriconoscimen tocorrettodelfrontedi<br />

salitadellostartbit.<br />

IltrasmettitoreconrisuonatoreSAWpresentauntempodi"ON"<br />

dicirca50µsedi"OFF"dicirca10µS.<br />

Poiché questi tempi sono anche non costanti dipendendo dai<br />

componenti impiegati, si ha una prima limitazione al valore<br />

massimo di bit rate, in quanto incertezze di decine di µs sono<br />

tollerate solo fino a2400-4800 bit/s (0,416-0,208 ms di<br />

periodominimo).<br />

Unasecondalimitazionederivadallapossibileintroduzionesul<br />

pin2deltrasmettitorediunareteRCalfinedilimitareloslewratedelsegnalediON-OFFiningresso.<br />

Una rete RC (1K Ω ,10 nF ) in serie al pilotaggio del TX,<br />

consentedilimitarelabandainemissionedalTXalfinedipoter<br />

superareconsicurezzalenorme ETS300220 .<br />

Ivalori indicati introducono una costante di tempo di 10 µs e<br />

consentonodinondegradarelapotenzainuscitainpresenzadi<br />

undriverminimodi4,5Valivelloalto.<br />

La corrente richiesta e' compatibile con normali uscitedi tipo<br />

MOSsenzaproblemi.<br />

Caratteristiche del ricevitore<br />

In fig. 2èschematizzato lo stadio di uscita del ricevitore<br />

superreattivo.<br />

Il livello di continua fornito dal rivelatore èamplificato con<br />

accoppiamentoinalternatacirca100volteecomparatoconil<br />

livello medio in continua del rivelatore dopo che al segnale<br />

istantaneoèstatasommataunatensionefissataledamantenere<br />

illivellodiuscitabassoinognicircostanzaesclusolaricezione.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!