CN112586986A - Method, device, storage medium and processor for identifying error signal - Google Patents

Method, device, storage medium and processor for identifying error signal Download PDF

Info

Publication number
CN112586986A
CN112586986A CN202011554203.7A CN202011554203A CN112586986A CN 112586986 A CN112586986 A CN 112586986A CN 202011554203 A CN202011554203 A CN 202011554203A CN 112586986 A CN112586986 A CN 112586986A
Authority
CN
China
Prior art keywords
stability
preset
amplitude
proportional relation
signal
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
CN202011554203.7A
Other languages
Chinese (zh)
Other versions
CN112586986B (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.)
Foshan Shunde Midea Water Dispenser Manufacturing Co Ltd
Original Assignee
Foshan Shunde Midea Water Dispenser Manufacturing Co Ltd
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 Foshan Shunde Midea Water Dispenser Manufacturing Co Ltd filed Critical Foshan Shunde Midea Water Dispenser Manufacturing Co Ltd
Priority to CN202011554203.7A priority Critical patent/CN112586986B/en
Publication of CN112586986A publication Critical patent/CN112586986A/en
Priority to PCT/CN2021/120181 priority patent/WO2022134693A1/en
Application granted granted Critical
Publication of CN112586986B publication Critical patent/CN112586986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J31/00Apparatus for making beverages
    • A47J31/44Parts or details or accessories of beverage-making apparatus
    • A47J31/4403Constructional details
    • A47J31/4457Water-level indicators
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J31/00Apparatus for making beverages
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J31/00Apparatus for making beverages
    • A47J31/44Parts or details or accessories of beverage-making apparatus
    • A47J31/4403Constructional details

Abstract

The embodiment of the invention provides a method and a device for identifying an error signal, a storage medium and a processor, and belongs to the field of electric appliances. The method for identifying the error signal comprises the following steps: acquiring a reflected signal received by an ultrasonic detector; determining that the amplitude of a peak in the reflected signal is greater than a preset threshold; determining the proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object; determining that the proportional relation does not meet the preset proportional relation; and identifying the reflected signal as an error signal. The method of the invention can reduce the problem of high cost.

Description

