Download Distributed Acoustic Control System

Transcript
Contents
1 Introduction
1
2 Assignment Interpretation
3
2.1
2.2
2.3
2.4
Bus Interface .......................................................................................................3
User Interface ......................................................................................................3
Functions .............................................................................................................3
Components to Use .............................................................................................3
3 Bus Protocol
5
4 Protocol for Communication with the Terminal Card
7
4.1
4.2
4.3
4.4
4.5
4.6
Transfer of Identification Information ................................................................7
Transfer of the Menu Hierarchy ..........................................................................7
Transfer of Values and Actions ..........................................................................9
Transfer of LED Status .......................................................................................9
Transfer of Error Information ...........................................................................10
Summary of Address Usage ..............................................................................11
5 Terminal Card Hardware
5.1
5.2
5.3
5.4
5.5
5.6
Introduction .......................................................................................................13
Component Description ....................................................................................13
Securing Quality Design ...................................................................................18
Testing ...............................................................................................................19
Known Errors ....................................................................................................20
Changes .............................................................................................................21
6 Terminal Card AVR Software
6.1
6.2
6.3
6.4
6.5
6.6
6.7
6.8
6.9
6.10
6.11
13
23
Introduction .......................................................................................................23
Background .......................................................................................................23
Menu System .....................................................................................................24
Memory System ................................................................................................25
Bus Communication ..........................................................................................32
UART Interface .................................................................................................32
The Code Modules ............................................................................................33
Problems ............................................................................................................38
Testing ...............................................................................................................39
Changes .............................................................................................................42
Known Errors ....................................................................................................42