waveform generation using matlab and sdr video -凯发k8网页登录
the pluto radio and xilinx® zynq®-based radio support packages from communications toolbox™ can be used to repeatedly transmit arbitrary signals onto the air using software defined radio (sdr) hardware. using a simple-to-use matlab® interface, any signal can be generated and downloaded onto the sdr hardware, from where it is repeatedly transmitted over the air. in parallel, the signal can be received and easily visualized, so the channel effects are visible on the received signal. first, a few lines of matlab code from wlan toolbox™ are used to generate a fully standard-compliant wlan beacon signal. the sdr hardware is easily configured with a simple matlab object, and the generated signal is loaded onto the connected sdr hardware. the signal is then repeatedly transmitted onto the air. it is shown how the beacon signal appears on a laptop display as it scans for wifi networks. in parallel, simulink® is used to show how the spectrum of the transmitted signal can be viewed in real time. next, a fully custom ofdm waveform is generated using the communications toolbox waveform generation app. some null pilot signals are easily inserted to give the spectrum a distinctive shape before the signal is again loaded onto the attached sdr hardware and transmitted onto the air. the spectrum analysis setup from before is used in parallel to see the ofdm signal being transmitted in real time.
this video shows you how to generate and transmit standards-compliant and custom waveforms using mathworks toolboxes and sdr connectivity. first, i will show you how to use wlan toolbox to generate and transmit an 802.11 beacon signal. then i will show you how to use the waveform generator app to generate and transmit a fully custom ofdm waveform.
let’s start by opening a simple simulink model that we will use to display the real-time received spectrum. note that this spectrum display can also easily be achieved in matlab. looking at the receiver block parameters, i will configure the sdr device to sample at a sampling rate of 40mhz at a center frequency of 5.3ghz. simply clicking play on this model will start the reception of samples from my attached hardware and display the spectrum analyzer. you can see some form of signal being transmitted 15mhz below my center frequency.
returning to the matlab prompt, i will now generate my wlan waveform with a prewritten script which is built on wlan toolbox functionality. the script returns a waveform sampled at 20mhz and configured to transmit at 5.3ghz. next, i create the transmitter object i will use to configure the sdr device and transmit my waveform. i simply set the minimum set of parameters; namely, sampling rate, center frequency, and gain. next, i resample my waveform to match my receiver sampling rate of 40mhz and call a single method on my transmitter object, which will download the waveform to my sdr device and transmit it repeatedly onto the air. you can see the sporadic beacon signals being transmitted, and, zooming in on the access point list on my laptop, you can see the test beacon that has been transmitted. in a matter of a couple of minutes, i have generated and transmitted a fully standard-compliant wlan waveform onto the air.
next, i will generate and transmit a custom ofdm waveform. to do this, i will use the waveform generator app, which lets you generate, impair, visualize, and export modulated waveforms, including ofdm, qam, psk, and wlan. to open the app, browse the available apps on the matlab toolstrip and select wireless waveform generator. in the waveform app, you can see that i have prepopulated an ofdm signal with some zero value pilots, giving a notch in the spectrum. i can generate the waveform and export it to the matlab workspace. looking at the waveform, i can see that it has been sampled at 16mhz. again, i resample the generated waveform to the sample rate the hardware is configured to use and transmit it onto the air using a single line of code. again, we see in the received spectrum the clear notch that we generated with the waveform generator app.
the functionality i have shown here is available in two different support packages for xilinx zynq-based radio hardware and analog devices pluto radio hardware. the support packages are free downloads based on communications toolbox. to find these support packages, you can search for “matlab sdr” in your favorite search engine. the matlab and simulink sdr page should be at or near the top. on the page you can find out more details on the support packages shown in this video, or some of our other sdr support.
featured product
communications toolbox
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 mathworks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- (español)
- (english)
- (english)
欧洲
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
亚太
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)