Method, device, storage medium and processor for identifying error signal
Technical Field
The invention relates to the field of electric appliances, in particular to a method, a device, a storage medium and a processor for identifying an error signal.
Background
The ultrasonic wave is applied to the water dispenser, and two functions of automatic water outlet and automatic water cut-off can be realized. The characteristic of sound waves is that, whatever the obstacle, reflection occurs when the sound waves are emitted to the surface. Water drops are not exceptional, water often splashes to a backboard in the water taking process of the water dispenser, water drops on the backboard (plastic or common glass) made of common materials are easily adsorbed on the backboard to be condensed into water drops, when the water drops are gathered to a certain volume and at certain specific positions and angles, strong reflection signals can appear, and after the ultrasonic probe receives the signals, the water drops are easily used as signals of a cup, so that the water dispenser is triggered mistakenly, and safety accidents are caused.
At present, a water dispenser usually adopts a physical hydrophobic method, namely a layer of hydrophobic material is plated on a back plate of the water dispenser to drain water in time so that the water is not condensed into water drops. However, the method for reducing the false triggering of the water dispenser has the problem of higher cost.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a method, an apparatus, a storage medium, and a processor for identifying an error signal, so as to solve the problem of high cost in the existing method for identifying an error signal.
In order to achieve the above object, a first aspect of the present invention provides a method for identifying an error signal applied to a water dispenser including an ultrasonic probe, comprising:
acquiring a reflected signal received by an ultrasonic detector;
determining that the amplitude of a peak in the reflected signal is greater than a preset threshold;
determining the proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object;
determining that the proportional relation does not meet the preset proportional relation; and
the reflected signal is identified as an error signal.
In the embodiment of the invention, the preset threshold is equal to the amplitude of the wave crest corresponding to the water taking appliance with the minimum height allowed by the water dispenser minus an offset.
In an embodiment of the present invention, determining the proportional relationship between the height and amplitude of the ultrasound probe relative to the object under test comprises determining the proportional relationship according to equation (1):
-P ═ a ═ sin (t × x/2c) formula (1)
Wherein, A is amplitude, P is radiation power of the ultrasonic detector, t is echo time, x is height, and c is wave speed of sound wave emitted by the ultrasonic detector.
In an embodiment of the present invention, the method further includes: determining that the proportional relation meets a preset proportional relation; the reflected signal is identified as a normal signal.
In an embodiment of the present invention, the method further includes: determining the stability of the reflected signal in a preset time period under the condition that the proportional relation is determined to meet the preset proportional relation; and identifying the reflected signal as an error signal according to the stability.
In an embodiment of the present invention, the stability includes a first stability of the reflected signal in the height direction and a second stability in the amplitude direction; identifying the reflected signal as an error signal based on the stability comprises: and under the condition that the first stability reaches a first preset stability and the second stability reaches a second preset stability, determining the reflected signal as an error signal.
A second aspect of the invention provides a processor configured to perform the method for identifying an error signal of any of the above.
A third aspect of the invention provides an apparatus for identifying an error signal, comprising:
an ultrasonic detector; and
a processor configured to:
acquiring a reflected signal received by an ultrasonic detector;
determining that the amplitude of a peak in the reflected signal is greater than a preset threshold;
determining the proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object;
determining that the proportional relation does not meet the preset proportional relation; and
the reflected signal is identified as an error signal.
In the embodiment of the invention, the preset threshold is equal to the amplitude of the wave crest corresponding to the water taking appliance with the minimum height allowed by the water dispenser minus an offset.
In an embodiment of the invention, the processor is further configured to determine the proportional relationship according to equation (1):
-P ═ a ═ sin (t × x/2c) formula (1)
Wherein, A is amplitude, P is radiation power of the ultrasonic detector, t is echo time, x is height, and c is wave speed of sound wave emitted by the ultrasonic detector.
In an embodiment of the invention, the processor is further configured to: determining that the proportional relation meets a preset proportional relation; the reflected signal is identified as a normal signal.
In an embodiment of the invention, the processor is further configured to: determining the stability of the reflected signal in a preset time period under the condition that the proportional relation is determined to meet the preset proportional relation; and identifying the reflected signal as an error signal according to the stability.
In an embodiment of the present invention, the stability includes a first stability of the reflected signal in the height direction and a second stability in the amplitude direction; the processor is further configured to: and under the condition that the first stability reaches a first preset stability and the second stability reaches a second preset stability, determining the reflected signal as an error signal.
A fourth aspect of the invention provides a water dispenser comprising a device for identifying an error signal as described above.
A fifth aspect of the invention provides a machine-readable storage medium having stored thereon instructions which, when executed by a processor, cause the processor to perform the method for identifying an error signal of any of the above.
According to the method for identifying the error signal, the reflected signal received by the ultrasonic detector is obtained, after the amplitude of the wave peak in the reflected signal is determined to be larger than the preset threshold value, the proportional relation between the height of the ultrasonic detector relative to the measured object and the amplitude is determined, and after the proportional relation is determined not to meet the preset proportional relation, the reflected signal is identified as the error signal. According to the method, water drops do not need to be dredged by means of an external hydrophobic material, the cost of the external material is reduced, the difference between the cup and the water drops is distinguished through a mathematical model, and whether the detected object is a water drop signal or not is further determined through the proportional relation between the height and the amplitude and the preset proportional relation under the condition that the amplitude of the wave peak of the reflected signal is larger than the preset threshold value, so that the accuracy of the identification result is ensured, the false triggering probability of the water dispenser is reduced, and the safety of the water dispenser in the use process is improved.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
FIG. 1 is a flow chart illustrating a method for identifying an error signal according to an embodiment of the invention;
FIG. 2 is a flow chart illustrating a method for identifying an error signal according to another embodiment of the present invention;
FIG. 3 is a block diagram of an apparatus for identifying an error signal according to an embodiment of the invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
For ultrasonic water dispensers, in most cases, only when a cup is placed in an ultrasonic radiation area, a relatively strong reflected signal occurs, and a raised wave peak exceeding a certain threshold appears on an X-axis of a receiving reflection curve. Although the probability of occurrence of the event of misjudgment action of water drops of the ultrasonic water dispenser is small, the occurrence of the rare event is related to the problem of safety accidents of the water dispenser. Therefore, in order to ensure that the false triggering probability of the water dispenser is 0 and improve the safety of the water dispenser in the using process while a hydrophobic material is not used, the embodiment of the invention provides a method for identifying a false signal.
Fig. 1 schematically shows a flow diagram of a method for identifying an error signal in an embodiment of the invention. As shown in fig. 1, in an embodiment of the present invention, a method for identifying an error signal is provided, which is described by taking the method as an example of being applied to a water dispenser including an ultrasonic detector, and the method may include the following steps:
step S102, acquiring a reflection signal received by the ultrasonic detector.
It is understood that the reflected signal is a sound wave signal reflected by the ultrasonic wave encountering the obstacle. The working principle of the ultrasonic detector is to judge the attribute type of an obstacle by transmitting ultrasonic waves and receiving the sound waves reflected by the obstacle when the ultrasonic waves encounter the obstacle.
Specifically, the water dispenser transmits an ultrasonic signal through a probe of the ultrasonic detector, when the water dispenser has an obstacle, the ultrasonic detector of the water dispenser receives a reflected signal reflected by the obstacle, and a plurality of continuous reflected signals form a reflection curve, so that whether the obstacle is a cup or not is judged according to the reflection curve formed by the reflected signals.
And step S104, determining that the amplitude of the peak in the reflected signal is greater than a preset threshold value.
It can be understood that the preset threshold is an amplitude of a peak of a reflected signal corresponding to a water intake device with the minimum height acceptable by the water dispenser, and a specific numerical value can be obtained through multiple experiments.
In one embodiment, the predetermined threshold is equal to the amplitude of the peak corresponding to the water dispenser with the minimum height allowed by the water dispenser minus an offset. Wherein the offset can be set according to experimental data.
Specifically, the water dispenser compares the amplitude of the peak of a reflection curve formed by the reflection signal received by the ultrasonic detector with a preset threshold value stored in advance, so as to determine that the amplitude of the peak in the reflection curve formed by the reflection signal is greater than the preset threshold value.
And step S106, determining the proportional relation between the height and the amplitude of the ultrasonic probe relative to the measured object.
It is understood that the object to be measured, i.e. the object detected by the ultrasonic probe of the water dispenser in the detection area, for example, a cup or a water drop. The height of the ultrasonic probe with respect to the object to be measured, that is, the distance between the probe of the ultrasonic probe and the object to be measured (for example, a cup) can be determined based on the wave velocity of the ultrasonic wave and the reception time (or transmission time).
Further, in one embodiment, determining a proportional relationship between the height and amplitude of the ultrasound probe relative to the object under test includes determining a proportional relationship according to equation (1):
-P ═ a ═ sin (t × x/2c) formula (1)
Wherein, A is amplitude, P is radiation power of the ultrasonic detector, t is echo time, x is height, and c is wave speed of sound wave emitted by the ultrasonic detector.
It can be understood that in the above formula (1), the relationship between a and x is a proportional relationship between the height and the amplitude of the ultrasonic probe relative to the measured object, P is the energy output by the probe of the ultrasonic probe, and is a fixed value, and the echo time is the sum of the time for the ultrasonic probe to emit the acoustic wave and the time for receiving the reflected acoustic wave.
In this embodiment, the accuracy of the identification result of the reflected signal can be enhanced by determining the proportional relationship between the height and the amplitude value by the above specific formula (1).
And step S108, determining that the proportional relation does not meet the preset proportional relation.
It can be understood that the preset proportional relationship is a preset proportional relationship between the height and the amplitude of the ultrasonic probe relative to the measured object, and the specific numerical value can be obtained through experimental data.
Specifically, after the proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object is obtained, the proportional relation is compared with a preset proportional relation, and therefore the fact that the proportional relation does not meet the preset proportional relation is determined.
In step S110, the reflected signal is identified as an error signal.
It can be understood that the error signal is a signal that the detected object in the detection area is a non-water-taking appliance, that is, a water use signal that is invalid for the ultrasonic water dispenser, such as a water drop signal, during the water use of the water dispenser, water drops may be splashed on the back plate or water drops formed by condensation of the water drops, and a strong reflection signal occurs when the water drops are gathered to a certain volume and at certain specific positions and angles.
Specifically, when the proportional relation between the height and the amplitude of the ultrasonic probe relative to the measured object does not meet the preset proportional relation, the water dispenser identifies the reflected signal as a wrong water use signal (the measured object is water drops, for example). It is understood that only those signals that match a predetermined ratio of height to amplitude are considered valid (for example, a cup) and otherwise are considered false (for example, a water droplet).
According to the method for identifying the error signal, the reflected signal received by the ultrasonic detector is obtained, after the amplitude of the wave peak in the reflected signal is determined to be larger than the preset threshold value, the proportional relation between the height of the ultrasonic detector relative to the measured object and the amplitude is determined, and after the proportional relation is determined not to meet the preset proportional relation, the reflected signal is identified as the error signal. According to the method, water drops do not need to be dredged by means of an external hydrophobic material, the cost of the external material is reduced, the difference between the cup and the water drops is distinguished through a mathematical model, and whether the detected object is a water drop signal or not is further determined through the proportional relation between the height and the amplitude and the preset proportional relation under the condition that the amplitude of the wave peak of the reflected signal is larger than the preset threshold value, so that the accuracy of the identification result is ensured, the false triggering probability of the water dispenser is reduced, and the safety of the water dispenser in the use process is improved.
In one embodiment, the method for identifying an error signal further includes: determining that the proportional relation meets a preset proportional relation; the reflected signal is identified as a normal signal.
It can be understood that the normal signal is a signal that a detected object in the detection area is a water taking appliance (such as a cup), namely, a water using signal effective for the ultrasonic water dispenser.
Specifically, the water dispenser compares the proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object with a preset proportional relation, and identifies the reflected signal as a normal signal (such as a cup) when the proportional relation meets the preset proportional relation.
In this embodiment, when the proportional relationship between the height and the amplitude of the ultrasonic detector relative to the object to be measured satisfies the preset proportional relationship, the water dispenser recognizes the reflected signal as a normal signal, so as to control the normal water discharge or water cut of the ultrasonic water dispenser, thereby realizing the normal operation of the ultrasonic water dispenser.
In one embodiment, the method for identifying an error signal further includes: determining the stability of the reflected signal in a preset time period under the condition that the proportional relation is determined to meet the preset proportional relation; and identifying the reflected signal as an error signal according to the stability.
It will be appreciated that the degree of stability, i.e. the degree of stability of the reflected signal of the object under test on the corresponding reflection curve, may comprise an amplitude or a high degree of stability. The preset time period is a preset time period range, for example, within 2 seconds.
Specifically, when the proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object meets the preset proportional relation, the reflecting signal is further identified to be a correct signal or an error signal by determining the stability of the reflecting signal in a preset time period, so that the measured object is judged to be a water taking appliance or a non-water taking appliance, and the accuracy of the identification result can be improved.
In one embodiment, the stability includes a first stability of the reflected signal in the height direction and a second stability in the amplitude direction; identifying the reflected signal as an error signal based on the stability comprises: and under the condition that the first stability reaches a first preset stability and the second stability reaches a second preset stability, determining the reflected signal as an error signal.
It will be appreciated that the stability contains two elements, namely height and amplitude, and the method of calculating the stability may be by way of integration, for example using the following equation (2):
Figure BDA0002858459370000081
wherein x is a first stability in the height direction, f (x) is a first stability in the height direction in a unit time, y is a second stability in the amplitude direction, f (y) is a second stability in the amplitude direction in a unit time, n is a preset time, and dt is a unit time.
Further, the first preset stability is a preset stability standard for determining that the stability in the height direction is higher in a preset time period, and the second preset stability is a preset stability standard for determining that the stability in the amplitude direction is higher in the preset time period.
Specifically, in the case where the proportional relationship between the height and the amplitude of the ultrasonic probe with respect to the measured object satisfies the preset proportional relationship, a first stability in the height direction and a second stability in the amplitude direction of the reflected signal in a preset time period may be determined by a specific algorithm formula, for example, the above formula (2), so that the first stability and the first preset stability are compared, the second stability and the second preset stability are compared, and in the case where it is determined that the first stability reaches the first preset stability and the second stability reaches the second preset stability, the reflected signal is judged to be an error signal (the measured object is, for example, a water drop), that is, an invalid water usage signal.
Further, under the condition that the first stability does not reach the first preset stability or the second stability does not reach the second preset stability, the water dispenser judges that the reflected signal is a normal signal (the measured object is a water taking appliance), namely an effective water using signal.
Understandably, the beads are normally very slow to move after they have agglomerated together, so that the first and second stabilities are high for a predetermined period of time (e.g., 2s), and the cup is stable only after a number of peaks of the beads have risen from the time it is placed in the irradiation zone to the time it is released. Therefore, the measured object whose first and second stabilities have reached the corresponding predetermined stability is determined as a non-water-taking appliance (e.g., a water drop), and the measured object whose first or second stability has not reached the corresponding predetermined stability is determined as a water-taking appliance (e.g., a cup).
In this embodiment, when the proportional relationship between the height and the amplitude of the ultrasonic detector relative to the object to be measured satisfies the preset proportional relationship, the first stability in the height mode and the second stability in the amplitude direction are further determined, and based on the first preset stability and the second preset stability, whether the reflected signal is a correct signal or an incorrect signal is identified, so as to determine whether the object to be measured is a water taking appliance, thereby improving the accuracy of identifying the object to be measured and ensuring that the false triggering probability of the water dispenser is reduced to the minimum.
Fig. 2 schematically shows a flow diagram of a method for identifying an error signal in a further embodiment of the invention. As shown in fig. 2, taking the method as an example of being applied to a water dispenser including an ultrasonic detector, the method may include the following steps:
step S202, the water dispenser obtains the reflected signal received by the ultrasonic detector.
Step S204, the water dispenser determines that the amplitude of the wave peak in the reflected signal is greater than a preset threshold value.
And step S206, the water dispenser determines the proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object.
And step S208, determining that the proportional relation of the water dispenser meets the preset proportional relation.
Step S210, the water dispenser determines a first stability of the reflection signal in the height direction and a second stability of the reflection signal in the amplitude direction within a preset time period.
In step S212, the drinking fountain determines that the reflected signal is an error signal when the first stability degree is determined to reach the first preset stability degree and the second stability degree is determined to reach the second preset stability degree.
Optionally, under the condition that the first stability does not reach the first preset stability or the second stability does not reach the second preset stability, the reflected signal is identified as a correct signal, so that the detected object is determined to be a water taking appliance (such as a cup), and the water dispenser can be controlled to discharge water at the moment.
In the embodiment, the amplitude of the peak of the reflected signal is judged, after the amplitude of the peak is determined to be greater than the preset threshold value, the proportional relation between the height of the ultrasonic detector relative to the measured object and the amplitude is further judged, under the condition that the proportional relation is determined to meet the preset proportional relation, a first stability of the reflected signal in the height direction and a second stability of the reflected signal in the amplitude direction within a preset time period are further judged, when the first stability reaches the first preset stability and the second stability reaches the second preset stability, the reflected signal is confirmed to be an error signal, and the measured object is judged to be a non-water-taking appliance, the method does not need to dredge water drops by means of an external hydrophobic material, reduces the cost of the external material, can achieve the purposes of triggering from basic to accurate matching, and improves the accuracy of the identification result of the water dispenser, the false triggering probability of the water dispenser is greatly reduced, the safety of the water dispenser in the using process is improved, the service life of the water dispenser is prolonged while water is saved, and better water using experience is brought to users.
Fig. 3 schematically shows a block diagram of an apparatus for identifying an error signal in an embodiment of the invention. As shown in fig. 3, in an embodiment of the present invention, there is provided an apparatus 300 for identifying an error signal, including: an ultrasound probe 310 and a processor 320, wherein:
a processor 320 configured to: acquiring a reflected signal received by an ultrasonic detector; determining that the amplitude of a peak in the reflected signal is greater than a preset threshold; determining the proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object; determining that the proportional relation does not meet the preset proportional relation; and identifying the reflected signal as an error signal.
It is understood that the reflected signal is a sound wave signal reflected by the ultrasonic wave encountering the obstacle. The working principle of the ultrasonic detector is to judge the attribute type of an obstacle by transmitting ultrasonic waves and receiving the sound waves reflected by the obstacle when the ultrasonic waves encounter the obstacle. The preset threshold is the amplitude of the wave crest of the reflection signal corresponding to the water taking appliance with the minimum height which can be accepted by the water dispenser, and the specific numerical value can be obtained through multiple experiments. The tested object is an object detected by an ultrasonic detector of the water dispenser in a detection area, such as a cup or a water drop. The height of the ultrasonic probe with respect to the object to be measured, that is, the distance between the probe of the ultrasonic probe and the object to be measured (for example, a cup) can be determined based on the wave velocity of the ultrasonic wave and the reception time (or transmission time). The preset proportional relation is a preset proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object, and the specific numerical value can be obtained through experimental data. The error signal is a signal that a detected object in a detection area is a non-water-taking appliance, namely a water using signal which is invalid for the ultrasonic water dispenser, such as a water drop signal, during the water using process of the water dispenser, water drops or water drops formed by condensation of the water drops can be splashed on a back plate, and a strong reflection signal appears when the water drops are gathered to a certain volume and at certain specific positions and angles.
Specifically, the water dispenser transmits an ultrasonic signal through a probe of the ultrasonic detector, when the water dispenser has an obstacle, the ultrasonic detector of the water dispenser receives a reflected signal reflected by the obstacle, and a plurality of continuous reflected signals form a reflection curve, so that whether the obstacle is a cup or not is judged according to the reflection curve formed by the reflected signals. The water dispenser compares the amplitude of the peak of a reflection curve formed by the reflection signals received by the ultrasonic detector with a pre-stored preset threshold value, so that the amplitude of the peak in the reflection curve formed by the reflection signals is determined to be larger than the preset threshold value. After the water dispenser determines the proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object, the proportional relation is compared with a preset proportional relation, so that the fact that the proportional relation does not meet the preset proportional relation is determined, and the water dispenser recognizes that the reflected signal is an incorrect water use signal (the measured object is water drops for example). It is understood that only those signals that match a predetermined ratio of height to amplitude are considered valid (for example, a cup) and otherwise are considered false (for example, a water droplet).
According to the method for identifying the error signal, the reflected signal received by the ultrasonic detector is obtained, after the amplitude of the wave peak in the reflected signal is determined to be larger than the preset threshold value, the proportional relation between the height of the ultrasonic detector relative to the measured object and the amplitude is determined, and after the proportional relation is determined not to meet the preset proportional relation, the reflected signal is identified as the error signal. According to the method, water drops do not need to be dredged by means of an external hydrophobic material, the cost of the external material is reduced, the difference between the cup and the water drops is distinguished through a mathematical model, and whether the detected object is a water drop signal or not is further determined through the proportional relation between the height and the amplitude and the preset proportional relation under the condition that the amplitude of the wave peak of the reflected signal is larger than the preset threshold value, so that the accuracy of the identification result is ensured, the false triggering probability of the water dispenser is reduced, and the safety of the water dispenser in the use process is improved.
In one embodiment, the predetermined threshold is equal to the amplitude of the peak corresponding to the water dispenser with the minimum height allowed by the water dispenser minus an offset.
In one embodiment, the processor 320 is further configured to: determining a proportional relationship according to equation (1):
-P ═ a ═ sin (t × x/2c) formula (1)
Wherein, A is amplitude, P is radiation power of the ultrasonic detector, t is echo time, x is height, and c is wave speed of sound wave emitted by the ultrasonic detector.
It can be understood that in the above formula (1), the relationship between a and x is a proportional relationship between the height and the amplitude of the ultrasonic probe relative to the measured object, P is the energy output by the probe of the ultrasonic probe, and is a fixed value, and the echo time is the sum of the time for the ultrasonic probe to emit the acoustic wave and the time for receiving the reflected acoustic wave.
The device in this embodiment determines the proportional relationship between the height and the amplitude value by the above specific formula (1), so as to enhance the accuracy of the reflected signal identification result.
In one embodiment, the processor 320 is further configured to: determining that the proportional relation meets a preset proportional relation; the reflected signal is identified as a normal signal.
It can be understood that the normal signal is a signal that a detected object in the detection area is a water taking appliance (such as a cup), namely, a water using signal effective for the ultrasonic water dispenser.
Specifically, the water dispenser compares the proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object with a preset proportional relation, and identifies the reflected signal as a normal signal (such as a cup) when the proportional relation meets the preset proportional relation.
In the device in the embodiment, when the proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object meets the preset proportional relation, the water dispenser identifies the reflected signal as a normal signal, so that the normal water outlet or water cut of the ultrasonic water dispenser is controlled, and the normal work of the ultrasonic water dispenser is realized.
In one embodiment, the processor 320 is further configured to: determining the stability of the reflected signal in a preset time period under the condition that the proportional relation is determined to meet the preset proportional relation; and identifying the reflected signal as an error signal according to the stability.
It will be appreciated that the degree of stability, i.e. the degree of stability of the reflected signal of the object under test on the corresponding reflection curve, may comprise an amplitude or a high degree of stability. The preset time period is a preset time period range, for example, within 2 seconds.
Specifically, when the proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object meets the preset proportional relation, the reflecting signal is further identified to be a correct signal or an error signal by determining the stability of the reflecting signal in a preset time period, so that the measured object is judged to be a water taking appliance or a non-water taking appliance, and the accuracy of the identification result can be improved.
In one embodiment, the stability includes a first stability of the reflected signal in the height direction and a second stability in the amplitude direction; the processor 320 is further configured to: and under the condition that the first stability reaches a first preset stability and the second stability reaches a second preset stability, determining the reflected signal as an error signal.
It will be appreciated that the stability contains two elements, namely height and amplitude, and the method of calculating the stability may be by way of integration, for example using the following equation (2):
Figure BDA0002858459370000131
wherein x is a first stability in the height direction, f (x) is a first stability in the height direction in a unit time, y is a second stability in the amplitude direction, f (y) is a second stability in the amplitude direction in a unit time, n is a preset time, and dt is a unit time.
Further, the first preset stability is a preset stability standard for determining that the stability in the height direction is higher in a preset time period, and the second preset stability is a preset stability standard for determining that the stability in the amplitude direction is higher in the preset time period.
Specifically, in the case where the proportional relationship between the height and the amplitude of the ultrasonic probe with respect to the measured object satisfies the preset proportional relationship, a first stability in the height direction and a second stability in the amplitude direction of the reflected signal in a preset time period may be determined by a specific algorithm formula, for example, the above formula (2), so that the first stability and the first preset stability are compared, the second stability and the second preset stability are compared, and in the case where it is determined that the first stability reaches the first preset stability and the second stability reaches the second preset stability, the reflected signal is judged to be an error signal (the measured object is, for example, a water drop), that is, an invalid water usage signal.
Further, under the condition that the first stability does not reach the first preset stability or the second stability does not reach the second preset stability, the water dispenser judges that the reflected signal is a normal signal (the measured object is a water taking appliance), namely an effective water using signal.
Understandably, the beads are normally very slow to move after they have agglomerated together, so that the first and second stabilities are high for a predetermined period of time (e.g., 2s), and the cup is stable only after a number of peaks of the beads have risen from the time it is placed in the irradiation zone to the time it is released. Therefore, the measured object whose first and second stabilities have reached the corresponding predetermined stability is determined as a non-water-taking appliance (e.g., a water drop), and the measured object whose first or second stability has not reached the corresponding predetermined stability is determined as a water-taking appliance (e.g., a cup).
When the proportional relation between the height and the amplitude of the ultrasonic detector relative to the measured object meets the preset proportional relation, whether the reflected signal is a correct signal or an error signal is further identified by determining the first stability in the height mode and the second stability in the amplitude direction and based on the first preset stability and the second preset stability, so that whether the measured object is a water taking appliance is judged, the accuracy of identification of the measured object can be improved, and the probability of false triggering of the water dispenser is reduced to the minimum.
Optionally, under the condition that the first stability does not reach the first preset stability or the second stability does not reach the second preset stability, the water dispenser recognizes the reflected signal as a correct signal, so as to determine that the detected object is a water taking appliance (such as a cup), and at this time, the water dispenser can be controlled to discharge water.
The device for identifying the error signal comprises a processor and a memory, wherein the processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, and the probability of the water dispenser false triggering event is reduced by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a processor configured to execute the method for identifying an error signal according to the foregoing embodiments.
The embodiment of the invention provides a water dispenser, which comprises a device for identifying an error signal according to the embodiment.
An embodiment of the present invention provides a machine-readable storage medium having stored thereon instructions, which, when executed by a processor, cause the processor to execute the method for identifying an error signal according to the above-described embodiments.
The present application also provides a computer program product adapted to execute a program initialized with the method for identifying an error signal in the above described embodiments when executed on a data processing device.
In summary, in the specific technical solution of the embodiment of the present invention, the drinking water machine determines the amplitude of the peak of the reflected signal, further determines the proportional relationship between the height of the ultrasonic detector relative to the object to be measured and the amplitude after determining that the amplitude of the peak is greater than the preset threshold, further determines a first stability in the height direction and a second stability in the amplitude direction of the reflected signal within a preset time period under the condition that the determined proportional relationship satisfies the preset proportional relationship, and determines that the reflected signal is an error signal and the object to be a non-water-taking appliance when the first stability reaches the first preset stability and the second stability reaches the second preset stability, and the above technical solution does not need to divert water droplets by means of an external hydrophobic material, reduces the cost of external materials, and can achieve the basic triggering to the accurate matching, the accuracy of the identification result of the water dispenser is improved, the false triggering probability of the water dispenser is greatly reduced, the safety of the water dispenser in the using process is improved, the service life of the water dispenser is prolonged while water is saved, and better water using experience is brought to users.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (15)

