Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #409172 > unrolled thread
| Started by | bitrex <bitrex@de.lete.earthlink.net> |
|---|---|
| First post | 2016-04-25 15:36 -0400 |
| Last post | 2016-04-26 12:07 -0400 |
| Articles | 9 — 6 participants |
Back to article view | Back to sci.electronics.design
LTSpice initial conditions bitrex <bitrex@de.lete.earthlink.net> - 2016-04-25 15:36 -0400
Re: LTSpice initial conditions Tim Wescott <seemywebsite@myfooter.really> - 2016-04-25 14:40 -0500
Re: LTSpice initial conditions bitrex <bitrex@de.lete.earthlink.net> - 2016-04-25 15:49 -0400
Re: LTSpice initial conditions Tim Wescott <tim@seemywebsite.com> - 2016-04-25 15:30 -0500
Re: LTSpice initial conditions Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-04-25 16:55 -0700
Re: LTSpice initial conditions Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-04-25 18:30 -0700
Re: LTSpice initial conditions Tim Wescott <tim@seemywebsite.com> - 2016-04-25 21:28 -0500
Re: LTSpice initial conditions "Tim Williams" <tiwill@seventransistorlabs.com> - 2016-04-26 03:05 -0500
Re: LTSpice initial conditions Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-26 12:07 -0400
| From | bitrex <bitrex@de.lete.earthlink.net> |
|---|---|
| Date | 2016-04-25 15:36 -0400 |
| Subject | LTSpice initial conditions |
| Message-ID | <dluTy.17962$5J4.10655@fx26.iad> |
Is there any way to use an LTSpice ".ic" command to make some node voltage equal to the supply voltage at the beginning of the simulation? Say I wanted to change the supply voltage and then have the initial condition voltage change automatically. ".ic V(my_node) = V(Vcc)" for example doesn't work.
[toc] | [next] | [standalone]
| From | Tim Wescott <seemywebsite@myfooter.really> |
|---|---|
| Date | 2016-04-25 14:40 -0500 |
| Message-ID | <CLidnZAps7ky74PKnZ2dnUU7-VmdnZ2d@giganews.com> |
| In reply to | #409172 |
On Mon, 25 Apr 2016 15:36:41 -0400, bitrex wrote: > Is there any way to use an LTSpice ".ic" command to make some node > voltage equal to the supply voltage at the beginning of the simulation? > Say I wanted to change the supply voltage and then have the initial > condition voltage change automatically. > > ".ic V(my_node) = V(Vcc)" for example doesn't work. I don't know if you can do this, but you can set an initial voltage as a parameter and use it both for the VCC supply and the initial condition. I do this quite often. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com
[toc] | [prev] | [next] | [standalone]
| From | bitrex <bitrex@de.lete.earthlink.net> |
|---|---|
| Date | 2016-04-25 15:49 -0400 |
| Message-ID | <ZwuTy.13944$i56.12191@fx15.iad> |
| In reply to | #409174 |
On 04/25/2016 03:40 PM, Tim Wescott wrote: > On Mon, 25 Apr 2016 15:36:41 -0400, bitrex wrote: > >> Is there any way to use an LTSpice ".ic" command to make some node >> voltage equal to the supply voltage at the beginning of the simulation? >> Say I wanted to change the supply voltage and then have the initial >> condition voltage change automatically. >> >> ".ic V(my_node) = V(Vcc)" for example doesn't work. > > I don't know if you can do this, but you can set an initial voltage as a > parameter and use it both for the VCC supply and the initial condition. > > I do this quite often. > Ah, I had the suspicion I was thinking about that one backwards...
[toc] | [prev] | [next] | [standalone]
| From | Tim Wescott <tim@seemywebsite.com> |
|---|---|
| Date | 2016-04-25 15:30 -0500 |
| Message-ID | <fJWdnUwKSoPK44PKnZ2dnUU7-bGdnZ2d@giganews.com> |
| In reply to | #409177 |
On Mon, 25 Apr 2016 15:49:12 -0400, bitrex wrote: > On 04/25/2016 03:40 PM, Tim Wescott wrote: >> On Mon, 25 Apr 2016 15:36:41 -0400, bitrex wrote: >> >>> Is there any way to use an LTSpice ".ic" command to make some node >>> voltage equal to the supply voltage at the beginning of the >>> simulation? >>> Say I wanted to change the supply voltage and then have the initial >>> condition voltage change automatically. >>> >>> ".ic V(my_node) = V(Vcc)" for example doesn't work. >> >> I don't know if you can do this, but you can set an initial voltage as >> a parameter and use it both for the VCC supply and the initial >> condition. >> >> I do this quite often. >> >> > Ah, I had the suspicion I was thinking about that one backwards... You can't refer to the initial condition directly -- you have to use a .parm command to set a number, and then apply that number to both the .ic command and the power supply's voltage. -- www.wescottdesign.com
[toc] | [prev] | [next] | [standalone]
| From | Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> |
|---|---|
| Date | 2016-04-25 16:55 -0700 |
| Message-ID | <lgbthbdqod031n44mfm9cv7pai9m7sek9e@4ax.com> |
| In reply to | #409172 |
On Mon, 25 Apr 2016 15:36:41 -0400, bitrex
<bitrex@de.lete.earthlink.net> wrote:
>Is there any way to use an LTSpice ".ic" command to make some node
>voltage equal to the supply voltage at the beginning of the simulation?
>Say I wanted to change the supply voltage and then have the initial
>condition voltage change automatically.
>
>".ic V(my_node) = V(Vcc)" for example doesn't work.
PSpice has IC2 which is a .IC between two nodes.
But I think...
.IC V(A,B)=0 would do what you want.
...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| San Tan Valley, AZ 85142 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
The touchstone of liberalism is intolerance
[toc] | [prev] | [next] | [standalone]
| From | Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> |
|---|---|
| Date | 2016-04-25 18:30 -0700 |
| Message-ID | <s3hthb17mccqu3smav9rklidmbkgk4jm0a@4ax.com> |
| In reply to | #409221 |
On Mon, 25 Apr 2016 16:55:32 -0700, Jim Thompson
<To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> wrote:
>On Mon, 25 Apr 2016 15:36:41 -0400, bitrex
><bitrex@de.lete.earthlink.net> wrote:
>
>>Is there any way to use an LTSpice ".ic" command to make some node
>>voltage equal to the supply voltage at the beginning of the simulation?
>>Say I wanted to change the supply voltage and then have the initial
>>condition voltage change automatically.
>>
>>".ic V(my_node) = V(Vcc)" for example doesn't work.
>
>PSpice has IC2 which is a .IC between two nodes.
>
>But I think...
>
>.IC V(A,B)=0 would do what you want.
>
> ...Jim Thompson
Yep, that will work. I looked up "template" for IC2, it's...
.IC V(%+,%-)=@IC
The @IC just means the number you supplied.
...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| San Tan Valley, AZ 85142 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
The touchstone of liberalism is intolerance
[toc] | [prev] | [next] | [standalone]
| From | Tim Wescott <tim@seemywebsite.com> |
|---|---|
| Date | 2016-04-25 21:28 -0500 |
| Message-ID | <fJWdnUkKSoPAT4PKnZ2dnUU7-bGdnZ2d@giganews.com> |
| In reply to | #409230 |
On Mon, 25 Apr 2016 18:30:47 -0700, Jim Thompson wrote: > On Mon, 25 Apr 2016 16:55:32 -0700, Jim Thompson > <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> wrote: > >>On Mon, 25 Apr 2016 15:36:41 -0400, bitrex >><bitrex@de.lete.earthlink.net> wrote: >> >>>Is there any way to use an LTSpice ".ic" command to make some node >>>voltage equal to the supply voltage at the beginning of the simulation? >>>Say I wanted to change the supply voltage and then have the initial >>>condition voltage change automatically. >>> >>>".ic V(my_node) = V(Vcc)" for example doesn't work. >> >>PSpice has IC2 which is a .IC between two nodes. >> >>But I think... >> >>.IC V(A,B)=0 would do what you want. >> >> ...Jim Thompson > > Yep, that will work. I looked up "template" for IC2, it's... > > .IC V(%+,%-)=@IC > > The @IC just means the number you supplied. > > ...Jim Thompson Kewl. I knew that not, but now I do. -- www.wescottdesign.com
[toc] | [prev] | [next] | [standalone]
| From | "Tim Williams" <tiwill@seventransistorlabs.com> |
|---|---|
| Date | 2016-04-26 03:05 -0500 |
| Message-ID | <nfn79c$tac$1@dont-email.me> |
| In reply to | #409172 |
You can also put a VPULSE into a SW to join nodes under DC conditions, then open it after some nano/microseconds. You also get the softness of the switch risetime helping convergence, if it's being finnicky. (DON'T set the switch for super fast and all that, you want it as slow as tolerable so it ramps open.) Tim -- Seven Transistor Labs, LLC Electrical Engineering Consultation and Contract Design Website: http://seventransistorlabs.com "bitrex" <bitrex@de.lete.earthlink.net> wrote in message news:dluTy.17962$5J4.10655@fx26.iad... > Is there any way to use an LTSpice ".ic" command to make some node voltage > equal to the supply voltage at the beginning of the simulation? Say I > wanted to change the supply voltage and then have the initial condition > voltage change automatically. > > ".ic V(my_node) = V(Vcc)" for example doesn't work.
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2016-04-26 12:07 -0400 |
| Message-ID | <571F9251.3030609@electrooptical.net> |
| In reply to | #409257 |
On 04/26/2016 04:05 AM, Tim Williams wrote: > You can also put a VPULSE into a SW to join nodes under DC conditions, > then open it after some nano/microseconds. You also get the softness of > the switch risetime helping convergence, if it's being finnicky. (DON'T > set the switch for super fast and all that, you want it as slow as > tolerable so it ramps open.) > > Tim > i.e. use negative hysteresis (VH) to get a smooth differentiable curve. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
[toc] | [prev] | [standalone]
Back to top | Article view | sci.electronics.design
csiph-web