[go: up one dir, main page]

CN101579192B - Healthy energy-saving water dispenser - Google Patents

Healthy energy-saving water dispenser Download PDF

Info

Publication number
CN101579192B
CN101579192B CN2009100266057A CN200910026605A CN101579192B CN 101579192 B CN101579192 B CN 101579192B CN 2009100266057 A CN2009100266057 A CN 2009100266057A CN 200910026605 A CN200910026605 A CN 200910026605A CN 101579192 B CN101579192 B CN 101579192B
Authority
CN
China
Prior art keywords
water
signal
cpld
heating
temperature
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
Application number
CN2009100266057A
Other languages
Chinese (zh)
Other versions
CN101579192A (en
Inventor
胡秦然
王霄洲
张志�
胡仁杰
吴在军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southeast University
Original Assignee
Southeast University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Southeast University filed Critical Southeast University
Priority to CN2009100266057A priority Critical patent/CN101579192B/en
Publication of CN101579192A publication Critical patent/CN101579192A/en
Application granted granted Critical
Publication of CN101579192B publication Critical patent/CN101579192B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Devices For Dispensing Beverages (AREA)
  • Heat-Pump Type And Storage Water Heaters (AREA)

Abstract

健康节能饮水机是以健康节能为目标,基于可编程逻辑器件进行饮水机的重新构建与控制逻辑的设计,为家庭和办公室的使用者设计,采用多种技术以最大限度满足不同使用者的需求,该饮水机包括三个顺序串联连接的水箱和连接这三个水箱的管道以及控制器;其中,第一水箱(1)为进水端,用于装没有烧过的生水;第二水箱(2)用于烧开水,使用过程中直接将注入水箱的生水烧开,烧开后就断开电源等待下次注水;第三水箱(3)设有出水口,有保温功能,并具有多档可调节水温控制器,在水位不满的时候就抽入已经烧开的水,用于满足使用者对不同水温的需求;从冷水区到开水区水的传输控制器件为微型潜水泵,从开水区到温水区水的传输控制器件为电磁阀;控制器自动控制整个饮水机的工作。

Figure 200910026605

Healthy and energy-saving drinking fountains aim at healthy and energy-saving. Based on programmable logic devices, the reconstruction of drinking fountains and the design of control logic are designed for home and office users. A variety of technologies are used to meet the needs of different users to the greatest extent. , the water dispenser includes three sequentially connected water tanks and pipes and controllers connecting the three water tanks; wherein, the first water tank (1) is a water inlet, used to hold raw water that has not been burned; the second water tank (2) It is used to boil water. During use, directly boil the raw water injected into the water tank. After boiling, disconnect the power supply and wait for the next water injection; the third water tank (3) is provided with a water outlet, has a heat preservation function, and has The multi-level adjustable water temperature controller pumps boiled water when the water level is not enough to meet the needs of users for different water temperatures; the water transmission control device from the cold water area to the boiling water area is a micro submersible pump. The water transmission control device from the boiling water area to the warm water area is a solenoid valve; the controller automatically controls the work of the entire water dispenser.

Figure 200910026605

Description

健康节能饮水机Healthy and energy-saving water dispenser

技术领域 technical field

本发明是以健康节能为目标,基于可编程逻辑器件(CPLD,Complex Programmable LogicDevice)进行饮水机的重新构建与控制逻辑的设计。本产品专为家庭和办公室的使用者设计,采用多种技术以最大限度满足不同使用者的需求,具有实用价值。The present invention is aimed at health and energy saving, and carries out the reconstruction of the water dispenser and the design of the control logic based on the programmable logic device (CPLD, Complex Programmable Logic Device). This product is specially designed for home and office users. It adopts a variety of technologies to meet the needs of different users to the greatest extent, and has practical value.

背景技术 Background technique

目前,大多数家庭和办公室用的饮水机主要存在两个方面问题:一是不能调节水温,没有保温功能。使用者每次只能得到100℃的开水,想要得到可以饮用的温水必须自己想办法冷却,使用极不方便;二是存在“千滚水”的问题。为保证用户随时可以得到开水,通常的饮水机将部分水反复烧开。煮沸过久或多次煮沸水中不挥发性物质如钙、镁等重金属成分和亚硝酸盐含量很高,久饮这种水会干扰人的胃肠功能,造成机体缺氧,出现头晕、头痛、心慌、胸闷、恶心、呕吐、腹痛、腹泻等状况。At present, most of the water dispensers used in homes and offices mainly have two problems: the one is that the water temperature cannot be adjusted, and there is no heat preservation function. The user can only get boiling water at 100°C each time. If he wants to get drinkable warm water, he must find a way to cool it himself, which is extremely inconvenient to use. Second, there is the problem of "thousand boiling water". Can obtain boiled water at any time for guaranteeing user, common water dispenser boils part of water repeatedly. Boiling for too long or multiple times of boiling water contains a lot of non-volatile substances such as calcium, magnesium and other heavy metals and nitrite. Drinking this kind of water for a long time will interfere with people's gastrointestinal function, causing hypoxia in the body, dizziness, headache, Palpitation, chest tightness, nausea, vomiting, abdominal pain, diarrhea and other conditions.

经抽样调查发现大多数人饮水的水温需求在30~80℃之间。此外,经过一定的市场调查和资料调研发现,冲泡茶或咖啡之类饮用品的开水水温以80℃为最佳。综合上述情况,本发明设计的饮水机将水仅烧开一次,解“千滚水”带来的健康问题;并增加了保温功能,保温温度范围可设定为30~80℃,步进为5℃,解决不同人群对饮用水水温的需求;同时具有强制加热模式来满足用户泡制茶类和咖啡的需求。According to the sampling survey, it is found that the water temperature requirement of most people's drinking water is between 30 and 80 ℃. In addition, after certain market research and data research, it is found that the boiling water temperature for brewing beverages such as tea or coffee is 80°C. Based on the above situation, the water dispenser designed by the present invention boils the water only once, which solves the health problems caused by "thousand boiling water"; and adds a heat preservation function. ℃, to meet the needs of different groups of people for drinking water temperature; at the same time, it has a forced heating mode to meet the needs of users for brewing tea and coffee.

在健康以及节能成为时代主题的形势下,本发明采用一系列技术措施,实现了饮水机诸多方面的健康节能。Under the situation that health and energy saving become the theme of the times, the present invention adopts a series of technical measures to realize health and energy saving in many aspects of the water dispenser.

发明内容 Contents of the invention

技术问题:本发明设计的健康节能饮水机关注健康、节能这两大主题,解决了“千滚水”以及用户对饮用水水温差异化需求的问题。Technical problem: The healthy and energy-saving water dispenser designed by the present invention focuses on the two major themes of health and energy saving, and solves the problem of "thousands of boiling water" and users' different needs for drinking water temperature.

技术方案:本发明设计的健康节能饮水机包括三个顺序串联连接的水箱和连接这三个水箱的管道以及控制器;其中,第一水箱为进水端,用于装没有烧过的生水;第二水箱用于烧开水,使用过程中直接将注入水箱的生水烧开,烧开后就断开电源等待下次注水;第三水箱设有出水口,有保温功能,并具有多档可调节水温控制器,在水位不满的时候就抽入已经烧开的水,用于满足使用者对不同水温的需求;从冷水区到开水区水的传输控制器件为微型潜水泵,从开水区到温水区水的传输控制器件为电磁阀;控制器自动控制整个饮水机的工作。Technical solution: The healthy and energy-saving water dispenser designed by the present invention includes three sequentially connected water tanks, pipes and controllers connecting the three water tanks; among them, the first water tank is the water inlet end, which is used to hold unburned raw water ;The second water tank is used to boil water. During use, directly boil the raw water injected into the water tank. After boiling, cut off the power supply and wait for the next water injection; the third water tank has a water outlet, has a heat preservation function, and has multiple gears The water temperature controller can be adjusted to pump boiled water when the water level is not enough to meet the needs of users for different water temperatures; the water transmission control device from the cold water area to the boiling water area is a micro submersible pump, The transmission control device of water to the warm water area is a solenoid valve; the controller automatically controls the work of the entire water dispenser.

主控模块:选用可编程逻辑器件CPLD用于系统所有信号的收集、逻辑处理及控制信号的形成、输出,实现饮水机各个工作状态切换;Main control module: Programmable logic device CPLD is selected for the collection of all signals of the system, logic processing and the formation and output of control signals, so as to realize the switching of various working states of the water dispenser;

来人检测模块:利用光电开关采集是否有人经过的信号传输给CPLD进行逻辑分析;Comer detection module: Use photoelectric switch to collect whether there is a signal passing by and transmit it to CPLD for logic analysis;

水位检测模块:在每个水箱中限定的水位处插入金属探针,利用水和大阻值电阻的分压,来判断是否到指定水位;每个水箱都输出两个分别指示高、低水位的信号给CPLD;Water level detection module: Insert a metal probe at the defined water level in each water tank, and use the partial pressure of water and a large resistance to judge whether the specified water level is reached; each water tank outputs two signals indicating high and low water levels respectively. Signal to CPLD;

温度检测模块:使用直接输出数字量的集成温度传感器芯片DS18B20,用CPLD与其通信得到满足需要精度的温度;Temperature detection module: use the integrated temperature sensor chip DS18B20 that directly outputs digital quantities, and use CPLD to communicate with it to obtain the temperature that meets the required accuracy;

继电器控制模块:CPLD控制输出高低电平,经三极管放大,作为控制继电器的控制信号,控制温水箱、热水箱、潜水泵的220V交流工作电源,决定其是否工作;此外,在电磁阀直流12V工作电源回路中也加入继电器,CPLD提供的继电器控制信号经放大后控制电磁阀工作与否;Relay control module: CPLD controls the output high and low levels, amplified by the triode, as the control signal of the control relay, controls the 220V AC working power supply of the warm water tank, hot water tank and submersible pump, and determines whether it works; in addition, the solenoid valve DC 12V A relay is also added to the working power circuit, and the relay control signal provided by the CPLD is amplified to control whether the solenoid valve works or not;

人机交互模块:接收来自于CPLD的控制信号,通过液晶屏利彩色LED直观显示系统当前工作状态;通过面板上的若干按键反馈信号给CPLD设定系统工作状态。Human-computer interaction module: receive the control signal from CPLD, visually display the current working status of the system through the LCD screen and color LED; set the working status of the system to CPLD through feedback signals of several buttons on the panel.

所述的控制器中:In said controller:

水位检测模块:水位探针连接导线,经过电阻分压和比较器LM339,比较器输出连接主控模块CPLD的IO口,给CPLD提供各水箱当前水位信号,分别表示三个水箱的高、低水位信号;Water level detection module: the water level probe is connected to the wire, through the resistance divider and the comparator LM339, the output of the comparator is connected to the IO port of the main control module CPLD, and provides the current water level signal of each water tank to the CPLD, respectively indicating the high and low water levels of the three water tanks Signal;

温度检测模块:数字型传感器DS18B20采用1-Wire接口,此数据线连接主控模块CPLD的I/O口,给CPLD芯片提供实时数字温度数据;Temperature detection module: digital sensor DS18B20 adopts 1-Wire interface, this data line is connected to the I/O port of the main control module CPLD, and provides real-time digital temperature data to the CPLD chip;

来人检测模块:光电传感器输出信号经过比较器LM339判断后输出高低电平,接入主控模块CPLD芯片IO口,以判断是否有人靠近;People detection module: the output signal of the photoelectric sensor is judged by the comparator LM339 and outputs high and low levels, which is connected to the IO port of the CPLD chip of the main control module to judge whether someone is approaching;

继电器控制模块:主控模块CPLD根据输入的水温、水位、来人与否等信息及预设的控制逻辑产生控制输出信号,经三极管放大后作为继电器控制模块各个继电器的控制输入信号,控制温水箱、热水箱、潜水泵的220V交流工作电源和电磁阀12V直流工作电源,决定其是否工作;Relay control module: The main control module CPLD generates a control output signal according to the input information such as water temperature, water level, presence or absence and preset control logic, which is amplified by the triode as the control input signal of each relay of the relay control module to control the warm water tank , hot water tank, submersible pump 220V AC power supply and solenoid valve 12V DC power supply to determine whether it works;

人机交互模块:形象显示温度的彩色LED指示灯直接与主控模块CPLD的I/O口相连,显示、闪烁、循环等动作由CPLD直接控制。液晶模块的所有显示信息均由CPLD芯片直接提供。输入按键的信号直接连接到CPLD外接的I/O端口,直接输入信号给CPLD作为控制信号。Human-computer interaction module: The colorful LED indicator light that displays the temperature is directly connected to the I/O port of the main control module CPLD, and the actions such as display, flashing, and cycle are directly controlled by the CPLD. All display information of the liquid crystal module is directly provided by the CPLD chip. The signal of the input button is directly connected to the external I/O port of the CPLD, and the signal is directly input to the CPLD as a control signal.

所述的控制器中主控模块CPLD的控制逻辑为:The control logic of main control module CPLD in the described controller is:

控制器主控模块CPLD输入信号有:1)生水区、加热区和保温区水位高、低信号;2)保温水箱以及热水箱的温度检测芯片DS18B20的温度反馈信号;3)来人检测模块光电传感器的来人检测信号;4)用户交互面板上的Reset按键、Force按键、Smart按键、SetDown按键、SetUp按键信号;The CPLD input signals of the main control module of the controller include: 1) high and low water level signals in the raw water area, heating area and heat preservation area; 2) temperature feedback signals of the temperature detection chip DS18B20 in the heat preservation water tank and hot water tank; 3) incoming person detection The incoming detection signal of the module photoelectric sensor; 4) the Reset button, Force button, Smart button, SetDown button, and SetUp button signal on the user interaction panel;

