[go: up one dir, main page]

WO2025152031A1 - Coffee granule measurement device and method - Google Patents

Coffee granule measurement device and method

Info

Publication number
WO2025152031A1
WO2025152031A1 PCT/CN2024/072533 CN2024072533W WO2025152031A1 WO 2025152031 A1 WO2025152031 A1 WO 2025152031A1 CN 2024072533 W CN2024072533 W CN 2024072533W WO 2025152031 A1 WO2025152031 A1 WO 2025152031A1
Authority
WO
WIPO (PCT)
Prior art keywords
coffee particles
temperature
electrode
coffee
condensation surface
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
PCT/CN2024/072533
Other languages
French (fr)
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 Digitizing Fluid Technology Co Ltd
Original Assignee
Shenzhen Digitizing Fluid 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 Digitizing Fluid Technology Co Ltd filed Critical Shenzhen Digitizing Fluid Technology Co Ltd
Priority to PCT/CN2024/072533 priority Critical patent/WO2025152031A1/en
Publication of WO2025152031A1 publication Critical patent/WO2025152031A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N25/00Investigating or analyzing materials by the use of thermal means
    • G01N25/56Investigating or analyzing materials by the use of thermal means by investigating moisture content
    • G01N25/66Investigating or analyzing materials by the use of thermal means by investigating moisture content by investigating dew-point
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N27/00Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
    • G01N27/02Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance
    • G01N27/22Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating capacitance

Definitions

  • Water activity also known as water activity or water activity refers to the ratio of the equilibrium vapor pressure of a certain food to the saturated vapor pressure of pure water at the same temperature in a confined space.
  • the value of water activity ranges from 0 to 1. The closer the water activity of coffee beans is to 1, the more water in the coffee beans can be used by microorganisms, which means that it is easier to be affected by mold, bacteria, etc. and reduce the quality and flavor. It is generally recommended to maintain the water activity of green coffee beans between 0.4 and 0.6 to ensure the preservation of the green coffee beans and avoid the influence of microorganisms.
  • the existing measurement of water activity of coffee beans generally uses an electronic hygrometer, which uses a resistor or capacitor sensor to measure relative humidity.
  • the sensor converts the electrical signal and the humidity signal through the change of capacitance or resistance, and obtains an equilibrium relative humidity value.
  • the equilibrium relative humidity is numerically equal to the sample water activity.
  • This method requires regular calibration due to the indirectness of the measurement, and the definition of capacitance, resistance and humidity is irrelevant.
  • This indirect technology requires calibration of the correlation between capacitance changes and humidity changes. Because humidity is only one of the many factors in measuring capacitance and resistance, capacitance and resistance may be affected by factors such as condensation, aging, and contact with certain chemicals. In addition, full equilibrium needs to be achieved in the sensor during measurement. This process generally takes 30 minutes to 1 hour to stabilize the final value.
  • the device also pre-stores the correspondence between different types of coffee particles or different water contents and water activity intervals; the control component is also used to obtain the type of the coffee particles or the water content of the coffee particles, confirm the water activity interval corresponding to the coffee particles according to the type of the coffee particles or the water content of the coffee particles, and control the refrigeration component to continue cooling when the water activity is not within the water activity interval corresponding to the coffee particles.
  • the cooling component is located on one side of the condensation surface
  • the device further includes a heat sink located on a side of the cooling component facing away from the condensation surface and arranged adjacent to the cooling component, and a heat sink fan arranged adjacent to the heat sink.
  • the dew point detection module includes a second imaging module for acquiring images of the condensation surface at different times; the calculation module is further used to detect whether dew points appear on the condensation surface and/or the position of the dew on the condensation surface according to the grayscale values of the images at different times.
  • the calculation module is used to acquire the grayscale value mean of the images of the condensation surface at different times, and the grayscale value distribution of different partitions on the images of the condensation surface at different times, to determine whether dew points appear on the condensation surface.
  • the first temperature detection module includes a platinum resistance sensor located on one side of the condensation surface, and the calculation module is used to obtain the lag time of the platinum resistance sensor, and calculate the dew point temperature based on the temperature measured by the platinum resistance sensor at the lag time after the first moment.
  • the second vapor pressure is calculated based on the equilibrium temperature measured when the temperature of the accommodating space and the coffee particles reach equilibrium; the calculation module pre-stores a first relationship model between the water activity measured at the equilibrium temperature of 25 degrees Celsius and the water activity measured at other equilibrium temperatures; the calculation module is also used to calculate the water activity of the coffee particles corresponding to the equilibrium temperature of 25 degrees Celsius based on the equilibrium temperature, the water activity and the first relationship model.
  • the device is also used to obtain at least one of the following parameters of the coffee particles: moisture content, density, interstitial ratio, diameter, area, color, circularity, color uniformity, texture, and chromaticity.
  • the device includes an upper cover structure and a main body structure that are movably connected, the device also includes a removable inner liner located in the main structure, the accommodating space is located in the removable inner liner, and the device also includes: a chassis structure, a first electrode and a second electrode, on the surface of which are provided with a first electrode contact and a second electrode contact, and a first electrode and a second electrode, which are fixed in the main structure; the first electrode and the second electrode are fixed on the chassis structure and are respectively connected to the first electrode contact and the second electrode contact; when the removable inner liner is combined into the main structure, the accommodating space is embedded between the first electrode and the second electrode to change the capacitance value between the first electrode and the second electrode; the calculation module is also used to calculate the moisture content of the coffee particles based on the capacitance value between the first electrode and the second electrode.
  • the first electrode is located on the chassis structure, and the second electrode is in a ring shape surrounding the first electrode, so that an annular hollow cavity is formed between the first electrode and the second electrode; at least a portion of the removable inner liner is made of non-conductive material, and a groove extending toward the accommodating space is formed on the bottom surface of the removable inner liner, and the accommodating space is in a ring shape surrounding the groove, so that when the removable inner liner is fixed to the main structure, the accommodating space in the removable inner liner is embedded in the annular hollow cavity, and the first electrode is embedded in the groove from the outside of the bottom surface of the removable inner liner.
  • the device also includes a detection circuit located in the main body structure, the detection circuit includes a measured loop and a reference loop, the first electrode contact and the second electrode contact are located on the measured loop, and a reference capacitor with a known capacitance value is provided on the reference loop; the calculation module is used to obtain the capacitance difference between the capacitance value between the first electrode and the second electrode detected by the detection circuit and the capacitance value of the reference capacitor; the calculation module is also used to calculate the moisture content of the coffee particles according to a pre-stored relationship model between the capacitance difference and the moisture content, and the obtained capacitance difference.
  • a detection circuit located in the main body structure, the detection circuit includes a measured loop and a reference loop, the first electrode contact and the second electrode contact are located on the measured loop, and a reference capacitor with a known capacitance value is provided on the reference loop; the calculation module is used to obtain the capacitance difference between the capacitance value between the first electrode and the second electrode detected by the detection circuit and the capacitance value of the reference
  • the detection circuit is also used to obtain at least two capacitance values between the first electrode and the second electrode corresponding to at least two different electrode frequencies; the calculation module is also used to calculate at least two corresponding moisture contents according to the at least two capacitance values, and to perform weighted calculation of the at least two moisture contents to obtain the moisture content of the coffee particles.
  • the condensation surface, the cooling module, the first temperature detection module and the dew point detection module are located in the upper cover structure; a third imaging module is also provided in the upper cover structure for imaging the coffee particles in the accommodating space; a preset correction model is also pre-stored in the device for indicating the relationship between the moisture content and at least the gap ratio; the calculation module is also used to obtain the gap ratio of the coffee particles according to the imaging, and to correct the moisture content according to the gap ratio and the preset correction model.
  • the preset correction model is a relationship model between the moisture content and at least the gap ratio and the temperature of the coffee particles; the device also includes a second temperature detection module for detecting the temperature of the coffee particles; the calculation module is used to correct the moisture content according to the temperature of the coffee particles detected by the second temperature detection module, the gap ratio and the preset correction model.
  • the device further comprises a pressure sensor located under the chassis structure in the main structure, for detecting the weight of the coffee particles in the detachable inner container; the calculation module is further used to calculate the volume of the coffee particles according to the gap ratio and the volume of the detachable inner container, and to calculate the density of the coffee particles according to the weight of the coffee particles and the volume of the coffee particles detected by the pressure sensor.
  • the preset correction model is a relationship model between the moisture content and at least the gap ratio and the density; the calculation module is used to correct the moisture content according to the gap ratio, the density and the preset correction model.
  • the calculation module is further used to classify the coffee particles into one of a plurality of preset levels according to at least one of the following parameters: color, texture, diameter, area, circularity, color uniformity, chromaticity; the user interface is further used to display the level of the coffee particles to the user.
  • the calculation module is further used to pre-store or query in real time at least one of the guidance suggestions for storage, roasting, grinding, and brewing of coffee beans of different levels; the user interface is further used to display the guidance suggestions corresponding to the level of the coffee particles.
  • the calculation module is further used to pre-store a prediction model, and to predict the pre-treatment method and/or pre-treatment time of the coffee particles according to the at least one parameter of the coffee beans and the prediction model; the user interface is further used to display the pre-treatment method and/or pre-treatment time to the user.
  • the calculation module is further used to: obtain the pre-stored initial moisture content of the detachable inner liner; obtain the current moisture content of the detachable inner liner when it is empty; and correct the moisture content of the coffee particles according to the difference between the current moisture content and the initial moisture content.
  • the device comprises an upper cover structure and a main body structure that are movably connected, and the accommodating space is located in the main body structure;
  • the upper cover structure comprises a concave cavity, and when the upper cover structure covers the main body structure, the concave cavity is connected to the accommodating space;
  • the concave cavity is provided with a first platform at a first depth, and the condensation surface is located on the first platform;
  • the first imaging module is located in the upper cover structure, and the at least two light sources with different spectra are located at a second depth of the concave cavity, and the second depth is farther away from the accommodating space than the first depth.
  • the photosensitive array is located at a third depth of the concave cavity; the upper cover structure is also provided with an infrared anti-reflection glass located between the first depth and the third depth of the concave cavity to block the air passage between the first imaging module and the accommodating space; or, at least one reflector is also provided in the upper cover structure or the main body structure, and the second imaging module is used to receive the reflected light of the coffee particles to the at least two light beams with different spectra through the at least one reflector to image the coffee particles.
  • the device comprises an upper cover structure and a main body structure that are movably connected, and the device also comprises a The detachable inner liner in the structure, the accommodating space is located in the detachable inner liner, the bottom of the detachable inner liner is infrared anti-reflection glass, and the first imaging module is located below the bottom of the detachable inner liner.
  • the device also includes a temperature and humidity sensor for detecting the temperature and humidity of the environment in which the coffee beans are located; the device also includes an air pressure sensor for detecting the air pressure of the environment in which the coffee beans are located; the calculation module is also used to calculate the altitude data according to the air pressure; the user interface is also used to display the temperature and humidity, the air pressure and the altitude data as the picking environment data of the coffee beans.
  • the device also includes a calibration kit, which includes at least one of the following: a calibration inner tank, a calibration color card, a water activity standard solution, and a standard solution holding container; the calculation module is also used to perform at least one of the following: compensating for the moisture content measurement result of the coffee particles based on the moisture content measurement result of the calibration inner tank; compensating for the chromaticity measurement result of the coffee particles based on the chromaticity measurement result of the calibration color card; compensating for the water activity measurement result of the coffee particles based on the measurement result of the water activity standard solution in the standard solution holding container.
  • a calibration kit which includes at least one of the following: a calibration inner tank, a calibration color card, a water activity standard solution, and a standard solution holding container; the calculation module is also used to perform at least one of the following: compensating for the moisture content measurement result of the coffee particles based on the moisture content measurement result of the calibration inner tank; compensating for the chromaticity measurement result of the coffee particles based on the chromaticity measurement result
  • the present application provides a method for detecting coffee particles, comprising: cooling a condensation surface having an air passage connected to a accommodating space, the accommodating space being used to accommodate coffee particles, so that water vapor in the coffee particles condenses on the condensation surface to form dew; detecting whether the dew appears on the condensation surface; determining a first moment, the first moment being the moment when the dew point is detected to appear on the condensation surface; detecting the temperature of at least one point on the condensation surface, and determining the dew point temperature based on the temperature of the at least one point at the first moment; obtaining a first vapor pressure based on the dew point temperature; obtaining the temperature of the accommodating space and the coffee particles; obtaining a second vapor pressure based on the temperature of the accommodating space and the coffee particles, and calculating the water activity of the coffee particles based on the first vapor pressure and the second vapor pressure.
  • cooling the condensation surface having an air passage connected to the accommodating space includes: in a first stage, controlling the refrigeration component at maximum power to cool the condensation surface to a first temperature; in a second stage, controlling the refrigeration component at dynamic power to cool the condensation surface, so that the condensation surface is cooled from the first temperature to the dew point temperature at a constant cooling rate; wherein the cooling rate of the condensation surface in the second stage is lower than the cooling rate in the first stage.
  • the step of controlling the refrigeration component with a first power to cool the condensation surface to a first temperature also includes obtaining the category of the coffee particles; and determining a value of the first temperature according to the category of the coffee particles.
  • the method further includes: obtaining the category of the coffee particles or the correspondence between different moisture contents and water activity ranges; obtaining the category of the coffee particles or the different moisture contents; confirming the water activity range corresponding to the coffee particles based on the category of the coffee particles or the different moisture contents and the correspondence; when the water activity is not within the water activity range corresponding to the coffee particles, controlling the refrigeration component to continue cooling.
  • detecting the temperature of at least one location on the condensation surface and determining the dew point temperature based on the temperature of the at least one location at a first moment include: detecting the temperature by a platinum resistance sensor located on one side of the condensation surface; obtaining the lag time of the platinum resistance sensor; and calculating the dew point temperature based on the temperature measured by the platinum resistance sensor at the lag time after the first moment.
  • the method further comprises: obtaining at least one of the following parameters of the coffee particles: moisture content, density, interstitial ratio, diameter, area, color, circularity, color uniformity, texture, and chromaticity.
  • the gap ratio of the coffee particles is obtained according to the imaging; and the moisture content is corrected according to the gap ratio and the preset correction model.
  • the method also includes: obtaining a pre-stored relationship model between the diameter and gap ratio, density and moisture content of coffee particles; calculating the diameter of the coffee particles based on the relationship model, the gap ratio, the density and the moisture content; and displaying the diameter of the coffee particles to the user through a user interface.
  • the method further includes: obtaining the pre-stored initial moisture content of the detachable inner container; obtaining the current moisture content of the detachable inner container when it is empty; and correcting the moisture content of the coffee particles according to the difference between the current moisture content and the initial moisture content.
  • the method further includes: detecting the temperature and humidity of the environment in which the coffee beans are located through a humidity sensor; detecting the air pressure of the environment in which the coffee beans are located through an air pressure sensor; calculating the altitude data according to the air pressure; and displaying the temperature and humidity, the air pressure and the altitude data as the picking environment data of the coffee beans through a user interface.
  • the coffee particle detection device also includes a second temperature detection module for monitoring the cavity temperature and the temperature of the coffee particles to provide temperature information in multiple dimensions.
  • the second temperature detection module includes an infrared temperature sensor, which is located on one side of the accommodating space. The temperature of the coffee particles in the accommodating space can be measured by infrared temperature measurement, and the temperature of the environment in which it is located, that is, the cavity temperature, can be output to the calculation module to determine whether the temperature balance is achieved.
  • the second temperature detection module also includes a temperature and humidity sensor for detecting the temperature and humidity in the cavity, which can provide more environmental information for the calculation of the calculation module and improve the accuracy of the calculation results.
  • AW AW_ub+b*(T2-T1), where b is a fixed constant that can be obtained through experiments, T1 is the temperature of the coffee particles, T2 is the cavity temperature, AW_ub is the water activity of the coffee particles obtained by using the cavity temperature T2 as the equilibrium temperature, and AW is the water activity compensated by the difference between the cavity temperature and the temperature of the coffee particles.
  • the cooling module includes a refrigeration component and a control component, the refrigeration component is in contact with the condensation surface, and the control component is used to control the cooling of the refrigeration component to drive the cooling of the condensation surface.
  • the control component is used to control the refrigeration component to cool the condensation surface to a first temperature at a first power in the first stage, and the first temperature is higher than the dew point temperature. Then the control component controls the refrigeration component to cool the condensation surface at a dynamic power in the second stage, so that the condensation surface is cooled from the first temperature to the dew point temperature at a constant cooling rate, and the cooling rate of the condensation surface in the second stage is lower than the cooling rate in the first stage.
  • the first imaging module includes a light source and a photosensitive array
  • the light source is used to emit a light beam to the accommodating space
  • the photosensitive array is used to receive the light beam reflected by the coffee particles in the accommodating space and to form an image.
  • the control component obtains the category of the coffee particles by identifying the content of the imaging.
  • the imaging of the first imaging module can also allow the calculation module to calculate the chromaticity value of the coffee particles.
  • the coffee particle detection device also pre-stores the correspondence between different categories of coffee particles or different moisture contents and water activity intervals.
  • the calculation module After the calculation module calculates the water activity, the calculation module also finds the corresponding water activity interval according to the category of the coffee particles or the moisture content of the coffee particles, and confirms whether the calculated water activity is within the corresponding water activity interval. If not, it means that an error occurred in the process of measuring the water activity, for example, the dew point detection module may have mistakenly detected dew.
  • the cooling module is used to continue to cool the condensation surface to find the true dew point temperature.
  • the cooling module 25 includes a cooling component 251 located on one side of the condensation surface 24, a heat sink 252 located on the side of the cooling component 251 facing away from the condensation surface 24 and fixed to the cooling component 251, and a heat sink fan 253 disposed adjacent to the heat sink 252.
  • the coffee particle detection device further includes a circulation fan 26 located in the upper cover structure on one side of the condensation surface 24 and a motor 28 for driving the circulation fan 26.
  • the measurement lag time of the platinum resistance sensor can be calculated using the temperatures measured by the thermistor and the platinum resistance sensor respectively, and then the real measurement time of the dew point temperature can be accurately obtained according to the first moment and the lag time.
  • the platinum resistance sensor can adopt a four-wire platinum resistance sensor.
  • the four-wire lead method is to connect two wires at both ends of the root of the thermal resistor, where two leads provide a constant current I for the thermal resistor and convert R into a voltage signal U. This wiring method does not require equal resistance for the leads, and can eliminate the influence of lead resistance on temperature measurement.
  • the dew point detection module may include a thermal imaging module for thermal imaging the condensation surface.
  • the calculation module is also used to confirm at least one of the following items based on the thermal image output by the thermal imaging module: whether a dew point appears on the condensation surface, the position of the dew point on the condensation surface, and the dew point temperature.
  • the calculation module distinguishes whether condensation occurs in each image by counting the mean grayscale values of the images of the condensation surface at different times.
  • the calculation module can count the overall mean grayscale value of each image, or divide the image into fixed different partitions, and count the mean grayscale value of each partition in each image, and identify the image with condensation in the partition by comparing the mean grayscale values of different partitions in the same image, and/or the mean grayscale values of the same partition in different images. In this way, the images with condensation and the positions of condensation in the images can be screened out at the same time.
  • the calculation module can also determine the region of interest from the image before counting the grayscale values, and then only count the grayscale values of the region of interest. Statistics, which can improve the correlation of the image area used to determine condensation, and then improve the accuracy and efficiency of condensation position detection.
  • the calculation module is also used to screen the initial image containing dew from the multiple images output by the second imaging module, and perform edge detection on the dew on the condensation surface in the initial image. When it is confirmed that the smoothness of the edge of the dew is greater than a preset threshold, the calculation module confirms that the dew in the initial image is the dew.
  • the edge of the dew is relatively smooth and has a relatively gentle change, while the edge of the dirt will have a larger mutation.
  • the temperature of multiple points on the condensation surface is measured by multiple temperature sensors, and the temperature of the condensation position is calculated according to the temperature of the multiple points, which can improve the accuracy of the temperature measurement at the condensation position.
  • the calculation module may be located in the upper cover structure or in the main structure, or the calculation module may include different parts for performing different calculations, and the different parts are located in different positions.
  • the part of the calculation module used to calculate water activity is located in the upper cover structure, and the part used to calculate water content is located in the main structure, which is not limited here.
  • FIG. 9 is a schematic diagram of temperature detection points and condensation positions on a condensation surface in an embodiment of the present application.
  • Nine temperature detection points are arranged on the condensation surface (represented by nine small dots in the figure respectively), and the first temperature detection module detects that the temperatures of the nine temperature detection points at the first moment are T1 to T9 respectively, and according to the condensation position L5 detected by the dew point detection module, the distances between the nine temperature detection points and the condensation position are calculated to be d1 to d9 respectively.
  • the coffee particle detection device of the present application is not only used to detect the water activity of coffee particles, but also used to detect other parameters of coffee particles, such as at least one of the following: moisture content, density, gap ratio, diameter, area, color, circularity, color uniformity, texture, chromaticity.
  • the coffee particle detection device also includes an interface for displaying these parameters of coffee particles.
  • at least one of the diameter, area, color, circularity, color uniformity, texture, and chromaticity of coffee particles can be obtained by identifying the image output by the first imaging module. Among them, the color and chromaticity are calculated in different ways.
  • the calculation module further includes a moisture content calculation module (not shown) located in the main structure 22, which is used to calculate the moisture content (Moisture Content, MC) of the coffee particles according to the capacitance value between the first electrode 92 and the second electrode 93.
  • MC Moisture Content
  • the first electrode 92 is a columnar electrode located on the chassis structure 93
  • the second electrode 93 is in a ring shape surrounding the first electrode 92, so that an annular hollow cavity is formed between the first electrode and the second electrode.
  • FIG12a is a bottom side view of the removable liner shown in FIG9.
  • the removable liner can be made entirely of plastic, or, in some examples, the removable liner includes a ring wall made of oxidized metal, and the bottom surface and the groove made of non-conductive material (such as plastic). Since the removable liner is made of metal, it will shield the electric field and make it impossible to measure the moisture content of the coffee particles in the removable liner. In this example, the ring wall made of metal is stronger than plastic and more wear-resistant. In addition, the metal will not conduct electricity after oxidation, which can avoid affecting the distance between the first electrode and the second electrode and thus affecting the measurement of the capacitance value.
  • the bottom of the first electrode is set to be higher than the bottom of the second electrode so as to concentrate the electric field generated between the first electrode and the second electrode in the middle area of the detachable inner liner, which can avoid the situation where the detachable inner liner cannot be completely placed in the annular hollow area between the first electrode and the second electrode when the depth is shallow, resulting in inaccurate moisture content measurement.
  • Figure 12b is a schematic diagram of the chassis structure and the first electrode of a coffee particle detection device of an embodiment of the present application.
  • a base 95 is also provided on the chassis structure 90 at the bottom of the first electrode 92.
  • the first electrode contact is arranged on the base 95, and the first electrode 92 is fixed on the base 95 and connected to the first electrode contact, so that the bottom of the first electrode 92 is higher than the bottom of the second electrode.
  • the electrode can be used as part of a removable liner.
  • Figure 13 is an exploded schematic diagram of a chassis structure and a removable liner of a coffee particle detection device according to an embodiment of the present application
  • Figure 14 is a schematic diagram of the assembly relationship between the chassis structure and the removable liner shown in Figure 13.
  • the coffee particle detection device includes a chassis structure 90 located in the main structure and an electrode contact 91 located on the chassis structure 90.
  • a portion of the removable liner 23 is a first electrode 1411 and a portion is a second electrode 1412, and the first electrode 1411 and the second electrode 1412 are connected by a non-conductive material 1413.
  • the first electrode 1411 and the second electrode 1412 are in contact with different electrode contacts 90 respectively, and the accommodating space 232 is located between the first electrode 1411 and the second electrode 1412.
  • the coffee particle detection device is equipped with removable liners of different sizes to allow users to flexibly choose.
  • the coffee particle detection device is also equipped with removable liners 96 and 97 of small volume and small depth, respectively.
  • the removable liners are made of non-conductive materials (such as plastic liners)
  • the plastic liners can be more convenient for users to operate the coffee particles to be tested, and the volume of the plastic liners is easier to customize and modify than the metal liners, which can better meet the customized needs of users.
  • the removable liners made of non-conductive materials will generate a fixed capacitance value C2 when placed between the electrodes in the main structure.
  • the capacitance value measured by the detection module is also subtracted. Remove the fixed capacitance value C2.
  • the detection circuit when the detection circuit detects the capacitance value between the first electrode and the second electrode, it can be measured at a fixed electrode frequency. Alternatively, the electrode frequency can also be changed. Since the capacitance corresponding to the coffee particles between the first electrode and the second electrode will change with the change of the electrode frequency, the detection circuit can also obtain at least two capacitance values corresponding to at least two different electrode frequencies between the first electrode and the second electrode.
  • the calculation module is also used to calculate at least two corresponding moisture contents according to the at least two capacitance values, and to obtain the moisture content of the coffee particles by weighted calculation of the at least two moisture contents.
  • the moisture content calculation module has pre-stored relationship models for different coffee particle categories.
  • the moisture content calculation module has pre-stored at least one of the following: a first relationship model for green coffee beans, a second relationship model for roasted beans, a third relationship model for dried coffee fruits, and a fourth relationship model for shelled beans.
  • the moisture content of the empty detachable inner liner can be measured at regular intervals, and the measured moisture content of the detachable inner liner can be used as the current moisture content of the detachable inner liner to correct the moisture content of the coffee particles over the next period of time.
  • the coffee particle detection device is also preset with a relationship model between the diameter and the gap ratio, density and moisture content of the coffee particles.
  • the calculation module is also used to calculate the diameter of the coffee particles according to the relationship model, the gap ratio, density and moisture content of the coffee particles.
  • the coffee particle detection device also includes a user interface for displaying the diameter of the coffee particles to the user.
  • the coffee particle detection device can also record the temperature and humidity of the environment in which the coffee particles are located through the temperature and humidity sensor, and record the measurement results as one of the coffee bean picking environment parameters.
  • the coffee particle detection device is also provided with an air pressure sensor for measuring the air pressure of the environment in which the coffee beans are located.
  • Figure 18b is a structural schematic diagram of a self-calibration kit in an embodiment of the present application.
  • the self-calibration kit includes a calibration liner 182, a calibration color card 183, a water activity standard solution (not shown) and a standard solution carrying container 184.
  • the shape of the calibration liner 182 can be consistent with the shape of the detachable liner.
  • the calculation module can compare the moisture content measurement result of the calibration liner with the moisture content of the pre-stored calibration liner, and compensate the moisture content of the measured coffee particles according to the difference.
  • the calibration color card 183 includes a plane portion 1831 with color.
  • Step S1905 obtaining a first vapor pressure according to the dew point temperature.
  • Step S1906 obtaining the temperature of the containing space and the coffee particles.
  • Step S1907 obtaining a second vapor pressure according to the temperature of the containing space and the coffee particles.
  • Step S1908 calculating the water activity of the coffee particles according to the first vapor pressure and the second vapor pressure.
  • the method of obtaining the category of the coffee particles includes: providing the user with options of different categories of coffee particles through an interactive interface; and determining the category of the coffee particles according to the option selected by the user.
  • the method further includes: emitting at least two light beams of different spectra to the coffee particles in the accommodating space; receiving reflected light of the coffee particles from the at least two light beams of different spectra and imaging the coffee particles; and calculating the chromaticity value of the coffee particles based on the imaging of the coffee particles;
  • the method of obtaining the category of the coffee particles includes: obtaining the category of the coffee particles based on the imaging of the coffee particles.
  • the method of obtaining the category of the coffee particles includes: obtaining the moisture content of the coffee particles; and determining the category of the coffee particles based on the moisture content and a pre-stored correspondence between different moisture contents and categories of coffee particles.
  • the detecting whether the dew appears on the condensation surface includes: detecting whether dew points appear on the condensation surface and/or the position of the dew on the condensation surface according to the grayscale values of the imaging at different moments.
  • the detecting whether dew points appear on the dew condensation surface according to the grayscale values of the images of the dew condensation surface at different times includes: obtaining the grayscale value mean of the images of the dew condensation surface at different times, and/or the grayscale value distribution of different partitions on the images of the dew condensation surface at different times; determining whether dew points appear on the dew condensation surface according to the grayscale value mean and/or the grayscale value distribution.
  • the second vapor pressure is calculated based on the equilibrium temperature measured when the temperatures of the accommodating space and the coffee particles reach equilibrium; the method further includes: obtaining a first relationship model between the water activity measured at a pre-stored equilibrium temperature of 25 degrees Celsius and the water activity measured at other equilibrium temperatures; and calculating the water activity of the coffee particles at the equilibrium temperature of 25 degrees Celsius according to the equilibrium temperature, the water activity and the first relationship model.
  • the second vapor pressure is calculated based on the temperature when the temperatures of the accommodating space and the coffee particles do not reach equilibrium; the method further includes: obtaining a second relationship model between the water activity measured at a pre-stored equilibrium temperature of 25 degrees Celsius and the water activity measured at other non-equilibrium temperatures; and calculating the water activity of the coffee particles at the equilibrium temperature of 25 degrees Celsius according to the temperatures of the accommodating space and the coffee particles, the water activity and the second relationship model.
  • the method further comprises: obtaining at least one of the following parameters of the coffee particles: moisture content, density, interstitial ratio, diameter, area, color, circularity, color uniformity, texture, and chromaticity.
  • the method further includes: placing the accommodation space between the first electrode and the second electrode to change the capacitance value between the first electrode and the second electrode; detecting the capacitance value between the first electrode and the second electrode by a detection circuit; and calculating the moisture content of the coffee particles according to the capacitance value between the first electrode and the second electrode.
  • the detection circuit includes a measured loop and a reference loop, and a reference capacitor with a known capacitance value is provided on the reference loop; the method further includes obtaining a capacitance difference between the capacitance value between the first electrode and the second electrode detected by the detection circuit and the capacitance value of the reference capacitor; the calculating the moisture content of the coffee particles according to the capacitance value between the first electrode and the second electrode includes: calculating the moisture content of the coffee particles according to a pre-stored relationship model between the capacitance difference and the moisture content, and the obtained capacitance difference.
  • the method further includes: detecting the weight of the coffee particles by a pressure sensor; calculating the volume of the coffee particles according to the gap ratio and the volume of the accommodating space; and calculating the density of the coffee particles according to the weight of the coffee particles detected by the pressure sensor and the volume of the coffee particles.
  • the preset correction model is a relationship model between the interstitial ratio, the density and the moisture content; and correcting the moisture content according to the interstitial ratio and the preset correction model includes: correcting the moisture content according to the interstitial ratio, the density and the preset correction model.
  • the method further comprises: classifying the coffee particles into one of a plurality of preset levels according to at least one of the following parameters: color, texture, diameter, area, circularity, color uniformity, chromaticity; and displaying the level of the coffee particles to the user through a user interface.
  • the method further comprises: obtaining pre-stored or real-time querying guidance suggestions for at least one of storage, roasting, grinding, and brewing of coffee beans of different levels; and displaying the guidance suggestions corresponding to the level of the coffee particles through the user interface.

Landscapes

  • Chemical & Material Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • Tea And Coffee (AREA)

Abstract

A coffee granule measurement device and method. The measurement device (10) comprises an accommodating space (11) for accommodating coffee granules, a condensation surface (12), a cooling module (13), a first temperature measurement module (14), a dew point measurement module (15), and a calculation module (16). The cooling module (13) is used for cooling the condensation surface (12) so that water vapor of the coffee granules condenses on the condensation surface to form dew. The dew point measurement module (15) is used for detecting whether dew occurs on the condensation surface (12). The first temperature measurement module (14) is used for measuring the temperature of at least one position on the condensation surface (12). The calculation module (16) is used for: determining a first moment, the first moment being the moment when dew is detected to occur on the condensation surface (12); determining a dew point temperature on the basis of the first moment and the temperature of the at least one position; acquiring a first vapor pressure on the basis of the dew point temperature; acquiring the temperature of the accommodating space (11) and the temperature of the coffee granules; acquiring a second vapor pressure on the basis of the temperature of the accommodating space (11) and the temperature of the coffee granules; and calculating the water activity of the coffee granules on the basis of the first vapor pressure and the second vapor pressure.

Description

一种咖啡颗粒检测装置和方法Coffee particle detection device and method 技术领域Technical Field

本申请涉及咖啡测量领域,尤其涉及一种咖啡颗粒检测装置和方法。The present application relates to the field of coffee measurement, and in particular to a coffee particle detection device and method.

背景技术Background Art

水活度(Water Activity,又称水分活度、水活度)是指在密闭空间中,某一种食品的平衡蒸气压与相同温度下纯水的饱和蒸气压的比值。水活度的数值介于0至1之间。咖啡豆的水活度越接近1表示咖啡豆中能够被微生物利用的水越多,意味著越容易被霉菌、细菌等影响而降低品质及风味。对于咖啡生豆的水活度一般建议维持在0.4至0.6之间,便可确保咖啡生豆的保存并免于微生物影响。咖啡生豆的水活度高于0.6时表示微生物有较多自由水可利用,可能被霉菌或真菌感染。咖啡生豆的水活度低于0.4时表示在处理咖啡生豆时过度干燥,或是运送、保存咖啡豆的环境过于干燥,会影响咖啡生豆的原有风味与之后的咖啡烘焙。Water activity (also known as water activity or water activity) refers to the ratio of the equilibrium vapor pressure of a certain food to the saturated vapor pressure of pure water at the same temperature in a confined space. The value of water activity ranges from 0 to 1. The closer the water activity of coffee beans is to 1, the more water in the coffee beans can be used by microorganisms, which means that it is easier to be affected by mold, bacteria, etc. and reduce the quality and flavor. It is generally recommended to maintain the water activity of green coffee beans between 0.4 and 0.6 to ensure the preservation of the green coffee beans and avoid the influence of microorganisms. When the water activity of green coffee beans is higher than 0.6, it means that there is more free water available for microorganisms and they may be infected by mold or fungi. When the water activity of green coffee beans is lower than 0.4, it means that the green coffee beans are over-dried when they are processed, or the environment in which the coffee beans are transported and stored is too dry, which will affect the original flavor of the green coffee beans and the subsequent coffee roasting.

现有的咖啡豆水活度的测量一般采用电子湿度计,该电子湿度计利用电阻或电容传感器来测量相对湿度。传感器通过电容或电阻的变化,仪器将电信号和湿度信号进行转换,得出一个平衡相对湿度值,当样品温度和传感器温度达到一致时,平衡相对湿度数值上等于样品水分活度。这种方法由于测量的间接性需要定期进行校准,而且电容、电阻与湿度的定义无关。这种非直接技术需要校准电容变化与湿度变化的相关性。因为湿度只是测量电容、电阻的众多因素之一,电容、电阻可能会受到冷凝、老化、接触某些化学物质等因素的影响。而且,测量时需要在传感器里达到充分平衡,此过程一般需要30分钟到1小时不等,才能使最终数值稳定。The existing measurement of water activity of coffee beans generally uses an electronic hygrometer, which uses a resistor or capacitor sensor to measure relative humidity. The sensor converts the electrical signal and the humidity signal through the change of capacitance or resistance, and obtains an equilibrium relative humidity value. When the sample temperature and the sensor temperature are consistent, the equilibrium relative humidity is numerically equal to the sample water activity. This method requires regular calibration due to the indirectness of the measurement, and the definition of capacitance, resistance and humidity is irrelevant. This indirect technology requires calibration of the correlation between capacitance changes and humidity changes. Because humidity is only one of the many factors in measuring capacitance and resistance, capacitance and resistance may be affected by factors such as condensation, aging, and contact with certain chemicals. In addition, full equilibrium needs to be achieved in the sensor during measurement. This process generally takes 30 minutes to 1 hour to stabilize the final value.

目前测量咖啡豆水活度的测量装置还存在可以改进的地方。There is still room for improvement in the current measuring devices for measuring the water activity of coffee beans.

发明内容Summary of the invention

本申请提供一种咖啡颗粒检测装置和方法,能够快速准确测量出咖啡颗粒的水活度。The present application provides a coffee particle detection device and method, which can quickly and accurately measure the water activity of coffee particles.

第一方面,本申请提供一种咖啡颗粒检测装置,包括容置空间、结露面、冷却模块、第一温度检测模块、露点检测模块和计算模块;所述容置空间用于容置咖啡颗粒;所述结露面和所述容置空间之间具有相连通的空气通道;所述冷却模块用于对所述结露面进行降温,以使所述咖啡颗粒中的水汽在所述结露面上凝结水析出露水;所述露点检测模块用于检测所述结露面上是否出现露水;所述第一温度检测模块用于探测所述结露面上至少一处的温度;所述计算模块用于:确定第一时刻,所述第一时刻为检测到所述结露面上出现所述露水的时刻;根据所述第一时刻和所述至少一处的温度确定露点温度;根据所述露点温度获取第一蒸气压;获取所述容置空间和所述咖啡颗粒的温度;根据所述容置空间和所述咖啡颗粒的温度获取第二蒸气压;以及根据所述第一蒸气压和所述第二蒸气压计算所述咖啡颗粒的水活度。In a first aspect, the present application provides a coffee particle detection device, comprising a accommodating space, a condensation surface, a cooling module, a first temperature detection module, a dew point detection module and a calculation module; the accommodating space is used to accommodate coffee particles; an air passage is connected between the condensation surface and the accommodating space; the cooling module is used to cool the condensation surface so that the water vapor in the coffee particles condenses on the condensation surface to precipitate dew; the dew point detection module is used to detect whether dew appears on the condensation surface; the first temperature detection module is used to detect the temperature of at least one place on the condensation surface; the calculation module is used to: determine a first moment, the first moment is the moment when the dew appears on the condensation surface; determine the dew point temperature according to the first moment and the temperature of the at least one place; obtain a first vapor pressure according to the dew point temperature; obtain the temperature of the accommodating space and the coffee particles; obtain a second vapor pressure according to the temperature of the accommodating space and the coffee particles; and calculate the water activity of the coffee particles according to the first vapor pressure and the second vapor pressure.

可选地,所述冷却模块包括制冷组件和控制组件,所述控制组件用于在第一阶段以最大功率控制所述制冷组件将所述结露面降温到第一温度,以及在第二阶段以动态功率控制所述制冷组件对所述结露面降温,使得所述结露面以恒定的降温速度从所述第一温度降到露点温度;其中,所述结露面在所述第二阶段的降温速度低于在所述第一阶段的降温速度。可选地,所述装置内预存有不同类别的咖啡颗粒分别对应的第一温度;所述控制组件还用于获取所述咖啡颗粒的类别,以及根据所述咖啡颗粒的类别确定所述第一温度的取值。可选地,所述装置内还预存有不同类别的咖啡颗粒或者不同的含水率与水活度区间的对应关系;所述控制组件还用于获取所述咖啡颗粒的类别或者所述咖啡颗粒的含水率,根据所述咖啡颗粒的类别或者所述咖啡颗粒的含水率确认所述咖啡颗粒对应的水活度区间,以及当所述水活度不位于所述咖啡颗粒对应的水活度区间内时,控制所述制冷组件继续降温。Optionally, the cooling module includes a refrigeration component and a control component, wherein the control component is used to control the refrigeration component to cool the condensation surface to a first temperature at maximum power in the first stage, and to control the refrigeration component to cool the condensation surface at dynamic power in the second stage, so that the condensation surface is cooled from the first temperature to the dew point temperature at a constant cooling rate; wherein the cooling rate of the condensation surface in the second stage is lower than the cooling rate in the first stage. Optionally, the device pre-stores first temperatures corresponding to different types of coffee particles; the control component is also used to obtain the type of the coffee particles, and determine the value of the first temperature according to the type of the coffee particles. Optionally, the device also pre-stores the correspondence between different types of coffee particles or different water contents and water activity intervals; the control component is also used to obtain the type of the coffee particles or the water content of the coffee particles, confirm the water activity interval corresponding to the coffee particles according to the type of the coffee particles or the water content of the coffee particles, and control the refrigeration component to continue cooling when the water activity is not within the water activity interval corresponding to the coffee particles.

可选地,所述装置还包括第一成像模块,所述第一成像模块包括至少两种不同光谱的光源,用于依次向所述容置空间内的咖啡颗粒出射不同光谱的光束;所述第一成像模块还包括用于依次接收所述咖啡颗粒对所述至少两种不同光谱的光束的反射光并对所述咖啡颗粒依次成像的感光阵列,其中所述感光阵列用于生成分别对应所述至少两种光源的至少两帧图像;所述计算模块还用于根据所述至少两帧图像计算所述咖啡颗粒的色度值;所述控制组件还用于根据所述咖啡颗粒的成像获取所述咖啡颗粒的类别。Optionally, the device also includes a first imaging module, which includes at least two light sources with different spectra, and is used to sequentially emit light beams of different spectra to the coffee particles in the accommodating space; the first imaging module also includes a photosensitive array for sequentially receiving reflected light of the coffee particles to the at least two light beams with different spectra and sequentially imaging the coffee particles, wherein the photosensitive array is used to generate at least two frames of images corresponding to the at least two light sources respectively; the calculation module is also used to calculate the chromaticity value of the coffee particles based on the at least two frames of images; the control component is also used to obtain the category of the coffee particles based on the imaging of the coffee particles.

可选地,所述装置内还预存有不同含水率和咖啡颗粒的类别的对应关系;所述控制组件还 用于获取所述咖啡颗粒的含水率,以及根据所述含水率确定所述咖啡颗粒的类别。Optionally, the device also pre-stores a correspondence between different moisture contents and types of coffee particles; the control component also Used to obtain the moisture content of the coffee particles, and determine the type of the coffee particles according to the moisture content.

可选地,所述冷却组件位于所述结露面一侧,所述装置还包括位于所述冷却组件背向所述结露面一侧的、与所述冷却组件相邻设置的散热片,以及与所述散热片相邻设置的散热片风扇。Optionally, the cooling component is located on one side of the condensation surface, and the device further includes a heat sink located on a side of the cooling component facing away from the condensation surface and arranged adjacent to the cooling component, and a heat sink fan arranged adjacent to the heat sink.

可选地,所述装置还包括位于所述结露面一侧的循环风扇和用于驱动所述循环风扇的电机,所述循环风扇用于提高所述容置空间和所述结露面之间的空气循环速度。Optionally, the device further comprises a circulation fan located on one side of the condensation surface and a motor for driving the circulation fan, wherein the circulation fan is used to increase the air circulation speed between the accommodating space and the condensation surface.

可选地,所述露点检测模块还用于检测所述结露面上的结露位置;所述第一温度检测模块用于获取所述结露面上至少两处的温度;所述计算模块用于获取所述至少两处的位置分别和所述结露位置之间的距离,根据所述至少两处的位置分别和所述结露位置之间的距离确定所述至少两处分别对应的权重,以及根据所述至少两处的温度以及所述至少两处分别对应的权重计算所述露点温度。Optionally, the dew point detection module is also used to detect the condensation position on the condensation surface; the first temperature detection module is used to obtain the temperatures of at least two locations on the condensation surface; the calculation module is used to obtain the distances between the positions of the at least two locations and the condensation positions, determine the weights corresponding to the at least two locations according to the distances between the positions of the at least two locations and the condensation positions, and calculate the dew point temperature according to the temperatures of the at least two locations and the weights corresponding to the at least two locations.

可选地,所述露点检测模块包括第二成像模块,用于获取所述结露面在不同时刻的成像;所述计算模块还用于根据所述不同时刻的成像的灰度值检测所述结露面上是否出现露点和/或所述露水在所述结露面上的位置。可选地,所述计算模块用于获取所述结露面在不同时刻的成像的灰度值均值,以及所述结露面在不同时刻的成像上不同分区的灰度值分布,来确定所述结露面上是否出现露点。Optionally, the dew point detection module includes a second imaging module for acquiring images of the condensation surface at different times; the calculation module is further used to detect whether dew points appear on the condensation surface and/or the position of the dew on the condensation surface according to the grayscale values of the images at different times. Optionally, the calculation module is used to acquire the grayscale value mean of the images of the condensation surface at different times, and the grayscale value distribution of different partitions on the images of the condensation surface at different times, to determine whether dew points appear on the condensation surface.

可选地,所述露点检测模块包括第二成像模块,用于获取所述结露面在不同时刻的成像;所述计算模块还用于获取所述结露面的包含露水的初始成像,以及对所述初始成像中的露水进行边缘检测或者纹理特征检测;当确认所述露水的边缘光滑度大于预设阈值时或者所述露水的纹理特征满足要求时,确认所述初始成像中的露水为所述露水。Optionally, the dew point detection module includes a second imaging module for obtaining images of the condensation surface at different times; the calculation module is also used to obtain an initial image of the condensation surface containing dew, and to perform edge detection or texture feature detection on the dew in the initial image; when it is confirmed that the edge smoothness of the dew is greater than a preset threshold or the texture feature of the dew meets the requirements, the dew in the initial image is confirmed to be the dew.

可选地,所述露点检测模块包括激光发射器、激光探测器;所述激光发射器出射的激光光束覆盖所述结露面,所述激光探测器用于接收经所述结露面反射的激光光束,以及根据所接收的激光光束产生电信号;所述计算模块还用于根据所述电信号的变化确认所述结露面上出现露水。Optionally, the dew point detection module includes a laser emitter and a laser detector; the laser beam emitted by the laser emitter covers the condensation surface, the laser detector is used to receive the laser beam reflected by the condensation surface, and to generate an electrical signal based on the received laser beam; the calculation module is also used to confirm the presence of dew on the condensation surface based on changes in the electrical signal.

可选地,所述第一温度检测模块包括位于所述结露面一侧的铂电阻传感器,所述计算模块用于获取所述铂电阻传感器的滞后时长,以及根据在所述第一时刻后的所述滞后时长时所述铂电阻传感器所测得的温度计算所述露点温度。Optionally, the first temperature detection module includes a platinum resistance sensor located on one side of the condensation surface, and the calculation module is used to obtain the lag time of the platinum resistance sensor, and calculate the dew point temperature based on the temperature measured by the platinum resistance sensor at the lag time after the first moment.

可选地,所述第二蒸气压是根据所述容置空间和所述咖啡颗粒的温度达到平衡时测得的平衡温度计算得到的;所述计算模块预存有25摄氏度的平衡温度下测得的水活度与其他平衡温度测得的水活度的第一关系模型;所述计算模块还用于根据所述平衡温度、所述水活度和所述第一关系模型计算所述咖啡颗粒在25摄氏度的平衡温度所对应的水活度。Optionally, the second vapor pressure is calculated based on the equilibrium temperature measured when the temperature of the accommodating space and the coffee particles reach equilibrium; the calculation module pre-stores a first relationship model between the water activity measured at the equilibrium temperature of 25 degrees Celsius and the water activity measured at other equilibrium temperatures; the calculation module is also used to calculate the water activity of the coffee particles corresponding to the equilibrium temperature of 25 degrees Celsius based on the equilibrium temperature, the water activity and the first relationship model.

可选地,所述第二蒸气压是根据所述容置空间和所述咖啡颗粒的温度未达到平衡时的温度计算得到的;所述计算模块预存有25摄氏度的平衡温度下测得的水活度与其他非平衡温度测得的水活度的第二关系模型;所述计算模块还用于根据所述容置空间和所述咖啡颗粒的温度、所述水活度和所述第二关系模型计算所述咖啡颗粒在25摄氏度的平衡温度所对应的水活度。Optionally, the second vapor pressure is calculated based on the temperature when the temperatures of the accommodating space and the coffee particles have not reached equilibrium; the calculation module pre-stores a second relationship model between the water activity measured at an equilibrium temperature of 25 degrees Celsius and the water activity measured at other non-equilibrium temperatures; the calculation module is also used to calculate the water activity of the coffee particles corresponding to the equilibrium temperature of 25 degrees Celsius based on the temperatures of the accommodating space and the coffee particles, the water activity and the second relationship model.

可选地,所述装置还用于获取所述咖啡颗粒的以下至少一项参数:含水率、密度、间隙率、直径、面积、颜色、圆形度、颜色均匀度、纹理、色度。Optionally, the device is also used to obtain at least one of the following parameters of the coffee particles: moisture content, density, interstitial ratio, diameter, area, color, circularity, color uniformity, texture, and chromaticity.

可选地,所述装置包括活动连接的上盖结构和主体结构,所述装置还包括位于在所述主体结构内的可拆卸内胆,所述容置空间位于所述可拆卸内胆内,所述装置还包括固定在所述主体结构内的:表面上设置有第一电极触点和第二电极触点的底盘结构、第一电极和第二电极;所述第一电极和所述第二电极固定在所述底盘结构上,并分别与所述第一电极触点和所述第二电极触点连接;当所述可拆卸内胆组合到所述主体结构内时,所述容置空间嵌入到所述第一电极和所述第二电极之间,以改变所述第一电极和所述第二电极之间的电容值;所述计算模块还用于根据所述第一电极和所述第二电极之间的电容值计算所述咖啡颗粒的含水率。Optionally, the device includes an upper cover structure and a main body structure that are movably connected, the device also includes a removable inner liner located in the main structure, the accommodating space is located in the removable inner liner, and the device also includes: a chassis structure, a first electrode and a second electrode, on the surface of which are provided with a first electrode contact and a second electrode contact, and a first electrode and a second electrode, which are fixed in the main structure; the first electrode and the second electrode are fixed on the chassis structure and are respectively connected to the first electrode contact and the second electrode contact; when the removable inner liner is combined into the main structure, the accommodating space is embedded between the first electrode and the second electrode to change the capacitance value between the first electrode and the second electrode; the calculation module is also used to calculate the moisture content of the coffee particles based on the capacitance value between the first electrode and the second electrode.

可选地,所述第一电极位于所述底盘结构上,所述第二电极呈环绕所述第一电极的环状,使得所述第一电极和所述第二电极之间形成环形的中空腔体;所述可拆卸内胆的至少部分由非导电材料制成,且所述可拆卸内胆的底面形成有向所述容置空间延伸的凹槽,所述容置空间呈环绕所述凹槽的环状,使得所述可拆卸内胆固定至所述主体结构时,所述可拆卸内胆中的容置空间嵌到所述环形的中空腔体中,且所述第一电极从所述可拆卸内胆的底面外侧嵌入所述凹槽内。可选地,所述可拆卸内胆包括由经氧化处理后的金属制成的环壁,以及由非导电材料制成的所述底面和所述凹槽。可选地,所述底盘结构上在所述第一电极的底部设有底台,所述第一电极触点设置在所述底台上,且所述第一电极固定在所述底台上和所述第一电极触点连接,使 得所述第一电极的底部高于所述第二电极的底部。Optionally, the first electrode is located on the chassis structure, and the second electrode is in a ring shape surrounding the first electrode, so that an annular hollow cavity is formed between the first electrode and the second electrode; at least a portion of the removable inner liner is made of non-conductive material, and a groove extending toward the accommodating space is formed on the bottom surface of the removable inner liner, and the accommodating space is in a ring shape surrounding the groove, so that when the removable inner liner is fixed to the main structure, the accommodating space in the removable inner liner is embedded in the annular hollow cavity, and the first electrode is embedded in the groove from the outside of the bottom surface of the removable inner liner. Optionally, the removable inner liner includes an annular wall made of oxidized metal, and the bottom surface and the groove are made of non-conductive material. Optionally, a base is provided at the bottom of the first electrode on the chassis structure, the first electrode contact is provided on the base, and the first electrode is fixed on the base and connected to the first electrode contact, so that The bottom of the first electrode is higher than the bottom of the second electrode.

可选地,所述装置包括活动连接的上盖结构和主体结构,所述装置包括位于所述主体结构内、且表面上设置有第一电极触点和第二电极触点的底盘结构;所述可拆卸内胆的一部分为第一电极以及一部分为第二电极,当所述可拆卸内胆组合到所述主体结构时,所述第一电极与所述第一电极触点接触,所述第二电极与所述第二电极触点接触,且所述容置空间位于所述第一电极和所述第二电极之间;所述计算模块还用于根据所述第一电极和所述第二电极之间的电容值计算所述咖啡颗粒的含水率。可选地,所述装置还包括位于所述主体结构内的检测电路,所述检测电路包括被测环路和参考环路,所述第一电极触点和所述第二电极触点位于所述被测环路上,所述参考环路上设置有已知电容值的参考电容;所述计算模块用于获取所述检测电路检测到的所述第一电极和所述第二电极之间的电容值与所述参考电容的电容值之间的电容差;所述计算模块还用于根据预存的电容差值与含水率的关系模型,以及所述获取到的电容差值计算所述咖啡颗粒的含水率。可选地,所述检测电路还用于获取所述第一电极和所述第二电极之间分别对应至少两种不同电极频率的至少两种电容值;所述计算模块还用于根据所述至少两种电容值计算分别对应的至少两种含水率,以及对所述至少两种含水率加权计算得到所述咖啡颗粒的含水率。Optionally, the device includes an upper cover structure and a main body structure that are movably connected, and the device includes a chassis structure located in the main body structure and provided with a first electrode contact and a second electrode contact on the surface; a part of the detachable inner liner is a first electrode and a part is a second electrode, when the detachable inner liner is combined with the main body structure, the first electrode contacts the first electrode contact, the second electrode contacts the second electrode contact, and the accommodating space is located between the first electrode and the second electrode; the calculation module is also used to calculate the moisture content of the coffee particles according to the capacitance value between the first electrode and the second electrode. Optionally, the device also includes a detection circuit located in the main body structure, the detection circuit includes a measured loop and a reference loop, the first electrode contact and the second electrode contact are located on the measured loop, and a reference capacitor with a known capacitance value is provided on the reference loop; the calculation module is used to obtain the capacitance difference between the capacitance value between the first electrode and the second electrode detected by the detection circuit and the capacitance value of the reference capacitor; the calculation module is also used to calculate the moisture content of the coffee particles according to a pre-stored relationship model between the capacitance difference and the moisture content, and the obtained capacitance difference. Optionally, the detection circuit is also used to obtain at least two capacitance values between the first electrode and the second electrode corresponding to at least two different electrode frequencies; the calculation module is also used to calculate at least two corresponding moisture contents according to the at least two capacitance values, and to perform weighted calculation of the at least two moisture contents to obtain the moisture content of the coffee particles.

可选地,所述结露面、所述冷却模块、所述第一温度检测模块和所述露点检测模块位于所述上盖结构内;所述上盖结构内还设置有第三成像模块,用于对所述容置空间内的咖啡颗粒进行成像;所述装置内还预存有预设校正模型,用于指示所述含水率与至少所述间隙率之间的关系;所述计算模块还用于根据所述成像获取所述咖啡颗粒的间隙率,以及根据所述间隙率和预设校正模型对所述含水率进行校正。可选地,所述预设校正模型为所述含水率与至少所述间隙率和所述咖啡颗粒温度温度的关系模型;所述装置还包括第二温度检测模块,用于对所述咖啡颗粒的温度进行检测;所述计算模块用于根据所述第二温度检测模块检测到的所述咖啡颗粒的温度、所述间隙率和所述预设校正模型对所述含水率进行校正。Optionally, the condensation surface, the cooling module, the first temperature detection module and the dew point detection module are located in the upper cover structure; a third imaging module is also provided in the upper cover structure for imaging the coffee particles in the accommodating space; a preset correction model is also pre-stored in the device for indicating the relationship between the moisture content and at least the gap ratio; the calculation module is also used to obtain the gap ratio of the coffee particles according to the imaging, and to correct the moisture content according to the gap ratio and the preset correction model. Optionally, the preset correction model is a relationship model between the moisture content and at least the gap ratio and the temperature of the coffee particles; the device also includes a second temperature detection module for detecting the temperature of the coffee particles; the calculation module is used to correct the moisture content according to the temperature of the coffee particles detected by the second temperature detection module, the gap ratio and the preset correction model.

可选地,所述装置还包括位于所述主体结构内的所述底盘结构底下的压力传感器,用于检测所述可拆卸内胆内的咖啡颗粒的重量;所述计算模块还用于根据所述间隙率和所述可拆卸内胆的体积计算所述咖啡颗粒的体积,以及根据所述压力传感器检测到的所述咖啡颗粒的重量和所述咖啡颗粒的体积计算所述咖啡颗粒的密度。可选地,所述预设校正模型为所述含水率与至少所述间隙率和所述密度的关系模型;所述计算模块用于根据所述间隙率、所述密度和所述预设校正模型对所述含水率进行校正。Optionally, the device further comprises a pressure sensor located under the chassis structure in the main structure, for detecting the weight of the coffee particles in the detachable inner container; the calculation module is further used to calculate the volume of the coffee particles according to the gap ratio and the volume of the detachable inner container, and to calculate the density of the coffee particles according to the weight of the coffee particles and the volume of the coffee particles detected by the pressure sensor. Optionally, the preset correction model is a relationship model between the moisture content and at least the gap ratio and the density; the calculation module is used to correct the moisture content according to the gap ratio, the density and the preset correction model.

可选地,所述装置内还预设有咖啡颗粒的直径和间隙率、密度与含水率之间的关系模型,所述计算模块还用于根据所述关系模型、所述间隙率、所述密度和所述含水率计算所述咖啡颗粒的直径;所述装置还包括用户界面,用于向用户展示所述咖啡颗粒的直径。Optionally, the device is also preset with a relationship model between the diameter of the coffee particles and the gap ratio, density and moisture content, and the calculation module is further used to calculate the diameter of the coffee particles based on the relationship model, the gap ratio, the density and the moisture content; the device also includes a user interface for displaying the diameter of the coffee particles to the user.

可选地,所述计算模块还用于根据以下至少一项参数将所述咖啡颗粒划分至多个预设等级中的一个:颜色、纹理、直径、面积、圆形度、颜色均匀度、色度;所述用户界面还用于向用户展示所述咖啡颗粒的等级。可选地,所述计算模块还用于预存或者实时查询不同等级的咖啡豆的存储、烘焙、研磨、冲煮中的至少一项的指导建议;所述用户界面还用于展示所述咖啡颗粒的等级所对应的所述指导建议。可选地,所述计算模块还预存有推测模型,以及根据咖啡豆的所述至少一项参数和所述推测模型推测出所述咖啡颗粒的预处理方式和/或预处理时间;所述用户界面还用于向用户展示所述预处理方式和/或预处理时间。可选地,所述计算模块还用于:获取预存的所述可拆卸内胆的初始含水率;获取所述可拆卸内胆在空置时的当前含水率;根据所述当前含水率和所述初始含水率的差值对所述咖啡颗粒的含水率进行校正。Optionally, the calculation module is further used to classify the coffee particles into one of a plurality of preset levels according to at least one of the following parameters: color, texture, diameter, area, circularity, color uniformity, chromaticity; the user interface is further used to display the level of the coffee particles to the user. Optionally, the calculation module is further used to pre-store or query in real time at least one of the guidance suggestions for storage, roasting, grinding, and brewing of coffee beans of different levels; the user interface is further used to display the guidance suggestions corresponding to the level of the coffee particles. Optionally, the calculation module is further used to pre-store a prediction model, and to predict the pre-treatment method and/or pre-treatment time of the coffee particles according to the at least one parameter of the coffee beans and the prediction model; the user interface is further used to display the pre-treatment method and/or pre-treatment time to the user. Optionally, the calculation module is further used to: obtain the pre-stored initial moisture content of the detachable inner liner; obtain the current moisture content of the detachable inner liner when it is empty; and correct the moisture content of the coffee particles according to the difference between the current moisture content and the initial moisture content.

可选地,所述装置包括活动连接的上盖结构和主体结构,所述容置空间位于所述主体结构内;所述上盖结构包括凹腔,当所述上盖结构盖住所述主体结构时,所述凹腔与所述容置空间连通;所述凹腔在第一深度处的设置有第一平台,所述结露面位于所述第一平台上;所述第一成像模块位于所述上盖结构内,且所述至少两种不同光谱的光源位于所述凹腔的第二深度,所述第二深度相比所述第一深度更远离所述容置空间。可选地,所述感光阵列位于所述凹腔的第三深度处;所述上盖结构内还设置有位于所述凹腔的所述第一深度和所述第三深度之间的红外增透玻璃,以阻断所述第一成像模块和所述容置空间之间的空气通道;或者,所述上盖结构内或者所述主体结构内还设置有至少一个反射镜,所述第二成像模块用于通过所述至少一个反射镜接收所述咖啡颗粒对所述至少两种不同光谱的光束的反射光,以对所述咖啡颗粒成像。Optionally, the device comprises an upper cover structure and a main body structure that are movably connected, and the accommodating space is located in the main body structure; the upper cover structure comprises a concave cavity, and when the upper cover structure covers the main body structure, the concave cavity is connected to the accommodating space; the concave cavity is provided with a first platform at a first depth, and the condensation surface is located on the first platform; the first imaging module is located in the upper cover structure, and the at least two light sources with different spectra are located at a second depth of the concave cavity, and the second depth is farther away from the accommodating space than the first depth. Optionally, the photosensitive array is located at a third depth of the concave cavity; the upper cover structure is also provided with an infrared anti-reflection glass located between the first depth and the third depth of the concave cavity to block the air passage between the first imaging module and the accommodating space; or, at least one reflector is also provided in the upper cover structure or the main body structure, and the second imaging module is used to receive the reflected light of the coffee particles to the at least two light beams with different spectra through the at least one reflector to image the coffee particles.

可选地,所述装置包括活动连接的上盖结构和主体结构,所述装置还包括位于在所述主体 结构内的可拆卸内胆,所述容置空间位于所述可拆卸内胆内,所述可拆卸内胆的底部为红外增透玻璃,所述第一成像模块位于所述可拆卸内胆的底部下方。可选地,所述装置还包括温湿度传感器,用于检测咖啡豆所处环境的温湿度;所述装置还包括气压传感器,用于检测咖啡豆所处环境的气压;所述计算模块还用于根据该气压计算出海拔数据;所述用户界面还用于将所述温湿度、所述气压和所述海拔数据展示为所述咖啡豆的采摘环境数据。Optionally, the device comprises an upper cover structure and a main body structure that are movably connected, and the device also comprises a The detachable inner liner in the structure, the accommodating space is located in the detachable inner liner, the bottom of the detachable inner liner is infrared anti-reflection glass, and the first imaging module is located below the bottom of the detachable inner liner. Optionally, the device also includes a temperature and humidity sensor for detecting the temperature and humidity of the environment in which the coffee beans are located; the device also includes an air pressure sensor for detecting the air pressure of the environment in which the coffee beans are located; the calculation module is also used to calculate the altitude data according to the air pressure; the user interface is also used to display the temperature and humidity, the air pressure and the altitude data as the picking environment data of the coffee beans.

所述装置还包括标定套件,所述自标定套件包括以下至少一件:标定内胆、标定色卡、水活度标准液、标准液承载容器;所述计算模块还用于执行以下至少一项:根据对所述标定内胆的含水率的测量结果对所述咖啡颗粒的含水率测量结果进行补偿;根据对所述标定色卡的色度测量结果对所述咖啡颗粒的色度测量结果进行补偿;根据对在所述标准液承载容器内的所述水活度标准液的测量结果对所述咖啡颗粒的水活度测量结果进行补偿。The device also includes a calibration kit, which includes at least one of the following: a calibration inner tank, a calibration color card, a water activity standard solution, and a standard solution holding container; the calculation module is also used to perform at least one of the following: compensating for the moisture content measurement result of the coffee particles based on the moisture content measurement result of the calibration inner tank; compensating for the chromaticity measurement result of the coffee particles based on the chromaticity measurement result of the calibration color card; compensating for the water activity measurement result of the coffee particles based on the measurement result of the water activity standard solution in the standard solution holding container.

第二方面,本申请提供一种咖啡颗粒检测方法,包括:对与容置空间具有连通的空气通道的结露面进行降温,所述容置空间用于容置咖啡颗粒,以使所述咖啡颗粒中的水汽在所述结露面上凝结水析出露水;检测所述结露面上是否出现所述露水;确定第一时刻,所述第一时刻为检测到所述结露面上出现所述露点的时刻;探测所述结露面上至少一处的温度,以及根据所述至少一处在第一时刻的温度确定露点温度;根据所述露点温度获取第一蒸气压;获取所述容置空间和所述咖啡颗粒的温度;根据所述所述容置空间和所述咖啡颗粒的温度获取第二蒸气压,根据所述第一蒸气压和所述第二蒸气压计算所述咖啡颗粒的水活度。In a second aspect, the present application provides a method for detecting coffee particles, comprising: cooling a condensation surface having an air passage connected to a accommodating space, the accommodating space being used to accommodate coffee particles, so that water vapor in the coffee particles condenses on the condensation surface to form dew; detecting whether the dew appears on the condensation surface; determining a first moment, the first moment being the moment when the dew point is detected to appear on the condensation surface; detecting the temperature of at least one point on the condensation surface, and determining the dew point temperature based on the temperature of the at least one point at the first moment; obtaining a first vapor pressure based on the dew point temperature; obtaining the temperature of the accommodating space and the coffee particles; obtaining a second vapor pressure based on the temperature of the accommodating space and the coffee particles, and calculating the water activity of the coffee particles based on the first vapor pressure and the second vapor pressure.

可选地,所述对与容置空间具有连通的空气通道的结露面进行降温,包括:在第一阶段以最大功率控制所述制冷组件将所述结露面降温到第一温度;在第二阶段用于以动态功率控制所述制冷组件对所述结露面降温,使得所述结露面以恒定的降温速度从所述第一温度降到露点温度;其中,所述结露面在所述第二阶段的降温速度低于在所述第一阶段的降温速度。Optionally, cooling the condensation surface having an air passage connected to the accommodating space includes: in a first stage, controlling the refrigeration component at maximum power to cool the condensation surface to a first temperature; in a second stage, controlling the refrigeration component at dynamic power to cool the condensation surface, so that the condensation surface is cooled from the first temperature to the dew point temperature at a constant cooling rate; wherein the cooling rate of the condensation surface in the second stage is lower than the cooling rate in the first stage.

可选地,所述以第一功率控制所述制冷组件将所述结露面降温到第一温度,之前还包括获取所述咖啡颗粒的类别;根据所述咖啡颗粒的类别确定所述第一温度的取值。Optionally, the step of controlling the refrigeration component with a first power to cool the condensation surface to a first temperature also includes obtaining the category of the coffee particles; and determining a value of the first temperature according to the category of the coffee particles.

可选地,所述方法还包括:获取所述咖啡颗粒的类别或者不同的含水率与水活度区间的对应关系;获取所述咖啡颗粒的类别或者不同的含水率;根据所述咖啡颗粒的类别或者不同的含水率和所述对应关系,确认所述咖啡颗粒对应的水活度区间;当所述水活度不位于所述咖啡颗粒对应的水活度区间内时,控制所述制冷组件继续降温。Optionally, the method further includes: obtaining the category of the coffee particles or the correspondence between different moisture contents and water activity ranges; obtaining the category of the coffee particles or the different moisture contents; confirming the water activity range corresponding to the coffee particles based on the category of the coffee particles or the different moisture contents and the correspondence; when the water activity is not within the water activity range corresponding to the coffee particles, controlling the refrigeration component to continue cooling.

可选地,所述获取所述咖啡颗粒的类别,包括:通过交互界面向用户提供不同类别的咖啡颗粒的选项;根据用户所选择的选项确定所述咖啡颗粒的类别。可选地,所述方法还包括:向所述容置空间内的咖啡颗粒出射至少两种不同光谱的光束;接收所述咖啡颗粒对所述至少两种不同光谱的光束的反射光并对所述咖啡颗粒进行成像;根据所述咖啡颗粒的成像计算所述咖啡颗粒的色度值;所述获取所述咖啡颗粒的类别,包括:根据所述咖啡颗粒的成像获取所述咖啡颗粒的类别。可选地,所述获取所述咖啡颗粒的类别,包括:获取所述咖啡颗粒的含水率;根据所述含水率和预存的不同含水率和咖啡颗粒的类别的对应关系,确定所述咖啡颗粒的类别。Optionally, the method of obtaining the category of the coffee particles includes: providing the user with options of different categories of coffee particles through an interactive interface; and determining the category of the coffee particles according to the option selected by the user. Optionally, the method further includes: emitting at least two light beams of different spectra to the coffee particles in the accommodating space; receiving reflected light of the coffee particles from the at least two light beams of different spectra and imaging the coffee particles; and calculating the chromaticity value of the coffee particles based on the imaging of the coffee particles; the method of obtaining the category of the coffee particles includes: obtaining the category of the coffee particles based on the imaging of the coffee particles. Optionally, the method of obtaining the category of the coffee particles includes: obtaining the moisture content of the coffee particles; and determining the category of the coffee particles based on the moisture content and a pre-stored correspondence between different moisture contents and categories of coffee particles.

可选地,所述检测所述结露面上是否出现所述露水,包括:根据所述不同时刻的成像的灰度值检测所述结露面上是否出现露点和/或所述露水在所述结露面上的位置。可选地,所述根据所述结露面在不同时刻的成像的灰度值检测所述结露面上是否出现露点,包括:获取所述结露面在不同时刻的成像的灰度值均值,和/或所述结露面在不同时刻的成像上不同分区的灰度值分布;根据所述灰度值均值和/或所述灰度值分布确定所述结露面上是否出现露点。Optionally, the detecting whether the dew appears on the condensation surface includes: detecting whether dew points appear on the condensation surface and/or the position of the dew on the condensation surface according to the grayscale values of the images at different times. Optionally, the detecting whether dew points appear on the condensation surface according to the grayscale values of the images at different times includes: obtaining the grayscale value mean of the images of the condensation surface at different times, and/or the grayscale value distribution of different partitions on the images of the condensation surface at different times; determining whether dew points appear on the condensation surface according to the grayscale value mean and/or the grayscale value distribution.

可选地,所述方法还包括:获取所述结露面的包含露水的初始成像,以及对所述初始成像中的露水进行边缘检测或者纹理特征检测;当确认所述露水的边缘光滑度大于预设阈值时或者所述露水的纹理特征满足要求时,确认所述初始成像中的露水为所述露水。可选地,所述检测所述结露面上是否出现所述露水,包括:通过激光发射器出射激光光束覆盖所述结露面;通过激光探测器接收经所述结露面反射的激光光束;根据所接收的激光光束产生电信号;根据所述电信号的变化确认所述结露面上出现露水。Optionally, the method further includes: obtaining an initial image of the condensation surface containing dew, and performing edge detection or texture feature detection on the dew in the initial image; when it is confirmed that the edge smoothness of the dew is greater than a preset threshold or the texture feature of the dew meets the requirements, confirming that the dew in the initial image is the dew. Optionally, the detection of whether the dew appears on the condensation surface includes: emitting a laser beam through a laser transmitter to cover the condensation surface; receiving the laser beam reflected by the condensation surface through a laser detector; generating an electrical signal according to the received laser beam; and confirming the presence of dew on the condensation surface according to changes in the electrical signal.

可选地,所述探测所述结露面上至少一处的温度,以及根据所述至少一处在第一时刻的温度确定露点温度,包括:通过位于所述结露面一侧的铂电阻传感器检测温度;获取所述铂电阻传感器的滞后时长;根据在所述第一时刻后的所述滞后时长时所述铂电阻传感器所测得的温度计算所述露点温度。Optionally, detecting the temperature of at least one location on the condensation surface and determining the dew point temperature based on the temperature of the at least one location at a first moment include: detecting the temperature by a platinum resistance sensor located on one side of the condensation surface; obtaining the lag time of the platinum resistance sensor; and calculating the dew point temperature based on the temperature measured by the platinum resistance sensor at the lag time after the first moment.

可选地,所述第二蒸气压是根据所述容置空间和所述咖啡颗粒的温度达到平衡时测得的平衡温度计算得到的;所述方法还包括:获取预存的25摄氏度的平衡温度下测得的水活度与其 他平衡温度测得的水活度的第一关系模型;根据所述平衡温度、所述水活度和所述第一关系模型计算所述咖啡颗粒在25摄氏度的平衡温度所对应的水活度。可选地,所述第二蒸气压是根据所述容置空间和所述咖啡颗粒的温度未达到平衡时的温度计算得到的;所述方法还包括:获取预存的25摄氏度的平衡温度下测得的水活度与其他非平衡温度测得的水活度的第二关系模型;根据所述容置空间和所述咖啡颗粒的温度、所述水活度和所述第二关系模型计算所述咖啡颗粒在25摄氏度的平衡温度所对应的水活度。Optionally, the second vapor pressure is calculated based on the equilibrium temperature measured when the temperature of the accommodating space and the coffee particles reaches equilibrium; the method further comprises: obtaining the water activity measured at the pre-stored equilibrium temperature of 25 degrees Celsius and comparing it with the water activity measured at the pre-stored equilibrium temperature of 25 degrees Celsius; The method further comprises: obtaining a pre-stored second relationship model of the water activity measured at the equilibrium temperature of 25 degrees Celsius and the water activity measured at other non-equilibrium temperatures; calculating the water activity of the coffee particles at the equilibrium temperature of 25 degrees Celsius according to the equilibrium temperature, the water activity and the first relationship model. Optionally, the second vapor pressure is calculated according to the temperature when the temperature of the accommodating space and the coffee particles are not in equilibrium; the method further comprises: obtaining a pre-stored second relationship model of the water activity measured at the equilibrium temperature of 25 degrees Celsius and the water activity measured at other non-equilibrium temperatures; calculating the water activity of the coffee particles at the equilibrium temperature of 25 degrees Celsius according to the temperature of the accommodating space and the coffee particles, the water activity and the second relationship model.

可选地,所述方法还包括:获取所述咖啡颗粒的以下至少一项参数:含水率、密度、间隙率、直径、面积、颜色、圆形度、颜色均匀度、纹理、色度。Optionally, the method further comprises: obtaining at least one of the following parameters of the coffee particles: moisture content, density, interstitial ratio, diameter, area, color, circularity, color uniformity, texture, and chromaticity.

可选地,所述方法还包括:将所述容置空间放置于第一电极和第二电极之间,以改变所述第一电极和所述第二电极之间的电容值;通过检测电路检测所述第一电极和所述第二电极之间的电容值;根据所述第一电极和所述第二电极之间的电容值计算所述咖啡颗粒的含水率。可选地,所述检测电路包括被测环路和参考环路,所述参考环路上设置有已知电容值的参考电容。所述方法还包括获取所述检测电路检测到的所述第一电极和所述第二电极之间的电容值与所述参考电容的电容值之间的电容差值;所述根据所述第一电极和所述第二电极之间的电容值计算所述咖啡颗粒的含水率,包括:根据预存的电容差值与含水率的关系模型,以及所述获取到的电容差值计算所述咖啡颗粒的含水率。可选地,所述通过检测电路检测所述第一电极和所述第二电极之间的电容值,包括:获取所述第一电极和所述第二电极之间分别对应至少两种不同电极频率的至少两种电容值;所述根据所述第一电极和所述第二电极之间的电容值计算所述咖啡颗粒的含水率,包括:根据所述至少两种电容值计算分别对应的至少两种含水率,以及对所述至少两种含水率加权计算得到所述咖啡颗粒的含水率。Optionally, the method further includes: placing the accommodating space between the first electrode and the second electrode to change the capacitance value between the first electrode and the second electrode; detecting the capacitance value between the first electrode and the second electrode by a detection circuit; and calculating the moisture content of the coffee particles according to the capacitance value between the first electrode and the second electrode. Optionally, the detection circuit includes a measured loop and a reference loop, and a reference capacitor with a known capacitance value is provided on the reference loop. The method further includes obtaining a capacitance difference between the capacitance value between the first electrode and the second electrode detected by the detection circuit and the capacitance value of the reference capacitor; the calculating the moisture content of the coffee particles according to the capacitance value between the first electrode and the second electrode includes: calculating the moisture content of the coffee particles according to a pre-stored relationship model between the capacitance difference and the moisture content, and the obtained capacitance difference. Optionally, detecting the capacitance value between the first electrode and the second electrode by means of a detection circuit includes: obtaining at least two capacitance values between the first electrode and the second electrode corresponding to at least two different electrode frequencies respectively; calculating the moisture content of the coffee particles according to the capacitance value between the first electrode and the second electrode includes: calculating at least two moisture contents corresponding to the at least two capacitance values respectively, and obtaining the moisture content of the coffee particles by weighted calculation of the at least two moisture contents.

可选地,所述方法还包括:获取预存的预设校正模型,所述预设校正模型为所述含水率与至少所述间隙率和所述咖啡颗粒温度温度的关系模型;对所述容置空间内的咖啡颗粒进行成像;Optionally, the method further comprises: acquiring a pre-stored preset correction model, wherein the preset correction model is a relationship model between the moisture content and at least the gap ratio and the temperature of the coffee particles; imaging the coffee particles in the accommodating space;

根据所述成像获取所述咖啡颗粒的间隙率;根据所述间隙率和所述预设校正模型对所述含水率进行校正。The gap ratio of the coffee particles is obtained according to the imaging; and the moisture content is corrected according to the gap ratio and the preset correction model.

可选地,所述预设校正模型为所述含水率与至少所述间隙率和所述咖啡颗粒温度温度的关系模型;所述方法还包括:对所述咖啡颗粒的温度进行检测;根据所述检测到的所述咖啡颗粒的温度、所述间隙率和所述预设校正模型对所述含水率进行校正。可选地,所述方法还包括:通过压力传感器检测所述咖啡颗粒的重量;根据所述间隙率和所述容置空间的体积计算所述咖啡颗粒的体积;根据所述压力传感器检测到的所述咖啡颗粒的重量和所述咖啡颗粒的体积计算所述咖啡颗粒的密度。可选地,所述预设校正模型为所述所述间隙率、所述密度和所述含水率之间的关系模型;所述根据所述间隙率和预设校正模型对所述含水率进行校正,包括:根据所述间隙率、所述密度和所述预设校正模型对所述含水率进行校正。Optionally, the preset correction model is a relationship model between the moisture content and at least the gap ratio and the temperature of the coffee particles; the method further includes: detecting the temperature of the coffee particles; correcting the moisture content according to the detected temperature of the coffee particles, the gap ratio and the preset correction model. Optionally, the method further includes: detecting the weight of the coffee particles by a pressure sensor; calculating the volume of the coffee particles according to the gap ratio and the volume of the accommodating space; calculating the density of the coffee particles according to the weight of the coffee particles detected by the pressure sensor and the volume of the coffee particles. Optionally, the preset correction model is a relationship model between the gap ratio, the density and the moisture content; correcting the moisture content according to the gap ratio and the preset correction model includes: correcting the moisture content according to the gap ratio, the density and the preset correction model.

可选地,所述方法还包括:获取预存的咖啡颗粒的直径和间隙率、密度与含水率之间的关系模型;根据所述关系模型、所述间隙率、所述密度和所述含水率计算所述咖啡颗粒的直径;通过用户界面向用户展示所述咖啡颗粒的直径。Optionally, the method also includes: obtaining a pre-stored relationship model between the diameter and gap ratio, density and moisture content of coffee particles; calculating the diameter of the coffee particles based on the relationship model, the gap ratio, the density and the moisture content; and displaying the diameter of the coffee particles to the user through a user interface.

可选地,所述方法还包括:根据以下至少一项参数将所述咖啡颗粒划分至多个预设等级中的一个:颜色、纹理、直径、面积、圆形度、颜色均匀度、色度;通过用户界面还用于向用户展示所述咖啡颗粒的等级。Optionally, the method further comprises: classifying the coffee particles into one of a plurality of preset grades according to at least one of the following parameters: color, texture, diameter, area, circularity, color uniformity, chroma; and displaying the grade of the coffee particles to the user via a user interface.

可选地,所述方法还包括:获取预存的或者实时查询不同等级的咖啡豆的存储、烘焙、研磨、冲煮中的至少一项的指导建议;通过所述用户界面展示所述咖啡颗粒的等级所对应的所述指导建议。可选地,所述方法还包括:获取预存的推测模型;根据咖啡豆的所述至少一项参数和所述推测模型推测出所述咖啡颗粒的预处理方式和/或预处理时间;通过所述用户界面向用户展示所述预处理方式和/或预处理时间。Optionally, the method further includes: obtaining pre-stored or real-time query of at least one of the guidance suggestions for storage, roasting, grinding, and brewing of coffee beans of different grades; and displaying the guidance suggestions corresponding to the grade of the coffee particles through the user interface. Optionally, the method further includes: obtaining a pre-stored inference model; inferring the pretreatment method and/or pretreatment time of the coffee particles based on the at least one parameter of the coffee beans and the inference model; and displaying the pretreatment method and/or pretreatment time to the user through the user interface.

可选地,所述方法还包括:获取预存的所述可拆卸内胆的初始含水率;获取所述可拆卸内胆在空置时的当前含水率;根据所述当前含水率和所述初始含水率的差值对所述咖啡颗粒的含水率进行校正。可选地,所述方法还包括:通过湿度传感器检测咖啡豆所处环境的温湿度;通过气压传感器检测咖啡豆所处环境的气压;根据所述气压计算出海拔数据;通过用户界面将所述温湿度、所述气压和所述海拔数据展示为所述咖啡豆的采摘环境数据。Optionally, the method further includes: obtaining the pre-stored initial moisture content of the detachable inner container; obtaining the current moisture content of the detachable inner container when it is empty; and correcting the moisture content of the coffee particles according to the difference between the current moisture content and the initial moisture content. Optionally, the method further includes: detecting the temperature and humidity of the environment in which the coffee beans are located through a humidity sensor; detecting the air pressure of the environment in which the coffee beans are located through an air pressure sensor; calculating the altitude data according to the air pressure; and displaying the temperature and humidity, the air pressure and the altitude data as the picking environment data of the coffee beans through a user interface.

所述方法还包括以下至少一项步骤:根据对标定内胆的含水率的测量结果对所述咖啡颗粒的含水率测量结果进行补偿;根据对标定色卡的色度测量结果对所述咖啡颗粒的色度测量结果进行补偿;根据对在标准液承载容器内的水活度标准液的测量结果对所述咖啡颗粒的水活度测 量结果进行补偿。The method further comprises at least one of the following steps: compensating the moisture content measurement result of the coffee particles according to the measurement result of the moisture content of the calibration inner container; compensating the colorimetric measurement result of the coffee particles according to the colorimetric measurement result of the calibration color card; compensating the water activity measurement result of the coffee particles according to the measurement result of the water activity standard solution in the standard solution carrying container; Compensate for the results.

本申请实施例中,由于水活度(AW)为实际的水汽压P0与同温度下饱和水汽压P1的比值,通过在保持气压不变的情况下,本申请实施例中通过冷却模块对结露面快速降温,使空气冷却达到饱和时的温度;当达到饱和时的温度时水汽会在结露面上析出,通过检测结露面上出现结露的第一时刻,进而通过第一温度检测模块获取结露时的温度来得到露点温度,即可计算得到实际的水汽压P0。再通过咖啡颗粒的温度和腔体温度计算得到饱和蒸气压P1,二者的比值即为水活度,通过该测量结构和方法,能够快速准确地测量出咖啡颗粒的水活度。In the embodiment of the present application, since the water activity (AW) is the ratio of the actual water vapor pressure P0 to the saturated water vapor pressure P1 at the same temperature, the cooling module is used to quickly cool the condensation surface while keeping the air pressure unchanged, so that the air is cooled to the saturated temperature; when the saturated temperature is reached, water vapor will precipitate on the condensation surface, and the dew point temperature can be obtained by detecting the first moment of condensation on the condensation surface and then obtaining the temperature at the time of condensation through the first temperature detection module to calculate the actual water vapor pressure P0. The saturated vapor pressure P1 is then calculated by the temperature of the coffee particles and the cavity temperature, and the ratio of the two is the water activity. Through this measurement structure and method, the water activity of the coffee particles can be quickly and accurately measured.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本申请的咖啡颗粒检测装置的一个实施例的逻辑框架示意图;图2和图3分别是本申请一个实施例的咖啡颗粒检测装置在两种不同状态下的结构示意图;图4是图2所示实施例的咖啡颗粒检测装置的内部部分结构透视图;图5是图4所示咖啡颗粒检测装置的上盖结构内的部分结构示意图;图6是本申请一个实施例中的激光探测器的电压和结露面的温度的关系示意图;图7是本申请的一个实施例中结露面、冷却模块、第一温度检测模块和露点检测模块的位置关系示意图;图8是本申请的一个实施例中RTD传感器和热敏电阻在不同时间下对同一个结露面的温度进行测量的结果对比图;图9本申请一个实施例中的结露面上的温度探测点和结露位置的示意图;图10是本申请一个实施例的咖啡颗粒检测装置的底盘结构、电极结构和可拆卸内胆的爆炸示意图;图11为图10所示的底盘结构和电极结构的组装关系示意图;图12a是图9所示的可拆卸内胆的底部侧视图;图12b是本申请一个实施例的咖啡颗粒检测装置的底盘结构和第一电极的结构示意图;图13是本申请一个实施例的咖啡颗粒检测装置的底盘结构和可拆卸内胆的爆炸示意图;图14是图13所示的底盘结构和可拆卸内胆的组装关系示意图;图15是一个示例中位于可拆卸内胆内的咖啡颗粒的图像的示意图;图16是本申请一个实施例中的咖啡颗粒检测装置的上盖结构的仰视图;图17是本申请的咖啡颗粒检测装置的一个实施例中感光阵列、咖啡颗粒和反射镜之间的位置关系示意图;图18a是本申请一个实施例中的咖啡颗粒装置中的可拆卸内胆和第一成像模块的位置关系示意图;图18b是本申请一个实施例中的自标定套件的结构示意图;图19是本申请的咖啡颗粒检测方法的一个实施例的流程示意图。Figure 1 is a schematic diagram of the logical framework of an embodiment of a coffee particle detection device of the present application; Figures 2 and 3 are schematic diagrams of the structure of a coffee particle detection device of an embodiment of the present application in two different states; Figure 4 is a perspective view of the internal structure of the coffee particle detection device of the embodiment shown in Figure 2; Figure 5 is a schematic diagram of the partial structure inside the upper cover structure of the coffee particle detection device shown in Figure 4; Figure 6 is a schematic diagram of the relationship between the voltage of the laser detector and the temperature of the condensation surface in an embodiment of the present application; Figure 7 is a schematic diagram of the positional relationship between the condensation surface, the cooling module, the first temperature detection module and the dew point detection module in an embodiment of the present application; Figure 8 is a comparison diagram of the results of measuring the temperature of the same condensation surface at different times by an RTD sensor and a thermistor in an embodiment of the present application; Figure 9 is a schematic diagram of the temperature detection points and condensation positions on the condensation surface in an embodiment of the present application; Figure 10 is an exploded schematic diagram of the chassis structure, electrode structure and detachable inner tank of the coffee particle detection device of an embodiment of the present application; Figure 11 is a schematic diagram of the chassis structure shown in Figure 10 and an electrode structure; FIG12a is a bottom side view of the detachable inner liner shown in FIG9; FIG12b is a structural schematic diagram of the chassis structure and the first electrode of a coffee particle detection device according to an embodiment of the present application; FIG13 is an exploded schematic diagram of the chassis structure and the detachable inner liner of a coffee particle detection device according to an embodiment of the present application; FIG14 is a schematic diagram of the assembly relationship between the chassis structure and the detachable inner liner shown in FIG13; FIG15 is a schematic diagram of an image of coffee particles located in a detachable inner liner in an example; FIG16 is a bottom view of the upper cover structure of the coffee particle detection device in an embodiment of the present application; FIG17 is a schematic diagram of the positional relationship between the photosensitive array, coffee particles and the reflector in an embodiment of the coffee particle detection device of the present application; FIG18a is a schematic diagram of the positional relationship between the detachable inner liner and the first imaging module in the coffee particle device in an embodiment of the present application; FIG18b is a structural schematic diagram of the self-calibration kit in an embodiment of the present application; and FIG19 is a flow chart of an embodiment of a coffee particle detection method of the present application.

具体实施方式DETAILED DESCRIPTION

下面将参照附图更详细地描述本申请的实施方式。虽然附图中显示了本申请的实施方式,然而应该理解,可以以各种形式实现本申请而不应被这里阐述的实施方式所限制。相反,提供这些实施方式是为了使本申请更加透彻和完整,并且能够将本申请的范围完整地传达给本领域的技术人员。在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。应当理解,尽管在本申请可能采用术语“第一”、“第二”、“第三”等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described here. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to be able to fully convey the scope of the present application to those skilled in the art. The terms used in this application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms of "one", "said" and "the" used in this application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and/or" used herein refers to and includes any or all possible combinations of one or more associated listed items. It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, "plurality" means two or more, unless otherwise clearly and specifically defined.

如图1所示,图1是本申请的咖啡颗粒检测装置的一个实施例的逻辑框架示意图。该咖啡颗粒水活度检测装置10包括容置空间11、结露面12、冷却模块13、第一温度检测模块14、露点检测模块15和计算模块16。容置空间11用于容置咖啡颗粒。结露面12和所述容置空间之间具有相连通的空气通道。冷却模块13用于对该结露面121进行降温,以使咖啡颗粒中的水汽在在所述结露面121上凝结水析出露水。结露面12和容置空间11的位置关系有多种。例如,结露面12位于容置空间11的一侧,或者结露面12位于容置空间11内。不管是哪种位置关系,结露面12的结露面和容置空间11之间具有相连通的空气通道,使得容置空间内的咖啡颗粒中的水汽在结露面的温度降低时能够析出并在结露面上形成露水,以检测出咖啡颗粒的露点温度。咖啡颗粒的类型有多重,例如,本申请中的咖啡颗粒可以是指咖啡生豆、烘焙豆、带壳豆、咖啡干果、咖啡粉中的任意一种。As shown in Figure 1, Figure 1 is a logical framework diagram of an embodiment of the coffee particle detection device of the present application. The coffee particle water activity detection device 10 includes a accommodating space 11, a condensation surface 12, a cooling module 13, a first temperature detection module 14, a dew point detection module 15 and a calculation module 16. The accommodating space 11 is used to accommodate coffee particles. There is an air passage connected between the condensation surface 12 and the accommodating space. The cooling module 13 is used to cool the condensation surface 121 so that the water vapor in the coffee particles condenses on the condensation surface 121 to precipitate dew. There are various positional relationships between the condensation surface 12 and the accommodating space 11. For example, the condensation surface 12 is located on one side of the accommodating space 11, or the condensation surface 12 is located in the accommodating space 11. Regardless of the positional relationship, there is an air passage connected between the condensation surface of the condensation surface 12 and the accommodating space 11, so that the water vapor in the coffee particles in the accommodating space can precipitate and form dew on the condensation surface when the temperature of the condensation surface decreases, so as to detect the dew point temperature of the coffee particles. There are many types of coffee particles. For example, the coffee particles in this application can refer to any one of green coffee beans, roasted beans, shelled beans, dried coffee fruits, and coffee powder.

所述露点检测模块15用于检测所述结露面12上是否出现露水。所述第一温度检测模块14用于探测所述结露面上至少一处的温度。所述计算模块16用于确定第一时刻,所述第一时刻为检测到所述结露面上出现所述露水的时刻;根据所述第一时刻和所述至少一处的温度确定露 点温度,根据所述露点温度获取第一蒸气压,获取所述容置空间和所述咖啡颗粒的温度,根据所述所述容置空间和所述咖啡颗粒的温度获取第二蒸气压,以及根据所述第一蒸气压和所述第二蒸气压计算所述咖啡颗粒的水活度。由于水活度(AW)的测量为实际的水汽压P0与同温度下饱和水汽压P1的比值,即AW=P0/P1,因此通过在保持气压不变的情况下,本申请实施例中通过冷却模块对结露面降温,使空气冷却达到饱和时的温度;当达到饱和时的温度时水汽会在结露面上析出,通过检测结露面上出现结露的第一时刻,进而通过第一温度检测模块获取结露时的温度来得到露点温度,即可计算得到实际的水汽压P0。再通过平衡温度计算得到饱和蒸气压P1,二者的比值即为水活度。可选地,该温度平衡指的是整体温度(包括腔体温度和咖啡颗粒的温度)达到平衡。The dew point detection module 15 is used to detect whether dew appears on the dew condensation surface 12. The first temperature detection module 14 is used to detect the temperature of at least one point on the dew condensation surface. The calculation module 16 is used to determine a first moment, which is the moment when dew appears on the dew condensation surface; the calculation module 16 is used to determine the first moment according to the first moment and the temperature of at least one point. Point temperature, obtain a first vapor pressure according to the dew point temperature, obtain the temperature of the accommodating space and the coffee particles, obtain a second vapor pressure according to the temperature of the accommodating space and the coffee particles, and calculate the water activity of the coffee particles according to the first vapor pressure and the second vapor pressure. Since the measurement of water activity (AW) is the ratio of the actual water vapor pressure P0 to the saturated water vapor pressure P1 at the same temperature, that is, AW = P0/P1, by keeping the air pressure unchanged, in the embodiment of the present application, the condensation surface is cooled by the cooling module to cool the air to the saturation temperature; when the saturation temperature is reached, water vapor will precipitate on the condensation surface, and the dew point temperature can be obtained by detecting the first moment when condensation appears on the condensation surface, and then obtaining the temperature at the time of condensation through the first temperature detection module to obtain the dew point temperature, and the actual water vapor pressure P0 can be calculated. Then the saturated vapor pressure P1 is calculated by the equilibrium temperature, and the ratio of the two is the water activity. Optionally, the temperature balance refers to the overall temperature (including the cavity temperature and the temperature of the coffee particles) reaching equilibrium.

可选地,咖啡颗粒检测装置还包括第二温度检测模块,用于对腔体温度和咖啡颗粒的温度进行监控,以提供多个维度的温度信息。一个示例中,该第二温度检测模块包括红外测温传感器,该红外测温传感器位于用于容置空间一侧。通过红外测温能够测量容置空间中的咖啡颗粒的温度,同时输出自身所处环境的温度,即腔体温度,能够给计算模块用于确定是否达到温度平衡。可选地,该第二温度检测模块还包括温湿度传感器,用于探测腔体内的温度和湿度,可以为计算模块的计算提供更多环境信息,提高计算结果的准确度。可选地,咖啡颗粒检测装置还包括循环风扇和用于驱动所述循环风扇的电机,所述循环风扇用于提高所述容置空间内的空气循环速度,加速腔体温度和咖啡颗粒的温度达到平衡,以能够尽快对平衡温度进行测量。Optionally, the coffee particle detection device also includes a second temperature detection module for monitoring the cavity temperature and the temperature of the coffee particles to provide temperature information in multiple dimensions. In one example, the second temperature detection module includes an infrared temperature sensor, which is located on one side of the accommodating space. The temperature of the coffee particles in the accommodating space can be measured by infrared temperature measurement, and the temperature of the environment in which it is located, that is, the cavity temperature, can be output to the calculation module to determine whether the temperature balance is achieved. Optionally, the second temperature detection module also includes a temperature and humidity sensor for detecting the temperature and humidity in the cavity, which can provide more environmental information for the calculation of the calculation module and improve the accuracy of the calculation results. Optionally, the coffee particle detection device also includes a circulating fan and a motor for driving the circulating fan, and the circulating fan is used to increase the air circulation speed in the accommodating space, accelerate the cavity temperature and the temperature of the coffee particles to reach a balance, so that the equilibrium temperature can be measured as soon as possible.

