12-12-2017 07:34 AM - edited 12-12-2017 07:46 AM
Dear All,
I am doing an AC Visual Mains Visual Indicator circuit simulation on Proteus 8, and I found myself getting singular matrix and Gmin stepping error.
Although the circuit is intended to draw supply from 220V AC power line and then stepped down to 15V AC, I decided to directly used 15V AC supply instead before being rectified for simplicity's sake in this simulation.
After rectification into DC, the circuit will then paralled into two paths, one being the original supply amount, and the other being fed into a 12V regulator 7812. The output from the regulator will then be run through a series of resistors to create different (decreasing) reference voltage points which will then be compared with the original supply voltage using the comparators LM339. Should the original voltage is higher than the reference voltage at the certain point, the LED on the output side of the corresponding input will light up. Depending on how many LEDs light up, will determine the current amount of voltage from the supply
For the power supply of the LM339, I am using the output from the 12V regulator, although I am not sure if this is okay.
Can anyone helo me on what is wrong with the circuit that leads me to the error, please?
Thank you in advance.
(Please ignore the circuit on sheet 1, the circuit is on sheet 2)
Edit: For clearer view, I have attached the image of the circuit I am trying to emulate.
12-18-2017 02:42 PM
Have you try to do the test on multisim?
12-18-2017 11:28 PM - edited 12-18-2017 11:32 PM
Yes, I have tried with multisim and it didn't work as well.
However, for anyone interested, I have actually found the solution to make the circuit work on Proteus 8. First off is to correct a mistake I made in which PIN 3 is supposedly Vcc paralled to the 12V regulator output while PIN 12 is the GND. Next, is to correct another mistake (yeah, my bad) that for each U3, U4, U5 LM339s only require one set of PIN3 and PIN12 connections (not all 4 connected for each of them). Lastly, is to remove AC source + diode bridge + 100uF smoothing capacitor altogether and replacing it with a DC source. This will make the simulation on Proteus 8 perform flawlessly.
I did try this method on multisim afterward and it still did not work over there. If anyone can somewhat make it work on rectified AC source or in multisim, I am open for suggestion. Thank you.
Edit: Attached the revised Proteus and Multisim schematic file