CN117740732A - Refractometer and method for measuring concentration of liquid - Google Patents

Refractometer and method for measuring concentration of liquid Download PDF

Info

Publication number
CN117740732A
CN117740732A CN202211167844.6A CN202211167844A CN117740732A CN 117740732 A CN117740732 A CN 117740732A CN 202211167844 A CN202211167844 A CN 202211167844A CN 117740732 A CN117740732 A CN 117740732A
Authority
CN
China
Prior art keywords
liquid
temperature
concentration
measured
temperature sensor
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.)
Pending
Application number
CN202211167844.6A
Other languages
Chinese (zh)
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.)
Shenzhen Liushu Technology Co ltd
Original Assignee
Shenzhen Liushu Technology 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 Shenzhen Liushu Technology Co ltd filed Critical Shenzhen Liushu Technology Co ltd
Publication of CN117740732A publication Critical patent/CN117740732A/en
Pending legal-status Critical Current

Links

Landscapes

  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

The application provides a refractometer and a method for measuring liquid concentration, comprising a light source module, a reflecting module comprising a prism, a converging lens, a photosensitive area array, a processor, a first temperature sensor, a second temperature sensor, a liquid tank and an interactive interface; the light beam of the light source module is partially totally reflected to the converging lens by the reflecting module and converged to the photosensitive array, and a first brightness abrupt change boundary line is formed in the detected image; when the liquid to be detected is contained in the liquid tank and the refractive index is smaller than that of the prism, a second brightness abrupt boundary line is formed in the detected image; a first temperature sensor is in contact with the liquid tank, and a second temperature sensor is in contact with the prism; the processor is used for calculating the concentration of the liquid to be detected according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line.

Description

