Author Topic: GPS signal through PCB?  (Read 15502 times)

0 Members and 1 Guest are viewing this topic.

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21756
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: GPS signal through PCB?
« Reply #25 on: December 25, 2014, 06:51:39 pm »
Yes, the FR4 and copper are in the antenna's near field, detuning it and lowering the radiation resistance (which is already low enough on account of the small antenna).

When it comes to antennas, size matters.  Even if you can squeeze room for a 1/4 wave whip or some analogous sort of patch or strip antenna, you'll be doing better than that goofy ceramic block.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline ConKbot

  • Super Contributor
  • ***
  • Posts: 1388
Re: GPS signal through PCB?
« Reply #26 on: December 25, 2014, 09:00:12 pm »
That being said, good GPS receivers can lock down to -160dBm maybe lower on some, GPS signals hit the surface at ~-130 dBm, -10dB of antenna gain on some poor tiny mutilated antenna in a phone, and a 30dB pre-amp makes for 50 dB of link margin, which is pretty healthy. 20 dBm without a preamp isnt as great, but still good, but it would be really easy to lose even that, especially with a receiver that doesn't have a sensitivity of -160 dBm.  Now, going indoors could easily attenuate it that much or more, and putting a metallic shield in front of it might not just add attenuation, it could de-tune the antenna (capacitive loading)  so far that you cant even receive any signal, even with the aperture in the ground plane.

Most of what you state is right, but I would question the perceived benefit of a preamp in this case. Remember that a preamp is amplifying noise as well as signal (as well as adding a little noise itself), it doesn't miraculously drag a signal out of the ether unless either you already have a deaf receiver or a lossy feeder between the antenna and receiver. As the antenna is directly attached to the receiver, we can discount feeder loss almost entirely in the link budget calculation, and you'd hope the front end on that GPS receiver already has a reasonable noise figure.

This is why sticking a premp on your terrestrial TV setup at the TV end to improve reception is rarely effective. It needs to be at the antenna to offset feeder loss.
Very true, a preamp will help signal levels but it wont be improving CNR. GPS CNR will be a lot more critical to if you have a lock or not than signal level, as the receiver will lock on at -160dBm
 

Offline Howardlong

  • Super Contributor
  • ***
  • Posts: 5320
  • Country: gb
Re: GPS signal through PCB?
« Reply #27 on: December 25, 2014, 09:07:38 pm »
Yes, the FR4 and copper are in the antenna's near field, detuning it and lowering the radiation resistance (which is already low enough on account of the small antenna).

When it comes to antennas, size matters.  Even if you can squeeze room for a 1/4 wave whip or some analogous sort of patch or strip antenna, you'll be doing better than that goofy ceramic block.

Tim

Yes, and I should add that it's not going to do much for the radiation pattern either.
 

Offline eas

  • Frequent Contributor
  • **
  • Posts: 601
  • Country: us
    • Tech Obsessed
Re: GPS signal through PCB?
« Reply #28 on: December 26, 2014, 08:20:40 pm »
As a point of reference, I decided to dig out an ~5-6 year old Holux M-241 GPS logger I had in a drawer and see how long it took to get a GPS lock indoors. I am sitting at the north west side of my house, about 3' from an exterior wall. The inner surface of the wall is plaster and lath, the outside is wood siding. I am about 15 feet from the south wall of my house, with an interior plaster and lath wall in between.

It took about 5 minutes to acquire an initial GPS reading.  On my iPhone 6, using a GPS app, which takes advantage of the phones A-GPS to acquire the almanac, it took less than 30s.
 

Offline pyrohazTopic starter

  • Regular Contributor
  • *
  • Posts: 186
  • Country: gb
    • Harris' Electronics!
Re: GPS signal through PCB?
« Reply #29 on: December 27, 2014, 04:42:21 pm »

