Jump to content

File:Opamprelaxationoscillator.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia
    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:
    VR=Vout2
    VC=Vout(1−e−t)
    Vout=±∣Vdd∣
    The system is assumed to begin with Vout=Vdd, VC=0, Vdd=1V and Vss=−1V
    Русский: Осциллограммы колебаний в разных точках схемы релаксационного генератора на операционном усилителе
    Date
    Source Own work
    Author Krishnavedala
    Other versions
    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}}$")
    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 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.

    Captions

    Transient Analysis of a comparator-based hysteretic oscillator.

    Items portrayed in this file

    depicts

    58,312 byte

    image/svg+xml

    84b1deaa81fa9568e2d123e3f1f87dd4f871656e

    8 June 2011

    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: :V_R = \frac {V_{

    The following 2 pages use this file:

    Global file usage

    The following other wikis use this file: