RAN Zi-bo (冉自博), MA You-chun (马游春), LIU Hong-yu (刘红雨)
(Department of Electronic Science and Technology, North University of China, Taiyuan 030051 , China)
Abstract: By using enhanced reduced instruction set computing(RISC) architecture and carrying out powerful instructions in a single clock cycle, the ATmega128 achieves the data transmission speed of about one MIPS per MHz. With this advantage, the designer can eliminate the contradiction between power consumption and processing speed in data acquisition system based on U disk. In this paper, a U disk recorder for mass data storage is designed. It consists of a microcontroller ATmega128 and a U disk management chip CH376. ATmega128 with 4 KB SRAM provides enough buffer memory and CH376 enables U disk files to be written or read in sector size. Based on analysis of the system, the hardware and software designs are given. With the designed data acquisition system, data transmission speed can reach 460 KB per second. The experimental results show that the designed system has higher efficiency and reliability than the traditional ones when writing or reading U disk files.
Key words: ATmega128; U disk; CH376
CLD number: TP274 Document code: A
Article ID: 1674-8042(2013)04-0330-05 doi: 10.3969/j.issn.1674-8042.2013.04.006
References
[1] JIANG Yi-jun. Design of multi-line data acquisition process recorder based on U disk. Master thesis. Nanjing: Nanjing University of Science ang Technology, 2008.
[2] Thukaram D, Lomi A. Selection of static VAR compensator location and size for system voltage stability improvement. Electric Power Systems Research, 2000, 54(2): 139-150.
[3] SONG Nan. The test-equipment with U disk storage function for mechanical parameters acquisition system. Taiyuan: North University of China, 2012.
[4] Atmel Corporation. AVR core MCU ATmega128 Data-sheet. 2008.
[5] Lee E. AVR basic direction for C programming. Beijing: Tsinghua University press, 2003.
[6] Nanjing Qinheng Company. U disk and AD card file management chip CH376 reference. 2010.
[7] Barnett R H, Cox S, O'Cull L. Embedded C programming and the Atmel AVR. [2013-01-11]. http:∥www.filecrop.com/Embedded-C-Programming-and-the-ATM-EL-AVR-2nd-Edition.html.
[full text view]