Home | Articles | Forum | Glossary | Books |
AMAZON multi-meters discounts AMAZON oscilloscope discounts Generally considered a power-supply controller, the pulse-width modulator suits many other applications such as lamp-intensity control and motor-speed regulation. By applying the pulse-width-modulator (PWM) capabilities that serve so well in high-efficiency power supplies, you can control many diverse functions. PWM ICs such as the LM3524 contain several operational clocks (see box, "A pulser plus"), giving them the versatility to simplify control tasks. Level a lamp's luminosity As a first example, consider what happens when evaluating optoelectronic sensors or trying to accurately duplicate a 35-mm color slide. The light source used must maintain constant intensity. Fig 1 demonstrates how you can combine a PWM with a photodiode/amplifier stage to servo-level a lamp's output intensity and thereby meet this need. In this design, the LF356 op amp functions as a current-to-voltage converter. Thus, as the lamp's output increases, the resulting higher radiant energy causes the photodiode to draw more current out of the op amp's summing junction. The amp responds by generating a positive-going output voltage that feeds back into the input and re-establishes the summing junction's requisite zero balance. The op amp's output voltage--a function of the photodiode's light-induced current flow-also feeds the PWM's on-chip error amplifier. This amplifier com pares the unknown voltage at pin 1 with the intensity control value set by the 2.5-kO potentiometer. (Note that the reference voltage for the intensity setting comes from the PWM's on-chip 5V supply.) This error voltage, amplified by approximately 70 dB as deter mined by the 1-M-Ohm resistor loading pin 9, controls the PWM's ON time.
In addition to the 1-MO resistor, a 0.001-uF capacitor loads pin 9. This RC combination provides the feedback loop with the proper frequency compensation by rolling off with a 1-msec time constant. Similarly, the 5.6-k-O/0.01-uF combination connected to pins 6 and 7 sets the PWM's oscillator frequency to about 30 kHz. The lamp is driven by a combination of the IC's on-chip transistors and a discrete 2N2219. Fig 2a shows the design's servo action; note that when the 2N2219's collector pulses ON (upper trace), the LM356's output ramps up rapidly (lower trace). But when the drive ramps up rapidly (lower trace). But when the drive transistor turns off, the resultant negative-going signal ramps much slower because the lamp accepts energy more readily than it gives energy up. -- Pulse-width-modulate a lamp to keep its brightness constant -- ==========
A pulser plus Pulse-width-modulator (PWM) ICs --such as the LM3524--include several on-chip function blocks that aid application to circuit dc signs other than regulated power supplies. By gaining an under standing of these circuits' operation, you'll discover how to employ a PWM in many applications. The figure depicts the PWM's major functions: • An on-chip voltage regulator supplies a stable 5V, 50-mA out put for external usage in addition to handling all on-chip supply requirements. Capable of operating over an input voltage range o 8 to 40V (pin 15), this stage's output (pin 16) varies no more than 30 mV with a varying input. Thus, it provides an excellent reference level for closed-loop feedback schemes. • The differential-input trans conductance error amplifier (pins 1 and 2) has a typical open-loop gain of 80 dB. Because the stage's output impedance equals approximately 5 M-O, you can tailor its gain-vs-frequency characteristics by adding a suitable RC network to its output at pin 9 Additionally, you can override the amplifier's effects by applying a d signal directly to pin 9 and thereby forcing the IC to a specific output duty cycle. This stage's common mode input voltage can range from 1.8 to 3.4V. • The current-limit (CL) comparator (pins 4 and 5) can override the error amplifier and take control of the output's duty cycle. This takeover occurs when the inherent 200-mV threshold is exceeded. At that level, the output's pulse width decreases to approximately 25%. And if the input signal in creases to 21 0 mV, the output's duty cycle drops to 0%. • The oscillator generates the comparator's reference ramp and the toggle (T) flip flop's clock signal. Set by timing capacitor CT (pin 7) and resistor RT (pin 6), the oscillator's frequency ranges from at least 1 kHz to 300 kHz. With the oscillator's output pulse (pin 3), you can disable ("blank") transient-sensitive external circuits during the PWM's switching phase. • The pair of alternately switched output transistors considerably extends the device's versatility by providing two control options: First, by connecting the transistors in parallel, you can achieve output pulse-width duty cycles spanning 0 to 90% at a 1 00-mA peak current; second, you can operate these transistors independently in a push/pull con figuration. Under these conditions, you can vary the duty cycle for each device from 0 to 45%. ========== Figs 2b and c better illustrate the lamp's action. Here the servo loop is artificially upset by introducing an external pulse via Fig l's circuit's Step Test port. As shown in Fig 2b, when the input pulse (upper trace) goes HIGH, the diode blocks any bias injection, and the op amp's output (lower trace)-and therefore the lamp's brightness-remains constant. However, when the input pulse goes LOW, current flows out of the intensity-control potentiometer's wiper via the 22-k-Ohm resistor. This action causes the servo loop to low drive level to the lamp proportionately. Note again how the lamp's ON and OFF times differ. But at high intensity levels, the lamp's on/off characteristic reverse themselves (Fig 2c) because the lamp acts as a more efficient radiant-energy source. uP read pulse width vs temperature In a second application, a uP-based data-acquisition m can directly monitor a wide temperature range, Fig 3's design. The temperature transducer, an LM135 IC, provides a highly linear 10-mV/K output voltage over its calibrated range of -55 to + 150°C. (You operate the IC to 200°C on an intermittent basis.) voltage-to-pulse-width conversion circuits-the op PWM and associated networks-can convert any y changing 0.1 to 5.0V input signal to a 0 to u-sec-wide output pulse with 0.1% linearity. Thus, scheme satisfies many data-acquisition require s without modification; just connect an unknown 1 to the 100-kO. input resistor. In Fig 3's configuration, the input resistor string divides down the temperature transducer's output and applies it to the op-amp's noninverting ( +) input. This positive input voltage, once amplified, directly drives PWM's on-chip comparator. (The on-chip error amplifier isn't used because its limited common-mode input range of 1.8 to 3.4V can't encompass the overall design's full capability. The off-chip LM358, on the other hand, handles inputs down to 0V.) The PWM responds to a variable input voltage by rating a variable-width output pulse: 0.1 V yields a 0-width output pulse and 5V produces a 500-u.sec-wide output. The resulting TTL-compatible output is clipped to 1.235V by the LM185 and integrated by the 1-MD./0.1-uF network. This dc feedback voltage summed at the op amp's inverting (-) input and linearizes the voltage-to-pulse-width conversion. (The 1000-pF feedback capacitor provides loop stability.) Adjusting the converter to data-acquisition require s proves simple: Trim the 5-kO. potentiometer for proper pulse width at a known input temperature.
Pulse-width control an oven Fig 4 shows how you can regulate an oven's temperature using just the pulse-width-modulator chip. Here, a platinum resistance temperature detector (RTD) functions as the variable element in a resistive bridge circuit. When you first apply power, the RTD--with its positive temperature coefficient-has a r resistance than the corresponding 2-kO. resistor e bridge, and as a result, the LM3524's + input is more positive voltage than its inverting input. This forces the PWM's output pulse to its max value of 90%; it also turns' on the 2N3507 transistor and thus the oven's heater. When the reaches its operating temperature, the servo shuts to the value needed to maintain temperature equilibrium. ... Hold an oven to within 0.1 using an RTD and one IC The 330 k-ohm/4.7 uF combination sets servo's gain to approximately 55 dB at 1 Hz-more than adequate for most applications. Similarly, the 2.7 -kO/0.2 uF timing components set the pulse's frequency to approximately 15 kHz, a point far removed from the servo’s 1-Hz pole frequency. If you maintain a close the proximity between the RTD and the heater, this design easily maintains a 0.1 C control point over w varying ambient temperatures. A tachless motor controller A tachometer or other speed-sensing device necessary when you employ Fig 5's motor controller. Instead of a tach, this scheme uses the motor's EMF to bias the feedback loop that governs the mo speed. When you apply power, the PWM's +input lies higher potential than its - input. The PWM output a 90% ON pulse that (via the 2N5023) starts the motor turning (Fig 6) and feeds the 1000-pF/500-kO differentiator network. The LM393 compares this level the PWM's 5V reference, and the resulting dc pulse triggers the LF198 sample-and-hold (S/H) dc As shown in Fig 6's waveforms (traces band d), the IC is triggered HIGH (ON) just as the 2N5023 supplying current to the motor (traces a and c). A instant, the motor coils generate a flyback pulse t damped by the shunt-opposed diode. But even after flyback pulse decays, the motor's back EMF remains, and this voltage, held by the S/H chip when the trigger pulse ceases, then controls motor speed. The 10-kO/4-kO divider attenuates the motor's EMF to ensure that the S/H output doesn't exceed PWM's common-mode input range. Additionally S/H's output is filtered to keep things quiet during sampling period and clamped to prevent any negative going signals from damaging the PWM input. S/H's 10-MO bleeder resistor prevents the servo from never achieving stability in the unlikely event that the 0.01-uF sampling capacitor charges to a level greater than the motor's back EMF.) The 39-k0/100-uF time constant sets the loop's frequency response, and the 60-k0/0.1-uF combination determines the pulse-modulation frequency (300 Hz). You avoid overshoot problems and aid the loop's transient response by employing the 2-kO resistor divider and diode network; this configuration limits the maximum output duty cycle to 80%.
Supply analog circuits at ±15V Analog designers interested in the previous circuit seldom have much use for the 5V-only DC power supplies that digital designs thrive on. They will, however, find plenty of use for Fig 7's design; it converts a 5V source into a ± 15V, 100-mA supply suitable for analog designs. Unlike the previous examples, the LM3524's on-chip output transistors here operate out of phase to provide a pulse-width-modulated push/pull signal to the trans former's driver transistors. Switching at 30 kHz, the transformer's output is rectified and filtered to obtain complementary but unregulated dc output voltages. The 15V output feeds back via an adjustable resistor divider and is compared with a reference voltage by the PWM's error amplifier. (The reference must stay at 2.4V to ensure that the error amplifier operates within its common-mode range.) This feedback loop regulates the + 15V output, and an LM137 supplies the -15V. Overcurrent protection results when the PWM's on-chip current-limit comparator senses a 200-m V level across the 2N2219s' 0.33 ohm emitter resistor. When the current exceeds this threshold level, the comparator shuts down the chip's internal drivers and thus the entire converter. You can disable the converter during, for example, power-up sequencing by applying a TTL HIGH at pin 10.
Overcurrent protection comes from sensing the driver transistors' emitter current, and a TTL-level input permits power-up sequencing. |
PREV. Next | Article Index | HOME |