Manual usrp radio support package hardware setup matlab. The bit generation subsystem uses a matlab workspace variable as the payload of a frame, as shown in the figure below. It is important to note that the real world rate at which the model runs is determined by the baseband sample rate in e3xx sdr transmitter block, and not by the simulation sample time. You will be using matlab and simulink for the ece 4305 laboratory. Implementing a matlabbased selfconfigurable software defined. The transmitter and receiver codes are executed with the usersupplied. This model shows how to use the universal software radio peripheral usrp device with simulink to implement a qpsk receiver. The usrp device in this model will keep transmitting indexed hello world. Since you will be using matlabsimulink for the experiments, this tutorial has been prepared and is. Niusrp includes examples for getting started and other sdr functionality. Matlab and simulink support package for usrp radio includes.
In that case, perform a manual frequency calibration using the companion. Select manual for method, and click the add button. Communications toolbox support package for usrp radio. The master clock rate and decimation factor are set to obtain sample rate of 200 khz at the output of the sdru receiver block. Transmission of a qpsk waveform using usrp e3xx matlab. Communications toolbox support package for usrp radio documentation examples blocks and other reference release notes pdf documentation.
Create transmitter system object for usrp embedded series. The support package enables the use of usrp as a standalone peripheral for live rf data io using matlab functions or simulink blocks. The signal is generated by the lte system toolbox and random bits are inserted into the sib1 field, the first of the system information blocks. The 200 khz sample rate is not aliased the audio signal, however, it enables real time operation on desktop. Use addon manager to uninstall the support package. It is integrated with matlab to offer modelling, simulation, and analysis of dynamical systems within a graphical user interface environment. Simulink includes a comprehensive block library of toolboxes for both linear and nonlinear analysis. There is another implementation of this example that uses simulink. For example, for a b210 radio, set masterclockrate to 20 mhz and decimationrate to 100. Area to explore and experiment after installation of the communications toolbox support package for usrp radio. B200 system architecture the integrated rf frontend on the usrp b200 is designed with the new analog devices ad9364, a single chip direct conversion transceiver and digital baseband processor, capable of. With this object, you can configure the radio hardware and. Frequency offset calibration receiver with usrp hardware. This is an online, interactive lab that contains instructions, multimedia, and assessments where students can learn at their own pace.
Choose a web site to get translated content where available and see local events and offers. If the device is an n2xx or x3xx series radio, this syntax loads the default images to the radio at ip address 192. You can communicate with these sdr platforms directly from matlab and simulink to perform radiointheloop testing, prototyping, and handson learning. Instructionsforusingtheusrpwith matlab simulink there%are%three%things%that%must%be%done%to%setup%the%systemso%that%the%usrp%can%be% interfaced%with% matlab. Load fpga and firmware images for usrp radio matlab. How can i make a simulink model for sdru transmitter and receiver. Send data to usrp device matlab mathworks united kingdom. If it results in a success that means your usrp ready and is talking with matlab. The receiver addresses practical issues in wireless communications, e. While a conjugatemultiply block does exist within gnu radio, this examples. Niusrp examples the instrument driver examples are instructional tools that demonstrate some of the functionality of the usrp29002901. The output rate of the raised cosine filter is set to be 400k samplessecond with a. Ettus usrp e300 embedded family getting started guides.
The sdru receiver block takes in the baseband discretetime complex samples from the usrp hardware. Based on your location, we recommend that you select. Usrp29002901 getting started guide national instruments. Avoid producing a warning or error message for inherited sample times in source blocks.
Usrp and outer metal case of the usrp rio device simultaneously. Uses both channels of usrp b210, x300 or x310 to transmit an lte downlink signal that requires two antennas. Communications toolbox support package for usrp embedded. Frequency offset calibration receiver with usrp hardware open script this example shows how to use the universal software radio peripheral devices exploiting sdru software defined radio usrp system objects to measure and calibrate for transmitterreceiver frequency offset at the receiver using matlab. This example describes the matlab implementation of a qpsk receiver with usrp hardware. Loading the firmware and fpga images onto the usrp.
Data link layer, medium access control mac sublayer, and logical link control sublayer functionality and examples. There is not much examples about using simulink to work with usrp. You can access the niusrp examples from the following. Matlab and simulink connect to usrp softwaredefined radios sdr from ettus research llc to provide a radiointheloop design and modeling environment. Instructionsforusingthe usrp with matlab simulink there%are%three%things%that%must%be%done%to%setup%the%systemso%that%the% usrp %can%be% interfaced%with% matlab. As an instructor, you can create and edit instances of this lab, assign them to students, and view student progress. Removed interface with usrp e310 or usrp e312 radio. A stepbystep guide for doing this is available at the building and installing the usrp opensource toolchain uhd and gnu radio on linux, os x and windows application notes. Instructions for using the usrp with matlabsimulink csun. You can use these examples separately or integrate them into your systems. Here are some examples of what you can do with a usrp b200. Matlab and simulink provides support packages for popular sdr hardware. This example describes the simulink implementation of a qpsk transmitter with usrp e3xx sdr platform. The first 26 bits are header bits, a bit barker code that has been oversampled by two.
1524 1557 25 429 1683 321 642 961 1597 359 883 1190 593 1413 716 1076 293 889 1183 964 533 267 507 554 1453 1517 1330 526 894 920 1125 1283 73 709 1496 758 1004 182