This project, a magnetic potentiometer from
2001, uses two hall effect sensors at either end of an enclosure to measure the position of a permanent magnet (attached to a shaft).
A non-contact fader control uses a movable permanent magnet and one or two Hall-effect sensors to provide a constant, direct current voltage output. Signal conditioning and digital control circuitry linearize the output and otherwise precondition the output for application to a voltage controlled amplifier for the control of audio output in an audio mixing board.
A wide variety of prior art devices and techniques have been developed for determining the absolute position of a movable member with respect to a nonmovable member, or vice versa. Such systems typically rely on a unique physical characteristic which exists with respect to each relative position of the movable and nonmovable members.
Such characteristic may be due to resistive, capacitive, inductive, optical, or magnetic properties of the relatively movable members. Systems which are based on one of the above physical properties typically have widely varying characteristics with respect to: i) resolution (the size of the smallest incremental movement which can be detected by the system); ii) repeatability (the error within which a given position can be reproduced by the system); and iii) accuracy (the absolute deviation between the desired target position and the actual position of the relatively movable parts of the system).
Furthermore, systems of the above type often vary dramatically with respect to cost, assembly complexity, and susceptibility to ambient conditions which affect resolution, repeatability, and/or accuracy.
Audio systems such as public address systems, audio control panels for mixing audio sources in various venues (e.g., radio studios, theaters, discotheques, etc.) and even home audio systems employ a variety of manual controls in which the output of the manual control is indicative of a particular position of the control with respect to the control panel.
In most systems of the type described, the manual control does not itself directly conduct audio power, but rather acts as an indirect control for an amplifier (e.g., a voltage controlled amplifier) which then attenuates or amplifies the audio signal of interest. In this type of application while accuracy and repeatability are important, resolution is more so.
Nevertheless, the most important feature for most consumers relates to the lack of electrical noise in the sensor which is otherwise also amplified by the voltage controlled amplifier. For discriminating consumers, the feel of the control (i.e., constant drag with change of position and over time) and durability are also important.
Secondary considerations include cost and the absence of "bleed" in audio fader controls. "Bleed" represents the ability of the audio fader control to completely attenuate an audio signal which is controlled by the manual sensor.
Traditionally, potentiometers and variable linear resistors have been used in audio fader control systems because of the relatively low cost of components of this type and large travel distance (particularly with respect to linear resistive control elements) which is highly desirable to audio mixer artists.
Conventional wire wound variable resistors having movable wiper arms have been supplanted by the variable resistor of the type having a carbonized resistive element imprinted on a printed circuit board. This mechanical arrangement advantageously facilitates the manufacture of a variable resistor having variable incremental resistance.
That is, each incremental movement of the linear fader control produces a non-linear change in the resistor value. This can be achieved by either varying the width or thickness of the resistive trace on the printed circuit board. Such variability is highly desirable because where controls of this type are used for volume control, the human ear's impression of constant volume change is itself non-linear.
Those of ordinary skill in the relevant art are well aware that human perception of increasing volume is not only non-linear, it is essentially logarithmic. This relationship has been quantified by a variety of specialists in the art and is commonly known as a "standard listener curve". By matching the thickness and/or width of the resistive carbon material on the printed circuit board of a linear variable resistor with a standard listener curve, variability of resistance with respect to position can be produced so as to closely match the standard listener curve.
Thus, ordinary amplification circuitry can be employed such that an arithmetic physical displacement of the manual control produces an apparent logarithmic equivalent attenuation in volume of an audio signal which is operatively coupled to that control.
Unfortunately, printed circuit board linear variable resistors of the type described above suffer from a number of defects. First among these defects relates to travel noise associated with movement of the fader control. That is, as the wiper arm traverses the resistive path, microscopic arcing occurs because the travel path itself is not perfectly smooth.
Indeed, as the travel path begins to wear, arcing becomes more pronounced, is amplified through the voltage control amplifier, and is heard as a popping or crackling sound by the listener. This problem is only exacerbated by further use and wear. A professional audio mixing artist may cycle an audio fader control up to twenty cycles per second for hours on end.
Yet, the life cycle of a typical linear resistive element of the type described may be as little as 10,000 cycles. As the carbonized surface of the printed circuit board begins to wear under the action of the wiper arm, not only is the noise problem exacerbated, but the linear resistor begins to bleed.
That is, bringing the wiper to the fully attenuated position associated with its end of travel no longer fully attenuates the signal. A second problem associated with contact type controls such as linear resistors is that the "feel" of the control (i.e., the coefficient of friction of the carbonized surface) is non-constant either over time, or from one end of travel to the other.
A good feel which is constant over time is an important characteristic for artists in this field. Finally, the most demanding artists require significant accuracy with respect to controls of this type. However, faders with resistive elements of the type described above typically have an accuracy of no better than .+-.20% total travel length.
Thus, even if the repeatability and resolution of the control are good (which typically is not the case), scale markings on the fader control are of little use to the artist due to the low accuracy of the control itself.
Those of ordinary skill in the prior art have recognized the above described limitations of conventional resistive controls, and therefore have developed non-contact position sensors of the capacitive, inductive, optical, and magnetic type. With respect to optical control systems, an optical encoder/decoder system is described by Yochum in U.S. Pat.
No. 4,412,812 for use as an audio fader control. In that system, a movable control handle is connected to a linear shutter which is disposed between corresponding pairs of light emitting diodes and light detectors. By appropriately positioning the emitter/detector pairs with respect to various apertures in the shutter, any unique, absolute position of the shutter can be instantaneously determined by digital logic circuitry connected to the light detectors.
In addition, the digital information which corresponds to a unique position of the shutter (and thus control handle) can be used to access a digital look-up table in the form of a read-only memory (ROM) which may be provided with a non-linear transfer function, presumably to match the position of the control handle to a standard listener curve.
Yochum further describes that more than one ROM can be provided, selected by an appropriate switch, to provide two or more listening curves.
The system described by Yochum avoids all of the disadvantages associated with resistive, contact-type fader control. Nevertheless, Yochum's system requires at least 13 optical emitter/detector pairs and a mechanical shutter system to provide only 66 unique resolvable positions, although the 8 bit digital logic of the circuitry described therein is capable of storing up to 256 unique data points.
Thus, the mechanical constraints of an optical system of this type is a limiting factor in achieving a system with high resolution. In addition, the large number of sensor/detector pairs increases the cost and complexity of manufacturing the device. Finally, the device has a limited range (i.e, linear travel) due to the relatively large physical size of the shutter and emitter/detector pair array.
Thus, the effective travel length of the device is inadequate for the most discriminating users.
It has been suggested that magnetic field effects can be used in a digital fader control. Vestax Corporation, Tokyo, Japan, has announced that it will produce such a product.
The desirability of using magnetic sensors for non-contact position information is in itself well known in the art. Skalski has disclosed an elevator control system utilizing non-contact, Hall-effect sensors in a variety of United States patents (e.g., U.S. Pat. Nos. 5,294,757; 5,617,023; and 5,329,077).
The Hall-effect is a consequence of the Lorentz force in which a current moving through a sheet of material in the direction of an electric field when subjected to a transverse, steady-state magnetic field results in a voltage appearing in the conductor material transverse to the direction of current flow.
In a rectangular sheet of conductive material charges eventually build up on the edges of the sheet which are transverse to the direction of the electrical field, causing a counter-force on the charge carriers moved under the influence of the electrical field. Once the counter-force is in equilibrium with the Lorentz force, a constant voltage will appear at the transverse edges of the conductive sheet, resulting in a transverse electric field.
That transverse electric field is measured as the Hall-potential voltage. Thus, as long as there is an electric current flowing through the sheet and a magnetic field applied to the sheet, the Hall-effect voltage will be present whether or not the flux source which generates the magnetic field is in motion or stationary.
The magnitude of the Hall-effect voltage is proportional to the cross product of the current flowing through the conductive sheet and the magnetic field applied to the sheet.
Modern Hall-effect sensors have been developed which are relatively inexpensive, have low noise, low offset drift, excellent temperature stability, and very high accuracy, repeatability, and resolution. Thus, Hall-effect sensors have found application in a variety of devices. One example is illustrated by Petersen in U.S. Pat.
No. 4,658,214 in which two adjacent Hall-effect sensors are used to detect the displacement of a junction between adjacent north and south poles of two permanent magnets. The position of the magnets is driven by a coil winding, while the magnets themselves are connected to an operative device, such as a camera shutter.
Computer controlled circuitry is disclosed which compares a current position of the magnetic junction with respect to a previous position in a feed-back loop to determine whether a motion command has been fully executed. Over a limited range, the flux density in the vicinity of a junction between the north and south magnet poles is substantially linear.
This regime is used by the design described in the '214 patent. The device disclosed therein is useful for determining displacements of approximately one-half inch. Thereafter, the magnetic flux density is indeterminate with respect to the Hall-effect sensors.
Similarly, the Hall-effect sensors used in the Skalski disclosure are described as being useful to measure displacements on the order of only a few millimeters, whereas audio mixing artists prefer a travel distance for a linear fader control to be on the order of 35 to 40 mm or more.
Thus, a need exists for a non-contact, noiseless, linear fader control for audio applications having long travel length, high accuracy, low cost, and ease of assembly. Such a fader control should also have a long product life cycle and consistent feel over time. The ideal fader control should be impervious to variable ambient conditions and to liquids and sprays which may be applied thereto, and also immune to bleed. Further yet, the desired fader control should have an electrical output well adapted for use by digital signal processing equipment.
It is therefore an object of the present design to provide an improved fader control for audio applications which is noise-free, has a usable life span of over one million cycles, has a long travel length, has a consistent feel throughout its product life, and is relatively immune to temperature variations, humidity and corrosion.
It is a further object of the design to provide a fader control which achieves the above objects while being immune to audio bleed and which advantageously uses the natural relationship between flux density and distance to achieve a constant power curve response, also known as a standard listener curve.
It is yet another object of the present design to achieve the above objects and advantages with a fader control that is part of a system which permits an audio artist to apply an output of the fader control to a digital gain transformation system, permitting the convolution of two data sets, whose mixing is controlled by the audio artist through the output of another manual control to provide a completely custom gain transfer function for the audio mixing artist.
The design achieves the above objects and advantages, and other objects and advantages which will become apparent from the description which follows, by providing a linear position sensor having a permanent magnet mounted on a lineally-translatable carrier. The carrier is movable between two relatively fixed, spaced-apart magnetic flux detectors, one facing the north pole of the magnet, the other facing the south pole of the magnet.
The flux detectors have opposite polarities and are electrically inter-connected such that their combined outputs provide an analog position signal having a magnitude indicative of a specific, monotonic, linear position of the magnet with respect to the flux detectors.
In a preferred embodiment of the design, the carrier rides on two elongated, laterally spaced apart rails which are parallel to the flux axis of the magnet. The flux detectors are preferably Hall-effect sensors which, when provided with a constant power supply, provide a direct current voltage at the electrical output of each flux detector which is indicative of the position of the magnet and the carrier, even if the carrier and magnet are at rest.
The rails are preferably manufactured from a highly polished, durable, non-ferrous material, and the carrier is preferably made from a low friction material to provide an improved feel for the control. The carrier and rails may be provided with a drag-inducing mechanism to properly "weight" the carrier.
This mechanism may be in the form of a torsion spring.
In the preferred embodiment of the design, the non-contact fader control of the present design can be operatively connected to a digital processing circuit which digitizes the analog output from the magnetic flux detectors for subsequent processing, after which the digitized signal is reconverted into an analog signal which controls a conventional voltage controlled amplifier, into which is fed an audio input of choice.
The resulting ultimate audio output from the voltage-controlled amplifier is thus a function of the position of the fader control. The digital signal processing circuit can provide a variety of operations on the digitized fader control position information, including low pass filtering, correcting for any initial offset error from the factory, a "hysteresis" offset function in which any uncertainty in the least significant bit (LSB) of the digital word which represents the fader control position is determined, and "linearization" of the digital signal by normalizing the signal against a "standard listener curve" so as provide a constant power curve response for the ultimate audio output.
In addition to the above, the digital processing circuitry can be provided with input from a contour control, in which the contour control mixes data from two different data tables, each table providing a different audio gain transfer function. Thus, the audio artists can customize the ultimate audio output gain curve after the audio transfer function has been adjusted for a variety of factors, including constant apparent power output (i.e., apparent volume).
In an alternate embodiment of the design, the direct current output of one or more Hall-effect sensors is applied to an analog conditioning circuit which appropriately matches the magnetic properties of the contour control itself such as to mimic the application of a standard listener curve to the fader control sensor output for subsequent application to the voltage controlled amplifier described above.
A non-contact magnetic fader control, in accordance with the principles of the design, is generally indicated at reference numeral 20 in FIGS. 1 through 4 and 11. A first embodiment of the fader control 20 is shown in FIG. 1, FIG. 2, FIG. 3 and Figure 4 and includes a printed circuit board 22 having a plurality of electrical traces (not shown) thereon in the conventional manner, terminating in an electrical connector block 24 having pins through 1 through 6 as shown.
The printed circuit board 22 also supports structural blocks 26, 28 such as by screws 30 for supporting in a spaced apart relationship first and second linear bearing rods 32 and 34. The cylindrical rods are approximately 70 mm long and are separated laterally by a distance of approximately 22 mm.
The rods 32, 34 are journaled in the structural blocks 26, 28 so as to be fixed therein. The structural blocks are preferably provided with screw holes 36, 38 for mounting the fader control 20 to an audio mixing panel (not shown) or the like. Structural blocks 26, 28 are preferably manufactured from a non-ferrous material, such as thermoplastic.
The rods 32, 34 slidably support a carrier member 40 preferably manufactured from a thermally stable, non-ferrous, low friction material such as Delrin.RTM. AF manufactured by Dupont. Delrin.RTM. 100 AF has approximately 20% Teflon.RTM. filler, making it possible to achieve a high-quality, one-piece carrier with integral, load-bearing anti-friction properties.
The carrier and rods assembly is highly wear resistant. A prototype part was cycled over 13,000,000 times at 10 cycles per second with no measurable wear. The linear bearing rods 32, 34 are preferably manufactured from highly polished 303 stainless steel, which is a non-ferrous material.
The carrier member 40 has a first cylindrical portion 44 defining an aperture 46 for sliding receipt of the first rod 32. The carrier member further has a laterally projecting portion 48 terminating in a C-shaped member 50 defining an elongated cavity 52 for sliding receipt of the second rod 34.
The carrier member 40 also has a vertically projecting portion 54 into which a stud 56 is co-moulded. The stud 56 is made from non-ferrous stainless steel and is adapted for receipt of a control handle or the like (not shown). Thus, the carrier can be translated up and down the rails 32, 34 by manipulating a handle or the like attached to the stud 56.
The carrier member 48 is further provided with a second cylindrical portion 58 intermediate the C-shaped member 50 and the first cylindrical portion 44. The second cylindrical portion 58 is provided with a second cylindrical cavity 60 for receipt of a permanent magnet 62. The permanent magnet is preferably manufactured from neodymium-iron-boron (NdFeB) grade 35 and has an intrinsic flux density of 12,300 gauss which has been stabilized at approximately 11,000 gauss.
An alternative appropriate magnetic material could be samarium-cobalt (SmCo). The permanent magnet 62 has a ratio of diameter to length of approximately 1 to 1. In the preferred embodiment the magnet diameter is approximately 1/4 in. and the length is approximately 1/4 in.
In order to provide an appropriate drag feel to the non-contact magnetic fader control 20, the carrier member 40 is provided with a torsion spring 64, having a first arm 66 reacting against the first cylindrical portion 44 and a second, elongated arm 68 reacting against the second rod 34. The torsion spring is preferably manufactured from a non-ferrous material.
The second elongated arm 68 preferably applies a force of approximately 40 to 60 grams to the second rod 32 (i.e., a torque of approximately 40 to 60 gram inches). This results in a drag force of about 20 g., which is approximately equal to the weight of the carrier 44/permanent magnet 62 combination.
It has been found that by equalizing the weight of the moving member with the applied drag, an optimal "feel" can be provided for the audio mixer artist operating the control 20. The structural blocks 26, 28 are preferably provided with foam rubber pads 70, 72 adjacent to the rod ends to cushion the end of travel of the carrier member 40.
The printed circuit board 22 supports first and second magnetic flux detectors 80, 82 adjacent to the ends of the first and second rods 32, 34 so as to be supported against the foam rubber pads 70, 72 and the structural blocks 26, 28. The flux detectors are preferably positioned such as to be on the flux axis defined by the permanent magnet 62.
Similarly, the first and second rods 32, 34 are also preferably positioned so as to be parallel to the flux axis, whereby the respective north and south faces of the permanent magnet can be translated to within a few millimeters of the flux detectors. The working travel of the permanent magnet is approximately 37 mm.
In the preferred embodiment of the design, the flux detectors are Hall-effect sensors which operate in accordance with the Lorentz force. It is well known that if a magnetic field is applied across a sheet of conductive material carrying a current that a force (the Lorentz force) will be applied to a charge carrier moving in the direction of the current flow.
Charge carriers will thus accumulate on one transverse edge of the current carrying sheet. In accordance with electrostatic principles, a corresponding number of oppositely charged carriers will migrate to the opposite lateral edge of the sheet until an equilibrium is reached. The potential difference between the two edges at equilibrium is known as the Hall-effect voltage and can be measured by a variety of sensors such as the Allegro Model A3515LUA Hall-effect sensor, which is commercially available.
This sensor has exceptional linearity, low noise, low offset drift, and low sensitivity drift over temperature. The dynamic range of this sensor is in excess of 80 dB.
Click here for more project ideas.
Jump from the magnetic potentiometer page to
Best Microcontroller Projects Home Page.
How to use the TCS230 (/TCS3200) Color detector chip and easily add it to any of your projects.
How to use Arduino millis() for delays but still make the processor do work - Stop using delay()
The Essential Guide to the 74HC595; What it is and how you can easily use one in any of your projects.
Which pic programmer do you need? This page discusses PIC programmers and gives some essential information on choosing or building your own programmer.
learn how to use Arduino pulseIn and pulseInLong to get the most accurate pulse measurement on an Arduino.
This MCP23017 Interrupt tutorial shows you how to connect interrupt outputs from several MCP23017s to a single microcontroller interrupt pin.