datasheets.com EBN.com EDN.com EETimes.com Embedded.com PlanetAnalog.com TechOnline.com  
Events
UBM Tech
UBM Tech

Design Article

Comment


Max the Magnificent

8/27/2012 10:49 AM EDT

I hate to say it, but I think in this case the MCU might be the best option

More...



David Ashton

8/25/2012 4:38 AM EDT

The chip outputs the number, energy and estimated distance of the lighting it ...

More...

Fixing an Atmospheric Monitor

David Ashton

8/20/2012 2:58 PM EDT

Some readers will recall the saga of Max’s non-counting Geiger counter (Click Here to read that sad tale), to which I ministered some time ago (Click Here to see that article).  That was built from a kit and just didn’t work properly.  I made a few design changes to improve it and since then it has been clicking away on his desk (assuming he hasn’t tired of it yet and let the battery run down).

Well, Max recently sent me his latest (non-working) project, an Atmospherics Monitor.  This is basically an audio amplifier connected to a ferrite rod coil antenna.  So instead of picking up and demodulating radio frequency carriers, it picks up audio-frequency electromagnetic waves in the atmosphere and amplifies them for direct listening.  It is based on an old Everyday Practical Electronics design from the April 2003 issue (Click Here to see the original article).  The waves are produced by storm and auroral activity, sometimes at great distances, reflected around the earth by the ionosphere.  The article goes into considerable detail as to the mechanisms of the sounds that can be heard on the monitor.

The nice thing about the stuff Max sends me is that I cannot, as with normal fault-finding, assume that they ever worked.  So you really have to go back to basics and start from scratch.  When I got the unit from Max, I could see it was drawing some – not excessive – current from the supply, but was not producing any sound at all.

In this case the design is a fairly simple audio amplifier, with a grounded-base transistor as the first stage (giving a very low impedance input for the ferrite antenna).  The remaining amplification is by op-amps (LM 358s).  The unit is operated from a 9V battery, so most of the stages have a divide-by-2 resistor chain to supply V/2 bias.  So my first test was to measure the output pins of each op-amp.  All were around 4.5 volts except the first one, which was at around 0.9 V.  Now this stage gets its bias from the transistor input stage, so it was there I turned my attention.


Figure 1. Schematic of the Atmospherics monitor

(Click Here to see a larger, more detailed image)

The transistor input stage would have a gain of roughly 10 (R3 / R2).  It has a bias pot VR1 which will set the operating point of the transistor TR1. (This is necessary because variations in transistor gain will result in different collector voltages.)  The object is to get a voltage of around the rail voltage divided by 2 at pin 5 (and hence at the output pin 7) of the op-amp IC1a.  I tried adjusting VR1 but it had hardly any travel – perhaps 30 degrees instead of the usual 270 degrees or so.  I couldn’t see if it was catching on anything so I removed it.  Once off the circuit board it did seem freer, but I replaced it with one from my stock.  Bingo, I could now get IC1a pin 7 to 4.5 Volts.  AND I could hear a faint noise on the output piezo sounder.  But it was very faint, even with the volume control turned up full.  I had a square wave generator which I fed to a small coil I had lying around, and when I put 2KHz into the coil I could hear it faintly on the output of the monitor.  So I was getting somewhere.

Max had a small piezo sounder on the output and I tried a larger one I had, about 2 inches diameter.  This changed the tone of the output a bit, but it was still very faint.

I then turned my attention to the other stages of the monitor.  My 2 KHz generator was putting out a 5V square wave (it was part of my breadboard test gear intended for a TTL test signal).  So I put it through a 100K resistor and poked it around the circuit as a crude signal generator.  It worked a treat, and I got loud tones when I touched it to the inputs of IC2b and IC2a (pins 5 and 3 respectively).  Touching it on the output of IC1B still gave a loud tone but the input of IC1b (pin 3) gave only a faint output.  So I looked at that part of the circuit a little more closely, bearing in mind that as this never worked, almost anything could be wrong, including the layout or connections.


Figure 2. The component layout of the monitor.

(Click Here to see a larger, more detailed image)

It’s made up on stripboard (often called Veroboard, which is what the company that invented it called it).  It’s a great way of making small projects like this where you’re not using high frequencies or powers.  You get all the advantages of a PC board without having to make one.    However it is difficult to achieve a high component density (this is pretty good) and it can be fiendishly difficult to trace.  (For the uninitiated, the light strips are copper tracks with holes in them, and the dark circles across the tracks in places are cuts made to disconnect one part of a track from another.  A 4mm or 3/16 drill is a great tool to do this.)

