ImageVerifierCode 换一换
格式:DOCX , 页数:13 ,大小:69.73KB ,
资源ID:12382374      下载积分:1 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bingdoc.com/d-12382374.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(压力传感器水位检测.docx)为本站会员(b****6)主动上传,冰点文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰点文库(发送邮件至service@bingdoc.com或直接QQ联系客服),我们立即给予删除!

压力传感器水位检测.docx

1、压力传感器水位检测压力传感器水位检测院 别: xxxx 课程名称: xxxx 实验名称: 液位自动检测与控制系统 实验教室: xxx 指导教师: xxx 实验日期: xx 年 x 月 x 日 spacing of 100mm. C, line line line nearby. D, spare wire unified terminal strip Terminal (terminal strip at the top of the vertical, horizontal terminal strip from the harness to Terminal Pai end at the

2、beginning), length to ensure as far as Terminal and set aside. After e, form a wire harness, cable, line. When the line should be in the core wire for better identification and marking on the cards will be prepared in advance, alternate core core content for the cable numbering. F, finish line, acco

3、rding to the corresponding terminal locations, wire one by one from the bunch out, pulling line, should be kept parallel to each other and more. Core dark as possible, determined in accordance with specific conditions, it is required that: neat, beautiful, shapely, pleasing to the eye. 7.6.2 wiring

4、technology, out of the core wire according to Terminal position, cut off the excess, with wire stripping pliers or electrician knife stripped of insulation, so that connection. Stripping should not damage the copper core. B, core wire on the oxide and chip-insulated electricians knife scrape. C, cor

5、e processing has been completed, thread round long nose pliers in a clockwise direction. Circle with the screw in the direction of spin in the same direction, circle should be appropriate, it is best to slightly larger than the screws, bent round the circle and the length of root and appropriate so

6、set screw is screwed on tight. D, when on the crimp-type terminals when wiring, threads do not have to bend. Insulating part should be careful not to press it into a Terminal, and make the loop doesnt make sense and to prevent bad head crimping, fell down, causing an open circuit. After wiring, may

7、be tried. E, crimping Terminal crimping, wire and Terminal contact is good, solid, not subject to mechanical strain, and ensure the insulation level. F, cables, such as when there is a bare copper ground wire, bare copper wire with a plastic pipe should be set. G, when wiring wiring must be in radia

8、ns. H, terminal screws 一、 设计要求 1. 基本要求 本方案设计一个自动检测液体液位的检测仪器系统。然后通过1602液晶显示器把测得的参数显示出来。 二、 实验设备与软件 计算机、Keil C51编程器、STC下载器、Altium designer软件、数字万用表、陶瓷压力传感器 三、方案分析 根据系统的设计要求,得出以下两种方案: 方案一:红外光电传感器 红外光电传感器是由红外发射二极管和敏感三极管组成,红外发射二极管发出的红外光的波长和敏感三极管的受光波长相同或相近。当发射管和接受管之间没有障碍物时,敏感三极管由于收到红外光信号而导通,电路输出电平为低电平;当发射管

9、和接受管之间有障碍物挡住时,敏感三极管由于收不到红外光信号而截止,电路输出电平为高电平。 该系统中,对量筒中的液体表面的检测基本上是利用散射原理,在玻璃量筒中液体表面处的液体会发生外延现象或吸附现象而形成一个环形曲面,这个曲面正好供我们检测用。它是由一对红外光电对管组成的,在玻璃量筒中液体表面处的液体会发生外延现象或吸附现象而形成一个环形曲面,由于散射作用,接收管接收不到发射管的红外光信号而截止,电路输出电平为高电平。因此,可以利用其输出电平的高低来检测液面的位置,其输出信号再通过电缆输出到单片机接口电路和显示驱动电路进行处理。为了适应本系统的特殊要求,我们将红外发射、接受管分别装在U形板的两

10、边,两管距离大于玻璃量筒的直径。为了减少外来自然光的干扰,在两管的发射、接受头安装有一定深度的导光孔槽,它一方面减少了外来光的干扰,另一方面可以限制光束直径,以利于提高检测分辨率。 方案二:压力传感器 该系统中,利用不同水位是对压力传感器压力大小不同,从而有不同的电压输出,然后由仪表放大器放大一定倍数,输入比较器一端与单片机通过按键设定的电压值比较从而决定是进水还是放水。 四、方案选择 经过分析和实验要求,传统的设计方案主要靠软件实现,且操不方便,精度不高,不容易实现。所以我们选择方案二,直接将压力传感器输出的电压与单片机的设计电压进行比较,从而决定是输入水,还是放出水。实现水位的检查与控制。

11、而且方案二通过单片机输出电压控制信号,由比较器输出高低信号来控制水电泵或者电磁阀的开关,来获得实际所需的水位。spacing of 100mm. C, line line line nearby. D, spare wire unified terminal strip Terminal (terminal strip at the top of the vertical, horizontal terminal strip from the harness to Terminal Pai end at the beginning), length to ensure as far as Te

12、rminal and set aside. After e, form a wire harness, cable, line. When the line should be in the core wire for better identification and marking on the cards will be prepared in advance, alternate core core content for the cable numbering. F, finish line, according to the corresponding terminal locat

13、ions, wire one by one from the bunch out, pulling line, should be kept parallel to each other and more. Core dark as possible, determined in accordance with specific conditions, it is required that: neat, beautiful, shapely, pleasing to the eye. 7.6.2 wiring technology, out of the core wire accordin

14、g to Terminal position, cut off the excess, with wire stripping pliers or electrician knife stripped of insulation, so that connection. Stripping should not damage the copper core. B, core wire on the oxide and chip-insulated electricians knife scrape. C, core processing has been completed, thread r

