Using MathCAD, Matlab and PSpice for electronics simulations CARE Workshop Lueneburg (Germany) November 30th and December 1st 2006 José Luis Gonzalez – CERN/AB/BI
JL Gonzalez - CERN/AB/BI Outline Introduction MathCAD examples Position Monitors Design parameters for PSpice PSpice simulations Electrostatic BPMs The optimizer Matlab overview Summary Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI Introduction Mathematical tools Accurate calculations Fast and easy parameter changes Electronics simulation Avoids breadboarding and facilitates design Application examples BPM models Accelerator beam data analysis Simulation Tools JL Gonzalez - CERN/AB/BI
MathCAD
JL Gonzalez - CERN/AB/BI Using MathCAD Button type BPM d r Reference orbit Transfer Impedance ZT d / 2prCe Low cut-off frequency fc = 1/2pRLCe (usually > 100 MHz) Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI Using MathCAD Button type BPM Ib Ce RL Z∞ V to V Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI Using MathCAD Button type BPM Cel = 8.9 pF Zinf = 1.8 Ohm fc = 360 MHz Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI Using MathCAD HF - Button type BPM Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI Using MathCAD The LHC coupler Simulation Tools JL Gonzalez - CERN/AB/BI
PSPICE
Simulation with PSpice LHC Button model using PSpice parameters Simulation Tools JL Gonzalez - CERN/AB/BI
Simulation with PSpice Beam model using PSpice parameters Piecewise Linear Current Source associated to a definition file to generate a Gaussian beam signal Simulation Tools JL Gonzalez - CERN/AB/BI
Simulation with PSpice Beam model Simulating several beam intensities Simulation Tools JL Gonzalez - CERN/AB/BI
Simulation with PSpice Button and Bessel low-pass filter PSpice parametric analysis Beam intensity variation 2.109 2.1011 p/b Simulation Tools JL Gonzalez - CERN/AB/BI
Simulation with PSpice Button and Bessel low-pass filter response to different bunch lengths 5.1010 p/b Bunch σ varies from 1 to 5 ns Simulation Tools JL Gonzalez - CERN/AB/BI
Simulation with PSpice The LHC coupler model Simulation Tools JL Gonzalez - CERN/AB/BI
Simulation with PSpice The LHC coupler Simulation Tools JL Gonzalez - CERN/AB/BI
Simulation with PSpice The LHC coupler response Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI PSpice Optimizer Constant Impedance Bessel Filter Input impedance matching optimization Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI PSpice Optimizer Constant Impedance Bessel Filter input matching Goal functions and constraints S11 < 50 dB ; Zin = 50 Ohms Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI PSpice Optimizer Constant Impedance Bessel Filter Optimization results Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI PSpice Optimizer Constant Impedance Bessel Filter realization Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI PSpice Optimizer LHC - WBTN Bessel Filter Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI PSpice Optimizer LHC - WBTN Bessel Filter 21.3p 21.5p 21.8p Simulation Tools JL Gonzalez - CERN/AB/BI
Matlab
JL Gonzalez - CERN/AB/BI Using Matlab CERN-PS Beam data analysis FFT Q-calculation Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI Using Matlab Windowing actual data Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI Using Matlab SPS beam data analysis Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI Using Matlab SPS Q-Measurement data analysis Simulation Tools JL Gonzalez - CERN/AB/BI
JL Gonzalez - CERN/AB/BI Summary MathCAD and Matlab are very powerful tools for the engineer Data analysis Mathematical modeling PSpice has proven to be an essential tool for circuit simulation Simulation Tools JL Gonzalez - CERN/AB/BI