跳转到内容

File:Opamprelaxationoscillator.svg

页面内容不支持其他语言。
這個文件來自維基共享資源
维基百科,自由的百科全书

原始文件(SVG文件,尺寸为644 × 350像素,文件大小:57 KB)


摘要

描述
English: Transient Analysis of a comparator-based hysteretic oscillator (i.e., a relaxation oscillator implemented with a Schmitt trigger and an RC network) with R=C=1 (unit). The system properties are:
The system is assumed to begin with , , and
日期
来源 自己的作品
作者 Krishnavedala
其他版本 File:Opamprelaxationoscillator.jpg
SVG开发
InfoField
 
SVG的源代码为有效代码
 
矢量图使用Matplotlib创作。
源代码
InfoField

Python code

Python source code
from matplotlib.pyplot import *
from numpy import *

RC, peak = 1., 1.
Vdd, Vss, T, duty = peak, -peak, 2.*log(3.)*RC, .5
Tmax, lim = 3.*T, .01
totalT = linspace(0,Tmax,150)
Vo, Vc, out, vc, n = [], [], Vss, 0., 0.
for x in totalT:
	vc = out * (1. - exp(-x+n*T*.5))
	Vo = append(Vo,out)
	Vc = append(Vc,vc)
	if (vc >= Vdd*0.5) or (vc <= Vss*0.5):
		out = -out
		n = n + 1.
Vr = Vo * 0.5

fig = figure(figsize=(8,4))
ax = fig.add_subplot(111)
ax.grid(True)
ax.plot(totalT,Vo, label=r"$V_{\mathrm{out&#x7D;&#x7D;$")
ax.plot(totalT,Vr, label=r"$V_R$")
ax.plot(totalT,Vc, label=r"$V_C$")
ax.legend(loc='upper right',bbox_to_anchor=(.955,1.),\
	frameon=False,handletextpad=.05)
ax.set_ylim(-1.1,1.1)
ax.minorticks_on()
ax.set_xlim(0,Tmax)
ax.set_xlabel("t",fontsize=15)
ax.set_ylabel("Voltage")

fig.savefig("Opamprelaxationoscillator.png",bbox_inches="tight",\
	pad_inches=.15)

许可协议

我,本作品著作权人,特此采用以下许可协议发表本作品:
w:zh:知识共享
署名 相同方式共享
您可以自由地:
  • 共享 – 复制、发行并传播本作品
  • 修改 – 改编作品
惟须遵守下列条件:
  • 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
  • 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
GNU head 已授权您依据自由软件基金会发行的无固定段落及封面封底文字(Invariant Sections, Front-Cover Texts, and Back-Cover Texts)的GNU自由文件许可协议1.2版或任意后续版本的条款,复制、传播和/或修改本文件。该协议的副本请见“GNU Free Documentation License”。
您可以选择您需要的许可协议。

说明

添加一行文字以描述该文件所表现的内容
Transient Analysis of a comparator-based hysteretic oscillator.

此文件中描述的项目

描繪內容

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2011年6月8日 (三) 05:192011年6月8日 (三) 05:19版本的缩略图644 × 350(57 KB)Krishnavedala{{Information |Description ={{en|1=Transient Analysis of a comparator-based hysteretic oscillator (i.e., a relaxation oscillator implemented with a Schmitt trigger and an RC network) with R=C=1 (unit). The system properties are: :<math>V_R = \frac {V_{

以下页面使用本文件:

全域文件用途

以下其他wiki使用此文件: