Bohrium
robot
新建

空间站广场

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

我的工作空间

任务
节点
文件
数据集
镜像
项目
数据库
公开
Digital-Signal-Processing_03_Random Signals_Introduction
English
notebook
Signal Processing
EnglishnotebookSignal Processing
喇叭花
发布于 2023-08-02
推荐镜像 :digital-signal-processing:Digital-Signal-Processing-Lecture
推荐机型 :c2_m4_cpu
1
Random Signals
Introduction
Processing of Random Signals
Measurement of physical quantities
Communication channel
Random Processes
Properties of Random Processes and Random Signals

Random Signals

🏃🏻 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. The notebooks constitute the lecture notes to the masters course Digital Signal Processing read by Sascha Spors, Institute of Communications Engineering, Universität Rostock.

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.

代码
文本

Introduction

Random signals are signals whose values are not (or only to a limited extend) predictable. Frequently used alternative terms are

  • stochastic signals
  • non-deterministic signals

Random signals play an important role in various fields of signal processing and communications. This is due to the fact that only random signals carry information. A signal which is observed by a receiver has to be unknown to some degree in order to represent novel information.

Random signals are often classified as useful/desired and disturbing/interfering signals. For instance

  • useful signals: data, speech, music, images, ...
  • disturbing signals: thermal noise at a resistor, amplifier noise, quantization noise, cosmic microwave background...

Practical signals are frequently modeled as a combination of useful signals and additive noise.

As the values of a random signal cannot be foreseen, the properties of random signals are described by the their statistical characteristics. One measure is for instance the average value of a random signal.

代码
文本

Example - Random Signals

The following audio examples illustrate the characteristics of some deterministic and random signals. Lower the volume of your headphones or loudspeakers before playing back the examples.

  1. Cosine signal

    /cosine.wav

  2. Noise

    /noise.wav

  3. Cosine signal superpositioned by noise

    /cosine_noise.wav

  4. Speech signal

    /speech.wav

  5. Speech signal superpositioned by noise

    /speech_noise.wav

代码
文本

Excercise

  • Which example can be considered as deterministic, random signal or combination of both?

Solution: The cosine signal is the only deterministic signal. Noise and speech are random signals, as their samples can not (or only to a limited extend) be predicted from previous samples. The superposition of the cosine and noise signals is a combination of a deterministic and a random signal.

代码
文本

Processing of Random Signals

In contrary to the assumption of deterministic signals in traditional signal processing, statistical signal processing treats signals explicitly as random signals. Two prominent application examples involving random signals are:

代码
文本

Measurement of physical quantities

The measurement of physical quantities is often subject to additive noise and distortions. The additive noise models e.g. the sensor noise. The distortions, by e.g. the transmission properties of an amplifier, may be modeled by a system.

measurement_channel.png

denotes an arbitrary (not necessarily LTI) system. The aim of statistical signal processing is to estimate the physical quantity from the observed sensor data, given some knowledge on the disturbing system and the statistical properties of the noise.

代码
文本

Communication channel

In communications engineering a message is sent over a channel that distorts the signal by e.g. multipath propagation. Additive noise is present at the receiver due to background and amplifier noise.

communication_channel.png

The aim of statistical signal processing is to estimate the sent message from the received message, given some knowledge on the disturbing system and the statistical properties of the noise.

代码
文本

Random Processes

A random process is a stochastic process which generates an ensemble of random signals. A random process

  • provides a mathematical model for an ensemble of random signals and
  • generates different sample functions with specific common properties.

It is important to differentiate between an

  • ensemble: collection of all possible signals of a random process and an
  • sample function: one specific random signal.

An example for a random process is speech produced by humans. Here the ensemble is composed from the speech signals produced by all humans on earth, one particular speech signal produced by one person at a specific time is a sample function.

代码
文本

Example - Sample functions of a random process

The following example shows sample functions of a continuous amplitude real-valued random process. All sample functions have the same properties with respect to certain statistical measures.

代码
文本
[1]
import numpy as np
import matplotlib.pyplot as plt

N = 5 # number of sample functions

# draw N sample functions from a random process
np.random.seed(0)
x = np.random.normal(size=(N, 32))

# plot sample functions
fig = plt.figure(figsize=(10, 12))
for n in range(N):
plt.subplot(N, 1, n+1)
plt.tight_layout()
plt.stem(x[n, :], basefmt='C0:')
plt.title('Sample Function %d' % n)
plt.xlabel(r'$k$')
plt.ylabel(r'$x_%d[k]$' % n)
plt.axis([-1, 32, -3, 3])
plt.grid()
代码
文本

Exercise

  • What is different, what is common between the sample functions?

Solution: You may have observed that the amplitude values of the individual sample functions differ for a fixed time instant . However, the sample functions seem to share some common properties. For instance, positive and negative values seem to occur with approximately the same probability. Furthermore, positive and negative values seem to be aligned around zero.

代码
文本

Properties of Random Processes and Random Signals

It was already argued above, that it is not meaningful to describe a random signal by the amplitude values of a particular sample function. Instead, random signals are characterized by specific statistical measures. In statistical signal processing it is common to use

  • amplitude distributions and
  • ensemble averages/moments

for this purpose. These measures will be introduced in the following.

代码
文本

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.

代码
文本
English
notebook
Signal Processing
EnglishnotebookSignal Processing
点个赞吧
推荐阅读
公开
Digital-Signal-Processing_03_Random Signals_Auto-Correlation Function
EnglishnotebookSignal Processing
EnglishnotebookSignal Processing
喇叭花
发布于 2023-08-02
公开
Digital-Signal-Processing_03_Random Signals_Independent Processes
EnglishnotebookSignal Processing
EnglishnotebookSignal Processing
喇叭花
发布于 2023-08-02