Skip to main content

social

pop

Simulation and analysis of RC circuit in MATLAB

MATLAB SIMULATION OF SERIES RC CIRCUIT

This will be divided into:
  • Practical analysis
  • Theoretical analysis
  • Conclusion
Circuit diagram of RC circuit
RC circuit
Using the RC branch, with R = 1Ω and C=1000uF

MATLAB SIMULATION
Matlab RC circuit

WAVE FORMS
  • Scope 2
Input voltage
Current flowing in the circuit
Voltage drop across the capacitor 
Matlab Rc circuit curve

Observing the wave form from scope2, we can see that the wave form of the current leads the wave form of the voltage by 900. This is in line with the fact that in pure capacitive circuit the current leads the voltage by an angle of 90o and in a non-pure capacitive circuit by an angle < 900.
  • Scope 3
Voltage drop across the capacitor
Voltage drop across the resistor 
Matlab RC circuit curve simulation

From scope3, we observe that the voltage across the capacitor (VC) , is out of phase with the voltage across the resistor (VR ) by 900.
Where VC lags VR with VR and I in phase.

THEORITICAL ANALYSIS
Matlab simulation of RC circuit
Using the RC branch, with R = 1Ω and C=1000uF

A) Determination of Vrms 
Calculation of root mean square value
B) Determination of the current in the circuit
Rc circuit analysis in MATLAB

C) Determination of voltage drop across the capacitor.
Matlab voltage drop across capacitor

D) Determination of voltage drop across the resistor
Matlab voltage drop across resistor

E) Determination of the power ( Apparent power, Active power and Reactive power)

  • Apparent Power
RC apparent power in MATLAB
  •    Active and Reactive power
Active and reactive power calculation
    
   F) Calculation of phase differences

Phase difference calculation in RC circuit

CONCLUSION
The table below shows the various values obtained from the simulation using Matlab and from theoretical analysis. These would enable us to draw a conclusion.

Theoretical and practical comparison of MATLAB result
From the table, by comparing the theoretical and the simulated results we see that the results are coherent.

By EKETECH

Popular posts from this blog

How to Install Proteus 8 Professional: A Step-by-Step Guide

 How to Install Proteus 8 Professional: A Step-by-Step Guide Proteus 8 Professional is a powerful tool for electronic circuit design and simulation. Whether you’re a student, hobbyist, or professional engineer, following a clear installation process ensures you get started without headaches. Are you ready to start designing and simulating electronic circuits with Proteus 8 Professional!   Here’s a comprehensive, guide to installing Proteus 8 Professional on your Windows PC. Step 1: Download the Installer ·        Visit the official Labcenter Electronics website or another trusted source to download the Proteus 8 Professional installer. Avoid unofficial sources to prevent malware or corrupted files . You can download from HERE DOWNLOAD PROTEUS AND ARDUINO ·        The installer typically comes as a ZIP file. Wait for the download to finish and locate it in your Downloads folder Step 2: Extract the Installer...

Intermediate switch connection and wiring diagram

Intermediate switch An intermediate switch is a switch which permits the control of a lighting point from three positions. In order to control this lighting point from the three positions, the intermediate switch is connected together with two other 2-way switches. Application: it can be used in lighting a room or hall having 3 entrances , it can also be used in long corridors and staircases. We shall be looking at these connections. Connection diagram of intermediate switching Below is an illustration of the connection. The brown lines indicated on the diagram are the switching contacts. The switch labelled 2 is an intermediate switch . The figure below is the configuration of an intermediate switch. The switch labelled 1 and 3 in the first diagram are two-way switches.  Click here to know more about two-way switches . ON and OFF positions of intermediate switching ON positions OFF positions Staircase wiring layout using an inte...

WHAT IS A MULTIPLEXER?

  MULTIPLEXER we are going to see more complex combinational logic circuits or combinational devices which are the multiplexer and demultiplexer. These devices are can be found as integrated circuits (ICs) and are widely used in the field of telecommunication like in multiplexing. WHAT IS A MULTIPLEXER? A multiplexer also called data selector is a device that selects one of many input signals and forwards the selected input to the output. A multiplexer of 2 n inputs has n select bits, which are used to select which input line to send to the output.   See figure 1. An electronic multiplexer makes it possible for several signals to share one device or resource like one communication line instead of having one device per input signal. An example can be in a cyber where many computers are connected to the same printer, another example is an mp3 player, laptop, digital cable TV connected to a single surrounding sound system through a Mux.