Mastering PMSM Vector Control - From Theory to Matlab and STM32 Practice!

Have you felt overwhelmed about where to start with PMSM control? You can perfectly master PMSM vector control and sensorless techniques through a three-step process, ranging from theory to Matlab-Simulink simulation and STM32 practice.

(5.0) 4 reviews

39 learners

Level Intermediate

Course period Unlimited

stm32
stm32
motordriver
motordriver
stm32
stm32
motordriver
motordriver

Reviews from Early Learners

Reviews from Early Learners

5.0

5.0

우제성

96% enrolled

Seriously, the teaching skills are better than those of my university professors..ㅋㅋ And covering hands-on practice as well is truly the best. As expected, this lecture is also top-tier~~

5.0

박유성

100% enrolled

I am a student who also took the electric scooter lecture. I think this might be the best online lecture for embedded systems and motor control in Korea. It was a huge help. Please release many more lectures. Thank you.

5.0

Pole

85% enrolled

I highly recommend this lecture to anyone who wants to properly learn PMSM vector control! Above all, it was incredibly beneficial because I could personally experience the entire process, starting from the theoretical background to precise simulations using Matlab, and finally, actual hardware practice based on STM32. Lectures that include hands-on PMSM practice are very hard to find in Korea, making this a truly valuable course. Thank you.

What you will gain after the course

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

  • The ability to understand the principles of sensorless control techniques and apply them in practice.

  • Ability to design and verify motor control simulations using Matlab Simulink

  • Ability to directly implement PMSM FOC vector control algorithms using STM32.

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

The subtle difference that sets your skills apart,
Advanced Motor Control Technology: PMSM


Are you by any chance having these concerns? 🤔


When you want to go beyond BLDC and add more depth to your motor control skills

When you want to challenge yourself in the electric vehicle or robotics fields but are worried about lacking core technical skills

When you have studied PMSM theory but feel lost when trying to implement it on your own.

If you learn PMSM, the ultimate control technology,

Grow into an engineer of a different class.



✔️

Why you should take this course



POINT 1.

Mastering PMSM in 3 Steps: Theory - Simulation - Implementation

It systematically covers the control algorithms of DC motors and PMSM, from theory (modeling) to Matlab simulation and actual STM32 implementation. Through this three-step learning process, you will be able to understand how "formulas" and "code," which once felt like a black box, are transformed into "actual motor rotation."

PMSM Theory → Matlab Simulink → STM32 Practice

POINT 2.

Sensorless control technology
that completes your professional competitiveness

In a professional field that demands not only performance but also cost-efficiency and durability, sensorless control is a core technology that realizes all these values without hardware sensors. Understanding and being able to implement this technology will make you an engineer with a competitive edge in the industry.

.

POINT 3.

The final 1% detail for creating the perfect motor,
practical tuning

Even if you build it according to theory and simulation, there are times when the actual motor does not move as expected.

  • "Why can't it maintain the target speed and keep fluctuating?"

  • "Why does it lose all its power and struggle as soon as a load is applied?"

  • "I only changed the Kp and Ki values slightly, so why is the motor suddenly convulsing?"

These problems are not due to a lack of knowledge. It is because this is the realm of 'tuning' that can only be mastered through practical experience, something theoretical textbooks never teach you.

We will conduct hands-on PMSM driving practice, including PI controller tuning.


✔️

Why you should learn PMSM


CHECK 1.

PMSM, going beyond the limits of BLDC

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

BLDC

PMSM

  • Square wave (6-Step) control → Noise & vibration generation

  • Efficiency drop in specific sections → loss in battery life and power efficiency

  • Torque ripple (fluctuation of force) occurs → disadvantageous for precision work

  • Sinusoidal Control→ Low noise & smooth rotation

  • High efficiency across all ranges → Maximizing battery life

  • Uniform and constant torque → Essential for precise position/speed control

CHECK 2.

PMSM, the standard technology for various industries including
electric vehicles, robots, drones, home appliances, and defense.

Looking at technical job postings from major companies, "PMSM" and "Vector Control" capabilities are becoming 'essential qualifications' across all fields, including electric vehicles, robotics, and defense.

Why is that? Because thanks to overwhelming efficiency and precise control performance, PMSM is no longer a technology for specific fields, but has established itself as a 'standard component' that determines the performance of future industries.

Electric Vehicle

It extends driving range through high efficiency and achieves dynamic acceleration performance and a premium ride quality through precision control.

Home Appliances

Precision control minimizes noise and vibration, while high efficiency fulfills the essential requirements for achieving a first-class energy efficiency rating.

Drone/Defense Industry

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

Robot/Automation

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

📚

From theory to practice, learning content by section


Section 1

Setting Up the STM32 MCU-Based Practice Environment and Building Fundamentals

In this section, you will understand the architecture and key peripherals (GPIO, Timer, ADC, UART, etc.) of the STM32F767 MCU and learn about bus structures and clock configurations. You will grasp the operating principles of the MCU using datasheets and reference manuals, and acquire the foundational knowledge required for setting up the development environment.


Section 2

Basic Principles and Control Theory of DC Motors

