[go: up one dir, main page]

CN107217718B - Feed robot and method based on image procossing - Google Patents

Feed robot and method based on image procossing Download PDF

Info

Publication number
CN107217718B
CN107217718B CN201710462737.9A CN201710462737A CN107217718B CN 107217718 B CN107217718 B CN 107217718B CN 201710462737 A CN201710462737 A CN 201710462737A CN 107217718 B CN107217718 B CN 107217718B
Authority
CN
China
Prior art keywords
pipe
type
dredging
image
dredging agent
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.)
Active
Application number
CN201710462737.9A
Other languages
Chinese (zh)
Other versions
CN107217718A (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.)
Tianjin 754 Photoelectric Technology Co.,Ltd.
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710462737.9A priority Critical patent/CN107217718B/en
Publication of CN107217718A publication Critical patent/CN107217718A/en
Application granted granted Critical
Publication of CN107217718B publication Critical patent/CN107217718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • EFIXED CONSTRUCTIONS
    • E03WATER SUPPLY; SEWERAGE
    • E03DWATER-CLOSETS OR URINALS WITH FLUSHING DEVICES; FLUSHING VALVES THEREFOR
    • E03D11/00Other component parts of water-closets, e.g. noise-reducing means in the flushing system, flushing pipes mounted in the bowl, seals for the bowl outlet, devices preventing overflow of the bowl contents; devices forming a water seal in the bowl after flushing, devices eliminating obstructions in the bowl outlet or preventing backflow of water and excrements from the waterpipe
    • E03D11/02Water-closet bowls ; Bowls with a double odour seal optionally with provisions for a good siphonic action; siphons as part of the bowl
    • E03D11/11Bowls combined with a reservoir, e.g. containing apparatus for disinfecting or for disintegrating
    • EFIXED CONSTRUCTIONS
    • E03WATER SUPPLY; SEWERAGE
    • E03DWATER-CLOSETS OR URINALS WITH FLUSHING DEVICES; FLUSHING VALVES THEREFOR
    • E03D9/00Sanitary or other accessories for lavatories ; Devices for cleaning or disinfecting the toilet room or the toilet bowl; Devices for eliminating smells
    • EFIXED CONSTRUCTIONS
    • E03WATER SUPPLY; SEWERAGE
    • E03DWATER-CLOSETS OR URINALS WITH FLUSHING DEVICES; FLUSHING VALVES THEREFOR
    • E03D9/00Sanitary or other accessories for lavatories ; Devices for cleaning or disinfecting the toilet room or the toilet bowl; Devices for eliminating smells
    • E03D9/005Devices adding disinfecting or deodorising agents to the bowl
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A50/00TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE in human health protection, e.g. against extreme weather
    • Y02A50/30Against vector-borne diseases, e.g. mosquito-borne, fly-borne, tick-borne or waterborne diseases whose impact is exacerbated by climate change

Landscapes

  • Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Hydrology & Water Resources (AREA)
  • Water Supply & Treatment (AREA)
  • Epidemiology (AREA)
  • Cleaning In General (AREA)
  • Domestic Plumbing Installations (AREA)
  • Sanitary Device For Flush Toilet (AREA)

Abstract

The present invention relates to a kind of feed robot based on image procossing, the robot includes storage device, for being pre-placed different types of pipe-dredging agent;Starter is rinsed, for the water inside cistern to be released automatically;Average current detection means, the water velocity for the seat inner space to closestool are detected in real time, obtain real-time water velocity, and calculate the average current velocity in this flushing process;Type determination device, for determining the type for the pipe-dredging agent to be discharged based on average current velocity;Automatic releasing device, for certain type of pipe-dredging agent to be discharged into the seat inner space of closestool to realize the dredging of pipeline in the seat inner space to closestool.The invention further relates to a kind of material supply method based on image procossing.By means of the invention it is possible to realize the intelligent supply of dredging material, provided conveniently for the use of closestool user.

Description

基于图像处理的供料机器人及方法Feeding robot and method based on image processing

本发明是申请号为201710091418.1、申请日为2017年2月21日、发明名称为“基于图像处理的供料机器人及方法”的专利的分案申请。The present invention is a divisional application of a patent with the application number 201710091418.1, the application date is February 21, 2017, and the invention name is "a feeding robot and method based on image processing".

技术领域technical field

本发明涉及图像处理领域,尤其涉及一种基于图像处理的供料机器人及方法。The invention relates to the field of image processing, in particular to a feeding robot and method based on image processing.

背景技术Background technique

对于马桶最先做了详细文字记载的是中国北宋时期欧阳修的《归田录二》中的“木马子”,《辞源》中对其解释为“木制的马桶”。中国古代民间使用的马桶是一种带盖的圆形木桶,用桐油或上好的防水朱漆加以涂抹。The first detailed written record of the toilet is the "wooden horse" in Ouyang Xiu's "Return to Field Record II" in the Northern Song Dynasty of China, which is explained as "wooden toilet" in "Ciyuan". The toilet used by the folks in ancient China is a round wooden barrel with a cover, which is painted with tung oil or good waterproof vermilion lacquer.

1596年,英国贵族约翰·哈灵顿发明了第一个实用的马桶——一个有水箱和冲水阀门的木制座位。In 1596, English nobleman John Harrington invented the first practical toilet—a wooden seat with a cistern and flush valve.

1778年,英国发明家约瑟夫·布拉梅改进了抽水马桶的设计,采用了如控制水箱里水流量的三球阀,以及U形弯管等。In 1778, the British inventor Joseph Brame improved the design of the flush toilet, using a three-ball valve to control the flow of water in the tank, and a U-shaped elbow.

19世纪,英国政府制定法律,规定每幢房屋都必须安装适当的污水处理机器人,马桶才开始大幅改善。In the 19th century, the British government enacted a law requiring that every house must be equipped with a proper sewage treatment robot, and toilets began to improve significantly.

1861年,英国一个管道工托马斯·克莱帕发明了一套先进的节水冲洗机器人,废物排放才开始进入现代化时期。In 1861, Thomas Clapper, a British plumber, invented an advanced water-saving flushing robot, and waste discharge began to enter the modern era.

1885年,托马斯·土威福在英国取得第一个全陶瓷马桶的专利,其后每年都有数十项改善的专利授出。1914年由英国人在唐山开的启新陶瓷厂(唐山陶瓷厂的前身)制造出中国第一件陶瓷马桶。In 1885, Thomas Tuweifu obtained the first patent for an all-ceramic toilet in the UK, and dozens of improved patents were granted every year thereafter. In 1914, the Qixin Ceramics Factory (the predecessor of Tangshan Ceramics Factory) opened by the British in Tangshan manufactured the first ceramic toilet in China.

19世纪六十年代抽水马桶开始在欧美盛行,后来传到日本、韩国等亚洲国家。Flush toilets became popular in Europe and the United States in the 1860s, and later spread to Japan, South Korea and other Asian countries.

由此可见,马桶的历史悠久,其基本结构早已定型,然而,人们在使用时仍会遇到以下困扰:当马桶堵塞时,不确定马桶内部的堵塞程度以及堵塞材料,因此,在进行疏通时,不得不逐一选择方案去进行人工处理,即时如此,还有可能实现不了疏通的效果。It can be seen that the toilet has a long history and its basic structure has been finalized for a long time. However, people still encounter the following problems when using it: when the toilet is blocked, the degree of blockage inside the toilet and the blocking material are not sure. Therefore, when dredging , had to choose one by one to carry out manual processing, even if it is so, it may not be able to achieve the dredging effect.

发明内容Contents of the invention

为了解决上述问题,本发明提供了一种基于图像处理的供料机器人及方法,首先将各种疏通力度不一的疏通材料预存在马桶主体上的不同容纳空间内,其次,确定平均水流速度和目标堵塞物类型为堵塞状态决定要素,再次,采用高精度传感器和图像识别设备对上述要素进行准确检测,并根据检测结果确定需要的疏通材料并自动打开所需疏通材料所在的容纳空间,从而实现马桶的自动疏通。In order to solve the above problems, the present invention provides a feeding robot and method based on image processing. First, various dredging materials with different dredging strengths are pre-stored in different accommodation spaces on the toilet body. Secondly, the average water flow velocity and The type of target blockage is the determining factor of the blockage state. Again, high-precision sensors and image recognition equipment are used to accurately detect the above elements, and the required dredging materials are determined according to the detection results, and the accommodation space where the required dredging materials are located is automatically opened, so as to realize Automatic unclogging of the toilet.