Thats fine, I wasn't expecting any indoor performance anyway! How do phone, laptop and tablet manufacturers get around implementing GPS without dock off ceramic antennas inside? My phone (Sony Xperia M) has fine GPS which works relatively far indoors!
Phone antennas are just about the darkest of the dark arts that is RF. The fact that is has to coexist with 3-6 or even more radios or receivers on a device, the whole thing is liable to be next to either your head or your hand on the back, or both at the same time, no space for high dielectric constant materials, and first and foremost, it has to be CHEAP. They have everything working against them and nothing for them except maybe a limited temperature range. 
That being said, good GPS receivers can lock down to -160dBm maybe lower on some, GPS signals hit the surface at ~-130 dBm, -10dB of antenna gain on some poor tiny mutilated antenna in a phone, and a 30dB pre-amp makes for 50 dB of link margin, which is pretty healthy. 20 dBm without a preamp isnt as great, but still good, but it would be really easy to lose even that, especially with a receiver that doesn't have a sensitivity of -160 dBm.  Now, going indoors could easily attenuate it that much or more, and putting a metallic shield in front of it might not just add attenuation, it could de-tune the antenna (capacitive loading)  so far that you cant even receive any signal, even with the aperture in the ground plane.

I'll be quite honest, I find the whole idea of radio black magic myself! I think I'm going to look for a GPS module with an SMA connector that I can interface an external antenna to.

My watch does actually have a GSM modem and I can find an approximate location through GPRS using the CIPGSMLOC command. Could I somehow feed this data to my GPS modem to help get a lock?

Your GPS module must be supporting such a assisted lock...

here is a link to a interesting article to read ;) http://gpsinformation.net/main/gpslock.htm  it's really not a trivial task for the poor little GPS receiver  ;)

Thank you for the link! It was a good read :)  I find GPS in itself a magnificent invention and the fact it is "free" for the good of humanity just makes it even better! Thinking in depth about how it works however is another matter...

Yes, the FR4 and copper are in the antenna's near field, detuning it and lowering the radiation resistance (which is already low enough on account of the small antenna).

When it comes to antennas, size matters.  Even if you can squeeze room for a 1/4 wave whip or some analogous sort of patch or strip antenna, you'll be doing better than that goofy ceramic block.

Tim

I've been doing a bit of research into antenna theory as I've never needed to learn it and after looking, a quarter wave whip is actually pretty plausible. Using 1.575GHz as the GPS frequency, I'm looking at an antenna length of 47.6mm. The problem I wonder though: How can I interface this with my GPS module? I could just solder a small SMA connector to some insulated copper wire and be done. Would this be the correct method of interfacing the antenna? If I'm using a module with a GPS module on a PCB, am I safe to assume that up to the SMA connector, all transmission line effects would have been solved by the module engineers?

EDIT: Also, isn't the ceramic antenna already a form of patch antenna or am I on the completely wrong end of the stick here? That little ceramic block seems pretty magic to me as it is!

As a point of reference, I decided to dig out an ~5-6 year old Holux M-241 GPS logger I had in a drawer and see how long it took to get a GPS lock indoors. I am sitting at the north west side of my house, about 3' from an exterior wall. The inner surface of the wall is plaster and lath, the outside is wood siding. I am about 15 feet from the south wall of my house, with an interior plaster and lath wall in between.

It took about 5 minutes to acquire an initial GPS reading.  On my iPhone 6, using a GPS app, which takes advantage of the phones A-GPS to acquire the almanac, it took less than 30s.

I've left my watch on my window sill pointing to the sky for the past 3 days and I've not managed to get any form of lock so there is a definite problem with my design! I'd be happy at a 5 minute lock though!
« Last Edit: December 27, 2014, 04:44:42 pm by pyrohaz »
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21756
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: GPS signal through PCB?
« Reply #30 on: December 27, 2014, 05:37:52 pm »
I've been doing a bit of research into antenna theory as I've never needed to learn it and after looking, a quarter wave whip is actually pretty plausible. Using 1.575GHz as the GPS frequency, I'm looking at an antenna length of 47.6mm. The problem I wonder though: How can I interface this with my GPS module? I could just solder a small SMA connector to some insulated copper wire and be done. Would this be the correct method of interfacing the antenna? If I'm using a module with a GPS module on a PCB, am I safe to assume that up to the SMA connector, all transmission line effects would have been solved by the module engineers?

EDIT: Also, isn't the ceramic antenna already a form of patch antenna or am I on the completely wrong end of the stick here? That little ceramic block seems pretty magic to me as it is!

The ceramic block thing most likely qualifies as a patch antenna, yes.  The point is usually that you have a relatively wide radiating surface (a patch), to make up for the fact that you don't have any length behind it.  You're coupling to electric field, but not magnetic field (indeed, most of the current flow and associated magnetic field may be trapped under the patch, via some short connecting wires or traces).  Added capacitance (such as from a ceramic block) will act to shorten dimensions even further, but, the reactive current flowing through that capacitance is entirely internal, and does not couple into space.  So you get an even lower resonant impedance (which makes things even worse against the already low inductance, necessitating some sort of matching network), more internal losses, and even lower radiation resistance.  (The matching is usually on the part itself, so the transmission line sees 50 ohms or whatever as appropriate -- at least, at one narrow range of frequencies.)

