2792 views|2 replies

13

Posts

0

Resources
The OP
 

[GD32E231 Work Submission] Quartz Accelerometer Acquisition [Copy link]

Introduction

The quartz accelerometer is a high-precision acceleration sensor with a higher range and stability than MEM. It can be combined with various gyroscope systems to achieve high-precision attitude and instantaneous velocity acquisition. It can be used in the construction of large and medium-sized motion devices with high attitude control requirements.

This design mainly realizes the control and acquisition of quartz accelerometer, using GD32E231 as the main control chip. GD32E231 chip controls the quartz pendulum in real time and obtains acceleration data, and connects to the host computer through usart0 for data detection and recording.

2. System Block Diagram

Figure 1 Block diagram

The GPIO of E231 is used to control the feedback of the accelerometer, and the feedback current is output to the ADC of E231 through the sampling resistor. The acceleration value is collected through oversampling, filtering and numerical calculation. The value is sent to the host computer through UART without verifying the effect of the data for recording and analysis.

3. Physical objects and data diagrams

Figure 2 Circuit connection

After applying a disturbance to the accelerometer, obvious changes can be seen

Figure 3 Data collected by finger disturbance

By switching the accelerometer in reverse, you can see the trend of the value.

Four conclusions

1. Oversampling can significantly improve data stability. Since the sampling rate of E231 is relatively high, it is recommended to oversample and filter according to the bandwidth of its own acquisition.

2. There is no UART level conversion on the board, so the TTL IO can be connected to another circuit and converted into RS422/485 signal for output.

3. Multi-channel acquisition will significantly reduce the bandwidth and produce some crosstalk, which should be given special consideration in subsequent multi-channel acquisition design.

image.png (21.96 KB, downloads: 0)

image.png

ADC的ACC.rar

253.72 KB, downloads: 3

This post is from GD32 MCU

Latest reply

Thanks for sharing   Details Published on 2021-4-24 17:57
 

2w

Posts

74

Resources
2
 

Like

This post is from GD32 MCU
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
 
Personal signature

加油!在电子行业默默贡献自己的力量!:)

 
 

661

Posts

0

Resources
3
 

Thanks for sharing

This post is from GD32 MCU
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list