参考说明教案成果designing loop antennas for the rfpic12f_第1页
参考说明教案成果designing loop antennas for the rfpic12f_第2页
参考说明教案成果designing loop antennas for the rfpic12f_第3页
参考说明教案成果designing loop antennas for the rfpic12f_第4页
参考说明教案成果designing loop antennas for the rfpic12f_第5页
已阅读5页,还剩13页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、AN868Designing Loop Antennas for the rfPIC12F675 2003 Microchip Technology Inc.DS00868A-page 1Author:Myron LoewenMicrochip Technology Inc.1.0INTRODUCTIONThis application note describes the design of a single- ended loop antenna for rfPIC12F675 transmitters. The PCB design will cover all 3 frequency

2、bands from 290 MHz through 930 MHz with a few component value changes.The previous Microchip RF transmitters had balanced outputs which required twice as many components to bias the power amplifier and match impedance. The rfPIC12F675 uses fewer components, delivers almost 10 dB more output power to

3、 the antenna, and increases the um frequency to 930 MHz.This application note also documents the tuning and testing of the antenna design to avoid a manufacturing step for tuning. A picture of the finished board is shown in Figure 1. For more s on RF regulatory limits and compliance testing see Appl

4、ication Note AN242, “Designing an FCC Approved ASK rfPIC Transmitter.”A. Top ViewB. Bottom ViewFIGURE 1:SINGLE-ENDED SMALL LOOP ANTENNA BOARD FOR THE rfPIC12F675AN8682.0TAPPED CAPACITOR DESCRIPTIONThe small magnetic loop antenna is one of the most popular antenna designs for handheld applications an

5、d for applications where more efficient antennas would be too large. The small magnetic loop antenna is a sim- ple loop of wire or PCB trace that is tuned to resonate at a desired frequency. The challenge is matching its impedance to the transmitter output for um power transfer and harmonic filterin

6、g. Complexity is increased when all component tolerances are taken into to avoid a manufacturing step for tuning.The two most common topologies for matching the antenna impedances are tapped capacitor and tapped inductor, or transformer designs. This explanation uses the tapped capacitor topology to

7、 match the antenna impedance, as shown in Figure 2. Tapped inductor design for balanced outputs is documented inApplication Note AN831, “Matching Small Loop Antennas to rfPIC Devices.”Small loop antennas have an inherently high Q that must be reduced to simplify manufacturing. With the Q under 20, s

8、tandard tolerance parts can be used while still eliminating the tuning step from manufacturing. The Q is reduced by putting a resistor in parallel with the antenna.FIGURE 2:LOOP ANTENNA ANALYSISBoard layoutSame Series unloaded CircuitQParallel CircuitRlossRparRradCCLCLRFinput(a)(b)(c)a)b)c)Loop ante

9、nna physical implementationThe standard loop antenna mTransformeds into parallelThe radiation of an electrically small loop (perimeter 0.3), is given(5) as:Rrad = 3204A24A = loop area inside center of trace width (m2) = speed of light/frequency = wavelength (m)Assu the PCB antenna trace width is muc

10、h greater than its thickness, and its thickness is much greater than skin depth, the trace is given by: 0lRloss =2wl = total perimeter of center of antenna trace (m)w = width of the trace (m) = conductivity, copper = 5.8E7 S/m0 = permeability of air = 1.256E-6 H/mThe total series is the sum of the r

11、adiation , trace loss, and ESR of the capacitors:Rs = Rrad + Rloss + ResrThe radiation efficiency of the loop is commonly given as:Rradr =RsIncreasing Rrad or reducing Rloss or Resr will improve the loop efficiency and transfer more of the output power to your receiver. A ceramic C0G capacitors ESR

12、is typically 0.2 to 0.6 at UHF frequencies; variablecapacitors and ceramic X7R capacitors values are usually higher.The inductance of the loop must be found to select a capacitor value for resonance. An equation(6) to estimate the inductance of this loop with about 95%accuracy is:L = 2l 1n8AlwThe eq

13、uation to find the capacitor value is:C =142 2 L 2003 Microchip Technology Inc.DS00868A-page 5To find the impedance of this antenna, the series must be converted to parallel . First we calculate the unloaded Q from the series losses:2LQs =RsFor high values of Q, the equivalent parallel L and C are a

14、bout equal to the series values. The parallel is found with this equation:Rp = Rs (Qs 2 +1)At resonance, the L and C in Figure 2(c) cancel, leaving the parallel as the antenna imped- ance. This value is many times larger than the output impedance of the transmitter. Instead of connecting to the node

