Why switch in the attached simulink file not working?

1 vue (au cours des 30 derniers jours)
Raghuraman S
Raghuraman S le 2 Oct 2018
I have constructed a circuit using switch block and threshold value is 4. When the signal applied is 1, still the switch is showing in closed condition and outputs the voltage. I expected switch to open since thershold value(4) is more than signal value(1),I tried changing the signal value but always the switch is in closed condition.
Please see the attached file. (Unfortunately the question box is not allowing to upload .slx file).

Réponse acceptée

Sebastian Castro
Sebastian Castro le 3 Oct 2018
This seems right. The open switch behaves as a large resistor, so voltage should be (almost) the same as the DC voltage supply, but current should be (almost) zero.
I believe if you measure the current it will be significantly different based on the switch input signal.
- Sebastian

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by