FSK using baseband modulation
Mostra commenti meno recenti
Hello,
I want to create a FSK modulator using the "*M-FSK Modulator Baseband*" block, the input is Bernoulli Binary Generator (0, 1) , but i cant get the good output ( 2 different frequencies ) on the scope in real time !!??
P.S : the output shown is bad because the frequency is the same whatever the input is 0 or 1. !!!
Thanks a lot,
Bye
2 Commenti
Rick Rosson
il 17 Giu 2011
Can you please post a screen shot showing the mask parameters (dialog box settings) of the 2-FSK modulator block? Thanks!
al-comm
il 19 Giu 2011
Risposta accettata
Più risposte (2)
Rick Rosson
il 21 Giu 2011
You are getting closer to the right answer, but still not quite there yet. In your schematic, you are feeding the output of a real-valued sine wave to the input of the complex exponential function. So the output of the complex exponential block is:
exp(j*sin(2*pi*Fc*t))
where Fc represents the carrier frequency (in hertz). This modulation signal is not quite correct.
The correct output of the complex exponential should be:
exp(j*2*pi*Fc*t)
That means the input to the complex exponential function should be the simulation clock t feeding a gain block with a value of 2*pi*Fc.
Please give that a try.
Alternatively, I believe that you can generate a complex exponential output from the Sine Wave block. Please check the dialog box.
HTH.
Rick
1 Commento
al-comm
il 21 Giu 2011
Derek Eccles
il 9 Apr 2019
0 voti
I am using a Math function block with the exp. function selected and the output data type as complex, to generate the carrier.
I then feed this to a complex to re-im block thinking this would get me the cosine and sine carriers which are required for 2_FSK.
The Im signal is a constant flat line, while the re signal is an exponential. Nothing like cosine or sine which I was hoping for ?
Categorie
Scopri di più su FSK in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!