Research on Industrial Control Data Acquisition System Based on ARM7

Publisher:声慢慢Latest update time:2011-05-28 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
0 Introduction
In the field of industrial measurement and control, a large number of real-time field parameters need to be obtained. Due to the harsh, complex and changeable environment, data acquisition systems are mostly completed by industrial computers. However, industrial computers are large in size, power consumption, poor in reliability, inconvenient to install and expensive. In addition, there are dedicated data acquisition systems that can work independently and are completed using DSP (digital signal processor) and MCU (microcontroller). The disadvantages are high prices and poor human-computer interaction. The rapid development of embedded processors has effectively made up for the shortcomings of industrial computers, especially ARM processors. It not only combines the advantages of the above-mentioned acquisition systems and overcomes their shortcomings, but also adds some new functions and new features. The addition of new functions and new features has further expanded its application field and scope, and can be targeted at different needs with great flexibility.
This solution is implemented using ARM processors. ARM processors are usually SoC chips. Their large number of on-chip peripherals and more powerful performance than traditional controllers such as single-chip microcomputers are their main features. Today's ARM processors have the ability to handle simple signal processing. Using ARM processors in system design will undoubtedly benefit from all aspects, including performance, function, cost, power consumption and other aspects.

1 System operation principle and hardware design
This project studies the data acquisition hardware platform based on the ARM7 chip STM32F103VBT6 and the data processing software platform based on the embedded Linux operating system. A platform integrating embedded control, high-speed data acquisition, real-time processing and friendly human-computer interaction interface has been developed, which can perform high-speed acquisition, processing and display of field signals. The hardware modules of the data acquisition system mainly include: front-end conditioning module, A/D conversion module, microprocessor main module, and human-machine interface unit. The basic structure diagram of the system is shown in Figure 1.

1.JPG


1.1 Signal conditioning module
The signal conditioning module conditions the sensor signal. Through the isolation, amplification, filtering, etc. of signal conditioning, the reliability and performance of the data acquisition system are greatly improved. To design a suitable signal conditioning circuit, not only the content of the signal conditioning itself should be considered, but also the application environment of the signal conditioning circuit and the significance of the measured parameters.
1.2 ARM processor
In a multi-tasking system, the kernel is responsible for managing each task, or allocating the CPU to each task. The first step in building a data acquisition system hardware development platform is to choose the ARM core. Various series of ARM systems, such as ARM7, ARM9, etc., are targeted at different embedded system applications.
The system uses the 32-bit ARM Cortex-M3 processor STM32F103VBT6 as the main control chip, which has very rich on-chip resources, such as real-time clock (RTC), timer (TIM), general I/O interface (GPIO), DMA controller, A/D converter, USART interface, I2C interface, SPI interface and CAN bus interface, as well as 20 kB on-chip SRAM, 128 KB on-chip FLASH and a full-speed USB peripheral device that supports USB 2.0 specification. It is the main control unit of the entire system, coordinating other modules to complete multiple functions such as data acquisition, storage, processing, control, and transmission. [page]

1.3 Analog-to-digital conversion circuit
The important indicators to measure the performance of an acquisition system are its sampling speed and sampling accuracy. Therefore, the A/D chip is one of the most important devices in the data acquisition system. For the data acquisition of analog signals, it is necessary not only to consider how to cooperate with the front-end signal conditioning part and the back-end signal processing part, but also to consider some requirements of the data acquisition itself. In other words, it is necessary not only to consider the relevant parameters of the analog input, the signal type and connection method of the measurement system, the sampling method, etc., but also to consider how the acquisition module is connected to the microprocessor module behind. At present, there are many varieties of A/D converters on the market, and each chip has different control methods and application conditions. For general industrial acquisition systems, under the condition of ensuring accuracy and speed, the sampling speed should be increased as much as possible to meet the requirements of real-time acquisition, real-time processing and real-time control. Usually, a successive approximation type or parallel comparison type A/D converter is selected. This system uses TI's 16-bit high-speed sampling analog/digital converter (ADC) ADS8317 to achieve fast conversion of analog signals to digital signals.
The power supply voltage of ADS8317 ranges from 2.7 to 5.5 V. It requires only a small amount of current when working at full speed, and when working at low speed, it can keep the high-speed device in shutdown mode most of the time, so that the average power consumption at a data rate of 10 kHz is less than 0.2 mW. The device is widely used in battery-powered systems, remote data acquisition, independent data acquisition, industrial control, robots, vibration analysis and simultaneous sampling of multi-channel systems. The system uses two multiplexers MPC506, and the circuit for converting the signal output from its OUT end to ADS8317 for A/D conversion is shown in Figure 2.

2.JPG [page]