根据本发明的一方面,提供了一种基于图像处理的供料机器人,所述机器人包括:According to an aspect of the present invention, a kind of feeding robot based on image processing is provided, and described robot comprises:

存储装置,用于预先将不同化学构成的不同类型的管道疏通剂放置到马桶上不同的容纳空间内;The storage device is used to pre-place different types of drain cleaners with different chemical compositions in different accommodation spaces on the toilet;

冲洗启动装置,用于将马桶水箱内部的水自动泄放以对马桶的座位内部空间进行冲洗;The flushing activation device is used to automatically discharge the water inside the toilet tank to flush the interior space of the toilet seat;

平均水流检测装置,用于对马桶的座位内部空间的水流速度进行实时检测,获取实时水流速度,并基于实时水流速度计算本次冲洗过程中的平均水流速度;The average water flow detection device is used to detect the water flow velocity in the inner space of the toilet seat in real time, obtain the real-time water flow velocity, and calculate the average water flow velocity in this flushing process based on the real-time water flow velocity;

类型确定装置,与所述平均水流检测装置连接,用于基于平均水流速度确定要释放的管道疏通剂的类型;A type determination device, connected to the average water flow detection device, for determining the type of the pipe dredging agent to be released based on the average water flow velocity;

自动释放装置,与所述类型确定装置连接,用于将确定类型的管道疏通剂释放到马桶的座位内部空间以实现对马桶的座位内部空间中管道的疏通;An automatic release device, connected with the type determination device, is used to release a certain type of pipe dredging agent into the seat interior space of the toilet to realize the dredging of the pipe in the seat interior space of the toilet;

其中,各种类型的管道疏通剂都包括:氢氧化钠、二氯异氰尿酸钠、次氯酸钠、酒石酸、拉开粉BX-78、皂土和香精,管道疏通剂的不同化学构成在于氢氧化钠的配料百分比不同,将各种类型的管道疏通剂基于氢氧化钠的配料百分比的多少分为弱性管道疏通剂、一般管道疏通剂、强力管道疏通剂和快通管道疏通剂。Among them, various types of pipe dredging agents include: sodium hydroxide, sodium dichloroisocyanurate, sodium hypochlorite, tartaric acid, pull-off powder BX-78, bentonite, and essence. The different chemical compositions of pipe dredging agents lie in sodium hydroxide Different types of pipe dredging agents are divided into weak pipe dredging agents, general pipe dredging agents, strong pipe dredging agents and fast pipe dredging agents based on the percentage of ingredients of sodium hydroxide.

更具体地,在所述基于图像处理的供料机器人中,所述类型确定装置具体包括:More specifically, in the image processing-based feeding robot, the type determination device specifically includes:

数据采集单元,用于对马桶的座位内部空间进行高清图像数据采集以获得高清数字图像;The data collection unit is used for collecting high-definition image data of the seat interior space of the toilet to obtain high-definition digital images;

第一滤波单元,与所述数据采集单元连接,用于对高清数字图像进行边缘保持滤波以去除高清数字图像中的椒盐噪声或脉冲噪声,获得第一滤波图像;The first filtering unit is connected to the data acquisition unit, and is used to perform edge-preserving filtering on the high-definition digital image to remove salt and pepper noise or impulse noise in the high-definition digital image, and obtain a first filtered image;

第二滤波单元,与所述第一滤波单元连接,用于对第一滤波图像进行高斯滤波处理以去除第一滤波图像中的高斯噪声,获得第二滤波图像,所述高斯噪声包括最大幅度值超过预设幅度值的大幅度值高斯噪声和最大幅度值小于等于预设幅度值的小幅度值高斯噪声;The second filtering unit, connected to the first filtering unit, is used to perform Gaussian filtering processing on the first filtered image to remove Gaussian noise in the first filtered image, and obtain a second filtered image, and the Gaussian noise includes a maximum amplitude value Large-amplitude Gaussian noise exceeding the preset amplitude value and small-amplitude Gaussian noise whose maximum amplitude value is less than or equal to the preset amplitude value;

二值化单元,与第二滤波单元连接,用于对第二滤波图像进行二值化处理以获得二值化图像;A binarization unit, connected to the second filtering unit, for binarizing the second filtered image to obtain a binarized image;

目标匹配单元,与二值化单元连接,用于对二值化图像进行目标匹配处理以确定二值化图像中的堵塞物的类型并作为目标堵塞物类型输出,所述目标匹配处理包括将二值化图像与各种类型堵塞物的基准图案逐一进行形状匹配以确定二值化图像中的堵塞物的类型;The target matching unit is connected with the binarization unit, and is used to perform target matching processing on the binarized image to determine the type of blockage in the binarized image and output it as the type of target blockage. The target matching process includes binary The valued image is matched with the reference patterns of various types of blockages one by one to determine the type of blockage in the binarized image;

类型确定单元,分别与平均水流检测装置和目标匹配单元连接,用于基于平均水流速度和目标堵塞物类型确定要释放的管道疏通剂的类型,其中,平均水流速度越小,确定类型的管道疏通剂中氢氧化钠的配料百分比越大,目标堵塞物类型对应的腐蚀难度越大,确定类型的管道疏通剂中氢氧化钠的配料百分比越大,当平均水流速度大于预设水流阈值时,确定类型的管道疏通剂为无;The type determination unit is respectively connected with the average water flow detection device and the target matching unit, and is used to determine the type of the pipeline dredging agent to be released based on the average water flow velocity and the target blockage type, wherein the smaller the average water flow velocity, the more certain the type of pipeline dredge The greater the proportion of sodium hydroxide in the agent, the greater the difficulty of corrosion corresponding to the target blockage type. The greater the proportion of sodium hydroxide in the determined type of pipeline dredging agent, when the average water flow rate is greater than the preset water flow threshold, it is determined The type of pipe dredge is none;

其中,所述对第一滤波图像进行高斯滤波处理以去除第一滤波图像中的高斯噪声包括:对第一滤波图像进行自适应递归滤波处理以去除小幅度值高斯噪声以获得中间滤波图像,对中间滤波图像进行维纳滤波处理以去除大幅度值高斯噪声以获得第二滤波图像;Wherein, said performing Gaussian filtering on the first filtered image to remove Gaussian noise in the first filtered image includes: performing adaptive recursive filtering on the first filtered image to remove small-amplitude Gaussian noise to obtain an intermediate filtered image, The intermediate filtered image is subjected to Wiener filtering to remove large-magnitude Gaussian noise to obtain a second filtered image;

其中,各种类型堵塞物包括油污、菜叶、茶叶、毛发、卫生纸、粪便、厨余垃圾、塑料袋和布料。Among them, various types of blockages include oil stains, vegetable leaves, tea leaves, hair, toilet paper, feces, kitchen waste, plastic bags and cloth.

更具体地,在所述基于图像处理的供料机器人中,所述自动释放装置具体包括:More specifically, in the image processing-based feeding robot, the automatic release device specifically includes:

开关单元,用于打开确定类型的管道疏通剂所在容纳空间的开口以自动释放确定类型的管道疏通剂;a switch unit for opening the opening of the containing space where the certain type of pipe unblocking agent is located to automatically release the certain type of pipe unblocking agent;

其中,当确定类型的管道疏通剂为无时,开关单元不打开任一类型的管道疏通剂所在容纳空间的开口,发出人工冲洗信号。Wherein, when the determined type of pipe dredging agent is absent, the switch unit does not open the opening of the containing space where any type of pipe dredging agent is located, and sends a manual flushing signal.

更具体地,在所述基于图像处理的供料机器人中,还包括:More specifically, in the feeding robot based on image processing, it also includes:

冲洗次数确定装置,与自动释放装置连接,用于基于平均水流速度确定需要人工冲洗的次数;A flushing number determination device, connected to the automatic release device, is used to determine the number of manual flushings based on the average water flow rate;

显示装置,分别与自动释放装置和冲洗次数确定装置连接,用于显示人工冲洗信号的同时,显示需要人工冲洗的次数,以实现对马桶用户的提醒。The display device is respectively connected with the automatic release device and the flushing times determination device, and is used for displaying the manual flushing signal and the number of times of manual flushing, so as to remind the toilet user.

