Difference between revisions of "An Overview of System-Level Macromodeling Using Virtual Blocks"
Kazem Sabet (Talk | contribs) |
Kazem Sabet (Talk | contribs) (→Example 1: Analog Signal Differentiation) |
||
Line 14: | Line 14: | ||
where L is the inductance. | where L is the inductance. | ||
+ | |||
+ | It is important to note that in virtual blocks we only care about the functional behavior, completely ignoring the practical realization of a particular circuit. 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. | ||
+ | |||
<p> </p> | <p> </p> | ||
[[Image:Back_icon.png|40px]] '''[[RF.Spice_A/D | Back to RF.Spice A/D Wiki Gateway]]''' | [[Image:Back_icon.png|40px]] '''[[RF.Spice_A/D | Back to RF.Spice A/D Wiki Gateway]]''' |
Revision as of 14:44, 18 August 2015
An Introduction to Macromodeling
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. A system-level function or behavior is modeled by the 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.
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 in virtual blocks we only care about the functional behavior, completely ignoring the practical realization of a particular circuit. 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.