CN110345888B - Method and device for measuring physical dimensions of an object, drinking device and storage medium - Google Patents

Method and device for measuring physical dimensions of an object, drinking device and storage medium Download PDF

Info

Publication number
CN110345888B
CN110345888B CN201910732823.6A CN201910732823A CN110345888B CN 110345888 B CN110345888 B CN 110345888B CN 201910732823 A CN201910732823 A CN 201910732823A CN 110345888 B CN110345888 B CN 110345888B
Authority
CN
China
Prior art keywords
ultrasonic signal
ultrasonic
energy amplitude
energy
physical size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910732823.6A
Other languages
Chinese (zh)
Other versions
CN110345888A (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.)
Midea Group Co Ltd
Foshan Shunde Midea Water Dispenser Manufacturing Co Ltd
Original Assignee
Midea Group Co Ltd
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 Midea Group Co Ltd, Foshan Shunde Midea Water Dispenser Manufacturing Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201910732823.6A priority Critical patent/CN110345888B/en
Publication of CN110345888A publication Critical patent/CN110345888A/en
Application granted granted Critical
Publication of CN110345888B publication Critical patent/CN110345888B/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
    • 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B15/00Measuring arrangements characterised by the use of electromagnetic waves or particle radiation, e.g. by the use of microwaves, X-rays, gamma rays or electrons

