MarkKhusid (@markkhusid) header
MarkKhusid (@markkhusid) profile picture

EE in Buffalo. Power electronics, LTspice, Fortran for simulation. Grad student at 50.

Buffalo, NY
Joined October 2022
Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)Photo by MarkKhusid (@markkhusid)
I'm Mark Khusid, an electrical engineer in Buffalo, NY. 10+ years in PSpice/LTspice, and currently taking ASU's EEE 572 while working. I'll post practical power electronics, LTspice simulation, and some Fortran for simulation kernels. Projects: mkdynamics.net
3
208
New Article: I went back through four Fortran timing notebooks on my site and asked what each timer actually measures. Two timers wrap a print statement. One benchmark mostly times program startup. And one error curve lands right on 2/N, exactly as theory says.
1
LTspice tip of the week: put .four 1k 9 V(out) next to your .tran and you get harmonics 1–9 of a 1 kHz fundamental, plus THD, in the SPICE Error Log (Ctrl+L). Last period by default; Nperiods = -1 uses all data. Add .option plotwinsize=0 too. #LTspice
2
1
78
What's the one directive you add to every sim?
3
Plotting from Fortran in a LFortran notebook: fplotlib now has its own section on my site. The demo plots a damped sine, sine and cosine together, and subplots. The animation notebook draws a rotating Möbius strip. #Fortran
1
17
Holiday reading, free online: The Scientist and Engineer's Guide to Digital Signal Processing by Steven W. Smith. Plain-language chapters on the DFT, FFT and filters. Chapter 8's "Polar Nuisances" names Tuesday's trap: phase of very small magnitudes. Happy Thanksgiving.
1
18
Table of contents, chapter by chapter: dspguide.com/pdfbook.htm The Polar Nuisances section: dspguide.com/ch8/9.htm
3
Worth reading, free: The Art of HPC by Victor Eijkhout of TACC. Four textbooks: the science of computing; parallel programming (MPI and OpenMP in C, C++ and Fortran, plus coarray Fortran); scientific programming in C++17 and Fortran 2008; and HPC carpentry.
1
1
25
All four volumes: theartofhpc.com/ It's one of the useful links on my site: mkdynamics.net/sections/misc…
7
Years ago I ran a 1 Hz square wave through FFTW from Fortran. Magnitude matched SciLab. The phase plot looked like garbage; my page still calls the cause "unknown at this time." It wasn't garbage: zero-padding, plus phase computed for bins with almost no energy. Write-up below.
1
21
The original page, with the plot that started it: mkdynamics.net/sections/comp…
7
Checking my 120 V to 12 V buck write-up: the feedback divider is 14k over 10k. That takes 12 V down to 5 V at the feedback pin. #PowerElectronics
1
1
7
Fixed my Fortran FFT tutorial: the 1 Hz square-wave intro now actually says 1 Hz. The run takes the sample rate and the number of periods, and the frequency column starts at 0 Hz. It's a real-to-complex FFTW3 program, and the compile lines now include -I/usr/include. #Fortran #DSP
1
17
Grok Build is simply amazing. It came up with a clever way to parallel two synchronous forward converters with minimal losses. No diode OR's! Efficiency is >95% already in this running simulation. 100V in, 12V at 40A out. Details to follow in articles, posts and writeups!
3
24
Updated my resume: the ASU engineering coursework now lists Computer Controlled Systems and Python for Rapid Engineering Solutions.
9
Published my Falcon 9 landing study: 90 flights, SQL queries, six EDA plots, and four classifiers. On the saved test split, logistic regression, SVM and kNN each hit 0.833. The decision tree cross-validates at 0.875 but tests at 0.667. #DataScience
1
2
124
I put together Richard Visokey AD7C's Arduino + AD9850 DDS VFO (his design, not mine). 0 to 40 MHz in 1 Hz steps, rotary encoder, 16x2 LCD. Schematic, sketch, and a video of my build running: mkdynamics.net/sections/elec… #hamradio
1
27
Root locus plots show the range of controller gain that keeps a loop stable. Added that notebook plus a dual gravity-drained tank level-control case study to my Control Systems section. #ControlSystems
1
1
24
An old notebook of mine: Fortran matmul vs a triple DO loop on 10x10 matrices. matmul came out 8.1x faster. Then I reread the code. The DO-loop timer also wraps printing both input matrices to the screen. So most of that 8.1x is I/O, not math. Rerunning it properly.
1
1
17
Beta Technologies' H500A motor: ~640 kW from ~75 kg, 97.5% efficient in their internal testing, split into redundant halves with independent inverters. At 640 kW, that last 2.5% is still ~16 kW of heat. That's the number I'd want to see the cooling design for.
1
12
Buck with a 50:1 load range, 5 A down to 0.1 A. How do you size the inductor?
0%Stay CCM at min load
100%Size for ripple, go DCM
0%Burst/skip mode does it
0%Depends on EMI spec
1 votes • Final results
8