输出信号有:1)加热水箱加热信号;2)保温水箱加热信号;3)潜水泵控制信号;4)电磁阀控制信号;5)液晶显示模块控制信号;6)流水灯控制信号;The output signals include: 1) heating signal of the heating water tank; 2) heating signal of the heat preservation water tank; 3) control signal of the submersible pump; 4) control signal of the solenoid valve; 5) control signal of the liquid crystal display module; 6) control signal of the running water lamp;

控制器主控模块CPLD的控制逻辑设计采用状态机理论,实现了一个多输入多输出系统,根据系统运行特性,系统运行状态分成4种:报错状态、待机状态、智能保温状态、强制加热状态;The control logic design of the main control module CPLD of the controller adopts the state machine theory to realize a multi-input and multi-output system. According to the operating characteristics of the system, the operating state of the system is divided into four types: error reporting state, standby state, intelligent heat preservation state, and forced heating state;

报错状态出现在系统出现错误的情况下,包括:1)对于同一个水箱检测到高水位信号而没有检测到低水位信号;2)温度检测显示长时间超过100℃。The error status occurs when the system has an error, including: 1) High water level signal is detected but no low water level signal is detected for the same water tank; 2) Temperature detection shows that it exceeds 100°C for a long time.

在报错状态下,流水灯全灭、潜水泵关闭、电磁阀关闭、保温水箱加热关闭、加热水箱加热关闭、液晶屏状态栏显示error,系统从错误状态跳转至智能保温状态只能通过用户交流面板上的Reset按键;In the error reporting state, the running water lights are all off, the submersible pump is off, the solenoid valve is off, the heating of the heat preservation water tank is turned off, the heating of the heating water tank is turned off, and the status bar of the LCD screen displays error. The system jumps from the error state to the intelligent heat preservation state only through user communication Reset button on the panel;

