File Exchange

image thumbnail

Simulink Simulator for a Brushless DC Motor

version 1.0 (603 KB) by

Complete simulator for brushless dc motor based on MATLAB R13.

3.41489
81 Ratings

87 Downloads

Updated

No License

This is a comprehensive simulator written to simulate a trapeziodal back emf, star wound brushless dc motor. Complete flexibility in varying various model parameters have been provided. This is the result of the undergraduate project taken at National Institute of Technology Karnataka (INDIA) with a team of Mr Jora Gonda, Raghunandan SN and Manas Bhat.

About 25 different simulation variable can bve monitored. This is intended to be a freeware so that with time the product can improve.
The approach used has been to avoid the use of Simpower (power electronics) block set which demand huge processing power and memory. The core BLDC module 'mybldc' is logical and the inverter has been made out of logical elements resulting in a faster simulation.

Comments and Ratings (110)

Dear Sir,
I am working on Brushless DC hub motor.I have problem regarding for this motor's simulink.
Please help me regarding this
My Matlab version R2013

Can you send me the occumentation for this motor?
thank you
mail: mustafaparmak95@gmail.com

Andy

Andy (view profile)

mok mokhtar

Dear Sir,
I am so about to work on my Master thesis in BLDC/PMSM in ModelBasedDevelopment using MATLAB/Simulink. I came across this interesting link which could help me understand BLDC model and simulation. So I kindly request you to provide me document to proceed with the successful simulation of available model. Also working m-code with model as a zipped file would be of great help. and how to change parameters work. Please help me though this by sharing your valuable work to : mokhtar2406@gmail.com

Dear Sir,
I am about to work on my Master thesis in BLDC/PMSM in ModelBasedDevelopment using MATLAB/Simulink. I came across this interesting link which could help me understand BLDC model and simulation. So I kindly request you to provide me document to proceed with the successful simulation of available model. Also working m-code with model as a zipped file would be of great help. Please help me though this by sharing your valuable work to : shwethadolphin@gmail.com

Respected sir
I am doing my final year project "Simulation of Energy Recycling Technique for an Electric Scooter Using
MATLAB/SIMULINK Environment"
Please help me regarding this.

Priyanka S

We are doing project in BLDC motor speed control.Any one please send the coding to priyaramalakshmi96@gmail.com

Sachin Patil

I am working on controll of bldcm drive. so please give me related documents to complete my project with good increment in my knowledge.so plese help me. my Email id is- sachinkanha610@yahoo.com

Hi, sorry to bother you, I'm working on the speed control of a brushless motor and searching I found this great project. I have studied it but I can not make it work, I throw three errors with the S-funtion. Please help me solucinarlo and could send any document to help me to use this software. I await your response thank you very much.
My mail is: albertosanchezsalas13@gmail.com

Khoa Tan

Hi I am doing project on speed control of bldc motor. Kindly help me by providing the related documents of your simulation.Thanks in advance. my mail id is dotankhoa@gmail.com

MAQBUL

MAQBUL (view profile)

The simulation of BLDC motor is very nice and too much helpful for understanding the opetion of BLDC motor.
i have problem regarding for exact values of matrix X and u of state space equation.
Please tell me regarding the exact values of matrix X and u.
e-mail id:ghanchimaqbul92@gmail.com
mo. no: +91 97 277 68 345

MAQBUL

MAQBUL (view profile)

Good morning sir,

My name is Maqbul. i m research student of LDCE AHMEDABAD and doing project on BLDC drives.

Sir i refer BLDC simulation by devendra rai sir which is very nice and too much helpful for basic understanding state space model of BLDC. i m working and try to understand simulation since last 1.5 months.

Sir i have some problem to run simulation. i try to solve S-function error by putting values in .m file but having confusion for exact values of t,x,u and flag values.

Also problem regarding to stateflow and parse log.

Respected sir please give me some suggestions to run the simulation which is helpful for me for further development of my project. please reply me (ghanchimaqbul92@gmail.com)

Athul

Athul (view profile)

hey iam working on brushless dc motor speed control with pid using pso .if any one have model of brushless dc motor and code for pso please help me.my e-mail is kathul93@gmail.com

hi am doing project on pv based seven level inverter fed BLDC motor..can anyone tell how to give hall signal to three phase seven level inverter switches...send me related simulink models pls vaishnu103@gmail.com

