I have a circuit which has piece-wise time varying period capacitance- how to simulate this type of circuit in OrCAD?
In reply to oldmouldy:
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 ?
In reply to reddytinku:
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.
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.
Which version of OrCAD you are running? Can you also share the URL for download (for SPICE_ELEM)
In reply to alokt:
@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