File:Pwm.png

From KYNNpedia

Original file(1,500 × 1,050 pixels, file size: 85 KB, MIME type: image/png)

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

Other versions

Principle of the intersective pulse width modulation (PWM).

 
This plot was created with Gnuplot by n.

The list of points used to define the tics along the x axis has been generated by the following python code:

#!/usr/bin/python

#this file generates a list of points used as ticks
# to draw the grid in the gnuplot file pwm.plt
from scipy import *

freq= 0.05

n=20
for i in range(n):  
    def f(x):
        return sin(freq*x*2*pi)-2*x+1+2*i
    print i,",", optimize.fsolve(f,0), ",\"
}}
convert -density 300 pwm.eps pwm.png

The codes described above are given to the public domain.

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
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.
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.
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.
You may select the license of your choice.


derivative works

Derivative works of this file:  Pwm.svg

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

File history

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

Date/TimeThumbnailDimensionsUserComment
current08:44, 23 March 2006Thumbnail for version as of 08:44, 23 March 20061,500 × 1,050 (85 KB)wikimediacommons>CyrilB~commonswikiCyril BUTTAY Principle of the intersective pulse width modulation (PWM). This figure has been made using gnuplot 4.0 and the following code: <pre> # This file is used to generate a plot that explains the # principle of the intersective pwm # graph con

The following page uses this file: