Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

Time-dependent resistor?

I'm trying to include a resistor that is time-dependent. First in a real more complicated circuit, but get error.

I'm using a voltage controlled resistor and a PWL-voltage source (piece wise linear source).

The attached circuit is very simple and I know what is going to happen analytically. At a time t=5, the resistance changes from 100kOhm (100kVolt PWL) to 10kOhm. The capacitor will start to charge more rapidly. No refinement/less tolerance in maximum time stepping setting etc have no effect.

Is there a known solution to this, or is there another way to work-around it by using another kind of block?

 

I'm modelling the "light-up" of the the gat substrate of a power thyristor wafer for 1-100us duration where the initial resistance likely is very large, 300mOhm(?) (small spot=high resistance)

to after 100ms the resistance is very low (1mOhm) since the current-distribution has expand out and cover a large area.

 

 

0 Kudos
Message 1 of 22
(2,285 Views)

У вас за 5 секунд напряжение не меняется, потом резко за 0,1 сек падает в 10 раз, а U1 неправильно включен.
У меня получилось вот это, если правильно вас понял. И ещё варианты есть...

fofango570_0-1667235859341.png

 

fofango570_0-1667234331108.png

 

0 Kudos
Message 2 of 22
(2,259 Views)

Вот как это выглядит в параметрическом анализе

fofango570_0-1667270889213.png

Значения параметров элементов на схеме не имеют значения при включении этого анализа. Параметры задаются в диалоговом меню самого анализа. Можно одновременно включить сразу все три компонента, (нажав кнопку "внутренние изменения",но график получится не очень понятный (пересыщенный информацией)

fofango570_1-1667271165699.pngfofango570_2-1667271208854.pngfofango570_3-1667271253211.png

 

0 Kudos
Message 3 of 22
(2,233 Views)

Ещё на ум пришёл один вариант. Только не от времени (точнее то напряжения) меняется сопротивление ,а от параметра, размерность которого назначаем в соответствии с требуемыми изменениями (10k-100k), выбираем произвольно 30 шагов

Вариант.gif

0 Kudos
Message 4 of 22
(2,218 Views)

Thanks for the reply:) I don't understand Russian but can see you have a table in PLV V1 from 0 to 15 from 100 to 10V. But unfortunately, the way multisim interpret this is linear voltage from 100 to 10V between 0 and 15s! It is NOT a heavy-side jump.

The other solution with circuit parameters, does not take time or other state variables as input. It ignores them or set expression to 0. I have tried. The solution you show is a parametric sweep of the parameter R1. Its not a function of time.

 

I'm not sure I understand the setting for the simulation you have shown. There is probably some kind of bad tolerance when the property of R changes rapidly so the solver cannot control the time-stepping during that critical region of change. I will try to understand what you have done though.

 

BR/PER

 

 

0 Kudos
Message 5 of 22
(2,202 Views)

One more thought is that multisim can handle sudden change in resistance for switches. It , TD_SW1, can switch from off-resistance of 10Mohm to on-resistance of 10uOhm at instant.

So why is a resistor with this behavior more problematic for the solver?

 

BR/Per

0 Kudos
Message 6 of 22
(2,191 Views)

Вы, наверное имели ввиду с 10 миллиом до 10 мегаом. Я когда-то искал самый быстродействующий переключатель (ключ) в Мультисиме. Кажется это был VOLTAGE_CONTROLLED_SPST
Иногда не хватает значений этих сопротивлений, то их можно изменить.
Время переключения этого ключа более 4 мсек

fofango570_0-1667297613949.png

Анимация компонентов забирает приличные программные ресурсы, счёт становится медленным

Вся суть заключается в шаблоне модели:TDSwitchS
 .subckt TDSwitchS1 1 2 3
R1 2 1 1e8
R2 2 3 1e-4
.ends

fofango570_0-1667299166746.png

А здесь модель ключа симулируется по кривой, а значит сходимость быстрее и неразрывность функции соблюдается, значит и итерации быстрее идут. Время переключения 0,3 фептосекунды (0,3e-15)

0 Kudos
Message 7 of 22
(2,180 Views)

Hi, could there be a time-argument in the sub-circuit?

 

R1 1 2 1e-4*(time<50e-3)+1e8*(time>=50e-3)

 

?

 

BR/Per

0 Kudos
Message 8 of 22
(2,174 Views)

Аргумент времени я загонял до 1e-64 сек. Все симуляции выложены на сайте http://kazus.ru/forums/showthread.php?t=10241&page=546
там больше 5 веток по Мультисим, вам должно быть интересно. Есть и англоязычная версия сайта

0 Kudos
Message 9 of 22
(2,164 Views)

Я не понял ваш вопрос, извините...,-возможно это издержки перевода, лучше выложить в формате "ms"

0 Kudos
Message 10 of 22
(2,163 Views)