Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
46
Добавлен:
27.04.2015
Размер:
4.26 Mб
Скачать

Introduction to Digital Signal Processing

1.1.3 Family Members

The DSP56800 core processor is designed as a core processor for a family of Motorola DSPs. An example of a chip that can be built with this core is shown in Figure 1-3 on page 1-5.

 

 

 

1Kx16

IRQA

 

16Kx16

 

 

 

 

XRAM

IRQB

 

ROM

 

 

 

 

 

 

 

 

16

 

DSP56800

Watchdog

 

ADR

Ext. Bus

16-Bit

& Real-time

 

 

 

 

16

 

 

 

Interface

DSP

 

 

DATA

 

 

 

Core

Timers

 

 

 

 

 

PLL

 

Serial

 

 

 

 

 

 

JTAG

 

 

 

 

 

 

GPIO

 

 

 

 

 

AA0002

Figure 1-3. Example of Chip Built Around the DSP56800 Core

 

1.2 Introduction to Digital Signal Processing

DSP is the arithmetic processing of real-time signals sampled at regular intervals and digitized. Examples of DSP processing include the following:

Filtering

Convolution (mixing two signals)

Correlation (comparing two signals)

Rectification, amplification, and transformation

Figure 1-4 on page 1-6 shows an example of analog signal processing. The circuit in the illustration filters a signal from a sensor using an operational amplifier and controls an actuator with the result. Since the ideal filter is impossible to design, the engineer must design the filter for acceptable response by considering variations in temperature, component aging, power-supply variation, and component accuracy. The resulting circuit typically has low noise immunity, requires adjustments, and is difficult to modify.

 

Introduction

1-5

Introduction

 

 

 

 

 

 

Analog Filter

 

 

 

 

 

Rf

 

 

 

x(t)

 

Cf

 

 

x(t)

 

 

y(t)

 

 

 

+

y(t)

Input

 

 

Ri

 

 

Output

From

 

 

Sensor

 

 

 

 

To

 

 

 

 

Actuator

 

 

 

 

 

t

y( t)

Rf

1

 

 

 

---------

= –-----

----------------------------

 

 

 

x( t)

Ri

1 + jwRfCf

 

 

 

Frequency Characteristics

 

 

Gain

 

Ideal

 

 

 

 

 

 

 

 

 

 

 

 

Filter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

f

 

 

 

Frequency fc

 

 

 

 

 

 

 

 

 

 

 

Figure 1-4. Analog Signal Processing

Actual

Filter

AA0003

The equivalent circuit using a DSP is shown in Figure 1-5 on page 1-7. This application requires an analog-to-digital (A/D) converter and digital-to-analog (D/A) converter in addition to the DSP. Even with these additional parts, the component count can be lower using a DSP due to the high integration available with current components.

1-6

DSP56800 Family Manual

 

 

 

 

 

 

Introduction to Digital Signal Processing

Low-Pass

Sampler and

DSP Operation

Digital-to-Analog Reconstruction

Anti-Aliasing Analog-to-Digital

 

 

Converter

Low-Pass

Filter

Converter

 

FIR Filter

 

 

 

 

 

 

 

 

 

 

 

N

 

 

 

 

A/D

c( k) × ( n – k)

D/A

 

 

k = 0

y(t)

x(t)

 

 

 

 

x(n)

Finite Impulse

y(n)

 

 

 

 

 

 

 

 

Response

 

 

Analog In

 

A

 

 

 

Analog Out

 

 

 

 

 

 

 

Ideal

Gain

 

 

 

 

 

Filter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

fc

f

 

 

 

 

 

 

 

 

 

 

Frequency

 

 

 

 

A

 

 

 

 

 

Analog

Gain

 

 

 

 

 

Filter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

fc

f

 

 

 

 

Frequency

 

 

 

 

 

 

 

 

 

A

 

 

 

 

 

Digital

Gain

 

 

 

 

 

 

 

 

 

 

 

Filter

 

 

 

 

 

 

 

 

 

 

fc

f

 

 

 

 

Frequency

 

 

 

 

 

 

AA0004

 

 

 

 

 

 

 

 

Figure 1-5. Digital Signal Processing

 

Processing in this circuit begins by band limiting the input signal with an anti-alias filter, eliminating out-of-band signals that can be aliased back into the pass band due to the sampling process. The signal is then sampled, digitized with an A/D converter, and sent to the DSP.

The filter implemented by the DSP is strictly a matter of software. The DSP can directly employ any filter that can also be implemented using analog techniques. Also, adaptive filters can be easily put into practice using DSP, whereas these filters are extremely difficult to implement using analog techniques. (Similarly, compression can also be implemented on a DSP.)

 

Introduction

1-7

Introduction

The DSP output is processed by a D/A converter and is low-pass filtered to remove the effects of digitizing. In summary, the advantages of using the DSP include the following:

Fewer components

Stable, deterministic performance

No filter adjustments

Wide range of applications

Filters with much closer tolerances

High noise immunity

Adaptive filters easily implemented

Self-test can be built in

Better power-supply rejection

The DSP56800 Family is not a custom IC designed for a particular application; it is designed as a general-purpose DSP architecture to efficiently execute commonly used DSP benchmarks and controller code in minimal time.

As shown in Figure 1-6, the key attributes of a DSP are as follows:

Multiply/accumulate (MAC) operation

Fetching up to two operands per instruction cycle for the MAC

Program control to provide versatile operation

Input/output to move data in and out of the DSP

 

 

 

 

 

 

 

 

 

FIR Filter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

c( k) × ( n – k)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A/D

 

D/A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x(t)

 

 

 

 

 

 

 

 

 

y(t)

 

 

 

 

 

 

 

k = 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x(n)

y(n)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X

Memory

X

Program

Σ

MAC

AA0005

Figure 1-6. Mapping DSP Algorithms into Hardware

1-8

DSP56800 Family Manual

 

Соседние файлы в папке DSP568xx