Application of single chip microcomputer ADuC812 in storage test system

Publisher:dandan666Latest update time:2014-01-02 Source: eccnKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1 Introduction

ADuC812 is a high-performance single-chip microcomputer produced by ADI (Analog Device Inc) in the United States. It is a fully integrated 12-bit data acquisition system. It integrates a high-performance self-calibrated multi-channel ADC (8-channel 12-bit high-precision), 2 12-bit DACs and a programmable 8-bit MCU (compatible with 8051) in the chip. There are 8kB flash/electrically erasable program memory and online download/debugging/programming functions, 640B flash/electrically erasable data memory, 256B on-chip data memory and a core compatible with 8051. In addition, the MCU supports functions including watchdog timer, power monitor and ADC DMA function. At the same time, it provides 32 programmable I/O lines, I2C-compatible serial ports, SPI serial interfaces and standard UART serial interfaces for multi-processor interfaces and I/O expansion. The MCU core and analog converter have normal, idle and power-down working modes. The device can operate at 3V and 5V voltages within the industrial temperature range, providing a flexible power management solution suitable for low-power applications.

2 System structure and main features

The structural block diagram of the ADuC812 microcontroller is shown in Figure 1. The main features are as follows:

(1) It has a high-speed (200 kSPS) 8-channel 12-bit high-precision ADC, an on-chip 40×10-6/℃ voltage reference, and an on-chip integrated temperature sensor. The ADC of the ADuC812 microcontroller has three operating modes: single-step or continuous conversion mode can be executed by software or by adding the conversion signal to the external pin convst; single-step or continuous conversion mode can be executed by using timer T2 to generate the trigger signal for A/D conversion; and the ADC is configured to work in DMA mode. In DMA mode, the ADC continuously samples and automatically writes the sampling results to the predetermined external RAM space without any intervention from the MCU core. This mode can achieve 200 kSPS high-speed A/D conversion. The DMA mode is particularly suitable for storage test systems that require high-speed sampling data streams.

Microcontroller 1

(2) The DPP data page pointer can access a large external data memory with a maximum capacity of 16MB. ADuC812 has an extended 64kB program memory and 16MB data memory. Figure 2 shows the interface circuit for the extended 16MB data memory. P0 is a time-division multiplexed address/data bus. It first sends out the low byte of the data pointer (DPL) as the low address, which is latched into the low address latch by ALE, and then gives out the data (during write operation) or becomes high impedance (during read operation), and the SRAM loads the data into the data bus. At the same time as the P0 port sends out the low byte of the data pointer, the P2 port sends out the data pointer page byte (DPP), which is latched into the high address latch by ALE, and then gives out the high byte of the data pointer (DPH) as the middle address. When the P2 port has no external latch, DPP is ignored, and the ADuC812 accesses the external 64kB data memory like the 8051.

MCU 2

(3) ADuC812 can operate in a low-voltage, low-power power-saving mode. It can operate at 3V or 5V and has normal, idle, and power-down modes. The chip can be controlled by software to switch from normal mode to idle mode, or to power-down (shutdown) mode. In idle mode, the oscillator continues to work but is not connected to the chip core. The on-chip peripherals can receive clock signals and are active. In power-down mode, the oscillator stops working and all on-chip peripherals are turned off. When the chip receives a hardware reset signal or is powered on again, it will recover from power-down mode to normal operating mode. In power-down mode, the total current consumed by ADuC812 is approximately 5uA.
  

3 Application in Storage Test System

Since the ADuC812 microcontroller has the performance of high-speed and high-precision ADC conversion, flexible power management scheme and access to large-capacity external data storage, the ADuC812 microcontroller is the first choice in the design of storage test system. Figure 3 is a functional diagram of the downhole oil and gas pressure storage test system. The system consists of a host module, a power module, a power monitoring module, a data acquisition module, a data transmission module and a data processing and analysis module. The host module is the core part of the system, which consists of an ADuC812 microcontroller, a reset circuit, a clock oscillation circuit, an address latch and an external RAM chipset. The power module is composed of a boost circuit, a voltage regulator circuit and a feedback circuit. The lithium battery pack inputs 7.2V voltage to the power module, and the power module outputs +12V voltage to the data acquisition module and provides a +5V stable working voltage to the entire system. The power monitoring module consists of a monitoring circuit and an indication circuit. It monitors the output of the power supply from time to time. When it is lower than the normal range, it promptly notifies the microcontroller to save the relevant data, close the relevant ports, and issue a low power indication, and the system enters the power-off working mode. The data acquisition module is composed of a pressure sensor with a range of 0~100MPa, a correction circuit and a signal operational amplifier to complete the data acquisition and amplification functions. The data transmission module is composed of a dedicated PC232 interface conversion circuit, which is the channel for data transmission between the single-chip microcomputer and the microcomputer. The data processing and analysis module has data filtering function, data comparison function, chart display function, chart editing function, chart printing function and automatic test report generation function.

