ampage
Tube Amps / Music Electronics
For current discussions, please visit Music Electronics Forum.

ampage archive

Vintage threads from the first ten years

Search for:  Mode:  

 

Making a hall-effect magnetic field meter


 :
3/25/2005 9:33 AM
Joe Gwinn
Making a hall-effect magnetic field meter
Commercial magnetic field meters are a bit expensive, and of course do just one thing, so many people do without. However, the progress in semiconductors has made measurement of magnetic fields easy, and simple enough for homebrew solutions to be quite workable.  
 
I'm designing a simple magnetic field meter based on a hall-effect IC and using an ordinary digital multimeter (DMM) as the readout. This began when I looked at the datasheet for a modern hall sensor, and noticed that it was laser-trimmed at the factory to an accuracy of plus or minus 1.5%, which is more than adequate for measuring the strength of pickup magnetic fields. Laser trimming at the factory eliminates one of the big obstacles to homebrew, the lack of a way to calibrate the sensor.  
 
I have a circuit designed, but not yet built and tested. I'll publish the final tested circuit by and by, but in the meantime I'll identify the major components for the electronically inclined:  
 
Sensor: Allegro model "A1321UA". This is a 3-terminal device in a flattened TO-92 "transistor" package. The terminals are: ground, +5 volt power (about 6 milliamps), and signal out. The sensitivity is 5 millivolts per gauss, in either direction, so a 20-gauss field (from a pickup pole) would yield a 5*20= 100 millivolt signal, well within the capabilities of ordinary DMMs. which most people already own. The maximum field that can be measured is 2.5/0.005= 500 gauss, which ought to suffice.  
 
Go to http://www.allegro.com for data, and to Newark to buy them. They cost US $1.35 in small quantities.  
 
The 5-volt power must be very stable, as it directly affects the measurement accuracy, and the sensor blows out at 8 volts, so one cannot directly power the sensor from a 9-volt battery. This is dealt with below.  
 
Zero adjust: The zero-field output of the A1321 is half the 5-volt supply voltage, so the output will vary from 2.5v (no field) to 2.6v (20 gauss), and the accuracy of measuring the 0.1-v field signal will be reduced because it is riding on top of the 2.5-volt "zero" signal. The simple solution is to have a adjustable voltage divider that generates 2.5 volts from the 5-volt supply. Then, the DMM measures between voltage divider and A1321 output, and the divider can be adjusted so the DMM sees zero volts for zero field, and 100 millivolts for 20 gauss. (This trick was called a "slide-back voltmeter" in the old days.)  
 
Voltage regulator: The way one adjusts the sensitivity of the A1321 is by adjusting its supply voltage away from 5 volts, the full range being 4.5 to 5.5 volts. Also, it would be very convenient if the meter could be powered by a single 9-volt battery. The National LP2951CN adjustable micropower voltage regulator allows all this to be done. See http://www.national.com for data. The LP2951CN is an 8-pin plastic DIP, costs about US $0.36 in small quantities, and is available from DigiKey. (It's a good idea to use a socket for the regulator and buy five ot ten extras, as one can blow them with the slip of a probe.)  
 
Output cable: I'm planning to use an isolated (not connected to chassis) BNC connector on the box plus a BNC-to-dual-bananna plug coax cable (from Pomona) to go from isolated BNC to DMM inputs; this is simple and rugged. A BNC-to-BNC cable would allow the magnetic measurement signal to be fed to an oscilloscope, so the magnetic field can be explored quickly by sweeping the probe. One can also see the music signal on the field, as the bandwidth of the A1321 is DC to 30 KHz. One should also be able to directly sense magnetic hum fields.  
 
Shielding: Not needed, as the signal from the A1321 is quite healthy. The main market of the A1321 is automotive and industrial position-sensing, in very difficult and noisy environments.
 
3/25/2005 11:24 AM
Dr. Strangelove
RE:Allegro model "A1321UA".  
 
quote:
"Go to http://www.allegro.com for data, and to Newark to buy them."
You mean <http://www.allegromicro.com/sf/1321/>  
 
A few years back, some of us tried out Allegro Micro's predecessor A1315/1316 with reasonable results. As I read the datasheets, the new part draws less current but at a significant noise penalty.  
 
quote:
"Voltage Regulator:...The LP2951CN is an 8-pin plastic DIP"
Any 5V regulator will do. I used a 7805L, but the LP2950/2951 is much more rugged.  
 
