Home Embedded Blog [Demo] Implementation of FOC Algorithm for Motor Control System using SIMULINK

[Demo] Implementation of FOC Algorithm for Motor Control System using SIMULINK

Field-oriented control algorithm is a vector control algorithm best suited for precision driving of electric motors. Owing to various mathematical calculations involved, FOC algorithm is a tough nut to crack. Thanks to tools like SIMULINK that uses model based design approach, developers are able to model, simulate and test FOC algorithm with much less effort compared to manual development.

In this demo, Manu Kumar begins by briefly explaining about FOC algorithm and quickly moves to build the model for it using SIMULINK.

Development of FOC algorithm using SIMULINK entails mathematical transformations of stator control in stationary reference frames into rotor flux reference frame. This is followed by closed loop PID control for speed and current loop. Again, the inverse transform is performed to convert the reference frame for PWM generation.

After establishing the following facts, the demo moves to creating the model using SIMULINK blocks. Following points are covered in the demo:

  • An overview of FOC algorithm and the various mathematical transforms involved in it.
  • Inputs, outputs, and configurable parameters used in the model creation are explained on the onset
  • SIMULINK blocks that are used in the model creation are explained
  • Building the control system using all blocks, inputs and outputs
  • Steps involved in optimization of the model and code generation

How to use SIMULINK blocks to build a model? What are the configurable parameters to take care of?

You will get answers to these questions and more in this demo.

This entry was posted in Embedded Blog, Blog by Embitel. Bookmark the permalink

Dec 13 2021
Related Posts

SUBSCRIBE

ASK OUR EXPERTS

captcha

FEATURED WHITEPAPER

12 design strategies to develop an "In-Vehicle Infotainment " system

RELATED SERVICES
 

Car HUD (Heads-up Display)

Go-to-market in 6 months with our automotive grade hardware and software design


Automotive Control Units

Electronic Control Units (ECU) development services for Body Control Modules (BCM), Powertrain, Chassis and Infotainment


AUTOSAR Software Services

AUTOSAR MCAL development, RTE and BSW integration, Application Layer development, Tools configuration and code generation


CUSTOMER SUCCESS STORIES
 
J1939-stack

J1939 Stack for advanced EPS system

Find out how J1939 stack resolved on-chip memory issue for an Automotive Tier-I supplier


connected-car

Software re-engineering | Telematics applications

Modular architecture re-design across fleet management product lines - GPS fleet security, vehicle and trailer tracking


IoT

IoT based Home Automation system

Design and development – Sensor Networks, Custom IoT gateway, Cloud and Mobile App