Navigation Bar

Modeling: ASH and METERs

Change History

Back to Modeling Index

 

Contents

 

Example Project

Download Altium Project

This demonstrates all four power meters, as well as the analog sample and hold. A sinusoidal source of 1Vpk 1kHz, is connected to an RC load of 0.5 - j0.866Ω, thus drawing 0.5VA apparent power and 0.25W real power. Complex wave sources can also be used, for example measuring the power flows in a switching converter.

 

ASH

Description: Simulation tool, analog sample-and-hold filter. Periodically integrates and averages the input, and copies it to a sampled output value. Implements an ideal zero-order hold. Note: the output is actually updated once every two <Period>s, as a simplification (throughput can be doubled by connecting two in parallel, editing the delay of one model). Input and output are with respect to global ground (0).

Usage:

Xdesignator <Node1> <Node2> ASH [PARAMS: Period=<1u>]

Recommended Symbol:

 

EMETER

Description: Simulation tool, energy-measuring block. Input is two terminals to measure current, and one additional terminal to measure voltage. Output is 1V = 1J, with respect to global ground (0).

Usage:

Xdesignator <Node1> <Node2> <Node3> <Node4> EMETER [PARAMS: DELAY=<100n>]

Recommended Symbol (pin numbers shown):

 

PMETER

Description: Simulation tool, power-measuring block. Input is two terminals to measure current, and one additional terminal to measure voltage. Output is 1V = 1W, with respect to global ground (0). The measurement is averaged over time, so that ripple amplitude decreases hyperbolically with time.

Usage:

Xdesignator <Node1> <Node2> <Node3> <Node4> PMETER [PARAMS: DELAY=<100n>]

Recommended Symbol (pin numbers shown):

 

SMETER

Description: Simulation tool, apparent power-measuring block. Input is two terminals to measure current, and one additional terminal to measure voltage. Output is 1V = 1VA, with respect to global ground (0). The measurement is averaged over time, so that ripple amplitude decreases hyperbolically with time.

Usage:

Xdesignator <Node1> <Node2> <Node3> <Node4> SMETER [PARAMS: DELAY=<100n>]

Recommended Symbol (pin numbers shown):

 

SPMETER

Description: Simulation tool, AC power-measuring block. Input is two terminals to measure current, and one additional terminal to measure voltage. One output is 1V = 1W, the other 1V = 1VA. Both outputs are with respect to global ground (0). The measurement is averaged over time, so that ripple amplitude decreases hyperbolically with time.

Usage:

Xdesignator <Node1> <Node2> <Node3> <Node4> <Node5> SPMETER [PARAMS: DELAY=<100n>]

Recommended Symbol (pin numbers shown):

 

Back to Modeling Index

 

Copyright Notice