Ammeter
Keywords
analyzer, electrical, node, bidirectional
Ports
Name | Type |
---|---|
port 1 | Electrical Node |
port 2 | Electrical Node |
output | Electrical Signal |
Properties
General Properties
Name | Default value | Default unit | Range |
---|---|---|---|
name Defines the name of the element. |
Ammeter | - | - |
annotate Defines whether or not to display annotations on the schematic editor. |
true | - | [true, false] |
enabled Defines whether or not the element is enabled. |
true | - | [true, false] |
type Defines the element unique type (read only). |
Ammeter | - | - |
description A brief description of the elements functionality. |
Ammeter | - | - |
prefix Defines the element name prefix. |
AMM | - | - |
model Defines the element model name. |
- | - | - |
library Defines the element location or source in the library (custom or design kit). |
- | - | - |
local path Defines the local path or working folder $LOCAL for the element. |
- | - | - |
url An optional URL address pointing to the element online help. |
- | - | - |
====================================
Implementation Details
The element s-parameters matrix is defined by the relationship between the ‘Electrical Node’ and ‘Electrical Signal’ ports, and is defined as:
$$\begin{bmatrix} b_1 \\ b_2 \\ I \end{bmatrix} = \begin{bmatrix}0& 1 \\ 1 & 0 \\ \frac{1}{\sqrt{R_0}} & -\frac{1}{\sqrt{R_0}} \end{bmatrix} \begin{bmatrix} a_1 \\a_2 \end{bmatrix}$$
Where \(a_1\) is the incoming wave and \(b_1\) is the outgoing wave at the element port ‘port’. The output current \(I\) is defined at the port ‘output’. \(R_0\) is the internal characteristic impedance. Relationship between the electrical waves, current and voltage are defined by the following equations:
$$a_i(f)=\frac{1}{2}(\frac{V_i(f)}{\sqrt{R_0}} + \sqrt{R_0}\cdot I_i(f))$$
$$b_i(f)=\frac{1}{2}(\frac{V_i(f)}{\sqrt{R_0}} - \sqrt{R_0}\cdot I_i(f))$$
Where \(a_i(f)\) is the incoming wave, \(b_i(f)\) is the outgoing wave, \(V_i(f)\) is the voltage and \(I_i(f)\) is the current at port \(i\).