MCU 3

In this storage test system, the selection of the trigger point is the key point and also the technical difficulty of the system. The test of deep well oil and gas pressure requires that the test system must be able to accurately track the changes in oil and gas pressure at the moment of armor-piercing projectile detonation, and record the pressure changes during this period in real time. If the trigger point is started too early, due to the limitation of storage space, some practical data will inevitably be lost; if the trigger point is started late, the important oil and gas pressure peak at the moment of detonation will be lost, resulting in test failure. Therefore, the control of the trigger point in the storage test system is particularly important (due to space limitations, it will not be described in detail). The ADuC812 microcontroller works in DMA mode during sampling.

4 Conclusion

In the process of developing the downhole oil and gas pressure storage test system, a large amount of Chinese and English materials were consulted for the selection of single-chip microcomputers. Finally, ADuC812 was selected as the single-chip microcomputer of the system. It not only has a small package size, but also almost all the high-performance hardware and functions required by the test system are integrated on the chip. The system is stable and reliable after use.

Keywords:MCU Reference address:Application of single chip microcomputer ADuC812 in storage test system

Previous article:Improvement of microcontroller driven piezoelectric buzzer
Next article:Introduction to RAM testing methods based on several commonly used single-chip microcomputer systems

Recommended ReadingLatest update time:2024-11-16 17:58

Multi-interface card reader solution based on NXP's LPC11U12 MCU
With the rapid development of electronic payment in the financial industry and the Internet of Things industry, traditional magnetic card and barcode recognition technologies have brought many security issues due to the fact that they are easy to copy and damage. Therefore, contact and contactless smart IC cards, RFID
[Microcontroller]
Multi-interface card reader solution based on NXP's LPC11U12 MCU
Design of Computer Monitor Based on EM78P468 Single Chip Microcomputer
introduction As computer technology gradually penetrates into all aspects of social life, more and more people are using computers. Among these people, a large number are not familiar with computer hardware or do not know how to maintain it. Here, a computer monitor is designed. Its function is to timely re
[Microcontroller]
Design of blood pressure remote diagnosis system based on single chip microcomputer
  0 Preface   With the improvement of living standards, people pay more and more attention to their physical health, and more and more patients go to hospitals for treatment. The basic physiological characteristics of each patient (such as heart rate, pulse, blood pressure, etc.) are the focus of doctors. If these sma
[Microcontroller]
Design of blood pressure remote diagnosis system based on single chip microcomputer
MCU dual-machine communication Very detailed UART serial port asynchronous communication
1. Overall design 1. Design requirements: Serial communication is carried out between the two microcontrollers. The sending end sends 0~f loop to the receiving end, and it is displayed on the receiving end. 2. Design plan: In this design, for two 89C51 chips, RS232 is used for dual-machine communication. The data of
[Microcontroller]
MCU dual-machine communication Very detailed UART serial port asynchronous communication
Design of DC power collection charger based on single chip microcomputer
  In recent years, the problem of energy shortage has become increasingly prominent. While people are worried about energy depletion, the waste of energy is alarming. For example, various discarded batteries, especially those used in remote control toy cars, are discarded before even half of their energy is used. This
[Microcontroller]
Design of DC power collection charger based on single chip microcomputer
Single chip microcomputer lighting (lighting, flashing, running light)
1. Light up working principle: As shown in the figure, the anode of the diode is connected to the resistor, and the cathode of the diode is connected to the pin of the microcontroller. D0 corresponds to P20, D1 corresponds to P21,,,,,,,, are all controlled through the P2 hole. diode: The positive terminal of the
[Microcontroller]
51 MCU uses an IO port to do RC charging and discharging to simulate ADC
AUXR         DATA      08EH          ;Auxiliary register P1M1         DATA      091H          ;P1M1.N,P1M0.N       =00--- Standard,      01--- push-pull P1M0         DATA      092H          ;                           =10--- pure input,   11--- open drain   P_RC         BIT       P1.0          ;RC port   DLY
[Microcontroller]
MCU C language programming: 8 LEDs light up back and forth
/* Name: 8 LEDs light up back and forth Description: The program uses the circular shift functions _crol_ and _cror_ to create a back and forth scrolling effect */ #include reg51.h #include intrins.h #define uchar unsigned char #define uint unsigned int //Delay void DelayMS(uint x) { flying i; wh
[Microcontroller]
MCU C language programming: 8 LEDs light up back and forth
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号