One of the most common and necessary subcircuits that appears in a wide variety of electronic systems—for example, stereos, TVs, radios, and computers—is a quality dc voltage source or power supply. The standard wall socket supplies an alternating current (ac) voltage waveform shown in Fig. 7.37a, and the conversion of this voltage to a desired dc level is done as illustrated in Fig. 7.37b. The ac waveform is converted to a quasi-dc voltage by an inexpensive ac–dc converter whose output contains remnants of the ac input and is unregulated. A higher quality dc output is created by a switching dc–dc converter. Of the several versions of dc–dc converters, we will focus on a topology called the boost converter, shown in Fig. 7.38. Let us develop an equation relating the output voltage to the switching characteristics.