CN116539552A - Intelligent sensor, water quality detection method and water quality detection device - Google Patents

Intelligent sensor, water quality detection method and water quality detection device Download PDF

Info

Publication number
CN116539552A
CN116539552A CN202310817206.2A CN202310817206A CN116539552A CN 116539552 A CN116539552 A CN 116539552A CN 202310817206 A CN202310817206 A CN 202310817206A CN 116539552 A CN116539552 A CN 116539552A
Authority
CN
China
Prior art keywords
water quality
detection
instruction
quality detection
water
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.)
Granted
Application number
CN202310817206.2A
Other languages
Chinese (zh)
Other versions
CN116539552B (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.)
Intelligent Equipment Technology Research Center of Beijing Academy of Agricultural and Forestry Sciences
Original Assignee
Intelligent Equipment Technology Research Center of Beijing Academy of Agricultural and Forestry Sciences
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 Intelligent Equipment Technology Research Center of Beijing Academy of Agricultural and Forestry Sciences filed Critical Intelligent Equipment Technology Research Center of Beijing Academy of Agricultural and Forestry Sciences
Priority to CN202310817206.2A priority Critical patent/CN116539552B/en
Publication of CN116539552A publication Critical patent/CN116539552A/en
Application granted granted Critical
Publication of CN116539552B publication Critical patent/CN116539552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/33Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using ultraviolet light
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/18Water
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N35/00Automatic analysis not limited to methods or materials provided for in any single one of groups G01N1/00 - G01N33/00; Handling materials therefor
    • G01N35/00584Control arrangements for automatic analysers
    • G01N35/0092Scheduling

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Biochemistry (AREA)
  • Analytical Chemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Engineering & Computer Science (AREA)
  • Food Science & Technology (AREA)
  • Medicinal Chemistry (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

The invention provides an intelligent sensor, a water quality detection method and a water quality detection device, and relates to the technical field of water quality detection. The method comprises the following steps: monitoring a real-time attitude of the container in response to the intelligent sensor and the container closure signal; generating a control instruction according to the real-time gesture of the container; wherein the control instruction comprises a water quality detection instruction; when the water quantity in the detection cavity of the intelligent sensor reaches a preset value, generating a water quantity standard instruction; and carrying out water quality detection on the water in the detection cavity based on the water quantity standard reaching instruction and the water quality detection instruction. By effectively utilizing the container posture, the invention reduces key input and realizes convenient and reliable interaction with the container; and through realizing automatic and accurate measurement of chemical oxygen demand, total dissolved solids and temperature information in the drinking water, comprehensive analysis gives the water quality condition of the drinking water, thereby facilitating the real-time monitoring of the health condition of the drinking water by users and improving the pursuit of people on the health of the drinking water.

Description

Intelligent sensor, water quality detection method and water quality detection device
Technical Field
The invention relates to the technical field of water quality detection, in particular to an intelligent sensor, a water quality detection method and a water quality detection device.
Background
With the improvement of living standard, people pay more attention to self health, and daily importance is attached to diet health. The people need to drink enough water every day, otherwise, the body can cause the problems of low metabolism and the like due to water shortage, and under the general condition, the normal physiological needs of one person need water, and the daily outline is about 1500 to 2500 milliliters.
However, the water source in daily life is not safe, not only tap water can not be directly drunk, but also barreled water has a great number of health problems, and it is important to know the water quality condition of drinking water in time.
However, the current water quality detection products have single detection function, and each step requires manual input operation of a user, has single interaction function, and the user instruction depends on key input. These products therefore do not meet the user's need for intelligence.
Disclosure of Invention
The invention provides an intelligent sensor, a water quality detection method and a water quality detection device, which are used for solving the problems of lack of comprehensive monitoring of water quality health conditions and single interaction function in the prior art.
The invention provides a water quality detection method of an intelligent sensor, which comprises the following steps: monitoring a real-time attitude of the container in response to the intelligent sensor and the container closure signal; generating a control instruction according to the real-time gesture of the container; wherein the control instruction comprises a water quality detection instruction; when the water quantity in the detection cavity of the intelligent sensor reaches a preset value, generating a water quantity standard instruction; water quality detection is carried out on water in the detection cavity based on the water quantity standard reaching instruction and the water quality detection instruction; wherein the water quality detection comprises at least one of chemical oxygen demand detection, total dissolved solids detection and temperature detection.
According to the water quality detection method of the intelligent sensor provided by the invention, the real-time posture of the container comprises inversion, and a control instruction is generated according to the real-time posture of the container, and the method comprises the following steps: and generating a water quality detection instruction according to the inverted posture of the container.
According to the water quality detection method of the intelligent sensor, provided by the invention, the real-time posture of the container comprises shaking back and forth, and the control instruction comprises a confirmation/cancellation instruction; generating a control instruction according to the real-time gesture of the container, including: a confirmation/cancellation instruction is generated according to the posture of the container shaking back and forth.
According to the water quality detection method of the intelligent sensor provided by the invention, water quality detection is carried out on water in a detection cavity based on a water quantity standard reaching instruction and a water quality detection instruction, and the water quality detection method comprises the following steps: based on the water quantity standard reaching instruction and the water quality detection instruction, displaying a water quality detection interface in a display area of the intelligent sensor; wherein the water quality detection items in the water quality detection interface comprise chemical oxygen demand detection, total dissolved solids detection, temperature detection and all detection; receiving a selection instruction of a user for a water quality detection item; and based on the selection instruction, water quality detection is performed on the water in the detection cavity.
According to the water quality detection method of the intelligent sensor, provided by the invention, the real-time posture of the container comprises left and right shaking, and the control instruction comprises an interface switching instruction; based on the water quantity standard reaching instruction and the water quality detection instruction, after the water quality detection interface is displayed in the display area of the intelligent sensor, the method comprises the following steps: generating an interface switching instruction according to the left-right shaking gesture of the container; receiving a selection instruction of a user for a water quality detection item, comprising: and generating a selection instruction for the water quality detection item according to the confirmation instruction of the user for the water quality detection item in the current interface.
According to the water quality detection method of the intelligent sensor provided by the invention, the real-time posture of the container is monitored, and the method comprises the following steps: acquiring three-dimensional coordinates and rotation angles through a gesture sensor of the intelligent sensor; determining a quaternary function based on the three-dimensional coordinates and the rotation angle; determining an Euler angle according to the quaternary function, wherein the Euler angle comprises a first parameter, a second parameter and a third parameter, the first parameter represents front-back shaking information, the second parameter represents left-right shaking information, and the third parameter represents overturning information.
According to the water quality detection method of the intelligent sensor provided by the invention, water quality detection is carried out on water in a detection cavity based on a water quantity standard reaching instruction and a water quality detection instruction, and the water quality detection method comprises the following steps: establishing communication connection with a mobile terminal; after the water quality detection is finished, the water quality detection result is sent to the mobile terminal, so that the water quality detection result is displayed on the mobile terminal; and receiving the synchronous information of the mobile terminal and displaying the synchronous information in a display area of the intelligent sensor.
The invention also provides an intelligent sensor, which comprises an outer cover body, an inner cover body and a hardware circuit; the outer cover body comprises a hollow outer cover body and a display screen arranged on the top plane of the outer cover body, and the outer cover body wraps the hardware circuit and the inner cover body; the inner cover body is arranged below the inner part of the outer cover body and comprises a convex hollow inner cover main body, the cavity of the upper half part of the convex inner cover body is a detection cavity, windows are arranged at the left side and the right side of the detection cavity, an optical chemical oxygen demand detection assembly is arranged at the outer side of the windows, and a temperature detection assembly and a total dissolved solid detection assembly are respectively arranged at the front side and the rear side of the detection cavity; the hardware circuit is arranged on the outer side of the convex upper part of the inner cover body and comprises a central processing unit, and the central processing unit is used for executing the water quality detection method of the intelligent sensor.
According to the intelligent sensor provided by the invention, the inner cover body further comprises the leakage-proof rubber ring and the tea leakage, the leakage-proof rubber ring is arranged at the convex shoulder position at the inner side of the inner cover body, and the tea leakage is arranged at the inner side of the leakage-proof rubber ring and is clamped on the inner cover body.
The invention also provides a water quality detection device which comprises a container and the intelligent sensor.
The invention provides an intelligent sensor, a water quality detection method and a water quality detection device, wherein the water quality detection method of the intelligent sensor comprises the following steps: monitoring a real-time attitude of the container in response to the intelligent sensor and the container closure signal; generating a control instruction according to the real-time gesture of the container; wherein the control instruction comprises a water quality detection instruction; when the water quantity in the detection cavity of the intelligent sensor reaches a preset value, generating a water quantity standard instruction; and carrying out water quality detection on water in the detection cavity based on the water quantity standard reaching instruction and the water quality detection instruction, wherein the water quality detection comprises at least one of chemical oxygen demand detection, total dissolved solids detection and temperature detection. Through the mode, the invention realizes the effective utilization of the container posture, reduces key input and realizes convenient and reliable interaction with the container; and through realizing automatic and accurate measurement of chemical oxygen demand, total dissolved solids and temperature information in the drinking water, comprehensive analysis gives the water quality condition of the drinking water, thereby facilitating the real-time monitoring of the health condition of the drinking water by users and improving the pursuit of people on the health of the drinking water.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a front view of an embodiment of a smart sensor according to the present invention;
FIG. 2 is a schematic diagram illustrating a cross-sectional structure of one embodiment of an inner cover and hardware circuitry in the smart sensor of the present invention;
FIG. 3 is a schematic functional structure of the intelligent sensor of the present invention;
FIG. 4 is a schematic flow chart of an embodiment of a water quality detection method of the intelligent sensor of the present invention;
FIG. 5 is a schematic flow chart of another embodiment of a water quality detection method of the intelligent sensor of the present invention;
FIG. 6 is a schematic diagram of an interface of a mobile phone APP client connected to an intelligent sensor;
the reference numerals are as follows:
the device comprises a display screen 1, a magnetic charging contact 2, an outer cover 3, a light touch key 4, a chemical oxygen demand detection light source 5, a hardware circuit 6, a device battery 7, a detection chamber 8, a window 9, a high-transmittance glass 10, a lens 11, a chemical oxygen demand detection sensor 12, an internal thread 13, a tea leakage 14, a temperature detection component 15, a total dissolved solid detection component 16, a sealing ring 17, a leakproof rubber ring 18 and an inner cover 19.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention provides an intelligent sensor, referring to fig. 1-2, fig. 1 is a schematic diagram of a front view structure of an embodiment of the intelligent sensor, and fig. 2 is a schematic diagram of a cross-sectional structure of an embodiment of an inner cover and a hardware circuit of the intelligent sensor.
In this embodiment, the smart sensor includes an outer housing 3, an inner housing 19, and a hardware circuit 6.
The outer cover 3 comprises a hollow outer cover body and a display screen 1 arranged on the top plane of the outer cover 3, and the outer cover 3 wraps the hardware circuit 6 and the inner cover 19. The outer cover 3 plays a protective role.
The display screen 1 is a display area of the smart sensor. Alternatively, the display screen 1 may be a touch display screen.
In some embodiments, the outer cover 3 may be provided with a tap button 4 on the side.
In some embodiments, the outer cover 3 may be provided laterally with a charging interface, such as a magnetically attractable charging contact 2.
The inner cover body 19 is arranged below the inner part of the outer cover body 3 and comprises a convex hollow inner cover body, the cavity of the upper half part of the convex inner cover body 19 is a detection cavity 8, the left side and the right side of the detection cavity 8 are provided with open windows 9, the outer side of the open windows 9 is provided with an optical chemical oxygen demand detection assembly, and the front side and the rear side of the detection cavity 8 are respectively provided with a temperature detection assembly 15 and a total dissolved solid detection assembly 16.
Optionally, the inner side of the lower half part of the convex inner cover 19 is provided with an internal thread 13, and when the internal thread 13 of the intelligent sensor is matched with the threads of the cup mouth of the container to be screwed, a cover signal can be generated.
The optical chemical oxygen demand detection assembly may include a chemical oxygen demand detection sensor 12, a chemical oxygen demand detection light source 5, a lens 11, a high-transparent glass 10, and a sealing ring 17.
Further, the chemical oxygen demand sensor 12, the chemical oxygen demand detection light source 5, the lens 11, the high-permeability glass 10 and the sealing ring 17 are respectively arranged on two coaxial sides of the window 9 of the inner cover 19, light emitted by the chemical oxygen demand detection light source 5 on one side sequentially passes through the lens 11, the high-permeability glass 10, and passes through the liquid in the detection chamber 8 to reach the high-permeability glass 10 on the other side of the inner cover 19, and finally, the lens 11 is acquired by the chemical oxygen demand sensor 12, so that the water quality chemical oxygen demand parameters are obtained and transmitted to the hardware circuit 6.
In some embodiments, the inner cover 19 further includes a leakage preventing rubber ring 18 and a tea strainer 14, the leakage preventing rubber ring 18 is disposed at a convex shoulder position inside the inner cover 19, and the tea strainer 14 is disposed inside the leakage preventing rubber ring 18 and is clamped on the inner cover 19. The leakage-proof rubber ring 18 is used for sealing the container to prevent water leakage.
The upper portion of the inner cover body 19 is the detection chamber 8, uses the interval of tea strainer 14 between the upper and lower part, avoids large granule foreign matter to get into the detection chamber 8, and the tea strainer 14 is connected with the inner cover body 19 through the mode of rotatory buckle, can rotatory take off, conveniently washs the detection chamber 8.
The hardware circuit 6 is arranged outside the convex upper part of the inner cover 19 and comprises a central processing unit, and the central processing unit is used for executing the water quality detection method of the intelligent sensor.
In some embodiments, the smart sensor further comprises a device battery 7, the device battery 7 being disposed on top of the inner cover body, separated from the inner cover body by insulating asbestos. The device battery 7 may be a lithium battery.
Optionally, the hardware circuit may further include a power management module, a wireless communication module, a data storage module, and a buzzer. The intelligent sensor can also comprise a man-machine interaction module and a data acquisition module. Referring to fig. 3, fig. 3 is a schematic functional structure diagram of the intelligent sensor according to the present invention.
The power management module is connected with the equipment battery, is charged by the magnetic charging contact, and is used for executing the charge and discharge management of the equipment and supplying power to each functional module of the intelligent sensor.
The central processing unit adopts an embedded high-speed CPU, is respectively connected with the power management module, the wireless communication module, the man-machine interaction module, the buzzer, the data storage module and the data acquisition module, and realizes data interaction, storage and control.
And the buzzer is used for prompting a user when the water quality detection is finished.
The wireless communication module is used as an intermediary between the mobile terminal and the intelligent sensor, so that interaction between the mobile terminal and the intelligent sensor can be realized.
The man-machine interaction module comprises a display screen and a touch screen, wherein the display screen is used for displaying parameters, water quality conditions, equipment running conditions, time and date and warning information of the data acquisition module, and the touch screen is used for realizing operations such as switching of display interfaces, equipment input control and the like.
The display screen may be a high resolution liquid crystal display screen. In some embodiments, the human-computer interaction module may be an integrated touch display screen disposed on a top plane of the outer cover.
The data storage module is provided with a plurality of common storage medium interfaces for carrying out the import and export of parameters and data.
The data acquisition module comprises an optical chemical oxygen demand detection assembly, a total dissolved solids detection assembly, a temperature detection assembly and an attitude sensor. The data acquisition module is connected with the central processing unit by adopting digital communication. The attitude sensor may be a six-axis sensor.
For example, the intelligent sensor is covered on the container, the equipment is awakened by touching the key, the six-axis sensor in the intelligent sensor monitors the inclination and each axial acceleration state of the intelligent sensor and the container, after the inversion of the container is monitored, the TDS (Total dissolved solids ) detection component in the detection cavity detects that the water in the detection cavity is full, the hardware circuit controls the chemical oxygen demand detection light source to emit light, the chemical oxygen demand detection sensor on the other side receives signals, converts the signals into voltage signals, the voltage signals are collected by the analog-to-digital converter and then are converted into COD (Chemical Oxygen Demand ) parameters by the high-speed embedded CPU of the central processing unit, the TDS detection component and the temperature detection component are collected by the analog-to-digital converter and then are converted into TDS parameters and temperature parameters of water by the central processing unit, the detection results are divided into specific parameters and comprehensive scores to be displayed on the touch display screen, and the buzzer gives detection to complete sound prompt.
Referring to fig. 4, fig. 4 is a schematic flow chart of an embodiment of a water quality detection method of an intelligent sensor according to the present invention, in which the water quality detection method of the intelligent sensor includes steps S110 to S140, and the steps are as follows:
s110: in response to the intelligent sensor and the container closure signal, the real-time attitude of the container is monitored.
The capping signal is a signal generated when the smart sensor is screwed onto the container. When the intelligent sensor receives the covering signal, the container can be monitored in real time through the gesture sensor so as to quantify the gesture of the container, and the man-machine interaction functions of switching, confirming, canceling, detecting parameters and the like of the display screen of the intelligent sensor are realized through monitoring different gestures of the container, such as shaking, inversion and the like.
In some embodiments, monitoring the real-time pose of the container includes: acquiring three-dimensional coordinates and rotation angles through a gesture sensor of the intelligent sensor; determining a quaternary function based on the three-dimensional coordinates and the rotation angle; determining an Euler angle according to the quaternary function, wherein the Euler angle comprises a first parameter, a second parameter and a third parameter, the first parameter represents front-back shaking information, the second parameter represents left-right shaking information, and the third parameter represents overturning information.
Specifically, the three-dimensional coordinates (x, y, z) and the rotation angle w detected by the attitude sensor are expanded to obtain a quaternary function q= (x, y, z, w).
Assume that = /> + /> + /> + />=1, the equation that converts the quaternary function into euler angles is:
wherein (roll, pith, yaw) is a first parameter, a second parameter and a third parameter of the euler angle;arcsinrepresenting the inverse of the sine function of the wave,atanrepresenting an arctangent function.
For example, the attitude sensor acquires the coordinates, angle and acceleration values of the device in real time, calculates the Euler angle, and calculates the Euler angle when the calculation result of the roll is larger thanOr less than->(i.e.)>>roll>/>) And the acceleration value is larger than 1g, and the whole container is considered to shake back and forth.
When the calculation result of yaw is larger thanOr less than->(i.e.)>>yaw>/>) And the acceleration value is larger than 1g, and the whole container is considered to shake left and right; when the calculation result of pith is greater than +.>Or less than->(i.e.)>>yaw>/>) The entire container is considered to be inverted.
And according to the result of the gesture sensor, controlling the switching of the display screen, and performing man-machine interaction operations such as cancellation, confirmation and the like.
In the scheme of the embodiment, the attitude sensor is horizontally arranged in the intelligent sensor, the state of the intelligent sensor is judged according to the acquired Euler angle and acceleration value, and the judgment threshold is adjusted according to the size of the container, the required shaking force and the required shaking amplitude.
The container state can be known from the state of the smart sensor because the smart sensor is already covered with the container. Optionally, the container may be a water cup, and the intelligent sensor may be an intelligent cup cover.
Preferably, the acceleration value obtained by monitoring the three-axis accelerometer of the attitude sensor is used as a reference value, the value of the three-axis gyroscope is used as a comparison value, kalman smoothing filter analysis is performed through covariance between the acceleration value and the value of the three-axis gyroscope, and Gaussian white noise is reduced to obtain a reliable Euler angle.
S120: and generating a control instruction according to the real-time gesture of the container.
Wherein, the control instruction comprises a water quality detection instruction.
The real-time gestures of the container state such as left-hand shaking, right-hand shaking, front-hand shaking, back-hand shaking, inversion and the like are respectively set as different trigger events, and the central processing unit executes corresponding operations according to the different states so as to trigger the water quality sensor to detect and display control instructions of the functions such as left-hand and right-hand switching, confirmation, cancellation and the like.
S130: when the water quantity in the detection cavity of the intelligent sensor reaches a preset value, generating a water quantity standard instruction.
When the water quantity in the detection cavity of the intelligent sensor reaches a preset value, generating a water quantity standard instruction. Optionally, in the process of detecting the water quality parameters, the TDS detection component of the intelligent sensor monitors in real time whether the water quantity in the detection cavity reaches the detection minimum, if the TDS detection parameter is 0, the water quantity is insufficient to cover various detectors, the detection is stopped, and the occurrence of detection errors caused by insufficient water quantity is prevented.
S140: and carrying out water quality detection on the water in the detection cavity based on the water quantity standard reaching instruction and the water quality detection instruction.
The water quality detection comprises at least one of chemical oxygen demand detection, total dissolved solids detection and temperature detection.
The chemical oxygen demand (Chemical Oxygen Demand, COD) reflects the pollution of organic matters and inorganic reducing matters in the water body, is an important parameter for measuring the quality of the water body, and is one of the most main pollution indexes in the water body.
Total dissolved solids (Total dissolved solids, TDS), indicating how much soluble solids are dissolved in water. The higher the TDS value, the more the dissolved substances contained in the water, and the inorganic salt content in the water can be seen, and the degree of softness of the reaction water can be seen.
The clear and clean water may also contain excessive organic matters and soluble inorganic matters, and the independent COD or TDS value cannot judge whether the water quality can be drunk or not, and the combination of the two can reflect the parameters of the organic matters in the water and the inorganic matters in the water and can accurately reflect the quality of the water quality.
In addition, too high water temperature can also affect human health. Optionally, when the temperature of the water in the container is higher than 55 ℃, the drinking water is too high in temperature and not suitable for drinking, and the display screen continuously displays a warning prompt of 'over high temperature and careful drinking prompt'.
In the detection period, the posture sensor continuously detects the inclined posture of the container, and if the container is inverted during the detection period, the detection is stopped, so that false detection is avoided.
The intelligent sensor can comprise a touch display screen, wherein the touch display screen is divided into three display interfaces, including a time and date display interface; specific parameter display interfaces of TDS, COD and temperature; the integrated score advice display interface for water quality gives an advice on whether to advise to drink.
The display screen can switch the display interface through touch sliding, meanwhile, the gesture sensor monitors the gesture state of the container in real time, the acceleration value obtained through monitoring by the three-axis accelerometer of the gesture sensor is used as a reference value, the value of the three-axis gyroscope is used as a comparison value, kalman smooth filtering analysis is carried out through covariance between the acceleration value and the value of the three-axis gyroscope, and Gaussian white noise is reduced to obtain a reliable Euler angle. And calculating each angular velocity of the three-axis gyroscope to respectively obtain three Euler angles, and quantifying the state of the equipment according to the obtained Euler angles and the acceleration values of the corresponding angles to detect the states of the equipment such as left-hand shake, right-hand shake, front-hand shake, back-hand shake, inversion and the like. And (3) the left hand swing enables the display interface to be circularly switched to the left for one time, the right hand swing enables the display interface to be circularly switched to the right for one time, and the container is inverted for water quality parameter detection.
The intelligent sensor detects that the container is only detected once when rotating from the normal position to the inversion, only detected once when inverting for a long time, multiple measurements when avoiding inversion are only detected when rotating from the normal position to the inversion again.
Above, container state monitoring is done using attitude sensors: the central processing unit reads the monitoring data output by the attitude sensor, the angles of the object in space, namely Euler angles, are obtained by carrying out inverse trigonometric function operation on the acceleration values of the two monitored shafts, the three-axis gyroscope calculates each angular velocity to obtain three Euler angles respectively, and the states of the equipment such as left-hand shake, right-hand shake, front-hand shake, back-hand shake, inversion and the like are detected by quantifying the states of the equipment according to the obtained Euler angles and the acceleration values of the corresponding angles.
The embodiment provides a water quality detection method of an intelligent sensor, which comprises the following steps: monitoring a real-time attitude of the container in response to the intelligent sensor and the container closure signal; generating a control instruction according to the real-time gesture of the container; wherein the control instruction comprises a water quality detection instruction; when the water quantity in the detection cavity of the intelligent sensor reaches a preset value, generating a water quantity standard instruction; and carrying out water quality detection on water in the detection cavity based on the water quantity standard reaching instruction and the water quality detection instruction, wherein the water quality detection comprises at least one of chemical oxygen demand detection, total dissolved solids detection and temperature detection. Through the mode, the invention realizes the effective utilization of the container posture, reduces key input and realizes convenient and reliable interaction with the container; and through realizing automatic and accurate measurement of chemical oxygen demand, total dissolved solids and temperature information in the drinking water, comprehensive analysis gives the water quality condition of the drinking water, thereby facilitating the real-time monitoring of the health condition of the drinking water by users and improving the pursuit of people on the health of the drinking water.
Specifically, the principle of chemical oxygen demand detection is as follows:
the optical detection method of COD in water body generally adopts ultraviolet spectrometry, the concentration of COD is inverted by absorbance of organic matters in the water body to ultraviolet spectrometry, when a beam of monochromatic light passes through a solution with a certain liquid layer thickness, the solution absorbs light according to lambert-beer law A= -lg (T) = -lg (I/I0) = KCL, and the absorbance of the solution is in direct proportion to the concentration of the solution. Wherein: a is absorbance value; t is transmittance; i is the light intensity of the light after passing through the solution; i0 is the intensity of light before absorption by the solution, K is the molar absorption coefficient, which is related to the nature of the absorbing material and the wavelength of the incident light; c is the concentration of the light absorbing substance, and L is the thickness of the absorbing layer. In the case where the molar absorption coefficient and the optical path are known, the absorbance is proportional to the concentration of COD, and thus the concentration of COD can be calculated from the absorbance of the characteristic wavelength.
Preferably, the absorption peak of COD at 254nm is utilized, an ultraviolet light source with the wavelength of about 254nm and a detector with the corresponding wavelength are selected, the sensing method with low cost is realized by combining the principle, the light source is controlled to emit light through a hardware circuit, the light passes through drinking water in a detection chamber, the detection is carried out by a COD sensor at the other side, and the value of COD is calculated according to the lambert-beer law.
In some embodiments, the real-time pose of the container comprises inversion, generating the control instructions from the real-time pose of the container comprises: and generating a water quality detection instruction according to the inverted posture of the container.
In some embodiments, the real-time pose of the container comprises a shake back and forth, and the control instructions comprise a confirm/cancel instruction; generating a control instruction according to the real-time gesture of the container, including: a confirmation/cancellation instruction is generated according to the posture of the container shaking back and forth.
In some embodiments, water quality detection is performed on water in the detection chamber based on the water quality up to standard instructions and the water quality detection instructions, including: based on the water quantity standard reaching instruction and the water quality detection instruction, displaying a water quality detection interface in a display area of the intelligent sensor; wherein the water quality detection items in the water quality detection interface comprise chemical oxygen demand detection, total dissolved solids detection, temperature detection and all detection; receiving a selection instruction of a user for a water quality detection item; and based on the selection instruction, water quality detection is performed on the water in the detection cavity.
The screen display of the intelligent sensor is divided into a plurality of display interfaces and a multi-level menu, wherein the multi-level menu comprises a time and date display interface; specific parameter display interfaces of TDS, COD and temperature; and the comprehensive score of the water quality suggests a display interface and the like, so that the switching of different display interfaces can be realized by shaking left and right.
In some embodiments, the real-time pose of the container comprises a roll and the control instructions comprise interface switching instructions; based on the water quantity standard reaching instruction and the water quality detection instruction, after the water quality detection interface is displayed in the display area of the intelligent sensor, the method comprises the following steps: generating an interface switching instruction according to the left-right shaking gesture of the container; receiving a selection instruction of a user for a water quality detection item, comprising: and generating a selection instruction for the water quality detection item according to the confirmation instruction of the user for the water quality detection item in the current interface.
Referring to fig. 5, fig. 5 is a flow chart of another embodiment of a water quality detection method of an intelligent sensor according to the present invention. The water quality detection process comprises the following steps: initializing a system; and responding to the instruction to perform temperature detection to obtain a temperature detection result. If the water temperature is detected to be too high, reminding and warning: the temperature is not suitable for reference.
And responding to the instruction to perform gesture detection, and performing water quantity detection when the container is inverted. When the water quantity is detected sufficiently, COD and TDS are detected, COD, TDS and temperature parameters are obtained, water quality scores are given based on the COD, TDS and temperature parameters, and only a buzzer of the container cover can prompt that the detection is completed.
In addition, when the container is detected to shake left and right during gesture detection, the screen display content can be switched according to the container shaking direction. The screen may be switched in the negative direction when the container is shaken to the left and in the positive direction when the container is shaken to the right. The positive and negative directions in this embodiment refer to opposite directions.
In some embodiments, the step of performing water quality detection on the water in the detection chamber based on the water quality standard reaching instruction and the water quality detection instruction specifically includes:
establishing communication connection with a mobile terminal; after the water quality detection is finished, the water quality detection result is sent to the mobile terminal, so that the water quality detection result is displayed on the mobile terminal; and receiving the synchronous information of the mobile terminal and displaying the synchronous information in a display area of the intelligent sensor.
Referring to fig. 6, fig. 6 is an interface schematic diagram of a mobile phone APP client connected to an intelligent sensor according to the present invention. The interface of the mobile phone APP client is used for displaying the water quality detection result.
The displayed water quality detection results may include bluetooth status of the intelligent sensor, water quality score, measurement time, messages sent to the vessel, TOC parameters, COD parameters, TDS parameters, and temperature parameters, among others.
The intelligent sensor long-presses the start key to display the Bluetooth connection two-dimensional code, and the mobile phone terminal performs Bluetooth connection with the intelligent sensor through scanning the two-dimensional code, so that the intelligent sensor water quality information interaction and reminding functions are realized.
The mobile phone client performs real-time interaction with the intelligent sensor through Bluetooth, the intelligent sensor completes detection every time, detection parameters and information are sent to the mobile phone end through Bluetooth to be displayed, the mobile phone end synchronizes weather and time information to the intelligent sensor end, and messages such as short messages and the like can be synchronously displayed to the intelligent sensor.
The synchronization method is divided into two types, when no active interaction is performed, the mobile phone app is the main part, synchronization commands and information are issued regularly, the intelligent sensor is synchronized with the background program, if the intelligent sensor detects, the intelligent sensor sends detection results to the mobile phone app end in time, and the mobile phone end stores and gives water quality condition prompts.
Optionally, a calibration switch is arranged at the mobile phone client, and the intelligent sensor is calibrated by using purified water according to the prompt of the mobile phone client through the prompt of the mobile phone client.
Preferably, the display screen is a touch display screen, and the display interface is switched by touch sliding.
For example, the client-side scans the intelligent sensor Bluetooth two-dimensional code through the scanning function of the upper right corner, the connection is completed, the detection parameters of the current water quality and the water quality evaluation information can be displayed in real time, the mobile phone end synchronizes the weather and the time information to the intelligent sensor end, and messages such as short messages and the like can be synchronously displayed to the intelligent sensor.
The invention also provides a water quality detection device which comprises a container and the intelligent sensor. The smart sensor may refer to the above embodiments, and will not be described herein.
According to the invention, the quality of the drinking water can be accurately reflected by detecting the content of organic matters and inorganic matters in the COD and TDS reaction drinking water in the water; the invention uses the optical COD detection method, any measurement in the intelligent sensor does not need to use chemical agents, and the invention has the advantages of no consumption, no pollution, low hardware cost of the detector and quick and accurate detection; according to the invention, the water quality is detected in the container, so that the detection chamber is convenient to clean, and the service life of the detector is greatly prolonged; according to the invention, the attitude sensor is used for monitoring and quantifying the attitude state of the container, the human-computer interaction is realized by effectively utilizing the attitude of the container, the detection of the water quality detection sensor is controlled, the experience of the human-computer interaction is improved, the display content is increased, and the hardware cost is reduced; the invention adopts the mode of combining the detection of the inversion of the container by the attitude sensor and the detection of the water level in the cavity as the opening signal of the water quality detection of the container, so that the invention is simple and convenient for users to use and is not easy to produce false detection; the intelligent sensor can be integrated in the cup cover of the container, has a compact structure, can be conveniently transplanted and applied to various containers with different types, has strong universality, and is convenient for users to promote pursuit of drinking water safety.
The present invention also provides an electronic device, which in this embodiment may include a memory, a processor, and a computer program stored on the memory and executable on the processor. The water quality detection method of the intelligent sensor provided by the methods is realized when the processor executes the program.
Optionally, the electronic device may further comprise a communication bus and a communication interface (Communications Interface), wherein the processor, the communication interface, and the memory communicate with each other via the communication bus. The processor may call logic instructions in the memory to perform the water quality detection method of the intelligent sensor.
Further, the logic instructions in the memory described above may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method of the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, where the computer program is implemented when executed by a processor to perform the method for detecting water quality of an intelligent sensor provided by the above methods, and the steps and principles of the method are described in detail in the above methods and are not described herein.
The apparatus embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in part in the form of a software product, which may be stored in a computer-readable storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the various embodiments or methods of some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The water quality detection method of the intelligent sensor is characterized by comprising the following steps of:
monitoring a real-time attitude of the container in response to the intelligent sensor and the container closure signal;
generating a control instruction according to the real-time gesture of the container; wherein the control instruction comprises a water quality detection instruction;
when the water quantity in the detection cavity of the intelligent sensor reaches a preset value, generating a water quantity standard instruction;
based on the water quantity standard reaching instruction and the water quality detection instruction, water quality detection is carried out on water in the detection cavity; wherein the water quality detection comprises at least one of chemical oxygen demand detection, total dissolved solids detection and temperature detection.
2. The intelligent sensor water quality testing method according to claim 1, wherein the real-time posture of the container comprises inversion, and the generating the control command according to the real-time posture of the container comprises:
and generating a water quality detection instruction according to the inverted posture of the container.
3. The intelligent sensor water quality detection method according to claim 1, wherein the real-time posture of the container includes shaking back and forth, and the control instruction includes a confirm/cancel instruction; the generating a control instruction according to the real-time gesture of the container comprises the following steps:
the confirmation/cancellation instruction is generated according to the posture of the container shaking back and forth.
4. The method for detecting water quality of an intelligent sensor according to claim 3, wherein the detecting water quality of water in the detecting chamber based on the water quantity standard reaching instruction and the water quality detecting instruction comprises:
based on the water quantity standard reaching instruction and the water quality detection instruction, displaying a water quality detection interface in a display area of the intelligent sensor; wherein the water quality detection items in the water quality detection interface comprise chemical oxygen demand detection, total dissolved solids detection, temperature detection and all detection;
receiving a selection instruction of a user for the water quality detection item;
and detecting the water quality of the water in the detection cavity based on the selection instruction.
5. The method for detecting water quality of an intelligent sensor according to claim 4, wherein the real-time posture of the container includes shaking left and right, and the control instruction includes an interface switching instruction; the method for detecting the water quality based on the water quantity standard reaching instruction and the water quality detection instruction comprises the following steps of:
generating the interface switching instruction according to the left-right shaking gesture of the container;
the receiving the selection instruction of the user for the water quality detection item comprises the following steps:
and generating a selection instruction for the water quality detection item according to a confirmation instruction of a user for the water quality detection item in the current interface.
6. The method for detecting water quality of an intelligent sensor according to any one of claims 1 to 5, wherein the monitoring of the real-time posture of the container comprises:
acquiring three-dimensional coordinates and rotation angles through a gesture sensor of the intelligent sensor;
determining a quaternary function based on the three-dimensional coordinates and the rotation angle;
determining an Euler angle according to the quaternary function, wherein the Euler angle comprises a first parameter, a second parameter and a third parameter, the first parameter represents front-back shaking information, the second parameter represents left-right shaking information, and the third parameter represents overturning information.
7. The water quality detection method of an intelligent sensor according to any one of claims 1 to 5, wherein water quality detection of water in the detection chamber is performed based on the water quality up-to-standard instruction and the water quality detection instruction, comprising:
establishing communication connection with a mobile terminal;
after the water quality detection is finished, sending a water quality detection result to the mobile terminal so that the water quality detection result is displayed on the mobile terminal;
and receiving the synchronous information of the mobile terminal and displaying the synchronous information in a display area of the intelligent sensor.
8. An intelligent sensor is characterized by comprising an outer cover body, an inner cover body and a hardware circuit;
the outer cover body comprises a hollow outer cover body and a display screen arranged on the top plane of the outer cover body, and the outer cover body wraps the hardware circuit and the inner cover body;
the inner cover body is arranged below the inner part of the outer cover body and comprises a convex hollow inner cover main body, the cavity of the convex upper half part of the inner cover body is a detection cavity, windows are arranged on the left side and the right side of the detection cavity, an optical chemical oxygen demand detection assembly is arranged on the outer side of the windows, and a temperature detection assembly and a total dissolved solid detection assembly are respectively arranged on the front side and the rear side of the detection cavity;
the hardware circuit is arranged on the outer side of the convex upper part of the inner cover body and comprises a central processing unit, and the central processing unit is used for executing the water quality detection method of the intelligent sensor according to any one of claims 1-7.
9. The intelligent sensor according to claim 8, wherein,
the inner cover body further comprises a leakage-proof rubber ring and a tea leakage, the leakage-proof rubber ring is arranged at the convex shoulder position on the inner side of the inner cover body, and the tea leakage is arranged on the inner side of the leakage-proof rubber ring and is clamped on the inner cover body.
10. A water quality testing device comprising a container and the intelligent sensor of claim 8 or 9.
CN202310817206.2A 2023-07-05 2023-07-05 Intelligent sensor, water quality detection method and water quality detection device Active CN116539552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310817206.2A CN116539552B (en) 2023-07-05 2023-07-05 Intelligent sensor, water quality detection method and water quality detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310817206.2A CN116539552B (en) 2023-07-05 2023-07-05 Intelligent sensor, water quality detection method and water quality detection device

