Difference between revisions of "An Overview of System-Level Macromodeling Using Virtual Blocks"

From Emagtech Wiki
Jump to: navigation, search
(Example 1: Analog Signal Differentiation)
(An Introduction to Macromodeling in RF.Spice A/D)
Line 3: Line 3:
 
[[RF.Spice A/D]] provides an extensive library of black-box virtual blocks that allow you to quickly test and verify new system concepts without getting into the details of particular circuit realizations. A virtual block typically has one or more input pins and one or more output pins. It models a system-level function or behavior in the form of a relationship between the input and output voltages. For example, a multiplier block takes two input voltages and outputs their product. An analog frequency doubler takes a single sinusoidal input voltage and produces a sinusoidal output voltage whose frequency is twice as large as the input frequency. A real practical frequency doubler typically involves a sophisticated circuit either with discrete components or in the form of an integrated circuit. In many situations like system design, you simply need a "black box" that exhibits the behavior of a frequency doubler just to try out and verify a system concept. You would worry about the hardware implementation of your block at a later time after the proof of concept has been established. [[RF.Spice]]'s virtual blocks will prove very useful when you design complex systems that contain many subcircuits and subsystems.
 
[[RF.Spice A/D]] provides an extensive library of black-box virtual blocks that allow you to quickly test and verify new system concepts without getting into the details of particular circuit realizations. A virtual block typically has one or more input pins and one or more output pins. It models a system-level function or behavior in the form of a relationship between the input and output voltages. For example, a multiplier block takes two input voltages and outputs their product. An analog frequency doubler takes a single sinusoidal input voltage and produces a sinusoidal output voltage whose frequency is twice as large as the input frequency. A real practical frequency doubler typically involves a sophisticated circuit either with discrete components or in the form of an integrated circuit. In many situations like system design, you simply need a "black box" that exhibits the behavior of a frequency doubler just to try out and verify a system concept. You would worry about the hardware implementation of your block at a later time after the proof of concept has been established. [[RF.Spice]]'s virtual blocks will prove very useful when you design complex systems that contain many subcircuits and subsystems.
  
One of the great strengths of [[RF.Spice A/D]] is the ease of creating new user defined models. Most of [[RF.Spice]]'s virtual blocks are indeed based on preloaded parameterized subcircuit models. You can open the Netlist code of these subcircuits, copy or modify them and package them into your own new virtual blocks. You can even convert an entire circuit into a model complete with your now symbol.
+
One of the great strengths of [[RF.Spice A/D]] is the ease of creating new user defined models. Most of [[RF.Spice]]'s virtual blocks are indeed based on preloaded parameterized subcircuit models. You can open the Netlist code of these subcircuits, copy or modify them and package them into your own new virtual blocks. You can even convert an entire circuit into a model complete with your now symbol. An important difference between black-box virtual blocks and models is that virtual blocks typically use ideal devices and a combination of linear and nonlinear sources to minimize circuit complexity regardless of the feasibility of their hardware realization.
  
 
== The Stages of a Macromodel Virtual Block ==
 
== The Stages of a Macromodel Virtual Block ==

Revision as of 16:28, 18 August 2015

An Introduction to Macromodeling in RF.Spice A/D

RF.Spice A/D provides an extensive library of black-box virtual blocks that allow you to quickly test and verify new system concepts without getting into the details of particular circuit realizations. A virtual block typically has one or more input pins and one or more output pins. It models a system-level function or behavior in the form of a relationship between the input and output voltages. For example, a multiplier block takes two input voltages and outputs their product. An analog frequency doubler takes a single sinusoidal input voltage and produces a sinusoidal output voltage whose frequency is twice as large as the input frequency. A real practical frequency doubler typically involves a sophisticated circuit either with discrete components or in the form of an integrated circuit. In many situations like system design, you simply need a "black box" that exhibits the behavior of a frequency doubler just to try out and verify a system concept. You would worry about the hardware implementation of your block at a later time after the proof of concept has been established. RF.Spice's virtual blocks will prove very useful when you design complex systems that contain many subcircuits and subsystems.

One of the great strengths of RF.Spice A/D is the ease of creating new user defined models. Most of RF.Spice's virtual blocks are indeed based on preloaded parameterized subcircuit models. You can open the Netlist code of these subcircuits, copy or modify them and package them into your own new virtual blocks. You can even convert an entire circuit into a model complete with your now symbol. An important difference between black-box virtual blocks and models is that virtual blocks typically use ideal devices and a combination of linear and nonlinear sources to minimize circuit complexity regardless of the feasibility of their hardware realization.

The Stages of a Macromodel Virtual Block

A generic macromodel with input and output stages.

Example 1: Analog Signal Differentiation

The simplest voltage differentiator can be made based on the basic properties of a capacitor:

[math] i(t) = C \frac{dv}{dt} [/math]

where v(t) and i(t) are the voltage and current of the capacitor and C is it capacitance. Similarly for an inductor, one can write:

[math] v(t) = L \frac{di}{dt} [/math]

where L is the inductance.

It is important to note that with virtual blocks we only care about their functional behavior, completely ignoring the practical realization of particular circuits. In the above equations, if we set C = 1F or L = 1H (regardless of the actual physical devices), we will get a derivative relationship between the voltage and current.

An ideal differentiator using a capacitor.
An ideal differentiator using an inductor.


 

Back icon.png Back to RF.Spice A/D Wiki Gateway