更具体地,在所述基于图像处理的供料机器人中,还包括:More specifically, in the feeding robot based on image processing, it also includes:

剂量检测装置,用于检测各个容纳空间内管道疏通剂的当前剂量;A dose detection device, used to detect the current dose of the pipeline dredging agent in each accommodation space;

剂量报警装置,与剂量检测装置连接,用于当某一类型的管道疏通剂的当前剂量小于预设剂量时,发出剂量不足报警信号,以提醒马桶用户添加相应类型的管道疏通剂。The dose alarm device is connected with the dose detection device, and is used to send out an insufficient dose alarm signal when the current dose of a certain type of pipe dredging agent is less than the preset dose, so as to remind the toilet user to add a corresponding type of pipe dredging agent.

根据本发明的另一方面,提供了一种基于图像处理的材料供给方法,所述方法包括:According to another aspect of the present invention, there is provided a material supply method based on image processing, the method comprising:

预先将不同化学构成的不同类型的管道疏通剂放置到马桶上不同的容纳空间内;Pre-place different types of drain cleaners with different chemical compositions in different accommodation spaces on the toilet;

将马桶水箱内部的水自动泄放以对马桶的座位内部空间进行冲洗;Automatically discharge the water inside the toilet tank to flush the internal space of the toilet seat;

对马桶的座位内部空间的水流速度进行实时检测,获取实时水流速度,并基于实时水流速度计算本次冲洗过程中的平均水流速度;Real-time detection of the water flow velocity in the inner space of the toilet seat to obtain the real-time water flow velocity, and calculate the average water flow velocity in this flushing process based on the real-time water flow velocity;

基于平均水流速度确定要释放的管道疏通剂的类型;determining the type of pipe cleaner to be released based on the average water velocity;

将确定类型的管道疏通剂释放到马桶的座位内部空间以实现对马桶的座位内部空间中管道的疏通;releasing a drain-cleaning agent of a determined type into the seat interior of the toilet to effect unclogging of the pipes in the seat interior of the toilet;

其中,各种类型的管道疏通剂都包括:氢氧化钠、二氯异氰尿酸钠、次氯酸钠、酒石酸、拉开粉BX-78、皂土和香精,管道疏通剂的不同化学构成在于氢氧化钠的配料百分比不同,将各种类型的管道疏通剂基于氢氧化钠的配料百分比的多少分为弱性管道疏通剂、一般管道疏通剂、强力管道疏通剂和快通管道疏通剂。Among them, various types of pipe dredging agents include: sodium hydroxide, sodium dichloroisocyanurate, sodium hypochlorite, tartaric acid, pull-off powder BX-78, bentonite, and essence. The different chemical compositions of pipe dredging agents lie in sodium hydroxide Different types of pipe dredging agents are divided into weak pipe dredging agents, general pipe dredging agents, strong pipe dredging agents and fast pipe dredging agents based on the percentage of ingredients of sodium hydroxide.

更具体地,在所述基于图像处理的材料供给方法中,所述基于平均水流速度确定要释放的管道疏通剂的类型具体包括以下步骤:More specifically, in the image processing-based material supply method, the determination of the type of pipe clearing agent to be released based on the average water flow velocity specifically includes the following steps:

对马桶的座位内部空间进行高清图像数据采集以获得高清数字图像;对高清数字图像进行边缘保持滤波以去除高清数字图像中的椒盐噪声或脉冲噪声,获得第一滤波图像;Collecting high-definition image data on the interior space of the toilet seat to obtain a high-definition digital image; performing edge-preserving filtering on the high-definition digital image to remove salt and pepper noise or impulse noise in the high-definition digital image, and obtaining a first filtered image;

对第一滤波图像进行高斯滤波处理以去除第一滤波图像中的高斯噪声,获得第二滤波图像,所述高斯噪声包括最大幅度值超过预设幅度值的大幅度值高斯噪声和最大幅度值小于等于预设幅度值的小幅度值高斯噪声;对第二滤波图像进行二值化处理以获得二值化图像;Performing Gaussian filtering on the first filtered image to remove Gaussian noise in the first filtered image to obtain a second filtered image, the Gaussian noise includes Gaussian noise with a large amplitude value exceeding a preset amplitude value and a maximum amplitude value less than Gaussian noise with a small amplitude value equal to a preset amplitude value; performing binarization processing on the second filtered image to obtain a binarized image;

对二值化图像进行目标匹配处理以确定二值化图像中的堵塞物的类型并作为目标堵塞物类型输出,所述目标匹配处理包括将二值化图像与各种类型堵塞物的基准图案逐一进行形状匹配以确定二值化图像中的堵塞物的类型;Perform target matching processing on the binarized image to determine the type of blockage in the binarized image and output it as the type of target blockage, the target matching process includes comparing the binary image with the reference patterns of various types of blockages Perform shape matching to determine the type of blockage in the binarized image;

基于平均水流速度和目标堵塞物类型确定要释放的管道疏通剂的类型,其中,平均水流速度越小,确定类型的管道疏通剂中氢氧化钠的配料百分比越大,目标堵塞物类型对应的腐蚀难度越大,确定类型的管道疏通剂中氢氧化钠的配料百分比越大,当平均水流速度大于预设水流阈值时,确定类型的管道疏通剂为无;Determine the type of pipe unblocking agent to be released based on the average water flow velocity and the target block type, wherein the smaller the average water flow velocity, the greater the proportion of sodium hydroxide in the determined type of pipe unblocking agent, and the corrosion rate corresponding to the target block type The greater the difficulty, the greater the proportion of sodium hydroxide in the determined type of pipe dredging agent. When the average water flow velocity is greater than the preset water flow threshold, the determined type of pipe dredging agent is none;

其中,所述对第一滤波图像进行高斯滤波处理以去除第一滤波图像中的高斯噪声包括:对第一滤波图像进行自适应递归滤波处理以去除小幅度值高斯噪声以获得中间滤波图像,对中间滤波图像进行维纳滤波处理以去除大幅度值高斯噪声以获得第二滤波图像;Wherein, said performing Gaussian filtering on the first filtered image to remove Gaussian noise in the first filtered image includes: performing adaptive recursive filtering on the first filtered image to remove small-amplitude Gaussian noise to obtain an intermediate filtered image, The intermediate filtered image is subjected to Wiener filtering to remove large-magnitude Gaussian noise to obtain a second filtered image;

其中,各种类型堵塞物包括油污、菜叶、茶叶、毛发、卫生纸、粪便、厨余垃圾、塑料袋和布料。Among them, various types of blockages include oil stains, vegetable leaves, tea leaves, hair, toilet paper, feces, kitchen waste, plastic bags and cloth.

更具体地,在所述基于图像处理的材料供给方法中,所述将确定类型的管道疏通剂释放到马桶的座位内部空间以实现对马桶的座位内部空间中管道的疏通具体包括以下步骤:More specifically, in the image processing-based material supply method, the release of a certain type of plumbing agent into the seat interior space of the toilet so as to realize the dredging of the pipes in the seat interior space of the toilet specifically includes the following steps:

打开确定类型的管道疏通剂所在容纳空间的开口以自动释放确定类型的管道疏通剂;opening the opening of the containment space in which the defined type of pipe clearing agent is located to automatically release the determined type of pipe clearing agent;

其中,当确定类型的管道疏通剂为无时,不打开任一类型的管道疏通剂所在容纳空间的开口,发出人工冲洗信号。Wherein, when it is determined that there is no type of pipe unblocking agent, the opening of the containing space where any type of pipe unblocking agent is located is not opened, and a manual flushing signal is sent.

更具体地,在所述基于图像处理的材料供给方法中,在所述将确定类型的管道疏通剂释放到马桶的座位内部空间以实现对马桶的座位内部空间中管道的疏通之后,所述方法还包括以下步骤:More specifically, in the image processing-based material supply method, after the release of the determined type of plumbing agent into the seat interior space of the toilet to realize the dredging of the pipes in the seat interior space of the toilet, the method Also includes the following steps:

基于平均水流速度确定需要人工冲洗的次数;显示人工冲洗信号的同时,显示需要人工冲洗的次数,以实现对马桶用户的提醒。The number of manual flushing is determined based on the average water flow rate; while the manual flushing signal is displayed, the number of manual flushing is displayed to remind the toilet user.

