How can a validate the BLDC Motor Model

6 views (last 30 days)
Muhammed Emin Yavuzaslan
Muhammed Emin Yavuzaslan on 16 Oct 2024
Edited: Sabin on 9 Jan 2025
Hello everyone,
In these days i'm modelling a BLDC Motor with simulink. I want to validate my model with real time test data
In my test case, I have an ESC , BLDC Motor and Microcontroller for getting PWM signal.
ESC have a connection from battery and have another connection for getting PWM from the Microcontroller. And also have ESC-Motor connection for three phase
My input is PWM and my measured outputs are RPM and Thrust.
During the test, I increase the PWM step by step and measure the rpm and thrust and save them to Excel.
I have all BLDC motor parameters and i modeled a PWM source, an inverter and BLDC Motor
But in my model my input PWM is not constant. I want to create a model that PWM is constant.
For example i want to input 1450 PWM and scope the RPM & Thrust and do it for each pwm and save it. After that i want to compare the simulation results and test result.
What should i do ?
Best Regards
Emin
  4 Comments
Sabin
Sabin on 19 Dec 2024
PWM stands for Pulse Width Modulation, PWM signal is a pulse not a constant value. Can you explain what do you mean by 1450 PWM?
Mr. Pavl M.
Mr. Pavl M. on 23 Dec 2024
Edited: Sabin on 9 Jan 2025
Answer:
It is in fact, indeed today, possible to create model with variable pulse width, DC = duty cycle and amplitude are the main parameters of PWM waveform, which is usually measured as a ratio and low(off) to high(on) value height. DC=low_part_time_frame/TotalCycleTimeFrame.
By 1450 you might mean amplitude in ... , or period in ms (if so than find your Toff and Ton required for PWM), or frequency in Hertz of PWM in %, which convertible to DC:
Period=1/Frequency
Period=Ton+Toff
DutyCycle=Ton*Frequency*100=(1/Frequency - Toff)*Frequency*100=100*(1 - Toff*Frequency).

Sign in to comment.

Answers (1)

Sabin
Sabin on 9 Jan 2025
PWM is a pulse and therefore not constant. For three-phase systems modulation waveform is also not going to be a constant value but a sinusoidal or pseudo-sinusoidal signal. What can be constant is the frequency or amplitude of the modulation waveform.
Check out this page for more information about Space Vector Modulation (SVM) for Motor Control:
For running several simulations and then compare the results you can use the Simulation Data Inspector:

Products


Release

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!