330 likes | 834 Views
Using MathCAD, Matlab and PSpice for electronics simulations. CARE Workshop Lueneburg (Germany) November 30th and December 1st 2006 José Luis Gonzalez – CERN/AB/BI. Outline. Introduction MathCAD examples Position Monitors Design parameters for PSpice PSpice simulations
E N D
Using MathCAD, Matlab and PSpice for electronics simulations CARE Workshop Lueneburg (Germany) November 30th and December 1st 2006 José Luis Gonzalez – CERN/AB/BI
Outline • Introduction • MathCAD examples • Position Monitors • Design parameters for PSpice • PSpice simulations • Electrostatic BPMs • The optimizer • Matlab overview • Summary 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 JL Gonzalez - CERN/AB/BI
Transfer Impedance ZT d / 2prCe Low cut-off frequency fc = 1/2pRLCe (usually > 100 MHz) d r Reference orbit Using MathCAD • Button type BPM JL Gonzalez - CERN/AB/BI
Ce V to V Ib Z∞ RL Using MathCAD • Button type BPM JL Gonzalez - CERN/AB/BI
Using MathCAD • Button type BPM • Cel = 8.9 pF • Zinf = 1.8 Ohm • fc = 360 MHz JL Gonzalez - CERN/AB/BI
Using MathCAD • HF - Button type BPM JL Gonzalez - CERN/AB/BI
Using MathCAD • The LHC coupler JL Gonzalez - CERN/AB/BI
Simulation with PSpice • LHC Button model using PSpice parameters 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 JL Gonzalez - CERN/AB/BI
Simulation with PSpice • Beam model • Simulating several beam intensities 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 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 JL Gonzalez - CERN/AB/BI
Simulation with PSpice • The LHC coupler model JL Gonzalez - CERN/AB/BI
Simulation with PSpice • The LHC coupler JL Gonzalez - CERN/AB/BI
Simulation with PSpice • The LHC coupler response JL Gonzalez - CERN/AB/BI
PSpice Optimizer • Constant Impedance Bessel Filter • Input impedance matching optimization JL Gonzalez - CERN/AB/BI
PSpice Optimizer • Constant Impedance Bessel Filter input matching • Goal functions and constraints S11 < 50 dB ; Zin = 50 Ohms JL Gonzalez - CERN/AB/BI
PSpice Optimizer • Constant Impedance Bessel Filter • Optimization results JL Gonzalez - CERN/AB/BI
PSpice Optimizer • Constant Impedance Bessel Filter realization JL Gonzalez - CERN/AB/BI
PSpice Optimizer • LHC - WBTN Bessel Filter JL Gonzalez - CERN/AB/BI
PSpice Optimizer • LHC - WBTN Bessel Filter 21.3p 21.5p 21.8p JL Gonzalez - CERN/AB/BI
Using Matlab • CERN-PS Beam data analysis • FFT • Q-calculation JL Gonzalez - CERN/AB/BI
Using Matlab • Windowing actual data JL Gonzalez - CERN/AB/BI
Using Matlab • SPS beam data analysis JL Gonzalez - CERN/AB/BI
Using Matlab • SPS Q-Measurement data analysis 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 JL Gonzalez - CERN/AB/BI