15、ound long nose pliers in a clockwise direction. Circle with the screw in the direction of spin in the same direction, circle should be appropriate, it is best to slightly larger than the screws, bent round the circle and the length of root and appropriate so set screw is screwed on tight. D, when on

16、 the crimp-type terminals when wiring, threads do not have to bend. Insulating part should be careful not to press it into a Terminal, and make the loop doesnt make sense and to prevent bad head crimping, fell down, causing an open circuit. After wiring, may be tried. E, crimping Terminal crimping,

17、wire and Terminal contact is good, solid, not subject to mechanical strain, and ensure the insulation level. F, cables, such as when there is a bare copper ground wire, bare copper wire with a plastic pipe should be set. G, when wiring wiring must be in radians. H, terminal screws 通过选择合适的DA我们可以设置不同的

18、电压值,可以很好的提高控制精度和实现更加方便和节约成本,实现了整个设计。 五、系统具体设计方案 液位自动检测与控制系统由软、硬件共同组成。考虑到工作速度和可靠性、题目精度要求等因素,合理地分配了硬件和软件资源,在进行设计时,充分考虑了件和软件的特点,协调其功能。电子负载系统的硬件部分包括以下部分: (1) 单片机的选择与I/O的分配 (2) 液晶显示模块 (3) A/D转换电压电流采样模块 (4) 电源电路模块 液位自动检测与控制系统的控制程序,包括以下部分: (l)人一机联系程序。包括液晶显示输出程序等。 (2)数据采集和处理程序。主要A/D转换程序、电压电流采样程序。 六、系统电路设计 原

19、理图 PCB图 spacing of 100mm. C, line line line nearby. D, spare wire unified terminal strip Terminal (terminal strip at the top of the vertical, horizontal terminal strip from the harness to Terminal Pai end at the beginning), length to ensure as far as Terminal and set aside. After e, form a wire harn

20、ess, cable, line. When the line should be in the core wire for better identification and marking on the cards will be prepared in advance, alternate core core content for the cable numbering. F, finish line, according to the corresponding terminal locations, wire one by one from the bunch out, pulli

21、ng line, should be kept parallel to each other and more. Core dark as possible, determined in accordance with specific conditions, it is required that: neat, beautiful, shapely, pleasing to the eye. 7.6.2 wiring technology, out of the core wire according to Terminal position, cut off the excess, wit

22、h wire stripping pliers or electrician knife stripped of insulation, so that connection. Stripping should not damage the copper core. B, core wire on the oxide and chip-insulated electricians knife scrape. C, core processing has been completed, thread round long nose pliers in a clockwise direction.

23、 Circle with the screw in the direction of spin in the same direction, circle should be appropriate, it is best to slightly larger than the screws, bent round the circle and the length of root and appropriate so set screw is screwed on tight. D, when on the crimp-type terminals when wiring, threads

24、do not have to bend. Insulating part should be careful not to press it into a Terminal, and make the loop doesnt make sense and to prevent bad head crimping, fell down, causing an open circuit. After wiring, may be tried. E, crimping Terminal crimping, wire and Terminal contact is good, solid, not s

25、ubject to mechanical strain, and ensure the insulation level. F, cables, such as when there is a bare copper ground wire, bare copper wire with a plastic pipe should be set. G, when wiring wiring must be in radians. H, terminal screws 实物图 七、系统软件设计 电压电流采样子程序入口开始初始化初始化A/D转系统初始化换通通按键扫描处理程序启动A/D转换ND/A转换

26、产生基准电压Y电压电流采样A/D转化A/D转化是否完成液晶显示程序N检测电源是否完成,数据处理Y软件主程序图 电压采样图 汉字数据显示子程序结束软件程序: #include 返回#include lcd1602.h sfr P1ASF =0x9D; sfr ADC_CONTR = 0XBC; sfr AUXR1 = 0xA2; sfr ADC_RESL = 0xBE; spacing of 100mm. C, line line line nearby. D, spare wire unified terminal strip Terminal (terminal strip at the t

27、op of the vertical, horizontal terminal strip from the harness to Terminal Pai end at the beginning), length to ensure as far as Terminal and set aside. After e, form a wire harness, cable, line. When the line should be in the core wire for better identification and marking on the cards will be prep

28、ared in advance, alternate core core content for the cable numbering. F, finish line, according to the corresponding terminal locations, wire one by one from the bunch out, pulling line, should be kept parallel to each other and more. Core dark as possible, determined in accordance with specific con

29、ditions, it is required that: neat, beautiful, shapely, pleasing to the eye. 7.6.2 wiring technology, out of the core wire according to Terminal position, cut off the excess, with wire stripping pliers or electrician knife stripped of insulation, so that connection. Stripping should not damage the c

30、opper core. B, core wire on the oxide and chip-insulated electricians knife scrape. C, core processing has been completed, thread round long nose pliers in a clockwise direction. Circle with the screw in the direction of spin in the same direction, circle should be appropriate, it is best to slightl

31、y larger than the screws, bent round the circle and the length of root and appropriate so set screw is screwed on tight. D, when on the crimp-type terminals when wiring, threads do not have to bend. Insulating part should be careful not to press it into a Terminal, and make the loop doesnt make sens

32、e and to prevent bad head crimping, fell down, causing an open circuit. After wiring, may be tried. E, crimping Terminal crimping, wire and Terminal contact is good, solid, not subject to mechanical strain, and ensure the insulation level. F, cables, such as when there is a bare copper ground wire, bare copper wire with a plastic pipe should be set. G, when wiring wiring must be in radians. H, terminal screws unsigned char init_ad(void) unsigned char dat; P1ASF = 0x01; /p1.0电压输入 ADC_CONTR = 0xe8; AUXR1 = 0x04; dat = ADC_RESL; return dat;

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2