更具体地,在所述基于图像处理的材料供给方法中,还包括以下步骤:检测各个容纳空间内管道疏通剂的当前剂量;More specifically, in the material supply method based on image processing, the following steps are further included: detecting the current dosage of the pipe dredging agent in each containing space;

当某一类型的管道疏通剂的当前剂量小于预设剂量时,发出剂量不足报警信号,以提醒马桶用户添加相应类型的管道疏通剂。When the current dose of a certain type of pipe dredging agent is less than the preset dose, an insufficient dose alarm signal is sent to remind the toilet user to add a corresponding type of pipe dredging agent.

综上可以得出,本发明的关键发明点在于:In summary, it can be concluded that the key invention points of the present invention are:

首先,预存了各种疏通力度不一的疏通材料,并在疏通材料不足时进行报警;First of all, various dredging materials with different dredging strengths are pre-stored, and an alarm will be issued when the dredging materials are insufficient;

其次,准确检测出马桶内部的堵塞状态,并基于堵塞状态选择合适的疏通材料;Secondly, accurately detect the clogging state inside the toilet, and select the appropriate dredging material based on the clogging state;

再次,放出合适的疏通材料进行自动疏通,整个过程不需要人工参与,实现了马桶疏通的全自动化。Thirdly, suitable dredging materials are released for automatic dredging, and the whole process does not require manual participation, which realizes the full automation of toilet dredging.

附图说明Description of drawings

以下将结合附图对本发明的实施方案进行描述,其中:Embodiments of the present invention will be described below in conjunction with the accompanying drawings, wherein:

图1为根据本发明实施方案示出的基于图像处理的供料机器人的结构方框图。Fig. 1 is a structural block diagram of a feeding robot based on image processing according to an embodiment of the present invention.

图2为根据本发明实施方案示出的基于图像处理的材料供给方法的步骤流程图。Fig. 2 is a flow chart showing the steps of a material supply method based on image processing according to an embodiment of the present invention.

附图标记:1存储装置;2冲洗启动装置;3平均水流检测装置;4类型确定装置;5自动释放装置。Reference signs: 1 storage device; 2 flushing activation device; 3 average water flow detection device; 4 type determination device; 5 automatic release device.

具体实施方式Detailed ways

下面将参照附图对本发明的基于图像处理的供料机器人的实施方案进行详细说明。The implementation of the image processing-based feeding robot of the present invention will be described in detail below with reference to the accompanying drawings.

马桶的出现给人们带来很多方便,然而,当马桶出现堵塞情况时,这些方便之处全转换成困扰。人们需要开动脑筋,根据自己观察的有限的堵塞情况,人工进行方案的逐一常识。The appearance of the toilet brings a lot of convenience to people. However, when the toilet is blocked, these conveniences are all converted into troubles. People need to use their brains and manually carry out common sense of the plan one by one according to the limited blockage situation they observe.

常见的疏通方案有:Common dredging options include:

1、到杂物店买一个手动疏通器(样子像根弹簧的东西),手动疏通一下;1. Go to the grocery store to buy a manual dredge (something that looks like a spring), and manually dredge it;

2、墩布法:首先把墩布放在马桶口,然后放水,保证水把墩布淹没。然后用力压墩布,把它尽量塞进马桶口里,最后用最快的速度把墩布提起,反复这样的动作,马桶中的东西就会被倒吸出来;2. Mop method: first put the mop on the mouth of the toilet, and then turn on the water to ensure that the water submerges the mop. Then press the mop hard, stuff it into the mouth of the toilet as much as possible, and finally lift the mop as fast as possible. Repeat this action, and the things in the toilet will be sucked out;

3、找一段长一点的塑料水管,一头接自来水,一头塞入马桶口,然后把马桶口用破布之类的东西堵住,然后打开自来水,这样会利用水压疏通管道;3. Find a longer plastic water pipe, connect one end to tap water, and plug the other end into the toilet mouth, then block the toilet mouth with a rag or something, and then turn on the tap water, which will use water pressure to clear the pipe;

4、如果马桶被硬物堵塞,先用马桶吸把污物揣下去,一边放水一边揣,使马桶池里只有清水,然后用毛巾把水沾干,找一块小境子,例如是化妆上的那种小镜子,一个手电,把小镜子放到坐便器的最底部,调整光源和镜子的角度可以看到管道内部的一部分,通常小东西会卡在管道最里面要向下拐弯的地方,找一根比较合适的铁丝,用铁丝卡在小东西进行解决。4. If the toilet is blocked by hard objects, first use the toilet suction to remove the dirt, and put the water in while pouring water, so that there is only clean water in the toilet pool, then dry the water with a towel, and find a small place, such as makeup That kind of small mirror, a flashlight, put the small mirror at the bottom of the toilet, adjust the angle of the light source and the mirror to see a part of the inside of the pipe, usually small things will be stuck in the innermost part of the pipe that is about to turn downwards, find A more suitable iron wire is used to get stuck on small things to solve the problem.

5、寻找专业的疏通公司或疏通工人进行人工疏通。5. Find a professional dredging company or dredging workers for manual dredging.

由此可见,所有的疏通操作都需要人工进行观察,人工进行选择疏通材料并亲历亲为地进行疏通,一方面,耗时耗力,另一方面,很容易接触到被疏通过程中的污物,更关键的是,如果方案不对,堵塞问题无法解决,马桶无法继续使用,给用户的生活和工作带来不便。It can be seen that all dredging operations require manual observation, manual selection of dredging materials and dredging by hand. On the one hand, it is time-consuming and labor-intensive. On the other hand, it is easy to come into contact with the dirt during the dredging process. , and more importantly, if the scheme is wrong, the clogging problem cannot be solved, and the toilet cannot be used continuously, which will bring inconvenience to the life and work of the user.

为了克服上述不足,本发明搭建了一种基于图像处理的供料机器人及方法,采取全自动的疏通材料进行疏通材料的正确选择以及自动泄漏疏通,同时在判断不需要疏通材料的情况下,确定需要人工冲洗的次数,并将需要人工冲洗以及冲洗次数及时通知给用户,从而避免疏通材料的浪费。In order to overcome the above deficiencies, the present invention builds a feeding robot and method based on image processing, adopts fully automatic dredging materials for correct selection of dredging materials and automatic leakage dredging, and at the same time determines that dredging materials are not needed. The number of manual flushing is required, and the user will be notified in time of the need for manual flushing and the number of flushing, so as to avoid the waste of dredging materials.

图1为根据本发明实施方案示出的基于图像处理的供料机器人的结构方框图,所述机器人包括:Fig. 1 is the structural block diagram of the feeding robot based on image processing shown according to the embodiment of the present invention, and described robot comprises:

存储装置,用于预先将不同化学构成的不同类型的管道疏通剂放置到马桶上不同的容纳空间内;The storage device is used to pre-place different types of drain cleaners with different chemical compositions in different accommodation spaces on the toilet;

冲洗启动装置,用于将马桶水箱内部的水自动泄放以对马桶的座位内部空间进行冲洗;The flushing activation device is used to automatically discharge the water inside the toilet tank to flush the interior space of the toilet seat;

平均水流检测装置,用于对马桶的座位内部空间的水流速度进行实时检测,获取实时水流速度,并基于实时水流速度计算本次冲洗过程中的平均水流速度;The average water flow detection device is used to detect the water flow velocity in the inner space of the toilet seat in real time, obtain the real-time water flow velocity, and calculate the average water flow velocity in this flushing process based on the real-time water flow velocity;

类型确定装置,与所述平均水流检测装置连接,用于基于平均水流速度确定要释放的管道疏通剂的类型;A type determination device, connected to the average water flow detection device, for determining the type of the pipe dredging agent to be released based on the average water flow velocity;

自动释放装置,与所述类型确定装置连接,用于将确定类型的管道疏通剂释放到马桶的座位内部空间以实现对马桶的座位内部空间中管道的疏通;An automatic release device, connected with the type determination device, is used to release a certain type of pipe dredging agent into the seat interior space of the toilet to realize the dredging of the pipe in the seat interior space of the toilet;

