电气开关不起作用

3 views (last 30 days)
Hello everyone,
I am trying to use a switch in a simulation of an electrical circuit and I dont know why, but it is not working correctly. I have created a simplifyed system to check the switch function and it also doesn't work. I paste a screenshot of the system so you can check it.
The idea was to activate and desactivate the switch with a pulse generator, so the current of the circuit, which is a constant 1A DC, fluctuates between 0A and 1A. Despite of it, the current is 1A during the whole simulation.
6 Comments
费尔南多·贝尔达(Fernando Belda)
Treshold配置为0.5V。在此值下,它应该被关闭,当它达到高于0.5V的值时,应打开。

登录发表评论。

Accepted Answer

Jonas
Jonas 2021年8月30日
Edited:Jonas 2021年8月30日
您使用的是理想的电流源设置为1 A.这意味着您附着在其上的任何负载,都将保持1A。
通过打开和关闭开关,您只是更改所需的电压,理想的当前源维护1A所需。即使开关打开,它也具有一定的“打开电导”。这意味着在开放位置,开关仍具有1/1e-6 ohm = 1000 000欧姆电阻,这意味着理想的电流源将采用1000 000伏特来维护1A电流。
You are basically simulating huge sparks and fireworks. Yes, Simscape is also able to simulate those. It will not prevent you from doing so.
This is why the current measurement with scope will always read 1A. Try to add a voltage measurement accross the switch and see the large voltage.
5条评论
费尔南多·贝尔达(Fernando Belda)
您是对的乔纳斯,非常感谢您的帮助!

登录发表评论。

更多答案(0)

下载188bet金宝搏


Release

R2021a

社区寻宝

在Matlab Central中找到宝藏,发现社区如何为您提供帮助!

Start Hunting!