It covers the basic theories of DC motor structure, rotation principles, and modeling. It involves learning control concepts, Laplace transforms, and frequency response characteristics, as well as designing PI controllers and analyzing phase/gain margins. Additionally, it covers 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 (PMSM), stator/rotor magnetic fields, and magnetic circuits, and learn about dq-axis transformation and modeling. Understand permanent magnet torque and reluctance torque, and cover IPMSM and SPMSM modeling and vector control techniques in depth. Gain a complete theoretical understanding of flux-weakening control and Space Vector Modulation (SVM) methods.



Section 4

PMSM Matlab-Simulink Simulation and Control Implementation

Simulate PMSM back-EMF, dq-axis transformation, PI current controller, and SVPWM using Matlab-Simulink. Practice speed controller, V/F control, and I/F control simulations, and analyze feedforward compensation and dead-time effects. Verify control algorithms through the necessity of sensorless control and simulations of extended back-EMF techniques.



Section 5

Hands-on Implementation of PMSM Control Based on STM32

Directly implement vector control and sensorless control on an STM32 MCU through clock, timer, and ADC configurations. Learn code writing using register settings, interrupt-based control, and SysTick and task management techniques. Gain practical experience by implementing VF control, IF control, and extended EMF sensorless control in real-time on the STM32.


We can solve the concerns
of people like this!

📌

Electrification System Development Engineer

Engineers who want to develop a deep understanding of PMSM motor control—a core technology in future mobility fields such as electric vehicles, robots, and drones—and build practical implementation skills using STM32
Those who want to bridge the gap between theory and practice and confidently handle complex control algorithms, but feel overwhelmed about where to start.



📌

Embedded Firmware Developer

Developers who have experience in existing firmware development but are struggling to directly implement advanced motor control techniques, such as PMSM FOC vector control, on STM32
Those who want to improve their problem-solving skills in the process of verifying control logic through Matlab-Simulink simulation and applying it to actual hardware



📌

Motor Control Beginners

Engineers who are hesitating to learn PMSM control due to complex formulas and theories, or those who wish to transition their career into the motor control field
Anyone who wants to clearly and easily learn the overall aspects of PMSM control, including sensorless control techniques, through a systematic process starting from theory to Matlab simulation and STM32 practice.



Notes before taking the course


Practice Environment

  • PC Operating System: Windows

  • Practice conducted with MATLAB/Simulink 2024b version

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

Prerequisites and Important Notes

  • Basic knowledge of C programming


  • Basic knowledge of circuit theory and electronic circuits

Learning Materials

  • Lecture slide PDFs provided

  • Matlab-Simulink example models

  • STM32 practice code



Recommended for
these people

Who is this course right for?

  • Hardware/firmware engineers who want to expand their careers into electric vehicles, robotics, drones, home appliances, and defense industries.

  • Embedded engineers who want to master the ultimate motor control technology

  • Embedded engineers who are new to PMSM control or feel overwhelmed by difficult mathematical formulas.

  • A developer who understands motor control theory but lacks experience in actual STM32 implementation.

Need to know before starting?

  • You must have a basic understanding of C language syntax.

  • Knowledge of circuit theory and electronic circuits

Hello
This is insid2embedded

429

Learners

58

Reviews

87

Answers

4.9

Rating

3

Courses

Hello.

I run a YouTube channel and Naver blog called "Inside Embedded," and I create educational content for embedded developers based on my practical experience in the electrification (motor/inverter) field, covering everything from circuits and PCBs to firmware and control :)

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

  • 3-phase inverter hardware development

  • Collaboration with global automotive OEMs

  • Experience in electrification system development/validation

  • Experience in mass production/validation processes

  • BLDC/PMSM control algorithm development

  • WFSM (Wound Field Synchronous Motor) control algorithm development

     

  • Experience in vehicle/bench-based evaluation

More

Curriculum

All

110 lectures ∙ (21hr 37min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

4 reviews

5.0

4 reviews

  • polezero09308님의 프로필 이미지
    polezero09308

    Reviews 1

    Average Rating 5.0

    5

    85% enrolled

    I highly recommend this lecture to anyone who wants to properly learn PMSM vector control! Above all, it was incredibly beneficial because I could personally experience the entire process, starting from the theoretical background to precise simulations using Matlab, and finally, actual hardware practice based on STM32. Lectures that include hands-on PMSM practice are very hard to find in Korea, making this a truly valuable course. Thank you.

    • raphotame2389님의 프로필 이미지
      raphotame2389

      Reviews 4

      Average Rating 5.0

      5

      30% enrolled

      • yoosung12345q9830님의 프로필 이미지
        yoosung12345q9830

        Reviews 2

        Average Rating 5.0

        5

        100% enrolled

        I am a student who also took the electric scooter lecture. I think this might be the best online lecture for embedded systems and motor control in Korea. It was a huge help. Please release many more lectures. Thank you.

        • woojaesssung7181님의 프로필 이미지
          woojaesssung7181

          Reviews 1

          Average Rating 5.0

          5

          96% enrolled

          Seriously, the teaching skills are better than those of my university professors..ㅋㅋ And covering hands-on practice as well is truly the best. As expected, this lecture is also top-tier~~

          Limited time deal

          $770,000.00

          30%

          $847.00