quote:
"One can also see the music signal on the field, as the bandwidth of the A1321 is DC to 30 KHz."
Then you can calculate the delta-Gauss that's driving the pickup from the amplitude of the AC component.  
 
That 'delta-Gauss' vs. pickup output looks like a good place to start in characterizing pickup sensitivity, especially since no pickup manufacturor has ever admitted to doing so.  
 
-drh  
--
 
3/25/2005 8:43 PM
Joe Gwinn

5/2005 6:24 PM, Dr. Strangelove said:  
[QUOTE]RE:Allegro model "A1321UA".  
 
"Go to http://www.allegro.com for data, and to Newark to buy them." You mean <http://www.allegromicro.com/sf/1321/>.[/QUOTE]Oops. Yes.  
 
quote:
"A few years back, some of us tried out Allegro Micro's predecessor A1315/1316 with reasonable results. As I read the datasheets, the new part draws less current but at a significant noise penalty."
Allegro denies all knowledge of "A1315/1316", but does have a now discontinued part A3515 and A3516. Is this what you mean?  
 
The A3515 noise is 400 microvolts RMS, while the A1321 noise is 40 millivolts peak-to-peak; these are not apples to apples, especially if the noise is spikey, such as the leakage from the 150-170 KHz digital logic within the sensor. When one uses rms noise values, one is implying that the noise is gaussian, which would be seriously misleading if it's a bunch of spikes. This may be why Allegro now specifies peak-to-peak noise; I bet they heard a lot about it from their customers. I would expect that the newer ICs are quieter, not noisier, simply because of progress.  
 
I don't think the DMM will notice the noise in either case, but won't know for sure till I build the meter. If it turns out to be a problem, I will add a simple filter.  

 
quote:
""Voltage Regulator:...The LP2951CN is an 8-pin plastic DIP" Any 5V regulator will do. I used a 7805L, but the LP2950/2951 is much more rugged."
The 7805 is also a bit too large electrically, and actually may have trouble regulating so little current. Which is why I went for a micropower regulator.  

 
[QUOTE]"One can also see the music signal on the field, as the bandwidth of the A1321 is DC to 30 KHz." Then you can calculate the delta-Gauss that's driving the pickup from the amplitude of the AC component.  
 
That 'delta-Gauss' vs. pickup output looks like a good place to start in characterizing pickup sensitivity, especially since no pickup manufacturer has ever admitted to doing so.[/QUOTE]One can certainly determine the pickup sensitivity in terms of volts out for a given change in magnetic field (volts/delta-gauss).  
 
The higher the frequency, the lower this ratio, due to the increased impact of eddy currents at higher frequencies.  
 
One can also test a pickup's sensitivity by putting an air-core coil near the pickup and driving the air-core coil at 1000 Hz, measuring the ratio of voltage out to drive voltage in. The existence of the DC magnetic field will have no effect.  
 
I don't know that I believe that it's a conspiracy of silence though. More likely, they just strummed a test and rated it by ear.  
 
Now that I think about it, it seems that what would need to be measured would be voltage out for a given mechanical amplitude of string vibration. The classic way to measure this would be to pull a string away from its rest position by a standard distance, say 3mm, and let it go abruptly. The initial voltage gives the effective sensitivity. (Of course, the amplitude will vary with distance from string to pickup coil, so this distance would need to be standardized, say to the thickness of a US Nickel coin, which is 1.8mm.)

 
3/26/2005 12:04 AM
Dr. Strangelove
quote:
"Allegro denies all knowledge of "A1315/1316", but does have a now discontinued part A3515 and A3516."
 
 
Mea culpa. It is the A3515/3516, not discontinued, simply not recommended for new designs. That means you can get it but supplies are limited.  
 
<http://www.allegromicro.com/sf/3515/>  
quote:
"The A3515 noise is 400 microvolts RMS, while the A1321 noise is 40 millivolts peak-to-peak;"
Read closely. The 3515 gets their 400 rms with 1/10 the capacitance on the output.  
 
quote:
"The 7805 is also a bit too large electrically,..."
The 7800 series is/was available in 3 basic flavors: L,M,H = low, medium, high ~ 100ma, 1A, 5A. The L/M/H is in different places depending on manuf.  
 
The 7805L is the low current version. The 7-10ma load represented by the either Hall effect sensor is adequately handled within the 100ma limit of the 7805.  
 
 
quote:
"I don't know that I believe that it's a conspiracy of silence though. More likely, they just strummed a test and rated it by ear."
We have a century of transducer technology in which they are specified by an input-output model, variable reluctance sensors among them. Guitar pickups are very conspicuous by the absolute lack of such data for them. If not a conspiracy of silence, then sloth or ignorance surely suffice.  
 
