Skip to content
MathWorks - Mobile View
  • Inicie sesión cuenta de MathWorksInicie sesión cuenta de MathWorks
  • Access your MathWorks Account
    • Mi Cuenta
    • Mi perfil de la comunidad
    • Asociar Licencia
    • Cerrar sesión
  • Productos
  • Soluciones
  • Educación
  • Soporte
  • Comunidad
  • Eventos
  • Obtenga MATLAB
MathWorks
  • Productos
  • Soluciones
  • Educación
  • Soporte
  • Comunidad
  • Eventos
  • Obtenga MATLAB
  • Inicie sesión cuenta de MathWorksInicie sesión cuenta de MathWorks
  • Access your MathWorks Account
    • Mi Cuenta
    • Mi perfil de la comunidad
    • Asociar Licencia
    • Cerrar sesión

Vídeos y webinars

  • MathWorks
  • Vídeos
  • Vídeos-Inicio
  • Buscar
  • Vídeos-Inicio
  • Buscar
  • Comuníquese con ventas
  • Software de prueba
3:32 Video length is 3:32.
  • Description
  • Full Transcript
  • Code and Resources

How to Design Motor Controllers Using Simscape Electrical, Part 1: Simulating Back-EMF Voltage of a BLDC Motor

From the series: How to Design Motor Controllers Using Simscape Electrical

Melda Ulusoy, MathWorks

This video demonstrates how you can model a three-phase BLDC motor using Simscape Electrical™ and investigate its back-EMF profile.

Download the model used in this video.

Check out this video to learn more about brushless DC motors

In this video, we’ll create a simple model to simulate a three-phase BLDC and investigate its back-EMF profile. In Simulink, we’ll create a scenario where we turn the motor shaft while having open terminals at all three phases and then measure the voltage produced at one of the phases to observe the back-EMF.

We will now create a physical model to simulate this scenario using Simscape Electrical. In the Simulink library browser, we first navigate to the Permanent Magnets and drag the BLDC block to the canvas. This block represents a BLDC with a trapezoidal back-EMF profile. You can use your motor’s data sheet to set the values of the block parameters under the rotor, stator and mechanical tabs. In the later videos, we’ll talk about the parameterization in more detail. The ports at the left-hand side of the block are for electrical connections and the ones on the right are for the mechanical connections.

To create open terminals, we first expand the composite port to three phases and then connect an open circuit block to each of the phases. To connect the motor’s neutral phase to the ground, we use the electrical reference block.

Now we’re going to work on the mechanical connections of the motor. To make the motor shaft turn, the motor is driven by using an ideal angular velocity source block. You can think of this block as a torque source that will make the rotor follow a specified angular trajectory. We then connect a mechanical reference to the ports labeled with C. The velocity source block has a second input, which is a physical signal. In order to make the motor rotate at a constant speed, we’ll input a constant value to the block. This block outputs a Simulink signal. We need to convert it to a physical signal by using the Simulink PS converter. To solve the Simscape model we just created, we use a solver block where we choose to use the local solver and also set the sample time. We’ll discuss how to choose a sample time in a later video. Now we can simply pick one of the three phases and measure the back-EMF. Let’s connect a voltage sensor to phase A to measure phase A’s back-EMF voltage. The output of the voltage sensor block is a Simscape signal. In order to convert it to a Simulink signal, this time we use PS Simulink converter and connect the signal to a scope for visualization. Then we simulate this model and view the back-EMF voltage of phase A. We observe that the back-EMF exhibits a trapezoidal shape, including regions where the voltage remains flat. This concludes the video.

Download Code and Files

Download the model used in this video

Related Products

  • Simscape Electrical

BLDC Motor Control with Simulink
Power Electronics Control Community
Motor Control Design with Simulink
Introduction to Brushless DC Motor Control (Ebook)
Field-Oriented Control of PMSMs with Simulink (4 videos)
Get technical papers and videos explaining modeling and simulation of motor controllers
Understanding BLDC Motor Control Algorithms

Bridging Wireless Communications Design and Testing with MATLAB

Read white paper
Related Information
Related Information
Watch this video series to learn how brushless DC motors work (6 videos)

Feedback

Featured Product

Simscape Electrical

  • Request Trial
  • Get Pricing

Up Next:

Learn how you can model a three-phase inverter using Simscape Electrical.
7:51
Part 2: Modeling a Three-Phase Inverter
View full series (5 Videos)

Related Videos:

5:11
Simulating in Real Time: Electrical Actuator
3:13
Optimizing System Performance: DC Motor
24:59
AC Motor Control Architecture, Code Generation, and...
4:32
Simulating In Real Time: Hybrid Electric Vehicle
48:06
Electrical Distribution System Modeling and Analysis in...

View more related videos

MathWorks - Domain Selector

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

  • Switzerland (English)
  • Switzerland (Deutsch)
  • Switzerland (Français)
  • 中国 (简体中文)
  • 中国 (English)

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • Comuníquese con ventas
  • Software de prueba

MathWorks

Accelerating the pace of engineering and science

MathWorks es el líder en el desarrollo de software de cálculo matemático para ingenieros

Descubra…

Explorar productos

  • MATLAB
  • Simulink
  • Software para estudiantes
  • Soporte para hardware
  • File Exchange

Probar o comprar

  • Descargas
  • Software de prueba
  • Comuníquese con ventas
  • Precios y licencias
  • Cómo comprar

Aprender a utilizar

  • Documentación
  • Tutoriales
  • Ejemplos
  • Vídeos y webinars
  • Formación

Obtener soporte

  • Ayuda para la instalación
  • MATLAB Answers
  • Consultoría
  • Centro de licencias
  • Comuníquese con soporte

Acerca de MathWorks

  • Ofertas de empleo
  • Sala de prensa
  • Misión social
  • Casos prácticos
  • Acerca de MathWorks
  • Select a Web Site United States
  • Centro de confianza
  • Marcas comerciales
  • Política de privacidad
  • Antipiratería
  • Estado de las aplicaciones

© 1994-2022 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS

Únase a la conversación