how do i use multiple current sources in parallel

7 visualizaciones (últimos 30 días)
srivani a
srivani a el 10 de Mzo. de 2020
Respondida: Aman Vyas el 27 de Mzo. de 2020
I have tried connecting two controlled current sources in parallel to battery with switch in between. But switching is not happening? why?

Respuestas (1)

Aman Vyas
Aman Vyas el 27 de Mzo. de 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.

Community Treasure Hunt

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

Start Hunting!

Translated by