Landscapes

  • Engineering & Computer Science (AREA)
  • Food Science & Technology (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

The embodiment of the invention provides a method and a device for measuring physical dimensions of an object, drinking equipment and a storage medium, and belongs to the field of ultrasonic detection. The method comprises the following steps: transmitting an ultrasonic signal to a placement area of the object; receiving a first ultrasonic signal and a second ultrasonic signal reflected by the object at opposite sides of a transmitting position of the ultrasonic signal, respectively; determining a first energy amplitude of the first ultrasonic signal and a second energy amplitude of the second ultrasonic signal; and selecting at least one of the first ultrasonic signal and the second ultrasonic signal to determine a physical dimension of the object based on the first energy amplitude and the second energy amplitude. Therefore, the ultrasonic signals reflected by the object are respectively received at the two sides of the transmitting position of the ultrasonic signals, so that the detection range can be enlarged, the detection blind area can be reduced, and the detection precision can be improved.

Description

Method and device for measuring physical dimensions of an object, drinking device and storage medium
Technical Field
The invention relates to the field of ultrasonic detection, in particular to a method and a device for measuring physical dimensions of an object, drinking equipment and a storage medium.
Background
In the measurement application of the ultrasonic wave, the distance between an object and an ultrasonic wave emission source can be calculated according to the speed of the ultrasonic wave and the elapsed time by utilizing the characteristic that the ultrasonic wave meets the obstacle for reflection, so that feedback graphs of different height surfaces of the object to be measured can be indirectly reflected on the time axis of the ultrasonic wave, and information such as the height of the object to be measured can be calculated according to the feedback waveform. However, in some cases, when an object is detected by ultrasonic waves, a large detection blind area may occur due to a positional deviation of the object to be detected, thereby affecting a detection result.
Disclosure of Invention
In order to at least partially solve the above problems occurring in the prior art, an object of embodiments of the present invention is to provide a method, an apparatus, a drinking device and a storage medium for measuring a physical dimension of an object.
In order to achieve the above object, an embodiment of the present invention provides a method for measuring a physical dimension of an object, the method including: transmitting an ultrasonic signal to a placement area of the object; receiving a first ultrasonic signal and a second ultrasonic signal reflected by the object at opposite sides of a transmitting position of the ultrasonic signal, respectively; determining a first energy amplitude of the first ultrasonic signal and a second energy amplitude of the second ultrasonic signal; and selecting at least one of the first ultrasonic signal and the second ultrasonic signal to determine a physical dimension of the object based on the first energy amplitude and the second energy amplitude.
Optionally, before determining the first energy amplitude of the first ultrasonic signal and the second energy amplitude of the second ultrasonic signal, the method further comprises: determining a first physical dimension from the first ultrasonic signal; determining a second physical size from the second ultrasonic signal; and determining that the first physical size matches the second physical size.
Optionally, the matching of the first physical size and the second physical size includes that the first physical size and the second physical size are the same or that a deviation between the first physical size and the second physical size is within a first preset deviation range.
Optionally, the selecting at least one of the first ultrasonic signal and the second ultrasonic signal to determine the physical dimension according to the first energy amplitude and the second energy amplitude comprises: comparing the first energy amplitude to the second energy amplitude; selecting one of the first ultrasonic signal and the second ultrasonic signal with larger energy amplitude to determine the physical size under the condition that the comparison result is that the first energy amplitude is not matched with the second energy amplitude; and selecting either or both of the first ultrasonic signal and the second ultrasonic signal to determine the physical dimension if the comparison result is that the first energy amplitude matches the second energy amplitude.
Optionally, the matching of the first energy amplitude and the second energy amplitude comprises that the first energy amplitude and the second energy amplitude are the same or that a deviation between the first energy amplitude and the second energy amplitude is within a second preset deviation range.
Optionally, the physical dimension comprises one of a length, a width, and a height.
Optionally, the object comprises a water receptacle, the method further comprising: selecting at least one of the first ultrasonic signal and the second ultrasonic signal to determine a level of liquid in the water-receiving container based on the first energy amplitude and the second energy amplitude.
In another aspect, an embodiment of the present invention further provides an apparatus for measuring a physical dimension of an object, the apparatus including: an ultrasonic transmitter configured to transmit an ultrasonic signal to a placement area of the object; a first ultrasonic receiver configured to receive a first ultrasonic signal of the ultrasonic signal after being reflected by the object; a second ultrasonic receiver configured to receive a second ultrasonic signal of the ultrasonic signal reflected by the object, wherein the first ultrasonic receiver and the second ultrasonic receiver are respectively disposed on opposite sides of the ultrasonic transmitter; and a processor configured to: determining a first energy amplitude of the first ultrasonic signal and a second energy amplitude of the second ultrasonic signal; and selecting at least one of the first ultrasonic signal and the second ultrasonic signal to determine a physical dimension of the object based on the first energy amplitude and the second energy amplitude.
Optionally, the processor, prior to determining the first energy amplitude of the first ultrasonic signal and the second energy amplitude of the second ultrasonic signal, is further configured to: determining a first physical dimension from the first ultrasonic signal; determining a second physical size from the second ultrasonic signal; and determining that the first physical size matches the second physical size.
Optionally, the matching of the first physical size and the second physical size includes that the first physical size and the second physical size are the same or that a deviation between the first physical size and the second physical size is within a first preset deviation range.
Optionally, the processor selecting at least one of the first ultrasonic signal and the second ultrasonic signal to determine the physical dimension according to the first energy amplitude and the second energy amplitude comprises: comparing the first energy amplitude to the second energy amplitude; selecting one of the first ultrasonic signal and the second ultrasonic signal with larger energy amplitude to determine the physical size under the condition that the comparison result is that the first energy amplitude is not matched with the second energy amplitude; and selecting either or both of the first ultrasonic signal and the second ultrasonic signal to determine the physical dimension if the comparison result is that the first energy amplitude matches the second energy amplitude.
Optionally, the matching of the first energy amplitude and the second energy amplitude comprises that the first energy amplitude and the second energy amplitude are the same or that a deviation between the first energy amplitude and the second energy amplitude is within a second preset deviation range.
Optionally, the physical dimension comprises one of a length, a width, and a height.
Optionally, the object comprises a water receptacle, the processor further configured to: selecting at least one of the first ultrasonic signal and the second ultrasonic signal to determine a level of liquid in the water-receiving container based on the first energy amplitude and the second energy amplitude.
Correspondingly, the embodiment of the invention also provides a drinking water device which comprises the device for measuring the physical size of the object.
Optionally, the ultrasonic transmitter is disposed directly above a water receiving area of the drinking water device and configured to transmit the ultrasonic signal to the water receiving area of the drinking water device, and the first ultrasonic receiver and the second ultrasonic receiver are symmetrically disposed on left and right sides of the ultrasonic transmitter.
Optionally, the drinking apparatus comprises a water fountain, a coffee maker or a juice maker.
Furthermore, the present invention also provides a machine-readable storage medium having stored thereon instructions for enabling a processor to execute the above-mentioned method for measuring a physical dimension of an object when the instructions are executed by the processor.
In the technical scheme, the ultrasonic signals reflected by the object are respectively received at the two sides of the transmitting position of the ultrasonic signals, so that the detection range can be enlarged, and the detection blind area is reduced. By comparing the energy amplitudes of the ultrasonic signals received at different positions, the offset direction of the object can be determined, so that a more appropriate ultrasonic signal can be selected from the received ultrasonic signals to determine the physical size of the object, and the detection precision 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 of a method for measuring a physical dimension of an object provided by one embodiment of the present invention;
FIG. 2 is a graph of a position profile of an ultrasonic signal transmitter and an ultrasonic signal receiver provided in an alternative embodiment of the invention;
FIGS. 3 to 5 are schematic views of a drinking device according to an alternative embodiment of the present invention; and
fig. 6 is a block diagram of an apparatus for measuring a physical dimension of an object according to an embodiment of the present invention.
Description of the reference numerals
11 ultrasonic transmitter 12 first ultrasonic receiver
13 second ultrasonic receiver 14 processor
21 cup 22 water outlet
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 the present invention, are given by way of illustration and explanation only, not limitation.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in the embodiments of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between the various embodiments can be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not be within the protection scope of the present invention.
Fig. 1 is a flow chart of a method for measuring a physical dimension of an object according to an embodiment of the present invention. As shown in fig. 1, an embodiment of the present invention provides a method for measuring a physical dimension of an object, the method including the steps of:
step S11, an ultrasonic signal is emitted to the placement area of the object.
Wherein the ultrasonic signal can be emitted by an ultrasonic emitter. For example, when the object is a water receiving container such as a cup, the cup can be placed vertically in order to measure the height of the cup. The ultrasonic emitter sends an ultrasonic signal to the water cup from the upper part of the water cup so as to detect a first distance between the cup edge at the top of the water cup and the ultrasonic emitter, and if a second distance between a plane where the water cup is located and the ultrasonic emitter is known or can be obtained through detection, the difference between the second distance and the first distance is the height of the water cup.
Step S12, receiving the first ultrasonic signal and the second ultrasonic signal reflected by the object at opposite sides of the emission position of the ultrasonic signal, respectively.
In particular, ultrasonic receivers may be respectively disposed at opposite sides of the ultrasonic transmitter, and two ultrasonic receivers may be disposed adjacent to the ultrasonic transmitter. The first ultrasonic receiver is used for receiving a first ultrasonic signal which is reflected to the position of the first ultrasonic receiver after the ultrasonic signal is reflected by an object, and the second ultrasonic receiver is used for receiving a second ultrasonic signal which is reflected to the position of the second ultrasonic receiver after the ultrasonic signal is reflected by the object. For example, a first ultrasonic receiver may be disposed at a left side of the ultrasonic transmitter and configured to receive a first ultrasonic signal reflected to the left side by the ultrasonic signal reflected by the object, and a second ultrasonic receiver may be disposed at a right side of the ultrasonic transmitter and configured to receive a second ultrasonic signal reflected to the right side by the ultrasonic signal reflected by the object.
In step S13, a first energy amplitude of the first ultrasonic signal and a second energy amplitude of the second ultrasonic signal are determined.
In step S13, upon receiving the first ultrasonic signal and the second ultrasonic signal, a first energy amplitude of the first ultrasonic signal and a second energy amplitude of the second ultrasonic signal may be determined, respectively. The first energy amplitude may be a maximum energy amplitude of the first ultrasonic signal, and the second energy amplitude may be a maximum energy amplitude of the second ultrasonic signal. Furthermore, in further embodiments, the first energy amplitude and the second energy amplitude may also be an average energy amplitude of the first ultrasonic signal and the second ultrasonic signal, respectively.
Step S14, selecting at least one of the first ultrasonic signal and the second ultrasonic signal according to the first energy amplitude and the second energy amplitude to determine the physical size of the object.
Specifically, the first ultrasonic receiver and the second ultrasonic receiver may be located on opposite sides (e.g., left and right sides or front and rear sides) of the ultrasonic transmitter, respectively. After receiving the first ultrasonic signal and the second ultrasonic signal, the first energy amplitude of the first ultrasonic signal may be compared with the second energy amplitude of the second ultrasonic signal, and in a case that the first energy amplitude does not match with the second energy amplitude as a result of the comparison, one of the first ultrasonic signal and the second ultrasonic signal having a larger energy amplitude is selected to determine the physical size. In the case where the comparison results in the first energy amplitude matching the second energy amplitude, either or both of the first ultrasonic signal and the second ultrasonic signal are selected to determine the physical size of the object. The matching of the first energy amplitude and the second energy amplitude comprises that the first energy amplitude is the same as the second energy amplitude or the deviation between the first energy amplitude and the second energy amplitude is within a second preset deviation range. Wherein the second preset deviation range may be determined according to actual conditions, such that in case that the deviation between the first energy amplitude and the second energy amplitude is within the second preset deviation range, the deviation between the physical dimensions of the object determined by the first ultrasonic signal and the second ultrasonic signal is within an acceptable range, i.e. the physical dimensions of the object determined by the first ultrasonic signal and the second ultrasonic signal are substantially the same. Wherein the physical dimension of the object may comprise one of a length, a width and a height.
In an alternative embodiment of the present invention, between step S12 and step S13, the method may further include:
in step S21, a first physical dimension is determined based on the first ultrasonic signal.
In step S22, a second physical size is determined based on the second ultrasonic signal.
In step S23, it is determined that the first physical size matches the second physical size.
Wherein, the sequence between step S21 and step S22 can be interchanged or performed simultaneously.
Specifically, in steps S21 and S22, the physical size of the object may be determined from the first ultrasonic signal and the second ultrasonic signal, respectively. Specifically, the physical size of the object may be determined according to the time and the sound speed at which the first ultrasonic signal and the second ultrasonic signal are received, respectively.
For example, the height of the cup may be determined based on the first ultrasonic signal and the second ultrasonic signal, respectively. Specifically, an ultrasonic signal can be transmitted to the cup from the upper side of the cup through the ultrasonic transmitter, the first ultrasonic signal and the second ultrasonic signal reflected by the cup are respectively received through the first ultrasonic receiver and the second ultrasonic receiver which are arranged on the left side and the right side of the ultrasonic transmitter, and the first receiving time of the first ultrasonic signal and the second receiving time of the second ultrasonic signal are respectively determined. Under the condition that the sound velocity is known, a first detection distance between the cup edge of the water cup and the ultrasonic transmitter can be determined according to the time difference between the first receiving time and the transmitting time of the ultrasonic signal, and a second detection distance between the cup edge of the water cup and the ultrasonic transmitter can be determined according to the time difference between the second receiving time and the transmitting time of the ultrasonic signal. If the distance between the plane of the cup and the ultrasonic emitter (i.e. the distance between the cup bottom and the ultrasonic emitter) is known or can be determined by detection, the height of the cup can be determined by the first detection distance and the second detection distance, respectively.
In step S23, the first physical size determined from the first ultrasonic signal may be compared with the second physical size determined from the second ultrasonic signal, and in the case where the first physical size and the second physical size match, step S13 may be performed. The matching of the first physical size and the second physical size comprises that the first physical size and the second physical size are the same or the deviation between the first physical size and the second physical size is within a first preset deviation range. The first preset deviation range may be preset according to an actual situation, so that when the deviation between the first physical size and the second physical size is within the first preset deviation range, it may be determined that the first ultrasonic signal and the second ultrasonic signal are reflected by the same object. In this manner, by comparing the first physical dimension with the second physical dimension, it can be determined whether the first ultrasonic signal and the second ultrasonic signal are reflected via the same object.
In an alternative embodiment of the present invention, as shown in fig. 2 to 5, the method for measuring the physical size of an object may be used for measuring the height of a docked water container in a drinking water appliance. The water receptacle is, for example, a cup 21. The cup 21 can be placed in a designated water receiving area below the water outlet 22 when water is taken. The ultrasonic transmitter 11, the first ultrasonic receiver 12 and the second ultrasonic receiver 13 may be located above the water cup 21 and integrated on the same module as the water outlet 22. As shown in fig. 2, the ultrasonic transmitter 11, the first ultrasonic receiver 12 and the second ultrasonic receiver 13 may be distributed around the water outlet 22, the ultrasonic transmitter 11 is located inside the water outlet 22 (i.e., on the side facing the vertical paper in fig. 3 to 5), the first ultrasonic receiver 12 and the second ultrasonic receiver 13 are disposed on the left and right sides of the ultrasonic transmitter 11, and the first ultrasonic receiver 12 and the second ultrasonic receiver 13 may be located at the same distance from the ultrasonic transmitter 11, but may be angled with respect to the left and right directions with respect to a line connecting the ultrasonic transmitter 11.
The cup 21 is typically placed in the water receiving area directly below the ultrasonic emitter 11 (i.e., where the cup 21 is located in FIG. 3). However, due to the placement error, the cup 21 may be deviated from the ultrasonic transmitter 11 (for example, the cup 21 is placed to the left or right as shown in fig. 2 or 3). In order to reduce detection errors due to misalignment of the cup 21, the first ultrasonic receiver 12 and the second ultrasonic receiver 13 are symmetrically arranged in a direction (for example, left-right direction) in which the cup 21 may be misaligned.
As shown in fig. 3 to 5, during the detection, an ultrasonic signal may be first transmitted by the ultrasonic transmitter 11 and received by the first ultrasonic receiver 12 and the second ultrasonic receiver 13. For the sake of simplicity of description, the ultrasonic signal received by the first ultrasonic receiver 12 is defined as a first ultrasonic signal, and the ultrasonic signal received by the second ultrasonic receiver 13 is defined as a second ultrasonic signal. In which the radiation range of the ultrasonic wave signal emitted by the ultrasonic transmitter 11 and the path of the partially reflected ultrasonic wave signal are shown by arrows in fig. 3 to 5.
As shown in fig. 3, if the water cup 21 is located directly below the ultrasonic transmitter, the energy amplitudes of the ultrasonic signals reflected to the first ultrasonic receiver 12 and the second ultrasonic receiver 13 through the water cup 21 are substantially the same, i.e., the energy amplitudes of the first ultrasonic signal and the second ultrasonic signal are matched. Therefore, one of the first ultrasonic receiver 12 and the second ultrasonic receiver 13 can be selected to detect the height of the water cup together with the ultrasonic transmitter 11, i.e., the height of the water cup can be determined according to one of the first ultrasonic signal and the second ultrasonic signal. In addition, the height of the water cup can be determined through the first ultrasonic signal and the second ultrasonic signal respectively, and the average value of the first ultrasonic signal and the second ultrasonic signal is used as the final detection height of the water cup.
As shown in fig. 4, if the cup 21 is positioned at a left side relative to the position in fig. 3, the ultrasonic signal (i.e., the second ultrasonic signal) reflected by the ultrasonic transmitter 11 toward the second ultrasonic receiver 13 after being reflected by the cup 21 is more divergent, so that the energy amplitude (i.e., the first energy amplitude) of the first ultrasonic signal received by the first ultrasonic receiver 12 is greater than the energy amplitude (i.e., the second energy amplitude) of the second ultrasonic signal received by the second ultrasonic receiver 13. Therefore, in the case that the first energy amplitude is determined to be greater than the second energy amplitude, which indicates that the cup 21 is placed to the left, the second ultrasonic receiver 13 may have a detection blind area, and therefore the first ultrasonic receiver 12 and the ultrasonic transmitter 11 may be used to detect the height of the cup 21, that is, the height of the cup 21 is determined according to the first ultrasonic signal received by the first ultrasonic receiver 12.
As shown in fig. 5, if the cup 21 is positioned to the right relative to the position shown in fig. 3, the ultrasonic signal (i.e., the first ultrasonic signal) reflected by the ultrasonic transmitter 11 toward the first ultrasonic receiver 12 after being reflected by the cup 21 is more divergent, so that the energy amplitude (i.e., the second energy amplitude) of the second ultrasonic signal received by the second ultrasonic receiver 13 is greater than the energy amplitude (i.e., the first energy amplitude) of the first ultrasonic signal received by the first ultrasonic receiver 12. Therefore, in the case that the second energy amplitude is determined to be greater than the first energy amplitude, which indicates that the cup 21 is placed to the right, the first ultrasonic receiver 12 may have a detection blind area, and therefore the height of the cup 21 can be detected by using the second ultrasonic receiver 13 and the ultrasonic transmitter 11, that is, the height of the cup 21 is determined according to the second ultrasonic signal received by the second ultrasonic receiver 13.
In addition, the first ultrasonic signal and the second ultrasonic signal are not limited to detecting the height of the water receiving container such as the water cup 21, and in other alternative embodiments, the first ultrasonic signal and the second ultrasonic signal may also be used for detecting the liquid level of the liquid in the water receiving container. That is, the level of the liquid in the water receiving container may also be determined by selecting at least one of the first ultrasonic signal and the second ultrasonic signal according to the first energy amplitude and the second energy amplitude. Specifically, in the case that the water receiving container is correctly placed in the water receiving area, the liquid level of the liquid in the water receiving container may be determined according to at least one of the first ultrasonic signal and the second ultrasonic signal; under the condition that the water receiving container is arranged on the left side relative to the water receiving area, the liquid level of liquid in the water receiving container can be determined according to the first ultrasonic signal; under the condition that the water receiving container is arranged on the right relative to the water receiving area, the liquid level of the liquid in the water receiving container can be determined according to the second ultrasonic signal.
Therefore, the ultrasonic signals reflected by the object are respectively received at the two sides of the transmitting position of the ultrasonic signals, so that the detection range can be enlarged, and the detection blind area is reduced. By comparing the energy amplitudes of the ultrasonic signals received at different positions, the offset direction of the object can be determined, so that a more appropriate ultrasonic signal can be selected from the received ultrasonic signals to determine the physical size of the object, and the detection precision is improved.
Fig. 6 is a block diagram of an apparatus for measuring a physical dimension of an object according to an embodiment of the present invention. As shown in fig. 6, the embodiment of the present invention also provides an apparatus for measuring a physical size of an object, which may include an ultrasonic transmitter 11, a first ultrasonic receiver 12, a second ultrasonic receiver 13, and a processor 14. Wherein the ultrasonic transmitter 11 is configured to transmit an ultrasonic signal to the placement area of the object. The first ultrasonic receiver 12 is configured to receive a first ultrasonic signal after the ultrasonic signal is reflected by an object. The second ultrasonic receiver 13 is configured to receive a second ultrasonic signal after the ultrasonic signal is reflected by the object. Wherein the first ultrasonic receiver 12 and the second ultrasonic receiver 13 are respectively disposed at opposite sides of the ultrasonic transmitter 11. The processor 14 is configured to determine a first energy amplitude of the first ultrasonic signal and a second energy amplitude of the second ultrasonic signal, and select at least one of the first ultrasonic signal and the second ultrasonic signal to determine a physical dimension of the object based on the first energy amplitude and the second energy amplitude. Among other things, the processor 14 may include, but is not limited to: a general purpose processor, a special purpose processor, a conventional processor, a Digital Signal Processor (DSP), a plurality of microprocessors, one or more microprocessors in association with a DSP core, a controller, a microcontroller, a single chip, an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) circuit, any other type of Integrated Circuit (IC), a state machine, and the like. Additionally, the physical dimension of the object may include one of a length, a width, and a height.
In an alternative embodiment of the present invention, the processor 14, prior to determining the first energy amplitude of the first ultrasonic signal and the second energy amplitude of the second ultrasonic signal, is further configured to: determining a first physical size from the first ultrasonic signal, determining a second physical size from the second ultrasonic signal, and determining that the first physical size matches the second physical size. Wherein the matching of the first physical size and the second physical size comprises: the first physical size is the same as the second physical size or the deviation between the first physical size and the second physical size is within a first preset deviation range.
That is, before determining the first energy amplitude of the first ultrasonic signal and the second energy amplitude of the second ultrasonic signal, the processor 14 may determine the physical size of the object from the first ultrasonic signal and the second ultrasonic signal, respectively, and if the physical sizes of the objects are determined to be close to each other, it may be determined that the first ultrasonic signal and the second ultrasonic signal are reflected by the same object, and if the physical sizes of the objects are determined to be different from each other, it may be determined that the first ultrasonic signal and the second ultrasonic signal are reflected by different objects, and therefore, the first ultrasonic signal and the second ultrasonic signal cannot be compared.
In an alternative embodiment of the present invention, the processor 14 selecting at least one of the first ultrasonic signal and the second ultrasonic signal to determine the physical dimension according to the first energy magnitude and the second energy magnitude may include: comparing the first energy amplitude to the second energy amplitude; under the condition that the comparison result is that the first energy amplitude is not matched with the second energy amplitude, selecting one of the first ultrasonic signal and the second ultrasonic signal with larger energy amplitude to determine the physical size of the object; in the case where the comparison results in the first energy amplitude matching the second energy amplitude, either or both of the first ultrasonic signal and the second ultrasonic signal are selected to determine the physical size of the object. Wherein the matching of the first energy amplitude to the second energy amplitude comprises: the first energy amplitude is the same as the second energy amplitude or the deviation between the first energy amplitude and the second energy amplitude is within a second preset deviation range.
As an alternative embodiment of the invention, the object may comprise a water receptacle, the processor 14 being further configured to: at least one of the first ultrasonic signal and the second ultrasonic signal is selected according to the first energy amplitude and the second energy amplitude to determine the liquid level of the liquid in the water receiving container.
As shown in fig. 3 to 6, the embodiment of the present invention also provides a drinking water apparatus, which may include the above-mentioned device for measuring the physical size of an object. The ultrasonic transmitter 11 may be disposed right above the water receiving area of the drinking device (i.e., the position of the water cup 21 in fig. 3), and configured to transmit an ultrasonic signal to the water receiving area of the drinking device. The first ultrasonic receiver 12 and the second ultrasonic receiver 13 may be symmetrically disposed at left and right sides of the ultrasonic transmitter 11. Therefore, in the process of using a water receiving container such as a water cup 21 to receive water, the water drinking equipment can automatically determine whether the water receiving container has position deviation relative to the designated water receiving area, and can select an ultrasonic signal received by a proper ultrasonic receiver to determine information such as the height and the liquid level of the water receiving container under the condition that the water receiving container has position deviation relative to the designated water receiving area, so that the detection of the information such as the size and the liquid level of the water receiving container is more accurate. Wherein, the drinking equipment can comprise a water dispenser, a coffee machine or a juice machine and the like.
Furthermore, the present invention also provides a machine-readable storage medium having stored thereon instructions for enabling a processor to execute the above-mentioned method for measuring a physical dimension of an object when the instructions are executed by the processor.
While the invention has been described in detail with reference to the drawings, the invention is not limited to the details of the embodiments, and various simple modifications can be made within the technical spirit of the embodiments of the invention.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, the embodiments of the present invention will not be described separately for the various possible combinations.
Those skilled in the art will appreciate that all or part of the steps in the method according to the above embodiments may be implemented by a program, which is stored in a storage medium and includes instructions for causing a single chip, a chip, or a processor (processor) to execute all or part of the steps in the method according to 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), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In addition, any combination of the various embodiments of the present invention is also possible, and the same should be considered as the disclosure of the present invention as long as it does not depart from the idea of the embodiments of the present invention.

