# Ssb - question

**URL:** <https://www.ruby-forum.com/t/ssb-question/243288>\
**Category:** GNU Radio\
**Created:** [September 8, 2015, 2:49pm UTC](https://www.ruby-forum.com/t/ssb-question/243288 "2015-09-08T14:49:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [September 8, 2015, 2:49pm UTC](https://www.ruby-forum.com/t/ssb-question/243288/1 "2015-09-08T14:49:14Z")

</div>

Hi everybody

Im trying to make SSB modulation with Hilbert transform. And Im using IQ  
modulator  
here is schema:  
[http://postimg.org/image/gms5srret/](http://postimg.org/image/gms5srret/)

And I have a question. In Frequency domain there should be one peak, and  
on  
on my plot there is one - that is good, and second that is  
smaller/suppressed.

Is something wrong ?? or is it normal ??

Is Hilbert method for creating SSB signal is good ?? or can it be made  
easier ???

thank you very much.  
Przemek L.

---

<div class="post-metadata">

**Author:** ![przemek\_l](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ce73a5/32.png) [@przemek\_l](https://www.ruby-forum.com/u/przemek_l)\
**Post date:** [September 8, 2015, 2:50pm UTC](https://www.ruby-forum.com/t/ssb-question/243288/2 "2015-09-08T14:50:24Z")

</div>

Sorry I didnt attached second plot.

[http://postimg.org/image/h0y3640w5/](http://postimg.org/image/h0y3640w5/)

2015-09-08 14:48 GMT+02:00 Przemek L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![przemek\_l](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ce73a5/32.png) [@przemek\_l](https://www.ruby-forum.com/u/przemek_l)\
**Post date:** [September 8, 2015, 6:33pm UTC](https://www.ruby-forum.com/t/ssb-question/243288/3 "2015-09-08T18:33:34Z")

</div>

Your first problem is that you’re using a 32k sample rate with a 20k  
sin/cos. This will actually come out as a 12k sin/cos, due to aliasing.  
Try the same thing again with a 48k sample rate and see what happens.

Either bandpass filtering or a Hilbert transform can be used to create  
SSB.

Not sure what your flowgraph does, but it looks fun.

Jeff.

---

<div class="post-metadata">

**Author:** ![przemek\_l](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ce73a5/32.png) [@przemek\_l](https://www.ruby-forum.com/u/przemek_l)\
**Post date:** [September 9, 2015, 3:43pm UTC](https://www.ruby-forum.com/t/ssb-question/243288/4 "2015-09-09T15:43:02Z")

</div>

Unless you’re building the IQ modulator with real signals for  
educational purposes, go with the flowgraph Ron mentioned.  
Multiplication by a complex sine is much easier. You can also use a  
Rotator or Frequency Xlating Filter to do similar things. The bandpass  
filter can be built in to the Xlating Filter.

On the additional peaks, the second highest one is about 50 dB lower  
than the desired one. From a real hardware point of view, it might as  
well not be there (same as 1mW vs 100W). If you use a bandpass filter,  
you can make it arbitrarily small, but filtering should be done based on  
requirements, not just to make a plot look nice.

- Jeff

---

<div class="post-metadata">

**Author:** ![przemek\_l](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ce73a5/32.png) [@przemek\_l](https://www.ruby-forum.com/u/przemek_l)\
**Post date:** [September 8, 2015, 7:13pm UTC](https://www.ruby-forum.com/t/ssb-question/243288/5 "2015-09-08T19:13:18Z")

</div>

There is an easier way. A DSB modulator and bandpass filter. You can  
download a tested flow graph here:

[http://www.w6rz.net/ssb.grc](http://www.w6rz.net/ssb.grc)

and the test audio file:

[https://www.w6rz.net/ssbaudio.wav](https://www.w6rz.net/ssbaudio.wav)

The flow graph is set up for LSB. For USB, just swap the Band Pass  
Filter block with the one that’s disabled.

The 10 kHz signal source and multiply blocks are optional. I use this to  
move the TX signal away from the DC offset spike of my receiver.

Original flow graph is here:

> **[GitHub - argilo/sdr-examples: A collection of GNU Radio flow graphs](https://github.com/argilo/sdr-examples)**
>
> A collection of GNU Radio flow graphs. Contribute to argilo/sdr-examples development by creating an account on GitHub.

> <https://github.com/argilo/sdr-examples/blob/master/multi_tx.grc>

Ron