测量水活度时,对于平衡温度下的饱和蒸气压,标准是规定需要在25摄氏度下进行测量,在其他平衡温度下,水活度会出现一定的误差。可选地,一些示例中的咖啡颗粒检测装置还预存有25摄氏度的平衡温度下测得的水活度与其他平衡温度测得的水活度的第一关系模型。这样无需等到平稳温度达到25摄氏度,计算模块可以在获得其他平衡温度时计算蒸气压P1,以及根据该P1和P0计算得到水活度WA_0时,根据该其他平衡温度对应的水活度WA_0和该第一关系模型计算25摄氏度的平衡温度所对应的水活度,能够在保证测量结果的准确度的同时提高测量速度。一个示例中,该第一关系模型为WA=WA_0+a*(T1-25),其中WA_0为平衡温度T1条件下测量得到的水活度,a为固定常数,可通过实验得到,a*(T-25)为平衡温度T1对于25摄氏度下的标准水活度的补偿值,计算得到的WA即为补偿得到的标准水活度。When measuring water activity, for the saturated vapor pressure at the equilibrium temperature, the standard stipulates that the measurement needs to be performed at 25 degrees Celsius. At other equilibrium temperatures, the water activity will have a certain error. Optionally, the coffee particle detection device in some examples also pre-stores a first relationship model between the water activity measured at an equilibrium temperature of 25 degrees Celsius and the water activity measured at other equilibrium temperatures. In this way, there is no need to wait until the stable temperature reaches 25 degrees Celsius. The calculation module can calculate the vapor pressure P1 when other equilibrium temperatures are obtained, and when the water activity WA_0 is calculated based on P1 and P0, the water activity corresponding to the equilibrium temperature of 25 degrees Celsius is calculated based on the water activity WA_0 corresponding to the other equilibrium temperature and the first relationship model, which can improve the measurement speed while ensuring the accuracy of the measurement results. In one example, the first relationship model is WA=WA_0+a*(T1-25), where WA_0 is the water activity measured under the equilibrium temperature T1, a is a fixed constant that can be obtained through experiments, and a*(T-25) is the compensation value of the equilibrium temperature T1 for the standard water activity at 25 degrees Celsius. The calculated WA is the compensated standard water activity.

或者,一些示例中,计算模块也可以不用等到温度平衡时再根据该平衡温度来计算蒸气压P1,而是在未达到温度平衡时就根据当前测得的温度T2来计算蒸气压P2。咖啡颗粒检测装置还预存有25摄氏度的平衡温度下测得的水活度与其他非平衡温度测得的水活度的第二关系模型。计算模块根据当前测量到的温度T2计算对应的蒸气压P2,以及根据该P2和P0计算得到水活度WA_1后,还根据该温度T2对应的水活度WA_1和该第二关系模型计算25摄氏度的平衡温度所对应的水活度,能够在保证测量结果的准确度的同时提高测量速度。一个示例中,AW=AW_ub+b*(T2-T1),其中b为固定常数,可通过实验得到,T1为咖啡颗粒的温度,T2为腔体温度,AW_ub为使用腔体温度T2作为平衡温度得到的咖啡颗粒的水活度,AW为通过腔体温度与咖啡颗粒的温度之间的差值进行补偿之的水活度。Alternatively, in some examples, the calculation module may calculate the vapor pressure P1 based on the equilibrium temperature without waiting for the temperature to be balanced, but may calculate the vapor pressure P2 based on the currently measured temperature T2 before the temperature is balanced. The coffee particle detection device also pre-stores a second relationship model between the water activity measured at an equilibrium temperature of 25 degrees Celsius and the water activity measured at other non-equilibrium temperatures. The calculation module calculates the corresponding vapor pressure P2 based on the currently measured temperature T2, and after calculating the water activity WA_1 based on P2 and P0, it also calculates the water activity corresponding to the equilibrium temperature of 25 degrees Celsius based on the water activity WA_1 corresponding to the temperature T2 and the second relationship model, which can improve the measurement speed while ensuring the accuracy of the measurement results. In one example, AW=AW_ub+b*(T2-T1), where b is a fixed constant that can be obtained through experiments, T1 is the temperature of the coffee particles, T2 is the cavity temperature, AW_ub is the water activity of the coffee particles obtained by using the cavity temperature T2 as the equilibrium temperature, and AW is the water activity compensated by the difference between the cavity temperature and the temperature of the coffee particles.

冷却模块在对结露面降温的方法有多种。在一个示例中,冷却模块包括制冷组件和控制组件,该制冷组件与结露面相接触,该控制组件用于控制制冷组件的降温,以带动结露面的降温。可选地,该控制组件用于在第一阶段以第一功率控制该制冷组件将结露面降温到第一温度,该第一温度高于露点温度。然后该控制组件在第二阶段以动态功率控制制冷组件对结露面降温,使得结露面以恒定的降温速度从第一温度降到露点温度,并且,结露面在所述第二阶段的降温速度低于在所述第一阶段的降温速度。可选地,该第一功率为控制组件的最大功率,以使得制冷组件在第一阶段以最快的速度将结露面从当前温度降到第一温度。在第一阶段中,结露面的降温速度可以不是固定的,在控制组件以最大功率控制的情况下,结露面大概率会呈现出以非线性变化的方式降温。第二阶段控制组件控制结露面的温度以线性变化的方式降温,能够让降温速度和采集温度的分辨率相匹配,继而让计算模块更加准确地从第一温度检测模块监测的不同时刻的温度中确定出结露时刻的温度。可选地,在第二阶段控制组件的控制功率可以根据实时测到的温度变化来反向控制。具体的,可以通过实时测到的温度变化来反向控制脉宽调制(Pulse Width Modulation,PWM),以使得第二阶段的温度能够以线性速度降低。There are many methods for cooling the condensation surface by the cooling module. In one example, the cooling module includes a refrigeration component and a control component, the refrigeration component is in contact with the condensation surface, and the control component is used to control the cooling of the refrigeration component to drive the cooling of the condensation surface. Optionally, the control component is used to control the refrigeration component to cool the condensation surface to a first temperature at a first power in the first stage, and the first temperature is higher than the dew point temperature. Then the control component controls the refrigeration component to cool the condensation surface at a dynamic power in the second stage, so that the condensation surface is cooled from the first temperature to the dew point temperature at a constant cooling rate, and the cooling rate of the condensation surface in the second stage is lower than the cooling rate in the first stage. Optionally, the first power is the maximum power of the control component, so that the refrigeration component cools the condensation surface from the current temperature to the first temperature at the fastest speed in the first stage. In the first stage, the cooling rate of the condensation surface may not be fixed. When the control component is controlled at maximum power, the condensation surface is likely to cool in a nonlinear manner. The second-stage control component controls the temperature of the condensation surface to cool down in a linear manner, which can match the cooling speed with the resolution of the collected temperature, and then allow the calculation module to more accurately determine the temperature at the time of condensation from the temperatures at different times monitored by the first temperature detection module. Optionally, in the second stage, the control power of the control component can be reversely controlled according to the temperature changes measured in real time. Specifically, the pulse width modulation (PWM) can be reversely controlled by the temperature changes measured in real time, so that the temperature of the second stage can be reduced at a linear speed.

例如,在第二阶段控制组件在对结露面进行降温时,实时获取结露面的已测量温度,当确定结露面每预设时间间隔内的温度变化没有达到预设温度变化时则提高功率,以使得结露面在下一个预设时间间隔内的温度变化达到该预设温度变化;当确定结露面每预设时间间隔内的温 度变化超过预设温度变化时则降低功率,以使得结露面在下一个预设时间间隔内的温度变化降到该预设温度变化。For example, in the second stage, when the control component cools down the condensation surface, the measured temperature of the condensation surface is obtained in real time. When it is determined that the temperature change of the condensation surface in each preset time interval does not reach the preset temperature change, the power is increased so that the temperature change of the condensation surface in the next preset time interval reaches the preset temperature change; when it is determined that the temperature change of the condensation surface in each preset time interval does not reach the preset temperature change, the power is increased. When the temperature change exceeds the preset temperature change, the power is reduced so that the temperature change of the condensation surface in the next preset time interval drops to the preset temperature change.

由于不同的类别的咖啡颗粒的露点温度不同,在控制结露面降温时所设置的控制拐点(预设为第一温度)可以不同。可选地,控制组件还用于获取咖啡颗粒的类别,根据所述咖啡颗粒的类别确定所述第一温度的取值。获取咖啡颗粒的类别的方式有多种,一个示例中,可通过预存有多个类别和对应的第一温度的映射表,以及获取用户从多个类别选项中选择的类别来获取咖啡颗粒的类别。或者,一个示例中,咖啡颗粒检测装置内还预存有不同含水率和咖啡颗粒的类别的对应关系;控制组件可通过获取咖啡颗粒的含水率,以及根据该含水率和该对应关系确定开封颗粒的类别。其中,咖啡颗粒检测装置内还设置有检测含水率的模块,具体细节可参考下文描述。在检测含水率的模块获取到含水率后,还用于给控制组件确定咖啡颗粒的类别。或者,一个示例中,咖啡颗粒检测装置中还包括第一成像模块,用于对咖啡颗粒进行成像。具体的,该第一成像模块包括光源和感光阵列,该光源用于向容置空间出射光束,该感光阵列用于接收经容置空间内的咖啡颗粒所反射的光束以及成像。控制组件通过对成像的内容识别来获取咖啡颗粒的类别。一些示例中,该第一成像模块的成像还可以让计算模块用于计算咖啡颗粒的色度值。可选地,所述第一成像模块包括用于至少两种不同光谱的光源,用于依次向所述容置空间内的咖啡颗粒出射不同光谱的光束,以及用于依次接收所述咖啡颗粒对所述至少两种不同光谱的光束的反射光并对所述咖啡颗粒依次成像的感光阵列,其中所述感光阵列用于生成分别对应所述至少两种光源的至少两帧图像。可选地,该至少两帧图像分别为像素值上限可达三四千万甚至更高的原始图像。所述计算模块还用于根据所述至少两帧图像计算所述咖啡颗粒的色度值,通过融合不同光谱的光源照射咖啡颗粒时所成的图像,可以有效避免利用单一光谱采集带来的色度值检测结果稳定性较差的问题。Since the dew point temperatures of different categories of coffee particles are different, the control inflection point (preset as the first temperature) set when controlling the cooling of the condensation surface may be different. Optionally, the control component is also used to obtain the category of the coffee particles, and determine the value of the first temperature according to the category of the coffee particles. There are many ways to obtain the category of coffee particles. In one example, the category of coffee particles can be obtained by pre-storing a mapping table of multiple categories and corresponding first temperatures, and obtaining the category selected by the user from multiple category options. Or, in one example, the coffee particle detection device also pre-stores the correspondence between different moisture contents and the category of coffee particles; the control component can obtain the moisture content of the coffee particles, and determine the category of the unsealed particles according to the moisture content and the correspondence. Among them, a module for detecting moisture content is also provided in the coffee particle detection device, and the specific details can be referred to the description below. After the module for detecting moisture content obtains the moisture content, it is also used to determine the category of coffee particles for the control component. Or, in one example, the coffee particle detection device also includes a first imaging module for imaging coffee particles. Specifically, the first imaging module includes a light source and a photosensitive array, the light source is used to emit a light beam to the accommodating space, and the photosensitive array is used to receive the light beam reflected by the coffee particles in the accommodating space and to form an image. The control component obtains the category of the coffee particles by identifying the content of the imaging. In some examples, the imaging of the first imaging module can also allow the calculation module to calculate the chromaticity value of the coffee particles. Optionally, the first imaging module includes a light source for at least two different spectra, which is used to sequentially emit light beams of different spectra to the coffee particles in the accommodating space, and a photosensitive array for sequentially receiving the reflected light of the coffee particles to the light beams of at least two different spectra and sequentially imaging the coffee particles, wherein the photosensitive array is used to generate at least two frames of images corresponding to the at least two light sources. Optionally, the at least two frames of images are original images with an upper limit of pixel values of 30 to 40 million or even higher. The calculation module is also used to calculate the chromaticity value of the coffee particles based on the at least two frames of images. By fusing the images formed when light sources of different spectra illuminate the coffee particles, the problem of poor stability of chromaticity value detection results caused by using a single spectrum acquisition can be effectively avoided.

可选地,咖啡颗粒检测装置还预存有不同类别的咖啡颗粒或者不同的含水率与水活度区间的对应关系。在计算模块计算出水活度后,计算模块还根据咖啡颗粒的类别或者咖啡颗粒的含水率查找到对应的水活度区间,并确认所计算出的水活度是否位于该对应的水活度区间内。若否,则说明在测量水活度的过程中出现了误差,例如可能是露点检测模块误检测到露水。可选地,在计算模确认所计算出的水活度位于该对应的水活度区间之外时,冷却模块用于对结露面继续降温,以找到真正的露点温度。Optionally, the coffee particle detection device also pre-stores the correspondence between different categories of coffee particles or different moisture contents and water activity intervals. After the calculation module calculates the water activity, the calculation module also finds the corresponding water activity interval according to the category of the coffee particles or the moisture content of the coffee particles, and confirms whether the calculated water activity is within the corresponding water activity interval. If not, it means that an error occurred in the process of measuring the water activity, for example, the dew point detection module may have mistakenly detected dew. Optionally, when the calculation module confirms that the calculated water activity is outside the corresponding water activity interval, the cooling module is used to continue to cool the condensation surface to find the true dew point temperature.

咖啡颗粒检测装置的结构有多种,如图2和图3所示,图2和图3分别是本申请一个实施例的咖啡颗粒检测装置在两种不同状态下的结构示意图。咖啡颗粒检测装置包括活动连接的上盖结构21和主体结构22。其中,可拆卸内胆23位于主体结构22内。该可拆卸内胆23具有开口231和用于装载咖啡颗粒容置空间232,当上盖结构21盖住主体结构22时,将可拆卸内胆23的开口封住。图2中该上盖结构21呈打开状态,以便用户去除可拆卸内胆23以装在咖啡颗粒。图3中可拆卸内胆23从主体结构22中脱离,以便用户往该可拆卸内胆23中装载待测的咖啡颗粒。可选地,结露面24、冷却模块(图未示)、第一温度检测模块(图未示)和露点检测模块(图未示)位于所述上盖结构21内。上盖结构21盖住主体结构22时,结露面24和所述容置空间232之间形成有连通的空气通道。冷却模块对所述结露面降温后,能够让咖啡颗粒中的水汽凝结在所述结露面24上,实现结露。如图4和图5所示,图4是图2所示实施例的咖啡颗粒检测装置的内部部分结构透视图,图5是图4所示咖啡颗粒检测装置的上盖结构内的部分结构示意图。上盖结构21包括凹腔211,当所述上盖结构21盖住所述主体结构22时,所述凹腔211与所述容置空间连通。凹腔211在第一深度处的设置有第一平台2111,所述结露面24位于所述第一平台2111上。There are many structures of the coffee particle detection device, as shown in Figures 2 and 3, which are schematic diagrams of the structure of the coffee particle detection device of one embodiment of the present application in two different states. The coffee particle detection device includes an upper cover structure 21 and a main body structure 22 that are movably connected. Among them, the removable inner liner 23 is located in the main body structure 22. The removable inner liner 23 has an opening 231 and a space 232 for loading coffee particles. When the upper cover structure 21 covers the main body structure 22, the opening of the removable inner liner 23 is sealed. In Figure 2, the upper cover structure 21 is in an open state, so that the user can remove the removable inner liner 23 to install coffee particles. In Figure 3, the removable inner liner 23 is detached from the main body structure 22, so that the user can load the coffee particles to be tested into the removable inner liner 23. Optionally, the condensation surface 24, the cooling module (not shown), the first temperature detection module (not shown) and the dew point detection module (not shown) are located in the upper cover structure 21. When the upper cover structure 21 covers the main structure 22, a connected air passage is formed between the condensation surface 24 and the accommodating space 232. After the cooling module cools down the condensation surface, the water vapor in the coffee particles can condense on the condensation surface 24 to achieve condensation. As shown in Figures 4 and 5, Figure 4 is a perspective view of the internal partial structure of the coffee particle detection device of the embodiment shown in Figure 2, and Figure 5 is a schematic diagram of the partial structure inside the upper cover structure of the coffee particle detection device shown in Figure 4. The upper cover structure 21 includes a concave cavity 211, and when the upper cover structure 21 covers the main structure 22, the concave cavity 211 is connected to the accommodating space. The concave cavity 211 is provided with a first platform 2111 at a first depth, and the condensation surface 24 is located on the first platform 2111.

冷却模块25包括位于结露面24一侧的冷却组件251,位于所述冷却组件251背向所述结露面24一侧的、与所述冷却组件251相固定的散热片252,以及与所述散热片252相邻设置的散热片风扇253。可选地,咖啡颗粒检测装置还包括位于上盖结构内,在结露面24一侧的循环风扇26和用于驱动所述循环风扇26的电机28。The cooling module 25 includes a cooling component 251 located on one side of the condensation surface 24, a heat sink 252 located on the side of the cooling component 251 facing away from the condensation surface 24 and fixed to the cooling component 251, and a heat sink fan 253 disposed adjacent to the heat sink 252. Optionally, the coffee particle detection device further includes a circulation fan 26 located in the upper cover structure on one side of the condensation surface 24 and a motor 28 for driving the circulation fan 26.

可选地,露点检测模块27包括与所述第一平台2111相对的激光发射器271和激光探测器272,以及位于所述上盖结构内的检测模块(图未示)。激光发射器271用于出射覆盖所述结露面24的激光光束。激光探测器272用于接收经所述结露面24反射的激光光束,以及根据所接收的激光光束产生电信号。检测模块用于根据所述电信号的变化确认所述结露面上出现露点。如图6所示,图6是本申请一个实施例中的激光探测器的电压和结露面的温度的关系示意图。图中L1表示结露面的温度,L2表示激光探测器272的电压。可以看出,在激光发射器771的 输出功率保持很定的情况下,激光探测器272的电压也保持稳定状态。随着结露面的温度下降,当结露面24上出现凝析物时,由于凝析物对激光光束的漫反射作用,激光探测器272接收到的光能量会减少,相应的电压也会减少。检测模块通过实时监控激光探测器的电压变化,可以准确捕捉到结露面出现凝析物的时刻,将该时刻确定为第一时刻。而在第一时刻结露面的温度即为露点温度。Optionally, the dew point detection module 27 includes a laser emitter 271 and a laser detector 272 opposite to the first platform 2111, and a detection module (not shown) located in the upper cover structure. The laser emitter 271 is used to emit a laser beam covering the condensation surface 24. The laser detector 272 is used to receive the laser beam reflected by the condensation surface 24, and to generate an electrical signal based on the received laser beam. The detection module is used to confirm the appearance of a dew point on the condensation surface based on changes in the electrical signal. As shown in Figure 6, Figure 6 is a schematic diagram of the relationship between the voltage of the laser detector and the temperature of the condensation surface in an embodiment of the present application. In the figure, L1 represents the temperature of the condensation surface, and L2 represents the voltage of the laser detector 272. It can be seen that in the laser emitter 771 When the output power remains constant, the voltage of the laser detector 272 also remains stable. As the temperature of the condensation surface decreases, when condensation appears on the condensation surface 24, the light energy received by the laser detector 272 will decrease due to the diffuse reflection of the laser beam by the condensation, and the corresponding voltage will also decrease. The detection module can accurately capture the moment when condensation appears on the condensation surface by real-time monitoring the voltage change of the laser detector, and determine the moment as the first moment. The temperature of the condensation surface at the first moment is the dew point temperature.

第一温度检测模块包括至少一个温度传感器,用于探测所述结露面24的至少一处的温度。如图7所示,图7是本申请的一个实施例中结露面、冷却模块、第一温度检测模块和露点检测模块的位置关系示意图。第一温度检测模块包括位于结露面24的至少一侧的至少一个温度传感器。在图7中以结露面24的两侧分别设置有第一凹槽71和第二凹槽72进行示意,第一温度检测模块包括分别位于第一凹槽71和第二凹槽72中的第一温度传感器(图未示)和第二温度传感器(图未示)。一个示例中,第一温度传感器为铂电阻传感器(例如RTD传感器),第二温度传感器为热敏电阻。铂电阻传感器是由铂制成的器件,会随着温度的变化而电阻线性变化,具有测量精度高的优点,但敏感度较低,所测量的温度存在滞后的问题。而热敏电阻包含热敏电阻,通常由半导体材料制成,会随着温度的变化而电阻非线性变化,具有高灵敏度但测量精度较低的特性。本申请中需要精确获得检测到露点温度的时刻,通过结合铂电阻传感器和热敏电阻,能够利用热敏电阻和铂电阻传感器分别测得的温度计算出铂电阻传感器的测量滞后时长,继而根据第一时刻以及该滞后时长准确获取到露点温度的真实测量时刻。可选地,铂电阻传感器可以采用四线制铂电阻传感器,四线制的引线方式是在热电阻的根部两端各连接两根导线,其中两根引线为热电阻提供衡定电流I,把R转换成电压信号U。这种接线方式对于引线没有等阻值的要求,能够消除引线电阻对温度测量的影响。The first temperature detection module includes at least one temperature sensor for detecting the temperature of at least one point of the condensation surface 24. As shown in FIG. 7, FIG. 7 is a schematic diagram of the positional relationship between the condensation surface, the cooling module, the first temperature detection module and the dew point detection module in one embodiment of the present application. The first temperature detection module includes at least one temperature sensor located on at least one side of the condensation surface 24. In FIG. 7, the first groove 71 and the second groove 72 are respectively provided on both sides of the condensation surface 24 for illustration, and the first temperature detection module includes a first temperature sensor (not shown) and a second temperature sensor (not shown) respectively located in the first groove 71 and the second groove 72. In one example, the first temperature sensor is a platinum resistance sensor (such as an RTD sensor), and the second temperature sensor is a thermistor. The platinum resistance sensor is a device made of platinum, and its resistance changes linearly with the change of temperature. It has the advantage of high measurement accuracy, but its sensitivity is low, and the measured temperature has a hysteresis problem. The thermistor includes a thermistor, which is usually made of a semiconductor material, and its resistance changes nonlinearly with the change of temperature. It has the characteristics of high sensitivity but low measurement accuracy. In this application, it is necessary to accurately obtain the moment when the dew point temperature is detected. By combining the platinum resistance sensor and the thermistor, the measurement lag time of the platinum resistance sensor can be calculated using the temperatures measured by the thermistor and the platinum resistance sensor respectively, and then the real measurement time of the dew point temperature can be accurately obtained according to the first moment and the lag time. Optionally, the platinum resistance sensor can adopt a four-wire platinum resistance sensor. The four-wire lead method is to connect two wires at both ends of the root of the thermal resistor, where two leads provide a constant current I for the thermal resistor and convert R into a voltage signal U. This wiring method does not require equal resistance for the leads, and can eliminate the influence of lead resistance on temperature measurement.

如图8所示,图8是本申请的一个实施例中RTD传感器和热敏电阻在不同时间下对同一个结露面的温度进行测量的结果对比图。其中L3为RTD传感器的温度曲线示意图,L4为热敏电阻的温度曲线示意。从图中可看出,对于测得相同温度,RTD传感器的测得时间相比热敏电阻的测得时间滞后。计算RTD传感器的滞后时长的方式有多种。一个示例中,通过冷却模块对结露面急剧降温后再升温,通过分别测量铂电阻传感器和热敏电阻的温度拐点的时间差,即可得到RTD传感器的滞后时长。该拐点温度可以是一个预设温度。或者,可选地,由于铂电阻传感器在不同温度下滞后的时长不严格一致,将温度拐点设置在露点温度的附近,能够更加准确地测量出铂电阻传感器的滞后时长。As shown in Figure 8, Figure 8 is a comparison chart of the results of measuring the temperature of the same condensation surface at different times by an RTD sensor and a thermistor in one embodiment of the present application. Wherein L3 is a schematic diagram of the temperature curve of the RTD sensor, and L4 is a schematic diagram of the temperature curve of the thermistor. It can be seen from the figure that for the same measured temperature, the measured time of the RTD sensor lags behind the measured time of the thermistor. There are many ways to calculate the lag time of the RTD sensor. In one example, the condensation surface is rapidly cooled down and then heated up by a cooling module, and the lag time of the RTD sensor can be obtained by measuring the time difference of the temperature inflection points of the platinum resistance sensor and the thermistor respectively. The inflection point temperature can be a preset temperature. Alternatively, optionally, since the lag time of the platinum resistance sensor is not strictly consistent at different temperatures, the temperature inflection point is set near the dew point temperature, which can more accurately measure the lag time of the platinum resistance sensor.

可选地,铂电阻传感器的滞后时长可以是在线测量,例如咖啡颗粒检测装置设置有标定模式,通过用户启动自标定模式来进行滞后时长的测量。可选地,在用户启动自标定模式时,还可以选择要标定的咖啡颗粒的种类,以使得在自标定模式中将拐点温度设置在该种类所对应的一个预设温度,其中该预设温度是和该种类的咖啡颗粒的温度接近的一个温度。或者,一个示例中,该滞后时长也可以不是在线测量,而是在出厂前标定好存储在咖啡颗粒检测装置内,在计算模块计算露点温度时使用。这样,咖啡颗粒检测装置内也可以不设置有热敏电阻,计算模块在确定第一时刻以及获取到铂电阻传感器测到的温度时,根据预先存储的滞后时长确定露点温度,例如将铂电阻传感器在第一时刻后间隔滞后时长时的温度作为露点温度。检测结露位置和露点温度的方法和结构有多种。一些示例中,露点检测模块可以包括热成像模块,用于对所述结露面进行热成像。所述计算模块还用于根据所述热成像模块输出的热成像确认以下至少一项:所述结露面上是否出现露点,所述露点在所述结露面上的位置,所述露点温度。Optionally, the hysteresis time of the platinum resistance sensor can be measured online, for example, the coffee particle detection device is provided with a calibration mode, and the hysteresis time is measured by the user starting the self-calibration mode. Optionally, when the user starts the self-calibration mode, the type of coffee particles to be calibrated can also be selected, so that the inflection point temperature is set at a preset temperature corresponding to the type in the self-calibration mode, wherein the preset temperature is a temperature close to the temperature of the coffee particles of the type. Alternatively, in an example, the hysteresis time may not be measured online, but may be calibrated and stored in the coffee particle detection device before leaving the factory, and used when the calculation module calculates the dew point temperature. In this way, the coffee particle detection device may not be provided with a thermistor, and the calculation module determines the dew point temperature according to the pre-stored hysteresis time when determining the first moment and obtaining the temperature measured by the platinum resistance sensor, for example, the temperature of the platinum resistance sensor at the interval of the hysteresis time after the first moment is used as the dew point temperature. There are many methods and structures for detecting the condensation position and the dew point temperature. In some examples, the dew point detection module may include a thermal imaging module for thermal imaging the condensation surface. The calculation module is also used to confirm at least one of the following items based on the thermal image output by the thermal imaging module: whether a dew point appears on the condensation surface, the position of the dew point on the condensation surface, and the dew point temperature.

或者,一些示例中,咖啡颗粒检测装置不是包括热成像模块,而是包括用于对结露面进行普通成像的第二成像模块,该第二成像模块输出的图像用于给计算模块判断结露面上是否出现结露和/或该结露在结露面上的位置。例如,计算模块获取第二成像模块的多张输出图像后,对每张图像进行图像识别,以确认图像中是否出现结露。一些示例中,计算模块用于根据所述不同时刻的成像的灰度值检测所述结露面上是否出现露点和/或所述露水在所述结露面上的位置。Alternatively, in some examples, the coffee particle detection device does not include a thermal imaging module, but includes a second imaging module for performing ordinary imaging of the condensation surface, and the image output by the second imaging module is used to determine for the computing module whether condensation occurs on the condensation surface and/or the position of the condensation on the condensation surface. For example, after the computing module obtains multiple output images of the second imaging module, it performs image recognition on each image to confirm whether condensation occurs in the image. In some examples, the computing module is used to detect whether dew points appear on the condensation surface and/or the position of the dew on the condensation surface based on the grayscale values of the imaging at different times.

例如,由于出现结露时和无结露时的图像的灰度值不同,计算模块通过统计结露面分别在不同时刻的成像的灰度值均值,来区分各成像中是否出现结露。在统计灰度值均值时,计算模块可以统计每张图像的总体灰度值均值,或者也可以将图像划分成固定的不同分区,并分别统计每张图像中的每个分区内的灰度值均值,通过对同一张图像中的不同分区的灰度值均值之间的比较,和/或不同图像中同一个分区的灰度值均值之间的比较,来确认出分区中出现结露的图像,由此可同时筛选出出现结露的图像以及结露在图像中的位置。或者,一些示例中,计算模块也可以在统计灰度值之前先从图像中确定出感兴趣区域,然后仅对感兴趣区域的灰度值进行 统计,这样可以提高用于确定结露的图像区域的相关性,继而提高结露位置探测的准确性和效率。可选地,一些示例中,计算模块还用于从第二成像模块输出的多张图像中筛选包含露水的初始成像,以及对所述初始成像中的结露面上的所述露水进行边缘检测。当确认所述露水的边缘的平滑度大于预设阈值时,计算模块确认所述初始成像中的露水为所述露水。露水的边缘比较平滑,具有一个比较平缓的变化,而脏污的边缘的会出现有较大的突变。通过设置平滑度的阈值来判断是否是露水,可以避免计算模块将结露面上的脏污误检测为露水。用来衡量露水边缘的平滑度的方式有多种,例如,可通过检测露水边缘处的像素值的变化程度,像素值变化程度越小,则平滑度越高。或者,也可以获取露水边缘处的纹理特征,当该纹理特征满足预设要求时确认该初始成像中露水为露水。For example, since the grayscale values of images with and without condensation are different, the calculation module distinguishes whether condensation occurs in each image by counting the mean grayscale values of the images of the condensation surface at different times. When counting the mean grayscale values, the calculation module can count the overall mean grayscale value of each image, or divide the image into fixed different partitions, and count the mean grayscale value of each partition in each image, and identify the image with condensation in the partition by comparing the mean grayscale values of different partitions in the same image, and/or the mean grayscale values of the same partition in different images. In this way, the images with condensation and the positions of condensation in the images can be screened out at the same time. Alternatively, in some examples, the calculation module can also determine the region of interest from the image before counting the grayscale values, and then only count the grayscale values of the region of interest. Statistics, which can improve the correlation of the image area used to determine condensation, and then improve the accuracy and efficiency of condensation position detection. Optionally, in some examples, the calculation module is also used to screen the initial image containing dew from the multiple images output by the second imaging module, and perform edge detection on the dew on the condensation surface in the initial image. When it is confirmed that the smoothness of the edge of the dew is greater than a preset threshold, the calculation module confirms that the dew in the initial image is the dew. The edge of the dew is relatively smooth and has a relatively gentle change, while the edge of the dirt will have a larger mutation. By setting a threshold for smoothness to determine whether it is dew, it can be avoided that the calculation module mistakenly detects the dirt on the condensation surface as dew. There are many ways to measure the smoothness of the dew edge. For example, the degree of change of the pixel value at the edge of the dew can be detected. The smaller the degree of change of the pixel value, the higher the smoothness. Alternatively, the texture feature at the edge of the dew can also be obtained, and the dew in the initial image is confirmed to be dew when the texture feature meets the preset requirements.

