summaryrefslogtreecommitdiff
path: root/1757/CH14/EX14.12/EX14_12.sce
blob: 8d6f1555a19a772e877c5ca81cf5f1183884bc35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Example14.12  // Determine the output voltage of an isolation amplifier IC ISO100
clc;
clear;
close;
Vin = 5 ; // V
Rin = 10*10^3 ; 
Rf = 55*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 ');