Documente Academic
Documente Profesional
Documente Cultură
ideas
D1 (MURS120) MBRS130 + + 100 F + 5V AT 1A 300 D2 MBRS130 (MURS120)
T1 (COILTRONICS) CTX03-14439
5V 100 F
MMDF3N03HD 300
1 2 3 4 MAX253 IC1
8 7 6 5 0.1 F 5V
90 SCHOTTKY 80 ULTRAFAST 70 60 EFFICIENCY (%) 50 40 30 20 10 0 100 200 300 400 500 600 700 800 IOUT (mA) 900 1000 1100 1200 1300 MURS120 MBRS130
Figure 2
The efficiency of the circuit in Figure 1 depends directly on the forward drops of the output rectifiers.
www.ednmag.com
design
ideas
have a built-in SPI (serial-peripheral-interface) port that you can use to effect serial programming. The SPI port uses only the system-clock (SCK), master-output/ slave-input (MOSI), and master-input/ slave-output (MISO) pins. The AVR data book requires that, to place a C in serial-programming mode, you must first pull the Reset and SCK pins low (Reference 1). Then, the C must execute a programming-enable instruction before it can execute any program of erase instructions. Hence, you need four pins to control the programming of a C. For instance, the control signals from the AT89C4051 port pins P1.4 to P1.7 are for 40-pin Cs, the signals from P1.0 to P1.3 are for 20-
pin Cs, and the signals from P3.2 to P3.5 are for eight-pin Cs. Note that you need pullup resistors for the AT89C4051 port pins P1.0 and P1.1, because these pins normally serve as analog-signal-input lines. Jumper JP1 controls the 5V power supply for 20- and eight-pin Cs. You should remove the jumper when programming 40-pin Cs, which use a hard-wired connection to the 5V power. The circuit uses two 4-MHz ceramic resonators: CR2 for 20-pin Cs, and CR/CR3 for 40- or eight-pin Cs. Because the wires for the resonators should be as short as possible, the circuit uses no switching or jumping mechanisms. Instead, it uses one more resonator, CR2 thats hard-wired to pins 4 and 5 of the
VR1 5V 9V DC 78L05 + C1 10 F C2 0.1 F 20 1 + R1 330 C3 4.7 F LED1 P1.7 11 5V P3.7 P1.6 P1.5 P1.4 C4 + 10 F 1 C6 + 4.7 F 16 2 4 + C5 10 F P1.3 P1.2 C7 4.7 F P1.1 12 6 CR/CR3 4 MHz CR2 4 MHz VCC RST IC2 AT89C4051 19 18 17 16 MOSI MISO SCK RESET R2 10k R3 10k VCC 1 2 3 4 5 6 7 8 9 10 15 14 13 RESET2 11 12 13 14 15 16 P3.2 RESET3 17 18 19 20 5V 5 XTAL1 7 P3.3 8 P3.4 9 P3.5 1 2 3 4 5 6 7 8 9 10 GND 1 2 3 4 8 7 6 5 20 19 18 17 16 15 14 13 12 11 40-PIN ZIF SOCKET 40 39 38 37 36 35 34 33 32 31 30 29 VCC2 SCK2 C9 0.1 F JP1
Figure 1
IC1 3 MAX232 5
J1
7 8
9 10 6
Exploit the power of Atmels AVR Cs, using this easy-to-build programmer.
15
2 3 C8 4.7 F
P1.0 RX TX
www.ednmag.com
design
ideas
contains the host-PC communication program. You can download these routines from EDNs Web site, www.ednmag.com. Click on Search Databases and then enter the Software Center to download the file for Design Idea #2504. (DI #2504) References 1. 8-bit RISC Microcontrollers Data Book, Atmel Corp, August 1999. 2. Xu, Guo-Yin, 8X51 EPROM/flash microcontroller programmer, Circuit Cellar Magazine, April 1998.
20-pin C pins 14 and 15 of the ZIF socket. This connection does not disturb the programming of 40-pin Cs. In addition to the hardware in Figure 1, the programmer also needs associated software. A binary file, AVRP1.BIN, holds the finished AVR-programmer software, burned into the AT89C4051 C by using an 8X51 EPROM/flash C programmer (Reference 2). A DOS file, AVRP1.EXE,
soft-start capacitor, C9. At this point, the latch-off circuit begins to take over. When the voltage across C9 decreases to a couple of volts below VCC, Q2 turns on and begins to source current, charging C12. After a time interval depending on the values of R5 and C12, Q5 turns off and pulls the shutdown pin low, thereby turning off the controller. Because this action internally grounds the soft-start pin (to allow a normal soft-start cycle at turnon), the circuit remains latched in the off state. You can initiate a reset by applying a fast logic high to the reset line. C6 and C7 provide a differential pulse to the base of Q4, which discharges C12, allowing the
R1 10
regulator to restart. If you dont need the reset function, you can eliminate C6, R7, R10, and Q4. You can then initiate a restart by recycling the 5V input power. The only timing requirement is that the latch-off delay be greater than the soft-start rise time at turn-on. Otherwise, the regulator can never start. You can modify the circuit to work with any other controller, such as the LTC1553, having the soft-start function. (DI #2503)
12V
Figure 1
C1 330 F 6.3V IC1 LTC1430 15 PV CC2 14 VCC 11 FSET 12 IMAX 8 SD 10 COMP 9 SS 4 SGND PVCC1 G1 IFB G2 PGND SENS +SENS FB 2 1 13 16 3 5 7 6 R6 1k Q3 IRF7801 L1 2.4 H + D1 MBRS130 C7 330 F C10 330 F 6.3V 6.3V + C8 330 F 6.3V OUTPUT 3.3V AT 7A E2 C15 0.1 F E1 + C4 1 F C + 1 330 F 6.3V 5V C2 C3 + 330 F + 330 F 6.3V 6.3V
C8 0.1 F R3 16k
R2 51
Q1 IRF7801
R4 10k Q2 TP0610T
C9 0.01 F
R10 10k
R11 10k
You can add a latch-off current-limiting feature to a simple pulse-width-modulation controller by adding a few external components.
www.ednmag.com
design
ideas
controlling the duty cycle of the top MOSFET for VOUT1, Q1, so that average input voltage to the buck inductor, L1, is equal to the output voltage. The buck inductor and output capacitors C3 to C5 three 330- F capacitors in parallelintegrate and filter the energy pulses from Q1 to generate the dc output. After Q1 turns off, the bottom MOSFET for VOUT1, Q2, turns on to conduct inductor current to the load. To avoid shoot-through current, a short dead time occurs before each MOSFET turns on. During this dead
time, inductor current flows through the commutating diode, D1, to the load. Feedback resistors R3 and R4 connect IC1s internal error amplifier to the output. Loop-compensation components R1, C1, and C2 control the frequency response of the error amplifier. The internal current comparator senses inductor current by the voltage developed across the current-sense resistor, R2. The 3.3 regulator, which produces VOUT2, functions exactly like the 5V regulator. Q3 and Q4 are the top and bottom
Figure 1
47k
0.1 F
10 10 1 1000 pF 2 SENSE 1 3 4 5 82 pF 6 7 8 VOSENSE1 ITH1 POR2 COSC SGND LBI LBO SFB1 ITH2 VOSENSE2 SENSE 2 SENSE+2 IC1 LTC1438-ADJ SENSE+1 RUN/SS1 BOOST 1 TGL1 SW1 VIN BG1 INTVCC PGND BG2 EXTVCC SW2 TGL2 BOOST 2 RUN/SS2 28 27 26 25 24 23 22 21 20 19 18 17 16 15 0.1 F 10 0.1 F C14 TO C16 + 330 F 35V 3 VIN2 5.5 TO 2.8V CMDSH-3 0.1 F Q4 L2 5.2 H R6 0.01 R8 35.7k 1000 pF 1 F + 0.1 F CMDSH-3 Q2 L1 5.2 H D1 Q3 D2 C3 TO C5 330 F + 6V, 3 C8 TO C10 330 F 6V, 3 Q1 R2 0.01 10 0.1 F 0.1 F 50V VIN1 5.5 TO 28V
R1 2.2k POR2
C2 2200 pF
1M 280k
R3 35.7k R4 11.0k
1000 pF 100 pF
4.7 F 10V
9 10 11 12 13 14 1000 pF MMSD914 10
R7 20.0k
0.1 F NOTES: C11 TO C13, C14 TO C16=SANYO 35CV330GX. C3 TO C5, C8 TO C10=KEMET T495X337M006AS. D1, D2=MOTOROLA MBRD835L. L1, L2=PULSE ENGINEERING PE-53700. Q1, Q4=SILICONIX SUD50N03-10. Q2, Q3=SILICONIX Si4420DY. R2, R6=IRC LRF2512-01-R010-J.
A single IC regulates both 5 and 3.3V outputs; each output delivers 8A.
www.ednmag.com
design
ideas
high but goes low when the input voltage is low. IC1 includes a complete power-onreset circuit. At startup, the POR2 pin is low. This pin goes high 65,536 oscillator cycles after Channel 2s output voltage reaches 95% of its programmed value. The POR2 pin goes low if the output voltage falls 7.5% from nominal. Each output has a RUN/SS pin that provides output-voltage delay, output-current soft-start, and on/off control. The value of the capacitor connected to the RUN/SS pin determines the output voltage delay and the inductor-current ramp time, both at a rate of 0.5 sec/ F. Pulling a RUN/SS pin low turns off that output voltage. Pulling both RUN/SS pins low shuts down IC1, turns off all internal circuitry, and limits the input current to 16 A. (DI #2494) To Vote For This Design, Circle No. 369
MOSFETs, respectively, and L2 is the buck inductor. D2 is the commutating diode. Feedback resistors R7 and R8 connect the error amplifier to the output. R5, C6, and C7 are the loop-compensation components, and R6 is the sense resistor. C8, C9, and C10 make up the output capacitor. The circuit in Figure 1 has some features that add versatility. The low-battery comparator in IC1 flags a low-input-voltage condition. Normally, the LBO pin is
to 2N2906 common-base comparator. When the emitter current approaches zero, the collector voltage falls to 4V and triggers the delay timer, initiating gate drive to the switches. Positive-going pin 3 of the 555 also removes the trigger threshold by coupling to the diode OR gate. Because the circuit generates the 12V operating voltage only during offtime, the limit for maximum delay is ap-
proximately 7 msec.You trim the delay by selecting a resistance value from Pin 5 to raise (pins 5 to 8) or lower (pins 5 to 1) the upper comparator threshold at Pin 6. Thus, load power is from 0 to 90% of maximum (600W). You must use a heat sink for the power MOSFETs. (DI #2506).
To Vote For This Design, Circle No. 370
Figure 1
N
1N4005
1N4005 RLOAD L
IRFP264
IRFP264
10
10 6.8k CW
10k 3W
2N3906 47k 3
4 50k 5
TLC555CP
47 F + 25V
2 1
6 7 0.1 F
This smart switch provides a small initial current for loads with a normally high inrush current.
www.ednmag.com
design
ideas
6V and closes with a gate voltage of 0V. Q3 compensates for the switching-circuit losses and buffers the output. R9 and R10 provide an appropriate input impedance to Q3 and limit the output to 5V p-p, thus preventing any possible damage to the PCs microphone input. IC1, which acts as low-level retriggerable monostable multivibrator, controls the Q2 FET switch. Loudspeaker voltage levels as low as 15 mV from the PC cause comparator IC1As open-collector output to discharge C6 via R18. The falling voltage of C6, passing the threshold of comparator IC1B, produces a high output that turns off Q2. Any input from the PCs loudspeaker output discharges C6. The absence of an input allows C6 to charge within approximately 40 msec to the IC1B threshold, producing a low-level output and turning on Q2. LED D2 lights whenever no loudspeaker output is present, and the microphone input to the PC becomes enabled. D1 reduces the Q2 gate voltage to 0V when the IC1B output saturates. You should set R1 such that approximately a 100-mV p-p microphone input just triggers IC1, as indicated by the LEDs extinguishing. This level prevents any noise from the PCs loudspeaker output from falsely triggering the monostable multivibrator. (DI #2508).
Figure 1
R1 27k Q1 2N3904 C2 0.1 F R3 1k
12V
C1 + 150 pF J1
R10 2k
R4 10k
FROM PC MIC
R2 20k
R5 1M
12V
R15 10M
J3 X
R20 220k
R21 220k 5 + 6 8
R22 10M
R23 10k
R24 4.7k
TALK D2 LED
7 D1 1N4148
IC1B 4 LM393N
R25 150k
C6 0.022 F
FROM PC SPEAKER
Eliminate annoying echoes from loudspeaker-microphone feedback by using this simple circuit.
www.ednmag.com
design
ideas
Q2). For input voltages that exceed VR3s breakdown voltage by approximately 3V, R6 and VR3 dissipate the energy the charge pump supplies. In this mode, the circuit functions as a source follower, and the output voltage is approximately 3V lower than VR3s breakdown voltage. The circuit dissipates minimal power. During transients, the load current determines the dissipation in Q2. (DI #2499)
VOUT D3
www.ednmag.com
design
ideas
Address
ZIP
Date