You are on page 1of 14

Abstract

Control of electric drive systems with Digital Signal Processors (DSP) is today a very common task. Faster
and more functional units have made it possible to base the entire control system around the DSP
without the need for additional components. As the processor lacks the ability to supply the outer world
with desired power, an interface to external equipment, such as frequency converters, is required.
Introduction
Today DSPs are a common component in different control applications. This is due to the low cost and
good performance features. The controller part of the laboratory setup in the motor-lab consists of a
system called dSPACE. This system is used in course laboratory sessions due to its good visualization of
signal responses. The limitations of this system lie in the inability to expand and adapt to other setups of
power electronics. One of the major reasons for this is the limited amount of input/output-signals.
Throughout the years, different experiments with different types of DSPs have been carried out at IEA to
come across this problem. Early DSPs required many extra circuits to work (such as fast AD-converters).
Today DSPs have much more calculation power and can therefore, potentially be the heart of a
controller system without any need for external signal components.

The aim of the project is to provide the first step for introducing improved DSP motor control in the lab.
The main task was therefore to build an adapter card between the DSP and the lab frequency converter.
The utilization of 12 PWM channels and 16 ADC channels generalizes the card. In order to test the
interface a controller algorithm was also to be implemented.

The following figure describes the present dSPACE control system and the desired DSP based system.

Figure 1.1-1: Principal Sketch of the current dSPACE system

Figure 1.1-2: Controller outline for the DSP system


Basic facts

Under normal design conditions, consisting of a control system with certain demands and specifications,
a controller is selected based on the given parameters. However, in the current case, the DSP was
already selected. The brief presentation of the given DSP that follows below only includes the features
that were used in this project.

Name: TMS320F2812 (Manufacturer: Texas Instruments)

Clock speed: 150 MHz

Memory: Expandable up to 1Mb

Analog to digital-conversion: 16 Channels, 12-Bit resolution, 25 MHz sample rate

Pulse Width Modulation signals: 16-channels, space vector capability

Input/0utput1-pins: Up to 56

Signal levels: [0, 3.3] V, (0-3 V on ADC-pins)

The given DSP was shipped with a development card (eZdsp TM F2812 from Spectrum Digital, Inc). The
purpose of this card is to provide a platform for easy and fast evaluation of the DSP features. The
onboard I/O-pins easily enable connections to the outer world (soldering pads equally spaced 2,54 mm
(industrial standard)) see Figure 2.1-1 for layout.

Figure 2.1-1: Picture of the development card (black case to the right holds the DSP)

If the DSP is to be used without the development card, more knowledge about internal signals is
needed. In order to get a system running, detail studies of datasheets would be vital and external
components will be needed.
The Digital signal processor (DSP) processors are having much capabilities of controlling devices; DSP
when

compared with general processors delivers batter performance & resolution. Now-a-days DSP
processors are used in almost every field either to develop mobile phones or to control some devices
and instruments. Here the DSP processor has been used to control the power supply by generating a
train of pulses for controlling the MOSFETS used in power supply. Digital signal processor (DSP) basically
process analog signals in the digital domain. Real-world signals, such as voltage is converted to its digital
equivalent at discrete time intervals for processing by the CPU of a digital computer. A digital signal
processor (DSP) is a type of microprocessor (one that is incredibly fast and powerful). DSP is useful in
almost every application that requires the high-speed processing of a large amount of numerical data.
The data can be anything from position and velocity information for a closed loop control system. A DSP
is unique because it processes data in real time. This real-time capability makes a DSP perfect for
applications where we won't tolerate any delays. Since the availability of computers, power supplies
have relied on digital technology in some way, from such simple tasks as turning the supplies on and off
to the supplying of
computer-controlled references. This coupled with increasing demand for higher performance and
monitoring capabilities, has made it appealing to integrate such technology into power supply designs.
DSPs are processors or microcomputers whose hardware, software, and instruction sets are optimized
for high-speed numeric processing applications and essential for processing digital data representing
analog signals in real time. The DSPs high-speed arithmetic and logical hardware is programmed to
rapidly execute algorithms like modeling the filter transformation.

Main advantages of digital signal processing over analog processing are:

1. Powerful: can do more things than one can do using analog hardware.

2. Cheap: similar to microprocessors, but lot of different functions into one chip.

