File:Opamprelaxationoscillator.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (SVG file, nominally 644 × 350 pixels, file size: 57 KB)

Captions

Captions

Transient Analysis of a comparator-based hysteretic oscillator.

Summary

[edit]
Description
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
Date
Source Own work
Author Krishnavedala
Other versions File:Opamprelaxationoscillator.jpg
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
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)

Licensing

[edit]
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 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.
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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current05:19, 8 June 2011Thumbnail for version as of 05:19, 8 June 2011644 × 350 (57 KB)Krishnavedala (talk | contribs){{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_{

The following page uses this file:

File usage on other wikis

The following other wikis use this file: