Your SlideShare is downloading. ×
AES.ppt
AES.ppt
AES.ppt
AES.ppt
AES.ppt
AES.ppt
AES.ppt
AES.ppt
AES.ppt
AES.ppt
AES.ppt
AES.ppt
AES.ppt
AES.ppt
AES.ppt
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,636
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
38
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • TK is figured as follows: $97 for ROA, mech & accy $22 for Lyn manufac $4.76 for burden (4%) Total of $123.76
  • Transcript

    • 1. Data Logging Solution for Digital Signal Processors Brian Newberry Nekton Research, Inc. [email_address] James M. Conrad University of North Carolina at Charlotte [email_address]
    • 2. Introduction
      • Analyzing analog data collected by AUV
      • (Autonomous Underwater Vehicle)
      • Embedded DSP Data Logger Design for audio signal
      • Digital Signal Processor (DSP) – multiple instructions per cycle
      • DSP can process audio and video signals with high data rates
      • DSPs consume low power
    • 3. Block Diagram H ydrophone DSP PC SBC memory SPI / TCP Ethernet ADC
    • 4. System Design DSP communicates with hyperterminal RS232 (Serial Communication) Single board ARM based Linux machine, Data rate- 1 Mbit/s, 1 mW power consumption, OS- 5 MB RAM, data rate 0.85 MB/s, FTP (File Transfer Protocol) server TS-7200 Compact Flash Controller 256 MB, low power, 22 minutes data can be stored one time Compact Flash Memory Card 96 kHz/s – sample rate (100 kHz required) ADC (onboard) 1 MB RAM (onboard), 16 MB RAM (offboard), 512 KB Flash DSP – DSK6416T Specification Component
    • 5. Final System Set-up TS7200 DSP Power supply RS232 Flash memory
    • 6. Pseudo code (DSP operation)
      • Initialize system
      • Wait till told to start
      • While not told to quit
      • {
      • Gather audio data from codec
      • Process audio data
      • Report results
      • Send audio data to TS-7200 over SPI
      • Wait till reaction to reported results is complete
      • }
    • 7. Pseudo code (TS7200 operation)
      • Initialize system
      • While true
      • {
      • Get Data packet
      • Output amount of data received
      • Store Data packet
      • }
    • 8. SPI Transmission Protocol
      • Developed by Motorola
      • Fast synchronous serial port communication
      • Master-slave architecture
      • DSP- master and TS7200-slave
      • 1 bit from master to slave n vice versa per second
      • Connections: clock, frame, ground, master-in-slave-out,
      • master-out-slave-in
    • 9. SPI Transmission Protocol Signal Diagram
    • 10. Characteristics of SPI Transmission Protocol
      • Slave can transmit to Master only and only if Master is
      • transmitting at the same time or else Slave has to wait
      • No acknowledgement sent either by Master or Slave
      • No guarantee of transmission quality
      • Can change polarity of signal
      • Additional bit can be induced for delay
      • Zero overhead
    • 11. SPI Transmission Limitations
      • Transmission speed totally dependent upon Master’s clock speed
      • If TS7200 would have been used as Master;
      • speed range – 29 kHz to 3.7 MHz
      • SPI – mainly intraboard protocol
      • When used interboard – causes EMI (Electromagnetic Interference)
    • 12. TS7200 Limitations on SPI Transmission
      • Linux 2.4 kernel on TS7200 - not a RTOS
      • (Real Time Operating System)
      • Linux not a preemptive – current task has to be finished;
      • before starting new one
      • Hence OS can not respond immediately to event occurred
      • as DSP
      • Probability of data loss in consecutive samples
    • 13. TCP Implementation
      • To ensure, TS7200 receives data successfully from DSP
      • DSP implementation of TCP - Master
          • data to slave in packets
          • special 16-bit value
          • acknowledgement from TS7200 is awaited
      • TS7200 implementation of TCP – Slave
          • count values received from DSP on SPI port
          • one value – correct reception
          • different value – incorrect reception
    • 14. System Performance
      • Per minute - 20 seconds data is gathered, analyzed and stored
      • Power consumption is minimum
          • approx. 7 watts – linear voltage regulator
          • 4.5 watts – direct power supply, no regulator
          • more efficient switching power supply needed
      • If TS7200 – directly mounted over DSP board – data transfer speed
      • would improve
    • 15. Conclusion
      • DSP not burdened with memory storage – merely processes data
      • Memory controller system – low power and economical
      • Successful data transmission from static storage to separate PC
      • DSP controls what data is logged
      • System could be – stand-alone data logger
      • Low cost, low power and miniature system

    ×