How to configure this pulse generator block in simulink
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
vaishnavi Bhor
le 21 Sep 2021
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.
Réponses (1)
Aghamarsh Varanasi
le 19 Avr 2021
Modifié(e) : Aghamarsh Varanasi
le 19 Avr 2021
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 commentaires
Communautés
Plus de réponses dans Power Electronics Control
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!