BVSRC - Non-Linear Dependent Voltage Source Model

Old Content - visit altium.com/documentation

Model Kind

Voltage Source

Model Sub-Kind

Equation

SPICE Prefix

B

SPICE Netlist Template Format

@DESIGNATOR %1 %2 V=@EQUATION

Parameters (definable at component level)

The following component-level parameters are definable for this model type and are listed on the Parameters tab of the Sim Model dialog. To access this dialog, simply double-click on the entry for the simulation model link in the Models region of the Component Properties dialog.

Equation

expression defining the source waveform.

Notes

  1. Standard SPICE non-linear dependant voltage source. This source is sometimes called an Equation-defined source, as the output is defined by a user-defined equation, often referencing voltages at other nodes in the circuit.
  2. The voltage waveform is described by:

V = expression

where,

  • expression is the user-defined equation entered in the corresponding Equation parameter field.
  1. The following standard functions can be used to create the expression:

ABS()

absolute value function. ABS(x) returns the value of |x|.

LN()

natural logarithm function, where LN(e) = 1.

SQRT()

square root function.

LOG()

log base 10 function.

EXP()

exponential function. EXP(x) returns the value of 'e raised to the power of x', where e is the base of the natural logarithms.

SIN()

sine function.

ASIN()

arc sine function.

ASINH()

hyperbolic arc sine function.

SINH()

hyperbolic sine function.

COS()

cosine function.

ACOS()

arc cosine function.

ACOSH()

hyperbolic arc cosine function.

COSH()

hyperbolic cosine function.

TAN()

tangent function.

ATAN()

arc tangent function.

ATANH()

hyperbolic arc tangent function.

U()

unit step function. Returns a value of 1 for arguments greater than 0 and a value of 0 for arguments less than 0.

URAMP()

unit ramp function. Integral of the unit step: for an input x, the value is 0 if x is less than 0, or if x is greater than 0, the value is x.

The following standard operators are supported:

+

addition operator.

-

subtraction operator.

*

multiplication operator.

/

division operator.

^

power operator. y^x returns the value of 'y raised to the power of x'.

unary -

unary minus operator. unary -x returns -x.

  1. To reference in an equation the voltage at a node in your circuit, you must first name the node in the schematic using a Net Label. You then use the name defined in the Net field of the Net Label's properties to reference the node using the following syntax:

V(Net) - references the voltage at node Net

For example, if you have a node in your circuit labeled with a Net Label called IN, then the following would be valid entries in the Equation parameter field of the source:

V(IN)^3
COS(V(IN))

  1. By default, the node is referenced to the Spice Reference Net Name, specified on the Spice Options page of the Analyses Setup dialog. This is GND by default. You can include a different reference node directly in the equation using the following syntax:

V(netlabel1, netlabel2)

For example:

LN(COS(LOG(V(NetLabel1,NetLabel2)^2)))- V(NetLabel2)^V(NetLabel1)

  1. If the argument of a LOG(), LN(), or SQRT() function becomes less than zero, the absolute value of the argument is used.
  2. If a divisor becomes zero or the argument of log or ln becomes zero, an error will result. Other problems may occur when the argument for a function in a partial derivative enters a region where that function is undefined.
  3. The simulation-ready non-linear dependent voltage source component (BVSRC) can be found in the Simulation Sources integrated library (\Library\Simulation\Simulation Sources.IntLib).

Examples

Consider the non-linear dependent voltage source in the above image, with the following characteristics:

  • Pin1 (positive) is connected to net N9
  • Pin2 (negative) is connected to net GND
  • Designator is BGND
  • Equation = V(VCC).5+V(VEE).5

The entry in the SPICE netlist would be:

*Schematic Netlist: 
BGND N9 0 V=V(VCC).5+V(VEE).5

You are reporting an issue with the following selected text and/or image within the active document:
ALTIUM DESIGNER FREE TRIAL
Altium Designer Free Trial
Let’s get started. First off, are you or your organization already using Altium Designer?

If would like to speak with a representative, please contact your local Altium office.
Copyright © 2019 Altium Limited

In that case, why do you need an evaluation license?

If would like to speak with a representative, please contact your local Altium office.
Copyright © 2019 Altium Limited

Got it. You actually don’t need an evaluation license for that.

Click the button below to download the latest Altium Designer installer.

Download Altium Designer Installer

If would like to speak with a representative, please contact your local Altium office.
Copyright © 2019 Altium Limited

Please fill out the form below to get a quote for a new seat of Altium Designer.

By clicking “Get Your Free Trial”, you are agreeing to our Privacy Policy.
You may receive communications from Altium and can change your notification preferences at any time.

If you are on Altium Subscription, you don’t need an evaluation license.

If you are not an active Altium Subscription member, please fill out the form below to get your free trial.

By clicking “Get Your Free Trial”, you are agreeing to our Privacy Policy.
You may receive communications from Altium and can change your notification preferences at any time.

Why are you looking to evaluate Altium Designer?

If would like to speak with a representative, please contact your local Altium office.
Copyright © 2019 Altium Limited

You came to the right place! Please fill out the form below to get your free trial started.

By clicking “Get Your Free Trial”, you are agreeing to our Privacy Policy.
You may receive communications from Altium and can change your notification preferences at any time.

Sounds exciting! Did you know we offer special discounted student licenses? For more information, click here.

In the meantime, feel free to request a free trial by filling out the form below.

By clicking “Get Your Free Trial”, you are agreeing to our Privacy Policy.
You may receive communications from Altium and can change your notification preferences at any time.

Got it. You can download a free Altium Designer Viewer license which is valid for a 6 months.

Please fill out the form below to request one.

By clicking “Get Your Free Trial”, you are agreeing to our Privacy Policy.
You may receive communications from Altium and can change your notification preferences at any time.

That’s great! Making things is awesome. We have the perfect program for you.

Upverter is a free community-driven platform designed specifically to meet the needs of makers like you.

Click here to give it a try!

If would like to speak with a representative, please contact your local Altium office.
Copyright © 2019 Altium Limited

Got it. You can download a free Altium Designer Viewer license which is valid for a 6 months.

Please fill out the form below to request one.

By clicking “Get Your Free Trial”, you are agreeing to our Privacy Policy.
You may receive communications from Altium and can change your notification preferences at any time.