Refractometer and method for measuring concentration of liquid
Technical Field
The invention belongs to the field of liquid refractive index measurement, and particularly relates to a refractometer and a method for measuring liquid concentration.
Background
A coffee refractometer is an instrument that measures the TDS (Total dissolved solids, total amount of dissolved solids) of coffee by refractive index of the coffee. Since the refractive index of the liquid is increased after the solid soluble matters in the liquid are dissolved, the measurement of the content of the solid soluble matters in the liquid can be realized through refractive index measurement, and thus the measurement of the refractive index can be used for measuring the content of the solid soluble matters in the liquid.
However, the refractive index of the liquid varies with temperature, and thus the concentration of freshly brewed coffee and the concentration of coffee at the time of being suitable for drinking are measured differently.
Disclosure of Invention
An object of the present invention is to solve the above-mentioned problems, and to provide a refractometer for measuring a liquid concentration, comprising:
the device comprises a light source module, a reflecting module comprising a prism, a converging lens, a light sensitive area array, a processor, a liquid tank and an interactive interface; wherein,
the reflection module is used for receiving the light beams from the light source module, and comprises at least two mediums with different refractive indexes, so that part of the light beams of the light source module is totally reflected between the mediums with the two different refractive indexes to the converging lens and converged to the photosensitive area array by the converging lens, and a first brightness abrupt boundary line for self calibration is formed in a detection image output by the photosensitive area array;
the prism is positioned at the bottom of the liquid tank, when the liquid tank is filled with liquid to be measured, and the refractive index of the liquid to be measured is smaller than that of the prism, part of light beams of the light source module is totally reflected between the prism and the liquid to be measured to the converging lens and converged to the photosensitive area array by the converging lens, and a second brightness abrupt boundary line for measuring the refractive index of the liquid to be measured is formed in a detection image output by the photosensitive area array;
The processor is used for calculating the concentration of the liquid to be detected according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line in the detection image;
the interactive interface is used for displaying the concentration of the liquid to be detected.
Optionally, the processor is configured to, according to b (P l -P g )+c*(P l -P g ) 2 +d* (P l -P g ) 3 Calculating the concentration of the liquid to be measured, wherein P l Representing the position of the second luminance jump boundary line, P g Indicating the location of the first abrupt brightness boundary.
Optionally, the refractometer further comprises a second temperature sensor, wherein the second temperature sensor is in contact with the prism and is used for detecting the temperature of the prism;
the processor is configured to perform a processing according to b (P l -P g )+c*(P l -P g ) 2 +d*(P l -P g ) 3 + e*T+f*T 2 +g*(P l -P g ) Calculating the concentration of the liquid to be measured, wherein T represents the temperature measured by the second temperature sensor.
Optionally, the first temperature sensor is used for measuring at a preset measuring frequency for a plurality of times,
the photosensitive area array is used for outputting multi-frame detection images at a preset output frequency,
the processor is also used for predicting the concentration of the liquid to be detected at the second temperature for a plurality of times according to the measured value of the first temperature sensor measured for a plurality of times and the first brightness abrupt change boundary line and the second brightness abrupt change boundary line in the multi-frame detection image.
Optionally, the refractometer further comprises a first temperature sensor and a second temperature sensor, the liquid tank is made of a heat conducting material, and the first temperature sensor is in contact with the liquid tank and is used for detecting the temperature of the liquid tank; the second temperature sensor is in contact with the prism and is used for detecting the temperature of the prism;
the processor is further configured to predict a predicted concentration of the liquid under test at a second temperature based on the measured value of the first temperature sensor, the measured value of the second temperature sensor, the first abrupt brightness boundary line, and the second abrupt brightness boundary line, wherein the second abrupt brightness boundary line is formed by the liquid under test at the first temperature;
the interactive interface is used for displaying the concentration of the liquid to be detected at the second temperature.
Optionally, the processor is further configured to obtain a relationship model between the concentration of the liquid to be measured at the second temperature and the temperature difference, and predict the concentration of the liquid to be measured at the second temperature according to the relationship model, the first temperature, and the second temperature.
Optionally, the relationship model includes:
Brix prediction =m*(T Prism -T Liquid tank )+n,
Wherein Brix is Prediction The concentration of the liquid to be measured at the second temperature predicted for the processor is provided in Brix.
Optionally, the first temperature sensor and the second temperature sensor are respectively used for measuring temperature values for a plurality of times according to a preset measuring frequency;
the photosensitive area array is used for outputting multi-frame detection images at a preset output frequency,
the processor is further used for predicting the concentration of the liquid to be detected at the second temperature for a plurality of times according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line in the multi-frame detection image;
the processor is further configured to obtain a coefficient of the relational model according to the multiple predictions of the concentration of the liquid to be measured at the second temperature and multiple measured temperature values of the first temperature sensor and the second temperature sensor.
Optionally, the processor is further configured to predict a concentration of the liquid to be measured at the second temperature according to the relationship model, the coefficient of the relationship model currently acquired, the first temperature sensor and the second temperature sensor currently measured, and the currently output detection image.
Optionally, the interactive interface is further configured to display a real-time measurement result curve, where the measurement result curve includes a concentration of the second temperature of the liquid to be measured predicted multiple times.
Optionally, the interactive interface is further configured to display a concentration prediction optimal value, where the concentration prediction optimal value is determined according to the predicted concentrations at the plurality of second temperatures of the liquid to be measured; and/or the number of the groups of groups,
the interactive interface is also used for displaying the latest predicted concentration of the liquid to be tested at the second temperature.
Optionally, the processor is configured to obtain Brix values of the liquid to be tested, and to determine Brix according to a1 x brix+b1 x Brix 2 +c1*Brix 3 And calculating the TDS value of the liquid to be measured.
Optionally, the prism is in a trapezoid shape, and the second temperature sensor is attached to the outer side surface of the prism;
the liquid tank is a structural member with a conical inner side surface and is fixed on the bottom surface of the prism, and a space surrounded by the inner side surface is used for bearing the liquid to be measured; the first temperature sensor is fixed on a part of the outer side surface of the structural member extending to the outside of the bottom surface of the prism.
Optionally, the refractometer further comprises a third temperature sensor for measuring the temperature of the processor;
The processor is also used for predicting the concentration of the liquid to be detected at the second temperature according to the measured value of the third temperature sensor.
Optionally, the second temperature is normal temperature, or the second temperature is a temperature after the predicted liquid tank and the prism reach thermal equilibrium.
Optionally, the two media of different refractive index comprise the prism and a coating on the surface of the prism facing the liquid tank, and/or,
the surface of the prism is covered with a light-transmitting waterproof layer, and the light-transmitting waterproof layer is used for sealing the prism in the refractometer; the surface of the light-transmitting waterproof layer is coated with a hydrophobic film corresponding to the bottom surface area of the liquid tank, and the thickness of the hydrophobic film is smaller than 100 nanometers.
The application also provides a method for measuring the concentration of liquid, which is applied to a refractometer, wherein the refractometer comprises a light source, a reflection module, a convergence module, a light sensitive area array, a liquid tank and an interactive interface, and the method comprises the following steps:
the light beams emitted by the light source form total reflection in the reflection module, so that the total reflected light beams are converged by the convergence module and then form a first brightness abrupt change boundary in the detection image output by the photosensitive area array;
The light beam emitted by the light source forms total reflection between the reflection module and the liquid to be detected in the liquid tank, so that the light beam subjected to total reflection is converged by the convergence module and forms a second brightness abrupt change boundary in the detection image output by the photosensitive area array;
calculating the concentration of the liquid to be detected according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line;
and displaying the concentration of the liquid to be detected through the interactive interface.
Optionally, calculating the concentration of the liquid to be tested according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line includes:
according to b (P l -P g )+c*(P l -P g ) 2 +d*(P l -P g ) 3 Calculating the concentration of the liquid to be measured, wherein P l Representing the position of the second luminance jump boundary line, P g Indicating the location of the first abrupt brightness boundary.
Optionally, the reflection module includes a prism, and the method further includes: measuring the temperature of the prism by a second temperature sensor;
calculating the concentration of the liquid to be tested according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line, including:
according to b (P l -P g )+c*(P l -P g ) 2 +d*(P l -P g ) 3 +e*T+f*T 2 + g*(P l -P g ) Calculating the concentration of the liquid to be measured, wherein T represents the temperature measured by the second temperature sensor.
Optionally, the method further comprises: and the temperature of the prism is measured for multiple times by the first temperature sensor at a preset measurement frequency, a plurality of frames of detection images are output by the light sensitive area array at a preset output frequency, and the concentration of the liquid to be measured at the second temperature is predicted for multiple times according to the measured value measured for multiple times by the first temperature sensor and the first brightness abrupt change boundary line and the second brightness abrupt change boundary line in the plurality of frames of detection images.
Optionally, the method further comprises: measuring the temperature of the liquid tank by a first temperature sensor; measuring a temperature of a prism in the reflection module by a second temperature sensor; the calculating the concentration of the liquid to be tested according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line comprises the following steps: predicting a predicted concentration of the liquid under test at a second temperature based on the measured value of the first temperature sensor, the measured value of the second temperature sensor, the first abrupt brightness boundary and the second abrupt brightness boundary, wherein the second abrupt brightness boundary is formed by the liquid under test at the first temperature; and displaying the concentration of the liquid to be detected at the second temperature through the interactive interface.
Optionally, the method further comprises: obtaining a relation model between the concentration of the liquid to be measured at the second temperature and the temperature difference, and predicting the concentration of the liquid to be measured at the second temperature according to the relation model, the first temperature and the second temperature.
Optionally, the relationship model includes:
Brix prediction =m*(T Prism -T Liquid tank )+n,
Wherein Brix is Prediction The concentration of the liquid to be measured at the second temperature predicted for the processor is provided in Brix.
Optionally, the method further comprises: measuring temperature values for a plurality of times according to a preset measuring frequency through the first temperature sensor and the second temperature sensor; outputting a plurality of frames of detection images through the light sensitive area array at a preset output frequency, and predicting the concentration of the liquid to be detected at a second temperature for a plurality of times according to a first brightness abrupt change boundary line and a second brightness abrupt change boundary line in the plurality of frames of detection images; and obtaining coefficients of the relation model according to the concentration of the liquid to be detected at the second temperature predicted for multiple times and the multiple measured temperature values of the first temperature sensor and the second temperature sensor.
Optionally, the method further comprises: updating coefficients of the relation model in real time; and predicting the concentration of the liquid to be detected at the second temperature according to the relation model after updating the coefficients, the first temperature sensor and the second temperature sensor which are currently measured, and the detection image which is currently output.
Optionally, the method further comprises: and displaying a real-time measurement result curve through the interactive interface, wherein the measurement result curve comprises the concentration of the liquid to be measured at the second temperature predicted for a plurality of times.
Optionally, the method further comprises: displaying a concentration prediction optimal value through the interactive interface, wherein the concentration prediction optimal value is determined according to the predicted concentrations of the liquid to be detected at a plurality of second temperatures; and/or displaying the newly predicted concentration of the liquid to be tested at the second temperature through the interactive interface.
Optionally, the method further comprises: acquiring Brix value of the liquid to be tested; according to a1+b1.Brix 2 +c1*Brix 3 And calculating the TDS value of the liquid to be measured.
Optionally, the second temperature is normal temperature, or the second temperature is a temperature after the predicted liquid tank and the prism reach thermal equilibrium.
The refractometer in the embodiment measures the refractive index of one medium of the two mediums by fixing at least two mediums with different refractive indexes in the reflecting module, totally reflecting light beams between the mediums with different refractive indexes to the converging lens through incidence, converging the light beams to the photosensitive area array through the converging lens, forming a first brightness abrupt change boundary on a detection image output by the photosensitive area array, correcting the measurement result of the liquid to be measured by using the measurement result of the medium, and improving the accuracy of the measurement result of the refractometer; in addition, through setting up the first temperature sensor of pasting on the liquid groove and pasting on the prism in the refractometer and the temperature difference that these two temperature sensors measured respectively changes and with the relation between the concentration of liquid that awaits measuring, can predict the concentration after the liquid cooling and show when prism and liquid groove have not reached the thermal balance for the user need not just can measure the concentration of liquid after waiting for the liquid cooling.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic view of the internal part optical path structure in one embodiment of the refractometer of the present application;
fig. 2 is a schematic diagram of the detection image output from the photosensitive area array 4;
FIG. 3 is a schematic illustration of a detected image output by a photosensitive area array;
FIG. 4 is a schematic illustration of a positional relationship of a prism and a coating;
fig. 5 is another schematic diagram of the detection image output from the photosensitive area array 4;
FIG. 6 is a schematic view of the appearance of one embodiment of a refractometer;
FIG. 7 is a schematic cross-sectional view of the internal components of one embodiment of the refractometer;
FIG. 8 is a schematic view of the internal components of one embodiment of the refractometer;
fig. 9 is a schematic diagram of one example of the concentration values measured at different times of the liquid to be measured at a high temperature and the temperature difference between the liquid tank and the prism corresponding to the time;
in two curves in fig. 10, a curve 901 is a concentration value measured by a liquid to be measured having a higher temperature over time (the temperature is stable after gradually decreasing to normal temperature), and a curve 902 is a concentration of the liquid when the liquid tank and the prism reach temperature equilibrium, respectively, which is predicted according to a temperature difference between the liquid tank and the prism at different times;
FIG. 11 is a schematic illustration of the interaction interface of the refractometer of the present application;
FIG. 12 is a schematic diagram of the structure of a smart scale;
FIG. 13 is a schematic view of a first formula card;
FIG. 14 is a schematic view of an edit page of the coffee card;
FIG. 15 is an example of a schematic diagram of the relationship between coffee flavor and concentration of coffee and the degree of extraction of coffee in the analysis results shown in the recipe card;
FIGS. 16-21 are schematic diagrams of interaction interfaces in a boot mode and a create mode, respectively, in the present application;
fig. 22 is a schematic view of one embodiment of a method of guiding brewed coffee with a terminal device of the present application.
FIG. 23 is a schematic view of one embodiment of a method of measuring a concentration of a liquid of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another.
The refractometer of the present application is described below by way of example with reference to the accompanying drawings. As shown, FIG. 1 is a schematic view of the internal part optical path structure in one embodiment of the refractometer of the present application. The refractometer includes a light source module 1, a reflection module 2 including a prism 21, a converging lens 3, a photosensitive area array 4, and a processor (not shown).
The reflection module 2 is for receiving a light beam from the light source module 1. The reflection module 2 includes at least two mediums with different refractive indexes, so that part of the light beam of the light source module 1 is totally reflected between the two mediums with different refractive indexes to the converging lens 3, and is converged to the photosensitive area array 4 by the converging lens 3, and a first brightness abrupt boundary line for self calibration is formed in the detection image output by the photosensitive area array 4. As shown in fig. 2, fig. 2 is a schematic diagram of the detection image output from the photosensitive area array 4. Optionally, the first abrupt brightness boundary L1 is located at an edge of the detection image.
In one example, the reflective module 2 includes a prism 21. One of the two different refractive index mediums used to form the first abrupt brightness boundary may be the prism 21 and the other medium may be a coating layer laid on one surface 22 of the prism 21.
The refractometer further comprises a detection zone provided on the prism surface 22 for carrying the liquid 5 to be measured when the refractometer detects the liquid 5 to be measured. When the detection area is covered with the liquid to be detected, and the refractive index of the liquid to be detected is lower than that of the first medium, at least part of the light beam is totally reflected by the liquid to be detected, and a second brightness abrupt boundary corresponding to the liquid to be detected is formed in the detection image output by the photosensitive area array 4. The processor can calculate the refractive index of the liquid to be measured through the second brightness abrupt boundary line position. As shown in fig. 3, fig. 3 is a schematic diagram of a detection image output by the photosensitive area array. As shown in the figure, a first luminance abrupt boundary L1 and a first luminance abrupt boundary L2 are formed on the detected image output from the photosensitive area array. Alternatively, when the optical paths forming the first luminance abrupt change boundary line L1 and the optical paths forming the second luminance abrupt change boundary line L2 are not distinguished and mixed together, the first luminance abrupt change boundary line L1 and the second luminance abrupt change boundary line L2 are formed in the same area of the detection image.
As shown in fig. 4, fig. 4 is a schematic diagram showing a positional relationship between the prism and the coating layer, which may be laid on the surface of the prism 21, and the detection area is provided on the surface of the coating layer. In some examples, the surface of the coating is also covered with a transparent waterproof layer that is used to seal the prism and coating within the refractometer. Alternatively, the coating may also be a material with a waterproof function, while also having a waterproof function, to seal the prism within the refractometer.
In some examples, the coating may be made of a material with a higher correlation between the characteristic of the refractive index changing with temperature and the characteristic of the refractive index of the clear water changing with temperature, so as to improve the accuracy of correcting the refractive index of the liquid to be measured. Alternatively, the refractive index of the coating varies with temperature by a value within the range of-0.0003/deg C to 0.0003/deg C. The coating may be a liquid, for example, clear water, which is sealed in a liquid tank fixed on the surface of the triangular prism. The coating may also be a solid, such as a photo-curable coating, a high temperature curable coating, or a natural curable coating, among others. The high temperature curable coating may be polytetrafluoroethylene (Poly tetra fluoroethylene, PTFE) after high temperature curing. The natural curing type coating can be a fluorocarbon resin FEVE coating after natural curing. The photo-curable coating may be a photo-curable shadowless glue. The correlation degree of the characteristic of the refractive index of the shadowless glue along with the temperature change and the characteristic of the refractive index of the clear water along with the temperature change is high, and the refractive index measurement accuracy of the liquid to be measured can be improved by correcting the measurement result of the shadowless glue. The correlation of the refractive index of the shadowless glue and the clear water with the temperature change is high. The shadowless adhesive has the advantages of high light transmittance, low expansion rate and the like. Optionally, the refractive index of the cured shadowless glue is greater than 1.33 and not greater than 1.6.
In another example, as shown in fig. 5, fig. 5 is another schematic diagram of the detection image output from the photosensitive area array 4. The light path of the first luminance abrupt change boundary line L1 and the light path of the second luminance abrupt change boundary line L2 may be distinguished by the structural arrangement such that the first luminance abrupt change boundary line L1 and the second luminance abrupt change boundary line L2 are respectively formed in two different areas P1 and P2 of the detection image. There are various ways to distinguish between the two light paths, for example, the coating may be juxtaposed with the detection zone on different areas of the prism surface. Specifically, a coating layer is laid on a part of the surface of the prism 21, and the other part of the surface is set as a measurement area for contact with the liquid to be measured, so that the medium layer 22 for forming the total reflection area of the first luminance abrupt change boundary line L1 is separated from the measurement area for forming the total reflection area of the second luminance abrupt change boundary line L2; in addition, optical path limiting regions are also provided on both surfaces of the prism 21 corresponding to the light source module 1 and the corresponding condensing lens 3, respectively, to distinguish the optical paths forming the first luminance abrupt-change boundary L1 and the second luminance abrupt-change boundary L2.
In this embodiment, the converging lens located at the light beam incident side of the photosensitive area array is used to decouple the angle and the position of the incident light beam of the photosensitive area array, and the converging lens can decouple the light beam in two dimensions, so that the photosensitive area array can be used to detect the light beam, and further the refractive index detection light path for self calibration and the refractive index detection light path of the liquid to be measured can share the light source and the photosensitive area array, so as to avoid calculation deviation caused by deviation (such as deviation caused by poor consistency of semiconductor chips, poor consistency of mounting structures, mounting deviation, mechanical impact or temperature drift, etc.) between the two sets of detection light paths. In addition, the position and the direction of the light are decoupled by adding the converging lens in front of the photosensitive area array by utilizing infinite focusing, so that the light emitted from the reflecting module at an emergence angle can be converged on the same position of the photosensitive area array without a small light source module.
The light beam is detected by adopting the light sensitive area array, so that more information can be obtained compared with the linear array, the accuracy of the refractive index of the liquid to be detected can be improved, and even more information of the liquid to be detected can be obtained. Moreover, the refractometer adopts the area array CMOS to detect the image sensor, the cost is lower, the precision is higher, the requirement of installation is reduced, and the things which can not be done by a plurality of one-dimensional sensors can be realized, such as improving the precision, improving the anti-interference capability, adding other measuring functions and the like. Moreover, compared with the refractometer in the prior art, the reflection property of the interface of the total reflection surface in the liquid level range is kept consistent, and because the light direction can be directly measured in the method, the brightness abrupt change boundary line is still clear and distinguishable even if bubbles exist at the detection surface of the prism or the liquid to be detected does not completely cover the total reflection interface.
Since the refractive index of the liquid may drift with a change in temperature, a deviation may occur in determining the solid soluble content of the liquid according to the refractive index of the liquid. The refractometer in this embodiment may further measure the refractive index of one of the two mediums by fixing at least two mediums with different refractive indexes in the reflection module, totally reflecting the light beam between the mediums with different refractive indexes to the converging lens, and converging the light beam to the photosensitive area array by the converging lens, so as to form a first brightness abrupt boundary on the detection image output by the photosensitive area array, and correcting the measurement result of the liquid to be measured by using the measurement result of the medium. Compared with the prior art, the position and the direction of the light beam are decoupled by adopting the matching of the converging lens and the light sensitive area array, and the light sensitive area array is two-dimensional, so that the measurement of the medium and the liquid to be measured can be detected by adopting the same receiver, even the brightness mutation boundary corresponding to the second medium and the liquid to be measured can be formed on the light sensitive area array by adopting the same emission light source, the measurement error caused by the difference of different light sensitive area arrays and light paths in the prior art can be avoided, and the accuracy of the measurement result of the refractometer is improved. And because two different mediums are introduced to calibrate the refractive index of the liquid to be measured, compared with the refractometer in the prior art, the refractometer in the embodiment can remove the flow of calibrating clear water, and can more accurately measure the high-temperature liquid.
The processor determines a first brightness abrupt change boundary line and a second brightness abrupt change boundary line from the detected image, calculates the refractive index of the liquid to be detected according to the position of the second brightness abrupt change boundary line, and corrects the refractive index of the liquid to be detected according to the position of the first brightness abrupt change boundary line. There are various ways to correct the refractive index of the liquid to be tested according to the position of the first brightness abrupt boundary. For example, the processor stores a relation function of the distance between the first brightness abrupt change boundary and the second brightness abrupt change boundary corresponding to the liquid to be tested and drift compensation. The drift distance for compensating the second luminance jump boundary can be determined by the relational function, and the second luminance jump boundary is returned to a position at a certain fixed temperature (for example, 20 ℃). Alternatively, other methods, such as machine learning, may be used to correct the refractive index of the liquid under test according to the location of the first abrupt brightness boundary.
In one example, the processor is configured to determine the value of the signal according to a+b (P l -P g )+c*(P l -P g ) 2 + d*(P l -P g ) 3 The Brix (Brix) of the liquid to be measured is calculated. Wherein a, b, c and d may be any number which can be calculated by analysis; p (P) l Representing the pixel position, P, of the second brightness abrupt change boundary corresponding to the liquid to be detected g Representing the pixel location of the first abrupt brightness boundary. Brix represents the unit of the concentration of solids in a liquid, and for example, refers to the number of dissolved grams of solid matter contained in 100 grams of solution.
As shown in fig. 6-8, fig. 6 is a schematic view of the appearance of one embodiment of a refractometer. FIG. 7 is a schematic cross-sectional view of the internal parts of one embodiment of the refractometer, and FIG. 8 is a schematic structural view of the internal parts of one embodiment of the refractometer. Optionally, the refractometer further comprises a second temperature sensor 7, a liquid tank 8 and an interaction interface 9.
The prism 21 is located at the bottom of the liquid tank 8, and when the liquid tank 8 contains the liquid to be measured, the liquid to be measured contacts the prism. The processor is used for calculating the concentration of the liquid to be detected at the first temperature according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line. The first temperature refers to the temperature of the liquid to be measured when the second brightness abrupt boundary line is formed. The second temperature sensor 7 is attached to the surface of the prism 21 for measuring the temperature of the prism. The interactive interface is used for displaying the concentration measured by the liquid to be measured.
In one example, the prism is in the shape of a stepped cylinder with its bottom surface positioned at the bottom surface of the liquid tank, and the light source module 1 and the condensing lens 3 are positioned outside two opposite first and second sides of the four sides of the stepped cylinder, respectively. The second temperature sensor 7 is attached to the surface of a third side other than the first side and the second side among the four sides of the prism 21 to avoid shielding of the optical path.
In one example, the processor is configured to calculate the Brix of the liquid under test according to the following formula:
Brix=a+b*(P l -P g )+c*(P l -P g ) 2 +d*(P l -P g ) 3 +e*T+f* T 2 +g*(P l -P g ) Formula T (1)
Wherein T in equation (1) represents the prism temperature measured by the second temperature sensor 7, wherein a, b, c, d, e, f, g can be any value, which can be obtained by analysis and calculation. And fitting to obtain Brix value through pixel position and temperature of the brightness abrupt boundary line. The formula can be used for Brix value calculation in a temperature balance state, wherein a temperature term (prism temperature) is used for supplementing prediction errors under different environment temperatures, namely, the prism temperatures when the temperature balance is achieved under different environment temperatures are different, and the prism temperatures influence pixel positions.
Optionally, the first temperature sensor is used for measuring for a plurality of times at a preset measuring frequency, and the photosensitive area array is used for outputting a plurality of frames of detection images at a preset output frequency. The processor is further configured to predict, a plurality of times, a concentration of the liquid to be measured at the second temperature according to the measured values measured by the first temperature sensor and the first luminance abrupt-change boundary line and the second luminance abrupt-change boundary line in the multi-frame detected image, for example, the concentration of the liquid to be measured at the second temperature according to the above formula (1). The concentration of the liquid to be measured that is ultimately displayed on the interactive interface may be calculated from the plurality of predicted concentrations. Or, the concentrations of the liquid to be measured predicted at the second temperature calculated for multiple times can be displayed on the interactive interface sequentially or simultaneously.
Optionally, the refractometer further comprises a first temperature sensor 6 for measuring the temperature of the liquid tank. The first temperature sensor 6 is attached to the outer side of the liquid tank 8, and the liquid tank is made of a heat conducting material (such as a metal material), so that the temperature measured by the first temperature sensor 6 is very close to the temperature of the liquid to be measured.
The processor is also used for predicting the concentration of the liquid to be detected at the second temperature according to the measured value of the first temperature sensor and the measured value of the second temperature sensor. The interactive interface is used for displaying the concentration of the liquid to be detected at the second temperature.
In one example, the inner surface of the liquid tank is tapered for carrying the liquid to be measured. The outer surface of the metal structural member forming the liquid groove is provided with a concave hole for accommodating the first temperature sensor, or the first temperature sensor is directly attached to the outer surface of the metal structural member.
Optionally, a hydrophobic film is further coated on the light-transmitting waterproof layer on the surface light of the prism, and the bottom surface area corresponding to the liquid tank, so as to realize concentration detection in a less liquid state and more consent wiping of the liquid tank. Wherein the thickness of the hydrophobic film is less than one hundred nanometers, for example on the order of a few nanometers or tens of nanometers. The refractive index of the film can be detected only when the thickness of the coating reaches more than hundred nanometers, and the influence of the hydrophobic film on the refractive index detection of the liquid to be detected can be avoided through the thickness of the hydrophobic film being smaller than one hundred nanometers.
The method of the processor for predicting the concentration of the liquid to be measured at the second temperature is varied. For example, the processor is further configured to determine a relationship model between the temperature difference and the concentration compensation, and determine a concentration compensation value based on the relationship model, the first temperature, and the second temperature; wherein the temperature difference is a difference in measured temperature values between the first temperature sensor and the second temperature sensor. The processor is also used for predicting the concentration of the liquid to be detected at the second temperature according to the concentration of the liquid to be detected at the first temperature and the concentration compensation value.
Optionally, the relationship model includes:
Brix prediction =m*(T Prism -T Liquid tank )+n,
Wherein Brix is Prediction The concentration of the liquid to be measured at the second temperature predicted for the processor is provided in Brix.
In order to improve the measurement accuracy, the processor may also predict an accurate Brix value in a temperature equilibrium state from the measured values of the first temperature sensor and the second temperature sensor in the temperature imbalance state. When measuring high-temperature liquid, the stability of the temperature difference between the prism and the liquid tank is an important index for judging whether the liquid and the refractometer are in a thermal balance state. When the temperature difference is large, the refractometer can be judged to be in an unbalanced state, the temperature difference gradually converges to a balanced temperature difference, and the concentration in the process can change along with the temperature difference, so that the measurement accuracy is poor. The first temperature sensor who pastes on the liquid groove and the second temperature sensor who pastes on the prism are set up in the refractometer in this application to and through the research this two temperature sensor respectively the difference in temperature change and with the relation between the concentration of liquid that awaits measuring, can predict equilibrium point concentration when the difference in temperature is unbalanced, with the concentration after the prediction liquid cooling, make the user need not just can measure the concentration of liquid after waiting for the liquid cooling.
In a specific application scenario, when a user measures the concentration of the freshly brewed liquid by using the refractometer, the measured concentration of the freshly brewed coffee has a certain deviation from the concentration value reflecting the taste of the coffee after the coffee temperature drops to a certain extent due to the higher temperature of the freshly brewed coffee, so that the measured concentration value cannot truly reflect the concentration value of the coffee when the user drinks the coffee. According to the method, the temperature and the change trend of the first temperature sensor and the second temperature sensor are obtained, so that the concentration value of the coffee to be detected when the coffee to be detected reaches the second temperature can be predicted when the coffee to be detected is at the first temperature. Alternatively, the second temperature may be preset according to a common temperature of coffee when a general user drinks the coffee.
The inventor finds that in the process from the process of dripping high-temperature liquid into the liquid tank (when the temperature difference between the liquid tank and the prism is at the maximum) to the process of balancing the temperature of the liquid tank and the prism (or reaching normal temperature), the temperature difference between the liquid tank and the prism measured at the current moment and the concentration value of the liquid predicted at the current moment approximately show a linear relation. Therefore, by the linear relation and the concentration value measured at the first moment (for example, the current moment), the concentration of the liquid to be measured when the temperature is reduced to the second temperature (for example, the normal temperature) can be predicted, and the more accurate concentration of the liquid to be measured at the temperature balance can be obtained through calculation at any moment. As shown in fig. 9 and 10, fig. 9 is a schematic diagram showing an example of the concentration values measured at different times for the liquid to be measured at a high temperature and the temperature difference between the liquid tank and the prism corresponding to the time, wherein the abscissa is the temperature difference and the ordinate is the concentration. The ordinate of fig. 9 is the density, and the abscissa is the time series. In the two curves in fig. 10, a curve 901 is a concentration value measured by a liquid to be measured having a higher temperature over time (the temperature is stable after gradually decreasing to normal temperature), and a curve 902 is a concentration of the liquid when the liquid tank and the prism reach temperature equilibrium, respectively, which is predicted according to a temperature difference between the liquid tank and the prism at different times.
In one example, the first temperature sensor and the second temperature sensor are configured to measure temperature a plurality of times at a preset measurement frequency. The light sensitive area array is used for outputting a plurality of frames of detection images at a preset output frequency, and the processor is further used for predicting the concentration of the liquid to be detected at the second temperature for a plurality of times according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line in the plurality of frames of detection images, for example, the concentration of the liquid to be detected at the second temperature is predicted for a plurality of times by using the formula (1). The processor is further used for obtaining coefficients of a relation model between the concentration of the liquid to be measured at the second temperature and the temperature difference according to the concentration of the liquid to be measured at the second temperature predicted for multiple times and the multiple measured temperature values of the first temperature sensor and the second temperature sensor.
The inventor finds that the temperature difference drop curves of each refractometer under different conditions may be different, in order to make each refractometer more accurate in predicting concentration after measuring high-temperature liquid each time, the results of sequential measurement of the first temperature sensor and the second temperature sensor in the refractometer are recorded, and dynamic linear fitting is performed based on multiple results of the measurement (for example, the first 4 measurement results of the two temperature sensors are respectively adopted), so as to obtain a concentration prediction function of the liquid to be measured. Optionally, the processor may further continuously obtain the latest measurement results of the two temperature sensors along with the decrease of the temperature of the liquid to be measured in the dynamic linear fitting process, and identify and eliminate the measurement results with larger errors from the latest measurement results, and perform linear fitting by using the remaining data.
In one example, a plurality of measurements from the first temperature sensor and the second temperature sensor are linearly fitted to obtain a model:
Brix prediction =m*(T Prism -T Liquid tank )+n,
Wherein T is Prism -T Liquid tank The temperature difference, namely the temperature difference, measured by the two temperature sensors at a certain moment in the temperature falling process is calculated; brix Prediction Representing the predicted concentration of the liquid to be measured at a second temperature (e.g., the temperature at the temperature equilibrium). For example, brix Prediction The concentration value in the temperature equilibrium state calculated according to the above formula (1) may be. The predicted concentration in the temperature balance state obtained by the prediction can be calculated by the formula (1), the coefficients m and n in the model can be calculated by the combination of the predicted concentration and the temperature difference measured at present, andand calculating more accurate predicted concentration of the liquid to be measured in the temperature balance state according to m, n and the temperature difference.
By means of the linear model and the temperature difference at equilibrium, the concentration value at the time of reaching the heat balance can be predicted according to the temperature difference in the descending process. Alternatively, the temperature difference at the time of balancing may be a temperature difference between the liquid tank temperature predicted by the processor and the two temperatures when the prism temperature reaches the thermal balance state, or may be a preset temperature difference (for example, 0 degrees).
In one example, the refractometer also obtains a concentration measurement corresponding to the current temperature multiple times over time and predicts a concentration at the second temperature based on the concentration measurement. Specifically, the photosensitive area array is configured to output a plurality of frames of detected images at a preset output frequency, and the processor is further configured to sequentially output a plurality of concentration measurement results corresponding to different moments (different temperatures) according to the plurality of frames of detected images at a preset calculation frequency, and predict concentrations at the second temperature according to the plurality of concentration measurement results, respectively. Alternatively, as shown in fig. 11, fig. 11 is a schematic diagram of the interaction interface of the refractometer of the present application. The interactive interface is also used for displaying a real-time measurement result curve, and the measurement result curve sequentially displays concentration measurement results corresponding to a plurality of predicted second temperatures according to the measurement time.
Optionally, the processor further converges to a more accurate predicted concentration corresponding to the second temperature based on the concentrations at the plurality of predicted second temperatures, and displays the predicted concentration as a concentration measurement optimal value on the interactive interface. For example, the concentration measurement optimum value may be calculated from an average value of the concentrations at the plurality of predicted second temperatures. Optionally, the interactive interface may also display the current predicted concentration value each time the processor obtains a new predicted concentration at the second temperature.
Optionally, after obtaining the concentration measurement value of the liquid to be measured, the processor further determines a corresponding Brix value and/or TDS value according to the concentration measurement value, and displays the Brix value and/or TDS value through the interactive interface.
Optionally, the processor is further configured to calculate a TDS value of the liquid to be measured. In the scenario where refractometers are used to measure coffee, TDS can be used to measure the taste of coffee. There is no unified conversion standard between the refractive index and the conversion of TDS, and between the Brix value and TDS. Optionally, in one example, the processor is configured to calculate the TDS of the liquid under test based on the following scaling relationship:
TDS=a1*Brix+b1*Brix 2 +c1*Brix 3
wherein a1, b1 and c1 can be any number, and can be obtained by analysis and calculation.
Optionally, the refractometer is further provided with a third temperature sensor attached to the processor. Because the temperature sensor in the refractometer is a device with larger heating value, the influence of the temperature of the processor on the prediction precision can be reduced when the concentration of the liquid to be detected is predicted by setting the temperature measurement of the third temperature sensor to the processor.
In some examples, scattering caused by particles approaching the total reflection interface of the reflection module may cause the brightness abrupt boundary line in the reflection area in the detection image to be blurred, so the processor may further acquire the degree of blurring of the brightness abrupt boundary line on the detection image detected by the photosensitive area array, and determine the turbidity in the liquid to be detected according to the degree of blurring. The processor can look up a table according to the corresponding relation between the fuzzy degree of the pre-calibrated brightness abrupt change boundary line and the liquid turbidity to obtain the corresponding turbidity of the liquid to be detected. Optionally, the interaction interface of the refractometer also displays the turbidity.
There are many applications for refractometer to calculate haze. In some examples, a refractometer may be used to perform component detection on the liquid. For example, the refractometer can measure the refractive index and turbidity of the liquid to be measured at the same time, and judge the sugar content and milk content of the liquid. For another example, the refractometer may measure the refractive index and turbidity of a liquid (e.g., juice) simultaneously to determine the sugar content and pulp content of the liquid. For another example, a refractometer may measure the refractive index and turbidity in a clear liquid of a sensor, which may be used to determine whether the sensor is dirty. Alternatively, the smudge determination may be used to decide whether cleaning needs to be continued. In one application scenario, the refractometer may be used in a cleaning machine (e.g., dishwasher, washing machine, etc.), to detect refractive index and turbidity of liquid after cleaning an object to determine cleanliness of the object being cleaned. In one application scenario, a refractometer may be used for water quality detection. The judgment result of the refractometer can be displayed to a user through the interaction module.
Since the turbidity of the liquid to be measured also affects the refractive index of the liquid to be measured when it changes, in some examples, the processor is further configured to correct the refractive index of the liquid to be measured according to the pre-calibrated influence relationship of the turbidity on the refractive index after calculating the turbidity of the liquid to be measured.
In one example, the refractometer also has a standby mode and/or a low power consumption mode. In the standby mode, the control module is in a dormant standby state, both the light source module and the photosensitive area array are powered off, and the whole power consumption of the refractometer is at uW level. In the low power consumption mode, the control module is used for controlling the synchronous stroboscopic of the light source module and the photosensitive area array, the power-on time is extremely short, and the overall power consumption of the refractometer is in mW level. Specifically, when the control module controls the light source module 1 and the photosensitive area array, the control module can synchronously trigger a pulse width modulation (PWM, pulse Width Modulation) signal according to the frame signal of the photosensitive area array to realize dimming of the light source module.
In one example, the refractometer further includes a wireless communication module for transmitting at least one of the refractive index, turbidity, temperature of the liquid under test obtained by the processor to other clients (e.g., applets in a cell phone, applications, computer clients, servers, etc.) for display or analysis by the clients based on the collected data from the one or more refractometers.
The embodiment of the application further provides a method for measuring a liquid concentration, as shown in fig. 23, where the method for measuring a liquid concentration is applied to a refractometer, the refractometer includes a light source, a reflection module, a convergence module, a photosensitive area array, a liquid tank and an interaction interface, and the method 2300 includes:
Step 2301, forming total reflection in the reflection module by the light beam emitted by the light source, so that a first brightness abrupt boundary line is formed in the detection image output by the photosensitive area array after the light beam totally reflected is converged by the convergence module;
step 2302, forming total reflection between the reflection module and the liquid to be detected in the liquid tank by the light beam emitted by the light source, so that the totally reflected light beam is converged by the convergence module to form a second brightness abrupt boundary in the detection image output by the photosensitive area array;
step 2303, calculating the concentration of the liquid to be measured according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line;
and 2304, displaying the concentration of the liquid to be detected through the interactive interface.
Optionally, in step 2303, calculating the concentration of the liquid to be tested according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line includes:
according to b (P l -P g )+c*(P l -P g ) 2 +d*(P l -P g ) 3 Calculating the concentration of the liquid to be measured, wherein P l Representing the position of the second luminance jump boundary line, P g Indicating the location of the first abrupt brightness boundary.
Optionally, the reflection module includes a prism, and the method further includes:
Measuring the temperature of the prism by a second temperature sensor;
in step 2303, calculating the concentration of the liquid to be measured according to the first luminance abrupt change boundary line and the second luminance abrupt change boundary line includes:
according to b (P l -P g )+c*(P l -P g ) 2 +d*(P l -P g ) 3 +e*T+f*T 2 + g*(P l -P g ) Calculating the concentration of the liquid to be measured, wherein T represents the temperature measured by the second temperature sensor.
Optionally, the method further comprises:
the temperature of the prism is measured a plurality of times at a preset measurement frequency by the first temperature sensor,
outputting a plurality of frames of detection images at a preset output frequency through the photosensitive area array,
and predicting the concentration of the liquid to be detected at the second temperature for a plurality of times according to the measured value measured by the first temperature sensor for a plurality of times and the first brightness abrupt change boundary line and the second brightness abrupt change boundary line in the multi-frame detection image.
Optionally, the method further comprises: measuring the temperature of the liquid tank by a first temperature sensor; measuring a temperature of a prism in the reflection module by a second temperature sensor; the calculating the concentration of the liquid to be tested according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line comprises the following steps: predicting a predicted concentration of the liquid under test at a second temperature based on the measured value of the first temperature sensor, the measured value of the second temperature sensor, the first abrupt brightness boundary and the second abrupt brightness boundary, wherein the second abrupt brightness boundary is formed by the liquid under test at the first temperature; and displaying the concentration of the liquid to be detected at the second temperature through the interactive interface.
Optionally, the method further comprises: obtaining a relation model between the concentration of the liquid to be measured at the second temperature and the temperature difference, and predicting the concentration of the liquid to be measured at the second temperature according to the relation model, the first temperature and the second temperature.
Optionally, the relationship model includes:
Brix prediction =m*(T Prism -T Liquid tank )+n,
Wherein Brix is Prediction The concentration of the liquid to be measured at the second temperature predicted for the processor is provided in Brix.
Optionally, the method further comprises: measuring temperature values for a plurality of times according to a preset measuring frequency through the first temperature sensor and the second temperature sensor; outputting a plurality of frames of detection images through the light sensitive area array at a preset output frequency, and predicting the concentration of the liquid to be detected at a second temperature for a plurality of times according to a first brightness abrupt change boundary line and a second brightness abrupt change boundary line in the plurality of frames of detection images; and obtaining coefficients of the relation model according to the concentration of the liquid to be detected at the second temperature predicted for multiple times and the multiple measured temperature values of the first temperature sensor and the second temperature sensor.
Optionally, the method further comprises: updating coefficients of the relation model in real time; and predicting the concentration of the liquid to be detected at the second temperature according to the relation model after updating the coefficients, the first temperature sensor and the second temperature sensor which are currently measured, and the detection image which is currently output.
Optionally, the method further comprises: and displaying a real-time measurement result curve through the interactive interface, wherein the measurement result curve comprises the concentration of the liquid to be measured at the second temperature predicted for a plurality of times.
Optionally, the method further comprises: displaying a concentration prediction optimal value through the interactive interface, wherein the concentration prediction optimal value is determined according to the predicted concentrations of the liquid to be detected at a plurality of second temperatures; and/or displaying the newly predicted concentration of the liquid to be tested at the second temperature through the interactive interface.
Optionally, the method further comprises: acquiring Brix value of the liquid to be tested; according to a1+b1.Brix 2 +c1*Brix 3 And calculating the TDS value of the liquid to be measured.
Optionally, the second temperature is normal temperature, or the second temperature is a temperature after the predicted liquid tank and the prism reach thermal equilibrium.
Specific explanation of the steps in the method for measuring the concentration of the liquid may be referred to the above description of the light doubling instrument, and will not be repeated here.
Embodiments of the present application also provide a coffee strength measurement system that includes a refractometer, a smart scale, and an application program (app). The application may run on a terminal device (e.g., a cell phone, tablet or computer). Wherein the refractometer and the intelligent scale may be separate two devices. The refractometer may be the refractometer described above. Alternatively, the refractometer and the smart scale may be integrated in one device.
For example, as shown in fig. 12, fig. 12 is a schematic structural diagram of a smart scale. The intelligent scale comprises a scale body 210 and the refractometer 211 arranged in the scale body 210, wherein a liquid accommodating area 212 and a first display area are further arranged on the surface of the scale body 210, the refractometer 211 is used for detecting the refractive index of liquid in the liquid accommodating area 212, and the first display area is used for displaying the refractive index of the liquid. Optionally, the surface of the smart scale is further provided with a weighing area 213 and a second display area for displaying the weight of the object on the weighing area. Optionally, the weighing zone 213 and the liquid receiving zone 212 are side by side on the surface of the smart scale. Optionally, the first display area and the second display area are arranged separately or in combination.
The application program is provided with different coffee brewing modes and tutorial modes for the user to select, and after the user selects the brewing modes and the tutorial modes, the application program can display operation instructions corresponding to the brewing modes and the tutorial modes selected by the user through an interactive interface of the terminal equipment provided with the application program. The operation instructions specifically include instructions of a plurality of operation steps, wherein different brewing modes have corresponding operation steps, and different course modes have corresponding indication modes.
And the user executes corresponding operation steps according to the operation instructions displayed by the interactive interface. The application or other module of the terminal device in which the application is located also obtains the operating parameters of at least part of the steps of the user when executing each operating step. There are various methods of acquisition, for example, an application program manually inputs an operation parameter by a user by presenting an operation parameter input box on an instruction page corresponding to at least part of operation steps on an interactive interface. Or, by connecting the intelligent scale and/or the refractometer, the application program receives the operation parameters of the user in the operation steps sent by the intelligent scale or the refractometer when the corresponding operation steps are displayed.
The application program or other modules of the terminal equipment where the application program is located determines a brewing parameter according to the operation parameter, wherein the brewing parameter comprises at least one of the following: the weight of the coffee particles, the weight of the brewing liquid, the time information corresponding to the brewing mode and the concentration of the coffee brewed by the user are determined in the operation steps. Optionally, the operating parameter further comprises water temperature. The brewing parameters may also include at least one of water velocity variation during brewing, water weight variation during brewing, coffee particle to liquid ratio, coffee weight, TDS value, extraction rate.
Optionally, the application further obtains information of the coffee particles, the information including at least one of a brand, a place of origin, a variety, an altitude, a treatment, and a degree of baking of the coffee particles; a first recipe card is generated based on the information of the coffee particles, the brew pattern, the plurality of operating steps, the operating parameters, and the brew parameters. As shown in fig. 13, fig. 13 is a schematic view of the first formula card. Optionally, the first formula card includes at least one of the following fields: the image, recipe name, information of the coffee particles, degree of grinding, brewing mode, water temperature, brewing time, water speed change during brewing, weight of the coffee particles, water weight, ratio of the coffee particles to liquid, coffee weight, TDS value, extraction rate, flavor description, creation record.
Optionally, the application may also create a coffee card and store it in the coffee database by obtaining a user's selection or input of at least one item of information on the coffee particles. As shown in fig. 14, fig. 14 is a schematic view of an edit page of the coffee card. In creating the recipe card, the information of the coffee particles may be obtained by obtaining a user selection of a coffee card in the coffee database to determine the information of the coffee particles in the recipe card. The coffee card is connected with a plurality of prescription cards using the coffee card.
Optionally, the application also obtains a user's flavor profile of the brewed coffee. In particular, a user's flavor profile for the coffee may be obtained from a scoring and/or evaluation profile entered by the user on the interactive interface. For example, an input box is displayed on the interactive interface for the user to input subjective scoring and/or evaluation descriptions of the brewed coffee. The subjective score may be a total score or a score for different dimensions; the evaluation description can be obtained through manual input of a user or can be obtained through extracting keywords from the content manually input by the user, or can be obtained through providing different evaluation description options on an interactive interface and selecting by the user.
And the application program analyzes the coffee brewed by the user according to the operation parameters and the brewing parameters to obtain an analysis result, and displays the analysis result through the interactive interface. Optionally, the analysis results include a flavor analysis of the coffee, and a brew improvement suggestion for the coffee. Specifically, when the application program analyzes the coffee brewed by the user according to the operation parameter and the brewing parameter, the application program can respectively analyze the influence of the operation parameter and the brewing parameter on the concentration and the extraction rate to obtain an analysis result.
When the analysis result is obtained, an analysis model and a target brewing result can be obtained, and at least one parameter of the operation parameter and the brewing parameter is determined as a parameter to be improved according to the analysis model and the target brewing result, wherein the brewing improvement suggestion comprises the parameter to be improved. Thus, unlike traditional preset brewing improvement suggestions which are only given for the difference of the levels of the individual parameters, the scheme can give the brewing improvement suggestions through multi-dimensional parameter comprehensive analysis, and considers the influence of various factors on the final flavor.
Specifically, the target brew result includes a target coffee concentration and/or a target extraction rate. Alternatively, the target coffee concentration in the target brew result may be a specific value, or a first preset range, and/or the target extraction rate in the target brew result may be a specific value, or within a second preset range. Wherein the first preset range and the second preset range may be determined according to a gold cup theory. Many institutions, such as the European fine coffee Association (SCAA) and the American national coffee Association (SCAA), have been repeatedly tested to define the theory of gold cups that brew perfect coffee. One cup of coffee meets the theory of gold cup and meets two conditions simultaneously: 1. the optimal coffee concentration TDS is between 1.1% and 1.4%, and the optimal extraction rate is between 18% and 22%. The data in the theory of gold cups defined by different institutions may be somewhat different.
The strength and/or extraction rate of the coffee brewed by the user may be compared to a target strength and/or extraction rate of the coffee in the target brew result to indicate a gap between the coffee brewed by the user and a better flavored cup of coffee.
Wherein, when the gap is displayed, the relationship between the coffee flavor and the concentration of the coffee and the extraction degree of the coffee can be displayed. The relationship diagram shows the preferred concentration range and the preferred extraction range of the coffee, and the actual concentration and the actual extraction rate of the coffee brewed by the user. Optionally, the relationship diagram also shows the target concentration and target extraction of coffee.
As shown in fig. 15, fig. 15 is an example of a schematic diagram showing the relationship between the coffee flavor and the concentration of coffee and the extraction degree of coffee in the analysis result displayed in the recipe card. The abscissa of the graph represents the degree of extraction, and the ordinate represents the concentration. The taste of coffee is suitable when the extraction degree and the concentration of coffee fall within respective suitable ranges. Optionally, a first square 1501 is also shown in the schematic diagram, where the point in the first square 1501 corresponds to an extraction level that falls within a preferred extraction level range, and the corresponding concentration falls within a preferred concentration range. Optionally, a second block 1502 corresponding to a desired taste is selected in the first block 1501 for the extraction and concentration ranges corresponding to the more desired coffee ports. After the actual strength and actual extraction rate of the coffee brewed by the user are obtained, the schematic points with the obtained actual strength and actual extraction rate as the values of the abscissa and the ordinate are displayed in the relation diagram to more clearly and directly indicate to the user whether the taste of the coffee brewed by the user falls within the first frame 1501 or the second frame 1502. Optionally, the relationship diagram also displays target schematic points taking the target concentration and the target extraction rate of the user as the values of the abscissa and the ordinate respectively, so as to more clearly and directly display the difference between the taste and the target taste of the coffee brewed by the user.
Alternatively, the target brewing result may be determined by the user selecting a recipe card, or may be determined by the user's historical flavor profile. For example, the target brew result may be generated by a machine learning method based on historical operating parameters of the user, the brew parameters, and the flavor descriptions such that coffee brewed using the target brew result meets the user's taste. Thus, unlike the traditional direct definition of a specific highest score criterion (the golden cup criterion), the brewing improvement advice is given with reference to the subjective highest score result given by the user's individual. Because whether the drink such as coffee is drunk or not is greatly influenced by personal subjective factors, the coffee making machine can help a user to brew coffee which the user feels drunk.
The analysis model comprises a relationship of at least one of the user's operating parameters and the brewing result comprising the strength and/or extraction rate of the brewed coffee. Optionally, the analysis result further comprises at least one parameter of the user's operating parameters and/or brewing parameters that is required to be changed in order to reduce the gap between the concentration and/or extraction rate of the user's brew and the concentration and/or extraction rate in the target brew result. Generally, the higher the water temperature, the higher the extraction rate; the longer the time, the higher the extraction rate; the finer the grind, the higher the extraction, the more agitation factors (e.g., water injection size, water velocity, etc.) and the higher the extraction. The application may determine parameters to adjust by analyzing the model and display to the user via the interactive device. In particular, the parameters to be adjusted may comprise an improvement suggestion of the operating parameters or operating regimen to be adjusted for improving the taste of the coffee. For example, the improvement advice may be to increase the grind, increase the agitation speed, increase the water speed of the brew, decrease the water temperature, and so on.
The method for obtaining the analysis model comprises a plurality of methods, optionally, obtaining at least part of fields in a plurality of formula cards; and training the analysis model according to at least part of fields in the plurality of prescription cards. The training may be either online or offline. For example, a model of the relationship of at least one parameter of "information of coffee particles", "brewing mode", "brewing time", "change in water speed during brewing", "change in water weight during brewing", "ratio of coffee particles and liquid" to the brewing result may be trained.
In one example, the course modes may include at least one of a guide mode, a create mode, and a improve mode. In the guiding mode, determining a second recipe card selected by a user on the interactive interface, and displaying operation steps and operation parameters in the second recipe card through the interactive interface so that the user can brew coffee according to the operation steps and the operation parameters.
Optionally, in the lead mode, the user may also select a recipe card from a local or web community on the interactive interface. Optionally, the application program may further obtain a coffee flavor selected by the user on the interactive interface, and recommend a corresponding recipe card according to the selected coffee flavor. The application program displays each operation step and operation parameter in the formula card through the interactive interface. The user may follow the instruction to perform the corresponding operation. The application program also acquires the operation parameters of the user in each operation step.
In one specific example of a lead mode, a user first selects a recipe card, and in some key steps, relevant data in the selected recipe card is extracted and a corresponding prompt is given to the user. Such as: the formula card had water weighing 200g and the brewing time was 2 minutes. Then in the step "pour-over-brew" of the corresponding total weight of water collected in the pilot mode, the reminder text will show: "200 g of hot water was poured in during 2 minutes". After all steps are completed, the application also extracts and compares the user selected formula card with the operating parameters and brewing parameters generated in the lead mode and gives a reference score based on the difference in these parameters. Optionally, the application program also determines parameters with larger differences therefrom, and gives corresponding improvement comments according to the parameters with larger differences. Optionally, the user may also choose to create a new recipe card and save it.
The improvement mode and the lead mode are similar, except that the application program also adds fields in the new formula card generated from the information of the coffee particles, the operating parameters and the brewing parameters of the user in the improvement mode, showing that the formula card improves the original formula card selected from the user. Optionally, the application also adds a field in the original recipe sheet selected by the user, showing that the recipe card was modified to the new recipe card generated in the modified mode. Optionally, in the analysis results of the new formula card generated in the improved mode, the application program further obtains a comparison of the operation parameters and/or the brewing parameters of the two formula cards, and compares the brewing results of the two formula cards. Optionally, in the analysis result, the application program also analyzes the brewing result of the two formula cards mainly caused by which operation parameters or brewing parameters. Optionally, the user may also choose to edit the fields in the recipe card generated in the improvement mode.
Alternatively, in one example, the authoring mode and the booting mode differ in that the operating parameters are not displayed when the application program displays the operating steps through the interactive interface in the authoring mode, but are decided by the user himself. Optionally, in another example, in the authoring mode, the interactive interface does not display preset operation steps corresponding to the brewing mode selected by the user, but inputs the content of each operation step and the operation parameters of at least part of the operation steps by the user. Wherein the content of the operation step input by the user may include at least one of the following contents uploaded by the user: text, picture, moving picture, video.
Optionally, the application program further generates a formula card according to each operation step and operation parameters of the user in each course mode, and stores the formula card locally or on a cloud service according to the selection of the user, or shares the formula card into a network community according to the selection of the user.
In each tutorial mode, there are a number of ways in which the application may obtain the user's operating parameters. For example, before entering the boot mode or the creation mode, the user may choose to connect the refractometer and/or the smart scale by wireless (e.g. bluetooth) or wired means on the interactive interface of the terminal device in which the application is installed to receive the measurement data sent by the refractometer and/or the smart scale in the respective operation steps. Optionally, the application also displays the received data on the interactive interface for the user to correct in time if errors are found.
Alternatively, the refractometer and/or the intelligent scale may not be connected to the application program, and when the application program detects that the refractometer and/or the intelligent scale is not connected, an input box is displayed on the indication page of the corresponding operation step so as to prompt the user to input the corresponding measured weight or concentration value.
The application may have an option on the interactive interface of each step, and after each user completes one operation step, the application may enter the display of a guidance indication for the next operation step by receiving a click of the option from the user. Or under the condition that the application program is connected with the intelligent scale, the intelligent scale can judge whether the user finishes the current operation by detecting the operation of the user, and send an instruction to the application program when the user finishes the current operation, and the application program enters the display of the guiding instruction of the next operation step according to the instruction.
Alternatively, when recording the information of the coffee beans selected by the user, various coffee bean cards including various information of the coffee beans may be displayed for the user to select, or alternatively, a single coffee bean card may be manually created by the user. As shown in fig. 14, fig. 14 is a schematic view of a coffee bean card displayed by the application. The coffee bean information includes at least one of a brand, a place of origin, a variety, an altitude, a treatment method, and a degree of baking of the coffee beans.
Optionally, the brewing mode includes drip-filtration and/or Italian. Optionally, the corresponding operating steps in the drip-filter brewing mode include at least part of the steps of: 1. in the bean grinding step, the user confirms that the electronic scale uploads the weight value at the same time and records the weight value as the weight of the coffee beans. 2. In the step of preparing the coffee pot, the user confirms that the electronic scale will upload the weight value at the same moment and record as the total weight of the coffee pot. 3. In the step of preparing equipment, after the user confirms, the electronic scale uploads the weight value at the same moment and records the weight value as the total weight of the equipment. 4. In the powder pouring step, the user confirms that the electronic scale will upload the weight value at the same moment and record as the total weight of the powder. 5. In the pouring and boiling step, the electronic scale intelligently judges the moment when the user starts pouring water and starts timing. After the user confirms, the electronic scale uploads the weight value at the same moment and records the weight value as the total weight of water. And uploading the total time length of the timing at the moment, and recording as 'brewing time'. And simultaneously counting the total time length of the state with the flow rate equal to 0 in the period of time, and recording as the stewing time. 6. In the step of measuring the liquid weight, the user confirms that the electronic scale uploads the weight value at the same moment and records the weight value as the residual total weight. 7. In the step of measuring the TDS value, a small amount of coffee liquid is placed in a liquid tank of the refractometer by a user, and the refractometer automatically measures the TDS value of the coffee liquid after the user confirms that the coffee liquid is kept still to normal temperature. Alternatively, in step 7, the refractometer directly measures the current concentration of coffee, predicts the concentration of coffee at ambient temperature and displays the predicted concentration to reduce the waiting time of the user.
After the application program obtains the operation parameters in the steps, one of the brewing parameters "total coffee liquid weight" is calculated according to the total weight of the residual device + total weight of the powder.
Optionally, the corresponding operating steps in the intended brewing mode include at least part of the steps of: 1. in the grinding step, the user confirms that the electronic scale will upload the weight value at the same time and record as the total weight of the powder. 2. In the powder distribution operation step, a user uniformly distributes the coffee powder in the handle, and the coffee powder in the handle is pressed into a powder cake state by using the powder hammer. 3. In the pressurized brewing step, a user installs a handle at a hot water port according to the using instruction of the coffee machine, places an electronic scale and a cup, and when the brewing button of the coffee machine is pressed down, intelligently judges the moment when the user starts pouring water according to the electronic scale and starts timing, and records the moment as 'brewing time'. 4. In the liquid weight measuring step, when the extraction is finished, the liquid naturally drops, and after the user confirms, the electronic scale uploads the weight value at the same moment and records the weight value as the total weight of the coffee liquid. 5. In the step of measuring the TDS value, a small amount of coffee liquid is placed in a liquid tank of the refractometer by a user, and after the user confirms that the coffee liquid is kept still to normal temperature, the refractometer automatically measures the TDS value of the coffee liquid.
The following is an example description of the interactive interface of the guidance mode and the creation mode in the present application in connection with fig. 16-21.
In one example, as shown in fig. 16, when the user selects the drip-type brewing mode and the creation mode, the application program sequentially displays guide instructions of each operation step corresponding to the drip-type brewing mode on the interactive interface, including the following six operation steps. S1, weighing a dry coffee cup, S2, weighing the coffee cup, a filter cup and filter paper before brewing, S3, uniformly pouring coffee powder, S4, brewing, S5, brewing, S6, removing the filter paper and the filter cup, completing brewing, and S7, measuring brewed coffee on a refractometer (not shown). The application program receives the data weighed in each step by the intelligent weighing machine, and calculates the weight of the coffee powder and the weight of the added water according to the data.
In one example, as shown in fig. 17, after the user selects the deliberate brewing mode, the creation mode, and the connection of the refractometer, the application program sequentially displays guidance instructions of the respective operation steps on the interactive interface, including the following four operation steps. The powder weight is weighed S1, the coffee extraction and timing is started S2, the coffee extraction and technology is completed S3, the coffee is waited for to naturally drip, and the brewed coffee is measured S5 on a refractometer (not shown). The application program receives the data which are weighed in each step by the intelligent weighing machine, and calculates the weight of the coffee beans and the weight of the added water according to the data.
In one example, as shown in fig. 18 and 19, after the user selects the drip-filter brewing and guiding mode and selects one of the recipe cards, the application program sequentially displays the operation steps and the operation parameters of at least some of the key steps in the operation steps on the interactive interface. For example, the guidance indication comprises the following operational steps:
s1, after the empty container is placed on the intelligent scale, the intelligent scale is cleared. S2, weighing the coffee beans. S3, grinding the coffee beans to the degree D1. S4, weighing the dry coffee cup. S5, placing the filter cup and the filter paper, and introducing clean water to wet the filter paper so that the filter paper clings to the wall of the filter cup. S6, cleaning water in the coffee cup for cleaning the filter cup, placing the coffee cup, the filter cup and the filter paper in the intelligent scale, and then clearing the intelligent scale. S7, uniformly introducing coffee powder ground by the coffee beans. S8, injecting hot water with the weight of K1 in a T1 time period in a mosquito-repellent incense-shaped surrounding mode, and ensuring wetting of all coffee powder cups. S9, removing the filter paper and the filter cup, and finishing brewing. Thus, by directing the weight of the coffee beans, the water weight and the water filling time period in steps S3, S8, the user can be instructed to complete the brewing of the coffee. Optionally, in step S5, the intelligent scale further obtains a duration of brewing by the user, and sends the duration to the application program.
In one example, as shown in fig. 19 and 20, after the user selects the deliberate brewing and guiding mode and selects one of the recipe cards, the application program sequentially displays the operation steps and the operation parameters of at least some of the key steps in the operation steps on the interactive interface. For example, the guidance indication comprises the following operational steps:
s1, putting a handle on an electronic scale, clearing, S2 taking about m grams of coffee powder from an electric bean grinder, S3 weighing a powder spoon, adjusting the powder amount in the powder spoon to n grams, S4 putting a powder distributor on the coffee powder and rotating, S5 pressing the powder cake by using a powder hammer, S6 firstly installing the powder spoon at a hot water outlet, then putting a cup and a scale, clearing the scale, S7 starting coffee extraction and timing at the same time, S8 stopping extraction when the reading of the scale is x grams, and S9 waiting for the coffee to naturally drip.
The application also provides a method of guiding brewed coffee with a terminal device. As shown in fig. 22, fig. 22 is a schematic view of one embodiment of a method of guiding brewed coffee with a terminal device of the present application. The terminal device comprises an interactive interface. The method 2200 includes:
s2201, determining a brewing mode of the coffee and a selected course mode selected by the user on the interactive interface.
S2202, determining corresponding operation instructions according to the selected brewing mode and course mode, wherein the operation instructions comprise instructions of a plurality of operation steps;
s2203, displaying the operation instruction through the interactive interface;
s2204, acquiring operation parameters of at least part of the user in the plurality of operation steps;
s2205, determining brewing parameters according to the operation parameters, wherein the operation parameters or the brewing parameters comprise the weight of coffee particles and the weight of brewing liquid in the operation steps and time information corresponding to the brewing mode;
s2206, obtaining the concentration of the coffee brewed by the user;
s2207, analyzing the coffee according to the operation parameters, the brewing parameters and the concentration to obtain an analysis result, and displaying the analysis result through the interactive interface.
Optionally, the method further comprises:
acquiring information of the coffee particles, wherein the information comprises at least one of brands, places of production, varieties, altitudes, treatment methods and baking degrees of the coffee particles;
a first recipe card is generated based on the information of the coffee particles, the brew pattern, the plurality of operating steps, the operating parameters, and the brew parameters.
Optionally, the first formula card includes at least one of the following fields:
the method comprises the steps of picture, formula name, information of coffee particles, grinding degree, brewing method, water temperature, brewing time, stewing time, water speed change in the brewing process, water weight change in the brewing process, weight of the coffee particles, water weight, ratio of the coffee particles to liquid, coffee weight, TDS value, extraction rate, relation diagram of coffee flavor and concentration and extraction degree of the coffee respectively, flavor description, creation record, improvement to and improvement from.
Optionally, the flavor profile is a scoring and/or evaluation profile of the brewed coffee by the user obtained through the interactive interface.
Optionally, the analysis results include a flavor analysis of the coffee, and a brew improvement suggestion of the coffee.
Optionally, the displaying, through the interactive interface, the flavor analysis of the coffee in the analysis result includes:
and displaying a relation diagram of the coffee flavor and the concentration and extraction degree of the coffee respectively through the interactive interface, wherein the relation diagram displays a preferred concentration range and a preferred extraction degree range of the coffee, and the actual concentration and the actual extraction rate of the coffee brewed by a user.
Optionally, the analyzing the coffee according to the operation parameter, the brewing parameter and the concentration to obtain an analysis result includes:
obtaining an analysis model and a target brewing result, wherein the analysis model comprises a relation between at least one of the operating parameters and the brewing result, the brewing result comprises a concentration and/or an extraction rate of brewed coffee, the target brewing result comprises a concentration of brewed coffee within a first preset range and/or an extraction rate of brewed coffee within a second preset range;
determining at least one parameter from the operating parameters and the brewing parameters as a parameter to be improved and a corresponding improvement way according to the analysis model and the target brewing result, wherein the brewing improvement suggestion comprises the parameter to be improved and the corresponding improvement way.
Optionally, the method further comprises:
acquiring at least part of fields in a plurality of formula cards;
the analysis model is trained based on at least some of the fields in the plurality of recipe cards.
Optionally, the target brewing result is preset or determined according to a user's flavor profile in at least one formula card.
Optionally, the method further comprises creating a coffee card and storing it in a coffee database according to a user's selection or input of information on coffee particles;
the information of the coffee particles comprises: and acquiring the selection of the user on the coffee card in the coffee database, and determining the information of the coffee particles according to the coffee card selected by the user.
Optionally, the method further comprises; and storing the first recipe card to a cloud server or sharing the first recipe card to a network community.
Optionally, the course mode includes a guide mode in which the method further includes determining a second recipe card selected by a user on the interactive interface; the displaying the operation instruction through the interactive interface comprises the following steps: displaying the operation steps and the operation parameters in the second formula card through the interactive interface; and/or the number of the groups of groups,
the course mode comprises an authoring mode, wherein in the authoring mode, when a plurality of operation steps in the operation instruction are sequentially displayed through the interactive interface, operation parameters of the operation steps are not displayed, or operation step content and operation parameters uploaded by a user are received in the authoring mode, and the operation step content uploaded by the user comprises at least one of the following steps: text, picture, moving picture, video.
Optionally, the course mode includes a retrofit mode in which the method further includes: determining a third recipe card selected by a user on the interactive interface;
the displaying the operation instruction through the interactive interface comprises the following steps: displaying the operation steps and the operation parameters in the third formula card through the interactive interface;
adding a "improve from" field in the first formula card to indicate that the first formula card improves from the third formula card; and/or the number of the groups of groups,
an "improve to" field is added to the third recipe card to indicate that a recipe is improved to the first recipe card.
Optionally, the brewing mode comprises a drip-filter mode, and the operation instruction corresponding to the drip-filter mode comprises a first operation step of pouring water into coffee powder for brewing; the time information corresponding to the brewing mode comprises a brewing time period for brewing the coffee powder with water in the first operation step and a stewing time period in the brewing gap;
and/or the number of the groups of groups,
the brewing mode comprises an intentional mode, and the operation instruction corresponding to the intentional mode comprises a second operation step of uniformly distributing coffee powder and pressing the coffee powder into a cake state and a third operation step of inverting hot water for a cup placed on the electronic scale; the time information corresponding to the brewing mode comprises a brewing duration in the third operation step.
Optionally, the method further comprises connecting an intelligent scale; the acquiring the operation parameters of at least part of the plurality of operation steps comprises: receiving measured values of operation parameters of at least part of the plurality of operation steps sent by the intelligent scale; and/or the number of the groups of groups,
the method further comprises connecting a refractometer; the method for obtaining the strength of the coffee brewed by the user comprises the following steps: and receiving a measurement result sent by the refractometer and used for measuring the concentration of the coffee brewed by the user.
The present application also provides a terminal device comprising an interaction device, a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to perform the method of any of the above.
The present application also provides a non-transitory computer readable storage medium storing instructions that cause a processor to perform the method of any of the above.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (29)

