Hello,
Does anybody have a working Simulink model that implements a basic AM or FM transmitter?
Thank you.
Basic AM/FM transmitter in Simulink
-
- Posts: 455
- Joined: Thu Jun 06, 2013 8:15 pm
Re: Basic AM/FM transmitter in Simulink
Perhaps you could modify some of the RTL-SDR examples?
I haven't worked with these, but from the documentation and block diagrams, it seems like they'd be a good start...
I haven't worked with these, but from the documentation and block diagrams, it seems like they'd be a good start...
-
- Posts: 4
- Joined: Fri Feb 27, 2015 1:51 pm
Re: Basic AM/FM transmitter in Simulink
Thank you for the reply jyink.
The RTL-SDR examples are for a receiver. However, I am looking for a transmitter using Simulink and the bladeRF.
I've been following the Simulink examples for the USRP, which can be found here: http://www.mathworks.com/help/supportpk ... k-examples.
However, even with a very simple AM transmitter the spectrum produced by the bladeRF is very "noisy" and "choppy". Here is the Simulink model I am using as my transmitter: This is how the bladeRF sink block is being configured: Here is the configuration of the sinewave block: Any help or insight will be appreciated
Thank you
The RTL-SDR examples are for a receiver. However, I am looking for a transmitter using Simulink and the bladeRF.
I've been following the Simulink examples for the USRP, which can be found here: http://www.mathworks.com/help/supportpk ... k-examples.
However, even with a very simple AM transmitter the spectrum produced by the bladeRF is very "noisy" and "choppy". Here is the Simulink model I am using as my transmitter: This is how the bladeRF sink block is being configured: Here is the configuration of the sinewave block: Any help or insight will be appreciated
Thank you
-
- Posts: 455
- Joined: Thu Jun 06, 2013 8:15 pm
Re: Basic AM/FM transmitter in Simulink
Perhaps try a lower sample rate as a test? What you're describing sounds like discontinuities the MATLAB sink is not keeping up...
For the same hardware configuration, you could try supplying your samples in a CSV format to the bladeRF-cli (using the tx config file=myfile.csv format=csv and tx start commands). You should definitely be able to run at that low of a sample rate.
If the above CLI test works, this would tell us that something about that MATLAB bladeRF sink needs debugging and improvement.
For the same hardware configuration, you could try supplying your samples in a CSV format to the bladeRF-cli (using the tx config file=myfile.csv format=csv and tx start commands). You should definitely be able to run at that low of a sample rate.
If the above CLI test works, this would tell us that something about that MATLAB bladeRF sink needs debugging and improvement.
-
- Posts: 15
- Joined: Wed May 07, 2014 8:59 pm
Re: Basic AM/FM transmitter in Simulink
It's a simple narrow band FM transmitter with SimuLink (MATLAB 2015b).
Am I too late?
Am I too late?