1. A method for identifying an error signal for use with a water dispenser including an ultrasonic detector, the method comprising:
acquiring a reflected signal received by the ultrasonic detector;
determining that the amplitude of a peak in the reflected signal is greater than a preset threshold;
determining the proportional relation between the height of the ultrasonic detector relative to the measured object and the amplitude;
determining that the proportional relation does not meet a preset proportional relation; and
identifying the reflected signal as an error signal.
2. The method according to claim 1, wherein the predetermined threshold is equal to the amplitude of the peak corresponding to the water dispenser with the minimum height allowed by the water dispenser minus an offset.
3. The method of claim 1 wherein determining the proportional relationship between the height of the ultrasound probe relative to the object under test and the amplitude comprises determining the proportional relationship according to equation (1):
-P ═ a ═ sin (t × x/2c) formula (1)
Wherein, a is the amplitude, P is the radiation power of the ultrasonic detector, t is the echo time, x is the height, and c is the wave speed of the sound wave emitted by the ultrasonic detector.
4. The method of claim 1, further comprising:
determining that the proportional relation meets the preset proportional relation;
and identifying the reflected signal as a normal signal.
5. The method of claim 4, further comprising:
under the condition that the proportional relation is determined to meet the preset proportional relation, determining the stability of the reflection signal in a preset time period;
and identifying the reflected signal as an error signal according to the stability.
6. The method of claim 5, wherein the stability comprises a first stability of the reflected signal in the height direction and a second stability in the amplitude direction; the identifying the reflected signal as an error signal according to the stability comprises:
and under the condition that the first stability degree is determined to reach a first preset stability degree and the second stability degree is determined to reach a second preset stability degree, determining the reflected signal as an error signal.
7. A processor, characterized in that the processor is configured to perform the method for identifying an error signal according to any one of claims 1 to 6.
8. An apparatus for identifying an error signal, comprising:
an ultrasonic detector; and
a processor configured to:
acquiring a reflected signal received by the ultrasonic detector;
determining that the amplitude of a peak in the reflected signal is greater than a preset threshold;
determining the proportional relation between the height of the ultrasonic detector relative to the measured object and the amplitude;
determining that the proportional relation does not meet a preset proportional relation; and
identifying the reflected signal as an error signal.
9. The apparatus according to claim 8, wherein the predetermined threshold is equal to the amplitude of the peak corresponding to the water dispenser with the minimum height allowed by the water dispenser minus an offset.
10. The apparatus of claim 8, wherein the processor is further configured to determine the proportional relationship according to equation (1):
-P ═ a ═ sin (t × x/2c) formula (1)
Wherein, a is the amplitude, P is the radiation power of the ultrasonic detector, t is the echo time, x is the height, and c is the wave speed of the sound wave emitted by the ultrasonic detector.
11. The apparatus of claim 8, wherein the processor is further configured to:
determining that the proportional relation meets the preset proportional relation;
and identifying the reflected signal as a normal signal.
12. The apparatus of claim 11, wherein the processor is further configured to:
under the condition that the proportional relation is determined to meet the preset proportional relation, determining the stability of the reflection signal in a preset time period;
and identifying the reflected signal as an error signal according to the stability.
13. The apparatus of claim 12, wherein the stability comprises a first stability of the reflected signal in the height direction and a second stability in the amplitude direction; the processor is further configured to:
and under the condition that the first stability degree is determined to reach a first preset stability degree and the second stability degree is determined to reach a second preset stability degree, determining the reflected signal as an error signal.
14. A water dispenser characterized by comprising a device for identifying an error signal according to any one of claims 8 to 13.
15. A machine-readable storage medium having instructions stored thereon, which when executed by a processor cause the processor to perform a method for identifying an error signal according to any one of claims 1 to 6.
CN202011554203.7A 2020-12-24 2020-12-24 Method, device, storage medium and processor for identifying error signal Active CN112586986B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011554203.7A CN112586986B (en) 2020-12-24 2020-12-24 Method, device, storage medium and processor for identifying error signal
PCT/CN2021/120181 WO2022134693A1 (en) 2020-12-24 2021-09-24 Method and apparatus for identifying error signal, storage medium, and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011554203.7A CN112586986B (en) 2020-12-24 2020-12-24 Method, device, storage medium and processor for identifying error signal

