Application of single chip microcomputer in storage test system

Publisher:小熊掌心Latest update time:2012-02-10 Source: 半导体技术 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1 Introduction

ADμC812 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 block diagram of the ADμC812 microcontroller is shown in Figure 1. Its main features are as follows:


(1) It has a high-speed (200kSPS) 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 ADμC812 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 the 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 200kSPS high-speed A/D conversion. The DMA mode is particularly suitable for storage test systems that require high-speed sampling data streams.

(2) The DPP data page pointer can access a large external data memory with a maximum capacity of 16MB. ADμC812 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 there is no external latch on the P2 port, DPP is ignored, and the ADμC812 accesses the external 64kB data memory like the 8051.


(3) ADμC812 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 (off) 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 ADμC812 is approximately 5μA.

3 Application in storage test system

Since the ADμC812 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 ADμC812 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 ADμC812 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, data comparison, chart display, chart editing, chart printing and automatic test report generation functions.


In this storage test system, the selection of trigger points is the key point and 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, part of the 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 inevitably be lost, resulting in test failure. Therefore, the control of the trigger point in the storage test system is particularly important (limited by space, not detailed). The ADμC812 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, ADμC812 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.

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

Previous article:74HC373 and Flash Memory AT29C010A and Their Application
Next article:Application of MCU in display control

Recommended ReadingLatest update time:2024-11-17 01:38

51 Setting variables, arrays, and functions in fixed positions in single-chip microcomputers
1. Variables or arrays without initial values Simply use the _at_ keyword plus the address. like:  unsigned char idata myvar _at_ 0x40;  unsigned char code myvar _at_ 0x40; There are spaces before and after the _at_ keyword. 2. Variables or arrays with initial values To locate a variable at an absolute p
[Microcontroller]
The use of WR and RD in 51 single chip microcomputer
        For example, chips such as DAC0832 and PDIUSBD12 are all parallel transmission, and the chips have WR and RD pins. When using this chip, you may connect WR and RD to the ordinary IO port of 51, and use the ordinary IO port to simulate the read and write timing of the chip to operate the chip (some microcontroll
[Microcontroller]
Distributed battery management system based on single chip microcomputer design
1 Introduction     With the rapid development of high technology and its industry, battery energy systems with large storage capacity have been increasingly valued by people and have been widely used in many fields. For example, in the new direction and new hot spot of the development of the automobile industry - th
[Microcontroller]
Distributed battery management system based on single chip microcomputer design
Teach you to construct a real-time operating system for 51 single-chip microcomputer
At present, most product development is based on some small-capacity single-chip microcomputers. The 51 series single-chip microcomputer is one of the most widely used single-chip microcomputer series in my country. It has a very broad application environment and prospects. With the accumulation of resources over th
[Microcontroller]
Teach you to construct a real-time operating system for 51 single-chip microcomputer
Design of infrared night vision device based on PIC microcontroller
With the rapid development of the automobile market and the increasing awareness of security, people have higher and higher requirements for automobile safety technology. However, the existing automobile lighting system has the disadvantages of short visibility and poor effect in low visibility conditions such as snow
[Microcontroller]
Design of infrared night vision device based on PIC microcontroller
Vehicle Overload Monitoring System Based on Single Chip Microcomputer
The vehicle overload detection simulation principle diagram is as follows The source program of the electronic scale microcontroller is as follows: //Linear interval scale transformation formula: y=(115-15)/(243-13)*X+15kpa    #include AT89X52.h   #include intrins.h #include stdio.h #define R24C04ADD 0xA1
[Microcontroller]
Vehicle Overload Monitoring System Based on Single Chip Microcomputer
PWM output configuration of STM8S105 series microcontroller
Timer resources of STM8S105xx: (1) Two 16-bit general-purpose timers (TIM2, TIM3) with 2+3 CAPCOM channels (IC, OC or PWM); (2) Advanced control timer (TIM1): 16 bits, 4 CAPCOM channels (capture/compare channels), 3 complementary outputs, dead zone insertion and flexible synchronization; (3) 8-bit basic timer (T
[Microcontroller]
PWM output configuration of STM8S105 series microcontroller
Development of Pulse Measuring Instrument Based on 8098 Single Chip Microcomputer
1 Measurement principle The 8098 microcontroller has high-speed input and output channels with excellent performance. HSO0~HSO5 are high-speed output channels, which can generate pulse waves (PWM) with adjustable output width and period. HSI0~HSI3 are high-speed input channels. The CPU can simultaneously re
[Test Measurement]
Development of Pulse Measuring Instrument Based on 8098 Single Chip Microcomputer
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号