Publications (2)

Publication Number Publication Date
CN116539552A true CN116539552A (en) 2023-08-04
CN116539552B CN116539552B (en) 2023-10-20

Family

ID=87445645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310817206.2A Active CN116539552B (en) 2023-07-05 2023-07-05 Intelligent sensor, water quality detection method and water quality detection device

Country Status (1)

Country Link
CN (1) CN116539552B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107014767A (en) * 2015-06-07 2017-08-04 深圳纳感科技有限公司 Inline water pollution detector
CN107031968A (en) * 2016-09-02 2017-08-11 深圳纳感科技有限公司 A kind of pollutant monitoring water bottle with filter and monitoring function
CN108670263A (en) * 2018-05-18 2018-10-19 哈尔滨理工大学 A kind of sleep pose discrimination method based on MPU-6050
CN208784256U (en) * 2018-01-23 2019-04-26 深圳和而泰数据资源与云技术有限公司 Intelligent water cup and Intelligent water cup control system
CN114145613A (en) * 2021-08-31 2022-03-08 佛山市顺德区美的饮水机制造有限公司 Drinking water prompting method and device and water cup
CN218484259U (en) * 2021-08-13 2023-02-17 农芯(南京)智慧农业研究院有限公司 Intelligent water cup with water quality detection function
US11647854B1 (en) * 2020-02-04 2023-05-16 Amazon Technologies, Inc. Smart container for determining fluid contents

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107014767A (en) * 2015-06-07 2017-08-04 深圳纳感科技有限公司 Inline water pollution detector
CN107031968A (en) * 2016-09-02 2017-08-11 深圳纳感科技有限公司 A kind of pollutant monitoring water bottle with filter and monitoring function
CN208784256U (en) * 2018-01-23 2019-04-26 深圳和而泰数据资源与云技术有限公司 Intelligent water cup and Intelligent water cup control system
CN108670263A (en) * 2018-05-18 2018-10-19 哈尔滨理工大学 A kind of sleep pose discrimination method based on MPU-6050
US11647854B1 (en) * 2020-02-04 2023-05-16 Amazon Technologies, Inc. Smart container for determining fluid contents
CN218484259U (en) * 2021-08-13 2023-02-17 农芯(南京)智慧农业研究院有限公司 Intelligent water cup with water quality detection function
CN114145613A (en) * 2021-08-31 2022-03-08 佛山市顺德区美的饮水机制造有限公司 Drinking water prompting method and device and water cup

