Problem with Simulink model of an Electric Vehicle

15 visualizaciones (últimos 30 días)
Pawel Wnuk
Pawel Wnuk el 10 de Mayo de 2018
Comentada: 은규 손 el 24 de Mzo. de 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 comentario
은규 손
은규 손 el 24 de Mzo. de 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?

Iniciar sesión para comentar.

Respuestas (2)

Pawel Wnuk
Pawel Wnuk el 12 de Mayo de 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 comentario
Veer Alakshendra
Veer Alakshendra el 18 de Mayo de 2018
Editada: Veer Alakshendra el 18 de Mayo de 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/

Iniciar sesión para comentar.


Fairuz Firjatullah
Fairuz Firjatullah el 26 de Mayo de 2021
this is my model E V Car by Fairuz

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by