15、 between the L and C, we can tap into the inductor, or in this case, the capacitor. This reduces the impedance by the ratio of the tap point to make a better match with the transmitter. This tapped capacitor circuit is shown in Figure 3.PhysicalRepresentationRdPrintedLoopC(a)1TapPointDriverC2ZinCCir

16、cuitRepresentationRdC1RpLLOOP(b)C2DriverSameunloaded QRdC1LLOOP(c)DriverZinC2FIGURE 3:IMPEDANCE MATCHINGWith driver impedance equal to the antenna input impedance, the um power will be transferred to the antenna.Note: Loading the antenna will reduce the loaded Q to half the unloaded Q at resonance.S

17、olving the circuit at resonance for antenna impedance Zin results in:2Z =in C1C1 + C2RPAlgebraically manipulating this equation with the previous equations results in these solutions for C1 and C2:C1 = 4 2 21L 2Z Rin sC2 = 2Z R1in sThe last term in the numerator for C1 is the inverse of C2, so the e

18、quation is rewritten as:C1 =14 2 2 L1C2Typically C2 will be much larger than C1. In this case, C1 tunes the resonant frequency while C2 indepen- dently tunes the antenna impedance. This makes tweaking the final design much easier. For example, the antenna impedance could be decreased on a tuned boar

19、d by only increasing C2, without a compensating decrease in C1 while maintaining near optimal tuning.3.0 DESIGNING THE CIRCUIT BOARDThis design will be done at 433.92 MHz since this frequency is one of the most common worldwide for unlicensed remote control applications. The example circuit only doe

20、s ASK modulation, but the antenna design would be the same if FSK modulation were required. The other fixed design parameter is the trans- mitter output impedance. For the rfPIC12F675K/675F transmitters use 300 and for the rfPIC12F675H transmitter use 250 .The loop size and trace width will be deter

21、mined as the circuit board is planned. Keep the antenna trace about 2 mm thick and the area as large as possible. These equations will still work if the loop is not rectangular, but the area and perimeter must be calculated differently. These equations will not be accurate if components or traces ar

22、e in the middle of the loop or very to the loop. Using the ground plane as one side of the loop makes the loop effectively larger while lowering resistive losses.On this exampl, shown in Figure 4, the capaci- tor designators change from Figure 3. Capacitors C5 and C6 in series make up the theoretica

23、l C1, and C4 replaces C2. Two capacitors were used to make C1 more selectable. The series capacitors behave like par- allel resistors, permitting many combinations of values between standard capacitor values. This is important to finely tune your board to the exact resonant frequency. A less flexibl

24、e alternative would be to build several boards and vary the antenna length on each one until it was optimized for a standard-value capacitor.The obvious disadvantage of series capacitors is that their ESR values sum up to reduce efficiency. In the next section, you will see that no extra power is lo

25、st since the antenna Q must be reduced for tuneless manufacturing.When laying out your board, be sure to place pads for C1 and C2 that can accommodate trimmer capacitors. On this board, a larger trimmer capacitor fits nicely instead of the two 0603 parts, C5 and C6. Since there was not enough room f

26、or a trimmer capacitor at C4, a short jumper wire from the capacitor to ground had to suffice during tuning.On the example layout, there is also an 8-pin DIP socket in parallel with the microcontroller for in-circuit program and firmware development, as described in the rfPIC12F675 data sheet. Since

27、 the microproces- sor core is the same as for a rfPIC12F675, the tools for that processor will work on this board and your soft- ware will perform identically. On this board, you can either lift the processor pins as shown in the rfPIC12F675 data sheet, or cut the traces marked with an silk screen X

28、 to do software emulation from the DIP socket.This board also has a 14-pin header compatible with the PICkit 1 Flash Starter Kit header J3. This makesfirmware development and in-circuit program simple and low cost. The power supply jumper P1 mustbe set to use external PICkit power for programor batt

29、ery power for stand-alone operation.With th layout complete, the antenna can be measured to calculate the capacitor values. In this example (Figure 4), the loop height is approximately 0.016m and its width is 0.035m. The trace width is 0.002m. The sum of three capacitor ESR values is about 1.7 . Plu

30、gging these numbers into the equations from the previous section results in: Rrad = 0.0573 Rloss = 0.289 Efficiency = 2.8% L = 68.3 nH C1 = 2.27 pF C2 = 14.8 pFExperimental evidence has found these capacitor values to be approximately 15% high. This is very good considering the inductance and loop e

