新聞中心

        EEPW首頁 > 電源與新能源 > How Pulse Width Modulation works

        How Pulse Width Modulation works

        ——
        作者: 時間:2007-04-26 來源: 收藏

         

         

         

         

         

        Consider a waveform such as this:

        Pwm50

        it is a voltage switching between 0v and 12v. It is fairly obvious that, since the voltage is at 12v for exactly as long as it is at 0v, then a 'suitable device' connected to its output will see the average voltage and think it is being fed 6v - exactly half of 12v.

        So by varying the of the positive - we can vary the 'average' voltage.

        Similarly, if the switches keep the voltage at 12 for 3 times as long as at 0v, the average will be 3/4 of 12v - or 9v, as shown below.

        Pwm75

        and if the output of 12v lasts only 25% of the overall time, then the average is 25% of 12v - or 3v.

        Pwm25

        By varying - or 'modulating' - the time that the output is at 12v (i.e. the of the positive ) we can alter the average voltage. So we are doing 'pulse '.

        I said earlier that the output had to feed 'a suitable device'. A radio would not work from this: the radio would see 12v then 0v, and would probably not work properly. However a device such as a motor will respond to the average, so PWM is a natural for motor control.

        A Pulse Width modulator

        So, how do we generate a PWM waveform? It's actually very easy, there are circuits available in the TEC site. First you generate a triangle waveform as shown in the diagram below. You compare this with a d.c voltage, which you adjust to control the ratio of on to off time that you require. When the triangle is above the 'demand' voltage, the output goes high. When the triangle is below the demand voltage, the output goes low.

        Pwmtriang

        When the demand speed it in the middle (A) you get a 50:50 output, as in black. Half the time the output is high and half the time it is low.

        Fortunately, there is an IC (Integrated circuit) called a comparator: these come usually 4 sections in a single package. One can be used as the oscillator to produce the triangular waveform and another to do the comparing, so a complete oscillator and modulator can be done with half an IC and maybe 7 other bits.

        The triangle waveform, which has approximately equal rise and fall slopes, is one of the commonest used, but you can use a sawtooth (where the voltage falls quickly and rinses slowly). You could use other waveforms and the exact linearity (how good the rise and fall are) is not too important.



        關鍵詞: modulation pulse width

        評論


        相關推薦

        技術專區

        關閉
        主站蜘蛛池模板: 乌鲁木齐市| 启东市| 商洛市| 札达县| 邵武市| 沾化县| 南充市| 临西县| 鄂州市| 且末县| 灵璧县| 临海市| 桂阳县| 商河县| 社旗县| 阳新县| 株洲县| 建宁县| 漳平市| 高平市| 台南县| 东安县| 抚松县| 云龙县| 忻城县| 三台县| 承德市| 兰溪市| 洪洞县| 宁晋县| 钟山县| 凤城市| 哈密市| 麻城市| 台南县| 池州市| 左贡县| 区。| 中阳县| 罗山县| 禹州市|