Wave Walker DSP

DSP Algorithms for RF Systems

Blog
Figure 1: The weights of the partitioned half band filter hA[n] and hB[n].

Polyphase Half Band Filter for Decimation by 2

The last post on half band filters (HBF) referenced the use of a polyphase filter bank structure with a half band filter of length N can be reduced to N/8 multiplies per input sample. This is a huge efficiency gain and why they are used in large sample rate change [harris2021, p.234]. The polyphase filter bank will be used to efficiently implement a decimation by 2 within the HBF with additional savings coming from folding the filter weights. A polyphase filterbank is characterized by multiple branches which represent multiple phases of the signal (the prefix poly- meaning “many”.)

Read more

Figure 3: The impulse responses for length N=21 and N=19 half band filters.

Half Band Filter Design: Exceptional Filtering Efficiency!

The half band filter (HBF) is an incredibly efficient filtering structure when designed correctly! In this blog I will discuss how to design half band filter weights with the NumPy function remez(), how to select the parameters to maximize the efficiency, and how a folded FIR filter structure can increase the efficiency further.

Read more

Figure 8: The upconverted BPF is the summation of two complex-upconverted LPFs which interfere with one another when summed. The BPF upconversion in Figure 8 is the result of the summation of these two responses.

Designing an FIR Band Pass Filter with Remez

Band pass filters are characterized by having attenuation at both high frequency and low frequency with a pass-band in between. Band-pass filters can designed to have real coefficients which have an even-symmetric response or they can be upconverted to complex band-pass to have non-symmetric response which is useful in channelization or in applying a Hilbert transform.

Figure 4: The impulse responses of the LPF and HPF filters.

Designing an FIR High Pass Filter with Remez

While low-pass filtering (LPF) is ubiquitous high pass filters (HPF) can be needed depending on the RF environment or for specific algorithms. The previous post FIR Low Pass Filter Design with Remez demonstrated how to use the remez() function in the SciPy package to design LPF filter weights. The following blog will demonstrate how to use remez() to design HPFs as well as designing LPF filters and upconverting them.

FIR Low Pass Filter Design with Remez

The focus of this blog is to describe the low pass filter design process with the remez() function, which is one of many ways to create FIR filter weights. The filter parameters of:

  • filter length,
  • pass-band,
  • stop-band,
  • cut-off frequency,
  • transition bandwidth,
  • and sidelobe attenuation

will be discussed, including their impact on the frequency response and how their trade-offs effect the design.

The Stone Carver mindset: create a masterpiece one chip at a time.

Engineering Mindset: Be a Stone Carver, not a Brick Mason

Maintaining the proper mindset is crucial to proper mental health and the longevity of your career. Many come to believe that engineering is linear and procedural, like a brick mason building a brick wall. The brick mason operates by adding more and more material; bigger is better, more expensive and more profitable.

A more effective mindset is that of the stone carver. Quality and craftsmanship are key for the stone carver. A stone carver designs one chisel stroke at a time. The stone carver removes what does not belong until the final design is revealed. For the stone carver, less is more: removing more material allows for more detail, more polish and represents an overall a higher quality piece of art.

The xylophone is struck by a mallet

Why are Sinusoids used in DSP and RF?

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.

Figure 5: An example of angles between 0 and 2pi.

Basic Rules for Complex Numbers

The mathematics of DSP and complex numbers can be confounding.

Understanding how j = \sqrt{-1} was difficult when I first started my DSP education and it’s still not something I fully grasp. When starting out in your DSP education sometimes it is enough to simply understanding how the tools and procedures are applied, rather than how they are derived.

Blogs by Category

God, the Lord, is my strength; He makes my feet like the deer's; He makes me tread on my high places. Habakkuk 3:19
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