待机状态出现在如下情况下,包括:1)来人检测信号超过一小时持续表示无人;2)三个水箱水位检测全为低;The standby state occurs in the following situations, including: 1) The presence detection signal lasts for more than one hour, indicating that there is no one; 2) The water level detection of the three water tanks is all low;

在待机状态下,流水灯全灭、潜水泵关闭、电磁阀关闭、保温水箱加热关闭、加热水箱加热关闭、液晶屏状态栏显示Hold,系统从待机状态跳转至智能保温状态的条件为:1)来人检测信号传递表示有人的信号;2)在生水区加水改变三个水箱均是低水位的情况;In the standby state, the running water lights are all off, the submersible pump is turned off, the solenoid valve is turned off, the heating of the heat preservation water tank is turned off, the heating of the heating water tank is turned off, and the status bar of the LCD screen displays Hold. The conditions for the system to jump from the standby state to the intelligent heat preservation state are: 1 ) The incoming detection signal transmits the signal indicating that there are people; 2) Adding water in the raw water area changes the situation that the three water tanks are all low water levels;

强制加热状态出现在系统处于智能保温状态时候,用户按下Force键之后;The forced heating state appears when the system is in the intelligent heat preservation state, after the user presses the Force button;

在强制加热状态下,保温水箱全力加热、液晶屏状态栏显示Force,加热水箱、潜水泵和电磁阀均遵循智能状态下的工作方式;In the forced heating state, the insulation water tank is fully heated, the status bar of the LCD screen displays Force, and the heating water tank, submersible pump and solenoid valve all follow the working mode in the intelligent state;

系统从待机状态跳转至智能保温状态的条件为:1)用户按下面板上的Smart键;2)保温水箱的温度检测到达80℃;The conditions for the system to jump from the standby state to the intelligent heat preservation state are: 1) the user presses the Smart key on the panel; 2) the temperature of the heat preservation water tank reaches 80°C;

除了待机状态、报错状态、强制加热状态,系统均处于智能保温状态;In addition to the standby state, error reporting state, and forced heating state, the system is in an intelligent heat preservation state;

智能保温状态根据开水区水是否烧开分为两种工作模式;The intelligent heat preservation state is divided into two working modes according to whether the water in the boiling water area is boiled;

工作模式一:开水区已烧开Working mode 1: the boiling water area has been boiled

加热水箱不加热:The heating tank does not heat up:

保温水箱检测温度高于维持在用户设定的温度或者保温区水位低时,保温水箱不加热,如果保温水箱检测温度低于用户设定温度且保温区水位不是低时,保温水箱加热,When the detection temperature of the insulation water tank is higher than the temperature set by the user or the water level in the insulation area is low, the insulation water tank will not be heated.

流水灯固定显示,根据加热区温度,温度越高盏数越多,The running water lamp is fixedly displayed. According to the temperature of the heating zone, the higher the temperature, the more lamps.

潜水泵关,submersible pump off,

在保温水箱不满的情况下,打开电磁阀将加热水箱烧开的水加入温水区,直到温水区水位满或者开水区水位低,When the insulation water tank is not full, open the solenoid valve to add the boiled water in the heating water tank to the warm water area until the water level in the warm water area is full or the water level in the boiling water area is low.

在生水区水位低时,系统提示加水,液晶屏上的提示栏显示“Add”,When the water level in the raw water area is low, the system prompts to add water, and the prompt bar on the LCD screen displays "Add",

持续保持此状态24小时,系统提示换水,液晶屏上的提示栏显示“Change”,Keep this state for 24 hours, the system prompts to change the water, and the prompt bar on the LCD screen displays "Change",

如果开水区水位低,则刷新烧开信号;If the water level in the boiling water area is low, refresh the boiling signal;

工作模式二:开水区未烧开Working mode two: the boiling water area is not boiled

加热水箱水位不为低的时候持续加热,如果加热水箱温度检测95℃以上持续30秒,提供烧开信号,When the water level of the heating water tank is not low, it will continue to heat. If the temperature of the heating water tank is detected to be above 95°C for 30 seconds, a boil signal will be provided.

保温水箱检测温度高于维持在用户设定的温度或者保温区水位低时,保温水箱不加热;如果保温水箱检测温度低于用户设定温度且保温区水位不是低时,保温水箱加热;When the detection temperature of the insulation water tank is higher than the temperature set by the user or the water level in the insulation area is low, the insulation water tank will not be heated; if the detection temperature of the insulation water tank is lower than the temperature set by the user and the water level in the insulation area is not low, the insulation water tank will be heated;

流水灯滚动闪烁让用户直观感觉加热水箱在工作,根据加热区温度,温度越高盏数越多,The running water lamp scrolls and flickers to let the user intuitively feel that the heating water tank is working. According to the temperature of the heating zone, the higher the temperature, the more the number.

电磁阀关,Solenoid valve closed,

在加热水箱不满的情况下,打开潜水泵将生水区的水抽入加热水箱,直至加热水箱满或者冷水区水位低,When the heating water tank is not full, turn on the submersible pump to pump the water in the raw water area into the heating water tank until the heating water tank is full or the water level in the cold water area is low.

在生水区水位低时,系统提示加水,液晶屏上的提示栏显示“Add”。When the water level in the raw water area is low, the system prompts to add water, and the prompt bar on the LCD screen displays "Add".

有益效果:Beneficial effect:

1.实现满足不同使用者的需求,可以随意调节保温温度。1. To meet the needs of different users, the heat preservation temperature can be adjusted at will.

目前,大多数人对水温的要求在18~45℃之间,而大多数家庭和办公室用的饮水机不可以由用户设定保温温度,只能得到100℃的开水,使用极不方便。为此我们的设计中保温温度范围可设定为30~80℃,步进为5℃,满足多样化的保温要求。因为80℃的水温最适合泡茶或者咖啡,在此温度下不会影响其中的营养成分。因此用户需要的最高设定水温为80℃。At present, most people require the water temperature to be between 18 and 45°C, and most water dispensers used in homes and offices cannot set the heat preservation temperature by the user, and can only get boiled water at 100°C, which is extremely inconvenient to use. Therefore, in our design, the heat preservation temperature range can be set at 30~80°C, with a step of 5°C, to meet various heat preservation requirements. Because the water temperature of 80°C is the most suitable for making tea or coffee, the nutrients in it will not be affected at this temperature. Therefore, the maximum set water temperature required by the user is 80°C.

2.实现强制加热,使人们在智能模式下也可以得到泡茶温度的水。2. Realize forced heating, so that people can also get water at the temperature of making tea in the smart mode.

普通饮水机在用户需要泡茶时只能将水重复烧开,据调查数据显示80℃的水温最适合泡茶或者咖啡,而在此温度下不会影响其中的营养成分。所以重复烧开是完全没有必要的。我们特别设定了强制加热按键,使用户可以得到泡茶温度的水。Ordinary water dispensers can only boil the water repeatedly when the user needs to make tea. According to the survey data, the water temperature of 80°C is the most suitable for making tea or coffee, and the nutrients in it will not be affected at this temperature. So repeated boiling is completely unnecessary. We specially set the forced heating button so that users can get water at the temperature of making tea.