可选地,一些示例中,第二成像模块和多个温度传感器结合,可以更加准确测量出结露位置的温度。例如,结露面上设置有多处温度探测点,第一温度检测模块用于获取该至少两处点温度。例如,在每一个温度探测点分别设置有温度传感器探头,通过温度传感器探头以一定的频率检测对应的温度探测点的温度。计算模块确认所述结露面上出现所述露点的第一时刻后,根据该第一时刻确定各温度传感器探头分别在露点时刻的所检测到的温度。Optionally, in some examples, the second imaging module is combined with multiple temperature sensors to more accurately measure the temperature of the condensation location. For example, multiple temperature detection points are set on the condensation surface, and the first temperature detection module is used to obtain the temperature of at least two points. For example, a temperature sensor probe is respectively set at each temperature detection point, and the temperature of the corresponding temperature detection point is detected at a certain frequency by the temperature sensor probe. After the calculation module confirms the first moment when the dew point appears on the condensation surface, the temperature detected by each temperature sensor probe at the dew point moment is determined according to the first moment.

计算模块还用于根据第二成像模块输出的图像获取到结露面上的结露位置,以及获取所述结露面上所述至少两处温度探测点的位置分别和所述结露位置之间的距离,根据所述至少两处温度探测点的位置分别和所述结露位置之间的距离确定所述至少两处温度探测点分别对应的权重。可选地,距离结露位置越远的温度探测点所对应的权重越低。所述计算模块用于根据所述至少两处温度探测点的温度,以及所述至少两处温度探测点分别对应的权重,计算所述结露位置处的露点温度。在结露面面积较大或者结露面受热不均匀的情况下,通过多个温度传感器测量结露面上的多点位置的温度,并根据该多点位置的温度来计算结露位置的温度,能够提高结露位置的温度测量的准确性。The calculation module is also used to obtain the condensation position on the condensation surface according to the image output by the second imaging module, and obtain the distance between the position of the at least two temperature detection points on the condensation surface and the condensation position, and determine the weights corresponding to the at least two temperature detection points according to the distance between the position of the at least two temperature detection points and the condensation position. Optionally, the weight corresponding to the temperature detection point farther from the condensation position is, the lower the weight. The calculation module is used to calculate the dew point temperature at the condensation position according to the temperatures of the at least two temperature detection points and the weights corresponding to the at least two temperature detection points. In the case where the condensation surface area is large or the condensation surface is heated unevenly, the temperature of multiple points on the condensation surface is measured by multiple temperature sensors, and the temperature of the condensation position is calculated according to the temperature of the multiple points, which can improve the accuracy of the temperature measurement at the condensation position.

一些示例中,计算模块可以位于上盖结构内,也可以位于主体结构内,或者计算模块中包括分别用于做不同计算的不同部分,该不同部分位于不同位置。例如,计算模块中用于计算水活度的部分位于上盖结构内,用于计算含水率的部分位于主体结构内,在此不作限制。In some examples, the calculation module may be located in the upper cover structure or in the main structure, or the calculation module may include different parts for performing different calculations, and the different parts are located in different positions. For example, the part of the calculation module used to calculate water activity is located in the upper cover structure, and the part used to calculate water content is located in the main structure, which is not limited here.

例如,在一个示例中,如图9所示,图9本申请一个实施例中的结露面上的温度探测点和结露位置的示意图。结露面上设置有9个温度探测点(图中分别用9个小圆点表示),第一温度检测模块检测到在第一时刻该9个温度探测点的温度分别是T1~T9,以及根据露点检测模块所检测到的结露位置L5,计算出该9个温度探测点分别与结露位置的距离是d1~d9。其中,在计算温度探测点与结露位置之间的距离时,可以计算温度探测点和露点的质心位置的距离,或者和露点的其中一个边缘位置的距离,该距离可以是欧拉距离或直线距离或者其他距离,在此不作限制。第一温度检测模块根据该距离d1~d9计算得到该9个温度探测点的权重a1~a9。一个示例中,ai=1/di/(1/d1+1/d2+1/d3+1/d4+1/d5+1/d6+1/d7+1/d8+1/d9),其中i=1,…,9。然后计算出结露位置的温度T=a1*T1+a2*T2+a3*T3+a4*T4+a5*T5+a6*T6+a7*T7+a8*T8+a9*T9。For example, in one example, as shown in FIG. 9 , FIG. 9 is a schematic diagram of temperature detection points and condensation positions on a condensation surface in an embodiment of the present application. Nine temperature detection points are arranged on the condensation surface (represented by nine small dots in the figure respectively), and the first temperature detection module detects that the temperatures of the nine temperature detection points at the first moment are T1 to T9 respectively, and according to the condensation position L5 detected by the dew point detection module, the distances between the nine temperature detection points and the condensation position are calculated to be d1 to d9 respectively. Among them, when calculating the distance between the temperature detection point and the condensation position, the distance between the temperature detection point and the centroid position of the dew point, or the distance to one of the edge positions of the dew point can be calculated, and the distance can be the Euler distance or the straight-line distance or other distance, which is not limited here. The first temperature detection module calculates the weights a1 to a9 of the nine temperature detection points according to the distances d1 to d9. In one example, ai=1/di/(1/d1+1/d2+1/d3+1/d4+1/d5+1/d6+1/d7+1/d8+1/d9), where i=1,…,9. Then the temperature of the condensation position is calculated as T=a1*T1+a2*T2+a3*T3+a4*T4+a5*T5+a6*T6+a7*T7+a8*T8+a9*T9.

可选地,本申请的咖啡颗粒检测装置不仅用于检测咖啡颗粒的水活度,还用于检测咖啡颗粒的其他参数,例如以下至少一项:含水率、密度、间隙率、直径、面积、颜色、圆形度、颜色均匀度、纹理、色度。可选地,咖啡颗粒检测装置还包括用于界面,用于显示咖啡颗粒的这些参数。一个示例中,咖啡颗粒的直径、面积、颜色、圆形度、颜色均匀度、纹理、色度中的至少一项可通过第一成像模块所输出的图像进行识别获取到。其中,该颜色和色度的计算方式不同。例如,一个示例中,计算模块获取到咖啡颗粒的图像,并根据该图像在某一颜色空间下的不同颜色通道中的数值来计算出最终颜色值。该颜色空间可以是RGB颜色空间、Lab颜色空间或者HSV颜色空间。一个示例中,通过依次采用不同光谱的光源分别对咖啡颗粒照射,得到不同的不同光谱对应的图像,根据该不同图像分别得到对应的不同色度图,然后根据该不同的色度图进行加权处理后得到的一帧色度图来计算色度值。Optionally, the coffee particle detection device of the present application is not only used to detect the water activity of coffee particles, but also used to detect other parameters of coffee particles, such as at least one of the following: moisture content, density, gap ratio, diameter, area, color, circularity, color uniformity, texture, chromaticity. Optionally, the coffee particle detection device also includes an interface for displaying these parameters of coffee particles. In one example, at least one of the diameter, area, color, circularity, color uniformity, texture, and chromaticity of coffee particles can be obtained by identifying the image output by the first imaging module. Among them, the color and chromaticity are calculated in different ways. For example, in one example, the calculation module obtains the image of the coffee particles and calculates the final color value according to the values of the image in different color channels under a certain color space. The color space can be an RGB color space, a Lab color space, or an HSV color space. In one example, by sequentially irradiating the coffee particles with light sources of different spectra, different images corresponding to different spectra are obtained, and corresponding different chromaticity diagrams are obtained according to the different images, and then the chromaticity value is calculated according to a frame of chromaticity diagram obtained after weighted processing of the different chromaticity diagrams.

可选地,计算模块还可以根据所检测到的这些参数将所述咖啡颗粒划分至多个预设等级中的一个。可选地,咖啡颗粒装置还包括用户界面,用于向用户展示咖啡颗粒的等级,以便用户对所检测的咖啡颗粒有个更加直观的了解,可以快速分辨哪些是品质较差的咖啡豆,哪些是品质较好的咖啡颗粒。例如,如图4所示,用户界面20位于上盖结构21的顶部表面。可选地,计算模块还还预存或者实时查询不同等级的咖啡豆的存储、烘焙、研磨、冲煮中的至少一项的指导建议,用户界面还用于向用户展示咖啡颗粒的等级所对应的指导建议。可选地,计算模块还预存有推测模型,以及根据咖啡豆的所述至少一项参数和该推测模型推测出咖啡豆的预处理 方式和/或预处理时间。可选地,该预处理方式包括以下至少一种:日晒、水洗、蜜处理。用户界面还用于向用户展示该推测结果。可选地,推测模型可以是通过DNN神经网络模型获取。可选地,推测模型可以是通过传统机器学习的方式获取,例如通过SVM方法获取。在一个示例中,建立含水率、密度、间隙率、直径、面积、颜色、圆形度、颜色均匀度、纹理、色度中的至少一项参数和对应的预处理方式和/或预处理日期日期的预处理数据集,然后将该预处理数据集送入DNN神经网络模型进行训练,得到这些参数与预处理方式和/或预处理日期的SVM模型。Optionally, the calculation module can also classify the coffee particles into one of a plurality of preset levels according to the detected parameters. Optionally, the coffee particle device further includes a user interface for displaying the level of the coffee particles to the user, so that the user can have a more intuitive understanding of the detected coffee particles and can quickly distinguish which are poor quality coffee beans and which are good quality coffee particles. For example, as shown in FIG4 , the user interface 20 is located on the top surface of the upper cover structure 21. Optionally, the calculation module also pre-stores or queries in real time guidance suggestions for at least one of the storage, roasting, grinding, and brewing of coffee beans of different grades, and the user interface is also used to display guidance suggestions corresponding to the level of the coffee particles to the user. Optionally, the calculation module also pre-stores an inference model, and infers the pre-processing of the coffee beans based on the at least one parameter of the coffee beans and the inference model. Method and/or pretreatment time. Optionally, the pretreatment method includes at least one of the following: sun drying, water washing, honey treatment. The user interface is also used to display the inference result to the user. Optionally, the inference model can be obtained through a DNN neural network model. Optionally, the inference model can be obtained through traditional machine learning methods, such as SVM methods. In one example, a pretreatment data set of at least one parameter of moisture content, density, gap ratio, diameter, area, color, circularity, color uniformity, texture, chromaticity and the corresponding pretreatment method and/or pretreatment date is established, and then the pretreatment data set is sent to the DNN neural network model for training to obtain an SVM model of these parameters and the pretreatment method and/or pretreatment date.

下面对咖啡颗粒如何检测这些参数进行举例说明。The following is an example of how coffee particles can detect these parameters.

如图10所述,图10是本申请一个实施例的咖啡颗粒检测装置的底盘结构、电极结构和可拆卸内胆的爆炸示意图,图11为图10所示的底盘结构和电极结构的组装关系示意图。咖啡颗粒检测装置还包括位于主体结构22内的底盘结构90、位于底盘结构90上的电极触点91、第一电极92和第二电极93。第一电极92和第二电极93固定在所述底盘结构93上,并分别与不同的电极触点91连接。当所述可拆卸内胆23组合到所述主体结构22内时,装载有咖啡颗粒的所述容置空间232嵌入到所述第一电极92和所述第二电极93之间,以改变所述第一电极92和所述第二电极93之间的电容值。计算模块还包括位于主体结构22内的含水率计算模块(图未示),用于根据所述第一电极92和所述第二电极93之间的电容值计算所述咖啡颗粒的含水率(Moisture Content,MC)。As shown in FIG. 10 , FIG. 10 is an exploded schematic diagram of a chassis structure, an electrode structure and a detachable inner liner of a coffee particle detection device according to an embodiment of the present application, and FIG. 11 is a schematic diagram of the assembly relationship between the chassis structure and the electrode structure shown in FIG. 10 . The coffee particle detection device further includes a chassis structure 90 located in the main structure 22, an electrode contact 91 located on the chassis structure 90, a first electrode 92 and a second electrode 93. The first electrode 92 and the second electrode 93 are fixed on the chassis structure 93 and are respectively connected to different electrode contacts 91. When the detachable inner liner 23 is combined into the main structure 22, the accommodating space 232 loaded with coffee particles is embedded between the first electrode 92 and the second electrode 93 to change the capacitance value between the first electrode 92 and the second electrode 93. The calculation module further includes a moisture content calculation module (not shown) located in the main structure 22, which is used to calculate the moisture content (Moisture Content, MC) of the coffee particles according to the capacitance value between the first electrode 92 and the second electrode 93.

第一电极92和第二电极93的结构有多种。在图10中,第一电极92为位于所述底盘结构93上的柱状电极,第二电极93呈环绕第一电极92的环状,使得所述第一电极和所述第二电极之间形成环形的中空腔体。如图12a所示,图12a是图9所示的可拆卸内胆的底部侧视图。可拆卸内胆23的至少部分由非导电材料制成,且所述可拆卸内胆23的底面形成有向所述容置空间延伸的凹槽233,所述容置空间呈环绕所述凹槽233的环状,使得所述可拆卸内胆23固定至所述主体结构时,可拆卸内胆23中的容置空间232嵌到环形的中空腔体中,且第一电极从可拆卸内胆23的底面外侧嵌入所述凹槽233内。另一些示例中,第一电极和第二电极也可以不是呈柱状,而是呈相互面对并排的两个矩形块,在此不作限制。There are many structures of the first electrode 92 and the second electrode 93. In FIG10, the first electrode 92 is a columnar electrode located on the chassis structure 93, and the second electrode 93 is in a ring shape surrounding the first electrode 92, so that an annular hollow cavity is formed between the first electrode and the second electrode. As shown in FIG12a, FIG12a is a bottom side view of the removable liner shown in FIG9. At least part of the removable liner 23 is made of non-conductive material, and the bottom surface of the removable liner 23 is formed with a groove 233 extending toward the accommodation space, and the accommodation space is in a ring shape surrounding the groove 233, so that when the removable liner 23 is fixed to the main structure, the accommodation space 232 in the removable liner 23 is embedded in the annular hollow cavity, and the first electrode is embedded in the groove 233 from the outside of the bottom surface of the removable liner 23. In some other examples, the first electrode and the second electrode may not be columnar, but may be two rectangular blocks facing each other and side by side, which is not limited here.

可拆卸内胆可以全部由塑料制成,或者,一些示例中,可拆卸内胆包括由经氧化处理后的金属制成的环壁,以及由非导电材料(例如塑料)制成的所述底面和所述凹槽。由于可拆卸内胆为金属的话会屏蔽电场导致无法测量可拆卸内胆内的咖啡颗粒的含水率,本示例中采用金属制成的环壁相比塑料的强度更高,能够更耐磨,而且金属经过氧化处理不会导电,可以避免影响第一电极和第二电极之间的距离继而影响电容值的测量。The removable liner can be made entirely of plastic, or, in some examples, the removable liner includes a ring wall made of oxidized metal, and the bottom surface and the groove made of non-conductive material (such as plastic). Since the removable liner is made of metal, it will shield the electric field and make it impossible to measure the moisture content of the coffee particles in the removable liner. In this example, the ring wall made of metal is stronger than plastic and more wear-resistant. In addition, the metal will not conduct electricity after oxidation, which can avoid affecting the distance between the first electrode and the second electrode and thus affecting the measurement of the capacitance value.

一些示例中,第一电极的底部设置为高于所述第二电极的底部,以将第一电极和第二电极之间产生的电场集中在可拆卸内胆的中间区域,可以避免可拆卸内胆的深度较浅的情况下无法全部置于第一电极和第二电极之间的环形中空区域内而导致的含水率测量不准确的情况。如图12b所示,图12b是本申请一个实施例的咖啡颗粒检测装置的底盘结构和第一电极的结构示意图。底盘结构90上在所述第一电极92的底部还设有底台95。第一电极触点设置在所述底台95上,且第一电极92固定在所述底台95上和所述第一电极触点连接,使得所述第一电极92的底部高于所述第二电极的底部。In some examples, the bottom of the first electrode is set to be higher than the bottom of the second electrode so as to concentrate the electric field generated between the first electrode and the second electrode in the middle area of the detachable inner liner, which can avoid the situation where the detachable inner liner cannot be completely placed in the annular hollow area between the first electrode and the second electrode when the depth is shallow, resulting in inaccurate moisture content measurement. As shown in Figure 12b, Figure 12b is a schematic diagram of the chassis structure and the first electrode of a coffee particle detection device of an embodiment of the present application. A base 95 is also provided on the chassis structure 90 at the bottom of the first electrode 92. The first electrode contact is arranged on the base 95, and the first electrode 92 is fixed on the base 95 and connected to the first electrode contact, so that the bottom of the first electrode 92 is higher than the bottom of the second electrode.

或者,一些示例中,电极可以作为可拆卸内胆的一部分。例如,如图13和图14所示,图13是本申请一个实施例的咖啡颗粒检测装置的底盘结构和可拆卸内胆的爆炸示意图,图14是图13所示的底盘结构和可拆卸内胆的组装关系示意图。咖啡颗粒检测装置包括位于所述主体结构内的底盘结构90、位于底盘结构90上的电极触点91。可拆卸内胆23的一部分为第一电极1411以及一部分为第二电极1412,且第一电极1411和第二电极1412之间由非导电材料1413连接。当可拆卸内胆23组合到主体结构22内时,第一电极1411和第二电极1412分别和不同的电极触点90接触,且所述容置空间232位于所述第一电极1411和所述第二电极1412之间。Alternatively, in some examples, the electrode can be used as part of a removable liner. For example, as shown in Figures 13 and 14, Figure 13 is an exploded schematic diagram of a chassis structure and a removable liner of a coffee particle detection device according to an embodiment of the present application, and Figure 14 is a schematic diagram of the assembly relationship between the chassis structure and the removable liner shown in Figure 13. The coffee particle detection device includes a chassis structure 90 located in the main structure and an electrode contact 91 located on the chassis structure 90. A portion of the removable liner 23 is a first electrode 1411 and a portion is a second electrode 1412, and the first electrode 1411 and the second electrode 1412 are connected by a non-conductive material 1413. When the removable liner 23 is combined into the main structure 22, the first electrode 1411 and the second electrode 1412 are in contact with different electrode contacts 90 respectively, and the accommodating space 232 is located between the first electrode 1411 and the second electrode 1412.

可选地,咖啡颗粒检测装置配备有不同尺寸的可拆卸内胆,以便用户灵活选择。例如,如图10和图13所示,咖啡颗粒检测装置还分别配备了深度较小的小容积的可拆卸内胆96和97。在可拆卸内胆为非导电材料的内胆(例如塑料内胆)的示例中,相比包含电极的可拆卸内胆,塑料内胆能够更加便于用户对待测的咖啡颗粒进行操作,而且塑胶内胆的容积相较于金属内胆更加容易订制与修改,能够更好地应对用户客制化的需求。相比与包含电极的可拆卸内胆的示例,非导电材料的可拆卸内胆在置于主体结构内的电极之间时会产生固定的电容值C2,在计算模块根据检测模块测得的电容值和关系模型计算含水率之前,还将检测模块测得的电容值减 去该固定的电容值C2。Optionally, the coffee particle detection device is equipped with removable liners of different sizes to allow users to flexibly choose. For example, as shown in Figures 10 and 13, the coffee particle detection device is also equipped with removable liners 96 and 97 of small volume and small depth, respectively. In the example where the removable liners are made of non-conductive materials (such as plastic liners), compared to the removable liners containing electrodes, the plastic liners can be more convenient for users to operate the coffee particles to be tested, and the volume of the plastic liners is easier to customize and modify than the metal liners, which can better meet the customized needs of users. Compared with the example of the removable liners containing electrodes, the removable liners made of non-conductive materials will generate a fixed capacitance value C2 when placed between the electrodes in the main structure. Before the calculation module calculates the moisture content based on the capacitance value measured by the detection module and the relationship model, the capacitance value measured by the detection module is also subtracted. Remove the fixed capacitance value C2.

咖啡颗粒检测装置的主体结构内还设置有检测电路,该检测电路包括分别连接第一电极触点和第二电极触点的被测环路,当装有咖啡颗粒的可拆卸内胆组装到主体机构后进行测量时,该被测环路被导通,用于检测第一电极和第二电极之间的电容值C1。计算模块还包括含水率计算模块,该含水率计算模块内预存有第一电极和所述第二电极之间的电容值C1与咖啡颗粒的含水率MC之间的关系模型MC=f(C1),可以根据检测电路所检测到的第一电极和第二电极之间的电容值以及该关系模型计算出对应的含水率。可选地,该关系模型为关于电容值的三次项拟合模型。A detection circuit is also provided in the main structure of the coffee particle detection device, and the detection circuit includes a measured loop respectively connecting the first electrode contact and the second electrode contact. When the detachable inner container containing coffee particles is assembled to the main structure for measurement, the measured loop is turned on to detect the capacitance value C1 between the first electrode and the second electrode. The calculation module also includes a moisture content calculation module, in which a relationship model MC=f(C1) between the capacitance value C1 between the first electrode and the second electrode and the moisture content MC of the coffee particles is pre-stored. The corresponding moisture content can be calculated based on the capacitance value between the first electrode and the second electrode detected by the detection circuit and the relationship model. Optionally, the relationship model is a cubic fitting model for the capacitance value.

一些示例中,检测电路上还设置有用于检测电路的温度变化的温度传感器,在测得第一电极和第二电极之间的电容值C1之后,可选地,计算模块还用于根据该温度传感器测得的温度t来对电容值C1进行校正。例如,校正后的电容C=C1+k1*t,其中k1是可以通过实验得出的固定常数。In some examples, the detection circuit is further provided with a temperature sensor for detecting temperature changes of the circuit, and after measuring the capacitance value C1 between the first electrode and the second electrode, the calculation module is optionally further used to correct the capacitance value C1 according to the temperature t measured by the temperature sensor. For example, the corrected capacitance C=C1+k1*t, where k1 is a fixed constant that can be obtained through experiments.

一些示例中,检测电路中还设置有参考环路,该参考环路上设置有已知电容值C0的参考电容。含水率计算模块内预存有C_diff与咖啡颗粒的含水率之间的关系模型MC=f(C_diff),其中C_diff为检测电路检测到的第一电极和第二电极之间的电容值C1与该参考电容C0的差值。含水率计算模块可以根据检测电路所检测到的第一电极和第二电极之间的电容值C1、该参考电容的电容值C0以及该关系模型MC=f(C_diff)计算出对应的含水率。通过参考电容的设置,可以在计算的过程中去除误差带来的影响。在一个示例中,含水率MC=b1*C_diff+b2*C_diff2+b3*C_diff3+b4,其中b1、b2、b3、b4为通过实验数据拟合得到的模型参数。In some examples, a reference loop is also provided in the detection circuit, and a reference capacitor with a known capacitance value C0 is provided on the reference loop. The moisture content calculation module pre-stores a relationship model MC=f(C_diff) between C_diff and the moisture content of the coffee particles, wherein C_diff is the difference between the capacitance value C1 between the first electrode and the second electrode detected by the detection circuit and the reference capacitance C0. The moisture content calculation module can calculate the corresponding moisture content according to the capacitance value C1 between the first electrode and the second electrode detected by the detection circuit, the capacitance value C0 of the reference capacitor, and the relationship model MC=f(C_diff). By setting the reference capacitor, the influence of the error can be removed during the calculation process. In one example, the moisture content MC=b1*C_diff+b2*C_diff 2 +b3*C_diff 3 +b4, wherein b1, b2, b3, b4 are model parameters obtained by fitting experimental data.

一些示例中,检测电路在检测第一电极和第二电极之间的电容值时,可以是以固定的电极频率进行测量。或者,还可以改变电极频率,由于咖啡颗粒在第一电极和第二电极之间对应的电容会随着电极频率的改变而改变,检测电路还可以获取第一电极和第二电极之间分别对应至少两种不同电极频率的至少两种电容值。计算模块还用于根据所述至少两种电容值计算分别对应的至少两种含水率,以及对所述至少两种含水率加权计算得到所述咖啡颗粒的含水率。例如,检测电路以电极频率f1检测到第一电极和第二电极之间的电容值为C1,以电极频率f2检测到第一电极和第二电极之间的电容值为C2,以电极频率f3检测到第一电极和第二电极之间的电容值为C3。计算模块根据该3个电容值分别计算得到对应的水活度MC1、MC2、MC3,然后进行加权计算,得到咖啡颗粒的水活度MC=c1*MC1+c2*MC2+c3*MC3,其中c1、c2、c3分别为这三个水活度的加权值。该加权值可以预存好在计算模块内。In some examples, when the detection circuit detects the capacitance value between the first electrode and the second electrode, it can be measured at a fixed electrode frequency. Alternatively, the electrode frequency can also be changed. Since the capacitance corresponding to the coffee particles between the first electrode and the second electrode will change with the change of the electrode frequency, the detection circuit can also obtain at least two capacitance values corresponding to at least two different electrode frequencies between the first electrode and the second electrode. The calculation module is also used to calculate at least two corresponding moisture contents according to the at least two capacitance values, and to obtain the moisture content of the coffee particles by weighted calculation of the at least two moisture contents. For example, the detection circuit detects the capacitance value between the first electrode and the second electrode as C1 at the electrode frequency f1, the capacitance value between the first electrode and the second electrode as C2 at the electrode frequency f2, and the capacitance value between the first electrode and the second electrode as C3 at the electrode frequency f3. The calculation module calculates the corresponding water activities MC1, MC2, and MC3 according to the three capacitance values, and then performs weighted calculation to obtain the water activity of the coffee particles MC=c1*MC1+c2*MC2+c3*MC3, where c1, c2, and c3 are the weighted values of the three water activities, respectively. The weighted value may be pre-stored in the calculation module.

一些示例中,含水率计算模块内预存有分别针对不同的咖啡颗粒类别的关系模型。例如,含水率计算模块内预存有以下至少一项:针对咖啡生豆的第一关系模型、针对烘焙豆的第二关系模型、针对咖啡干果的的第三关系模型、针对带壳豆的第四关系模型。In some examples, the moisture content calculation module has pre-stored relationship models for different coffee particle categories. For example, the moisture content calculation module has pre-stored at least one of the following: a first relationship model for green coffee beans, a second relationship model for roasted beans, a third relationship model for dried coffee fruits, and a fourth relationship model for shelled beans.

在现代咖啡工业中,咖啡豆对干燥保存的要求较高,其水分的多少直接影响生产质量和保存时间,如何有效检查和控制物质的含水率是物质保持干燥的关键。含水率成为评价咖啡豆品质的重要指标之一。长期以来,含水率的测量主要是通过干燥失重法,其原理是通过加热咖啡颗粒使得咖啡颗粒的内部水分被蒸发,测量蒸发前后的样品重量,进而计算得到失去的水分重量,得到含水率。但是这种方法会损耗咖啡豆,且耗时较长。本申请实施例中通过电容式传感器测量由物体含水率不同引起的电容变化,来建立起含水率与电容值之间的模型,具有测量速度快、无损耗等优点。In the modern coffee industry, coffee beans have high requirements for drying and preservation. The amount of water directly affects the production quality and storage time. How to effectively check and control the moisture content of the substance is the key to keeping the substance dry. Moisture content has become one of the important indicators for evaluating the quality of coffee beans. For a long time, the measurement of moisture content has been mainly carried out by the loss on drying method. The principle is to heat the coffee particles so that the internal moisture of the coffee particles is evaporated, measure the weight of the sample before and after evaporation, and then calculate the weight of the lost water to obtain the moisture content. However, this method will consume coffee beans and is time-consuming. In the embodiment of the present application, a capacitive sensor is used to measure the capacitance change caused by the different moisture content of the object to establish a model between moisture content and capacitance value, which has the advantages of fast measurement speed and no loss.

一些示例中,由于可拆卸内胆在长期使用过程中会产生磨损,该磨损会导致咖啡颗粒的含水率的测量出现偏差。可选地,计算模块还用于获取预存的所述可拆卸内胆的初始含水率;获取所述可拆卸内胆在空置时的当前含水率;以及根据所述当前含水率和所述初始含水率的差值对所述咖啡颗粒的含水率进行校正。该初始含水率可以是咖啡颗粒检测装置所预存的在出厂前所测量到的可拆内内胆的含水率。可选地,在每一次用户使用咖啡颗粒检测装置测量含水率之前,用户界面还用于提醒用户放入空置的可拆卸内胆后进行测量含水率,得到当前含水率。或者,也可以不是每次用户使用测量含水率的功能前都测量一次最新的可拆卸内胆的含水率,而是每隔一段时间对空置的可拆卸内胆测量含水率,并在接下来的一段时间内将该测量的可拆卸内胆的含水率作为可拆卸内胆的当前含水率对咖啡颗粒的含水率进行校正。In some examples, since the removable liner will wear out during long-term use, the wear will cause deviations in the measurement of the moisture content of the coffee particles. Optionally, the calculation module is also used to obtain the pre-stored initial moisture content of the removable liner; obtain the current moisture content of the removable liner when it is empty; and correct the moisture content of the coffee particles according to the difference between the current moisture content and the initial moisture content. The initial moisture content can be the moisture content of the removable liner measured before leaving the factory and pre-stored by the coffee particle detection device. Optionally, before each user uses the coffee particle detection device to measure the moisture content, the user interface is also used to remind the user to put in an empty removable liner and measure the moisture content to obtain the current moisture content. Alternatively, instead of measuring the latest moisture content of the detachable inner liner every time before the user uses the moisture content measuring function, the moisture content of the empty detachable inner liner can be measured at regular intervals, and the measured moisture content of the detachable inner liner can be used as the current moisture content of the detachable inner liner to correct the moisture content of the coffee particles over the next period of time.

咖啡颗粒的含水率测量中,由于咖啡颗粒的形态,不可避免的是咖啡颗粒之间会存在间隙,该间隙内一般是空气,间隙的大小会影响含水率的测量。理论上越紧密的咖啡颗粒,即越小的间隙,会得到越高的含水率。可选地,可以用间隙率来表示咖啡颗粒的间隙的大小程度,该减 率为咖啡颗粒的面间隙面积与咖啡颗粒所占区域总面积的比值。因此,咖啡颗粒的含水率与间隙率之间存在一定的关系。一些示例中,咖啡颗粒检测装置内可以预存有该含水率和间隙率之间预设校正模型,计算模块还获取咖啡颗粒的间隙率,并根据所述间隙率和预设校正模型对所述含水率进行校正。一个示例中,该预设校正模型为MC=MC_0+k2*R,其中MC_0为初始含水率,k2为实验得到的固定参数,R为间隙率,MC为校正之后的含水率。一些示例中,预设校正模型为所述含水率与至少所述间隙率和所述咖啡颗粒温度温度的关系模型,所述计算模块还用于根据所述第二温度检测模块检测到的所述咖啡颗粒的温度、所述间隙率和所述预设校正模型对所述含水率进行校正。In measuring the moisture content of coffee particles, due to the shape of coffee particles, it is inevitable that there will be gaps between coffee particles. The gaps are generally filled with air, and the size of the gaps will affect the measurement of moisture content. In theory, the denser the coffee particles, that is, the smaller the gaps, the higher the moisture content. Alternatively, the gap ratio can be used to represent the size of the gaps between coffee particles. The rate is the ratio of the surface gap area of the coffee particles to the total area occupied by the coffee particles. Therefore, there is a certain relationship between the moisture content and the gap rate of the coffee particles. In some examples, a preset correction model between the moisture content and the gap rate may be pre-stored in the coffee particle detection device, and the calculation module also obtains the gap rate of the coffee particles, and corrects the moisture content according to the gap rate and the preset correction model. In one example, the preset correction model is MC=MC_0+k2*R, where MC_0 is the initial moisture content, k2 is a fixed parameter obtained by the experiment, R is the gap rate, and MC is the moisture content after correction. In some examples, the preset correction model is a relationship model between the moisture content and at least the gap rate and the temperature of the coffee particles, and the calculation module is also used to correct the moisture content according to the temperature of the coffee particles detected by the second temperature detection module, the gap rate and the preset correction model.

