How to configure this pulse generator block in simulink
조회 수: 6 (최근 30일)
이전 댓글 표시
im doing two tier dc load method to estimate internal resistance of the battery
what values to keep to the pulse generator so that in first instant the battery discharges for 10 secs at low current and in secoond instant the battery discharge for 3 seconds at high current.
simulink model
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/581881/image.png)
Two tier dc load pattern
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/581886/image.png)
Download matlab simulink file i keep as an attachment
댓글 수: 1
vaishnavi Bhor
2021년 9월 21일
sir I'm an university student. please can you tell how you created this model for two tier dc load method to estimate internal resistance of the battery. what thing you refered to form this model.
답변 (1개)
Aghamarsh Varanasi
2021년 4월 19일
편집: Aghamarsh Varanasi
2021년 4월 19일
Hi,
You can load a timeseries object along with the 'From Workspace' block to generate custom Signals in Simulink. For example, you can create a timeseries object as follows, and change the 'Data' parameter for the 'From Workspace' block to that timeseries object.
% time data
t = [0, 1, 1, 11, 11, 14, 14];
% signal data - low current : -0.5, high current: -5
d = [0, 0, -0.5, -0.5, -5, -5, 0];
% timeseries object
in = timeseries(d, t);
Hope this helps
댓글 수: 0
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!