Feder Wood

This model can so nice work. Thank you very much for sharing it.

Feder Wood

When i use the new_controller, the model will run to 400e-6 sec and then stops, while with controller_mod always 0.0005159 sec.
Could you tell me how to do with it?
My E-Mail is woodfeder@gmail.com
thank you very much.

yue

yue (view profile)

The model cannot be run in MATLABR2013a. Can anyone suggest a way to get around the problem with the stateflow chart in the controller_mod block, given the difference in MATLAB version to the one this author used? The following error message is generated when attempting to run in MATLABR2013a:

The following chart(s) in the model 'mybldc_mdl2' have continuous
update method:

CCCOOONNNTTTRRROOOLLLLLLEEERRR___MMMOOODDD///SSSEEETTT123

The behavior of continuous time Stateflow charts has changed
significantly in R2007b. Please read the documentation for the
changed behavior.
Making simulation target "mybldc_mdl2_sfun", ...

'mybldc_mdl2_sfun.bat' is not recognized as an internal or external command,
operable program or batch file.

Matlabooo

here is something wrong with the model,when i run the model,it turns up the summary:"At time 0.0005159318861234992, simulation hits (1000) consecutive zero crossings
I don't know why,could you tell me the reason.thanks! My matlab version is R2011a.
hichem@uni-bremen.de
thanks

Aswathy

Hi I am doing project on speed control of bldc motor. Kindly help me by providing the related documents of your simulation.Thanks in advance. my mail id is jacobchacko@live.in

elahe

elahe (view profile)

hi this is a very gud model. iam not getting how to run the model. plz explain. send any documents related to this model to my mail id
elahe_hpr@yahoo.com
thanks

mustafa

hey iam working on brushless dc motor speed control with pid using pso .if any one have model of brushless dc motor and code for pso please help me.my e-mail is muserece@gmail.com

Manohar

Hi,

I'm involved with a project to design a BLDC motor speed control with NI CompactRIO controller.
I found that your simulink simulator for a BRUSHLESS DC MOTOR ( Complete simulator for brushless dc motor based on MATLAB R13) in Matlab central - File exchange site very interesting and useful.
I've tried to simulate your simulation model in my Matlab version 6.5, but I'm getting some error.
Below are the 3 errors I'm getting from your simulink simulator model.
1) Error in S-function block 'mybldc_mdl2/ESTIMATE/S-Function': S-Function 'calc_core' does not exist.
2) Error in S-function block 'mybldc_mdl2/mybldc/S-Function': S-Function 'MYBLDC2' does not exist.
3) Error in S-function block 'mybldc_mdl2/zero-cross/M-file S-Function': S-Function 'delay' does not exist.

I'm realy interested to find out and troubleshoot these errors, I realy hope that you can help me in this.
You can reply my mail if you have any idea how to troubleshoot these errors. My email is ji.ney88@gmail.com

BALA KRISHNA

hi this is a very gud model. iam not getting how to run the model. plz explain. send any documents related to this model to my mail id balakrishna.caid@gmail.com

Kim

Kim (view profile)

zoheir tir

VERY GOOD

Siva Aduri

VERY GOOD

LIM Happy

there is something wrong with the model,when i run the model,it turns up the summary:"At time 0.0005159318861234992, simulation hits (1000) consecutive zero crossings. Consecutive zero crossings will slow down the simulation or cause the simulation to hang. To continue the simulation, you may 1) Try using Adaptive zero-crossing detection algorithm or 2) Disable the zero crossing of the blocks shown in the following table." I don't know why,could you tell me the reason.thanks! My matlab version is R2010a.

I am having the same problem as china jiliang Unversity encountered.. how to solve it? thanks

janani

janani (view profile)

good

janani

janani (view profile)

good

there is something wrong with the model,when i run the model,it turns up the summary:"At time 0.0005159318861234992, simulation hits (1000) consecutive zero crossings. Consecutive zero crossings will slow down the simulation or cause the simulation to hang. To continue the simulation, you may 1) Try using Adaptive zero-crossing detection algorithm or 2) Disable the zero crossing of the blocks shown in the following table." I don't know why,could you tell me the reason.thanks! My matlab version is R2010a.

s sakthi

modeling and simulation of BLDC motor..send the details plz...

