how do i use multiple current sources in parallel
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have tried connecting two controlled current sources in parallel to battery with switch in between. But switching is not happening? why?
0 Kommentare
Antworten (1)
Aman Vyas
am 27 Mär. 2020
Hi,
I have checked your model completely and signals from voltage are completely fine.
Voltage starts to increase from 3.3V to some 4V value, and thus as per condition defined in matlab function which states v<3.7 so c1 gets high and current of -3A (in reverse direction) and even after v>3.7 c2 gets high and current of –3 A flows since the circuit and the parameters are totally symmetrical.
You are actually seeing the sum of the two added source and that is constant always.
Alternatively if it doesn’t work try putting relational operator at the gate terminal of the switch and simply compare then and there. You will get better understanding that way. Matlab function used can be removed in this way.
Hope this helps.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!