Skip to content

Implemetation of a linear differential equation and filters and various equations in Pspice Orcad

Notifications You must be signed in to change notification settings

Udyam/UDYAM-21-CONTINUUM-analog-function-and-filter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

analog function and filter

Implemetation of a linear differential equation and filters and various equations in Pspice Orcad

TASK 1

Linear Differential Equation

image

BACTERIA GROWTH CALCULATOR :

Given that on day 1 there was only one bacterium in the jar. The bacteria multiply by binary fission (one bacteria splits into 2 per second) .

Find the plot of bacteria population vs time using analog circuits .

image

In the above differential equation k=ln(2).

Simulation results on transient analysis :

image

TASK 2

Design a frequency-dependent analog system that squares, integrates, and differentiates signals at different frequencies that lie max 5 Hz apart.

  • Say your system produces a squared output of the input voltage when the input ac source frequency is “x Hz”. Similarly, when the input frequency is “y Hz” then, say, it produces the differentiation of the input voltage, and say at “z Hz” it integrates the input signal to produce the output. And say x < y < z; then |x-y| <=5 Hz and |y-z| <=5 Hz and |x-z|<=10 Hz, and x ≠ y ≠ z
  • You can choose any 3 frequencies such that they lie in a range of 10 Hz, say for example (50,55,60) or (120,124,128) or (900,903,908),....... and so on.
  • Also, you can produce the outputs in any order, i.e., say the frequencies are x,y,z Hz then any of the three frequencies could be allotted to any of the three operations, but it should follow the constraint x ≠ y ≠ z.
  • Design should have only one input terminal and one output terminal.

NBPF (Narrow Band Pass Filter)

#include<iostream>
using namespace std;
int main(){
    float q=50;
    float fc=110;
    float af=10;
    float c=1e-6;
    float r1=(q)/(2*3.141*fc*c*af);
    float r3=(q)/(3.141*fc*c);
    float r2=(q)/(2*3.141*fc*c*(2*q*q-af));
    cout<<"r1="<<r1<<" r2="<<r2<<" r3="<<r3;
}

image image

Simulation results on AC sweep :

image

Square Wave Generation :

Procedure : Double rectifier + log + (antilog and adder )

image

Differentiator and Integrator

image

Simulation results on transient analysis :

image

Actual Waveform : blue

Square wave : red

differentiated wave(-ve) : pink

integrated waveform(-ve) : yellow

Final output : green

Software Used : Orcad

About

Implemetation of a linear differential equation and filters and various equations in Pspice Orcad

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Roff 72.5%
  • Alloy 26.6%
  • C++ 0.9%