How to create a 2-RC circuit in SOC Estimator (UKF) block?

조회 수: 10 (최근 30일)
Lotte Hollander
Lotte Hollander 2023년 6월 7일
답변: Sanchari 2023년 9월 18일
Hi, I want to change the SOC Estimator (UKF) block in Simulink with a 2-RC circuit instead of a 1-RC circuit. For this is use the simscape battery toolbox.
The states would be x = [SOC, V1, V2, R0], and the output is y = Vocv - V1 - V2 - R0*I.
I have tried to update the state function (see picture below) and measurement function, but I keep receiving errors that my input values don't match up. This is understandable, as I am trying to change the number of inputs from 3 to 4, but I don't know how to resolve this problem.
I really appreciate any tips that you might have to solve this issue. Thank you.

채택된 답변

Sanchari
Sanchari 2023년 9월 18일
Hello Lotte,
I understand that you want to change the SOC Estimator (Adaptive Kalman Filter) block in Simulink to a 2-RC circuit instead of a 1-RC circuit. However, this is not possible using the SOC Estimator (Adaptive Kalman Filter) block as it is modelled to work with a 1-RC circuit.
You can try other methods to calculate SOC by referring to the following documentation:
You can further refer the following documentation and File Exchange function:
  1. SOC Estimator (Adaptive Kalman Filter): https://www.mathworks.com/help/simscape-battery/ref/socestimatoradaptivekalmanfilter.html?searchHighlight=SOC%20voltage&s_tid=srchtitle_support_results_9_SOC%20voltage
  2. State of Charge Estimation Function based on Kalman Filter: https://www.mathworks.com/matlabcentral/fileexchange/90381-state-of-charge-estimation-function-based-on-kalman-filter?s_tid=answers_rc2-2_p5_MLT
Hope this helps!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Estimators​에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by