
EE in Buffalo. Power electronics, LTspice, Fortran for simulation. Grad student at 50.
Buffalo, NY
Joined October 2022
- Tweets5.5K
- Following1K
- Followers265
- Likes43.3K
Pinned Tweet
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
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
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
