I initially suspected that C6 and C7 might have been swapped but closer inspection revealed that they were right.  (This would have put a 10nF to ground and passed the signal through a 270pF – not great for AF frequencies…).  Then I noticed that C4 was not placed correctly.  C4 is a 1uF capacitor effectively across VR1 – it is the “Ground” of the grounded base transistor input stage, at least at AC.  C4 was connected at K-8 and I-8 on the board, not K-8 and J-8 as it should have been.  Max can be forgiven for this I think, the + symbol above C4 is almost on the I-8 hole.  Here’s an enlargement of this part of the board:


Figure 3. A close-up of part of the board.


I also noticed that the cut on the track at I-6 (shown in red here) did not seem to be present.  However poking around with a meter revealed that there was no direct path between the VR1 pin at I-5, and the R8 pin at I-7, so I suspect that track was cut with a knife.

What would be the effect of this?  Well C4, instead of being from the negative line to the top of VR1, would now be from the negative to the junction of R8 / R9 / IC1b pin 3 input.  At 1 KHz, 1uF has an impedance of around 160 ohms.  Less at higher frequencies.  So it was doing a good job of shorting to earth any signal that got through the input stage.

For those of you who may think “How could Max make a mistake like that?” below is a photo of the board.  It has my new VR1, but C4 is still in its original position.  Can you see whether the + lead of C4 is in I-6 or J-6?


Figure 4.  Max’s board.


The big bulbous black thing at bottom right is my meter earth clip.  One thing I can criticise Max for is the fact that the 220 kilo ohm resistors above and to the right of C4 are fairly large.  But then, who wants to go and buy stuff when you have it already in your junk box?

Anyway, a bit of work with my cutter and soldering iron sorted this out.  And then the unit was buzzing away nicely.  My workshop is right behind the wall with my main air-conditioning unit on it, and you can take it from me that it produces a LOT of EMI.  At one stage a motor started and I got a nice rising whine from the monitor.  So I was now pretty sure that it was working properly.   Max had the volume pot wired so that turning clockwise reduced the volume, so I corrected that (I have done that I don’t know how many times, so I’m not going to say anything!)

The article says that using the unit inside a house will usually get a lot of interference, so I took it outside.  By aligning the antenna roughly East-West (as recommended in the article) I could null out most of the interference from my house (which is roughly North-South).  But there were still none of the intriguing signals referred to in the article.

As a final test, I measured the inductance of Max’s ferrite rod coil.  The article says it should be 24 mH.  I got 20.4 mH, but inductance meters are notoriously inaccurate and mine does not have different measurement frequencies like some fancy ones I have seen.  But it was in the right ballpark so I did not go any further there.

The next afternoon I took my dogs for their customary walk, in a graveyard nearby, which has no mains around, not even streetlights, and is well away from any houses.  There was a lot less interference and background buzz, but not much of anything else.  I did this for two evenings running and I did get some random clicks on the second evening (and the article does make reference to these).  Our local weather had been exceptionally fine so I wouldn’t have picked up much local activity, but I had hoped for something interesting from further away.  I also got some variable rhythmic clicks and bursts of noise sometimes, but I am not sure if this was interference from a radio station – I tried the local ones on the car radio but couldn’t get any correlation to any of them.  And whenever I switched the car ignition on to make the radio work, I got a lot of whines and noise from the car electronics, which did not make things easier.

The fact that I was picking up all sorts of man-made noise with the unit satisfied me that it was working, but I wish I could have kept it a bit longer.  On the day I sent it back to Max, I had it all packed in the box, addressed and sealed up with tape, and we had a great thunderstorm in the afternoon just before I left.  The temptation to open it and see what I would have got was great…..but the post office was closing and Max was waiting with bated breath, so I resisted.

I’ll be keen to see what Max picks up with it back in the Northern Hemisphere – there being a fair bit more land there might make a difference.  He told me he has had some good storms around recently and he lives near “Tornado Alley” – and who knows what signals they might generate…


If you found this article to be of interest, visit Programmable Logic Designline where – in addition to my Max's Cool Beans blogs – you will find the latest and greatest design, technology, product, and news articles with regard to programmable logic devices of every flavor and size (FPGAs, CPLDs, CSSPs, PSoCs...).

Also, you can obtain a highlights update delivered directly to your inbox by signing up for my weekly newsletter – just Click Here to request this newsletter using the Manage Newsletters tab (if you aren't already a member you'll be asked to register, but it's free and painless so don't let that stop you [grin]).




Max the Magnificent

8/20/2012 3:43 PM EDT

I hang my head in shame (sad face)

Sign in to Reply



David Ashton

8/20/2012 6:46 PM EDT

Well if it is any comfort Max, yesterday I was working on a project on a breadboard and put some LEDs in two shorted holes and wondered why they didn't light up. Took me a whole 5 minutes to discover why..... :-)

Sign in to Reply



