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,
notion image

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,
notion image
The Fourier decomposition is obtained by maxwell’s FFT as shown in the figure below,
notion image

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,
notion image

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,
notion image
The histogram of FFT decomposition of each harmonic is as follows,
notion image

About Project

  • Version:ANASYS Electronics Suite 2021 R2

© Danshuiyu 2019 - 2024