1. A refractometer for measuring the concentration of a liquid, comprising:
the device comprises a light source module, a reflecting module comprising a prism, a converging lens, a light sensitive area array, a processor, a liquid tank and an interactive interface; wherein,
the reflection module is used for receiving the light beams from the light source module, and comprises at least two mediums with different refractive indexes, so that part of the light beams of the light source module is totally reflected between the mediums with the two different refractive indexes to the converging lens and converged to the photosensitive area array by the converging lens, and a first brightness abrupt boundary line for self calibration is formed in a detection image output by the photosensitive area array;
the prism is positioned at the bottom of the liquid tank, when the liquid tank is filled with liquid to be measured, and the refractive index of the liquid to be measured is smaller than that of the prism, part of light beams of the light source module is totally reflected between the prism and the liquid to be measured to the converging lens and converged to the photosensitive area array by the converging lens, and a second brightness abrupt boundary line for measuring the refractive index of the liquid to be measured is formed in a detection image output by the photosensitive area array;
The processor is used for calculating the concentration of the liquid to be detected according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line in the detection image;
the interactive interface is used for displaying the concentration of the liquid to be detected.
2. The refractometer of claim 1, wherein the processor is configured to determine the refractive index according to b (P l -P g )+c*(P l -P g ) 2 +d*(P l -P g ) 3 Calculating the concentration of the liquid to be measured, wherein P l Representing the position of the second luminance jump boundary line, P g Indicating the location of the first abrupt brightness boundary.
3. The refractometer according to claim 2, further comprising a second temperature sensor in contact with the prism for detecting the temperature of the prism;
the processor is used for according tob*(P l -P g )+c*(P l -P g ) 2 +d*(P l -P g ) 3 +e*T+f*T 2 +g*(P l -P g ) Calculating the concentration of the liquid to be measured, wherein T represents the temperature measured by the second temperature sensor.
4. A refractometer according to claim 3, wherein the second temperature sensor is adapted to measure a plurality of times at a predetermined measurement frequency,
the photosensitive area array is used for outputting multi-frame detection images at a preset output frequency,
the processor is also used for predicting the concentration of the liquid to be detected at the second temperature for a plurality of times according to the measured value measured by the second temperature sensor for a plurality of times and the first brightness abrupt change boundary line and the second brightness abrupt change boundary line in the multi-frame detection image.
5. The refractometer according to claim 1, further comprising a first temperature sensor and a second temperature sensor, the liquid tank being made of a thermally conductive material, the first temperature sensor being in contact with the liquid tank for detecting the temperature of the liquid tank; the second temperature sensor is in contact with the prism and is used for detecting the temperature of the prism;
the processor is further configured to predict a predicted concentration of the liquid under test at a second temperature based on the measured value of the first temperature sensor, the measured value of the second temperature sensor, the first abrupt brightness boundary line, and the second abrupt brightness boundary line, wherein the second abrupt brightness boundary line is formed by the liquid under test at the first temperature;
the interactive interface is used for displaying the concentration of the liquid to be detected at the second temperature.
6. The refractometer of claim 5, wherein the processor is further configured to obtain a model of a relationship between the concentration of the liquid under test at a second temperature and a temperature difference, and predict the concentration of the liquid under test at the second temperature based on the model of the relationship, the first temperature, and the second temperature.
7. The refractometer according to claim 6, wherein the relationship model comprises:
Brix prediction =m*(T Prism -T Liquid tank )+n,
Wherein Brix is Prediction The concentration of the liquid to be measured at the second temperature predicted for the processor is provided in Brix.
8. The refractometer according to claim 6, wherein the first temperature sensor and the second temperature sensor are each adapted to measure a temperature value a plurality of times at a preset measurement frequency;
the photosensitive area array is used for outputting multi-frame detection images at a preset output frequency,
the processor is further used for predicting the concentration of the liquid to be detected at the second temperature for a plurality of times according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line in the multi-frame detection image;
the processor is further configured to obtain a coefficient of the relational model according to the multiple predictions of the concentration of the liquid to be measured at the second temperature and multiple measured temperature values of the first temperature sensor and the second temperature sensor.
9. The refractometer according to claim 8, wherein the processor is further configured to predict the concentration of the liquid under test at the second temperature based on the coefficients of the relationship model and the currently acquired relationship model, and the currently measured first and second temperature sensors, and the currently output detection image.
10. The refractometer according to claim 8, wherein the interactive interface is further adapted to display a real-time measurement profile comprising a plurality of predicted concentrations at the second temperature of the liquid under test.
11. The refractometer according to claim 10, wherein the interactive interface is further configured to display a concentration predicted optimum value, the concentration predicted optimum value being determined based on predicted concentrations at a plurality of second temperatures of the liquid under test; and/or the number of the groups of groups,
the interactive interface is also used for displaying the latest predicted concentration of the liquid to be tested at the second temperature.
12. The refractometer according to any of the claims 1 to 11, wherein the processor is adapted to obtain Brix values of Brix of the liquid to be measured and to obtain Brix values according to a1 x brix+b1 x Brix 2 +c1*Brix 3 And calculating the TDS value of the liquid to be measured.
13. The refractometer according to claim 4, wherein the prism is in a trapezoid shape, and the second temperature sensor is attached to an outer side surface of the prism;
the liquid tank is a structural member with a conical inner side surface and is fixed on the bottom surface of the prism, and a space surrounded by the inner side surface is used for bearing the liquid to be measured; the first temperature sensor is fixed on a part of the outer side surface of the structural member extending to the outside of the bottom surface of the prism.
14. The refractometer according to claim 1, further comprising a third temperature sensor for measuring the temperature of the processor;
the processor is also used for predicting the concentration of the liquid to be detected at the second temperature according to the measured value of the third temperature sensor.
15. The refractometer according to claim 1, wherein the second temperature is normal temperature or the second temperature is a predicted temperature after the liquid tank and the prism reach thermal equilibrium.
16. The refractometer according to claim 1, wherein the two media of different refractive index comprise the prism and a coating on a surface of the prism facing the liquid tank, and/or,
the surface of the prism is covered with a light-transmitting waterproof layer, and the light-transmitting waterproof layer is used for sealing the prism in the refractometer; the surface of the light-transmitting waterproof layer is coated with a hydrophobic film corresponding to the bottom surface area of the liquid tank, and the thickness of the hydrophobic film is smaller than 100 nanometers.
17. A method for measuring the concentration of a liquid, which is applied to a refractometer, and is characterized in that the refractometer comprises a light source, a reflection module, a convergence module, a photosensitive area array, a liquid tank and an interactive interface, and the method comprises the following steps:
The light beams emitted by the light source form total reflection in the reflection module, so that the total reflected light beams are converged by the convergence module and then form a first brightness abrupt change boundary in the detection image output by the photosensitive area array;
the light beam emitted by the light source forms total reflection between the reflection module and the liquid to be detected in the liquid tank, so that the light beam subjected to total reflection is converged by the convergence module and forms a second brightness abrupt change boundary in the detection image output by the photosensitive area array;
calculating the concentration of the liquid to be detected according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line;
and displaying the concentration of the liquid to be detected through the interactive interface.
18. The method of claim 17, wherein calculating the concentration of the liquid under test from the first and second abrupt brightness change boundaries comprises:
according to b (P l -P g )+c*(P l -P g ) 2 +d*(P l -P g ) 3 Calculation ofThe concentration of the liquid to be measured, wherein P l Representing the position of the second luminance jump boundary line, P g Indicating the location of the first abrupt brightness boundary.
19. The method of claim 18, wherein the reflective module comprises a prism, the method further comprising:
Measuring the temperature of the prism by a second temperature sensor;
the calculating the concentration of the liquid to be tested according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line comprises the following steps:
according to b (P l -P g )+c*(P l -P g ) 2 +d*(P l -P g ) 3 +e*T+f*T 2 +g*(P l -P g ) Calculating the concentration of the liquid to be measured, wherein T represents the temperature measured by the second temperature sensor.
20. The method of claim 19, wherein the method further comprises:
the temperature of the prism is measured a plurality of times at a preset measurement frequency by the first temperature sensor,
outputting a plurality of frames of detection images at a preset output frequency through the photosensitive area array,
and predicting the concentration of the liquid to be detected at the second temperature for a plurality of times according to the measured value measured by the first temperature sensor for a plurality of times and the first brightness abrupt change boundary line and the second brightness abrupt change boundary line in the multi-frame detection image.
21. The method of claim 17, wherein the method further comprises:
measuring the temperature of the liquid tank by a first temperature sensor;
measuring a temperature of a prism in the reflection module by a second temperature sensor;
the calculating the concentration of the liquid to be tested according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line comprises the following steps:
Predicting a predicted concentration of the liquid under test at a second temperature based on the measured value of the first temperature sensor, the measured value of the second temperature sensor, the first abrupt brightness boundary and the second abrupt brightness boundary, wherein the second abrupt brightness boundary is formed by the liquid under test at the first temperature;
and displaying the concentration of the liquid to be detected at the second temperature through the interactive interface.
22. The method of claim 21, wherein the method further comprises:
obtaining a relation model between the concentration of the liquid to be measured at the second temperature and the temperature difference, and predicting the concentration of the liquid to be measured at the second temperature according to the relation model, the first temperature and the second temperature.
23. The method of claim 22, wherein the relationship model comprises:
Brix prediction =m*(T Prism -T Liquid tank )+n,
Wherein Brix is Prediction The concentration of the liquid to be measured at the second temperature predicted for the processor is provided in Brix.
24. The method of claim 22, wherein the method further comprises:
Measuring temperature values for a plurality of times according to a preset measuring frequency through the first temperature sensor and the second temperature sensor;
outputting a plurality of frames of detection images at a preset output frequency through the photosensitive area array,
predicting the concentration of the liquid to be detected at the second temperature for a plurality of times according to the first brightness abrupt change boundary line and the second brightness abrupt change boundary line in the multi-frame detection image;
and obtaining coefficients of the relation model according to the concentration of the liquid to be detected at the second temperature predicted for multiple times and the multiple measured temperature values of the first temperature sensor and the second temperature sensor.
25. The method of claim 24, wherein the method further comprises:
updating coefficients of the relation model in real time;
and predicting the concentration of the liquid to be detected at the second temperature according to the relation model after updating the coefficients, the first temperature sensor and the second temperature sensor which are currently measured, and the detection image which is currently output.
26. The method of claim 24, wherein the method further comprises:
and displaying a real-time measurement result curve through the interactive interface, wherein the measurement result curve comprises the concentration of the liquid to be measured at the second temperature predicted for a plurality of times.
27. The method of claim 25, wherein the method further comprises:
displaying a concentration prediction optimal value through the interactive interface, wherein the concentration prediction optimal value is determined according to the predicted concentrations of the liquid to be detected at a plurality of second temperatures; and/or the number of the groups of groups,
and displaying the newly predicted concentration of the liquid to be detected at the second temperature through the interactive interface.
28. The method according to any one of claims 17 to 27, further comprising:
acquiring Brix value of the liquid to be tested;
according to a1+b1.Brix 2 +c1*Brix 3 And calculating the TDS value of the liquid to be measured.
29. The method of claim 17, wherein the second temperature is ambient or the second temperature is a predicted temperature after the liquid bath and the prism reach thermal equilibrium.
CN202211167844.6A 2022-09-14 2022-09-23 Refractometer and method for measuring concentration of liquid Pending CN117740732A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202211120247 2022-09-14
CN202222439240 2022-09-14
CN2022224392404 2022-09-14
CN2022111202478 2022-09-14

