为了能够实现两个非接触式传感器配合信号处理电路以及显示电路来检测获得钢珠的运动参数功能,设计了以STC12C5A60S2单片机为控制中心,选用两个电感式的环形接近开关以检测钢珠在管道中的运行情况,运用光耦转换电路以及传感...
基于STC12C5A60S2单片机钢珠运动测量装置设计
资料详细技术说明
本文以STC12C5A60S2单片机为控制核心,设计了一个管道内钢珠运动测量装置。接近开关检测小球的运动情况,传送信号到单片机触发中断,角度传感器测量管道角度,建立小球运动与角度关联的数据库。通过小球运动的相关数据对比数据库,采用排比算法和算法修正得到精确的角度值。该装置能够实现钢珠个数测量、运动方向显示、运动速度测量、管道摆动周期及倾斜角度的测量。
In this paper, STC12C5A60S2 single-chip microcomputer is used as the control core to design a measurement device for steel ball movement in the pipeline. The proximity switch detects the ball's motion and sends the signal to the MCU to trigger the interrupt. The Angle sensor measures the pipe Angle and establishes the database related to the ball movement and Angle. By comparing the relevant data of the ball movement with the database, the exact Angle is obtained by using the parallel algorithm and algorithm correction. The device can measure the number of steel balls, the direction of movement, the velocity of movement, the period of pipe swing and the Angle of inclination.
相关技术资料推荐
下载与解压说明
下载积分规则
- 本资源下载仅需 2 积分
- 24 小时内重复下载免扣积分
- VIP 会员享专属免积分高速通道
文件解压指南
- 推荐使用 7-Zip 或新版 WinRAR 解压
- 原理图与 PCB 请使用对应 EDA 软件打开
- 压缩包内源码可直接在上方在线预览
免费获取积分
- 新用户注册即赠送 10 积分
- 上传分享工程资料可获得持续积分奖励
- 查看积分规则与会员权益 →