
Modelling an Electric Vehicle with Li-ion battery
In this project, the students are required to develop a pure Electric Vehicle (EV) in the MATLAB Simulink environment. This project should be developed using a suitable power conve…
Black FridayUpgrade your career this Black Friday. Get up to ₹60,000 Scholarship on IIT programsUp to ₹60K Black Friday Scholarship52 seats leftOffer ends Fri, 27 Nov, 11:59 pm IST.

A beginner-friendly course that suits your learning needs. Our electric vehicle course trains you in electric vehicle modelling using MATLAB and Simulink. This mentor-led electric vehicle technology course can impart key technical skills essential for you to build a career in the EV industry.
Introduction to Control of Electric Vehicle is an online course from Skill-Lync: 12 weeks, 16 hours of content and 2 industry projects.
Our projects are designed by experts in the industry to reflect industry standards. By working through our projects, Learners will gain a practical understanding of what they will take on at a larger-scale in the industry. In total, there are 2 Projects that are available in this program.

In this project, the students are required to develop a pure Electric Vehicle (EV) in the MATLAB Simulink environment. This project should be developed using a suitable power conve…

In this project, the students will model an Electric Rickshaw in the MATLAB Simulink environment. This project helps the student to know about the functionality of each block in th…
Video stories from learners of related electrical programs, from Skill-Lync's YouTube channel.
by the Skill-Lync team
A control system measures what a machine is doing, compares it with what you asked for, and corrects the difference, many times a second. In an electric vehicle the busiest loops sit in the motor drive, which holds a speed or torque, and in the power converters, which hold a voltage. This course teaches how to design both in MATLAB and Simulink.
Cruise control is the classic example. Åström and Murray's textbook Feedback Systems dates it to cars of 1958. You set 80 km/h, a sensor reads the actual speed, and the controller opens or closes the throttle to shrink the gap. Without the sensor you have an open-loop system: a fixed throttle setting that drifts the moment the road climbs. With it you have a closed loop, or feedback.
The words you will meet in week 1:
The worked examples below take one plant all the way: a DC motor modelled, a speed controller tuned, its stability checked, and the controller moved onto a microcontroller. For the power-converter side, the EV Fundamentals page works through a buck converter.
It links the voltage you apply to the speed you get: . It comes from two equations, one for the armature circuit and one for the spinning shaft, joined by the motor constant . Week 4 starts here, and one lesson is titled "DC Motor Control and Transfer Function Analysis".
The armature is a resistor and an inductor in series. Spinning makes the motor act as a generator too, so it pushes back with a voltage called the back-EMF. The current makes a torque , which turns the inertia against friction and any load torque :
In SI units the torque constant (N·m/A) and the back-EMF constant (V·s/rad) are the same number, which is why one does both jobs. A Milwaukee School of Engineering lab note lists 7.67 × 10⁻³ for both on its lab servomotor. Take the Laplace transform with no load and eliminate to get the transfer function above.
Now some numbers. These are assumed values for a small 48 V motor with its load referred to the shaft: = 0.2 Ω, = 0.5 mH, = 0.2 V·s/rad, = 0.01 kg·m², = 0.001 N·m·s/rad.
That last point is the useful one. The slow mechanical pole dominates the speed response, and the fast electrical pole barely matters to it. So for speed control you can treat the motor as a first-order system with one time constant, and design from there.
One warning the model hides: at standstill there is no back-EMF, so full voltage drives 48 / 0.2 = 240 A through the winding. Real drives limit current for that reason.
A PI controller pushes in proportion to the speed error (P) and to the error added up over time (I), so it keeps pushing until the error is zero. A simple tuning rule: place the controller's zero on the motor's slow pole, then pick how fast you want the loop to respond.
Treat the motor as , from the example above. Choose and the PI's zero cancels the motor's pole. What is left of the loop is , where is the closed-loop bandwidth you choose:
The closed loop then behaves like a first-order system with time constant . It has no overshoot, and it is within 2% of the target after .
Pick = 40 rad/s. That is about twice as fast as the motor on its own (its slow pole is at 21.2 rad/s) and well below the electrical pole at 379 rad/s, so ignoring is fair. It gives = 40 × 0.05 / 4.975 = 0.402 V per rad/s and = 40 / 4.975 = 8.04 V per rad.
Now check it on the full motor model, inductance included, with a plain Euler loop (step the equations forward 10 µs at a time). The target is 100 rad/s (955 rpm). At 0.3 s a 5 N·m load is added, which needs 25 A.
R, L, K, J, b = 0.2, 0.5e-3, 0.2, 0.01, 0.001 # assumed motor
Kp, Ki = 0.402, 8.04 # PI gains from the rule above
dt, ref = 1e-5, 100.0 # 10 us steps, 100 rad/s target
w = i = integ = 0.0; out = []
for n in range(60000): # simulate 0.6 s
t = n * dt
load = 5.0 if t >= 0.3 else 0.0 # 5 N m load from 0.3 s
e = ref - w; integ += e * dt
V = Kp * e + Ki * integ # controller output, volts
i += (V - R * i - K * w) / L * dt # armature circuit
w += (K * i - b * w - load) / J * dt # shaft
out.append((t, w, V))
off = [t for t, w, V in out if abs(w - ref) > 2] # outside the 2% band
up = [t for t in off if t < 0.3]; dn = [t for t in off if t >= 0.3]
print(f"top speed {max(w for t, w, V in out):.1f} rad/s, settles in {1000 * up[-1]:.0f} ms, "
f"max {max(V for t, w, V in out):.1f} V, load dip {ref - min(w for t, w, V in out if t >= 0.3):.1f} rad/s, "
f"back in {1000 * (dn[-1] - 0.3):.0f} ms")It prints top speed 100.0 rad/s, settles in 97 ms, max 40.8 V, load dip 6.6 rad/s, back in 117 ms.
The catch: this model has no voltage or current limit. Ask for 200 rad/s in one step and alone demands about 80 V. The supply cannot give it, the speed lags, and the integral term keeps growing while it waits. That is integrator windup, and it shows up as a large overshoot. Real controllers add anti-windup, which stops the integral running away while the output is saturated. Feedback Systems shows how in its PID chapter.
A feedback loop is stable when every closed-loop pole has a negative real part, so every disturbance dies away. The Routh-Hurwitz test tells you this from the polynomial's coefficients without solving it. Phase margin, read off a Bode plot, tells you how much extra lag the loop can take. Week 2 covers stability and Bode plots.
Put the PI controller around the full motor model and the closed loop's characteristic polynomial, the denominator whose roots are the poles, is third order:
For a cubic , all the roots have negative real parts exactly when all four coefficients have the same sign and . With the motor and gains above:
Phase margin is measured at the crossover frequency, where the loop gain falls to 1. It is how far the loop's phase is from −180° there. For this loop the crossover is 41.7 rad/s and the phase margin is 85°. A pure time delay adds lag without changing gain, and 85° at 41.7 rad/s is used up by a delay of about 36 ms. Keep that number in mind for the next question.
The Control Systems book has chapters on the Routh-Hurwitz criterion and on Bode plots with gain and phase margin, with interactive figures.
A microcontroller reads the speed and updates the voltage only at fixed instants, every seconds, and holds its output steady in between. That hold behaves like a delay of half a sample, which eats phase margin. So must be short compared with how fast the loop responds. Week 5 covers discrete control and the z-domain.
To turn the analog PI into code, the integral needs a discrete form. Tustin's method, also called the bilinear transform, replaces by . For a PI controller that means adding up the error with the trapezoid rule:
MathWorks' documentation for c2d describes the two common choices. Zero-order hold (ZOH) is exact when the input is a staircase, which suits the motor model. Tustin gives a good match in the frequency domain, which suits a controller you designed in continuous time.
How short must be? An IFAC Professional Brief by Wittenmark, Åström and Årzén gives a rule for a redesigned analog controller: 0.05 to 0.14, where is the crossover frequency. It budgets 5° to 15° of phase for the hold and the anti-aliasing filter, which strips out noise above half the sample rate. For = 41.7 rad/s that is 1.2 to 3.4 ms. A 1 ms loop (1 kHz) gives = 0.04, and the hold costs only = 1.2° of the 85° margin.
To see what happens outside the rule, run the same motor and gains with a Tustin PI that only updates every :
R, L, K, J, b = 0.2, 0.5e-3, 0.2, 0.01, 0.001 # same assumed motor
Kp, Ki, dt = 0.402, 8.04, 1e-5 # same PI gains
def run(h): # h = controller sample time, s
w = i = I = e_old = V = top = 0.0
for n in range(50000): # simulate 0.5 s
if n % round(h / dt) == 0: # the microcontroller samples
e = 100.0 - w
I += h / 2 * (e + e_old); e_old = e # Tustin (trapezoid) integral
V = Kp * e + Ki * I # held until the next sample
i += (V - R * i - K * w) / L * dt
w += (K * i - b * w) / J * dt
top = max(top, w)
return max(0.0, top - 100.0)
for h in (0.001, 0.01, 0.025, 0.04):
print(f"h = {1000 * h:g} ms: overshoot {run(h):.1f}%")It prints:
h = 1 ms: overshoot 0.0%
h = 10 ms: overshoot 0.0%
h = 25 ms: overshoot 7.3%
h = 40 ms: overshoot 55.1%At 10 ms the step response still looks clean, although the margin left for a filter, computation time and model error is already much smaller. At 25 ms overshoot appears, and at 40 ms the hold's 20 ms delay has used more than half of the 36 ms the loop could tolerate. The rule of thumb looks cautious on an ideal model, and that caution is what absorbs the delays a real drive adds. The Microcontrollers book covers the timers, PWM and DC-motor interfacing that run such a loop.
It is a short course in 7 syllabus modules, recorded as 33 lessons with about 16 hours of video. It runs from control basics through stability, PID control of converters and motors, DC motor controller design and digital control to microcontroller motor control. The first lesson installs the MATLAB and Simulink 2020 trial.
The 2 projects: a pure electric vehicle modelled in Simulink with a Li-ion battery, a suitable power converter and a controller; and an electric rickshaw model, where the aim is to understand what each block in the model does.
What it is not: a full classical-control course. If you want root locus by hand, lead and lag compensators and state-space design over 12 modules, Automotive Systems and Controls goes further. For fees and other EV courses, see electric vehicle courses.
They do, mostly under the title "MBD engineer" rather than "control engineer", and through longer PG programs in our records. MBD, model-based design, means building the controller as a Simulink model and generating its code from the model. As of 19 Nov 2026, none of Skill-Lync's 3,905 placement records names this course.
Counts are by job title, not by course. The records are self-reported starting offers, mostly from 2021 to 2023. For wider pay data see EV engineer salaries.
| Course | Length | Projects | Tools | Fee |
|---|---|---|---|---|
| Introduction to Control of Electric Vehicle (this page)DC motor, converter and digital control in Simulink | 12 weeks, 16 h | 2 | MATLAB, Simulink | ₹40,000 |
| Automotive Systems and Controls using MATLAB/SimulinkFull classical control: Routh, root locus, state space | 12 weeks, 21 h | 2 | MATLAB, Simulink | ₹40,000 |
| Matlab and Simulink BasicsNew to Simulink? Ends with PID for a DC motor | 12 weeks, 17 h | 2 | MATLAB, Simulink | ₹40,000 |
| Control Theory PMSMShort module on vector (d-q) control of a PMSM | 1 week, 2 h | - | MATLAB | ₹40,000 |
| Simulation and Design of Power Converters for EV using MATLAB and SimulinkEV power converters and their feedback control | 12 weeks, 22 h | 3 | MATLAB, Simulink | ₹40,000 |
| Autonomous Vehicle Controls using MATLAB and SimulinkCruise, lane-keeping and lateral control in Simulink | 12 weeks, 24 h | 2 | MATLAB, Simulink | ₹40,000 |
Lengths, projects and fees are taken from each course page on 19 Nov 2026; fees are the Premium plan in INR, including all charges.
Become job ready with our comprehensive industry focused curriculum for freshers & early career professionals
Electric or Electronic engineers with a bachelor’s degree can join the electric vehicle designing course to understand the control systems of electric vehicles.
The course covers control fundamentals (transfer functions, poles, stability and Bode plots), PID control, controller design for a DC motor, digital control and microcontroller-based motor control, all in MATLAB and Simulink. You apply them in 2 projects: an electric vehicle model with a Li-ion battery, a power converter and a controller, and an electric rickshaw model.
Every EV motor drive and DC-DC converter runs feedback control loops. Engineers who can model a motor or converter, design a stable controller and turn it into microcontroller code are useful across EV teams, and this course covers that chain in MATLAB and Simulink. In Skill-Lync's placement records (n = 3,905, as of 19 Nov 2026), 146 job titles mention MBD (model-based design), MATLAB or Simulink, mostly from 2022.
In Skill-Lync's placement records (n = 3,905, as of 19 Nov 2026; self-reported, mostly 2021-23 starting offers), job titles mentioning MBD, model-based design, MATLAB or Simulink were most often at Expleo, Tata Elxsi and BlueBinaries, and job titles with "control" include motor control engineers at Sona Comstar. No record names this course; these hires came mainly through Skill-Lync's PG programs in EV and hybrid EV design.
Skill-Lync's own placement records (n = 3,905 as of 19 Nov 2026; self-reported starting offers, mostly 2021-23) show a median of ₹3.5 LPA for job titles mentioning MBD, model-based design, MATLAB or Simulink (140 disclosed offers, range ₹1.8 to ₹10 LPA). Records with "control" in the job title are too few (8) to give a reliable figure.
A counsellor will walk you through the syllabus, projects and fee options — and tell you honestly if another course suits you better.