11-25-2023 08:08 AM
Hello,
I am building a circuit that requires a recharging battery simulation. I found out that there is the option in the Power Sources of a NON_IDEAL_BATTERY, which sounds perfect with simple configuration. To make sure I understood how it worked, to replace my much-more-complicated Capacitor-as-simulated-battery configuration, I created a simple circuit (attached) with just a battery connected to a resistor and then ground, with a simple switch and an oscilloscope to check voltage throughout the simulation.
I expected that the battery would discharge to practically zero, and then stay there regardless of what position the switch was in - as, of course, the battery has been discharged and there is no recharging power source.
However, the battery starts charging on its own - see the attached image with the voltage measurement.
Why is this happening? I tried to change parameters in the model data, specifically this: "Cchrg 0 30 <3600*#5> IC=1", however I am not allowed to do this in my Multisim.
Thank you in advance.
Solved! Go to Solution.
11-25-2023 11:46 AM
Привет! Думаю, во временном анализе это делать-лучше. Кривая разряда соответствует теории. Вверху-кривая заряда.
11-25-2023 12:17 PM - edited 11-25-2023 12:40 PM
-продолжение. В ноль поставить начальное напряжение нельзя, так как зарядный ток уходит в бесконечность в начале симуляции. Вот ещё одна картинка приближающаяся к реальности...
11-25-2023 12:50 PM
Thank you for the reply.
I'm not sure if I understand your point, or maybe I did not make my question clear.
I wanted to make sure the NON_IDEAL_BATTERY option worked very similarly to an actual battery, so I created a simple circuit to see the voltage charge and discharge curves.
It has a 5V battery in series with a 1ohm resistor (just to speed things up), in series with a Single Pole- Single Throw switch to close or open the circuit and then ground.
There is only one voltage source in the circuit, which is the battery. Therefore, it is my understanding that, after the battery is discharged, if I open or close the switch, the voltage throughout the circuit should be zero as the battery is dead and there is no other voltage source.
However, when I opened the switch - and therefore had an open circuit - the battery started charging up.
Why is this happening? Is there a way to correct this in Multisim?
11-25-2023 10:35 PM
Спасибо за пояснения. Теперь понял вас. В spice-syntax источник напряжения -есть источник напряжения. То есть он должен давать напряжение и не иметь сопротивления. В модели неидеального источника введены параметры "ухудшающие" его идеальные характеристики. Так, воздействуя на эти параметры, получим другие характеристики, то есть аккумулятор почти не заряжается после разрядки. Правда кривая разрядки стала более крутой.
11-26-2023 11:16 AM
Thank you for the reply.
If I understood correctly, in the image you changed the parameter Cchrg to 0.001, which then makes the battery not recharge after depletion.
How did you change that parameter? Did you do it in Multisim or in the Ultiboard software?
11-26-2023 04:08 PM - edited 11-26-2023 04:30 PM
Спасибо вам за интересную тему, поднятую вами. Всегда проходил мимо такого компонента питания, а аккумулятор моделировал ёмкостью, стабилитроном и сопротивлениями.
Спасибо за звезду. А решение мне кажется ещё сыровато. Я изменил электрическую ёмкость аккумулятора в модели, которая пропечатывается в спайс-листинге. Вы до этого сами дошли, когда написали такую строчку: "Cchrg 0 30 <3600*#5> IC=1".
Экспериментируя с другими выключателями, получаю разные эффекты, но, пока не пойму, почему, всё-таки идёт заряд при разомкнутом ключе...А? как изменял параметры сниму GIF.
На этом анализе нет зарядки, когда импульс в нуле.
11-26-2023 05:15 PM - edited 11-26-2023 05:24 PM
-продолжение.
После внесения изменений в ARBITRARY_SPICE_BLOCK, нажимаем ОК, и источник питания получает новые свойства. Модель из спайс-блока будет флаговой.
11-27-2023 05:38 PM
-продолжение темы.
Поколдовал над моделью. Получил разрядную кривую, почти до нуля. Дальше процесс затыкается. Эту модель можно использовать в проектах, где нужна только разрядная ветвь батареи, имхо...
11-29-2023 05:52 AM
продолжение темы.
Здесь обсуждения профессионалов. https://kazus.ru/forums/showpost.php?p=1401576&postcount=2075
Специалисты из NI -отдыхают!....