4.07895

4.1 | 76 ratings Rate this file 305 Downloads (last 30 days) File Size: 603 KB File ID: #5042

Simulink Simulator for a Brushless DC Motor

by

 

29 May 2004 (Updated )

Complete simulator for brushless dc motor based on MATLAB R13.

| Watch this File

File Information
Description

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.

Required Products EDA Simulator Link IN
EDA Simulator Link MQ
Embedded IDE Link CC
Embedded IDE Link TS
Gauges Blockset
Global Optimization Toolbox
Image Acquisition Toolbox
Image Processing Toolbox
Instrument Control Toolbox
Mapping Toolbox
MATLAB Builder EX
MATLAB Builder JA
MATLAB Builder NE
MATLAB Compiler
MATLAB release MATLAB 6.5 (R13)
Other requirements 1.RAM: 256 MB or more (although 128 MB would do but it would be slow) 2.A good graphics card
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (99)
11 Nov 2014 Athul

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

03 Nov 2014 vaishnavi palani

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

11 Jul 2014 Feder Wood

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

10 Jul 2014 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.

27 Nov 2013 yue

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.

09 Nov 2013 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

04 Oct 2013 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

21 May 2013 elahe

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

09 May 2013 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

12 Apr 2013 Manohar  
17 Mar 2013 Muhamad Anas Mohamad Farok

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

12 Jan 2013 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

20 Nov 2012 Kim  
12 Jul 2012 zoheir tir

VERY GOOD

27 Apr 2012 Siva Aduri

VERY GOOD

28 Mar 2012 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

22 Jan 2012 janani

good

22 Jan 2012 janani

good

19 Mar 2011 china jiliang university

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.

01 Aug 2010 s sakthi

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

09 Sep 2009 girikrishna .v

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

15 Aug 2009 Erdal Bizkevelci  
07 May 2009 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

22 Feb 2009 NTU jian  
15 Jul 2008 aad hariyadi  
23 Jun 2008 Seonggon Kim

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

22 Apr 2008 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.

21 Apr 2008 Takeyuki HAYASAKI

I really need brushless dc motor based on MATLAB model.

09 Apr 2008 Ayrton Lewis

no comment

06 Apr 2008 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,....

25 Dec 2007 he yuan  
20 Dec 2007 sujit kumar  
17 Dec 2007 hassan salamah

nice

10 Dec 2007 AMIR MOHAMAD MOHAMADI

salam

01 Aug 2007 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.

31 Jul 2007 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..........

06 Jul 2007 jiashun lai

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

20 Jun 2007 MEHRAJ MATTA  
20 May 2007 yirga alemu

it is good go ahwead

08 May 2007 vu hoang anh

give me way how to operate it

05 May 2007 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

20 Apr 2007 Lokesh Amarnath  
15 Mar 2007 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?

05 Feb 2007 ali moh

thanks

20 Dec 2006 ff gh  
05 Dec 2006 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...



15 Nov 2006 mohammad soleimani  
30 Oct 2006 Lekshmi Balan

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

23 Oct 2006 kaliamoorthy Mylsamy

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

18 Oct 2006 Seyyed Hamzeh Hashemi

electrical engineering

11 Oct 2006 zhang jiabao

it's a good thing.

25 Sep 2006 simbu arasan

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

20 Sep 2006 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

04 Sep 2006 adi sahu  
29 Aug 2006 bhavesh BHUT

ineed it for my project

29 Aug 2006 sai kishore

good work

29 Aug 2006 dattatray shinde

i would like to see simulation block diagram

17 Aug 2006 Krismadinata Chaniago  
11 Jul 2006 Abolfazl Rajabi  
02 Jun 2006 Anna SMith  
28 Apr 2006 vag ben  
25 Apr 2006 aziz popat  
17 Apr 2006 XU Dong

Thanks you!

05 Jan 2006 pravin sawant  
01 Jan 2006 lanka venkat

the site is really good

06 Dec 2005 Juan Teuber  
05 Dec 2005 SURYA CHANDRA RAJESH

hello good work plz send me model of BLDC motor

09 Nov 2005 Daniel Oldjira Fufa

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

28 Sep 2005 LENINE DURAI

estimation of speed and rotor position without sensor-needed information

12 Sep 2005 bouhrik moussa

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

26 Aug 2005 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.

11 Aug 2005 sri chowdary

good but need some improvement

01 Aug 2005 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".

21 May 2005 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.

30 Apr 2005 raghuram mudududla

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

09 Apr 2005 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".

05 Apr 2005 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.

21 Mar 2005 kanchan shinde

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

20 Mar 2005 sachin raulkar  
14 Feb 2005 S. Darenfed

Excellent work.

05 Feb 2005 sivakumar Balu

this project is very good

13 Jan 2005 praveen gujjeti

U have done an incredible work.

29 Dec 2004 Jie Zhou

Very Good.

20 Dec 2004 Abhishek Nema  
09 Nov 2004 sundeep raj

Dev babu lage raho!!!!!!!

23 Oct 2004 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

14 Oct 2004 SUDHIR KUDVA

very good modelling gives very intricate detail of the motor

11 Oct 2004 PANNEER SELVAN

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

24 Jul 2004 murugan khanth

please to correct the down loading problem

24 Jul 2004 sheik abdullah

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

13 Jul 2004 Naveen Anand

vey good but problem with downloading.

07 Jul 2004 N Abed

Good example about the machine modeling

15 Jun 2004 raman sivam

Not able to download more than 30%

11 Jun 2004 rajesh raikwar

It is very good

08 Jun 2004 Pawan Pangty

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

07 Jun 2004 Ramakrishnan Krishnan  
07 Jun 2004 Malavika Bhaskaranand

Keep up the good work!!

06 Jun 2004 Kiran Seshadri  
03 Jun 2004 Dr. S. Narayana Iyer

A good application. Would like tohave it more generalised.

Updates
16 Oct 2006

NA

16 Oct 2006

NA

16 Oct 2006

NA

16 Oct 2006

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

16 Oct 2006

Update of the description field

Contact us