Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma...
-
Upload
crystal-rodgers -
Category
Documents
-
view
224 -
download
2
Transcript of Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma...
![Page 1: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/1.jpg)
Real-Time DSP System Design Course and DSP/BIOS II
David J. Waldo
Associate Professor
Oklahoma Christian University
2501 E. Memorial Rd.
Oklahoma City, OK 73013
TI Developer Conference 2002
![Page 2: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/2.jpg)
TI Developer Conference 2002 2
Outline
Real-Time DSP Course Description Real-Time Operating Systems (RTOS) and DSP/BIOS
II Example Project Conclusion References
![Page 3: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/3.jpg)
TI Developer Conference 2002 3
DSP Courses at Oklahoma Christian
DSP I - DSP Fundamentals– Implementation of discrete-time systems– Finite word length effects– FIR/IIR digital filter design– Power spectrum estimation– Optimal filtering
DSP II - Real-Time DSP System Design DSP III - Adaptive Filtering
– Stochastic processes– Eigenanalysis– Linear prediction– LMS, RLS– Introduction to neural networks
![Page 4: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/4.jpg)
TI Developer Conference 2002 4
DSP II (Real-Time System Development) Course Content
Software Design Methods– Waterfall software life cycle– COMET– CODARTS– UML
RTOS Features Development of a DSP System
![Page 5: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/5.jpg)
TI Developer Conference 2002 5
Software Life Cycle - Waterfall Method
Architectural Design
Detailed Design
Coding
Unit Test
Integration Test
System Test
Requirements Analysis
![Page 6: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/6.jpg)
TI Developer Conference 2002 6
Architecture Design with CODARTS
Environmental and Behavioral Models Distributed Subsystems Concurrent Tasks Information Hiding Modules Integrate Tasks and Information Hiding Modules Specify Component Interfaces Software Development
![Page 7: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/7.jpg)
TI Developer Conference 2002 7
Real-Time Operating System Features
Data Sharing– Queues– Memory– Semaphores– Mailboxes
Multitasking– Interrupt Subroutines– Tasks– Scheduling
Instrumentation– Timing
RTOS Issues– Deadlock, Priority Inversion
![Page 8: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/8.jpg)
TI Developer Conference 2002 8
DSP/BIOS II Modules and Features
Data Sharing– MBX, QUE, PIP, SIO, SEM, MEM
Multitasking– HWI, SWI, TSK, PRD
Instrumentation– CLK, STS, LOG, CPU Load Graph, Execution Graph, RTDX
![Page 9: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/9.jpg)
TI Developer Conference 2002 9
Software Architecture Diagram Notation and DSP/BIOS II Examples
Loosely-coupled FIFO Message Queue
Tightly-coupled Message/Reply Queue
Tightly-coupled Without Reply Queue
Event
Loosely-coupled Prioritized Message Queue
Task HWI, SWI, TSK, PRD
MBX, PIP, QUE/SEM, SIO, SWI mailbox
SEM, SWI mailbox, HWI
MBX, PIP, QUE/SEM, SIO, SWI mailbox
MBX, PIP, QUE/SEM, SIO, SWI mailbox, SEM
MBX, PIP, QUE/SEM, SIO
![Page 10: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/10.jpg)
TI Developer Conference 2002 10
Design Project
Students work on a project throughout the course For the project students will:
– Choose a real-time DSP project, either self generated or ideas from the professor
– Follow the software life cycle– Write reports documenting progress at each stage– Produce a working real-time DSP based device
![Page 11: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/11.jpg)
TI Developer Conference 2002 11
Example Project: Overview
Simple project for first semester with small class Develop a Visual Basic application to control the
Imaging Development Kit (IDK) Image processing includes the following functions:
– Sobel– Threshold– Correlation– Dilate– Erode– Median– Noise
![Page 12: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/12.jpg)
TI Developer Conference 2002 12
Example Project: Requirements Analysis and Specifications
Identified requirements for user interface and processing to be performed (simplified)
– Select different processing for data displayed on the monitor
– Display raw data sample on the computer– Display transformed data sample on the computer
![Page 13: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/13.jpg)
TI Developer Conference 2002 13
Example Project: System Context Diagram
VideoTransformation
System
Mouse Keyboard
User MonitorVideo DisplayMonitor
Video Camera
Video Input
Video Output
Mouse InputKeyboard Input
User DisplayOutput
![Page 14: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/14.jpg)
TI Developer Conference 2002 14
Example Project: Integrated Task Structure, Target
VideoCapture
VideoDisplay
Transform
ControlMonitor
UserInterface
Streamingvideo
Streamingtrans. video
Data capturerequest
Trans. datarequest
Transformed data
Captureddata User commands
Usercommands
VideoBoard
VideoBoard
![Page 15: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/15.jpg)
TI Developer Conference 2002 15
Example Project: Integrated Task Structure, Host
Event driven program (mouse clicks, menu selections, etc.)
Design different from task structure Written in Visual Basic Requirements
– Send user commands to target– Receive data from target as requested– Display data from target
Were not able to display on host because of slow transfer rate over parallel port
![Page 16: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/16.jpg)
TI Developer Conference 2002 16
Example Project: User Interface
![Page 17: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/17.jpg)
TI Developer Conference 2002 17
Real-Time DSP Course Needs
Hardware– DSK, EVM, Other
Software– CCS, Visual Basic (or Visual C++, Other OLE)
Course material– Design Process– RTOS Basics - Material and Labs
![Page 18: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/18.jpg)
TI Developer Conference 2002 18
Conclusion
Use DSP/BIOS II in your next application Develop your own course in real-time system
development or add it to an existing course Visit website and download DSP/BIOS II and RTDX
laboratory assignments now– http://www.oc.edu/faculty/david.waldo/projects/nsfccli/
nsfccli.html– Use them to learn about DSP/BIOS II or use them in your
class– This material is based upon work supported by the National
Science Foundation under Grant No. 9952720
![Page 19: Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,](https://reader035.fdocuments.net/reader035/viewer/2022062408/56649e0b5503460f94af3c22/html5/thumbnails/19.jpg)
TI Developer Conference 2002 19
References
Gomaa, Hassan, Software Design Methods for Concurrent and Real-Time Systems, Addison Wesley, 1993.
Gomaa, Hassan, Designing Concurrent, Distributed, and Real-Time Applications with UML, Addison Wesley Professional, 2000.
Kornecki, A., Zalewski, J., Eyassu, D., "Learning Real-Time Programming Concepts through VxWorks Lab Experiments ", Proceedings of 13th SEE&T Conference, Austin, TX, March 2000, pp. 294-301.