This is a file from the Wikimedia Commons

File:Opamprelaxationoscillator.svg

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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

Summary

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

Created using python
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

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 alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

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{{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 pages on the English Wikipedia link to this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file: