File:Sigma-delta PWM.svg

Original file (SVG file, nominally 600 × 500 pixels, file size: 316 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

edit
Description

Main signals of a sigma-delta Pulse-Width Modulation (PWM).

The input signal is one period of sinusoidal waveform, the error signal, the integrated signal and the final PWM signal.

Created using maxima:
freq : 0.05;
stepSize : 2e-2;
stepLim : ceiling(1/(freq*stepSize));
hyst : 0.15;
Xgrid : [0];
Xaxis : makelist(k*stepSize,k,0,stepLim)$
refSignal(t) := sin(2*%pi*freq*t);
intSignal : [0];
errVal : [0];
  /* this loop takes quite some time to execute */
pwmSignal : block(x:[1],for i:1 thru stepLim step 1 do block(
    errVal : append(errVal,[refSignal(i*stepSize) - x[i]]),
    intSignal : append(intSignal,[intSignal[i]+(errVal[i]*stepSize)]),
    if (intSignal[i+1] > hyst) then 
        x : append(x, [1])
    elseif(intSignal[i+1] < (-hyst)) then 
        x : append(x, [-1])
    else
        x : append(x, [x[i]])),
    x
)$
Xgrid : block(x:[],for k:2 thru stepLim step 1 do 
    if(pwmSignal[k-1]#pwmSignal[k]) then 
        x : append(x,[Xaxis[k]]),
    setify(x));
plot1 : gr2d(
    user_preamble="set format x \"\";set bmargin 0;
        set format y \"\"",
    font="Times",grid=true,xtics=Xgrid,
    points_joined=true,point_type=dot,
    points(Xaxis,errVal),yrange=[-2,2],
    color=green,explicit(refSignal(t),t,0,20),
    ytics={-2,-1,0,1,2},ylabel="Ref. and Error"
)$
plot2 : gr2d(
    user_preamble="set format x \"\"; set tmargin 0;
        set bmargin 0",
    font="Times",grid=true,xtics=Xgrid,
    points_joined=true,point_type=dot,
    color=magenta,points(Xaxis,intSignal),
    yrange=[-.25,.25],ytics={-.2,0,.2},
    ylabel="Integration"
)$
plot3 : gr2d(
    user_preamble="set format x \"\";set bmargin 1.75;
        set xlabel \"Time\" 0,1.5",
    font="Times",grid=true,xtics=Xgrid,
    points_joined=true,point_type=dot,
    points(Xaxis,pwmSignal),yrange=[-1.25,1.25],
    ytics={-1,0,1},ylabel="Sigma-Delta PWM"
)$
draw(terminal=svg,file_name="Sigma-delta PWM",
    plot1,plot2,plot3);
Date (UTC)
Source
Author


This is a retouched picture, which means that it has been digitally altered from its original version. Modifications: recreated in vector graphics. The original can be viewed here: Sigma delta.png. 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

edit

This image is a derivative work of the following images:

  • File:Sigma_delta.png licensed with Cc-by-sa-2.5,2.0,1.0, Cc-by-sa-3.0-migrated, GFDL
    • 2006-06-06T20:41:54Z CyrilB 1500x1050 (95208 Bytes) {{Information |Description=Main signals of a sigma-delta Pulse-Width Modulation (PWM) |Source=Own Work |Date=6/6/2006 |Author=Cyril BUTTAY |Permission=as licenced |other_versions= }}

Uploaded with derivativeFX

File history

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

Date/TimeThumbnailDimensionsUserComment
current18:18, 30 May 2011Thumbnail for version as of 18:18, 30 May 2011600 × 500 (316 KB)Krishnavedala (talk | contribs)added unicode font for sigma-delta
18:11, 30 May 2011Thumbnail for version as of 18:11, 30 May 2011600 × 500 (316 KB)Krishnavedala (talk | contribs){{Information |Description=Main signals of a sigma-delta Pulse-Width Modulation (PWM). The input signal is one period of sinusoidal waveform, the error signal, the integrated signal and the final <math>\Sigma-\Delta</math> PWM signal. |Source=*[[:File:Si

The following page uses this file:

File usage on other wikis

The following other wikis use this file:

Metadata