Publications (2)

Publication Number Publication Date
CN112586986A true CN112586986A (en) 2021-04-02
CN112586986B CN112586986B (en) 2023-05-30

Family

ID=75202402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011554203.7A Active CN112586986B (en) 2020-12-24 2020-12-24 Method, device, storage medium and processor for identifying error signal

Country Status (2)

Country Link
CN (1) CN112586986B (en)
WO (1) WO2022134693A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113143028A (en) * 2021-05-12 2021-07-23 佛山市顺德区美的洗涤电器制造有限公司 Control method and control device for water dispenser, storage medium and processor
CN114158946A (en) * 2021-11-23 2022-03-11 佛山市顺德区美的洗涤电器制造有限公司 Method for identifying object, water dispenser and storage medium
WO2022134693A1 (en) * 2020-12-24 2022-06-30 佛山市顺德区美的饮水机制造有限公司 Method and apparatus for identifying error signal, storage medium, and processor

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4433957A1 (en) * 1994-09-23 1996-03-28 Mayser Gmbh & Co Ultrasonic obstacle detection method
CN102323585A (en) * 2011-08-30 2012-01-18 广州优创电子有限公司 Treatment method for ultrasonic wave
WO2012150655A1 (en) * 2011-05-02 2012-11-08 Canon Kabushiki Kaisha Object information acquiring apparatus and method of controlling the same
CN104257270A (en) * 2014-08-22 2015-01-07 广州市番禺奥迪威电子有限公司 Water outlet control method and system of drinking water supply device
CN104608689A (en) * 2014-12-23 2015-05-13 陕西科技大学 Environmental detection system for motor vehicle at low speed
CN108303697A (en) * 2017-01-13 2018-07-20 杭州海康威视数字技术股份有限公司 A kind of ultrasonic detection method of barrier, apparatus and system
CN109633655A (en) * 2018-12-29 2019-04-16 肇庆奥迪威传感科技有限公司 Ultrasonic ranging method and supersonic range finder
CN110850860A (en) * 2018-08-02 2020-02-28 苏州宝时得电动工具有限公司 Object detection method and device for automatic mower and automatic mower
CN111366933A (en) * 2020-03-02 2020-07-03 浙江吉利汽车研究院有限公司 Ultrasonic ranging method, device, equipment and medium
CN111521678A (en) * 2020-05-04 2020-08-11 杭州晶一智能科技有限公司 Grassland identification method based on sound wave reflection peak analysis

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6082419A (en) * 1998-04-01 2000-07-04 Electro-Pro, Inc. Control method and apparatus to detect the presence of a first object and monitor a relative position of the first or subsequent objects such as container identification and product fill control
DE102004050365A1 (en) * 2004-10-15 2006-04-27 BSH Bosch und Siemens Hausgeräte GmbH beverage maker
CN104757877A (en) * 2015-04-30 2015-07-08 佛山市美的清湖净水设备有限公司 Water dispenser and water outlet control method thereof
CN111854890B (en) * 2019-04-30 2022-04-15 合肥华凌股份有限公司 Liquid level position detection device, equipment and water supply equipment
CN112586986B (en) * 2020-12-24 2023-05-30 佛山市顺德区美的饮水机制造有限公司 Method, device, storage medium and processor for identifying error signal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4433957A1 (en) * 1994-09-23 1996-03-28 Mayser Gmbh & Co Ultrasonic obstacle detection method
WO2012150655A1 (en) * 2011-05-02 2012-11-08 Canon Kabushiki Kaisha Object information acquiring apparatus and method of controlling the same
CN102323585A (en) * 2011-08-30 2012-01-18 广州优创电子有限公司 Treatment method for ultrasonic wave
CN104257270A (en) * 2014-08-22 2015-01-07 广州市番禺奥迪威电子有限公司 Water outlet control method and system of drinking water supply device
CN104608689A (en) * 2014-12-23 2015-05-13 陕西科技大学 Environmental detection system for motor vehicle at low speed
CN108303697A (en) * 2017-01-13 2018-07-20 杭州海康威视数字技术股份有限公司 A kind of ultrasonic detection method of barrier, apparatus and system
CN110850860A (en) * 2018-08-02 2020-02-28 苏州宝时得电动工具有限公司 Object detection method and device for automatic mower and automatic mower
CN109633655A (en) * 2018-12-29 2019-04-16 肇庆奥迪威传感科技有限公司 Ultrasonic ranging method and supersonic range finder
CN111366933A (en) * 2020-03-02 2020-07-03 浙江吉利汽车研究院有限公司 Ultrasonic ranging method, device, equipment and medium
CN111521678A (en) * 2020-05-04 2020-08-11 杭州晶一智能科技有限公司 Grassland identification method based on sound wave reflection peak analysis

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022134693A1 (en) * 2020-12-24 2022-06-30 佛山市顺德区美的饮水机制造有限公司 Method and apparatus for identifying error signal, storage medium, and processor
CN113143028A (en) * 2021-05-12 2021-07-23 佛山市顺德区美的洗涤电器制造有限公司 Control method and control device for water dispenser, storage medium and processor
CN113143028B (en) * 2021-05-12 2023-03-21 佛山市顺德区美的洗涤电器制造有限公司 Control method and control device for water dispenser, storage medium and processor
CN114158946A (en) * 2021-11-23 2022-03-11 佛山市顺德区美的洗涤电器制造有限公司 Method for identifying object, water dispenser and storage medium
CN114158946B (en) * 2021-11-23 2023-06-23 佛山市顺德区美的洗涤电器制造有限公司 Method for identifying object, water dispenser and storage medium