3.实现健康饮水,仅烧开一次,避免千滚水。3. Realize healthy drinking water, only boil once, avoid thousands of boiling water.

因煮沸过久或多次煮沸水中不挥发性物质如钙、镁等重金属成分和亚硝酸盐含量很高。久饮这种水,会干扰人的胃肠功能,造成机体缺氧,出现头晕、头痛、心慌、胸闷、恶心、呕吐、腹痛、腹泻等状况。我们的设计中的烧开区域与保温区域完全隔离彻底杜绝了出现千滚水的可能性。The content of non-volatile substances such as calcium, magnesium and other heavy metals and nitrite in the water is very high due to boiling for too long or multiple times. Drinking this kind of water for a long time will interfere with human gastrointestinal function, causing the body to lack oxygen, dizziness, headache, palpitation, chest tightness, nausea, vomiting, abdominal pain, diarrhea and other conditions. The boiling area in our design is completely isolated from the heat preservation area, completely eliminating the possibility of thousands of boiling water.

4.长时间烧开的水饮用完,提示换水。4. After drinking the boiled water for a long time, prompt to change the water.

据科学调查显示,长时间烧开久置达24小时的水会对健康造成影响。本发明设计的饮水机在水烧开24小时会自动提示用户更换水,促使用户养成健康饮水的习惯。According to scientific investigations, water that has been boiled for a long time for 24 hours will have an impact on health. The water dispenser designed by the present invention will automatically prompt the user to replace the water when the water is boiled for 24 hours, so as to urge the user to develop the habit of drinking water healthily.

5.节能,来人检测的应用。5. Energy saving, application of visitor detection.

使用者长期不在饮水机附近的时候,饮水机会自动转入待机状态,节约能源使用。When the user is not near the water dispenser for a long time, the dispenser will automatically switch to the standby state to save energy.

附图说明 Description of drawings

图1是饮水机设备结构示意图。Figure 1 is a schematic structural diagram of a water dispenser.

图2是饮水机硬件结构框图。Figure 2 is a block diagram of the hardware structure of the water dispenser.

图3是饮水机控制器功能模块划分示意图。Fig. 3 is a schematic diagram of division of functional modules of the water dispenser controller.

图4是饮水机控制面板示意图。Fig. 4 is a schematic diagram of the control panel of the water dispenser.

图5是冷水区到开水区水泵的工作流程图。Fig. 5 is a working flow diagram of the water pump from the cold water zone to the boiling water zone.

图6是开水区到温水区水阀的工作流程图。Fig. 6 is a working flow diagram of the water valve from the boiling water zone to the warm water zone.

图7是温水区加热水箱的工作流程图。Fig. 7 is a working flow chart of heating the water tank in the warm water zone.

图8是总外部电路示意图。Figure 8 is a schematic diagram of the overall external circuit.

具体实施方式 Detailed ways

整个饮水机包括三个容积为1.2L的水箱和连接这三个水箱的管道构成。采用这种三水箱结构的目的是要满足使用者对水温的要求,保持生水与开水分开。其中,第一个水箱用于装没有烧过的生水;第二个水箱用于烧开水,使用过程中直接将注入水箱的生水烧开到100℃,烧开后就断开电源等待下次注水;第三个水箱有保温功能,并具有多档可调节水温控制器,在水位不满的时候抽入已经烧开的水,用于满足使用者对不同水温的需求。从冷水区到开水区水的传输控制器件为微型潜水泵,从开水区到温水区水的传输控制器件为电磁阀。设备结构图见附图1。The whole water dispenser comprises three water tanks with a volume of 1.2L and pipelines connecting the three water tanks. The purpose of adopting this structure of three water tanks is to meet the user's requirement for water temperature and keep the raw water separate from the boiled water. Among them, the first water tank is used to hold raw water that has not been boiled; the second water tank is used to boil water. During use, the raw water injected into the water tank is directly boiled to 100°C. water injection; the third water tank has the function of heat preservation, and has a multi-level adjustable water temperature controller. When the water level is not full, the boiled water is pumped in to meet the needs of users for different water temperatures. The water transmission control device from the cold water area to the boiling water area is a micro submersible pump, and the water transmission control device from the boiling water area to the warm water area is a solenoid valve. See attached drawing 1 for the equipment structure diagram.

本发明设计的健康节能饮水机检测与控制系统采用模块化的设计,模块划分见附图3。The detection and control system of the healthy and energy-saving water dispenser designed by the present invention adopts a modular design, and the module division is shown in Figure 3.

主控模块,为高性能的可编程逻辑器件CPLD,用于系统所有信号的收集、逻辑处理及控制信号的形成、输出,实现饮水机各个工作状态的功能切换,The main control module is a high-performance programmable logic device CPLD, which is used for the collection and logic processing of all signals in the system and the formation and output of control signals, and realizes the function switching of various working states of the water dispenser.

来人检测模块,利用光电开关采集是否有人经过的信号传输给CPLD进行逻辑分析。The incoming person detection module uses the photoelectric switch to collect the signal of whether someone passes by and transmits it to the CPLD for logic analysis.

水位检测模块,每个水箱都具有检测高低水位的两个信号传输给CPLD。水位信号的采集采用的方法是:在水箱中限定的水位处插入金属探针,利用水和大阻值电阻的分压,来判断是否到指定水位。Water level detection module, each water tank has two signals for detecting high and low water levels and transmits them to CPLD. The method used to collect the water level signal is: insert a metal probe at the limited water level in the water tank, and use the partial pressure of the water and the large resistance resistor to judge whether it reaches the specified water level.

温度检测模块,使用直接输出数字量的集成温度传感器芯片DS18B20,此芯片的成本并不高,并且精度高,仅需要占用一个I/O端口,用CPLD与其通信可以得到满足需要精度的温度。The temperature detection module uses an integrated temperature sensor chip DS18B20 that directly outputs digital quantities. The cost of this chip is not high, and the precision is high. It only needs to occupy one I/O port, and the temperature that meets the required precision can be obtained by communicating with CPLD.

主控模块CPLD控制流水灯以及液晶屏实现系统状态显示。一排8个LED灯显示加热区的大概温度和加热状态。加热时灯闪烁,不加热时灯稳定发光,给用户一个直观的印象。液晶屏显示当前保温区的温度以及用户设定的温度,并显示当前的系统的状态(待机、错误以及正常)以及需要用户采取的措施(加水、换水以及正常)。The main control module CPLD controls the water lamp and the LCD screen to realize the system status display. A row of 8 LED lights shows the approximate temperature and heating status of the heating zone. The lamp flickers when heating, and the lamp glows steadily when not heating, giving users an intuitive impression. The LCD screen displays the current temperature of the heat preservation area and the temperature set by the user, and displays the current system status (standby, error, and normal) and the measures that need to be taken by the user (add water, change water, and normal).

面板上还设有Reset键、Force按键、Smart按键、SetDown按键、SetUp按键,实现人工对饮水机工作状态的设定和干预。其中:Reset键清零系统的状态、Force键强制加热、Smart键切换回智能状态、SetUp键提高设定温度、SetDown键降低设定温度,步进均为5℃。There are also Reset button, Force button, Smart button, SetDown button, and SetUp button on the panel to realize manual setting and intervention on the working status of the water dispenser. Among them: Reset key to clear the system status, Force key to force heating, Smart key to switch back to smart state, SetUp key to increase the set temperature, SetDown key to decrease the set temperature, the step is 5°C.