其中,各种类型的管道疏通剂都包括:氢氧化钠、二氯异氰尿酸钠、次氯酸钠、酒石酸、拉开粉BX-78、皂土和香精,管道疏通剂的不同化学构成在于氢氧化钠的配料百分比不同,将各种类型的管道疏通剂基于氢氧化钠的配料百分比的多少分为弱性管道疏通剂、一般管道疏通剂、强力管道疏通剂和快通管道疏通剂。Among them, various types of pipe dredging agents include: sodium hydroxide, sodium dichloroisocyanurate, sodium hypochlorite, tartaric acid, pull-off powder BX-78, bentonite, and essence. The different chemical compositions of pipe dredging agents lie in sodium hydroxide Different types of pipe dredging agents are divided into weak pipe dredging agents, general pipe dredging agents, strong pipe dredging agents and fast pipe dredging agents based on the percentage of ingredients of sodium hydroxide.

接着,继续对本发明的基于图像处理的供料机器人的具体结构进行进一步的说明。Next, the specific structure of the feeding robot based on image processing of the present invention will be further described.

所述机器人中,所述类型确定装置具体包括:In the robot, the type determination device specifically includes:

数据采集单元,用于对马桶的座位内部空间进行高清图像数据采集以获得高清数字图像;The data collection unit is used for collecting high-definition image data of the seat interior space of the toilet to obtain high-definition digital images;

第一滤波单元,与所述数据采集单元连接,用于对高清数字图像进行边缘保持滤波以去除高清数字图像中的椒盐噪声或脉冲噪声,获得第一滤波图像;The first filtering unit is connected to the data acquisition unit, and is used to perform edge-preserving filtering on the high-definition digital image to remove salt and pepper noise or impulse noise in the high-definition digital image, and obtain a first filtered image;

第二滤波单元,与所述第一滤波单元连接,用于对第一滤波图像进行高斯滤波处理以去除第一滤波图像中的高斯噪声,获得第二滤波图像,所述高斯噪声包括最大幅度值超过预设幅度值的大幅度值高斯噪声和最大幅度值小于等于预设幅度值的小幅度值高斯噪声;The second filtering unit, connected to the first filtering unit, is used to perform Gaussian filtering processing on the first filtered image to remove Gaussian noise in the first filtered image, and obtain a second filtered image, and the Gaussian noise includes a maximum amplitude value Large-amplitude Gaussian noise exceeding the preset amplitude value and small-amplitude Gaussian noise whose maximum amplitude value is less than or equal to the preset amplitude value;

二值化单元,与第二滤波单元连接,用于对第二滤波图像进行二值化处理以获得二值化图像;A binarization unit, connected to the second filtering unit, for binarizing the second filtered image to obtain a binarized image;

目标匹配单元,与二值化单元连接,用于对二值化图像进行目标匹配处理以确定二值化图像中的堵塞物的类型并作为目标堵塞物类型输出,所述目标匹配处理包括将二值化图像与各种类型堵塞物的基准图案逐一进行形状匹配以确定二值化图像中的堵塞物的类型;The target matching unit is connected with the binarization unit, and is used to perform target matching processing on the binarized image to determine the type of blockage in the binarized image and output it as the type of target blockage. The target matching process includes binary The valued image is matched with the reference patterns of various types of blockages one by one to determine the type of blockage in the binarized image;

类型确定单元,分别与平均水流检测装置和目标匹配单元连接,用于基于平均水流速度和目标堵塞物类型确定要释放的管道疏通剂的类型,其中,平均水流速度越小,确定类型的管道疏通剂中氢氧化钠的配料百分比越大,目标堵塞物类型对应的腐蚀难度越大,确定类型的管道疏通剂中氢氧化钠的配料百分比越大,当平均水流速度大于预设水流阈值时,确定类型的管道疏通剂为无;The type determination unit is respectively connected with the average water flow detection device and the target matching unit, and is used to determine the type of the pipeline dredging agent to be released based on the average water flow velocity and the target blockage type, wherein the smaller the average water flow velocity, the more certain the type of pipeline dredge The greater the proportion of sodium hydroxide in the agent, the greater the difficulty of corrosion corresponding to the target blockage type. The greater the proportion of sodium hydroxide in the determined type of pipeline dredging agent, when the average water flow rate is greater than the preset water flow threshold, it is determined The type of pipe dredge is None;

其中,所述对第一滤波图像进行高斯滤波处理以去除第一滤波图像中的高斯噪声包括:对第一滤波图像进行自适应递归滤波处理以去除小幅度值高斯噪声以获得中间滤波图像,对中间滤波图像进行维纳滤波处理以去除大幅度值高斯噪声以获得第二滤波图像;Wherein, said performing Gaussian filtering on the first filtered image to remove Gaussian noise in the first filtered image includes: performing adaptive recursive filtering on the first filtered image to remove small-amplitude Gaussian noise to obtain an intermediate filtered image, The intermediate filtered image is subjected to Wiener filtering to remove large-magnitude Gaussian noise to obtain a second filtered image;

其中,各种类型堵塞物包括油污、菜叶、茶叶、毛发、卫生纸、粪便、厨余垃圾、塑料袋和布料。Among them, various types of blockages include oil stains, vegetable leaves, tea leaves, hair, toilet paper, feces, kitchen waste, plastic bags and cloth.

所述机器人中,所述自动释放装置具体包括:In the robot, the automatic release device specifically includes:

开关单元,用于打开确定类型的管道疏通剂所在容纳空间的开口以自动释放确定类型的管道疏通剂;a switch unit for opening the opening of the containing space where the certain type of pipe unblocking agent is located to automatically release the certain type of pipe unblocking agent;

其中,当确定类型的管道疏通剂为无时,开关单元不打开任一类型的管道疏通剂所在容纳空间的开口,发出人工冲洗信号。Wherein, when the determined type of pipe dredging agent is absent, the switch unit does not open the opening of the containing space where any type of pipe dredging agent is located, and sends a manual flushing signal.

所述机器人中,还包括:The robot also includes:

冲洗次数确定装置,与自动释放装置连接,用于基于平均水流速度确定需要人工冲洗的次数;A flushing number determination device, connected to the automatic release device, is used to determine the number of manual flushings based on the average water flow rate;

显示装置,分别与自动释放装置和冲洗次数确定装置连接,用于显示人工冲洗信号的同时,显示需要人工冲洗的次数,以实现对马桶用户的提醒。The display device is respectively connected with the automatic release device and the flushing times determination device, and is used for displaying the manual flushing signal and the number of times of manual flushing, so as to remind the toilet user.

所述机器人中,还包括:The robot also includes:

剂量检测装置,用于检测各个容纳空间内管道疏通剂的当前剂量;A dose detection device, used to detect the current dose of the pipeline dredging agent in each accommodation space;

剂量报警装置,与剂量检测装置连接,用于当某一类型的管道疏通剂的当前剂量小于预设剂量时,发出剂量不足报警信号,以提醒马桶用户添加相应类型的管道疏通剂。The dose alarm device is connected with the dose detection device, and is used to send out an insufficient dose alarm signal when the current dose of a certain type of pipe dredging agent is less than the preset dose, so as to remind the toilet user to add a corresponding type of pipe dredging agent.

图2为根据本发明实施方案示出的基于图像处理的材料供给方法的步骤流程图,所述方法包括:Fig. 2 is a flow chart of the steps of an image processing-based material supply method according to an embodiment of the present invention, the method comprising:

预先将不同化学构成的不同类型的管道疏通剂放置到马桶上不同的容纳空间内;Pre-place different types of drain cleaners with different chemical compositions in different accommodation spaces on the toilet;

将马桶水箱内部的水自动泄放以对马桶的座位内部空间进行冲洗;Automatically discharge the water inside the toilet tank to flush the internal space of the toilet seat;

对马桶的座位内部空间的水流速度进行实时检测,获取实时水流速度,并基于实时水流速度计算本次冲洗过程中的平均水流速度;Real-time detection of the water flow velocity in the inner space of the toilet seat to obtain the real-time water flow velocity, and calculate the average water flow velocity in this flushing process based on the real-time water flow velocity;

基于平均水流速度确定要释放的管道疏通剂的类型;determining the type of pipe cleaner to be released based on the average water velocity;

将确定类型的管道疏通剂释放到马桶的座位内部空间以实现对马桶的座位内部空间中管道的疏通;releasing a drain-cleaning agent of a determined type into the seat interior of the toilet to effect unclogging of the pipes in the seat interior of the toilet;

