Master PMSM Vector Control—From Theory to Matlab and STM32 Practice!

Not sure where to start with PMSM control? From theory to Matlab-Simulink simulations and STM32 hands-on practice, you can master PMSM vector control and sensorless techniques in 3 steps.

(4.9) 14 reviews

138 learners

Level Intermediate

Course period Unlimited

stm32
stm32
motordriver
motordriver
stm32
stm32
motordriver
motordriver

Reviews from Early Learners

4.9

5.0

유상무상무상무상수리무상보상상가

38% enrolled

I highly recommend this lecture to anyone who wants to properly learn PMSM vector control. It was incredibly beneficial because I could follow the entire process, from theoretical explanations to Matlab simulations and STM32-based hardware practice. In particular, lectures that cover PMSM all the way through to hands-on practice are rare in Korea, which made this course even more valuable. The explanations were so simple and clear that, personally, I understood them better than my university professors' classes. My satisfaction was even higher because I didn't just learn the theory but could actually implement and verify it. As expected, this lecture was also the best, and thank you for the great course.

5.0

interlace

67% enrolled

This was very helpful in understanding PMSM vector control. Thank you for such a great lecture~~

5.0

채희준

99% enrolled

This lecture is so helpful!

What you will gain after the course

  • Ability to understand the electrical characteristics of PMSM motors and estimate their parameters

  • Ability to understand the principles of sensorless control techniques and apply them in practice

  • Ability to design and validate motor control simulations using MATLAB Simulink

  • Ability to directly implement a PMSM FOC vector control algorithm on an STM32

  • Ability to design current/speed control loops and tune PI controllers

Special 20% off coupon!

Link: https://inf.run/72KGV

The one detail that makes all the difference,
advanced PMSM motor control technology


Are you struggling with any of these concerns? 🤔


When you want to go beyond BLDC and deepen your expertise in motor control

When you want to take on the electric vehicle/robotics field but worry that you lack the core technology.

When you’ve studied PMSM theory but feel overwhelmed when trying to implement it on your own

By learning PMSM, the ultimate motor control technology

You can grow into an engineer who stands out.



✔️

Why you should take this course



POINT 1.

Theory - Simulation - Implementation
Master PMSM in 3 Steps

We systematically cover the control algorithms for DC motors and PMSMs, from theory (modeling) through Matlab simulation and actual STM32 implementation. Through this three-step learning process, you will understand how the 'equations' and 'code' that once felt like a black box are transformed into the 'rotation of an actual motor'.

PMSM Theory → Matlab Simulink → STM32 Practice

POINT 2.


Sensorless control technology that completes your practical competitiveness

In the field, where cost efficiency and durability are demanded beyond performance, sensorless control is the core technology for achieving all these values without hardware sensors. Understanding and implementing this technology will make you an engineer with a competitive edge in the industry.

.

POINT 3.

The final 1% of detail for perfect motor control
Practical tuning

You may build it according to theory and simulations, yet there are times when the actual motor does not move as expected.

  • "Why can’t it maintain the target speed and why does it oscillate?"

  • "Why does it lose power and struggle whenever a load is applied?"

  • "Why does the motor suddenly start twitching just because I changed the Kp and Ki values slightly?"

These problems are not caused by a lack of knowledge. They belong to the realm of “tuning,” which can only be learned through hands-on experience—something textbooks never teach you.

We will also conduct PMSM drive exercises, including PI controller tuning.


✔️

Why You Should Learn PMSM


CHECK 1.

PMSM That Transcends the Limitations of BLDC

While BLDC is the fundamental technology for operating motors, PMSM is an advanced technology that maximizes motor performance and quality. The core of PMSM is the ability to convert electrical energy into the desired force 'without waste, noise, or error'.

BLDC

PMSM

  • Six-step control → noise & vibration occur

  • Efficiency drops in certain sections → shorter battery life and reduced power efficiency

  • Torque ripple (force fluctuations) occurs → unfavorable for precision work

  • Sinusoidal control → Low noise & smooth rotation

  • High efficiency across the entire range → Maximizes battery runtime

  • Uniform and consistent torque → essential for precise position/speed control

CHECK 2.

PMSM, the standard technology across various industries, including electric vehicles, robots, drones, home appliances, and defense
индуstries

