CCCV Charging of Li-ion batteries connected in parallel

10 次查看(过去 30 天)
Hello,
I am simulating the CCCV charging of a 2s4p battery pack. There are lot of fluctuations in the voltage, current during CCCV charging (see the attached pic).
I tried using the TUNE in PID controller, but it is not taking the plant
I have attahced all the relevant files.
How can I rectify this
Your support will be of great help for me.
Regards

采纳的回答

Joel Van Sickel
Joel Van Sickel 2023-2-16
That behavior is caused by the fact that you switch to a hard coded constant current reference whenever the V_Highest is less than V_top. Since you have tracking turned on for your PID, every time you briefly jump to this set point, the controller resets to this point as well, and then has to lower again. The problem isn't your gains, the problem is your logic in determining when to switch between the PID logic and the PID controller. Also, it can't tune your system because it is a discontinuous system with discrete switching devices. You'd have to use a frequency response estimation to use the tune function. You will likely need to manually tune the PI values and be more careful about when you switch between the closed loop controller and the fixed constant current reference.
Essentially, your PI controller is working, because it is trying to reduce the difference between V_highest and V_top, Which it is doing, but whenever it gets them close, it triggers the logic to 'reset' the controller (switch to the constant value reference which, because tracking is on the PID, 'resets' it), and it has to start over.
  10 个评论
Chinmaya
Chinmaya 2023-3-14
Hello Joel,
Thanks for the answer.
I have created a 3S6P battery pack of Li-ion cell, highest voltage that can be achieved by the cell is 4.1 Volt.
I have set the complete circuit for CCCV charging, but I am not getting how to tune the PID Controller.
I have attached all the relevant files, Could you please help me in Tuning the PID controller.
I am new to control systems
Could you please guide me on this.
Regards
Joel Van Sickel
Joel Van Sickel 2023-3-14
Unfortunately, we don't provide that level of guidance on the forums. You would need to purchase training or consulting to get that level of support. However, we do have a free trianing that you can use as a starting point: https://matlabacademy.mathworks.com/details/control-design-onramp-with-simulink/controls

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by