其中,各种类型的管道疏通剂都包括:氢氧化钠、二氯异氰尿酸钠、次氯酸钠、酒石酸、拉开粉BX-78、皂土和香精,管道疏通剂的不同化学构成在于氢氧化钠的配料百分比不同,将各种类型的管道疏通剂基于氢氧化钠的配料百分比的多少分为弱性管道疏通剂、一般管道疏通剂、强力管道疏通剂和快通管道疏通剂。Among them, various types of pipe dredging agents include: sodium hydroxide, sodium dichloroisocyanurate, sodium hypochlorite, tartaric acid, pull-off powder BX-78, bentonite, and essence. The different chemical compositions of pipe dredging agents lie in sodium hydroxide Different types of pipe dredging agents are divided into weak pipe dredging agents, general pipe dredging agents, strong pipe dredging agents and fast pipe dredging agents based on the percentage of ingredients of sodium hydroxide.

接着,继续对本发明的基于图像处理的材料供给方法的具体流程进行进一步的说明。Next, the specific flow of the material supply method based on image processing of the present invention will be further described.

所述方法中,所述基于平均水流速度确定要释放的管道疏通剂的类型具体包括以下步骤:In the method, the determination of the type of pipe dredging agent to be released based on the average water velocity specifically includes the following steps:

对马桶的座位内部空间进行高清图像数据采集以获得高清数字图像;对高清数字图像进行边缘保持滤波以去除高清数字图像中的椒盐噪声或脉冲噪声,获得第一滤波图像;Collecting high-definition image data on the interior space of the toilet seat to obtain a high-definition digital image; performing edge-preserving filtering on the high-definition digital image to remove salt and pepper noise or impulse noise in the high-definition digital image, and obtaining a first filtered image;

对第一滤波图像进行高斯滤波处理以去除第一滤波图像中的高斯噪声,获得第二滤波图像,所述高斯噪声包括最大幅度值超过预设幅度值的大幅度值高斯噪声和最大幅度值小于等于预设幅度值的小幅度值高斯噪声;对第二滤波图像进行二值化处理以获得二值化图像;Performing Gaussian filtering on the first filtered image to remove Gaussian noise in the first filtered image to obtain a second filtered image, the Gaussian noise includes Gaussian noise with a large amplitude value exceeding a preset amplitude value and a maximum amplitude value less than Gaussian noise with a small amplitude value equal to a preset amplitude value; performing binarization processing on the second filtered image to obtain a binarized image;

对二值化图像进行目标匹配处理以确定二值化图像中的堵塞物的类型并作为目标堵塞物类型输出,所述目标匹配处理包括将二值化图像与各种类型堵塞物的基准图案逐一进行形状匹配以确定二值化图像中的堵塞物的类型;Perform target matching processing on the binarized image to determine the type of blockage in the binarized image and output it as the type of target blockage, the target matching process includes comparing the binary image with the reference patterns of various types of blockages Perform shape matching to determine the type of blockage in the binarized image;

基于平均水流速度和目标堵塞物类型确定要释放的管道疏通剂的类型,其中,平均水流速度越小,确定类型的管道疏通剂中氢氧化钠的配料百分比越大,目标堵塞物类型对应的腐蚀难度越大,确定类型的管道疏通剂中氢氧化钠的配料百分比越大,当平均水流速度大于预设水流阈值时,确定类型的管道疏通剂为无;Determine the type of pipe unblocking agent to be released based on the average water flow velocity and the target block type, wherein the smaller the average water flow velocity, the greater the proportion of sodium hydroxide in the determined type of pipe unblocking agent, and the corrosion rate corresponding to the target block type The greater the difficulty, the greater the proportion of sodium hydroxide in the determined type of pipe dredging agent. When the average water flow velocity is greater than the preset water flow threshold, the determined type of pipe dredging agent is none;

其中,所述对第一滤波图像进行高斯滤波处理以去除第一滤波图像中的高斯噪声包括:对第一滤波图像进行自适应递归滤波处理以去除小幅度值高斯噪声以获得中间滤波图像,对中间滤波图像进行维纳滤波处理以去除大幅度值高斯噪声以获得第二滤波图像;Wherein, said performing Gaussian filtering on the first filtered image to remove Gaussian noise in the first filtered image includes: performing adaptive recursive filtering on the first filtered image to remove small-amplitude Gaussian noise to obtain an intermediate filtered image, The intermediate filtered image is subjected to Wiener filtering to remove large-magnitude Gaussian noise to obtain a second filtered image;

其中,各种类型堵塞物包括油污、菜叶、茶叶、毛发、卫生纸、粪便、厨余垃圾、塑料袋和布料。Among them, various types of blockages include oil stains, vegetable leaves, tea leaves, hair, toilet paper, feces, kitchen waste, plastic bags and cloth.

所述方法中,所述将确定类型的管道疏通剂释放到马桶的座位内部空间以实现对马桶的座位内部空间中管道的疏通具体包括以下步骤:In the method, the release of a certain type of pipe dredging agent into the seat interior space of the toilet so as to realize the dredging of the pipes in the seat interior space of the toilet specifically includes the following steps:

打开确定类型的管道疏通剂所在容纳空间的开口以自动释放确定类型的管道疏通剂;opening the opening of the containment space in which the defined type of pipe clearing agent is located to automatically release the determined type of pipe clearing agent;

其中,当确定类型的管道疏通剂为无时,不打开任一类型的管道疏通剂所在容纳空间的开口,发出人工冲洗信号。Wherein, when it is determined that there is no type of pipe unblocking agent, the opening of the containing space where any type of pipe unblocking agent is located is not opened, and a manual flushing signal is sent.

所述方法中,在所述将确定类型的管道疏通剂释放到马桶的座位内部空间以实现对马桶的座位内部空间中管道的疏通之后,所述方法还包括以下步骤:In the method, after releasing the determined type of plumbing agent into the seat interior space of the toilet to realize the dredging of the pipes in the seat interior space of the toilet, the method further includes the following steps:

基于平均水流速度确定需要人工冲洗的次数;显示人工冲洗信号的同时,显示需要人工冲洗的次数,以实现对马桶用户的提醒。The number of manual flushing is determined based on the average water flow rate; while the manual flushing signal is displayed, the number of manual flushing is displayed to remind the toilet user.

所述方法中,还包括以下步骤:In the method, the following steps are also included:

检测各个容纳空间内管道疏通剂的当前剂量;Detecting the current dosage of the pipe dredging agent in each containing space;

当某一类型的管道疏通剂的当前剂量小于预设剂量时,发出剂量不足报警信号,以提醒马桶用户添加相应类型的管道疏通剂。When the current dose of a certain type of pipe dredging agent is less than the preset dose, an insufficient dose alarm signal is sent to remind the toilet user to add a corresponding type of pipe dredging agent.

另外,所述机器人中还可以包括:CDMA通行设备,分别与自动释放装置和冲洗次数确定装置连接,用于将人工冲洗信号和需要人工冲洗的次数无线发送到马桶用户手持的移动终端。In addition, the robot may also include: a CDMA communication device, which is respectively connected to the automatic release device and the flushing times determination device, and is used to wirelessly send the manual flushing signal and the number of times of manual flushing to the mobile terminal held by the toilet user.

另外,所述方法中还可以包括以下步骤:In addition, the method may also include the following steps:

将人工冲洗信号和需要人工冲洗的次数无线发送到马桶用户手持的移动终端。The manual flushing signal and the number of times of manual flushing are wirelessly sent to the mobile terminal held by the toilet user.

采用本发明的基于图像处理的供料机器人及方法,针对现有技术中马桶疏通需求人工操作全程参与的技术问题,通过对马桶堵塞状态的准确检测、疏通材料的预先存储、疏通材料定制选择机制以及不需要疏通材料时的应对方式来完成马桶的全自动疏通,同时,还在疏通材料不足时进行及时的剂量报警,从而提高整个马桶的智能化水准。Using the feeding robot and method based on image processing of the present invention, aiming at the technical problem of toilet dredging in the prior art that requires manual operation to participate in the whole process, through accurate detection of toilet clogging status, pre-storage of dredging materials, and customized selection mechanism of dredging materials And the response method when there is no need to dredge the material to complete the automatic dredging of the toilet. At the same time, it also performs a timely dose alarm when the dredging material is insufficient, thereby improving the intelligent level of the entire toilet.