Claims (14)

1. A method for measuring a physical dimension of an object, the method comprising:
transmitting an ultrasonic signal to a placement area of the object; the ultrasonic signal is transmitted by an ultrasonic transmitter;
receiving a first ultrasonic signal and a second ultrasonic signal reflected by the object at opposite sides of a transmitting position of the ultrasonic signal, respectively; the first ultrasonic signal is received by a first ultrasonic receiver; the second ultrasonic signal is received by a second ultrasonic receiver; the first ultrasonic receiver and the second ultrasonic receiver are respectively arranged on two opposite sides of the ultrasonic transmitter;
determining a first physical dimension from the first ultrasonic signal;
determining a second physical size from the second ultrasonic signal;
determining that the first physical size matches the second physical size;
determining a first energy amplitude of the first ultrasonic signal and a second energy amplitude of the second ultrasonic signal; and
selecting at least one of the first ultrasonic signal and the second ultrasonic signal to determine a physical dimension of the object as a function of the first energy amplitude and the second energy amplitude;
wherein said selecting at least one of the first and second ultrasonic signals to determine the physical dimension as a function of the first and second energy magnitudes comprises:
comparing the first energy amplitude to the second energy amplitude;
selecting one of the first ultrasonic signal and the second ultrasonic signal with larger energy amplitude to determine the physical size under the condition that the comparison result is that the first energy amplitude is not matched with the second energy amplitude; and
selecting either or both of the first ultrasonic signal and the second ultrasonic signal to determine the physical dimension if the comparison results in the first energy amplitude matching the second energy amplitude.
2. The method of claim 1, wherein the first physical size matching the second physical size comprises the first physical size being the same as the second physical size or a deviation between the first physical size and the second physical size being within a first preset deviation range.
3. The method of claim 1, wherein the matching of the first energy magnitude to the second energy magnitude comprises the first energy magnitude being the same as the second energy magnitude or a deviation between the first energy magnitude and the second energy magnitude being within a second predetermined deviation range.
4. The method of claim 1, wherein the physical dimension comprises one of a length, a width, and a height.
5. The method of claim 1, wherein the object comprises a water-receiving container, the method further comprising: selecting at least one of the first ultrasonic signal and the second ultrasonic signal to determine a level of liquid in the water-receiving container based on the first energy amplitude and the second energy amplitude.
6. An apparatus for measuring a physical dimension of an object, the apparatus comprising:
an ultrasonic transmitter configured to transmit an ultrasonic signal to a placement area of the object;
a first ultrasonic receiver configured to receive a first ultrasonic signal of the ultrasonic signal after being reflected by the object;
a second ultrasonic receiver configured to receive a second ultrasonic signal of the ultrasonic signal reflected by the object, wherein the first ultrasonic receiver and the second ultrasonic receiver are respectively disposed on opposite sides of the ultrasonic transmitter; and
a processor configured to:
determining a first physical dimension from the first ultrasonic signal;
determining a second physical size from the second ultrasonic signal;
determining that the first physical size matches the second physical size;
determining a first energy amplitude of the first ultrasonic signal and a second energy amplitude of the second ultrasonic signal; and
selecting at least one of the first ultrasonic signal and the second ultrasonic signal to determine a physical dimension of the object as a function of the first energy amplitude and the second energy amplitude;
wherein the processor selecting at least one of the first ultrasonic signal and the second ultrasonic signal to determine the physical dimension as a function of the first energy amplitude and the second energy amplitude comprises:
comparing the first energy amplitude to the second energy amplitude;
selecting one of the first ultrasonic signal and the second ultrasonic signal with larger energy amplitude to determine the physical size under the condition that the comparison result is that the first energy amplitude is not matched with the second energy amplitude; and
selecting either or both of the first ultrasonic signal and the second ultrasonic signal to determine the physical dimension if the comparison results in the first energy amplitude matching the second energy amplitude.
7. The apparatus of claim 6, wherein the first physical size matching the second physical size comprises the first physical size being the same as the second physical size or a deviation between the first physical size and the second physical size being within a first preset deviation range.
8. The apparatus of claim 6, wherein the first energy magnitude matching the second energy magnitude comprises the first energy magnitude being the same as the second energy magnitude or a deviation between the first energy magnitude and the second energy magnitude being within a second predetermined deviation range.
9. The apparatus of claim 6, wherein the physical dimension comprises one of a length, a width, and a height.
10. The apparatus of claim 6, wherein the object comprises a water receptacle, the processor further configured to:
selecting at least one of the first ultrasonic signal and the second ultrasonic signal to determine a level of liquid in the water-receiving container based on the first energy amplitude and the second energy amplitude.
11. A drinking device, characterized in that it comprises a device for measuring the physical dimensions of an object according to any one of claims 6 to 10.
12. The water drinking apparatus of claim 11, wherein the ultrasonic transmitter is disposed directly above a water receiving area of the water drinking apparatus and configured to transmit the ultrasonic signal to the water receiving area of the water drinking apparatus, and the first ultrasonic receiver and the second ultrasonic receiver are symmetrically disposed at left and right sides of the ultrasonic transmitter.
13. The water fountain apparatus of claim 11, wherein the water fountain apparatus comprises a water fountain, a coffee maker, or a juicer.
14. A machine-readable storage medium having stored thereon instructions for enabling a processor to execute the method for measuring a physical dimension of an object according to any one of claims 1 to 5 when executed by the processor.
CN201910732823.6A 2019-08-09 2019-08-09 Method and device for measuring physical dimensions of an object, drinking device and storage medium Active CN110345888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910732823.6A CN110345888B (en) 2019-08-09 2019-08-09 Method and device for measuring physical dimensions of an object, drinking device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910732823.6A CN110345888B (en) 2019-08-09 2019-08-09 Method and device for measuring physical dimensions of an object, drinking device and storage medium

