Skip to main content

Voltage Divider Circuit using QUCS

SPICE Simulation of Voltage Divider

What You will Learn

  • You will wire up a voltage divider network using QUCS
  • You will learn to perform DC, AC and transient simulations on the developed circuit.
  • you will learn to observe, store and export the data from the display (.dpl) file.

Experiment

  • Launch QUCS. Go to Components in the left pane and select the item Lumped Components. Drag and drop a resistor onto the schematic window.
  • Right click on on to and go to Edit properties and make the resistance 1 kΩ
  • Right click, copy and paste this resistor twice. Connect the three resistors in series by wires, selected by pressing Cntrl+E .
  • Go to Components in the left pane and select Sources ac Voltage Source . Drag and drop the source onto the schematics window.
  • Right click on the source and change its amplitude as 1 V and its frequency as 1 kHz.
  • Connect the source to the resistors and connect a ground to finish the circuit as shown in the figure below.
  • Right click on the wire between the source and R1 and Edit Properties and name it as v1. Similarly, connect probes vo1 between R1 and R2 and vo2 between R2 and R3.
  • Go to Components Simulations and drop down Transient Simulation
  • Select Simulation simulate or press F2 to start the simulation.
  • Once the simulation is over, it opens a display (.dpl ) window with the left pane set to Diagrams . One can see many output formats such as Cartesian, polar, truth table etc.
  • Drag and drop Cartesian to the .dpl window.
  • Rigt click on the display window and select Edit Properties . Select the signals vi, vo1 and vo2 for display. The signals appear as shown below.
  • You may play around with the values of resistors and the amplitude of the source and observe the display outputs.

    Exporting the Signal Data

  • You may right click and select a signal in the display window.Then go to Project Export to CSV
  • You may give file name and store the signal and time values as a .csv (comma separated values) file for further analysis.
  • What You Learned

  • You learned to set up a circuit in the ngsspice tool QUCS.
  • You learned to perform the transient analysis on the voltage divider network.
  • You appreciated the signal outputs and learned to export them to .csv files
  • Comments

    Popular posts from this blog

    RC Integrator and Differentiator using QUCS

    RC Integrator and Differentiator using QUCS Dr. Hari V S Department of Electronics and Communication College of Engineering Karunagappally What You will Learn You will understand the operation of simple integrator and differentiator circuits using QUCS You will learn the frequency response characteristics of integrator and differentiator by dint of ac simulation. Theory Differentiator is a high pass circuit that produces the time derivative of the input signal at the output. The circuit is shown below. \begin{equation} \nonumber v_{o}=I_{o}R=RC\frac{d(v_{s}-v_{o})}{dt}\\

    Generation of Signals using MATLAB/Python

    Generation of Signals using MATLAB/Python Dr. Hari V S Department of Electronics and Communication College of Engineering Karunagappally What You will Learn You will learn about various energy signals and their generation using MATLAB and python. Signal Generation using MATLAB MATLAB arrays are used to generate finite energy signals. It should be understood that the signals so generated are discrete in time and amplitude. Sinusoidal Signal Consider the sinusoidal signal $x=sin(t)$, which is nothing but a single tone, with the help of the MATLAB code below. t=linspace(0,10,5000); x=sin(t); plot(t,x); grid; The execution of the code will result in the signal, shown below. Amplitude Modulated Signal The above low frequency tone is used to modulate a sinusoidal carrier $y$ of ten times the original frequency. i.e. $y=sin(10t)$. The amplitude modulated signal $am(t)$ is obtained as \begin{equation} am(t)=x*y+y \end{equation}Su