Bohrium
robot
新建

空间站广场

论文
Notebooks
比赛
课程
Apps
我的主页
我的Notebooks
我的论文库
我的足迹

我的工作空间

任务
节点
文件
数据集
镜像
项目
数据库
公开
Digital-Signal-Processing-Lecture 01_Introduction
English
notebook
Signal Processing
EnglishnotebookSignal Processing
喇叭花
发布于 2023-07-31
推荐镜像 :Basic Image:bohrium-notebook:2023-04-07
推荐机型 :c2_m4_cpu
Introduction
Digital Signal Processing
Exercises and Computational Examples
Contents
Prerequisites

Introduction

This jupyter notebook is part of a collection of notebooks on various topics of Digital Signal Processing. Please direct questions and suggestions to Sascha.Spors@uni-rostock.de.

代码
文本

🏃🏻 Getting Started Guide
This document can be executed directly on the Bohrium Notebook. To begin, click the Connect button located at the top of the interface, then select the digital-signal-processing:Digital-Signal-Processing-Lecture Image and choose your desired machine configuration to proceed.

📖 Source
This Notebook is from a famous Signal Processing Lecture.

代码
文本

Digital Signal Processing

A digital signal is a discrete representation of the information conveyed by the signal. The information itself may be discrete by nature, as numbers or letters, or it may be be continuous as most physical quantities. In many cases a digital signal has been derived by sampling and quantization of an analog signal captured by a sensor from the real world.

analog_discrete_digital.png

The process of sampling and quantization is technically realized by an analog-to-digital converter (ADC). An example for a digital signal is the sound pressure produced by a human speaker picked up by a microphone whose electrical signal is fed into an ADC after amplification.

Digital Signal Processing (DSP) refers to the digital processing of signals. The field covers the mathematics, algorithms, techniques and hardware to analyze, manipulate and generate digital signals. This may involve linear as well as nonlinear processing which is performed on the signals itself or their representations in other domains. For instance processing in the frequency or spectral domain. The processing is realized either directly in hardware or more common these days by software on general purpose or specialized (Digital Signal Processor) microprocessors. By use of a digital-to-analog converter (DAC) digital signals may be converted back into the analog domain. For instance to feed a loudspeaker or control a display. A typical signal processing chain is depicted below.

DSP.png

The history of DSP is directly coupled to the spread of microprocessors and computers. While many foundations may be found in the field of numerical mathematics before, specialized theory for the processing of digital signals has emerged in the 1950s. In its early stage, DSP was only applied to a few critical applications due to limited availability and high cost of microprocessors. However, with widespread availability of highly integrated circuits at reasonable prices the usage of DSP techniques has exploded since the 1980s. Nowadays, they can be found in almost any non-commercial and commercial device. Application areas include but are not limited to the processing of audio/image/video signals, communications engineering, radar/sonar/seismics, instrumentation, control systems, simulations and medicine.

A number of benefits make the usage of digital in contrast to analog signal processing very attractive:

  • robustness against external influences: Analog systems show typically some gradual dependency on environmental conditions. For instance the analog elements of a circuit change their values when the ambient temperature changes. Digital systems generate the same results as long as the logic circuits/microprocessors are used within their technical specifications.
  • long-term stability: The elements of analog systems change their values gradually when aging. Digital systems do not show gradual changes until they malfunction.
  • flexibility of implementations: DSP implemented by means of software offers a high degree of flexibility which is hard to realize by analog circuits. For instance branching and looping.
  • extended possibilities: Besides traditional signal processing techniques (e.g. filtering) the digital processing of signals may involve algorithms from numerical mathematics or machine learning, just to name a few.

In summary, at less technical effort the reproducibility of DSP is higher compared to analog signal processing. DSP system are typically cheaper compared to their analog counterparts. This is due to the tremendous efforts that have been spend in the last decades in the development and production of digital circuits.

代码
文本

Exercises and Computational Examples

The theory discussed in this course is accompanied by computational examples and exercises. They aim at improving the understanding and show typical applications. Most of the basis DSP techniques can be implemented quite straightforward in software. Various programming languages and software environments are used for this purpose. Quite common is the use of MATLAB® and Simulink® from MathWorks®, GNU Octave and Python.

Here interactive Python (IPython) scripts are used which are directly embedded in Jupyter notebooks. The scripts and their results can be viewed straightforward as static snapshots. However, interactive use is highly recommended. For instance by rerunning the examples after a change of parameters. The exercises point to cases of interest and include also sample solutions. Feel motivated to extend the examples and write your own algorithms. If you are not familiar with IPython and Jupyter please take a look at the various tutorials available, for instance this video. The examples base on various Python toolboxes/modules for convenience and performance. The basic functionality for most signal processing applications is provided by numpy and scipy.signal. For visualization purposes matplotlib is used.

代码
文本

Contents

An understanding of the underlying mechanisms and the limitations of basic DSP techniques is essential for the design of more complex algorithms. This course covers the fundamentals of DSP. A focus is laid on the discussion of generic building blocks in contrast to more specific complex algorithms. These blocks are addressed by a detailed mathematical treatise as well as practical examples and exercises. The discussion of the mathematical background is important to understand the principles of operation and derive properties in a more general manner. An outlook to practical applications is given whenever possible.

The materials start off with a discussion of the limitations of spectral analysis of deterministic signals. These are essentially the limitations of the discrete Fourier transform and play therefore a prominent role in many fields of DSP. Practical signals are often of stochastic nature. The foundations of random signals and their processing by linear time-invariant systems is the next topic. It is not sensible to describe random signals by their amplitude values, instead statistical measures are introduced which characterize average properties. The quantization of sampled signals is required to derive a digital signal suitable for DSP. In general, quantization is a non-linear process from which the amplitude continuous signal cannot be recovered exactly. In order to quantify the resulting deviations, a statistical analysis of the quantization error is presented for various signal classes. The filtering of signals is a basic task in DSP. The realization of non-recursive and recursive filters is therefore discussed in detail. Amongst others this covers practically relevant aspects like computationally efficient algorithms and the effects of quantization. For the design of digital filters various techniques are introduced in the last section.

代码
文本

Prerequisites

The materials assume that the reader is already well familiarized with the theory of signals and linear time-invariant systems. In particular

  • continuous signals and systems,
  • Fourier and Laplace transform,
  • sampling of signals,
  • discrete signals and systems,
  • discrete-time Fourier transform (DTFT), discrete Fourier transform (DFT) and -transform.

These topics are covered by various textbooks.

代码
文本

Copyright

This notebook is provided as Open Educational Resource. Feel free to use the notebook for your own purposes. The text is licensed under Creative Commons Attribution 4.0, the code of the IPython examples under the MIT license. Please attribute the work as follows: Sascha Spors, Digital Signal Processing - Lecture notes featuring computational examples, 2016-2018.

代码
文本
English
notebook
Signal Processing
EnglishnotebookSignal Processing
点个赞吧
推荐阅读
公开
Digital-Signal Processing_02_Spectral Analysis of Deterministic Signals_Summary
EnglishnotebookSignal Processing
EnglishnotebookSignal Processing
喇叭花
发布于 2023-08-02
1 转存文件
公开
Digital-Signal Processing 02_Spectral Analysis of Deterministic Signals_The Leakage Effect
EnglishnotebookSignal Processing
EnglishnotebookSignal Processing
喇叭花
发布于 2023-08-02