Publications (2)

Publication Number Publication Date
CN110345888A CN110345888A (en) 2019-10-18
CN110345888B true CN110345888B (en) 2021-08-24

Family

ID=68184463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910732823.6A Active CN110345888B (en) 2019-08-09 2019-08-09 Method and device for measuring physical dimensions of an object, drinking device and storage medium

Country Status (1)

Country Link
CN (1) CN110345888B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111449514B (en) * 2020-04-14 2021-11-02 佛山市顺德区美的饮水机制造有限公司 Water drinking equipment, water drinking system, control method of water drinking equipment and storage medium
CN112704391B (en) * 2020-12-24 2023-05-09 佛山市顺德区美的饮水机制造有限公司 Control device for water dispenser and water dispenser
CN113143019A (en) * 2021-02-10 2021-07-23 成都英萨传感技术研究有限公司 Water receiving device and method based on ultrasonic control

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100455999C (en) * 2006-06-30 2009-01-28 北京奥麦特科技有限公司 Device for ultrasonic measuring liquid level and method thereof
CN101547130B (en) * 2008-03-26 2011-04-13 中国人民解放军信息工程大学 Positioning method and positioning device based on wireless sensor network
CN101916152B (en) * 2010-08-31 2012-12-26 广东威创视讯科技股份有限公司 Multi-touch infrared positioning device and method
CN102278866A (en) * 2011-08-31 2011-12-14 合肥美的荣事达电冰箱有限公司 Refrigerator
DE202012004305U1 (en) * 2012-04-27 2012-05-25 Texmag Gmbh Vertriebsgesellschaft Device for detecting an edge of a material web
JP6271278B2 (en) * 2014-02-13 2018-01-31 株式会社ミツトヨ Position measuring apparatus and position measuring method
CN204743794U (en) * 2015-06-29 2015-11-11 美的集团股份有限公司 Automatic collect water device
CN204854887U (en) * 2015-07-14 2015-12-09 华中科技大学 Optic fibre point type level sensor
CN205280182U (en) * 2015-10-09 2016-06-01 合肥市恒昌自动化控制有限责任公司 Ultrasonic level gauge
CN106850101B (en) * 2017-02-14 2019-09-13 Oppo广东移动通信有限公司 Display screen condition control method and device
CN107479058B (en) * 2017-07-31 2019-12-13 维沃移动通信有限公司 distance detection method, mobile terminal and computer readable storage medium
JP2019033156A (en) * 2017-08-07 2019-02-28 富士通株式会社 Wavelength locker, wavelength variable laser device employing the same, and control method for wavelength variable laser device
CN207610243U (en) * 2017-10-30 2018-07-13 美的集团股份有限公司 Micro-wave oven
CN208837657U (en) * 2018-05-24 2019-05-10 湖北蓝浩节能科技有限公司 A kind of anti-spilled automatic water outlet device of water dispenser