31、quations are approximations, the circuit board has irregularities, and actual components used are only5% accurate. C1 gets even r to the actual value when approximately 1 nH series inductance is added for each of the capacitors to the loop inductance formula. The actual capacitor values and part num

32、bers are shown in the Bill of Materials (BOM), Figure 6.A) Silk ScreenB) TopC) BottomFIGURE 4:BOARD LAYOUT LAYERS+VRA5Power Select Resistor R8Pout -70 dBm-12 dBm-4 dBm2 dBm8.5 dBmR8 200 KWNOTE: Pout dependent on input voltage VDDRF+V+V1 VDD2 GP5/T1CKI/OSC1/CLKINrfPIC U1Freq.U1315 MHzrfPIC12F675K433.

33、92 MHzrfPIC12F675FU1Vss 20GP0/AN0/CIN+/ICSPDAT 19R31KWR41KWR1 10KWGP0+VR2 10KWRA0GP1RA4 RA3R101 KWR51 KWR61 KW+VR710 KW3 GP4/AN3/T1G/OSC2/CLKOUT4 GP3/MCLR/VPP5 RFXTAL6 RFENIN NC 7 CLKOUT8 PS9 VDDRF10 VSSRF+VGP1/AN1/CIN-/VREF/ICSPCLK 18GP2/AN2/T0CKI/INT/COUT 17FSKOUT 16 NCDATAFSK 15 NCDATAASK 14LF 13

34、 NCVSSRF 12ANT 11+5VRA1 RA2Power Select+VPICkit BatteryP1DS1 RFENSW1 GP4SW1 GP4X1R8C10.1 mFC2330 pFC3330 pFL1120 nh R9CR2032+ BT1- 3VCrystal X1Freq.X1 Freq.Crystek P/N315 MHz9.84375 MHz0433.92 MHz13.56 MHzC4LOOP ANTENNAFreq.R9C4C5C6315 MHz433.92 MHz220W220W22 pF12 pF5.0 pF2.0 pF22 pF15.0 pFLoop Ante

35、nna Tuning ComponentsP2To PICkit-1 J323RA5 RA4 RA3 RC5 RC4 RC3 RA0+V4RA5 RA4U28-Pin Machined DIP Socket67VSSGP0/AN0VDDGP5/OSC1/CLKIN8GP4/OSC2/AN3/CLKOUT GP1/AN1/VREFGP2/T0CKI/AN2/INTGP3/MCLR/VPPRA0 RA1C6C5RA1 RA2 RC0 RC1 RC2+5VRA3C70.1 mFRA2AN868FIGURE 5:TRANSMITTER SCHEMATIC 2003 Microchip Technolo

36、gy Inc.DS00868A-page 6AN868FIGURE 6:BILL OF MATERIALSQutyDesignatorValueDescriptionOrder FormPart Number1C412 pF, NP0, 0603Capacitor, Ceramic ChipDigi-KeyPCC120ACVTR-ND1C52.0 pF, NP0, 0603Capacitor, Ceramic ChipDigi-KeyPCC020CVTR-ND1C615 pF, NP0, 0604Capacitor, Ceramic ChipDigi-KeyPCC150ACVTR-ND2C2,

37、 C3330 pF, X7R, 0603Capacitor, Ceramic ChipDigi-KeyPCC331ACVTR-ND2C1, C70.1 F, X7R, 0603Capacitor, Ceramic ChipDigi-KeyPCC1762TR-ND1R8Not populated2R9220 Ohm, 0603Resistor, Chip, Thick FilmDigi-KeyP220GTR-ND4R3, R4, R5, R6, R101K ohm, 0603Resistor, Chip, Thick FilmDigi-KeyP1.0KGTR-ND1R710K ohm, 0603

38、Resistor, Chip, Thick FilmDigi-KeyP10KGTR-ND1R1220K ohm, 0603Resistor, Chip, Thick FilmDigi-KeyP220KGTR-ND2R1, R210K ohmPotentiometerDigi-Key3325E-103-ND1DS1SMT LED 0805RedDigi-Key67-1552-1-ND1L1120 nH, 0805Inductor, ChipDigi-KeyTKS2387CT-ND1P13-pin headerSingle row, 0.025” square, .1” spacingDigi-K