系统分为正常工作、故障、待机等3个状态。正常工作时,系统一切正常,并会按状态执行操作、显示提示;待机状态下,只有当来人信号和水位信号判别正常的时候,系统会回到正常工作的状态;故障状态下,只有reset可以让系统回到正常工作状态。The system is divided into three states: normal operation, failure, and standby. When working normally, the system is normal, and will perform operations and display prompts according to the state; in standby mode, the system will return to the normal working state only when the incoming signal and water level signal are judged to be normal; in the fault state, only reset Return the system to normal working condition.

系统的工作逻辑如下:The working logic of the system is as follows:

(1)开水区将自来水一次烧开,然后不加热。(1) In the boiling water zone, boil the tap water once, and then do not heat it.

(2)保温模式下,温水区将来自开水区的水维持在用户设定的温度。(2) In the heat preservation mode, the warm water zone maintains the water from the boiling water zone at the temperature set by the user.

(3)在强制加热模式下,温水区将来自开水区的水快速加热到80℃。(3) In the forced heating mode, the warm water zone quickly heats the water from the boiling water zone to 80°C.

(4)在开水区空的情况下,生水区中的水加入开水区,直到冷水区水位低或者开水区满。(4) When the boiling water area is empty, the water in the raw water area is added to the boiling water area until the water level in the cold water area is low or the boiling water area is full.

(5)在温水区不满的情况下,将开水区烧开的水加入温水区,直到温水区水位满或者开水区水位低。(5) When the warm water area is not full, add the boiled water in the boiling water area to the warm water area until the water level in the warm water area is full or the water level in the boiling water area is low.

(6)在长时间没有人进入的时候,会进入待机状态。(6) When no one enters for a long time, it will enter the standby state.

(7)水位检测异常,进入待机报错状态。(7) The water level detection is abnormal, and it enters the standby error reporting state.

(8)在生水区不满的情况下提示加水。(8) Prompt to add water when the raw water area is not full.

(9)烧的开水长时间没有饮用完,提示建议换水。(9) If the boiled water has not been drunk for a long time, it is suggested to change the water.

(一)健康节能饮水机硬件结构(1) Hardware structure of healthy and energy-saving water dispenser

该健康节能饮水机由主控模块1、继电器模块2、水温检测模块3、来人检测模块4、水位检测模块5、加热模块6、保温模块7、液晶显示模块8组成。其中,主控模块1可接收水温检测模块3、来人检测模块4和水位检测模块5的信号作为进行下一步操作的依据。主控模块直接控制继电器模块2和液晶显示模块8,继电器模块决定加热模块6、保温模块7的工作与否,来实现加热、保温还是待机等多种操作;液晶显示模块8控制液晶屏,显示设定保温温度、保温水箱内的即时温度、饮水机即时的工作状态以及提示语。具体硬件的联系框图如图3。The healthy and energy-saving water dispenser is composed of a main control module 1, a relay module 2, a water temperature detection module 3, an incoming person detection module 4, a water level detection module 5, a heating module 6, a heat preservation module 7, and a liquid crystal display module 8. Wherein, the main control module 1 can receive the signals of the water temperature detection module 3 , the incoming person detection module 4 and the water level detection module 5 as the basis for the next operation. The main control module directly controls the relay module 2 and the liquid crystal display module 8, and the relay module determines whether the heating module 6 and the heat preservation module 7 work or not, so as to realize various operations such as heating, heat preservation or standby; the liquid crystal display module 8 controls the liquid crystal screen, displays Set the heat preservation temperature, the real-time temperature in the heat-retention water tank, the real-time working status of the water dispenser and prompts. The contact block diagram of the specific hardware is shown in Figure 3.

1.主控模块1. Main control module

主控模块选用Altera公司的可编程逻辑器件EPM1270T144C5N,用于系统所有信号的收集、处理及控制信号的形成、输出,实现饮水机各个逻辑状态的功能切换,并且要有一定的处理速度,与其它模块连接接口简便等。The main control module selects Altera's programmable logic device EPM1270T144C5N, which is used for the collection and processing of all signals in the system and the formation and output of control signals, to realize the function switching of each logic state of the water dispenser, and to have a certain processing speed, which is different from other The module connection interface is simple and convenient.

2.继电器控制模块2. Relay control module

继电器控制模块使用HK3FF-DC12V-SH(T73)型继电器。选择继电器考虑的首要标准是触点电流值。因为外围电路中有220V交流电源,继电器必须能够承受足够大的电流,否则容易烧毁器件。HK3FF-DC12V-SH(T73)型继电器的触点电流为10A,最大切换电流为15A,可满足应用的需要。The relay control module uses HK3FF-DC12V-SH (T73) type relay. The first criterion to consider when selecting a relay is the contact current value. Because there is a 220V AC power supply in the peripheral circuit, the relay must be able to withstand a large enough current, otherwise it is easy to burn the device. HK3FF-DC12V-SH (T73) type relay has a contact current of 10A and a maximum switching current of 15A, which can meet the needs of the application.

考虑到要利用CPLD提供的‘0’,‘1’信号控制继电器的通断,而CPLD输出‘1’信号为3.3V,输出电流为几mA量级。经实验测量,HK3FF-DC12V-SH(T73)继电器的线圈内驱动电流为20mA左右。显然,CPLD输出的电流不足以驱动继电器的通断,所以选用三极管2N3904作为放大器件,其集电极最大电流Ic(max)可达200mA,足够驱动继电器。Considering that the '0' and '1' signals provided by the CPLD are used to control the on-off of the relay, and the CPLD outputs a '1' signal of 3.3V, and the output current is in the order of several mA. According to the experimental measurement, the driving current in the coil of the HK3FF-DC12V-SH (T73) relay is about 20mA. Obviously, the current output by CPLD is not enough to drive the on-off of the relay, so the triode 2N3904 is selected as the amplifier device, and the maximum collector current Ic(max) can reach 200mA, which is enough to drive the relay.

考虑输出直流电中可能会有交流成分干扰,在三极管的基极b和射极e之间加一个电容(选用0.1μF的电容)。此外,如果输出不能保证三极管be级间的0.7V的正常静态工作压降,三极管将不具有放大作用,继而继电器也无法正常工作,所以在CPLD输出端和三极管的基极之间加了一个二极管,保证三极管能够处在放大区。Considering that there may be AC component interference in the output DC, add a capacitor between the base b and the emitter e of the triode (select a 0.1μF capacitor). In addition, if the output cannot guarantee the normal static operating voltage drop of 0.7V between the be stages of the triode, the triode will not have an amplification effect, and then the relay will not work normally, so a diode is added between the CPLD output terminal and the base of the triode , to ensure that the triode can be in the amplification area.

CPLD输出管脚与二极管间加上阻值为1KΩ的电阻,将CPLD上输出的电压信号转为电流信号,便于下一步对此电流进行放大以驱动继电器。A resistor with a resistance value of 1KΩ is added between the CPLD output pin and the diode to convert the voltage signal output on the CPLD into a current signal, which is convenient for the next step to amplify the current to drive the relay.

通断型继电器利用电磁感应效应进行工作,如果断开后,线圈中可能出现很高的反向电动势,会对器件造成伤害,所以在继电器的线圈两端按感应电动势的电位高低方向加了一个正向二极管IN4148(最大反向电压100V、正向电压1V),以便线圈中方向电动势的释放。The on-off relay uses the electromagnetic induction effect to work. If it is disconnected, a high reverse electromotive force may appear in the coil, which will cause damage to the device. Therefore, a Forward diode IN4148 (maximum reverse voltage 100V, forward voltage 1V), in order to release the direction electromotive force in the coil.

3.水温检测模块3. Water temperature detection module

水温检测模块选用DS18B20芯片,其体积小,采用1线制总线结构,经济灵活。检测温度的范围在-55~125℃之间,精度为2-5℃。The water temperature detection module uses DS18B20 chip, which is small in size and adopts a 1-wire bus structure, which is economical and flexible. The detection temperature range is between -55 and 125°C, and the accuracy is 2-5°C.

