基于单线数字温度传感器的中央空调计费系统
摘要:通过对中央空调计费现状弊端的分析,提出了采用两个单线数字温度传感器和单片机检测用户实际使用冷气时间来测量用户消费能源的信息,并通过485 总线将信息发送至系统主机,从而实现中央空调消费的合理收费,解决了物业管理部门和用户的长期争端。
本设计是根据空调用户的使用档位情况进行计费,空调是简化了的模型,假设空调被简化为三个档位,第一、二、三档位分别对应的相乘系数是1、2、3。把空调的三个档位看作三路开关量信号AI1~~~AI3分别对应的系数是1、2、3;同时三路开关量要麽只有一个打开,要麽全部关闭,微处理器接收到任一路开关量对该开关量进行计时,当该开关量结束后进行运算处理,即将时间值与系数相乘,并将结果储存,如果其他开关量打开则继续上述过程,同时将上次的结果累积,当上位机(PC机)查询时,通过串口将结果输出,同时显示该结果。附带看门狗电路保证系统工作稳定可靠,不会因为偶然事件造成系统死机而停止工作。按键包括对系统复位的复位键、两个显示按键(实时查看单片机记录的数值并通过显示器显示,或显示温度)。
关键词:单线数字传感器;中央空调;计费系统
Charge system of central air conditoner based on one - linedigital temperature sensors
Abstract : After analysis the defect of charge for cent ral air conditioner system of this time. A system has been designed , in which two one - line digital temperature sensors and single - puter were used to measurethe information of energy consumed by users , and sended this information to cent puter by 485 bus. Thus realized fair charging , solved the long - time dispute between sumer and the runners.
This design is carries on the cost according to the air conditioning user's use files position situation, the air conditioning simplified the model, the supposition air conditioning by the simplification is three files positions, one, two, three respectively correspond multiplications the coefficient is 1, 2, 3. Regards as three-way switch quantity signal AI1~AI3 the air conditioning three files position respectively to correspond the coefficient which ~ mouth three-way switch quantity signal AI1~AI3 corresponds separately is 1, 2, 3; Simultaneously the three-way switch quantity wants only then one to open, wants to pletely, the microprocessor receive assumes the post a group switch quantity to carry on the time to this switch quantity, after this switch quantity had ended carries on operation processing, soon the time value and the coefficient multiplication, and finally will store up, if other switch quantity will open continues the above process, s
毕业设计(论文)-基于单线数字温度传感器的中央空调计费系统 来自淘豆网www.taodocs.com转载请标明出处.