Home brew methods to calibrate trace antenna?
T Chap
Posts: 4,223
I built some modules with the Nordic module:
http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01P
All I have in my shop is a volt meter and a dual trace 30meg scope. The range on my modules is really bad, but the antenna is pure guesswork that I designed as far as the trace, the parts used were based on the Nordic example schematic. I am exploring finding a consultant that knows how to dial this in, but in the mean time I thought I would see what I can do without having to spend a fortune on test gear. If anyone has any suggestions on a crude home brew method of "seeing" the signal strength on my antenna I would appreciate any suggestions. On the same board there are 3 switching regulators, and I am told that having the switching regulators on the board may be contributing to problems. I will order some copper foil and attempt to put a shield around the power section of the board. In reading online, I understand that the trace antenna will need to be trimmed to achieve the best signal for the circuit.
http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01P
All I have in my shop is a volt meter and a dual trace 30meg scope. The range on my modules is really bad, but the antenna is pure guesswork that I designed as far as the trace, the parts used were based on the Nordic example schematic. I am exploring finding a consultant that knows how to dial this in, but in the mean time I thought I would see what I can do without having to spend a fortune on test gear. If anyone has any suggestions on a crude home brew method of "seeing" the signal strength on my antenna I would appreciate any suggestions. On the same board there are 3 switching regulators, and I am told that having the switching regulators on the board may be contributing to problems. I will order some copper foil and attempt to put a shield around the power section of the board. In reading online, I understand that the trace antenna will need to be trimmed to achieve the best signal for the circuit.
Comments
I also remember the thread kwinn mentioned. I think the person also posted code in the OBEX (though I'm not sure). I think they used one of Rayman's touchscreens for the output. I'll try to find the link.
This is a test I was trying to get the CD, so far I haven't figured this out.
http://forums.parallax.com/showthread.php/149421-Another-Birthday-Just-Showed-Up!
:)
In the nordic papers, the design I used is not ideal for omni, but obviously suits the smaller space. I am going to change this to an externally mounted antenna and forget the trace antenna design. If the best design requires a vertical trace or external antenna, might as well in that case go with the best option.
I was just reading about the carrier detect register. It looks like there's only one bit that goes high. For some reason I thought the Nordic chip and a signal strength indicator similar to the XBee but I'm not seeing it in the datasheet.
I've been looking for the spectrum analyzer. I found this in the OBEX. It doesn't use a nRF24L01+ chip though. I must have been remembering incorrectly. Still the one in the OBEX looks like it shouldn't be too expensive to make.
It looks like with the Nordic you just get the one bit of data and it looks like it's only good for a short amount of time (I still don't understand how register 9 works).
I will get these in today:
https://www.sparkfun.com/products/145
https://www.sparkfun.com/products/592
The plan is to cut the traces to my trace antenna at the closest point to the last inductor in the path to the trace antenna. The RP-SMA connector will get glued to the the board until I can have new boards made. I will solder a wire to the trace at the last inductor and run it to the RP-SMA. I assume that since in other schematics the mounting hardware is tied to GND, I should run a ground wire from some point to the SMA ground pins. The question I have is, the reply from Nordic says I should use a 50ohm transmission line or a coaxial cable instead of a jumper wire(I had inquired of them if using a simple jumper wire was ok).
What is a 50ohm transmission line? And do I need one for not even 1/2"?
I also asked them if since I had the switching power regulators on the same board should I attempt to put some shielding around the regulator half of the board: "No, as long it is stable with a small ripple."
Are you using a switching regulator? Have you tested the units with a linear regulator?
If the interference is from the regulator there may be ways to reduce it. Mike Green has suggested I use some sort of metal box around the offending circuit when I complained about interference in the past. I think there may be things to do with capacitors to also reduce interference but I'm not sure.
Another thought I've had about this issue is to use a slower bitrate for the wireless communication. I'm pretty sure the datasheet states lower transmission rates generally have better range. I seem to recall the current transmission rate of your one byte packet had some time to spare. I don't recall where the bottleneck in the speed was though and if a 1Mbps speed would put your transmit time over the limit you require.
Didn't we have some test code to time the transmit and receive times? Or did I just quote numbers from the logic analyzer? (IIRC we used both.)
I'll look at the equations in the datasheet to see if dropping to a slower bit rate would drastically affect the time the message takes to be both transmitted and received.
I don't recall the bit rate I used for my various range tests I've perform. I thought it was at 2Mbps but I'm not sure. I found the cheap ebay modules would pick up the transmission from the SparkFun Nordic fob in just about any location in our home except places with a large appliance to block the signal. It really seem like you should be able to get much better range than what you're getting now.
My mind keeps coming back to your regulator. I'm inclined to think it's causing you trouble.
If I'm reading the datasheet correctly (page 40) using 1Mbps instead of 2Mbps should double the 3us to 6us which, if the overhead stays the same, would make the on air time 7.2us. Even if the time doubled it would be 8.4us for the on air time. The change in on air time is a small fraction of the total time required to send the packet. The communication between the Prop and the Nordic seems to be the bottleneck.
I doubt changing your data rate to 1Mbps would make much difference in the communication speed between the two Propeller and it may increase your range.
I have several other products I bought that use Nordic, these are unrelated companies, but in both cases they are putting a small metal box over the Nordic chip. Both these have incredible range.
I meant to add, that yes I am sure reducing the rate will increase the distance, but at this point I need to learn how to get it working better as is. 8' is not even close to what this is capable of since I have other products that work well with the same chip.
I tested the difference between 2meg and 1 meg. I bought the Parallax Logic Analyzer and needed a good excuse to post a screen shot.
At 2meg the time from the button trigger input on the master to the output pin on the receiver going low is 197uS.
At 1meg the time is 235uS.
The reception was only improved by foot or two, so I have some problems to solve at the board level obviously. I will redesign the boards with more effort this time, the first draft was mainly just to have something that worked to get the software up and running.
That's interesting.
I still really wonder if a linear regulator would improve the range. If it did, then you'd know you'll need to find a way to reduce the interference from the switching regulator.
On the next batch, I will include the option for RF shields over the power section as well as separate cans for the nordic, Digi has a lot of options.
I think you'd need to try it on both to see if the switching regulator is the culprit.
Well, darn. I was pretty sure interference from the switching regulators was causing the problem.
You don't have any backlight regulators for a LCD do you?
I've just had so many problems with switching regulators myself, they're always the first thing I suspect when I have reception problems.
I am not sure yet what they mean by shunt component, is this a cap, res, inductor, that can be swapped out? I already have the 50ohm matching network in place, I thought that was there for tuning purposes.
If I understood Leon and the Nordic people correctly, you need a thingamabob to go along with the whatjamahoozit.