• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. RF Design
  3. [Help] About the simulation of Wien-bridge OSC.

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 63
  • Views 14798
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[Help] About the simulation of Wien-bridge OSC.

xxgenerall
xxgenerall over 11 years ago

The Wien-bridge OSC is as below.

R=1K Ohms, C=1uF, so f=1/(2*pi*R*C)=159Hz. And the BW of the operational amplifier is 9KHz. Theoretically, the OSC outputs a sine wave.

However, the OSC keeps a common voltage, which is another steady state.

Is there something wrong with my simulation setup? Can you help me, please? Thanks a lot.

  • WienBridge 2.jpg
  • View
  • Hide
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Whilst it is lovely to see a picture of your circuit, I assume there was a reason you shared it rather than just wanting everyone to admire your handiwork?

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • xxgenerall
    xxgenerall over 11 years ago

    Sorry, Mr. Bechett.

    There was a problem with my computer. Network speed was so low, and I had to wait for some time to reedit my post.

    My post was updated right now. Looking forward to your help.

    Thank you in advance.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    I created a circuit similar to use (using opamp from ahdlLib), with the key point that I stepped the supply from 0 to 3.3 near the beginning of time to give the circuit a "kick". I also arranged that the vcom node is half the supply by using a vcvs.

    Without this, the circuit settled to a metastable state and wouldn't oscillate (that's what it looks like is happening for you).

    Here's the output waveform:

     

    • wienBridgeWave.png
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    And here's the schematic (I've included the input.scs so you can see the component values):

    // Generated for: spectre
    // Generated on: Apr 14 23:38:46 2014
    // Design library name: mylib
    // Design cell name: wienBridgeOsc
    // Design view name: schematic
    simulator lang=spectre
    global 0

    // Library name: mylib
    // Cell name: wienBridgeOsc
    // View name: schematic
    I0 (op vcom net3 net4 vdd 0) opamp gain=100000 freq_unitygain=1M
    R3 (net3 vcom) resistor r=1K
    R2 (op net10) resistor r=1K
    R1 (op net4) resistor r=2.5K
    R0 (net4 vcom) resistor r=1K
    C1 (net3 vcom) capacitor c=1u
    C0 (net10 net3) capacitor c=1u
    E0 (vcom 0 vdd 0) vcvs gain=0.5
    V0 (vdd 0) vsource type=pulse val0=0 val1=3.3 delay=1n rise=10n
    simulatorOptions options reltol=1e-3 vabstol=1e-6 iabstol=1e-12 temp=27 \
        tnom=27 scalem=1.0 scale=1.0 gmin=1e-12 rforce=1 maxnotes=5 maxwarns=5 \
        digits=5 cols=80 pivrel=1e-3 sensfile="../psf/sens.output" \
        checklimitdest=psf
    dcOp dc force=all write="spectre.dc" maxiters=150 maxsteps=10000 \
        annotate=status
    dcOpInfo info what=oppoint where=rawfile
    tran tran stop=100m maxstep=0.1m write="spectre.ic" \
        writefinal="spectre.fc" annotate=status maxiters=5
    finalTimeOP info what=oppoint where=rawfile
    modelParameter info what=models where=rawfile
    element info what=inst where=rawfile
    outputParameter info what=output where=rawfile
    designParamVals info what=parameters where=rawfile
    primitives info what=primitives where=rawfile
    subckts info what=subckts  where=rawfile
    saveOptions options save=allpub
    ahdl_include "/export/home/apps/IC615_isr/tools/dfII/samples/artist/ahdlLib/opamp/veriloga/veriloga.va"

    Regards,

    Andrew.

    • wienBridgeOsc.png
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • xxgenerall
    xxgenerall over 11 years ago

    Thank you so much, Mr. Beckett.

    I set the initial voltage of a cap to be non-zero with a DC supply. The OSC oscillated.

    I shall try to use your method, Mr. Beckett.

    Thank you. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information