Looking at technology job postings from leading companies, skills in 'PMSM' and 'vector control' are becoming 'essential qualifications' across fields including electric vehicles, robotics, and defense.

Why? Thanks to its outstanding efficiency and precise control performance, the PMSM is no longer a technology limited to a specific field, but has become a “standard component” that determines the performance of future industries.

Electric vehicles

Extend driving range with high efficiency, and deliver dynamic acceleration performance and a premium ride through precision control.

Home appliances

With precision control, it minimizes noise and vibration, while high efficiency fulfills the essential requirements for achieving the highest energy consumption efficiency rating.

Drones/Defense Industry

Ensures maneuverability through high power/high density and guarantees stable flight and target accuracy through precision control.

Robotics/Automation

Maximize task success rates through precision control and increase robot productivity with high power and miniaturization.

📚

From theory to hands-on practice, section-by-section learning content


Section 1

Setting Up an STM32 MCU-Based Practice Environment and Building a Strong Foundation

In this section, you will learn about the architecture and key peripherals (GPIO, timers, ADC, UART, etc.) of the STM32F767 MCU, as well as its bus structure and clock configuration. You will gain an understanding of how the MCU operates by using the datasheet and reference manual, and acquire the foundational knowledge needed to set up the development environment.


Section 2

Basic Principles and Control Theory of DC Motors

Covers the fundamental theories of DC motor structure, rotation principles, and modeling. Learns the concepts of control, Laplace transforms, and frequency response characteristics, while analyzing PI controller design and phase/gain margins. Also understands the roles of single-phase half-bridge and full-bridge inverters and PWM control methods.



Section 3

Establishing PMSM vector control theory

Analyze the principles of permanent magnet synchronous motors (PMSMs), stator and rotor magnetic fields, and magnetic circuits, and learn dq-axis transformation and modeling. Understand permanent magnet torque and reluctance torque, and study IPMSM and SPMSM modeling and vector control techniques in depth. Gain a comprehensive theoretical understanding of field-weakening control and space vector modulation (SVM).



Section 4

PMSM Matlab-Simulink Simulation and Control Implementation

Using Matlab-Simulink, simulate the PMSM’s back EMF, dq-axis transformation, PI current controller, SVPWM, and more. Practice simulations of the speed controller, VF control, and IF control, while analyzing feedforward compensation and dead-time effects. Validate the control algorithm through simulations of the need for sensorless control and the extended back EMF method.



Section 5

Hands-on Implementation of Actual PMSM Control Based on STM32

Directly implement vector control and sensorless control on an STM32 MCU by configuring the clock, timers, and ADC. Learn how to write code using register settings, implement interrupt-based control, and manage SysTick and tasks. Gain hands-on experience implementing VF control, IF control, and extended back-EMF sensorless control in real time on an STM32.


We can help solve the concerns of people like these!


📌

Electrification System Development Engineer

Engineers who want to develop an in-depth understanding of PMSM motor control, a core technology in future mobility fields such as electric vehicles, robots, and drones, and build the ability to implement it using an actual STM32
Those who want to bridge the gap between theory and practice and confidently handle complex control algorithms but feel overwhelmed about where to begin



📌

Embedded firmware developers

Developers with existing firmware development experience who are struggling to directly implement advanced motor control techniques such as PMSM FOC vector control on STM32
Those who want to validate control logic through Matlab-Simulink simulations and improve their problem-solving skills for issues that arise when applying it to actual hardware



📌

Beginners in motor control

If you have been hesitant to learn because of the complex equations and theory of PMSM control, or if you are an engineer looking to transition into the motor control field
and want to learn the fundamentals of PMSM control, including sensorless control techniques, easily and clearly through a systematic process covering theory, MATLAB simulations, and STM32 hands-on practice.



Notes Before Enrollment


Practice Environment

  • PC operating system: Windows

  • Practice conducted using MATLAB/Simulink version 2024b

  • Simulation is possible in the same way through version 2025b.

  • Starting with the 2026 version, support for the libraries used in the course has been discontinued, and the course is currently being prepared for an update.


  • C/C++ Development Environment (IDE, Compiler)

Prerequisite Knowledge and Notes

  • Basic knowledge of C language programming


  • Basic knowledge of circuit theory and electronic circuits

