Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Multisim not simulating 555 timer correctly

Status
Not open for further replies.

dm7190

New Member
I am trying to use the 555 timer to light an led high for 2 minutes and low for two minutes and i feel like my math is right but when i simulate it in multisim it is not working correctly. I have used the 555 calculators and have done it myself but its still not right in multisim does anyone know why this is and maybe how to fix it. Thanks Dylan
 
Post a schematic of your simulation.
 
this is it the problem is that the high and low times arent what they are supposed to be in multisim.
 

Attachments

  • 555 word.doc
    232.8 KB · Views: 980
Last edited:
I didnt think to do it like that im not sure exactly what you mean at a discrete level though. do you mean build the 555 timer instead of using the chip that multisim provides.

What do you mean strange like those values wouldnt be available regularly or what. Because i figured about the resistor but i thought the capacitor value would be or at least close it doesnt have to be exact.
 
No - simulate it with individual comparators, SR latch, resistive divider and transistor. All the 555 timer does is measure the voltage across a charging cap and trip a comparator accordingly. You can simulate this discretely.

Failing that, LTSpice has a 555 timer block in it. if you want to get started with LTSpice, here an LTSpice tutorial:
http://www.simonbramble.co.uk/lt_spice/ltspice_lt_spice.htm
 
Yea i tried but it didnt work i cant even find the right latch to use in multisim, and ltspice i cant find the block but either way i need this to be in multisim. So i guess multisim is just not able to simulate this correctly but the values are right so i geuss i can just ignore it, i just wanted to make sure it was right with multisim but that didnt work out. Thank you for replying i appreciate all the help.
 
I was able to simulate the circuit correctly with a total output period of a little over 240 seconds (see below) but it takes a very long time. You can speed it up somewhat by clicking the "Simulate" tab, selecting "Interactive Simulation Settings" and setting "Initial Time Step" to 1.0.

Incidentally you typically show higher resistor values with a k (kilo) or M (Meg) suffix and capacitor values with u (micro) or p (pico) suffix.

555 Sim.gif
 
Last edited:
yea the period is around 240 but the first high time is around 190 seconds and it takes two cycles or so for it to get close to a 2 minute high and low time, but its fine i will just get it to the point it works and pause it and then show my teacher because he knows multisim doesnt work right. Also i did know about using the suffixes with the resistor and capacitor values i was just typing it in off my calculator, but you are right my teacher would get on to me if he saw that so i will definitly try to get in the habit of doing that. Again thank you all for the responses.
 
The first time high of 190 seconds will likely occur in the actual circuit as shown in the simulation. That's how long it takes for the initial charge-up of the capacitor.

Why do you think multisim doesn't work right?
 
ok i did not know that i thought multisim didnt work right because it was supposed to be 2 minutes high and low and i didnt think there would be an initial charge time so i thought it wasnt working right but i guess not. how would i be able to make it so that it would be 2 minutes high and low or at most 10 seconds off.
 
ok i did not know that i thought multisim didnt work right because it was supposed to be 2 minutes high and low and i didnt think there would be an initial charge time so i thought it wasnt working right but i guess not. how would i be able to make it so that it would be 2 minutes high and low or at most 10 seconds off.
If you monitor the voltage at C5 (C1 on my schematic) you will see the problem. The capacitor voltage starts at zero, goes to about 8V and then discharges to about 4V. The normal oscillation occurs between 4V and 8V on the capacitor.

To avoid the initial long pulse you can precharge the cap to 4V before you close S1 to start the oscillations with a resistor network and diode as shown below.

555 Sim.gif
 
ok i see now thank you for helping. i didnt realize that about the oscillation i need to look more into how the 555 timer works.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top