The logical extreme of a very small antenna (patch or otherwise) is a resonator in a box: exclusively internal losses, with no radiation resistance whatsoever.

Electrically, the two cases are indistinguishable -- they both can be matched to 50 ohms at resonance, and have a narrow bandwidth; but one, the power just goes into heat, while the other actually communicates with the outside world.

As for 1/4 wave whip antennas, the problem is, to make a textbook case, you need the whip part to be vertical above a horizontal ground plane.  Often, the ground is provided by an array of in-plane 1/4 wave grounding rods, or a PCB or something; solid ground is not required, but it does need to carry current radially.

The dipole replaces the ground plane restriction with a 1/4 wave in the opposite direction.  Replaces one obstacle with even more length...

The free space you necessarily want around these antennas also ranges from 1/4 wave (can be helpful -- acts as a reflector) to 3/4 or more (avoid 1/2 or 1 wave, that's a null).  You need volume as well as length to couple into space effectively.

You'll never be able to accommodate a proper, high efficiency antenna in a compact device, so you'll have to settle for something that's still close in (so it experiences proximity / loading capacitance, and has a smaller physical length, which means less to couple into space), and make it as much to the outside as possible.  Hopefully, that's still good enough for useful GPS reception.

As for design or selection, that's really hard to say.  Which is why the internals of cellphones are all so peculiar: they can afford the research.  If you have a 1.5GHz signal generator and voltmeter, you can try testing it for resonance and matching, but it's just a shot in the dark* otherwise.  You can get self-adhesive and patch antennas for various close quarters, but if they specify what proximity they are supposed to operate within... you really don't have much choice but to match your mechanicals.  And if they say "keep clear up to at least X", it's probably because they're not trying any proximity at all, so have fun with that...

*Ha, because you don't know where the electromagnetic energy (light?) is.  Get it?...

The one advantage your ceramic patch antenna has is, it's designed for board mounting, so one side should be in proximity to a board.  The rest should be clear.  But that's still better than trying to blindly fudge a more close fitting antenna.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline pyrohazTopic starter

  • Regular Contributor
  • *
  • Posts: 186
  • Country: gb
    • Harris' Electronics!
Re: GPS signal through PCB?
« Reply #31 on: December 28, 2014, 05:42:20 pm »
Well thank you all for your help. I now know never to do such a stupid antenna design again! I've now changed my GPS module to a cheapo one off eBay which I originally wrote my GPS driver/NMEA parser for as this module has an onboard IPEX connector which I can interface to external antennas. I'm going to use a small 10mmx10mm patch antenna (unless I can find a rectangular one!) in the top right corner of the PCB - currently deciding on: http://uk.rs-online.com/web/p/gps-modules/7165365/

I've tested this with the stock 25mmx25mm patch antenna with good results getting up to 8 satellites by just placing it on my window sill! Hopefully from now, I can get much better results.

 

Offline itdontgo

  • Regular Contributor
  • *
  • Posts: 167
  • Country: gb
    • IoT Manufacturer
Re: GPS signal through PCB?
« Reply #32 on: December 29, 2014, 11:04:37 am »
You need to use a chip antenna for a watch project.  They need a fairly large ground plane though.  Here is a speedometer I designed a few years ago:



That is not ideally laid out but it has good performance.  NMEA SNR indicator can be up to 50.

Performance is all about the ground plane.  If you look at the picture I've intentionally moved as much away from the aerial as possible and stitched both layers together.  However on a previous design there were parts all around the ground area and it still worked.

That PCB has an error in that you should remove the soldermask around the RF parts as in the later PCB as it affects the capacitance and gives a noticeable improvement in performance:



With regards FR4 transparency - sometimes you get a higher SNR (signal to noise) if you tip the PCB upside down so the antenna is looking at the floor (obviously no satellites there).  This board is 0.8mm thick in order to match the impedance of the aerial trace to the module but the FR4 has been cut away to improve performance.  It is also at the edge of the PCB.  When we used a 1.6mm PCB performance suffered.  It was something to do with the FR4 as when we peeled back the laminate to make it thinner it improved performance.

You also should appreciate when designing for GPS the satellites are not just above you.  You may get a better signal from one in front of you.  You don't need to look up to see the sky!  That is why these chip antennas give better HDOP readings as they have more even gain around their axis than a patch antenna.  A patch antenna has high gain in the direction you point it which is normally just up and have less gain for the satellites on the horizon which are equally/more useful for velocity.

« Last Edit: December 29, 2014, 11:09:30 am by itdontgo »
 

Offline pyrohazTopic starter

  • Regular Contributor
  • *
  • Posts: 186
  • Country: gb
    • Harris' Electronics!
Re: GPS signal through PCB?
« Reply #33 on: December 29, 2014, 03:15:04 pm »
You need to use a chip antenna for a watch project.  They need a fairly large ground plane though.  Here is a speedometer I designed a few years ago:



That is not ideally laid out but it has good performance.  NMEA SNR indicator can be up to 50.

Performance is all about the ground plane.  If you look at the picture I've intentionally moved as much away from the aerial as possible and stitched both layers together.  However on a previous design there were parts all around the ground area and it still worked.

That PCB has an error in that you should remove the soldermask around the RF parts as in the later PCB as it affects the capacitance and gives a noticeable improvement in performance:



With regards FR4 transparency - sometimes you get a higher SNR (signal to noise) if you tip the PCB upside down so the antenna is looking at the floor (obviously no satellites there).  This board is 0.8mm thick in order to match the impedance of the aerial trace to the module but the FR4 has been cut away to improve performance.  It is also at the edge of the PCB.  When we used a 1.6mm PCB performance suffered.  It was something to do with the FR4 as when we peeled back the laminate to make it thinner it improved performance.

You also should appreciate when designing for GPS the satellites are not just above you.  You may get a better signal from one in front of you.  You don't need to look up to see the sky!  That is why these chip antennas give better HDOP readings as they have more even gain around their axis than a patch antenna.  A patch antenna has high gain in the direction you point it which is normally just up and have less gain for the satellites on the horizon which are equally/more useful for velocity.

What an awesome project! Thank you very much for your input! Where did you source the rechargeable Lithium batteries? That chip antenna actually looks ideal. I'd likely have the actual GPS module on the underside so how does crossing sides of the board come into designing around a chip antenna? Also, do you have any information that could help me on the designs with these chips?

Thanks!
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21756
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: GPS signal through PCB?
« Reply #34 on: December 29, 2014, 08:57:22 pm »
If the side-crossing is done with impedance matched vias, it doesn't know any better.  In practice, that's a crock, but 1.2GHz isn't enough to notice very much from one or two vias.  Just use impedance matched trace where possible, load the surrounding ground with vias, and make sure there are ground vias flanking any layer transition (vias either side of the active via will do a sort of three-wire shielded section of transmission line, hopefully having a similar impedance).  Such construction (give or take some study of the correct via size and separation) should be enough to show merely small bumps on a picosecond range TDR.

That design is simple, and unless there's more to the chip component than I can see from the picture, it looks rather useless to buy a component at all -- it's just a hunk of metal!  Having a known, reliable layout is more important, and in this case, requires knowing the dielectric constant of the substrate, its thickness, and the dimensions of the ground cut-out, trace, length and so on.  It should be almost as good if replaced with solid trace (no chip component).  But... it won't be exact, there will be a small change in length required then.

Likely, the observed difference with thickness was due to loading capacitance shifting the resonant frequency down.  Which could also be solved by shrinking dimensions slightly (the length of the chippy part, or the length of the trace extension).  But that's just a very loose guess -- it all depends on where that resonant frequency is, and that's hard to calculate without building ten variations and measuring them, or calculating it with a microwave analysis suite!

That's the downside to this.  If everything, from ground plane up, is on the purchased part, you can be moderately confident that its properties are as specified.  If part or all is on the PCB, it's up to you to get the dimensions right.

Tim
« Last Edit: December 29, 2014, 08:59:02 pm by T3sl4co1l »
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline ConKbot

  • Super Contributor
  • ***
  • Posts: 1388
Re: GPS signal through PCB?
« Reply #35 on: December 30, 2014, 11:28:59 am »

That design is simple, and unless there's more to the chip component than I can see from the picture, it looks rather useless to buy a component at all -- it's just a hunk of metal! 

Ceramic antenna, not just a hunk of metal  ;)  See https://www.sparkfun.com/products/9131 as an example

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf