blob: bb3ebb7d13a42915d0a707e53238692b06eaf6c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Example14.13 // Determine the output voltage of an isolation amplifier IC ISO100
clc;
clear;
close;
Vin = 12 ; // V
Rin = 1*10^3 ;
Rf = 17*10^3 ; // ohm // feedback resistance
// the input voltage of an amplifier 1
// Vin = Rin*Iin
Iin = Vin/Rin ;
disp('The input current is = '+string(Iin)+' A ');
// In isolation amplifier ISO 100 the input current Iin is equal to the output current Iout , but both are opposite in direction
// Iin = -Iout
// the output of an op-amp
// Vo = -Rf*Iout
Vo = Rf*Iin;
disp('The output of an op-amp is = '+string(Vo)+' V ');
|