How to configure this pulse generator block in simulink
3 次查看(过去 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 个评论
社区
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Electrical Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!