FFT code
date
Sep 26, 2023
slug
FFT
status
Published
tags
motor
summary
fft
type
Post
1. Modeling
The magnetization directions of the PMs based on the Halbach linear motor are shown in the figure below,
2. FFT by Maxwell
The magnetic density waveform of the air-gap under a pair of poles is obtained by Maxwell as shown in the figure below,
The Fourier decomposition is obtained by maxwell’s FFT as shown in the figure below,
3. FFT by python & Matplotlib (Recommended)
Export the air-gap magnetic density (Bx) to csv format and the FFT code in python is as follows,
The FFT is as follows,
4. FFT by Matlab (Not recommended)
Export the air-gap magnetic density (Bx) to csv format and the FFT code in matlab is as follows,
The decomposition of each harmonic is as follows,
The histogram of FFT decomposition of each harmonic is as follows,
About Project
- Version:ANASYS Electronics Suite 2021 R2