Nballard Thesis PDF
Nballard Thesis PDF
Nballard Thesis PDF
MEASUREMENT IN
ELECTRIC 'ARC FURNACES
n
w
26 April 1995 To
e
ap
C
of
ty
r si
M.Sc.(Eng).
n
The copyright of this thesis vests in the author. No
w
quotation from it or information derived from it is to be
To
published without full acknowledgement of the source.
e
The thesis is to be used for private study or non-
ap
commercial research purposes only.
C
of
The author would like to thank the following advisors, colleagues and friends
for all their assistance with this project:
n
Prof B. Downing, UCT
w
Mrs C. Pretorius, Mintek
Dr I. Barker, Mintek To
Mr G. M. Tattersfield, UCT
e
ap
C
of
ty
r si
ve
ni
U
SYNOPSIS
n
measurement system.
w
Various methods of electrode-length measurement were investigated, and
To
it was found that a microwave measurement system based on a conven-
tional frequency modulated continuous wave (FMCW) radar presented the
e
most feasible technique. In this system, microwaves are propagated down a
ap
waveguide placed in the electrode. As the waveguide melts, they continue
C
propagating in the resulting cavity until they are reflected by the discontinu-
ity at the bottom of the electrode. The time taken for the return journey to
of
the bottom of the electrode and back is measured, and the electrode length
ty
calculated.
FMCW radar measures return time by mixing a transmitted linear fre-
i
rs
quency sweep with the reflection to produce the difference frequency. The
ve
resulting beat frequency is then proportional to the distance from the re-
ni
ratios in the beat frequency and therefore also to achieving good measure-
ment accuracy. Although the designed radar had built-in linearisation capa-
bilities, it was found to be more cost-effective to use a temperature-stabilised
linear voltage controlled oscillator.
Ultimately, the accuracy with which electrode length can be determined
depends on how accurately the peaks in the beat frequency spectrum can
be determined. Various spectral estimation techniques were investigated,
and it was found that the fast Fourier transform in conjunction with zero
padding and weighted averages provided a good combination of fast, robust
and accurate results.
A steel pipe with the same dimensions as the one to be placed in the elec-
trode was used to test the measurement system. Electrode tip erosion was
ii
modelled by moving a refl~ctive plunger up the waveguide. Length measure-
ments were performed between 4.5m and 6.9m at one-centimetre intervals.
The RMS error associated with the measurements was found to be 1.37cm,
and the linearity of the system was excellent. Further experiments up to 9m
long confirmed the accuracy and linearity. Finally, a 40cm-long section of
Soderberg electrode was placed at the end of the electrode to confirm that
the waves would continue to propagate after the waveguide had melted. The
length-measurement system performed as well as in previous experiments,
with the electrode section having no adverse effect on the measurements.
Various other experiments to determine the effects of waveguide joints, tem-
perature. changes and electrode terminations also had favourable results.
A radar-based system was thus ·designed to measure the length of Soder-
n
w
berg electrodes in electric arc furnaces. The system was then built and
To
tested, and it was found that it provided excellent measurement accuracy
under a range of conditions. The system must now be implemented in a real
e
furnace in order to evaluate the effect of the environment further.
ap
C
I
of
ity
rs
ve
ni
~
•
U
lll
Contents
1 INTRODUCTION 1
n
2.1 Previous Attempts at Electrode-Length Measurement 5
w
2.1.1 Erosion models . . . . . . . . . . . . . . . . . . 6
To
2.1.2 acoustical detection of electrode tips . . . . . . 7
2.2 New Electrode-Length-Measurement Ideas Considered 7
e
•
2.2.1 Weighing the electrode . . . . . . . . . . . . . . 8
ap
I 3.2
3.3
Frequency of Operation and Waveguide Dimensions. . . . .
Techniques of Launching Electromagnetic Energy Into the
14
Waveguide. . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.4 Group Velocity in the Circular Waveguide . . . . . . . . . 20
3.5 Attenuation in the Steel and Graphite Waveguide sections 20
iv
4.3.1 FMCW radar accuracy analysis . 32
4.3.2 The two types of FMCW radar . 32
4.3.3 Phase-locked-loop FMCW radar 33
4.3.4 Conventional FMCW radar . . . . . . . 33
4.3.5 The effects of nonlinear modulation on FMCW radar. 34
4.3.6 A comparison between the two systems ........ 39
5 IMPLEMENTATION 40
5.1 Technical Details of the Implementation of the Conventional
FMCW Radar .................. 40
5.1.1 Conventional FMCW radar parameters 40
n
5.2.1 The fast Fourier transform 47
w
5.2.2 Prony's method . . . . . . 48
To
5.2.3 The MUSIC method . . . 49
5.2.4 Application to real data ..
e 49
ap
6 RESULTS 54
C
7 CONCLUSIONS 58
of
v
•
List of Figures
n
2.2 Temperature profile of a Soderberg self-baking electrode. . 9
w
2.3 Conductivity of graphite as a function of temperature. . . 11
3.1
To
Electric and magnetic field patterns in guiding structures. 15
e
3.2 Attenuation of circular modes in copper waveguide. . . . 16
ap
3.3 X-band (8-12GHz) TE 1o mode launcher . . . . . . . . . . 19
3.4 Measured attenuation of various T Eu mode launchers. . . 19
C
thogonal axes. . . . . . . . . . . . . . . . . . . . . . 29
U
vi
5.2 Linearity graphs for the DAC and.ADC. . . . . . . . . . 46
5.3 Spectral plots of simulated sinusoids at 2Hz and 2.2Hz. . 50
5.4 Section of the sampled output from the FMCW radar. . 51
5.5 Length estimates as obtained using the three spectral-estimation
techniques. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
n
w
To
e
ap
C
of
ty
r si
ve
ni
U
Vll
List of Tables
n
5.1 System parameters 42
w
5.2 VCO specifications 42
To
5.3 Circulator specifications 43
5.4 Interface card specifications 46
e
5.5 Interface card error specifications 46
ap
viii
Chapter 1
•
INTRODUCTION
Submerged electric arc furnaces have been used since the beginning of the
n
century as a means of melting scrap steel and smelting ores into their as-
w
sociated metals and alloys. As the name submerged electric arc furnace
To
suggests, graphite electrodes immersed into the burden (mixture of ores,
reducing agents and fluxes) [2, page 1] are used to create an electric arc
e
ap
beneath it. Electrical energy supplied to the electrodes is transferred to the
burden in a combination of arc and resistive heating. Since these are low
C
be large to provide the necessary energy for the melting process. The high
currents are fed to the electrodes through fixed bus bars and heavy duty
ity
copper contact shoes which are held against the electrode using hydraulics
or spring pressure.
ni
1
Figure 1.1: Tapped electrodes.
n
w
the casings to hold the hardening graphite and to improve the conductivity
To
of the electrode. Feeder pipes used to introduce fines into the furnace may
also be inserted.
e
ap
1. The furnace operator must not slip the electrode too far, causing it to
of
Various attempts have been made to estimate electrode length using math-
ematical models, erosion profiles and measurements of electrical variables
affecting the furnace. However, these have produced rough estimates only,
and have obtained limited success [2, page 34], [12].
The objective of this study is to investigate various methods of electrode-
length determination, and to develop a prototype system which can be used
under conditions similar to those encountered in a real furnace. The sys-
tem should be able to measure the length of the electrode with a resolution
greater than lOcm. Although various methods of length determination will
be investigated, the main thrust of the project will be towards the use of
radar-based techniques.
2
-----.. .-.----.1'-'f--------
..._-~-------------electrode casmg
upper-level floor
. . . - - - - - - - - hydraulic hoists
n
w
To
Figure 1.2: Simplified form of a Soderberg electrode.
e
The requirements of the project are as follows:
ap
mance.
v
I system whether calcium carbide or scrap steel is being melted. Although ev-
ery effort will be made to consider all aspects of the furnace environment, this ·
will be extremely difficult due to the harsh conditions encountered therein.
The prototype developed in this thesis will therefore have to be ruggedised
and tested in the real environment.
Various electrode-length-measurement techniques including microwave,
ultrasonic and parameter estimation methods are discussed in Chapter Two.
Microwave length measurement, in conjunction with a waveguide inserted
into the electrode, is found to be the most feasible. The specific microwave
measurement technique is then investigated andit is decided that a frequency
modulated continuous wave (FMCW) radar mounted above the electrode
should be used.
3
Chapter Three deals with the design of the FMCW radar and waveguide
to be inserted into the electrode. A trade-off between phase-locked loop
(PLL) and conventional FMCW radar is presented. Conventional FMCW
radar is chosen, the system parameters are calculated and the entire system
is specified.
The implementation of the hardware is discussed in Chapter Four. The
Components that were used, along with the integration process, are de-
scribed. An evaluation of various signal processing techniques including the
fast Fourier transform (FFT), Prony and multiple signal classification (MU-
SIC) techniques is presented, and it is found that the fast Fourier transform
best fits the requirements.
The various experiments performed to evaluate the system are described
n
in Chapter Five. The results show that the system performs well under a
w
variety of conditions, and provides the required resolution.
To
e
ap
C
of
ity
rs
ve
ni
U
4
Chapter 2
REVIEW OF POSSIBLE
MEASUREMENT
n
TECHNIQUES
w
To
e
This chapter will review previous attempts to measure electrode length, and
ap
will introduce some new concepts. The most promising technique from those
C
ure 2.1. In this arrangement, three Soderberg electrodes are held in a ring
above the furnace, and extend into the burden. The materials to be melted
rs
are carried above the furnace on a conveyor belt, and then gravity-fed into
ve
the furnace through chutes. Once melted, the burden produces a slag, which
is normally less dense than the melted ore and therefore lies on the surfa~y
ni
and can be removed. The ore is tapped off through tapholes in the sides of
U
the furnace.
5
I
•
electrode
L:'!!!•••~---- slipping
device
4--+;o:t;.;~:,;o;.;.;i'l---+""""'.....,~1------ electrical
contacts
===~~§tjiif===ffif!teiffl'"""""f.f.f.#fffi~~=----highcurrent
conductors
furnace
shell
n
w
To
Figure 2.1: Cross section through a three-electrode electric arc furnace.
e
All the other methods of length determination to be discussed in this
ap
ous, it is meant that the furnace operation should remain unaffected by the
length~determination system. The technique of sounding, therefore, does
of
with relative ease; however, the rate of tip erosion is an unknown quantity.
U
Physical erosion models that relate erosion rate to power consumed by each
electrode have been suggested. The prediction accuracy of the models is
dependent on the accuracy with which phase-power measurements can be
performed. For still further predictability, the effects of arcing between the
electrodes can be taken into consideration.
The erosion models cannot, however, take electrode imperfections, elec-
trode non-homogeneity or tip breaks into account. The errors associated
with the electrode erosion models are additive, and should not therefore
be relied upon over extended periods of time. For this reason, electrode
sounding must still be carried out on a r_egular basis. ·
Measurements of electrical arcing, resistance and reactance were used by
Barcza [2] to model the length of graphite electrodes. Electrical parameter-
6
based models have the distinct advantage over erosion models of being able
to detect tip breakages. The life of these models can therefore be extended,
and the time between soundings increased. The models, however, require
certain furnace-specific constants such as the conductivity of the burden,
which need to be updated regularly.
n
steel plates respectively.
w
The furnace shell has to be heat resistant, and id designed to have a
To
long life, since renewal is costly both in terms of materials and of loss of
production. For this reason, it has a temperature-resistant carbon lining
e
between the burden and the refractory wall. The floor on the inside of the
ap
of the furnace shell, and the inconsistent and unpredictable nature of the
ve
materials contained within the furnace, would have prevented any accurate
ni
range.
7
2.2.1 Weighing the electrode
The electrode could be suspended in a frame which is mounted on load
cells. The load cells would measure the weight of the electrode, from which
its length may be calculable. Unfortunately, the weight of the electrode is a
complicated function which is a:ffected by the addition of electrode materials,
by the buoyancy provided by the slag in the furnace and by erosion of the
electrodes. The buoyancy problem could be overcome by lifting the electrode
slightly before measurement, but as mentioned before with reference to the
technique of sounding, this is undesirable.
Therefore, due to the relative complexity and number of unknown quan-
tities, weight measurement as an indication of electrode length will not be
considered any further.
n
w
2.2.2 Using the mechanical resonant frequency of the elec-
To
trode to deduce its length e
All physical objects have a natural frequency of vibration, commonly called
I
ap
I ~ (2.1)
of
f,,. =
•
ity
where l is the length of the pendulum and g is the acceleration due to gravity.
This suggests that if the electrode were modelled as a pendulum, and
rs
its resonant frequency were measured, then Equation 2.1 could be used to
ve
furnace would tend to dampen free oscillations, making detection of the res-
onant frequency difficult. In addition, the resonant frequency may depend
on the electrode mass, which, as stated previously, would be extremely dif-
ft.cult to measure.
8
TOP Temperatures in°c
n
Figure 2.2: Temperature profile of a Soderberg self-baking electrode.
w
To
optical fibre were found which could survive the high temperatures in the
electrode, then it is improbable that it would melt as it exits the electrode,
e
since, as is shown in Figure 2.2, the hottest point in the furnace is inside
ap
trode
ity
the end and returned. IT the time taken for the electromagnetic energy to
be transmitted, reflected, and received were determined, then the electrode
ni
unknown, the electrode tip is maintained just above the burden and could
therefore be modelled to a first approximation as an open circuit,
The waveguide to be used in the electrode could either be a hollow
pipe or a dielectric rod. IT a hollow pipe were used, the EM waves would
propagate down the tube, bounded by the conductive steel walls. In the
dielectric waveguide, they would propagate in the dielectric (a thermally-
resistant _ceramic rod), being bounded by the graphite of the electrode.
The length of the waveguide, and therefore of the electrode could be
measured using any one of the following radar techniques:
• Pulsed radar
9
• Stepped frequency radar
n
The skin depth is the physical depth at which the power density is half
w
(-3dB) of the transmitted power and is given by:
Oskin == ~
y-:;µ; To (2.2)
e
ap
where
C
ductivity of lOOS/m for graphite, the skin depth has been calculated to be
U
10
.e-40
(/)
~
-30
.~
>
;;
~ 20
"C
c
0
0
10
n
0 540 1130 1672 2230
w
Temperature (degrees celcius)
To
e
Figure 2.3: Conductivity of graphite as a function of temperature.
ap
C
of
ity
Unfortunately, the time it takes for heat energy to reach the sides of the
rs
bath is far too long; and, in addition, convection currents in the ore could
ve
11
Chapter 3
n
w
To
Microwaves are to be propagated down a waveguide that has been inserted
in the electrode. At some point the waveguide will melt, and the microwaves
e
must continue propagating down the resulting cavity. The various aspects
ap
trode
er
12
waveguide would consist of either round or rectangular conductive tubing.
The various merits of the two waveguide types are discussed below:
• Slag or ore from the furnace may cause clogging of the hollow wave-
guide. It could however be flushed periodically with compressed air.
Since the dielectric guide is solid, it would be immune to this problem.
n
w
• The attenuation suffered in the hollow waveguide would be simple to
To
calculate until the guiding structure me\ ts. Thereafter, the attenuation
due to the walls of the cavity in the electrode would be unknown. The
e
attenuation in the dielectric waveguide would depend on the nature of
ap
the graphite sheath surrounding the core, and would therefore also be
C
difficult to estimate.
of
blocks of graphite paste. It is not until the blocks of paste melt that
ve
with its own sheath already in place. This would further complicate
U
the joining of waveguide sections, and would increase the cost of the
system
From the ·above discussion it is clear that the hollow waveguide offers
a significant cost advantage over the dielectric waveguide, while being the
13
simpler of the two to implement. The hollow waveguide has therefore been
chosen as the guiding structure to be placed in the electrode.
n
The choice of cross-sectional shape is related more to the practical imple-
w
mentation of the system than to the theory of waveguides. The sections of
To
waveguide used will be joined together as the electrode is slipped. A cylin-
drical waveguide would be the easiest to align and connect together during
e
the joining phase. Cylindrical pipe is available cheaply in many sizes, and
ap
travel thro,ugh it. If we were inserting a coaxial cable into the electrode,
ty
then TEM [4, page 16] (Transverse Electromagnetic) waves would be propa-
si
where m and n are integers specifying various modes. Certain of these modes
U
14
.....................................
························ ··········!.-
························ ··········!--
·············-···········--'···-•·I•
I
•
n
w
To
™11 e
Electric field lines Magnetic field lines
ap
C
of
ty
Table 3.1: Cut-off frequencies for a steel tube of diameter 2cm (GHz)
15
I
I ATTENUATION (dB/m)
0.1~~~~~~~~~~~~~~~__;_~~~~~~~~~~~~~
o.oe
o.oe
0.04
0.02
0.01
0.008
0.006
0.004
0.002
4 a 10 12 14
FREQUENCY (GHz)
n
Figure 3.2: Attenuation of circular modes in copper waveguide.
w
To
of the waveguide must be such that the carrier frequency is higher than the
cut-off frequency for that particular waveguide.
e
Figure 3.2 shows the attenuation per metre of various modes in a cylin-
ap
drical copper waveguide. From Figure 3.2 we see that at higher frequencies
C
the attenuation per metre of T E 01 mode propagation drops off sharply. The
reason for this is as follows. The mechanism of attenuation in a waveg-
of
uide is the resistance of the waveguide walls. As the wave travels along the
ty
waveguide, the electric field couples into the waveguide walls, and power is
si
dissipated in the form of heat in the same way that a current flowing through
r
a resistor dissipates heat. Since the power dissipated in the waveguide walls
ve
is related to the density of the electric field being coupled into the walls,
ni
those modes which have a low density of electric field lines near the bound-
U
16
Mode. diameter (cm)
1 2 4
TM01 22.96 11.48 5.74
TMu 36.59 18.29 9.14
TM21 49.02 25.51 12.25
TE01 36.59 18.29 9.14
TEu 17.58 8.792 4.39
TE21 29.17 14.58 7.29
Table 3.2: Cut-off frequencies (GHz) for circular waveguides of different size
n
impractical for an electrode-length-measurement system.
w
One way to ensure pure mode propagation is to make sure that the mode
To
which was launched is the only mode which can exist in the waveguide. Ta-
ble 3.2 shows the cut-off frequencies of various modes in waveguides with
e
different radii. As can be seen from the table, if a lcm diameter waveguide
ap
waveguide is used, all the modes except T M2 1 will propagate. A 2cm di-
ameter pipe allows only the T Eu mode to propagate. So if a 2cm diameter
of
pipe was used, pure T En mode would propagate, and no mode filter would
ity
attenuation per metre than T Eo1, T Eu was chosen as the mode to be prop-
U
agated down the electrode due to the ease with which it can be launched
and maintained as a pure mode.
The waveguide is therefore to be cylindrical with an inner diameter of
2cm (or slightly more if necessary) to ensure pure mode propagation and
unambiguous measurements. A stainless steel pipe with an inner diameter
of 2.2cm was used for all further experiments due to availability.
17
3.3 Techniques of Launching Electromagnetic En-
ergy Into the Waveguide.
T En mode electromagnetic energy has been chosen to be propagated down
the electrode. A rectangular waveguide launcher (Figure 3.3) is used to
produce T E 10 rectangular mode electromagnetic energy. In order to convert
this mode to T E 11 circular, the rectangular waveguide can simply be placed
end-on-end with a circular waveguide. This is due to the fact that the electric
and magnetic field lines in T E10 mode rectangular and T En mode circular
line up, as can be seen in Figure 3.1. This technique is however inefficient
since not much T En mode energy is coupled into the circular waveguide.
Three possible techniques for maximising the power coupled into the circular
n
waveguide will be considered.
w
• Direct coupling between rectangular and circular waveguide
To
• A tapered rectangular-to-circular waveguide transition
e
ap
• A tapered rectangular-to-circular waveguide section including match-
ing screws
C
ual impedance change from the circular to rectangular waveguide, and there-
U
fore increases the coupling into the circular waveguide. The length of the
taper should be ~ + ~ wavelengths long to produce the best match at the
center frequency (lOGHz). The tapered transition can be further enhanced
with tuning screws to match the two waveguide sections inductively.
The three methods were tested, and the results are shown in Figure 3.4.
The measurements were made by launching energy into a rectangular waveg-
uide with circular waveguide connected to it using the various techniques.
Microwave absorbent material was placed at the end of the circular waveg-
uide to minimise end reflections. The reflected power was then measured
relative to the transmitted power (Su reflection measurements).
As can be seen from the figure, the tapered section provides the best
match at the center frequency, as expected. However, this match deteriorates
18
.-------mounting flange (WR-90)
• ~-t-----mounting
rr.:::««~««il4----ll-----
holes
aperture (22 .8mm x 1 O.2mm)
~--transmitting monopole antenna
• •
I FRONT VIEW
n
---------transm1tt1ng monopole antenna
w
~---mountingflange (WR-90)
To
lllH-------coaxi al shaft section
e
ap
SIDE VIEW
C
30
r
m
ve
"C
......
II)
25
--- ........
......--~~.. ·~-.-.:: ..~~
ni
·--~······-·--··-·····:·:~.... ,, ......""::::~······--
II) 20
0
-- - ---
U
1 5
...c
-
::I
Cl)
0::
10
1 0 .9 4 11 . 0 3 11 . 1 2
Frequency (GHz)
N o m a tc h in g
----------- Ta p e re d s e c t Io n
- - - Tapered section plus matching
19
as one moves away from the centre fre.qtiency. The tapered transition with
matching screws was chosen because it provides a good match across a wide
band of frequencies. The design of the launcher is shown in Appendix A.
n
group velocity, and is given by [7, page 528]:
w
To
e (3.1)
The cut-off frequency (Jc) can be calculated from the relationship given
ap
waveguide has been calculated in to be 180 · 106 m/s. This is the velocity of
ve
20
3.2), and will be ignored. When the steel waveguide melts (above~ 800°C),
the wave must continue propagating in the resulting graphite-walled cavity.
This is where the majority of attenuation will occur. Figure 2.3 shows the
conductivity of graphite over a range of temperatures. One can see from this
graph that the conductivity of graphite is above 20kS/m at temperatures
above 800 °C. The approximate attenuation of T Emn modes [4] in dB per
metre is given by:
8.6861¥- (
a = --_,1==aw=2 . k2 . ~ - p2
2 + w-:-2
2) (3.2)
2·ayl-7
where
n
• a is the diameter of the graphite waveguide section (a = 0.022m)
w
To
• w is the frequency of operation in rad/s (2 · 7r • lOGHz)
So, if the wave had to propagate down the last five metres of the electrode
U
21
I+- waveguide
launcher
I
D
hole in
--------it--graphite
sample
I.-------------~-~coa~al
cable
121.
n
w
_ _ _ _ network
HP8410
To
analyser
e
ap
temperatures are much higher than those in the experiment. The conduc-
rs
tivity would therefore be greater, and the attenuation would be lower. If the
ve
attenuation of the graphite were found to be too large, then the diameter
of the tube could be increased slightly; or alternatively, operation of T E 01
ni
The majority of these could, however, be kept low with good design and
efficient implementation.
22
n
w
-- To
e-o.5
m
e
'C
ap
c -1
~
C
:::J
c
of
CD
:i 1.5
ty
si
-2
r
...._.__...____._..___.__~~~-'--......__.......___.___,__.___._.
ve
9.750 10.250
Frequency (GHz)
ni
U
23
Chapter 4
n
w
To
There are various radar techniques which fall into the two broad categories
of pulsed radar and continuous wave radar. Each of the two methods will
e
be considered with reference to the electrode-length-measurement problem.
ap
A suitable radar will then be designed using the chosen technique.
C
The principle used in a pulsed radar is that the time (t) taken for a single
ity
distance to the target, or the length of the electrode (R) is then given by
ve
R = Ug ·t (4.1)
U
2
where u 9 is the group velocity in the waveguide (electrode), and the factor
!
of a accounts for the measured time representing the full return time to
and from the target. In practice, a train of pulses as shown in Figure 4.1
would b'e transmitted.
The time between pulses is set so that the transmitted pulse has had
time to return before a new one is sent. The maximum range of a pulsed
radar is therefore set by the time between pulses, or the rate at which pulses
are transmitted (pulse repetition frequency or PRF).
For the electrode measurement system, the maximum length of the elec-
trode is assumed to be 20 metres. From Section 3.4, the velocity of energy
transmission (group velocity) is known to be 180 · 106 m/s. The maximum
24
Tp\
n
PRF is given by (13, page 110] as:
w
To
PRF = _3!:L_ (4.2)
2·R e
So the maxj.mum PRF for the electrode measurement system would be
ap
4.5MHz which means that 4.5 million electrode-length measurements could
be made per second. However, a few measurements per second would suffice.
C
the width of the transmitted pulse, with higher resolutfon being obtained
with narrower pulse widths ( T ). The range resolution is given by:
i ty
rs
l:l.R = u9 • r (4.3)
2
ve
surement system, a very narrow pulse width is required. For 5cm range
resolution, the pulse width needs to be 490 picoseconds, which is extremely
U
25
4.2 Multi-Frequency Continuous Wave Radar
Multi-frequency continuous wave (M:fCW) radar is widely used in survey-
ing equipment such as tellurometers. It is hoped that it will offer some
R= </>. Ug (4.4)
2(211". !)
Unfortunately, the phase is ambiguous, having a period of 211". Therefore,
n
ranges of larger than half a wavelength (:::::1.5cm) will be ambiguous. This
w
problem <;:an be overcome if the phase shift due to more than one frequency
To
is measured [9]. Equation 4.4 then becomes:
= 11</> •
e
R Ug (4.5)
2 . (2 . 1r • 11!)
ap
where 11/ is the difference between the two measurement frequencies, and
C
11</> is the difference in measured phase. From Equation 4.5, the unambigu-
of
(4.6)
rs
phase difference between two high-frequency signals. There are various well-
ni
documented systems, which can be broken down into two main categories:
U
26
Circulator Antenna
Power
Oscillator
splitter
00
00
0
Quadrature
power 900
splitter 1L..:;..:;:___ _ _- - {
00
Quadrature
n
w
In phase To
e
ap
Circulator Antenna
ity
Power
• Oscillator
splitter 00
0
rs
00
ve
ni
U
Filter
Mixer
Coherent
local
oscillator
Quadrature
power o0
splitter 0
90
In phase Quadrature
27
As can be seen from Figures 4.2 and 4.3, the superheterodyne system re-
quires more hardware than the homodyne system.
Both systems use a similar principle. A signal is propagated down the
electrode and reflected at the bottom. This reflected signal is then mixed
with the transmitted signal to determine their phase difference. In practice,
the received signal is mixed with in-phase and quadrature components of
the transmitted signal. In this way, the in-phase (I) and quadrature-phase
(Q) components are formed. The phase can then be calculated as:
n
Partial differentiation of Equation 4.5 yields the range accuracy using MFCW
w
radar:
1
6R(~¢,~f)
6( ~</J)
I
+ To
16R(~</>,~f)
6( ~!)
I
(4.8)
e
fR = · €t,q, · fAJ
ap
From which we get the normalised range accuracy as:
C
(4.9)
of
Where:
ity
•
ve
• ~f
U
• ER, Et,q, and fAJ are the respective errors in the above quantities
28
GI
Ill
~ 2 t---.1T----------------'t'r--i
c.
I
-~ Qf-+~~~~~~~~~~-'-'-~-*'---1
,, -2
I!
111
::I
t--+--------------+--i
a
n
-4t---=~~~~~~~~7L-~-l
w
To
-6'--_.__~~-..___._____.i_~-"'--_._____.i_~----'
-6 -4 -2 0 2 4 6
In-phase e
ap
C
of
propagated down the pipe. As the plunger was pushed up the pipe, the
ve
29
Q
Target .
Resultant., ..
n
w
To
e
ap
and could be calibrated out. In the real system, however, there will be larger
er
reflections (Figure 4.5), and they may be dynamic (e.g. the reflection from
v
the transition between the steel pipe and the inner core of the electrode). So
ni
30
fo + B/2 Tran sm itte d
>-
Received ······························
0
c:
Q)
::I
~ fo IG-~-"'-~~~~~~~_,._~.....:....,.~~~~~~~~~~-=-~__,-
~ Time
u.
........ -----------··
fo -B /2
>-
~ f Difference (beat)
~equency
!...___l~_v~~~-v~~~~.
-
Time
n
Figure 4.6: Linear frequency modulation to obtain range.
w
T=-
2·R
To (4.10)
e
Ug
ap
= T . !' ~ 2RJ'
ty
fb (4.11)
Ug
si
!' = !. (
4.12)
ni
2
U
R= Ug. fb
(4.13)
4·B·fm
The values of fm and B can be chosen once the range and beat frequency
have been selected. In the case of the electrode-length-measurement radar,
the range R falls within the range 5m to 20m. The beat frequency will
depend on the type of FMCW radar being implemented. The bandwidth
(B) should be maximised, since it determines the resolution of the radar.
31
4.3.1 FMCW radar accuracy analysis
From Equation 4.15, we see that the only way to increase the resolution
n
is to decrease the percentage error in each measurement. For a range of 15m
w
and a resolution of 5cm, the percentage error allowed for each parameter is
To
only about 0.13. This is a stringent requirement which will necessitate
investigation into various error-reducing techniques.
e
Although the error requirements associated with the FMCW radar are
ap
stringent, they should be realisable. Furthermore, since in FMCW radar, a
C
FMCW radar system provides target differentiation and does not require
ity
calibration as did the MFCW radar. In addition, the FMCW radar allows
a large degree of freedom when choosing system parameters. For these
rs
32
Voltage 3-port
controlled l+-......-'H circulator,___ ___,
oscillator
Waveguide
r-- -----------, launcher
ii
1 I
I I
I I
n
I I
w
I Phase
I
To
comparato ,._---~ Waveguide
I Loop
10.7 MHz (electrode)
I filter
IL _____________ _JI oscillator
e
ap
C
the radar a conventional FMCW radar, and when the modulation frequency
ity
33
Triangle Voltage 3-port
wave controlled ~......--;Hci rculatori--~---.
generator oscillator
Waveguide
launcher
Spectrum 1-+~~~~~~~--'
n
analyser Waveguide
w
(electrode}
To
e
Figure 4.8: Conventional FMCW radar.
ap
C
34
11.04 .------------------~
11.0'2
'N·
-6 11
~ 10.98
g 10.96
~ 10.94
n
C"
e
w
LL 10.92
To
10.90
10 20 30 40
Tuning voltage M
e
ap
C
will be investigated in this section before any digital solutions are considered.
ity
able to lock onto the beat frequency and keep it constant. This requires that
the beat frequency be clearly distinguishable from any additional harmonics
U
35
As mentioned before, an ideal FMCW radar would transmit a continuous
linear frequency sweep. The frequency difference at any instant in time
between the linear sweep and a delayed version results in the constant beat
frequency. As a first look into the effect of nonlinearity, we can see that if the
transmitted signal were not an exact delayed replica of the reflected signal,
there would be small deviations in the difference between the two frequencies
and hence in the beat frequency. The beat frequency would therefore no
longer appear as a single spectral line, but would have a smeared frequency
distribution.
A real FMCW radar could at best transmit a sawtooth or triangularly-
modulated waveform. Figure 4.6 shows a triangularly-modulated signal, a
delayed version and the resultant beat frequency. Since the beat frequency
n
is the difference between the transmitted signal and a delayed version, tri-
w
angular dips are seen to occur at the peaks and troughs of the modulation.
To
One would therefore expect the beat frequency spectrum to contain a strong
component representing the distance to the target. In addition, there would
e
be harmonics at twice the modulation frequency centered around this main
ap
frequency.
C
Since the signal spends most of its time at the beat frequency, the power
of
contained in this frequency component would be far larger than that con-
tained in the harmonics due to the triangular dips. However, with increasing
ty
harmonics.
These ideas were tested by simulating an FMCW radar with the program
ve
Mathcad. The modulation used took the form of a ramp with a varying
ni
1
y(x) = --b(ax
a+
+ bx 2 ) O<x<l ( 4.16)
The factor ah was necessary to keep the bandwidth (B) of the frequency
sweep constant. With reference to the equation, nonlinearity was defined as
!, so that 100% nonlinearity corresponds to a = b. Figure 4.10 shows the
modulating sawtooth wave with 0% nonlinearity and 100% nonlinearity.
Figure 4.11 shows the beat frequency spectra for 0%, 5%, 10% and 20%
nonlinearity. As can be seen from the figure, the linearity of the modulation
is crucial to obtaining a clean, easily discernible beat frequency. In order to
describe and quantify the effects of nonlinearity, two terms must be intro-
duced. The signal-to-spurious ratio is defined as the average power in the
beat frequency divided by the average noise or spurious output power, and
36
100%
_...,.._
~0.8
-!
~
0.6
0%
---·
-I:; o.4
a.
n
'5 0.2
w
0
To
Vmax
Input voltage M
e
ap
C
spurious g noise
r
ve
linearities ranging from 03 to 1003. As can be seen from Figure 4.12, there
U
t~~ ) - -~ L-~
~-~--)--~;'_"_}
pJ ).}µ)..
"' ~AU1~)
l plotted in Figure 4.13.
The accuracy of the distance measurements which can be obtained with
an FMCW radar is directly related to how accurately the beat frequency
• , _,_t-,.£ \' ~- · can be measured. A signal with a high signal-to-spurious ratio and low
1
v
Yt, 'Jr..J.~ bandwidth can be measured far more accurately than one with a low signal-
~ J..D(J,_°\_e,,~4-.) · to-spurious ratio and high bandwidth. It can therefore be seen that to obtain
_ )\ accurate measurements from an FMCW radar, the modulating source has
to be highly linear.
A quadratic regression to the GUNN tuning curve showed that it exhibits
a 613 nonlinearity factor. The GUNN oscillator would therefore have to be
37
O% nonlinearity 5 % nonlinearity
10 % nonlinearity 20 % nonlinearity
n
w
To
e 7500
ap
Frequency (Hz) Frequency (Hz)
C
Figure 4.11: Beat frequency spectra at 0%, 5%, 10% and 20% nonlinearity.
of
ity
rs
ve
6,000 16
ni
bancmdth signal-to-spurious 14
U
12~
g4.000
10l
13,000
:6
8 Zl
c 6 ~
~ 2,000
4 i
.!iZI
1,000
2 "'
0
100
Nonlinearity (%)
38
N
...~ cG
.
2
0.1
.....
u
0.03
>-
..
=::s
0.01
0.003
a
0.001
0.0003
0 100
Nonlinearity (%)
n
Figure 4.13: Quality factor as a function of nonlinearity.
w
To
linearised if either a PLL or conventional FMCW radar system were to be
used.
e
ap
The PLL FMCW radar offers simple, cheap hardware and the ability to track
of
a fairly noisy beat frequency signal. The problem, however, occurs when the
beat frequency becomes smeared due to nonlinearities in the system or be-
ty
39
Chapter 5
IMPLEMENTATION
(
In this chapter, the technical aspects of the implementation of the radar will
n
be discussed. The hardware and software dedicated to signal processing will
w
also be described.
To
e
5.1 Technical Details of the Implementation of
ap
that is not present in any of the other techniques discussed so far. Con-
ventional FMCW radars such as those used in altimeters employ simple
ity
that the land surface will be the major source of reflection. In a furnace,
no such prediction can be made about the environment. A microprocessor
ni
linked to the radar would give the system a certain amount of 'intelligence',
U
40
M~CWAVE SECTIOll
ANAl.OOUE SECTION
n
(
w
To
'---1----1 LEVELAll.I
e
ap
C
LEVEL All.I
of
ity
llGITAL SECTION
rs
ve
ni
U
RAM RAM
I
~---l
-~
.. _
181111 I
41
Centre frequency lOGHz
Sweep bandwidth 500MHz
Modulation frequency 60Hz
Modulation type sawtooth
n
was found experimentally that a bandwidth of 500MHz resulted in the best
w
overall system performance. The various VCOs investigated were:
Manufacturer
Avantek
Model no.
VT08950 To
Frequency range (GHz)
9.5GHz - 10.5GHz
Cost (R)
4095
e
Avantek AV74010 8.0GHz - 12.4GHz 14000
ap
It was found in Section 4.3.5 that the microwave VCO linearity was
ty
atures present in the furnace environment. Both The AV74010 (YIG) and
ni
sweep oscillator was used because it was rela,tively easily available. How-
ever, in a practical version of the system, a YIG tuned oscillator would be
substituted. The oscillator had a power output of lOdBm, which was flat
across the system bandwidth. A regular power output is important to pre-
vent harmonics due to amplitude modulation occurring in the beat frequency
spectrum.
A 3dB Wilkinson power splitter delivered half the power to the mixer
(7dBm), and half the power to the electrode through a T E 11 mode waveguide
launcher. An ordinary power splitter could have been used, but the Wilkin-
son power splitter has the advantage that it does not allow power reflected
by mismatches in the system to pass back through the splitter. Reflected
power arriving back at the oscillator causes an effect called frequency pulling,
42
Model number MRI W-90 WJX-NC
Centre frequency lOGHz
Bandwidth 500MHz
Isolation min 35dB
VSWR max 1.3
Insertion loss max 0.4dB
Waveguide type WR-90
Flange type UG 135/U
n
and the insertion loss negligible. Table 5.3 gives the full specifications of the
w
circulator.
To
A double-balanced mixer was used to find the difference in frequency
betwe;n the transmitted and received signals because of its superior inter-
e
modulation product rejection capabilities [16]. The RF and LO inputs of
ap
the mixer covered the range of X-band frequencies, and the IF output was
C
DC-coupled. It is important that the beat frequency should fall within the
\J
bandwidth of the IF output port. The LO input required an optimum of
of
put of the VCO had been greater than lOdBm, a 3dB power splitter could
not have been used because the LO port of the mixer would have become sat-
rs
urated and would then have produced harmonics. In this case, a directional
ve
The analogue circuitry used to interface the microwave and digital sections
consists of amplifiers, gain sections and filters. All of these units were imple-
mented using operational amplifiers, and some accompanying passive com-
ponents. The details of each unit will not be given here, but the circuit
diagrams are shown in Appendix B.
The beat frequency produced by the microwave mixer will contain un-
wanted harmonics and both high-frequency and low-frequency noise which
must be filtered out. Because a sawtooth waveform instead of a triangu-
lar waveform is being used to modulate the microwave VCO, the definition
given in Equation 4.12 becomes:
43
!' = !!_ (5.1)
Tm
The FMCW range equation is then given by:
R = Ug. fb
(5.2)
2·B·fm
Using Equation 5.2, it has been calculated that the beat frequency will
fall into the range 1. 7kHz to 6. 7kHz depending on the length of the electrode
(5m-20m). A 6th-order Chebyshev bandpass filter with a centre frequency
_, of 4.2kHz and a bandwidth of 5kHz was therefore placed at the output of the
mixer to attenuate unwanted harmonics a~d noise. Gain and offset sections
were plated after the filter to optimise the signal levels before analogue-
to-digital conversion. The input filter also prevents aliasing of the beat
n
frequency signal due to sampling.
w
The computer produces the modulation for the VCO through a DAC.
To
The output from the DAC is filtered to eradicate its stepped nature and
then amplified and level-shifted to make it compatible with the input of the
e
VCO. A simple low-pass filter in the feedback of the gain section provides
ap
\J
Interface between the radar and the computer
of
The computer performs the dual task of sampling the output from the mi-
ity
crowave section, whilst providing the modulation for the VCO. An interface
rs
between the radar and the computer to perform these tasks had to be de-
ve
the beat frequency had to be kept fairly low. A lower beat frequency also
U
means a lower modulation frequency, and this has the advantages of sim-
plifying linearisation of the VCO, and of reducing capacitive effects on the
tuning port. The modulation frequency was chosen as 60Hz, which, as men-
tioned before, results in a beat frequency of 1. 7kHz to 6. 7kHz, depending
on electrode length.
In order to satisfy the Nyquist sampling theorem, the sampling rate
must be at least twice the maximum beat frequency, or at least 13.3kHz.
The sampling duration must be one period of the sawtooth modulation or
1/60Hz=16.7ms. The timing between samples must be extremely accurate,
·and must not be affected by system interrupts.
With reference to the microwave section of Figure 5.1: EM energy enters
port 1 of the circulator, and should be directed through to port 2. However,
44
some of the energy 'leaks' through to port 3, and can be viewed as noise.
The isolation associated with a particular circulator is its ability to isolate
port 3 from port 1. Higher isolation results in less leakage and therefore
a lower system spurious noise-floor. The system's ability to measure small
reflections returning to port 2, or the system's dynamic range is therefore set
by the isolation provided by the circulator. Although the specified isolation
is 40dB, it has been measured to be more like 35dB. Since 7 bits provides
42dB dynamic range, a seven bit system would have provided the required
I
35dB dynamic range in this case; however, an eight bit system was chosen
because of the computing standard.
An interface card with these specifications was therefore designed and
built.
The steps involved in the operation of the interface card are:
n
w
• Calculate the modulation waveform using the computer;
To
• Apply a linearisation matrix to the modulating waveform;
e
• Load the modulation waveform into a memory on the interface card;
ap
I
of
I
the same time;
ity
• The computer loads the sampled values from a memory on the interface
into the computer;
ni
The interface has a high-speed DAC and ADC on board. There are two
RAMs which are used to store the modulating waveform and the sampled
data. Buffers isolate the computer from the card and therefore from the
radar. An oscillator provides a clock which determines the sampling fre-
quency. A counter, being incremented by the clock, logs data in and out
of the RAMs. A full circuit diagram and timing diagrams are given in Ap-
pendix C. The final specifications of the interface card are shown in Table
. 5.4.
The corresponding curves for tests performed on the DAC and ADC
sections of the interface are shown in Figure 5.2. An error analysis of the
45
Sampling frequency 62.66kHz
Sampling period 16.3ms
Number of samples 1024
Number of bits 8
-
"'
.
"'"'
250
-
~
2 .5
0 200 ;
; 0
.,
0 150 I .5
~
"'
~
.!'!' 100 0
c >
n
so 0 .5
w
1.31 2.5 50 100 150 200 250
To
Voltage In (V) Olgltal In (0-255)
e
Figure 5.2: Linearity graphs for the DAC and ADC.
ap
interface was undertaken, and the errors, which are defined by Horowitz and
C
the ADC and DAC chips. The guaranteed linearity set by National for the
si
ADC (ADC0820) is 0.5 LSB. The final measured linearity of 0.43 bits is
r
the reference voltage or 0.00125 volts. The measured value of 0.006 volts
U
compares well with this value. A source of extra error is that associated
with stability of the power supply used as a reference for these experiments.
46
5.2 Signal Processing of the Radar Returns
Since the length of an electrode is proportional to the beat frequency, it
is of extreme importance that the beat frequency be determined as accu-
rately as possible. Traditionally, spectral estimation has been achieved using
fast Fourier transforms (FFT). Although the FFT is able to provide quick
and robust results, more modern techniques have been found which provide
better frequency resolution. It was therefore decided to investigate some
modern spectral-estimation techniques. Mathcad documents describing each
of the techniques can be found in Appendix D.
The following spectral-estimation techniques were compared:
n
w
• Prony's method
ated with the FFT, the most prominent of these being the limit on spectral
resolution i.e. the ability to distinguish two similar frequencies in a signal.
ity
'>just resolved when the first maximum from one component sits at the first
ve
minimum of the other (14, page 450]. Using the FFT, the obtainable reso-
ni
(5.3)
fR = Efb • R (5.4)
fb
or, substituting Equation 5.2 for R:
47
(5.5)
u9
tr 2·B (5 -6 ) A
where Ug is the velocity of the electromagnetic energy in the waveguide and ~~
B is the bandwidth of the transmitted signal in Hz. The aim of this chapter ~~ ~ ~ 1
is to try to improve on the result obtained in Equation 5.6. J:JW..- ~
It is important at this point to introduce the signal processing terms bias ~ J./l '
and variance. The bias of a spectral estimator is the average error in the
estimator. Therefore, a low bias gives an accurate absolute spectral estimate,
n
w
as is required in this application. The variance of a spectral estimator is the
To
mean-squared error associated with the estimator. A smooth curve has a
low variance and a spiky curve a high variance. The higher the variance, the
easier it is to differentiate two closely-spaced frequencies i.e. higher variance
e
ap
corresponds to better resolution. It must however be remembered that it is
not resolution but absolute accuracy which is required in this application.
C
-
of
quency. Since the FFT is a discrete estimator, the beat frequency can only
rs
when using the FFT, the bias is limited to a minimum value of half the
ing of the FFT spectrum decreases the bias slightly, but accuracy is rarely
U
48
nique for modelling data of equally-spaced samples using a linear combi-
nation of complex exponentials. Since the exponentials can have arbitary
amplitude, phase and frequency, the spectral estimate becomes continuous
and is no longer bound by the Rayleigh criterion.
The Prony method requires that the IJ,umber of exponentials to be used
in the model be known prior to spectral estimation. In cases where only
an approximate fit to the data is required, the number of exponentials can
be less than half the number of data points. In practice, however, far fewer
terms are used in the model since the rough computational complexity is
related to the squared power of the number of exponentials used in the
model.
A complex rooting algorithm is required to determine the frequencies
contained in the spectral estimate. This has the disadvantage of being com-
n
w
putationally intensive, but it does produce results without having to search
To
for maxima, as with the FFT. As can be seen from Figure 5.3 (b ), the
. Prony method is well able to resolve the two sinusoids of 2Hz and 2.2Hz
e
(see Appendix D for the Mathcad spreadsheet).
ap
respectively. It can then be shown [14, page 454) that, under ideal conditions,
ve
the complex frequencies contained in the input data can be found from the
ni
49
FFT
2 3
iI
Frequency (kHz)
ID
:!:!.
., Prony
"~
CL
E
11 I.
<
!\---'11·----------------------------------------------------------··············
___________________________________________________ )
'Frequency (kHz)'
.,,ID MUSIC
""
n
:E
Ci.
w
E
<
To
' 3
Frequency (kHz)
e
Figure 5.3: Spectral plots of simulated sinusoids at 2Hz and 2.2Hz.
ap
data taken at different electrode lengths. As can be seen from Figure 5.5,
ity
to provide interpolation between the spectral bins. The figure shows that
ve
provide better variance than the FFT, they tend to add a varying bias to the
absolute measurement depending on the number of terms used in the model.
This result agrees with [3, page 89] who mentions a trade-off between bias
and vari.ance. Table 5.6 gives a summary of the different techniques [15,
page 1410] where N is the number of data samples and Mis the order of the
model used in the Prony and Music methods.
Therefore, on the grounds of its computational efficiency and robust-
ness, the FFT was chosen as the spectral-estimation technique to be used to
determine the beat frequency from the sampled FMCW radar data signal .
•
As mentioned previously, zero padding was used to interpolate between val-
ues. A weighted average of a few spectral lines around the maximum also
provided a simple means of further interpolation between spectral bins.
50
...... 180
...
e' 160
.,,•
..
:I
:I
140
Q, 120
E
"' 100
n
w
Figure 5.4: Section of the sampled output from the FMCW radar.
7
To
e
ap
6.8
C
of
E 6.6
.......
..
ity
.J:.
Cl
c
rs
..! 6 .4
..
i::I
ve
GI
.!!
::I
..!:!
ni
ta 6.2
0
U
5.8
5.6
0 20 40 60 80 100
Known relative length (cm)
51
Technique Discrete or Complexity Advantages and disadvantages
Continuous
Fourier D Nlog2N Output directly proportional to power
transform Most computationally efficient
Resolution roughly the inverse of sampled
time
Prony's c M 2 +MN Requires prior knowledge of order
method Requires polynomial rooting
Resolution as good as autoregressive (AR)
techniques
Resolution exceeds that obtainable with FFT
Requires high /J for low bias
MUSIC c M"l.+MN Requires prior knowledge of order
n
method Resolution exceeds that obtainable with FFT
Requires high f;. for low bias
w
Sensitive to changes in spectral model
To
0
e
Table 5.6: Summary of the different spectral-estimation techniques.
ap
The signal processing techniques as well as the data capture, the VCO i"
C
linearisation and the interface card control procedures, were written in Bor-
of
..;- \]t.tJ!.-
~().A)e ~
si
\,l,cfl,~~~ .
v er
ni
U
52
•
Chapter 6.
RESULTS
n
The FMCW-radar-based measurement system was set up as described in
w
Chapter 5. A stainless steel pipe was used to represent the electrode, and a
To
reflective plunger was inserted into the pipe to represent changes in electrode
length. e
The measurements were made using the HP3050 sweep oscillator as a
ap
frequency source, being swept by the FMCW radar to PC interface card.
The results were logged by the interface card, interpreted by the PC and
C
component, and therefore the beat frequency could only fall into a discrete
i
rs
frequency bin. For this reason, the length measurements were stepped and 0 1 L
(71AR. ~"""~re r
\t- 1" ~ ~4efr.J ~
ve
not continuous as 2-ne might expect. Figure 6.1 shows a graph of measured
length versus the known length. Although the stepped nature of the graph
ni
causes a large overall error, a linear regression showed that the gradient
U
of the graph was almost ideal, having a slope of 1.001:1. Since the trend
followed by the measurements was so accurate, but the overall accuracy was
being limited by the discrete nature of the FFT (RMS error~ 7cm), it was
decided to do some signal processing on the measured data. It should be
noted that, for absolute measurements, the distance between the microwave
components must be subtracted from the measured distance, but that for
relative measurements this has no effect.
As mentioned in section 5.2, it was found that zero padding in con-
junction with the FFT was the most successful signal processing technique.
) Weighted averaging was also found to improve the accuracy with which
\ the beat frequency could be .measured. This process was applied to the
computer-based interpretation program, and the measurements were re-
53
-E
-
J:. 6.5
n
Cl
c
w
.! 6
,,
To
...
G)
; 5.5
ca
e
G)
ap
:!: 5
C
50 100 150
of
Figure 6.1: Length measurement with simple FFT signal processing tech-
ve
nique.
ni
peated. Figure 6.2 shows the repeated set of measurements. From the
U
figure, it can be seen that the stepped nature of the measurements has been
vastly reduced, but that accuracy has been maintained. When compared
with the known length, it was found that the RMS error associated with the
measurements was 1.37cm - well within the required limit.
Further measurements were then performed between eight and nine me-
tres to determine whether the system was linear over large ranges. In order
to perform these measurements, an extra section of pipe had to be added to
the existing length. The discontinuity formed at the junction between the
two pipes was found to have a very small effect. Alignment of the pipes was
not critical to the performance of the system. The extended set of measure-
ments lined up perfectly with the initial set (Figure 6.3), and proved that
the system remains linear over extended ranges.
54
7
-·
E
..... 6.5
z:
.,,
~
c
GI
6
"O
...
GI
::::s
UI
Cl 5.5
GI
E
n
w
4.5
To
0 50 100 150
known relative length (cm)
e
ap
Figure 6.2: Length measurements with zero padding and a weighted average.
C
of
equal to that of the pipe. Due to the crystalline nature of the electrode, the
i
rs
55
--
E 10
..
.i::.
en
c
9
CD 8
'O
...
CD
7
::::s
en
CG 6
CD
:E
5
n
4
w
0 100 200 300 400
To
Known relative length (cm)
e
ap
C
E
__. 6 .8
-
ty
.i::.
i
en ··1
rs
c 6.6
'··~.
CD
ve
ni
U
20 40 60 80
Known relative length (cm)
P ip e S ode rb erg
56
/
Chapter,7
CONCLUSIONS
n
Based on the findings of this report, the following conclusions can be drawn.:
w
• A microwave system in which a radar placed above the electrode is
To
used to determine the electrode length has been identified as the most
promising electrode-length-measurement technique.
e
ap
• Both practical aiid theoretical evaluations have show that microwaves
will be able to continue propagating in the cavity left in the electrode
C
the best overall performance in the furnace environment due to its abil-
ity to differentiate between targets, and the 'intelligence' with which
rs
it can be interfaced.
ve
put.
• The fast Fourier transform provided both the resolution and robustness
needed in the signal analysis of radar returns.
57
the graphite electrode, and secondly that the reflection caused by the
transition between the waveguide and the graphite cavity is small in
comparison with the reflection caused at the end of the electrode.
n
w
To
e
ap
C
of
ity
rs
ve
ni
U
58
Bibliography
n
Submerged-Arc Furnace. Technical report, National Institute for Tech-
w
nology, April 1981.
To
[3] A. Bas. An Ultra High Resolution FMCW Radar. MSc Thesis, Univer-
e
sity of Cape Town, 1992.
ap
59
[13] S. A. Hovanessian. Radar System Design and Analysis. Artech House,
1984.
n
w
To
e
ap
C
of
ity
rs
ve
ni
U
60
Appendix A
__.3mm
-
~
-
- 20mm ~
18.?mm - ~
15mm ...
l
I I
I .
I
n
41 .2mm
w
22.Bmm 22.5mm 25.3mm
.
,
To 1•
.
e
ap
l
C
TOP VIEW
of
-
ity
3mm
rs
--.. "'4--
ve
18.?mm 15mm
ni
U
20mm
SIDE VIEW
61
Appendix B
A 8 c D
n
+15V
w
INPUT
Jl Rl
To
lk
c: LM32 J
;::10 LPF
CNO
Ul:A
e
"1
2 ~i:~ 2
ap
CND
-15V
,....
C
HPF
"' +15V
16 CB w
R7
of
LPF
LM3 4J
100n 100n 100n HPF
CS> IX)
...
IX)
,..., Ul:C
ity
a:: cw
3 a:: 3
CD
rs
0
ve
ni
U
4 4
A 8 c D
62
A 8 c D
U4
•
... ......
m - u
g rs;
...
~
:::>
...
a
a ...... >
~
I ~~~~~~~~~ (t) '"1 ~
~ 7~~~mmmmm n (1)
'"1
Pl §I SN74HC6BBN
•'l.....2Lvcccte1~ DAC eur ~ ......
e+-
= ~
.....
U5 n n
2 2 (t) Cl,. ><
LSB •~LSB
ow n
...... 0
T ~
~ C1Q
SN74HC4040N
:1&.ll-vcc ...,.....L....!i!!I
e '"1 '"1
p Cl,. ~
0) Q
~ ,;; ADC-RAM OAC-RAM
:::>
a
U13 C U11
8
3
3 of 0
Ii-+)
ity e+-
74HC157
,.,,, --ll-wx:CHDJ..- CND
rs ~
e (t)
i v
n OAC0B32
4 TC5563AL-15PN .~63AL-15PN 4
Mil "'!11..--li- >CC A-lo-0 and i>-lo-A
u~ CHO
U
18M62 ~·
SN74HC4040N
+,_,_11....YCC CNO_a__GND
27""'''"
D
-
t ..:>
A B c
Appendix D
Sampling frequency: f s := 10
L:wave1
n
tot1 .- wave1n := wave1 0 - tot1
w
N+1
To
e
ap
wave1no
C
of
0 10 20 30 40 50 60
ity
n
rs
ve
x := 0 .. N - M - 1 y := O.. M spy := Y
A1 h := wave1(M _ Y >
(y,x) +x
A1 h := wave1( ) r
(y,x+N-M) x+y
T 1 .
A1 = A1 h R1 := .,1
2·(N - M)
64
ei1 := sort( eigenvals( R1 ) ) v11 := eigenvec(R1, ei1 0)
V1 n := v11 __ T
(y,O) y V1 nh := V1 n
_ _T
S 1 ( ro ) := e <- j · ro· sp > S 1 h ( ro ) := S 1 ( ro )
1
1
5 music< f) := ( )
DEN1 2·1t·f
fs
Spectral plot of the time domain function using the MUSIC method
n
w
spec := 0.01, .05 .. 5
1·1~6
5 To
e
1·10
1·104
ap
1000
S1 music(spec)
C
100
of
10
1
ity
0.1
0 1 2 3 4 5
rs
spec
ve
------------------------------------'
ni
PRONY'S METHOD
U
s := 0 .. N - P - 1 p := 0 .. p - 1
/'
pp:= 0 .. p popp := P - PP
1
T )- T
a:= ( A ·A ·A ·b
65
~
0
zs(z) := zP poly(z) := zs(z)·c
2·n·f2·j
2·n·f1 ·j
fs - fs
q1 := e q2 := e
n
2·7t 2·7t
w
To
Frequencies f1 =1.9993 f2 = 2.2002 e
Iz1 I = 0.9999 Iz2 I = 0.9994
ap
Magnitude of the spectral lines
_______
C
j := 0 .. N
2
ni
U
fff;
_J 2
o1-====:±::::===--1-=~='- ............L..~---1
0 1 2 3 4 5
66
#Include <lo.h> lstep=nmax << 1·
#include <stdio.h> '( theta=isign*(6.~83185307179591nmax);
I Include <stdl ib.h> oldhandler = getvect(INTR); II Save the old interrupt wterrp=s i n(0.5*theta);
llnclude <dos.h> => vector. wpr = ·2.0*wterrp*wterrp;
llnclude <conio.h> setvect(INTR, handler>; II Install the new Interrupt wpi =sin( theta);
#Include <math.h> => vector. wr=1.0;
#Include <gra{lllics.h> Original INT mask = l~rtb(Ox21); II Set up 8259 PIC wi=O.O;
llnclude <str1ng.h> => chip-for-interrupt 7. for <m=1;mcnmax;m+=2> c ~ ~
outportb(Ox21, Original INT mask & Ox7f >; for <l=m\i~=n;l+=lstep> c >
#define INTR OxOf II ADCDA card Interrupts on 7. 1=1+nmax; ~
ldef Ine CPPARGS ••• while·(flag == 0) II Waiting for an Initial interu terrpr=wr*data(jJ·wi*dat t-1
#define 'SQAP(a,b) terrpr=<a>;<a>=<b>;<b>=teq:>r II Fin:tl => pt for synchronisation. · => a(j+1J;
=> on to swap a and b. (
inportb(Ox300J; II Read trash data and Increment t => ata(j); :' ·
terrpi =wr*data (j+1J +wi*d
> ~
C'D
=> he interface counter. data q J =data Ci J · t~r; t1 ~
II················································· } data[J+1J =data[i+1J ·tem
II GLOBAL VARIABLE DECLARATIONS I> => pi;
II················································· data[iJ += teq:>r; ~
n data(i+11 += teq:>i; >~ = .....
int mldx midy; II To store screen coords. v1················································· w >
const no_elements = 4096; II No of time sa~les. wr=(wteirpswr)*wpr·wj*wpl+wr; ><
const no_aves = 20; II The ~r of elements In wl=wl*wpr+wterrp*wpl+wl; ~ s
=> the FFT to average.
o } •
volatile int flag= Ol· II Indicates that an lnterrup old close_lnt() T nmax=lstep; ttj
=> t has occured (f ag=1). }
}
float address first c O; II Array address of maxlna111 e I Resets orlgional values to the Interrupt
=> lement. - I controller before exittlng the program.
e 0 ::::-:
float ave freq = 0; II Average beat frequency. t-0 ~
Int DAC DitaC1023J;' II Dota used to linearise the 11·························-~·-····················
=> oscillator. outportb(Ox21, Original INT mask & Oxff); II Disable
p ~ t-1•
int ADC Data[1023l; II Data read In from the ADC, => the Interrupts - -
0)
=> FRCW radar Info. setvect(INTR, oldhandler>; II Restore the orlglonal I
a void DAC_Flle_load()
~
float ave_array[no_avesJ; II T~rary storage to perfo => nterrupts as stored. C
=> rm averaging. II loads data for linearising the RF oscillator from crq
float transformed((no elementa*2)·1J; II Used to store f II a file called IN DAC.DAT. The data is In an ASCII
II file of floats In a list.
=> freq data after fFT.
void Interrupt < *oldhandler>< CPPARGS);
VI·················································o (
=
U1Slgned Int Orlglnal_INT_mask'f" FILE *fp;
0
!void four1(float data[), unsigned long nn, Int !sign) fl oat terrp; ~
I Does a fast fourier transform on the s~led time
II····························-·····-·············
ity
I domain data. This procedure comes from the C
s fp=fopen<"IN_DAC.DAT", 11 r 11 ) ; / / points to open file.
I Recipes collection of algorithms. for(int l=O; I< 1024; I++)
(
void interrupt handler(_CPPARGS) ~ r
IC fscanf(fp, 11 l'1 11 ,&teq:>); II load a single
II This procedure. Is called each time an interrupt unsigned long n,nmax,m j,lstep,I; => time s~le.
II occurs. The variable flag Is triggered to double wteq:>,wr,wpr,wp1,wi,theta; DAC_Data(IJ=t~; II Store the data val
II Indicate that an Interrupt has been received.
i ve
float teq:>r, teq:>i; •> ue In an array.
n }
c n=nn << 1; fclose( fp);
dlsable<>i II Disable all Interrupts. j=1 • }
outportb(ux20, Ox67); for'<i=1l•i<ni1+=2> C
flag=1; II Set interrupt flag to affirmative.
U f (J > i) c
delay(10); SWAP(dataCtl data(il); II·················································
enable(); II Re·enable the Interrupts. SWAP(data[J+h ,data[i+1J >;
} }
m=n » 1;
while (m >= 2 && j > m> C
II················································· j ·= m·
m »= ;;
>
j +•
forCint i=O; i< 2*no elements; i++) => 8 elements are tot=totlno aves;
< - < II zero padded gcvt(tot*3:3338,3,range); II Convert from freq to ra
fprintf(fp,"Xf\n", transformed Ci]>; => to provide => nge, and characterise.
> transformed[iJ=O; II interpolatio strcat(range,meter); II Add the word "meters" t
fclose(fp>; II Store frequency data. => n of data once => o the measurement.
> > II FFT has been cleardeviceO;
=> done (ZERO PADDING). outtextxyCmidx,midy,range>; II Display the range in
=> the mid of screen.
11------------------------------------------------- for Cf = O; i <1024; i++) delay(100);
< transformedCt~J = ADC DataCiJ; II Fill in zero
>
void load_DAC() => imaginary values -
tempt-+; II for the time 111-------------------------------------------------
II Loads the linearising function into the DAC RAM. => domain function
II The VCO is then linearised with this function. transformed[templ=O; ll as required
=> by the FFT procedure. void main()
< temp++; < clrscro;
flag = O;
> init int(); II enable and initiate interrupt 7.
for (int i = O; i<1024; i++) four1(transformed-1,no elements,1); II Perform the Four DAC file Load(); II Load the linearisation data.
=> ier transform. - loaa DAC(); II Send the modulation to the DAC RAM on
< inportb(OX300); II Read from the interface is done
n => interface card.
=> to increment counter. ~etlJ)=O;
outportb(Ox300,DAC Data[il>; II Load function int ddress first=O;
w clrscr();
=> o RAMS on interface. -
printf("Data out = Xd\n11 ,DAC_Data[i] >;
o
for < i = O; i <(no_elementsl2>; i++) II Convert from
T II CHANGING TO GRAPHICS MODE
> => Re, Im to ABS co-ords.
> < int gdriver =DETECT, gmode, errorcode; II Request aut
transformedCil = sqrt(powCtransformed[t~J,2)+po => o detection
=> w(transformed[temp+1J,2>>; pe int size = 6;
if (CtransformedCiJ > big)&(i>50)) II Ignore firs initgraph(&gdriver, &gmode, "">; II Initialise graphic
11------------------------------------------------- => t 50 due to large DC a => s.
0) 11 component i errorcode = graphresult(); fl Read result of initial is
00
<
=> n FFT. C => ation. ·
void Read_RAMO big=transformedCiJ; II Choose the largest ele if (errorcode I= grOk) II An error occurred, so displa
=> ment from the spectrum. => ythe type of error.
II Reads s~led time domain values from ADC RAM.
f
address_first=i; II Store the address of the <
=> largest element.
o printf("Graphics error: Xs\n", grapherrormsg(errorco
< > => de));
tetl1)++; printf("Press any key to halt:">;
flag= O; II Reset interrupt indicator to negative. temp++; ity getchO;
> exit(1); II Terminate with an error code.
for (int i = O; i <1024; i++)
ddress
s
+= transformed[address first-1J*(address first-
r >
< ADC Data[i] = inportb(Ox300); => 1); e - - midx = getmaxx<> I 2; fl Get middle screen co-ords.
> II lead a value from the ADC RAM. ddress += transformed[address first]*address first; midy = getmaxy() I 2;
> ddress += transformed[address-first+1]*(addriss first+
I => 1); - - settextjustify(CENTER TEXT, CENTER TEXT); II Set text
,total = transformed[address first-1l+transformed[addres => attributes. - -
~ niv
=> s_first]+transformed[aCJdress_first+1l; settextstyle(DEFAULT_FONT, HORIZ_DIR, size);
11-------------------------------------------------
U address=address/total·
VI A weighted ave of largest 3 elements. while (lkbhit()) II Run until any key is pressed.
c
void Calc_FreqO ~ve freq=31.33*addressl(0.5*no elements>; II Convert th if (flag == 1) II If an interrupt has occured, t
=>·e FFT bin no to a freq. - => hen the ADC RAM is
II Calculates the dominant frequency contained in tot = ave freq; CRead_RAMC>; II full (Sampling.has been comple
II the fourier transformed data. Displays length. 1ave_arraylno_aves-1] =tot; => ted). Read the
Calc_Freq<>; II contents of the RAM and calcul
< for Ci = O; i < ~no_aves-1>; i++) II Average no_aves ti => ate the range.
=> mes to obtain >
int tefll>=O· C II more accurate beat >
float big=b,total=O,address=O,tot=O; => freq. ADC File Save(); II Save the last FFT data (just for
char range[15J, *meter= 11 meters."; ave_arrayCil=ave_arrayCi+1l; => -later inspection). ,-
tot=tot+ave_array[1J; close_ int(); II This· is useful for checking inte ~
> => rface performance. ~
for Ci~~-~-=2048; i<2*no_elements; i++) II The last 204 > . ~