10-31-2022 08:21 AM
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.
10-31-2022 11:39 AM - edited 10-31-2022 12:05 PM
У вас за 5 секунд напряжение не меняется, потом резко за 0,1 сек падает в 10 раз, а U1 неправильно включен.
У меня получилось вот это, если правильно вас понял. И ещё варианты есть...
10-31-2022 09:54 PM - edited 10-31-2022 10:02 PM
Вот как это выглядит в параметрическом анализе
Значения параметров элементов на схеме не имеют значения при включении этого анализа. Параметры задаются в диалоговом меню самого анализа. Можно одновременно включить сразу все три компонента, (нажав кнопку "внутренние изменения",но график получится не очень понятный (пересыщенный информацией)
10-31-2022 11:21 PM
Ещё на ум пришёл один вариант. Только не от времени (точнее то напряжения) меняется сопротивление ,а от параметра, размерность которого назначаем в соответствии с требуемыми изменениями (10k-100k), выбираем произвольно 30 шагов
11-01-2022 02:23 AM
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
11-01-2022 03:20 AM
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
11-01-2022 05:14 AM - edited 11-01-2022 05:42 AM
Вы, наверное имели ввиду с 10 миллиом до 10 мегаом. Я когда-то искал самый быстродействующий переключатель (ключ) в Мультисиме. Кажется это был VOLTAGE_CONTROLLED_SPST
Иногда не хватает значений этих сопротивлений, то их можно изменить.
Время переключения этого ключа более 4 мсек
Анимация компонентов забирает приличные программные ресурсы, счёт становится медленным
Вся суть заключается в шаблоне модели:TDSwitchS
.subckt TDSwitchS1 1 2 3
R1 2 1 1e8
R2 2 3 1e-4
.ends
А здесь модель ключа симулируется по кривой, а значит сходимость быстрее и неразрывность функции соблюдается, значит и итерации быстрее идут. Время переключения 0,3 фептосекунды (0,3e-15)
11-01-2022 05:37 AM
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
11-01-2022 05:48 AM
Аргумент времени я загонял до 1e-64 сек. Все симуляции выложены на сайте http://kazus.ru/forums/showthread.php?t=10241&page=546
там больше 5 веток по Мультисим, вам должно быть интересно. Есть и англоязычная версия сайта
11-01-2022 05:50 AM - edited 11-01-2022 05:54 AM
Я не понял ваш вопрос, извините...,-возможно это издержки перевода, лучше выложить в формате "ms"