EDN Design Ideas 2003
EDN Design Ideas 2003
EDN Design Ideas 2003
ideas
make contact with a circuit with wet fingertips. R1 produces a 0.4-mA current to
bias the current mirror comprising Q1
and Q2. Q1, the resistance-sense transistor, is the heart of the circuit. The resistance between its emitter and VCC determines C2s charge current. Because C2
receives current from a constant-current
source, the waveform on the capacitor is
a linear ramp. When C2 charges and passes IC1s threshold, IC1 generates an output pulse. R2 determines the discharge
rate for C2. IC2, a 74C74, converts the
NE555 pulses to symmetrical square
waves to differentially drive the piezoelectric speaker. With normal, day-to-day
use, the 9V battery should last approximately a year.
1N4148
TEST LEAD 1
D1
0.1 F
8
TEST LEAD 2
Q1
Q2
R2
100
Figure 1
VCC
7
6
RESISTANCE
SHORT
1
10
100
1 k
10 k
100 k
OPEN
1933
1888
1541
741
190
30
5.6
~1
D2
C1
0.1 F
TONE
FREQUENCY
(Hz)
S1
2N3906
R1
20k
C2
0.047
F
4
RESET
DISC
IC1
THRES NE555
2
3
TRIG
OUT
1 GND
B1
9V
10 F
CTRL
0.1 F
4
CLR
D
IC2
74C74
CLK
PIEZO SPEAKER
PRE
1
Use your ears to test continuity with this audible-tone circuit tracer.
www.edn.com
design
ideas
design
ideas
(a)
(b)
Figure 2
When you remove one supply from the redundant configuration, you incur sags (a) and glitches (b) in the output voltage.
(a)
(b)
Linear (a) and boost (b) regulators use the scheme in Figure 3 to eliminate sags and glitches in the output voltage.
www.edn.com
design
ideas
tween same-configuration power supplies. This variation is only a few percentage points. If the current into the
load rises, VC also rises, reducing the current through D1.2 and consequently reducing VOUT1. When IC1s output rises
and differs from VFB by less than the di-
current into the load from all power supplies, guaranteeing that they stay in active
condition.
www.edn.com
design
ideas
a microcontroller. Figure 3 shows a typical application of the alternative algorithm, using a general-purpose microcontroller. You implement the BPx
(backplane) connections using generalpurpose, tristatable outputs of the microcontroller. The FPx (frontplane)
connections require only ordinary, general-purpose outputs. You obtain the
VDD/2 voltage on the BPx pins by tristating the microcontrollers pins. (You can
usually obtain this result by configuring
Figure 4
(a)
(b)
Figure 5
Figure 2
Alternative LCD-drive waveforms use only three voltage levels on the backplane pins.
www.edn.com
design
ideas
www.edn.com
design
ideas
Figure 1
0.01 F
5V
0.1 F
0.01 F
VCC
0.01 F
R5
4.7k
4.7k
2.2k
14
16
18
PARALLEL
PORT
1
2
D0
D1
D2
D3
D4
7
20
8
9
22
10
LE
CE
IN0
OUT0
IN1
OUT1
+
R1
1k
VHP
IN4
OUT4
R4
4.7k
IN5
D6 IN6
D7
IN7
OUT5
VLP
OUT7
VCC
R6
220
R7
R2
13
10k
100k
VBP
D4 V+ V GND S4
V+ V GND
D2
5V
IC5
1
/ 4 OPA4242
S1
D1
22k
24
12
IC5
D4 V+ V+ GND S4
2.2k
10k
11
S3
1
/ 4 OPA4242
OUT6
S2
100k
0.01 F
IC1 OUT2
74573
IN3
OUT3
GND
IC2
DG308A
D3
IC5
1
/ 4 OPA4242
23
25
D2
10k
VIN
IN2
D5
220
R3
4.7k
47k
D3
100k
D4
IC4
DG308A
S2
S3
S4
You can use a PC-configurable filter design to select both Q and center frequency.
www.edn.com
design
ideas
D8
(47k)
1
1
0
0
1
1
0
0
1
1
1
0
0
1
0
D7
(22k)
1
1
1
1
0
0
0
0
1
1
0
1
1
0
0
D6
(j10k)
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
Q
2.24
2.35
2.5
2.65
2.9
3.12
3.4
3.72
4.7
5.36
6
6.38
7.72
11.01
33.72
www.edn.com
design
ideas
D4
0
1
1
0
1
1
0
1
0
1
D3
0
0
0
1
1
1
0
0
1
1
D2
0
0
0
0
0
0
1
1
1
1
f0 (kHz)
0.159
1.519
1.75
6.37
7.96
8.11
30.68
32.2
37
38.7
www.edn.com
design
ideas
possibility of a latch-up failure or excessive current draw exists when power-supply sequencing does not occur properly.
The trigger for latch-up may occur if power supplies apply different potentials to the
ENABLE
J2
1
2
Figure 1
J1
1
2
OUT 8
7
IC1
IN
OUT
3 TPS2034DOUT 6
IN
4
OC 5
EN
GND
10 F
10k
3.3V
INPUT
SUPPLY
10 F
1
2
10 F
10 F
1 AGND
2
VSENSE
3 COMP
4
R2
9.78k
0.047 F
10k 470 pF
12 pF
R3
10k
28
RT
ENA 27
TRACKIN 26
VBIAS 25
PWR80
5
VIN 24
BOOT
6 PH
VIN 23
7
IC2
VIN 22
PH
TPS546B0PWP
8
21
PH
VIN
9
VIN 20
PH
10
PGND 19
PH
11
PGND 18
PH
12
PGND 17
PH
13
PGND 16
PH
15
14
PH
PWRPAD PGND
1 F
71.5k
R4
9.76k
10 F
301
R1
10k
0.68 H
1
2
470 pF
22 F
22 F
22 F
J4
1.8V
CORE
SUPPLY
This power-supply-sequencing circuit eliminates latch-up problems and reduces FPGA start-up transient currents.
Figure 2
When the I/O-supply voltage decays, the core voltage gracefully follows
suit.
Figure 3
As the I/O-supply voltage rises smoothly toward 3.3V, the core voltage
clamps cleanly at 1.8V.
www.edn.com
design
ideas
ables component IC1. The I/O supply voltage, J3, slowly rises until it reaches 3.3V. As
the I/O voltage rises, the core voltage supply, J4, rises accordingly until the voltage
reaches 1.8V (Figure 2). The TPS54680
device incorporates an analog multiplexer on the TRACKIN pin to implement the
tracking function.
During power-up and -down, when the
voltage on the TRACKIN pin is lower than
the internal reference of 0.891V, the voltage on the TRACKIN pin connects to the
noninverting node of the error amplifier.
When the TRACKIN pin is below 0.891V,
the pin effectively functions as the switching regulators reference. The resistor divider of R3 and R4 on the TRACKIN pin
must equal the resistor divider of R1 and
R2 in the feedback compensation to track
with minimal voltage difference during
power-up and -down. The TPS2034 has
an on-resistance of 37 m and can supply
as much as 2A output current. The
TPS54680 is a synchronous buck regula-
www.edn.com
design
ideas
IRFD110
www.edn.com
pulse transformer. Many electronic systems that use an output transistor can
generate a dynamic variable. Many systems, such as PLCs (programmable-logic controllers), have long cycle times and,
thus, cannot generate signals of adequate
frequencies. In these cases, you can obtain an appropriate signal using the lowfrequency dynamic variable from the
PLC. To accomplish that task, you must
use an external oscillator and a pulse detector implemented with a monostable
multivibrator. The oscillator produces a
design
ideas
he polarity-protection circuit in
Figure 1 is a high-performance alternative to the usual series diode
Q1
IRF7822
Figure 1
+
D1
IN4002
R2
2.2M
7
100k
INPUT
R3
2.2M
R1
1.2k
IC1
PVI5033
D2
14V FOR
15.5V OVP
OUTPUT TO
PROTECTED
CIRCUITRY
10k
This polarity-protection circuit incurs lower forward-voltage drop than the best Schottky diodes.
design
ideas
in Figure 2. Note the change in scale factor. VOUT1 is a diode drop higher for positive inputs and saturates to VEE for negative inputs. The time delay in the
response may result in a significant error in the output.
For example, an amplifier that has a
slew rate of 2.5V/sec and saturates to
2.5V takes at least 1 sec to get
ready to respond to positive inFigure 2
puts. During this time, the fast input has changed, so rectification starts at
the wrong part of the input. One way to
minimize this error is to use a high-slewrate amplifier, but this solution comes at
the expense of high power consumption.
Another option is to use an invertingamplifier configuration and two diodes,
followed by a unity-gain inverting amplifier to obtain the noninverting rectification. This method appears in many
textbooks. The circuit in Figure 4 represents a one-stage, noninverting rectifier
that improves the accuracy of the
Figure 3
rectification and reduces the power consumption. In this circuit, an
AD8561 amplifier acts as a comparator.
The AD8591 performs the rectification.
When VIN0V, the output of the
AD8561 is high, and the AD8591 acts as
a follower. When VIN0V, the output of
the AD8561 is low, and the AD8591 shuts
down. This shutdown puts the output of
the AD8591 into a high-impedance state,
so it remains at approximately 0V, rather
than saturating to VEE as it did in the previous circuit. When VIN goes positive, the
amplifier comes out of shutdown
Figure 4
and again follows the input. This
turn-on time (the time it takes to come
out of shutdown) is much shorter than
the saturation recovery time and slewrate limiting that occurs in the previous
circuit. Figure 5 shows the signals at the
input (red) and output (green) of the improved rectifier circuit.
Figure 5
These signals appear at the input (red) and the output (green) of the circuit in Figure 1.
These signals are the waveforms at VOUT2 (green) and VOUT1 (red) in the circuit in
Figure 1.
VCC
3+
V
AD8591
4_
SD V
VIN
VCC
V
3 _
5k
VEE
AD8561
2
VOUT1
1
4 V
7
5
6
VEE
These signals appear at the input (red) and output (green) of the circuit in Figure 4.
www.edn.com
design
ideas
5V
VDD
47k
100 nF
Figure 1
IC2B
TLC082
_ 6
4
FSEL
OUT
10k
8
IN
1
2.4k
GND
IC1
TYPE MSHFS6S VSS
CLK
VDD
SUMMING STAGE
+
4.7k
4.7k
100k
47 pF
47k
470 nF
1k
SIGNAL
INPUT
20
10 pF
100 nF
2.4k
10k
IC2A
TLC082
NOTCH
OUTPUT
+ 5
10k
8
10 pF
10 pF
4.7k
THIRD-ORDER, 800-kHz ELLIPTIC
LOWPASS FILTER
V2
6.25 MHz
5V
An op amp and a switched-capacitor filter combine to form a highly selective notch filter.
edn021226di30991
Heather
Figure 2
Figure 3
design
ideas
plifier, features a clock output. This output switches Q1, providing drive to the
diode-capacitor charge pump. The
charge pumps output feeds IC1s V terminal, pulling it below 0V, thus permitting an output swing to and below
ground. In Figure 2, the amplifiers V
pin (Trace B) initially rises at supply
turn-on but heads negative when ampli-
5V/DIV
A
Figure 1
5V
5V
V+
1k
IC1
LTC1150
_
CLOCK
OUT
V
0.2V/DIV
B
10 F
+
Q1
2N3904
BAT85
39k
+
10 F
100k
5 mSEC/DIV
Figure 2
www.edn.com
design
ideas
15V
VHYS, where V is the voltage on the comparators positive input, V is the voltage
on the negative input, VNOISE is the noise
riding on the signal, and VHYS is the hysteresis accruing from the positive feedback to the positive input.
C1, R4, R5, and R6 form the highpass filter, whose cutoff frequency is fC
1/[2C1(R4R5)||R6]. The cutoff frequency should be lower than the lowest
frequency of the noise band. R1 and R2 establish the still-needed small amount of
hysteresis. R3 is a pullup resistor for the
open-collector output of the comparator.
The comparator circuit worked successfully in a system that processes the fluctuating current generated by an ionization chamber in a neutron-flux measurement system.
Is this the best Design Idea in this
issue? Select at www.edn.com.
www.edn.com
design
ideas
VOUT
REF01
15V
C1
0.1 F
VOUT
VIN
0.1 F
10k
10V
IC1
GND
D1
1N4148
I1=10V/R1
_15V
C2
0.1 F
R1
OP271
1
C4
6.8 pF
_ 2
R2
VIN
10k
IC2A
3
+
6 _
I1
Figure 1
IC2B
+
8
OP271
7
D2
1N4148
VOUT
C3
0.1 F
R4
5k
15V
This circuit exhibits a deadband for signals more positive than an arbitrary voltage, which R1 determines.
www.ednmag.com
design
ideas
RDRIVE
Figure 1
R1
DVDD
48
R6
AVDD
R2
13
R7
R4
REFERENCE
R3
ADC
DAC0
8052
CORE
DAC1
10
OP
AMP
1
16
17
48
AVDD
DVDD
5
R5
24
27
26
19
ADC831
32
OP
AMP
2
RDRIVE
13
13
14
15
8
33
PHASE
ACCUMULATOR
SINECOEFFICIENT
ROM
RDRIVE
R8
FREQUENCY
REGULATOR
R9
DAC
SERIAL
INTERFACE
19
HC49/4H
11
OP
AMP
3
12
ADM3202
7
C1
TO PC
16
AD9834
VDD
AGND
18
DGND
OSCILLATOR
www.ednmag.com
design
ideas
This spectral plot shows the fundamental, second harmonic, and third harmonic for a 3.857-MHz signal.
design
ideas
16-output crosspoint IC
48-input
eliminates the need for multiplexer amps
Mike Hess, Maxim Integrated Products, Sunnyvale, CA
rosspoint switches are ideal for
use in video-security systems, which
accept multiple camera inputs while
providing playback and multiple loopthrough to multiple monitors. To provide
video loop-through or monitor outputs,
these systems often require additional
multiplexer amplifiers that can drive
standard video loads. Thus, one or more
external multiplexer amps often follow a
crosspoint-matrix switch. As an alternative, you can employ a 3216 nonblocking crosspoint-matrix switch, whose 16
2-to-1 multiplexers eliminate the need
for extra multiplexer amps (Figure 1).
The internal 2-to-1 multiplexers appear
crosspoint-switch matrix, so the 16 additional video inputs can implement a single-chip, 48-input16-output crosspoint-switch matrix. The output buffers
feature programmable gain (AV1V/V
or 2V/V). The programmability allows
versatility in routing short video traces or
driving video-transmission lines. Operating from dual 3 to 5V supplies or a
single 5V supply, the device reduces power consumption by as much as 60% versus standard 5V-only ICs.
Is this the best Design Idea in this
issue? Select at www.edn.com.
MULTIPLEXER/QUAD
VIDEO PROCESSOR
Figure 1
16 BUFFERED
INPUTS
OSDFILL15
OSDFILL1 OSDFILL0
IN0
OUT0
75
C
IN1
MONITOR 0
OUT1
75
32-INPUT
16-OUTPUT
NONBLOCKING
MATRIX
SWITCH
32 BUFFERED
INPUTS
MONITOR 1
16 2-TO-1
MULTIPLEXERS
16 BUFFERED VIDEOLINE-DRIVING OUTPUTS
OUT15
RECORDER
75
C
IN31
SERIAL
INTERFACE
MAX4358
MICROPROCESSOR
CONTROL
OSDKEY15
OSDKEY1
OSDKEY0
ASYNCHRONOUS 162-TO-1
MULTIPLEXER CONTROL
16-output matrix switch without the need for external multiplexer amps.
Internal buffers allow this IC to implement a 48-input
www.ednmag.com
design
ideas
www.ednmag.com
design
ideas
source. Now, you can calculate the reflected power, PR, for an incident power, PIN, of
1000W using the following formula:
P R (P IN )10 (RL/10) (1000)10 (0.2/10)
955W.
So, when 1000W flows down the line,
955W returns to the input. The line input
power required is equal to the incident
power minus the reflected power, which is
1000955, or 45W. Because the line loss
and device-under-test loss are both 0.05
dB, half of the 45W loss is dissipated in the
coax, and half is dissipated in the device
under test. The measured antenna-tuner
loss is 40W, which makes the total circuit
loss 85W. You can determine the lines input impedance by calculating the line-input complex reflection coefficient () and
solving for the input impedance using
10(RL/20)10(0.2/20)0.9772, and
Z LINE ( + 1)
=
1
50(0.9772 + 1)
4.3 k .
10.9772
Z IN =
www.ednmag.com
design
ideas
1
2
3
4
5
IRQ1
RST
10
18
19
16
17
Figure 1
Figure 2
Figure 3
Figure 4
20
2
3
OSC1
OSC2/PTA6
VDD
PTB7
PTD7
PTB5
PTD6
PTB4
PTD5
PTD4
PTB3
PTB2
PTD3
PTB1
PTD2
PTB0
VCC
IRQ1
11
10
12
18
13
19
14
16
15
17
RST
Notes
16 pins=16 keys
With ADC, 16 keys=two pins
16 keys=eight pins (four inputs and four outputs)
16 keys=five pins (four more keys available)
microcontroller scans each input for a logic 1, and, if it finds it, a key press has occurred. If not, it turns the next line into
an output, sets it, and turns the other two
into inputs, and so on. In this way, you can
confirm each time a key press takes place.
R4, R5, and R6 are current-limiting resistors, and R1, R2, and R3 are simple pulldown resistors. The circuit uses three
LEDs for debugging.
Listing 1 shows the complete program. An MC68HC908JK3 tested the
software, but the routine is probably applicable to other microcontrollers. The
program has no debounce function; you
(continued on pg 120)
20
OSC1
OSC2/PTA6
VDD
PTB7
PTB6
Figure 1
No. of pins
No. of pins
N/8
NIN+NOUT
N
VSS
7
PTD7
PTB5
PTD6
PTB4
PTD5
PTB3
PTD4
PTB2
PTD3
PTB1
PTD2
PTB0
vcc
7
8
11
12
13
14
15
68HC908JK3
68HC908JK3
www.edn.com
No. of keys
N
N
NINXNOUT
N
VSS
PTB6
9
Figure 2
Using the microcontrollers internal ADC, you need only two I/O pins to control 16 keys.
March 6, 2003 | edn 117
design
ideas
Figure 3
1
2
3
4
5
IRQ1
RST
VSS
OSC1
OSC2/PTA6
PTB7
VDD
PTB6
9
10
18
19
16
17
20
PTB5
PTD7
PTD6
PTB4
PTD5
PTB3
PTD4
PTB2
PTD3
PTB1
PTD2
PTB0
6
7
8
11
12
13
14
15
68HC908JK3
Figure 4
27 pF
VCC
VCC
5V
20
0.1 F
LED
330
13
RST
IRQ1
PTB1
LED
4 MHz
2
VSS
3
OSC1
4
OSC2/PTA6
5
VDD
68HC908JK3
19
PTB4
PTB2
14
27 pF
Y1
10M
1N4148
VCC
R4
100
16
R5
100
17
R6
100
15
1N4148
1N4148
PTB2
KEY
13
VCC
LED
KEY
32
PTB3
330
PTB0
KEY
23
1N4148
1N4148
KEY
31
1N4148
330
0.1 F
R1
10k
R2
10k
R3
10k
KEY
12
KEY
21
With an expansion of this scheme, five I/O lines control 16 keys with room to add four more keys.
www.edn.com
design
ideas
(continued on pg 117)
Reference
1. Motorola application note AN1775,
www.motorola.com.
Is this the best Design Idea in this
issue? Select at www.edn.com.
LISTING 1PROGRAM TO READ SIX KEYS AND DISPLAY RESULTS ON SIX LEDs
www.edn.com
design
ideas
negative with respect to ground and forc- when both FETs Q1 and Q2 are off, furing diode D1 to conduct. The output volt- ther reducing losses. The feedback voltage goes negative to within a diode drop age appears at the output ground
through resistor R1, because the control
of the inductor voltage.
The duty cycle at which the control cir- circuit is referenced to the negative outcuit operates also differs from that of a put voltage. R2 typically sets the output
synchronous buck. Although the operat- voltage to the desired level, because it
ing duty cycle of a synchronous buck is does not change the feedback compensaDVOUT/VIN, the negative flyback oper- tion network, as changing R1 would. Deates at DVOUT/(VOUTVIN). For exam- sired changes to the input voltage, the
ple, if the desired output voltage is half output voltage, or both may necessitate
the input voltage, the synchronous buck an inductor-value change. The minimum
runs at 50% duty cycle, whereas the neg- inductor value is:
ative flyback runs at 33% duty cycle. The
comparisons between the simple negative
VOUT (VINMAX )2
.
flyback circuit of Figure 1 and the syn- L MIN =
2
2fMIN IOUTMIN VOUT + VINMAX
chronous-buck-controller negative flyback circuit in Figure 2 are straightforward. In Figure 2, FET Q2 mirrors the
Take note of certain limitations with
function of diode D1 in Figure 1 but with using the controller in this type of ima decrease in the forward drop that oc- plementation. Because the control circurs in the diode. This lower drop signif- cuit is referenced to the negative outicantly improves efficiency. Diode D3 put-voltage rail, the controller must
conducts during the small dead time, have an input-voltage rating greater
R1
100k
1
8 7 6 5
20k
220
pF
3.24k
D1
MBR0530
0.01
F
470 F
35V
12VIN
GND
4
Q1
IRF7811
3 2 1
0.01
F
1
SOFTSTART
INV
3
33 pF
182k
R2
11k
FB
4
5
6
1 F
7
8
10
0.1 F
LH
OUTU
IC1
TPS5103
20
1 F
19
OUTD
RT
OUTGND
GND
TRIP
REF
VCCSENSE
VCC
PWM/SKIP
VREF5
STBY
5VIN
FREQUENCY=250 kHz
47 H
3.3
LL 18
CT
COMP
Figure 2
2.2 F
35V
17
16
15
14
8 7 6 5
13
10 F
16V
12
10 F
16V
330 F +
16V
4
Q2
IRF7811
11
1 F
1 F
D2
MBR0530
D3
MBRS340
3 2 1
1
2
GND
12V
AT 1A
www.edn.com
design
ideas
www.edn.com
design
ideas
VIN
VIN(+)
VIN()
INSTRUMENTATION
AMPLIFIER
+
VOUT
VREF
REFERENCE
Figure 2
8
15V
VIN
1 nF
VOUT =
VIN/2
+
1
8 LT1167
6
_
5
4
3
_15V
VIN
10 nF
+IN
3
_IN
CH
OUT
1k
Practical implementations of the circuit in Figure 1 use the LT1167 (a) and the LTC2053 (b).
VOUT =
VIN/2
7
REF RG VS_ EN
5
(b)
VS+
+
CS
2
2k
(a)
LTC2053
design
ideas
2
to accurately analyze the device. Design
+
1
+
and test engineers are well-aware that this
1
15V
goal is sometimes unattainable, because
RTRACE
the impedance across the traces delivering
A
B
C
the signal to the load alters the original sig3
THS45XX
nal. Traditionally, engineers use a Kelvin
LOAD
1
4
+
DEVICE
connection to measure the accurate volt6
6
UNDER
+
age that the load or the device under test
TEST
VOCM
3
sees at its terminals. The Kelvin-connecRTRACE
tion method enables you to accurately
measure the voltage at the load terminal,
15V
but it may not correct for the voltage drop
1
or the phase shift that occurs dynamical+
3
ly across the signal lines with various im2
2
RLC (transmission-line effects) of the
+
traces come into play and cause a signifi1
3
2
cant signal phase shift. As a result, design+
1
ers always look for the least expensive
methods to correct the voltage drop and
the phase shift across the transmission
lines. The circuit in Figure 1 is a fully dif- This fully differential circuit compensates for voltage drop and phase shift in transmission lines.
ferential line driver comprising a fully differential amplifier and two high-frequenThe resistance associated with each voltage drop across RTRACE. This voltage
cy, high-impedance feedback paths.
trace causes a voltage drop through the then adds to the input of the line driver
path. Thus, the signal amplitude delivered at the summing Node A. Because the cirto the load is lower than the signal am- cuit is symmetrical, the same function ocCorrect voltage drop and phase shift
plitude at the output of the fully differ- curs at the opposite corresponding points.
in transmission lines....................................105
ential line driver. This voltage drop is pro- As a result, regardless of the value of the
Why limit your power supplys
portional to the resistance value of the total voltage drop across RTRACE, the subinput range?..................................................106
trace, RTRACE, and the current flow
Virtual-zener circuit simplifies
through the corresponding trace. For exhigh-voltage interface ................................108
10
1 nH
1 nH
B
C
ample, if the output current of the line
Multilayer capacitor doubles
driver is 100 mA and the trace resistance
10 nF
as varactor ....................................................110
is 10, a 1V drop develops across
F
i
g
u
r
e
2
Buck regulator and two inductors
RTRACE. As a result, if the output ammake dual-polarity converter....................112
plitude is 10V p-p, the load sees a 9V p-p
signal. The feedback paths, which work as This circuit represents a simulated transmisPublish your Design Idea in EDN. See the
Whats Up section at www.edn.com.
subtracters, accurately measure this volt- sion line inserted between points A and B of
age drop. The feedback paths measure the the circuit in Figure 1.
www.edn.com
design
ideas
300
NODE B
width than the line driver
WITH FEEDBACK
200
(two times greater, for exNODE B
NODE C
WITHOUT
ample). Doing so enables
WITHOUT
FEEDBACK
PHASE
this circuit to correct the
FEEDBACK
SHIFT() 100
phase shift across the
NODE C
transmission line if the
WITH
0
traces manifest RCL charFEEDBACK
acteristics.
Figure 3
For exam100
1 GHz
1 Hz
1 kHz
1 MHz
ple, assume that you insert
FREQUENCY
a transmission-line model between nodes B and C The phase-shift curves at Node B before the transmission line
in the circuit of Figure 1, as and at Node C after the transmission line show the effect of the
in Figure 2. The bandwidth feedback path in correcting the phase shift at the end of the
of the fully differential am- transmission line.
plifier is 300 MHz at unity
gain, and the input signal is 2V p-p. The to using a single-ended line driver with
bandwidth of the feedback paths is 600 the same power supplies and similar specMHz to prevent any added phase shift to ifications. However, the nature of fully difthe signal from the feedback circuit. Con- ferential configurations requires that you
figuring the test circuit as such lets you see pay close attention to maintaining the
the phase shift that the transmission line balance of passive and active components
alone introduces. The transmission line to preserve the signal integrity delivered
causes a significant phase shift in the sig- to the load. Therefore, you should set
nal delivered to the load. Figure 3 shows equal resistor values on the top and the
the phase-shift curves at Node B before bottom feedback paths. This design can
the transmission line and at Node C after correct for voltage drop and phase shifts
the transmission line, right above the across the transmission lines in low- and
load. These curves show the effect of the high-frequency cases. Design simplicity
feedback path in correcting the phase shift and the fact that the design uses few comat the end of the transmission line where ponents make it cost-effective for many
the load is located. This circuit configu- applications dealing with voltage-correcration essentially corrects the phase shift tion and phase-shift issues.
of the signal that the RCL of the transmission line causes. The fully differential
line driver enables you to deliver twice the Is this the best Design Idea in this
voltage swing across the load as opposed issue? Select at www.edn.com.
design
ideas
WHITE
DUAL LITHIUM-ION
BATTERY
6 TO 8.4V
WHITE
WHITE
WHITE
2.2 H
4.7 F
BREAK
THIS
CONNECTION
SYSTEM 3.3V
0.1 F
13.7
IC1
TPS61042QFN
1
8
LED
SW
2
7
RES
OVP
3
6
VIN
GND
4 FB
CTRL 5
ZHCS400
PWP
9
Figure 1
This circuit provides a way to get around a power-supply ICs input-voltage limitations.
1 F
www.edn.com
design
ideas
TP1
VIN
R4
100k
332k
C1
1F
250V
D1
1N5240B
IN
OUT
C1 P-P
1.000V
0.047 F
R1
332k
25V
6.8 F
35V
+
7
3
IC1
2 THS3001
_
6 2.74k
IC2
LT1021-5
7
3 HEAT
TEMP
5
TRIM GND
4
4 8
R2
2.74k
6.8 F
35V
_5V
C2
0.047 F
0.047 F
6.8 F
35V
R3
150k
CH1 200 mV
RLOAD
Figure 2
This virtual-zener circuit provides a regulated, floating voltage between the input and output.
BW
CH2 200 mV
BW
_20 mV
VOUT
have a similar protective effect on the inverting input, limiting any transient current in C2. R3 is necessary to ensure feedback stability of the op amp. The
inclusion of this resistor is standard operating procedure for a current-feedback
op amp, such as the THS3001. If you use
a voltage-feedback type, you could possi-
Figure 3
The transient response of the circuit in Figure 2
is exceedingly fast.
J2
fOUT
www.edn.com
design
ideas
voltage on the frequency of a simple oscillator. The net result is a low-frequency VCO with a relatively large voltagegain figure, which depends largely on the
type of capacitor you use.
The circuit is a simple oscillator using
a Schmitt-trigger inverter. The frequency is a function of R1, C1, and C2. C2 is the
200
150
4.7 F
fOUT
(Hz) 100
10 F
50
0
0
10
15
VBIAS (V)
Figure 2
The frequency of the oscillator in Figure 1
F Z5U
exhibits almost a 4-to-1 shift for a 4.7-
multilayer capacitor.
www.edn.com
design
ideas
83
edn030109di3144
Heather
www.edn.com
design
ideas
500
edn03010
Hea
www.edn.com
design
ideas
Temperature-measurement scheme
uses IR sensor and sigma-delta ADC
Albert OGrady and Mary McCarthy, Analog Devices, Limerick, Ireland
any noncontact temperatureEXCITATION VOLTAGE5V
measurement systems use infrared
sensors, such as thermopiles,
REF192/
which can detect small amounts of heat
AD780
AVDD
DVDD
radiation. Biomedical therF
i
g
u
r
e
1
mometers that measure the
REFIN2
CONTROLLER
temperature of an ear or a temple use
REFIN1 ()
DATA OUT
DIN
noncontact temperature measurement,
as do automotive-HVAC systems that adDATA IN
REFIN1 ()
DOUT
just temperature zones based on the
SCLK
body temperature of passengers. HouseSERIAL CLOCK
MLX90247
hold appliances and industrial processes
AD7719
OUTIR
AIN1
can also benefit from the use of nonconVSS
tact temperature measurement. Infrared
thermometers can measure objects that
OUTIR
AIN2
move, rotate, or vibrate, measuring tem26k
perature levels at which contact probes
AIN5
RSENSE
either would not work or would have a
15k
AIN6
shortened operating life. Infrared measAGND
DGND
urements do not damage or contaminate
the surface of the item being measured.
Thermal conductivity of the object being
measured presents no problem, as would
be the case with a contact temperaturemeasurement device. The circuit in Fig- Using an infrared sensor and a sigma-delta ADC, you can make noncontact temperature measureure 1 provides a design for a high-reso- ments.
lution digital thermometer that uses a
thermopile sensor and a sigma-delta ADC. The design provides high resolu- cision signal-conditioning components
tion and response times of approximate- preceding the ADC. The MLX90247D
ly 1 msec, and it eliminates the need for sensor comprises a thin, micromachined
Temperature-measurement scheme
high-performance, low-noise signal con- membrane embedded with semiconducuses IR sensor and sigma-delta ADC........65
ditioning before the ADC.
tor thermocouple junctions. The SeeThe high-accuracy, noncontact digital beck-coefficient thermocouples generate
Automotive link uses single wire ................66
temperature measurement system uses a dc voltage in response to the temperaNovel idea implements
the MLX90247D thermopile from ture differential generated between the
low-cost keyboard..........................................69
Melexis (www.melexis.com) and the hot and the cold junctions. The low therGet more power with
AD7719 high-resolution, sigma-delta mal conductivity of the membrane ala boosted triode ............................................72
ADC from Analog Devices (www.ana- lows absorbed heat to cause a higher temlog.com). The AD7719 provides differ- perature increase at the center of the
Anticipating timer switches
ential inputs and a programmable-gain membrane than at the edge, thus creatbefore you push the button ........................74
amplifier; thus, you can connect it di- ing a temperature difference that is conPublish your Design Idea in EDN. See the
rectly to the sensor, allowing the temper- verted to an electric potential by the therWhats Up section at www.edn.com.
ature-measurement system to provide moelectric effect in the thermopile
high accuracy without the need for pre- junctions. The MLX90247D also con-
www.edn.com
design
ideas
cy, low-noise external-signal conditioning. The AD7719 simultaneously converts both the thermopile and the thermistor sensor outputs. The main channel
with its programmable-gain amplifier
monitors the thermopile, and the auxiliary channel monitors the thermistor.
You can use on-chip chopping and calibration schemes in optimizing the design. The AD7719 features a flexible serial interface for accessing the digital data
and allows direct interface to all controllers.
The sensitivity of the thermopile is 42
V/K; thus, it produces an output voltage
of 9.78 to 15 mV over the industrial temperature range of 40 to 85C, an output that the AD7719 can directly measure. The thermistors impedance ranges
www.edn.com
design
ideas
trollers supply, not only relieves the burden on the low-voltage regulator, but also
ensures that LED1 receives proper bias,
even with a very low value for VS. Thus,
provided that R3, R4, and R6 have appropriate values, the circuit functions with
VS as low as 3V or even lower. A further
advantage is that you can replace LED1
with several LEDs connected in series.
With VB12V, the current source has adequate compliance to drive four or five
LEDs.
R2 is a nonessential component, but it
reduces the power consumption in Q1. D1
provides positive overvoltage protection
for the current source, and voltage-suppressor D2 can protect against the harmful transients that systems often en-
www.edn.com
design
ideas
VC = VOUT*
Figure 2
Figure 3
VTH
TIME
I/O OUTPUT
These waveforms at the I/O pin and table show the returned
value (duration) with different combinations.
8200
www.edn.com
design
ideas
400V
400V
400V
Figure 1
6L6
6L6
1 F
6L6
1 F
1 F
100V
47k
_
47k
250V
_
14V
(a)
47k
_
32V
(b)
44V
(c)
A pentode (a) can deliver much more power than a triode (b), unless you use a boosted-triode configuration (c).
www.edn.com
design
ideas
120V AC
Amplifier
Pentode
Triode
Boosted triode
DC plate
current (mA)
75
75
75
Grid bias
(V)
14
32
44
plate cannot draw 150 mA at a plate voltage lower than 200V. This fact greatly
limits amplifier efficiency and power output. However, in spite of the limited output power, some people still prefer triode
mode because they claim it produces a
superior-sounding amplifier.
1.5k
25W
1N4007
120V AC
330 F
160V
2SC4953
100V DC
1N5378B
Figure 4
A 100V screen-grid power supply transforms a normal triode into a boosted triode.
TRIAD N-48X
120V AC
1N4007
120V AC
22O F +
250V
1.5k
20W
100V DC
40 mA
(PD=3W)
Figure 5
With a boosted triode, the plate can draw 150 mA with a plate voltage of 100V, versus 200V
for a pure triode.
Grid swing
(V)
22
64
88
Output power
(W)
11
6
10
For the boosted-triode circuit in Figure 1c, you simply add a 100V screen-toplate power supply (Figure 4) to the standard triode-amplifier circuit. This addition shifts the triode characteristic
curves 100V to the left (Figure 5). Note
the load line and that the plate can now
draw 150 mA at a plate voltage of only
100V, rather than 200V as with the puretriode-mode circuit. You can obtain significantly higher power with boosted-triode amplification and still maintain the
characteristics of triode amplification. In
Spice simulations of three single-ended
Class A audio amplifiers using MicroCap-7 evaluation software (www.spec
trum-soft.com), the control-grid bias for
a quiescent plate current is 75 mA, and
the ac grid signal is just short of amplifier clipping. The transformer ratios provide a plate-load impedance of 5 k for
the pentode and 3 k for both the triode
and the boosted triode. Table 1 details the
parameters.
Is this the best Design Idea in this
issue? Select at www.edn.com.
design
ideas
VCC
rive the following expressions:
R2
VOV(R2R1)/R1, and VO
100
VR3IC, where VO is the op
V0
R1
amps output voltage, V is the
100k
voltage at the noninverting inR5
R4
2.2k
2.2k
put, and IC is the current
IC1
741
through R3. IC is also the current
+
GND
VCC
that charges C2.
R3
F
i
g
u
r
e
1
Combining the cited
1M
V
TRIG
DISCH
expressions, you can compute
IC2
555
IC
the value of resistor R that the
VOUT
OUT
THRESH
op-amp circuit replaces: R
V/ICR3R1/R2. The timing
RESET
CTRL
interval of this timer is thus
S1
C3
C2
C1
T1.1C2R3R1/R2. Using ap10 nF
1 F
0.1 F/
100 F
propriate values, you can ob0V
tain long time delays that you
cant attain with the basic 555 This innovative timer turns on approximately 18 minutes before you press switch S1.
circuit. But the real innovation
inherent in this circuit is that its output er supply, adjusting R1 contributes min- shown in Figure 1, the interval T is apturns on at a defined time, T, before you imal EMI and other insidious effects to proximately 18 minutes.
press S1. To adjust interval T, use a po- the op amps input. C1 is a power-suptentiometer for R1. Because the wiper of ply bypass capacitor, and C3 stabilizes the Is this the best Design Idea in this
the potentiometer connects to the pow- 555s control voltage. With the values issue? Select at www.edn.com.
www.edn.com
design
ideas
www.edn.com
design
ideas
R3
> VCCVCC e R1C1 .
R2 + R3
Solving for t, you obtain
VCC
R2
t <R1C1 ln
.
R 2 + R 3
From the last equation, you can calculate the amount of time the processor stays
in reset. Therefore, as long as the supply
ramps to a steady state in a shorter time,
youre guaranteed a reliable reset. The reverse-biased diode and resistor R4 provide
a faster discharge path for the capacitor.
This fast discharge allows the circuit to
quickly react to negative glitches in the
supply voltage during normal operation,
in which it may be desirable to reset the
processor. R4 allows you to tune the response time of the circuit for any expected supply-voltage glitches. Removal of the
resistor yields the fastest response time to
supply-voltage glitches but may result in
undesired resets for the processor. The
VOUTVL
VL
.
R 3
R1 + R 2
VNVX VOUTVN
=
.
R1
R2 + R3
(1)
(2)
R1
VL .
R1 + R 2
(3)
IL =
(R 2 + R 3 )/ R1 VREF D
.
R 3
2N
(5)
design
ideas
15V
15V
5V
RF
VIN
VDD
IO
IC1 VOUT
ADR01
VREF
10V
IC2
AD5544
VREF
IO
_
IC3
AD8512
V+
VX
R1
150k
R2
15k
VN
R3
50
C1
10 pF
GND
GND
_
15V
_
IC4
AD8512
DIGITAL INPUT
Figure 1
CODE 20 TO 100% FULL SCALE
VOUT
+
R1
150k
R3
50
R2
15k
VL
VP
RL
500
IL
4 TO 20 mA
An improved Howland current pump forms the heart of this precision 4- to 20-mA transmitter.
the open-loop response at a slope (rate of requirements. Note that optimum comclosure) equal to or greater than 40 dB pensation attempts to balance the fact
per decade and the open-loop gain at the that a small C1 cannot compensate for all
intersection exceeds unity, then the cir- possible causes of oscillation, whereas
cuit is likely to be unstable. The circuit large values of C1 could adversely affect
may ring, show gain peaking, or condi- the settling time of any DAC. Consider
tionally oscillate after a step function in the following design objectives: 16-bit
programmability, four channels, small
the DAC adjustment.
form factor, a maximum ground-referred
An
effective
approach
to
the
stability
(6)
V(t)
R1R 3 (R1 + R 2 )
=
. problem is to insert a pole into the noise- load of 500 with 10V compliance, 90%
Z OUT =
I(t) R1 (R 2 + R 3 )R1(R 2 + R 3 ) gain transfer function by adding a com- minimum efficiency, and 50-mW maxiEquation 6 shows that, if the resistors pensation capacitor, C1. This capacitor mum dissipation from each resistor.
are perfectly matched, ZOUT is infinite. In- creates a pole to keep the rate of closure
Given the requirements of small form
finite output impedance is a desirable at 20 dB per decade. Optimum compen- factor and high precision, the design in
characteristic of a current source because sation occurs when R1CPARASITIC R2C1. Figure 1 uses IC2, the a 16-bit currentthe resistance of the load does not affect Because CPARASITIC is unknown, you output AD5544 DAC, with an external op
the current flowing in the load. On the should determine C1 empirically to ob- amp instead of a voltage-output DAC.
other hand, if the resistors are not tain optimum results. In general, C1 in You face some important trade-offs in
matched, ZOUT can be either positive or the range of some tenths of a picofarad to deciding whether to use a current-output
negative. Negative ZOUT causes instabili- a few picofarads satisfies compensation or a voltage-output DAC. Current-outty because of the existence of
put devices typically cost less
5
a right-half-plane pole in the
than voltage-output DACs.
RL=500.
s-plane domain. Any amount
The design must convert the
IL=0 TO 20 mA.
4
of parasitic capacitance
current to a voltage to run the
from poor pc-board layout,
current pump, and the exter3
op-amp differential capacinal op amp determines the acINTEGRAL
tance, or bothat the invertcuracy of this conversion.
NONLINEARITY 2
(LSBs)
ing node of IC4 could cause
Thus, you have control of the
1
instability or worse. These
amount of accuracy as your
parasitics, along with
application requires. Voltage25C
Figure 2
0
70C
R1, introduce a zero
output DACs generally cost
into the noise-gain transfer
more than current-output de1
0 8192 16,384 24,576 32,768 40,960 49,152 57,344 65,536
function, resulting in a slope
vices because the current-toCODE (DECIMAL)
of 20 dB per decade. If the
voltage conversion takes place
noise-gain transfer function Integral-nonlinearity errors from the circuit in Figure 1 dont exceed 4
in the package, entailing the
of the amplifier intersects with LSBs at 16-bit resolution.
inclusion of an op amp. Al-
www.edn.com
design
ideas
op amp to swing within 4V of the positive rail. The AD8512 dual op amp can
drive 20 mA into a 500 load using
15V supplies. However, IC4s outputvoltage swing is likely to limit resistive
loads to 500 in this application. This
design uses the 10V ADR01 reference because it is precise and compact.
To minimize the power in the resistors,
you start with R350. R3 is in the direct load-current path, and it carries just
slightly more current than the load, assuming R2R1RL. At the 20-mA
peak current, the power dissipation is just
above 20 mW. With the limited headroom between the supply and the compliance voltages, you should scale the ratio between R2 and R3 such that the
additional gain does not saturate IC4. As
a result, you should choose R2 to be 10
times smaller than R1. Using Equation 5
RS
0.2
0
VEE
(32VV+) TO 1V
RS=0.2, ROUT=500,
V+=3.3V, VEE= 5V.
_
2
5
8
V+
2.2 TO 5V
RS
RS+
1
LOAD
GND
V+
IC1
MAX4172
A/D
CONVERTER
+
_
OUT
SENSING 2
ERROR
(%)
3
4
5
0
ROUT
Figure 1
Connecting this positive-supply monitor allows it to monitor a negative current
and generate a positive output voltage for the ADC.
0.2
0.6
0.4
LOAD CURRENT (A)
0.8
Figure 2
The current-sensing error of the circuit in Figure 1 varies with
load current.
www.edn.com
design
ideas
IC4
20k
6
creasing the oscillator periAD843
IC2
CA3140
13
od, T. The triangle waves
+
+
16
3
CA3280
amplitude changes from
approximately 1 mV p-p to
15V
a maximum of 20V p-p as
VIN varies from 0 to 10V.
R
R5
6
R8
R9
With
the same VIN span, the
1.2M
1k
220
220
period increases from 20
sec to 200 msec. IC1 and
15V
Q1 form a linear voltageR7
R4
controlled current source
45.3k
1k
R13
that supplies bias current,
Figure 2
3
4.7k
+
R12
IABC, to the OTA. The curBUFFERED
1
6 _
IC3A
OUTPUT
rent
IABCVIN/RIN. You can
7
2 _
2.2k
IC3B
15V
LM393
increases from
15V see that I
ABC
+
5
LM393
0
to
0.5
mA
as VIN varies
15V
15V
from 0 to 10V. The OTA is a
switched-current generator, producing a bidirecThis VCO uses an OTA and a hysteretic comparator to deliver a reciprocal (1/x) response to the control voltage.
www.edn.com
design
ideas
4I ABC R 2C 4(VIN / R IN )R
R 2C
=
.
IINT
VSUPPLY / R 3
Potentiometer P1 sets the full-scale period for VIN10V, and P2 nulls the OTAs
input offset voltage to optimize the performance at small values of VIN. With the
component values shown, the circuit
www.edn.com
design
ideas
Figure 1
2
3
0.1 F
4
5
VIN
PGND
FC
GND
PG
FB
IC1
TPS6200X
EN
SYNC
ILIM
10
L1
10 H
9
BP1
BH2AAPC
8
C1
10 F
16V
100
OPEN175 mA.
SHORT350 mA.
6
2
10k
1 F
10 F
16V
2.7
2.7
design
ideas
rent setpoint. Efficiency is 80% or better over the normal battery-voltage range
but falls as battery voltage drops to endof-life values. Also, the figure shows the
impact of the resistive-current sensing.
At high input voltages, the efficiency approaches 95%, and, at low input voltages,
it falls to 80%. The trend for the curves
stems from two interrelated effects: At
high input voltage, input current and,
hence, switch current are low. Therefore,
conduction and switching losses are low.
Second, much like an autotransformer,
the boost power stage does not handle the
total output power. The amount of power that the power stage handles relates to
the boost voltage, or the difference be-
tween the input voltage and the LED voltage. In this design, the LED voltage is approximately 3.7V, so that at high line of
3.2V, the power stage handles only 13%
((3.73.2)/3.7) of the power. At low line,
in which the currents are much higher,
the power stage handles almost four
times as much, or 50%, of the power. Although a buck controller is not an obvious choice for this application, it provides
low-cost, low-input-voltage operation
and good efficiency over a wide inputvoltage variation.
Is this the best Design Idea in this
issue? Select at www.edn.com.
R3
10k
Q1
N2222
R2
1k
VIN
C1
GND
LMV431
C1
3.3 uF
3.3 F
C1+
R1
280
C2
VOUT
C2
3.3 uF
C2+
FUSE
INPUT 48V
LM2682
OUTPUT 10V
This simple circuit provides a 10V power source from 48V telecom power rails.
design
ideas
VIN
R1 0.02
2W
5VOUT
SHDWN
ICI
LTC3778EF
RUN/SS
BOOST
0.01 F
1k
Figure 1
4.75k
200
Vin
330k
VON
TG
PGOOD
SW
VRNG
SENSE+
ITH
SENSE
FCB
PGND
SGND
1 nF
12.1k
0.1 F
LT1460GCZ
IC4
VIN
VOUT
VIN
GND
1 F
0.1 F 12
13
0.1 F
LTC1639
+
14
IC
3D
FIL+
VS+
VBIAS
VOUT
FIL
VS
DNC
VEE
IC2
LT1787
470 F
6.3V
0.01 F
VBATT
OR1
1
0.005
1 F
12V
10k
PWR_
_GOOD
4.7 F
SYS
SV
P/S
10 F
25V
100k
5 + LTC1639
7
6 IC3B
LTC1639
10
+
8
9 IC3C
+ IC
LTC1639
1
3A
23.2k
100k
100k 100k
75 pF
1M
100
100k
3
13.7k
0.01 F
+180 F
20V
10 F
25V
L1
(4.8V)
7.2 F 8A 5V
OUT
B340
INTVCC
EXTVCC
Q1
Q2
DRVCC
38.3k
5VOUT
0.22 F
BG
ION
VFB
INTVCC
CIN1,2
CMDSH1
0.01 F
0.068 F
1M
24.9k
24.9k
1N4148
22 pF
1.1k
383
VBATT
51k
51k
8.2V
100k
_GOOD
PWR_
20k
2N3904
SHDWN
Q3
Q5
2N7002
Q6
2N7002
Q4
2N7002
NOTES:
Q1 AND Q2: SI488DY.
L1 SUMIDA CDEP1304 (H) - 7R2.
CIN1 AND CIN2: SANYO 20SP180M.
This bidirectional converter automatically recharges a battery when the 5V main supply is active.
www.edn.com
design
ideas
POWER GOOD
amplifier, IC2. An error ampliply to change the reference voltAC
fier, IC3B and IC3C, compares
age to the desired value when
5V
5V BUS
the current-sense signal with
the power-good signal is low.
a reference voltage from the
Q3 through Q6 prevent low-battery discharge by shutting
LT1460GCZ, IC4, and drives
LOAD
LOAD
the ITH pin of IC1. When the
down IC1 when the battery
LTC3778
ITH-pin voltage falls lower
voltage is low and the powerthan approximately 0.7V, the
good signal from the main supcircuit forces the average inply is inactive. You could imductor current to a negplement more sophisticated
Figure 2
ative value, causing recharging algorithms using a
verse power flow from the The battery charges when the 5V main supply is alive and provides
system microcontroller or anaoutput to the input of the 5V power when the main supply goes down.
log circuitry that sets the charge
LTC3778, thereby charging
current as a function of battery
the battery. The lower the voltage at the senses the output-voltage drop to 4.8V voltage. You can implement float chargand drives the ITH pin to maintain the ing by reducing the charge current to apITH pin, the higher the charge current.
At the beginning of the charge cycle, output voltage at 4.8V. The recharging proximately 100 mA when the battery is
a constant current charges the battery. resumes when the systems 5V power re- nearly fully charged. A gradually tapering
When the battery voltage reaches 13.8V, turns and the 5V bus goes higher than charge current can mimic constant-voltIC3D pulls the FCB pin of IC1 high, there- 4.8V. In this scheme, the main supply age charging as a alternative to pulse
by not allowing Q2 to turn on. So, the voltage must be slightly higher than the charging. The circuit can use a three-cell
circuit inhibits boost mode regardless of backup-supply voltage for proper (in series) lithium-ion battery if you set
the level at the ITH pin. The interrup- switchover. Approximately 100 to 200 the maximum voltage to 12.6V.
tion in charging current causes the bat- mV should be adequate to prevent untery voltage to drop below 13.2V to necessary mode switching attributable
restart charging. This action results in to ripple.
pulse charging with the pulse frequenIf the lower voltage in the backup
cy gradually decreasing until the battery mode is objectionable, then you can use Is this the best Design Idea in this
fully charges. In the backup mode, IC3A a power-good signal from the main sup- issue? Select at www.edn.com.
www.edn.com
design
ideas
1
5
4
+
IC1B
MAX4477
1k
such a photon strikes
3 +
IC2A
MAX4477
PIN
4
this depletion region, a
MAX4477
DIODE
GAMMA
small amount of charge
RADIATION
develops. This charge is
100 pF
proportional to the
5V
TEST POINT 1
10k
photons ener5V
Figure 1
gy. Four ampli0.01 F 1k
100k
0.1 F
6
2
fiers following the PIN
4
7
1
5
+
IC2B
VOUT
photodiode amplify
3 +
IC3
0.1 F
MAX4477
5
and filter the resulting
MAX987
10k
signal. A final comparator distinguishes be0.1 F
tween the signal and
150k
the noise. Thus, the
comparators output
pulses high each time a When a single gamma photon with sufficient energy strikes the PIN photodiode in this circuit, the output of the comgamma photon with parator pulses high.
sufficient energy strikes
the photodiode. Small signal levels make in Figure 1 includes the QSE773 PIN tal capacitance at the op amps inverting
this design an interesting challenge. The photodiode from Fairchild (www.fair node. That capacitance includes the PINdesign requires very-low-noise circuitry childsemi.com). Though readily available photodiode capacitance; the op-amp inbecause the individual gamma photons and inexpensive, it is probably not the put capacitance; and the feedback capacgenerate a small amount of charge and optimal choice. Certain PIN diodes from itance, C1. Thus, to minimize circuit
because lowering the overall noise level Hamamatsu (www.hamamatsu.com) can noise, minimize the op amps input-voltallows the circuit to detect lower energy work nicely in this application. Choosing age noise. The op amp in this circuit,
gamma photons.You must pay special at- a detector with 25- to 50-pF capacitance IC1A, a MAX4477, well suits this design.
tention to the first stage, which is the with reverse bias applied provides a fair It has negligible input-current noise and
most noise-critical.
compromise between sensitivity and low input-voltage noise of 3.5 to 4.5
nV/Hz at the critical frequencies of 10
The most critical component is the noise.
PIN photodiode, whose selection often
Important considerations for the first- to 200 kHz. Its input capacitance is 10 pF.
R1 and R2 contribute equally to noise
involves conflicting considerations. De- stage op amp include input-voltage noise,
tector sensitivity (the number of photons input-current noise, and input capaci- because they are directly in the signal
detected for a given radiation field), for tance. Input-current noise is directly in path. Resistor-current noise is inversely
example, depends on the size of the de- the signal path, so the op amp should proportional to the square root of the repletion region, which in turn depends on keep that parameter to a minimum. sistance, so use as large a resistance value
the area of the diode and the reverse bias JFET- or CMOS-input op amps are a as the circuit can tolerate. Keep in mind,
applied to the diode. To maximize sensi- must. Also, if possible, the op amps input though, that leakage current from the
tivity, therefore, you should choose a capacitance should be smaller than that PIN diode and first-stage op amp place a
large-area detector with high reverse bias. of the PIN photodiode. If you use a high- practical limit on how large the resistance
Large-area detectors tend to have high ca- quality PIN photodiode and an op amp can be. The MAX4477s maximum leakpacitance, which increases the noise gain with low current noise and pay careful at- age current is only 150 pA, so R2 could
of the circuit. Similarly, a high bias volt- tention to design, the limiting factor for be much larger than the 10 M shown.
age means high leakage current. Leakage noise should be the first-stage op amps R1 can also be substantially larger when
current also generates noise. The circuit input-voltage noise multiplied by the to- the circuit operates with a high-quality
www.edn.com
design
ideas
STOP
M POS: 15.20 SEC CURSOR
PIN photodiode. C1 affects the
from Test Point 1, and the botcircuit gain, and smaller values
tom waveform represents the
TYPE
VOLTAGE
benefit both noise and gain. Use
comparators output. A possible
a capacitor with low temperature
improvement would be to reSOURCE
coefficient to avoid
place C1 with a digitally trimCH1
Figure 2
mable capacitor, such as the
gain changes with
MAX1474, which provides the
temperature. This capacitance
DELTA
216 mV
circuit with digitally programvalue also affects the requiremable gain. Similarly, replacing
ment for gain-bandwidth prodCURSOR 1
the mechanical potentiometer
uct in the op amp. Smaller ca216 mV
with a digital potentiometer,
pacitance values require a higher
CURSOR 2
such as the MAX5403 allows
gain-bandwidth product.
0V
digital adjustment of the comTo ensure that the circuit
parator threshold. Finally, drivmeasures gamma radiation and
CH1 100 mV CH2 5V
M 5 SEC
CH2 / 1.36V
ing the comparators noninnot light, cover the PIN photodi- These waveforms from the Figure 1 circuit show the signal at Test
verting input with a reference
ode with an opaque material. To Point 1 (top trace) when a gamma photon strikes the PIN photodiinstead of the 5V supply imblock radiated emission from ode, and the resulting comparator output (bottom trace).
proves the comparators threshpower lines, computer monitors,
and other extraneous sources, be sure to ton. (The more expensive photoelectric old stability.
shield the circuit with a grounded enclo- smoke detectors do not contain americisure. You can test the circuit by using an um.) A 60-keV gamma is close to the cirinexpensive smoke detector. The ionizing cuits noise floor but should be detectable.
types of smoke detectors use americium A graph shows the result of a typical gam- Is this the best Design Idea in this
241, which emits a 60-keV gamma pho- ma strike (Figure 2). The top waveform is issue? Select at www.edn.com.
www.edn.com
design
ideas
www.edn.com
design
ideas
VCC
R3
VCC
VCC
R1
R2
ROUT
V _
VOUT1
IC1
RRST
+
IC2
VOUT2
_
CRST
VREF
VH
VL
tA
tB
tC
t
NOTES:
IF t < tA, THEN RESET.
IF tBtA,>tMIN , THEN THE RESET DISAPPEARS.
tC: RESET INSTANT APPEARS.
Figure 1
A proper reset signal plays an important role in
microprocessor operation.
VCC
R3
R1
+
VBAT
R2
ROUT
VOUT
RREF
VREF
Figure 2
This comparator has built-in hysteresis to provide a reset signal when the supply voltage
falls outside the limit band.
R2 + R3
1 VH
=
1 .
R1 = R 2 L 1 .
output, because the comparators output
R 2R 3
R1 VREF
VREF
VL
VLVREF
R1(R 3 + R OUT )
= R2
1 .
R3 = R2
.
structure. The following approximate
R1 + R 3 + R OUT
VREF
VHYST
and exact equations are based on selecIn the approximate equations, you distion of VH and VL. (Remember that
VHYSTVHVL.)
regard ROUT, because its value is negligiVCC
R3
VCC
VCC
R1
ROUT
VCC
VOUT3
edn030306di31733
Heather
www.edn.com
design
ideas
VCC
3
VCC
ble compared with that of R3. But
VCC
Figure 7
the value of ROUT affects VL, because
R1
R4 5k TO 100k
+
ROUT and R3 are additive when the com+
IC
RESET
parator is in the high-impedance (off)
3
IC1
+
_
R2
MICROPROCESSOR
state. Choosing values for VHYST and VL
C1
_
100 F
and knowing VREF, you obtain the
VBAT
following approximations: R1R2
VBAT
VCC
(VL/VREF1), and R3R1(VREF/VHYST).
RRST
Now, you add a timing circuit to the hysRREF
+
R5 5k TO 100k
+
teretic comparator (Figure 3). When
IC2
RESET
IC
VOUT1 assumes a low level, VOUT2 switch4
+
_
CRST
GENERAL
_
es to a low level and discharges CRST.
C2
+
VREF
When VOUT1 switches high, comparator
100 F
IC2 switches to its high-impedance state,
and CRST begins to charge through RRST.
VOUT2 follows an exponential curve and The complete reset circuit can handle microprocessors and other circuitry.
arrives at a value, VRSTEND, which signals
the end of the reset signal (Figure 4). You other comparator, IC3 (Figure 5), you ob- and R3355 k. For timing the reset, you
use the capacitor-charging equation,
can modify the tRST by adjusting the val- tain the waveforms of Figure 6.
ues of CRST and RRST. Now, if you add anThe final reset circuit appears in Fig- VVCC(1et/RRST/CRST).
The final instant of reset occurs when
ure 7. The circuit has four comparators,
one voltage reference, seven resistors, and VVREF1.2V. Choose 5V for VCC. The
VOUT1
three capacitors. To determine the resis- equation then becomes tRRSTtor values, you can use the following CRSTln(1V/VCC). If you choose t1 sec
equations: R1R2(VL/VREF1), and and CRST10 F, then
VOUT2
t
R3R1(VREF/VHYST). An appropriate
t
R RST =
.
comparator IC is the quad LM239 (25
V
VREF
C RST 1
www.edn.com
design
ideas
fIN
2
1
3
R1
10k
R/C
ICIA C
74LS123
13
4
15
14
2
R3
10k
C1 5V
5100 pF
3
1,4
D IC2A Q
74LS74
C
R,S
Q1
R5
10k
1
5V
5V
10
9 D
11
R2
10k
Q 12
R/C
ICIB C
74LS123
7
6
12
R4
30k
C2 5V
5100 pF
5V
11
10,13
D IC2B Q
74LS74
C
R,S
IC3
74LS86
Q3
Q2
R6
10k
5V
Doubling the circuit in Figure 1 and using an exclusive-OR circuit results in a window discriminator.
VOUT
Q1
Q2
Q3
fRL
fRH
fIN
Figure 3
The output of the exclusive-OR circuit in Figure
2 is high only when the input frequency is
between defined limits.
shorter than tW, the next pulse arrives before the one-shot completes its cycle and
returns to its initial state. The one-shots
output is high, and the rising edge of the
input pulse sets the flip-flop high. A high
flip-flop output indicates that the inputpulse frequency, fIN, is higher than fR.
Doubling the circuit in Figure 1 implements frequency discrimination with a
window characteristic (Figure 2). Two
pairs of R and C values determine the
lower and upper reference frequencies.
design
ideas
VCC
Figure 2
I0
ISFET
SENSOR
REFERENCE
ELECTRODE
I1
R0
+
TL082A
_
E1
_
RX
TL084A
+
VC
+
I2
R0
VR2
TL084B
+
VR1
I0
E2
_
R
VSG
TL082B
_
VCC
_
TL084C
+
This novel floating current source represents an improved way to bias ISFET sensors.
0.1
1.5
0.5
_ 0.5
_ 0.1
ERROR
(A)
ERROR
(mV)
_ 0.2
_ 1.5
_ 2.5
_ 0.3
_ 3.5
_ 0.4
10
20
Figure 3
30
40
50
60
70
80
IDS (A)
90
100
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
VDS (V)
Figure 4
Only a few millivolts of error appear over the full range of VDS.
www.edn.com
design
ideas
www.edn.com
design
Edited by Bill Travis
ideas
www.edn.com
design
ideas
3.5
www.edn.com
design
ideas
LISTING 1ASSEMBLY CODE FOR SINE GENERATOR
1-kHz sine wave at its output. Using divider-chain logic or a processor, you can
then create a digitally adjustable sinewave source by adjusting the clock and
input frequencies and maintain a ratio of
100-to-1 between them. To prevent clipping at the positive and negative peaks,
attenuate the input signal and superim-
www.edn.com
design
ideas
IC5
LM2936-3V
IC1
LM7301
5
4
+
1
3 _
VOLTAGE
INPUT
0 TO 1.2V
1
1
R4
200
R2
75
0 TO
16 mA
IC4
LM37242.32V
2
3
3
RESET
IC2A
LMV358
C2
0.01 F
R1
1M
Q1
2SD601A
R9
26.7k
R5
100k
VIN
C1
0.01 F
R3
11
R6
100k
1
IC3
2 LM40511.225V
5
VCC
MR
GND
1,2
VLOOP
C4
0.01 F
R11
3.6k
R10
100k
7
IC2B
LMV358
Figure 2
3 V
1
REG +V
GND
R8
3.01k
R7
17.8k
C3
22 F
6
4- TO 20-mA
CURRENT LOOP
5
R12
3.6k
4 mA
VIN
VLOOP
ure 2 allows you to transmit current (4to 20-mA loop) with less than 1% total
error from 40 to 85C and over a 3.2
to 40V loop-voltage range. Many IC realizations of a current transmitter have
existed for years, but none operates at the
loop voltage of 3.2V. Also, these ICs are
becoming sensor-specific, whereas you
can modify and optimize the circuit in
Figure 2 for any sensor electronics or
loop-current variation (for example, a 1
to 5A loop) at low loop voltage. The total loop current is as follows: Loop current1.225V(R11/R10)/R3VIN /R2. The
circuit discussion starts with the realization of the fixed current source, IS. The
fixed 4-mA current all flows through R3.
The servo circuitry, including IC2 and IC3,
senses the 44-mV voltage drop across R3
and keeps it fixed. Note that the ground
current of all ICs also flows through R3;
thus, the 4-mA fixed-current setting includes ground-current errors. The dual
op amp, IC2 , is both an inverting gain
stage and an integrator stage. R10 and R11
set the inverting gain to 27.8V/V. The
noninverting-integrator components C1,
C2, R5, and R6 provide a comparison of the
44 mV across R3 (gained up to 1.225V)
to the shunt-reference voltage of IC3. The
output of IC2A adjusts the sum of the
current though R4 and any ground current from IC2, IC3, and IC4 to a value of
4 mA. IC4 acts as an analog power-on-reset circuit that holds off the start-up of
servo action until all the ICs have sufficient supply voltage. With the divider
design
ideas
can withstand more than 40V. This current-transmitter circuit is useful for both
low-loop-voltage designs, and its backward-compatible with higher loop-voltage implementations. Furthermore, IC5
has reverse-supply and surge protection.
Therefore, this circuit does not require an
additional diode within the loop, a common need with other ICs to prevent
accidental reverse-wiring damage. The
TO-252-package option simplifies the
thermal-design considerations. With a 1in.-sq-area pad for heat sinking, the
worst-case power dissipation calculation
would keep the junction temperature
within its rated 150C: TJ85C(20
mA)(40V)50C/W125C.
You could increase the VIN range of the
current-transmitter by scaling R2, as long
as you dont violate the common-mode
input range of IC1. IC1s VCM includes its
positive rail. So, to obtain a higher VCM,
you can increase the voltage option of
IC5. For example, use the LM2936-5V
and R2 equal to 312.5 for a 0 to 5V in-
R1
R2
put of IC2. The only signal path is
10k
10k
through R3 to buffer IC2, and the output VIN
1%
1%
of the buffer is a positive voltage. When
5V
the input voltage is negative, the positive
_
R
3
output voltage of IC1 forward-biases the
IC1
5%
diode, thus providing an ac short circuit
TLC072
+
D1
for R3 to ground. IC2 is within IC1s feed5V
back loop, so the output voltage is posiSD103CCT-NO
tive because of IC1s configuration as an
inverting op amp.
+
VOUT
IC2
This design uses a dual op amp to minTLC072
_
imize parts count. Two op amps in
Figure 1
a feedback loop tend to be unstable. Select an op amp that has sufficient
This inexpensive absolute-value circuit has high
phase margin to prevent oscillation when
bandwidth.
the input voltage is negative. The circuits
dynamic range is from the op amps in- high-frequency TLC072 op amp with a
put offset voltage to the maximum out- fast Schottky-barrier diode. You can use
put voltage. This dynamic range is from higher frequency op amps to obtain bet1 mV to 4.1V for the TLC072 with 5V ter bandwidth results, but you must take
power supplies. The excellent bandwidth care in the op-amp selection to avoid osperformance results from combining the cillation or reduced dynamic range.
www.edn.com
design
ideas
Microcontroller directs
supply sequencing and control
Joe DiBartolomeo, Texas Instruments, Dallas, TX
TO PIN 59
www.edn.com
design
ideas
design
ideas
VGATEVBE
,
IB
R5 =
VGATEVBE
IB /10
C2 =
TBLANK
,
2(R 4 + R 5 )
GATE DRIVE
ISENSE
R4
and
C2
Q2
R5
Figure 3
Transistor Q2 suppresses (blanks) leading-edge
spikes that could falsely trigger a PWM comparator.
After you add the leading-edge blanking circuit to the power module, it clamps
the leading-edge voltage spikes and allows
the converter to operate correctly. Figure
5 shows the current-sense waveform.
Leading-edge noise spikes on the currentsense signal can cause instabilities in peakcurrent-mode-control power-supply designs. Usually, you can resolve these issues
with an RC filter at the input of the peakcurrent-limit comparator. In some instances, the noise disturbance caused by
parasitic capacitance and gate-drive current can cause the PWM comparator to
trip falsely. In these instances, the supply
requires a leading-edge blanking circuit
similar to this one.
www.edn.com
design
ideas
design
ideas
s2 + s 0d1 + 02
,
s 2 + s 0d 0 + 0 2
where 01/2RC1C2 is the oscillation
frequency, d0C1/C22C2/C1, and
d12C2/C1. Using this function and
assuming the transfer coefficient of the
positive-feedback circuit to be
R2/(R2R3), you obtain the oscillation
condition in the form d1/d2
2C2/C1/(2C2/C1C1/C2). The os-
VIN 27V
C1
22 F
D1
SD103BWS
R1
100k
C4
0.1 F
C2
22 F
IC1
MIC2182
1
HSD 16
SS
2 PWM
VSW 15
3
COMP
BST 14
4 SGND
LSD 13
5 SYNC
PGND 12
6
VDD 11
EN/UVLO
10
7 FB
VIN
8
VOUT 9
CSH
C10
100 pF
C5
1 nF
Q1
SI4800DY
C3
0.1 F
Q2
SI4800DY
R2
40m
VOUT
20V AT 2.5A
D2
B140
R3
16.2k
C6
0.1 F
C7
47 F
R4
100
R5
10k
L1
10 H
C8
47 F
R6
1.05k
C9
4.7 F
Q3
1
Figure 1
MMBT3906
R7
91
5
3
IC2A +
MIC6211
_ 4
2
R8
100
R9
1k
You can generate 20V output using a standard, current-mode buck regulator.
www.edn.com
design
ideas
www.edn.com
design
ideas
VBATT
VBATT
Figure 1
D1
10k
D2
L1
Q2
D2
LED
SINGLE
CELL
1.5V
NOMINAL
IL
VBOOT
D3
R1
C1
10 F
C3
1 nF
5
2
C2
C1
10 F
4
IC1
3
SN74AUC1G14
OR NC7SP14
VBOOT
VAUX
Q1
R2
2.2k
C4
GND
(a)
TO PIN 5,
IC1
GND
(b)
This circuit produces dazzling intensity in a white LED from very low battery voltages (a). A modification allows even lower battery voltages (b).
www.edn.com
design
ideas
L (mH) C (pF)
1
2
470
1800
D1
Power-conversion
efficiency (%)
83
78
Reference
1.Nell, Susanne, Voltage-to-current
converter drives white LEDs, EDN, June
27, 2002, pg 84.
www.edn.com
design
ideas
400V
DC plate
current (mA)
75
75
75
Grid bias
(V)
14
32
44
true triode, and a boosted triode, respectively. The boosted-triode configuration allows pentodes to produce pentodelike power while operating in a
true-triode mode. To understand the operation of the boosted triode, its useful
to review some vacuum-tube theory. The
6L6 is a beam-power tube and has cathode, control-grid, screen-grid, suppressor-grid, and plate electrodes. The suppressor grid is actually a virtual
suppressor grid provided by two beamforming plates, but you can treat the 6L6
400V
Grid swing
(V)
22
64
88
Output power
(W)
11
6
10
400V
Figure 1
6L6
6L6
1 F
6L6
1 F
1 F
100V
47k
47k
250V
47k
14V
32V
(a)
44V
(c)
(b)
A pentode (a) can deliver much more power than a triode (b), unless you use a boosted-triode configuration (c).
250
0
2.5
5
7.5
10
12.5
15
17.5
20
22.5
25
LOAD
LINE
200
PLATE
CURRENT
(mA)
150
100
50
100
200
300
400
500
600
700
800
300
0
10
250
20
200
30
40
PLATE 150
CURRENT
(mA) 100
50
60
70
50
80
90
LOAD
LINE
0
50
0
Figure 2
100
200
300
400
500
600
700
800
Figure 3
design
ideas
1.24V loss across the current-sense resistor, a loss that represents approximately
7% loss in efficiency. Figure 1 shows an interesting LED-drive circuit.
You use the SP6682, a standard, regulated charge-pump circuit, in an unusual manner to control the external switch,
Q1. This IC incorporates an internal 500kHz oscillator, which would normally
drive charge-pump capacitors to double
the input voltage. The circuit in Figure 1
uses no charge-pump capacitors. Instead,
the oscillator output appears on Pin 7
and drives Q1 on and off. Q1, L1, D1, and
C1 function as a conventional boost regwww.edn.com
design
ideas
Figure 1
L1
4.7 H
D1
3
VIN
C2N
NO CONNECT
NO CONNECT
NO CONNECT
NO CONNECT
PWM IN
10
C1
1 F
Q1
Si1304
2
1
SP6682
ENABLE
VFB
8
5
R1
15
www.edn.com
design
ideas
voltage is as high as 110V. When you apply the input voltage, current flows
through resistor R2 and zener diode D2,
clamping the gate voltage of FET Q1 to
9.1V. C2 reaches a voltage of approximately 6V, which is equal to Q1s gate
voltage minus its typical turn-on threshold of 3V. FET Q1 now acts as a crude linear regulator and allows the control circuit to become active.
The source-switched driver of Q2, Q4,
and Q5 then comes into play to allow the
supply to come into regulation. The
TL5001s open-collector output switches
to a low state to turn on the main power
switch, Q3. With the gate of FET Q5 also
held at 9.1V and the output pin of the
TL5001 low, current flows through Q5s
J1
VIN
20 TO 110V DC
GND
1
2
R2
40.2k
0.5W
Q1
SI2320DS
Q2
MMBT3904
Figure 1
C4
R3
0.047 F 7.15k
L1
1 mH
VCC
DTC
OUT 1
Q5
SI2320DS
R4
402
IC1
FB TL5001AID
7 RT
R6
30.1k
Q3
IRFR6215
3
D1
BAS16
3 COMP
4
R5
44.2k
2
1
Q4
MMBT5401
C2
0.1 F
C3
470 pF
C1
0.1 F
200V
R1
1k
SCP
C5
0.01 F
GND
FREQUENCY200 kHz
C7
1 F
D2
9.1V
BZX84C9V1LT1
D3
C6
MURS120T3
100 F
16V
1
2
J2
12V, 0.2A
GND
R7
4.99k
R8
2.74k
C8
0.01 F
A buck converter uses switched-source gate drive to generate high output voltages.
www.edn.com
design
ideas
L1
sheet). But when the shutdown pin activates, the soft-start capacitor normally
connected to Pin 15 discharges, and the
converter starts again, resulting in hiccup
mode. Poor dynamic response ensues because of this circuit behavior. The prob-
T2
T1
R1
VIN
D1
SYNCHRONOUS
RECTIFIER
C3
C2
C1
VOUT
5V
Q2
V
D3
D2
V
R4
2.7k
Q1
Figure 1
LM358
+
C5
0.1
F
R6
100
3
14
UCC3580
IC1
R7
510k
R3
10k
C6
0.1 F
R5
10k
D5
R2
0.1
D4
12V
ZENER
C4
10 F
12
D6
8
D7
V
This circuit does not use the shutdown pin of the PWM IC; instead, it relies on the error amplifiers output to provide current limit.
www.edn.com
design
ideas
fixed 5V reference (Pin 14) of IC1; second, from the voltage generated by the T2
winding. This voltage decreases with output voltage, and voltage foldback occurs
at the noninverting input. The 50-mV
component from the fixed 5V reference
is necessary for start-up. As the current
limit starts, the output voltage starts to
decrease, and the noninverting-input
voltage also decreases, causing foldback.
With this circuit, if the current limit starts
at an output current of 10A, the output
short-circuit current is 2A. The output
recovers even with minimal current hysteresis. The positive voltage that the T2
winding generates decreases from 13V
just before current limit to 3V at short
circuit. This circuit does not influence the
transient response of the converter.
VCC
CLAMP
12k
200k
110k
Q1
2N2222A
IC1
TL431
Q2
2N2907A
D2
1N4148
R1
R2
11k
10
C1
100 F
100
VAUX
D1
1N4148
510
CLAMP
Q3
2N2222A
Figure 1
SS
600
(a)
C3
0.1 F
C2
1 F
D3
1N4148
600
BD677A
Q4
VCC
DZ
12V
1 F
TO SOFT-START
PIN OF THE PWM IC
(b)
You can incorporate hiccup circuitry (a) into your PWM-control scheme, using a typical shunt regulator (b) to regulate the supply voltage to the PWM chip.
www.edn.com
design
ideas
tor, C2. The discharge current of C2 causes Q3 and, hence, Q2 to turn on for a short
interval to charge the timing capacitor,
C1. The moment the voltage across C1
builds up, Q1 turns on and activates IC1
to overwrite the VCC voltage, which DZ
initially set to a voltagein this case,
7.02Vlow enough to turn off the PWM
controller (Figure 1b). With this action,
the controller becomes temporary disabled, and the shutdown latch resets.
After C2 completely discharges, Q3 and
Q2 switch off, and the charge stored in C1
continuously supplies the base drive
needed to hold Q1 on through R1. The
PWM controller then stays in sleep mode
for the fixed interval, tSLEEP, until the discharge current of C1 can no longer keep
Q1 on. You can estimate this sleep-time
interval (Figure 2) by using the following
equation:
t SLEEP
IIC1
R1 = VC1(0)VBEQ1 e
h FEQ1
www.edn.com
design
ideas
firmware-based functions, such as deassertion of SRAM chip enable, batteryand rail-health indication, and analogto-digital conversion. When you use this
technique, you must take care to ensure
that the entire design draws less current
than the forward-bias-current rating of
the protection diode. Also, the external
SRAM circuit must draw no more current than the microcontrollers output
can source. This stipulation remains true
whether the VCC rail or the battery provides power. It is also important to realize that, because the protection diodes are
sourcing the power, a slight voltage drop
exists on the microcontrollers uninterrupted-power-supply output. This voltage drop is equivalent to the one that the
microcontrollers manufacturer specifies.
You should consider this drop when you
select the battery, VCC rail, and externalSRAM voltage requirements.
www.edn.com
design
ideas
600
monitors VOUT, but the low-im- voltage, an excellent rating for a singlepedance ceramic coupling ca- feedback, dual-output converter. Figure
500
pacitor with an extremely high 3 shows typical efficiency curves for varrms current rating keeps VOUT2 ious values of the load current on VOUT2.
400
MAXIMUM VOUT2
well-regulated. As load
LOAD CURRENT 300
conditions change on
80
(mA)
both VOUT and VOUT2,
200
VOUT2s regulation be76
comes
slightly compro100
mised over different load
72
conditions. VOUT2 can be0
0
200 400
600 800 1000 1200
EFFICIENCY
come unregulated if the
(%)
Figure 2
VOUT LOAD CURRENT (mA)
68
load current on VOUT2 beVOUT2 LOAD CURRENT=400 mA
comes extremely small. A
The circuit delivers high maximum currents available from
VOUT2 LOAD CURRENT=300 mA
64
VOUT2 LOAD CURRENT=200 mA
preload of 5 mA on VOUT2
the two outputs in the circuit of Figure 1.
VOUT2 LOAD CURREN =100 mA
is necessary to maintain
60
switch current (the sum of the peak in- regulation if the load current falls
0
200
400
600
800
1000
ductor currents) is equal to 3A. Forcing below 5 mA. Zero load current on
VOUT LOAD CURRENT (mA)
the output current higher than the max- VOUT does not cause the conFigure 3
imum value can cause the output voltage verter to lose regulation.
on both lines to collapse and lose regula- Cross-regulation typically stays The circuit in Figure 1 has high conversion efficiency
tion. The single feedback signal directly within 1% of the typical output for various values of load current.
www.edn.com
design
ideas
AD9834
Figure 1
90
IOUT
PSELECT
AD9833
INTERFACE
SIGNALS
CONSTANT
PHASE
MSB
IOUT
VDD
0.1 F
10 F
0.1 F
DIGITAL
CONTROLLER
MCLK2_CNTRL
MCLK_CNTRL
CLK_N
SCLK
SDATA
FSYNC
4
6
5
CAP DVDD AVDD
0.1 F
MCLK2_CNTRL
MCLK_CNTRL
SCLK
SDATA
FSYNC
6
FSYNCB 8
VDD
CAP
VDD
VDD
SCLK
SDATA
COMP
SCLK
14
SDATA
13
FSYNC
15
0.1 F
11
VOUT
DVDD
5
CRYSTAL
OSCILLATOR
MCLK_CNTRL
10 nF
FSYNC
RESET
SLEEP
FS ADJUST
12
1 6.8k
IOUTB
AD9834
AD9833
0.1 F
SDATA
FSYNC
0.1 F
COMP 3
2
REFOUT
SCLK
10
10
9
MCLK
DGND AGND
4
9
IOUTB
20
IOUT
PSELECT
FSELECT
IOUT
19
VIN 17
200
200
DGND
SIGN BIT OUT
8
Figure 2
MCLK2_CNTRL
16
MCLK
DGND AGND
7
18
design
ideas
FWORD
design
ideas
with resistor RL for OR/NOR gate works as an asymmetriproper operation of the cal/symmetrical ECL converter. The
VDRIVE
MC10EP01
ECL
IC. You can optimize the lasers good thermal properties elimiINPUT
MC10EP89
RM
values of RM and RP for nate the need to provide a complicated
120
RL
each type and character- stabilization loop for the optical power.
50
150
RP
istic (individual emis- The entire circuit is dc-coupled and op300
300
VCSEL
sion parameters) of the erates with constant optical power am5V
VCSEL you select. Be- plitude for each binary code, and the circause of the dynamic re- cuit is insensitive to bit patterns. A
Figure 2
sistance of the laser, the slow-start circuit is unnecessary. BeThis universal VCSEL driver allows you optimize the circuit for
voltage drop across the cause of the operating speed, you must
any type of laser diode.
junction varies from ap- carefully design the pc board according
proximately 1.9 to 2.2V to high-frequency rules: Keep connec1.6V minimum to a 75 load (Figure 3). within the full current range. Therefore, tions as short as possible, use surfaceThe 120 resistor, RM, limits the am- you should consider this variation when mount components, and carefully perplitude of the pulse current, and RP de- you calculate RM and RP. In turning off form decoupling, for example. You must
termines the initial polarization current the optical power of the VCSEL, you ob- ground the metal case of the laser and
of the laser. For RP, the laser practi- serve some residual emission (tail) in the isolate it from the chip.
cally switches off during the low state of optical-pulse response
100
the driver. You must load the MC10EP89 (Figure 4). If the current
falls to zero (RP), the
RP
80
tail is shorter and small0
1300
er, but the optical-pow
60
1
er amplitude also deP
(ARBITRARY
creases.
VDRIVE (V)
UNITS)
2
The oscillogram rep40
resents the response of a
3
155-Mbps laser (Figure
20
4). VCSELs for 622 and
4
1250 Mbps are
1 nSEC/DIV
0
Figure 4
also available
Figure 3
1 nSEC/DIV
from Lasermate. The
The driver in Figure 1 switches 1.6V into 75
MC10EP89 needs symThese curves show the VCSELs response with RP open and
with less-than-1-nsec rise and fall times.
.
metrical drive; the input
RP1300
.
RG
C1
2 F
VIN
VOUT
R1
5.1k
7.5V
+
C2
100 F
R2
5.1k
TLCO7X
7.5V
VREF
R3
10k
R4
10k
VA
RF
10k
RG
10k
Figure 1
This circuit is a universal level shifter for ac signals; it accommodates any interface standard.
www.edn.com
design
ideas
design
ideas
220k
VCC
8
5V
GMR
SENSOR
GND V
4
FILTER
100 nF
V+ 5
1
3
7
+
2
8
1
100 nF
1M
VCC
VCC
50
10k
IC1
INA118
6
3 +
3.3k
8
J1
100 nF
VREF1
VREF2
100-kHz
FILTER
VCC
500k
SEN
IC1B
8
5
OPA2234
+
7
6
IN4148
4
REFERENCE VCC
VOLTAGE
VREF1
IC1A
OPA2234
1
1M
J2
SEN+
HALF-WAVE
RECTIFIER
AND FILTER
100
10 F
3k
J2
2
VREF2
VOUT
LM4040
2.5V
J3
1
2
VCC
VOUT2
COMPARATOR
1
3.3k
VCC
VREF1
1.3k
5 6 8
2 +
1k
VOUT
4 1
Figure 1
VCC
820
10k
2.5k
7
IC4
LM311
3
2
S1
1 ID
2 OD
T1 6
T2 4
MOC3041
J5
RELEASE
Q1
2N2905
1
10M
8.7k
RELEASE
SWITCH
J4
This circuit uses a GMR sensor to detect and disable dangerous differential line currents.
www.edn.com
design
ideas
Figure 3
Figure 4
References
1. Daugton, JM,Giant magnetoresistive in narrow stripes,
IEEE Transactions on Magnetics, 1992.
2. Smith, CH, and RW Schneider,Low magnetic field sensing
www.edn.com
design
ideas
RGAIN
odd-numbered pads on the other side
R
pick up equal noise that produces oppo
OUTPUT
site-phase outputs from op amps A and
PHONE LINE
C
+
CLIP
B. Op amp C then sums the signals and
R
PADS
A
rejects the noise. The desired difference
+
B
signal, however, appears in-phase at the
D
Figure 2
A multiple-pad approach produces cancellation of equal noise that the opposed pad pairs pick up.
design
ideas
SHIELD AND
POWER GROUND
OP-AMP
POWER
10M
SHIELD
3.3M
3.3M
IC1A
+
1 F
R
1 F
150k
IC2A
OP-AMP
+POWER
9V
R
0.0015 F
+
3.3M
B
IC1B
_
_
10M
INPUT FROM
MULTISEGMENT
PICKUP
C
IC2D
+
IC2C
10M
3.3M
10k
_
+
1 F
0.01 0.01
F
F
150k
220k
IC1C
3.3k
150 pF
R
150k
X
OUTPUT
Figure 3
+
3.3M
D
IC1D
_
IC2B
_
150k
NOTES:
IC1 AND IC2 ARE QUAD JFET OP AMPS.
CAPACITORS ARE 20% CERAMIC.
3.3M
10M
This amplifier, using the multiple-pad approach effectively reduces power-line-related noise pickup.
design
ideas
5V
SET
FREQUENCY
SET_FREQ_C
SET_FREQ_B
SET_FREQ_A
Y1
1
EN
VCC 8
GND OUT
4
DGND
IC1A
74HC393N
QA
1
CLK
QB
QC
2
CLR QD
3
4
5
6
DGND
IC1B
74HC393N
QA
13
CLK
QB
QC
12
CLR QD
Figure 1
11
10
9
8
/1
/2
/4
/8
/16
/32
/64
/128
11
10
9
8
11
10
9
4
3
2
1
15
14
13
12
7
A
B
C
D0
D1
D2
D3
D4
D5
D6
D7
G
IC3
74HC4017N
Y 5
14
13
W 6
15
CLK
CI
RST
DGND
Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
Q8
Q9
CO
GENERATOR
OUTPUT
3
4
5
6
DGND
DGND
/256
DGND
IC5A
74HC393N
QA
13
CLK
QB
QC
12
CLR QD
IC2
74HC151N
SET_DUTY_C
SET
SET_DUTY_B DUTY CYCLE
SET_DUTY_A
IC4
IC5B
74HC151N
74HC393N
11
A
QA
START OF 1
10
B
PULSE
CLK
QB
9
3
C
QC
4
2 10%
END OF
D0
3
4 20%
QD
PULSE 2
D1
Y 5
CLR
2
7 30%
D2
1
10 40%
D3
15
1 50%
W 6
D4
14
5 60%
D5
13
6 70%
D6
12 D7
9 80%
11
7
G
12
/512
/1024
/2048
/4096
OSCILLATOR
FREQUENCY
DIVIDE BY
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
10
20
40
80
160
320
640
1280
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
10
20
30
40
50
60
70
80
DGND
This circuit produces waveforms of variable frequency and duty cycle. Further, the frequency and duty cycle are independent of each other.
www.edn.com
design
ideas
Active-feedback IC serves as
current-sensing instrumentation amplifier
Jonathan Pearson, Analog Devices, Wilmington, MA
igh-speed current
must extend to high fresensing presents a dequencies. Figure 1 shows
AD8129/30
signer with some sighow high-speed active
A
+
+
nificant challenges. Most
feedback amplifiers, such
ISENSE
gm
RSENSE VSENSE
gm
rent produces as it flows
speed instrumentation
through a sense element,
amp applications. The
such as a resistor or a
AD8129 requires a miniFigure 1
Hall-effect device. The
mum closed-loop voltage
RF
differential voltage across
gain of 10 for stability,
the sense element is generwhereas the AD8130 is
RG
ally small and is often riding
unity-gain-stable.
on a common-mode voltage
Active-feedback amplithat is considerably larger
fier operation differs
than the differential voltage An active-feedback amplifier is ideal for current-sensing applications.
from that of traditional
itself. Accurate amplificaop amps; it provides a
tion of the differential voltage requires a fiers have these features and often serve beneficial separation between the sigdifferential amplifier with high input im- for low-frequency current sensing, but nal input and the feedback network.
pedance, high CMR (common-mode re- they perform poorly at high speeds. Figure 1 shows a high-level block diajection); wide input-common-mode High-speed current sensing requires the gram of an active-feedback amplifier in
voltage range; and high, well-defined kind of performance that instrumenta- a typical closed-loop configuration.
gain. Traditional instrumentation ampli- tion amps provide, but their abilities High-speed current sensing uses a resistor as the sense element. The input
stages are high-impedance, high-CMR,
NETWORK-ANALYZER Tx
wideband, high-gain transconductance
50
amplifiers with closely matched transAD8129
conductance parameters. The output
+
currents of the transconductance amgm
1
50
around amplifier B drives VOUT to a level that forces the input voltage of amFigure 2
plifier B to equal the negative value of
301
the input voltage at amplifier A, because the current from amplifier A
15.8
equals the negative value of the current
from amplifier B, and the gm values are
closely matched. From the foregoing
NETWORK-ANALYZER Rx
100-MHz, THREE-POLE BUTTERWORTH
discussion, you can express the closedLOWPASS FILTER
loop voltage gain for the ideal case as:
150 nH
VOUT/VIN1RF/RGAV.
33
pF
33
pF
50
Measurement sensitivity in volts per
amp is expressed as:VOUT/ISENSEAVRSENSE.
Minimizing the values of RF and RG also
minimizes resistor and output-voltage
noise arising from input-referred current
This test circuit produces flat frequency response to 10 MHz.
www.edn.com
design
ideas
noise. Because of the small sense resistance and high measurement frequencies,
you must minimize parasitic effects in the
input circuitry to avoid measurement errors. Parasitic trace inductance in series
with the sense element is of particular
concern, because it causes the impedance
across the amplifiers input to increase
with increasing frequency, producing a
spurious increase in output voltage at
high frequencies. Figure 2 illustrates a
test circuit with RSENSE1 and AV20,
which equates to a measurement sensitivity of 20V/A. The three-pole lowpass
filter produces a defined bandwidth and
attenuates spurious responses at the amplifiers output arising from input signals
at frequencies outside the desired measurement bandwidth. The test circuits frequency response in Figure 3 shows that
the expected differential-to-single-ended
gain of 20/101, or 14 dB, is flat to
Figure 3
approximately 10 MHz and is down
by 3 dB at 62 MHz. Figure 3 demonstrates the effectiveness of the high CMR
of active-feedback amplifiers. The common-mode signal at the amplifiers input
is approximately 50 times greater than The test circuit in Figure 2 exhibits accurate
the differential signal across the sense re- differential gain in the presence of large common-mode signals.
sistor.
www.edn.com
design
ideas
the primary-color LEDs must be physi- mon-anode or -cathode configuration both bicolor and tricolor LEDs.
cally close together, such as on a semi- and 50% duty cycle, the correction is
Using a sequenced bicolor LED to
conductor chip, for the eye to properly easy to effect by adjusting the current- generate three colors has packaging admix the light. Diffused lenses also allow limiting resistors. Alternatively, you can vantages, particularly when you vertia wider viewing angle. These combina- use one current-limiting resistor and cally stack several LEDs. Previously,
tions are commercially availstacked, tricolor LEDs needTABLE 1SECONDARY COLORS FROM RGB LEDs ed to use a through-hole asable as bicolor, tricolor, and
Red
Green
Blue
Emitted color
Notes
RGB LEDs.
sembly, because the middle
0
0
0
None
Figure 1 shows the various
lead would be inaccessible if
1
0
0
Red
LED-circuit configurations,
the devices were surface0
1
0
Green
and Figure 2 shows the timing
mounted. Because the bi0
0
1
Blue
to generate all three colors
color LED has only two
1
1
0
Yellow
Red/green sequenced
from bicolor and tricolor
pins, you can vertically stack
0
1
1
Cyan
Green/blue sequenced
LEDs, although using only one
several of them and bend
1
0
1
Magenta
Blue/red sequenced
LEDs operating current. Note
out the leads for surface
1
1
1
White
Red/green/blue sequenced
that the driver for the bicolor
mounting. The generation
LED must be able to sink and source cur- then vary the duty cycle to provide the of secondary colors can also extend to
rent. You may have to provide color bal- necessary color balance. For two-leaded, RGB LEDs (Table 1). You can achieve
ance between the primary-color LEDs to bicolor LEDs, it is easier to adjust the color balancing by adjusting the curensure that the secondary colors appear duty cycle to produce the correct sec- rent-limiting resistors or the duty cycle.
properly. The LEDs have different effi- ondary color than to use additional cir- You can program three pins from a miciencies and intensities as the human eye cuitry. The waveforms at the bottom of crocontrollers port to sequence through
sees them, and these parameters need Figure 2 illustrate duty-cycle control to the various primary-color combinacorrecting. For tricolor LEDs in a com- achieve secondary-color balance for tions.
www.edn.com
design
ideas
5V
5V
10k
1
VDD
GP5/CIN
GP4/COUT
GP3/MC
IC2
GP2
PIC12C508P
GP1
8
VSS
GP0
2
3
4
5
6
7
R1
nR
R
5V
5V
ADDITIONAL
PICs
10k
1
GP5/CIN
GP4/COUT
GP3/MC
IC3
GP2
PIC12C508P
GP1
8
GP0
VSS
VDD
6 _
2 _
2
3
4
5
6
7
IC1A
TL072P
3 +
0.1 F
DISABLE
220
VOUT
PINK NOISE
400 mV P-P
300
1k
5V
3.3k
nR
S1
4
3k
R2
IC1B
TL072P
5 +
6.8k
1 F 0.27 F
47 nF
47 nF
33 nF
1
NOISE
GENERATORS
Figure 1
www.edn.com
SUMMING AMPLIFIER
3-dB/OCTAVE FILTER
OUTPUT BUFFER
design
ideas
OFFSET ADJUST
R3
D2
D1
34.3k
SENSITIVITY
ADJUST
IS
65.4k
R1
6
4
OUTPUT
7474
3 +
LF 411
V0UT
VCC
15V
IC1
2k
2 _
IC2
LF411
R5
Q
3
CLK
10k
D4
R4
1k
RX
Figure 1
1 F
2 _
D3
FF
VCC
15V
R2
IN5287
VEE
15V
RS
(SENSOR)
Pt 100)
VEE
15V
5V
ZENER
www.edn.com
design
ideas
www.edn.com
design
ideas
1k
14
15
16
17
18
19
20
21
22
23
24
25
1
2
3
4
5
6
7
8
9
10
11
12
13
OC
1D
2D
3D
4D
5D
6D
7D
8D
GND
VCC
1Q
2Q
3Q
4Q
5Q
6Q
7Q
8Q
EN
74573
100k
IN1
D1
S1
V
GND
S4
D4
IN4
IN2
D2
S2
V
NC
S3
D3
IN3
2.2k
10k
DG308
C1
0.1 F
IN1
D1
S1
V
GND
S4
D4
IN4
IN2
D2
S2
V
NC
S3
D3
IN3
R2
100k
R3
100
C2
0.1 F
R5
1k
R1
4.7k
1/2
OPA2241
VIN
DG308
50
Figure 2
You must take the finite on-resistance value of
the analog switches into account in determining
the center frequency of the filter.
1/2
OPA2241
50
500
V+
V+
IN+ IOUT
Z+
V+
NC
ISET
Z
V
IN
NC
V
V
VOUT
500
MAX436
9.93-kHz bandpass filter for demonstration and testing. Increasing the number
of analog switches can provide a wider
range. Moreover, you could use additional switches for gain programmability. The 74573 latch provides the interface
to the PC. Table 1 shows the port/switch
settings for a few frequency and filtertype selections. Note that the analog
switches (DG308) have a finite operating
on-resistance of approximately about
110; you must take this resistance into
account when you calculate the center
frequency. For precision instrumentation, other switches are available with
operating on-resistances as low as 30 to
50. You can download Listing 1 from
the Web version of this Design Idea at
www.edn.com.
Figure 3
This user-friendly configuration screen allows you to determine filter type and
frequency.
Reference
1. Gupta, Saurav, and Tejinder Singh,
PC-based configurable filter uses no
digital potentiometers, EDN, Jan 23,
2003, pg 76.
www.edn.com
design
ideas
single-SOIC approach
15V
is the smallest
0.1 F
Figure 1
available for this
7 VS
function, and the circuits
4
10k
require no external components. Figure 1 shows
AD628
8 100k
10k
IN
an AD628 precision gain
VOUT
A1
+IN
5
A2
+IN
block connected to pro1 100k
IN
vide a voltage gain of 10.
10k
The gain block itself
VREF 3
RG 6
comprises two internal
VG 2
amplifiers: a gain-of-0.1
0.1 F
difference amplifier, A1,
VIN
followed by an uncom15V
mitted buffer amplifier, This circuit has a precise gain of 10 and uses no external
A2. You can configure it components.
to provide different gains
by strapping or grounding the appropri- nects between the VREF pin (Pin 3) and
ground, instead of to the op amps inputs.
ate pins.
For a gain of 10, the input signal con- With the input tied to the VREF pin, the
www.edn.com
design
ideas
10 100k
1 +
11
10k
10
11 = 10 VIN ,
11
providing a precise gain of 10 with no external components.
The companion circuit of Figure 2
provides a gain of 10. This time, the input connects between the inverting input
of A2 (Pin 6) and ground. Operation is
similar to that of Figure 1, but A2 now in= VIN
15V
www.edn.com
design
Edited by Bill Travis
ideas
1IN
75
nel. Low-end consumer prodThe multiplexer in Figure 1
7
V
5
+
REFERENCE
ucts use CMOS analog switchshows a three-position, single75
8
13
es and multiplexers, such as
pole rotary switch. This switch
the 4066 and 4051. Unfortucould be a break-beforeV
nately, these devices have a semakeor an electronic switch1.3k
1.3k
ries on-resistance that ranges
ing system, perhaps with an
from approximately 100 to 1
intelligent infrared interface.
2
14
SD
+
2IN
75
k, a resistance that is not
To test the quality of signals
16
15
constant with video level and
passed through the video
75
THS4227
that appears in series with the
multiplexer, this design uses
1.3k
signal. The traditional way of
the Lucasfilm THX (www.thx.
1.3k
solving this problem is by
com) test patterns on one
buffering the analog-switch
video input and a high-quali3
12
outputs with transistor stages.
ty NTSC program source on
SD
+
75
3IN
10
11
With this approach, the charanother input. When the con
75
THS4227
acteristics of the CMOS
trast/picture test goes through
Figure 1
1.3k
switch and the buffer
the video multiplexer as the
1.3k
stage degrade video performactive source, the presence of
ance. However, if you forget High-speed video op amps make ideal video multiplexers, devoid of video
the op amp as a buffer has no
the multiplexing action for a distortion or other artifacts.
effect on black and white levmoment and consider just the
els. No bleeding or blooming
buffer-amplifier function, you will see that nance shifts. Figure 1 shows a configura- occurs. Any crosstalk results in a visible
a better approach exists. It must present tion using high-speed op amps in a video- brightening of the center of the picture in
high enough input impedance to the multiplexing application.
the video-program source, but none ocswitch that a 1-k switch resistance is inHigh-speed op amps have plenty of curs. You set the brightness level with the
consequential and that variation in resist- bandwidth for video applications. By us- video multiplexer, not in the circuit. Then,
ance of the switch with IRE (Institute of ing an op amp that has 20 or more times you insert the video buffer into the signal
Radio Engineers) level produces no lumi- the video bandwidth, roll-off and phase path. Youll find that brightness level does
shift at 6 MHz are negligible. An op amp not change. The brightness setup test is
has high input impedance in the nonin- also an ideal way to test for crosstalk beVideo multiplexer uses
verting mode. You can terminate it for tween two video channels. Crosstalk
high-speed op amps ....................................87
75 input impedance by connecting a would show up on the black background
Single resistor tunes lowpass filter ............88
simple resistor. Two equal resistors create as a ghost image of the program mateSimple circuit provides
a gain of two in the noninverting config- rial on the inactive channel; however, none
precision ADC interface ................................88
uration. The gain compensates for a 75 occurs. No color shifts appear in the
back-termination resistor on the op amps SMPTE (Society of Motion Picture and
Buck regulator operates
output. The overall stage gain is therefore Television Engineers) bars with or withwithout a dedicated clock ............................90
one. Now, consider the multiplexing func- out the video multiplexer in the signal
LED driver combines
tion. Some video op amps have a power- chain. The color-bar patterns would also
high speed, precision ....................................94
down feature. This feature allows dis- produce color shifts in the other channel
abling the output of the op amp, if crosstalk were a factor. Human skin is
Filament transformer adjusts
producing a 0V (0 IRE) black level on its the toughest color to get right, and any
line voltage ......................................................96
output. Its output can therefore connect change in skin tone arising from color
Publish your Design Idea in EDN. See the
in parallel with the outputs of other op crosstalk is apparent. No flesh-tone color
Whats Up section at www.edn.com.
amps, because it contributes no lumi- shifts occur in the test.
CC
OUT
CC
www.edn.com
design
ideas
1
2
s s
+ Q + 1
P
P
R
C1
IC2
IC1
IN
OUT
C2
SW
www.edn.com
design
ideas
design
ideas
7V SERIES
REGULATOR
14 TO 75V
VCC
LM5007
VIN
SD
UNDERVOLTAGE
LOCKOUT
ON-TIMER
1 F
THERMAL
SHUTDOWN
0.1 F
START
200k
6
SD/
RON
RON COMPLETE
OVERVOLTAGE
COMPARATOR
SHUTDOWN
2.875V
Figure 2
RCL
4
RTN
DRIVER
0.01 F
100 F
LEVEL
SHIFT
SET
S
Q
R Q
CLR
FB
FB
RCL
VIN
COMPLETE
100k
BST 2
UNDER- SD
VOLTAGE
LOCKOUT
REGULATION
COMPARATOR
2.5V
START
300-nSECMINIMUM
OFF-TIMER
COMPLETE
START
CURRENT-LIMIT
OFF-TIMER
10V
SW 1
BUCKSWITCH
CURRENT
SENSE
3k
D1
1k
15 F
0.5A
In this buck regulator, the switching frequency remains constant over a wide range of input voltages.
www.edn.com
design
ideas
www.edn.com
design
ideas
Figure 1
the house was substantial. Depending on the time of day, the screen
would shrink to perhaps half the normal
display size. I checked the line voltage,
and it was down to just approximately
120V
INPUT
CENTER
TAP
12.6V CENTER-TAPPED
FILAMENT
TRANSFORMER
12.6 V
120+12.6V
OUTPUT
You can use a small, inexpensive filament transformer to buck or boost the ac-line voltage.
100V. I lacked the funds to buy a highwattage Variac to deal with the problem.
The solution: I had a couple of 12.6V
filament transformers, rated at 3 or 4A. I
simply connected one of these in my lab,
with the primary winding across the ac
line (Figure 1). Then, I connected the
secondary winding such that one side
connected to the ac line, and the other
side provided the new, boosted ac line.
Because the transformer had a center tap,
I could adjust the line voltage in 6.3V
steps. The beauty of this approach is that
the transformer handles only the incremental power from the slight boost in
voltage. And the technique uses less space
and is less expensive than using a Variac.
Note that, by changing the polarity of
the filament transformers output, you
can decrease rather than increase the ac
output. This fact could come in handy in
situations in which the line voltage is too
high, causing incandescent-lamp burnout. Reduction in lamp life is a function
of approximately the 13th power of the
overvoltage (Reference 1). For the long,
skinny, and expensive European incandescent lamps that some bathrooms use
as a vertical light source, the lamp-life reduction can be significant. You can buck,
or subtract, the line voltage to increase
the lamps life. Even at nominal line voltage, you can use the method to drop the
voltage to an expensive or particularly inaccessible incandescent lamp.
Reference
1. Fink, Donald and Christiansen,
Donald, Electronic Engineers Handbook,
1975, McGraw-Hill, pg 11-6.
www.edn.com
design
ideas
VCC
TO
INTO
IC1
ATTINY12
8
VCC
7
PB2
6
PB1
5
PB0
1
RST
2
PB3
3
PB4
4
GND
VCC
C1
0.1 F
SRDA
SRCL
R1
10k
BACKLIGHT CONTROL
SCK
DSD
VCC
IC2
1 2 74HC164 8
A B
CLK
9
CLR
QA QB QC QD QE QF QG QH
3 4 5 6 10 11 12 13
VCC
IC3
1 2 74HC164 8
A B
CLK
VCC
9
CLR
QA QB QC QD QE QF QG QH
3 4 5 6 10 11 12 13
IC4
1 2 74HC164 8
A B
CLK
9
CLR
QA QB QC QD QE QF QG QH
3 4 5 6 10 11 12 13
VCC
IC5
9
1 2 74HC164 8
A B
CLR
CLK
QA QB QC QD QE QF QG QH
3 4 5 6 10 11 12 13
Figure 1
A minuscule 8-bit microcontroller
lets you use a two-wire interface to
drive a seven-segment LCD.
www.edn.com
37 36 5 6 7 34 35 8
32 31 9 10 11 29 30 12
27 26 13 14 15 24 25 16
23 22 17 18 19 20 21 28
1G 1F 1E 1D 1C 1B 1A 1DP
2G 2F 2E 2D 2C 2B 2A 2DP
3G 3F 3E 3D 3C 3B 3A 3DP
4G 4F 4E 4D 4C 4B 4A COL
IC6
LCD40
CM2
CM1
40
1
design
ideas
Figure 1
C1
R1
PTC (resettable) fuse is often too
47 F
2.2k
slow to protect the transistor under the
short-circuit condition. Another possibility is to use a current source as the This circuit provides fail-safe protection of an open-collector output stage.
switching element. This approach is safe
and simple, but it produces heat during ground. If a short circuit exists on the the Schottky diode, D1, is forward-biased
the error condition. If the power rating output J1 or if the impedance of the load and thus discharges C1 and switches off
and the cooling of the transistor are in- is lower than specified, the voltage on the Q2. If the steering output from the conadequate, the transistor fails because of collector of Q1 rises because too little trol logic again switches to the high state,
thermal overload. The circuit in Figure base-current feed comes from the control Q2 stays in the switched-off condition
1 shows another simple approach to the logic (via R4) to saturate Q1. If the collec- during the charging of C1. If the output
fail-safe protection of such switching de- tor voltage of Q1 reaches the switching of Q1 is not overloaded, Q1 saturates
voltage on the base of Q2, Q2 turns on, again and stays switched on. If the output
vices.
The principal function of the circuit is and Q1 switches off. You can adjust this has a short circuit to the supply or it is
to switch off the transistor if the voltage switching point with the R1-R2 voltage di- overloaded, then Q1 switches on only
on the collector is higher than a prede- vider. Now, the voltage on the collector of during the charging of C1; after this time,
termined value. Under normal switching Q1 rises to 24V, and the output stays in Q2 switches off Q1. The maximum load
conditions, transistor Q1 should saturate the switched-off condition. To reset the current depends on the value of R4, the
when it turns on with a voltage lower circuit, you must switch the steering out- output voltage from the control logic,
than 0.2V between the collector of Q1 and put from the control logic to low. Now, and the current gain of Q1.
design
ideas
R5
2.2k
below 6.5V, the voltage at the positive input drops below the reference voltage at
D1
R6
1N4148
20k
the negative input. The output of IC1
switches from high to low, thereby lightR3
20M
ing the LED, D2. The switching
R1
D2
Figure 1
changes the voltage at the positive
20M
LED
7
input to 0.58V and causes C1 to discharge
V+
through D1 and R6. Because the value of
3
+
R6 is much smaller than that of R4, the
IC1
8
LTC1540
voltage at the negative input drops
4
_
9V
quickly, according to the time constant
R4
5 HYST
that C1 and R6 set. Once the voltage at the
10M
6 REF
negative input falls below 0.58V, the
R2
comparator switches back to a high state.
2.2M
GND
C1
This change sets the voltage at the posi2
1
0.33 F
tive input to 1.18V, turns off the LED,
and reverse-biases D1, so the reference
charges C1 through R4. When the voltage at the negative input again reaches This fleapower low-battery indicator draws just 1.2-A operating current.
1.18V, the cycle repeats. The LEDs ontime is a function of C1 and R6, and the times are 20 msec and 10 sec, respective- 1.8V)/2.2 k2.1 mA. The average LED
off-time is a function of C1 and R4. With ly, at 6.5V threshold voltage. At this point, current is (20 msec2.1 mA)/10 sec4.2
the values in Figure 1, the on- and off- the LEDs on-state current is (6.5V A.
www.edn.com
design
ideas
A
YES
YES
YES
VINV0?
SET PWX
FROM MEMORY
GENERATE PWM
SIGNAL
Figure 3
This flow chart shows the steps in the scale-expansion process.
STOP GENERATING
PWM
VT 2 = 2 V ; IT 2 = 10 A;
80 10
S2 =
= 70 A / V.
32
VT 3 = 3V ; IT 3 = 80 A;
100 80
S3 =
= 10 A / V.
53
7. Determine the pulse width of the
PWM signal: PWT (column 6).
8. Calculate the number of timer cycles, NOUT, for this pulse width by using
www.edn.com
design
ideas
2
VIN
(V)
0.04
0.5
1
1.5
2
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
3
3.5
4
4.5
5
3
NIN
2
25.6
51.2
76.8
102.4
107.5
112.6
117.8
122.9
128
133.1
138.2
143.3
148.5
153.6
179.2
204.8
230.4
250.9
4
NIN
(hexadecimal)
$2
$1A
$33
$4D
$66
$6C
$71
$76
$7B
$80
$85
$8A
$8F
$94
$9A
$B3
$CD
$E6
$FB
(%)
0
2.5
5
7.5
10
17
24
31
38
45
52
59
66
73
80
85
90
95
99
6
Pulse width
(msec)
0
0.25
0.5
0.75
1
1.7
2.4
3.1
3.8
4.5
5.2
5.9
6.6
7.3
8
8.5
9
9.5
9.9
7
NOUT
0
5.6
11.2
16.87
22.5
38.25
54
69.75
85.5
101.25
117
132.75
148.5
164.25
180
191.25
202.5
213.75
222.75
8
NOUT
(hexadecimal)
$0
$6
$0b
$11
$16
$26
$36
$46
$55
$65
$75
$85
$95
$A4
$B4
$BF
$CB
$D6
$DF
www.edn.com
design
ideas
www.edn.com
design
ideas
VBUS
Figure 1
BATT
0.1 F
4.7 F
10k
1%
13k
1%
SELV
IC2
MAX1811
270
+
OUTA
19.1k
1%
10k AT 25oC
HOT (47.5oC): 3.97k
COLD (2.5oC): 28.7k
INB+
500 mA
SELI
INA _
100 mA
OUTA
+
OUTB
10k
CHG
OPEN-DRAIN
OUTPUTS
IC1
LMX393
BATTERY PACK
NTC THERMISTOR
(SUCH AS FENWAL
ELECTRONICS
140-103LAG-RB1)
+ SINGLE
LI-ION
BATTERY
2.2 F
100k
VCC
INA+
IN
EN
EN
GND
GND
OUTB
INB _
18k
1%
GND
DUAL SCHOTTKY
DIODE, SOT-323
CMSSH-3A
NOTE:
YOU SHOULD ADD THE DUAL SCHOTTKY DIODE
IF YOU SUBSTITUTE A CMOS-OUTPUT DUAL
COMPARATOR, SUCH AS THE MAX9032.
While charging a lithium battery from a USB port, this circuit provides thermal protection for the battery.
www.edn.com
design
ideas
(continued on pg 96)
12V
12V
IN/OUT
OUT/IN
CONT
VDD
VSS
D1
1N914
R1
10k
C1
0.1 F
IC1
TC4S66F
IC2A
TL074
_
R3
10k
12V
C2
0.01 F
R4
500k
R5
10M
VIN
R6
1M
FC=0.016 Hz
+
Figure 1
This unique lowpass-filter design provides
good noise reduction and retains the ability to track rapid changes in signal level.
C3
10 F
TANTALUM
IC2B
TL074
D2
1N914
4.7V
D4
1N914
D3
1N5230
R2
10k
D5
1N914
VERR
VOUT
+
_
IC2C
TL074
www.edn.com
design
ideas
R1VOS2
R1VOS1
+
+
+ IB2 ,
6
7 V+
on the input offset voltage of the
2 + IC1
3 +
OPA277P
IN
8 +
instrumentation amplifier. In
R3
6
RG
1 RG OUT
4 V
IC2
10M
2 IN
general, you can neglect the error
5 INA121P
0.01 F
VREF
that the offset voltage of the op
4 V
15V
LOAD
amp generates if you use a preci0.01 F
sion, low-offset amplifier. HowNOTES: AIC2=1+ 50 k
15V
RG
ever, resistor-mismatch and inIS THE GAIN FOR THE INA121P.
IN THIS EXAMPLE, RG =, SO GAIN AIC2=1.
strumentation-amplifier gain
errors are inevitable, regardless of
This current reference delivers an output
Figure 1
the application.
thats a linear function of the input voltage.
he voltage-to-current converter
in Figure 1 can both source and sink
current. The circuit is more flexible
than some traditional current references
that require different topologies for current sourcing and sinking. Also, you can
easily adjust the value of the current reference by simply adjusting the circuits
input voltage. Performing a simple nodal
analysis generates the following
equation:
V
IOUT =
R 2 VIN
.
R1R 3 A IC 2
R 2 VIN
IOUT =
+
R1R 3 A IC 2
CURRENT TERM
www.edn.com
design
ideas
www.edn.com
design
ideas
www.edn.com
design
ideas
on your board to configure and test hardware, then building a simple processorbus emulator, such as the one in Figure
1, may be an attractive option. The simple emulator shown uses an easy-to-use
Basic Stamp microcontroller (www.
parallax.com) on a carrier board and a
small CPLD to emulate a 16-bit ISAlike I/O bus. Figure 2 shows the timing
parameters for the bus (Figure 2a shows
write-cycle timing; Figure 2b shows readcycle timing). Note that the bus emulator
runs much slower than a normal
processor bus but is useful to read and
configure registers that you need to test
hardware. This design uses the 16-bit
PC
BS2
PROGRAMMING
CABLE
GND
DTR
TX
RX
SERIAL
COM
PORT
5 4 2 3 DSR 6
DB9
ISP
EMULATEDPROCESSOR
BUS HEADER
7 RTS
BASIC STAMP 2
S1
1
2
3
4
TX
RX
ATN
GND
Figure 1
21 VDD
23 GND
22 RES L
P0
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P13
P14
P15
16-BIT SREG
5 ADDPIN
6 ADDCLK
7 DATAPINO
8 DATACLKO
9 DATAPINI
10 DATACLKI
11
12
13
14 LATCHENB
15 DIR
16
17
18
19
20
D0
.
.
.
.
.
D15
DATA
LE
16-BIT SREG
IOR
BASIC STAMP 2
CARRIER BOARD
IOW
BALE
ENDIR
VOL_REG
3.3V
5V
ISA-like bus mainly for illustrative purposes; you could emulate almost any
processor bus with a similar setup.
The simple emulator consists of two
parts, the hardware (Figure 1) and the
Basic Stamp firmware (Listing 1, which
you can download from the Web version
of this Design Idea at www.edn.com).
You must connect the emulator itself to
a 5V power supply and a PC with a keyboard, monitor, and serial port, and you
load any simple terminal-emulator software, such as Hyper Term. The serial programming cable you use to program the
Basic Stamp also communicates with the
terminal-emulator software by inserting
a switch, S1, that lets you disconnect or
connect the DTR/ATN connection.
When the switch is closed, you can program the Basic Stamp, and, when it is
open, you can use the terminal-emulator
software to communicate with the Basic
Stamp. You enter commands on the keyboard, and the results appear on the
monitor. The emulator connects to the
board and devices to test and configure,
such as a custom FPGA, through the
boards normal processor bus. (You need
to either socket the original processor or
provide a test port on the board.) You
tristate the original processor or remove
it from the board to use the emulator.
The Basic Stamp firmware emulates
processor-bus cycles by changing the appropriate control signals on its pins. The
September 25, 2003 | edn 67
design
ideas
ADDCLK
CPLD uses shift registers to interface the
ADDPIN
serial address and data into and out of
SA[15:0]
the Basic Stamp to the emulated 16-bit
parallel address- and data-bus signals.
DATACLKO
The CPLD also conditions the control
DATAPINO
WRDATA[15:0]
signals from the Basic Stamp to the emulator header by performing logicBALE
threshold conversion through CPLD I/O
DIR
buffers. Listing 2, also availFigure 2
IOW
able from the Web version of
this Design Idea at www.edn.com, shows
ENDIR
the Verilog code for the CPLD. Note that,
LATCHENB
although the control signals IOW, IOR,
BALE, and ENDIR come from the basic
(a)
code firmware and the Basic Stamp pins
ADDCLK
and are conditioned through the CPLD;
ADDPIN
they could come directly from a simple
SA[15:0]
finite-state machine in the CPLD if your
BALE
design requires more realistic bus timing.
ENDIR
The Lattice (www.latticesemi.com) ispIOR
MACH 4128V CPLD is a 5V-tolerant device whose inputs you can safely drive
LATCHENB
with voltages as high as 5.5V. It also supDATACLKI
ports as many as 64 I/O lines and is
WRDATA[15:0]
in-system-programmable through the
IEEE-standard 1532 interface. These feaDATAPINI
tures make the CPLD a good choice for
DIR
use in the hardware implementation of
(b)
the logic needed in the emulator.
LATCHED IN SR
RDATA SERIALLY SHIFTED INTO STAMP
The simple emulator uses Basic Stamp signals for write-cycle timing (a) and read-cycle timing (b).
design
ideas
0
T
T
T
T
T
1
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
7. return 1.
8. else.
9. return 0.
The function Insert(value) inserts the
value into the list in descending sorted
order. The function does nothing if an element with the same value already exists.
The disadvantage of the subset-sum algorithm is that it solves only a decision
a yes-or-no problemand doesnt allow
restoring the partition itself. To overcome
this disadvantage, you can use an array of
integers instead of an array of bits and
10
11
12
13
T
T
T
T
T
T
T
T
T
T
T
T
T
T
store the number of ones in the corresponding element. This solution requires
O(n log(m)) space, and the array represents the sum of the rows of the table
T[ij] of the original O(mn)-space algorithm.
Reference
1. Garey, Michael R and Johnson,
David S, A Guide to the Theory of NP
Completeness, Freeman, San Francisco,
CA, 1979.
www.edn.com
design
ideas
TO VDD
(PIN 14) IC1
C1
100 nF
D1
D3
Q3
Q1
ON/OFF
R2
150
Q4
Q2
FORWARD
5
+
BATTERY
SUPPLY
VB
6
SET
R3
150
MOTOR
D2
D IC Q
1A
3
4013B
2
Q
RESET
4
D4
13
R4
RF
100k VSENSE 100k
D5
IC2
MAX931 OR
LTC1440
7
V+
C2
100 nF
3 IN+
4 IN
12
8
SET
REVERSE
9
Q
D
IC1B 11
Q
RESET
10
OUT 8
R1
100k
RSENSE
CF
100 nF
Figure 1
R6
R5
TO VSS
(PIN 7) IC1
R8
100k
5 HYST
6 REF
1.18V NOMINAL
R7
100k
V
2
GND
1
OV
This latching motor controller uses current sensing, rather than switches, to stop the motor.
www.edn.com
design
ideas
TO VDD
(PIN 14) IC1
Figure 2
TO VDD
(PIN 14) IC3
8
IC3C 9
1
2 IC3A
ON/OFF
4001B
5
6 IC3B
TO Q2
GATE
TO Q4 11
GATE
12
IC3D 13
10
0V
0V
FORWARD
6
SET
5
1
D
Q
IC1A
3
4013B
Q 2
RESET
4
+
BATTERY
SUPPLY
VB
R1
100k
TO VSS
(PIN 7) IC1
13
12
FROM COMPARATOR
OUTPUT, PIN 8, IC2
TO VSS
(PIN 7) IC3
8
SET
Q
IC1B
Q
RESET
10
REVERSE
9
D
11
R8
100k
0V
This addition to the circuit in Figure 1 yields a nonlatching controller, in which the motor runs only when the associated switch is closed.
rent at turn-on from tripping the comparator. Values of 100 k and 100 nF
should be adequate, but some experimentation may be necessary to determine the best time constant for your application. Reset components C2, D5, and
R7 ensure that the comparators output is
high at power-up. You should select all
transistors in the H-bridge to produce
minimal saturation voltage when the devices conduct the maximum motor current. Choose low-VCE(SAT) devices for Q1
and Q3, and make sure that MOSFETs Q2
and Q4 can receive full enhancement at
the minimum operating voltage. Depending on the type of MOSFETs you
use, you may need to add a resistor in series with each gate to prevent spurious
oscillation.
You should select resistors R2 and R3 to
provide adequate base drive for Q1 and
Q3 at the lowest supply voltage. Depending on the application, it may be possible to replace Q1 and Q3 with p-channel
MOSFETs, in which case R2 and R3 can be
fairly large. Freewheeling diodes D1 to D4
are necessary to commutate the currents
generated by the motors back-EMF at
turn-off. You may require capacitor C1 to
suppress any noise that the motors
brushes produce. The circuits quiescent,
motor-idle current drain is extremely
low, making it ideally suited to batterypowered applications. Measurements on
a breadboard circuit operating from a 9V
design
ideas
www.edn.com
design
ideas
www.edn.com
design
ideas
R2, AD1
A2
+
VD
R1/R2.
Figure 1
VIN ()
Another possible implementation for the
(b)
second stage could use
Capacitor
C ac-decouples the simplified amplifier circuit
(a)
(b)(a); the detailed circuit (b) uses gain stages and an adder-subtwo differential-chantracter stage.
nel ADCs, producing a
odern battery-cell voltages of 3
to 3.6V require circuits that offer
efficient low-voltage operation.
This Design Idea proposes an ac-coupled
instrumentation-amplifier design that
features high CMRR (common-moderejection ratio), wide dc input-voltage
tolerance, and a first-order highpass
characteristic. Most of these features stem
from a high-gain first-stage design. The
circuit uses popular-value and -tolerance
components. Figure 1a shows the sim-
www.edn.com
design
ideas
3V
R7
10k
VIN (+)
R4
100k
+
IC1A
MCP607
_
D1
BAV99
C2
6.8 nF
C4
680 pF
R5
2M
R1
200k
+
C1
10 F
R3
1.6M
R8
1M
IC3B
MCP607
_
R2
1k
R4
100k
+
IC2A
MCP607
_
R4
100k
REFERENCE
C3
1 F
IC3A
MCP607
_
VOUT
R4
100k
_
R4
100k
IC2B
MCP607
+
R3
1.6M
Figure 2
R2
1k
C4
680 pF
C2
6.8 nF
_
VIN ()
R7
10k
D1
BAV99
IC1B
MCP607
+
R1
200k
R4
100k
This high-CMRR instrumentation amplifier operates from extremely low supply voltages.
digitized VOUT, ready for microcomputer processing. If a 5V supply is available, it is possible to obtain VOUT by using two difference amplifiers on one
chip, such as the INA2134. You can calculate the minimum CMRR as:
A D(14)
A D5
=
A CM(14) A CM5
AD
1.5A D
=
,
4 /(1 + R 4 / 2R 4 )
4
CMRR =
R
VMAX = ( VIOA 3MAX + VIOA 4MAX ) 1 + 1 +
R2
VOUT
2sC3R 3
=
R1 1 + sC2 (R1 R 2 R
.
1 + R R
1 + sC2R1
2
3
A D (s) =
design
ideas
VCC
3
SDIN
CLK
RESET
GAIN_DAC_LD
FSIN
SDOUT1
15
SDIN
16
12
13
14
11
20
24
R3
10k
TIMER
OUT
R2
11k
5
9
2
7
IC2B
AD712
Vcc
R1
11k
R4
10k
3V
VCC
VDD/REFA
CLKIN
IOUT1A
CLR
IOUT2A
LDAC
VREFB
FSIN
IOUT1B
SDOUT
IOUT2B
RFBA
21
22
23
25
28
IC1
AD7564
RFBB
NC
RFBC
RFBD
IOUT2C
IOUT2D
VREFD
VREFC
IOUT1C
18
A0
17
A1
19
IOUT1D
26
10
C1
470 pF
4
8
VDD
VDD
DG AG
ND ND
1 27
Q1
MMBT2222A
4
2
3
Figure 2
This circuit uses a triangular wave from a DAC
to excite an LVDT.
IC2A
AD712
Q2
MMBT2907
8
VDD
3
VDD
ification than with an LC-tank circuit. Beginning with the microcontroller, the frequency of the excitation wave depends on
the configuration of the microcontrollers
timer. You can configure a free-running
timer, for example, to toggle the output
based on the comparison match of a preset count. You base the count on the desired frequency output and the timers internal clock rate. You then adjust the
output of the microcontrollers timer to
remove offset. You need to eliminate as
much offset in the signal as possible because such offset adversely affects the
transformation process.You can use an op
amp to remove the offset because the offset is constantin this case, half the voltage that powers the microcontroller. In
general, you should choose an op amp
with low offset and low bias, not only for
the difference stage, but also later.
Once you center it about common, the
signal becomes a triangular wave. The integrator you use is basically a single-pole,
lowpass filter with a configurable (via the
DAC) corner frequency. The corner frequency you choose guarantees that integration of the excitation signal occurs. To
accommodate variability in
frequency and amplitude,
the DAC provides an easy
interface. With two channels of the AD7564, the circuit can emulate variable
resistors for the feed-forward and the feedback of
the integrating op amp.
(The other two channels
could serve for the demodulation gain of each LVDT
secondary.) You can use
these resistors to form the
corner frequency for the
lossy integrator and to establish the gain through the
circuit, ensuring that the
signal is integrated and that
the amplitude of the excitaLVDT
PRIMARY
tion signal is appropriate
INPUT
for the LVDT.
You need to make several calculations in advance
to determine the configurawww.edn.com
design
ideas
TIMER OUTPUT
www.edn.com
design
ideas
TC7S14F
R4
536k
1.5V
10 nF
R3
1M
1.5V
OP AMP
R1
100k
R2
1M
COMPARATOR
1.5V
LTC1542
A simple CMOS inverter provides high-bandwidth current assist, improving the waveform
drastically with minimal impact on supply current.
www.edn.com
R3
1M
COMPARATOR
_
OP AMP
R1
TRIANGLE
+
R2
R1
100k
R3
1.5V
SQUARE
COMPARATOR
_
(b)
SQUARE
1.5V
These popular methods of generating triangle waves have drawbacks, especially when your design
requires low-power operation.
1.5V
Figure 2
C1
10 nF
R1
design
ideas
But take heart; a simple and inexpensive solution is at hand. Why not let a
CMOS inverter provide the instantaneous current and let the op amp simply
provide the precision linearizing current?
High-current driver
serves home-power-line modems
Ryan Metivier, Analog Devices, Wilmington, MA
ome-based power-line
networking signals are
RG
RF
0.1 F
0.1 F
similar to xDSL (digital205
412
www.edn.com
design
ideas
AMPLITUDE
(10 dB/DIV)
START 3 MHZ
Figure 2
1.9 MHZ
STOP 22 MHZ
Figure 3
FREQUENCY
The output spectrum of the power-line driver in Figure 1 shows that the
worst-case empty-tone distortion is 35 dBc.
1V
100 nSEC
www.edn.com
design
ideas
swing capability.
10k
OPTIONAL
RL NETWORK
INR _
13
10
OUTR
11
10k
100 H
INL
10
10k
_
OUTL
8
IC1
MAX4410
100
3V supply from the positive 3V supply. speaker appears to the amplifier as a caThus, providing the drive amplifiers with pacitor, the speakers impedance decreasan internal 3V supply allows each out- es as frequency increases, resulting in a
put of IC1 to swing 6V p-p. Configuring larger current draw from the amplifier.
1
IC1 as a BTL (bridge-tied load) driver IC1 remains stable with the speaker, but a
THD+N (%)
again doubles the maximum swing at the speaker with different characteristics
0.1
load to 12V p-p. In the BTL configura- might cause instability (Figure 4),. In that
f=10 kHz
tion, IC1s right channel serves as the case, you can isolate the speakers capaci0.01
master amplifier. It sets the gain of the tance from the amplifier by adding a simf=1 kHz
device, drives one side of the speaker, and ple inductor/resistor network in series
0.001
provides a signal to the left channel. If with the speaker (within the dotted lines
f=100 kHz
you configure IC1 as a unity-gain follow- on Figure 1). The network maintains sta0.0001
er, the left channel inverts the output of bility by maintaining a minimum high0
2
4
6
8
10
12
14
the right channel and drives the other leg frequency load of approximately 10 at
OUTPUT VOLTAGE
(V )
of the speaker. To ensure low distortion the ICs output.
and good matching,
Testing the circuit yields this
Figure 2
N versus output voltage
you should set the
THD
left-channel gain usfor the Figure 1 circuit.
ing precision resis1
tors.
VOUT=2VCC
We tested the circuit with a Panasonic
0.1
( w w w. p a n a s o n i c .
2V/DIV
OUTR
com) WM-R57A piTHD+N (%)
ezoelectric speaker,
yielding the THD
0.01
N (total-harmonicdistortion-plus noise)
curves (figures 2 and
3). Note that
0.001
20 SEC/DIV
10
100
1000
10000 100000
Figure 4
THDN inFREQUENCY (Hz)
Step response at the OUTR output of IC1 in Figure 1, which drives
creases as frequency
Figure 3
a WM-R57A piezoelectric speaker, shows that IC1 remains stable
Testing the circuit yields this
increases in both
N versus frequency for the Figure 1 circuit.
with the speaker.
THD
graphs. Because the
10
PP
www.edn.com
design
ideas
design
ideas
5V
VOUT (V)
0
1.25
2.5
R5
20k
3.33
MC68HRC908JK1
5
OSC
OUT 1
PB3
C1
10 pF
OUT 2
R1
300k
OUT 3
R2
100k
OUT 4
R3
49.9k
PB4
PB5
MODE
VO
PB6
IRQ
R4
100k
Figure 1
A microcontroller can generate analog outputs for motor-control purposes.
www.edn.com
design
ideas
INPUT
OUTPUT
300
200
100
0
4
Figure 2
10
12
14
16
VIN (V)
www.edn.com
design
ideas
KELVIN SENSING
Figure 1
C1
580 pF
0603
5V
VIN
VCORE
VIN
5V
R3
10k
8 7 65
C5
580 pF
R5
0603
10k
PACK4 3
C6
0603
47 pF
SENSE 1 SENSE 1+
VIN
ITH/RUN
VFB1
IC1 PGATE1
SGND LTC3701EGN
PLLLPF
PGND
PGOOD
PGATE2
VFB2
ITH/RUN2 EXTCLK/MODE
SENSE 2 SENSE 2+
SLEEP
Q3
2 BSN20
C7
580 pF
0603
R2
0.015
16
15
14
C4
22 F 10V
1210
13
12
10
9
C8
580 pF
0603
R7
0.015
C9
22 F
10V
1210
R9
33k
1
3
Q1
FAIRCHILD 2
FDC638P
Q5
BSN20
1%
R1
37.4k
0805
C3
220 F
6.3V
D1
ONMBRS
320T3
Q2
FAIRCHILD
FDC638P
R4
75k
0805
0.1%
3.3V
KELVIN SENSING
2.2 H
2.3A IRMS
COILCRAFT
DO1608C-222
2
6
5
1
Q4
2N3904- 1
SMD
VCORE
COILCRAFT
5 DO3316P-332
L1
6
3.3 H
2
5.4A IRMS
1
+
L2
4
3
5V
VIN
R6
10k
1 2 34
SLEEP
C2
47 pF
0603
1
2
3
4
7
11
5
6
8
=
=
=
=
=
D2
ONMBRS130T3
+
C10
220 F
6.3V
1%
R8
232k
0805
0.1%
R10
75k
0805
Adding a few transistors to a switching regulator adds power-sequencing and shutdown control to a power supply.
www.edn.com
design
ideas
IS STOPPED
devices that control the voltage ACQUISITION
voltage above approxi100k SAMPLES/SEC
on the regulators ITH/Run pins.
mately 1V. You may need
The ITH/Run pins of IC1 proto adjust the value of R9 if
vide an external compensation
your design requires core
to the internal feedback loops;
voltages below approxithey can also serve to shut
mately 1V.You can replace
down the device when you pull
Q3 and Q5 by potentially
cheaper industry-stanthem to ground. A microdard 2N2007 devices at
processors TTL/CMOS-comthe expense of slightly
patible input signal (Sleep)
higher capacitive loading
controls the power state of the
on the ITH/Run pins of
circuit. You can put the circuit
IC1. C2 and C6 are cominto shutdown mode by either
pensation capacitors that
letting the Sleep pin float high
the Linear Technology litor pulling it higher than ap1 500 mV/DIV
1.49V
Y
X
3 1V/DIV
75 mV
1 (1)=800 mV
349.96 SEC
erature does not mention
proximately 1.5V. Q3 then con2 (3)=5.880V
3.88004 mSEC
nects the ITH/Run1 pin to
but that are highly effec=6.680V
4.23000 mSEC
Figure 2
1/X= 236.406 Hz
ground, which causes the
tive in preventing subharVCORE core-voltage supply to The 3.3V supply turns on several milliseconds after VCORE attains an estabmonic oscillation arising
shut off. The VCORE voltage then lished level.
from dynamic current
drops toward ground, and Q4
loading on the outputs.
stops conducting when VCORE falls below proximately 0.8V. This action turns off Q5 (See the Linear Technology Web site for
approximately 0.8V. The gate of Q5 pulls and allows the ITH/Run2 pin voltage to information on subharmonic oscillato the 5V unregulated input voltage, and start rising. The 3.3V power supply thus tion.)
Q5 shorts the ITH/Run2 pin to ground, turns on. The combined effect of driving
The gate-drain-source capacitance of
which turns off the 3.3V regulator. The Q4 and Q5 from the VCORE voltage is that Q3 and Q5 also add to the stability of the
circuit is now in standby mode, and both the 3.3V I/O voltage always turns on only loop filter. Note that sequencing the turnafter the VCORE voltage attains an estab- on ramps of the power supplies also has
power supplies are off.
Pulling the Sleep pin lower than ap- lished level. The end result is to sequence the benefit of reducing the inrush current
proximately 0.8V turns on the power the power supplies over a period of 4 into the power supply by staggering this
current and preventing simultaneous
supply and sequences the voltages in the msec (Figure 2).
The circuit is symmetric, and changing current loading of the primary bypass cafollowing manner: Q3 stops conducting,
and the voltage on the ITH/Run1 pin can the base drive of Q4 and interchanging pacitors by both power supplies. The serise, thanks to internal current sources in the drain signals of Q3 and Q5 reverses the lected component values allow for more
IC1. The VCORE voltage regulator then sequencing order of the power supplies than 2A of current on the 3.3V line and
starts to operate, and VCORE rises to its set for chips that require the I/O voltage to more than 3.5A of current on the VCORE
voltage, 1.2V by default. Q4 starts con- rise before the core voltage. You can ad- line.
ducting as soon as VCORE rises above ap- just the value of R1 to generate any core
Figure 1
design
ideas
Figure 2
www.edn.com
design
ideas
www.edn.com
design
ideas
INPUT
20V p-p
COMMON-MODE
ERROR OF
DIFFERENTIAL
OUTPUT
Figure 3
Figure 4
COMMON-MODE
ERROR OF
COMMON-MODE
OUTPUT
The common mode input (top) measures 20V p-p. The common-mode
error of the differential output (middle) is 200 V p-p. The error of the
common-mode output (bottom) is 80 V p-p.
www.edn.com
design
ideas
www.edn.com
design
ideas
INSTRUMENTATION
which is C2 in parallel with the series
R1A
C1A
AMPLIFIER
combination of C1A and C1B, establish this
+IN
RC time constant. The 3-dB differenC2
VO
tial bandwidth of this filter is equal to IN
R1B
C1B
BWDIFF[1/(2R(2C2C1))]. The common-mode bandwidth defines
Figure 2
what a common-mode RF signal sees between the two inputs tied to- Capacitor C2 shunts C1A/C1B and reduces ac comgether and ground. C2 does not affect the mon-mode-rejection errors arising from combandwidth of the common-mode RF sig- ponent mismatch.
nal, because this capacitor connects between the two inputs, helping to keep amplifier, such as the AD627, with its
them at the same RF-signal level. There- low-input-stage operating current, is a
fore, the parallel impedance of the two RC good example. The simple expedient of
networks (R1A/C1A and R1B/C1B) to ground increasing the value of the two input resets common-mode bandwidth. The 3- sistors, R1A/R1B, that of capacitor C2, or
dB common-mode bandwidth is equal to both can provide further RF attenuation
at the expense of reduced signal bandBWCM1/(2R1C1).
Using the circuit of Figure 1, with a C2 width. Some steps for selecting RFI-filvalue of 0.01 F, the 3-dB differential- ter component values follow:
signal bandwidth is approximately 1900
1. Decide on the value of the two seHz. When operating at a gain of 5, the cir- ries resistors and ensure that the previous
cuit has measured dc-offset shift over a circuitry can adequately drive this imfrequency range of 10 Hz to 20 MHz of pedance. With typical values of 2 to 10
less than 6 V referred to the input. At k, these resistors should not contribute
unity gain, there is no measurable dc-off- more noise than that of the instrumenset shift. Some instrumentation ampli- tation amplifier itself. Using a pair of 2fiers are more prone to RF rectification k resistors adds Johnson noise of 8
than others and may need a more robust nV/Hz. This figure increases to 11
filter. A micropower instrumentation nV/Hz with 4-k resistors and 18
4.7 F
catsemi.com), the CAT32. Power comes
15 mA
CAT32
OFF
R1
from a single lithium-ion battery cell. A
1.5k
FET switch can independently turn off
the group of six LEDs. The shutdown input, SHDN, on the CAT32 turns off all
the LEDs. LED brightness is a direct
function of the current running through A single IC boosts the battery voltage to drive a total of nine LEDs.
KEYPAD
RS
75
RS
75
15 mA
ON
N-FET
www.edn.com
design
ideas
90
the LED, and typical values are 10
expression for efficiency is as
to 20 mA for white LEDs.
follows:
85
Figure 2
The CAT32 regulates a
80
constant current through the
connected
to
LED pin. Resistor R1
EFFICIENCY (%) 75
the RSET pin adjusts the LED
70
current.
The driver is a step-up con65
verter using an inductor to boost
where VLED is the voltage across
60
the LED, ILED is the LED current,
the voltage, such as that from a
3.8
4
4.2
3
3.2
3.4
3.6
RS is the series resistor, and IIN is
lithium-ion battery, and bias
INPUT VOLTAGE (V)
the current from the input supmultiple LEDs in series. The RS
resistors in series with the LEDs This curve shows the efficiency of the circuit in Figure 1 for 15ply. The efficiency is approxibalance out the current between mA LED current and 3 to 4.2V battery voltage.
mately 84% for a 3.6V supply. If
the groups of LEDs. The LED foryou now consider only the powward voltage, typically around 3.5V, ex- keypad. You define efficiency as the ratio er the LEDs dissipate, excluding all the
periences some variation from one LED of the power dissipated in the LEDs, in- other losses, the following formula gives
to the other for a given bias current, and cluding the power in the series resistors the net efficiency (approximately 75%
the series resistors also compensate for but not including the loss in the Schottky with a 3.6V supply):
that situation. By using series resistors diode, to the total input power. Figure 2
with values of 75, a current of approx- shows the efficiency of the circuit for a
imately 15 mA flows in all LEDs. The dis- load of 15-mA current in the LEDs and
play uses Nichia (www.nichia.com) for supply voltage ranging from 3 and
NSCW335 side-view LEDs, and top-view 4.2V, corresponding to the charge-disNichia NSCW100 LEDs backlight the charge cycle of lithium-ion batteries. The
design
ideas
VDD
VDD
IC1A
CD40106B
R1
470k
C3
100 nF
D3
1N4148
R8
1M
Q 1
S
5
D IC2A
3
>CLK
4
2
R
Q
SHTDN
VDD
IC1B
CD40106B
CD4013B
D1
1N4148
4
R14
100k
Q1
BC547
R2
10k
12
D4
1N4148
IC2B
CD4013B
R
ON/OFF
PUSHBUTTON
3.3 OR 5V
VDD
CLK
13
3.3V
R10
100k
R11
470k
C4
10 nF
10
11
R7
100k
D2
1N4148
C6
10 nF
R4
100k
Q2
BC547
R15
470k
DSP
I/O
IC1C
5
R9
100
R13
10k
R5
10k
R16
10k
Q4
BC547
D9
8
S
R3
470k
R6
10k
R12
100k
Q3
BC547
C5
100 nF
IC1D
CD40106B
8
11
IC1E
CD40106B
10
13
IC1F
CD40106B
12
Figure 1
This circuit generates a delay between the DSP circuits or microcontrollers off command and system
shutdown.
button, the DSP I/O pin assumes a low flip-flop IC2B changes, via D4, to reset
ly from low to high for that period.
The CLK input of D flip-flop IC2A trig- level. The DSP circuit or microcontroller mode, so that the toggle signal valid at
gers via R14 and D1, and output Q changes should now detect this input change and CLK has no impact on the output status.
its status from low to high. This state en- generate an interrupt. This interrupt You now release the on/off pushbutton.
ables the low-dropout regulator or dc/dc should initiate a shutdown procedure. D D flip-flop IC2B releases from reset after
converter to start operation. The 3.3 or
5V connected to R2 supplies transistor Q1
VDD
6 TO 15V
to change the logic level at the CLK input
of D flip-flop IC2A. This action ensures
t
that the system disregards glitches when
PRESSED BUTTON
you press the on/off pushbutton. The
PUSH_BUTTON
DSP I/O pin of the circuit connects to
one of the DSP circuits or microcont
trollers I/O pins. You should configure
the I/O pin of the DSP circuit or micro5V
controller as an input pin after power-up
3.3V
and reset release. As long as you press the
t
on/off pushbutton, transistor Q2 remains
I/O PIN
I/O PIN CONFIGURES
CONFIGURES
on, driving the DSP circuits I/O pin low.
AS OUTPUT PIN.
AS INPUT PIN.
I/O PIN
You should program the DSP circuit or
3.3V
microcontroller such that the DSP circuit
t
stops executing code before you release
CONTROLLER
the button, and the DSP I/O pin changes
CONTROLLER
CONTROLLER HAS TIME CONFIGURES THE I/O
ACKNOWLEDGMENT:
TO STOP ALL TASKS
PIN AS THE OUTPUT
its level from low to high. D flip-flop IC2B
USER WANTS TO
BEFORE POWERING
PIN AND DRIVES THE
again resets via D4, but this reset
POWER DOWN APPLICATION. DOWN THE SUPPLY.
PIN LOW.
Figure 2
does not alter the output because
the application is running.
This timing diagram shows that the DSP circuit or microcontroller takes ownership over the sysWhen you again press the on/off push- tems on/off function to allow time for performing crucial tasks.
www.edn.com
design
ideas
the status of the SHTDN pin to low level, and the system shuts down. At the
same time, D flip-flop IC2B resets via Q3
and the comparator IC1C. This reset
brings D flip-flop IC2B to the initial state
described above before you first pressed
the on/off pushbutton.
1 VIN
CIN
10 F
ON
6
OFF
VOUT
LTC1983ES6-5
SHDN
GND
2
5
VOUT1
5V
COUT1 I
OUT
10 F 100
mA MAXIMUM
C 4
C
CFLY
2.2 F
CBOOST
2.2 F
D1
D2
VOUT2
2VIN
COUT2 IOUT2
10 F 50 mA
12
10
ROUT
()
VIN5V
8
6
4
2
0
0
50
IOUT (mA)
Figure 2
100
This graphic shows ROUT versus IOUT for the circuit in Figure 1.
86
84
EFFICIENCY 82
(%)
80
78
10.5
Figure 3
30.2
IOUT1 OR IOUT2
(mA)
50
design
ideas
Figure 1
requires an approA1
priate high-input-im+
pedance amplifier. This A voltage-controlled current source and
Design Idea proposes an an inverting amplifier emulate an instrualternative approach us- mentation amplifier.
ing a simplified amplifier circuit (Figure 1). The basic principle bining a virtual-ground transimpedance addition, the voltage at input B is at viris to sense the current in the amplifier in- amplifier (A1) with a voltage-controlled tual-ground potential.
A practical circuit is a two-electrode
put B (IB) and inject a current of the same current source (G1). Thus, G1 balances the
value in the amplifier input A (IA), by com- common- mode interference currents. In biosignal amplifier for electrocardiogram
signals (Figure 2). IC2B
is the transimpedance
25k
25k
amplifier. The feedback capacitor, CFB,
ensures circuit stabiliIC1
ty. The INA134 differINA134
25k
ence amplifier, IC1, and
the op amp, IC2A, make
300k
25k
up a high-quality, bidirectional voltage-conIN (+)
trolled current source.
+
You could use many
IC2A
TL072
similar ICs, such as
_
INA132, 133, 152, 154,
24k
105, or AMP03, for IC1.
+
2 F
IC3A
+
The
remaining part of
CFB
OUT
TL072
IC3B
_
the
circuit
comprises
TL072
24k
15 nF
_
33 pF
two conventional non39k
15 nF
10
nF
1.5M
inverting stages. The
300k
proposed circuit can be
1k
IN ()
1k
useful in many two_
wire or two-electrode
IC2B
TL072
applications, in which
+
you need to maintain
Figure 2
high amplifier inputThis biosignal amplifier has the high input impedance that medical applications require.
impedance values.
www.edn.com
design
ideas
www.edn.com
design
ideas
www.edn.com
design
ideas
The best of
design ideas
it out at:
8 Check
www.edn.com
60 Hz AC
FROM VARIAC
OUT/IN
4
1N4004
FULL-WAVE
PRECISION RECTIFIER
RELAY: RS275-248
15V
12V AC
120V AC
+
STOP
START
1N914
~40 mA
470 F
25V
I
G
1N914
Figure 1
D1
IC1A
0.3
5W
R1
13
3k
12
IC1B
C1
47 F
10V
12V
COMPARATOR
10k*
IC1D
RUN
Q2
2N3906
+
5
FILTER
14
THRESHOLD
SET: 0 TO 100
10k
0.39
F
10k
O
5.6k
7
D2
+
Q3
2N4401
Q1
2N3906
10
+
R2
453*
12V
+ 100 F
C2
6V
7812
820
390k
IC1C
3
1N914
100k
100k*
0.22 F
10-TURN
+ DIAL
11
NOTES:
1
ALL OP-AMPS ARE 4 LM324s.
* = 1% METAL FILM.
ETCH
CURRENT
This etch-control circuit produces supersharp microneedles by terminating the etching process at precisely the right time.
www.edn.com
design
ideas
put. Amplifier IC1B responds with a negative output excursion, forcing transistor
Q2 to conduct sufficiently to cause the inverting input of IC1A and the bottom end
of R1 to track. Q2s emitter current, and,
therefore, collector current is then I
VIN/R2VR1/R2; Q2 is a high-alpha transistor.
The respective roles of the amplifiers
reverse for input excursions of the opposite polarity, with D2 and Q2 conducting.
The match of Q1 and Q2 alpha values,
which is typically 0.3% or better, is the
only limit on rectification symmetry.
This precision rectifier is therefore
unique in that neither rectification symmetry nor common-mode rejection,
which exceeds 60 dB, depends on resistor
matching. Meanwhile, C2 affords ac coupling, which eliminates offset-voltage-related errors. Operation of the rest of the
etch controller is straightforward. IC1C
implements a unity-gain, two-pole Butterworth lowpass filter for good ripple attenuation without excessive time delay.
Etching begins when you push the Start
pushbutton. The etch-current comparator, IC1D, then drives Q3 to keep the relay
energized until the etch current drops below the level set by the Threshold Set potentiometer. IC1Ds output then drops
low, turning Q3 off, opening the relay, and
terminating the etch. The result is a serviceable, atomically sharp scan tip almost
every time.
drives the relay closed, and that relay closure connects the input of the hot-swap
circuitry to the power supply: 28V, in this
10V/DIV
case. The hot-swap controller, IC1, keeps
the p-channel MOSFET, Q1, off for a
minimum of 150 msec after the input
supply reaches a valid level.
Q1
FROM
That delay allows ample time
TO SYSTEM
MTD20P06
K1
POWER SUPPLY
POWER LOAD
for contact bounce in the re4
28V
5A/DIV
3
lay to subside. After the 150OUT
100 SEC/DIV
1
msec delay, IC1 drives
2
The mechanical relay, K1, by
Figure 2
the MOSFET gate such
itself exhibits contact bounce
that the output voltage slews on closure as shown.
R1
DRIVE
1
2
3
at 9V/msec. This controlled
CIRCUIT
100k
VS GATE DRAIN
ramp rate minimizes the in6
rush current, thereby reducON
5
PGOOD
ing stress on the power sup4
GND
ply, the relay, and capacitors
IC1
Figure 1
downstream from the hotMAX5902
10V/DIV
swap controller.
GND
GND
An example of relay contact bounce shows three
A hot-swap controller IC and external MOSFET removes conbounces with an inrush-curtact bounce from relay K1.
rent peak of almost 30A
relays, however, can prove troublesome to (Figure 2). The top trace is output volt- 500 mA/DIV
1 mSEC/DIV
downstream circuitry. One approach to age at 10V/division, the lower trace is incontact bounce combines a relay with a put current at 5A/division, and the
The Figure 1 circuit removes
Figure 3
hot-swap controller. Such controllers are output load is 54 in parallel with
relay-contact bounce and
increasingly popular as the means for 100 F. Use of the Figure 1 circuit under reduces inrush current.
switching system components without these conditions yields a better picture
shutting down the system power. In Fig- (Figure 3). The delayed rise in output current shows much less variation, peakure 1, a relay contact replaces the pin of voltage is clearly visible, with no hiccups ing under 1.5A before settling to a steadya mechanical connector. The drive circuit arising from contact bounce. The input state value of 500 mA.
www.edn.com
design
ideas
put range of the ADC sets the 4-mA fullscale input-current range. Programming
IREF to a value of 40 to 600 A places the
output in the middle of the measurement
range.
The components give an output-scale
factor of 1. This circuit has an output
defined over a range of 4.5 decades of
signal current, IIN, and 1.5 decades of reference current, IREF (limited by the loaddriving capability of the reference for a
total six-decade range. For most applications, you would use only a portion of the
entire six-decade range. By determining
the range of the expected input signals
and computing their ratios, you can use
the equations to predict the expected output-voltage range. You can assign IREF and
IIN to match device performance to the
current range, but you should observe
polarity.
A log amplifier generally depends on
the nonlinear transfer function of a transistor. The general transfer function of a
log amplifier is related to IS and VT, which
both depend on temperature. IS is the
2
AD5201 W
VS
3
SLEEP
330 pF
5V
VCC
VCC
OUT
GND
B
A
4
REF191
2.048V
REFERENCE
3600
CS SDI CLK
SHDN
MAT02/AD
1 C1
C2 7
2 B1
B2 6
IIN
1/2 AD8626
V+
3 E1
IREF
VEE
5V
E2 5
R3
2.2k
V+
LARGE-AREA
PHOTODIODE
1/2 AD8626
330 pF
R1(T)
1k
R2
15.7k
VCC
10 F
BAND-WIRE
SERIAL
INTERFACE
TEMPERATURE
COMPENSATED
VRE
VIN
VD
SCL
AD7810
DOU
VIN
Figure 1
1 F
AGN
MICROPROCESSOR
CONV
www.edn.com
design
ideas
3V
4V
Figure 2
Figure 3
2V
3V
2V
1V
10
30
V (V65:OUT)
100
300
1k
I (R86)/ I (V43)
3k
10k
0V
1
3
V (V65:OUT)
10
30
100k
300k
1k
I (R86)/ I (V43)
capacitive loads in excess of 500 pF. Figures 2 and 3 show the transfer function
of the log-ratio amplifier at the input of
the ADC. The output is limited to 0 to 4V
to match the unipolar input-voltage
range of the AD7810 ADC.
Reference
1. Sheingold, Dan, Editor, Nonlinear
Circuits Handbook, Analog Devices,
ISBN: 0-916550-01-X.
and a wider VCXO pull range than comparable monolithic approaches at less
than one-third of their cost.
You can use the circuit in a wide variety of applications; the indicated component values make it a perfect fit for a
digital audio/video system, such as a digital video recorder, digital camera, or settop box. The circuit is well-suited to single-chip, media-processing applications
that require adjustability, low cost, and
low-jitter performance, such as systems
based on Equators (www.equator.com)
broadband-signal processors. These
types of systems generally require a fixed
frequency, such as 25 or 33 MHz, for the
processor subsystem (Ethernet, PCI bus,
for example) and an adjustable 27-MHz
reference clock for the audio/video reference subsystem. A PLL system generally
controls the 27-MHz reference clock.
(This PLL is usually implemented in software with PWM outputs from the microprocessor controlling the 27-MHz
clocks deviation.) This approach guar-
design
ideas
32-MHz,
THIRD-OVERTONE
FOXSD/320-20
Y1
1
2
C2
10 pF
C3
10 pF
R3
560 1
AUDIO/VIDEO VCXO
EPCOS B82494-A1472-K
L1
47 H
R5
1M
R1
1M
C1
1000 pF
IC1A
74LVC04
IC3B
74LVC04
R6
56
REF_27 MHz
IC1B
74LVC04
REF_32 MHz
IC3A
74LVC04
R7
560
3.3V
TSSOP14
74LVC00APWDH
5
6
4 IC2B
Figure 1
TSSOP14
74LVC00APWDH
32 MHz 2
3
1 IC2A
14
9
10 IC2C
C4
22 F
10V
12
FIXED_VS_
VCXO_SELECT
13
PWM
SIGNAL
TSSOP14
74LVC00APWDH
14
IC2D
R8
3.3k
C8
0.01 F
R9
3.3k
CONTROL
VOLTAGE
C6
R10
0.01 F 47k
C9
1 F
11
TSSOP14
74LVC00APWDH
PWM_INPUT
PWM FROM
PLL PHASE
COMPARATOR
Y2
1
20-PPM, 18 pF-LOAD,
27-MHz CRYSTAL SMD
CITIZEN
HCM49-27.000MDDUT
2
14
14
C5
0.1 F
R4
3.3
D1
BB133
PHILIPS
C7
0.01 F
R11
47k
C11
0.01 F
D2
BB133
PHILIPS
C10
3.3 pF
PWM MULTIPLEXER
This circuit, ideal for A/V applications, generates two high-quality clock-reference signals.
the input side of inverter IC1A. Connecting it to the input side of IC1A could potentially create a resonant RC circuit with
resistor R1 and capacitor C1 acting as the
RC components. This circuit could oscillate at less than 1 kHz, a frequency at
which L1 would effectively be a short circuit, and crystal Y1 would be an open circuit. Placing C1 and L1 on the output side
of IC1A prevents this spurious-oscillation
mode.
By tuning L1 and C3, you can adjust the
circuit to oscillate at a frequency higher
than the third overtone. Oscillation at the
fifth, seventh, or even ninth overtone is
possible and is limited only by the performance of IC1A and the parasitic capacitance. The 32-MHz PCI referenceclock output also serves as a 50%duty-cycle reference for the VCXO when
the VCXO is operating in its fixed-frequency, 27-MHz mode. Multiplexer IC2
selects either this 32-MHz, 50% PWM
clock signal or the PWM clock signal
from a PLL phase comparator (usually
implemented in the microprocessor and
not shown in the schematic) to set the
VCXO to its fixed-frequency mode. The
advantage of using the PCI clock for this
feature is that traditional circuits would
design
ideas
The VCXOs lowpass filter uses a cascaded design, because stray 32-MHz
noise could pass across the small parasitic capacitance inherent in R8 into the
analog VCXO-control voltage. Cascading also has the advantage of filtering
noise with 12 dB of attenuation per octave for frequencies greater than 5 kHz,
thus creating a noise-free VCXO control
voltage. The 27-MHz audio/video VCXO
circuit uses a fundamental-mode crystal that varactor diodes D1 and D2 load
with adjustable capacitance. These backbiased diodes junction capacitance depends highly on the bias voltage. Larger bias voltages lower their capacitance,
thus lowering the load across the crystal
and increasing its oscillation frequency.
Diodes D1 and D2 find use in many
tuners and are widely available. Capacitors C6 and C7 again function as dc
blockers.
The adjustment range of the VCXO is
www.edn.com
design
ideas
www.edn.com
design
ideas
VIN
FROM AC WALL
ADAPTER
13 TO 24V
D1
23
10 F
24
Figure 3
21
28-PIN SSOP
VCC
PROG
SW
20
1 F
D2
SENSE
VC
BAT
22
0.33 F
STATUS INDICATOR
BRIGHT: CHARGE
DIM: FLOAT
FLASHING: NO BATTERY
OUT: NO INPUT POWER
7
LED
10k
82k
Q1
10
FLASHLIGHT
VBAT
19
CAP
FOUR CELLS
8V LEAD-ACID
FLAG
VFB
232k
1%
22 F
0.022 F
(SEE NOTE)
820
15 H
LT1571-1
4.99k
1N4148
0.68 F
3k
LED
LED
LED
LED
VCC
300
PROGRAM CHARGE
CURRENT (5k FOR 1A)
BOOST
976k
1%
100k
Q2
12k
82.5k
1%
NOTES:
GROUND PINS 1, 2, 3, 11, 12, 13, 14, 15, 16, 17, 18, 25, 26, 27, AND 28 TO GENEROUS
AMOUNTS OF PC-BOARD COPPER FOR BEST THERMAL AND ELECTRICAL PERFORMANCE.
Q1 AND Q2 ARE VN2222s, OR 2N7002s.
D1 AND D2 ARE 1A ,30V SCHOTTKY DIODES.
This battery charger uses current-limited constant voltage to charge the lead-acid cells in the flashlight.
crete approach to these problems and allows a white LED to flash at a rate set by
an RC time constant. Components Q1,
Q2, R3, R4, and R5 form a simple Schmitt
trigger that, together with R1, R2, and C1,
controls the flashing of the LED. Q4, Q5,
L1, and associated components form a
voltage booster that steps up the singlecell voltage, VS, to a level high enough to
design
ideas
IL, through inductor L1. The inductor With the values of R3 and R5 in Figure 1, R2 have values of approximately 1 M
current ramps up at a rate determined VB2 is approximately 800 to 900 mV when each and C1 has a value of 1 F or greater,
mainly by VS and the value of L1; during VS1V. This voltage produces approxi- a rate of less than one flash per second is
this time, LED1 and series diode D1 are re- mately 300 to 400 mV across R4, resulting possible. Remember, however, that R1 and
verse-biased. The current continues to in a collector current of at least 15 A in R2 form a voltage divider that sets Q1s
ramp up until it reaches a peak value, Q2 with R420 k. Q2s collector current base voltage, VB1; therefore, R2 must be
ILPEAK. Q5 can sustain no further increase, provides base drive for Q3, which satu- sufficiently larger than R1 to ensure that
and the voltage across the inductor at this rates, turning on the booster section and VB1 can cross the Schmitt triggers upper
point reverses polarity. The resulting fly- illuminating LED1. When LED1 is for- threshold voltage as C1 charges. With this
back voltage raises LED1s anode to a ward-biased, C4 charges to a positive volt- fact in mind, you can with some trial and
positive voltage higher than VS, sufficient age, VP, roughly one diode drop above VS. error fairly easily find the optimum valto forward-bias LED1
and signal diode D1.
VP
The flyback voltage is
VS
also coupled through
R6
C3 and R10 to Q4s base,
1M
thus causing Q4 and,
Q3
D1
hence, Q5 to turn off
L1
R3
1N4148
rapidly.
220
H
100k
The inductor current now circulates
Q4
around L1, LED1, and
IL
C3
R10
D1, and, as the energy
R1
LED1
100 pF
1k
WHITE
stored in L1 decays, the
+
VB1
VB2
LED
current ramps down to SINGLE CELL
Q2
Q1
1.5V NOMINAL
C4
zero. At this point, the
R7
R8
10 nF
100k
510
inductor voltage again
R2
Q5
reverses polarity and
C2
+
R9
C1
1 nF
R4
R5
the negative-going
10k
Figure 1
20k
750k
change is coupled
0V
through C3, rapidly
turning on Q4 and, in
turn, Q5. Current again
begins to ramp up in This circuit provides boosted voltage and flashes a white LED from a single cell.
L1, and the process repeats. The booster section oscillates at a Timing capacitor C1 now charges via R1 ues of R1, R2, and C1 necessary for a givrate determined by several factors. The at a rate determined mainly by the val- en flash rate.
The value of VP significantly influences
important factors determining the rate of ues of VP , R1, R2, and C1. Provided that
oscillation include the values of VS , L1, you carefully choose the ratio of R1 to R2, the charging and discharging of C1, and
and R8; the forward-current gain of Q5; Q1s base voltage, VB1, eventually exceeds VPs value hence varies according to the
and the forward voltage of LED1. With the quiescent level of VB2 (roughly equal prevailing battery supply voltage, VS.
the component values in the figure, the to the Schmitt triggers upper threshold However, changes in VB2, which also
oscillation frequency is typically 50 to 200 voltage, VTU), causing Q1 to turn on and varies with VS, somewhat balances this
kHz. On each cycle, a pulse of current Q2 to turn off. At this point, Q3 also turns dependence. Nevertheless, the flash rate
with a peak value equal to ILPEAK flows off, thereby disabling the booster section and duty cycle do vary somewhat as the
through LED1 and, because this scenario and turning off LED1.
battery voltage falls. For example, with
occurs thousands of times every second,
With LED1 off, VP rapidly decays, and R12.2 M, R210 M, and C11 F,
C1 begins to discharge at a rate deter- the test circuits flash rate at VS1.5V is
LED1 appears to be continuously on.
The low-frequency oscillator formed mined mainly by the values of R2 and C1 approximately 0.52 Hz with a duty cycle
around the Schmitt trigger turns the and by Q1s base current. The LED re- of 66%. With a VS of 1V, the flash rate inbooster section on and off at a low rate. mains off until VB2 has fallen below the creases to approximately 0.75 Hz but
To understand how this works, assume Schmitt triggers lower threshold voltage, with a lower duty cycle of 44%. The
that Q1 is off and Q2 is on. Provided that VTL, at which point Q1 turns off, Q2 turns Schmitt-trigger thresholds, VLT and VTU ,
Q2 has reasonably large forward-current on, and the booster section again acti- are typically approximately 0.7V and
gain, you can ignore the effects of its base vates, illuminating LED1. Provided that 1.2V at VS1.5V, falling to approximatecurrent and say that VS and the R3-R5 R1, R2, and C1 are large enough, LED1 can ly 0.6V and 0.8V when VS is 1V.
The LEDs intensity is proportional to
voltage divider set Q2s base voltage, VB2. flash at a low rate. For example, if R1 and
www.edn.com
design
ideas
its average forward current and is thus determined by the peak inductor current, IL, and by the duration of the current
PEAK
pulse through the LED. Provided that L1
is properly rated such that it does not saturate, the peak current depends largely on
the maximum collector current that Q5
can sustain. For a given supply voltage,
this figure depends primarily on Q5s forward-current gain, and on the value of R8
that you can select to give optimum LED
brightness at the lowest supply voltage.
Experiment with different values of R8 to
get the best intensity for a given LED type.
Take care, however, that the peak current
does not exceed the LEDs maximum current rating when VS is at a maximum. The
actual value of L1 is not critical, but values in the range 100 to 330 H should
provide good performance and reasonable efficiency. The transistor types in the
circuit are not critical; the test circuit
works well with general-purpose, smallsignal devices having medium to high
current gain. If possible, select low-saturation types for Q3, Q4, and Q5. C2 is not
essential to circuit operation but helps to
decouple any switching noise at Q2s base.
C4 acts as a charge reservoir and ensures that R1 can charge C1 from a stable
voltage source (VP) when LED1 is on. Because the charging current is likely to be
low, C4 can be fairly small; a value of 10
nF should be adequate. Note that C4 must
connect to the junction of D1 and LED1 as
shown, rather than being charged, via a
rectifying diode, from the flyback voltage
at Q5s collector. The reasons for this
caveat are, first, that this approach ensures that VP is only a diode drop above
VS, thereby minimizing the value of R1
necessary for a given C1 charging current.
Also, and more important, this approach
places the forward voltage of the LED in
the path from VS through L1 and R1 to
Q1s base. Because the forward voltage of
a white LED is usually at least 3V, this
connection prevents Q1 from being
Si4936DY
ome applications require a hot5VIN
swap controller, a circuit-breaker
8
1
7
function, or both for dual-polarity,
C1
dc-input power-supply rails. In some
1 F
C3
10V
hot-swap cases, the requirement is based
R1
100 pF
28.7k
only on inrush-current considerations.
1%
Control of the inrush current is necesR2
sary to eliminate connector stress and
Q2
910k
IC1
2N3906
TPS2331ID
glitching of the power-supply rails. OthQ3
1
14
2N3906
GATE
DISCH
er applications may have issues when one
2
13
R4
DGND ENABLE
of the supplies fails for some reason. A
3
12
2k
TIMER PWRGD
C4, 0.1 F 4
1%
good example is a bias supply for a galli11
VREG
FAULT
5
10
um-arsenide FET amplifier. If you reVSENSE
ISET
6
9
move the negative gate bias, then you
AGND
AGND
R5
7
8
5VIN
10.7k
ISENSE
IN
must also remove the positive drain sup1%
ply; otherwise, the device may destroy itself because of the resulting high
Figure 1
drain current. You can meet both
these requirements by using a singleR6
1M
5
channel, hot-swap controller.
3
6
The circuit in Figure 1 uses a TPS2331,
5VIN
C5
IC1, in a floating arrangement. The cir1 F
Q1B
10V
cuit references the ICs ground to the
Si4936DY
negative input voltage. If the voltage on
the positive rail is too low or the voltage This circuit is a dual-polarity voltage sequencer for low-voltage applications.
5VOUT
C2
CBULK
5VIN
R3
10k
5VOUT
C6
CBULK
www.edn.com
design
ideas
Q1A
Si4936DY
on the negative rail is too high, the cir5V IN
8
5V OUT
cuit cannot attain the 1.225V threshold
1
7
at the VSENSE pin, and the IC turns off. The
C1
C2
1 F
VSENSE pin incorporates approximately 30
C3
CBULK
10V
100 pF
mV of hysteresis to ensure a clean turnR1
5V IN
on with no chatter.
When both supplies are beyond their
R2
R3
respective thresholds, IC1 turns on, pro910k
IC1
R4
10k
TPS2331ID
Q2
viding a controlled-slew-rate ramp-up
1
14
2N3906
GATE
DISCH
of the two FETs. Note that the circuit
2
13
DGND ENABLE
uses only n-channel FETs, which have
3
12
TIMER PWRGD
C4
4
11
lower on-resistance for a given size and
VREG
FAULT
0.1 F 5
10
cost than p-channel devices. To turn on
ISET
VSENSE
6
9
AGND
AGND
Q1A on, the TPS2331 has a built-in
7
8
IN
I
SENSE
charge pump that generates a voltage
5V IN
above the positive rail, thus enhancing
the FET. As the gate voltage builds, Q3
acts as a linear level translator, so
R6
Figure 2
that Q1B also ramps on. The turn1M
5
3
on speed is a function of the TPS2331s
12V OUT
6
14-A output current and the value of 12V IN
C5
1 F
C6
C3. The design uses the FETs based on
Q1B
10V
CBULK
Si4936DY
the maximum resistance allowed in the
dc path and the FETs power-dissipation
NOTE: SELECT R1 AND R4 TO SET THRESHOLD.
figures. You can use virtually any size
FET, depending on the current you want This variation on Figure 1s circuit can handle higher voltages.
to control. Take care that the total voltage span across the TPS2331 does not Figure 2 shows such an application, in handle the higher voltage. This circuit
exceed the maximum rating of 15V. If which 5V and 12V are the input sup- also allows you to use a positive input
IC1 does not float between the input plies. The main requirement is that the voltage as high as IC1s maximum ratrails, the negative input may be larger. level-shifting transistor, Q3, be able to ing of 15V.
www.edn.com
design
ideas
200
ADDRESS CHANGED HERE
150
ADDRESS=010
100
TEMPERATURE
(C)
ADDRESS=000
50
ADDRESS=001
0
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
18
35
52
69
86 103 120 137 154 171 188 205 222 239 256 273 290
50
2
100
REMOTE TEMPERATURE
LOCAL TEMPERATURE
The system in Figure 1 measures ambient (address 000), cold (address 001), and hot (address 010)
temperatures.
serts. You can expand the system to include as many external temperature sensors as your design requires. The limiting
factor on the number of external sensors
is the time available to measure all temperature sensors. If your design requires
two-wire serial control of the multiplexer, you can use an ADG728 in place of the
ADG708.
www.edn.com
design
ideas
www.edn.com
6.8k RSET
FSADJUST
PSEL
FSYNC
FSEL
SCLK
IC1
AD9834
SDATA
IOUTA
IOUTB
MCLK
RESET
100
6.8k RSET
FSADJUST
RESET
MCLK
SCLK
SDATA
IC2
AD9834
IOUTB
FSYNC
PSEL
SUM OF SIGNALS
FROM BOTH
AD9834s
IOUTA
FSEL
100
RTERM
100
You can use two DDS chips to implement amplitude modulation and amplitude-shift keying.
ther method ensures that both parts simultaneously exit the reset state.
You can easily implement 100% AM
with a single AD9834 by toggling the Reset pin or the reset bit in the control register. When the part is in reset, the DACs
output is at midscale. The predetermined
sine wave is available at IOUT when the
DDS exits reset. To calculate the magnitude of the sum of the two signals from
the AD9834s, represent each signal as a
rotating vector (Figure 3). You can easily calculate the magnitude and phase of
the resulting summed vector as follows:
If the length of each vector is 1, then:
December 25, 2003 | edn 57
design
ideas
TABLE 1THE PHASE-REGISTER CONTENTS YIELD FOUR OUTPUT LEVELS FROM THE CIRCUIT IN FIGURE 1
P0
P1
P0
P1
Device
number
A
A
B
B
Phase-register
values ()
45
95
180
210
P0AP0B(45180)
P0AP1B(45210)
P1AP0B(95180)
P1AP1B(95210)
95+80
0.765SIN(2f105)
(SUM OF VECTORS A AND B)
Figure 3
95+210
45+180
Normalized level
of summed signal
0.765
0.426
1.47
1.191
45+210
BSIN
(2f180)
350 mV
233 mV
y3
y2
x2
y1
x3
ASIN
(2f45)
x1
300 mV
Figure 2
GND
The waveforms at the RTERM summing junction use the phases in Table 1.
x1 Cos(45)0.707: y1
Sin(45)0.707;
x2Cos(180)1.00: y2
Sin(180)0;
x3x1x20.293: y3y1y2
0.707;
Magnitude of resulting vector:
(x3)2(y3)20.765;
Phase of summed vector: 112.5
(180Tan1(y3/x3)).
input vector change. To avoid phase discontinuity at the transition, you can set
the resultant phase, P3, to a fixed angle,
say 180p2360p1.
Sin(2fp1)Sin(2fp2)2Cos
(0.5(p1p2))Sin(2f(p1p2)/2).
Desired amplitude: A2Cos [0.5(p1
p2)]; p1p2 2Cos1(A/2).
Resultant phase: P3(p2p2)/2.
Therefore, p1180Cos1(A/2), and
p2180Cos1(A/2) gives amplitude A
with no phase shift at the transition.
design
ideas
Figure 1
R1
5k
15V
1k
47 pF
CV
1
3
2
4
7
10k
3.3k
10k
15V
8
IC1A
OPA2277
2
4
15V
1k
11
ABC V+
IN+ IC
5
3A
O
DI
LM13700
8
IN
BO
BI V
11
16
14
15
13
10
22k
ABC V+
IN+ IC
3B O 12
DI
LM13700
9
IN
BI V BO
BC559
15V
15V 100k
22k
15V
1k
1k
1k
1N4148
GND GND
22k
R2
1N4148
100k
1k
1N4148
10k
10k
15V
15V
10k
47 pF
1k
15V
BC559
5 +
8
IC1B
OPA2277
4
1
3
2
4
7
10k
15V
11
ABC V+
IN+ IC4A
5
DI LM13700 O
8
IN
BO
BI V
6
NOTES:
CONTROL-VOLTAGE INPUT: 10V TO +10V
FOR APPROXIMATELY 10 TO +10-kHz OUTPUT,
DEPENDING ON CAPACITOR VALUES C1 AND C2.
SET CV INPUT TO 1V AND ADJUST R3 FOR
2VPP OUTPUT.
SET CV INPUT TO 1V AND ADJUST R2 FOR
2VPP OUTPUT.
ADJUST R1 SO THAT THE OUTPUT FREQUENCY IS
THE SAME FOR EQUAL-MAGNITUDE POSITIVE AND
NEGATIVE CONTROL VOLTAGES.
22k
3 +
8
IC2A
1
TL072
2
4
16
14
15
13
10
ABC V+
IN+ IC
4B O 12
DI
LM13700
9
IN
BO
BI V
6
15V
15V
1N4148
11
1k
15V
22k
1k
R3
100k
C1
1k
8.2 nF
1k
5 +
8
IC2B
7
TL072
6
4
15V
15V
OUTPUT
90 0
100k
1k
15V
C2
8.2 nF
OUTPUT
0 90
22k
1N4148
1N4148
This quadrature-output VCO produces both positive and negative output frequencies.
from the two buffers with the highest distortion product approximately 40 dB
down from the fundamental.
For negative control voltages, the upper transconductance amplifiers, IC3A
and IC3B, receive bias current, and the
lower amplifiers shut off. The upper
amplifiers work in exactly the same way
as the lower ones, but they cross-connect to the inputs and integrator capacitors. In this way, the in-phase and
quadrature outputs are reversed for
negative control voltages, thus creating
a smooth transition to what you can
consider a negative frequency. In operation, when viewing the outputs on
an X-Y trace, the circular rotation of the
design
ideas
Operational amplifiers
(IC4, IC5) (MCP6022)
Number of bits
Nominal resistance
(potentiometer element)
Specification
8 bits
10 k (typical)
Differential nonlinearity
1 LSB (maximum)
Voltage-noise density
(for half the resistive element)
1 pA at 25C (maximum)
500 V (maximum)
Voltage-noise density
Purpose
Determines the overall LSB and resolution of the circuit.
Achieve better noise performance by using lower resistance
potentiometers. The trade-off for low-noise potentiometers is
higher current consumption.
Good differential linearity ensures that the circuit exhibits no
missing codes.
If the noise contribution of these devices is too high, it reduces
the possibility of achieving 16-bit, noise-free performance.
Selecting lower resistance elements can reduce the
potentiometer noise.
Higher input bias current causes a dc error across the
potentiometer. CMOS amplifiers are, therefore, good choices.
A difference in amplifier offset error between IC4A and IC4B
could compromise the differential linearity to the overall system;
50 V is considerably lower than 1 LSB in Stage 1 of the circuit.
If the noise contribution of these devices is too high, it reduces
the possibility of achieving 16-bit, noise-free performance.
Selecting lower noise amplifiers can reduce overall system noise.
www.edn.com