DSP Algorithms for RF Systems

Trending

Buy the Book!

DSP for Beginners: Simple Explanations for Complex Numbers! The second edition includes a new chapter on complex sinusoids.

Why are Sinusoids used in DSP and RF?
September 18, 2021

Table of Contents

Introduction

The goal of this post is to shed some light on why sinusoids are useful in DSP and RF communication.

Sinusoids are used by humans to describe the cyclical nature of the universe. They are a useful mathematical abstraction. Each year is 365 days and then a new year begins. Spring is followed by summer, fall, winter and then spring begins again. Low tide, high tide and then low tide again. A spinning ceiling fan. The rotation of the tires on your automobile. Reeling your fishing rod.

Check out these related blog posts:

Why Not?

I recall being an undergraduate student and thinking to myself:

Why is all of the math in DSP based around complex sinusoids?

The question you might try and answer for yourself is:

Why not?

What other mathematics might be a better substitute? Leave a comment below.

My intuition is that sinusoids are so inherent to our universe that it may be impossible or needlessly difficult to do DSP without them. Let’s take the scenic route in understanding the role of sinusoids in DSP and consider what role they play in another mode of communication: music.

Sinusoids in Music: The Xylophone

Did you realize that the xylophone you had as a child was actually an acoustic signal generator?

A xylophone
A xylophone

Striking the wooden mallet against one of the keys transforms the kinetic energy of the mallet into resonating the key. You’ll recall that that the different lengths of the keys in a xylophone correspond to different tones. You can watch a reminder video here. A longer key produces deeper sound where a shorter key produces a higher pitched sound.

The xylophone is struck by a mallet
The xylophone is struck by a mallet

A standing wave is created based on the vibration of the metal key which in turn creates a pressure wave in the air which is the sound received by your ear. The length of the key directly relates to the frequency of the pressure wave and thus the tone you hear.

The xylophone transmits a pressure wave. The pressure wave is sinusoidal and the frequency is due to its harmonic resonance.
The xylophone transmits a pressure wave. The pressure wave is sinusoidal and the frequency is due to its harmonic resonance.

You’ll notice no sinusoids were forced onto the xylophone example: it was a physical property of the universe (harmonic resonance) that was described with sinusoids.

Before we move on from the xylophone, consider that you could create an acoustic communication method based on assigning bits to each of the keys and striking each key would then correspond to the transmission of the bits. This is the basic concept for frequency shift keying (FSK).

Sinusoids in DSP

In the same way that sinusoids are used to explain how acoustic waves create different pitched sounds, so too do sinusoids explain how electromagnetic waves convey information across the RF spectrum.

A voltage is impressed upon the length of an antenna which generates an electromagnetic wave. The frequency of the electromagnetic wave is related to the length of the antenna in the same way the length of the xylophone key is related to the frequency of the tone it generates. The electromagnetic wave then travels to a radio receiver designed for the specific transmission frequency.

In the same way the xylophone has a harmonic resonance which creates sound, so too does the antenna have a harmonic resonance that creates an electromagnetic wave.

An sinusoidal electromagnetic wave is emitted whose frequency is derived from the harmonic resonance of the antenna.
An sinusoidal electromagnetic wave is emitted whose frequency is derived from the harmonic resonance of the antenna.

Note again that the frequency of the electromagnetic wave is derived from its physical qualities and that sinusoids are simply used to explain or represent the phenomenon.

Conclusion

Many physical phenomenon are cyclical in nature. The frequency of electromagnetic waves comes from the properties of the antenna used in transmission. Sinusoids are a useful mathematical abstraction for representing the operation of physical systems which have a cyclical nature. Being able to speak the language of sinusoids is required for understanding how to design, analyze and implement DSP and RF systems.

Check out these other blogs!

3 Responses

  1. Good question, especially for EE/DSP students, and a good example of the *kinds* of questions we need to ask students, and lead them to ask themselves.

    My own answers predictably bend toward the mathematical. A sine wave is the ‘eigenfunction’ of a linear time-invariant system, more commonly referred to as a filter, which simply means if you use a sine wave with frequency F as an input, you get a sine wave with frequency F as an output, and nothing else. The filter changes the magnitude and phase (delay) of the sine wave, but does not create new sine waves. And we care very much about linear time-invariant systems because they are observed in the world (at least to a good approximation) and they are very useful (as you point out elsewhere) for modifying the properties of signals.

    The second reason for our enduring preoccupation with sine waves is the Fourier series. Any periodic function can be represented (with some mathematical caveats that aren’t too important to a practicing DSP engineer) as a sum of weighted harmonically related sine waves. And periodic (non-sinusoidal) functions form the basis for communication signals, such as modulated pulse trains. And of course the Fourier series leads directly to the Fourier transform, the most powerful tool in our signal processing toolkit (my opinion of course).

    My $0.02.

    Thanks for a thought-provoking post. Looking forward to more in this category!

Leave a Reply

For everything there is a season, and a time for every matter under heaven. A time to cast away stones, and a time to gather stones together. A time to embrace, and a time to refrain from embracing. Ecclesiastes 3:1,5
The earth was without form and void, and darkness was over the face of the deep. And the Spirit of God was hovering over the face of the waters. Genesis 1:2
Behold, I am toward God as you are; I too was pinched off from a piece of clay. Job 33:6
Enter His gates with thanksgiving, and His courts with praise! Give thanks to Him; bless His name! Psalm 100:4
Lift up your hands to the holy place and bless the Lord! Psalm 134:2
Blessed is the man who trusts in the Lord, whose trust is the Lord. He is like a tree planted by water, that sends out its roots by the stream, and does not fear when heat comes, for its leaves remain green, and is not anxious in the year of drought, for it does not cease to bear fruit. Jeremiah 17:7-8
He said to him, “You shall love the Lord your God with all your heart and with all your soul and with all your mind. This is the great and first commandment. And a second is like it: You shall love your neighbor as yourself. On these two commandments depend all the Law and the Prophets.” Matthew 22:37-39
Then He said to me, “Prophesy over these bones, and say to them, O dry bones, hear the word of the Lord. Thus says the Lord God to these bones: Behold, I will cause breath to enter you, and you shall live." Ezekiel 37:4-5
Riches do not profit in the day of wrath, but righteousness delivers from death. Proverbs 11:4
The angel of the Lord appeared to him in a flame of fire out of the midst of a bush. He looked, and behold, the bush was burning, yet it was not consumed. And Moses said, “I will turn aside to see this great sight, why the bush is not burned.” When the Lord saw that he turned aside to see, God called to him out of the bush, “Moses, Moses!” And he said, “Here I am.” Exodus 3:2-3
Daniel answered and said: “Blessed be the name of God forever and ever, to whom belong wisdom and might. He changes times and seasons; He removes kings and sets up kings; He gives wisdom to the wise and knowledge to those who have understanding." Daniel 2:20-21
Now the Lord is the Spirit, and where the Spirit of the Lord is, there is freedom. 2 Corinthians 3:17
Previous slide
Next slide

This website participates in the Amazon Associates program. As an Amazon Associate I earn from qualifying purchases.

© 2021-2024 Wave Walker DSP