beautypg.com

Maxim Integrated MAX11300PMB1 Peripheral Module and Munich (USB2PMB1) Adapter Board User Manual

Page 30

background image

MAX11300PMB1 Peripheral Module and Munich (USB2PMB1) Adapter Board Quick Start Guide



6.3. Generate PWM with Potentiometer-Adjustable Pulse-Width
In this example, a sawtooth waveform is generated and fed to a comparator (i.e., a level
translator). The output of the comparator is high if the signal is above the threshold or
low if the signal is below the threshold (same case for a level translator). As the position
of the sawtooth waveform is moved up or down when the potentiometer is adjusted, the
width of the curve above the threshold is wider or thinner. See

Figure 32

and

Figure 33

.

Figure 32. A Sawtooth Waveform Shown Is Generated and Applied to a Level

Translator, Resulting in a PWM as Depicted in Figure 33

Threshold

30