Home > Community > Forums > PCB Design > how to simulate time varying capacitance in Orcad ?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 how to simulate time varying capacitance in Orcad ? 

Last post 11-15-2012 7:11 AM by reddytinku. 9 replies.
Started by reddytinku 07 Nov 2012 05:25 AM. Topic has 9 replies and 1949 views
Page 1 of 1 (10 items)
Sort Posts:
  • 11-07-2012 5:25 AM

    how to simulate time varying capacitance in Orcad ? Reply

     Hi

    I have a circuit which has piece-wise time varying period capacitance- how to simulate this type of circuit in OrCAD?

    Thank You

    • Post Points: 20
  • 11-07-2012 6:35 AM

    • oldmouldy
    • Top 10 Contributor
    • Joined on 07-15-2008
    • Woking, Surrey
    • Posts 1,415
    • Points 24,155
    Re: how to simulate time varying capacitance in Orcad ? Reply
    Use a Voltage controlled Capacitor, VC_CAP, and drive it with a VPWL.
    • Post Points: 20
  • 11-07-2012 1:38 PM

    Re: how to simulate time varying capacitance in Orcad ? Reply

     hi thanks for the reply

    i looked in to VC_CAP and VPWL. I have one more doubt, VPWL has input for only 8 time instances , how to increase these and howto make it as a periodic source ? what wil be the VPWL value after T8 th time ?

     

    http://postimage.org/image/8nwx1k3vf/

     

    Thank You

    • Post Points: 20
  • 11-08-2012 1:45 AM

    • oldmouldy
    • Top 10 Contributor
    • Joined on 07-15-2008
    • Woking, Surrey
    • Posts 1,415
    • Points 24,155
    Re: how to simulate time varying capacitance in Orcad ? Reply
    VPWL uses linear interpolation between the specified points, the "T8" value will remain till the end of the simulation,. If you need more points, use a VPWL_FILE source, this takes time / value tab demilited pairs from a file. There probably is some limit to the number of points but it must be large. Take care with manually edited data that time remains "monotonic", always going forwards, the simulator is going to baulk at trying to reverse time! You can get an idea of the required format by exporting results from the Probe window, select / display a single waveform in the Probe window, from the menu, Edit>Copy, open a text editor and Edit>Paste into the text editor, the text values for the points in the waveform will be pasted as text.
    • Post Points: 20
  • 11-09-2012 11:18 AM

    Re: how to simulate time varying capacitance in Orcad ? Reply

     thanks :)

    got the concept. can we enter the time and voltage values in a simple text document or do we need to use any text editor ? how to upload this file to the VPWL_FILE source ? I tried through property editor of it, bt couldnt able to do it

    And my Orcad doesnt has Spice_elem library(which has VAR_CAP) so I downloaded the library and added to the Orcad capture, so when I started to run the circuit I am getting an  error  ''ERROR(ORPSIM-15108): Subcircuit AWBVC_CAP used by X_U1 is undefined '', how to over come this ?

    Thank you very much for your time, pease forgive me if I am troubling you.

     

    • Post Points: 20
  • 11-09-2012 11:59 AM

    • oldmouldy
    • Top 10 Contributor
    • Joined on 07-15-2008
    • Woking, Surrey
    • Posts 1,415
    • Points 24,155
    Re: how to simulate time varying capacitance in Orcad ? Reply

    Any editor that makes "plain" as apposed to "formatted" test will work, like Notepad, NOT Word. VPWL_FILE has a File property, this takes the full path and file name for the pwl file created, you can use .\pwlfile.txt to use a file called pwlfile.txt in the current directory.

    It sounds like you have the graphical library, OLB, for the spice_elem, you need the simulation library, LIB, and then add it to the Simulation Profile libraries so that the simualtor can find it.

    • Post Points: 50
  • 11-11-2012 7:16 AM

    • alokt
    • Top 25 Contributor
    • Joined on 08-22-2008
    • Noida, Uttar Pradesh
    • Posts 241
    • Points 3,470
    Re: how to simulate time varying capacitance in Orcad ? Reply

    Which version of OrCAD you are running? Can you also share the URL for download (for SPICE_ELEM)

    • Post Points: 20
  • 11-13-2012 6:30 AM

    Re: how to simulate time varying capacitance in Orcad ? Reply

     @oldmouldy Ya it is a OLB file , i found  LIB file and I added it . Its working good now thanks

     

    @alokt  I am using OrCAD 16.5 version. I downloaded the file from     http://www.2shared.com/file/PQ7dtdA0/spice_elem.html    it is a OLB file

    • Post Points: 5
  • 11-14-2012 3:35 PM

    Re: how to simulate time varying capacitance in Orcad ? Reply
    working
    • Post Points: 5
  • 11-15-2012 7:11 AM

    Re: how to simulate time varying capacitance in Orcad ? Reply
    working
    • Post Points: 5
Page 1 of 1 (10 items)
Sort Posts:
Started by reddytinku at 07 Nov 2012 05:25 AM. Topic has 9 replies.