Doubt in Ideal Switch

조회 수: 9 (최근 30일)
Nuno
Nuno 2011년 6월 30일
답변: Obinna 2014년 12월 5일
In Ideal Switch, if g=0 the switch are closed and if g=1 are open, sure?

답변 (2개)

Arnaud Miege
Arnaud Miege 2011년 7월 1일
Are you referring to the Ideal Switch from SimPowerSystems? If so, look at the documentation:
"The Ideal Switch block is fully controlled by the gate signal (g > 0 or g = 0). It has the following characteristics:
  • Blocks any forward or reverse applied voltage with 0 current flow when g = 0
  • Conducts any bidirectional current with quasi-zero voltage drop when g > 0
  • Switches instantaneously between on and off states when triggered"
HTH,
Arnaud

Obinna
Obinna 2014년 12월 5일
Hello, I tried using the "ideal Switch" block in Simpowersystems. I conneceted it to a battery I coded a matlab function block with if commands to give instructions to the switch via the gate(which is a simulink in put signal) to toggel between off and on. But it does not work.
so see what I did.
in the matlab function block
i did if command as follows,
if u==1 y=0; else y=1; end
but when i pass "1" through it still outputs the voltage in the battery. I have the voltage measurement between the switch and the negative port of the battery. so I have a display attached to the voltage measurement.
Please assist me with this issue.
thanks.

카테고리

Help CenterFile Exchange에서 Parameterization Methods에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by