1.4 Debug interface circuit
As the main control chip, STM32F103VBT6 has a 20-pin JTAG debugging interface that complies with the IEEE STDll49.1-1990 standard. Through this interface, the operation of the chip can be controlled and internal information can be obtained. The system uses the JTAG interface to debug the program and burn the program into the FLASH. It connects the five signal lines TD1, TMS, TCK, TD0, and NRESE-T inside the STM32F103VBT6. Four of them are inputs, and each is connected to an external pull-up resistor to ensure reliable signal transmission. NRESET is the reset pin of the internal JTAG interface circuit. The system reset signal can be connected through a 1 kΩ resistor to use the MULTI-ICE emulator for debugging. The circuit is shown in Figure 3.

2 Software design
For embedded systems, their software design is closely related to the hardware platform. Different hardware environments will affect the choice of operating system. After the hardware solution is determined, the choice of operating system is relatively easy.
When choosing the type of embedded operating system, in addition to the economic cost, the main consideration is their performance evaluation indicators. In addition, there are some other factors: the degree of support for development tools such as compilers, keyers, debuggers, etc.; portability and difficulty of porting; whether the memory supports MMU; whether it is scalable and supports user customization capabilities; the quality of real-time performance and whether the network function is powerful, etc., which are also our key considerations.
At present, the open source free software Linux operating system has become the most used soft real-time embedded operating system, which is due to its unique characteristics and advantages: low development cost, customizable kernel, perfect integrated development environment, and good portability. This system uses the Linux operating system and designs the application on the Linux platform. The flow chart is shown in Figure 4.

3.JPG



3 Conclusion
This system is developed and designed using ARM7. It has the characteristics of high precision, stable operation, good real-time performance, strong anti-interference ability, and high cost performance. It can be widely used in various industrial occasions. The
use of an embedded microprocessor based on ARM7 can make the system miniaturized, facilitate performance improvement and connection and expansion with various peripherals, while reducing costs and being stable and reliable in specific applications.

Reference address:Research on Industrial Control Data Acquisition System Based on ARM7

Previous article:Intelligent wireless signal transmitter based on ARM
Next article:Design of MVB_CAN Gateway Based on ARM7

Recommended ReadingLatest update time:2024-11-16 15:56

ARM some special symbols
Special symbols corresponding to the meaning of instructions    Special symbol Corresponding instruction Meaning   = DCB allocates a continuous byte storage unit and initializes it with the specified data   & DCD allocates a continuous word storage unit and initializes it with the specified data   % SPACE a
[Microcontroller]
[Embedded] Use Qt to add a software keyboard to ARM9 (mini2440) and add a dynamic link library
The following four files can be downloaded from the embedded folder KeyPad in the Quickdisk The methods for adding other dynamic link libraries are the same Account: sharefromfox@163.com Password: 3.1415926 The following four files can be downloaded from the embedded folder KeyPad in
[Microcontroller]
[Embedded] Use Qt to add a software keyboard to ARM9 (mini2440) and add a dynamic link library
Video Acquisition and Processing System Based on FPGA and ARM
In recent years, the rapid development of video technology has made video products more and more popular. Video signal acquisition is the front-end part of the entire video application and plays an extremely important role. Traditional image acquisition cards are oriented to computer applications, with large size and
[Microcontroller]
Video Acquisition and Processing System Based on FPGA and ARM
ARM Cortex series (A8/A9/A15/A7) NEON multimedia processing SIMD engine optimization
The NEON multimedia processor of Cortex-A9 is based on the SIMD (Single Instruction Multiple Data) and vector floating-point VFPv3 (Vector Floating-Point) instruction sets of ARMv7. In the specific chip design, the NEON component is optional. The NEON processor is oriented to the fields of audio, video codec, image pro
[Microcontroller]
ARM Cortex series (A8/A9/A15/A7) NEON multimedia processing SIMD engine optimization
Essential online ARM simulator knowledge for embedded system designers
This article provides some information about online ARM emulators and their benefits to you as an embedded system designer. Based on your needs, you will make a more appropriate choice of development tools in product development. 1. Development cycle of embedded pr
[Microcontroller]
ARM-GCC-LD script
From previous experience, link script is a very important thing for embedded development and single-chip microcomputer development. The work it completes is not something that comrades who do PC software need to worry about, but it is also a very complicated task. In summary, the link script tells the linker 1: What
[Microcontroller]
S3C-2416 kernel (linux-2.6.35-rc3) compilation process
1. Compilation error correction 1. Added in linux-2.6.35-rc3\arch\arm\mach-s3c2416\kconfig:  config MACH_SMDK2416         bool "SMDK2416"         select CPU_S3C2416         select S3C_DEV_FB         select S3C_DEV_NAND  #add by ltls         select S3C_DEV_USB_HOST  #add by ltls         select S3C_DEV_SMDK #add by ltls
[Microcontroller]
Research and design of embedded file system based on ARM and SD card
Introduction With the continuous improvement of embedded processor computer capabilities, 32-bit MPU has become the mainstream of embedded system applications. Aiming at the problems of data storage and data exchange encountered in the development of automobile performance recorder, this paper designs and deve
[Microcontroller]
Research and design of embedded file system based on ARM and SD card
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号