Electronics Forums

Electronics Forums > Newsgroups > Electronics Newsgroups > CAD > how do i make a constant power load in LTspice?

Reply
Thread Tools Display Modes

how do i make a constant power load in LTspice?

 
 
tomrei
Guest
Posts: n/a
 
      04-14-2009, 11:36 AM
Hi there,

this group looks pretty spamed, but i'll try my luck.

does any one knows how to make a constant power load in the LTspice?

i've tried a few things but they all involving using dynamic
variables.

maybe it's the question of how to use dynamic variable in LTspice.

for example, the idea is:

R1 N002 N001 100
I1 N002 0 {current(p,V(n002))}
V1 N001 0 10 Rser=1
..param p=10
..func current(power,voltage) {power/voltage}
..tran 0 1m 0 1u startup
..backanno
..end

but this won't work since i can't just pass V(n002) as a parameter
since it's a dynamic variable.

is there a way i can fix this?

many thanks

Ren



 
Reply With Quote
 
 
 
 
Charlie E.
Guest
Posts: n/a
 
      04-14-2009, 04:18 PM
On Tue, 14 Apr 2009 04:36:27 -0700 (PDT), tomrei
<(E-Mail Removed)> wrote:

>Hi there,
>
>this group looks pretty spamed, but i'll try my luck.
>
>does any one knows how to make a constant power load in the LTspice?
>
>i've tried a few things but they all involving using dynamic
>variables.
>
>maybe it's the question of how to use dynamic variable in LTspice.
>
>for example, the idea is:
>
>R1 N002 N001 100
>I1 N002 0 {current(p,V(n002))}
>V1 N001 0 10 Rser=1
>.param p=10
>.func current(power,voltage) {power/voltage}
>.tran 0 1m 0 1u startup
>.backanno
>.end
>
>but this won't work since i can't just pass V(n002) as a parameter
>since it's a dynamic variable.
>
>is there a way i can fix this?
>
>many thanks
>
>Ren
>
>


Ren,
Not exactly sure what you want to do, but it sounds like you want a
resistance that always consumes the same amount of power, no matter
the voltage across it. A little odd, but probably doable.

In PSpice, you would use a Gvalue part, or a GTable part, where you
connect the sense leads to the output leads. You then define the
output (the current through the device) as I(out) = Vsense/Power

Let me know if you have any questions on the actual execution.

Charlie
 
Reply With Quote
 
Junior Member
Join Date: Feb 2010
Posts: 2
 
      02-27-2010, 11:47 PM
Quote:
Originally Posted by tomrei View Post
Hi there,

this group looks pretty spamed, but i'll try my luck.

does any one knows how to make a constant power load in the LTspice?Ren
I've come up with a couple of very easy ways to create constant power loads in LTspice. One is a resistor whose resistance is a function of the voltage across it, and the other is a voltage-dependent current source using a piece-wise linear approximation. Both are bounded to prevent convergence problems, and they work very well for most applications.

The newsgroup software is blocking my attempts to post a link because I haven't posted here before, so I'll do a followup with the link in a couple of minutes.
 
Reply With Quote
 
Junior Member
Join Date: Feb 2010
Posts: 2
 
      02-27-2010, 11:51 PM
Here's the link to my blog post, "Simple Constant Power Loads in LTspice":
http://russellsrandomthoughts.blogsp...n-ltspice.html
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LTSpice: How do make a Schmitt oscillator run? Joerg Electronic Design 5 09-17-2008 05:48 PM
Ripple Voltage from Constant Power Load D from BC Electronic Design 3 02-11-2008 08:14 AM
Constant Load circuit Paul Electronic Design 7 03-21-2006 08:43 AM
How do I make a constant current load? ITSME.ULTIMATE Electronic Basics 3 03-21-2006 08:16 AM
Could someone make a LTspice model for this... SA Dev Electronic Design 3 03-06-2004 08:18 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93