hi pls help me... pls send MODELING OF BLDC motor

Acreala Anca

Hello,

I’m working on a similar project and I think your work is OK.
But your explanatory document contains some unclear stuff (e.g. you use the notation B for both flux density of the field and friction coefficient, you don’t explain BM, RI, DF in the document, and so on…).
What would have been very useful for me:
- to have a list with all the motor parameters and their specific values (the default used values)
- in the Simulink blocks I would have added the units for each parameter
- it’s still not very clear for me the way in which you have calculated the A matrix dealing with the fact that you use LA, LB and LC which are relative.

Anyhow, thank you, it was good input for me.

Acreala Anca

NTU jian

aad hariyadi

Seonggon Kim

BLDC Model based on MATLAB
-> MATLAB SimPowerSystem Library
-> Permant Magnet Synchronous Machine
-> Flux distribution: Trapezoidal

Bvhari Vashvtri

Hi, good job with the MATLAB simulink stuff. I can't get it to run in 2007b... any ideas of how to get the simulations to run? The m-files don't work either.

Takeyuki HAYASAKI

I really need brushless dc motor based on MATLAB model.

Ayrton Lewis

no comment

ashish singh

sir i am doing project on BLDC motor plese help me by telling me how to simulate in mathlab.and sen me the working model of simulate BLDC motor controller my email-ashish_023_003@yahoo.com .please sir,....

he yuan

sujit kumar

hassan salamah

nice

AMIR MOHAMAD MOHAMADI

salam

chaitanya Bommisetty

I have simulated the model after reseting using the default values that were already set in the model. The problem is that in the open loop operation of motor i.e before the threshold time, there is a problem in the state machine of CONTROLLER_MOD. Since at start up the reference and actual currents are zero the state machine was not able to decide state and giving parse errors.

dwarakanadh sai

i think it is very useful for the students,,,,
i have to congrat the author to do these type of things.....

i am requesting to all authors that...
create model for OP-AMP....
and put like this..........

jiashun lai

It's very good,I have look for it fro a long time!Thanks a lot!

MEHRAJ MATTA

yirga alemu

it is good go ahwead

vu hoang anh

give me way how to operate it

rambabu surala

hello sir i am doing project bldc motor with fuzzy controller with your same lin model but i am getting errors. please teel to how i have to apply fuzzy to simlink model

Lokesh Amarnath

salah Mohamed

The current shape is compeletly wrong sir. It should be a square wave with zero duration between each positive and negative pulse!!!! but the current in this simulation is totally distorted and does not follow the litereture. why is that?

ali moh

thanks

ff gh

M. Murali Rama Krishnan

Dear Sir,
I already mail you regarding... your Brushless DC motor... With out Documentation it's uneasy to understand sir... Please Send me a copy of Documentation for this Brushless DC motor... which will help me out from this problems...
I have mail you twice to
devanrai@rediffmail.com
But I haven't got any reply form you...
Please help me... Sir...
After Understanding the complete projects then only I may Apply Some special techique using the BLDC Simulator...

My E-mail id:
scanmurali@gmail.com
I hope... you will positive in your reply...

Regarding Project Comment:
I cannot comment because I am beginner in Matlab as well as Simulink... But I cannot put Excellent to this project because I am not at all understood the complete project....

It's Just all Matlab Files... which help me to run... I may not understand... why the IC, Controller MOD, State Diagrams were installed in this Brushless DC Motor... etc...etc... By the way I have lot questions regrading Brushless DC Motor Using the State Space Modelling.... Please Send me the ocumentation for this project...

I hope the GOD wishes you
where ever you go...



mohammad soleimani

Lekshmi Balan

i want dc motor simulation for my project. Please send to my e mail id

kaliamoorthy Mylsamy

Yes it is really intresting to understand how to model BLDC using Matlab.

Seyyed Hamzeh Hashemi

electrical engineering

zhang jiabao

it's a good thing.

simbu arasan

i want the dc motor simulation for my project.please send it to my mail.

sivakumar R.J

Excellent one.. iam having one doubt. can u give me the rating of your motor..because iam having the transfer function values of my BLDC motor but not the rating..can u please tell me how we have to find the rating of the motor from the J,L,R,B,K values and vice versa... please its important for our project

adi sahu

