DIYbanter

DIYbanter (https://www.diybanter.com/)
-   Electronic Schematics (https://www.diybanter.com/electronic-schematics/)
-   -   Spice Notation Question (https://www.diybanter.com/electronic-schematics/371627-spice-notation-question.html)

Jim Thompson[_3_] June 9th 14 08:03 PM

Spice Notation Question
 
I have a customer using _Microcap_ who claims that this notation....

..PRINT AC DB(V([OUT])/V([IN_AMP]))

means print the dB DIFFERENCE between V(OUT) and V(IN_AMP).

I can't find such notation in the reference manual.

Can this be correct?

(I created a Spice model for the customer. Models runs on all brands
of Spice EXCEPT Microcap which gives an "underflow" error.)

...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| San Tan Valley, AZ 85142 Skype: skypeanalog | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.

Mirosław Kwa¶niak June 9th 14 08:55 PM

Spice Notation Question
 
In sci.electronics.design Jim Thompson wrote:
I have a customer using _Microcap_ who claims that this notation....

.PRINT AC DB(V([OUT])/V([IN_AMP]))

means print the dB DIFFERENCE between V(OUT) and V(IN_AMP).


http://www.spectrum-soft.com/faq/help/faq149.shtm
Difference between dB(V(OUT)) and dB(V(IN_AMP))
;)

Jim Thompson[_3_] June 9th 14 09:09 PM

Spice Notation Question
 
On 09 Jun 2014 19:55:55 GMT, Miros?aw Kwa?niak
wrote:

In sci.electronics.design Jim Thompson wrote:
I have a customer using _Microcap_ who claims that this notation....

.PRINT AC DB(V([OUT])/V([IN_AMP]))

means print the dB DIFFERENCE between V(OUT) and V(IN_AMP).


http://www.spectrum-soft.com/faq/help/faq149.shtm
Difference between dB(V(OUT)) and dB(V(IN_AMP))
;)


Something is throwing up a "underflow" error.

Same netlist with only a .DC analysis call instead of a .AC call works
just ducky.

Andy Thompson of Spectrum Software is now involved, so we'll find out
the problem... I hope.

...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| San Tan Valley, AZ 85142 Skype: skypeanalog | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.

Jim Thompson[_3_] June 9th 14 10:32 PM

Spice Notation Question
 
On Mon, 09 Jun 2014 12:03:54 -0700, Jim Thompson
wrote:

I have a customer using _Microcap_ who claims that this notation....

.PRINT AC DB(V([OUT])/V([IN_AMP]))

means print the dB DIFFERENCE between V(OUT) and V(IN_AMP).

I can't find such notation in the reference manual.

Can this be correct?

(I created a Spice model for the customer. Models runs on all brands
of Spice EXCEPT Microcap which gives an "underflow" error.)

...Jim Thompson


Per Andy Thompson of Spectrum, throw-up solved by adding...

.OPTIONS NUMERIC_DERIVATIVE

(I always use CAPS in option lines and models... the UNIX/Eunuchs
crowd cause me all kinds of grief with everything lower case... you
can't easily tell a "1" from an "l" in many fonts :-)

...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| San Tan Valley, AZ 85142 Skype: skypeanalog | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.


All times are GMT +1. The time now is 12:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2014 DIYbanter