CN205318539U - Intelligence heat energy metering device based on singlechip - Google Patents
Intelligence heat energy metering device based on singlechip Download PDFInfo
- Publication number
- CN205318539U CN205318539U CN201620052619.1U CN201620052619U CN205318539U CN 205318539 U CN205318539 U CN 205318539U CN 201620052619 U CN201620052619 U CN 201620052619U CN 205318539 U CN205318539 U CN 205318539U
- Authority
- CN
- China
- Prior art keywords
- chip microcomputer
- module
- metering device
- device based
- energy metering
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 47
- 238000005259 measurement Methods 0.000 claims abstract description 18
- 238000009529 body temperature measurement Methods 0.000 claims abstract description 16
- 238000013016 damping Methods 0.000 claims description 7
- 239000007769 metal material Substances 0.000 claims description 4
- 235000014676 Phragmites communis Nutrition 0.000 claims description 2
- 230000006870 function Effects 0.000 abstract description 5
- 238000010438 heat treatment Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 11
- 238000000034 method Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 239000003990 capacitor Substances 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- XEEYBQQBJWHFJM-UHFFFAOYSA-N Iron Chemical compound [Fe] XEEYBQQBJWHFJM-UHFFFAOYSA-N 0.000 description 1
- 241001080798 Polygala tenuifolia Species 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000005347 demagnetization Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000007654 immersion Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000013215 result calculation Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000010017 yuan zhi Substances 0.000 description 1
Landscapes
- Measuring Volume Flow (AREA)
Abstract
<b>本实用新型公开了一种</b><b>基于单片机的智能热能计量装置,包括与单片机主控制器连接的流量测量模块、进水口温度测量模块、出水口温度测量模块和</b><b>IC</b><b>卡管理模块;电动阀通过单片机主控制器由</b><b>IC</b><b>卡管理模块读取的</b><b>IC</b><b>卡的剩余热量信息控制开闭,所述电动阀设置在进水口,所述单片机主控制器还连接</b><b>LCD</b><b>显示模块和报警模块,所述</b><b>LCD</b><b>显示模块用于显示热量信息和故障信息,所述报警模块用于当</b><b>IC</b><b>卡的剩余热量信息低于阈值时报警。</b><b>集自动供热、自动计量、自动收费、自动控制、预付费管理及显示报警等多种功能于一体的全新概念的智能水表,功耗超低,计量准确</b><b>。</b>
<b>The utility model discloses a </b><b>intelligent heat energy metering device based on a single-chip microcomputer, which includes a flow measurement module connected to the main controller of the single-chip microcomputer, a water inlet temperature measurement module, a water outlet temperature measurement module and</b><b>IC</b><b>card management module; the electric valve is read by the </b><b>IC</b><b>card management module</b through the MCU main controller ><b>IC</b><b>The remaining heat information of the card controls the opening and closing, the electric valve is set at the water inlet, and the main controller of the single-chip microcomputer is also connected to</b><b>LCD</b><b>Display module and alarm module, the </b><b>LCD</b><b> display module is used to display heat information and fault information, and the alarm module is used when </b><b >IC</b><b>Alarm when the remaining heat information of the card is lower than the threshold. </b><b>Integrating automatic heating, automatic metering, automatic charging, automatic control, prepaid management and display alarm and other functions, it is a new-concept smart water meter with ultra-low power consumption and accurate measurement</b><b ><b>. </b>
Description
技术领域technical field
本实用新型涉及一种热能计量装置,具体地涉及一种功耗超低,计量准确的基于单片机的智能热能计量装置。The utility model relates to a heat energy metering device, in particular to an intelligent heat energy metering device based on a single-chip microcomputer with ultra-low power consumption and accurate metering.
背景技术Background technique
热能计量装置在民用及工业领域得到广泛的应用,为节能减排及热能计量管理提供了有效的技术手段,一般热能表的热能载体为热水。Heat energy metering devices are widely used in civil and industrial fields, providing effective technical means for energy saving and emission reduction and heat energy metering management. Generally, the heat carrier of heat energy meters is hot water.
使用IC卡预付费热能表会给广大水表用户和管理部门带来很大的方便,IC卡技术的使用可实现先交费后使用,有效的解决了收费难问题。特别是在近年来能源日益短缺的情况下,今年对于供热能耗的控制,各级政府乃至全社会更是出乎寻常地重视,当前正是大量生产、安装和应用供热热量表的时节,对于各种类、各型号热量表的需求之大也是前所未有的,同时对热量表的性能、质量的要求也越来越高。The use of IC card prepaid heat meters will bring great convenience to the majority of water meter users and management departments. The use of IC card technology can realize payment before use, effectively solving the difficult problem of charging. Especially in the case of increasing energy shortage in recent years, governments at all levels and even the whole society have paid special attention to the control of heating energy consumption this year. Now is the time for mass production, installation and application of heating meters , The demand for heat meters of various types and models is also unprecedented, and the requirements for the performance and quality of heat meters are also getting higher and higher.
目前国际上最先进的热量表是“超声波热量表”。1987年,无磁测量技术产生于德国后,就广泛运用于民用领域。超声波热量表运用“差速法”测量流量。依靠精密电路,超声波热量表的精确性得以保证。但是超声波热量表的运行、维护成本较高,仅在少量场合使用,普及难度高。At present, the most advanced heat meter in the world is the "ultrasonic heat meter". In 1987, the non-magnetic measuring technology was produced in Germany and has been widely used in civilian fields. Ultrasonic heat meters use the "differential velocity method" to measure flow. Relying on the precision circuit, the accuracy of the ultrasonic heat meter can be guaranteed. However, the operation and maintenance costs of ultrasonic heat meters are relatively high, and they are only used in a small number of occasions, making it difficult to popularize them.
而目前国内大量流行的热量表仍有相当多的“有磁热量表”,所谓有磁热量表,就是在流量信号的采集上,选用的是有磁传感器,如“韦根”、“霍尔”、“干簧管”等等。在热量表基表和智能水表上使用有磁采样器件的,由于磁采样器件的特点,会产生额外的磁力而降低传动部件(在基表中指叶轮)的灵敏度,还增加了一些不稳定的因素和潜在的问题,带来一系列不应有的麻烦,如抗干扰能力低下,精度差,易堵塞,吸附铁质后磨损增加,降低使用寿命,和长时间在热水中浸泡发生磁铁退磁现象等等,本实用新型因此而来。At present, a large number of popular heat meters in China still have quite a few "magnetic heat meters". The so-called magnetic heat meters mean that magnetic sensors are selected for the collection of flow signals, such as "Wigand", "Hall ", "Reed Pipe" and so on. If the magnetic sampling device is used on the base meter of the heat meter and the smart water meter, due to the characteristics of the magnetic sampling device, it will generate additional magnetic force and reduce the sensitivity of the transmission part (the impeller in the base meter), and also increase some unstable factors. And potential problems, bring a series of undue troubles, such as low anti-interference ability, poor precision, easy to block, increased wear after absorbing iron, reduced service life, and magnet demagnetization after long-term immersion in hot water Etc., the utility model therefore comes.
实用新型内容Utility model content
为了解决上述技术问题,本实用新型目的是:提供一种基于单片机的智能热能计量装置,集自动供热、自动计量、自动收费、自动控制、预付费管理及显示报警等多种功能于一体的全新概念的智能水表,功耗超低,计量准确。In order to solve the above technical problems, the purpose of this utility model is to provide an intelligent thermal energy metering device based on a single-chip microcomputer, which integrates multiple functions such as automatic heating, automatic metering, automatic charging, automatic control, prepaid management and display alarm. A brand-new smart water meter with ultra-low power consumption and accurate measurement.
本实用新型的技术方案是:The technical scheme of the utility model is:
一种基于单片机的智能热能计量装置,其特征在于,包括与单片机主控制器连接的流量测量模块、进水口温度测量模块、出水口温度测量模块和IC卡管理模块;电动阀通过单片机主控制器由IC卡管理模块读取的IC卡的剩余热量信息控制开闭,所述电动阀设置在进水口,所述单片机主控制器还连接LCD显示模块和报警模块,所述LCD显示模块用于显示热量信息和故障信息,所述报警模块用于当IC卡的剩余热量信息低于阈值时报警。An intelligent heat metering device based on a single-chip microcomputer is characterized in that it includes a flow measurement module connected to a single-chip main controller, a water inlet temperature measurement module, a water outlet temperature measurement module and an IC card management module; the electric valve passes through the single-chip main controller The remaining heat information of the IC card read by the IC card management module controls the opening and closing, the electric valve is arranged at the water inlet, and the main controller of the single-chip microcomputer is also connected with an LCD display module and an alarm module, and the LCD display module is used for displaying Heat information and fault information, the alarm module is used for alarming when the remaining heat information of the IC card is lower than the threshold.
优选的,所述报警模块包括蜂鸣器和设置于计量装置本体表面的多色指示灯。Preferably, the alarm module includes a buzzer and a multi-color indicator light arranged on the surface of the metering device body.
优选的,所述显示模块包括相连接的LCD12232-9显示屏和调节显示对比度的电位器,所述LCD12232-9显示屏还连接单片机主控制器。Preferably, the display module includes a connected LCD12232-9 display screen and a potentiometer for adjusting display contrast, and the LCD12232-9 display screen is also connected to a single-chip main controller.
优选的,所述IC卡管理模块为M104X模块。Preferably, the IC card management module is an M104X module.
优选的,所述单片机主控制器为MSP430FW427单片机。Preferably, the main controller of the single-chip microcomputer is an MSP430FW427 single-chip microcomputer.
优选的,所述进水口温度测量模块和出水口温度测量模块采用PT1000热电阻测量温度。Preferably, the water inlet temperature measurement module and the water outlet temperature measurement module use PT1000 thermal resistance to measure temperature.
优选的,所述流量测量模块包括叶轮和齿轮,所述齿轮上安装干簧管开关,所述叶轮上方设置有一个谐振回路中的电感,所述叶轮的一半敷有阻尼性金属材料。Preferably, the flow measurement module includes an impeller and a gear, a reed switch is installed on the gear, an inductor in a resonant circuit is arranged above the impeller, and half of the impeller is covered with a damping metal material.
与现有技术相比,本实用新型的优点是:Compared with the prior art, the utility model has the advantages of:
1、该智能热能计量装置集自动供热、自动计量、自动收费、自动控制、预付费管理及显示报警等多种功能于一体的全新概念的智能水表,功耗超低,结构简单,成本低廉。1. The intelligent heat energy metering device is a new-concept smart water meter that integrates multiple functions such as automatic heating, automatic metering, automatic charging, automatic control, prepayment management and display alarm. It has ultra-low power consumption, simple structure and low cost. .
、流量测量模块的叶轮上方设置有一个谐振回路中的电感,叶轮的一半敷有阻尼性金属材料,使得流量计量更加精准。1. An inductance in a resonant circuit is set above the impeller of the flow measurement module, and half of the impeller is covered with damping metal materials, which makes the flow measurement more accurate.
附图说明Description of drawings
下面结合附图及实施例对本实用新型作进一步描述:Below in conjunction with accompanying drawing and embodiment the utility model is further described:
图1是本实用新型基于单片机的智能热能计量装置的结构框图;Fig. 1 is the structure block diagram of the utility model based on the intelligent heat energy metering device of single-chip microcomputer;
图2为本实用新型单片机主控制的最小系统结构原理图;Fig. 2 is the minimum system structural schematic diagram of the main control of the single-chip microcomputer of the present invention;
图3为实施例中复位电路和时钟电路的结构原理图;Fig. 3 is the structural schematic diagram of reset circuit and clock circuit in the embodiment;
图4为实施例中M104X读写卡的电路原理图;Fig. 4 is the circuit principle diagram of M104X read-write card in the embodiment;
图5为实施例中指示灯的电路原理图;Fig. 5 is the circuit principle diagram of indicator light in the embodiment;
图6为实施例中显示模块结构原理图;Fig. 6 is a schematic diagram of a display module structure in an embodiment;
图7为实施例中温度检测的电路原理图;Fig. 7 is the circuit principle diagram of temperature detection in the embodiment;
图8为实例中温度测量原理的结构原理图;Fig. 8 is the structural schematic diagram of temperature measurement principle in the example;
图9为实施例中蜂鸣器驱动的电路原理图;Fig. 9 is the circuit schematic diagram driven by the buzzer in the embodiment;
图10为实例中的流量测量模块的电路原理图。Fig. 10 is a schematic circuit diagram of the flow measurement module in the example.
具体实施方式detailed description
为使本实用新型的目的、技术方案和优点更加清楚明了,下面结合具体实施方式并参照附图,对本实用新型进一步详细说明。应该理解,这些描述只是示例性的,而并非要限制本实用新型的范围。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本实用新型的概念。In order to make the purpose, technical solutions and advantages of the utility model clearer, the utility model will be further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and not intended to limit the scope of the present invention. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessarily confusing the concept of the present invention.
实施例:Example:
如图1所示,智能热能计量装置包括单片机主控制器、流量测量模块、进水口温度测量模块、出水口温度测量模块以及IC卡管理模块,其中,流量测量模块、进水口温度测量模块、出水口温度测量模块以及IC卡管理模块均连接单片机控制器。电动阀通过单片机主控制器由IC卡管理模块读取的IC卡的剩余热量信息控制开闭,电动阀设置在进水口,单片机主控制器还连接LCD显示模块和报警模块,LCD显示模块用于显示热量信息和故障信息,报警模块用于当IC卡的剩余热量信息低于阈值时报警。流量测量模块用来测量水流速度,进水口以及出水口温度测量模块来检测水温,IC卡管理模块用来付费以及充值。As shown in Figure 1, the intelligent heat metering device includes a single-chip main controller, a flow measurement module, a water inlet temperature measurement module, a water outlet temperature measurement module and an IC card management module, wherein the flow measurement module, the water inlet temperature measurement module, the outlet Both the nozzle temperature measurement module and the IC card management module are connected to the single-chip controller. The electric valve controls the opening and closing of the remaining heat information of the IC card read by the IC card management module through the main controller of the single-chip microcomputer. The electric valve is set at the water inlet. Display heat information and fault information, and the alarm module is used to alarm when the remaining heat information of the IC card is lower than the threshold. The flow measurement module is used to measure the water flow velocity, the water inlet and water outlet temperature measurement module is used to detect the water temperature, and the IC card management module is used to pay and recharge.
单片机主控制器选用TI公司生产的用于电子流量计的16位RISC超低功耗微控制器MSP430FW42x。可以选择以下三种系列:The main controller of the one-chip computer selects the 16-bit RISC ultra-low power consumption microcontroller MSP430FW42x produced by TI Company for the electronic flow meter. There are three series to choose from:
MSP430FW423:8KB+256BFlash存储器,512BRAMMSP430FW423: 8KB+256BFlash memory, 512BRAM
MSP430FW425:16KB+256BFlash存储器,512BRAMMSP430FW425: 16KB+256BFlash memory, 512BRAM
MSP430FW427:32KB+256BFlash存储器,1KBRAMMSP430FW427: 32KB+256B Flash memory, 1KB RAM
如图2所示,单片机最小系统还包括外接晶振32KHZ;复位方式按键复位;3.3V稳压电源。As shown in Figure 2, the minimum system of the single-chip microcomputer also includes an external crystal oscillator of 32KHZ; reset mode button reset; 3.3V regulated power supply.
如图4所示,采用北京圆志科信公司生产的M104A型读写卡模块,该读写卡模块采用13.56MHz非接触射频技术,内嵌低功耗射频基站MFRC522,只需要通过简单的I2C接口发送命令即可实现对卡片的完全操作。该模块的功能引脚如下:As shown in Figure 4, the M104A read-write card module produced by Beijing Yuanzhi Kexin Co., Ltd. is used. The read-write card module adopts 13.56MHz non-contact radio frequency technology and is embedded with a low-power radio frequency base station MFRC522. It only needs to pass a simple I2C The complete operation of the card can be realized by sending commands through the interface. The functional pins of this module are as follows:
WAKE/COLCK:即是睡眠触发唤醒引脚,也是正常工作时的有卡指示引脚WAKE/COLCK: It is the sleep trigger wake-up pin, and it is also the card indication pin during normal operation
VDC:3.3V直流电源VDC: 3.3V DC power supply
SCL:I2C接口的SCLSCL: SCL of I2C interface
SDA:I2C接口的SDASDA: SDA of I2C interface
B1:RS485方向转换B1: RS485 direction conversion
GND:电源地GND: power ground
单片机的P2口的P2.2、P2.3、P2.4分别与M104A读写卡模块的WAKE/CLOCK、SCL、SDA连接,其接口电路如图4所示。The P2.2, P2.3, and P2.4 of the P2 port of the single-chip microcomputer are respectively connected with the WAKE/CLOCK, SCL, and SDA of the M104A card reader module. The interface circuit is shown in Figure 4.
其中P2.2为有卡标示,当有IC卡进入读写卡模块范围内时,该标示为低电平,用于向单片机申请中断。P2.3、P2.4为I2C的数据通信接口。Among them, P2.2 is the card mark. When an IC card enters the range of the card reading and writing module, the mark is low level, which is used to apply for interruption to the single-chip microcomputer. P2.3 and P2.4 are the data communication interface of I2C.
如图3所示,I2C总线支持任何芯片生产过程。采用双线,即串行数据(SDA)和串行时钟(SCL)在连接到总线的器件间传递信息。每个器件都有一个唯一的地址,而且都可以作为一个发送器或接收器(由器件的功能决定)。除了发送器和接收器外,器件在执行数据传输时也可以被看作是主机或从机。主机是初始化总线的数据传输并产生允许传输的时钟信号的器件,此时任何被寻址的器件都被认为是从机。I2C总线是以个多主机的总线,这就是说可以连接多于一个控制总线的器件到总线。SDA和SCL都是双向线路,都通过一个上拉电阻连接到正的电源电压,当总线空闲时,这两条线路都是高电平,连接到总线的器件输出级必须是漏极开路或集电极开路才能执行线“与”的功能。As shown in Figure 3, the I2C bus supports any chip production process. Two wires, Serial Data (SDA) and Serial Clock (SCL), are used to transfer information between devices connected to the bus. Each device has a unique address and can act as a transmitter or receiver (depending on the device's functionality). In addition to transmitters and receivers, devices can also be considered as masters or slaves when performing data transfers. The master is the device that initiates the data transfer on the bus and generates the clock signal to allow the transfer. At this time, any addressed device is considered a slave. The I2C bus is a multi-master bus, which means that more than one device that controls the bus can be connected to the bus. Both SDA and SCL are bidirectional lines, both connected to a positive supply voltage through a pull-up resistor. When the bus is idle, both lines are high. The output stage of the device connected to the bus must be open-drain or set. The electrodes must be open to perform the wired-AND function.
由于连接到I2C总线的器件有不同种类的工艺,逻辑“0”和“1”的电平是不固定的,它由CCC相关电平决定,每传输一个数据位就产生一个时钟脉冲。SDA线上的数据必须在时钟的高电平周期保持稳定,数据线的高或低电平状态只有SCL线上的时钟信号是低电平才能改变。Since the devices connected to the I2C bus have different types of processes, the levels of logic "0" and "1" are not fixed. It is determined by the relevant level of CCC, and a clock pulse is generated every time a data bit is transmitted. The data on the SDA line must remain stable during the high level period of the clock, and the high or low level state of the data line can only be changed when the clock signal on the SCL line is low.
具体实施中,LCD显示模块具体由LCD1602显示屏和调节显示屏对比度的电位器构成,LCD1602显示屏连接单片机主控制器,具体连接方式和工作原理如图5和6所示。In the specific implementation, the LCD display module is composed of LCD1602 display screen and a potentiometer for adjusting the contrast of the display screen. The LCD1602 display screen is connected to the main controller of the single-chip microcomputer. The specific connection method and working principle are shown in Figures 5 and 6.
是电路中常见的部分。一般使用灌电流接法,二极管经电阻接VCC。由于不希望流过单片机的电流过大,这种方法只在LED数量少时使用。假设单片机输出低电平为0V,发光二极管导通压降为0.7V,电阻两端的压降为:3.3-0.7=2.6V。此支路电流为2.6V/1K=2.6mA,可以使发光二极管发光。若二极管较暗,可以适当减小限流电阻R9。is a common part of the circuit. Generally, the current sink connection method is used, and the diode is connected to VCC through a resistor. Since the current flowing through the microcontroller is not expected to be too large, this method is only used when the number of LEDs is small. Assuming that the output low level of the microcontroller is 0V, the conduction voltage drop of the LED is 0.7V, and the voltage drop across the resistor is: 3.3-0.7=2.6V. The current of this branch is 2.6V/1K=2.6mA, which can make the light-emitting diode glow. If the diode is darker, the current limiting resistor R9 can be appropriately reduced.
本系统采用MSP430FW427单片机,单片机的P3口的P3.5、P3.6、P3.7分别与12232点阵型液晶显示模块的RS、R/W、E连接。单片机的P4口与12232的数据总线连接。This system adopts MSP430FW427 single-chip microcomputer, P3.5, P3.6, P3.7 of the P3 port of the single-chip microcomputer are respectively connected with RS, R/W, E of the 12232 dot matrix liquid crystal display module. The P4 port of the one-chip computer is connected with the data bus of 12232.
液晶显示部分的程序主要包括控制脚电平模拟。收发命令、液晶初始化、显示数据等几个部分。The program of the liquid crystal display part mainly includes the simulation of the control pin level. Send and receive commands, LCD initialization, display data and other parts.
如图7所示,温度的测量采用PT1000电阻测量。该电阻阻值随温度基本呈线性变化,通过测量该电阻的阻值计算出口和入口水温。As shown in Figure 7, the measurement of temperature is measured by PT1000 resistance. The resistance value of the resistor changes linearly with the temperature, and the outlet and inlet water temperatures are calculated by measuring the resistance value of the resistor.
如图8所示,首先通过Rref对电容C1充电,然后分别通过Rref和Rmeas对电容放电,分别记录电容电压从Vcc到0.25Vcc的时间,从而知道Rref和Rmeas的比例关系。As shown in Figure 8, first charge the capacitor C1 through Rref, then discharge the capacitor through Rref and Rmeas respectively, and record the time for the capacitor voltage from Vcc to 0.25Vcc, so as to know the proportional relationship between Rref and Rmeas.
由于:because:
其中:Nref和Nmeas分别通过Rref和Rmeas的放电时间:Where: Nref and Nmeas respectively pass the discharge time of Rref and Rmeas:
Vref=0.25Vcc;Vref=0.25Vcc;
如果Rref已知,则可以计算出Rmeas。Rmeas can be calculated if Rref is known.
如图9所示,单片机上电后,单片机引脚为高电平。图中P3.0控制蜂鸣器,选取Q1为PNP型三极管,P3.0为高电平时蜂鸣器不工作;只有当P3.0为低电平时蜂鸣器工作。相对于NPN型接法选用PNP上电后无需初始化,其目的是减少开机时不必要的声音。As shown in Figure 9, after the single-chip microcomputer is powered on, the pin of the single-chip microcomputer is at a high level. In the figure, P3.0 controls the buzzer, select Q1 as a PNP transistor, the buzzer does not work when P3.0 is high level; the buzzer works only when P3.0 is low level. Compared with the NPN connection method, PNP does not need to be initialized after power-on, and its purpose is to reduce unnecessary sounds when starting up.
本发明采用一种新的流量测量模块,把一个谐振回路中的电感置于叶轮的上方,叶轮的一半敷有铜徽章等其他有阻尼性的金属材料,就可以检查到叶轮的转动。电感在叶轮上方的位置决定了谐振回路的阻尼系数,电感位于a区时,回路的阻尼系数大于b区的阻尼系数。通过测量谐振回路的不同阻尼系数,可以实现对叶轮转动的测量。使得结果计算更加精确。电路图如图10所示。The present invention adopts a new flow measurement module, places an inductor in a resonant circuit above the impeller, half of the impeller is covered with copper badges and other metal materials with damping properties, and the rotation of the impeller can be checked. The position of the inductance above the impeller determines the damping coefficient of the resonant circuit. When the inductance is located in area a, the damping coefficient of the loop is greater than that in area b. By measuring the different damping coefficients of the resonant circuit, the measurement of the impeller rotation can be realized. Make the result calculation more accurate. The circuit diagram is shown in Figure 10.
流量的测量是通过测量水表转动的圈数来完成的。当知道水表每转一圈所流水的体积时,就可以计算出水表的流量;同样,测量出单位时间内水表所转的圈数后,就可以计算出水表的流速。流量和流速的关系为:The flow measurement is done by measuring the number of revolutions of the water meter. When the volume of water flowed by the water meter per revolution is known, the flow rate of the water meter can be calculated; similarly, the flow rate of the water meter can be calculated after measuring the number of revolutions of the water meter per unit time. The relationship between flow and velocity is:
Q=V*SQ:流量,V:为流速,S:管道截面积。Q=V*SQ: flow rate, V: flow rate, S: pipe cross-sectional area.
其工作原理是:Its working principle is:
当用户使用以热水为载体的热能是,由基表中的流量测量模块通过水表中的热水流量从而得到热水的体积,位于进水端和出水端的温度传感器实时采集进水温度和出水温度。使用热水体积、进出水温等参数即可计算出用户消耗的热能。用户所付热能费用以IC智能卡为载体,在管理系统与智能水表间传递数据,实现管理功能。用户把预购的热水能量存于表中,并在使用热能时自动扣除。当表内剩余热量小于一定值时,发出声音报警,同时关闭阀门,这时插用户卡可以打开阀门,提示及时购买热能。当剩余水量为零时,关闭阀门,用户重新购热能并插卡打开阀门使用热能。When the user uses hot water as the carrier of heat energy, the flow measurement module in the base meter passes the hot water flow in the water meter to obtain the volume of hot water, and the temperature sensors located at the water inlet and outlet ends collect the inlet water temperature and outlet water in real time. temperature. The heat energy consumed by the user can be calculated by using parameters such as the volume of hot water and the temperature of the incoming and outgoing water. The heat energy fee paid by the user is carried by the IC smart card, and the data is transmitted between the management system and the smart water meter to realize the management function. The user stores the pre-purchased hot water energy in the meter and automatically deducts it when using the heat energy. When the remaining heat in the meter is less than a certain value, a sound alarm will be issued and the valve will be closed at the same time. At this time, the valve can be opened by inserting the user card, prompting to purchase heat energy in time. When the remaining water is zero, the valve is closed, and the user purchases heat energy again and inserts the card to open the valve to use heat energy.
应当理解的是,本实用新型的上述具体实施方式仅仅用于示例性说明或解释本实用新型的原理,而不构成对本实用新型的限制。因此,在不偏离本实用新型的精神和范围的情况下所做的任何修改、等同替换、改进等,均应包含在本实用新型的保护范围之内。此外,本实用新型所附权利要求旨在涵盖落入所附权利要求范围和边界、或者这种范围和边界的等同形式内的全部变化和修改例。It should be understood that the above specific embodiments of the present utility model are only used to illustrate or explain the principle of the present utility model, but not to limit the present utility model. Therefore, any modification, equivalent replacement, improvement, etc. made without departing from the spirit and scope of the present utility model shall be included in the protection scope of the present utility model. Furthermore, the appended claims are intended to cover all changes and modifications that come within the scope and boundaries of the appended claims, or equivalents of such scope and boundaries.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620052619.1U CN205318539U (en) | 2016-01-20 | 2016-01-20 | Intelligence heat energy metering device based on singlechip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620052619.1U CN205318539U (en) | 2016-01-20 | 2016-01-20 | Intelligence heat energy metering device based on singlechip |
Publications (1)
Publication Number | Publication Date |
---|---|
CN205318539U true CN205318539U (en) | 2016-06-15 |
Family
ID=56205583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201620052619.1U Expired - Fee Related CN205318539U (en) | 2016-01-20 | 2016-01-20 | Intelligence heat energy metering device based on singlechip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN205318539U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107195106A (en) * | 2017-04-08 | 2017-09-22 | 韦智生 | The water meter of preventing water burglary arrearage auto water stopping |
CN108224816A (en) * | 2018-02-12 | 2018-06-29 | 武汉东湖学院 | A kind of solar water heater central heating information collection and display system and its control method |
-
2016
- 2016-01-20 CN CN201620052619.1U patent/CN205318539U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107195106A (en) * | 2017-04-08 | 2017-09-22 | 韦智生 | The water meter of preventing water burglary arrearage auto water stopping |
CN108224816A (en) * | 2018-02-12 | 2018-06-29 | 武汉东湖学院 | A kind of solar water heater central heating information collection and display system and its control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101256086A (en) | Charging method and charging device for fixed air-quantity temperature difference type central air-conditioning | |
CN107340021B (en) | Intelligent remote water meter system based on Zigbee network | |
CN102354416B (en) | Prepayment temperature control ultrasonic calorimeter | |
CN103313365A (en) | Remote control metering system | |
CN101915598A (en) | Header of low-power-consumption network intelligent water meter and application method thereof | |
CN204494705U (en) | Air-conditioning energy consumption detection system | |
CN106875577A (en) | A kind of intellectual water meter with leakage proof function | |
CN106781054A (en) | A kind of low power-consumption intelligent IC Card Water-Instrument system | |
CN103258411B (en) | Intelligent water meter reading system based on GPRS technology | |
CN205318539U (en) | Intelligence heat energy metering device based on singlechip | |
CN204270400U (en) | A kind of intellectual water meter electronic module | |
CN108827411A (en) | A kind of Intelligent water meter of Internet of things of integrated intelligent algorithm and multiple communication modes | |
CN201955688U (en) | Temperature controller | |
CN202150149U (en) | Pre-paid temperature controlling ultrasonic heat meter | |
CN207231560U (en) | Intelligent telemetering water meter system based on Zigbee network | |
CN201449641U (en) | Remote prepaid water meter of solar centralized heating system | |
CN201689491U (en) | Infrared intelligent heat metering device with super-low power consumption | |
CN208335372U (en) | The wireless intelligent water meter of counterflow-preventing | |
CN202677516U (en) | Prepaid ultrasonic wave heat meter | |
CN100557646C (en) | The IC-card message accounting | |
CN201765008U (en) | Low power consumption network intelligent water meter head | |
CN201163196Y (en) | Fixed flux temperature difference type fare register | |
Weng et al. | Research on computer centralized management system based on thermal energy data acquisition and display | |
CN203882385U (en) | Intelligent water resource water meter | |
CN205827533U (en) | Self electricing generation water meter based on radio-frequency technique |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160615 Termination date: 20190120 |