在外接电路中只需给DS18B20的VDD端和GND端分别接上5V电源和接地即可,在数据输出端给其加上拉电阻(4.7KΩ)再接至5V电源,可保证输出的数据能够正常地串行传送。具体的数据传输由CPLD直接跟DS18B20之间交互按通讯协议规定进行。In the external circuit, you only need to connect 5V power supply and ground to the VDD terminal and GND terminal of DS18B20 respectively, and add a pull-up resistor (4.7KΩ) to the data output terminal and then connect it to the 5V power supply to ensure that the output data can be Normal serial transfer. The specific data transmission is carried out by the interaction between CPLD and DS18B20 directly according to the communication protocol.

4.来人检测模块4. Comer detection module

来人检测模块利用接近开关的特性:有人经过时接近开关数据线出高电平。将光电接近开关的输出信号作为LM339的一个输入,基准比较电压使用5V。有人时LM339判断后输出5V,没有人经过时,LM339输出0V。借助LM339的比较结果形成的标准高低电平5V,0V作为逻辑信号“1”,“0”接入CPLD以供判断是否有人之用。The coming detection module uses the characteristics of the proximity switch: when someone passes by, the data line of the proximity switch outputs a high level. The output signal of the photoelectric proximity switch is used as an input of LM339, and the reference comparison voltage is 5V. LM339 outputs 5V after judging by someone, and outputs 0V when no one passes by. The standard high and low levels 5V and 0V formed by the comparison result of LM339 are used as logic signal "1", and "0" is connected to CPLD for judging whether there is someone.

5.水位检测模块5. Water level detection module

水位检测模块利用金属丝作为水位检测探针。如果未达到水位,则两个探针间的电阻接近无穷大,当水位探针被水浸没后,水导电使整个电路导通。采用12V电源,且利用水和选择的分压电阻之间的分压,将分到的电压值输入到LM339(比较器)的负输入端,将LM339的输出接到CPLD上,以达到检测水位的目的。The water level detection module utilizes a metal wire as a water level detection probe. If the water level is not reached, the resistance between the two probes is close to infinity. When the water level probe is submerged in water, the water conducts electricity to make the whole circuit conduct. Use 12V power supply, and use the divided voltage between water and the selected voltage dividing resistor to input the divided voltage value to the negative input terminal of LM339 (comparator), and connect the output of LM339 to CPLD to achieve the detection of water level the goal of.

由于纯水为不良导体,阻值比较大,分压电阻的阻值也相应要求比较大。Since pure water is a poor conductor, the resistance value is relatively large, and the resistance value of the voltage dividing resistor is also required to be relatively large.

此外,LM339内部使用OC门的输出方式,所以在4个输出端口输出信号时,都要先接一个4.7KΩ的上拉电阻,然后再接到5V电源处,防止电流倒灌进入芯片,对芯片造成损害。In addition, the LM339 internally uses the OC gate output mode, so when outputting signals at the 4 output ports, a 4.7KΩ pull-up resistor must be connected first, and then connected to the 5V power supply to prevent the current from flowing backward into the chip and causing damage to the chip. damage.

6.加热模块6、保温模块76. Heating module 6, insulation module 7

加热模块和保温模块使用普通的电热水箱用以加温和保温。The heating module and the heat preservation module use common electric water tanks for heating and heat preservation.

7.液晶显示模块87. Liquid crystal display module 8

液晶显示模块选用2×16的字符型液晶显示屏。CPLD根据所有输入信号进行分析,然后控制液晶屏。液晶屏可显示设定保温温度、保温水箱内的即时温度、饮水机即时的工作状态以及提示语。The liquid crystal display module selects 2×16 character liquid crystal display screens. CPLD analyzes according to all input signals, and then controls the LCD screen. The LCD screen can display the set heat preservation temperature, the real-time temperature in the heat-preservation water tank, the real-time working status of the water dispenser and prompts.

(二)饮水机控制的可靠性分析(2) Reliability analysis of water dispenser control

1.水温检测误差的问题1. The problem of water temperature detection error

水温检测芯片DS18B20在安置的时候出于卫生等方面考虑只放置在水箱的外壁上,外壁测得的水温必定会与实际有一定的误差。因此,DS18B20采集得到的温度不能直接应用,需要进行误差拟合处理。The water temperature detection chip DS18B20 is only placed on the outer wall of the water tank for sanitation and other considerations when it is installed. The water temperature measured by the outer wall must have a certain error from the actual one. Therefore, the temperature collected by DS18B20 cannot be directly applied, and error fitting processing is required.

为了得到准确的温度,将DS18B20检测到的温度与直接检测得到的温度进行比较,得到下表:(DS18B20检测的为Scan,真实温度为Real,单位为℃)In order to get an accurate temperature, compare the temperature detected by DS18B20 with the temperature directly detected, and get the following table: (DS18B20 detects Scan, the real temperature is Real, and the unit is °C)

  Real real   21 twenty one   22 twenty two   23 twenty three   24 twenty four   25 25   26 26   27 27   28 28   29 29   30 30   31 31   32 32   33 33   34 34   35 35   36 36   37 37   Scan scan   20 20   21 twenty one   21 twenty one   22 twenty two   22 twenty two   23 twenty three   23 twenty three   24 twenty four   25 25   26 26   27 27   28 28   29 29   29 29   30 30   31 31   32 32   Real real   38 38   39 39   40 40   41 41   42 42   43 43   44 44   45 45   46 46   47 47   48 48   49 49   50 50   51 51   52 52   53 53   54 54   Scan scan   33 33   34 34   34 34   35 35   36 36   37 37   37 37   38 38   39 39   40 40   41 41   42 42   43 43   44 44   44 44   45 45   46 46   Real real   55 55   56 56   57 57   58 58   59 59   60 60   61 61   62 62   63 63   64 64   65 65   66 66   67 67   68 68   69 69   70 70   71 71   Scan Scan   46 46   47 47   48 48   49 49   50 50   51 51   52 52   53 53   53 53   54 54   55 55   56 56   57 57   58 58   59 59   59 59   60 60   Real real   72 72   73 73   74 74   75 75   76 76   77 77   78 78   79 79   80 80   81 81   82 82   83 83   84 84   85 85   86 86   87 87   88 88   Scan scan   61 61   62 62   63 63   64 64   65 65   65 65   66 66   67 67   68 68   68 68   69 69   70 70   70 70   71 71   72 72   73 73   74 74   Real real   89 89   90 90   91 91   92 92   93 93   94 94   95 95   96 96   97 97   98 98   99 99   Scan Scan   75 75   76 76   76 76   77 77   78 78   79 79   80 80   81 81   82 82   83 83   84 84

由上表测试数据,可得实际温度和检测温度误差曲线,分析误差曲线可得:随着水温上升,实际水温和检测水温绝对误差逐渐变大。需将检测水温做函数处理,让其拟合实际水温。对于一个只需要整数级处理的温度量其需要译码的数目极为有限,故采用直接译码电路实现,既简洁易懂,又节约逻辑单元。From the test data in the above table, the actual temperature and the detected temperature error curve can be obtained, and the error curve can be analyzed: as the water temperature rises, the absolute error of the actual water temperature and the detected water temperature gradually increases. The detected water temperature needs to be processed as a function to make it fit the actual water temperature. For a temperature value that only requires integer-level processing, the number of decoding is extremely limited, so a direct decoding circuit is used to realize it, which is simple and easy to understand, and saves logic units.

2.水阀的噪声问题2. The noise problem of the water valve

