how do i use multiple current sources in parallel
조회 수: 2 (최근 30일)
이전 댓글 표시
I have tried connecting two controlled current sources in parallel to battery with switch in between. But switching is not happening? why?
댓글 수: 0
답변 (1개)
Aman Vyas
2020년 3월 27일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!