Topics
Topics
Radio frequency
practical works
[email protected]
1
2
Contents
Contents 2
Remarks
For a long time you have been able to get very good and useful, but high priced simulation tools for different tasks
from Ansoft. But Ansoft has always provided free, but limited versions for radio amateurs, students etc.
So the “Designer “ follows this line in his unlimited licensed version. It is not only a simple RF- and Microwave
CAD Program, but also a Filter or Transmission Line Calculator, an S-Parameter Simulator, a linear or non-liner
simulator in the Time Domain, an EM-Machine (for simulating antennas, microstrip lines, waves) and so on...
As a user you don’t miss anything and you ‘ll find every part needed. And You can also compare the simulation of
different simulation principles.
As soon as you start the package on the PC and work on the first project, you learn at once that You
have to cooperate with a “very complicated Lady“ who does not forgive any errors or mistakes.
For the “Little Man” as a user of the free student version this means:
b) Even for the simplest task you have to fight against the complicated desktop of a program
priced at the regions of a new Mercedes or BMW car...
As many different tasks and projects as possible are tackled, solved and described. So the
user gets more and more knowledge of the program functions, buttons and menus.
For this purpose You find a list of “education goals” for every project.
So – as an Ansoft SV beginner -- you should not ignore anything and work through every project to
get more and more experience.
Gunthard Kraus
5
Step 1:
Start the program, open the menu “View” and activate the different managers
(a tip: for little notebook screens, only “Project Manager” and “Message Manager” will be sufficient)
Step 2:
Click the “New”-Button to start the job. Afterwards choose “Insert Filter
Design” in the Project Menu.
Step 3:
Please examine: the “lumped component button” (marked by a coil and a capacitor) should be active.
Then mark the following items in the columns:
Step 4:
Choose
filter order = 5
Step 5:
This looks already very nice and if you are contented, press
“Finish”.
Step 6:
Task: Match the radiating resistance (136 Ω) of a Patch Antenna to the 50 Ω – feeder at the GPS – frequency
of 1575 MHz using a Quarterwave Transmission Line on a FR4-Board.
FR4-board-properties::
Thickness = 60 MIL = 0.06 inch = 1.52 mm
er = 4.4
loss tangent = 0.02
copper cladding = 0.675 mil = 17µm = 0.5 oz copper (up and down)
Step 1:
Start a new project , click on “Project“
and choose “Insert Circuit Design”.
At once you come to a menu for the
board substrate.
Mark
Step 2:
The Circuit Editor and
the Simulation Tool Box
with all necessary
buttons appear.
Important:
Please open at once all
circuit folders and
directories in the Project
Management to get the
necessary overview.
Examine the “Data“ –
Folder to be sure, that
“FR4“-substrate was
accepted by the
software.
Step 3:
Press the “Interface Port“-Button (or open the pulldown menu
„DRAW“ and click there). At once your cursor is equipped with
the symbol. Place two such ports and press “ESC“ to terminate
this action.
Step 4:
Now a “Ground“
symbol is still
needed and it can be
found at the marked
place in the Toolbox.
Please connect it to the lower end of the resistor and change the resistors value (after a double click on it’s
symbol) to 136 Ohms.
10
Step 5:
To get the Microstrip
Transmission Line,
close the folder
“Lumped“ and open
“Microstrip“. At the end
of the contents list you
find “Transmission
Lines” and in it
„MS Transmission
Line, physical length“.
b) Or you move, with Drag and Drop, the line connection in contact with the Microwave Port connection.
Afterwards you drag the line to get a contact at he other side of the resistor’s end. In this case the wiring is
done automatically.
Step 6:
Open the Property Menu with a double click on the Microstrip symbol.
If you wish to read a short description of this Line Type, please use “Info / MSTRL”.
Step 7:
At first we calculate the necessary impedance Zo for the Quarterwave Transmission Line:
This Impedance Zo, the electric length of 90 degrees and the operating frequency of 1575 MHz should now be
entered to our calculator windows (right hand side) - then press “Synthesis“ and find on the left hand side the
necessary line width w = 1.072 mm and the physical length P = 27.0653 mm
Now it is time to
return to the Project
Management and to
prepare the
simulation.
12
Step 8:
Step 9:
13
Step 10:
And now
1) Set the desired sweep (here: linear from 0 to 5 GHz with steps of 50 MHz)
2) Then press “Add”.
3) Check the values in the window
4) Then press “OK”
5) And “Finish” this action
Step 11:
14
Step 12:
Please
1) mark “S-
Parameters” in the
list
2) choose “S11”
3) press “Add
Trace” and
4) press “Done”
Very often (when optimising a circuit) we want to know how a parameter at a special frequency changes it’s value.
In this case you should use a “Tag” and we’ll demonstrate that for our example.
15
Do a right mouse click on your report screen and choose “Data Marker” from the menu. At once the curve
changes it’s colour. Additionally you see a little marker if you move the cursor to the curve (...you can also use
the cursor arrow buttons!). Move the marker exactly to the best matching point ( - minimum value of S11) at the
frequency 1575 MHz and press “T” (for “TAG”).Repeat the procedure for the other matching point at 4.7 GHz.
=====================================================================================
Attention:
Now you have to change the Display Type to
“Smith Chart”
16
Please examine:
In the Project
Management you find
under “Results”
these two reports.
you can change
between them with a
simple mouseclick.
17
Please test all the possibilities that are offered by the right mouseclick (markers, tags etc.)!
Topic II
Ansoft Designer II
19
Remarks
For a long time you have been able to get very good and useful, but high priced simulation tools for different tasks
from Ansoft. But Ansoft has always provided free, but limited versions for radio amateurs, students etc.
So the “Designer “ follows this line in his unlimited licensed version. It is not only a simple RF- and Microwave
CAD Program, but also a Filter or Transmission Line Calculator, an S-Parameter Simulator, a linear or non-liner
simulator in the Time Domain, an EM-Machine (for simulating antennas, microstrip lines, waves) and so on...
As a user you don’t miss anything and you ‘ll find every part needed. And You can also compare the simulation of
different simulation principles.
As soon as you start the package on the PC and work on the first project, you learn at once that You
have to cooperate with a “very complicated Lady“ who does not forgive any errors or mistakes.
For the “Little Man” as a user of the free student version this means:
b) Even for the simplest task you have to fight against the complicated desktop of a program
priced at the regions of a new Mercedes or BMW car...
As many different tasks and projects as possible are tackled, solved and described. So the
user gets more and more knowledge of the program functions, buttons and menus.
For this purpose You find a list of “education goals” for every project.
So – as an Ansoft SV beginner -- you should not ignore anything and work through every project to
get more and more experience.
Gunthard Kraus
20
Now we repeat the design of project 2 but use another -- not listed! -- substrate.
Task:
Match the radiating resistance (136 Ohms) of a Patch Antenna at the GPS-Frequency (1575 MHz) to 50 Ohms,
using a Quarterwave-Microstrip-Transmission Line on a Rogers R04003 – Substrate.
Step 1:
Start a new project, choose “Insert Circuit Design” and use any substrate in the list (like “FR4, 60 mil, er =4.4”
from project 2). Then store your new project under a convenient name (here: “lamda_02”) and open all folders
and directories in the Project Management.
Step 2:
Step 3:
Now you can enter the new properties of the
copper cladding. Thickness is “1.35mil”,
“Roughness” is (by experience) 0.1mil (=2.5µm).
Step 4:
Now you should modify the substrate. Here you can choose between two ways:
First Method:
Double-click on the FR4-
symbol in the Project
Management.
Substrate Name =
R04003
Height H = 32 mil
Er = 3.38
TAND = 0.0027
Please always remember to enter a value for the upper cover height HU (distance between board surface and
metallic grounded cover), even if there is no cover. In this case enter “500 mm”, which will not give any influence
to the simulation result . But so you will never forget this item, especially if a cover is really used...
Second Method:
Double-click on the FR4-Symbol in the Project Management. But now press “Select” and once more “Select” to
see the listing of the substrate library. Search for “Rogers R04003(tm)” in the list, mark this item, then click
“OK” and once more “OK”. Now you see again the property menu with the already fixed two entries for Er and
tand.
Substrate Name =
R04003
Height H = 32 mil
HU = 500 mm
Step 5:
This step is not an absolute “must”, because we have changed the substrate reference from “stackup layer” to
“specification by material or resistivity” (See Step 1 of this chapter) and this works well. But for any rate and any
case it is better to use the chosen substrate entries also in the stackup layer property menu. Then you can modify
a project and change the reference without troubles.....
====================================================================================
Now all preparations are finished and we start to draw the circuit diagram.
As in project 2 we need a Microwave Port, a terminating resistance of 136 Ohms and a “Microstrip Transmission
Line, physical length”. After the wiring procedure we double-click on the Transmission Line Symbol and check,
whether “R04003” is already entered as Substrate type.
Then open the Microstrip Calculator (= Line “TRL”)
23
Step 6:
After two “Oks” we see again our circuit diagram, but now
with the calculated line properties beside the symbol.
Here you can see such a CPW (...this illustration comes from
the very good Designer’s Online Help....).
The central signal line is “embedded” into ground planes at
the left, the right and the under side. This gives less crosstalk
from other signal lines and better “shielding” -- and less
influence of the metal cover HU.
Step 1:
Start a new project, choose “Insert Circuit Design” and “FR4-Material, 60 mil”. Save the project under a new name
(here: “lambda_03”) and open every directory and folder in the Project Management.
Step 2:
Open the Property
Menu for the
substrate by
double-clicking on
“FR4” in the
“Data”-folder of the
Project
Management. At
first change now
the metalisation --
so click “Enter” in
the lower right
corner and enter
the new data
Thickness = 1.35
mil
Roughness = 0.1
mil.
Step 4:
Now let us continue with the circuit diagram. Our Microwave Port and the Terminating Resistor of 136 Ohms are
already well-known, but the CPW is still missing.
Step 5:
Important notice: when using a CPW, you have (as usual) to enter the Line Impedance, the Electrical Length and
the Operating Frequency.
But You must also tell the program either the “Gap G” or the “Line Width W” -- the other value will then
be calculated by the program!
So we use a gap of 0.5 mm (a good value for the PCB-production) , an impedance of 82.46 Ohms, an electrical
length of 90 degrees and an operating frequency of 1575 MHz:
26
Do You remember.....?
Topic III
Ansoft Designer III
28
Remarks
For a long time you have been able to get very good and useful, but high priced simulation tools for different tasks
from Ansoft. But Ansoft has always provided free, but limited versions for radio amateurs, students etc.
So the “Designer “ follows this line in his unlimited licensed version. It is not only a simple RF- and Microwave
CAD Program, but also a Filter or Transmission Line Calculator, an S-Parameter Simulator, a linear or non-liner
simulator in the Time Domain, an EM-Machine (for simulating antennas, microstrip lines, waves) and so on...
As a user you don’t miss anything and you ‘ll find every part needed. And You can also compare the simulation of
different simulation principles.
As soon as you start the package on the PC and work on the first project, you learn at once that You
have to cooperate with a “very complicated Lady“ who does not forgive any errors or mistakes.
For the “Little Man” as a user of the free student version this means:
b) Even for the simplest task you have to fight against the complicated desktop of a program
priced at the regions of a new Mercedes or BMW car...
As many different tasks and projects as possible are tackled, solved and described. So the
user gets more and more knowledge of the program functions, buttons and menus.
For this purpose You find a list of “education goals” for every project.
So – as an Ansoft SV beginner -- you should not ignore anything and work through every project to
get more and more experience.
Gunthard Kraus
29
Project 5: Travelling around sharp corners and afterwards turning in the air
Education goal: a) Using “Bends“
b) 2D- and 3D-Layouts
2) So mark the
complete circuit on
your screen with
the mouse.
S-Parameters are normally used to describe the linear RF- and Microwave properties of circuits and components.
That is why the GaAs-Fet “ATF34143” is our next toy. The S-Parameter-File comes from the Agilent Homepage
and you should save it on your harddisk in a “Datasheet Folder”. But you can also find it as an additional gift to
this tutorial.
Step 1:
Start a new project and choose “Insert Circuit Design”. Save it at once under a special name (here, “atf” was
chosen) and copy the S-parameter-file of the ATF34143 into this project folder. Then make visible every folder
and directory in the Project Management. Use any substrate material of your choice (e.g. “FR4, 60 mil”).
Step 2:
Start the circuit drawing with two Microwave Ports.
Step 3:
......then
b) check “Interpolation =
Linear”
(don’t be anxious, if you some day need more but 2 ports: simply change to the network data menu and
search....)
If this work is done, click “OK” and place the Symbol on the screen. But on the screen, the name of your used file
is still missing and not indicated!
34
Double-click on the N-
Port-Symbol and change
to the “Property
Display”-Menu” (1).
Step 3:
Now prepare a
simulation from 0
to 10 GHz (steps:
100 MHz), simulate
and indicate all S-
Parameters S11,
S21, S12, S22.
35
Step 4:
After this success let us have a look at the Noise Figure NF in dB. Therefore click right on the “Report” – Symbol
in the Project Management for the order “Create Report”
Please choose
now
“Noise” under
“Category”
“NF” under
“Quantity”
“dB” under
“Function”.
That means:
Never forget to examine the stability properties of your circuit to avoid any self-oscillating!
36
K>1
in the complete frequency
range, then your circuit
works stable.
So create your report and
choose
“Stability” under
“Category”
0.....+2
Remarks
For a long time you have been able to get very good and useful, but high priced simulation tools for different tasks
from Ansoft. But Ansoft has always provided free, but limited versions for radio amateurs, students etc.
So the “Designer “ follows this line in his unlimited licensed version. It is not only a simple RF- and Microwave
CAD Program, but also a Filter or Transmission Line Calculator, an S-Parameter Simulator, a linear or non-liner
simulator in the Time Domain, an EM-Machine (for simulating antennas, microstrip lines, waves) and so on...
As a user you don’t miss anything and you ‘ll find every part needed. And You can also compare the simulation of
different simulation principles.
As soon as you start the package on the PC and work on the first project, you learn at once that You
have to cooperate with a “very complicated Lady“ who does not forgive any errors or mistakes.
For the “Little Man” as a user of the free student version this means:
b) Even for the simplest task you have to fight against the complicated desktop of a program
priced at the regions of a new Mercedes or BMW car...
As many different tasks and projects as possible are tackled, solved and described. So the
user gets more and more knowledge of the program functions, buttons and menus.
For this purpose You find a list of “education goals” for every project.
So – as an Ansoft SV beginner -- you should not ignore anything and work through every project to
get more and more experience.
Gunthard Kraus
39
We need a direct connection to a Transistor’s Emitter or a FET’s Source to insert a little inductor. By this manner
the stability can be improved without much degeneration of the Noise Properties.
Step 1:
We start a new project, choose “Insert Circuit Design” (with the FR4-Substrate...) and save it under a new name
(here: “atf_02”). Now we need two Microwave Ports and the N-Port. When placing the N-port, you get the familiar
menu.
Show common
reference node.
Now prepare the Analysis Setup for 0......10 GHz (with steps on 0.1 GHz) and create three different reports:
In the Project Management You now find under “Data” the chosen FR4-
Substrate and the S-Parameter-File for the ATF34143.
The three different reports house under “Results”. With mouse clicks you can
change between them.
Negative Resistance
Values of Zin and Zout!!!
Not very good for an amplifier....
You see that this would be a good starting position for the development of a 1.5....2 GHz-Amplifier, but some
development work is still waiting for you.
Important information:
Download the Agilent Application Notes 1190, 1195 and 1288, where the development work of these kind of
amplifiers is described in a good and informative manner.
42
Attention:
Some strict rules exist for SnP-Files, which must never be ignored:
Under “Report 2D” you find the necessary ......so save the Data Table as a simple text file
tool “Copy to File”..... (here: named “LNA_01.txt”)
But you should test the success and use this new file in project 6 with a N-Port-Simulation. If You get the same
results as with the complete circuit of project 7 -- congratulations!
Topic V
Signal analysis using
spectrum analyzer
45
5.1.1 Wave 1
Wave name ? Period [.....] Frequency [.....] Phase [.....] Amplitude RMS [.....]
0.5
0.4
0.3
0.2
0.1
Amp, Volt
-0.1
-0.2
-0.3
-0.4
-0.5
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time, us
1. Generate these signals with your waveform generator, use your wavesurfer to verify.
2. Export this wave form to matlab file (.mat).
-10
Amplitude, dB
-20
-30
0 1 2 3 4 5 6 7 8 9 10
Frequency, MHz
5. Find the amplitude value (P2P) [unit?] allowing to have 0 dBm of maximum peak.
6. @home:
• Explain how to find the maximum of power peak by calculation?
• Verify your calculation with 0 dBm power.
48
5.1.2 Wave 2
Wave name ? Period [.....] Frequency [.....] Phase [.....] Amplitude RMS [.....]
0.5
0.4
0.3
0.2
0.1
Amp, Volt
-0.1
-0.2
-0.3
-0.4
-0.5
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
Time, us
1. Generate these signals with your waveform generator, use your wavesurfer to verify.
-10
Amplitude, dB
-20
-30
0 1 2 3 4 5 6 7 8 9 10
Frequency, MHz
5. Find the amplitude value (P2P) [unit?] allowing to have 0 dBm of maximum peak.
6. @home:
3. Give an approximate shape of the wave shown by Figure 1a in the frequency domain using Figure 1b
4. Ask for signal generation.
51
0.8
0.6
0.4
0.2
Amp, V
-0.2
-0.4
-0.6
-0.8
-1
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time, us
(a) Time domain
-10
-20
Amplitude, dB
-30
-40
-50
Frequency, Hz
(b) Frequency domain
52
3. Give an approximate shape of the wave shown by Figure 1a in the frequency domain using Figure 1b
4. Ask for signal generation.
53
0.8
0.6
0.4
0.2
Amp, V
-0.2
-0.4
-0.6
-0.8
-1
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
Time, us
(a) Time domain
-10
-20
Amplitude, dB
-30
-40
-50
Frequency, Hz
(b) Frequency domain
Topic VI
Circuit analysis using network
analyzer
55
6.1 Fundamentals
6.1.1 Network Analysis Principles
Network is a frequently used term that has many modern-day definitions. With respect to network analysis,
a network is a group of interconnected electrical components. One function that a network analyzer performs
is to quantify the impedance mismatch between two RF components to maximize power efficiency and signal
integrity. Each time an RF signal leaves one component and enters another, portions of the signal are reflected
and transmitted. Consider the analogy shown in Figure 1.
Light from a source directs an incident signal at an optical device, such as a lens. The lens is analogous to an
electrical network. As light hits the lens, depending on the lens’s properties, some of the light is reflected back
at the source, and some is transmitted through. Conservation of energy requires that the sum of the reflected
and transmitted signal equals the source or incident signal. This example ignores any loss due to heat, which
is usually negligible.
We can define a reflection coefficient Γ, a vector quantity with both magnitude and phase, as the ratio of
light being reflected to the total (incident) light. Similarly, the transmission coefficient (T) is the vector ratio
of transmitted light to the incident light. These two quantities are shown in Figure 2.
By using the ratio of reflected or transmitted light to the incident light, you gain insight into the performance
of the Device Under Test (DUT). Thinking back on the light analogy, if the DUT were a mirror, you would
want high reflectivity. If the DUT were a camera lens, you would want it to be highly transmissive. Sunglasses
may have both reflective and transmissive traits.
1 https://en.wikipedia.org/wiki/Network_analyzer_(electrical)
56
Similar practical measurements can be made in electrical networks. A network analyzer generates a sine wave
signal, typically across a range of frequencies. The DUT responds with the incident signal being transmitted
through the DUT and reflected back from it. The amount of transmitted and reflected signal usually changes
with frequency.
The response of the DUT to the incident signal is a result of the DUT properties, as well as any discontinuities
in the characteristic impedance of the system. For instance, a bandpass filter is highly reflective out of band, but
highly transmissive in band. If the DUT is slightly off the characteristic impedance resulting in an impedance
mismatch, the DUT could generate additional unwanted responses. The goal is to develop a measurement
methodology that accurately measures the DUT response while minimizing or eliminating uncertainties.
S11 is defined as the ratio of the energy reflected at port one to the incident signal placed on port one. S21
is defined as the ratio of the energy transmitted through the DUT present at port two to the incident signal
placed on port one. Both of these quantities, S11 and S21 , are referred to as forward S-parameters because the
incident signal originates from the RF source on port one. With the incident source on port two, S22 becomes
the ratio of the energy reflected by port two, divided by the incident source energy at port two, and S12 is the
ratio of the energy transmitted through the DUT present at port one to the incident signal placed on port two.
These are the reverse S-parameters.
S-parameters that describe transmission, such as S21 , are analogous to other familiar terms including gain,
insertion loss, or attenuation. S-parameters that describe reflection, such as S11 , correspond to voltage standing
wave ratio (VSWR), return loss, or reflection coefficient. S-parameters also have other advantages. They
are widely used and understood in modern RF measurements. They are easily translated into H, Z, or other
parameters. You can cascade S-parameters for multiple devices to produce a composite result. More importantly,
S-parameters are ratios. As a result, you do not need to precisely set the incident source power to some absolute
value. Any offset in the input is reflected in the DUT response and canceled out when the ratio of the incident
and transmitted or reflected signals is calculated.
test set. At this stage, the reflected and transmitted signals are separated into components. For each frequency
point the processor measures the individual signals, and computes the parameter value (for example S21 or
VSWR). User calibration, discussed in more detail later, provides error correction that is applied to the data.
Finally, when you interactively use a network analyzer, you can view these corrected values on a display, which
shows the parameters and offers other user functionality, such as scaling.
Depending on performance level and cost, network analyzer architectures offer several ways to achieve the
four block diagrams. Test sets are designed as either transmission/reflection (T/R) or full S-parameter. The
most fundamental implementation, the T/R test set, is shown in Figure 5.
T/R architecture includes a stable source that supplies a sine wave signal at a given frequency and power. A
reference receiver, R, connected with a power divider or directional coupler, measures incident signal magnitude
and phase. The incident signal exits the network analyzer via port one and enters the DUT input. The A
receiver directional coupler measures (in magnitude and phase) any signal reflected back to port one. With
their functions being similar, you can use either directional couplers or resistive bridges to separate signals,
based on performance, frequency range, and cost requirements. The signal transmitted through the DUT enters
network analyzer port two, where the B receiver measures signal magnitude and phase.
Receivers have different architectures, depending on the desired characteristics. They can be thought of as
narrowband receivers with a down converter, IF bandwidth filter, and vector detector, similar to a vector signal
analyzer. They produce real and imaginary signal components from which magnitude and phase can be derived.
In addition, all receivers share the same phase reference with the source, allowing you to measure their phase
with respect to the source incident signal.
T/R architectures are cost-effective, simple, and offer good performance. They measure in only the forward
58
direction, for example, S11 and S21 . To measure reverse parameters, you need to disconnect and reverse the
DUT or rely on external switching. Because you cannot switch the source (incident signal) to port two, error
correction on port two is limited. If your project requirements are compatible with the performance of a T/R
architecture, they are an accurate and cost-effective choice.
In full S-parameter architecture, as shown in Figure 6, there is a switch embedded in the signal path after
the reference receiver coupler.
With the switch in the port-one position, the analyzer measures forward parameters, and in the port-two
position, it measures the reverse parameters without the need to disconnect or switch to reverse the DUT. The
B receiver on the port-two directional coupler measures the forward transmission parameters and the reverse
reflection parameters. The A receiver measures the forward reflection parameters and the reverse transmission
parameters.
The switch is inside the network analyzer measurement path, so user calibration accounts for the switch
uncertainty. However, there may be slight differences in the two switch positions. Additionally, switch contacts
may wear over time, requiring more frequent user calibration. To resolve this, you can move the switch to the
source output and use two reference receivers, R1 and R2, for the forward and reverse paths respectively, as
shown in Figure 7. This higher-performance architecture comes with additional cost and complexity.
The fundamental network analyzer architectures are mostly implemented in the test set where signal sep-
aration occurs. Once the analyzer measures both magnitude and phase for the incident signal (R reference
receiver) and transmitted or reflected signals (A and B receivers), it computes the four S-parameter values, as
shown in Figure 8.
In selecting the proper network analyzer architecture, you should consider the application, performance,
required accuracy, and cost among other factors.
59
6.3 Measurements
For response, please use https://cloud.u-bourgogne.fr/index.php/s/zJFZpkTdFC8f0XL/response.doc. Save
it to your own project directory.
6.3.1 Cable
1. Measure the delay τ and the attenuation ∆ of the cable with the following parameters:
3. What is the frequency range where the losses are less then 1 dB ?.
6.3.2 Attenuator
1. Measure the delay τ and the attenuation ∆ of the attenuator with the following parameters:
3. What is the frequency range where the losses are less then 1 dB ?.
6.3.3 Amplifier
1. Measure the delay τ and gain of the board with the following parameters:
4. What is the frequency range where the losses are less then 1 dB ?.
RFF
BTS
Rx Tx
On-frequency MS
repeater
• Generator.
• Network analyzer.
• ADL5205 board.
• Attenuators.
• Cables.
• Splitters.
• Transitions.
To realize the scheme of the Figure 10. Please, ask for checking the configuration before running.
Wrong configuration may damage devices!
1. Choose frequency centering:200 MHz with span:200 MHz on the network analyzer.
2. Generate a sine wave from the generator with the following parameters:
• Power=-30 dBm.
• Frequency=150 MHz.
3. Sweep manually the frequency values from 150 MHz to 175 MHz.
62
7. According to the scheme of the Figure 10, and the previous measurements, try to find R and ρ by
calculation ?
• What is the transfer function of this system ?
♣ Answer question 14. Refer to NETWORK_ANALYZER/YOUR_GROUP\response.doc
• Define the maximum and the minimum functions of P by calculating its derivative ( ∂P
∂ω ).
The ideal receiver scheme would be to attach an analog-to-digital converter to an antenna. A digital signal
processor would read the converter, and then its software would transform the stream of data from the converter
to any other form the application requires.
An ideal transmitter would be similar. A digital signal processor would generate a stream of numbers. These
would be sent to a digital-to-analog converter connected to a radio antenna.
The ideal scheme is not completely realizable due to the actual limits of the technology. The main problem
in both directions is the difficulty of conversion between the digital and the analog domains at a high enough
rate and a high enough accuracy at the same time, and without relying upon physical processes like interference
and electromagnetic resonance for assistance.2
♣ Answer question 1. Refer to SOFTWARE_DEFINED_RADIO/YOUR_GROUP\response.doc
2 https://en.wikipedia.org/wiki/Software-defined_radio
65
7.2 DVB-T+DAB+FM
7.2.1 Overview
rtl-sdr fm+dab dvb-t stick dongles based on the Realtek RTL2832U can be used as a cheap SDR, since
the chip allows transferring the raw I/Q samples to the host, which is officially used for DAB/DAB+/FM
demodulation.
Figure 13: RTL2832U schematic: AD converter, digital processor, USB slave interface.
7.2.2.2 R820T2 The R820T2 is a highly integrated silicon tuner that builds in low noise amplifier (LNA),
mixer, fractional PLL, VGA, voltage regulator and tracking filter, eliminating the need for external SAW filters,
LNA, balun, and LDO. Thanks the LNA architecture, R820T offers the lowest cost and high performance
3 http://www.realtek.com.tw/products/productsView.aspx?Langid=1&PFid=35&Level=4&Conn=3&ProdID=257
4 http://sdr.osmocom.org/trac/wiki/rtl-sdr
66
solution for digital TV application. On-chip LDO, high performance LNA, and small package enable R820T
the perfect solution for both cost and font factor sensitive applications.5
Refer to SOFTWARE_DEFINED_RADIO/R820T-Rafael-Microelectronics.pdf
♣ Answer question 3. Refer to SOFTWARE_DEFINED_RADIO/YOUR_GROUP\response.doc
5 http://www.datasheetcafe.com/r820t2-datasheet-digital-tuner/
67
1. Digital television.
2. GSM mobile communication.
6 http://airspy.com/
68
• Signal Source: Waveform Generators . Signal Source . click on this block . enter parameters.
• Audio Sink: Audio . Audio Sink . click on this block . enter parameters.
5. Stop GNU Radio . click on Instrumentation . QT . QT GUI Time Sink . connect this block to Signal
Source block . run again. Check that display is matching the entered parameters.
6. Click on Variable Block . set samp_rate value to 1000 . run again . explain this result?
7. Stop GNU Radio . click on Variable Block . set samp_rate value to 1001 . run again . explain this result?
7 http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorial_Introduction
70
8. Stop running . click on Instrumentation . QT . QT GUI Time Sink . connect this block to Signal Source
block . run again. Explain this display.
9. Now, remove Audio Sink and QT GUI Time Sink blocks . click on Instrumentation . QT . QT GUI Sink
. connect the block to the source . check the block parameters . run the flowgraph.
3. WBFM demodulator
4. Audio output - your PC’s sound card.
See Figure 16
1. Run flowgraph.
2. According to Table 2, you should listen SKYROCK radio.
3. Change freq value to listen other radio, refer to Table 2.
2. Add a frequency control by adding QT GUI Range to make switching radios easy. Try it!
Topic VIII
Internet of Things (IoT)
76
to achieve getting temperature from a given place. The architecture of this system is illustrated in Figure 23.
8 https://en.wikipedia.org/wiki/Internet_of_things
77
♣ Answer question 2. Please, save this configuration (click on File . Save Configuration As) to the
following path: C:\M2\INTERNET_OF_THINGS\PROJECT\YOUR_GROUP\
80
3. Click on Open.
4. Restart CC3200 Simplink Launchpad by pushing reset button.
5. If nothing is happening, refer to page 11 of the tutorial.
6. Configure a WiFi access point, using a smart phone for example, as following:
• SSID : cc3200demo
• No password (open connexion)
7. Restart CC3200 Simplink Launchpad by pushing reset button.
8. Now CC3200 Simplink Launchpad must be connected to the access point, you should have a logs, as
shown in Figure 27:
You obtain 401 error from the server, refer to SOFTWARE_DEFINED_RADIO/faq.pdf, modify the file main.c
in CCS to fix this issue (modify #define POST-BUFFER to the appropriate value).
9. If the bug is fixed, repeat previous steps (Compile project, Flashing using uniflash tool) to flash the new
binary file. Now, you should have the logs shown in Figure 28.
10. Close putty.
81
1. Click on the debug icon . Answer "Yes" in the Target Configuration box.
2. Rename NewTargetConfiguration.ccxml . cc3200.ccxml.
3. Click on Finish.
4. Edit cc3200.ccxml as following:
• Connection: Stellaris In-Circuit Debug Interface.
• Board or Device: check CC3200 box.
5. Click save on the right side.
♣ Answer question 5. For a given city, display temperatures in the following units:
• Fahrenheit (imperial).
• Metric (Celsius).
• Default (Kelvin).
, Kelvin, Celsius.
2. Using debug mode and break points to locate the C function allowing to display data.
♣ Answer question 6. Give a brief description of the C-function allowing to display data.
<current>
<city id="2643741" name="City of London">
<coord lon="-0.09" lat="51.51">
<country>GB</country>
<sun rise="2015-06-30T03:46:57" set="2015-06-30T20:21:12">
</city>
<temperature value="72.34" min="66.2" max="79.88" unit="fahrenheit"/>
<humidity value="43" unit="%">
<pressure value="1020" unit="hPa">
83
<wind>
<speed value="7.78" name="Moderate breeze">
<direction value="140" code="SE" name="SouthEast">
</wind>
<clouds value="0" name="clear sky">
<visibility value="10000">
<precipitation mode="no">
<weather number="800" value="Sky is Clear" icon="01d">
<lastupdate value="2015-06-30T08:36:14">
</current>
• Humidity, in %.
• Pressure, in hPa.
♣ Answer question 8. For a given city, take a sceen-shot showing the added informations.
8.7 Go further ..
For documentation, refer to C:\ti\CC3200SDK_1.2.0\cc3200-sdk\docs\example\