08-03-2013 04:36 AM
Hi!
I've got a problem about simulating a simple flip flop circuit. The output is connected to an LED for indication of the output. However, the LEDs just keep blinking which gives me the impression that the output is not stable (which from my analysis, the output should be stable). I'll post a picture and the multisim file for you to see the circuit. Thanks! 🙂
Solved! Go to Solution.
08-03-2013 07:57 AM
Sorry for double posting. I don't know and can't find how to edit my post. I just want to add that my prof successfully simulated this circuit although I haven't seen fully how he did it. I will attach below the picture of my simulated circuit in multisim. 🙂
08-03-2013 08:01 AM
Aaah sorry now for triple posting! I would just like to say that I found out what's the problem. It's just that the voltage rating of the gates I used is 15V while I use 5V for input.. So careless of me. -.-
08-03-2013 08:46 AM - edited 08-03-2013 08:46 AM
I do not have Multisim so I cannot comment on the simulation issues directly.
I was about to mention the 5 V/15 V issue. Also, a typical LED operates at 1.6 to 3 V depending on the color (and thus the semiconductor composition). Attempting to drive LEDs directly from the output of a 4011 will cause problems (in a physical circuit). The Ioh source current for the 4011 is 8.8 mA typical and 3.4 mA minimum at 15 V, under the assumption the Voh = 13.5 V. The current at a typical LED voltage might be as high as 32 mA (dissipating ~0.5 W!) until the device goes up in smoke! But with the voltage that low, the feedback logic will not work because the output voltages will always be below the threshold of the other gate inputs.
The simulation may not accurately reflect the current and voltage limits of the outputs.
When I put together a quick simulation of the logic in LabVIEW, I find that there are unstable states. This logic includes a propagation time effect but assumes ideal logic levels.
Lynn
08-04-2013 10:04 AM
Thank you for your response!
I can simulate my circuit properly now although some combinations gives out unstable outputs. Since I don't always simulate at multisim, I never considered the component's specification for these logic gate combinations. Thanks to you I will now put into consider those things when simulating 🙂
08-04-2013 01:27 PM
Simulations are no better than the models used. Many times the limitations of the model (especially commercial models) are not explicitly stated.
It is often necessary to simulate some very simple test circuits to validate the models or to find their limits. For example a circuit with one NAND gate with both inputs tied high and the output connected to the LED and a second gate with both inputs tied low would tell you a lot about how the models for the gate and for the LED handle an out-of-specification condition for each device.
Another interesting test might be to look at the 15 V logic with 5 V inputs and check the simulated voltages and currents at input and output.
Lynn
10-09-2013 01:35 AM
If you are designing manually flip-flop for designing foot wear then this is the best process but online flip-flop design software from No-refresh.com is the best option to you for own design to flip-flop. Now you can use this tool and give the response here.