Beruflich Dokumente
Kultur Dokumente
designideas
AND FRAN GRANVILLE
D Is Inside
Digital countdown timer may never 80 Wide-range regulator delivers
need battery replacement 12V, 3A output from 16 to 100V
source
Mark E Buccini, Texas Instruments, Houston, TX
82 Stable, 18-MHz oscillator
Comprising a microprocessor, an
LCD, a 32.768-kHz crystal, and
proximately 200 mAhr of rated ener-
gy capacity. To achieve the design goal features automatic level control,
little else, the basic countdown-timer of 10 years of continuous operation, clean-sine-wave output
circuit in Figure 1 operates from a the system’s average current consump-
commonly available CR2032 lithium- tion must not exceed 2.28 A, which 84 Ultra-low-noise low-dropout
coin-cell battery. Based on the circuit’s you calculate by dividing the battery’s regulator achieves 6-nV/Hz
calculated current drain, the battery energy capacity by the system’s opera- noise floor
may never need replacement over a tional life: 200 mAhr/10 years/365
projected 10-year operational life. days/24 hours2.28 A. A micro- generates an interrupt once per second.
Careful selection of the battery and dili- processor from Texas Instruments’ The interrupt awakens the processor,
gent exploitation of the microproces- MSP430 family presents a low-stand- which executes an active main-software
sor’s low-power modes help minimize by-current demand of only 0.8 A, loop that decrements a countdown reg-
power consumption and thus maximize which includes current drawn by its ister via direct BCD (binary-coded-dec-
battery life. The coin-cell battery’s size crystal oscillator, integrated LCD imal) subtraction. Adding a value of 99
and flat form factor encourage minia- driver, and interrupt-driven wake-up (decimal) to the countdown register
turization for portable-system applica- timer. The 31/2-digit LCD, a Varitronix and discarding the leftmost digit per-
tions. In addition, the lithium cell pres- model VI-302-DP, consumes an addi- form a one-digit subtraction. For exam-
ents a flat voltage-versus-time discharge tional 1 A. The total standby-current ple, 2199120; dropping the one in
curve that allows direct drive of the consumption for all active countdown- the 100s place yields a value of 20. As
LCD’s segments to produce high con- timer components is thus 1.80 A. a bonus, this method directly displays
trast without additional compensation In normal (standby) operation, the the countdown register’s contents on
circuitry. microprocessor’s 32-kHz external-crys- the LCD without requiring current-
A typical CR2032 cell delivers ap- tal clock drives an internal counter that hungry binary-to-BCD conversions.
(You can download the timer software’s
assembly-language listing from the
online version of this Design Idea at
www.edn.com/050623di1.)
DISPLAY As a final step, the main loop com-
pares the countdown register’s contents
with zero to determine whether the pre-
BUS
CONNECTIONS
programmed time interval has expired.
If so, the display flashes the time-out
R1
DVCC/AVCC
S0-S23
message. The main loop activates the
3V
68k CPU and its on-chip high-speed oscil-
RESET
RST/NMI
COM0-3 lator, which consume a total of 250 A.
BATTERY
DVSS/AVSS
IC1 32,768 Hz Writing the software to execute 100 or
MSP430F412IPM XIN
S1
fewer clock cycles—equivalent to 100
XOUT
sec at the default 1-MHz CPU clock
Y1 frequency—reduces current demand.
With such a short active period, the
main loop’s total current consumption
Figure 1 A half-dozen components are all it takes to build a battery-thrifty count- is virtually negligible: Main loop250
down timer. mA(100/1 million)0.025 A.
Stable, 18-MHz oscillator output drives Q1’s Gate 2 to set the de-
vice’s gain and thus control RF output.
features automatic level control, Connected to the center tap of coil
L1, trimmer capacitor C18 allows fine
clean-sine-wave output adjustment of the oscillator’s frequen-
Jim McLucas, Longmont, CO cy. If decreased frequency stability is
acceptable, you can replace C18 with a
A recent Design Idea described
a method for designing simple,
Spice-circuit simulation predicts a sec-
ond-harmonic amplitude of 35 dB be-
low-cost ceramic trimmer. Piston-type
trimmers are rather expensive and less
high-frequency LC oscillators with few low the fundamental. The second har- available than ceramic trimmers, but a
passive components (Reference 1). monic exceeds the amplitudes of all typical ceramic trimmer exhibits a
However, for best results, practical hard- higher order harmonics, and an oscil- temperature coefficient that’s at least
ware design of a stable oscillator requires loscope measurement displays a clean- an order of magnitude worse than a pis-
more parts and greater complexity. looking sine wave across the 50 load. ton trimmer’s. To operate the oscilla-
Figure 1 shows a stable, 18-MHz oscil- To provide a good termination for tor at a frequency other than 18 MHz,
lator with automatically leveled output the amplifier and still obtain 7.3 dBm multiply the inductance of L1 and the
amplitude control and an output buffer (1.47 V p-p)—for example, to drive a capacitances of C12, C13, C16, C17, and
that delivers a sine wave with low har- diode-ring mixer—you can insert a C18 by 18/fOSC2, where fOSC2 is the new
monic content (Reference 2). In addi- 50, 5-dB pad between output trans- frequency in megahertz. Adjust the tap
tion, this Design Idea replaces the orig- former T1 and the load. Potentiometer for Q1’s source connection so that it re-
inal JFET oscillator with an inexpensive R2 adjusts the RF output level, and, for mains at about 20% of the winding’s
dual-gate MOSFET: an Infineon Tech- increased stability, you can replace R2 total number of turns as counted from
nologies BF998, available from DigiKey with a fixed resistive divider built with the inductor’s grounded end.
and other sources. low-temperature-coefficient, metal- You can replace the series combina-
The heart of the circuit comprises a film, fixed resistors. Part of the signal tions of C12 and C13 with a 13-pF ca-
Hartley oscillator, Q1. To minimize at Q4’s collector drives the gate of JFET pacitor, and you can replace C14 and
loading, a 10-k resistor couples the source follower Q5 through C7 and R9. C15 with a 2.5-pF capacitor. If you re-
output from Q1’s source to the high-in- Diode D1 rectifies the signal, which, af- design the circuit for a different fre-
put-impedance gate of source follower ter filtering, feeds operational amplifi- quency, adjust the values of C14 and
JFET Q2. In turn, Q2 drives Q3, a BJT er IC1’s inverting input. Resistor R1 and C15 or their single-capacitor replace-
(bipolar-junction-transistor) emitter low-temperature-coefficient poten- ment for just enough capacitance to
follower, which in turn drives BJT am- tiometer R2 divide the 12V supply to ensure reliable start-up under all antic-
plifier Q4. Toroidal-core transformer T1 produce a dc reference voltage for IC1’s ipated operating conditions. Also, note
couples Q4’s output to a 50 load, de- noninverting input and set the output that using two capacitors for C16 and
livering 2.61V p-p or 12.3 dBm. A signal’s level. After filtering, IC1’s dc C17 helps reduce start-up drift, as does
T1
ⳮ12V 8V 12V
25 FIVE R12 VOUT
C11 TURNS TURNS 50
0.01 F
C9 C10
R11 VOUT
C8 0.01 F 0.01 F
Q1 10k 2.61VP-P
1000 pF
BF998 D 12.3 dBm
C14 C15
G2
5 pF 5 pF
G1 Q2
2N5486 D
S
R13
L1
C12 FOUR C16 C17 1M R14 Q3 Q4
1.09 S
TURNS 10k C19
22 pF H 22 pF 33 pF 2N3904 2N3904
0.01 F
R18
C13 FOUR 47
33 pF TURNS R15 R16 R17
1.5 C 2.2k 2.7k 1k
18
TURNS R19 C20
82 0.01 F
ⳮ12V
Figure 1 This low-distortion, 18-MHz oscillator offers high stability and automatic output-level control.
using temperature-stable (NP0-char- ity and remain within Q1’s 12V maxi- REFERENCES
acteristic) ceramic-dielectric capaci- mum drain-to-source-voltage rating, 1 Martínez, H, J Domingo, J Gámiz,
tors for C12 through C17. The buffer am- the 8V supply powers only the oscilla- and A Grau, “JFETs offer LC oscillators
plifier, Q2 through Q4, requires mod- tor. Using the specified components with few components,” EDN, Jan 20,
ifications for operation at frequencies and at a constant ambient temperature 2005, pg 82.
above approximately 25 MHz. of 22C, after an initial 10-minute 2 Reed, DG, editor, “A JFET Hartley
A well-regulated external dc source warmup period, the oscillator’s fre- VFO,” ARRL Handbook for Radio
(not shown) provides 12, 12, and 8V quency drifts at an average rate of 2 Communications, 82nd Edition, Amer-
to the circuit. To maintain high stabil- to 3 Hz per minute over one hour.EDN ican Radio Relay League, 2005.
VDD VDD
R1
2 7 10k
OUTF _ Q1*
IN
C4
OUTS 6
IC2 where VN_OUT represents
FDN302P
0.01 F + MAX4475
IC1 C3
1 F
C2
+
1 F
C1 the low-dropout circuit’s
MAX6126 100 F
output noise, VN_REF rep-
R2 VOUT
1
NR 3.9k resents the reference
C6
C5 1 F noise, VN_OPAMP repre-
0.1 F GND GNDS
3 4
R3
2.4k
sents the op amp’s input-
referred noise, and H(f)
represents the R1-C1 low-
*FAIRCHILD SEMICONDUCTOR OR EQUIVALENT pass filter’s transfer func-
tion. If a noise frequency
of interest falls well below
Figure 1 This low-dropout-voltage regulator features a noise floor of only 6 nV/Hz, making it an
the filter’s cutoff frequen-
ideal power source for low-noise oscillators.
cy, the reference noise is
negligible, and the low-
above IC1’s 0.16-Hz cutoff frequency. C1 attenuates high-frequency noise on dropout circuit’s output noise compris-
The filtered reference voltage drives the voltage reference’s output. The op es only the op amp’s noise multiplied by
the inverting terminal of error ampli- amp’s noise current, 0.5 fA/Hz, is the closed-loop gain. The feedback
fier IC2, a Maxim MAX4475, which negligible with respect to its voltage loop suppresses VN_FET, the MOSFET’s
regulates the output voltage by means noise, 4.5 nV/Hz. The reference- noise contribution, which therefore
of Q1, a P-channel power FET source noise source adds to the op-amp volt- can’t contribute to the output noise.
follower. Feedback resistors R2 and R3 age noise because they effectively con- For frequencies within the loop’s band-
determine the output voltage as fol- nect in series. The MOSFET’s noise width, the low-dropout circuit also
lows: R2R3[(VOUT/2.048V)1]. contribution appears at Q1’s input. rejects ripple and noise voltages that
The simplified noise-analysis diagram The noise at IC2’s inverting terminal the power supply introduces.
illustrates the components’ noise con- equals the noise at its noninverting ter- Figure 3 shows a plot of noise den-
tributions (Figure 2). Lowpass filter R1- minal: sity versus frequency for the circuit of
Figure 1, which exhibits a noise floor
MORE AT EDN.COM
of about 6 nV/Hz at 1 kHz. For com-
+ We now have a page exclusively parison, the plot shows the noise-meas-
devoted to Design Ideas on our Web urement instrument’s noise floor and a
site. Check it out at www.edn.com/ typical low-dropout circuit’s much
designideas. and higher noise density—for example, 500
nV/Hz at 1 kHz for the MAX8887
+ And to see our “Best of Design low-noise, low-dropout circuit.EDN
Ideas” in 10 categories, check out
www.edn.com/bestofdesignideas.
IN_OPAMP IC2 Q1 10
+
C1 VN_FETs
VN_REF +
NOISE FLOOR
1
10 100 1000
FREQUENCY (Hz)