Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to solve convergence error

Solved!
Go to solution

I've reverse engineered a diode based thermostat which uses a 1N4148 as the temperature sensor.

 

I've entered the circuit into the schematic editor, but whatever I do it refuses to run the simulation!  I get an immediate "Timestep too small" simulation error, and the convergence assistance cannot solve it.

 

I'm don't *think* I've got any "stupids" that would cause the simulation to fail, but maybe I missed something obvious.

 

As a "Starter for 10 points" how can I get this simulation to run?

 

As a "Bonus question for 30 points" how can I change the temperature of the diode to (say) 150C while leaving the rest of the simulation at nominal temperature?

 

 

0 Kudos
Message 1 of 9
(13,796 Views)

I got rid of a singular matrix error by putting a DC power source and lamp on the relay output circuit, but it still fails to simulate.

 

I attach the updated model

0 Kudos
Message 2 of 9
(13,792 Views)
Solution
Accepted by david_c_partridge

Hello,

 

Let's use a better SPICE model for the LM324N:

 

  • Double-click this component (U3A) to open its Properties.
  • Select the Value tab and click on the Replace button.
  • Make sure that the LM324N is selected in the Component Browser.
  • Go to the Model manuf./ID field and selec the model from National National Semiconductor (this is a 5 pin model, more precision).
  • Click OK, select section A.
  • Repeat this process for section B, C and D.

 

Run the simulation, this convergence error should dissapear. I've attached your circuit with this modification.

 

Hope this helps.
Fernando

Fernando D.
National Instruments

Message 3 of 9
(13,772 Views)

Yes, definitely plenty of Brownie points for that  The circuit now works with some tweeks to the relay on current.

 

I''l open another thread on how to adjust the temperature of JUST the 1n4148 diode (to change VF)?

 

 

Message 4 of 9
(13,769 Views)

Hi everyone,

 

I'm having the same convergence issues with a circuit I'm trying to simulate. Can somebody please run it and see if he/she can figure out what I was doing wrong.

 

I've attached the circuit. 

 

Please explain how you fixed it.

 

Thanks

0 Kudos
Message 5 of 9
(13,504 Views)

Wadel,

 

You have the power supply going to pin 8 (VCC) of the LM358 reversed.

0 Kudos
Message 6 of 9
(13,482 Views)

Thanks Tom.Smiley Very Happy

0 Kudos
Message 7 of 9
(13,479 Views)

I working with a solar inverter circuit. I keep getting the convergence error message. Any ideas on what might be wrong?

 

Schematic.PNG

 

 

0 Kudos
Message 8 of 9
(11,543 Views)

Your AC ground and DC ground are same. Avoid same ground for AC and DC

0 Kudos
Message 9 of 9
(5,032 Views)