1、 毕业设计说明书毕业设计说明书 基于基于STC89C52量程自动转换电压量程自动转换电压 表的设计表的设计 专专 业业 自动化 学生姓名学生姓名 班班 级级 BM 自动化 091 学学 号号 指导教师指导教师 xx 完成日期完成日期 2013 年 6 月 5 日 毕业设计说明书(毕业论文) 独创性声明 本人声明所呈交的毕业设计说明书(毕业论文)是本人在导师指导下 进行的研究、设计工作后独立完成的。除了文中特别加以标注和致谢的 地方外,说明书中不包含其他人己经发表或撰写过的研究成果。对本文 的研究所做贡献集体和个人, 均己在说明书中作了明确的说明并表示谢 意。本人完全意识到本声明的法律后果由本人
2、承担。 毕业设计说明书(毕业论文)作者签名(手写): 日期: 年 月 日 指导教师签名(手写): 日期: 年 月 日 基于基于STC89C52量程自动转换电压表的设计量程自动转换电压表的设计 摘 要:电工测量参数一般包括电流、电压、功率、功率、频率因数等。在电 网调度自动化的设备过程中需要配置多只显示上述电工参数的面板表,如电流 表、电压表、功率表等等,其一般多为指针式面板表,精度较低,可视距离近, 且需要人工抄录数据,不仅浪费人力资源,而且对数据管理不便。近些年,随着 微电子技术的迅猛发展和大规模集成电路的出现,特别是单片机的出现,正在引 起测量控制仪表领域的技术革命。 设计基于STC89C
3、52 微控制器的量程自动转换电压表。 被测信号经输入阻抗 分压衰减后得到与输入的被测电压成比例的电压值, 并由运算放大器LM324按比 例将其放大,最后经整流滤波得到与输入电压成比例的直流电压值。实现电压表 量程的切换只需要改变放大电路的放大倍数即可。 运算放大器是用电压负反馈比 例放大由CD4051模拟开关进行Rf的选择,从而实现放大倍数的控制。再由单片 机对A/D转换的结果进行转换,得到被测电压的数值后,通过单片机驱动LCD液 晶显示器显示测量的最终结果。 关键词:单片机;量程自动转换;A/D转换 Design of Measuring Range Automatic Conversion
4、 Voltage Meter Based on STC89C52 Single Chip Computer Abstract: Electrical measuring parameters generally include current, voltage, power, power factor, frequency, etc. In the process of power grid dispatching automation equipment need to configure the display only the electrical parameters of the p
5、anel table, such as ammeter, voltage meter, power meter, its general table of pointer type panel, low precision, visual distance, and the need to manually transcribing data, not only waste of human resources, but also for data management of inconvenience. In recent years, with the rapid development
6、of microelectronics technology and the emergence of large scale integrated circuit, particularly the emergence of single chip microcomputer, It is caused by the new technological revolution in the field of measuring control instrument. Based on STC89C52 microcontroller automatic conversion voltage meter range. Measured signal after input impedance differential pressure attenuation is proportional to input voltage being measured voltage value, and by the operational amplifier