LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bpsk generation

hi everyone,

 

plz assist me , how can i generate bpsk from this block diagram.

 

Also help me out that how can i synchronize the frequency of the pn sequence with that of the sine wave.

 

With Regards

0 Kudos
Message 1 of 2
(2,515 Views)

I am not sure what you mean by synchronizing the frequencies.

 

To do the modulation you should have the sampling rates the same and the array sizes the same.  Currently you appear to be limited by the size of you code array, 512 or 511 elements.

 

The attached file has both the sine and square waves generated with the same sample rate and the same number of samples. The product looks like BPSK where the modulation rate is much faster than the carrier frequency. The spectrum is rather random.

 

Why are you using size of 2 for the FFT? The Fourier transform of two points is completely meaningless. You need several cycles of the lowest frequency to get a decent spectrum.

 

Lynn

0 Kudos
Message 2 of 2
(2,460 Views)