Experiment Report: Characterizing Resonant Series RLC Circuits Using Labview
Experiment Report: Characterizing Resonant Series RLC Circuits Using Labview
Experiment Report: Characterizing Resonant Series RLC Circuits Using Labview
Submitted by:
Yulia Preezant (ID 322071986)
Submission date:
December 29, 2002
Table of contents:
Introduction___________________________________________________________________3
Theoretical background__________________________________________________________3
Resonant RLC circuit__________________________________________________________3
Program architecture and VIs hierarchy______________________________________________5
SubVIs_______________________________________________________________________6
Prediction SubVI_____________________________________________________________6
Single Measurement SubVI_____________________________________________________7
Analysis SubVI_______________________________________________________________8
Main VI____________________________________________________________________10
Experimental data______________________________________________________________12
Conclusions__________________________________________________________________14
Page 2
Introduction
LabView is a power and flexible instrumentation and analysis software system. It is
graphical programming language G that uses icons instead of lines of text to create applications
(programs called virtual instruments) 1. LabView is integrated for communication with hardware
such as GRIB. In this project we had to analyze the properties of RLC circuit using LabView
software of National Instruments for data Acquisition via the GRIB Bus from Hewlett Packard
instruments.
As it was introductory project, the main purposes were:
Familiarization with basic components complex programming environment of LabView
To develop instruments for data acquisition, signal analysis, and instrument control
To measure resonant series RLC circuits using LabView software
Theoretical background
LabView programs are called virtual instruments (VIs).
components: the front panel, the block diagram, and icon of connector pane. The user interacts
with program through the front panel and we build the front panel with controls and indicators,
which are the interactive input and output terminals of VI2. Graphical source code called a block
diagram. The connector pane defines the inputs and outputs you can wire to the VI so you can
use it as a SubVI.
Page 3
1
Z R 2 fL
, Rtot Rs RL
2 fC
2
tot
At very low frequencies, the capacitor acts like an open circuit; thus the total impedance
Z
goes to infinity and there is no current flowing through the circuit and hence no voltage
across the series resistor, Rs. In the opposite limit of very high frequencies, the inductor acts like
an open circuit. Again there is no current in the circuit, and hence no voltage across the series
resistor, Rs. At the resonance frequency, the reactance of the capacitor Xc cancels the reactance of
the inductor XL leaving only the small resistance of Rs and the resistance of the coil windings,
RL. Now a large current flows through the circuit of magnitude
U0
and a large maximum
Rtot
voltage Umax now appears across the series resistor R s, namely U max
1
2 LC
U 0 Rs
. And the resonance
R tot
When we had measured the peak voltage Umax at the resonance frequency f0. We can also
measure the two frequencies where the voltage across our series resistor R s is only 70.7 % of
Umax. One frequency will be somewhat lower than the resonance frequency, which we will denote
as fLow. The second frequency will be somewhat higher than the resonance frequency, which we
will denote as fHi.
The Q of the RLC circuit is defined as Q
f0
.
f hi flow
2 fC
2
tot
U out
f0
U in Rs
|Z|
1
2 LC
,Q
f0
f hi flow
Page 4
Page 5
Measurement
Analysis
Page 6
SubVIs
Prediction SubVI
Front panel
2.
Page 7
Front panel
Page 8
We have to note that it was useful to insert timeout delay between measurements. The
instruments have definite time for accepting and realizing a command. This time interval limits
celerity but it necessary for normal execution5.
Analysis SubVI
About this property of program execution we was informed by instructor Oren Zarcin
Page 9
Block diagram
Page 10
Maybe this SubVI can be made easier if we have Mathlab Programming Environment on
computer using Mathlab Script.
Main VI
This VI concatenates all of SubVIs and exhibits complete task. At start point of program
SubVI creates a new/replace old file for data that will be measured, and during process of
measurement SubVI writes data in string format into the file. FOR_loop that has N steps
performs the process of multimeasurement. We can alter N in accordance with required
precision. Data from theoretical prediction and from measurements are performed in 2 formats:
Graph
2 clusters of values, which summarize theoretical and measured characteristics
Page 11
Block diagram
Page 12
Experimental data
1. We measured directly some input parameters of RLC circuit (resistance of resistor Rs,
resistance of inductor RL) using HP34401A Multimeter, which has accuracy6:
Accuracy
+Temperature variation to each 1C
Resistance
0.003%
0.003%
Voltage (AC: 1750V)
0.04%
0.02%
10Hz20kHz
0.1%
0.04%
20Hz50kHz
0.55%
0.08%
50Hz100kHz
2. Values of C and L were written on plastic basis of RLC circuit. Seeing them as an ideal
without deviation from denoted values.
3. Additional resistance includes output resistance of HP 33120A Function arbitrary
waveform generator (50 Ohm) and does not include resistance of wires. HP 33120A Function
arbitrary waveform generator creates voltage waveform signal with accuracy of the amplitude 1%7.
We studied 2 RLC circuits.
Experiment 1:
Experiment 2:
6
7
Page 13
Page 14
Conclusions
We developed first virtual instrument
We can manage and control measurements in RLC circuits by our own driver
We can immediately compare theoretical and measured data
We can use our SubVIs in another different projects
We notified some nice properties of LabView:
Intuitively clear block diagram provides easy scheme understanding
Excellent debugging modes (step by step, probe)
Colors
Compatibility with MathLab
Great collection of examples
Also we descried some not good properties of LabView:
Not comfortable, undeveloped help libraries
Page 15