获取咖啡颗粒的间隙率的方式有多种。一个示例中,咖啡颗粒检测装置还包括第三成像模块,用于对所述容置空间内的咖啡颗粒进行成像。如图15所示,图15是一个示例中位于可拆卸内胆23内的咖啡颗粒151的图像的示意图。计算模块获取该图像后,并通过图像识别方法计算图像中的咖啡颗粒之间的间隙所占总面积。可选地,计算模块可以对咖啡颗粒的图像进行二值化,例如图15的右图中以黑色表示空隙,白色表示咖啡颗颗粒,通过计算黑色区域的面积来得到间隙面积。计算模块还获取该咖啡颗粒所占总区域的面积(即可拆卸内胆的开口面积),并以此计算咖啡颗粒的间隙率。可选地,该第三成像模块和上述第一成像模块可以为同一个成像模块,该成像模块可以分别输出不同的图像,以分别用于计算色度、间隙率等等。或者,也可以是该成像模块用于输出一张原始图像,以便计算模块根据该原始图像进行不同处理以及计算不同类型的信息。There are many ways to obtain the gap ratio of coffee particles. In one example, the coffee particle detection device also includes a third imaging module for imaging the coffee particles in the accommodating space. As shown in FIG. 15, FIG. 15 is a schematic diagram of an image of coffee particles 151 located in a detachable inner liner 23 in an example. After the calculation module obtains the image, it calculates the total area occupied by the gaps between the coffee particles in the image by an image recognition method. Optionally, the calculation module can binarize the image of the coffee particles. For example, in the right figure of FIG. 15, black represents the gap and white represents the coffee particles, and the gap area is obtained by calculating the area of the black area. The calculation module also obtains the area of the total area occupied by the coffee particles (that is, the opening area of the detachable inner liner) and calculates the gap ratio of the coffee particles. Optionally, the third imaging module and the above-mentioned first imaging module can be the same imaging module, and the imaging module can output different images respectively, which are used to calculate the chromaticity, gap ratio, etc. Alternatively, the imaging module can also be used to output an original image so that the calculation module performs different processing and calculates different types of information according to the original image.

第一成像模块或者第三成像模块在咖啡颗粒检测装置内的设置方式有多种。一个示例中,如图16所示,图16是本申请一个实施例中的咖啡颗粒检测装置的上盖结构的仰视图。以第一成像模块为例,该第一成像模块位于所述上盖结构21内,且第一成像模块中的所述至少两种不同光谱的光源161位于所述凹腔的第二深度处,所述第二深度相比所述第一深度更远离所述容置空间。具体的,在图16中,至少两种不同光谱的光源161在位于凹腔的第二深度处的第二平台162上呈环状分布,且出射光方向朝向所述主体结构。可选地,所述感光阵列位于所述凹腔的第三深度处。可选地,如图16所述,感光阵列163位于凹腔的第三深度处的第三平台164的中心区域上,以对容置空间内的咖啡颗粒成像。There are many ways to set the first imaging module or the third imaging module in the coffee particle detection device. In one example, as shown in Figure 16, Figure 16 is a bottom view of the upper cover structure of the coffee particle detection device in one embodiment of the present application. Taking the first imaging module as an example, the first imaging module is located in the upper cover structure 21, and the at least two light sources 161 with different spectra in the first imaging module are located at the second depth of the cavity, and the second depth is farther away from the accommodating space than the first depth. Specifically, in Figure 16, at least two light sources 161 with different spectra are distributed in a ring shape on the second platform 162 located at the second depth of the cavity, and the direction of the emitted light is toward the main structure. Optionally, the photosensitive array is located at the third depth of the cavity. Optionally, as shown in Figure 16, the photosensitive array 163 is located on the central area of the third platform 164 at the third depth of the cavity to image the coffee particles in the accommodating space.

可选地,咖啡颗粒检测装置还包括位于上盖结构内,且位于所述凹腔的所述第一深度和所述第三深度之间的红外增透玻璃,以阻断所述感光阵列和所述容置空间之间的空气通道。可选地,该红外增透玻璃可以为与第一深度和第二深度之间,以进一步缩小与容置空间连通的空间的体积。通过缩小与容置空间连通的空间的体积,可以加快腔体温度和咖啡颗粒的温度之间快速到达平衡,同时又保证了感光阵列与咖啡颗粒之间的距离要求,避免感光阵列与咖啡颗粒之间距离过短而无法对全部咖啡颗粒成像的情况。或者,一些示例中,也可以是保持感光阵列和咖啡颗粒之间的短距离,以保证与容置空间连通的空间的体积较小继而保证腔体温度和咖啡颗粒的温度达到平衡的速度;同时,上盖结构或者主体结构内还设置有至少一个反射镜,所述感光阵列用于通过所述至少一个反射镜接收所述咖啡颗粒对所述至少两种不同光谱的光束的反射光,以对所述咖啡颗粒成像。这样,可以通过反射镜的设置来延长咖啡颗粒和感光阵列之间的光路。如图17所示,图17是本申请的咖啡颗粒检测装置的一个实施例中感光阵列、咖啡颗粒和反射镜之间的位置关系示意图。咖啡颗粒171反射的光束经反射镜172反射到感光阵列173上。咖啡颗粒的镜像位置174和咖啡颗粒的原始位置171关于反射镜172对称。通过反射镜的设置,能够在保证咖啡颗粒和感光阵列之间的光程要求的同时缩短咖啡颗粒和感光阵列的距离。反射镜和感光阵列的布置位置以后多种,例如,该两者都位于上盖结构内,其中,感光阵列可以位于上盖结构内的底部或者侧面上。或者,反射镜位于上盖结构内,感光阵列位于主体结构内。一些示例中,反射镜的数量可以是1个,也可以是至少两个,在此处不做限制。Optionally, the coffee particle detection device further includes an infrared anti-reflection glass located in the upper cover structure and between the first depth and the third depth of the concave cavity to block the air passage between the photosensitive array and the accommodating space. Optionally, the infrared anti-reflection glass can be between the first depth and the second depth to further reduce the volume of the space connected to the accommodating space. By reducing the volume of the space connected to the accommodating space, the temperature of the cavity and the temperature of the coffee particles can be quickly balanced, while ensuring the distance requirement between the photosensitive array and the coffee particles, avoiding the situation where the distance between the photosensitive array and the coffee particles is too short to image all the coffee particles. Alternatively, in some examples, the short distance between the photosensitive array and the coffee particles can be maintained to ensure that the volume of the space connected to the accommodating space is small and then ensure the speed at which the temperature of the cavity and the temperature of the coffee particles reach equilibrium; at the same time, at least one reflector is also provided in the upper cover structure or the main structure, and the photosensitive array is used to receive the reflected light of the coffee particles to the at least two light beams of different spectra through the at least one reflector to image the coffee particles. In this way, the optical path between the coffee particles and the photosensitive array can be extended by setting a reflector. As shown in Figure 17, Figure 17 is a schematic diagram of the positional relationship between the photosensitive array, coffee particles and the reflector in an embodiment of the coffee particle detection device of the present application. The light beam reflected by the coffee particle 171 is reflected to the photosensitive array 173 by the reflector 172. The mirror position 174 of the coffee particle and the original position 171 of the coffee particle are symmetrical about the reflector 172. By setting the reflector, the distance between the coffee particles and the photosensitive array can be shortened while ensuring the optical path requirements between the coffee particles and the photosensitive array. There are many arrangements of the reflector and the photosensitive array. For example, both are located in the upper cover structure, wherein the photosensitive array can be located at the bottom or side of the upper cover structure. Alternatively, the reflector is located in the upper cover structure, and the photosensitive array is located in the main structure. In some examples, the number of reflectors can be 1 or at least two, which is not limited here.

一些示例中,第一成像模块也可以不是位于上盖结构内,而是位于可拆卸内胆的底部外侧。如图18a所示,图18a是本申请一个实施例中的咖啡颗粒装置中的可拆卸内胆和第一成像模块的位置关系示意图。可拆卸内胆23的底部为红外增透玻璃。第一成像模块180中的各光源位于可拆卸内胆23的底部下方,用于向可拆卸内胆23的底部出射光束,且所出射的光束可以透过该可拆卸内胆的底部照射到容置空间内的咖啡颗粒181,并经咖啡颗粒反射回位于可拆卸内胆的底部下方的感光阵列。第一成像模块180的视场角覆盖可拆卸内胆23的全部底部。可选地,第一成像模块中的各光源环绕感光阵列排布。当然光源和感光阵列也有其他排布方式,在此不作限制。在第一成像模块位于上盖结构内的示例中,由于是从容置空间的开口侧向容置空 间内的咖啡颗粒成像,为了避免不同次色度测量中咖啡颗粒和第一成像模块的距离不同而引起的咖啡颗粒反射光强度不同继而引起的色度测量不准确,需要保证每次色度测量中咖啡颗粒和第一成像模块的距离波保持一致。一般在测量之前需要用于将用户将咖啡颗粒填充到容置空间内的固定高度处,且将咖啡颗粒的表面铺平,以方便根据咖啡颗粒的成像进行相应检测。而在第一成像模块位于可拆卸内胆的底部外侧的示例中,由于可拆卸内胆固定到装置内时内胆底部和第一成像模块的距离是保持固定的,可拆卸内胆内的咖啡颗粒和第一成像模块的距离可以保持固定,可以省去用户需要将咖啡颗粒填充到容置空间内的固定高度后再铺平咖啡颗粒的这个步骤,提高用户使用体验,而且可以避免用户没有保持每次色度测量时咖啡颗粒填充到固定高度或没有铺平所带来的色度测量误差。In some examples, the first imaging module may not be located in the upper cover structure, but may be located outside the bottom of the removable liner. As shown in FIG. 18a, FIG. 18a is a schematic diagram of the positional relationship between the removable liner and the first imaging module in the coffee particle device in one embodiment of the present application. The bottom of the removable liner 23 is an infrared anti-reflection glass. The light sources in the first imaging module 180 are located below the bottom of the removable liner 23, and are used to emit a light beam to the bottom of the removable liner 23, and the emitted light beam can pass through the bottom of the removable liner to irradiate the coffee particles 181 in the accommodating space, and be reflected back to the photosensitive array located below the bottom of the removable liner by the coffee particles. The field of view of the first imaging module 180 covers the entire bottom of the removable liner 23. Optionally, the light sources in the first imaging module are arranged around the photosensitive array. Of course, there are other arrangements of the light source and the photosensitive array, which are not limited here. In the example where the first imaging module is located in the upper cover structure, since it is from the opening side of the accommodating space to the accommodating space, the light source is arranged around the photosensitive array. In order to avoid the different distances between the coffee particles and the first imaging module in different chromaticity measurements, which may cause different reflected light intensities of the coffee particles and the inaccurate chromaticity measurements, it is necessary to ensure that the distance wave between the coffee particles and the first imaging module is consistent in each chromaticity measurement. Generally, before the measurement, it is necessary to fill the coffee particles to a fixed height in the accommodation space and flatten the surface of the coffee particles to facilitate the corresponding detection according to the imaging of the coffee particles. In the example where the first imaging module is located outside the bottom of the detachable liner, since the distance between the bottom of the liner and the first imaging module is kept fixed when the detachable liner is fixed to the device, the distance between the coffee particles in the detachable liner and the first imaging module can be kept fixed, which can save the user from the step of filling the coffee particles to a fixed height in the accommodation space and then flattening the coffee particles, thereby improving the user experience and avoiding the chromaticity measurement error caused by the user not filling the coffee particles to a fixed height or not flattening them in each chromaticity measurement.

一些示例中,咖啡颗粒检测装置还可以获取咖啡颗粒的密度。咖啡颗粒基本上像一个蜂巢,是一种纤维素结构。这种结构的作用就是给豆子胚胎存储营养成分。密度更大的咖啡豆相比密度小的咖啡豆能更多的存储糖和浅香物质,直接导致了更多的味道。因此,咖啡生豆的密度是一项按质量分级分类的重要指标。硬度越大、密度越大的咖啡生豆,通常会更加受欢迎,相应的售价也一般更高。有许多方法可以测量咖啡豆密度。现有的一种方法是使用量筒,将咖啡豆倒入标有特定体积的线条处,称量咖啡的重量,然后将重量除以该特定体积。但该方法测量的并不是咖啡豆的真实密度,因为在圆筒中的咖啡豆之间有一些空隙。另一种现有的测量密度的方法是排水法,通过将一定重量的生咖啡加入一定体积的水中,并观察水体积的变化(即排水量),就可以得知咖啡的实际体积。将咖啡的原始重量除以其实际体积,就可以得到真实体积。然而这种方法操作起来比较麻烦。In some examples, the coffee particle detection device can also obtain the density of coffee particles. Coffee particles are basically like a honeycomb, which is a cellulose structure. The function of this structure is to store nutrients for the bean embryo. Coffee beans with higher density can store more sugar and light aroma substances than coffee beans with lower density, which directly leads to more flavor. Therefore, the density of green coffee beans is an important indicator for grading by quality. Green coffee beans with greater hardness and density are usually more popular and generally sold at higher prices. There are many ways to measure the density of coffee beans. One existing method is to use a measuring cylinder, pour the coffee beans into the line marked with a specific volume, weigh the coffee, and then divide the weight by the specific volume. However, this method does not measure the true density of coffee beans because there are some gaps between the coffee beans in the cylinder. Another existing method for measuring density is the displacement method. By adding a certain weight of green coffee to a certain volume of water and observing the change in the volume of water (i.e., the displacement), the actual volume of the coffee can be known. The original weight of the coffee is divided by its actual volume to get the true volume. However, this method is more cumbersome to operate.

本申请的一个实施例中,咖啡颗粒检测装置还可以将检测到的间隙率进行补偿以得到咖啡颗粒更准确的体积。具体的,如图11所示,咖啡颗粒检测装置还包括位于所述主体结构内的所述底盘结构90底下的压力传感器94,用于检测所述可拆卸内胆内的咖啡颗粒的重量。所述计算模块还用于根据所述间隙率和所述可拆卸内胆的体积计算所述咖啡颗粒的体积,以及根据所述压力传感器检测到的所述咖啡颗粒的重量和所述咖啡颗粒的体积计算所述咖啡颗粒的密度。可选地,在计算咖啡颗粒的密度的示例中,所述预设校正模型还可以是所述间隙率、所述密度和所述含水率之间的关系模型;所述计算模块用于根据所述间隙率、所述密度和预设校正模型对所述含水率进行校正。可选地,咖啡颗粒检测装置中的用户界面还用于展示经校正之前的密度以及经间隙率进行校正之后的密度。In one embodiment of the present application, the coffee particle detection device can also compensate for the detected gap ratio to obtain a more accurate volume of the coffee particles. Specifically, as shown in FIG11 , the coffee particle detection device also includes a pressure sensor 94 located under the chassis structure 90 in the main structure, which is used to detect the weight of the coffee particles in the detachable inner liner. The calculation module is also used to calculate the volume of the coffee particles according to the gap ratio and the volume of the detachable inner liner, and to calculate the density of the coffee particles according to the weight of the coffee particles detected by the pressure sensor and the volume of the coffee particles. Optionally, in the example of calculating the density of the coffee particles, the preset correction model can also be a relationship model between the gap ratio, the density and the moisture content; the calculation module is used to correct the moisture content according to the gap ratio, the density and the preset correction model. Optionally, the user interface in the coffee particle detection device is also used to display the density before correction and the density after correction by the gap ratio.

一些示例中,咖啡颗粒检测装置内还预设有咖啡颗粒的直径和间隙率、密度与含水率之间的关系模型。计算模块还用于根据该关系模型,以及咖啡颗粒的间隙率、密度和含水率计算咖啡颗粒的直径。可选地,咖啡颗粒检测装置还包括用户界面,用于向用户展示所述咖啡颗粒的直径。可选地,咖啡颗粒检测装置中还可以通过该温湿度传感器记录咖啡颗粒所处环境的温湿度,并将测量结果进行记录为咖啡豆采摘环境参数之一。可选地,咖啡颗粒检测装置中还设置有气压传感器,用于测量咖啡豆所处环境的气压。计算模块还用于根据该气压计算出海拔数据,并记录为咖啡豆采摘环境参数之一。用户界面还用于将所述温湿度、所述气压和所述海拔数据展示为所述咖啡豆的采摘环境数据。通过对咖啡豆采摘环境产生的检测、记录和展示,咖啡颗粒检测装置可以让用户更全面的检测和记录咖啡颗粒的相关信息。可选地,咖啡颗粒检测装置还包括自标定套件,用于对咖啡颗粒检测装置的至少一项测量结果进行标定。自标定套件包括以下至少一件:标定内胆、标定色卡、水活度标准液、标准液承载容器。所述计算模块还用于执行以下至少一项:根据对所述标定内胆的含水率的测量结果对所述咖啡颗粒的含水率测量结果进行补偿;根据对所述标定色卡的色度测量结果对所述咖啡颗粒的色度测量结果进行补偿;根据对在所述标准液承载容器内的所述水活度标准液的测量结果对所述咖啡颗粒的水活度测量结果进行补偿。In some examples, the coffee particle detection device is also preset with a relationship model between the diameter and the gap ratio, density and moisture content of the coffee particles. The calculation module is also used to calculate the diameter of the coffee particles according to the relationship model, the gap ratio, density and moisture content of the coffee particles. Optionally, the coffee particle detection device also includes a user interface for displaying the diameter of the coffee particles to the user. Optionally, the coffee particle detection device can also record the temperature and humidity of the environment in which the coffee particles are located through the temperature and humidity sensor, and record the measurement results as one of the coffee bean picking environment parameters. Optionally, the coffee particle detection device is also provided with an air pressure sensor for measuring the air pressure of the environment in which the coffee beans are located. The calculation module is also used to calculate the altitude data according to the air pressure, and record it as one of the coffee bean picking environment parameters. The user interface is also used to display the temperature and humidity, the air pressure and the altitude data as the picking environment data of the coffee beans. Through the detection, recording and display of the coffee bean picking environment, the coffee particle detection device allows users to more comprehensively detect and record relevant information about coffee particles. Optionally, the coffee particle detection device further includes a self-calibration kit for calibrating at least one measurement result of the coffee particle detection device. The self-calibration kit includes at least one of the following: a calibration liner, a calibration color card, a water activity standard solution, and a standard solution holding container. The calculation module is also used to perform at least one of the following: compensating the moisture content measurement result of the coffee particles according to the measurement result of the moisture content of the calibration liner; compensating the chromaticity measurement result of the coffee particles according to the chromaticity measurement result of the calibration color card; compensating the water activity measurement result of the coffee particles according to the measurement result of the water activity standard solution in the standard solution holding container.

如图18b所示,图18b是本申请一个实施例中的自标定套件的结构示意图。自标定套件包括标定内胆182、标定色卡183、水活度标准液(图未示)和标准液承载容器184。该标定内胆182的形状可以和可拆卸内胆的形状一致。计算模块可通过将该标定内胆的含水率测量结果和预存的标定内胆的含水率进行比较,并根据该差值对所测量的咖啡颗粒的含水率进行补偿。所述标定色卡183包括具有颜色的平面部分1831。当固定在所述标定内胆或者所述可拆卸内胆时,所述平面部分1831呈水平放置,以测量所述平面部分的色度值。计算模块可以通过将对该标定色卡的色度值测量结果和预存的标定色卡色度值进行比较,并根据该差值对所测量的咖啡颗粒的色度值进行补偿。所述标准液承载器184用于固定在所述标定内胆或者所述可拆卸内胆的 开口处,用于承载所述水活度标准液,以测量所述水活度标准液的水活度。计算模块可以通过将对该标准液的水活度测量结果和预存的标准液水活度进行比较,并根据该差值对所测量的咖啡颗粒的水活度进行补偿。As shown in Figure 18b, Figure 18b is a structural schematic diagram of a self-calibration kit in an embodiment of the present application. The self-calibration kit includes a calibration liner 182, a calibration color card 183, a water activity standard solution (not shown) and a standard solution carrying container 184. The shape of the calibration liner 182 can be consistent with the shape of the detachable liner. The calculation module can compare the moisture content measurement result of the calibration liner with the moisture content of the pre-stored calibration liner, and compensate the moisture content of the measured coffee particles according to the difference. The calibration color card 183 includes a plane portion 1831 with color. When fixed to the calibration liner or the detachable liner, the plane portion 1831 is placed horizontally to measure the chromaticity value of the plane portion. The calculation module can compare the chromaticity value measurement result of the calibration color card with the chromaticity value of the pre-stored calibration color card, and compensate the chromaticity value of the measured coffee particles according to the difference. The standard liquid carrier 184 is used to fix the calibration liner or the detachable liner. The opening is used to carry the water activity standard solution to measure the water activity of the water activity standard solution. The calculation module can compare the water activity measurement result of the standard solution with the pre-stored water activity of the standard solution and compensate the water activity of the measured coffee particles according to the difference.

本申请还提供一种咖啡颗粒检测方法。如图19所示,图19是本申请的咖啡颗粒检测方法的一个实施例的流程示意图。该方法包括:步骤S1901,对与容置空间具有连通的空气通道的结露面进行降温,所述容置空间用于容置咖啡颗粒,以使所述咖啡颗粒中的水汽在所述结露面上凝结水析出露水。步骤S1902,检测所述结露面上是否出现所述露水。步骤S1903,确定第一时刻,所述第一时刻为检测到所述结露面上出现所述露点的时刻。步骤S1904,探测所述结露面上至少一处的温度,以及根据所述至少一处在第一时刻的温度确定露点温度。步骤S1905,根据所述露点温度获取第一蒸气压。步骤S1906,获取所述容置空间和所述咖啡颗粒的温度。步骤S1907,根据所述所述容置空间和所述咖啡颗粒的温度获取第二蒸气压。步骤S1908,根据所述第一蒸气压和所述第二蒸气压计算所述咖啡颗粒的水活度。The present application also provides a method for detecting coffee particles. As shown in FIG. 19 , FIG. 19 is a flow chart of an embodiment of the method for detecting coffee particles of the present application. The method comprises: step S1901, cooling a condensation surface having an air passage connected to a containing space, the containing space being used to contain coffee particles, so that water vapor in the coffee particles condenses on the condensation surface to precipitate dew. Step S1902, detecting whether the dew appears on the condensation surface. Step S1903, determining a first moment, the first moment being the moment when the dew point appears on the condensation surface. Step S1904, detecting the temperature of at least one point on the condensation surface, and determining the dew point temperature according to the temperature of the at least one point at the first moment. Step S1905, obtaining a first vapor pressure according to the dew point temperature. Step S1906, obtaining the temperature of the containing space and the coffee particles. Step S1907, obtaining a second vapor pressure according to the temperature of the containing space and the coffee particles. Step S1908: calculating the water activity of the coffee particles according to the first vapor pressure and the second vapor pressure.

可选地,所述对与容置空间具有连通的空气通道的结露面进行降温,包括:在第一阶段以最大功率控制所述制冷组件将所述结露面降温到第一温度;在第二阶段用于以动态功率控制所述制冷组件对所述结露面降温,使得所述结露面以恒定的降温速度从所述第一温度降到露点温度;其中,所述结露面在所述第二阶段的降温速度低于在所述第一阶段的降温速度。Optionally, cooling the condensation surface having an air passage connected to the accommodating space includes: in a first stage, controlling the refrigeration component at maximum power to cool the condensation surface to a first temperature; in a second stage, controlling the refrigeration component at dynamic power to cool the condensation surface, so that the condensation surface is cooled from the first temperature to the dew point temperature at a constant cooling rate; wherein the cooling rate of the condensation surface in the second stage is lower than the cooling rate in the first stage.

可选地,所述以第一功率控制所述制冷组件将所述结露面降温到第一温度,之前还包括获取所述咖啡颗粒的类别;根据所述咖啡颗粒的类别确定所述第一温度的取值。可选地,所述方法还包括:获取所述咖啡颗粒的类别或者不同的含水率与水活度区间的对应关系;获取所述咖啡颗粒的类别或者不同的含水率;根据所述咖啡颗粒的类别或者不同的含水率和所述对应关系,确认所述咖啡颗粒对应的水活度区间;当所述水活度不位于所述咖啡颗粒对应的水活度区间内时,控制所述制冷组件继续降温。Optionally, the method further includes: obtaining the category of the coffee particles or the corresponding relationship between different water contents and water activity intervals; obtaining the category of the coffee particles or the different water contents; confirming the water activity interval corresponding to the coffee particles according to the category of the coffee particles or the different water contents and the corresponding relationship; and controlling the refrigeration component to continue cooling when the water activity is not within the water activity interval corresponding to the coffee particles.

可选地,所述获取所述咖啡颗粒的类别,包括:通过交互界面向用户提供不同类别的咖啡颗粒的选项;根据用户所选择的选项确定所述咖啡颗粒的类别。可选地,所述方法还包括:向所述容置空间内的咖啡颗粒出射至少两种不同光谱的光束;接收所述咖啡颗粒对所述至少两种不同光谱的光束的反射光并对所述咖啡颗粒进行成像;根据所述咖啡颗粒的成像计算所述咖啡颗粒的色度值;所述获取所述咖啡颗粒的类别,包括:根据所述咖啡颗粒的成像获取所述咖啡颗粒的类别。可选地,所述获取所述咖啡颗粒的类别,包括:获取所述咖啡颗粒的含水率;根据所述含水率和预存的不同含水率和咖啡颗粒的类别的对应关系,确定所述咖啡颗粒的类别。Optionally, the method of obtaining the category of the coffee particles includes: providing the user with options of different categories of coffee particles through an interactive interface; and determining the category of the coffee particles according to the option selected by the user. Optionally, the method further includes: emitting at least two light beams of different spectra to the coffee particles in the accommodating space; receiving reflected light of the coffee particles from the at least two light beams of different spectra and imaging the coffee particles; and calculating the chromaticity value of the coffee particles based on the imaging of the coffee particles; the method of obtaining the category of the coffee particles includes: obtaining the category of the coffee particles based on the imaging of the coffee particles. Optionally, the method of obtaining the category of the coffee particles includes: obtaining the moisture content of the coffee particles; and determining the category of the coffee particles based on the moisture content and a pre-stored correspondence between different moisture contents and categories of coffee particles.

可选地,所述检测所述结露面上是否出现所述露水,包括:根据所述不同时刻的成像的灰度值检测所述结露面上是否出现露点和/或所述露水在所述结露面上的位置。Optionally, the detecting whether the dew appears on the condensation surface includes: detecting whether dew points appear on the condensation surface and/or the position of the dew on the condensation surface according to the grayscale values of the imaging at different moments.

可选地,所述根据所述结露面在不同时刻的成像的灰度值检测所述结露面上是否出现露点,包括:获取所述结露面在不同时刻的成像的灰度值均值,和/或所述结露面在不同时刻的成像上不同分区的灰度值分布;根据所述灰度值均值和/或所述灰度值分布确定所述结露面上是否出现露点。可选地,所述方法还包括:获取所述结露面的包含露水的初始成像,以及对所述初始成像中的露水进行边缘检测或者纹理特征检测;当确认所述露水的边缘光滑度大于预设阈值时或者所述露水的纹理特征满足要求时,确认所述初始成像中的露水为所述露水。Optionally, the detecting whether dew points appear on the dew condensation surface according to the grayscale values of the images of the dew condensation surface at different times includes: obtaining the grayscale value mean of the images of the dew condensation surface at different times, and/or the grayscale value distribution of different partitions on the images of the dew condensation surface at different times; determining whether dew points appear on the dew condensation surface according to the grayscale value mean and/or the grayscale value distribution. Optionally, the method also includes: obtaining an initial image of the dew condensation surface containing dew, and performing edge detection or texture feature detection on the dew in the initial image; when it is confirmed that the edge smoothness of the dew is greater than a preset threshold or the texture feature of the dew meets the requirements, confirming that the dew in the initial image is the dew.

可选地,所述检测所述结露面上是否出现所述露水,包括:通过激光发射器出射激光光束覆盖所述结露面;通过激光探测器接收经所述结露面反射的激光光束;根据所接收的激光光束产生电信号;根据所述电信号的变化确认所述结露面上出现露水。可选地,所述探测所述结露面上至少一处的温度,以及根据所述至少一处在第一时刻的温度确定露点温度,包括:通过位于所述结露面一侧的铂电阻传感器检测温度;获取所述铂电阻传感器的滞后时长;根据在所述第一时刻后的所述滞后时长时所述铂电阻传感器所测得的温度计算所述露点温度。Optionally, the detecting whether the dew appears on the dew condensation surface includes: emitting a laser beam through a laser transmitter to cover the dew condensation surface; receiving the laser beam reflected by the dew condensation surface through a laser detector; generating an electrical signal according to the received laser beam; and confirming the presence of dew on the dew condensation surface according to the change of the electrical signal. Optionally, the detecting the temperature of at least one point on the dew condensation surface and determining the dew point temperature according to the temperature of at least one point at a first moment include: detecting the temperature through a platinum resistance sensor located on one side of the dew condensation surface; obtaining the hysteresis time of the platinum resistance sensor; and calculating the dew point temperature according to the temperature measured by the platinum resistance sensor at the hysteresis time after the first moment.

可选地,所述第二蒸气压是根据所述容置空间和所述咖啡颗粒的温度达到平衡时测得的平衡温度计算得到的;所述方法还包括:获取预存的25摄氏度的平衡温度下测得的水活度与其他平衡温度测得的水活度的第一关系模型;根据所述平衡温度、所述水活度和所述第一关系模型计算所述咖啡颗粒在25摄氏度的平衡温度所对应的水活度。可选地,所述第二蒸气压是根据所述容置空间和所述咖啡颗粒的温度未达到平衡时的温度计算得到的;所述方法还包括:获取预存的25摄氏度的平衡温度下测得的水活度与其他非平衡温度测得的水活度的第二关系模型;根据所述容置空间和所述咖啡颗粒的温度、所述水活度和所述第二关系模型计算所述咖啡颗粒在25摄氏度的平衡温度所对应的水活度。 Optionally, the second vapor pressure is calculated based on the equilibrium temperature measured when the temperatures of the accommodating space and the coffee particles reach equilibrium; the method further includes: obtaining a first relationship model between the water activity measured at a pre-stored equilibrium temperature of 25 degrees Celsius and the water activity measured at other equilibrium temperatures; and calculating the water activity of the coffee particles at the equilibrium temperature of 25 degrees Celsius according to the equilibrium temperature, the water activity and the first relationship model. Optionally, the second vapor pressure is calculated based on the temperature when the temperatures of the accommodating space and the coffee particles do not reach equilibrium; the method further includes: obtaining a second relationship model between the water activity measured at a pre-stored equilibrium temperature of 25 degrees Celsius and the water activity measured at other non-equilibrium temperatures; and calculating the water activity of the coffee particles at the equilibrium temperature of 25 degrees Celsius according to the temperatures of the accommodating space and the coffee particles, the water activity and the second relationship model.

可选地,所述方法还包括:获取所述咖啡颗粒的以下至少一项参数:含水率、密度、间隙率、直径、面积、颜色、圆形度、颜色均匀度、纹理、色度。Optionally, the method further comprises: obtaining at least one of the following parameters of the coffee particles: moisture content, density, interstitial ratio, diameter, area, color, circularity, color uniformity, texture, and chromaticity.