Also Published As

Publication number Publication date
WO2022134693A1 (en) 2022-06-30
CN112586986B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
CN112586986A (en) Method, device, storage medium and processor for identifying error signal
US8276444B2 (en) Method for ascertaining and monitoring fill level of a medium in a container using a travel time, measuring method
US6298008B1 (en) Pulse-echo system for mediums having varying densities
US10048355B2 (en) Method and radar apparatus for detecting target object
US20170363736A1 (en) Radar device and control method of radar device
KR960706087A (en) Obstacle Detection Method Using Ultrasound
CN110619764B (en) Method and device for detecting obstacle
JP7161071B2 (en) Method and device for evaluating object height by means of ultrasonic signals received by ultrasonic sensors mounted on vehicles
JP5078944B2 (en) Vehicle travel control device
CN110346803A (en) The parking assistance system of vehicle and the method for improving ultrasonic sensor detection performance
US11029190B2 (en) Velocity sensor with parabolic reflector
JP2019158814A (en) Radar system and method for controlling radar system
CN113589293B (en) Signal identification method and device for ultrasonic water dispenser and processor
CN113143028B (en) Control method and control device for water dispenser, storage medium and processor
CN112731406B (en) Method, device, storage medium and processor for identifying interference signals
CN107980102B (en) Laser radar scanning method and laser radar
KR20220154779A (en) Signal processing method and apparatus, and storage medium
US20210389446A1 (en) Object detector
CN114158946B (en) Method for identifying object, water dispenser and storage medium
CN112801024B (en) Detection information processing method and device
CN107505027B (en) Reflective microwave barrier
US10330774B2 (en) Method and apparatus for computationally efficient target acquisition and tracking using a radar
CN112971533A (en) Control method and control device for water dispenser, storage medium and processor
CN112754293A (en) Device and method for water dispenser, water dispenser and medium
JP2017227622A (en) Radar device and radar device control method

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