What Will I Learn?
In this tutorial you will learn:
Develop the analysis functions of the Qucs, for monostable and astable mutivibrators.
Know the tools of the Qucs for the modeling of integrated circuits.
Learn to extract the netlist code from the subcircuits designed in the Qucs.
Requirements
-
Use the tools of the Qucs Simulator.
-
work with subcircuits in the Qucs .
-
Know the internal design 555 integrated circuit.
-
Know the design of monostable and astable multivibrators with the 555.
Difficulty
- Intermediate
Tutorial Contents
The following tutorial is a contribution of the @edagmi account for utopian-io. The functions of the Qucs Simulator are presented, to analyze integrated circuits of specific applications, the case study will be with the 555 integrated circuit, to simulate its most useful applications. It is important to note that the tutorial is focused on demonstrating the potential of the Qucs for the analysis of two important applications of the 555 for the generation of pulse signals: - Monostable multivibrator or timer. - Astable multivibrator or the pulse generator.
The Qucs does not have the integrated circuit 555 in its libraries, so it is required to do a modeling of it, based on a series of analog and digital circuits that emulate the real behavior of the IC 555. The tutorial shows the utility of the simulator for applications with the 555 and does not focus on the internal design of the 555 circuit. Two fundamental applications of the 555 are referenced and then the functionality of the Qucs for the simulation is demonstrated.
Below is a series of steps to develop the tutorial, I hope it will be very useful.
Step 1:
Select CI 555 in the Qucs. CI 555 is not found directly in any of the Qucs libraries, so reference is made to a model created on the official Qucs website (http://qucs.sourceforge.net/examples.html ), with subcircuits necessary to completely model their behavior. The following image shows the subcircuit of 555 in the Qucs.
Step 2:
Identify the connection terminals of the CI 555. The encapsulation has 8 pins, with the following relevant characteristics:
- Ground.
- Input signal (Trigger).
- Output signal Pulses generated.
- Threshold (Comparison voltage for astable function).
- Download (To download capacitor).
- Alimentation.
The Qucs allows connecting different schematic circuits, through functions known as subcircuits. The following image shows the 555 model, which responds to a combination of digital and analog subcircuits designed in the Qucs, which define the operation of each of the 555 pins. In this tutorial the internal design of the 555 is not described. 555 integrated circuit, the functions of the different subcircuits that compose them are not analyzed either.
Step 3:
Observe the netlist created for the CI 555 model. The netlist is the description of the connectivity of an electronic circuit, it is a list of components identified by nodes, which define the connection points of the components of the circuit, in a universal language for the electronic simulators. You can see the 555 netlist by selecting the circuit and copying it into the text editor that presents the Qucs in its main menu.
Netlist code of 555:
```
#### Step 4:
Build in the schematic diagram of the Qucs, the monostable timer circuit using the 555, for this one requires a resistor, two capacitors, power supply, ground connection and a pulse for the trigger signal. All the elements are extracted from the component menu of the program. Observe in the following image:

#### Step 5:
The connection of the monostable circuit is made, as shown in the image below, and it is also subjected to a transient analysis as a function of time, in order to see the most relevant signals of the circuit.

#### Step 6:
The simulated application with the Qucs, must show a pulse generated by the 555, due to the trigger signal. The pulse has a width that can be controlled with the resistive element of the circuit and is given by the following equation:
T = 1.1 * R1 * C2
For the case study, a pulse width of approximately 110 μsec is given.
#### Step 7:
The simulation shows three Cartesian graphs, the first graph shows the trigger pulse (Vtrigger), the second graph shows the capacitor charge process (Vdis) and in the third graph the output pulse is observed with a width controlled and close to the 110 μsec (Vout).

#### Step 8:
The netlist of the monostable 555 circuit can be observed.
```
<.TR TR1 1 690 110 0 77 0 0 "lin" 1 "0" 1 "0.6 ms" 1 "201" 1 "Gear" 1 "6" 1 "1 ns" 0 "1e-16" 0 "150" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "26.85" 0 "1e-3" 0 "1e-6" 0 "1" 0 "CroutLU" 0 "no" 0 "yes" 0 "0" 0>
<570 360 610 360 "" 0 0 0 "">
<180 150 200 150 "" 0 0 0 "">
<600 150 600 240 "" 0 0 0 "">
<570 240 600 240 "" 0 0 0 "">
<570 280 600 280 "" 0 0 0 "">
<570 320 600 320 "" 0 0 0 "">
<600 280 600 320 "" 0 0 0 "">
<410 240 440 240 "" 0 0 0 "">
<90 150 120 150 "" 0 0 0 "">
<200 150 390 150 "" 0 0 0 "">
<200 150 200 210 "" 0 0 0 "">
<300 280 440 280 "" 0 0 0 "">
<300 280 300 300 "" 0 0 0 "">
<410 360 440 360 "" 0 0 0 "">
<410 330 410 360 "" 0 0 0 "">
<390 330 410 330 "" 0 0 0 "">
<390 150 600 150 "" 0 0 0 "">
<390 150 390 330 "" 0 0 0 "">
<600 320 600 340 "" 0 0 0 "">
<580 340 600 340 "" 0 0 0 "">
<580 340 580 440 "" 0 0 0 "">
<160 440 580 440 "" 0 0 0 "">
<160 270 160 440 "" 0 0 0 "">
<160 270 200 270 "" 0 0 0 "">
<440 320 440 320 "vout" 400 290 0 "">
<600 320 600 320 "Vdis" 630 290 0 "">
<300 280 300 280 "Vtrigger" 330 250 0 "">
Step 9:
Following the same sequence of steps 4 and 5, we proceed to arm the astable circuit with the 555 and again perform a transient analysis, as seen in the following image.
Step 10:
For the second simulation of the Qucs, it is expected that a train of pulses will be generated at the output, where the capacitor C1 is permanently charging and discharging. When the capacitor is charging the output of the IC 555 is at high level (5V) and when the capacitor is discharging the output of the IC 555 is at low level (0V). The time that is at high level can be calculated with the following equation:
T = 0.7 * (R1+R2) * C2
The time that is at low level (0V) can be calculated with the following equation:
T = 0.7 * R2 * C2
Step 11:
The responses of the transient simulation of the Qucs are verified, for the following signals: 1. Reset signal used to activate the astable (Reset). 2. The trigger signals (Vtrigger). 3. The capacitor discharge (Vdis). 4. The pulse train output signal generated by the circuit (Vout). Observe the data obtained from these transitory responses in the following image.
Step 12:
You can see the astable 555 circuit netlist:
```
``` Thanks for your attention.
Curriculum
- Qucs simulator for semiconductor electronic circuits: Introduction
- Stages of design of a source regulated with Zener, using QUCS.
- Design of an amplifier of audio with Qucs
Posted on Utopian.io - Rewarding Open Source Contributors