可选地,所述方法还包括:将所述容置空间放置于第一电极和第二电极之间,以改变所述第一电极和所述第二电极之间的电容值;通过检测电路检测所述第一电极和所述第二电极之间的电容值;根据所述第一电极和所述第二电极之间的电容值计算所述咖啡颗粒的含水率。可选地,所述检测电路包括被测环路和参考环路,所述参考环路上设置有已知电容值的参考电容;所述方法还包括获取所述检测电路检测到的所述第一电极和所述第二电极之间的电容值与所述参考电容的电容值之间的电容差值;所述根据所述第一电极和所述第二电极之间的电容值计算所述咖啡颗粒的含水率,包括:根据预存的电容差值与含水率的关系模型,以及所述获取到的电容差值计算所述咖啡颗粒的含水率。可选地,所述通过检测电路检测所述第一电极和所述第二电极之间的电容值,包括:获取所述第一电极和所述第二电极之间分别对应至少两种不同电极频率的至少两种电容值;所述根据所述第一电极和所述第二电极之间的电容值计算所述咖啡颗粒的含水率,包括:根据所述至少两种电容值计算分别对应的至少两种含水率,以及对所述至少两种含水率加权计算得到所述咖啡颗粒的含水率。Optionally, the method further includes: placing the accommodation space between the first electrode and the second electrode to change the capacitance value between the first electrode and the second electrode; detecting the capacitance value between the first electrode and the second electrode by a detection circuit; and calculating the moisture content of the coffee particles according to the capacitance value between the first electrode and the second electrode. Optionally, the detection circuit includes a measured loop and a reference loop, and a reference capacitor with a known capacitance value is provided on the reference loop; the method further includes obtaining a capacitance difference between the capacitance value between the first electrode and the second electrode detected by the detection circuit and the capacitance value of the reference capacitor; the calculating the moisture content of the coffee particles according to the capacitance value between the first electrode and the second electrode includes: calculating the moisture content of the coffee particles according to a pre-stored relationship model between the capacitance difference and the moisture content, and the obtained capacitance difference. Optionally, detecting the capacitance value between the first electrode and the second electrode by means of a detection circuit includes: obtaining at least two capacitance values between the first electrode and the second electrode corresponding to at least two different electrode frequencies respectively; calculating the moisture content of the coffee particles according to the capacitance value between the first electrode and the second electrode includes: calculating at least two moisture contents corresponding to the at least two capacitance values respectively, and obtaining the moisture content of the coffee particles by weighted calculation of the at least two moisture contents.

可选地,所述方法还包括:获取预存的预设校正模型,所述预设校正模型为所述含水率与至少所述间隙率和所述咖啡颗粒温度温度的关系模型;对所述容置空间内的咖啡颗粒进行成像;根据所述成像获取所述咖啡颗粒的间隙率;根据所述间隙率和所述预设校正模型对所述含水率进行校正。可选地,所述预设校正模型为所述含水率与至少所述间隙率和所述咖啡颗粒温度温度的关系模型;所述方法还包括:对所述咖啡颗粒的温度进行检测;根据所述检测到的所述咖啡颗粒的温度、所述间隙率和所述预设校正模型对所述含水率进行校正。可选地,所述方法还包括:通过压力传感器检测所述咖啡颗粒的重量;根据所述间隙率和所述容置空间的体积计算所述咖啡颗粒的体积;根据所述压力传感器检测到的所述咖啡颗粒的重量和所述咖啡颗粒的体积计算所述咖啡颗粒的密度。可选地,所述预设校正模型为所述所述间隙率、所述密度和所述含水率之间的关系模型;所述根据所述间隙率和预设校正模型对所述含水率进行校正,包括:根据所述间隙率、所述密度和所述预设校正模型对所述含水率进行校正。Optionally, the method further includes: obtaining a pre-stored preset correction model, the preset correction model being a relationship model between the moisture content and at least the gap ratio and the temperature of the coffee particles; imaging the coffee particles in the accommodating space; acquiring the gap ratio of the coffee particles according to the imaging; and correcting the moisture content according to the gap ratio and the preset correction model. Optionally, the preset correction model is a relationship model between the moisture content and at least the gap ratio and the temperature of the coffee particles; the method further includes: detecting the temperature of the coffee particles; and correcting the moisture content according to the detected temperature of the coffee particles, the gap ratio and the preset correction model. Optionally, the method further includes: detecting the weight of the coffee particles by a pressure sensor; calculating the volume of the coffee particles according to the gap ratio and the volume of the accommodating space; and calculating the density of the coffee particles according to the weight of the coffee particles detected by the pressure sensor and the volume of the coffee particles. Optionally, the preset correction model is a relationship model between the interstitial ratio, the density and the moisture content; and correcting the moisture content according to the interstitial ratio and the preset correction model includes: correcting the moisture content according to the interstitial ratio, the density and the preset correction model.

可选地,所述方法还包括:获取预存的咖啡颗粒的直径和间隙率、密度与含水率之间的关系模型;根据所述关系模型、所述间隙率、所述密度和所述含水率计算所述咖啡颗粒的直径;通过用户界面向用户展示所述咖啡颗粒的直径。Optionally, the method also includes: obtaining a pre-stored relationship model between the diameter and gap ratio, density and moisture content of coffee particles; calculating the diameter of the coffee particles based on the relationship model, the gap ratio, the density and the moisture content; and displaying the diameter of the coffee particles to the user through a user interface.

可选地,所述方法还包括:根据以下至少一项参数将所述咖啡颗粒划分至多个预设等级中的一个:颜色、纹理、直径、面积、圆形度、颜色均匀度、色度;通过用户界面还用于向用户展示所述咖啡颗粒的等级。可选地,所述方法还包括:获取预存的或者实时查询不同等级的咖啡豆的存储、烘焙、研磨、冲煮中的至少一项的指导建议;通过所述用户界面展示所述咖啡颗粒的等级所对应的所述指导建议。可选地,所述方法还包括:获取预存的推测模型;根据咖啡豆的所述至少一项参数和所述推测模型推测出所述咖啡颗粒的预处理方式和/或预处理时间;通过所述用户界面向用户展示所述预处理方式和/或预处理时间。可选地,所述方法还包括:获取预存的所述可拆卸内胆的初始含水率;获取所述可拆卸内胆在空置时的当前含水率;根据所述当前含水率和所述初始含水率的差值对所述咖啡颗粒的含水率进行校正。Optionally, the method further comprises: classifying the coffee particles into one of a plurality of preset levels according to at least one of the following parameters: color, texture, diameter, area, circularity, color uniformity, chromaticity; and displaying the level of the coffee particles to the user through a user interface. Optionally, the method further comprises: obtaining pre-stored or real-time querying guidance suggestions for at least one of storage, roasting, grinding, and brewing of coffee beans of different levels; and displaying the guidance suggestions corresponding to the level of the coffee particles through the user interface. Optionally, the method further comprises: obtaining a pre-stored inference model; inferring the pre-treatment method and/or pre-treatment time of the coffee particles according to the at least one parameter of the coffee beans and the inference model; and displaying the pre-treatment method and/or pre-treatment time to the user through the user interface. Optionally, the method further comprises: obtaining a pre-stored initial moisture content of the detachable liner; obtaining the current moisture content of the detachable liner when it is empty; and correcting the moisture content of the coffee particles according to the difference between the current moisture content and the initial moisture content.

可选地,所述方法还包括:通过湿度传感器检测咖啡豆所处环境的温湿度;通过气压传感器检测咖啡豆所处环境的气压;根据所述气压计算出海拔数据;通过用户界面将所述温湿度、所述气压和所述海拔数据展示为所述咖啡豆的采摘环境数据。可选地,所述方法还包括以下至少一项步骤:根据对标定内胆的含水率的测量结果对所述咖啡颗粒的含水率测量结果进行补偿;根据对标定色卡的色度测量结果对所述咖啡颗粒的色度测量结果进行补偿;根据对在标准液承载容器内的水活度标准液的测量结果对所述咖啡颗粒的水活度测量结果进行补偿。Optionally, the method further includes: detecting the temperature and humidity of the environment in which the coffee beans are located through a humidity sensor; detecting the air pressure of the environment in which the coffee beans are located through an air pressure sensor; calculating the altitude data according to the air pressure; and displaying the temperature and humidity, the air pressure and the altitude data as the picking environment data of the coffee beans through a user interface. Optionally, the method further includes at least one of the following steps: compensating the moisture content measurement result of the coffee particles according to the measurement result of the moisture content of the calibration inner tank; compensating the colorimetric measurement result of the coffee particles according to the colorimetric measurement result of the calibration color card; compensating the water activity measurement result of the coffee particles according to the measurement result of the water activity standard solution in the standard solution holding container.

关于咖啡颗粒检测方法的解释,可参考上文中对咖啡颗粒装置的解释说明,在此不再赘述。For an explanation of the coffee particle detection method, please refer to the above explanation of the coffee particle device, which will not be repeated here.

以上已经描述了本申请的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其他普通技术人员能理解本文披露的各实施例。 The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (67)

