DDS waveform and spectrum after dithering

Direct Digital Synthesizer (DDS)

A Direct Digital Synthesizer (DDS) is an integral part of all modern communication systems. It is a technique to produce a desired waveform, usually a sinusoid, through employing digital signal processing algorithms. As an example, in the transmitter (Tx) of a digital communication system, a Local Oscillator (LO) is required to generate a carrier sinusoid that upconverts the modulated signal to its allocated frequency in the spectrum. On the receive (Rx) side, another local oscillator downconverts this high frequency signal to baseband for further processing. Such a process is shown in the Tx and Rx block diagrams of a Quadrature

Continue reading
A discrete-time FM demodulator block diagram with atan2 and derivative filter

Frequency Modulation (FM) and Demodulation Using DSP Techniques

Frequency Modulation (FM) is as old as the history of wireless communications itself. The past few decades saw the rise of digital signal processing in all spheres of life that pervaded even the implementation of analog modulation schemes. Today many of the FM systems are built using discrete-time techniques instead of the conventional circuitry as described below. Frequency Modulation In digital communications, data is sent through altering a characteristic of an electromagnetic wave such as amplitude, frequency or phase in discrete steps (e.g., $M$ number of levels). Such systems are known as Amplitude Shift Keying (ASK), Frequency Shift Keying (FSK)

Continue reading
Spectrum of the cascade of CIC filters with a wideband compensation filter for rate change factor 10, unit differential delay and 4 stages

Cascaded Integrator Comb (CIC) Filters – A Staircase of DSP

In olden days, people used to have lots of kids. A famous Urdu satirist once wrote: "It has been observed that the last kid is usually the most mischievous of them all. Therefore, there should be no last kid in a family!" I remembered this line today because I have observed that starting a write-up is the most difficult task of them all. Therefore, there is no introductory paragraph in this article. Suffice it to say that this is the only topic I have found that takes you from a very small first step (just two additions) to really advanced

Continue reading
The image frequency problem of a superheterodyne Rx

The Heterodyne Principle and the Superheterodyne Receiver

During World War I, Edwin Howard Armstrong invented the superheterodyne Rx as an alternative to the Tuned Radio Frequency (TRF) receivers that moved a tunable filter to the desired signal. His purpose was to overcome their limitations in regard to selectivity and sensitivity. To understand the principle of a heterodyne receiver, a pictorial representation is of utmost importance. While this is generally true for all concepts, there are specific issues of spectral translations in receiver architectures that require nice and clear figures. This is how I proceed below. The Heterodyne Principle Instead of employing a tunable bandpass filter that is

Continue reading
A basic chirp with real and imaginary signals

Understanding LoRa PHY (Long-Range Physical Layer)

LoRa PHY (Long-Range Physical Layer) is a very exciting communication technique based on Chirp Spread Spectrum (CSS) modulation mixed with Frequency Shift Keying (FSK). It is a proprietary physical layer methodology patented by Semtech. On the other hand, LoRaWAN is a Low Power Wide Area Network (LPWAN) protocol that is built on top of LoRa PHY. Some of the benefits of LoRa are resistance to multipath fading and Doppler effect, robustness against narrowband interference and jamming, low RF power consumption owing to the constant envelope signal, computationally simple from signal processing perspective, long-range transmission and reception, and inherent ranging capability

Continue reading