Warning: session_start(): open(/opt/alt/php72/var/lib/php/session/sess_705fe3914cc001faed069fd7345e51f5, O_RDWR) failed: Disk quota exceeded (122) in /home/shweuqjw/awajludhianaki.org/wp-content/plugins/jnews-social-login/class.jnews-social-login.php on line 83

Warning: session_start(): Failed to read session data: files (path: /opt/alt/php72/var/lib/php/session) in /home/shweuqjw/awajludhianaki.org/wp-content/plugins/jnews-social-login/class.jnews-social-login.php on line 83
How Model-Based Design helps FOC Algorithm execution in EVs, Auto News, ET Auto - Awaj Ludhiana Ki
Wednesday, May 14, 2025
  • Home
  • National
  • International
  • Movies
  • Technology
  • Business
  • Fitness
  • Lifestyle
  • Punjab
  • Contact us
No Result
View All Result
No Result
View All Result
Home Automobiles

How Model-Based Design helps FOC Algorithm execution in EVs, Auto News, ET Auto

by author
July 21, 2021
in Automobiles
0
How Model-Based Design helps FOC Algorithm execution in EVs, Auto News, ET Auto
0
SHARES
25
VIEWS
Share on FacebookShare on Twitter


Though FOC is not specific to EV motor control, its implementation in the automotive domain calls for special skills and expertise
Though FOC is not specific to EV motor control, its implementation in the automotive domain calls for special skills and expertise

By Swathi Ramaswamy

An average electric vehicle (EV) user has no idea about Field-Oriented Control (FOC) algorithm that works silently under the hood. But people in the know of things will swear by its ability to drive electric motors with utmost efficiency and accuracy. Though FOC is not specific to EV motor control, its implementation in the automotive domain calls for special skills and expertise. It entails a gamut of complex calculations that get quite tricky at times. Whether it is Park and Clarke transform or the space vector modulation, implementation of FOC algorithm is a coder’s nightmare.

Related posts

AISIN ASK JV eyes opportunities as systems supplier, Auto News, ET Auto

AISIN ASK JV eyes opportunities as systems supplier, Auto News, ET Auto

February 24, 2025
Regulatory bump may stall Tesla entry into India, ET Auto

Regulatory bump may stall Tesla entry into India, ET Auto

February 24, 2025

Sample this: The Clarke transformation changes a three-phase system into a two-phase system with orthogonal axes in the same stationary reference frame. The new two-phase variables are denoted as α and β.

Opinion: How Model-Based Design helps FOC Algorithm execution in EVs
Opinion: How Model-Based Design helps FOC Algorithm execution in EVsSuch calculations with manual coding is time-consuming, a luxury in the automotive domain because of the pressure to go to the market ahead of the competition. Several OEMs work simultaneously on refining such algorithms and the one who rolls out the feature first gets a bigger chunk of sales revenue.

Thanks to the Model Based Design paradigm, implementation of FOC becomes a lot easier as code is generated by creating models. The complicated calculations like the above one, are performed by a set of block libraries and simulation techniques that model physical motor control systems in a simulation environment.

There are two aspects to FOC development for a motor control system. One, where one mimics the control model which is essentially the FOC algorithm component. Another is the plant model responsible for testing the algorithm in a simulated environment.

Pre-designed blocks

Development of FOC algorithm using model-based design approach entails creating and testing the algorithm in a simulation environment. Once the control algorithm model is developed, it can be validated, and C code can be generated.

The most commonly used environment for model-based development in the automotive domain is MATLAB/SIMULINK. Modelling a physical system in the Simulink environment is made even easier with tools like SIMSCAPE.

It has a set of block libraries and simulation features that are highly useful in modeling physical systems in the Simulink environment. These blocks represent basic mathematical operations to be performed by the software. In the context of FOC algorithm development, the tool provides blocks for Park and Clarke transformation as well as space vector modulation.

Opinion: How Model-Based Design helps FOC Algorithm execution in EVs

By connecting the required blocks, they get a diagram which is a mathematical model representing the physical system.

Opinion: How Model-Based Design helps FOC Algorithm execution in EVs

By taking the model-based design approach, the engineers can create a representation of the network of the system being designed. The diagram shows that each system has various functional elements that interact with each other via ports. The connection between each element is analogous to the physical connection in the corresponding physical system. In the context of a brushless DC electric current (BLDC) motor control system, these connections can be between the position sensors and the inverter, PID controller and so on.

Modelling works on the principle that if physical elements of a system can be connected, their models can be connected as well.