Also Published As

Publication number Publication date
CN116539552B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
CN104680525B (en) Automatic human body fall-down detection method based on Kinect depth image
EP1880373B1 (en) Device for detecting the falling of a body into a pool
CN109116586B (en) Multifunctional intelligent glasses
CN109949925A (en) A kind of intelligent medicine box health monitoring system and health monitoring method based on Internet of Things
CN204910137U (en) Vehicle actuated control intelligence reminding device and intelligent robot based on types of facial makeup in beijing operas discernment
WO2013190016A1 (en) System and method for checking the washing of hands
CN107031968B (en) Pollutant detection water bottle with filter and monitoring function
CN107019395A (en) A kind of automated cleaning Intelligent water cup and its application
US9675496B1 (en) Diaper change alert
CN204190864U (en) Tool sees the automatic monitor system of protective function
CN116539552B (en) Intelligent sensor, water quality detection method and water quality detection device
CN105279497B (en) Eyeball recognition methods, eyeball identification device and intelligent mobile terminal
CN107169481A (en) A kind of based reminding method and device
CN111583602A (en) Teenager vision monitoring system
CN113200046B (en) Method and system for detecting driver's hand-off steering wheel
CN209518857U (en) A kind of driver's vital sign and wine state monitoring, alarming steering wheel
CN209751027U (en) Old person's intelligence bracelet
CN209086135U (en) A kind of purified water quality in-situs tester
CN208372026U (en) A kind of intelligence diaper
CN214242032U (en) Beverage container and plug body of beverage container
CN109171146A (en) Intelligent medicine box system and working method
CN204442550U (en) Tool near-end sees the automatic monitoring equipment that protective function and high in the clouds are transmitted
CN109567772B (en) Physical sign detection device, method and computer storage medium
CN209690166U (en) A kind of intelligent soup ladle
CN206213879U (en) A kind of capsule beverage machine

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
GR01 Patent grant
GR01 Patent grant