usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Re: [USRP-users] Simulink and USRP2

AK
Amith Khandakar
Fri, Nov 30, 2012 9:40 PM

Dear Mr. Mike

Do you have any example for Real Time Image streaming using USRP ( 2 of them ).

I am working on a model , but can you help me with any built Simulink model which transmits and on the other hand I can receive the image and reconstruct it.

Sorry for the little information , but you can refer the attachment for more information:

  1.   First run the m-file
    
  2.   Then run the Simulink model to use the data created from the m file and then regenerate it ( image streaming )
    

I have plans of introducing a AWGN channel once I can properly reconstruct the image on the other side and then finally involve the USRP.

I hope I could make you understand what I am trying to do .

THANK YOU SO MUCH for taking the time and helping me out with this. WILL REALLY APPRECIATE IF YOU CAN HELP ME.

God Bless.

Regards

Amith
From: Mike McLernon [mailto:Mike.McLernon@mathworks.com]
Sent: Wednesday, November 28, 2012 4:50 PM
To: Amith Khandakar
Cc: usrp-users@lists.ettus.com
Subject: RE: Simulink and USRP2

Hi Amith,

You can post to the list, and you’ll get a response.

Best,
Mike

From: USRP-users [mailto:usrp-users-bounces@lists.ettus.com]mailto:[mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Amith Khandakar
Sent: Wednesday, November 28, 2012 12:32 AM
To: usrp-users@lists.ettus.commailto:usrp-users@lists.ettus.com
Subject: [USRP-users] Simulink and USRP2

Hello everyone

Can anyone help me with an Implementation I am trying to do with Simulink and USRP 2.

Please reply me back if you have some experience , so that I can share the problem I am facing now .

Regards


رؤيتنا: أن تصبح جامعة قطر نموذجا للجامعة الوطنية في المنطقة، تتميز بنوعية التعليم والأبحاث، وبدورها الرائد في التنمية الاقتصادية والاجتماعية.

Our Vision: Qatar University shall be a model national university in the region, recognized for high quality education and research, and for being a leader of economic and social development.

Dear Mr. Mike Do you have any example for Real Time Image streaming using USRP ( 2 of them ). I am working on a model , but can you help me with any built Simulink model which transmits and on the other hand I can receive the image and reconstruct it. Sorry for the little information , but you can refer the attachment for more information: 1. First run the m-file 2. Then run the Simulink model to use the data created from the m file and then regenerate it ( image streaming ) I have plans of introducing a AWGN channel once I can properly reconstruct the image on the other side and then finally involve the USRP. I hope I could make you understand what I am trying to do . THANK YOU SO MUCH for taking the time and helping me out with this. WILL REALLY APPRECIATE IF YOU CAN HELP ME. God Bless. Regards Amith From: Mike McLernon [mailto:Mike.McLernon@mathworks.com] Sent: Wednesday, November 28, 2012 4:50 PM To: Amith Khandakar Cc: usrp-users@lists.ettus.com Subject: RE: Simulink and USRP2 Hi Amith, You can post to the list, and you’ll get a response. Best, Mike From: USRP-users [mailto:usrp-users-bounces@lists.ettus.com]<mailto:[mailto:usrp-users-bounces@lists.ettus.com]> On Behalf Of Amith Khandakar Sent: Wednesday, November 28, 2012 12:32 AM To: usrp-users@lists.ettus.com<mailto:usrp-users@lists.ettus.com> Subject: [USRP-users] Simulink and USRP2 Hello everyone Can anyone help me with an Implementation I am trying to do with Simulink and USRP 2. Please reply me back if you have some experience , so that I can share the problem I am facing now . Regards ________________________________ رؤيتنا: أن تصبح جامعة قطر نموذجا للجامعة الوطنية في المنطقة، تتميز بنوعية التعليم والأبحاث، وبدورها الرائد في التنمية الاقتصادية والاجتماعية. Our Vision: Qatar University shall be a model national university in the region, recognized for high quality education and research, and for being a leader of economic and social development.
MM
Mike McLernon
Mon, Dec 3, 2012 2:32 PM

Hi Amith,

The Comms System Toolbox (CST) does not have any examples of real time image streaming, but it does have examples of text message streaming.  In R2012a, the CST shipped a Simulink-based example called ‘commqpsktxrx’ that streams data using QPSK modulation, an AWGN channel, open-loop frequency correction, closed-loop frequency and phase recovery, closed-loop symbol timing recovery, and correlation-based frame synchronization.  The model displays the text message at the MATLAB command prompt when the simulation finishes.

Also in R2012a, the USRP support package shipped two USRP-based examples that perform the same function as commqpsktxrx.  The first, sdruqpsktx, implements the QPSK transmitter and sends data into an SDRu Transmitter block.  The second, sdruqpskrx, receives the data with an SDRu Receiver block, then performs the demodulation described in the paragraph above.

The type or source of data has no bearing on the modulation/demodulation scheme.  If you use the QPSK models as your starting point, you should be able to use image data as your source and make the necessary adaptations to the model(s) to reconstruct it at the receiver.

Hth,

Mike

From: Amith Khandakar [mailto:amitk@qu.edu.qa]
Sent: Friday, November 30, 2012 4:40 PM
To: Mike McLernon
Cc: usrp-users@lists.ettus.com
Subject: RE: Simulink and USRP2

Dear Mr. Mike

Do you have any example for Real Time Image streaming using USRP ( 2 of them ).

I am working on a model , but can you help me with any built Simulink model which transmits and on the other hand I can receive the image and reconstruct it.

Sorry for the little information , but you can refer the attachment for more information:

  1.   First run the m-file
    
  2.   Then run the Simulink model to use the data created from the m file and then regenerate it ( image streaming )
    

I have plans of introducing a AWGN channel once I can properly reconstruct the image on the other side and then finally involve the USRP.

I hope I could make you understand what I am trying to do .

THANK YOU SO MUCH for taking the time and helping me out with this. WILL REALLY APPRECIATE IF YOU CAN HELP ME.

God Bless.

Regards

Amith

From: Mike McLernon [mailto:Mike.McLernon@mathworks.com]
Sent: Wednesday, November 28, 2012 4:50 PM
To: Amith Khandakar
Cc: usrp-users@lists.ettus.com
Subject: RE: Simulink and USRP2

Hi Amith,

You can post to the list, and you’ll get a response.

Best,

Mike

From: USRP-users [mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Amith Khandakar
Sent: Wednesday, November 28, 2012 12:32 AM
To: usrp-users@lists.ettus.com
Subject: [USRP-users] Simulink and USRP2

Hello everyone

Can anyone help me with an Implementation I am trying to do with Simulink and USRP 2.

Please reply me back if you have some experience , so that I can share the problem I am facing now .

Regards


رؤيتنا: أن تصبح جامعة قطر نموذجا للجامعة الوطنية في المنطقة، تتميز بنوعية التعليم والأبحاث، وبدورها الرائد في التنمية الاقتصادية والاجتماعية.

Our Vision: Qatar University shall be a model national university in the region, recognized for high quality education and research, and for being a leader of economic and social development.

Hi Amith, The Comms System Toolbox (CST) does not have any examples of real time image streaming, but it does have examples of text message streaming. In R2012a, the CST shipped a Simulink-based example called ‘commqpsktxrx’ that streams data using QPSK modulation, an AWGN channel, open-loop frequency correction, closed-loop frequency and phase recovery, closed-loop symbol timing recovery, and correlation-based frame synchronization. The model displays the text message at the MATLAB command prompt when the simulation finishes. Also in R2012a, the USRP support package shipped two USRP-based examples that perform the same function as commqpsktxrx. The first, sdruqpsktx, implements the QPSK transmitter and sends data into an SDRu Transmitter block. The second, sdruqpskrx, receives the data with an SDRu Receiver block, then performs the demodulation described in the paragraph above. The type or source of data has no bearing on the modulation/demodulation scheme. If you use the QPSK models as your starting point, you should be able to use image data as your source and make the necessary adaptations to the model(s) to reconstruct it at the receiver. Hth, Mike From: Amith Khandakar [mailto:amitk@qu.edu.qa] Sent: Friday, November 30, 2012 4:40 PM To: Mike McLernon Cc: usrp-users@lists.ettus.com Subject: RE: Simulink and USRP2 Dear Mr. Mike Do you have any example for Real Time Image streaming using USRP ( 2 of them ). I am working on a model , but can you help me with any built Simulink model which transmits and on the other hand I can receive the image and reconstruct it. Sorry for the little information , but you can refer the attachment for more information: 1. First run the m-file 2. Then run the Simulink model to use the data created from the m file and then regenerate it ( image streaming ) I have plans of introducing a AWGN channel once I can properly reconstruct the image on the other side and then finally involve the USRP. I hope I could make you understand what I am trying to do . THANK YOU SO MUCH for taking the time and helping me out with this. WILL REALLY APPRECIATE IF YOU CAN HELP ME. God Bless. Regards Amith From: Mike McLernon [mailto:Mike.McLernon@mathworks.com] Sent: Wednesday, November 28, 2012 4:50 PM To: Amith Khandakar Cc: usrp-users@lists.ettus.com Subject: RE: Simulink and USRP2 Hi Amith, You can post to the list, and you’ll get a response. Best, Mike From: USRP-users [mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Amith Khandakar Sent: Wednesday, November 28, 2012 12:32 AM To: usrp-users@lists.ettus.com Subject: [USRP-users] Simulink and USRP2 Hello everyone Can anyone help me with an Implementation I am trying to do with Simulink and USRP 2. Please reply me back if you have some experience , so that I can share the problem I am facing now . Regards ________________________________ رؤيتنا: أن تصبح جامعة قطر نموذجا للجامعة الوطنية في المنطقة، تتميز بنوعية التعليم والأبحاث، وبدورها الرائد في التنمية الاقتصادية والاجتماعية. Our Vision: Qatar University shall be a model national university in the region, recognized for high quality education and research, and for being a leader of economic and social development.