Mechanical data acquisition and analysis system based on ARM

Publisher:chenxiaohong68Latest update time:2011-11-01 Keywords:ARM Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Rock mass mechanical property testing is an important part of rock mass mechanical property testing technology. Its main purpose is to provide necessary physical and mechanical parameters for rock mass deformation and stability analysis and calculation [1]. This paper designs an ARM-based mechanical property testing system to automatically test, collect and analyze the test data of rock block mechanical property testing, so as to accurately predict the deformation and stability of rock mass under various stress fields, and then provide rock mass mechanics basis for reasonable engineering design.

1 System composition

The system is an embedded platform based on the S3C44B0X processor, using μC/OS-II as the operating system. On the one hand, the system design must meet the requirements of rock mechanics property testing, and on the other hand, more functions must be realized on the limited resources of the embedded system. It is mainly composed of data acquisition, data storage, data transmission, etc. By cooperating with rock mechanics test instruments, real-time data acquisition and display are performed, and the test data can also be transmitted to the host computer for further analysis and storage. The basic structure of the system is shown in Figure 1:


First, the mechanical properties of the rock specimen are tested by the mechanical test instrument. The data is obtained by the sensor on the instrument, and then the embedded data acquisition system collects the data and displays the data on the LCD. At the same time, in order to effectively save the data during the test, the storage unit of the system is expanded. The system can communicate with the remote host computer using Ethernet or CAN bus, or it can be connected to the host computer through the serial port. The data processing and analysis system processes and draws the data, and the experimental data obtained can be stored, analyzed, and printed.

2 System application software design

Each module of the system performs different functions. Based on the μC/OS-II operating system, it realizes data acquisition, display, storage and network transmission through task scheduling. The overall design principle is modular design of the system. Each functional module is independent of each other, and the interface is as simple as possible to achieve high cohesion and low coupling of each module, so as to facilitate system maintenance and further expansion.

The system application is mainly written in C language and assembly language, and its functions include: (1) sending a test start signal through an I/O port; (2) collecting and converting real-time data of multiple test parameters through the system's built-in ADC; (3) using the LCD display interface to dynamically display parameter curves using a line graph; (4) when data input is required, the processor scans the keyboard input and output ports to obtain the input value, so that the test process can be monitored in real time and corresponding control can be performed; (5) S3C44B0X can conduct tests independently from the host computer, or communicate with the host computer through Ethernet or CAN bus to transmit test data to the host computer. The specific implementation of the program is to establish multiple tasks of different priorities in the operating system, and then synchronize them through message queues and global variables [5] [6]. The main program flow chart is as follows:

The host computer program is mainly written based on Delphi language. The host computer is connected to the test system to control the test instruments, obtain test data, display the test data curve, and can also conveniently query each set of test data through database technology and compare the test data result files through the PC display interface.

[page]

3 System Testing

In order to debug the performance of the developed real-time data acquisition and analysis system, multiple uniaxial compression, uniaxial tension, triaxial compression, direct shear and other tests were carried out on the rock mechanics test instrument. The corresponding analog signals of three pressure sensors and two displacement sensors were collected to record the pressure, displacement, deformation and other parameters of the entire specimen during the test.

Example (triaxial test (force--travel)):

3) Transmit data to the host computer through the network and display

The test data is stored in the embedded system during the test and can be transmitted to the host computer at the same time. The host computer can take advantage of the large storage space to store the test history data and display the history data at any time.

The host computer receives network data as shown in Figure 4.

4 Conclusion

The test system can automate and intelligentize a series of processes in rock mechanics test, from obtaining measurement data, drawing mechanical property curves, printing reports, to comparing, analyzing and storing experimental data, so that the rock mechanics test and calculation analysis system can be miniaturized, intelligent, and efficiently realize the problem of data collection and analysis in the test. It also has the advantages of low coupling, high cohesion, scalability, portability, good stability, small size and low cost.

The author's innovations in this paper are as follows: (1) Implemented a practical real-time data acquisition and analysis system. (2) Ported the real-time embedded operating system μC/OSII to the ARM7 platform. (3) Ported the TCP/IP protocol stack.

Keywords:ARM Reference address:Mechanical data acquisition and analysis system based on ARM

Previous article:STM32 USB Design-MCU Program
Next article:Embedded real-time image processing system based on ARM+FPGA+multi-DSP

Recommended ReadingLatest update time:2024-11-16 23:42

ARM interrupt source timer interrupt
Real-time clock request interrupt. In the control, when timing detection and control are encountered, an external clock circuit (programmable) is often used to control its time interval. When timing is required, the CPU issues a command to start the clock circuit. Once the specified time is reached, the clock circuit
[Microcontroller]
Testing and analysis of 8051, ARM and DSP instruction cycles
In real-time control systems, the most important issue when selecting the indicators of a microcontroller is the calculation speed. The instruction cycle is an important indicator that reflects the computing speed. For this reason, this article analyzes and tests the instruction cycles of the three most representative
[Microcontroller]
The range of immediate addressing in the ARM instruction set
Why is this? After searching the Internet, I found many related discussion posts. Combined with my own understanding, I came to the following conclusion. If you are interested, you can search for this keyword, 8-bit bitmap. It turns out that our second operand follows this rule. The above explanation text comes fr
[Microcontroller]
The range of immediate addressing in the ARM instruction set
A Design Scheme of ARM Controlled Inverter
1. System overall plan 1.1 Overall design diagram As shown in Figure 1, the inverter system consists of a boost circuit, an inverter circuit, a control circuit, and a feedback circuit. The low-voltage DC power supply DC12V is boosted, rectified, and filtered by the boost circuit to obtain a high-voltage DC power of a
[Power Management]
A Design Scheme of ARM Controlled Inverter
PWM principle and buzzer driver example development in ARM Linux
1. What is PWM?    PWM (Pulse Width Modulation) is simply a frequency conversion technology that controls the output voltage by changing the pulse width and controls the output frequency by changing the cycle. If it is still not clear, let's take a look at some examples in real life. Why does the speed of our electric
[Microcontroller]
PWM principle and buzzer driver example development in ARM Linux
Circuit design of vehicle detection system control unit based on ARM
Due to the increasing demand for traffic, more and more circular induction coil detectors are used for traffic detection. These coils buried under the road surface can detect electromagnetic changes when vehicles pass by and accurately calculate traffic flow. Traffic flow is the basic data for traffic statistics and
[Automotive Electronics]
Circuit design of vehicle detection system control unit based on ARM
Design of Network Video Recorder Based on DSP/ARM
With the improvement of people's living standards and the growing demand for security and defense in work and living environments, video surveillance systems have developed rapidly in recent years. Traditional PC-based video surveillance systems have many disadvantages such as inconvenient installation and carrying,
[Microcontroller]
Design of Network Video Recorder Based on DSP/ARM
Switching power supply control system based on ARM and PID algorithm
In recent years, embedded technology has developed rapidly, and high-integration processors with single-chip microcomputers and dedicated embedded ARM as the core have emerged and have been widely used in the fields of communications, automation, power electronics, etc. The power supply industry ha
[Power Management]
Switching power supply control system based on ARM and PID algorithm
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号