Difference between revisions of "Filter Pages and LTspice Goodies"

From LTwiki-Wiki for LTspice
Line 38: Line 38:
 
|-
 
|-
 
|style="color:#007900"|<code>Filter</code>||a universal filter, [[#Filter|separate]]
 
|style="color:#007900"|<code>Filter</code>||a universal filter, [[#Filter|separate]]
 +
|-
 
|style="color:#007900"|<code>FreqDet</code>||frequency detector
 
|style="color:#007900"|<code>FreqDet</code>||frequency detector
 +
|-
 
|style="color:#007900"|<code>Gain</code>||a linear/dB gain/buffer with variable output resistance
 
|style="color:#007900"|<code>Gain</code>||a linear/dB gain/buffer with variable output resistance
 +
|-
 
|style="color:#007900"|<code>Integ_r</code>||resettable integrator w/out external period control
 
|style="color:#007900"|<code>Integ_r</code>||resettable integrator w/out external period control
 +
|-
 
|style="color:#007900"|<code>LeadLag, LeadLag2</code>||two versions for a ''<code>&lt;-&pi;..&pi;&gt;</code>'' lead-lag control, w/out external control
 
|style="color:#007900"|<code>LeadLag, LeadLag2</code>||two versions for a ''<code>&lt;-&pi;..&pi;&gt;</code>'' lead-lag control, w/out external control
 +
|-
 +
|style="color:#007900"|<code>Lim</code>||hard limitter
 +
|-
 +
|style="color:#007900"|<code>MUX</code>||a simple externally controlled analog multiplexer
 +
|-
 +
|style="color:#007900"|<code>PhaseDet</code>||phase detector
 +
|-
 +
|style="color:#007900"|<code>PID</code>||a universal PID/PI/PD/ID/P/I/D analog/digital controller
 +
|-
 +
|style="color:#007900"|<code>PLL</code>||a phase-locked loop with single/quadrature inputs
 +
|-
 +
|style="color:#007900"|<code>SampledSource</code>||LTspice's own SINE and/or PULSE sources, sampled
 +
|-
 +
|style="color:#007900"|<code>StateSpace</code>||1st/2nd/3rd order, SISO state-space block
 +
|-
 +
|style="color:#007900"|<code>UpDnSpl</code>||<code>.AC</code>-friendly up-/down-sampler
 
|}
 
|}

Revision as of 05:00, 9 May 2014

Introduction

 The following links contain macro models built for LTspice with the purpose of turning large-scale simulations into block-level schematics, similar to hierarchy design but with predefined models. The domains of interest include, but are not limited to, power electronics ([Pwr]), digital devices ([0101]), mathematics equations ([Math]), filtering and control theory ([Filt]). In addition, there is one more model, Filter, that is made to be a sort of a universal filter for LTspice.  The links go to an external site, for now, until I fully merge all the pages to blend in with LTwiki. The lists describing the contents of every folder is limited to enumeration and a simple description, details are in the links.

 This folder holds the following:

ADC16 an asynchronous (max) 16bit ADC
Bin2Dec a binary to decimal translator
CNT16asy an asynchronous (max) 16bit counter
DAC16 a (max) 16bit DAC
Dec2Bin a decimal to binary translator
JKFLOP a behavioural JK flip-flop

[Filt]

 The contents of this folder is mixed filtering and control theory.

AGC an automatic gain controller w/out external frequency control
DeadTime dead-time
DeadZone dead-zone
Delay analog -- exp(-sT) -- or digital -- z-1 -- delay
Diff differentiator
FFT actually a continuous-time Fourier decomposition, but FFT is shorter
Filter a universal filter, separate
FreqDet frequency detector
Gain a linear/dB gain/buffer with variable output resistance
Integ_r resettable integrator w/out external period control
LeadLag, LeadLag2 two versions for a <-π..π> lead-lag control, w/out external control
Lim hard limitter
MUX a simple externally controlled analog multiplexer
PhaseDet phase detector
PID a universal PID/PI/PD/ID/P/I/D analog/digital controller
PLL a phase-locked loop with single/quadrature inputs
SampledSource LTspice's own SINE and/or PULSE sources, sampled
StateSpace 1st/2nd/3rd order, SISO state-space block
UpDnSpl .AC-friendly up-/down-sampler