The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 18th, 2024, 6:44pm
Pages: 1
Send Topic Print
Attributes depending on the value of voltages and currents (Read 3318 times)
Emmanuele
Junior Member
**
Offline



Posts: 11
Geneva, Switzerland
Attributes depending on the value of voltages and currents
Oct 15th, 2009, 5:02am
 
HI to everybody.
I'm using Design Entry HDL (in Cadence SPB 16.01), an upgraded version of PSpice.
I would like to know if it's possible to define the value of an attribute (say, the resistance of a resistor) depending on the istantaneous value of a voltage or a current in the circuit.
I know that it's possible to define values which depend on constants, or fixed parameters; but I'd like to define comething more complex.
For instance, I'd like to define a resistor with a resistance depending on a function of the integral of the power dissipated in its (ie R*I^2).
Any suggestions?
Thanks a lot,
Emmanuele
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: Attributes depending on the value of voltages and currents
Reply #1 - Oct 20th, 2009, 5:17am
 
I'd write the model in Verilog-A.

If you're stuck in PSpice without Verilog-A, I expect you could write a subckt with dependent sources that measure the I and V of the resistor, make a current that's equal to I*V, and dump that onto a capacitor; the instantaneous voltage on the cap is then the integral of the dissipated power.  (You'll need a resistor to ground for the dc solution, but you can make it very large if you're not modeling the heat transfer away from the device.)
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.