可以理解的是,虽然本发明已以较佳实施例披露如上,然而上述实施例并非用以限定本发明。对于任何熟悉本领域的技术人员而言,在不脱离本发明技术方案范围情况下,都可利用上述揭示的技术内容对本发明技术方案做出许多可能的变动和修饰,或修改为等同变化的等效实施例。因此,凡是未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所做的任何简单修改、等同变化及修饰,均仍属于本发明技术方案保护的范围内。It can be understood that although the present invention has been disclosed above with preferred embodiments, the above embodiments are not intended to limit the present invention. For any person skilled in the art, without departing from the scope of the technical solution of the present invention, the technical content disclosed above can be used to make many possible changes and modifications to the technical solution of the present invention, or be modified into equivalent changes, etc. effective example. Therefore, any simple modifications, equivalent changes and modifications made to the above embodiments according to the technical essence of the present invention, which do not deviate from the technical solution of the present invention, still fall within the protection scope of the technical solution of the present invention.

Claims (2)

1. a kind of feed robot based on image procossing, it is characterised in that the robot includes:
Storage device, for the different types of pipe-dredging agent of different chemical components to be placed into appearance different on closestool in advance Receive in space;
Starter is rinsed, is rushed for the water inside cistern to be released automatically with the seat inner space to closestool Wash;
Average current detection means, the water velocity for the seat inner space to closestool are detected in real time, are obtained real-time Water velocity, and the average current velocity in this flushing process is calculated based on real-time water velocity;
Type determination device, it is connected with the average current detection means, for determining what is discharged based on average current velocity The type of pipe-dredging agent;
Automatic releasing device, it is connected with the type determination device, for certain type of pipe-dredging agent to be discharged into closestool Seat inner space to realize the dredging of pipeline in the seat inner space to closestool;
Wherein, various types of pipe-dredging agents all include:Sodium hydroxide, sodium dichloro cyanurate, sodium hypochlorite, tartaric acid, Nekal BX-78, bentonite and essence, the different chemical components of pipe-dredging agent are that the dispensing percentage of sodium hydroxide is different, By dispensing percentage of various types of pipe-dredging agents based on sodium hydroxide number be divided into weak property pipe-dredging agent, general pipe Pipeline dredging agent, strong pipe dredging agent and fast siphunculus pipeline dredging agent;
The type determination device is specifically included with lower unit:
Data acquisition unit, for carrying out high-definition image data acquisition to the seat inner space of closestool to obtain high-definition digital figure Picture;
First filter unit, be connected with the data acquisition unit, for high-definition digital image carry out holding edge filter with The salt-pepper noise or impulsive noise in high-definition digital image are removed, obtains the first filtering image;
Second filter unit, be connected with first filter unit, for the first filtering image carry out gaussian filtering process with The Gaussian noise in the first filtering image is removed, obtains the second filtering image, the Gaussian noise exceedes including maximum amplitude value The significantly angle value Gaussian noise and maximum amplitude value of predetermined amplitude value are less than or equal to the amplitude value Gaussian noise of predetermined amplitude value;
Binarization unit, it is connected with the second filter unit, for carrying out binary conversion treatment to the second filtering image to obtain two-value Change image;
Object matching unit, is connected with binarization unit, is handled for carrying out object matching to binary image to determine two-value Change the type of the tamper in image and include as the output of target tamper type, the object matching processing by binary picture As the reference pattern with all kinds tamper carries out form fit to determine the type of the tamper in binary image one by one;
Type determining units, it is connected respectively with average current detection means and object matching unit, for based on average water flow velocity Degree and target tamper type determine the type for the pipe-dredging agent to be discharged, wherein, average current velocity is smaller, determines type Pipe-dredging agent in sodium hydroxide dispensing percentage it is bigger, corrosion difficulty is bigger corresponding to target tamper type, it is determined that The dispensing percentage of sodium hydroxide is bigger in the pipe-dredging agent of type, when average current velocity is more than default current threshold value, Certain type of pipe-dredging agent is nothing;
Wherein, it is described that gaussian filtering process is carried out to the first filtering image to remove the Gaussian noise bag in the first filtering image Include:Adaptive recursive filtering processing is carried out to the first filtering image to remove amplitude value Gaussian noise to obtain median filter figure Picture, Wiener filtering processing is carried out to middle filtering image with remove significantly angle value Gaussian noise to obtain the second filtering image;
Wherein, all kinds tamper include greasy dirt, dish leaf, tealeaves, hair, toilet paper, excrement, rubbish from cooking, polybag and Cloth;
The automatic releasing device is specifically included with lower unit:
Switch element, the opening for receiving space where opening certain type of pipe-dredging agent determine type with automatic release Pipe-dredging agent;
Wherein, when certain type of pipe-dredging agent be without when, switch element is not opened where any type of pipe-dredging agent The opening of receiving space, send artificial flushing signal.
2. a kind of material supply method based on image procossing, it is characterised in that methods described includes:
The different types of pipe-dredging agent of different chemical components is placed into receiving space different on closestool in advance;
Water inside cistern is released automatically and is rinsed with the seat inner space to closestool;
The water velocity of the seat inner space of closestool is detected in real time, obtains real-time water velocity, and be based on Real-time Water Flow velocity degree calculates the average current velocity in this flushing process;
The type for the pipe-dredging agent to be discharged is determined based on average current velocity;
Certain type of pipe-dredging agent is discharged into the seat inner space of closestool to realize the seat inner space to closestool The dredging of middle pipeline;
Wherein, various types of pipe-dredging agents all include:Sodium hydroxide, sodium dichloro cyanurate, sodium hypochlorite, tartaric acid, Nekal BX-78, bentonite and essence, the different chemical components of pipe-dredging agent are that the dispensing percentage of sodium hydroxide is different, By dispensing percentage of various types of pipe-dredging agents based on sodium hydroxide number be divided into weak property pipe-dredging agent, general pipe Pipeline dredging agent, strong pipe dredging agent and fast siphunculus pipeline dredging agent;
It is described to determine that the type for the pipe-dredging agent to be discharged specifically includes following steps based on average current velocity:
High-definition image data acquisition is carried out to obtain high-definition digital image to the seat inner space of closestool;
Holding edge filter is carried out to high-definition digital image to remove the salt-pepper noise or impulsive noise in high-definition digital image, is obtained Obtain the first filtering image;
Gaussian filtering process is carried out to the first filtering image to remove the Gaussian noise in the first filtering image, obtains the second filtering Image, it is small more than the significantly angle value Gaussian noise and maximum amplitude value of predetermined amplitude value that the Gaussian noise includes maximum amplitude value In the amplitude value Gaussian noise equal to predetermined amplitude value;
Binary conversion treatment is carried out to the second filtering image to obtain binary image;
Object matching processing is carried out to binary image to determine the type of the tamper in binary image and be blocked up as target Plug thing type exports, and the object matching processing includes one by one entering the reference pattern of binary image and all kinds tamper Row form fit is to determine the type of the tamper in binary image;
The type for the pipe-dredging agent to be discharged is determined based on average current velocity and target tamper type, wherein, average water Flow velocity degree is smaller, and the dispensing percentage of sodium hydroxide is bigger in certain type of pipe-dredging agent, and target tamper type is corresponding Corrosion difficulty it is bigger, the dispensing percentage of sodium hydroxide is bigger in certain type of pipe-dredging agent, works as average current velocity During more than default current threshold value, certain type of pipe-dredging agent is nothing;
Wherein, it is described that gaussian filtering process is carried out to the first filtering image to remove the Gaussian noise bag in the first filtering image Include:Adaptive recursive filtering processing is carried out to the first filtering image to remove amplitude value Gaussian noise to obtain median filter figure Picture, Wiener filtering processing is carried out to middle filtering image with remove significantly angle value Gaussian noise to obtain the second filtering image;
Wherein, all kinds tamper include greasy dirt, dish leaf, tealeaves, hair, toilet paper, excrement, rubbish from cooking, polybag and Cloth;
It is described that certain type of pipe-dredging agent is discharged into the seat inner space of closestool to realize inside the seat to closestool The dredging of pipeline specifically includes following steps in space:
The opening of receiving space where opening certain type of pipe-dredging agent to discharge certain type of pipe-dredging agent automatically;
Wherein, when certain type of pipe-dredging agent be without when, do not open receiving space where any type of pipe-dredging agent Opening, send artificial flushing signal.
CN201710462737.9A 2017-02-21 2017-02-21 Feed robot and method based on image procossing Active CN107217718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710462737.9A CN107217718B (en) 2017-02-21 2017-02-21 Feed robot and method based on image procossing

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710462737.9A CN107217718B (en) 2017-02-21 2017-02-21 Feed robot and method based on image procossing
CN201710091418.1A CN106836426B (en) 2017-02-21 2017-02-21 Feed robot and method based on image procossing

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201710091418.1A Division CN106836426B (en) 2017-02-21 2017-02-21 Feed robot and method based on image procossing