Pre-designed blocks for creating and tuning field-oriented control for BLDC motors make the job easier for engineers. Blocks include Park and Clarke transforms, field weakening, a space-vector generator, Auto PID tune and few others. In the modelling environment, these blocks can be configured as per the required motor-inverter or control algorithm for the motor-inverter. Once the control model is developed by connecting the blocks, we can easily verify the control algorithms in closed-loop simulation (plant model) where motors and inverters are also represented as models.

Once the control model is developed by connecting the blocks, we can easily verify the control algorithms in closed-loop simulation (plant model) where motors and inverters are also represented as models~

How does MBD help?

Using the MBD approach implies creating models that mimic the control system. The following lines answer the question: what exactly does the FOC algorithm require and how does MBD help fulfill it?

When engineers develop FOC algorithm for a BLDC motor control, they essentially:

  • Design algorithm for Proportional Integral (PI) controllers for feedback signals.
  • Overcome speed error by tuning the gains of PI controllers
  • Design a space vector modulator to control the PWM signal fed to the inverter
  • Develop field weakening control algorithm in order to regenerate Iq_ref and Id_ref as the input to PI controllers
  • Implement Park, Inverse Park and Clarke transform

When model-based design along with all its tools and technologies come into the picture, most of these tasks get easier. From designing and testing to tuning the control algorithm, all activities are performed in a simulation environment.

  • With MBD at the helm, the engineers can:

  • Model current and speed controllers as well as the space-vector modulators and inverters

  • Create a plant model with a motor-inverter which could be used across various systems by configuring/changing the specifications.

  • Tune PI gains easily using techniques such as automated tuning and linear control design techniques like Bode plot

  • Implement Park and Clarke transform using Simulink blocks that just need to be configured based on specific parameters

  • Design signal conditioning and processing algorithms with much ease

  • Test the motor operation using the FOC algorithm in a closed-loop simulation before the hardware is ready

  • Generate automated C code for prototyping, HIL Testing, etc. from the control model.

Steps involved in creating physical model

When creating a physical model, energy flow is the most important aspect to understand. Each element in a physical model is connected via ports that allow energy transfer. In the case of a Park Transform block (shown in the diagram below), there are 6 ports, 4 for inputs and 2 for outputs.

Opinion: How Model-Based Design helps FOC Algorithm execution in EVs

Since SIMSCAPE is the most widely used tool for modeling, the steps followed in SIMSCAPE tool are examined here.

Step 1: The first step is to create a new model using ssc_new.Creates model with default settings which needs to be updated further before code generation. Commonly used blocks are made available on the canvas.

Step 2: Assembling the physical system is the next step. It begins by adding the required blocks from the library and adding to the model. The lines that connect the blocks represent the actual physical connection.

Step 3: The blocks in the SIMSCAPE libraries have default values for variables and parameters. These values based on the data sheet of the motors, inverters, etc. can easily be adjusted.

Step 4: The sensors at play in the physical system are added to the model. For a BLDC motor control scheme, a hall-effect sensor might be added for sensing the rotor position and feeding it to the PI controller. Input and output loads as well as sensor blocks are provided by the tool and can be added to the model in either series or parallel connection, depending on the quantity to be measured.

Step 5: When both control model and plant model are ready, the developed control is simulated. The solver configured in the first step will evaluate the model and run the simulation.

Close to 6 months’ worth of development and testing effort can be reduced by using MBD for FOC development. And on top of that, the motor control system can be tested even before the hardware is ready!~

The bottom line

An efficient motor control system utilises the FOC algorithm in some form or the other. And getting this algorithm right is a tough nut to crack. When engineers approach FOC using model-based design paradigm, things become easier. Close to 6 months’ worth of development and testing effort can be reduced by using MBD for FOC development. And on top of that, the motor control system can be tested even before the hardware is ready!

What one gets at the final stage is a fool-proof motor control system to drive one’s electric vehicle programme or build the best powertrain in the industry.

Note: The author is Swathi Ramaswamy, Embitel Technologies, part of the Volkswagen group of companies.

DISCLAIMER: The views expressed are solely of the author and ETAuto.com does not necessarily subscribe to it. ETAuto.com shall not be responsible for any damage caused to any person/organisation directly or indirectly.)





Source link

Previous Post

Work That Speaks | Ad Reviews | 15 To 20 July 2021

Next Post

No reason to hide COVID-19 deaths, effort is to vaccinate all at earliest, says Health Minister Mansukh Mandaviya | India News

Related Posts

AISIN ASK JV eyes opportunities as systems supplier, Auto News, ET Auto
Automobiles

AISIN ASK JV eyes opportunities as systems supplier, Auto News, ET Auto