Max the Magnificent

8/21/2012 11:14 AM EDT

Sometimes my knee-jerk reaction is to look for something complicated, when the real answer is mega simple...

Sign in to Reply



Max the Magnificent

8/20/2012 3:45 PM EDT

I'm sort of in the same boat as David -- we had a cracking storm here the day before the (now working) Atmospheric Monitor arrived back with me ... since then nothing.

It's currently sitting on my desk making a very light "hissing" sound ... but that's all ... so now I'm waiting for the next storm...

Sign in to Reply



David Ashton

8/20/2012 6:44 PM EDT

You must have a very (electromagnetically) quiet office Max, in my house it made a lot more than a hissing. Maybe that's something to do with the wussy 110V you guys use for mains as against our industrial strength 240V ;-)

Sign in to Reply



Max the Magnificent

8/21/2012 11:15 AM EDT

With all the computers and stuff in here, I would have thought it would have been chirping its little head off...

Sign in to Reply



TJones

8/22/2012 10:46 AM EDT

Do you Soldering Iron Avengers have any recommendations for kits (versus plans only, like this one) or versions with more filtering options?

I'd like to build one of these. Sounds like fun.

Sign in to Reply



Max the Magnificent

8/22/2012 11:18 AM EDT

I've been wondering about making an FPGA-based version (using the FPGA for digital signal processing) ... but that's just a thought at the moment...

Sign in to Reply



TJones

8/22/2012 11:47 AM EDT

IF you're planning on that, then you ought to get this book "The Design Warrior's Guide to FPGAs." I hear it's pretty good.

If FPGAs are the works, then perhaps there could be adaptive antenna tuning built into the next model as well; that might address some of the filtering needs.

Still, I'd be happy to just find a simple kit to buy.

Sign in to Reply



David Ashton

8/22/2012 9:16 PM EDT

I'm not aware of any kits for something like this (maybe I should produce one...) but really if you refer to the article (thru the link above) and go buy some stripboard and the components, there's not a lot more hassle than getting a kit.

Sign in to Reply



kb5uew

8/22/2012 11:55 AM EDT

Have you tried to hook it up to an audio spectrum analyzer? (your audio input and your computer makes a good one)

Sign in to Reply



Max the Magnificent

8/22/2012 12:10 PM EDT

That's a great idea -- my problem at the moment is not having any free time at all (seriously ... you have not idea ... sob sob)

Sign in to Reply



David Ashton

8/22/2012 5:03 PM EDT

The trouble with this circuit is that if it's anywhere near anything electric or electronic it picks up interference. But Max said that he had it next to his computer and it didn't pick up much, maybe today's PCs are too fast to generate much audio? But you could feed the output to an FPGA with DSP capabilities and generate a spectrum display on-board?

Sign in to Reply



Jim Stockton

8/23/2012 9:28 AM EDT

I worked on a sferics reciever with a friend in the 60's. We used a long whip antenna and a pair of coils mounted at right angles for the antenna. The direction of the storm could be discerned by the two phases (from the right angle coils)with the whip output channel setting up the reference for a crude phase demodulator. It worked pretty well. It seems like the circuit would also work for locating non directional beacon transmitters if tuned correctly.

Sign in to Reply



Jim Stockton

8/23/2012 9:39 AM EDT

Check out the As3935 IC from Austria Microsystems.
It is an interesting part for distance estimation of lightning.

Sign in to Reply



David Ashton

8/23/2012 7:09 PM EDT

What an intriguing little chip! Just had a look at the datasheet. Someone had to do a lot of homework to come up with that, I reckon.

I note that the antenna for it is tuned to 500 KHz, way above the Audio band of Max's unit, but then they are intended for different purposes. The IC claims to be able to reject noise from man-made souces like motors or fluorescent lights, so I suppose that frequency is where you'd get the most information about the lightning.

I work for an energy utility and we have a link to a "Storm tracker" site which records lightning strikes - I guess it would use something like this.

Sign in to Reply



Max the Magnificent

8/24/2012 12:56 PM EDT

Could we use the output of this chip to feed into an FPGA and then use the FPGA to generate interesting audio output that "reflects" the atmospheric activity?

Sign in to Reply



David Ashton

8/25/2012 4:38 AM EDT

The chip outputs the number, energy and estimated distance of the lighting it picks up as register values which can be read via the I2C or SPI interface. So you could read those and process them and output to a display or (eg) a PC. Seems to me that this would be better done by an MCU Max, but I'm no expert on FPGAs - what think you??

Sign in to Reply



Max the Magnificent

8/27/2012 10:49 AM EDT

I hate to say it, but I think in this case the MCU might be the best option

Sign in to Reply



Please sign in to post comment

Navigate to related information

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)