39、eyS1012-03-ND1P214-pin Right Angle HeaderSingle row, 0.025” square, right angle postDigi-KeyA26510-ND12-pin shuntDigi-KeyS9000-ND1BT1KS1060Coin Cell Battery HolderDigi-Key1060KTR-ND1BatteryCR2032Lithium Cell BatteryDigi-KeyP189-ND2SW1, SW2SPST momentaryPushbutton switchDigi-KeySW415-ND1X113.56 MHzCr

40、ystal, HC-49/SCrystek0168771U1rfPIC12F675FTransmitter + PICmicroMicrochiprfPIC12F675K1U28-pin machined socketDigi-KeyED3108-ND 2003 Microchip Technology Inc.DS00868A-page 154.0 RF TESTING AND TUNINGIf you absolutely no changes to the RF transmit- ter circuitry, components, or the loop antenna area t

41、hen you may skip ahead to the manufacturing section.If you changed the transmitter frequency by changing the crystal, be sure that you are using the rfPIC12F675 with the correct frequency band. Then, change the frequency in the previous equations to find your newvalues for C1 and C2. Round off C2 to

42、 the nearest stan- dard value for C4. Find two standard-value capacitors for C5 and C6 that in series make the st possible match to the calculated C1. Figure 5 has experimen-tally verified capacitor values for several commonly used UHF carrier frequencies.The minimum RF equipment to proceed with tes

43、ting is a spectrum analyzer and antenna that works from the carrier frequency up to at least its 5th harmonic. In orderto see if board changes are improvements, it is impor- tant to have a very repeatable environment away from interference. If this is your first RF experience, get some training and

44、then lots of hands-on practice to understand the setup and reduce measurement errors.The RF circuitry could be enabled by shorting the enable and data lines high or by program the processor to . The code for this application note (located on) holds the RF output on with no modulation as long as swit

45、ch SW2 is pressed. Adding modulation makes the antenna tuning unnecessarily more difficult. Once the antenna is tuned, pressing switch SW1 will modulate the data pin. Varying potentiometers R1 and R2 will vary the modulation frequency. Check the source code comments for more s.Build up about 5 of th

46、e circuit boards to do your design verification. The parts are listed in Figure 6, but do not stuff C4, C5, C6, or R9 yet. The first time you build this circuit it is best to use RF trimmer capacitors to under- stand how the performance shifts with the capacitor values. One source for quality RF tri

47、mmer capacitors is an engineering kit from , such as the J series that includes a non-metallic tuning tool.Use trimmer capacitors with um values approx. double the calculated capacitance to get an idea how the capacitance affects performance. Tune the trimmer capacitors for peak output power and see

48、 how sensi- tive they are to slight variations. Note which capacitor is more sensitive and how much changing one cap affects the tuning of the other capacitorYou may notice that even with a good tuning tool the performance shifts when you remove the tool. One way to overcome this problem is to rotat

49、e the trimmer through the peak RF power and remember the peak. Then go off to one side of the peak and without chang- ing your hand position, barely lift the tool off the trimmer and see which way the power jumps. If the power jumps away from the peak, then you are on the wrong side of the peak. Rot

50、ate the trimmer back through peak power to the other side. With a little practice, you will know how many dBs the power will jump to land right at the peak value. Then, it will be easy to quickly tune the trimmer despite the shift caused by the tuning tool.Signal GeneratorSignal AnalyzerXTALrfPICANT

51、FIGURE 7:MEASURING Q OF ANTENNAA) SetupB) Spectrum Analyzer PlotC) Q CalculationQ = Peak Frequency / 3db Bandwidth= 433.92 MHz / 11 MHz= 39To get a better picture of the tuning process, connect a capacitively-coupled signal generator to the rfPIC instead of the RF crystal. This setup is described in

52、Application Note AN242, “Matching Small Loop Antennas to rfPIC Devices” and shown in Figure 7. Sweep the frequency about 10% above and below theoriginal crystal frequency. There should be a peak in output power at the loops resonant frequency. Now tune the trimmer capacitors again and see how each o

53、ne affects the center frequency and amplitude. Be careful that the leads to the signal generator do not corrupt your results. Keep them short, shielded, and possibly loaded with ferrite beads.With this setup it is easy to measure the antenna band- width. It is the difference between the two frequenc

54、ies 3 dB down on either side of the peak power. The Q of the antenna is the peak frequency divided by the band- width. A good target to simplify manufacturing is to keep Q less than 20. Higher Q antennas will have more output power but may have to be hand tuned to center the resonant frequency on the RF carrier frequency.Adding series to the antenna trace

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论