Consider this an opportunity to exactly characterize the magnetic perturbation at the string and to correlate it with the transducer output, i.e., shoot off your mouth where no gadgeteer has done so before.  
 
-drh  
--
 
3/26/2005 9:12 AM
Joe Gwinn

On 3/26/2005 7:04 AM, Dr. Strangelove said:  
quote:
"It is the A3515/3516, not discontinued, simply not recommended for new designs. That means you can get it but supplies are limited."
Probably means limited to whatever is left in the warehouse.  

 
quote:
""The A3515 noise is 400 microvolts RMS, while the A1321 noise is 40 millivolts peak-to-peak." Read closely. The 3515 gets their 400 rms with 1/10 the capacitance on the output."
Yes, probably to cut those spikes down a bit, so rms values wouldn't be too deceptive.  
 
However, a 10:1 difference in capacitor load doesn't full explain a 40/0.4= 100:1 difference in reported noise level. My guess is that the noise level is actually more or less the same, and what we are seeing is the effect of different measurement approaches. I think I'll just get a couple of each kind, and compare them.  
 
That is, if I can get any A3515s. If I recall, Newark didn't have any. Maybe they have A1301s and A1302s, which claim far better noise performance. But, it doesn't really matter. The real question is how much noise the A1323 yields, and how much it matters.  

 
[QUOTE]"The 7805 is also a bit too large electrically,..." The 7800 series is/was available in 3 basic flavors: L,M,H = low, medium, high ~ 100ma, 1A, 5A. The L/M/H is in different places depending on manuf.  
 
The 7805L is the low current version. The 7-10ma load represented by the either Hall effect sensor is adequately handled within the 100ma limit of the 7805.[/QUOTE]OK. National has deprecated the 7805L, but there are probably other makers. The other reason to use LP2951 was that I wanted to be able to adjust the voltage, rather than being fixed at 5 volts nominal. One can force a 7805 to do this, but it's easier with a regulator intended for the purpose.  

 
quote:
""I don't know that I believe that it's a conspiracy of silence though. More likely, they just strummed a test and rated it by ear." We have a century of transducer technology in which they are specified by an input-output model, variable reluctance sensors among them. Guitar pickups are very conspicuous by the absolute lack of such data for them. If not a conspiracy of silence, then sloth or ignorance surely suffice."
I agree. Sloth and ignorance are by far the more common. Conspiracy is simply too much work.  
 
In all my readings of pickup patents, I've never seen anything more precise than loose talk about more efficient magnetic circuits, and I have never seen anyone hang a number on "more efficient". I guess that there never was enough of a reason to care, or someone would have done it, and patented it, or at least discussed it in a patent.  
 
Another likely reason for the lack of precision is that people rate pickups by their loudness to the ear, and the minimum humanly perceptable difference is something like 3 decibels, or 2:1 on power (1.4:1 on voltage), so only fairly large differences are going to matter. Said another way, the magnetic circuit plus windings would have to be a factor of 1.4 better to even be noticed.  

 
quote:
"Consider this an opportunity to exactly characterize the magnetic perturbation at the string and to correlate it with the transducer output, i.e., shoot off your mouth where no gadgeteer has done so before."
But, wouldn't that violate the conspiracy?  
 
Seriously, the mechanical motion to electrical output ratio is variable, depending on the spacing between strings and poles, which musicians adjust to taste.  
 
When this is taken with the factor of 1.4 discussed above, it's not clear how much precision is really necessary and achievable.

 
3/26/2005 2:39 PM
Dr. Strangelove
quote:
"Consider this an opportunity to exactly characterize the magnetic perturbation at the string and to correlate it with the transducer output, i.e., shoot off your mouth where no gadgeteer has done so before."
 
> But, wouldn't that violate the conspiracy?  
 
What? Inject objective reproducibility into a milieu historically fraught with subjectivism?  
 
Sorry. My bad.  
 
What was I thinking?  
 
-drh  
--
 
3/25/2005 2:20 PM
anonymous
alot of times if you call the comp. and tell them you would like a "sample " of the product for something your learning in class they will happily send you a few for no cost  
http://my.execpc.com/~rhoadley/magmeter.htm
 

  Page 1 of 3 Next> Last Page>>