EXPERIMENTS BASED ON MEASUREMENT AND INSTRUMENTATION
Measurement and Instrumentation Experiment No. #3 apa!itan!e Measurement usin" ### Timers
I. O$%e!ti&e
mode as s+o(n in -i". 0. -or t+e ### asta$*e timer. t+e output 3re,uen!/ is "i&en $/. 0.55 f = 1:2 1 R0 + 4 R 4 2C Pro!eed a!!ordin" to t+e 3o**o(in" steps. Step 0 +oose R0 ; 9.:' . R4 ;0<' and 0 ; <.0u- so t+at t+e 3re,uen!/ is a$out #<<=>. Step 4 +oose Rt; 0' and t ; .<<0u-. Step 3 +oose R ; 0' and s ; .<<0u-. Step 5 Run t+e !ir!uit (it+ 8!! ; ?8. Step # Re!ord t+e &o*tmeter readin" and t+e (a&e3orm pattern at pin 3 o3 $ot+ t+e timers (it+ an os!i**os!ope. Step 6 Add t+e !apa!itan!e to $e measured ; .0u-. Repeat step #. Step : Repeat step 6 3or ; .44u-. .5:u- and 0.<u-.
To measure an un'no(n !apa!itan!e usin" mono)sta$*e timer.
II.
Measurement te!+ni,ue
A mono)sta$*e timer produ!es a pu*se at t+e output (+ose (idt+ is dependent on t+e timin" resistan!e and !apa!itan!e. -or a ### timer !onne!ted in mono)sta$*e mode. t+e pu*se (idt+ is "i&en $/ t w =0.0RC se!onds 102 To measure a !apa!itan!e. tri""er t+e mono)sta$*e timer at a !onstant 3re,uen!/. f . T+e a&era"e d! &o*ta"e output o3 t+e mono)sta$*e timer (i** $e.
V out = V cc t w f = 0.0V cc fRC 142
Measure t+e &o*ta"e Vout 3or a standard !apa!itan!e. Cs. onne!t t+e !apa!itan!e to $e measured a!ross Cs .
V0 =0.0V cc fRC s
132 R0 152 R4 1#2
0
8!! 9.5 : 4.6 0
s
V 4 = 0.0V cc fR 1C s + C 2
om$inin" 132 and 152 one "ets.
Rt 4
t
9.5 R 6.: 0 3 ### 8
Cs V0 = V4 C s + C V4 C s 1V 4 V0 2 = Cs 0 or. C = V0 V0
3 ###
162
A ### timer !an $e !on3i"ured in mono)sta$*e mode as 3o**o(s7 onne!t t+e reset pin 1pin 52 to 8!! 1pin 92. Tie t+e t+res+o*d 1pin :2 and dis!+ar"e 1pin 62 to"et+er. onne!t timin" resistan!e R $et(een 8!! 1pin 92 and pin :. onne!t timin" !apa!itor $et(een pin 6 and "round 1pin 02. App*/ t+e tri""er si"na* to pin 4. Ta'e output 3rom pin 3.
-i". 0 apa!itan!e measurement $/ mono)sta$*e timer. Step 9 Ta$u*ate t+e re!orded readin"s 3or steps #. 6 and :. Determine t+e un'no(n !apa!itan!e usin" 162.
I8.
So3t(are simu*ation
Simu*ate t+e experimenta* !ir!uit in -i".0 (it+ PSPI E.
PSPI E pro"ram
@Pro"5 * Capacitance measurement using 555 timers * 8A80 supp*/ < 0#8 <5D<?D05
III.
Experimenta* ir!uit
T(o ### timers are used 3or t+e !ir!uit. on3i"ure one ### timer in asta$*e mode and t+e ot+er one in mono)sta$*e
Ba>i Mu%i$ur Ra+man. Department o3 E*e!tri!a* C E*e!troni! En"ineerin". BUET. D+a'a.
EXPERIMENTS BASED ON MEASUREMENT AND INSTRUMENTATION
XAX0 < ENA<<<0 3out supp*/ ENA<<<3 ENA<<<0 ENA<<<5 supp*/ ###D F PARAMS7 MAX-REG;3E6 RAR# ENA<<<# supp*/ 0' XAX4 < ENA<<<# mono)out supp*/ ENA<<<6 ENA<<<: ENA<<<: supp*/ ###D F PARAMS7 MAX-REG;3E6 RAR: < mono)out 0<' RAR9 < 3i*ter 0<' A 6 ENA<<<6 < .<0u I ;< A 4 < ENA<<<3 .<0u I ;< EAHOPASS0 3i*ter < =EBIS=E8 J81mono)out2K HP 10<=> 0<<=>2 0dB 9<dB A # < ENA<<<: 0u I ;< A 0 < ENA<<<0 .0u RAR4 ENA<<<5 supp*/ 9.:' RAR0 ENA<<<5 ENA<<<0 0<' A 5 3out ENA<<<# .<<0u I ;< RAR6 supp*/ ENA<<<: 0' .*i$ d7Lmsime&:0L*i$Le&a*.*i$ .OP .tran #<us 0<<ms ui! .pro$e .end E;#.<Q tstep;.<<<0Q PSamp*in" time s*i!e t;<7tstep7tmaxQ (;4.<@pi@3Q /0;sin1(@t2Q N;*en"t+1/02Q Ps,uare (a&e "enerator 3or n;07N i3 /01n2R<. /41n2;E).4Q e*se /41n2;<.<Q end end /3;di331/42Q PPu*se ed"e dete!tion R;0.<eF<<3Q PTimin" resistan!e ;0.<e)6Q t(;0.0@R@ Q PPu*se (idt+ 'max;t(DtstepQ P ounter 3or pu*se (idt+ PMonosta$*e timer routine 3or n;07N /51n2;<.<Q PReset t+e (+o*e arra/ end N0;*en"t+1/32Q 3or n;07N0 i3 /31n2S<.<. 3or ';07'max /51nF'2;E).4Q end end end N4;*en"t+1/52Q t0;107N42@tstepQ p*ot1t0./52Q x*a$e*1TTime in se!ondsT2Q /*a$e*1TMa"nitude 182T2Q
-o**o( t+e steps "i&en $e*o( 3or t+e simu*ation. 0. 4. 3. 5. #. 6. :. 9. ?. Mrite t+e sour!e !ode in t+e PSPI E text editor. Sa&e t+e (or' it in a 3i*e 1t+e de3au*t extension is @.!ir2. Run PSPI E.EXE. I3 /ou are usin" an MINDOMS &ersion i. e.. MSIME8:.0 or a$o&e. a ne( (indo( (i** $e opened. Open /our @.!ir 3i*e. T+e simu*ation pro!ess (i** start. A messa"e (i** !ome s+o(in" t+at /our simu*ation is su!!ess3u**/ !omp*eted. *ose t+e PSPI E (indo(. Run PROBE.EXE. A ne( (indo( (i** $e opened !ontainin" t+e simu*ation data. -rom t+e MENU !+oose NADD TRA EO. Se*e!t t+e ,uantities /ou (ant to tra!e. =ere /ou !+oose 813out2. 81mono)out2 and 813i*ter2. T+ree tra!es (ou*d appear on t+e same p*ot. Iou !an add man/ tra!es on t+e same p*ot.
I.
Iou !an determine t+e &o*ta"e ma"nitude at an/ time $/ !+oosin" t+e N URSORO 3rom t+e NMENUO $ar. Re!ord t+e (a&e3orms.
Mat*a$ Pro"ram to emu*ate Measurement $/ Monosta$*e Timer
apa!itan!e
PPro" # PMonosta$*e timer aided !apa!itan!e measurement !*earQ 3;#<<.<Q P-re,uen!/ ; #<< => tmax;0<.<D3Q PSimu*ate 0< !/!*es Ba>i Mu%i$ur Ra+man. Department o3 E*e!tri!a* C E*e!troni! En"ineerin". BUET. D+a'a. <5D<?D05