Learning Materials

  • Lecture slide PDF provided

  • Matlab-Simulink example model

  • STM32 hands-on practice code


Smart Store:https://smartstore.naver.com/inside_embedded/products/13037560282

Recommended for
these people

Who is this course right for?

  • A hardware/firmware engineer looking to expand their career into electric vehicles, robotics, drones, home appliances, and defense industries

  • An embedded engineer who wants to master the ultimate motor control technology

  • Embedded engineers who are new to PMSM control or feel overwhelmed by the challenging equations

  • A developer who understands motor control theory but lacks practical STM32 implementation experience

Need to know before starting?

  • You should know the basic syntax of the C language.

  • Knowledge of circuit theory and electronic circuits

Hello
This is insid2embedded

Inflearn Verified

Career Verified

788

Learners

102

Reviews

180

Answers

4.9

Rating

4

Courses

Hello, I am Control Guy.

I am a working engineer currently developing electrification (motor/inverter) systems at a major corporation.

Based on my experience directly handling everything from circuits, PCBs, and firmware to control algorithms in mass-production projects, I am creating educational content for embedded developers while running the YouTube/Naver blog "Inside Embedded".

I aim to explain the practical aspects actually used in the field that are rarely covered in books or classrooms :)

  • Collaboration with global automotive OEMs

  • 3-Phase Inverter Hardware Development (Circuit / PCB)

  • BLDC · PMSM · WFSM (Wound Field Synchronous Motor) control algorithm development

  • Overall electrification system development / verification process

  • Experience in vehicle and bench-based evaluation


Cafe : https://cafe.naver.com/insideembedded?iframe_url=/MyCafeIntro.nhn%3Fclubid=31273003

Blog : https://blog.naver.com/sw_engineer-

YouTube : https://www.youtube.com/@Inside_Embedded

Open Chat Room: https://open.kakao.com/o/gsUVs3Uh

More

Curriculum

All

116 lectures ∙ (21hr 37min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

14 reviews

4.9

14 reviews

  • cogmlw60555289님의 프로필 이미지
    cogmlw60555289

    Reviews 1

    Average Rating 5.0

    5

    99% enrolled

    This lecture is so helpful!

    • insid2embedded
      Instructor

      Thank you so much for taking the course and for your valuable review :)

  • mus16013124님의 프로필 이미지
    mus16013124

    Reviews 1

    Average Rating 5.0

    5

    38% enrolled

    I highly recommend this lecture to anyone who wants to properly learn PMSM vector control. It was incredibly beneficial because I could follow the entire process, from theoretical explanations to Matlab simulations and STM32-based hardware practice. In particular, lectures that cover PMSM all the way through to hands-on practice are rare in Korea, which made this course even more valuable. The explanations were so simple and clear that, personally, I understood them better than my university professors' classes. My satisfaction was even higher because I didn't just learn the theory but could actually implement and verify it. As expected, this lecture was also the best, and thank you for the great course.

    • insid2embedded
      Instructor

      Thank you so much for taking the course and for the detailed review! I'm really glad to hear that it was helpful haha. Thank you! :)

  • ooo0oo님의 프로필 이미지
    ooo0oo

    Reviews 2

    Average Rating 5.0

    5

    97% enrolled

    I received a lot of help from this lecture as well. It would be wonderful if you could continue to release more lectures in the future. Go for it, Control Guy! Thank you.

    • insid2embedded
      Instructor

      Thank you so much for taking the course and for your valuable review :) I will continue to share lots of great content in the future!

  • interlace3885님의 프로필 이미지
    interlace3885

    Reviews 1

    Average Rating 5.0

    5

    67% enrolled

    This was very helpful in understanding PMSM vector control. Thank you for such a great lecture~~

    • insid2embedded
      Instructor

      I'm so glad it was helpful..! Thank you so much for taking the course and for your valuable review:)

  • jh1004zzang996422님의 프로필 이미지
    jh1004zzang996422

    Reviews 2

    Average Rating 5.0

    5

    27% enrolled

    I have finished the electric scooter course and am currently taking the PMSM course. Thank you for creating such great lectures.

    • insid2embedded
      Instructor

      Thank you so much for taking the course and for your valuable review :)