Beruflich Dokumente
Kultur Dokumente
↘
applications
Analog-circuit design often re- holding current in fluorescent or solid-
quires a constant-current sink. state lighting. Other examples include a 46 Electronically tinge
An example would be for a TRIAC (tri- precise current sink at the end of a long white-light source
ode-for-alternating current) dimmer line, such as a cable or an ADSL (asym- 48 Transistor boosts
metric digital-subscriber-line) modem, regulator current
VIN which produces a “signature” current
value that alerts the device at the source 48 Detect live ac-mains lines
R2
end, such as an exchange office or a
50k ▶To see all of EDN’s Design
cable center, that the remote equipment
Ideas, visit www.edn.com/
V1=0V R3 is attached. The trick is to make a circuit
designideas.
V2=200V 50k that gives a constant current over a va-
Q1
TD=1 µSEC
∙ MJD50 riety of terminal voltages.
TR=4 mSEC V1 A common circuit for achieving this
TF=1 µSEC ∙
PW=100 µSEC
task uses a sense resistor, a transistor, and smaller biasing resistors, and the circuit
PER=4.1 mSEC a power device. Figure 1 shows the cir- comes into regulation at a much lower
Q2
2N3904
cuit using a power transistor, Q1. The cir- terminal voltage.
R1
cuit provides an approximate constant Unfortunately, the current-sense resis-
13 current at high voltages, but it doesn’t tor, R1, in figures 1 and 2 doesn’t sense
enter regulation until it reaches nearly the bias current. As the terminal volt-
60V due to the base current the tran- age increases, the terminal current also
sistor requires. Figure 2 shows the cir- increases because of the increased bias
Figure 1 Resistor R1 sets a constant
cuit using a MOSFET, Q2, for the power current. A simple way to improve the
current through Q1. device. With a MOSFET, you can use regulation of both circuits is to add re-
VIN VIN
R2 R2
50k 50k
V1=0V R3 V1=0V R3
V2=200V 50k V2=200V 50k
Q1 Q1
TD=1 µSEC TD=1 µSEC
∙ IRF640NS ∙ IRF640NS
TR=4 mSEC V1 TR=4 mSEC V1 R4
TF=1 µSEC ∙ TF=1 µSEC ∙ 10k Q3
PW=100 µSEC PW=100 µSEC 2N3906
PER=4.1 mSEC PER=4.1 mSEC
Q2 Q2
2N3904 Q2N3904
R1 R1
13 13
Figure 2 This circuit substitutes a MOSFET for Q1 in Figure 1 Figure 3 The addition of Q3 and R4 improves current
and uses smaller resistors. regulation.
A 100-mv change
Figure 4 Adding a zener diode improves current regulation over temperature.
with temperature
does not seriously
affect the regulat-
ed current.
↘
fied ac-line voltage is greater than about
When switched-mode power sup- cuits the power supply’s diode bridge. 14V, MOSFET Q1 is on, ensuring that
plies, including those for note- With a large bulk capacitor, the cur- IGBT (insulated-gate bipolar transistor)
book computers, turn on, the bulk ca- rent spike can trigger the mains breaker Q2 is off. In this situation, no current flows
pacitor of the uncontrolled rectifier is or even destroy rectifier diodes. Capaci- through charging the bulk capacitor.
completely discharged. This can result tor and line ESRs (equivalent series re- Whenever the rectified ac-line volt-
in a large charging current for a high in- sistances) and inductances help to re- age is lower than the voltage across the
stantaneous line voltage because the dis- duce the initial spike. Even so, current bulk capacitor plus approximately 14V
charged capacitor temporarily short-cir- peak can reach tens of amperes. The (V1=VIN−VOUT≤14V), Q1 is off, and Q2
Electronically tinge white-light source hue of the output light. To get turquoise
or bluish-green-tinted white light, you
Marián Štofka, Slovak University of Technology, Bratislava, Slovakia simply ground the PD2 pin for short peri-
↘
ods. The relative content of the red com-
White-light LEDs are becoming its wiper pin is one-third scale for IC3, set ponent then decreases below one-third of
commonplace in everyday life. A by the resistor RSH=RA1B1/2, where RA1B1 full-scale. If you ground the PU1, PD1,
classic white LED is an InGaN (indium- is the resistance between the ends of the PU2, or PD2 pins for short periods, you
gallium-nitride) LED, emitting spectrally potentiometer. Voltage follower IC8A en- can arbitrarily set hues of the light. The
“pure” blue light. Photoluminescence sures that the voltage at potentiometer color resolution comes from adding or re-
spreads the spectrum of these LEDs and IC3 remains a constant reference voltage moving current in approximately 3% steps
converts it into a light resembling day- regardless of the position of wiper P1. Volt- while removing or adding an equal num-
light. This conversion takes place in a age follower IC8A is necessary because the ber of approximately 3% steps of the re-
layer of yellow ZnSe (zinc selenide), resistance between the A1 and B1 termi- maining basic color components. A 100%
which covers the InGaN chip. Due to nals of IC3 varies from 10 kΩ for wiper step equals the total light intensity, regard-
production tolerances in the thickness of P1, when grounded, to 3.33 kΩ for the less of color. This intensity is constant be-
the ZnSe layer, these white LEDs are A1 position of P1. In this way, the drivers cause the sum of currents flowing through
available in yellowish warm-white, neu- for the red, green, and blue LEDs gener- the red, green, and blue LEDs is constant
tral, and slightly bluish cool-white grades. ate the same value of current of VREF/3RF, and has a value of VREF/RF. The resistive
To derive another hue from a white-light where VREF is the reference voltage. Thus, DACs have wiper-position margins.
source, you can use the LED driver circuit you get white light at power-on. The zero-scale relative margin is typi-
in Figure 1. If you require, for example, a pale-pink cally 1% of full-scale. The upper-position
The light source, IC1, is an Avago hue, you ground the PD1 pin for a short relative margin, or margin of the upper
Technologies (www.avagotech.com) period. Wiper P1 thus moves down by value of resistance between the B and
ASMT-MT00 RGB (red/green/blue) one step, decreasing the content of green the wiper terminals, is dV=2.4% of full-
LED. The driver contains two resis- light in the resulting light while increas- scale. Resistor RSH artificially increases
tive DACs, IC3 and IC5, which func- ing the contents from the red and blue the upper margin of the VOUTG voltage.
tion as potentiometers (Reference LEDs. The sum of the IR, IG, and IB cur- The following equation yields the maxi-
1). The DAC’s preset pins, PRE1 and rents remains constant, regardless of the mum settable voltage for VOUTG:
PRE2, are grounded. Both resistive positions of wipers P1 and P2. The lumi-
VOUTGMAX≃ 1 × VREF
DACs are therefore set to midscale after nous intensity of the output light holds
power-on. constant. Any further short-term ground- 1+3𝛅𝛅V
The true midscale for the IC3 DAC at ing of the PD1 pin leads to a deeper violet ≃(1−3𝛅𝛅V)×VREF.
color. Thus, changing even a moderate recovers fully to its original rela- red to green,” EDN, Oct 21, 2010, pg
7.2% of basic components of the light tive value of 1/32. When moving P 1 59, http://bit.ly/a96DXg.
5V
VOUTR IG IR IB IC1
ASMT-MT00
R R GREEN RED BLUE
100k 100k
0.2% 0.2% VOUTB
VDD
IC5
VOUTGCOMPLEM A2 AD5228 8 8
2 – 6 –
1 7
P2 IC6A IC6B
3 5
R + +
4 Q2B
100k PRE2 4 AD8692 Q1B
0.2% B2 BF137
R RB
100k 470k
0.2%
GND
RF
4.7
PU2 PD2 LOGIC CONTROL
Q2G Q2R
2 8 8 Q1G Q1R
6 BF137 BF137
– –
IC8A 1 IC8B 7
3 5
+ + RB RB
4 4 470k 470k
AD8692
RF RF
3.9k VOUTG 4.7 4.7
1.25V R R
100k 100k
0.2% 0.2%
RS
100 nF VDD
400k
IC3
A1 AD5228 8 8 8 8
2 6 2 6
– – – –
VREF IC4A 1 IC4B 7 IC7A 1 IC7B 7
P1 VSET 3 5 3 5
IC2 R + + + +
4 4 4 4
ADR1581 100k AD8692
0.2% PRE1 AD8692
B1
R RSH
100k
0.2%
GND
LOGIC CONTROL
Figure 1 At power-up, the AD5228s are set automatically to their midscales, and the circuit produces white light. Short-term grounding of
four control pins lets you tinge the light while holding intensity constant.
Transistor boosts R1
100 MJE350
regulator current
Yngve Linder, Örsundsbro, Sweden
↘
IN LM317LZ OUT
Some circuits require a constant-current source that
ADJ RADJ
doesn’t necessarily connect to a power-supply rail or to
ground. The circuit in Figure 1 shows a simple method for
achieving that configuration.
The LM317 voltage regulator develops 1.25V between the LOAD ILOAD =1.25V/RADJ
OUT and the ADJ pins. Placing a resistor between those pins
produces a constant current. Thus, the circuit’s output current is
V–
1.25V/RADJ. The transistor lets the circuit source more current
than the regulator alone can provide once the current through Figure 1 This simple method achieves a constant-current
source that doesn’t necessarily connect to a power-supply rail
R1 creates enough voltage to turn the transistor on. Otherwise,
or to ground.
the regulator supplies the load current.EDN
↘
driving the LED active. In the absence of
You can use a simple battery-pow- You simply bring the detector coil near any hot ac wire near the detector plate,
ered circuit to detect whether an the socket to see whether it has a proper the 1N4148 diode connected to the first
ac-mains wire is live without making ac connection. If it does, then the LED gate’s inputs keeps the gate biased. This
any electrical contact with it. The cir- will illuminate (Figure 1). bias ensures that, under normal condi-
cuit uses a CD4011 NAND gate’s high The detector in this case is a coil of tions, the final output from the gates is
input impedance to sense a magnetic copper wire. When you place it near a low, keeping the LED off.
field from a 50- or 60-Hz ac-mains line. live wire carrying ac current, the coil Placing the detector plate close to a live
wire sets up an oscillating voltage at the
14 gate’s input at pins 1 and 2. That voltage
produces square waves corresponding to
CD4011 150
5
4
the ac-mains frequency. The remaining
6 three gates of CD4011 connect in paral-
1N4148
DETECTOR 1 +
lel, which increases the current through
8
PLATE OR COIL 3
9
10 3.6V the LED enough to light it.
2 A rechargeable, 3.6V nickel-cadmium
12 battery powers the circuit. You can as-
1N4148 11 LED
13 POWER semble the detector into a convenient,
SOCKET
FOR
pocket-sized glue-stick tube (Figure 2).
CHARGING The circuit consumes nearly no power
7
when the indicator LED is off. Thus, you
Figure 1 A battery-powered live-wire detector lights an LED in the presence of a field.
can also power the circuit using lithium
cells, such as the popular CR2032.EDN
POWER
3.6V SOCKET
+ NICKEL-CADMIUM FOR
IC BATTERY CHARGING
PCB
SHORT PIECE
VARNISH FROM GEL-PEN
COATING REFILL TUBE
Figure 2 The circuit can fit into an empty tube of glue. Be sure to varnish the coil for best performance.