3. Applications of DSP
4. There are numerous variants of a digital signal processor that can
execute different things, depending on the application being performed.
Some of these variants are audio signal processing, audio and video
compression, speech processing and recognition, digital image
processing, and radar applications. The difference between each of
these applications is how the digital signal processor can filter each
input. There are five different aspects that varies from each DSP: clock
frequency, RAM size, data bus width, ROM size, and I/O voltage. All of
these components really are just going to affect the arithmetic format,
speed, memory organization, and data width of a processor. 
5. One well-known architecture layout is the Harvard architecture. This
design allows for a processor to simultaneously access two memory
banks using two independent sets of buses. This architecture can
execute mathematical operations while fetching further instructions.
Another is the Von Neumann memory architecture. While there is only
one data bus, operations cannot be loaded while instructions are
fetched. This causes a jam that ultimately slows down the execution of
DSP applications. While these processors are similar to a processor used
in a standard computer, these digital signal processors are specialized.
That often means that, to perform a task, the DSPs are required to used
fixed-point arithmetic. 
6. Another is sampling, which is the reduction of a continuous signal to a
discrete signal. One major application is the conversion of a sound wave.
Audio sampling uses digital signals and pulse-code modulation for the
reproduction of sound. It is necessary to capture audio between 20 -
20,000 Hz for humans to hear. Sample rates higher than that of around
50 kHz - 60 kHz cannot provide any more information to the human ear.
Using different filters with DSP software and ADC's & DAC's, samples of
audio can be reproduced through this technique. 
7. Digital signal processing is heavily used in day-to-day operations, and is
essential in recreating analog signals to digital signals for many
purposes.
8. I hope that this article has provided enough information to get a general
understanding of what DSPs are, how they work, and what they are
specifically used for in a plethora of fields. If you have any questions or
thoughts, please leave a comment below! 
Conclusion

The DSP laboratory development described here focuses on

application-based laboratory experiments that intentionally

include components targeted to specific learning styles. The

lab experiments consist of several mini-lab exercises that

sequentially expose students to a thought process needed to

master complex DSP concepts. The web-based presentation

of materials and simultaneous use of both symbolic and

pictorial delivery reaches a broad cross-section of the

student body. Based on the level of interest in the class

currently, enrollment is expected to increase as upper-class

students taking the course discuss it with other students.

. CONCLUSION

DSPs and in particular TI TMS320F28335 are powerful tools to implement digital control systems for a
VSC. However, the user must be experienced in C language programming and must understand the
architecture of the DSP in order to be able to achieve the implementation of the control with CCS.
Moreover, although TI has conveniently developed a series of built-in functions, the user may need to
modify them or develop new custom functions to improve the execution time of the program.
Ref.

1] V. K. Ingle and J. G. Proakis, Digital Signal Processing,

Using MATLAB Version 4, PWS Publishing Company,

Boston, Massachussets, 1997.

[2] J. H. McClellan, C. S. Burrus, A. V. Oppenheim, T.

W.Parks, R. W. Schafer, and H. W. Schuessler,

Computer-Based Exercises for Signal Processing Using

MATLAB Version 5, Prentice-Hall, Inc., New Jersey,

1998.

[3] J. H. McClellan, R. W. Schafer, and M. A. Yoder, DSP


First: A Multimedia Approach, Prentice-Hall, Inc., New

Jersey, 1998.

[4] K. Steiglitz, A Digital Signal Processing Primer with

Applications to Digital Audio and Computer Music,

Addison-Wesley Publishing Company, Menlo Park,

California, 1996.

[5] S. W. Smith, The Scientist and Engineer's Guide to Dig-

ital Signal Processing, California Technical Publishing,

1997.

[6] R. M. Felder, J. E. Stice, and R. Brent, “National

effective teaching institute”, in Annual Conference of

the American Society for Engineering Education, 1997.

[7] R. M. Felder and L. K. Silverman, “Learning and

teaching styles in engineering education”, Journal of

Engineering Education, vol. 7, no. 78, 1988.

[8] A. J. Hudspeth and V. S. Markin, “The ear's gears:

Mechanoelectrical transduction by hair”, Physics Today,

vol. 47, no. 2, February 1994.

[9] M. R. Schroeder, “Natural sounding articial

reverberation”, Journal of Audio Engineering Society,

vol. 10, no. 1, 1962.

[10] S. J. Orfanidis, Introduction to Digital Signal

Processing, Prentice-Hall, Inc., New Jersey, 1996.

[11] J. L. Willems et. al., “The diagnostic performance of

computer programs for interpretation of

electrocardiograms”, The New England Journal of

Medicine, vol. 325, no. 25, December 199

You might also like