|
||
March 13, 1998Inexpensive relays form digital potentiometerRobert Perrin, Z-World, Davis, CAA project posed the challenge of replacing existing analog potentiometers (used to set brightness and contrast levels) in video monitors with digitally controlled potentiometers. The different brands and models of monitors presented widely varying voltages across the potentiometers. The design had to
Also, during switching, the wiper could not become open-circuited, and it had to be able to travel end-to-end.
The circuit uses a 74HC374 latch and MPS2222A npn transistors to interface the relays to the system CPU (Figure 3). The primary disadvantages of the method are board space and cost. However, for the monitor application, the circuit proved flexible and reliable. Applications that require replacing existing potentiometers or rheostats are potential candidates for this circuit. For example, you could replace a high-power rheostat with the circuit if you select relays and resistors with suitable current ratings. Switched-capacitor regulator provides gainJeff Witt, Linear Technology Corp, Milpitas, CA
Precision current sink costs less than $20Carlos Barberis, Bartek Technologies, Haverhill, MA
The circuit is a precision current sink with typical current regulation of better than 0.5% for a 3 to 40V compliance voltage. R4 is a sensing resistor; its voltage drop servos the input voltage to IC1A. The wiper of the vernier potentiometer sets the input voltage, discounting any amplifier offset errors. The offset could be as high as 2 mV in a run-of-the-mill LM10, translating to a 2-mA error between the set current and the current flowing in R4. The reference amplifier, IC1B, is a gain-of-5 stage that provides a 1.00V reference on the high side of the current-setting potentiometer. The voltage-to-current transfer function is thus 1A/1V. You can change the transfer function to fit your needs.
The principal sources of error in the circuit are the amplifier offset, the tolerance of the reference voltage, the tolerance of R4, and the fact that the current includes various branch currents other than the controlled current in the sensing resistor. These branch currents add up to approximately 400 µA, or roughly five times lower than the offset-voltage error. You can consider the error negligible for settings of 10 mA and above. The most important issue for long-term stability is efficient heat removal from the current-regulating transistor, Q1. The transistor needs an appropriate heat sink; the choice of heat sink depends on the current ranges you need. The element that encounters the largest voltage drop at a given current is the hottest. Q1 dissipates VIN1W for any given input voltage when operating at 1A. If you plan to use the load on a continuous basis, for example at 1A, with a 30V input, Q1 dissipates 29W; R4 consumes 1W. Q1 would thus need a hefty extruded heat sink. Simple logic probe uses bicolor LEDMark Shill, Burr-Brown Corp, Tucson, AZ
The circuit centers around the OPA2340 dual rail-to-rail op amp and a Radio Shack 276-012 bicolor LED. The forward voltage for the red and green LEDs are 2 and 2.1V, respectively. Op amp IC1A derives a buffered 2.5V reference output from the 5V supply, and R3 limits the current to the LED when it is on. IC1B buffers and amplifies the probed logic signal to a 0 to 5V output level. R4 and R5 set a reference level for the positive input of IC1B for the case of a high-impedance level. When a logic high is present, the green LED lights; a logic low lights the red LED. When a high-impedance state is present, the LED is off. The output voltage transfer function of IC1B is
In Figure 1b, the output of IC1B feeds into IC1A's inverting input. For the resistor values in Figure 1b, the transfer function for IC1A is VA=VB+3V, thus making VLED=2VB3V. DC power wire also carries clock or dataMike Hardwick, Decade Engineering, Turner, OR
Figure 1 depicts a subsystem that receives power from its host system and simultaneously transmits a clock signal back on the same wire. The circuit uses the clock in the remote system to modulate power-supply current via an open-collector driver or discrete transistor and RMOD, a switched load resistance. In the host system, IC1 develops a voltage across RIV, which represents the instantaneous sum of supply current and modulation current. RINTEG and CINTEG filter this voltage, biasing the comparator's reference pin to a level that tracks average power-supply current. As the signal swings above and below this reference level, the comparator outputs the recovered clock. RHYST adds a small amount of hysteresis to ensure clean clock recovery. IC2, which comes in an SOT23-5 package, is a CMOS comparator with a rail-to-rail input range. This range allows you to choose RIV with relative freedom--expect about 1V/A of load current for each 2 kiloohms of resistance. The input offset of low-grade versions of IC2, an LMC7211, can be as much as ±18 mV. Thus, select RMOD and RIV to produce 50 mV or more of modulation on RIV, and then choose RHYST to obtain a few additional millivolts of shift at this node when the comparator changes state. None of these values is critical. For this scheme to work as expected, the power-supply current to the remote system must be relatively constant, except for the intentional modulation. Slow power-supply current variations do not cause problems, as long as you choose the integrator components with care. The integrator RC product should be about 10 times the clock period. It's convenient to choose RINTEG of approximately 1 Megaohm when using CMOS comparators, such as IC2. You can then use ceramic or plastic-film capacitors for CINTEG, thus minimizing the risk of failure due to capacitor leakage. The circuit can also transmit data if the data contains little dc bias variation or if you replace the integrator components with a fixed bias source. This change means, of course, that no significant power-supply current change is allowable after calibration. IC1's output rise and fall times measure approximately 4 µsec, a figure similar to IC2's response-time specification. The remote system's power-supply bypass capacitance may impose an upper bound on the clock rate because this capacitance limits the modulation rate of the supply current. This time constant is CLOAD×(RSENSE+RCABLE). RSENSE is less than 0.07 ohms*.qrk in IC1, and the cable's series resistance depends on the application. You must add the equivalent series resistance of the power source, connectors, and any other associated resistive elements to RSENSE in this calculation if you're pushing the envelope of the circuit's performance. |
||
| EDN Access | Feedback | Table of Contents | |
||
| Copyright © 1997 EDN Magazine, EDN Access. EDN is a registered trademark of Reed Properties Inc, used under license. EDN is published by Cahners Publishing Company, a unit of Reed Elsevier Inc. | ||