Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Overview
This tutorial describes how to combine the NI PCI-5640R IF Transceiver module with the Texas Instruments TSW-5002 RF/Analog transceiver reference design to create a software-configurable RF
transceiver system. The tutorial will outline the required system components, connections, software examples, and applications.
Table of Contents
1. Overview
2. The System and Components
3. Connecting and Configuring the System
4. For More Information
1. Overview
Wireless communication has become increasingly prevalent in the past decade, and with thousands of RF devices now on the market, the ability to communicate these devices has grown in
importance. National Instruments has partnered with Texas Instruments to offer a low-cost, software-defined RF transceiver system that can operate in the 2.3 – 2.5GHz range and communicate
with a vast array of wireless devices. By combining the NI PCI-5640R with the Texas Instruments® TSW-5002EVM RF/Analog transceiver reference design, we are able to implement a solution that
is fully-configurable in LabVIEW and capable of applications from simple RF signal generation and spectrum analysis to the design of RF communications systems. By utilizing the configurability of
LabVIEW, along with the use of the Spectral Measurements Toolkit and Modulation Toolkit, the possibilities of this transceiver system are endless. This technical application note will briefly describe
the components involved, and give detailed instructions on how to set up and implement a low-cost, software-defined 2.3 – 2.5GHz RF transceiver system.
Figure 1
2. The System and Components
Figure 1 illustrates the required components in the transceiver system, as well as the interface between components. See details below descriptions of each individual component.
Wireless Device
This device can be any communication component that operates in the 2.3GHz to 2.5GHz frequency range.
Antenna
Any antenna that operates in the 2.3 – 2.5GHz range is acceptable.
Recommendation
Figure 2
This 2.4GHz WiFi antenna can amplify a standard 2dBi signal to 7dBi. If using this antenna, you will also need the Hawking HACSA MCX to SMA Jumper Cable, since the up/down converter module
has an MCX antenna connection.
Up/Down Converter
The up/down converter stage is required to convert from IF to RF in transmit mode and from RF to IF in receive mode.
Recommendation
Figure 3
The block diagram for the TSW-5002EVM can be seen in Figure 3. The Texas Instruments TSW-5002EVM is an RF/Analog transceiver reference design module operating in TDD mode at the 2.3 –
2.5GHz band. It includes the TRF1121 - a TX IF upconverter, the TRF1122 - a TX RF upconverter, the TRF1123 – a TX power amplifier, the TRF1112- an integrated LNA and down mixer and the
TRF1115- an RX IF downconverter. The module is designed to merge with a digital baseband processing card, but for stand alone evaluation, the reference board can be merged with the interface
board to facilitate programming and piping RF signals into and out to RF equipment. In the procedures outlined in this application note, we will be using the reference board coupled with the interface
board, and programming the board through the parallel port interface. The following are descriptions of the individual sub-components required by the TSW-5002EVM device.
Power Supply
For this transceiver system, the up/down converter module requires two 6VDC banana plug power connections and a combined 1.5A. Any power supply that meets these specifications is
acceptable.
Recommendation
Figure 4
This supply has adjustable regulated output voltage from 0-18VDC, adjustable output current from 0-3A, and banana plug outputs (cables not included).
Note that applying a voltage higher than 6.3V could permanently damage the board.
Additional Recommendation
Figure 5
This adapter is low-cost and capable of supplying the 6V and combined 1.5A needed by the TSW-5002EVM Module. It is not a regulated supply, however, and might be limited in supply current
during transmission operation. If you use this power supply, you will need to convert the output leads to a banana plug form factor. You can use the Radio Shack Adaptaplug Accessory, model
273-1742, and then solder banana plug leads to these wires.
Cables
In addition to banana plug cables for the power supply, two SMA cables are needed to connect the up/down converter module to the PCI-5640R IF module. The cables must be rated up to 2.5GHz
and have male SMA connections on each end.
Recommendation
NI SMA100 cable
Figure 6
This cable is available in 15cm (part number 763443-01) and 45cm (part number 763444-01) lengths.
2/7 www.ni.com
This cable is available in 15cm (part number 763443-01) and 45cm (part number 763444-01) lengths.
IF Transceiver
The IF transceiver module processes and generates baseband signals.
Required
NI PCI-5640R Software Defined Radio IF Transceiver
Figure 7
Figure 7 shows a block diagram of the NI PCI-5640R, which is a 2-channel IF input/2-channel IF output PCI board with a Xilinx FPGA. The PCI bus interface is provided by the NI DAQ-STC2 ASIC,
which has four DMA channels that are able to transport streams between the host CPU (PC) and the Xilinx FPGA. Digital upconversion and digital downconversion are done within the ADCs/DACs,
thus offloading the Xilinx FPGA. The device has 14bits of resolution and a 100MS/s maximum sampling rate for analog input and a 200MS/s update rate for analog output.
Follow this link for more information about the NI PCI-5640R.
PC and Software
The NI PCI-5640R plugs into a desktop PC through a standard PCI interface and requires a full-length PCI slot. The TSW-5002EVM module communicates through the computer’s parallel port.
Drivers, example programs, and a software development environment are also required components on the PC.
Recommendation
Dell Precision 380, 2.99 GHz Pentium 4, 1GB RAM with Parallel Port
Figure 8
The software-defined transceiver system is fully-configurable with NI LabVIEW. To create a full RF communications system, you will also need the NI Spectral Measurements Toolkit and the NI
Modulation Toolkit. Please refer to the NI-5640R Readme file, which is available on the NI-5640R CD or by downloading the NI-5640R driver, for more information on system requirements.
3. Connecting and Configuring the System
Once you have obtained the required components, you are ready to connect and configure the RF transceiver system. The following instructions will guide you through the setup process.
1. Consult the NI-5640R IF Transceiver Getting Started Guide for information on how to install the software and hardware for the NI-5640R.
3/7 www.ni.com
Figure 9
Wire the error cluster through the Configure_TSW500x.vi.
Create a constant for 2G5/3G5 and set to False (TSW-5002EVM).
Create a constant for RX RF Frequency (MHz) and enter the center frequency of the signal you are receiving.
Create a constant for Filter Select and LNA Attn. Toggle the Filter Select boolean to switch between two 44MHz filters that have different bandwidth: 3.5MHz and 7MHz. Toggle the LNA Attn
boolean to engage or disengage the bypass on the second LNA stage.
Create a constant for One_shot? and set to True.
Rx6. Use an SMA cable to connect J3 (RXOUT) from the up/down converter module to Analog Input Channel 0 on the back of the PCI-5640R device.
4/7 www.ni.com
Figure 10
Choose your device from the drop down menu. If you specified a VISA alias for your IF transceiver in MAX, you will see that name in the drop down menu.
Enable channel 0 and specify a center frequency of 44MHz (this is the RX baseband frequency of the up/down converter). Choose a span that is appropriate to your signal. The default values
for the other controls can remain unchanged.
5/7 www.ni.com
Figure 11
Transmitter System
Tx5. Use an SMA cable to connect J2 (TXIN) from the up/down converter module to Analog Output Channel 0 on the back of the PCI-5640R device.
Figure 12
Choose your device from the drop down menu. If you specified a VISA alias for your IF transceiver in MAX, you will see that name in the drop down menu.
Enable channel 0 and specify a carrier frequency of 18MHz (this is the TX baseband frequency of the up/down converter).
Set the power level (dBm) to -20. This is the input specification for the up/down converter.
6/7 www.ni.com
Figure 13
7/7 www.ni.com