Publications (2)

Publication Number Publication Date
CN107217718A CN107217718A (en) 2017-09-29
CN107217718B true CN107217718B (en) 2018-03-23

Family

ID=59134719

Family Applications (4)

Application Number Title Priority Date Filing Date
CN201710462737.9A Active CN107217718B (en) 2017-02-21 2017-02-21 Feed robot and method based on image procossing
CN201710473328.9A Active CN107254905B (en) 2017-02-21 2017-02-21 Feed robot based on image procossing
CN201710961267.0A Expired - Fee Related CN107724492B (en) 2017-02-21 2017-02-21 Feeding Robot Based on Image Processing
CN201710091418.1A Expired - Fee Related CN106836426B (en) 2017-02-21 2017-02-21 Feed robot and method based on image procossing

Family Applications After (3)

Application Number Title Priority Date Filing Date
CN201710473328.9A Active CN107254905B (en) 2017-02-21 2017-02-21 Feed robot based on image procossing
CN201710961267.0A Expired - Fee Related CN107724492B (en) 2017-02-21 2017-02-21 Feeding Robot Based on Image Processing
CN201710091418.1A Expired - Fee Related CN106836426B (en) 2017-02-21 2017-02-21 Feed robot and method based on image procossing

Country Status (1)

Country Link
CN (4) CN107217718B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107217718B (en) * 2017-02-21 2018-03-23 张玉红 Feed robot and method based on image procossing
CN108331106B (en) * 2018-03-18 2018-12-28 由佳鑫 Computer picture recognition formula dredging system
CN108729517A (en) * 2018-03-18 2018-11-02 蔡晓青 Computer picture recognition formula dredging system and method
CN108999259B (en) * 2018-03-19 2019-04-12 新昌县勤勉贸易有限公司 The application method of intelligent device based on computer module
CN109406458B (en) * 2018-03-20 2019-06-21 上海工业控制安全创新科技有限公司 Cloud measurement method
CN108731772B (en) * 2018-03-20 2019-08-23 奥菲(泰州)光电传感技术有限公司 Liquid level big data measuring system
CN109907462A (en) * 2018-06-06 2019-06-21 周超强 Thermostatic control type hair dryer
CN109235572A (en) * 2018-09-26 2019-01-18 东莞幻鸟新材料有限公司 Intelligent closestool dredging system
CN109602305A (en) * 2018-12-03 2019-04-12 余姚市腾翔电子科技有限公司 The automatic dispatching platform of dredging agent
CN109581520A (en) * 2018-12-05 2019-04-05 余姚德诚科技咨询有限公司 Conveying type personnel's scanning system
CN111188392A (en) * 2020-01-15 2020-05-22 李勇妹 Method for cleaning intelligent closestool and toilet bowl for puerpera

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002021148A (en) * 2000-07-04 2002-01-23 Toto Ltd Toilet managing device
DE10113036B4 (en) * 2000-11-17 2005-02-17 Henkel Kgaa Device for delivering fluids with active substances into flushing water in a toilet bowl, has storage containers with outlets arranged so that they deliver fluids only during each flushing operation
CN1245560C (en) * 2002-12-27 2006-03-15 士平有限公司 Timing distribution control device
US8359679B2 (en) * 2007-02-16 2013-01-29 Donald L Martin Toilet clog removal and cleaning system
CN101105050A (en) * 2007-08-05 2008-01-16 遂昌千赢工业品设计有限公司 Toilet easy to dredging
US8407821B2 (en) * 2008-10-31 2013-04-02 Mark Kit Jiun Chan Intelligent flushing system
KR101977027B1 (en) * 2012-03-28 2019-05-10 웅진코웨이 주식회사 Cleaning apparatus for sanitary ware with device for supplying bubble and cleaning sanitary ware using the same
CN102746958B (en) * 2012-07-20 2015-02-18 北京雅迪力特航空化学制品有限公司 Matched cleaning agent for vacuum drainage pipelines of airplane toilets and preparation method and cleaning process of matched cleaning agent
CN103666852A (en) * 2012-09-18 2014-03-26 焦趁英 Pipeline dredge agent
CN103224847B (en) * 2013-04-23 2014-08-13 广州立白企业集团有限公司 Pipeline dredging solid agent with oxygen activating and degerming efficacies and preparation method thereof
CN103352502A (en) * 2013-07-22 2013-10-16 庄景阳 Numerical control device for adjusting toilet bowl cleaner
CN205742441U (en) * 2016-07-04 2016-11-30 洪参桂 A kind of bathroom utensil
CN107217718B (en) * 2017-02-21 2018-03-23 张玉红 Feed robot and method based on image procossing

Also Published As

Publication number Publication date
CN107254905A (en) 2017-10-17
CN106836426B (en) 2017-12-19
CN106836426A (en) 2017-06-13
CN107254905B (en) 2018-06-01
CN107724492B (en) 2020-09-01
CN107217718A (en) 2017-09-29
CN107724492A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
CN107217718B (en) Feed robot and method based on image procossing
CN107829477B (en) Intelligent sanitary appliance controlled through Internet of things
CN112302126B (en) Automatic toilet cleaner and automatic cleaning toilet including the same
CN106725134A (en) An intelligent public toilet quick cleaning system
CN107386391B (en) The automatic packing medical closestool of formula
CN207660047U (en) Convenient for removing the double-layer leaching net vegetable bowl of screening
CN204343423U (en) Block-proof toilet seat
CN105417791B (en) Sewerage disposing machine
CN203699090U (en) Dry and wet dual-purpose garbage can
CN212153591U (en) a smart sink
CN104027054A (en) Residue discharge mechanism for dish washing machine
CN109235572A (en) Intelligent closestool dredging system
CN108060707B (en) A kind of automatic cleaning method
CN107604995B (en) The toilet seat that fracture patient uses
CN108301467A (en) Water-saving intelligence service sink
CN105997407A (en) A urine and excrement nursing machine automatic water adding and automatic sewage discharging device
CN206570905U (en) A kind of floor drain drainage arrangement for preventing from blocking
CN205682130U (en) A kind of pig manure cleans and tapping equipment
CN202983350U (en) Full-automatic self-draining cleaning filter
CN205712277U (en) Toilet of household sewage secondary utilization system
CN205205964U (en) Prevent stifled kitchen sink
CN104532927A (en) Filter for water trough
CN208309738U (en) A kind of anti-peculiar smell closestool of Novel clean type
CN206693337U (en) A kind of sewage disposal reuse means
TWI682350B (en) Intelligent drainage pipe automatic dredging system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Zhang Yuhong

Inventor before: Song Yan

CB03 Change of inventor or designer information
TA01 Transfer of patent application right

Effective date of registration: 20180222

Address after: 233500 Anhui province Mengcheng County Chengguan town of Fuyuan community Fuyuan Road No. 188 unit 4, Room 302

Applicant after: Zhang Yuhong

Address before: 361101 No. 99 West Xiangan Road, Xiangan Industrial Zone, torch hi tech Zone, Fujian, Xiamen

Applicant before: Song Yan

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221101

Address after: No.6, Taishan Road, Hexi District, Tianjin 300210

Patentee after: Tianjin 754 Photoelectric Technology Co.,Ltd.

Address before: 233500 Room 302, Unit 4, No. 188, Fuyuan Road, Fuyuan Community, Chengguan Town, Mengcheng County, Anhui Province

Patentee before: Zhang Yuhong

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Image processing based feeding robot and method

Granted publication date: 20180323

Pledgee: Tianjin photoelectric Group Co.,Ltd.

Pledgor: Tianjin 754 Photoelectric Technology Co.,Ltd.

Registration number: Y2025980008696