close
Jump to content

File:Three PWM types.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia
    Original file (SVG file, nominally 600 × 500 pixels, file size: 81 KB)
    Description

    Three methods to generate an intersective pwm: leading edge modulation, trailing edge modulation or centered modulation. The reference signal is a sine wave, not plotted. See Image:Pwm.svg for more information.

    Created in maxima using the following code.

    trailsignal(t) := t - floor(t);
    leadsignal(t) := ceiling(t)-t;
    centersignal(t) := 2*abs(t-floor(t-1/2)-1);
    freq : 0.05;
    sinesignal(t) := (1/2) + (499/1000)*sin(2*%pi*freq*t);
    pwmlead(t) := (if(leadsignal(t) > sinesignal(t)) then 0.0 else 1.0);
    pwmtrail(t) := (if(trailsignal(t) > sinesignal(t)) then 0.0 else 1.0);
    pwmcenter(t) := (if(centersignal(t) > sinesignal(t)) then 0.0 else 1.0);
    load(draw);
    draw(terminal=svg,file_name="Three_PWM_types",
        gr2d(yrange=[-0.25,1.25],nticks=20,grid=true,
            user_preamble="set mxtics;set format x "";
                 set origin 0,0.67; set size 1,.3;set bmargin 0; 
                 set tmargin 0",font="Times",
            ylabel="lead",ytics={0,1},axis_bottom=false,
            color=green,explicit(leadsignal(x),x,0,19),
            color=blue,explicit(pwmlead(x),x,0,19)),
        gr2d(yrange=[-0.25,1.25],nticks=20,grid=true,
            user_preamble="set mxtics;set format x "";
                 set origin 0,0.37",font="Times",
            ylabel="trail",ytics={0,1},axis_bottom=false,
            color=green,explicit(trailsignal(x),x,0,19),
            color=blue,explicit(pwmtrail(x),x,0,19)),
        gr2d(yrange=[-0.25,1.25],nticks=20,grid=true,
            user_preamble="set mxtics;set format x "%1.0f T";
                 set origin 0,.07",font="Times",
            ylabel="center",ytics={0,1},
            color=green,explicit(centersignal(x),x,0,19),
            color=blue,explicit(pwmcenter(x),x,0,19))
        );
    
    Date (UTC)
    Source
    Author


    BERJAYA
    This is a retouched picture, which means that it has been digitally altered from its original version. Modifications: recreated in vector graphics using maxima.. The original can be viewed here: Three types.png: BERJAYA. Modifications made by Krishnavedala.

    I, the copyright holder of this work, hereby publish it under the following licenses:
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
    This licensing tag was added to this file as part of the GFDL licensing update.
    GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
    You may select the license of your choice.

    Original upload log

    This image is a derivative work of the following images:

    • File:Three_types.png licensed with Cc-by-sa-2.5,2.0,1.0, Cc-by-sa-3.0-migrated, GFDL
      • 2006-05-07T17:59:14Z CyrilB 1500x1050 (94800 Bytes) {{Information| |Description=three methods to generate an intersective pwm: leading edge modulation, trailing edge modulation or centered modulation |Source=own work, made with gnuplot 4.0 |Date=7/05/06 |Author=Cyril BUTTAY |P

    Uploaded with derivativeFX

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    27 May 2011

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current18:16, 27 May 2011Thumbnail for version as of 18:16, 27 May 2011600 × 500 (81 KB)Krishnavedala{{Information |Description=Three methods to generate an intersective pwm: leading edge modulation, trailing edge modulation or centered modulation. The reference signal is a sine wave, not plotted. See Image:Pwm.svg for more information. Created in

    The following page uses this file:

    Global file usage

    The following other wikis use this file:

    Metadata