电磁阀通断改变时会有比较大的噪音,而电磁阀的通断控制与水位检测直接相关。采用的水位检测方案会在水面刚刚到达高水位线的时候由于水的表面张力以及水面波动会让高水位线出现波动,从而导致电磁阀不停开断。所以,考虑在电磁阀打开的状态下,开始计时至30秒再检测水位状态,这样水位已经稳定,避免了电磁阀的抖动。There will be a relatively large noise when the solenoid valve is switched on and off, and the on-off control of the solenoid valve is directly related to the water level detection. The water level detection scheme adopted will cause the high water level to fluctuate due to the surface tension of the water and the fluctuation of the water surface when the water surface has just reached the high water level, which will cause the solenoid valve to keep switching off. Therefore, it is considered that when the solenoid valve is open, start timing until 30 seconds before checking the water level, so that the water level has stabilized and the vibration of the solenoid valve is avoided.

但是,这样可能造成保温水箱在高水位的时候没有及时关闭导致水溢出。通过多次观察流经阀门的水流速度,发现适当降低保温水箱的高水位线,基本可以确保水不会溢出。However, this may cause the insulated water tank to not be closed in time when the water level is high, causing water to overflow. By observing the flow rate of water flowing through the valve many times, it is found that the high water level line of the thermal insulation tank can be properly lowered, which can basically ensure that the water will not overflow.

3.关于待机状态的回跳问题3. About the problem of jumping back to the standby state

待机状态的情况下,如果有人进入或者加水后打破hold状态应该回到之前的状态。为解决这个问题,首先考虑A:保存前一状态,在hold状态解除的情况下跳转到那一个状态。但是,发现这样的一种保存并没有太大意义,因为在绝大多数状态下不需要保存前一状态,更重要的是很有可能在待机时情况发生了改变,例如水位的变化,温度的变化,所以单纯回到前一状态并不是理想的办法。改为考虑方案B:设计一个通用状态,这个状态是专门用来判别现在系统应该进入什么状态的。这样在每次状态跳转的时候,其他状态都跳转到通用状态,再由通用状态转跳到下一个状态。这样的设计建立在这样一个对于状态跳转速度要求不高的系统的情况下,同时这样的设计还解决了待机状态的转跳问题,更好的是在系统状态有小差错的情况下,仍然可以很快地跳转到通用状态,从而选择到正确的状态。In the standby state, if someone enters or breaks the hold state after adding water, it should return to the previous state. To solve this problem, first consider A: save the previous state, and jump to that state when the hold state is released. However, it does not make much sense to find such a save, because in most states there is no need to save the previous state, and more importantly, it is very likely that the situation has changed during standby, such as changes in water level, temperature change, so simply going back to the previous state is not ideal. Consider option B instead: Design a general state, which is specially used to determine what state the system should enter now. In this way, every time the state jumps, other states jump to the general state, and then jump from the general state to the next state. Such a design is based on such a system that does not require high state transition speed. At the same time, this design also solves the problem of transitioning to the standby state. Can quickly jump to the general state, so as to select the correct state.

Claims (3)

1. a health energy-saving drinking water machine is characterized in that this water dispenser comprises three orders water tank that is connected in series and the pipeline that is connected these three water tanks and heat insulation function is arranged, and has many grades of adjustable water-saving temp control system devices; Wherein, first water tank (1) is a water inlet end, is used to adorn the unboiled water that did not burn; Second water tank (2) is used to boil water, and the unboiled water that directly will inject water tank in the use is boiled, and next water filling is waited for regard to deenergization in boiled back; Three-tank (3) is provided with delivery port, and heat insulation function is arranged, and has many grades of adjustable water-saving temp control system devices, with regard to the boiled water of suction, is used to satisfy the demand of user to different water temperatures when water level is discontented; Transmission control unit (TCU) spare from cold water area to boiling water district water is a miniature immersible pump, is magnetic valve from the boiling water district to the transmission control unit (TCU) spare of warm water district water; Heat insulation function is arranged, and have the work that many grades of adjustable water-saving temp control system devices are controlled whole water dispenser automatically;
Described controller comprises:
Main control module: select for use programmable logic device (CPLD) to be used for formation, the output of collection, logical process and the control signal of all signals of system, realize each duty switching of water dispenser;
Messenger's detection module: utilize the optoelectronic switch collection whether to have the signal of people's process to be transferred to CPLD and carry out logic analysis;
The water level detecting module: the water level place that limits in each water tank inserts metal probe, utilizes the dividing potential drop of water and big resistance resistance, judges whether to specify water level; Each water tank is all exported two and is indicated the signal of high and low water level to give CPLD respectively;
Water temperature detection module: use the directly integrated temperature sensor chip of output digital quantity, communicate with CPLD and be met the temperature that needs precision;
Relay control module: CPLD control output high-low level amplifies through triode, and as the control signal of control relay, the 220V ac working power supply of control reservoir, boiler, immersible pump determines whether it works; In addition, also add relay in magnetic valve direct current 12V working power loop, whether the relay control signal that CPLD provides controls magnetic valve work after amplifying;
Human-computer interaction module: receive the control signal that comes from CPLD, by liquid crystal display and color LED visual display system work at present state; Feed back signal to CPLD initialization system duty by the plurality of keys on the panel.
2. health energy-saving drinking water machine according to claim 1 is characterized in that in the described controller:
The water level detecting module: water level probe connects lead, and through electric resistance partial pressure and comparator LM339, comparator output connects the IO mouth of main control module CPLD, provides each water tank current water level signal to CPLD, represents the high and low water level signal of three water tanks respectively;
The water temperature detection module: numeric type temperature sensor DS18B20 adopts the 1-Wire interface, and this data wire connects the I/O mouth of main control module CPLD, the real-time digital temperature data is provided for the CPLD chip;
Messenger's detection module: photoelectric sensor output signals is judged back output high-low level through comparator LM339, inserts main control module CPLD chip I mouth, and is close to have judged whether the people;
Relay control module: whether information reaches default control logic generation control output signal to main control module CPLD according to the water temperature of importing, water level, messenger, after triode amplifies as the control input signal of each relay of relay control module, the 220V ac working power supply and the magnetic valve 12V dc supply of control reservoir, boiler, immersible pump determine whether it works;
Human-computer interaction module: the color LED indicator lamp of vivid displays temperature directly links to each other with the I/O mouth of main control module CPLD, and demonstration, flicker, do action are directly controlled by CPLD; All demonstration information of Liquid Crystal Module directly provide by the CPLD chip, and the signal of input button is directly connected to the external I/O port of CPLD, and directly input signal gives CPLD as control signal.
3. health energy-saving drinking water machine according to claim 1 and 2 is characterized in that the control logic of main control module CPLD in the described controller is:
Controller main control module CPLD input signal has: 1) unboiled water district, the thermal treatment zone and the high and low signal of heat preservation zone water level; 2) temperature feedback signal of the temperature detection chip DS18B20 of attemperater and boiler; 3) messenger's detection signal of messenger's detection module photoelectric sensor; 4) the Reset button on the user interactions panel, Force button, Smart button, SetDown button, SetUp push button signalling;
Output signal has: 1) heating water tank heating signal; 2) attemperater heating signal; 3) immersible pump control signal; 4) solenoid control signal; 5) liquid crystal display mode block control signal; 6) running lamp control signal;
The state machine theory is adopted in the control logic design of controller main control module CPLD, realized a multi-input multi-output system, according to system's operation characteristic, system running state is divided into 4 kinds: the state that reports an error, holding state, intelligent heat preserving state, pressure heated condition;
The state of reporting an error appears at system and occurs comprising: 1) detect the high water level signal and do not detect the low water level signal for same water tank under the wrong situation; 2) temperature detection shows long-time above 100 ℃;
Under the state of reporting an error, running lamp goes out entirely, immersible pump cuts out, the heating of closed electromagnetic valve, attemperater is closed, the heating water tank heating is closed, the liquid crystal display status bar shows error, and system jumps to the intelligent heat preserving state from error condition can only exchange Reset button on the panel by the user;
Holding state appears under the following situation, comprising: it is unmanned that 1) messenger's detection signal surpasses lasting expression in a hour; 2) three cistern water levels detections are low entirely;
Under holding state, running lamp goes out entirely, immersible pump cuts out, the heating of closed electromagnetic valve, attemperater is closed, the heating water tank heating is closed, the liquid crystal display status bar shows Hold, and system from the condition that holding state jumps to the intelligent heat preserving state is: 1) messenger's detection signal transition table is shown with people's signal; 2) add water in the unboiled water district and change three situations that water tank all is low water levels;
When forcing heated condition to appear at system to be in the intelligent heat preserving state, the user presses after the Force key;
Forcing under the heated condition, attemperater heats with all strength, the liquid crystal display status bar shows Force, and heating water tank, immersible pump and magnetic valve are all followed the working method under the intelligent heat preserving state;
System from the condition that holding state jumps to the intelligent heat preserving state is: 1) user presses the Smart key on the lower panel; 2) temperature detection of attemperater arrives 80 ℃;
Except holding state, the state that reports an error, pressure heated condition, system all is in the intelligent heat preserving state;
The intelligent heat preserving state is divided into two kinds of mode of operations according to boiling water district water is whether boiled;
Mode of operation one: the boiling water district is boiled
Heating water tank does not heat:
The attemperater detected temperatures is higher than and maintains temperature that the user sets or heat preservation zone water level when low, and attemperater does not heat, if the attemperater detected temperatures is lower than user's design temperature and heat preservation zone water level when not being low, and the attemperater heating,
Running lamp is fixing to be shown, according to Heating Zone Temperature, the high more small cup of temperature number is many more,
Immersible pump closes,
Under the discontented situation of attemperater, open the magnetic valve water that heating water tank is boiled and add the warm water district, full or boiling water district water level is low up to warm water district water level,
When unboiled water district water level was low, system prompt added water, and the prompt column on the liquid crystal display shows " Add ",
Continue to keep this state 24 hours, system prompt changes water, and the prompt column on the liquid crystal display shows " Change ",
If boiling water district water level is low, then refresh boiled signal;
Mode of operation two: the boiling water district is not boiled
Continue heating when the heating water tank water level is not low,, provide boiled signal if the heating water tank temperature detection continues 30 seconds more than 95 ℃,
The attemperater detected temperatures is higher than and maintains temperature that the user sets or heat preservation zone water level when low, and attemperater does not heat; If the attemperater detected temperatures is lower than user's design temperature and heat preservation zone water level when not being low, the attemperater heating;
Running lamp rolls to glimmer and allows user's visual sense heating water tank in work, and according to Heating Zone Temperature, the high more small cup of temperature number is many more,
Magnetic valve closes,
Under the discontented situation of heating water tank, open the water suction heating water tank of immersible pump with the unboiled water district, full or the cold water area water level is low until heating water tank,
When unboiled water district water level was low, system prompt added water, and the prompt column on the liquid crystal display shows " Add ".
CN2009100266057A 2009-05-05 2009-05-05 Healthy energy-saving water dispenser Expired - Fee Related CN101579192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100266057A CN101579192B (en) 2009-05-05 2009-05-05 Healthy energy-saving water dispenser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100266057A CN101579192B (en) 2009-05-05 2009-05-05 Healthy energy-saving water dispenser