bhavesh BHUT

ineed it for my project

sai kishore

good work

dattatray shinde

i would like to see simulation block diagram

Krismadinata Chaniago

Abolfazl Rajabi

Anna SMith

vag ben

aziz popat

XU Dong

Thanks you!

pravin sawant

lanka venkat

the site is really good

Juan Teuber

SURYA CHANDRA RAJESH

hello good work plz send me model of BLDC motor

Daniel Oldjira Fufa

Very good, and I am very satisfied.
Thank you for your work

LENINE DURAI

estimation of speed and rotor position without sensor-needed information

bouhrik moussa

hello, goog working, send me modeling of dc motor brushless simple model,please

chitra laksmanan

respected sir,
iam doing p[roject in this simulation area.i downloaded and simulated the bldc model.but its showing some error in the S function.how to rectify that one?please guide me.

sri chowdary

good but need some improvement

derust ssert

hallo;we are working on a project "position control of dc motor using automatic controller(PID action)with MATLAB simulation.we have just downloaded your zip file .we are working in matlab 6.5 .it is very interesting.we found some blockset of PID controller but there is trouble in finding its parameters (gain,input).please send us relevant info for simulation. "thank you".

yuyang wang

I have downloaded this file but cannot unzip it.There seems to be some errors of the zip file. Can you be kind enough to send me the file?Thank you.

raghuram mudududla

this is the best simulation i have ever seen ..........Ila

santosh ugale

hallo;we are working on a project "speed control of dc motor using automatic controller(PI action)with MATLAB simulation.we have just downloaded your zip file .we are working in matlab 6.5 .it is very interesting.we found some blockset of PI controller but there is trouble in finding its parameters (gain,input).please send us relevant info for simulation. "thank you".

raj kapor

Hi,

I'm involved with a project to design a BLDC motor control with DSP controller.
I found that your simulink simulator for a BRUSHLESS DC MOTOR ( Complete simulator for brushless dc motor based on MATLAB R13) in Matlab central - File exchange site very interesting and useful.
I've tried to simulate your simulation model in my Matlab version 6.5, but I'm getting some error.
Below are the 3 errors I'm getting from your simulink simulator model.
1) Error in S-function block 'mybldc_mdl2/ESTIMATE/S-Function': S-Function 'calc_core' does not exist.
2) Error in S-function block 'mybldc_mdl2/mybldc/S-Function': S-Function 'MYBLDC2' does not exist.
3) Error in S-function block 'mybldc_mdl2/zero-cross/M-file S-Function': S-Function 'delay' does not exist.

I'm realy interested to find out and troubleshoot these errors, I realy hope that you can help me in this.
You can reply my mail if you have any idea how to troubleshoot these errors.

kanchan shinde

Hello,
i m working on this project so expecting more information about it

sachin raulkar

S. Darenfed

Excellent work.

sivakumar Balu

this project is very good

praveen gujjeti

U have done an incredible work.

Jie Zhou

Very Good.

Abhishek Nema

sundeep raj

Dev babu lage raho!!!!!!!

sujata dhanorkar

i want all information about this project.i want to work on it will you help me please please send me soon that is now only or on 25th oct.because i have to tell about this project in class on monday only .i m stud from electrical eng.finel yr.from nanded university,mahareashtra. and happy dashera to u

SUDHIR KUDVA

very good modelling gives very intricate detail of the motor

PANNEER SELVAN

I AM UNABLE TO DOWN LOAD PLEASE SEND THE ABOVE ZIP.SIMUBLDC TO MY MAIL IDIT WILL BE TIMELY HELP THANK U.

murugan khanth

please to correct the down loading problem

sheik abdullah

problems during down load,please to correct the above problem earlier(26-7-2004)

Naveen Anand

vey good but problem with downloading.

N Abed

Good example about the machine modeling

raman sivam

Not able to download more than 30%

rajesh raikwar

It is very good

Pawan Pangty

Just too good...
keep it up dude..

Ramakrishnan Krishnan

Malavika Bhaskaranand

Keep up the good work!!

Kiran Seshadri

Dr. S. Narayana Iyer

A good application. Would like tohave it more generalised.

Updates

Update of the description field

Update of description field with some points to watch out before the model is run.

NA

NA

NA

MATLAB Release
MATLAB 6.5 (R13)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video