CN110470221B - Device, water drinking apparatus and method for measuring physical dimensions of an object - Google Patents
Device, water drinking apparatus and method for measuring physical dimensions of an object Download PDFInfo
- Publication number
- CN110470221B CN110470221B CN201910815300.8A CN201910815300A CN110470221B CN 110470221 B CN110470221 B CN 110470221B CN 201910815300 A CN201910815300 A CN 201910815300A CN 110470221 B CN110470221 B CN 110470221B
- Authority
- CN
- China
- Prior art keywords
- signal
- reflected
- processor
- distance
- receiver
- 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
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47J—KITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
- A47J31/00—Apparatus for making beverages
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47J—KITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
- A47J31/00—Apparatus for making beverages
- A47J31/44—Parts or details or accessories of beverage-making apparatus
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/02—Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/02—Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
- G01B11/06—Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness for measuring thickness ; e.g. of sheet material
- G01B11/0608—Height gauges
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B15/00—Measuring 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
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Food Science & Technology (AREA)
- Electromagnetism (AREA)
- Geophysics And Detection Of Objects (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
Abstract
The invention relates to the field of physical dimension detection of objects, and discloses a device, a drinking device and a method for measuring the physical dimension of an object. The signal receiver is arranged to receive the reflected signal reflected from the object, and the processor is connected with the signal receiver, so that the reflected signal is acquired from the signal receiver, the signal size of the reflected signal is determined, and the physical size of the object is determined according to the signal size. Therefore, the physical size of the object can be detected in a simple mode, and the device occupies a small installation volume and is convenient to install on the electric equipment.
Description
Technical Field
The invention relates to the field of physical dimension detection of objects, in particular to a device, a drinking device and a method for measuring the physical dimension of an object.
Background
The scheme of measuring physical dimensions of an object, such as the height of the object, applied to an electrical appliance is generally realized by a capacitive sensing scheme or an ultrasonic scanning scheme, wherein the capacitive sensing scheme is inconvenient to apply because a cup must be close to a sensor, and the ultrasonic scheme has high cost, so that a scheme which is convenient to apply and low in cost does not exist at present.
Disclosure of Invention
The invention aims to overcome the problems of inconvenient application or high cost of the scheme for detecting the physical size of an object in the prior art, and provides a device, a drinking water device and a method for measuring the physical size of the object.
In order to achieve the above object, an aspect of the present invention provides an apparatus for measuring a physical dimension of an object, the apparatus comprising:
a signal receiver configured to receive at least one reflected signal reflected from an object; and
a processor, coupled to the signal receiver, configured to:
receiving at least one reflected signal from a signal receiver;
determining a signal magnitude of the at least one reflected signal;
and determining the physical size of the object according to the signal size.
Optionally, the signal receiver includes a plurality of signal receiving units sequentially arranged along a direction, and the plurality of signal receiving units are electrically connected to an input end of the processor;
the signal size is the sum of the signal sizes of at least one reflected signal received by at least one signal receiving unit in the plurality of signal receiving units.
Optionally, the apparatus further comprises an analog-to-digital conversion circuit, and the plurality of signal receiving units are electrically connected with the input end of the processor through the analog-to-digital conversion circuit.
Optionally, the input is an analog-to-digital conversion port.
Optionally, the apparatus further comprises:
a distance detector, electrically connected to the processor, configured to detect a distance between the object and the signal receiver;
the processor is further configured to: the physical dimensions of the object are determined from the signal magnitude and the distance.
Optionally, the distance detector comprises at least one of:
an ultrasonic ranging sensor;
an infrared distance measuring sensor.
Optionally, the distance detector comprises a signal receiving unit of the plurality of signal receiving units, the signal receiving unit is electrically connected with another input end of the processor, and the processor is configured to determine the distance according to the magnitude of the reflected signal received by the signal receiving unit.
Optionally, the other input is an analog-to-digital conversion port.
Optionally, the apparatus further comprises:
a signal transmitter configured to transmit a signal to an object.
Optionally, the signal transmitter comprises a plurality of signal transmitting units arranged at intervals.
Optionally, the signal transmitter comprises a plurality of signal transmitting units, each of the plurality of signal transmitting units paired with each of the plurality of signal receiving units.
Optionally, the physical dimension comprises one of a length, a height, a width.
Optionally, the reflected signal comprises a reflected light signal.
Optionally, the reflected light signal is an infrared reflected light signal.
In a second aspect, the invention provides a drinking device comprising the above apparatus for measuring a physical dimension of an object.
Optionally, the drinking apparatus comprises one of a water fountain, a beverage machine, a coffee machine.
A third aspect of the invention provides a method for measuring a physical dimension of an object, the method comprising:
receiving at least one reflected signal reflected from an object;
determining a signal magnitude of the at least one reflected signal; and
and determining the physical size of the object according to the signal size.
Optionally, the method further comprises:
determining a distance in a receiving direction between the object and a receiving source for receiving the at least one reflected signal;
determining the physical dimension of the object based on the signal magnitude includes: the physical dimensions of the object are determined from the signal magnitude and the distance.
Optionally, the physical dimension comprises one of a length, a height, a width.
Optionally, the reflected signal comprises a reflected light signal.
According to the device for measuring the physical dimension of the object, the signal receiver is arranged to receive the reflected signal reflected from the object, the processor is connected with the signal receiver, the reflected signal is obtained from the signal receiver and the signal size of the reflected signal is determined, and the physical dimension of the object is determined according to the signal size, so that the physical dimension of the object is detected in a simple mode, the device is small in occupied installation volume and convenient to install on the electric equipment.
Drawings
Fig. 1 schematically shows a block diagram of an apparatus for measuring a physical dimension of an object according to an embodiment of the present invention;
FIG. 2 schematically shows a block diagram of an apparatus for measuring a physical dimension of an object according to another embodiment of the present invention;
FIG. 3 schematically shows a block diagram of an apparatus for measuring a physical dimension of an object according to another embodiment of the present invention;
fig. 4 is a block diagram schematically illustrating an apparatus for measuring a physical size of an object according to another embodiment of the present invention, in which the same number of signal transmitting units and signal receiving units are arranged;
FIG. 5 is a schematic diagram of an application scenario for detecting object heights according to the apparatus of FIG. 4;
fig. 6 schematically shows a schematic diagram of an electrical circuit based on the device in fig. 4;
FIG. 7 schematically illustrates a light intensity versus horizontal distance;
fig. 8 schematically shows the height of an object as a function of light intensity and horizontal distance.
Fig. 9 schematically shows a flow chart of a method for measuring a physical dimension of an object according to an embodiment of the present 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 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 schematically shows a block diagram of an apparatus for measuring a physical dimension of an object according to an embodiment of the present invention. Referring to fig. 1, in an embodiment of the present invention, the apparatus comprises a signal receiver 10 configured to receive at least one reflected signal reflected from an object; and
a processor 20, connected to the signal receiver 10, configured to:
receiving at least one reflected signal from the signal receiver 10;
determining a signal magnitude of the at least one reflected signal;
and determining the physical size of the object according to the signal size.
Examples of processor 20 may include, but are 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, Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) circuits, any other type of Integrated Circuit (IC), a state machine, and the like.
The physical dimension of the object herein may include one of a length, a height, and a width, among others. Taking the device applied to the water dispenser as an example, the height of a cup below the water outlet of the water dispenser can be measured, so that the water yield of the faucet is automatically controlled according to the measured height of the cup, and the cup can automatically receive water without manually controlling the water outlet by a user. In other application scenarios, the length or width of the object may also be measured by the device.
In this embodiment, the signal receiver 10 receives, through a signal receiving unit therein, a reflected signal that is emitted by a signal source fixed in position relative to an object to be measured and reflected by the object, where the signal source may be a signal such as visible light, infrared light, or ultrasonic wave, and preferably infrared light, because infrared light is invisible light, the experience of a user in using a product is not affected, and the infrared light source is easily obtained in a low-cost manner, such as by using a low-cost infrared emitting diode. The signal receiver 10 and the signal source are easy to be conveniently installed on the same side of the electric equipment in a mode of receiving the reflected signal, for example, when the electric equipment is a water dispenser, the signal receiver 10 and the signal source are convenient to be installed on a shell of the water dispenser in a mutually close mode and can be relatively close to an object to be detected, such as a water cup, so that the installation space occupied by the signal receiver 10 and the signal source is small, and the volume of a water receiving platform arranged on the water dispenser and used for placing the water cup is favorably reduced. If the correlation method is adopted, namely the signal source and the signal receiver 10 are in the same straight line, the signal source and the signal receiver 10 are required to be positioned at two sides of the object to be measured. Taking a water dispenser as an example, the housing for installing the signal source and the signal receiver 10 needs to have a larger installation position to be accommodated, so that the miniaturization of the water dispenser is inconvenient.
When the signal of the signal source is transmitted to an object, one part of the signal can cross the object to be directly radiated, the other part of the signal can be reflected back by the object, and when the heights of the objects are different, the signal intensity of the reflected signal reflected by the object is different. The higher the object is, the more the reflected signal is reflected back, so the larger the signal size is; the lower the object, the less reflected signal is reflected and therefore the smaller the signal magnitude. The corresponding relation with the height of the object can be established according to the signal size of the reflected signal, so that the height of the object is detected. Experiments show that the height of the object and the signal magnitude are in a linear relationship, so that a linear relationship function can be determined through experiments, and the height of the object can be determined according to the signal magnitude value through simple implementation, and specifically, the height of the object can be calculated through a functional relationship formula built in an internal program of the processor 20.
Wherein the processor 20 acquires the above-mentioned reflected signal from the signal receiver 10 and further determines the signal magnitude of the reflected signal. The signal receiver 10 may be connected through an analog-to-digital conversion port of the processor 20, so as to convert the voltage value into a digital value according to the received analog signal quantity, such as a voltage value, sent by the signal receiver 10, thereby determining the signal magnitude. The analog signal is received through an analog-to-digital conversion port AD1 as shown in fig. 1. Or an analog-to-digital converter (not shown) is added between the signal receiver 10 and the processor 20, and after the analog signal output by the signal receiver 10 is converted into a digital signal by the analog-to-digital converter, the digital signal can be received through a common port (e.g., an I/O port) of the processor 20, so as to determine the signal size.
The device for measuring the physical dimension of the object according to the embodiment of the present invention is configured to receive the reflected signal reflected from the object by providing the signal receiver 10, and the processor 20 is connected to the signal receiver 10, so as to acquire the reflected signal from the signal receiver 10 and determine the signal magnitude thereof, and determine the physical dimension of the object according to the signal magnitude. Therefore, the physical size of the object can be detected in a simple mode, and the device occupies a small installation volume and is convenient to install on the electric equipment.
Fig. 2 schematically shows a block diagram of an apparatus for measuring a physical dimension of an object according to another embodiment of the present invention. In a preferred embodiment of the present invention, the signal receiver 10 may further include a plurality of signal receiving units, the plurality of signal receiving units are sequentially arranged along a direction, and the plurality of signal receiving units are electrically connected to an input terminal of the processor 20; the signal size is the sum of the signal sizes of at least one reflected signal received by at least one signal receiving unit in the plurality of signal receiving units.
In this embodiment, unlike the signal receiving unit in the signal receiver 10 in the previous embodiment which is single, a plurality of signal receiving units are provided and arranged in sequence in one direction. The arrangement direction is preferably a direction along the physical dimension to be detected of the object, such as the height of the object, and the arrangement direction can be arranged along the height direction of the object; when the length of the object is detected, the objects are sequentially arranged along the length direction of the object. The sum of the reflected signals received by the signal receiving units is obtained via an input of the processor 20. As shown in fig. 2, the signal receiver 10 includes four signal receiving units from the signal receiving unit 11 to the signal receiving unit 14, and the output of each signal receiving unit is collectively input to one analog-to-digital conversion port AD1 of the processor 20, so that the processor 20 obtains the sum of the magnitudes of the signals received by the four signal receiving units through one analog-to-digital conversion port.
Since the signal receiver 10 includes a plurality of signal receiving units arranged in sequence in one direction, each signal receiving unit receives the reflected signal, if more than one signal source sends the transmission signal, each signal receiving unit receives the reflected signal reflected by the object from more than one signal source. For example, when the height of the object is detected, the signal receiving units are sequentially arranged along the height direction of the object, and the signal source is an infrared light signal, which is also plural, and then one analog-to-digital conversion port of the processor 20 acquires the sum of the magnitudes of the infrared light signals received by the signal receiving units along the height direction of the object. Compared with the condition that a single signal receiving unit receives the reflected signals, the sum of the magnitudes of the multiple reflected signals can reflect the height of the object more accurately, and therefore the height of the object is detected more accurately.
Similar to the previous embodiment, the signal receiving units may also be electrically connected to the output end of the processor 20 through an analog-to-digital conversion circuit, so that the input end of the processor 20 does not need to be an analog-to-digital conversion port, and a common port can obtain the sum of the signal magnitudes of the reflected signals.
In a preferred embodiment of the present invention, the apparatus for measuring the physical size of the object further includes:
a distance detector, electrically connected to the processor 20, configured to detect a distance between the object and the signal receiver 10;
the processor 20 is further configured to: the physical dimensions of the object are determined from the signal magnitude and the distance.
In this embodiment, a distance detector is added to the device and the distance parameter is increased accordingly to determine the physical size of the object together with the magnitude of the reflected signal.
When the distances between the signal receiver 10 and the object are different, the sizes of the reflected signals received by the receiver are different, and the farther the object is from the signal receiver 10, the smaller the size of the received reflected signal is; and the closer the object is to the signal receiver 10, the greater the signal magnitude of the received reflected signal. Incorporating the distance parameter of the signal receiver 10 from the object into the calculation scheme for determining the physical dimensions of the object will therefore make the resulting physical dimensions more accurate.
The distance detector may be a separately arranged distance measuring device, such as an ultrasonic distance measuring sensor or an infrared distance measuring sensor, and preferably is a signal receiving device identical to the signal receiver 10, such as an infrared distance measuring sensor with low cost, and the distance detector may be located at the same position as the signal receiver 10, so that the distance between the distance detector and the object is the same as the distance between the signal receiver 10 and the object. Of course, the distances between the two devices and the object may be different, and in this case, the distance detected by the distance detector needs to be scaled to the distance between the signal receiver 10 and the object. Thereby determining the distance between the signal receiver 10 and the object according to the magnitude of the infrared signal by receiving the infrared signal reflected by the object.
In particular, as shown in fig. 2, the distance detector is constituted by a signal receiving unit 15 connected to another analog-to-digital conversion port AD2 of the processor 20. The signal receiving unit 15 receives the reflected signal reflected by the object, and in this case, the signal receiving unit 15 and the signal receiving units 11 to 15 may be disposed close to each other, and the signal source of the reflected signal received by the signal receiving units 11 to 15 may be the same as or different from each other, and is preferably an independent signal source. The processor 20 now acquires the magnitude of the reflected signal through the analog-to-digital conversion port AD2 to determine the distance between the signal receiver 10 and the object.
Preferably, the distance detector is one of a plurality of signal receiving units in the signal receiver 10, such as the signal receiving unit 15 shown in fig. 2, which is one of the signal receiving units in the signal receiver 10. Therefore, the distance detector is arranged in the signal receiver 10, which is beneficial to reducing the volume of the distance detector and the signal receiver and is convenient for the distance detector and the signal receiver to be arranged on the electric equipment.
In a preferred embodiment of the present invention, the apparatus for measuring a physical dimension of an object further includes: a signal emitter 30 configured to emit a signal toward the object.
In this embodiment, the signal emitter 30 is added to the device, and in the previous embodiment, the signal received by the signal receiver 10 may be an independent signal source, such as an infrared emitter independently disposed in the electric device, the infrared emitter is independently disposed relative to the device, and in this embodiment, the signal emitter 30 and the signal receiver 10 are disposed in the device together.
The signal transmitter 30 may be composed of a signal transmitting unit, and a signal transmitted by the signal transmitting unit is reflected by an object and then received by one or more signal receiving units in the signal receiver 10.
Fig. 3 schematically shows a block diagram of an apparatus for measuring a physical dimension of an object according to another embodiment of the present invention. Fig. 3 adds a transmitter to fig. 2. As shown in fig. 3, the signal emitter 30 may be a plurality of signal emitting units, and the signal emitting units are preferably arranged at intervals along the physical dimension direction of the object, such as at equal intervals along the height direction of the object when measuring the height of the object. The number of the signal transmitting units may be different from or the same as that of the signal receiving units, and is preferably the same. In fig. 3, the control terminals of the plurality of signal transmitting units are all connected to a common port of the processor 20, and the port controls the signal transmitting units to be turned on and off simultaneously.
Further, the distance detector further comprises a signal transmitting unit, as shown in fig. 3, the distance detector comprises a signal transmitting unit 35 and a signal receiving unit 15, and the signal transmitting unit 35 is one of the signal transmitters 30, and the signal receiving unit 15 is one of the signal receivers 10, so that the distance detector is integrated by the signal transmitters 30 and the signal receivers 10 together, thereby eliminating the need for a separate distance detector, which is beneficial to reducing the volume of the whole device.
Fig. 4 is a block diagram schematically illustrating an apparatus for measuring a physical size of an object according to another embodiment of the present invention, in which the same number of signal transmitting units and signal receiving units are arranged. When the number of the signal transmitting units is the same as the number of the signal receiving units, it is preferable that each of the plurality of signal transmitting units is paired with each of the plurality of signal receiving units. Taking the infrared signal as an example, at this time, each infrared transmitting head and each infrared receiving head form a pair of tubes, and the pair of tubes are arranged in parallel. In fig. 4, each paired signal transmitting unit and signal receiving unit form a detecting unit, and for example, the signal transmitting unit 31 and the signal receiving unit 11 form a paired detecting unit 110. Each signal emitting unit of the signal emitter 30 and each signal receiving unit of the signal receiver 10 thus together constitute a detection unit, such as the detection units 110 to 150 in fig. 4, which together constitute a detection device comprising the signal emitter 30 and the signal receiver 10. The detection units are preferably arranged at equal intervals, so that the reflection signals received by each signal receiving unit are mainly emitted by the signal emitting unit matched with the signal receiving unit, the received total signal size is in a linear relation with the height of an object, and the height can be conveniently calculated according to the signal size.
Fig. 5 schematically shows a schematic diagram of an application scenario for detecting the height of an object according to the apparatus in fig. 4. Referring to fig. 5, a signal emitted from a detecting device composed of a plurality of detecting units, a portion of which is reflected by an object and then received by the detecting device. Taking infrared signals as an example, in fig. 5, the infrared signals emitted by the detecting units 120 to 150 can be reflected by the object and then received, and the detecting unit 110 is located at a position higher than the height of the object, so that the emitted infrared signals cannot be received. The detection unit 150 is used alone as a distance detector, and the processor 20 determines the magnitude of the infrared signal by acquiring the infrared reflection signal detected by the detection unit 150, and determines the distance L according to the magnitude of the infrared signal; and the processor 20 determines the magnitude of the infrared signals according to the infrared emission signals detected by the detecting units 110 to 140, and finally determines the height of the object according to the magnitude of the infrared signals and the distance L.
Fig. 6 schematically shows a schematic diagram of an electrical circuit based on the arrangement in fig. 4. Referring to fig. 6, in which the infrared emission heads LED1 to LED5 constitute an infrared emitter, the infrared reception heads RE1 to RE5 constitute an infrared receiver, and the infrared emission head LED5 and the infrared reception head RE5 constitute a distance detector, the infrared emitter and the infrared receiver constitute the above-described detection apparatus. The infrared emitting heads LED1 and LED5 are connected in parallel and then connected through a triode Q1, the base of the triode Q1 is connected to a port P1 of the processor 20, the output ends of the infrared receiving heads RE1 to RE4 are connected in parallel and then connected to an analog-to-digital conversion port AD1 of the processor 20, and the output end of the infrared receiving head RE5 is connected to another analog-to-digital conversion port AD2 of the processor 20.
The principle of the device based on the circuit for detecting the height of the object is as follows:
the port P1 of the processor 20 controls the transistor Q1 to be turned on, so that the infrared emitters LED1 to LED5 emit infrared light, wherein the analog-to-digital conversion port AD2 of the processor 20 receives a first voltage signal output by the infrared receiver RE5, and the first voltage signal is the magnitude of the received infrared light emitted by the infrared emitter LED5 and reflected by the object. The processor 20 converts the voltage analog signal to a first value via an internal analog-to-digital conversion circuit to determine the horizontal distance of the sensing device from the object.
Through experiments, it is found that the signal size, i.e., the light intensity, of the light is in a linear inverse relationship with the horizontal distance of the object, i.e., L ═ K/X1, where L is the horizontal distance, and X1 is the light intensity received by infrared receiving head RE5, i.e., the first value obtained by processor 20 through analog-to-digital conversion port AD2, and the relationship between the two values is shown in fig. 7. The value of K is a fixed constant, and can be determined through sample information of an experiment in the previous stage, so that the horizontal distance L can be conveniently determined by substituting the value of K into the formula.
The voltage signals output by the infrared receivers RE 1-RE 4 are respectively connected in parallel to the analog-to-digital conversion port AD1 of the processor 20 through the resistors R1-R4, so that the voltage signal output by each infrared receiver is converted into a current and then merged into the analog-to-digital conversion port AD1, and is converted into a voltage signal through the internal mode conversion circuit connected to the analog-to-digital conversion port AD1, and then converted into a second value. Therefore, the second value is the accumulation of the voltage signals output by each infrared receiving head. I.e. the second value is the sum of the light intensity signals received by each infrared receiving head.
Experiments show that under the condition that the horizontal distance L between the detection equipment and the object is fixed, the second value, namely the sum of the light intensities, is in linear direct proportion to the height of the object, and when the object is higher, the more infrared signals emitted by the infrared emission head can be reflected back, the larger the sum of the received light intensities is, and vice versa. Considering again the horizontal distance L of the detection device from the object, the relation between the height of the object and the second value is shown in fig. 8.
Where L1 and L2 are different horizontal distances with respect to the height of the object and the second value, where L1 < L2, i.e. the sum of the light intensities, i.e. the second value, is larger the closer the detection device is to the object.
The following formula for calculating height is readily obtained from the relationship of these three in fig. 8:
H=AX2+L;
wherein H is the height of the object, L is the horizontal distance, X2 is the second numerical value, A value is a fixed constant, can confirm A value through the sample information of the experiment of the earlier stage, get after substituting the above-mentioned computational formula of L:
H=AX2+K/X1;
since both a and K are specific constants, the height H of the object can be calculated by determining only the first value X1 and the second value X2 of the light intensity. Since the calculation formula is relatively simple, the calculation resource of the processor 20 is not occupied, and therefore the processor 20 can adopt a low-cost processor 20 with weak calculation capability, thereby reducing the cost of the whole device.
The embodiment of the invention also provides drinking equipment which comprises the device for measuring the physical size of the object. Wherein the drinking equipment comprises one of a water dispenser, a beverage machine and a coffee machine. These devices have a liquid outlet, and a liquid container such as a cup can be placed below the liquid outlet to receive water or liquid such as beverage. Because the signal receiver of the device receives the reflected signal reflected by the object to be measured, the signal receiver and the signal transmitter can be arranged at the same side and can be conveniently arranged at one side of the drinking equipment. Therefore, the device is convenient to install for the drinking equipment with the open water receiving platform, if a reflection mode is not adopted and a correlation mode is adopted, the signal receiver and the signal transmitter are required to be arranged on two sides of the water cup, the structure of the receiving platform of the drinking equipment is limited, and the application of the drinking equipment is limited. And the device easily adopts current low-cost signal transmitter and signal receiver, for example infrared signal transmitting head and infrared signal receiving head constitution device, its low cost, and the device's definite physical dimension's calculation process is simple, consequently has low to the requirement of treater to make the device's low cost on the whole, convenient popularization and application.
Fig. 9 schematically shows a flow chart of a method for measuring a physical dimension of an object according to an embodiment of the present invention. Referring to fig. 9, the control method includes:
step S10, receiving at least one reflected signal reflected from the object;
step S20, determining the signal size of at least one reflected signal;
and step S30, determining the physical size of the object according to the signal size.
In step S10, the reflection signal may be a reflection signal that is transmitted by a signal source fixed relative to the object to be measured and reflected by the object, where the signal source may be a signal such as visible light, infrared light, or ultrasonic wave, and preferably infrared light, because infrared light is invisible light, the user experience of the product will not be affected, and the infrared light source is easily obtained in a low-cost manner, such as by using a low-cost infrared emitting diode. The physical dimension of the object here includes one of a length, a height, and a width.
In step S20, when the signal magnitude is determined, after the signal receiver receives the reflected signal, the signal is converted into an analog quantity, such as a voltage signal, an analog-to-digital conversion port of a processor connected to the signal receiver acquires the voltage signal, and the magnitude of the voltage signal is converted into a numerical value by an analog-to-digital converter built in the processor, so as to determine the magnitude of the signal.
In step S30, taking the physical size as the height as an example, when the signal of the signal source is transmitted to an object, a part of the signal will go straight out beyond the object, and another part will be reflected back by the object, when the heights of the objects are different, the signal magnitudes of the reflected signals reflected by the object, that is, the signal intensities, are different, and the higher the specific object is, the more the reflected signals are, and therefore, the larger the signal magnitude is; the shorter the object, the less reflected signal is reflected and therefore the smaller the signal magnitude. Therefore, the corresponding relation with the height of the object can be established according to the signal size of the reflected signal, and the height of the object can be detected. The experiment shows that the height of the object is in a linear relation with the signal magnitude, so that the linear relation function can be determined through the experiment, and the height of the object can be determined by simply realizing a value of a larger signal magnitude. And the internal program of the processor can be obtained by built-in functional relation calculation between the two.
The method for measuring the physical dimension of the object of the embodiment of the invention receives at least one reflected signal reflected from the object, determines the signal magnitude of the at least one reflected signal, and finally determines the physical dimension of the object according to the signal magnitude. Therefore, the physical size of the object can be detected by adopting a simple method, and the signal receiver and the signal source for transmitting the signal can be positioned at the same side based on the mode of acquiring the reflected signal, so that the installation space occupied by the signal receiver and the signal source is small, and the signal receiver and the signal source are convenient to install on the electric equipment.
In the above embodiment, when detecting the physical size of the object, if the distance between the object and the signal receiver is different, the size of the reflected signal received by the signal receiver is also different, and therefore, in the case where the distance between the object and the signal receiver is variable, the influence of the distance parameter needs to be considered. In a preferred embodiment of the present invention, the control method further includes:
determining a distance in a receiving direction between the object and a receiving source for receiving the at least one reflected signal;
determining the physical dimension of the object based on the signal magnitude includes: the physical dimensions of the object are determined from the signal magnitude and the distance.
When the distances between the signal receiver and the object are different, the sizes of the reflected signals received by the receiver are different, and the more the specific object is far away from the signal receiver, the smaller the size of the received reflected signal is; the closer the object is to the signal receiver, the greater the signal magnitude of the received reflected signal. Incorporating the distance parameter of the signal receiver from the object into the calculation scheme for determining the physical dimensions of the object will therefore make the resulting physical dimensions more accurate.
The distance between the object and the signal receiver may be a separately arranged distance measuring device, such as an ultrasonic distance measuring sensor or an infrared distance measuring sensor, and preferably is a signal receiving device identical to the signal receiver, such as an infrared distance measuring sensor with low cost, and the distance detector may be located at the same position as the signal receiver, so that the distance between the distance detector and the signal receiver is the same as the distance between the signal receiver and the object.
Embodiments of the present invention also provide a machine-readable storage medium having stored thereon instructions which, when executed by a processor, enable the processor to perform the method for measuring a physical dimension of an object described in any of the above embodiments.
Those skilled in the art can understand that all or part of the steps in the method for implementing the above embodiments may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps in the method for implementing each embodiment 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, various different embodiments of the present invention may be arbitrarily combined with each other, and the embodiments of the present invention should be considered as disclosed in the disclosure of the embodiments of the present invention as long as the embodiments do not depart from the spirit of the embodiments of the present invention.
Claims (17)
1. An apparatus for measuring a physical dimension of an object, the apparatus comprising a signal receiver, a distance detector, and a processor:
a signal receiver configured to receive at least one reflected signal reflected from the object;
a distance detector, electrically connected to the processor, configured to detect a distance between the object and the signal receiver;
a processor, coupled to the signal receiver, configured to:
receiving the at least one reflected signal from the signal receiver;
determining a signal magnitude of the at least one reflected signal;
determining the physical size of the object according to the signal size and the distance;
the signal receiver comprises a plurality of signal receiving units which are sequentially arranged along a direction, and the signal receiving units are electrically connected with one input end of the processor; the distance detector is connected with the other input end of the processor;
wherein the signal magnitude is a sum of signal magnitudes of at least one reflected signal received by at least one of the plurality of signal receiving units.
2. The apparatus of claim 1, further comprising analog-to-digital conversion circuitry, wherein the plurality of signal receiving units are electrically connected to the input of the processor through the analog-to-digital conversion circuitry.
3. The apparatus of claim 1, wherein the other input of the processor is an analog-to-digital conversion port.
4. The apparatus of claim 1, wherein the distance detector comprises at least one of:
an ultrasonic ranging sensor;
an infrared distance measuring sensor.
5. The apparatus of claim 1, wherein the distance detector comprises a signal receiving unit of a plurality of signal receiving units, the signal receiving unit being electrically connected to another input of the processor, the processor being configured to determine the distance based on a magnitude of a reflected signal received by the signal receiving unit.
6. The apparatus of claim 5, wherein the other input is an analog-to-digital conversion port.
7. The apparatus of claim 1, further comprising:
a signal transmitter configured to transmit a signal to the object.
8. The apparatus of claim 7, wherein the signal transmitter comprises a plurality of signal transmitting units arranged at intervals.
9. The apparatus of claim 7, wherein the signal transmitter comprises a plurality of signal transmitting units, and wherein each signal transmitting unit of the plurality of signal transmitting units is paired with each signal receiving unit of the plurality of signal receiving units.
10. The apparatus of claim 1, wherein the physical dimension comprises one of a length, a height, and a width.
11. The apparatus of claim 1, wherein the reflected signal comprises a reflected light signal.
12. The apparatus of claim 11, wherein the reflected light signal is an infrared reflected light signal.
13. A drinking device, characterized in that it comprises a device for measuring the physical dimensions of an object according to any one of claims 1 to 12.
14. The water fountain apparatus of claim 13, wherein the water fountain apparatus comprises one of a water fountain, a beverage dispenser, and a coffee maker.
15. A method for measuring a physical dimension of an object, the method comprising:
receiving at least one reflected signal reflected from the object;
determining a signal magnitude of the at least one reflected signal; and
determining the physical size of the object according to the signal size;
determining a distance in a reception direction between the object and a reception source for receiving the at least one reflected signal;
the determining the physical dimension of the object according to the signal magnitude comprises: determining a physical dimension of the object based on the signal magnitude and the distance.
16. The method of claim 15, wherein the physical dimension comprises one of a length, a height, and a width.
17. The method of claim 15, wherein the reflected signal comprises a reflected light signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910815300.8A CN110470221B (en) | 2019-08-30 | 2019-08-30 | Device, water drinking apparatus and method for measuring physical dimensions of an object |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910815300.8A CN110470221B (en) | 2019-08-30 | 2019-08-30 | Device, water drinking apparatus and method for measuring physical dimensions of an object |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110470221A CN110470221A (en) | 2019-11-19 |
CN110470221B true CN110470221B (en) | 2021-10-26 |
Family
ID=68514330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910815300.8A Active CN110470221B (en) | 2019-08-30 | 2019-08-30 | Device, water drinking apparatus and method for measuring physical dimensions of an object |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110470221B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114295055A (en) * | 2021-12-31 | 2022-04-08 | 东莞市极末科技有限公司 | Device and method for measuring volume of object |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58100704A (en) * | 1981-12-11 | 1983-06-15 | Nippon Kagaku Kogyo Kk | Measuring apparatus of gas-liquid two phase flow |
US5999266A (en) * | 1996-12-09 | 1999-12-07 | Fujitsu Limited | Method for inspecting height, and a height inspection apparatus to carry out the method |
JP2002034399A (en) * | 2000-07-21 | 2002-02-05 | Sadako Honda | Apparatus for measuring winding diameter of spool in reel for fishing |
CN201299458Y (en) * | 2008-11-19 | 2009-09-02 | 刘文小雪 | Inducing water fountain |
CN102012214A (en) * | 2010-12-01 | 2011-04-13 | 长沙开元机电设备有限公司 | Device for measuring height of platform floor |
CN203122125U (en) * | 2013-04-03 | 2013-08-14 | 张继荣 | Infrared temperature-adjustable water dispenser |
CN104586256A (en) * | 2014-12-01 | 2015-05-06 | 上海电机学院 | Water dispenser body and water dispenser |
JP3200328U (en) * | 2015-07-28 | 2015-10-15 | 株式会社レーベン販売 | Drip aid that can change the size of the receptacle |
CN105380526A (en) * | 2015-12-23 | 2016-03-09 | 久泰盈科技(北京)有限公司 | Intelligent beverage recognition system based on sensor |
CN107218897A (en) * | 2017-05-16 | 2017-09-29 | 宁波大红鹰学院 | Photo-electric diameter measurement device and its measuring method |
CN107504641A (en) * | 2017-08-22 | 2017-12-22 | 广东美的制冷设备有限公司 | Air-conditioner control method, air conditioner room unit and air conditioner |
CN108059068A (en) * | 2017-12-12 | 2018-05-22 | 日立楼宇技术(广州)有限公司 | Light curtain detection threshold value generation method, device and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190082880A1 (en) * | 2017-09-15 | 2019-03-21 | Evan Bryon Kaufman | Removal device for brewing material |
-
2019
- 2019-08-30 CN CN201910815300.8A patent/CN110470221B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58100704A (en) * | 1981-12-11 | 1983-06-15 | Nippon Kagaku Kogyo Kk | Measuring apparatus of gas-liquid two phase flow |
US5999266A (en) * | 1996-12-09 | 1999-12-07 | Fujitsu Limited | Method for inspecting height, and a height inspection apparatus to carry out the method |
JP2002034399A (en) * | 2000-07-21 | 2002-02-05 | Sadako Honda | Apparatus for measuring winding diameter of spool in reel for fishing |
CN201299458Y (en) * | 2008-11-19 | 2009-09-02 | 刘文小雪 | Inducing water fountain |
CN102012214A (en) * | 2010-12-01 | 2011-04-13 | 长沙开元机电设备有限公司 | Device for measuring height of platform floor |
CN203122125U (en) * | 2013-04-03 | 2013-08-14 | 张继荣 | Infrared temperature-adjustable water dispenser |
CN104586256A (en) * | 2014-12-01 | 2015-05-06 | 上海电机学院 | Water dispenser body and water dispenser |
JP3200328U (en) * | 2015-07-28 | 2015-10-15 | 株式会社レーベン販売 | Drip aid that can change the size of the receptacle |
CN105380526A (en) * | 2015-12-23 | 2016-03-09 | 久泰盈科技(北京)有限公司 | Intelligent beverage recognition system based on sensor |
CN107218897A (en) * | 2017-05-16 | 2017-09-29 | 宁波大红鹰学院 | Photo-electric diameter measurement device and its measuring method |
CN107504641A (en) * | 2017-08-22 | 2017-12-22 | 广东美的制冷设备有限公司 | Air-conditioner control method, air conditioner room unit and air conditioner |
CN108059068A (en) * | 2017-12-12 | 2018-05-22 | 日立楼宇技术(广州)有限公司 | Light curtain detection threshold value generation method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN110470221A (en) | 2019-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101175947B1 (en) | Tracking device and method for calibrating a tracking device | |
JP6465835B2 (en) | Medical diagnostic imaging Ultrasonic probe Battery pack Communication equipment | |
CN111315631B (en) | System and method for hand detection on a steering wheel | |
CN113551601B (en) | Device for measuring physical dimensions of an object | |
US10234548B2 (en) | Ultrasonic detection device to determine interference source by an additional reception mode | |
US9442000B2 (en) | Method for ascertaining and monitoring fill level of a medium in a container by means of a fill-level measuring device using a travel time measuring method | |
JP2006528777A (en) | Measurement method and apparatus for position search of an object confined in a medium | |
CN110470221B (en) | Device, water drinking apparatus and method for measuring physical dimensions of an object | |
KR101175745B1 (en) | Vehicle radar apparatus for detecting the rear using main lobe and grating lobe and detecting method thereof | |
US12066528B2 (en) | Determining relevant gesture signals using multi-dimensional radar signals | |
CN104154856A (en) | Electronic marker locator systems and methods | |
CN112075027A (en) | Ultrasonic proximity sensing for SAR suppression | |
US20170356784A1 (en) | Level gauge | |
US20140153370A1 (en) | Digital depth readout adapter for flasher type fish finder | |
US20170244503A1 (en) | Measuring system for over-the-air power measurements | |
TW201418712A (en) | Method for detecting the motion of object by ultra-wideband radar imaging and system thereof | |
US20160285450A1 (en) | Sensor Device and Method for the Detection of a Gripping of a Hand-Held Device as Well as a Hand-Held Device | |
KR20130126904A (en) | Electrode configuration, hand-held device as well as method for the detection of a touch of a hand-held device | |
WO2019127977A1 (en) | Multi-line laser distance measuring apparatus and robot | |
US10113900B2 (en) | Field device with multiple protocol support | |
CN109917399A (en) | A kind of wireless fish deteclor and its system of more sonars | |
CN211849801U (en) | Infrared laser induction system and intelligent closestool thereof | |
CN211213224U (en) | Ultrasonic probe and ultrasonic diagnostic equipment | |
CN111134530A (en) | Communication control method and device for liquid heating device and liquid heating device | |
JPH0926318A (en) | Distance measuring apparatus |
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 |