February 24, 2025
Regulatory bump may stall Tesla entry into India, ET Auto
Automobiles

Regulatory bump may stall Tesla entry into India, ET Auto

February 24, 2025
Electric 2-wheeler sales remain in fast lane, market share may grow three-fold in five years, ET Auto
Automobiles

Electric 2-wheeler sales remain in fast lane, market share may grow three-fold in five years, ET Auto

February 24, 2025
Tesla fever grips India again even while Musk keeps mum, ET Auto
Automobiles

Tesla fever grips India again even while Musk keeps mum, ET Auto

February 22, 2025
MoRTH has adopted a big data driven approach to infra planning, says Nitin Gadkari, ET Auto
Automobiles

MoRTH has adopted a big data driven approach to infra planning, says Nitin Gadkari, ET Auto

February 20, 2025
BS7 committee examining compliance challenges of ethanol-blended fuels, ET Auto
Automobiles

BS7 committee examining compliance challenges of ethanol-blended fuels, ET Auto

February 20, 2025
Next Post
No reason to hide COVID-19 deaths, effort is to vaccinate all at earliest, says Health Minister Mansukh Mandaviya | India News

No reason to hide COVID-19 deaths, effort is to vaccinate all at earliest, says Health Minister Mansukh Mandaviya | India News

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

RECOMMENDED NEWS

Have ‘great respect’ for Stan Swamy’s work: HC while hearing his bail appeals posthumously | India News

Have ‘great respect’ for Stan Swamy’s work: HC while hearing his bail appeals posthumously | India News

4 years ago
Mahindra lines up new products; firms up investments for electric future, Auto News, ET Auto

Mahindra lines up new products; firms up investments for electric future, Auto News, ET Auto

3 years ago
Hrithik Roshan, Priyanka Chopra, Genelia Deshmukh and other Bollywood stars express outrage over Kolkata rape-murder case : Bollywood News

Hrithik Roshan, Priyanka Chopra, Genelia Deshmukh and other Bollywood stars express outrage over Kolkata rape-murder case : Bollywood News

9 months ago
India vs New Zealand 2021: Rahul Dravid backs out-of-form Ajinkya Rahane, says THIS about stand-in skipper | Cricket News

India vs New Zealand 2021: Rahul Dravid backs out-of-form Ajinkya Rahane, says THIS about stand-in skipper | Cricket News

3 years ago

BROWSE BY CATEGORIES

  • Animals
  • Architecture
  • Automobiles
  • Business
  • Culture
  • Fitness
  • International
  • Lifestyle
  • Movies
  • National
  • Sports
  • Technology
  • Travel

BROWSE BY TOPICS

Architecture culture Fitness indian architecture indian culture indian culture and heritage indian news lifestyle national news Technology technology news Travel travelling

About Us

Awaj Ludhiana Ki

Address

2667/3, Kishore Nagar, Tajpur & Jail Road, Ludhiana – 141008

Recent News

  • NDA Sweeps Assam Panchayat Polls 2025; Wins 300 Zilla Parishad, 1436 Anchalik Panchayat Seats | India News
  • SCOOP: Aditya Chopra reboots YRF Spy Universe after India-Pak border tensions; Pathaan 2 & War 2 to undergo major rewrites with nationalist overhaul : Bollywood News
  • What India Achieved With Operation Sindoor: From Terror Camp Elimination To Strategic Red Line – A Detailed Analysis | India News
  • Can Pakistan Afford War With India? Shortage Of Artillery Ammunition Reveals Its Military Capacity | India News
  • She’s 115 And Still Smiling — UK’s Oldest Woman Reveals Her Longevity Secret, And It’s Not What You Think | World News

Category

  • Animals
  • Architecture
  • Automobiles
  • Business
  • Culture
  • Fitness
  • International
  • Lifestyle
  • Movies
  • National
  • Sports
  • Technology
  • Travel

Search

No Result
View All Result

Email

contact@awajludhianaki.org

  • About
  • Advertise
  • Careers

Copyright © 2019 Awaj Ludhiana Ki or it's affiliates | Website by Awaj Ludhiana Ki Team

No Result
View All Result
  • Home
  • Contact us
  • Animals
  • Architecture
  • Automobiles
  • Business
  • Culture
  • Fashion
  • Fitness
  • Food
  • International
  • Lifestyle
  • Movies
  • National
  • Sports
  • Technology
  • Travel
  • Punjab

Copyright © 2019 Awaj Ludhiana Ki or it's affiliates | Website by Awaj Ludhiana Ki Team

Login to your account below

Forgotten Password?

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In