swr analyzer - i2tzk
TRANSCRIPT
SWRA Std Alone by Tony, i2tzk Pag. 1
SWR ANALYZER Measuring Without PC
June 2013
SWRA Std Alone by Tony, i2tzk Pag. 2
INDEX
1. Project description 3
2. Getting started 5
2.1 SWR Analyzer 5
2.2 SWR Analyzer Windows program 6
2.3 GLCD Controller 7
2.4 GLCD Controller / SWRA cable 8
3. GLCD Controller functions 9
4. Exploring the antenna resonance 10
4.1 Select scanning parameters 10
4.2 Run a scanning cycle 13
4.3 Analyse results on PC 15
SWRA Std Alone by Tony, i2tzk Pag. 3
1. Project description
Aim of this document is to describe how the SWR Analyzer can be attached to a Graphic LCD
controller measuring the antenna performances without a pc link.
This SWRA configuration allows to:
Explore/Analyze/Tune your antenna during field or mobile operations without any pc.
Collect data for a further and more detailed analysis on your pc.
What is needed:
SWR Analyzer unit modified as indicated by paragraph xx, f/w version 4.02.
SWR Analyzer Windows program v4.02
GLCD Controller, this document describe the usage of CPU01-SWRA f/w 1.00, FoxDelta
kit, refer paragraph xx to design and implement your own unit.
A special cable to connect SWRA to GLCD Controller
SWRA Std Alone by Tony, i2tzk Pag. 4
80m 1/4 wave vertical
SWRA Std Alone by Tony, i2tzk Pag. 5
2. Getting started
2.1 SWR Analyzer
Modify the SWRA board adding a 470ohm resistor between pin 16 and pin 17 of the
pic 18F2550
Update the f/w to v4.02
SWRA Std Alone by Tony, i2tzk Pag. 6
2.2 SWR Analyzer Windows program
Update the program to v4.02
Connect the SWRA Board and calibrate.
SWRA Std Alone by Tony, i2tzk Pag. 7
2.3 GLCD Controller
SWRA Std Alone by Tony, i2tzk Pag. 8
2.4 GLCD Controller / SWRA cable
SWRA Std Alone by Tony, i2tzk Pag. 9
3. GLCD Controller functions
Power ON sequence
Switch between Scan Graphic and Parameter’s Menu pushing BTN1 more than 3 Sec.
SWRA is now ready to explore the
antenna resonance
SWRA Std Alone by Tony, i2tzk Pag. 10
4. Exploring the antenna resonance
4.1 Select scanning parameters
Select the Parameter’s Menu pushing BTN1 for more than 3 Sec.
Enter the Center Frequency [CenterF] rotating the knob.
Frequency increment/decrement
step can be changed pushing down
the knob, the cursor underlining the
digit will move to the next digit.
Change the Scan Width [ScanWid] rotating the knob.
Available Scan Width selections
are: 100 KHz, 200 KHz, 500 KHz,
800 KHz, 1 MHz, 2 MHz, 10 MHz.
Frequency Center and Scan Width will be used next scan, until a new scan is executed the previous values are still shown by the graph.
SWRA Std Alone by Tony, i2tzk Pag. 11
The couple Center Frequency and Scan Width can be also automatically selected recalling
predefined values associated to the parameter Band [Band].
Rotate the knob to go through the
available band values.
Select the Band, push down the knob,
values “Center Frequency” and “Band
Width” (see table) will be copied to the
corresponding fields.
To set a new CUSTOM entry:
Select new Center
Frequency
Select new Scan Width
Select [Memory] action
[SaveCSTx]
Push down the knob
Label “SaveCSTx” will blink confirming the new parameters are accepted and stored
into the permanent microprocessor memory.
Band Center Frequency Band Width
10 28 MHz 2 MHz
12 24.940 MHz 200 KHz
15 21.225 MHz 500 KHz
17 18.120 MHz 200 KHz
20 14.175 MHz 500 KHz
30 10.125 MHz 100 KHz
40 7.150 MHz 500 KHz
80 3.750 MHz 800 KHz
160 1.9 MHz 200 KHz
CUSTOM 1 User Defined User Defined
CUSTOM 2 User Defined User Defined
CUSTOM 3 User Defined User Defined
SWRA Std Alone by Tony, i2tzk Pag. 12
To disable the Noise Filter [NoiseF] just select the value 1, any value > 1 activates the
filter (default value is 5). Filter slows down the scanning process, use it only when
necessary.
SWRA Std Alone by Tony, i2tzk Pag. 13
4.2 Run a scanning cycle
Start scan cycle pushing down the knob, stop it
any time pushing down knob again.
During the scan phase the number of
the current point of measure and the
corresponding frequency are shown,
SWRA led blinks.
Because of Graphic LCD low resolution and limited resources of the microprocessor only 100
points of measure are stored into the microprocessor working area, that is the X-Axis can show
only 100 different frequencies and their associated Return Loss and SWR values.
SWRA Std Alone by Tony, i2tzk Pag. 14
Rotate the knob to move left and right the cursor (vertical line) and read on the LCD bottom
line for each point of measure:
Frequency in MHz
SWR
Return Loss in dB
Current scan can be saved into the SWRA Board permanent memory and recalled.
The scan points of measure are stored into the SWRA Board not in the GraphicLCD controller,
this allows the PC program to import these data when the SWRA Board is connected.
Because the PC offers much more cpu and memory resources than the pic, during the scan
cycle additional points of measure reserved to the PC analysis are memorized.
So far while the GLCD can present SWR and RL values only for 100 different frequencies, a total
of 500 points of measure is acquired during the scan cycle. These additional points are not
visible to the GLCD Controller but can be imported by the PC and allow much more resolution
(5 times better) during a PC analysis.
SWRA Std Alone by Tony, i2tzk Pag. 15
4.3 Analyse results on PC
SWR Analyzer.exe v4.02 offers a new feature to import data stored into the SWRA Board
permanent pic memory.
SWRA Std Alone by Tony, i2tzk Pag. 16
Small differences could be present comparing the GLCD and the PC graphics at the same
frequency.
Differences are usually less than 1dB and are coming from different:
measure resolution: 100 points for GLCD, 500 points for PC
calibration process. While PC uses the linear regression methodology, that is the offset
applied to the measure is computed by interpolating the values stored by a table
“Frequency / 0dB”, GLCD Controller applies a simple average offset, the same for any
frequency. Both, table and average 0dB offset are calculated during the calibration
process, for this reason the calibration must be done at least once before to start the
first measuring session.
mathematic packages on PC and pic microprocessor (rounding and algorithm bit
resolution)