Publications (2)

Publication Number Publication Date
CN101579192A CN101579192A (en) 2009-11-18
CN101579192B true CN101579192B (en) 2011-11-09

Family

ID=41361617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100266057A Expired - Fee Related CN101579192B (en) 2009-05-05 2009-05-05 Healthy energy-saving water dispenser

Country Status (1)

Country Link
CN (1) CN101579192B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103070610B (en) * 2013-01-28 2014-09-10 陕西科技大学 Water dispenser
CN103431768A (en) * 2013-08-02 2013-12-11 陆欢欢 Temperature regulation water dispenser
CN104535658B (en) * 2014-12-17 2017-06-23 中国神华能源股份有限公司 A kind of lubricating oil moisture content tester and method based on sound detection
CN105708341A (en) * 2016-04-06 2016-06-29 烟台南山学院 Electro-mechanical control system of water dispenser
CN106175454A (en) * 2016-08-30 2016-12-07 浙江朗诗德健康饮水设备股份有限公司 A kind of drinking-water system control method
CN107340736B (en) * 2017-06-06 2020-04-14 山东东方方圆厨房设备有限公司 Control system of steam cabinet
CN107101363A (en) * 2017-06-06 2017-08-29 上海口渡文化传播有限公司 A kind of double electrical heat tracing water tank boilers of alternately switching
CN107340735B (en) * 2017-06-06 2020-02-07 山东东方方圆厨房设备有限公司 Double-control system of steam cabinet
CN108143287A (en) * 2017-12-12 2018-06-12 佛山市云米电器科技有限公司 A kind of method for heating and controlling of water dispenser
CN110070673A (en) * 2018-01-24 2019-07-30 豪星工业有限公司 Intelligent drinking-water system
CN108720615A (en) * 2018-06-16 2018-11-02 付瑞 Economize on electricity temperature-adjustable water dispenser and boiling water production method
CN108862690A (en) * 2018-08-28 2018-11-23 深圳伊泉净品科技有限公司 Internet of Things water purifier and its monitoring method
CN112944670A (en) * 2021-03-15 2021-06-11 黄峰 Intelligent water boiling and bathing system with multiple temperature water consumption and control method thereof

Also Published As

Publication number Publication date
CN101579192A (en) 2009-11-18

Similar Documents

Publication Publication Date Title
CN101579192B (en) Healthy energy-saving water dispenser
CN103622554B (en) A kind ofly the water dispenser of quantitative constant temperature water outlet and water dispenser can export the control method of water
CN201510145U (en) water dispenser
CN201135367Y (en) Electronic control apparatus of a full-automatic coffee machine
CN201811429U (en) Air source water heater capable of displaying hot water volume
CN201814382U (en) Intelligent water dispenser
CN204580908U (en) An intelligent water dispenser based on GPRS control
CN100579428C (en) Multifunctional waterer
CN201710140U (en) Water dispenser capable of displaying heating times
CN113080703A (en) Based on NFC wireless response intelligence drinking water equipment
CN201449032U (en) Integrated type hot water stove control system
CN207161815U (en) Tap and its quantitative-outlet control device
CN201819376U (en) Electronic constant temperature fast heating electric water heater
CN201185853Y (en) Drinking machine
CN207940681U (en) A kind of Temperature Control Type water dispenser that water yield is controllable
CN201000205Y (en) Rapid heating drinking machine
CN208952434U (en) A kind of temperature control system of shower bath
CN214891866U (en) Water supply system integrating circulating water pump and waste heat recovery device
CN204318439U (en) The multi-functional beverage dispenser of networking
CN205783727U (en) A kind of wall-hung boiler
CN204394248U (en) Multifunctional drinking machine
CN209588358U (en) Alternate outlet electric water heater
CN204287845U (en) Based on the multi-functional beverage dispenser of mobile module telecommunication
CN202709420U (en) Energy-saving constant-temperature electric water heater
CN207837394U (en) A kind of human body sensing water dispenser

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111109

Termination date: 20140505