Problem with Simulink model of an Electric Vehicle

16 Ansichten (letzte 30 Tage)
Pawel Wnuk
Pawel Wnuk am 10 Mai 2018
Kommentiert: 은규 손 am 24 Mär. 2023
I've created a simulink model of an Electric Vehicle powered with a Li-ion battery using Simulink/Simscape/Simscape Power systems. The battery powers a PMSM machine through a three-phase inverter, the motor torque is controlled with flux weakening vector control. The aim is to fulfill a given drive cycle (a shorter one created on my own because the simulation takes long to run) consisting of acceleration, cruising and braking. The simualtion works nicely during vehicle acceleration and cruising and partly during braking, but unfortunately the vehicle cannot go back down to velocity of 0 km/h. During braking, when the car speed reaches 5 km/h, the motor torque suddenly goes up to 0 and no more braking takes place (see the attached picture). Could please someone help me or give a hint, what possibly goes wrong in this program? In order to upload the drive cycle to the workspace, the attached script "dane2.m" needs to be run first.
  1 Kommentar
은규 손
은규 손 am 24 Mär. 2023
Hello i am student who study your model.
so i researched a lot of dynamics about regenerative braking but i could not find it
Can't you give me the dynamics formula to use when making this model?

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Pawel Wnuk
Pawel Wnuk am 12 Mai 2018
In the meantime, I have solved the problem - there was set a lower limit of 5 km/h velocity, below which the regenerative braking couldn't be used and friction brake force was not included in the model - as a result the vehicle couldn't go below 5 km/h. Still, if anyone has some hints, how the simulation can be improved (especially long computation time!!), I would be very thankful for them.
  1 Kommentar
Veer Alakshendra
Veer Alakshendra am 18 Mai 2018
Bearbeitet: Veer Alakshendra am 18 Mai 2018
Glad to know you figured out the issue. To increase the simulation speed, please try running the simulation with fixed step and ode4 solver. To learn more about selection of solvers, follow this link: https://blogs.mathworks.com/racing-lounge/2017/12/08/solver-choice/

Melden Sie sich an, um zu kommentieren.


Fairuz Firjatullah
Fairuz Firjatullah am 26 Mai 2021
this is my model E V Car by Fairuz

Produkte


Version

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by