Also Published As

Publication number Publication date
CN110345888A (en) 2019-10-18

Similar Documents

Publication Publication Date Title
CN110345888B (en) Method and device for measuring physical dimensions of an object, drinking device and storage medium
KR200492445Y1 (en) Circuit for acoustic distance time of flight compensation
RU2431809C2 (en) Method and device for accurate fluid level determination by radar signals emitted toward fluid surface and those reflected therefrom
CA2697931C (en) Method and device for determining the level l of a liquid within a specified measuring range by means of radar signals transmitted to the liquid surface and radar signals reflected from the liquid surface
US6843124B2 (en) Arrangement for measuring the level of contents in a container
CN103674180B (en) Come off the liquid level measuring system of reflector with bubble
JPH08304535A (en) Device and method for measuring distance between vehicles
US7240554B2 (en) Method and device for sizing a crack in a workpiece using the ultrasonic pulse-echo technique
US20110029280A1 (en) Sensing method and device utilizing alternating signal frequencies
US7963163B2 (en) Systems and methods for detecting fluids
CN110470222B (en) Device for measuring physical dimensions of an object and water drinking apparatus
KR102263722B1 (en) Nosie detecting device of ultrasonic sensor for vehicle and noise detecting method thereof
CN107505027A (en) Microwave reflection barrier
CN113589293B (en) Signal identification method and device for ultrasonic water dispenser and processor
KR101304373B1 (en) Device for measuring the level of a liquid in a container by means of an ultrasonic converter
US20200379105A1 (en) Robust and accurate close range detection for ultransonic level measurement
US20150323370A1 (en) Method for Evaluation for Measurement Signals of a Level Gauge
JP2008180532A (en) Distance measuring apparatus
RU2702696C1 (en) Ship speed measurement method with doppler log
KR20190115052A (en) Method for operating concealed vehicle ultrasonic sensors
JP2005010011A (en) Position measuring device and mobile robot
AU2013200073B2 (en) Systems and methods for detecting fluids
JPH11326513A (en) Distance measuring apparatus
JPH06300840A (en) Water depth measuring device
CN112162289A (en) Ultrasonic ranging method and device

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