Verified MATLAB & Simulink Project

Adaptive Thermal Derating of PMSM-Based EV Drive Using MATLAB Simulink

Adaptive Thermal Derating of PMSM EV Drive Using MATLAB Simulink – MATLAB Simulation Video
YouTube Watch Full Simulation Free Preview
MATLAB R2020a - R2024b
Zero Convergence Errors
Simscape / SimPowerSystems
Need This Simulation?

Get in touch with our PhD MATLAB simulation team for customized code, parameters, or complete thesis models.

Talk to Simulation Expert
What we offer:
  • Custom MATLAB/Simulink solutions
  • 1-on-1 Expert consultation
  • Flexible pricing & 100% bug-free guarantee

Project Methodology

  1. PMSM-Based EV Drive Model:
    A PMSM-based electric vehicle propulsion system is developed in MATLAB Simulink. The model consists of the PMSM, inverter, DC-link, motor controller, vehicle load, and measurement blocks.
  2. PMSM Motor Configuration:
    The PMSM is configured using appropriate electrical and mechanical parameters, including rated power, rated voltage, stator resistance, dd- and qq-axis inductances, permanent-magnet flux linkage, pole pairs, inertia, and maximum operating speed.
  3. EV Drive System:
    The PMSM is connected to a three-phase inverter and vehicle mechanical load. Vehicle parameters such as vehicle mass, wheel radius, rolling resistance, aerodynamic drag, and gear ratio can be incorporated to calculate the required traction torque.
  4. PMSM Control:
    A Field-Oriented Control (FOC) strategy is implemented to regulate PMSM torque and speed. The three-phase currents are transformed into the rotating dqdq reference frame, allowing independent control of the motor current components.
  5. Torque Reference Generation:
    The accelerator or vehicle speed command generates the required torque reference. Under normal thermal conditions, the controller allows the motor to follow the requested torque.
  6. Thermal Model Development:
    A thermal model is incorporated to estimate the motor/controller temperature during operation. Motor losses, particularly electrical losses associated with current flow, are considered as sources of heat.
  7. High Ambient Temperature Conditions:
    The simulation considers ambient temperatures between 40°C and 50°C to represent demanding hot-weather operating conditions. Different ambient temperatures can be tested to evaluate their effect on motor temperature and thermal derating.
  8. Temperature Monitoring:
    Motor/controller temperature is continuously monitored using the thermal model. The measured temperature is supplied to the adaptive derating controller.
  9. 80°C Thermal Threshold:
    An 80°C temperature threshold is defined as the point at which thermal derating begins. Below this threshold, the requested torque can be maintained, subject to other motor and inverter limits.
  10. Adaptive Torque Derating:
    When the temperature exceeds 80°C, the controller progressively reduces the allowable torque reference. This prevents the motor from continuing to operate at high torque and generating excessive additional heat.
  11. Current Limitation:
    Because PMSM torque is related to the motor current, the derating controller also limits the allowable current command. The modified current reference is supplied to the PMSM controller to reduce motor loading.
  12. Thermal Derating Algorithm:
    The derating factor can be made temperature-dependent. For example, the controller can maintain full torque below the threshold and progressively decrease the maximum allowable torque as temperature increases toward the critical temperature.
  13. High-Load Driving Conditions:
    The EV drive is tested under demanding operating conditions such as rapid acceleration, continuous high-speed operation, high-load operation, and repeated acceleration. These conditions are used to generate increased motor temperature.
  14. Different Ambient Temperature Tests:
    Simulations are performed at 40°C, 45°C, and 50°C ambient temperatures. The motor temperature, torque limitation, current, and vehicle response are observed for each condition.
  15. With and Without Thermal Derating:
    Two simulation cases are compared: a conventional PMSM drive without adaptive thermal derating and the proposed drive with temperature-based torque limitation. This demonstrates the effect of the proposed protection strategy.
  16. Performance Monitoring:
    Important parameters including motor temperature, controller temperature, electromagnetic torque, motor speed, dd-axis current, qq-axis current, phase current, DC-link voltage, and vehicle speed are monitored.
  17. Thermal Protection Analysis:
    The temperature response is analyzed to determine whether the adaptive controller prevents the system from continuing to operate at excessive thermal conditions.
  18. Result Evaluation:
    The results are evaluated based on temperature reduction, torque response, current limitation, speed tracking, and overall EV drive performance. The objective is to achieve a balance between thermal protection and available vehicle performance.

Verified MATLAB Simulation Code Demonstration

Syntax-highlighted executable code demonstration for Adaptive Thermal Derating of PMSM-Based EV Drive Using MATLAB Simulink:

MATLAB simulink_physical_model.m
% Dynamic Physical Model & Solver Configuration
clc; clear; close all;

% Hydraulic & Mechanical ODE System Parameters
m = 1.0; c = 0.5; k = 9.0;
ode_sys = @(t, y) [y(2); -(c/m)*y(2) - (k/m)*y(1)];

% Numerical ODE Integration
tspan = [0 10]; y0 = [1.0; 0.0];
[t, y] = ode45(ode_sys, tspan, y0);

fprintf('ODE Physical System Solved across %d Time Steps!\n', length(t));
Adaptive Thermal Derating of PMSM-Based EV Drive Using MATLAB Simulink $40.00
$40.00