1 / 35

Data Compression Module ( DCM )

Data Compression Module ( DCM ). CDR Status Report. Tong-Long Fu Laboratory of RF-MW Photonics, Department of Physics National Cheng Kung University, Tainan, Taiwan. Outline. Status Review Image analysis and compression ratio achieved Hardware Review Function Testing Conclusions.

hollye
Download Presentation

Data Compression Module ( DCM )

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data Compression Module( DCM ) CDR Status Report Tong-Long Fu Laboratory of RF-MW Photonics, Department of Physics National Cheng Kung University, Tainan, Taiwan

  2. Outline • Status Review • Image analysis and compression ratio achieved • Hardware Review • Function Testing • Conclusions

  3. Status Review Works have been done: Hardware • All measurement instruments and tools ready • 2. Testing environment ready • Interface with MMCB/DPU discussed/reviewed. • Compete ETU version A. Software • Carry out image testing and analysis • Settle coding scheme. • Check coding size and memory map. • complete FPGA Design. future works: Hardware Testing and Integration testing. Software Code Optimization

  4. Image Analysis • Image analysis • Coding work flow • Windowing method • Compression code and compression ratio achieved • Programming • Code size, …

  5. Image Analysis (1)for Image Compression 1.Typical Images are Sprite Image Aurora Image Airglow Image 2.Other type of data (from SOH,SP,AP) - minor issue Most critical Typical 512x128 image will be directly compressed

  6. x x y y x y Image Analysis (2)for sprite Star and lightning will also be picked up . Threshold and window size are critical.

  7. x y x y x y Image Analysis (3)for Sprite Star and lightning will also be picked up . Threshold and window size are critical.

  8. x x y y x y Image Analysis (4)for Sprite The background of image is too noisy. Coding scheme and automatic window selection are difficult.

  9. x y x y Image Analysis (4)for Sprite This image has two sprites simultaneously x y Imaging should be compared every two successive images.

  10. Store 2 images IMAGE DATA Coding work flow Store Image Windowing image Sprite image yes No (windowing code) Coding Image (range code) IMAGE DATA Packet

  11. Store 2 images in the DCM Do low pass filtering Windowing Method Image input Compare two images , search different parts (high value ) Store windowing parameters Set values outsize the windows to be zero Coding image

  12. Windowing Parameters -Windowing an optimized windowing need to optimize -Window Size -we need to determine 16x16,32x32,64x64) -Image ordering -we need to record the order of image stored - Threshold for windowing CDI Command or MMCB * We need to include the selection of windowing parameter in CDI and/or MMCB

  13. Compression Code (1)range code BMP file Use range coding 66K  19K Compression ratio: 3.5 66K  7K Compression ratio: 9.4 • range coding is only an 1D data compression coding. • It is not a good compression algorithm for image coding.

  14. Compression Code (2)Predictor code and range code Use PGM file Predictor coding Rangecode : compression ratio  4 Huffman code + Predictor code : compression ratio  4.85 (Lossless JPEG standard method) No good data for coding and some data like noise. Call “weeds in a football field”. A problem for lossless compression coding

  15. Range code Company code A Compression ratio  6.7:1 (order 4) 5.0:1 Compression ratio  2.1:1 (order 3) 2.0:1 Compression ratio  4.5:1 (order 3) 3.2:1 Compression ratio  2.0:1 (order 4) 1.85:1 B C D Compression Code (3)comparison with a commercial Company C D A B

  16. Company    Phone: (813) 875-7575 x303   FAX: (813) 875-7705  -  Pegasus  -  BETTER DIGITAL IMAGING http://medical.jpg.com

  17. Compression Code (4)general image PGM file We need to get the standard sample image to do coding optimization . Typical image needs to have the same parameters of image. e.g. Histogram , pixel/bits. Range code : compression ratio  3 Huffman code + Predictor code : compression ratio  6.9 (Lossless JPEG standard method)

  18. Programming Consideration(1)Memory Size Memory Size: 1. BIOS (EEPROM) 32K x 48 (Control code and some compression code) 2. Program Memory (SRAM) 128K x 48 -- Total 768 bytes 3. Data Memory (SRAM) 128K x 40

  19. Programming Consideration(1)Image Memory Size 512 x 128 Pixel : (16bits / Pixel ) 128k byte (1) If we use C code to program DSP, we can only use the limited integer type. Type of Integer : ( 32bits / Pixel ) So store two images = total Data memory of DCM (2) Suggested solution : 1. Change to write the codes in assembler.

  20. Programming Consideration(3)code size -Range code only 24K bytes (without global data setup)

  21. Compression Coding Summary • All simulation of image is 8 bits image. (Need to consider about 16 bits) • Range Code + Predictor Code + Windowing Code is the finial scheme of coding. • All Program size < 200 Kbytes. • PLB section in MMCB is to store the upload program. If we want to let DCM to have new upload program code, then DCM will load program from PLB in the MMCB. • If we need do movie compression coding of Aurora Image,we maybe need more memory for coding.

  22. Hardware Review • Interface summary • List of key parts • Modification since IFR • PCB • Memory size

  23. Hardware Review(1)Interface summary Interface - Between DPU and DCM 1.DCM_BSY 2.DCM_ATN 3.CDI-CCLK 4.CDI-DAT 5.CDI-STB - Between MM and DCM 1. Address Bus (26bits) 2. Data Bus (32bits) 3. Read/Write enable 4. DMACK

  24. Hardware Review (2)Parts list

  25. Hardware (3)Modification since IFR Due to the limit of ADI DSP chip, we have to make the following modifications -- Program Memory: (now 128K x 48) -- Data Memory: (now 128K x 40) -- EEPROM Memory: (now 128K x 48)

  26. Hardware (4)PCB configuration -ADSP21020 DIP and SMD -FPGA A1280A FPGA A54SX six ERPOM in this

  27. Hardware (5)PCB

  28. Hardware (6)FPGA Note Target Part: 54sx16p-s -Combinational Cells: 181 of 924 (20%) -Sequential Cells: 167 of 528 (32%) -Total Cells: 348 of 1452 (24%) -Clock Buffers: 2 -IO Cells: 44

  29. Hardware (7)FPGA Note

  30. Hardware (8)Memory Size

  31. Function Testing • Testing tools • Testing ports

  32. Function Testing (1)Testing Tools -ICE: Coding debugging -Silicon II: FPGA Testing DCM - Board Testing: CDI Testing Interrupt Testing

  33. Function Testing (2)Tool Description (1) Using Testing Port : FPGA ALTERA EPF10 1. Program function form LPT1. 2. Support 10MHz and 2 MHz clock . 3. Connect Testing Port . (2) Using ICE Testing : 1.Testing Program Code. 2. Testing Memory Save and Load. (3)Using FPGA Silicon Testing Port: Testing FPGA action function.

  34. Testing Function (3)Testing Ports Signal Bus Bus

  35. Conclusions -Schedule July: 1.Hardware Testing and Software Testing. 2. Check integration testing schedule. (build up a testing environment in UCB during CDR.) August: 1.Optimize coding 2. Finalize DCM ETU board testing. September: 1. Finalize all testing

More Related