Publications (1)

Publication Number Publication Date
CN117740732A true CN117740732A (en) 2024-03-22

Family

ID=90251365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211167844.6A Pending CN117740732A (en) 2022-09-14 2022-09-23 Refractometer and method for measuring concentration of liquid

Country Status (1)

Country Link
CN (1) CN117740732A (en)

Similar Documents

Publication Publication Date Title
US8495950B2 (en) Method and apparatus for brewing coffee via universal coffee brewing chart generation
US20170119195A1 (en) System and method for controlling the brew process of a coffee maker
US7952697B2 (en) Coffee refractometer method and apparatus
Lukinac et al. Computer vision method in beer quality evaluation—A review
CN110891465B (en) Drip type coffee machine with total dissolved solid measuring function
CN102869291B (en) Method and apparatus for controlling brewed beverage quality
US11335078B2 (en) System, method and computer program
US11206980B2 (en) Personal wellness monitoring system
EP3576586B1 (en) Cooker with analysis chamber
CN107155343A (en) It is determined that the method and system of the value of the variables of interest of the sample with organism
CN109998377A (en) Control method, apparatus, computer equipment and the storage medium of fluid flow
CN102721793A (en) Method and device for digitally detecting quality of edible vinegar
CN117740732A (en) Refractometer and method for measuring concentration of liquid
US20080121023A1 (en) Masticatory Efficiency Measuring Apparatus and Masticatory Efficiency Measuring Method Using the Same
WO2010042456A1 (en) Coffee refractometer method and apparatus
CN109238353B (en) A kind of flexible measurement method of concentrated coffee quality
JPH0815140A (en) Grain evaluation system
US20210364488A1 (en) A nutrition analysis module for a food processing device or food storage device
JP2745020B2 (en) Coffee bean quality evaluation device
WO2023023964A1 (en) Refractometer, smart cup, and refractive index measurement method
CN211122530U (en) Online real-time detection saccharimeter
JPS6367547A (en) Taste measuring instrument for rice
JPH10253583A (en) Method for measuring bitterness
CN115298536A (en) Refractometer, detection device and method for detecting refractive index
EP4078102A1 (en) System and methods of measuring properties of fluids

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