Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
G
L1
munication phones have a 10 mH
Figure 1 INPUT
subscriber-identification 1.8 TO 11V
module (SIM) that allows local wireless + C
1
100 mF IN LX
providers to recognize the user and his or
her billing information. Although most PS
+ C2
SIMs are changing to 3V operation, they 100 mF
also accommodate 5V as well during the
transition. IC1 in Figure 1 combines a ON IC1
9 3 OR
OFF ONA OUT 5V
step-up dc/dc converter with a linear reg- OFF ONB
MAXIM R1
MAX1672 + C4
ulator, allowing it to regulate up or down ON 5
3/5 300k
4.7 mF
5V
for a range of input voltages. It offers 3V
6
PGI FB
hardware-selectable fixed outputs of 3.3 0.8A ILIM
R2
0.5A 100k
and 5V; however, 3.3V is out of spec for
REF PG0
a 3V SIM card. With properly chosen
C3
R1/R2/R3 values, you can switch the reg- 0.1 mF PGND GND R3
470k/150k
ulated output between 3 and 5V (or any
other two outputs within the allowed
range) by applying digital control to the
power-good input (PGI). The power-
good output (PGO), the output of an in- You can obtain a regulated 3 or 5V output, according to digital control applied to the power-good
ternal comparator, then changes the IC’s input (PGI).
feedback by grounding the node between
R2 and R3. If the power-good com-
Figure 2
parator is in use, you can imple- L1
ment the digital control using the 3/5 in- 10 mH
INPUT
put and an external MOSFET (Figure 2). 1.8 TO 11V
(DI #2468) C1 + R3
IN LX
100 mF 6
PGI
To Vote For This Design, PS
R4 + C2
Circle No. 315 100 mF
with the input voltage, VIN, and is inde- IL520 mA, R15100 kV, RX50.1 kV, and R1
+
pendent of RL. The circuit is widely used VIN54V yields R2549.9 kV. Now, let RX
a 4- to 20-mA signal. The circuit has its for R3 as follows: R35(49.9 kV10.1 RL
limitations, however, because the resistor kV)550 kV. This example configures a R3
values must be quite accurate to obtain a design for the popular current source of
true current source. The literature de- 4 to 20 mA. In a second example, if RX
scribing the circuit provides design meth- changes from 100 to 400V, the feedback Design formulas make this classic V/I converter
ods that are for special cases or are for ap- changes fourfold, and you would expect easy to use.
proximate designs. This Design Idea gives that the output current would change
two simple design formulas you can use fourfold, to 1 to 5 mA. You can check the second example above results in the fol-
to determine the component values that result by substituting in the general for- lowing expression:
produce a true current source. It also pro- mula for the output current: VIN
vides a general formula for the output IL = 75.25 . (4)
current, IL, for any selection of resistor IL = VIN (KR 2 + R X ) / 0 .06 R L + 59.96
values, not just the constant-current se- R1 + R 2 With RL50.2 kV and VIN54V, IL5
lection. R L R1 + R 2 + R X 1R1 • 5.019 mA. Then, with VIN50.8V, IL5
For a true current output, IL, as a func- R2 1.003 mA. Thus, after changing the feed-
tion of the input voltage, VIN, you must (3) back resistor by 4-to-1, you still have cur-
KR 2 + R X
satisfy the following two equations: + R X (R1 + R 2 ) , rents close to the 1- to 5-mA standard.
V R R2 Note also that IL55.02 mA when RL50V;
IL = IN 2 + 1 . (1) thus, the circuit is still almost a perfect
R1 R X R
where K = 1 + 3 . current source. This result is unique, as
R4 you can convert from 4 to 20 ma to 1 to
R
R 3 = (R 2 + R X ) 4 . (2) When the complete coefficient (the 5 mA by changing only one resistor. You
R1 terms inside the square brackets) of RL can configure the less used standard of 10
In Equation 1, you can arbitrarily se- equals zero, a true current source results, to 50 mA by making RX5100/2.5540V.
lect any four of the terms and then de- and equations 1 and 2 are valid. Note (DI #2471)
termine the fifth term by solving the re- that substituting the values from the first
sulting equation. In Equation 2, you can example above forces the coefficient to To Vote For This Design,
arbitrarily select either R3 or R4 and then zero. Substituting the values from the Circle No. 316
To Vote For This Design, A simple op-amp-follower circuit with the aid of inductive blocking restores the dc level of an RF
Circle No. 317 signal.
12V
C1
0.1 mF
Figure 1
R1 R2 R3 R4
1k 1k 1k 1k
MUXED_OUT
D1 Q1B
R5 3 5 R6
SENSOR 1 1N4148 MPQ3906 SENSOR 2
1k 1k
1 2 2 6 2 1
Q1A
MPQ3906 12V D2
12V 1 1N4148
7
1 Q1D
R8 8 R7 R9
D3
1k 1k 14 MPQ3906 R11 1k
Q1C 5.1V 1k
9 13
MPQ3906 2
R10
Q2 1k Q3
10 12
BS170 BS170
SELECT
12V 12V
R12
FROM
10k
mC
You can multiplex the output signals from two sensors into one input-capture line in a mC.
any low-current devices that of an additional 25V-converter function. these applications, typical negative- volt-
CLK
7 kHz
ALD4213
1 74HC4316
IN1 IN2 16 1 16
Figure 1 V+
2 D1 D2 15 15
V+ CLK
2
V+ 14
3 S1 S2 3
13
4 13
V2 V+ V+
C1 + 4
5 GND
10 mF +
12 10 mF
5
6 S4 S3 CLK
11
6 2VOUT
7
7 D4 D3 10
2VOUT 8 10
8 IN4 IN3 9
9
C2 10 mF
+
(a) (b)
+
10 mF
NOTES:
< <
2V_V+_5V.
CLK IS CMOS LOGIC LEVEL WITH FREQUENCY OF 5 TO 500 kHz.
V+ IS THE DC-TO-DC INPUT.
2VOUT IS THE DC-TO-DC OUTPUT.
Using an analog switch with two external capacitors and an external clock is a viable way to produce 25V from a 5V input for low-power, 25V needs.
One approach uses only one phase of the clock (a); a second approach requires both phases (b).
4
200k
IC2A IC6
2 13 15
1 G QA
3 RCK 12 1
RCK QB
74HC02 2
QC
10 SRCLR QD 3
5V
11 4
SRCK QE
QF 5
14 SER QG 6
7
QH
9
QHP
74HC595
ADDITIONAL DEVICES
Optocouplers allow you to isolate and control shift registers with only two logic signals.
RPOT
RPAD
VOUT
You define a ratio, r, which is RPOT/RPAD
(RPOT5R11R2). By adjusting the value of
RPAD, you can modify r, which adjusts the
problematic because of the switching taper, or the attenuation-versus-digital-
noise of the ladder network. This noise (a) input code to suit the application. The
comes from the bit switches injecting following expression gives the transfer
charge into the signal when they turn on function of the potentiometer:
and off. Audio engineers have dubbed VIN
R1
R2 RPAD VOUT
this noise “zipper noise” from the sound VOUT R 2 R PAD
that results from dynamically adjusting =
(b) VIN R1 + R 2 R PAD
the volume (gain riding). An alternative
to an MDAC in this application is a dig-
ital potentiometer, such as the Analog Adding a pad resistor to a digital potentiometer Figure 2 shows the attenuation curves
Devices AD52XX, AD84XX, or AD7376. imparts a logarithmic-like taper to the device. for three values of a pad resistor. As you
You can think of the digital potentiome- can see, this trick doesn’t give a taper that
ter as a tapped resistor string. It generates within a small percentage of the range of is so many decibels per step, but it does
less noise because fewer switches change the potentiometer. This constraint lim- allow for better low-level settability. You
state. In addition, you can connect the its the adjustability of the volume setting. must address a couple of issues. The first
three terminals of the potentiometer any- The ear responds logarithmically; the is that the end-to-end resistance of the
where within the common-mode range volume control should respond similar- potentiometer changes with the digital
of the circuit (the supply-voltage range), ly. The primary reason for having only a code. It varies from the potentiometer re-
unlike an MDAC, which generally uses linear taper is the manufacturing prob- sistance at one end (with the wiper at the
ground as reference. lems that the large range of resistance val- lower end) to the value of the pad resist-
The primary drawback with using the ues for a log taper cause. By adding a pad ance in parallel with the potentiometer
digital potentiometer for volume control resistor from the wiper of the poten- resistance at the other end. If you config-
is that it currently comes with only a lin- tiometer to one end (Figure 1a), you can ure the circuit as a typical attenuator and
ear taper. With a linear taper, if the to simulate a log taper. If you split the po- drive it from a low-impedance source, the
“wiper” is at the midpoint, the signal is tentiometer into two resistors, R1 and R2, low pad resistance should not present a
only 6 dB less than the maximum. Thus, you can redraw the circuit as in Figure major problem. If, however, you are try-
most of the adjustment range occurs 1b. The output voltage then depends on ing to obtain a set resistance value to de-
termine a time constant (or any other ap-
plication in which the resistor value is
1.2000 critical), this approach may not work
Figure 2 well. The second issue involves overvolt-
1.0000 age. The three terminals of the poten-
tiometer can be anywhere within the
0.8000 supply range of the IC, which is 5V for
VOUT the AD52XX and 615V for the AD72XX
0.6000
VIN family. If you apply overvoltage to one of
R=0.25 the pins, even in a transient condition,
0.4000
R=0.1 the IC could latch up because of a para-
R=0.025
0.2000 sitic substrate SCR. (DI #2473)
0.0000
1 33 65 129 161 193 225
TAP
It’s not log, but it’s close. These curves approximate what you can obtain from an audio-taper To Vote For This Design,
potentiometer. Circle No. 322
To: Design Ideas Editor, EDN Magazine Entry blank must accompany all entries. (A separate entry
275 Washington St, Newton, MA 02458 blank for each author must accompany every entry.) Design
I hereby submit my Design Ideas entry. entered must be submitted exclusively to EDN, must not be
patented, and must have no patent pending. Design must
Name be original with author(s), must not have been previously
published (limited-distribution house organs excepted), and
Title must have been constructed and tested. Fully annotate all
Phone circuit diagrams. Please submit text and listings by e-mail
to b.travis@cahners.com or send a disk.
E-mail Fax Exclusive publishing rights remain with Cahners
Company Publishing Co unless entry is returned to author, or editor
gives written permission for publication elsewhere.
In submitting my entry, I agree to abide by the rules of the
Design Ideas Program.
Address
Signed
Country ZIP
Date
Design Idea Title