Read Me
Read Me
Read Me
NO:03
DATE:
COMPONENTS:
S.NO COMPONENTS SPECIFICATION
01. Variable Resistors As Required
02. OP-AMP LM311
03. Diode IN7200
04. Ammeter and Voltmeter As Required
05. Battery 0-5V
06. NPN Bipolar Junction Transistor 2N2219A
SOFTWARE USED:
01. Circuit Wizard.
02. Personal Computer.
THEORY:
The simplest form of 4-20 mA measurement loop is one where the transmitter has
two terminals for the 4-20 mA signal wires to connect, and two more terminals where a power
source connects. These transmitters are called “4-wire” or “self-powered” units. The current
signal from the transmitter connects to the process variable input terminals of the controller to
complete the loop.
CALCULATION:
SIMULATION WORK:
GRAPH:
RESULT:
Thus a Industrial type 4-20mA. Four Wire System using operational amplifier is
designed in Circuit Wizard Software.
EX.NO:04
DATE:
AIM:
To study and simulate a ON-OFF controller on with noise ad without noise using
operational amplifier.
COMPONENTS:
S.NO COMPONENTS SPECIFICATION
01. Variable Resistors As Required
02. OP-AMP LM311
03. Resistor As Required
04. Function Generator As Required
05. CRO As Required
SOFTWARE USED:
01. Circuit Wizard.
02. Personal Computer.
THEORY:
The On Off Controller or two position controller is the simplest, cheapest and the
most used controllers. It is used in domestic heating systems, refrigeration, water tanks, etc.
When the measured variable is below the set point, the controller is ON and the output signal has
maximum value. When the measured variable is above the set point, the controller is OFF and
output is zeros.
SIMULATION WORK:
(WITH NOISE):
GRAPH:
(WITHOUT NOISE):
GRAPH:
RESULT:
Thus NO-OFF controller on with noise without noise using operational amplifier is
designed in Circuit Wizard Software.
EX.NO:05
DATE:
AIM:
To study and simulate a PID controller using operational amplifier in circuit wizard.
COMPONENTS:
S.NO COMPONENTS SPECIFICATION
01. Variable Resistors As Required
02. OP-AMP LM311
03. Resistor As Required
04. Constant Voltage 0-5V
05. Capacitor As Required
06. Indicator As Required
07. CRO As Required
SOFTWARE USED:
01. Circuit Wizard.
02. Personal Computer.
THEORY:
We've all heard about the wonders of the PID controller, bringing a system's output
- temperature, velocity, light - to its desired set point quickly and accurately. But now, your boss
says okay, design one for us. Although there's a number of ways to do it, the circuit above nicely
separates the three terms into three individual op amp circuits. We'll build it in SPICE, test each
term and finally place it inside a motor speed controller for you to tune. If you wish, take a quick
review of PID Control.
CALCULATION:
ERROR AMPLIFIER: A classic circuit for calculating the error is a summing op amp. In the
controller, XOP1 performs the error calculation. Remembering that the summing amp is an
inverting amp, we calculate its output using R1 = R2 = R3 = 10 kΩ.
Verr = - (Vset / R1 + Vsensor / R2) ∙ R3
= (Vset + Vsensor) ∙ (10 k / 10 k)
= - ( Vset + Vsensor )
Well, it does require that your sensor circuit produce a negative output voltage. Assuming
that Vsensor is the negative of the actual sensor voltage Vsensor = - Vsens, you get the
difference.
SIMULATION WORK:
GRAPH:
RESULT:
Thus a simulate a PID controller using operational amplifier in circuit wizard.
EX.NO:06
DATE:
MATLAB CODE:
clear;
clc;
fr=1500;
ft=50;
dl=1.14;
rt=28;
usp=5.2*10^5;
cva=0.0002;
dv=0.015;
drt=15.24*10^-2;
tco=1.1*10^-5;
D0=drt*(1+tco*(ft-rt));
e=(1.14*10^3)/(1+0.0002*(ft-0));
cEb=(4*(1500/60))/((((e*3.14)*(dv^2))*((2*(0.52*10^5)*(50))^0.5)));
rcd=4*(1500/60)*0.7/(3.14*D0*dv);
fprintf('\n Reynolds number based on D0 = %f',D0);
fprintf('\n Reynolds number based on e = %f',e);
fprintf('\n Reynolds number based on cEd = %f',cEb);
fprintf('\n Reynolds number based on rcd = %f',rcd);
OUTPUT:
Reynolds number based on D0 = 0.152437
Reynolds number based on e = 1128.712871
Reynolds number based on cEd = 0.054992
Reynolds number based on rcd = 9749.606313
RESULT:
Thus a design and simulate a orifice plates using matlab.
EX.NO:07
DATE:
2∆𝑃
(i) Qv=CEA2√( Ҁ𝑓 )
2𝑟𝑃𝑞 Ҁ𝑓
(ii) QV=Ceπ(R2-r2) √( 𝜋𝑟2 )(Ҁ𝑝 − Ҁ𝑓)
Ҁ𝑓
(iii) QV=2Ceπ√(2𝑟𝑃𝑔/𝜋)(Ҁ𝑝 − Ҁ𝑓)
MATLAB CODE:
di=input('enter the pipe diameter(cm):');
r=di/2;
cd=0.75;
i=1;
E=1;g=9.8;
rp=0.9*r;
ap=pi*(rp)^2;
deltap=input('enter the differential pressure(cm of WC):');
pf=input('enter the density of the fluid (kg/m^3):');
pp=input('enter the density of the plug (kg/m^3):');
qmax=input('enter the value of max.flowrate (m^3/s):');
h=input('enter the height of rotameter (cm):');
vp=((deltap*ap)/((pp-pf)*10^-3))*10^-6;
htan=(qmax/(cd*E*2*pi*sqrt(2*g)))*sqrt((pi*pf)/(vp*(pp-
pf)))*10^2;%converting to cm
if (htan<=0.2*di)
halftheta=(atand(htan/h));
i=0;
fprintf('theta/2=%fdeg\n',halftheta);
else
deltap=deltap+1;
end
OUTPUT:
RESULT:
Thus a design and simulate a rotameter using matlab.