一种咖啡颗粒检测装置,其特征在于,包括容置空间、结露面、冷却模块、第一温度检测模块、露点检测模块和计算模块;A coffee particle detection device, characterized in that it comprises a containing space, a dew condensation surface, a cooling module, a first temperature detection module, a dew point detection module and a calculation module; 所述容置空间用于容置咖啡颗粒;The accommodating space is used to accommodate coffee particles; 所述结露面和所述容置空间之间具有相连通的空气通道;An air passage is provided between the condensation surface and the accommodating space; 所述冷却模块用于对所述结露面进行降温,以使所述咖啡颗粒中的水汽在所述结露面上凝结水析出露水;The cooling module is used to cool the condensation surface so that the water vapor in the coffee particles condenses and precipitates dew on the condensation surface; 所述露点检测模块用于检测所述结露面上是否出现露水;The dew point detection module is used to detect whether dew appears on the dew condensation surface; 所述第一温度检测模块用于探测所述结露面上至少一处的温度;The first temperature detection module is used to detect the temperature of at least one point on the condensation surface; 所述计算模块用于:The calculation module is used for: 确定第一时刻,所述第一时刻为检测到所述结露面上出现所述露水的时刻;Determining a first moment, where the first moment is a moment when dew is detected to appear on the dew condensation surface; 根据所述第一时刻和所述至少一处的温度确定露点温度;Determine the dew point temperature according to the first time and the temperature of the at least one location; 根据所述露点温度获取第一蒸气压;acquiring a first vapor pressure according to the dew point temperature; 获取所述容置空间和所述咖啡颗粒的温度;Acquiring the temperature of the accommodating space and the coffee particles; 根据所述容置空间和所述咖啡颗粒的温度获取第二蒸气压;以及Acquiring a second vapor pressure according to the temperature of the accommodating space and the coffee particles; and 根据所述第一蒸气压和所述第二蒸气压计算所述咖啡颗粒的水活度。The water activity of the coffee particles is calculated based on the first vapor pressure and the second vapor pressure. 根据权利要求1所述的装置,其特征在于,所述冷却模块包括制冷组件和控制组件,所述控制组件用于在第一阶段以最大功率控制所述制冷组件将所述结露面降温到第一温度,以及在第二阶段以动态功率控制所述制冷组件对所述结露面降温,使得所述结露面以恒定的降温速度从所述第一温度降到露点温度;其中,所述结露面在所述第二阶段的降温速度低于在所述第一阶段的降温速度。The device according to claim 1 is characterized in that the cooling module includes a refrigeration component and a control component, the control component is used to control the refrigeration component to cool the condensation surface to a first temperature at maximum power in the first stage, and to control the refrigeration component to cool the condensation surface at dynamic power in the second stage, so that the condensation surface is cooled from the first temperature to the dew point temperature at a constant cooling rate; wherein the cooling rate of the condensation surface in the second stage is lower than the cooling rate in the first stage. 根据权利要求2所述的装置,其特征在于,所述装置内预存有不同类别的咖啡颗粒分别对应的第一温度;The device according to claim 2, characterized in that first temperatures corresponding to different types of coffee particles are pre-stored in the device; 所述控制组件还用于获取所述咖啡颗粒的类别,以及根据所述咖啡颗粒的类别确定所述第一温度的取值。The control component is also used to obtain the category of the coffee particles and determine the value of the first temperature according to the category of the coffee particles. 根据权利要求2所述的装置,其特征在于,所述装置内还预存有不同类别的咖啡颗粒或者不同的含水率与水活度区间的对应关系;The device according to claim 2 is characterized in that the device also pre-stores the correspondence between different types of coffee particles or different moisture content and water activity ranges; 所述控制组件还用于获取所述咖啡颗粒的类别或者所述咖啡颗粒的含水率,根据所述咖啡颗粒的类别或者所述咖啡颗粒的含水率确认所述咖啡颗粒对应的水活度区间,以及当所述水活度不位于所述咖啡颗粒对应的水活度区间内时,控制所述制冷组件继续降温。The control component is also used to obtain the type of the coffee particles or the moisture content of the coffee particles, confirm the water activity range corresponding to the coffee particles according to the type of the coffee particles or the moisture content of the coffee particles, and control the refrigeration component to continue cooling when the water activity is not within the water activity range corresponding to the coffee particles. 根据权利要求3或4所述的装置,其特征在于,所述装置还包括第一成像模块,所述第一成像模块包括至少两种不同光谱的光源,用于依次向所述容置空间内的咖啡颗粒出射不同光谱的光束;所述第一成像模块还包括用于依次接收所述咖啡颗粒对所述至少两种不同光谱的光束的反射光并对所述咖啡颗粒依次成像的感光阵列,其中所述感光阵列用于生成分别对应所述至少两种光源的至少两帧图像;The device according to claim 3 or 4 is characterized in that the device further comprises a first imaging module, the first imaging module comprises at least two light sources of different spectra, and is used to sequentially emit light beams of different spectra to the coffee particles in the accommodating space; the first imaging module further comprises a photosensitive array used to sequentially receive reflected light of the coffee particles to the at least two light beams of different spectra and sequentially image the coffee particles, wherein the photosensitive array is used to generate at least two frames of images corresponding to the at least two light sources respectively; 所述计算模块还用于根据所述至少两帧图像计算所述咖啡颗粒的色度值;The calculation module is further used to calculate the chromaticity value of the coffee particles according to the at least two frames of images; 所述控制组件还用于根据所述咖啡颗粒的成像获取所述咖啡颗粒的类别。The control component is also used to obtain the category of the coffee particles based on the imaging of the coffee particles. 根据权利要求3或4所述的装置,其特征在于,所述装置内还预存有不同含水率和咖啡颗粒的类别的对应关系;The device according to claim 3 or 4, characterized in that the correspondence between different moisture contents and types of coffee particles is also pre-stored in the device; 所述控制组件还用于获取所述咖啡颗粒的含水率,以及根据所述含水率确定所述咖啡颗粒的类别。The control component is also used to obtain the moisture content of the coffee particles and determine the type of the coffee particles according to the moisture content. 根据权利要求2所述的装置,其特征在于,所述冷却组件位于所述结露面一侧,所述装置还包括位于所述冷却组件背向所述结露面一侧的、与所述冷却组件相邻设置的散热片,以及与所述散热片相邻设置的散热片风扇。The device according to claim 2 is characterized in that the cooling component is located on one side of the condensation surface, and the device also includes a heat sink located on the side of the cooling component facing away from the condensation surface and arranged adjacent to the cooling component, and a heat sink fan arranged adjacent to the heat sink. 根据权利要求1所述的装置,其特征在于,所述装置还包括位于所述结露面一侧的循环风扇和用于驱动所述循环风扇的电机,所述循环风扇用于提高所述容置空间和所述结露面之间的空气循环速度。The device according to claim 1 is characterized in that the device also includes a circulation fan located on one side of the condensation surface and a motor for driving the circulation fan, wherein the circulation fan is used to increase the air circulation speed between the accommodating space and the condensation surface. 根据权利要求1所述的装置,其特征在于,所述露点检测模块还用于检测所述结露面上的结露位置;The device according to claim 1, characterized in that the dew point detection module is also used to detect the condensation position on the condensation surface; 所述第一温度检测模块用于获取所述结露面上至少两处的温度; The first temperature detection module is used to obtain the temperatures of at least two locations on the condensation surface; 所述计算模块用于获取所述至少两处的位置分别和所述结露位置之间的距离,根据所述至少两处的位置分别和所述结露位置之间的距离确定所述至少两处分别对应的权重,以及根据所述至少两处的温度以及所述至少两处分别对应的权重计算所述露点温度。The calculation module is used to obtain the distances between the positions of the at least two locations and the condensation location, determine the weights corresponding to the at least two locations according to the distances between the positions of the at least two locations and the condensation location, and calculate the dew point temperature according to the temperatures of the at least two locations and the weights corresponding to the at least two locations. 根据权利要求1所述的装置,其特征在于,所述露点检测模块包括第二成像模块,用于获取所述结露面在不同时刻的成像;The device according to claim 1, characterized in that the dew point detection module comprises a second imaging module for acquiring images of the dew condensation surface at different times; 所述计算模块还用于根据所述不同时刻的成像的灰度值检测所述结露面上是否出现露点和/或所述露水在所述结露面上的位置。The calculation module is also used to detect whether dew points appear on the condensation surface and/or the position of the dew on the condensation surface according to the grayscale values of the images at different times. 根据权利要求10所述的装置,其特征在于,所述计算模块用于获取所述结露面在不同时刻的成像的灰度值均值,以及所述结露面在不同时刻的成像上不同分区的灰度值分布,来确定所述结露面上是否出现露点。The device according to claim 10 is characterized in that the calculation module is used to obtain the mean grayscale value of the imaging of the condensation surface at different times, and the grayscale value distribution of different partitions of the imaging of the condensation surface at different times, so as to determine whether dew points appear on the condensation surface. 根据权利要求1所述的装置,其特征在于,所述露点检测模块包括第二成像模块,用于获取所述结露面在不同时刻的成像;The device according to claim 1, characterized in that the dew point detection module comprises a second imaging module for acquiring images of the dew condensation surface at different times; 所述计算模块还用于获取所述结露面的包含露水的初始成像,以及对所述初始成像中的露水进行边缘检测或者纹理特征检测;The calculation module is further used to obtain an initial image of the condensation surface containing dew, and perform edge detection or texture feature detection on the dew in the initial image; 当确认所述露水的边缘光滑度大于预设阈值时或者所述露水的纹理特征满足要求时,确认所述初始成像中的露水为所述露水。When it is confirmed that the edge smoothness of the dew is greater than a preset threshold or the texture feature of the dew meets the requirement, the dew in the initial image is confirmed to be the dew. 根据权利要求1所述的装置,其特征在于,所述露点检测模块包括激光发射器、激光探测器;The device according to claim 1, characterized in that the dew point detection module comprises a laser emitter and a laser detector; 所述激光发射器出射的激光光束覆盖所述结露面,所述激光探测器用于接收经所述结露面反射的激光光束,以及根据所接收的激光光束产生电信号;The laser beam emitted by the laser emitter covers the dew condensation surface, and the laser detector is used to receive the laser beam reflected by the dew condensation surface, and generate an electrical signal according to the received laser beam; 所述计算模块还用于根据所述电信号的变化确认所述结露面上出现露水。The calculation module is also used to confirm the presence of dew on the condensation surface according to the change of the electrical signal. 根据权利要求1所述的装置,其特征在于,所述第一温度检测模块包括位于所述结露面一侧的铂电阻传感器,The device according to claim 1, characterized in that the first temperature detection module comprises a platinum resistance sensor located on one side of the condensation surface, 所述计算模块用于获取所述铂电阻传感器的滞后时长,以及根据在所述第一时刻后的所述滞后时长时所述铂电阻传感器所测得的温度计算所述露点温度。The calculation module is used to obtain the hysteresis time of the platinum resistance sensor, and calculate the dew point temperature according to the temperature measured by the platinum resistance sensor at the hysteresis time after the first moment. 根据权利要求1所述的装置,其特征在于,所述第二蒸气压是根据所述容置空间和所述咖啡颗粒的温度达到平衡时测得的平衡温度计算得到的;The device according to claim 1, characterized in that the second vapor pressure is calculated based on an equilibrium temperature measured when the temperature of the accommodating space and the coffee particles reaches equilibrium; 所述计算模块预存有25摄氏度的平衡温度下测得的水活度与其他平衡温度测得的水活度的第一关系模型;The calculation module pre-stores a first relationship model between the water activity measured at an equilibrium temperature of 25 degrees Celsius and the water activity measured at other equilibrium temperatures; 所述计算模块还用于根据所述平衡温度、所述水活度和所述第一关系模型计算所述咖啡颗粒在25摄氏度的平衡温度所对应的水活度。The calculation module is further used to calculate the water activity of the coffee particles corresponding to the equilibrium temperature of 25 degrees Celsius based on the equilibrium temperature, the water activity and the first relationship model. 根据权利要求1所述的装置,其特征在于,所述第二蒸气压是根据所述容置空间和所述咖啡颗粒的温度未达到平衡时的温度计算得到的;The device according to claim 1, characterized in that the second vapor pressure is calculated based on the temperature when the temperature of the accommodating space and the coffee particles are not in equilibrium; 所述计算模块预存有25摄氏度的平衡温度下测得的水活度与其他非平衡温度测得的水活度的第二关系模型;The calculation module pre-stores a second relationship model between the water activity measured at an equilibrium temperature of 25 degrees Celsius and the water activity measured at other non-equilibrium temperatures; 所述计算模块还用于根据所述容置空间和所述咖啡颗粒的温度、所述水活度和所述第二关系模型计算所述咖啡颗粒在25摄氏度的平衡温度所对应的水活度。The calculation module is further used to calculate the water activity of the coffee particles corresponding to the equilibrium temperature of 25 degrees Celsius based on the temperature of the accommodating space and the coffee particles, the water activity and the second relationship model. 根据权利要求1所述的装置,其特征在于,所述装置还用于获取所述咖啡颗粒的以下至少一项参数:The device according to claim 1, characterized in that the device is also used to obtain at least one of the following parameters of the coffee particles: 含水率、密度、间隙率、直径、面积、颜色、圆形度、颜色均匀度、纹理、色度。Moisture content, density, void ratio, diameter, area, color, circularity, color uniformity, texture, chromaticity. 根据权利要求1所述的装置,其特征在于,所述装置包括活动连接的上盖结构和主体结构,所述装置还包括位于在所述主体结构内的可拆卸内胆,所述容置空间位于所述可拆卸内胆内,所述装置还包括固定在所述主体结构内的:表面上设置有第一电极触点和第二电极触点的底盘结构、第一电极和第二电极;The device according to claim 1 is characterized in that the device comprises an upper cover structure and a main body structure that are movably connected, the device further comprises a detachable inner liner located in the main body structure, the accommodating space is located in the detachable inner liner, and the device further comprises: a chassis structure having a first electrode contact and a second electrode contact disposed on the surface, a first electrode and a second electrode fixed in the main body structure; 所述第一电极和所述第二电极固定在所述底盘结构上,并分别与所述第一电极触点和所述第二电极触点连接;The first electrode and the second electrode are fixed on the chassis structure and are connected to the first electrode contact and the second electrode contact respectively; 当所述可拆卸内胆组合到所述主体结构内时,所述容置空间嵌入到所述第一电极和所述第二电极之间,以改变所述第一电极和所述第二电极之间的电容值;When the detachable liner is assembled into the main structure, the accommodating space is embedded between the first electrode and the second electrode to change the capacitance value between the first electrode and the second electrode; 所述计算模块还用于根据所述第一电极和所述第二电极之间的电容值计算所述咖啡颗粒的含水率。The calculation module is further used to calculate the moisture content of the coffee particles according to the capacitance value between the first electrode and the second electrode. 根据权利要求18所述的装置,其特征在于,所述第一电极位于所述底盘结构上,所述 第二电极呈环绕所述第一电极的环状,使得所述第一电极和所述第二电极之间形成环形的中空腔体;The device according to claim 18, characterized in that the first electrode is located on the chassis structure, The second electrode is in a ring shape surrounding the first electrode, so that a ring-shaped hollow cavity is formed between the first electrode and the second electrode; 所述可拆卸内胆的至少部分由非导电材料制成,且所述可拆卸内胆的底面形成有向所述容置空间延伸的凹槽,所述容置空间呈环绕所述凹槽的环状,使得所述可拆卸内胆固定至所述主体结构时,所述可拆卸内胆中的容置空间嵌到所述环形的中空腔体中,且所述第一电极从所述可拆卸内胆的底面外侧嵌入所述凹槽内。At least a portion of the removable inner liner is made of non-conductive material, and a groove extending toward the accommodating space is formed on the bottom surface of the removable inner liner, and the accommodating space is in an annular shape surrounding the groove, so that when the removable inner liner is fixed to the main structure, the accommodating space in the removable inner liner is embedded in the annular hollow cavity, and the first electrode is embedded in the groove from the outside of the bottom surface of the removable inner liner. 根据权利要求19所述的装置,其特征在于,所述可拆卸内胆包括由经氧化处理后的金属制成的环壁,以及由非导电材料制成的所述底面和所述凹槽。The device according to claim 19 is characterized in that the removable inner liner includes an annular wall made of oxidized metal, and the bottom surface and the groove are made of non-conductive material. 根据权利要求18所述的装置,其特征在于,所述底盘结构上在所述第一电极的底部设有底台,所述第一电极触点设置在所述底台上,且所述第一电极固定在所述底台上和所述第一电极触点连接,使得所述第一电极的底部高于所述第二电极的底部。The device according to claim 18 is characterized in that a base is provided on the chassis structure at the bottom of the first electrode, the first electrode contact is arranged on the base, and the first electrode is fixed on the base and connected to the first electrode contact, so that the bottom of the first electrode is higher than the bottom of the second electrode. 根据权利要求1所述的装置,其特征在于,所述装置包括活动连接的上盖结构和主体结构,所述装置包括位于所述主体结构内、且表面上设置有第一电极触点和第二电极触点的底盘结构;The device according to claim 1, characterized in that the device comprises an upper cover structure and a main body structure that are movably connected, and the device comprises a chassis structure located in the main body structure and having a first electrode contact and a second electrode contact disposed on the surface; 所述可拆卸内胆的一部分为第一电极以及一部分为第二电极,当所述可拆卸内胆组合到所述主体结构时,所述第一电极与所述第一电极触点接触,所述第二电极与所述第二电极触点接触,且所述容置空间位于所述第一电极和所述第二电极之间;A portion of the detachable inner liner is a first electrode and a portion of the detachable inner liner is a second electrode. When the detachable inner liner is assembled to the main structure, the first electrode contacts the first electrode contact point, the second electrode contacts the second electrode contact point, and the accommodation space is located between the first electrode and the second electrode. 所述计算模块还用于根据所述第一电极和所述第二电极之间的电容值计算所述咖啡颗粒的含水率。The calculation module is further used to calculate the moisture content of the coffee particles according to the capacitance value between the first electrode and the second electrode. 根据权利要求18至22任一项所述的装置,其特征在于,所述装置还包括位于所述主体结构内的检测电路,所述检测电路包括被测环路和参考环路,所述第一电极触点和所述第二电极触点位于所述被测环路上,所述参考环路上设置有已知电容值的参考电容;The device according to any one of claims 18 to 22, characterized in that the device further comprises a detection circuit located in the main structure, the detection circuit comprises a measured loop and a reference loop, the first electrode contact and the second electrode contact are located on the measured loop, and a reference capacitor with a known capacitance value is provided on the reference loop; 所述计算模块用于获取所述检测电路检测到的所述第一电极和所述第二电极之间的电容值与所述参考电容的电容值之间的电容差值;The calculation module is used to obtain a capacitance difference between a capacitance value between the first electrode and the second electrode detected by the detection circuit and a capacitance value of the reference capacitor; 所述计算模块还用于根据预存的电容差值与含水率的关系模型,以及所述获取到的电容差值计算所述咖啡颗粒的含水率。The calculation module is also used to calculate the moisture content of the coffee particles according to the pre-stored relationship model between the capacitance difference and the moisture content and the acquired capacitance difference. 根据权利要求23所述的装置,其特征在于,所述检测电路还用于获取所述第一电极和所述第二电极之间分别对应至少两种不同电极频率的至少两种电容值;The device according to claim 23, characterized in that the detection circuit is further used to obtain at least two capacitance values between the first electrode and the second electrode corresponding to at least two different electrode frequencies; 所述计算模块还用于根据所述至少两种电容值计算分别对应的至少两种含水率,以及对所述至少两种含水率加权计算得到所述咖啡颗粒的含水率。The calculation module is further used to calculate at least two moisture contents corresponding to the at least two capacitance values, and to obtain the moisture content of the coffee particles by weighted calculation of the at least two moisture contents. 根据权利要求18至22任一项所述的装置,其特征在于,所述结露面、所述冷却模块、所述第一温度检测模块和所述露点检测模块位于所述上盖结构内;所述上盖结构内还设置有第三成像模块,用于对所述容置空间内的咖啡颗粒进行成像;The device according to any one of claims 18 to 22, characterized in that the condensation surface, the cooling module, the first temperature detection module and the dew point detection module are located in the upper cover structure; a third imaging module is also provided in the upper cover structure for imaging the coffee particles in the accommodating space; 所述装置内还预存有预设校正模型,用于指示所述含水率与至少所述间隙率之间的关系;The device also has a preset calibration model pre-stored therein for indicating the relationship between the moisture content and at least the void ratio; 所述计算模块还用于根据所述成像获取所述咖啡颗粒的间隙率,以及根据所述间隙率和预设校正模型对所述含水率进行校正。The calculation module is also used to obtain the gap ratio of the coffee particles according to the imaging, and to correct the moisture content according to the gap ratio and a preset correction model. 根据权利要求25所述的装置,其特征在于,所述预设校正模型为所述含水率与至少所述间隙率和所述咖啡颗粒温度温度的关系模型;The device according to claim 25, characterized in that the preset correction model is a relationship model between the moisture content and at least the gap ratio and the temperature of the coffee particles; 所述装置还包括第二温度检测模块,用于对所述咖啡颗粒的温度进行检测;The device further comprises a second temperature detection module, for detecting the temperature of the coffee particles; 所述计算模块用于根据所述第二温度检测模块检测到的所述咖啡颗粒的温度、所述间隙率和所述预设校正模型对所述含水率进行校正。The calculation module is used to correct the moisture content according to the temperature of the coffee particles detected by the second temperature detection module, the gap ratio and the preset correction model. 根据权利要求25所述的装置,其特征在于,所述装置还包括位于所述主体结构内的所述底盘结构底下的压力传感器,用于检测所述可拆卸内胆内的咖啡颗粒的重量;The device according to claim 25, characterized in that the device further comprises a pressure sensor located below the chassis structure in the main structure, for detecting the weight of coffee particles in the removable inner container; 所述计算模块还用于根据所述间隙率和所述可拆卸内胆的体积计算所述咖啡颗粒的体积,以及根据所述压力传感器检测到的所述咖啡颗粒的重量和所述咖啡颗粒的体积计算所述咖啡颗粒的密度。The calculation module is also used to calculate the volume of the coffee particles according to the gap ratio and the volume of the detachable inner capsule, and to calculate the density of the coffee particles according to the weight of the coffee particles detected by the pressure sensor and the volume of the coffee particles. 根据权利要求27所述的装置,其特征在于,所述预设校正模型为所述含水率与至少所述间隙率和所述密度的关系模型;The device according to claim 27, characterized in that the preset correction model is a relationship model between the moisture content and at least the void ratio and the density; 所述计算模块用于根据所述间隙率、所述密度和所述预设校正模型对所述含水率进行校正。The calculation module is used to correct the water content according to the void ratio, the density and the preset correction model. 根据权利要求17所述的装置,其特征在于,所述装置内还预设有咖啡颗粒的直径和间隙率、密度与含水率之间的关系模型, The device according to claim 17 is characterized in that a relationship model between the diameter and gap ratio, density and moisture content of coffee particles is preset in the device. 所述计算模块还用于根据所述关系模型、所述间隙率、所述密度和所述含水率计算所述咖啡颗粒的直径;The calculation module is further used to calculate the diameter of the coffee particles according to the relationship model, the gap ratio, the density and the moisture content; 所述装置还包括用户界面,用于向用户展示所述咖啡颗粒的直径。The device also includes a user interface for displaying the diameter of the coffee particles to a user. 根据权利要求17所述的装置,其特征在于,所述计算模块还用于根据以下至少一项参数将所述咖啡颗粒划分至多个预设等级中的一个:颜色、纹理、直径、面积、圆形度、颜色均匀度;The device according to claim 17, characterized in that the calculation module is further used to classify the coffee particles into one of a plurality of preset levels according to at least one of the following parameters: color, texture, diameter, area, circularity, color uniformity; 所述用户界面还用于向用户展示所述咖啡颗粒的等级。The user interface is also used to display the grade of the coffee particles to the user. 根据权利要求30所述的装置,其特征在于,所述计算模块还用于预存或者实时查询不同等级的咖啡豆的存储、烘焙、研磨、冲煮中的至少一项的指导建议;The device according to claim 30, characterized in that the computing module is further used to pre-store or query in real time the guidance suggestions for at least one of the storage, roasting, grinding, and brewing of coffee beans of different grades; 所述用户界面还用于展示所述咖啡颗粒的等级所对应的所述指导建议。The user interface is also used to display the guidance suggestions corresponding to the grade of the coffee particles. 根据权利要求30所述的装置,其特征在于,所述计算模块还预存有推测模型,以及根据咖啡豆的所述至少一项参数和所述推测模型推测出所述咖啡颗粒的预处理方式和/或预处理时间;The device according to claim 30, characterized in that the calculation module also pre-stores a prediction model, and predicts the pretreatment method and/or pretreatment time of the coffee particles based on the at least one parameter of the coffee beans and the prediction model; 所述用户界面还用于向用户展示所述预处理方式和/或预处理时间。The user interface is also used to display the preprocessing method and/or preprocessing time to the user. 根据权利要求18所述的装置,其特征在于,所述计算模块还用于:The device according to claim 18, characterized in that the calculation module is further used for: 获取预存的所述可拆卸内胆的初始含水率;Obtaining the pre-stored initial moisture content of the detachable liner; 获取所述可拆卸内胆在空置时的当前含水率;Obtaining the current moisture content of the detachable inner liner when it is empty; 根据所述当前含水率和所述初始含水率的差值对所述咖啡颗粒的含水率进行校正。The moisture content of the coffee particles is corrected according to the difference between the current moisture content and the initial moisture content. 根据权利要求5所述的装置,其特征在于,所述装置包括活动连接的上盖结构和主体结构,所述容置空间位于所述主体结构内;The device according to claim 5, characterized in that the device comprises an upper cover structure and a main body structure that are movably connected, and the accommodating space is located in the main body structure; 所述上盖结构包括凹腔,当所述上盖结构盖住所述主体结构时,所述凹腔与所述容置空间连通;The upper cover structure comprises a concave cavity, and when the upper cover structure covers the main structure, the concave cavity is communicated with the accommodating space; 所述凹腔在第一深度处的设置有第一平台,所述结露面位于所述第一平台上;The concave cavity is provided with a first platform at a first depth, and the condensation surface is located on the first platform; 所述第一成像模块位于所述上盖结构内,且所述至少两种不同光谱的光源位于所述凹腔的第二深度,所述第二深度相比所述第一深度更远离所述容置空间。The first imaging module is located in the upper cover structure, and the at least two light sources with different spectrums are located at a second depth of the cavity, and the second depth is farther away from the accommodating space than the first depth. 根据权利要求34所述的装置,其特征在于,所述感光阵列位于所述凹腔的第三深度处;所述上盖结构内还设置有位于所述凹腔的所述第一深度和所述第三深度之间的红外增透玻璃,以阻断所述第一成像模块和所述容置空间之间的空气通道;或者,The device according to claim 34 is characterized in that the photosensitive array is located at a third depth of the cavity; the upper cover structure is further provided with an infrared anti-reflection glass located between the first depth and the third depth of the cavity to block the air passage between the first imaging module and the accommodating space; or 所述上盖结构内或者所述主体结构内还设置有至少一个反射镜,所述第二成像模块用于通过所述至少一个反射镜接收所述咖啡颗粒对所述至少两种不同光谱的光束的反射光,以对所述咖啡颗粒成像。At least one reflector is also provided in the upper cover structure or the main body structure, and the second imaging module is used for receiving the reflected light of the coffee particles to the at least two light beams of different spectra through the at least one reflector to image the coffee particles. 根据权利要求5所述的装置,其特征在于,所述装置包括活动连接的上盖结构和主体结构,所述装置还包括位于在所述主体结构内的可拆卸内胆,所述容置空间位于所述可拆卸内胆内,所述可拆卸内胆的底部为红外增透玻璃,The device according to claim 5 is characterized in that the device comprises an upper cover structure and a main body structure that are movably connected, and the device also comprises a detachable inner liner located in the main body structure, the accommodating space is located in the detachable inner liner, and the bottom of the detachable inner liner is infrared anti-reflection glass, 所述第一成像模块位于所述可拆卸内胆的底部下方。The first imaging module is located below the bottom of the detachable inner liner. 根据权利要求1所述的装置,其特征在于,所述装置还包括温湿度传感器,用于检测咖啡豆所处环境的温湿度;The device according to claim 1, characterized in that the device further comprises a temperature and humidity sensor for detecting the temperature and humidity of the environment in which the coffee beans are located; 所述装置还包括气压传感器,用于检测咖啡豆所处环境的气压;所述计算模块还用于根据该气压计算出海拔数据;The device also includes an air pressure sensor for detecting the air pressure of the environment in which the coffee beans are located; the calculation module is also used to calculate the altitude data according to the air pressure; 所述用户界面还用于将所述温湿度、所述气压和所述海拔数据展示为所述咖啡豆的采摘环境数据。The user interface is also used to display the temperature and humidity, the air pressure and the altitude data as the picking environment data of the coffee beans. 根据权利要求1所述的装置,其特征在于,所述装置还包括标定套件,所述自标定套件包括以下至少一件:标定内胆、标定色卡、水活度标准液、标准液承载容器;The device according to claim 1, characterized in that the device further comprises a calibration kit, wherein the self-calibration kit comprises at least one of the following: a calibration liner, a calibration color card, a water activity standard solution, and a standard solution carrying container; 所述计算模块还用于执行以下至少一项:The computing module is further configured to perform at least one of the following: 根据对所述标定内胆的含水率的测量结果对所述咖啡颗粒的含水率测量结果进行补偿;Compensating the moisture content measurement result of the coffee particles according to the moisture content measurement result of the calibration inner container; 根据对所述标定色卡的色度测量结果对所述咖啡颗粒的色度测量结果进行补偿;Compensating the colorimetric measurement result of the coffee particles according to the colorimetric measurement result of the calibrated color card; 根据对在所述标准液承载容器内的所述水活度标准液的测量结果对所述咖啡颗粒的水活度测量结果进行补偿。The water activity measurement result of the coffee particles is compensated based on the measurement result of the water activity standard solution in the standard solution holding container. 一种咖啡颗粒检测方法,其特征在于,包括:A coffee particle detection method, comprising: 对与容置空间具有连通的空气通道的结露面进行降温,所述容置空间用于容置咖啡颗粒,以使所述咖啡颗粒中的水汽在所述结露面上凝结水析出露水; Cooling a condensation surface having an air passage connected to a receiving space for receiving coffee particles so that water vapor in the coffee particles condenses and precipitates dew on the condensation surface; 检测所述结露面上是否出现所述露水;detecting whether the dew appears on the condensation surface; 确定第一时刻,所述第一时刻为检测到所述结露面上出现所述露点的时刻;Determining a first moment, the first moment being a moment when the dew point is detected to appear on the dew condensation surface; 探测所述结露面上至少一处的温度,以及根据所述至少一处在第一时刻的温度确定露点温度;detecting a temperature of at least one location on the condensation surface, and determining a dew point temperature according to the temperature of the at least one location at a first moment; 根据所述露点温度获取第一蒸气压;acquiring a first vapor pressure according to the dew point temperature; 获取所述容置空间和所述咖啡颗粒的温度;Acquiring the temperature of the accommodating space and the coffee particles; 根据所述所述容置空间和所述咖啡颗粒的温度获取第二蒸气压;acquiring a second vapor pressure according to the temperature of the accommodating space and the coffee particles; 根据所述第一蒸气压和所述第二蒸气压计算所述咖啡颗粒的水活度。The water activity of the coffee particles is calculated based on the first vapor pressure and the second vapor pressure. 根据权利要求39所述的方法,其特征在于,所述对与容置空间具有连通的空气通道的结露面进行降温,包括:The method according to claim 39, characterized in that cooling the condensation surface having an air passage communicating with the accommodating space comprises: 在第一阶段以最大功率控制所述制冷组件将所述结露面降温到第一温度;In the first stage, the refrigeration component is controlled at maximum power to cool the condensation surface to a first temperature; 在第二阶段用于以动态功率控制所述制冷组件对所述结露面降温,使得所述结露面以恒定的降温速度从所述第一温度降到露点温度;In the second stage, the refrigeration component is controlled to cool the condensation surface with dynamic power, so that the condensation surface is cooled from the first temperature to the dew point temperature at a constant cooling rate; 其中,所述结露面在所述第二阶段的降温速度低于在所述第一阶段的降温速度。Wherein, the cooling rate of the condensation surface in the second stage is lower than the cooling rate in the first stage. 根据权利要求40所述的方法,其特征在于,所述以第一功率控制所述制冷组件将所述结露面降温到第一温度,之前还包括:The method according to claim 40, characterized in that the step of controlling the refrigeration component at the first power to cool the condensation surface to the first temperature further comprises: 获取所述咖啡颗粒的类别;Obtaining the category of the coffee particles; 根据所述咖啡颗粒的类别确定所述第一温度的取值。The value of the first temperature is determined according to the type of the coffee particles. 根据权利要求40所述的方法,其特征在于,所述方法还包括:The method according to claim 40, characterized in that the method further comprises: 获取所述咖啡颗粒的类别或者不同的含水率与水活度区间的对应关系;Obtaining the types of the coffee particles or the corresponding relationships between different moisture contents and water activity ranges; 获取所述咖啡颗粒的类别或者不同的含水率;Obtaining the types or different moisture contents of the coffee particles; 根据所述咖啡颗粒的类别或者不同的含水率和所述对应关系,确认所述咖啡颗粒对应的水活度区间;Determining the water activity range corresponding to the coffee particles according to the types of the coffee particles or different moisture contents and the corresponding relationship; 当所述水活度不位于所述咖啡颗粒对应的水活度区间内时,控制所述制冷组件继续降温。When the water activity is not within the water activity interval corresponding to the coffee particles, the refrigeration component is controlled to continue cooling. 根据权利要求40或41所述的方法,其特征在于,所述获取所述咖啡颗粒的类别,包括:The method according to claim 40 or 41, characterized in that obtaining the category of the coffee particles comprises: 通过交互界面向用户提供不同类别的咖啡颗粒的选项;Providing users with options of different types of coffee particles through an interactive interface; 根据用户所选择的选项确定所述咖啡颗粒的类别。The category of the coffee particles is determined according to the option selected by the user. 根据权利要求40或41所述的方法,其特征在于,所述方法还包括:The method according to claim 40 or 41, characterized in that the method further comprises: 向所述容置空间内的咖啡颗粒出射至少两种不同光谱的光束;Emits at least two light beams with different spectra toward the coffee particles in the accommodating space; 接收所述咖啡颗粒对所述至少两种不同光谱的光束的反射光并对所述咖啡颗粒进行成像;receiving reflected light from the coffee particles to the at least two light beams of different spectra and imaging the coffee particles; 根据所述咖啡颗粒的成像计算所述咖啡颗粒的色度值;Calculating the chromaticity value of the coffee particles according to the imaging of the coffee particles; 所述获取所述咖啡颗粒的类别,包括:The obtaining the category of the coffee particles comprises: 根据所述咖啡颗粒的成像获取所述咖啡颗粒的类别。The categories of the coffee particles are obtained based on the imaging of the coffee particles. 根据权利要求40或41所述的方法,其特征在于,所述获取所述咖啡颗粒的类别,包括:The method according to claim 40 or 41, characterized in that obtaining the category of the coffee particles comprises: 获取所述咖啡颗粒的含水率;Obtaining the moisture content of the coffee particles; 根据所述含水率和预存的不同含水率和咖啡颗粒的类别的对应关系,确定所述咖啡颗粒的类别。The category of the coffee particles is determined according to the moisture content and the pre-stored correspondence between different moisture contents and categories of the coffee particles. 根据权利要求39所述的方法,其特征在于,所述检测所述结露面上是否出现所述露水,包括:The method according to claim 39, characterized in that the detecting whether the dew appears on the condensation surface comprises: 根据所述不同时刻的成像的灰度值检测所述结露面上是否出现露点和/或所述露水在所述结露面上的位置。Whether dew points appear on the condensation surface and/or the position of the dew on the condensation surface are detected according to the grayscale values of the images at different moments. 根据权利要求46所述的方法,其特征在于,所述根据所述结露面在不同时刻的成像的灰度值检测所述结露面上是否出现露点,包括:The method according to claim 46, characterized in that the detecting whether a dew point appears on the dew condensation surface according to the grayscale value of the image of the dew condensation surface at different times comprises: 获取所述结露面在不同时刻的成像的灰度值均值,和/或所述结露面在不同时刻的成像上不同分区的灰度值分布;Obtaining a mean value of grayscale values of the images of the condensation surface at different times, and/or a distribution of grayscale values of different partitions of the images of the condensation surface at different times; 根据所述灰度值均值和/或所述灰度值分布确定所述结露面上是否出现露点。It is determined whether a dew point appears on the condensation surface according to the gray value mean and/or the gray value distribution. 根据权利要求39所述的方法,其特征在于,所述方法还包括:The method according to claim 39, characterized in that the method further comprises: 获取所述结露面的包含露水的初始成像,以及对所述初始成像中的露水进行边缘检测或者纹理特征检测; Acquire an initial image of the condensation surface containing dew, and perform edge detection or texture feature detection on the dew in the initial image; 当确认所述露水的边缘光滑度大于预设阈值时或者所述露水的纹理特征满足要求时,确认所述初始成像中的露水为所述露水。When it is confirmed that the edge smoothness of the dew is greater than a preset threshold or the texture feature of the dew meets the requirement, the dew in the initial image is confirmed to be the dew. 根据权利要求39所述的方法,其特征在于,所述检测所述结露面上是否出现所述露水,包括:The method according to claim 39, characterized in that the detecting whether the dew appears on the condensation surface comprises: 通过激光发射器出射激光光束覆盖所述结露面;The laser emitter emits a laser beam to cover the condensation surface; 通过激光探测器接收经所述结露面反射的激光光束;Receiving the laser beam reflected by the condensation surface by means of a laser detector; 根据所接收的激光光束产生电信号;generating an electrical signal according to the received laser beam; 根据所述电信号的变化确认所述结露面上出现露水。The presence of dew on the condensation surface is confirmed based on the change in the electrical signal. 根据权利要求39所述的方法,其特征在于,所述探测所述结露面上至少一处的温度,以及根据所述至少一处在第一时刻的温度确定露点温度,包括:The method according to claim 39, characterized in that the detecting the temperature of at least one location on the condensation surface and determining the dew point temperature according to the temperature of the at least one location at the first moment comprises: 通过位于所述结露面一侧的铂电阻传感器检测温度;Detecting the temperature by a platinum resistance sensor located on one side of the condensation surface; 获取所述铂电阻传感器的滞后时长;Obtaining the hysteresis time of the platinum resistance sensor; 根据在所述第一时刻后的所述滞后时长时所述铂电阻传感器所测得的温度计算所述露点温度。The dew point temperature is calculated according to the temperature measured by the platinum resistance sensor at the lag time after the first moment. 根据权利要求39所述的方法,其特征在于,所述第二蒸气压是根据所述容置空间和所述咖啡颗粒的温度达到平衡时测得的平衡温度计算得到的;所述方法还包括:The method according to claim 39, characterized in that the second vapor pressure is calculated based on an equilibrium temperature measured when the temperature of the accommodating space and the coffee particles reaches equilibrium; the method further comprises: 获取预存的25摄氏度的平衡温度下测得的水活度与其他平衡温度测得的水活度的第一关系模型;Obtaining a first relationship model between the water activity measured at a pre-stored equilibrium temperature of 25 degrees Celsius and the water activity measured at other equilibrium temperatures; 根据所述平衡温度、所述水活度和所述第一关系模型计算所述咖啡颗粒在25摄氏度的平衡温度所对应的水活度。The water activity of the coffee particles corresponding to the equilibrium temperature of 25 degrees Celsius is calculated according to the equilibrium temperature, the water activity and the first relationship model. 根据权利要求39所述的方法,其特征在于,所述第二蒸气压是根据所述容置空间和所述咖啡颗粒的温度未达到平衡时的温度计算得到的;所述方法还包括:The method according to claim 39, characterized in that the second vapor pressure is calculated based on the temperature when the temperature of the accommodating space and the coffee particles are not in equilibrium; the method further comprises: 获取预存的25摄氏度的平衡温度下测得的水活度与其他非平衡温度测得的水活度的第二关系模型;Obtaining a pre-stored second relationship model between the water activity measured at an equilibrium temperature of 25 degrees Celsius and the water activity measured at other non-equilibrium temperatures; 根据所述容置空间和所述咖啡颗粒的温度、所述水活度和所述第二关系模型计算所述咖啡颗粒在25摄氏度的平衡温度所对应的水活度。The water activity of the coffee particles corresponding to the equilibrium temperature of 25 degrees Celsius is calculated according to the temperature of the accommodating space and the coffee particles, the water activity and the second relationship model. 根据权利要求39所述的方法,其特征在于,所述方法还包括:The method according to claim 39, characterized in that the method further comprises: 获取所述咖啡颗粒的以下至少一项参数:Obtain at least one of the following parameters of the coffee particles: 含水率、密度、间隙率、直径、面积、颜色、圆形度、颜色均匀度、纹理、色度。Moisture content, density, void ratio, diameter, area, color, circularity, color uniformity, texture, chromaticity. 根据权利要求39所述的方法,其特征在于,所述方法还包括:The method according to claim 39, characterized in that the method further comprises: 将所述容置空间放置于第一电极和第二电极之间,以改变所述第一电极和所述第二电极之间的电容值;Placing the accommodation space between the first electrode and the second electrode to change the capacitance value between the first electrode and the second electrode; 通过检测电路检测所述第一电极和所述第二电极之间的电容值;Detecting the capacitance value between the first electrode and the second electrode by a detection circuit; 根据所述第一电极和所述第二电极之间的电容值计算所述咖啡颗粒的含水率。The moisture content of the coffee particles is calculated according to the capacitance value between the first electrode and the second electrode. 根据权利要求54所述的方法,其特征在于,所述检测电路包括被测环路和参考环路,所述参考环路上设置有已知电容值的参考电容;The method according to claim 54, characterized in that the detection circuit comprises a measured loop and a reference loop, and a reference capacitor with a known capacitance value is provided on the reference loop; 所述方法还包括获取所述检测电路检测到的所述第一电极和所述第二电极之间的电容值与所述参考电容的电容值之间的电容差值;The method further includes obtaining a capacitance difference between a capacitance value between the first electrode and the second electrode detected by the detection circuit and a capacitance value of the reference capacitor; 所述根据所述第一电极和所述第二电极之间的电容值计算所述咖啡颗粒的含水率,包括:The calculating the moisture content of the coffee particles according to the capacitance value between the first electrode and the second electrode comprises: 根据预存的电容差值与含水率的关系模型,以及所述获取到的电容差值计算所述咖啡颗粒的含水率。The moisture content of the coffee particles is calculated according to a pre-stored relationship model between the capacitance difference and the moisture content and the acquired capacitance difference. 根据权利要求54所述的方法,其特征在于,所述通过检测电路检测所述第一电极和所述第二电极之间的电容值,包括:获取所述第一电极和所述第二电极之间分别对应至少两种不同电极频率的至少两种电容值;The method according to claim 54, characterized in that the detecting the capacitance value between the first electrode and the second electrode by the detection circuit comprises: obtaining at least two capacitance values between the first electrode and the second electrode corresponding to at least two different electrode frequencies respectively; 所述根据所述第一电极和所述第二电极之间的电容值计算所述咖啡颗粒的含水率,包括:The calculating the moisture content of the coffee particles according to the capacitance value between the first electrode and the second electrode comprises: 根据所述至少两种电容值计算分别对应的至少两种含水率,以及对所述至少两种含水率加权计算得到所述咖啡颗粒的含水率。At least two moisture contents corresponding to the at least two capacitance values are calculated respectively, and the moisture content of the coffee particles is obtained by weighted calculation of the at least two moisture contents. 根据权利要求54所述的方法,其特征在于,所述方法还包括:The method according to claim 54, characterized in that the method further comprises: 获取预存的预设校正模型,所述预设校正模型为所述含水率与至少所述间隙率和所述咖啡颗粒温度温度的关系模型;Obtaining a pre-stored preset correction model, wherein the preset correction model is a relationship model between the moisture content and at least the gap ratio and the temperature of the coffee particles; 对所述容置空间内的咖啡颗粒进行成像; Imaging the coffee particles in the accommodating space; 根据所述成像获取所述咖啡颗粒的间隙率;Acquire the gap ratio of the coffee particles according to the imaging; 根据所述间隙率和所述预设校正模型对所述含水率进行校正。The water content is corrected according to the gap ratio and the preset correction model. 根据权利要求57所述的方法,其特征在于,所述预设校正模型为所述含水率与至少所述间隙率和所述咖啡颗粒温度温度的关系模型;The method according to claim 57, characterized in that the preset correction model is a relationship model between the moisture content and at least the gap ratio and the temperature of the coffee particles; 所述方法还包括:The method further comprises: 对所述咖啡颗粒的温度进行检测;detecting the temperature of the coffee particles; 根据所述检测到的所述咖啡颗粒的温度、所述间隙率和所述预设校正模型对所述含水率进行校正。The moisture content is corrected according to the detected temperature of the coffee particles, the gap ratio and the preset correction model. 根据权利要求57所述的方法,其特征在于,所述方法还包括:The method according to claim 57, characterized in that the method further comprises: 通过压力传感器检测所述咖啡颗粒的重量;Detecting the weight of the coffee particles by a pressure sensor; 根据所述间隙率和所述容置空间的体积计算所述咖啡颗粒的体积;Calculating the volume of the coffee particles according to the gap ratio and the volume of the accommodating space; 根据所述压力传感器检测到的所述咖啡颗粒的重量和所述咖啡颗粒的体积计算所述咖啡颗粒的密度。The density of the coffee particles is calculated based on the weight of the coffee particles detected by the pressure sensor and the volume of the coffee particles. 根据权利要求59所述的方法,其特征在于,所述预设校正模型为所述所述间隙率、所述密度和所述含水率之间的关系模型;The method according to claim 59, characterized in that the preset correction model is a relationship model among the void ratio, the density and the water content; 所述根据所述间隙率和预设校正模型对所述含水率进行校正,包括:The correcting the water content according to the gap ratio and a preset correction model includes: 根据所述间隙率、所述密度和所述预设校正模型对所述含水率进行校正。The moisture content is corrected according to the void ratio, the density and the preset correction model. 根据权利要求49所述的方法,其特征在于,所述方法还包括:The method according to claim 49, characterized in that the method further comprises: 获取预存的咖啡颗粒的直径和间隙率、密度与含水率之间的关系模型;Obtaining a relationship model between the diameter and interstitial ratio, density and moisture content of pre-stored coffee particles; 根据所述关系模型、所述间隙率、所述密度和所述含水率计算所述咖啡颗粒的直径;Calculating the diameter of the coffee particles according to the relationship model, the gap ratio, the density and the moisture content; 通过用户界面向用户展示所述咖啡颗粒的直径。The diameter of the coffee particles is displayed to the user through a user interface. 根据权利要求49所述的方法,其特征在于,所述方法还包括:The method according to claim 49, characterized in that the method further comprises: 根据以下至少一项参数将所述咖啡颗粒划分至多个预设等级中的一个:颜色、纹理、直径、面积、圆形度、颜色均匀度、色度;classifying the coffee particles into one of a plurality of preset classes according to at least one of the following parameters: color, texture, diameter, area, circularity, color uniformity, chroma; 通过用户界面还用于向用户展示所述咖啡颗粒的等级。The user interface is also used to display the grade of the coffee particles to the user. 根据权利要求62所述的方法,其特征在于,所述方法还包括:The method according to claim 62, characterized in that the method further comprises: 获取预存的或者实时查询不同等级的咖啡豆的存储、烘焙、研磨、冲煮中的至少一项的指导建议;Obtaining pre-stored or real-time guidance suggestions on at least one of storage, roasting, grinding, and brewing of coffee beans of different grades; 通过所述用户界面展示所述咖啡颗粒的等级所对应的所述指导建议。The guidance suggestions corresponding to the grade of the coffee particles are displayed through the user interface. 根据权利要求62所述的方法,其特征在于,所述方法还包括:The method according to claim 62, characterized in that the method further comprises: 获取预存的推测模型;Obtain a pre-stored inference model; 根据咖啡豆的所述至少一项参数和所述推测模型推测出所述咖啡颗粒的预处理方式和/或预处理时间;Inferring a pretreatment method and/or pretreatment time of the coffee particles according to the at least one parameter of the coffee beans and the inference model; 通过所述用户界面向用户展示所述预处理方式和/或预处理时间。The preprocessing method and/or preprocessing time are displayed to the user through the user interface. 根据权利要求49所述的方法,其特征在于,所述方法还包括:The method according to claim 49, characterized in that the method further comprises: 获取预存的所述可拆卸内胆的初始含水率;Obtaining the pre-stored initial moisture content of the detachable liner; 获取所述可拆卸内胆在空置时的当前含水率;Obtaining the current moisture content of the detachable inner liner when it is empty; 根据所述当前含水率和所述初始含水率的差值对所述咖啡颗粒的含水率进行校正。The moisture content of the coffee particles is corrected according to the difference between the current moisture content and the initial moisture content. 根据权利要求39所述的方法,其特征在于,所述方法还包括:The method according to claim 39, characterized in that the method further comprises: 通过湿度传感器检测咖啡豆所处环境的温湿度;The temperature and humidity of the environment where the coffee beans are located are detected by a humidity sensor; 通过气压传感器检测咖啡豆所处环境的气压;The air pressure of the environment where the coffee beans are located is detected by an air pressure sensor; 根据所述气压计算出海拔数据;Calculating altitude data based on the air pressure; 通过用户界面将所述温湿度、所述气压和所述海拔数据展示为所述咖啡豆的采摘环境数据。The temperature and humidity, the air pressure and the altitude data are displayed as the coffee bean picking environment data through a user interface. 根据权利要求39所述的方法,其特征在于,所述装置还包括标定套件,所述方法还包括以下至少一项步骤:The method according to claim 39, characterized in that the device further includes a calibration kit, and the method further includes at least one of the following steps: 根据对标定内胆的含水率的测量结果对所述咖啡颗粒的含水率测量结果进行补偿;Compensating the moisture content measurement result of the coffee particles according to the moisture content measurement result of the calibration inner container; 根据对标定色卡的色度测量结果对所述咖啡颗粒的色度测量结果进行补偿;Compensating the colorimetric measurement result of the coffee particles according to the colorimetric measurement result of the calibrated color card; 根据对在标准液承载容器内的水活度标准液的测量结果对所述咖啡颗粒的水活度测量结果进行补偿。 The water activity measurement of the coffee particles is compensated based on the measurement of the water activity standard solution in the standard solution holding container.
PCT/CN2024/072533 2024-01-16 2024-01-16 Coffee granule measurement device and method Pending WO2025152031A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2024/072533 WO2025152031A1 (en) 2024-01-16 2024-01-16 Coffee granule measurement device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2024/072533 WO2025152031A1 (en) 2024-01-16 2024-01-16 Coffee granule measurement device and method

Publications (1)

Publication Number Publication Date
WO2025152031A1 true WO2025152031A1 (en) 2025-07-24

Family

ID=96470503

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/072533 Pending WO2025152031A1 (en) 2024-01-16 2024-01-16 Coffee granule measurement device and method

Country Status (1)

Country Link
WO (1) WO2025152031A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4215568A (en) * 1979-05-31 1980-08-05 The United States Of America As Represented By The Secretary Of The Army Rapid water activity determining device and method
CN2570770Y (en) * 2002-07-31 2003-09-03 任若明 Fast moisture tester
CN209513709U (en) * 2018-11-09 2019-10-18 大港油田集团有限责任公司 A Coaxial Capacitance Sensor Applicable to High Water Content Measuring Range
CN213658636U (en) * 2020-07-07 2021-07-09 山西农业大学 Oat Moisture Rapid Tester
CN117309937A (en) * 2023-09-21 2023-12-29 南京信息工程大学 Dew point temperature detection method and device integrating image recognition and reflection detection
CN220323178U (en) * 2023-07-20 2024-01-09 谱晟天创光学科技(上海)有限公司 Water activity meter device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4215568A (en) * 1979-05-31 1980-08-05 The United States Of America As Represented By The Secretary Of The Army Rapid water activity determining device and method
CN2570770Y (en) * 2002-07-31 2003-09-03 任若明 Fast moisture tester
CN209513709U (en) * 2018-11-09 2019-10-18 大港油田集团有限责任公司 A Coaxial Capacitance Sensor Applicable to High Water Content Measuring Range
CN213658636U (en) * 2020-07-07 2021-07-09 山西农业大学 Oat Moisture Rapid Tester
CN220323178U (en) * 2023-07-20 2024-01-09 谱晟天创光学科技(上海)有限公司 Water activity meter device
CN117309937A (en) * 2023-09-21 2023-12-29 南京信息工程大学 Dew point temperature detection method and device integrating image recognition and reflection detection

Similar Documents

Publication Publication Date Title
JP7534116B2 (en) Storage container, refrigerator and maturity estimation device
US11181515B2 (en) Scent-based spoilage sensing refrigerator
US11016049B2 (en) Agricultural moisture and test weight sensor with co-planar electrodes
CN111148944B (en) Automatic cooking apparatus and method
Sunli et al. Non‐destructive detection for mold colonies in rice based on hyperspectra and GWO‐SVR
Zhang et al. Fast prediction of sugar content in Dangshan pear (Pyrus spp.) using hyperspectral imagery data
Guo et al. Nondestructive measurement of soluble solids content of kiwifruits using near-infrared hyperspectral imaging
Huang et al. Evaluating quality of tomato during storage using fusion information of computer vision and electronic nose
CN107077709B (en) Nutrient quantity calculation device and refrigerator equipped with the same
EP2270475B1 (en) Automated system for detecting aflatoxin in food
Song et al. Rapid identification of adulterated rice based on data fusion of near-infrared spectroscopy and machine vision
Dong et al. Nondestructive determination of soluble solids content of ‘Fuji’apples produced in different areas and bagged with different materials during ripening
CN118742928A (en) Food quality assessment based on machine learning
AU2017204283A1 (en) Apparatus and method for monitoring preparation of a food product
CN110017659A (en) Domestic refrigerator equipment
US20230039001A1 (en) Method for Load Detection in a Cooking Chamber of a Cooking Device and Cooking Device
JP2025516452A (en) Ultraviolet light and machine learning based assessment of food quality
CN110031408A (en) A kind of Kiwi berry maturity fast discriminating device and method
Arjun et al. Non-destructive assessment of quality parameters of white button mushrooms (Agaricus bisporus) using image processing techniques
Hongyang et al. Detection of browning of fresh‐cut potato chips based on machine vision and electronic nose
WO2025152031A1 (en) Coffee granule measurement device and method
Li et al. A low-cost discrete Vis-NIR optical sensing method for the determination of pear internal blackheart
CN105352555A (en) Portable detection device for quickly identifying storage time of fowl eggs, and application method thereof
CN108195114A (en) The intelligent food materials management system and food management method of assisting child intake diatery supplement
US20210199373A1 (en) Household appliance device, in particular household refrigeration appliance device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24917658

Country of ref document: EP

Kind code of ref document: A1