1、 第 I 页,共 44 页 基于基于 MAX1452MAX1452 的压力传感器校准系统设计的压力传感器校准系统设计 摘摘 要要 针对硅压阻式传感器存在的稳定漂移误差和输出信号的非线性提出了MAX1452 温度调理芯片进行补偿的方案。本设计描述了系统结构、功能、数据传输及软件实 现,描述了温度补偿系统的整体架构,着重阐述了 MAX1452 的补偿原理以及对传感 器的补偿过程。利用 C 语言对上位机软件进行编程,实现对核心补偿器件 MAX1452 的可视化操作与控制。通过最小二乘法进行曲线拟合,得到温度漂移补偿数据。测 试结果表明可以使传感器经过补偿以后,在-4080的温度范围内输出的信号与 压
2、力有良好的线性关系。 关键词:硅压阻式传感器,温度误差,MAX1452,温度补偿 第 2 页,共 39 页 Design of Compensating Silicon Piezo resistive SensorError based on MAX1452 Abstract The stability of nonlinear drift error and the output signal for silicon piezo resistive sensors, the MAX1452 temperature conditioning chip compensation program.
3、 Describes the system structure, function, data transmission and software for this design, describes the overall structure of the temperature compensation system, focusing on the MAX1452 compensation principle and the compensation of the sensor. The use of C language programming on the PC software,
4、operation and control of the visualization core compensation device is the MAX1452. By the method of least squares curve fitting to get the temperature drift compensation data. The test results show that the sensor is after the compensation, the output signal in the temperature range of -40 80 C and
5、 pressure have a good linear relationship. Key Words: silicon piezo resistive sensor,temperature errors,MAX1452, Temperature compensation 第 3 页,共 39 页 目目 录录 1 绪论 . 1 1.1 1.1 课题背景及研究意义课题背景及研究意义 1 1 1.2 1.2 国内外研究现状国内外研究现状 2 2 1.3 1.3 课题的主要研究内容课题的主要研究内容 4 4 2 基于 MAX1452 的压力传感器的硬件研究 5 2.1 2.1 系统总体设计系统总体
6、设计 5 5 2.2 2.2 传感器传感器 6 6 2.2.1 2.2.1 压力传感器选型压力传感器选型 6 6 2.2.22.2.2 补偿模补偿模块块 7 7 2.2.3 2.2.3 压力测试电路图压力测试电路图 9 9 2.3 2.3 控制模块控制模块 1 10 0 2.3.1 微处理器 10 2.3.2 2.3.2 数据通信接口设计数据通信接口设计 1212 2.3.3 +5V2.3.3 +5V 稳压电源模块稳压电源模块 1 16 6 2.3.5 部分电路的焊接图 . 18 3 3 软软件设计件设计 1919 3 3.1.1 软件设计概述软件设计概述 1 19 9 3 3.2.2 单片机编程单片机编程 1919 3 3.2.1.2.1 流程图流程图 2020 3 3.2.2.2.2 主要程序主要程序 2 23 3 4 4 传感器的校准及补偿传感器的校准及补偿 2 28 8 4.1 校准补偿目的 28 4 4.2 .2 校准补偿方法及步骤校准补偿方法及步骤 2929 4.3 传感器校准补