File:Pwm.svg
维基共享资源,媒体文件资料库
跳转到导航
跳转到搜索
此SVG文件的PNG预览的大小:600 × 500像素。 其他分辨率:288 × 240像素 | 576 × 480像素 | 922 × 768像素 | 1,229 × 1,024像素 | 2,458 × 2,048像素。
原始文件 (SVG文件,尺寸为600 × 500像素,文件大小:71 KB)
文件信息
结构化数据
说明
摘要[编辑]
描述Pwm.svg |
English: Principle of the intersective pulse width modulation (PWM). Created with maxima.
Русский: Принцип перекрёстной широтно-импульсной модуляции |
日期 | |
来源 | 基于如下对象的个人作品: Pwm.png 由 CyrilB |
作者 |
矢量: |
其他版本 |
|
SVG开发 InfoField |
Source Code |
---|
sawtooth(t) := t - floor(t);
freq : 0.05$
sinesignal(t) := (1/2)+(499/1000)*sin(2*%pi*freq*t);
pwm(t) := if(sawtooth(t) >= sinesignal(t)) then 0 else 1;
load(draw)$
n : 1e4;kill(crossing);
crossing : (x:[0],
for i:0 while i<20*n do
if( pwm(i/n)#pwm((i+1)/n) ) /* detect edge */
then x:append(x,[(i/n)]),
setify(x));
length(crossing); /* copy the x-tics from here */
source : gr2d(
font="Times",nticks=50,
grid=true,ytics={0,1},yrange=[-.25,1.25],
user_preamble="set format x "";set xlabel "" 0,1;
set bmargin 0;set tmargin 0",
xtics= {0,0.592,0.999,1.762,1.999,2.893,2.999,3.973,
3.999,4.998,4.999,5.975,5.999,6.911,6.999,7.816,7.999,
8.698,9,9.567,10,10.432,
10.999,11.301,11.999,12.183,12.999,13.088,13.999,14.024,
14.999,15.001,15.999,16.026,16.999,17.106,17.999,18.237,
18.999,19.407,19.999},
xlabel="",ylabel="source signals",
explicit(sawtooth(x),x,0,19),
color=red,explicit(sinesignal(x),x,0,19)
)$
pwm_plot : gr2d(
font="Times",nticks=50,
grid=true,ytics={0,1},yrange=[-.25,1.25],
user_preamble="set format x "";set bmargin 2.25",
xtics= {0,0.592,0.999,1.762,1.999,2.893,2.999,3.973,
3.999,4.998,4.999,5.975,5.999,6.911,6.999,7.816,7.999,
8.698,9,9.567,10,10.432,
10.999,11.301,11.999,12.183,12.999,13.088,13.999,14.024,
14.999,15.001,15.999,16.026,16.999,17.106,17.999,18.237,
18.999,19.407,19.999},
xlabel="Time",ylabel="PWM signal",
color=magenta,explicit(pwm(x),x,0,19)
)$
draw(terminal=svg,file_name="Pwm",
source,pwm_plot);
|
我,本作品著作权人,特此采用以下许可协议发表本作品:
- 您可以自由地:
- 共享 – 复制、发行并传播本作品
- 修改 – 改编作品
- 惟须遵守下列条件:
- 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
- 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
本文件采用知识共享署名-相同方式共享 3.0 未本地化版本许可协议授权。 | ||
| ||
本许可协议标签作为GFDL许可协议更新的组成部分被添加至本文件。http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
已授权您依据自由软件基金会发行的无固定段落及封面封底文字(Invariant Sections, Front-Cover Texts, and Back-Cover Texts)的GNU自由文件许可协议1.2版或任意后续版本的条款,复制、传播和/或修改本文件。该协议的副本请见“GNU Free Documentation License”。http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
您可以选择您需要的许可协议。
原始上传日志[编辑]
This image is a derivative work of the following images:
- Pwm.png licensed with Cc-by-sa-2.5,2.0,1.0, Cc-by-sa-3.0-migrated, GFDL
- 2006-03-23T08:44:47Z CyrilB 1500x1050 (87343 Bytes) Cyril BUTTAY Principle of the intersective pulse width modulation (PWM). This figure has been made using gnuplot 4.0 and the following code: # This file is used to generate a plot that explains the # principle of the inte
Uploaded with derivativeFX
文件历史
点击某个日期/时间查看对应时刻的文件。
日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
---|---|---|---|---|---|
当前 | 2011年5月29日 (日) 00:44 | 600 × 500(71 KB) | Krishnavedala(留言 | 贡献) | {{Information |Description=Principle of the intersective pulse width modulation (PWM). Created with following maxima code. <source lang="gnuplot"> sawtooth(t) := t - floor(t); freq : 0.05$ sinesignal(t) := (1/2)+(499/1000)*sin(2*%pi |
您不可以覆盖此文件。
文件用途
以下3个页面使用本文件:
全域文件用途
以下其他wiki使用此文件:
- en.wikipedia.org上的用途
- fr.wikipedia.org上的用途
- lv.wikipedia.org上的用途
- vi.wikipedia.org上的用途
- zh.wikipedia.org上的用途
元数据
此文件中包含有额外的信息。这些信息可能是由数码相机或扫描仪在创建或数字化过程中所添加。
如果文件已从其原始状态修改,某些细节可能无法完全反映修改后的文件。
图像标题 | Produced by GNUPLOT 4.5 patchlevel 0 |
---|---|
宽度 | 600 |
高度 | 500 |
结构化数据
此文件中描述的项目
描繪內容
知识共享署名-相同方式共享1.0通用 简体中文(已转写)
知识共享署名-相同方式共享2.5通用 简体中文(已转写)
知识共享署名-相同方式共享2.0通用 简体中文(已转写)
GNU自由文档许可证1.2或更高版本 简体中文(已转写)
分类: