WO2023024523A1 - Refractometer, detection apparatus, and method for detecting refractive index - Google Patents

Refractometer, detection apparatus, and method for detecting refractive index Download PDF

Info

Publication number
WO2023024523A1
WO2023024523A1 PCT/CN2022/085257 CN2022085257W WO2023024523A1 WO 2023024523 A1 WO2023024523 A1 WO 2023024523A1 CN 2022085257 W CN2022085257 W CN 2022085257W WO 2023024523 A1 WO2023024523 A1 WO 2023024523A1
Authority
WO
WIPO (PCT)
Prior art keywords
medium
refractive index
light
liquid
brightness
Prior art date
Application number
PCT/CN2022/085257
Other languages
French (fr)
Chinese (zh)
Inventor
彭倜
徐凌杰
吴泳智
Original Assignee
深圳市流数科技有限公司
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 深圳市流数科技有限公司 filed Critical 深圳市流数科技有限公司
Priority to CN202280002123.1A priority Critical patent/CN115298536A/en
Publication of WO2023024523A1 publication Critical patent/WO2023024523A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/41Refractivity; Phase-affecting properties, e.g. optical path length
    • G01N21/43Refractivity; Phase-affecting properties, e.g. optical path length by measuring critical angle

Definitions

  • the invention belongs to the field of liquid refractive index measurement, and in particular relates to a refractometer, a detection device and a method for detecting the refractive index.
  • a refractometer is a device that measures the refractive index of liquids. Since the solid soluble matter in the liquid will increase the refractive index of the liquid after dissolving, the measurement of the solid soluble matter content in the liquid can be realized through the measurement of the refractive index, so the refractometer can be used to measure the content of the solid soluble matter in the liquid .
  • the solid soluble matter in the aqueous solution is usually sugar, so the refractometer is also called a sugar meter when measuring beverages (such as fruit juice, coffee, etc.).
  • Fig. 1 is a structural schematic diagram of an existing refractometer.
  • the refractometer includes a slit 1', an LED light source 2', a one-dimensional sensitive line array 3', a triangular prism 4' and a processor (not shown).
  • the principle of the refractometer utilizes the fact that the total reflection angle is determined by the refractive index of the two materials at the interface.
  • the LED light source 2' is a point light source
  • the part where the incident angle is greater than the total reflection angle undergoes total reflection, and when the incident angle is smaller than the total reflection angle, transmission and reflection coexist.
  • the brightness of reflection is smaller than that of total reflection. Therefore, in the one-dimensional image formed by the one-dimensional photosensitive line array 3', the pixels at different positions on the image correspond to the light beams incident on the surface 5' from the point light source at different angles, corresponding to the light beams incident on the surface 5' at the angle of total reflection. A distinct brightness discontinuity can be seen near the pixels of the beam to facet 5'.
  • the processor can measure the total reflection angle through this sudden change in brightness, and calculate the refractive index of the liquid to be measured accordingly.
  • the existing refractometer is provided with a slit 1' on the outgoing light path of the LED light source 2', so that the light source is a very small point light source in the direction parallel to the sensitive line array 3' to define the impact on the sensitive line array 3. 'The angle of each beam on .
  • the essence of the slit 1' is to decouple the position and direction of the light, so that the refractometer only needs to detect the direction of the light without being disturbed by the position of the light.
  • this design will result in a very large size of the sensitive line array 3 ′, especially in the case where the measurement range of the refractive index is required to be relatively large. The specific reasons are as follows.
  • the size of the sensitive line array 3' is 2*tan( ⁇ /2)*d
  • d represents the optical path distance from the LED light source 2' to the sensitive line array 3'
  • is the LED light source 2 'The overall opening angle of the outgoing light.
  • the measurement range of the refractive index is required to be relatively large (for example, to measure liquids with different refractive indices)
  • needs to have a larger value, so the size of the sensitive line array 3 ′ also needs to be increased accordingly. This is not conducive to miniaturization of the refractometer.
  • the object of the present invention is to provide a refractometer with low cost, small volume, large measurement range and good robustness, a smart cup with the refractometer and a method for detecting the refractive index to solve the above problems.
  • the technical solution adopted in the present invention is: a refractometer, including a light source module, a reflection module, a converging module, a photosensitive area array, a control module and a processor; the control module is used to control the output of the light source module light beam; the reflection module is used to receive the light beam from the light source module, when the light beam from the light source module satisfies the total reflection condition in the reflection module, the light beam is totally reflected in the reflection module, and incident to the converging module; the converging module is used to converge the light beam from the reflecting module onto the focal plane of the converging module; the photosensitive surface array is located on the focal plane of the converging module, the The control module is also used to control the photo
  • the present invention also provides a detection device, including the above-mentioned refractometer.
  • the present invention also provides a method for detecting the refractive index, comprising: sending a light beam to the reflection module in the refractometer; converging the light beam at least totally reflected by the reflection module to the focal plane located in the convergence module through the convergence module
  • the photosensitive array on the photosensitive array use the photosensitive array to image the received light beam to generate a detection image; determine the brightness mutation boundary line in the detection image according to the detection image; according to the position of the brightness mutation boundary line in the detection image Determine the refractive index of the medium corresponding to the sudden change in brightness.
  • the refractometer of the present invention arranges the photosensitive surface array on the focal plane of the image side of the lens module, and the lens module adopts the infinity focus imaging method, so that a non-point light source can be used as the light source, so that the photosensitive surface array can be shared by the size of the light source.
  • the size of the photosensitive area makes the size of the photosensitive area very small, which has the advantages of low cost, small size, large measurement range, and good robustness; moreover, the refractometer uses an area array CMOS detection image sensor, which has lower cost and higher accuracy High, reducing installation requirements, and can achieve many things that one-dimensional sensors cannot do, such as improving accuracy, improving anti-interference ability, adding other measurement functions, etc.
  • FIG. 1 is a structural schematic diagram of an existing refractometer
  • Fig. 2 is a schematic diagram of the side where the sensitive line array is equivalent to the liquid surface in Fig. 1
  • Fig. 3 is a schematic cross-sectional view of a structure of a refractometer
  • Fig. 4 is a schematic diagram of the imaging principle of the lens unit using infinity focusing
  • FIG. 5 is a schematic diagram of an equivalent optical system of a refractometer
  • FIG. 6 and FIG. 7 are respectively the structure of the refractometer using light source modules and lens modules of different sizes in this application Schematic diagram
  • Fig. 1 is a structural schematic diagram of an existing refractometer
  • Fig. 2 is a schematic diagram of the side where the sensitive line array is equivalent to the liquid surface in Fig. 1
  • Fig. 3 is a schematic cross-sectional view of a structure of a refractometer
  • Fig. 4 is a schematic diagram of the imaging principle of the lens unit using
  • FIG. 8 is a detection image of the light beam received by the photosensitive surface array when the refractometer detects a liquid to be measured
  • Fig. 9 is a structural schematic diagram of an example of a refractometer
  • Fig. Figure 11 and Figure 12 are schematic diagrams of two examples of detection images respectively
  • Figure 13 is an example of the top view of the refractometer shown in Figure 9
  • Figure 14 It is a schematic diagram of the positional relationship between the prism, the coating on the surface of the prism, the waterproof part and the liquid to be tested
  • Figure 15-17 is a schematic diagram of the detection image
  • the left side of Figure 18 is the detection image formed by the light beam received by the photosensitive surface array
  • Figure 19 is a schematic structural diagram of a smart cup
  • Figure 20 is a structural schematic diagram of a smart scale
  • Figure 21 is a method for detecting the refractive index of a liquid to be measured using a refractometer in this application A schematic diagram of an embodiment.
  • the converging module located on the beam incident side of the photosensitive module is used to decouple the angle and position of the incident beam of the photosensitive module, and the converging module can realize decoupling in two dimensions, so the photosensitive module can use
  • the photosensitive area array detects the light beam, and then the refractive index detection optical path for self-calibration and the refractive index detection optical path of the liquid to be measured can share the light source and the photosensitive area array, avoiding the offset between the two sets of detection optical paths (such as semiconductor chips The calculation deviation caused by poor consistency, poor consistency of installation structure, installation deviation, mechanical shock or temperature drift, etc.)
  • the light emitted from the reflective module at one exit angle can be converged to the at the same location as the sensor.
  • the divergence angle of the light source module is required to be relatively large, but the divergence angle of the LED light source itself is not very large, it is necessary to find a specially-made LED light source with a large angle and a small light-emitting surface in the solution of the prior art.
  • the light source module in this application does not need to bear the function of distinguishing angles and positions, and there are less restrictions on the selection of light emitting units in the light source module.
  • an area array is used to detect the light beam, which can obtain more information than the linear array, which is beneficial to improve the detection of the liquid to be tested.
  • the accuracy of the refractive index can even obtain more information about the liquid to be measured.
  • the refractometer uses an area array CMOS detection image sensor, which has lower cost, higher accuracy, lower installation requirements, and can achieve many things that one-dimensional sensors cannot do, such as improving accuracy, improving anti-interference ability, increasing Other measurement functions, etc.
  • the reflection properties of the total reflection surface interface must be kept consistent within the range of the liquid level. Since the light direction can be directly measured in the present application, even if there are bubbles or the liquid to be measured at the detection surface of the prism In the case that the total reflection interface is not completely covered, the boundaries of sudden changes in brightness are still clearly distinguishable.
  • the refractometer measures clear water in real time, forming a sudden change in brightness on the imaging of the sensitive line array as a self-calibration position, and then when the refractometer measures the refractive index of the liquid to be tested and the content of solid solubles, it is based on the sudden change in brightness of 0Brix and
  • the self-calibration position corrects the real-time measurement results; but this requires self-calibration with clean water before measurement. If you want to achieve simultaneous calibration of measurement, if you use the existing calculation scheme, because you need to form a self-calibration position, you need to set up two emitting light sources and corresponding two sensitive line arrays, and one emitting light source and corresponding sensitive line arrays are used for detection.
  • the liquid used for self-calibration, another emitting light source and a sensitive line array are used to detect the liquid to be tested.
  • the detection of the liquid for self-calibration and the detection of the liquid to be measured are two different structures, and it is prone to inaccurate self-calibration results caused by the offset of the two sets of optical paths in the refractometer. calculation deviation.
  • the refractometer in this embodiment can also be used as an object for self-calibration by fixing a second medium in the reflection module instead of clear water in the prior art, and the light beam can be completely reflected on the photosensitive surface array before it is incident on the second medium.
  • the boundary line of sudden change in brightness is formed on the image to measure the refractive index of the second medium, and the measurement result of the second medium is used to correct the measurement result of the liquid to be tested.
  • the combination of the converging module and the photosensitive array is used to decouple the position and direction of the light beam, and the photosensitive array is two-dimensional, the same receiver can be used for the measurement of the second medium and the liquid to be measured To detect, and even use the same emitting light source to form the boundary line of the sudden change in brightness corresponding to the second medium and the liquid to be measured on the photosensitive surface array, which can avoid the measurement error caused by the difference between different sensitive line arrays and light paths in the prior art, Improve the accuracy of the measurement results of the refractometer.
  • the refractometer in this embodiment can eliminate the process of water calibration, and can more accurately measure high-temperature liquids. Wider application scenarios.
  • FIG. 3 is a schematic cross-sectional view of a structure of a refractometer.
  • the refractometer includes a light source module 1 , a reflection module 2 , a converging module 3 , a photosensitive array 4 , a control module (not shown in the figure) and a processor (not shown in the figure).
  • the control module is used for controlling the light beam emitted by the light source module 1 and for controlling the photosensitive surface array 4 to perform light detection.
  • the control module includes a light source controller and a photosensitive controller for controlling the light source module 1 and the photosensitive array 4 respectively.
  • the reflection module 2 is used for receiving the light beam from the light source module 1 . After the light beam from the light source module 1 enters the reflection module 2, when the total reflection condition is satisfied, the light beam with an incident angle greater than or equal to the total reflection angle undergoes total reflection, and the light beam with an incident angle smaller than the total reflection angle undergoes partial transmission and partial reflection at this point. Reflected, reflected and totally reflected light beams exit the reflection module 2 and then enter the converging module 3 .
  • the converging module 3 is used for converging the light beams from the reflecting module 2 to the photosensitive surface array 4 located on the focal plane of the converging module 3 .
  • the control module is also used to control the photosensitive surface array 4 to detect the received light beam and output a detection image.
  • the converging module 3 can be a lens, and the focal plane of the converging module 3 refers to the focal plane of the lens; or a lens group composed of at least two lenses, and the focal plane of the converging module 3 is the equivalent of the lens group effective focal plane.
  • the aberration and distortion of the imaging of the converging module can also be reduced through the optical design of the lens.
  • the convergence module As shown in Figure 4, ideally parallel light can be converged by a lens to a converging point on the focal plane.
  • the converging point extends from the optical center of the lens to the point of intersection with the focal plane in the direction of the parallel light. Therefore, the converging point is only related to the direction of the light, not to the exit position of the light.
  • this embodiment can decouple the position and direction of the light by setting the converging module in front of the photosensitive array, so that in any plane passing through the optical center of the converging module, the plane is reflected at the same exit angle The light totally reflected at different positions of the module will be converged to the same position of the photosensitive surface array 4 , and finally a boundary line of abrupt change in brightness corresponding to the total reflection angle is formed on the photosensitive surface array 4 .
  • the processor can determine the total reflection angle corresponding to the sudden brightness boundary by obtaining the position of the sudden brightness boundary , and then calculate the corresponding refractive index according to the total reflection angle.
  • the light source module 1 includes an LED light bar, or includes a light source composed of a plurality of LED light beads by patching or packaging.
  • the wavelength of the LED needs to be compatible with the wavelength response of the CMOS photosensitive array.
  • the wavelength can be between 300nm and 1000nm, for example, the wavelength can be between 400nm and 500nm, or between 500nm and 600nm, or between 600nm and 700nm. Either between 700nm and 800nm, or between 800nnm and 900nm.
  • the wavelength of the LED is in the green light band, for example, the central wavelength is between 500nm and 600nm.
  • CMOS sensor with a Bayer pattern of RGGB
  • this type of photosensitive area array has a higher resolution and is more sensitive to the G channel. Using the green light band can better communicate with the photosensitive surface. array with.
  • an optical filter 7 matching the outgoing light of the light source module 1 is provided on the optical path between the detection surface of the reflective module 2 and the photosensitive array 4 for transmitting the outgoing light of the light source module 1 .
  • the output light of the light source module 1 is of a single wavelength, so that it is easier to match a narrow-band filter to eliminate background light.
  • the reflective module 2 includes a first medium 21 .
  • the refractometer also includes a detection area arranged on the surface of the first medium, used for supporting the liquid 5 to be measured when the refractometer detects the liquid 5 to be measured.
  • the detection area is covered with the liquid to be tested and the refractive index of the liquid to be tested is lower than that of the first medium, at least part of the light beam is totally reflected by the liquid to be tested.
  • the processor can calculate the refractive index of the liquid to be tested according to the position of the totally reflected light beam corresponding to the boundary line of the sudden change in brightness in the detection image.
  • the first medium may be a prism
  • the prism 21 includes a light incident surface 212 , a detection surface 211 and a light exit surface 213 , and the detection area is set on the surface of the detection surface 211 .
  • the light beam from the light source module 1 is incident on the detection surface 211 of the prism 21 from the light incident surface 212, when the refractive index of the object 5 on the detection area is lower than the refractive index of the prism, and the incident angle of the light beam on the detection surface 211 satisfies a certain When conditions are met, the light beam is totally reflected on the detection surface 211 and exits from the light exit surface 213 .
  • the prism 21 is a triangular prism.
  • the prism 21 is an isosceles prism, such as an isosceles right-angle prism, so that the structure of the prism is more compact, making the overall structure smaller.
  • antireflection coatings are provided on the light incident surface 212 and the light exit surface 213 of the prism to increase the transmittance of light beams.
  • the prism 21 can be made of glass material, or can also be made of other transparent materials such as plastic and resin.
  • the size of the detection area matches the divergence angle of the outgoing light from the light source module 1, so that the light spot formed by the outgoing light on the detection area just covers the detection area or is slightly smaller than the detection area, so as to facilitate the small size of the refractometer change.
  • the first medium may also be other optical elements with a high refractive index, or be composed of other media with a high refractive index.
  • the field of view of the lens is determined by the focal length f and the aperture size d of the lens.
  • the refractometer not only depends on the field of view of the lens, but also needs to ensure that the light within the field of view It can be reflected by the reflective module and incident into the converging module, so the size of the light-emitting surface of the optical module needs to be increased accordingly.
  • the angle range of the light beam that can finally be received by the converging module is jointly determined by the size of the light emitting surface of the light source module and the size of the converging module.
  • the angle range ⁇ that the photosensitive surface array 4 can detect is defined by two lines on the edge: the light r1 from the uppermost end of the light-emitting surface of the light source module 1 to the lowermost end of the clear aperture of the lens 3, and the light source r1 Light r2 from the lowermost end of the light-emitting surface of the module 1 to the uppermost end of the clear aperture of the lens.
  • the angle range ⁇ is determined by three variables: the size of the light emitting surface of the light source module 1 , the clear aperture of the lens 3 , and the distance between the light emitting surface of the light source module 1 and the lens 3 .
  • this application can realize a smaller light source module and photosensitive module under the same detection angle range, which can realize product miniaturization and reduce costs; moreover, this application can choose to share the photosensitive module by the size of the light source
  • the size of the area array makes the size of the photosensitive area array very small, which has the advantages of low cost and small volume.
  • the aperture of the light emitting surface of the light source module 1 is greater than or equal to the aperture of the light of the converging module 3 .
  • the aperture of the light-emitting surface of the light source module 1 is the same as or less than 1/5 of the aperture of the light-emitting surface of the converging module 3 .
  • the aperture of the photosensitive surface array in the refractometer of the present application is half of the aperture of the photosensitive surface array of the refractometer in the prior art, can reduce the number of refractometers. cost and difficulty in mass production.
  • the aperture of the light emitting surface of the light source module 1 is larger than twice the aperture of the converging module 3 .
  • the aperture size of the photosensitive surface array in the refractometer of the present application can be made very small.
  • the cost and difficulty of mass production required by the size are much lower, and the cost and difficulty of mass production can be reduced to a greater extent by allowing the light source module to bear more dimensions.
  • the detection angle range ⁇ of the photosensitive surface array covers the total reflection angle range of the reflection module, wherein the total reflection angle range of the reflection module refers to all angles where total reflection can occur in the reflection module, so as to ensure the large Refractive Index Detection Range.
  • the reflective module uses a medium with a high refractive index to reduce the total reflection angle range of the converging module.
  • the refractometer may use a light source module with a narrow wavelength bandwidth, or set a narrow-band filter on the outgoing light path of the light source module to reduce the wavelength bandwidth of the outgoing light from the light source module to reduce dispersion.
  • the outgoing light of the light source module or the outgoing light filtered by the narrow-band filter is a light beam with a full width at half maximum of 5 nm or less.
  • FIG. 8 is a detection image of the light beam received by the photosensitive surface array when the refractometer detects a liquid to be measured.
  • the refractometer is placed in the liquid to be tested, so that the detection area is covered by the liquid to be tested, and the photosensitive array forms a detection image.
  • the detection image includes a reflection area 81 and a non-reflection area 82 surrounding the reflection area 81 .
  • the reflection area 81 includes a total reflection area 811 and a non-total reflection area 812 .
  • the total reflection area 81 refers to the area in the reflection area 81 of the detection image 8 where the light beam totally reflected by the total reflection interface 21 of the reflection module 2 is incident
  • the non-total reflection area 812 refers to the area in the detection image 8 that is less than
  • the total reflection angle is the incident area of the reflected light beam when incident on the total reflection interface 21 of the reflection module 2 . Since the reflected part of the non-totally reflected light beam suddenly drops in brightness compared with the fully reflected light beam, an obvious brightness mutation boundary 813 is formed at the junction of the total reflection area 812 and the non-total reflection area 811, and the brightness mutation boundary 813 Corresponding to the incident light beam at the total reflection angle at the total reflection interface 21 .
  • the processor can determine the brightness mutation boundary by obtaining the position of at least one pixel point in the brightness mutation boundary position, and then calculate the refractive index of the liquid to be measured according to the total reflection angle corresponding to the position of the brightness mutation boundary line.
  • the lens module since the lens module is added in front of the photosensitive array to decouple the position and direction of the light, the light source module does not need to be small, as long as there is light at a corresponding angle, it can be focused on the corresponding sensor position. Compared with the prior art, the light source module in this application does not need to bear the function of distinguishing angles and positions.
  • the divergence angle of the light source module since the divergence angle of the light source module is required to be relatively large, but the divergence angle of the LED light source itself is not very large, it is necessary to find a specially-made LED light source with a large angle and a small light-emitting surface in the solution of the prior art.
  • the light source module 1 further includes a dodging sheet 6 located on one side of the light emitting surface. Since the photosensitive array perceives beams from different directions, the homogenization sheet can improve the uniformity of the beams in each direction, thereby improving the uniformity of the image formed by the photosensitive array, and can also avoid the measurement accuracy caused by inconsistent light intensities at different angles. Lowering the problem.
  • the reflective module contains two adjacent media, and the two media may be media other than the first medium, or may include the first medium; Total reflection is formed between the two media, and then a sudden change in brightness is formed on the detection image except for the sudden change in brightness corresponding to the liquid to be measured.
  • the calculation deviation of the refractive index of the liquid to be measured caused by the drift caused by the temperature change improves the calculation accuracy of the refractive index of the liquid to be measured.
  • Fig. 9 is a schematic structural diagram of an example of a refractometer.
  • the light source module 1 is used to emit the first light beam and the second light beam.
  • the reflective module includes at least two media for receiving light beams from the light source module.
  • the reflection module includes a first medium 21 and a second medium 22 arranged adjacently.
  • the refractive index of the first medium 21 is greater than that of the second medium 22 , and a first total reflection area exists between the first medium 21 and the second medium 22 .
  • the reflective module also includes a detection area 23 disposed above the first medium 21 .
  • the second medium 22 and the detection area 23 are respectively arranged in different areas on the same surface of the first medium 21 .
  • the first medium is used for receiving the first light beam and the second light beam.
  • at least part of the first light beam is incident from the first medium 21 to the second medium 22, because the refractive index of the first medium 21 is greater than that of the second medium 22, and the emission angle of the first light beam is such that when the incident second medium The incident angle at 22 o'clock covers the total reflection angle, so at least part of the second light beam incident on the second medium 22 is totally reflected in the first total reflection area.
  • the detection area 23 is covered with the liquid to be tested 5
  • at least part of the second light beam is incident on the liquid to be tested from the first medium 21 .
  • the refractive index of the liquid to be measured is greater than the refractive index of the first medium 21, and the divergence angle of the second light beam satisfies that the incident angle when it enters the second medium 22 covers the total reflection angle, the second beam incident on the detection area 23 The part of the light beam that satisfies the total reflection condition is totally reflected on the detection area 23 .
  • the light source module 1 may include one or at least one light emitting unit (such as LED).
  • the first light beam and the second light beam can be from different emitting units in the light source module 1, or can be from different emission angles of all the emitting units in the light source module 1 Beam.
  • the first light beam and the second light beam respectively come from light beams of different emission angles of all emission units in the light source module 1 for illustration.
  • L121 in the light beam belongs to the first light beam, and total reflection occurs when it is incident on the second medium 21; light L112 in the light beam emitted by the emitting unit 11 and L122 in the light beam emitted by the emitting unit 12 belong to the second light beam, and total reflection occurs when it is incident on the detection area 23. reflection.
  • the emission angle of the first light beam is such that all or at least 50% or more of the incident angle when entering the second medium 22 is greater than or equal to the total reflection angle, and then all or almost all total reflection occurs in the first total reflection area , to improve the brightness contrast of the brightness mutation boundaries.
  • the area of the second medium 22 matches the divergence angle of the first light beam, so that the light spot formed by the first light beam on the second medium 22 just covers the second medium 22 or is slightly smaller than the second medium 22 , to facilitate the miniaturization of the refractometer.
  • the first medium 21 is a triangular prism.
  • the second medium 22 is a coating laid on one surface of the first medium 21 .
  • the surface is divided into side-by-side first and second regions.
  • the second medium 22 is fixed on the side facing away from the light source module on the first area, and the second medium 22 is not covered on the second area, which is the detection area 23.
  • the liquid to be measured Liquid covers this second area.
  • a liquid groove is provided on the surface of the first medium 21
  • the second medium is provided on a part of the liquid groove by spraying process or printing process or other processes, and the remaining area of the liquid groove is set as the detection area 23 .
  • the second medium also needs to be waterproofed.
  • a light-transmitting waterproof material such as a glass sheet 24 is added to cover only the first area, or to cover the entire liquid tank.
  • the second medium may use a material whose refractive index varies with temperature and that of clear water with a high degree of correlation, which can improve the accuracy of correcting the refractive index of the liquid to be measured.
  • the value of the refractive index of the second medium varying with temperature is within -0.0003/deg C to 0.0003/deg C.
  • the second medium can be liquid, for example, clear water, which is sealed and fixed in the liquid tank on the surface of the triangular prism.
  • the second medium may also be a solid, such as a photocurable coating, a high temperature curing coating, or a natural curing coating, and the like.
  • the high temperature curing coating may be polytetrafluoroethylene (Poly tetrafluoroethylene, PTFE) after high temperature curing.
  • the naturally cured coating can be a naturally cured fluorocarbon resin FEVE coating.
  • the photocurable coating can be a shadowless adhesive after photocuring. The characteristics of the change of refractive index of the shadowless glue with temperature and the characteristics of the change of the refractive index of clear water with temperature are highly correlated.
  • Figures 10a-c are schematic diagrams of the experimental results of the variation of the refractive index of a shadowless glue and clear water with temperature.
  • Figure 10a is a schematic diagram of the experimental results of the drift of the refractive index of the shadowless glue with the increase of temperature
  • Figure 10b is a schematic diagram of the experimental results of the drift of the refractive index of clear water with the increase of temperature
  • Figure 10c shows the refractive index difference at each temperature Schematic representation of the distribution of values. Among them, the ordinate in Fig.
  • the shadowless adhesive has the advantages of high light transmittance and low expansion rate.
  • the refractive index of the shadowless adhesive after curing is greater than 1.33 and not greater than 1.6.
  • the divergence angle of the light beam emitted by the light source module 1 is the largest or close to the largest in the section parallel to the paper surface, and the divergence angle is the smallest in the section perpendicular to the paper surface.
  • the first area and the second area are arranged along the width direction of the two areas (also a direction perpendicular to the paper surface), and the second area is arranged in the length direction of the two areas (also parallel to the direction of the paper).
  • the cross-section on the page) can cover the divergence angle of the light emitted from the light source module 1 .
  • the range of the total reflection angle that can be measured in the second area can be realized to be larger, thereby increasing the refractive index measurement range, and the first imaging area and the first light beam in the imaging of the second light beam in the photosensitive surface array 4 can also be made
  • the overlapping area of the second imaging area in the imaging of the photosensitive surface array 4 is relatively narrow, which reduces the degree of mutual interference between the first imaging area and the second imaging area.
  • the first area and the second area can also be in other positional relationships.
  • the second area can preferably cover the area where the first light beam is as large as possible. Incidence angle range to achieve a larger range of refractive index measurement.
  • the imaging of the photosensitive surface array includes a first imaging area corresponding to the incidence of the first light beam and a second imaging area corresponding to the incidence of the second light beam.
  • the first imaging area includes areas located on both sides of the first luminance mutation boundary line. One side has a higher brightness, corresponding to a partial beam of total reflection (for the convenience of description, hereinafter referred to as a total reflection area), and the other side has a lower brightness, corresponding to a non-total reflection area.
  • the second imaging area includes a total reflection area and a non-total reflection area located on both sides of the boundary line of the second sudden change in brightness.
  • the first imaging area P1 and the second imaging area P2 can be two areas separated from each other in the imaging without intersection, which can reduce the gap between the first sudden brightness boundary line L1 and the second sudden brightness boundary line L2.
  • Mutual interference of each other makes it easier for the processor to detect the two boundary lines.
  • the first brightness mutation boundary line is located near the edge in the detection image.
  • the detection image includes a first edge and a second edge opposite to each other, wherein the closer the brightness mutation boundary line in the detection image is to the first edge, the higher the refractive index is, and the first brightness mutation boundary line is located in the detection image Between the first edge and the luminance mutation boundary line corresponding to the maximum refractive index in the refractometer's refractometer measurement range; this can ensure that the refractometer's refractometer has the largest refractometer measurement range when the FOV of the photosensitive array is fixed.
  • the distance between the first brightness mutation boundary line and the first edge is greater than 1/10 of the width of the detection image, and the distance between the brightness mutation boundary line corresponding to the maximum refractive index measurement range of the refractometer is greater than 1/8 of the width,
  • the measurement accuracy of the first luminance sudden change boundary and the measurement accuracy of the second luminance sudden change boundary can be guaranteed at the same time.
  • the optical paths of the second beam and the first beam can be separated by setting a structure on the optical path before the converging module 3 , so that the first imaging area and the second imaging area are two areas separated from each other.
  • a light entrance 2111 is provided on the light incident surface of the triangular prism 21 to limit the light beam from the light source module 1 to enter the interior of the triangular prism 21 only through the light entrance 2111 .
  • the light exit surface of the triangular prism 21 is provided with a first light exit 2121 and a second light exit 2122 for light beam exit, and areas other than the first light exit 2121 and the second light exit 2122 are provided with materials that reflect light beams or absorb light beams .
  • the first light outlet 2121 is located on the optical path of the first light beam which is totally reflected and reflected by the second medium 22, and the second light outlet is located on the optical path of the second light beam which is totally reflected and reflected by the liquid to be measured on the detection area 23 .
  • FIG. 13 is an example of a top view of the refractometer shown in FIG. 9 .
  • the lower edge of the first light outlet 2121 is located above the extension line where the upper edge of the light inlet 2111 is located, and the upper edge of the second light outlet 2122 is located below the extension line where the lower edge of the light inlet 2111 is located, so that Reduce the proportion of the first light beam exiting from the first light exit port 2121, and greatly reduce the proportion of the second light beam exiting from the second light exit port 2122, so that the light beam exiting from the first light exit port 2121 and the light beam exiting from the second light exit port 2122
  • the light beams are converged by the converging module and respectively incident on two different areas of the photosensitive array, so that the first imaging area and the second imaging area formed on the photosensitive array are separated without overlapping.
  • the lower edge of the first light outlet and the upper edge of the second light outlet may not be subject to this restriction, even if the second light beam and the first light beam emitted from the light outlet of the reflection module cannot be completely separated, compared with the light beam without the light outlet In the solution, the degree of mutual interference between the first imaging area and the second imaging area can still be reduced.
  • the first light outlet and the second light outlet can be realized by silk screen printing on the light outlet surface of the converging module, or by installing structural components on the light outlet surface or one side of the light outlet surface of the converging module, which is not limited here.
  • the brightness of the central area of the photosensitive array is different from the brightness of the surrounding area.
  • different photosensitive units in the photosensitive array or photosensitive units in different regions adopt different exposure parameters (such as different exposure intensities, different exposure durations or different exposure times) to improve the brightness of the darker areas, and then Improve the detection signal-to-noise ratio.
  • the positional relationship between the second medium and the detection area may not be arranged side by side on the same surface of the first medium, but arranged in a stacked relationship.
  • the second medium is a coating laid on one surface of the first medium, and the detection area is set above the second medium facing away from the first medium.
  • Both the first light beam and the second light beam are sequentially incident on the first medium, the second medium and the detection area.
  • the gap between the first medium and the second medium is mainly used to make the first light beam produce total reflection, so as to form the first brightness abrupt boundary line on the detection image;
  • the gap between the second medium and the liquid to be tested on the detection area is mainly used for
  • the second light beam is totally reflected to form a second boundary line of abrupt change in brightness on the detection image.
  • the total reflection angle of the light beam between the first medium and the second medium (for convenience of description, hereinafter referred to as the first total reflection angle) needs to be greater than the total reflection angle between the second medium and the liquid to be measured (for description For convenience, hereinafter referred to as the second total reflection angle), therefore, the second medium is preferably a material with a refractive index greater than the highest point of the measuring range of the liquid to be measured.
  • the incident angle of the outgoing light of the light source module 1 when incident on the second medium 22 is smaller than the first total reflection angle
  • the proportion of the portion is greater than 50%, so as to reduce the brightness dimming of the second brightness mutation boundary corresponding to the liquid to be measured caused by the large attenuation of the emitted light of the light source module 1 after passing through the second medium.
  • the second medium can also be made of a material with a waterproof function, and also has a waterproof function, so as to seal the first medium in the refractometer.
  • the side of the second medium facing away from the first medium is also provided with a light-transmitting waterproof member, which is used to seal the first medium and the second medium in the refractometer, and the detection area is arranged on the back of the waterproof member. on the side surface towards the second medium.
  • the waterproof part can be made of a material with a higher refractive index to widen the gap with the refractive index of the liquid to be measured, thereby reducing the ambient light entering the refractometer and reducing the impact of ambient light on the measurement results.
  • the refraction index of the waterproof member is greater than the maximum refraction index in the refractometer measurement range.
  • the thickness of the waterproof member is between 0.05 mm and 3 mm, which can ensure heat conduction and hardness at the same time.
  • the waterproof part can adopt glass sheet or other light-transmitting and waterproof materials.
  • the refractive index of the waterproof member may be larger than that of the second medium, or smaller than that of the second medium.
  • the first medium is a triangular prism
  • the second medium is a coating on the surface of a triangular prism.
  • the first medium and the second medium in this application can also refer to other components, and further examples will be described below. . The three examples are explained below with reference to FIGS. 14 to 17 respectively.
  • Fig. 14 is a schematic diagram of the positional relationship between the triangular prism, the coating on the surface of the triangular prism, the waterproof member and the liquid to be measured.
  • Example 1 The first medium is a prism, and the second medium is a coating.
  • the refractive index of the second medium is greater than that of the waterproof member. Since the total reflection occurs when the light beam enters the optically sparse medium from the optically dense medium, the light beam passes through the first medium, the second medium, the waterproof member, and the liquid to be tested in sequence, and the refractive index of the liquid to be tested is less than When the refractive index of the waterproof part is high, when the light beam covers all the total reflection angles between two adjacent layers, total reflection will occur between any two adjacent layers, and then a corresponding brightness mutation boundary will be formed in the detection image. As shown in FIG. 15, FIG. 15 is a schematic diagram of a detection image.
  • M1 is the boundary line of abrupt change in brightness produced by the total reflection of the beam between the first medium and the second medium, which can be used to calculate the refractive index of the second medium.
  • M2 is the sudden change in brightness produced by the total reflection of the light beam between the second medium and the waterproof part, which can be used to calculate the refractive index of the waterproof part.
  • M3 is the sudden change in brightness produced by the total reflection of the light beam between the waterproof part and the liquid to be tested, which can be used to calculate the refractive index of the liquid to be tested.
  • the three luminance mutation boundary lines are arranged sequentially from left to right in the image.
  • the position of the light beam totally reflected by the first total reflection area after being converged by the converging module 3 is located outside the photosensitive surface array 4, so that the detected Only M2 and M3 can be displayed in the image, as shown in Figure 16.
  • This can further reduce the interference of the first sudden brightness boundary line on the detection of other sudden brightness boundary lines; moreover, the distance between M2 and the right edge of the image is increased, which can increase the measurement range of the refractive index of the liquid to be measured.
  • Example 2 The first medium is a prism, and the second medium is a coating.
  • the refraction index of the waterproof member is greater than or equal to the refraction index of the second medium.
  • the refractive index of the liquid to be measured is smaller than that of the waterproof member, under the condition that the light beam covers all the total reflection angles between two adjacent layers, it will be between the first medium and the second medium, as well as the waterproof member and the waterproof member. Total reflection occurs between the measured liquids, and then the corresponding brightness mutation boundaries are formed in the detection image.
  • FIG. 17 is another schematic diagram of the detection image.
  • M4 is the boundary line of abrupt change in brightness produced by the total reflection of the beam between the first medium and the second medium, which can be used to calculate the refractive index of the second medium.
  • M5 is the sudden change in brightness produced by the total reflection of the light beam between the waterproof part and the liquid to be tested, which can be used to calculate the refractive index of the liquid to be tested.
  • Example 2 Compared with Example 1, in Example 2, since one boundary line of sudden brightness change is reduced in the image, the interference to the detection of the other two sudden change of brightness lines can be reduced, and the measurement range of the refractometer can be increased.
  • the first medium is the coating on the surface of the triangular prism
  • the second medium is the waterproof element
  • the refractive index of the coating is greater than that of the waterproof element. Therefore, the first total reflection area refers to the total reflection of the first light beam between the coating and the waterproof member, which corresponds to the generation of the first abrupt change in brightness.
  • the second sudden change boundary line of brightness is generated by the total reflection of the second light beam between the waterproof member and the liquid to be tested on the detection area.
  • the processor corrects the second brightness mutation boundary line corresponding to the refractive index of the liquid to be measured through the first brightness mutation boundary line formed by the total reflection light beam occurring in the first total reflection area.
  • the coating is preferably made of a material whose refractive index drifts with temperature in a direction opposite to that of clear water.
  • the positional relationship between the second medium and the detection area is set as the upper and lower layers
  • the total reflection between the second medium and the liquid to be measured The reflected light beam will attenuate more, which may lead to the possibility that the boundary line of the second sudden change in brightness is much darker than the boundary line of the first sudden change in brightness, resulting in a lower signal-to-noise ratio.
  • the photosensitive area array is used to continuously output a detection image sequence including multiple frames of detection images, wherein different exposure parameters are used for two adjacent frames of the detection image photosensitive area array.
  • the exposure parameters may include exposure intensity, exposure duration or exposure times.
  • the processor is also used for synthesizing one frame of images for detection according to the two adjacent frames of detection images, so as to increase the brightness of the second sudden brightness boundary line and improve the signal-to-noise ratio.
  • the photosensitive array is used to continuously output a sequence of detection images including multiple frames of detection images, wherein the luminous intensity of the light source module is different during two periods in which two adjacent frames of detection images are respectively formed by the corresponding photosensitive array.
  • the intensity of the light beam totally reflected between the second medium and the liquid to be measured can be increased, thereby increasing the brightness of the second brightness mutation boundary line, while avoiding the first Saturation of the boundaries of a sudden change in brightness while avoiding an increase in the signal-to-noise ratio.
  • the refractive index of the liquid to be measured is calculated by the sudden change in brightness formed on the image by the total reflection caused by the liquid to be measured in the refractometer, and the second medium is set to cause the total reflection of the light beam to form in the image.
  • the brightness mutation limit is used to correct the refractive index of the liquid to be tested.
  • the refractometer may be further provided with at least one additional medium to induce total reflection of the light beam to form an additional at least one brightness abrupt boundary line on the image for correcting the refractive index of the liquid to be tested. For example, in the embodiment shown in FIG.
  • At least a third medium, a second medium, and a detection area are arranged side by side on the surface of the first medium, and the third medium is used to receive the third light beam from the light source module, It is used to induce the total reflection of the third light beam, and then form a new boundary line corresponding to the sudden change in brightness of the third medium on the image.
  • the third medium is used for triggering a light beam when it is incident on the third medium or when it is incident from the third medium. Total reflection occurs when another adjacent medium is used, and then a new boundary line corresponding to the sudden change in brightness of the third medium is formed on the image.
  • the medium that is more related to the characteristics of the liquid to be tested can be selected when calibrating the liquid to be tested, and the efficiency of the refractive index correction of the liquid to be tested can be improved. Accuracy.
  • one of the liquids to be tested is selected in the image according to the brightness mutation boundaries corresponding to the two or more media respectively.
  • the mutation boundary line is used for correction, or a machine learning method may be used to select or generate a brightness mutation boundary line for correction.
  • the processor may separately calculate the brightness gradient change of each pixel row in the reflection area in the detection image, and determine the pixel point with the largest gradient change in each row of pixels as the point on the boundary line of the sudden brightness change.
  • the processor may also acquire the position of the boundary line of sudden brightness changes through methods such as edge detection, template matching, and machine learning.
  • the processor may also obtain the current temperature and/or the boundary deviation caused by the assembly tolerance, and compare the obtained brightness sudden change boundary according to the current temperature and/or the boundary deviation position to compensate.
  • the processor can look up the corresponding relationship table between the boundary line of sudden change in brightness and the refractive index that has been calibrated in advance to obtain the corresponding refractive index.
  • the processor determines the first sudden change in brightness boundary and the second sudden change in brightness from the detection image, and calculates the refractive index of the liquid to be tested according to the position of the second sudden change in brightness.
  • the refractive index of the liquid to be measured is corrected.
  • the processor stores a relationship function of the distance between the first sudden change in brightness boundary line and the second sudden change in brightness boundary line corresponding to the liquid to be tested and the drift compensation.
  • the drift distance for compensating the second sudden change in brightness can be determined through the relationship function, so that the second sudden change in brightness returns to a position at a certain fixed temperature (for example, 20° C.).
  • other methods such as a machine learning method, may be used to correct the refractive index of the liquid to be measured according to the position of the first brightness mutation boundary.
  • the photosensitive area array may be a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS) sensor array.
  • CMOS complementary Metal Oxide Semiconductor
  • the photosensitive area array can also be realized by using other photoelectric sensors such as CCD image sensors.
  • the processor counts the brightness of the detection image according to the detection image, and calculates the refractive index according to the detection image only after the brightness of the detection image satisfies a preset condition.
  • the preset condition includes that the absolute value of the difference between the detected image brightness and the preset target brightness is greater than a threshold.
  • the use of CMOS sensor area arrays can not only greatly reduce the installation requirements, but also add many things that the previous one-dimensional arrays could not do through the nature of the two-dimensional array.
  • the processor before calculating the refractive index based on a frame of detection image detected by the photosensitive surface array, the processor can perform noise filtering according to pixel values measured by multiple rows of sensors corresponding to the photosensitive surface array in a frame of detection image to improve the signal-to-noise ratio.
  • the processor may perform noise filtering on the frame detection image in the space domain or the transformation domain.
  • the processor can perform noise filtering based on window sliding average filtering.
  • the width of the filtering window can be a value between 1 and the width of the detected image, and the height can be a value between 1 and the height of the detected image.
  • the processor may perform weighting processing (for example, averaging processing) on the pixel values detected by the multi-row sensors to obtain a noise-filtered result, and then calculate the refractive index of the medium to be detected according to the noise-filtered result.
  • the processor may also adopt other noise filtering methods, for example, adopting a machine learning method to filter noise of the frame detection image.
  • the left side of Figure 18 is the pixel value curve of a pixel row on the detection image formed by the light beam received by the photosensitive surface array, and the right side is the average of the pixel value of the row and the pixel values of the upper and lower rows From the pixel value curve obtained afterwards, it can be seen that the influence of noise can be reduced after averaging processing with the pixel values of multiple rows.
  • the use of a photosensitive surface array in this application can increase the accuracy of measurement.
  • the processor when calculating the refractive index of the medium to be measured based on multiple rows of pixel values in the reflection area in the detection image, can eliminate one or more rows of pixel values affected by stray light, or reduce the pixel values affected by stray light. Influence weights for row or rows of pixel values.
  • a line of measurement results less affected by stray light can be selected from a frame of detection images to calculate the refractive index of the medium to be measured.
  • Stray light is the interference light formed in the optical system due to surface wear, dirt, fog condensation or device position deviation. The presence of stray light will reduce the calculation accuracy of the refractive index.
  • the processor can determine the pixel row affected by stray light by comparing and analyzing the brightness of multiple rows of pixel rows. Compared with the linear sensor in the prior art, the photosensitive area array in this application can improve the accuracy of refractive index measurement.
  • the processor can also determine the pixel rows affected by stray light by comparing and analyzing multiple frames of detection images. This is more robust for refractive index measurements in the presence of stray light.
  • the processor may also perform noise filtering according to multiple frames of detection images. For example, after the photosensitive array collects multiple frames of detection images, the processor can perform weighted sum processing on the multiple frames of detection images to synthesize a frame of detection images, and then use the synthesized detection images to calculate the refractive index.
  • the processor may also use the single-frame noise filtering method described above to perform further noise filtering on the synthesized detection image.
  • control module can also obtain brightness information of the current measurement environment, and adjust the detection image quality of the photosensitive area array according to the brightness information, so as to obtain a better measurement quality.
  • control module can adjust at least one of the following items according to the brightness information: the output light intensity of the light source module, the exposure time of the photosensitive array, the analog gain of the photosensitive array, and the digital gain of the photosensitive array.
  • the photosensitive surface array can be used to measure the ambient light in a time period other than measuring the total reflected light, or, the detection module is also provided with other sensors for measuring the brightness information of the current environment.
  • a first temperature sensor and a second temperature sensor are arranged in the refractometer, wherein the first temperature sensor is used to measure the temperature of the second medium, and the second temperature sensor is arranged on the detection area to measure the temperature of the liquid to be tested. temperature.
  • the first temperature sensor and the second temperature sensor may not be in direct contact with the second medium or the liquid to be measured, but may be in contact with a material with better thermal conductivity as a medium.
  • the first temperature sensor may be installed on the surface of the prism, and the processor is further configured to calculate the temperature of the second medium according to the temperature of the surface of the prism measured by the first temperature sensor. In the actual process, it is more difficult to fix the first temperature sensor on the surface of the second medium. The difficulty of the process can be reduced by installing it on the surface of the prism, and then calculate the temperature of the second medium through the temperature measured on the surface of the prism and the preset model. temperature.
  • the processor is also used to obtain the measurement results of the first temperature sensor and the second temperature sensor, so as to further correct the refractive index of the liquid to be measured. Since the refractive index of the liquid is related to the temperature of the liquid, and the temperature of the prism determines the ratio of thermal expansion and contraction of the prism, and the temperature of the prism will cause the deviation of the incident and outgoing angles of the beam, therefore, through the pre-established
  • the relationship model between the temperature of the liquid to be measured, the temperature of the reflection module and the refractive index of the liquid to be measured is calculated according to the obtained temperature of the liquid to be measured, the temperature of the reflection module and the relationship model when calculating the refractive index of the liquid to be measured. Measuring the refractive index of liquid can improve the accuracy of refractive index calculation.
  • the temperature deviation can be calculated through the first temperature sensor and the second temperature sensor, and the first brightness change boundary line is used for the second temperature difference.
  • the measurement result of the liquid to be tested can be corrected more accurately.
  • the temperature difference between the second medium of the refractometer and the liquid to be measured is relatively large (such as the scene of measuring a high-temperature liquid to be measured at room temperature)
  • the liquid to be measured is measured, due to the large temperature difference The temperature conduction is relatively slow.
  • the two temperatures can be measured more accurately, and then the temperature of the second medium and the liquid to be measured when they reach thermal equilibrium can be calculated.
  • the temperature change trend of the second medium and the liquid to be tested can also be obtained according to the temperatures measured by the two temperature sensors, and the temperature change trend of the second medium and the liquid to be tested can be predicted more accurately through the preset temperature change model The temperature change of the liquid to be tested is corrected in combination with the temperature change.
  • the processor can also calculate the turbidity of the liquid to be tested according to the detection image output by the photosensitive array.
  • the light beam transmitted from the reflective module to the liquid to be measured will be scattered when encountering suspended particles in the liquid to be measured, and part of the scattered light will be transmitted through the reflective module and then incident on the photosensitive array. Scattering is divided into Rayleigh scattering, Mie scattering, and refraction with different angular components according to the size of the scattering particles.
  • the processor can obtain the light intensity distribution of the detection image, and obtain the size and properties of the scattering particles according to the light intensity distribution, and then judge the turbidity of the liquid.
  • the processor can calculate the particle concentration of the liquid from the brightness on this non-reflective area.
  • the non-reflection area includes a total reflection area and a non-total reflection area, In FIG.
  • the total reflection area of the non-reflection area is located on the upper and lower sides of the total reflection area of the reflection area
  • the non-total reflection area of the non-reflection area is located on the upper and lower sides of the non-total reflection area of the reflection area. Since the light beam scattered by the particles in the liquid to be measured can only re-enter the reflection module at an angle within the total reflection angle, only the area corresponding to the area smaller than the total reflection angle will appear in the detection image formed by the photosensitive surface array. That is, the scattered light beam will only appear in the non-total reflection area in the detection image.
  • the processor may calculate the scattered brightness according to the brightness of the non-total reflection area in the non-reflection area on the detection image.
  • the processor may also use the brightness of the total reflection area in the non-reflection area as a reference value to calculate the absolute value of the scattering brightness.
  • the processor may subtract the brightness of the total reflection area in the non-reflection area from the brightness of the non-total reflection area in the non-reflection area on the detection image to obtain the absolute value of the scattering brightness.
  • the processor can obtain the corresponding turbidity of the liquid to be measured according to the pre-established corresponding relationship model between the scattering brightness and the liquid turbidity.
  • the processor when it determines the brightness of the total reflection area in the non-reflection area, it may perform weighted average processing on the brightness of at least some pixels in the area to obtain the brightness of the total reflection area. Similarly, when determining the brightness of the non-total reflection area in the non-reflection area, weighted average processing may be performed on the brightness of at least some pixels in the area to obtain the brightness of the non-total reflection area. This reduces calculation errors.
  • the scattering caused by particles close to the total reflection interface of the reflection module will cause the boundary line of the brightness change in the reflection area in the detection image to be blurred, so the processor can also obtain the photosensitive surface array detection
  • the degree of fuzziness of the sudden change boundary of brightness on the detected image is determined, and the turbidity in the liquid to be tested is determined according to the degree of fuzziness.
  • the processor can look up a table according to the corresponding relationship between the fuzzy degree of the pre-calibrated brightness mutation boundary and the turbidity of the liquid to obtain the corresponding turbidity of the liquid to be measured.
  • the processor is used to calculate the turbidity of the liquid according to the brightness on the non-reflection area in the detection image when the concentration of the liquid to be tested is lower than a preset concentration, and when the concentration of the liquid to be tested is higher than a preset concentration
  • the turbidity of the liquid is calculated according to the fuzzy degree of the boundary line of the sudden change in brightness on the detection image.
  • the turbidity of the liquid to be tested has a good linear relationship with the brightness of the non-reflective area in the detection image, and the calculation of turbidity according to the brightness of the non-reflective area can have higher accuracy , when the concentration of the liquid to be measured is high, the linear relationship decreases, and it is more accurate to calculate the turbidity through the fuzziness of the brightness mutation boundary.
  • refractometers can be used to perform compositional testing of liquids.
  • a refractometer can simultaneously measure the refractive index and turbidity of a liquid to determine its properties.
  • a refractometer can measure the refractive index and turbidity of a liquid (such as coffee) at the same time, and judge the sugar content and milk content of the liquid.
  • a refractometer can simultaneously measure the refractive index and turbidity of a liquid (such as fruit juice) to determine the sugar content and pulp content of the liquid.
  • a refractometer can measure the refractive index and turbidity in the clear liquid of the sensor, which can be used to determine whether the sensor is dirty.
  • the dirty judgment result can be used to decide whether to continue cleaning.
  • the refractometer can be used for cleaning machines (such as dishwashers, washing machines, etc.), and detect the refractive index and turbidity of the liquid after cleaning the object to judge the cleanliness of the cleaned object.
  • refractometers can be used for water quality detection. The judgment result of the refractometer can be displayed to the user through the interactive module.
  • the processor is also used to calculate the turbidity of the liquid to be measured according to the pre-calibrated turbidity
  • the influence relationship of the refractive index is used to correct the refractive index of the liquid to be measured.
  • the ratio of milk and sugar in the liquid to be tested can be distinguished by measuring the turbidity and sugar content of the liquid to be tested simultaneously to obtain Accurate milk volume and brix values can then more accurately calculate the calorie content of the liquid to be tested.
  • the refractometer also has a standby mode and/or a low power mode.
  • the control module In this standby mode, the control module is in a sleep standby state, the light source module and the photosensitive array are both powered off, and the overall power consumption of the refractometer is at the uW level.
  • the control module In the low power consumption mode, the control module is used to control the light source module and the photosensitive array to strobe synchronously, the power-on time is extremely short, and the overall power consumption of the refractometer is at the mW level.
  • control module controls the light source module 1 and the photosensitive array, it can synchronously trigger a pulse width modulation (PWM, Pulse Width Modulation) signal according to the frame signal of the photosensitive array to realize dimming of the light source module.
  • PWM pulse width modulation
  • Pulse Width Modulation Pulse Width Modulation
  • the refractometer further includes at least one of the following: a colorimeter for detecting the color of the liquid to be tested, an impedance meter for detecting the content of ions (such as acid ions) in the liquid to be tested, and an impedance meter for detecting the color of the liquid to be tested.
  • a colorimeter for detecting the color of the liquid to be tested
  • an impedance meter for detecting the content of ions (such as acid ions) in the liquid to be tested
  • an impedance meter for detecting the color of the liquid to be tested.
  • a PH value meter for measuring the acidity value of the liquid, so that the processor can assist in determining the type of the liquid to be tested based on the information.
  • the refractometer also includes a wireless communication module, which is used to send at least one of the refractive index, turbidity, and temperature of the liquid to be measured obtained by the processor to other clients (such as small programs in mobile phones, application, computer client, server, etc.), so that the client can display or analyze the collected data from one or more refractometers.
  • the refractometer further includes an interactive module for displaying the detected data to the user.
  • FIG. 19 is a schematic structural diagram of a smart cup.
  • the smart cup includes a cup body and the above-mentioned refractometer 201 arranged in the cup body for detecting the refractive index and/or turbidity of the liquid in the water cup.
  • the refractometer 201 is arranged at the bottom of the cup body 200 .
  • the refractometer is fixed at the cup lid in the cup body, which can be installed conveniently.
  • the refractometer can be an independent module fixed in the cup body of the smart cup. In this way, the refractometer and the cup body of the smart cup can be assembled independently, and the structure and waterproof process are simpler. Or, the refractometer can be integrated in the cup body of the smart cup.
  • the refractometer may be embedded inside the glass cup, and the cup wall is used as the waterproof part of the refractometer.
  • the smart cup is also provided with a micro-pressure sensor and a computing module.
  • the micro-pressure sensor is used to detect the volume of the liquid in the water cup, and the calculation module is used to calculate the calorie of the liquid in the water cup according to the refractive index and/or turbidity of the liquid measured by the refractometer.
  • the micro-air pressure sensor is arranged in a closed space formed between the bottom of the cup body and the diaphragm arranged on the bottom.
  • the detecting device is an intelligent scale.
  • Fig. 20 is a structural schematic diagram of a smart scale.
  • the smart scale includes a scale body 210 and the above-mentioned refractometer 211 arranged in the scale body 210, the surface of the scale body 210 is also provided with a liquid accommodating area 212 and a first display area (not shown), the refractometer 211 It is used to detect the refractive index of the liquid in the liquid accommodating area 212 , and the first display area is used to display the refractive index of the liquid.
  • the surface of the smart scale is also provided with a weighing area 213 and a second display area (not shown in the figure), and the second display area is used to display the weight of the object on the weighing area.
  • the weighing area 213 and the liquid containing area 212 are arranged side by side on the surface of the smart scale.
  • the first display area and the second display area are set separately or combined.
  • the detection device is an intelligent animal urine detector (mat, etc.), equipped with the above-mentioned refractometer, and measures the refractive index of animal urine by the refractometer.
  • FIG. 21 is a schematic diagram of an embodiment of a method for detecting the refractive index of a liquid to be measured by using a refractometer in the present application.
  • the method includes the following steps: S2201, sending a light beam to a reflection module in the refractometer. S2202. Converge the light beam at least totally reflected by the reflective module to the photosensitive array located on the focal plane of the converging module through the converging module. S2203. Using the photosensitive array to image the received light beam to generate a detection image. S2204.
  • the refractometer further includes a detection area arranged on a surface of a medium in the reflection module, when the detection area is covered with the liquid to be measured, and the refractive index of the liquid to be measured is lower than the When the refractive index of the first medium is lower, at least part of the light beam is totally reflected by the liquid to be tested; only one boundary line corresponding to the sudden change in brightness corresponding to the refractive index of the liquid to be measured is formed in the detection image.
  • the light beam includes a first light beam and a second light beam
  • the reflective module includes a first medium and a second medium adjacently arranged, and the refractive index of the first medium is greater than that of the second medium , the first light beam is incident from the first medium to the second medium, and is at least partially totally reflected by the second medium
  • the refractometer also includes a detection area, which is arranged in the reflection module The surface of a medium is used to receive the second light beam; when the detection area is covered with the liquid to be tested, and the refractive index of the liquid to be tested is lower than that of one of the mediums, the second beam At least part of the two light beams are totally reflected by the liquid to be tested; a first sudden change boundary line of brightness corresponding to the second medium and a second sudden change line of brightness corresponding to the liquid to be tested are formed in the detection image, the method It also includes: calculating the refractive index of the liquid to be tested according to the position of the second sudden change in brightness, and correcting
  • the detection area and the second medium are respectively located in different areas on the same surface of the first medium, and the second light beam is incident from the first medium without passing through the second medium to the detection zone.
  • the reflective module further includes a third medium having a different refractive index from the second medium, which is different from that in which the detection area and the second medium are respectively located on the same surface of the first medium. area; the light beam also includes a third light beam, the third light beam is at least partially totally reflected when it is incident from the first medium to the third medium, and the detection image also forms a corresponding part of the third medium.
  • the third abrupt change boundary line of brightness correcting the refractive index of the liquid to be measured according to the position of the abrupt change boundary line of brightness includes: The refractive index of the liquid to be measured is corrected.
  • the first medium includes a prism having a light incident surface, a light exit surface, and a detection surface, and the detection area and the second medium are respectively located on different regions of the detection surface; the method further includes : through the first light exit on the light exit surface, at least part of the light beam totally reflected by the second medium is allowed to enter the converging lens through the first light exit, and through the second light exit on the light exit surface The light outlet allows at least part of the light beams totally reflected by the liquid to be measured to enter the converging lens through the second light outlet.
  • a light entrance is further provided on the light incident surface, and the first light beam and the second light beam are incident on the detection surface through the light entrance; wherein, the first light exit and the second light outlet are respectively located on two sides of the projection of the light inlet on the light exit surface, and do not overlap with the projection.
  • the first medium, the second medium, and the detection area are stacked, and the detection area is set on the side of the second medium facing away from the first medium, and the second light beam is sequentially through the first medium and the second medium.
  • the reflection module includes a prism having a light incident surface, a light exit surface and a detection surface, the detection area is located on the detection surface; and a cured film is sandwiched between the detection area and the detection surface A material layer and a light-transmitting glass layer, the light-transmitting glass layer is used to seal the material layer and the prism in the refractometer, and the detection area is located on the light-transmitting glass layer facing away from the material side of the layer.
  • the refractive index of the prism is greater than the refractive index of the material layer, and the refractive index of the material layer is greater than the refractive index of the transparent glass layer, when the refractive index of the liquid to be measured is smaller than the
  • the refractive index of the light-transmitting glass layer is used, at least three boundary lines with abrupt brightness changes are formed on the detection image; the first medium is the prism, and the second medium is the material layer; or, the first The medium is the material layer, and the second medium is the transparent glass layer.
  • the refractive index of the prism is greater than the refractive index of the material layer
  • the refractive index of the material layer is greater than the refractive index of the light-transmitting glass layer
  • the photosensitive array avoids the The position where the totally reflected light beam is converged by the converging lens makes only two boundary lines with abrupt brightness changes formed on the detection image; the first medium is the material layer, and the second medium is the light-transmitting glass layer.
  • the refractive index of the prism is greater than the refractive index of the material layer, the refractive index of the material layer is less than or equal to the refractive index of the transparent glass layer, the first medium is the prism, and the The second medium is the material layer, or the refractive index of the prism is less than or equal to the refractive index of the material layer, and the refractive index of the material layer is greater than the refractive index of the transparent glass layer.
  • the cured material layer is a photocured coating, or a high temperature cured coating, or a naturally cured coating. In one example, the cured material layer is a light-cured shadowless adhesive layer. In one example, the cured material layer has a refractive index greater than 1.33 and not greater than 1.6, and the value of the refractive index varying with temperature is within -0.0003/deg C to 0.0003/deg C. In an example, the refractive index of the second medium is greater than 1.33 and not greater than 1.6, and the value of the change of the refractive index with temperature is within -0.0003/deg C to 0.0003/deg C.
  • the imaging of the received light beam by the photosensitive array to generate a detection image includes: generating a sequence of detection images, wherein at least some of the images in the sequence of detection images adopt different exposure parameters; or, the detection images At least part of the images in the sequence correspond to different luminous intensities of the light source modules.
  • the aperture of the light emitting surface of the light source module is the same as or less than 1/5 of the aperture of the light emitting surface of the converging module, or the aperture of the light emitting surface of the light source module is larger than the aperture of the light emitting surface. 2 times the light aperture of the convergence module mentioned above.
  • the detection angle range of the photosensitive surface array covers the total reflection angle range of the convergence module.
  • the full width at half maximum of the outgoing light of the light source module is less than 5 nm, or a narrow-band filter is arranged on the outgoing light path of the light source module, and the half-height of the outgoing light filtered by the narrow-band filter is The width is less than 5nm.
  • a dodging sheet is arranged on the outgoing light path of the light source module.
  • the emitted light of the light source module is in the green light band
  • the photosensitive area array is a CMOS sensor with a Bell pattern of RGGB.
  • the method before determining the boundary line of a sudden change in brightness in the detection image according to the detection image, the method further includes: determining that an absolute value of a difference between the brightness of the detection image and a preset brightness is greater than a threshold. In an example, before determining the boundary line of abrupt brightness change in the detection image according to the detection image, the method further includes: performing noise filtering on the target pixel row according to at least part of the upper and lower pixel rows of the target pixel row in the detection image.
  • the performing noise filtering on the target pixel row according to at least part of the upper and lower pixel rows of the target pixel row in the detection image includes: according to the pixel value of the target pixel row and the at least part of the pixel row The weighted average of the pixel values of is used as the noise-filtered pixel value of the target pixel row.
  • it before determining the boundary line of a sudden change in brightness in the detection image according to the detection image, it further includes: determining pixel rows affected by stray light in the detection image, wherein the pixel rows affected by stray light are not It is used to determine the refractive index of the medium on the side of the total reflection interface facing away from the light source module.
  • the detection image is obtained by weighted summation of multiple frames of images acquired by the photosensitive array.
  • the method further includes: obtaining the temperature of the medium located outside the total reflection interface and the temperature of the total reflection interface; according to the pre-stored temperature of the medium to be measured, the temperature of the total reflection interface and the temperature The relationship model of the refractive index of the measured medium, and the obtained temperature of the medium outside the total reflection interface and the temperature of the total reflection interface are used to calculate the refractive index of the medium.
  • the method further includes: calculating the turbidity of the medium located outside the reflection module according to the detection image.
  • the detection image includes a non-reflection area; calculating the turbidity of the medium outside the reflection module according to the detection image includes: acquiring the scattering brightness and/or the non-total reflection area in the non-reflection area Or the degree of fuzziness of the sudden change in brightness; wherein, the non-total reflection area in the non-reflection area corresponds to the area in the non-reflection area that is incident on the reflection module at an angle smaller than the total reflection angle and then enters the photosensitive surface array ; calculating the turbidity according to the scattering luminance of the non-total reflection area in the non-reflection area and/or the fuzziness of the boundary line of the sudden change in luminance.
  • the non-reflective area further includes a total reflective area located on one side of the non-total reflective area; the acquisition of the scattered brightness of the non-total reflective area in the non-reflective area includes: using the non-reflective The brightness of the total reflection area in the area is used as a reference value to calculate the scattering brightness of the non-reflection area and the non-total reflection area in the detection image.
  • the calculating the turbidity according to the scattering brightness of the non-total reflection area in the non-reflection area and/or the fuzzy degree of the sudden change boundary of the brightness includes: when the concentration of the liquid to be tested is lower than a preset Calculate the turbidity of the liquid to be tested according to the scattering brightness of the non-total reflection area on the non-reflection area in the detection image when the concentration is high; when the concentration of the liquid to be measured is higher than the preset concentration, according to the detection image The turbidity of the liquid to be tested is calculated based on the fuzzy degree of the sudden change boundary of the brightness.
  • the medium located outside the reflection module is the liquid to be tested; the method further includes: obtaining the volume of the liquid to be tested; calculating the volume to be tested according to the refractive index, turbidity and volume of the liquid to be tested Measure liquid calories.
  • the medium located outside the reflective module is the liquid to be tested; the method further includes: using auxiliary equipment to obtain auxiliary information, wherein the auxiliary equipment includes a colorimeter, and the auxiliary information includes the liquid to be tested The color of the liquid; or, the auxiliary equipment includes an impedance meter, and the auxiliary information includes the ion content of the liquid to be tested; or, the auxiliary equipment includes a pH meter, and the auxiliary information includes the ion content of the liquid to be tested. Acidity value: determining the type of the liquid to be tested according to the auxiliary information and the refractive index and/or turbidity of the liquid to be tested.
  • the method before emitting the light beam to the reflection module in the refractometer, the method further includes: emitting liquid to clean the target object, and the medium outside the reflection module is the liquid after cleaning the target object; the method further includes : judging the cleanliness of the target object according to the refractive index of the liquid after cleaning the target object. In an example, the method further includes: judging whether to continue cleaning the target object according to the cleanliness of the target object.
  • the refractometer before emitting the light beam to the reflection module in the refractometer, it further includes: fixing the refractometer on the inner wall of the pipeline; wherein the refractometer is used to measure the refraction of the flowing liquid in the pipeline rate, the sudden change boundary of brightness includes a sudden change boundary of brightness corresponding to the flowing liquid in the pipeline. Since the refractometer of the present application can be self-calibrated in real time, compared with the existing calculation refractometer that needs to be calibrated before measuring the liquid, the refractometer of the present application can obtain more accurate measurement results when measuring the flowing liquid in the pipeline.

Abstract

A refractometer, comprising a light source module (1), a reflection module (2), a convergence module (3), a photosensitive surface array (4), a control module, and a processor. The control module is used to control the light source module (1) to emit a light beam. The reflection module (2) is used to receive the light beam from the light source module (1), and when the light beam from the light source module (1) meets a total reflection condition in the reflection module (2), the light beam is totally reflected in the reflection module (2) and enters the convergence module (3). The convergence module (3) is used to converge the light beam from the reflection module (2) to a focal plane of the convergence module (3). The photosensitive surface array (4) is located on the focal plane of the convergence module (3), and the control module is further used to control the photosensitive surface array (4) to detect the received light beam and output a detected image. The processor is used to determine, according to the detected image, a brightness mutation boundary in the detected image and determine, according to the position of the brightness mutation boundary, a refractive index corresponding to the brightness mutation boundary.

Description

一种折光仪、探测装置和探测折射率的方法A kind of refractometer, detecting device and method for detecting refraction index 技术领域technical field
本发明属于液体折射率测量领域,具体地涉及一种折光仪、探测装置和探测折射率的方法。The invention belongs to the field of liquid refractive index measurement, and in particular relates to a refractometer, a detection device and a method for detecting the refractive index.
背景技术Background technique
折光仪是一种测量液体折射率的装置。由于液体中的固体可溶物溶解后会增加液体的折射率,通过折射率测量可以实现液体中的固体可溶物含量的测量,因此折光仪可以用来测量液体中的固体可溶物的含量。水溶液中的固体可溶物通常是糖,所以折光仪在测量饮料(例如果汁、咖啡等)时也被称为糖度计。A refractometer is a device that measures the refractive index of liquids. Since the solid soluble matter in the liquid will increase the refractive index of the liquid after dissolving, the measurement of the solid soluble matter content in the liquid can be realized through the measurement of the refractive index, so the refractometer can be used to measure the content of the solid soluble matter in the liquid . The solid soluble matter in the aqueous solution is usually sugar, so the refractometer is also called a sugar meter when measuring beverages (such as fruit juice, coffee, etc.).
图1是一种现有的折光仪的结构示意图。该折光仪包括狭缝1′、LED光源2′、一维的感光线阵3′、三角棱镜4′和处理器(图未示)。折光仪的原理利用了全反射角是由界面两种材质的折射率决定的。在折光仪置于待测液体内时,若待测液体的折射率低于三角棱镜4′的折射率,根据折射定律sin(α 折射角)*n 待测液体=sin(α 入射角)*n 三棱镜可知,光束在三角棱镜4′内与液体相接的一面5′上的入射角满足
Figure PCTCN2022085257-appb-000001
时发生全反射。也即在LED光源2′为一个点光源的情况下,入射至面5′的光束中,入射角大于全反射角的部分发生全反射,而入射角小于全反射角时,透射和反射并存,且反射的亮度比全反射时的亮度小。因此,可以在一维的感光线阵3′所成的一维图像中,图像上的不同位置的像素对应该点光源以不同角度入射至面5′的光束,在对应于以全反射角入射至面5′的光束的像素附近可以看到一个明显的亮度突变处。处理器通过这个亮度突变处可以测到全反射角,并由此算出计算出待测液体的折射率。
Fig. 1 is a structural schematic diagram of an existing refractometer. The refractometer includes a slit 1', an LED light source 2', a one-dimensional sensitive line array 3', a triangular prism 4' and a processor (not shown). The principle of the refractometer utilizes the fact that the total reflection angle is determined by the refractive index of the two materials at the interface. When the refractometer is placed in the liquid to be measured, if the refractive index of the liquid to be measured is lower than that of the triangular prism 4′, according to the law of refraction sin (α refraction angle )*n liquid to be measured =sin (α incident angle )* It can be seen from the n triangular prism that the incident angle of the light beam on the side 5 ' that is in contact with the liquid in the triangular prism 4 ' satisfies
Figure PCTCN2022085257-appb-000001
total reflection occurs. That is to say, when the LED light source 2' is a point light source, in the light beam incident on the surface 5', the part where the incident angle is greater than the total reflection angle undergoes total reflection, and when the incident angle is smaller than the total reflection angle, transmission and reflection coexist. And the brightness of reflection is smaller than that of total reflection. Therefore, in the one-dimensional image formed by the one-dimensional photosensitive line array 3', the pixels at different positions on the image correspond to the light beams incident on the surface 5' from the point light source at different angles, corresponding to the light beams incident on the surface 5' at the angle of total reflection. A distinct brightness discontinuity can be seen near the pixels of the beam to facet 5'. The processor can measure the total reflection angle through this sudden change in brightness, and calculate the refractive index of the liquid to be measured accordingly.
然而,由于工艺限制LED光源的发光面具有一定面积,因此LED光源2′以不同入射角入射至面5′的光束可能会被反射到感光线阵3′上的同一个点,导致从而无法区分出这些光的角度,进而难以确定全反射角。因此现有的折光仪在LED光源2′的出射光路上设置有狭缝1′,使得光源在平行于感光线阵3′的方向上是很小的点光源,来定义打到感光线阵3′上每束光的角度。狭缝1′的本质上是解耦了光线的位置和方向,使得折光仪只需探测光线的方向而不被光线的位置干扰。但该设计会导致感光线阵3′的尺寸非常大,尤其在对折射率测量范围要求比较大的情况下。具体原因如下。However, due to the limited area of the light-emitting surface of the LED light source due to the process, the light beams of the LED light source 2' incident on the surface 5' at different incident angles may be reflected to the same point on the sensitive line array 3', resulting in indistinguishable The angle at which these lights emerge makes it difficult to determine the angle of total reflection. Therefore, the existing refractometer is provided with a slit 1' on the outgoing light path of the LED light source 2', so that the light source is a very small point light source in the direction parallel to the sensitive line array 3' to define the impact on the sensitive line array 3. 'The angle of each beam on . The essence of the slit 1' is to decouple the position and direction of the light, so that the refractometer only needs to detect the direction of the light without being disturbed by the position of the light. However, this design will result in a very large size of the sensitive line array 3 ′, especially in the case where the measurement range of the refractive index is required to be relatively large. The specific reasons are as follows.
如图2所示,感光线阵3′的尺寸为2*tan(α/2)*d,d代表的是从LED光源2′到感光线阵3′的光程距离,α是LED光源2′的出射光的整体张角。在对折射率测量范围要求比较大的情况下(比如要测量不同折射率的液体),α需要具有较大的数值,因此感光线阵3′的尺寸也需要跟着变大。这不利于折光仪的小型化。As shown in Figure 2, the size of the sensitive line array 3' is 2*tan(α/2)*d, d represents the optical path distance from the LED light source 2' to the sensitive line array 3', and α is the LED light source 2 'The overall opening angle of the outgoing light. In the case where the measurement range of the refractive index is required to be relatively large (for example, to measure liquids with different refractive indices), α needs to have a larger value, so the size of the sensitive line array 3 ′ also needs to be increased accordingly. This is not conducive to miniaturization of the refractometer.
对于CCD或CMOS这种半导体芯片来说,越大的物理尺寸以为这越高的成本,在考虑有限半导体晶圆大小的情况下,器件尺寸的变大会导致出货率和良率的降低。大尺寸芯片还意味着封装和贴片的难度增加,贴片翘曲率增加,这些都会导致成本的增加。通常情况下,因为这么大的半导体尺寸要求,只有线阵(一维阵列)才能满足成本的要求。而线阵在垂直于它自身方向的安装位置和精度要求非常高,在光路出现偏差时(热胀冷缩、冲击或机械变形等引起)无法自动修正,而且容易被环境光或者杂散光影 响,导致测量出现偏差。For semiconductor chips such as CCD or CMOS, the larger the physical size, the higher the cost. Considering the limited semiconductor wafer size, the increase in device size will lead to a decrease in shipment rate and yield rate. Large-size chips also mean that the difficulty of packaging and placement increases, and the warping rate of the placement increases, which will lead to an increase in cost. Usually, because of such a large semiconductor size requirement, only a linear array (one-dimensional array) can meet the cost requirements. However, the installation position and accuracy requirements of the line array perpendicular to its own direction are very high. When the optical path deviates (caused by thermal expansion and contraction, impact or mechanical deformation, etc.), it cannot be automatically corrected, and it is easily affected by ambient light or stray light. lead to measurement deviation.
发明内容Contents of the invention
本发明的目的在于为解决上述问题而提供一种成本低,体积小,测量范围大,鲁棒性好的折光仪、具有该折光仪的智能杯和探测折射率的方法。为实现上述目的,本发明采用的技术方案为:一种折光仪,包括光源模块、反射模块、汇聚模块、感光面阵、控制模块和处理器;所述控制模块用于控制所述光源模块出射光束;所述反射模块用于接收来自所述光源模块的光束,当来自所述光源模块的光束在所述反射模块内满足全反射条件时,所述光束在所述反射模块内发生全反射,并入射至所述汇聚模块;所述汇聚模块用于将来自所述反射模块的光束汇聚至所述汇聚模块的焦平面上;所述感光面阵位于所述汇聚模块的焦平面上,所述控制模块还用于控制所述感光面阵对接收到的光束进行探测并输出探测图像;处理器,用于根据所述探测图像确定所述探测图像中的亮度突变界线,以及根据所述亮度突变界线的位置确定所述亮度突变界线对应的折射率。The object of the present invention is to provide a refractometer with low cost, small volume, large measurement range and good robustness, a smart cup with the refractometer and a method for detecting the refractive index to solve the above problems. In order to achieve the above object, the technical solution adopted in the present invention is: a refractometer, including a light source module, a reflection module, a converging module, a photosensitive area array, a control module and a processor; the control module is used to control the output of the light source module light beam; the reflection module is used to receive the light beam from the light source module, when the light beam from the light source module satisfies the total reflection condition in the reflection module, the light beam is totally reflected in the reflection module, and incident to the converging module; the converging module is used to converge the light beam from the reflecting module onto the focal plane of the converging module; the photosensitive surface array is located on the focal plane of the converging module, the The control module is also used to control the photosensitive surface array to detect the received light beam and output a detection image; the processor is used to determine the boundary line of the sudden change in brightness in the detection image according to the detection image, and to The position of the boundary line determines the refractive index corresponding to the boundary line of the abrupt change in brightness.
本发明还提供了一种探测装置,包括上述折光仪。The present invention also provides a detection device, including the above-mentioned refractometer.
本发明还提供了一种利探测折射率的方法,包括:向折光仪内的反射模块发射光束;通过汇聚模块将被所述反射模块至少全反射的光束汇聚至位于所述汇聚模块的焦平面上的感光阵列;利用所述感光阵列对接收的光束成像,生成探测图像;根据所述探测图像确定所述探测图像中的亮度突变界线;根据所述亮度突变界线在所述探测图像中的位置确定所述亮度突变界线对应的介质的折射率。The present invention also provides a method for detecting the refractive index, comprising: sending a light beam to the reflection module in the refractometer; converging the light beam at least totally reflected by the reflection module to the focal plane located in the convergence module through the convergence module The photosensitive array on the photosensitive array; use the photosensitive array to image the received light beam to generate a detection image; determine the brightness mutation boundary line in the detection image according to the detection image; according to the position of the brightness mutation boundary line in the detection image Determine the refractive index of the medium corresponding to the sudden change in brightness.
本发明的折光仪通过将感光面阵设置在透镜模块的像方焦平面上,透镜模块采用无穷远对焦成像方式,使得可以采用非点光源来作为光源,从而由光源的尺寸来分担感光面阵的尺寸,使得感光面阵的尺寸可以很小,具有成本低,体积小,测量范围大,鲁棒性好的优点;而且,折光仪采用面阵CMOS探测图像传感器,成本更低,精准度更高,降低安装的要求,且可以实现许多一维传感器无法做到的事情,如提高精准度、提升抗干扰能力、增加其它测量功能等。The refractometer of the present invention arranges the photosensitive surface array on the focal plane of the image side of the lens module, and the lens module adopts the infinity focus imaging method, so that a non-point light source can be used as the light source, so that the photosensitive surface array can be shared by the size of the light source. The size of the photosensitive area makes the size of the photosensitive area very small, which has the advantages of low cost, small size, large measurement range, and good robustness; moreover, the refractometer uses an area array CMOS detection image sensor, which has lower cost and higher accuracy High, reducing installation requirements, and can achieve many things that one-dimensional sensors cannot do, such as improving accuracy, improving anti-interference ability, adding other measurement functions, etc.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1为一种现有的折光仪的结构示意图;图2为将图1中将感光线阵等效到液面那一侧的示意图;图3为折光仪的一种结构的截面示意图;图4为透镜单元采用无穷远对焦的成像原理示意图;图5是折光仪的一个等效光学系统示意图;图6和图7分别为本申请中采用不同尺寸的光源模块和透镜模块的折光仪的结构示意图;图8是折光仪在探测一种待测液体时感光面阵对所接收到的光束所成的探测图像;图9为折光仪的一种示例的结构示意图;图10a~c是对一种无影胶和清水的折射率随温度变化的实验结果示意图;图11和图12分别为探测图像的两个示例的示意图;图13为图9所示折光仪的俯视图的一个示例;图14为三棱镜、三棱镜表面的涂层、防水件和待测液体的一个位置关系示意图;图15-17为探测图像的一个示意图;图18左侧是感光面阵对接收的光束所成的探测图像上的一个像素行的像素值曲线;图19是一种智能杯的结构示意图;图20是一种智能称的结构示意图;图21为本申请中的利用折光仪探 测待测液体的折射率的方法的一个实施例的示意图。Fig. 1 is a structural schematic diagram of an existing refractometer; Fig. 2 is a schematic diagram of the side where the sensitive line array is equivalent to the liquid surface in Fig. 1; Fig. 3 is a schematic cross-sectional view of a structure of a refractometer; Fig. 4 is a schematic diagram of the imaging principle of the lens unit using infinity focusing; FIG. 5 is a schematic diagram of an equivalent optical system of a refractometer; FIG. 6 and FIG. 7 are respectively the structure of the refractometer using light source modules and lens modules of different sizes in this application Schematic diagram; Fig. 8 is a detection image of the light beam received by the photosensitive surface array when the refractometer detects a liquid to be measured; Fig. 9 is a structural schematic diagram of an example of a refractometer; Fig. Figure 11 and Figure 12 are schematic diagrams of two examples of detection images respectively; Figure 13 is an example of the top view of the refractometer shown in Figure 9; Figure 14 It is a schematic diagram of the positional relationship between the prism, the coating on the surface of the prism, the waterproof part and the liquid to be tested; Figure 15-17 is a schematic diagram of the detection image; the left side of Figure 18 is the detection image formed by the light beam received by the photosensitive surface array Figure 19 is a schematic structural diagram of a smart cup; Figure 20 is a structural schematic diagram of a smart scale; Figure 21 is a method for detecting the refractive index of a liquid to be measured using a refractometer in this application A schematic diagram of an embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施例并不代表与本实用新型相一致的所有实施例。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.
在本发明使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本实用新型。在本发明和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used herein and in the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本发明可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。It should be understood that although the terms first, second, third, etc. may be used in the present invention to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another.
下面对本申请中的折光仪的一种结构进行示例描述。在该示例中,相比现有技术中在光源出射端设置小孔来实现在一个维度(也即平行于感光线阵的方向)上对感光线阵的入射光束的角度和位置进行解耦,本实施例中采用位于感光模块的光束入射侧的汇聚模块来实现对感光模块的入射光束的角度和位置进行解耦,而且汇聚模块可以实现在两个维度上的解耦,因此感光模块可以采用感光面阵对光束进行探测,进而实现自标定用的折射率探测光路和待测液体的折射率探测光路可以共用光源和感光面阵,避免了两套探测光路之间的偏移(例如半导体芯片一致性差、安装结构一致性差、安装偏差、机械冲击或者温度漂移等等导致的偏移)带来的计算偏差。An exemplary structure of the refractometer in this application is described below. In this example, compared to the prior art where a small hole is set at the light source exit end to achieve decoupling of the angle and position of the incident light beam of the sensitive line array in one dimension (that is, the direction parallel to the sensitive line array), In this embodiment, the converging module located on the beam incident side of the photosensitive module is used to decouple the angle and position of the incident beam of the photosensitive module, and the converging module can realize decoupling in two dimensions, so the photosensitive module can use The photosensitive area array detects the light beam, and then the refractive index detection optical path for self-calibration and the refractive index detection optical path of the liquid to be measured can share the light source and the photosensitive area array, avoiding the offset between the two sets of detection optical paths (such as semiconductor chips The calculation deviation caused by poor consistency, poor consistency of installation structure, installation deviation, mechanical shock or temperature drift, etc.)
另外,由于通过在感光阵列前方增加汇聚模块,利用无穷远对焦来解耦光线的位置和方向,因此不需要光源模块很小也能实现以一个出射角从反射模块出射的光都能被汇聚到传感器的同一个位置上。现有技术中由于需要光源模块的发散角较大,但LED光源的发散角本身不是很大,因此采用现有技术的方案需要找特制的大角度小发光面的LED光源。相比现有技术,本申请中的光源模块不需要负担区分角度和位置的功能,对光源模块中的发光单元的选型限制较小。In addition, by adding a converging module in front of the photosensitive array and using infinity focusing to decouple the position and direction of the light, the light emitted from the reflective module at one exit angle can be converged to the at the same location as the sensor. In the prior art, since the divergence angle of the light source module is required to be relatively large, but the divergence angle of the LED light source itself is not very large, it is necessary to find a specially-made LED light source with a large angle and a small light-emitting surface in the solution of the prior art. Compared with the prior art, the light source module in this application does not need to bear the function of distinguishing angles and positions, and there are less restrictions on the selection of light emitting units in the light source module.
而且,相比现有技术由于小孔的设置需采用线阵进行探测,本实施例中采用面阵对光束进行探测,可以获取到相比线阵更多的信息,有利于提高待测液体的折射率的准确度,甚至可以获取到待测液体更多信息。而且,折光仪采用面阵CMOS探测图像传感器,成本更低,精准度更高,降低安装的要求,且可以实现许多一维传感器无法做到的事情,如提高精准度、提升抗干扰能力、增加其它测量功能等。而且,相比现有技术的折光仪中需要在液面范围内全反射面界面的反射性质保持一致,由于本申请中可以直接测量光线方向,即使在棱镜的探测面处有气泡或者待测液体没有完全覆盖全反射界面的情况下,亮度突变界线仍然清晰可分辨。Moreover, compared with the prior art, because the setting of small holes needs to use a linear array for detection, in this embodiment, an area array is used to detect the light beam, which can obtain more information than the linear array, which is beneficial to improve the detection of the liquid to be tested. The accuracy of the refractive index can even obtain more information about the liquid to be measured. Moreover, the refractometer uses an area array CMOS detection image sensor, which has lower cost, higher accuracy, lower installation requirements, and can achieve many things that one-dimensional sensors cannot do, such as improving accuracy, improving anti-interference ability, increasing Other measurement functions, etc. Moreover, compared with the refractometers of the prior art, the reflection properties of the total reflection surface interface must be kept consistent within the range of the liquid level. Since the light direction can be directly measured in the present application, even if there are bubbles or the liquid to be measured at the detection surface of the prism In the case that the total reflection interface is not completely covered, the boundaries of sudden changes in brightness are still clearly distinguishable.
由于液体的折射率会随着温度的变化而发生漂移,导致在根据液体的折射率确定液体的固体可溶物含量时会出现偏差。为了保证折光仪测量的精确度,现有的一种方案是对折光仪的感光线阵所成图像中对应某个固定浓度的液体(例如0Brix的液体)的亮度突变处进行标定,以保证折光仪的测量准确度。具体的,折光仪内预设有0Brix亮度突变处的位置。折光仪通过实时测量清水,在感光线阵的成像上形 成一个亮度突变处作为自标定位置,然后在折光仪测量待测液体的折射率和固体可溶物的含量时根据该0Brix亮度突变处和自标定位置对实时测量结果进行校正;但这样需要在测量之前先利用清水自标定后再测量。如果要实现测量的同时标定,采用现有计算的方案的话,由于需要形成自标定位置,需要设置两个发射光源和对应的两个感光线阵,一个发射光源和对应的感光线阵用于探测自标定用的液体,另一个发射光源和感光线阵用于探测待测液体。然而,在折光仪使用过程中,探测自标定用的液体和探测待测液体为两套不同的结构,容易出现折光仪中的探测两套光路的偏移带来的自标定结果不准确而导致的计算偏差。Since the refractive index of the liquid will drift with the temperature, there will be a deviation when determining the solid soluble content of the liquid based on the refractive index of the liquid. In order to ensure the measurement accuracy of the refractometer, an existing solution is to calibrate the sudden change in brightness corresponding to a liquid with a fixed concentration (such as 0Brix liquid) in the image formed by the sensitive line array of the refractometer, so as to ensure the refraction The measurement accuracy of the instrument. Specifically, the position of the abrupt change in the 0Brix brightness is preset in the refractometer. The refractometer measures clear water in real time, forming a sudden change in brightness on the imaging of the sensitive line array as a self-calibration position, and then when the refractometer measures the refractive index of the liquid to be tested and the content of solid solubles, it is based on the sudden change in brightness of 0Brix and The self-calibration position corrects the real-time measurement results; but this requires self-calibration with clean water before measurement. If you want to achieve simultaneous calibration of measurement, if you use the existing calculation scheme, because you need to form a self-calibration position, you need to set up two emitting light sources and corresponding two sensitive line arrays, and one emitting light source and corresponding sensitive line arrays are used for detection. The liquid used for self-calibration, another emitting light source and a sensitive line array are used to detect the liquid to be tested. However, during the use of the refractometer, the detection of the liquid for self-calibration and the detection of the liquid to be measured are two different structures, and it is prone to inaccurate self-calibration results caused by the offset of the two sets of optical paths in the refractometer. calculation deviation.
本实施例中的折光仪还可以通过在反射模块内固定有第二介质替代现有技术的清水来作为自标定用的物体,通过光束在入射至第二介质前全反射来在感光面阵所成图像上形成亮度突变界线,来测量第二介质的折射率,并使用该第二介质的测量结果对待测液体的测量结果进行校正。相比现有技术,由于采用汇聚模块和感光面阵的配合来解耦光束的位置和方向,且感光面阵是二维的,可以使得第二介质和待测液体的测量采用相同的接收器来探测,甚至可以用相同的发射光源来在感光面阵上形成第二介质和待测液体对应的亮度突变界线,可以避免现有技术中不同感光线阵和光路的差异带来的测量误差,提高折光仪的测量结果的准确度。而且由于引入第二介质来对待测液体的折射率进行标定,相比现有技术中的折光仪,本实施例中的折光仪可以去除清水标定的流程,更可以更准确地测量高温液体,具有更广的应用场景。The refractometer in this embodiment can also be used as an object for self-calibration by fixing a second medium in the reflection module instead of clear water in the prior art, and the light beam can be completely reflected on the photosensitive surface array before it is incident on the second medium. The boundary line of sudden change in brightness is formed on the image to measure the refractive index of the second medium, and the measurement result of the second medium is used to correct the measurement result of the liquid to be tested. Compared with the existing technology, since the combination of the converging module and the photosensitive array is used to decouple the position and direction of the light beam, and the photosensitive array is two-dimensional, the same receiver can be used for the measurement of the second medium and the liquid to be measured To detect, and even use the same emitting light source to form the boundary line of the sudden change in brightness corresponding to the second medium and the liquid to be measured on the photosensitive surface array, which can avoid the measurement error caused by the difference between different sensitive line arrays and light paths in the prior art, Improve the accuracy of the measurement results of the refractometer. Moreover, due to the introduction of the second medium to calibrate the refractive index of the liquid to be measured, compared with the refractometer in the prior art, the refractometer in this embodiment can eliminate the process of water calibration, and can more accurately measure high-temperature liquids. Wider application scenarios.
下面对图3所示实施例进行具体描述,图3为折光仪的一种结构的截面示意图。如图3所示,折光仪包括光源模块1、反射模块2、汇聚模块3、感光面阵4、控制模块(图未示)和处理器(图未示)。其中,控制模块用于控制光源模块1出射光束,以及用于控制感光面阵4进行光探测。可选的,控制模块中包括光源控制器和感光控制器,用于分别控制光源模块1和感光面阵4。反射模块2用于接收来自光源模块1的光束。来自光源模块1的光束入射至反射模块2后,当满足全反射条件时,其中入射角大于或等于全反射角的光束发生全反射,入射角小于全反射角的光束在该发生部分透射和部分反射,经反射和全反射的光束从反射模块2出射后入射至汇聚模块3。汇聚模块3用于将来自反射模块2的光束汇聚至位于该汇聚模块3的焦平面上的感光面阵4。控制模块还用于控制感光面阵4对接收到的光束进行探测并输出探测图像。The embodiment shown in FIG. 3 will be described in detail below. FIG. 3 is a schematic cross-sectional view of a structure of a refractometer. As shown in FIG. 3 , the refractometer includes a light source module 1 , a reflection module 2 , a converging module 3 , a photosensitive array 4 , a control module (not shown in the figure) and a processor (not shown in the figure). Wherein, the control module is used for controlling the light beam emitted by the light source module 1 and for controlling the photosensitive surface array 4 to perform light detection. Optionally, the control module includes a light source controller and a photosensitive controller for controlling the light source module 1 and the photosensitive array 4 respectively. The reflection module 2 is used for receiving the light beam from the light source module 1 . After the light beam from the light source module 1 enters the reflection module 2, when the total reflection condition is satisfied, the light beam with an incident angle greater than or equal to the total reflection angle undergoes total reflection, and the light beam with an incident angle smaller than the total reflection angle undergoes partial transmission and partial reflection at this point. Reflected, reflected and totally reflected light beams exit the reflection module 2 and then enter the converging module 3 . The converging module 3 is used for converging the light beams from the reflecting module 2 to the photosensitive surface array 4 located on the focal plane of the converging module 3 . The control module is also used to control the photosensitive surface array 4 to detect the received light beam and output a detection image.
该汇聚模块3可以是一个透镜,则汇聚模块3的焦平面指的是该透镜的焦平面;或者是至少两个透镜组成的透镜组,则汇聚模块3的焦平面则是该透镜组的等效焦平面。采用透镜组的方案中,还可以通过透镜的光学设计减少汇聚模块成像的像差和畸变。The converging module 3 can be a lens, and the focal plane of the converging module 3 refers to the focal plane of the lens; or a lens group composed of at least two lenses, and the focal plane of the converging module 3 is the equivalent of the lens group effective focal plane. In the solution of using the lens group, the aberration and distortion of the imaging of the converging module can also be reduced through the optical design of the lens.
下面结合图4以汇聚模块是一个透镜为例对汇聚模块的作用进行解释。如图4所示,理想情况下平行光可以被透镜汇聚到焦平面上的一个汇聚点上。该汇聚点是从透镜的光心按该平行光方向延伸至与焦平面相交的交点,因此,该汇聚点只跟光线的方向有关,与光线的出射位置无关。利用该原理,本实施例通过在感光面阵前方设置汇聚模块,就可以解耦光线的位置和方向,使得在过汇聚模块的光心的任意一个平面中,该平面内以同一出射角被反射模块的不同位置全反射的光线都会被汇聚至感光面阵4的同一位置处,最终在感光面阵4上形成一条对应全反射角的亮度突变界线。由于汇聚模块的设置,探测图像中亮度突变界线的不同位置对应着以不同全反射角被全反射的光束,因此处理器可以通过获取该亮度 突变界线位置来确定该亮度突变界线对应的全反射角,继而根据该全反射角计算对应的折射率。The function of the convergence module will be explained below with reference to FIG. 4 by taking the convergence module as a lens as an example. As shown in Figure 4, ideally parallel light can be converged by a lens to a converging point on the focal plane. The converging point extends from the optical center of the lens to the point of intersection with the focal plane in the direction of the parallel light. Therefore, the converging point is only related to the direction of the light, not to the exit position of the light. Using this principle, this embodiment can decouple the position and direction of the light by setting the converging module in front of the photosensitive array, so that in any plane passing through the optical center of the converging module, the plane is reflected at the same exit angle The light totally reflected at different positions of the module will be converged to the same position of the photosensitive surface array 4 , and finally a boundary line of abrupt change in brightness corresponding to the total reflection angle is formed on the photosensitive surface array 4 . Due to the setting of the converging module, different positions of the sudden brightness boundary in the detection image correspond to beams that are totally reflected at different total reflection angles, so the processor can determine the total reflection angle corresponding to the sudden brightness boundary by obtaining the position of the sudden brightness boundary , and then calculate the corresponding refractive index according to the total reflection angle.
在一个示例中,光源模块1包括LED灯条,或者包括由多个LED灯珠通过贴片或者封装的方式组合而成的光源。LED的波长需要能够兼容CMOS感光阵列的波长响应,该波长可以位于300nm至1000nm之间,例如该波长可以位于400nm至500nm之间,或者位于500nm至600nm之间,或者位于600nm至700nm之间,或者位于700nm至800nm之间,或者位于800nnm至900nm之间。可选的,LED的波长为绿光波段,例如中心波长位于500nm至600nm之间。由于市面上一种常见的感光面阵是贝尔图形(Bayer pattern)为RGGB的CMOS传感器,这类感光面阵对于G通道会分辨率更高更敏感,采用绿光波段可以更好地与感光面阵配合。In one example, the light source module 1 includes an LED light bar, or includes a light source composed of a plurality of LED light beads by patching or packaging. The wavelength of the LED needs to be compatible with the wavelength response of the CMOS photosensitive array. The wavelength can be between 300nm and 1000nm, for example, the wavelength can be between 400nm and 500nm, or between 500nm and 600nm, or between 600nm and 700nm. Either between 700nm and 800nm, or between 800nnm and 900nm. Optionally, the wavelength of the LED is in the green light band, for example, the central wavelength is between 500nm and 600nm. Since a common photosensitive area array on the market is a CMOS sensor with a Bayer pattern of RGGB, this type of photosensitive area array has a higher resolution and is more sensitive to the G channel. Using the green light band can better communicate with the photosensitive surface. array with.
在一个示例中,如图3所示,反射模块2的探测面到感光阵列4之间的光路上设有匹配光源模块1的出射光的滤光片7,用于透射该光源模块1的出射光以及反射其他波段的光束,以降低背景光对探测结果的干扰。可选的,光源模块1的出射光是单波长的,以便更容易匹配窄带滤光片做背景光消除。In one example, as shown in FIG. 3 , an optical filter 7 matching the outgoing light of the light source module 1 is provided on the optical path between the detection surface of the reflective module 2 and the photosensitive array 4 for transmitting the outgoing light of the light source module 1 . In order to reduce the interference of background light on the detection results, the incident light and reflected light beams of other wavelength bands can be reduced. Optionally, the output light of the light source module 1 is of a single wavelength, so that it is easier to match a narrow-band filter to eliminate background light.
在一个示例中,反射模块2包括第一介质21。折光仪还包括设置在第一介质表面上的探测区,用于在该折光仪对待测液体5进行探测时承载该待测液体5。当该探测区覆盖有待测液体,且待测液体的折射率低于所述第一介质的折射率时,光束的至少部分被待测液体全反射。处理器可以通过该全反射的光束在探测图像中对应的亮度突变界线位置来计算待测液体的折射率。In one example, the reflective module 2 includes a first medium 21 . The refractometer also includes a detection area arranged on the surface of the first medium, used for supporting the liquid 5 to be measured when the refractometer detects the liquid 5 to be measured. When the detection area is covered with the liquid to be tested and the refractive index of the liquid to be tested is lower than that of the first medium, at least part of the light beam is totally reflected by the liquid to be tested. The processor can calculate the refractive index of the liquid to be tested according to the position of the totally reflected light beam corresponding to the boundary line of the sudden change in brightness in the detection image.
该第一介质可以是棱镜,该棱镜21包括光入射面212、探测面211和光出射面213,探测区设置在探测面211的表面上。来自光源模块1的光束从光入射面212入射至棱镜21的探测面211上,当探测区上的物体5的折射率低于棱镜的折射率,且光束在探测面211上的入射角满足一定条件时,光束在探测面211上发生全反射,并从光出射面213出射。可选的,该棱镜21为三棱镜。可选的,该棱镜21为等腰棱镜,例如为等腰直角棱镜,这样棱镜结构更紧凑,使得整体结构更小型化。The first medium may be a prism, and the prism 21 includes a light incident surface 212 , a detection surface 211 and a light exit surface 213 , and the detection area is set on the surface of the detection surface 211 . The light beam from the light source module 1 is incident on the detection surface 211 of the prism 21 from the light incident surface 212, when the refractive index of the object 5 on the detection area is lower than the refractive index of the prism, and the incident angle of the light beam on the detection surface 211 satisfies a certain When conditions are met, the light beam is totally reflected on the detection surface 211 and exits from the light exit surface 213 . Optionally, the prism 21 is a triangular prism. Optionally, the prism 21 is an isosceles prism, such as an isosceles right-angle prism, so that the structure of the prism is more compact, making the overall structure smaller.
可选的,该棱镜的光入射面212和光出射面213上设置有增透膜,以提高光束的透射率。棱镜21可以采用玻璃材料制成,或者,也可以采用塑料、树脂等其它透明材料制成。可选的,探测区的大小与光源模块1的出射光的发散角匹配,使得该出射光在探测区上形成的光斑恰好覆盖该探测区或者稍小于该探测区,以有利于折光仪的小型化。在其他示例中,该第一介质也可以是其他具有高折射率的光学元件,或者由其他具有高折射率的介质构成。Optionally, antireflection coatings are provided on the light incident surface 212 and the light exit surface 213 of the prism to increase the transmittance of light beams. The prism 21 can be made of glass material, or can also be made of other transparent materials such as plastic and resin. Optionally, the size of the detection area matches the divergence angle of the outgoing light from the light source module 1, so that the light spot formed by the outgoing light on the detection area just covers the detection area or is slightly smaller than the detection area, so as to facilitate the small size of the refractometer change. In other examples, the first medium may also be other optical elements with a high refractive index, or be composed of other media with a high refractive index.
透镜的视场角由透镜的焦距f和孔径大小d决定,然而折光仪要实现待测液体的大折射率探测范围不仅仅取决于透镜的视场角,还需要确保该视场角内的光线能被反射模块反射并入射到汇聚模块中,因此需相应的增加光模块的发光面尺寸。最终汇聚模块能够收到的光束的角度范围由光源模块的发光面尺寸和汇聚模块的尺寸共同决定。下面结合图5所示的等效光学系统进行详细解释。在该等效光学系统中,汇聚模块3、感光面阵4和处理器被镜像到反射模块背向光源模块1的一侧,汇聚模块3以一个等效的透镜为例进行示例。The field of view of the lens is determined by the focal length f and the aperture size d of the lens. However, to achieve a large refractive index detection range of the liquid to be measured, the refractometer not only depends on the field of view of the lens, but also needs to ensure that the light within the field of view It can be reflected by the reflective module and incident into the converging module, so the size of the light-emitting surface of the optical module needs to be increased accordingly. The angle range of the light beam that can finally be received by the converging module is jointly determined by the size of the light emitting surface of the light source module and the size of the converging module. A detailed explanation will be given below in conjunction with the equivalent optical system shown in FIG. 5 . In this equivalent optical system, the converging module 3 , the photosensitive array 4 and the processor are mirrored to the side of the reflective module facing away from the light source module 1 , and the converging module 3 is an example of an equivalent lens.
如图5所示,感光面阵4能够探测的角度范围α由边缘的两条线所定义:光源模块1的发光面的最上端到透镜3的通光孔径的最下端的光线r1,和光源模块1的发光面的最下端到透镜的通光孔径的最上端的光线r2。该角度范围α由光源模块1的发光面的尺寸、透镜3的通光孔径、光源模块1的发光面与透镜3之间的距离这三个变量决定。因此,在感光面阵4的探测角度范围α相同的情况下,相比图1所 示的采用狭缝设计的折光仪,本申请中感光面阵的尺寸可以由光源模块1的发光面的尺寸和透镜的通光孔径一同分担。也即在感光模块在一个维度上的探测角度范围α相同的情况下,图1所示折光仪中的感光模块在该维度上的口径=本申请中的光源模块1的发光面的口径+透镜的通光孔径。因此相比现有技术,本申请在相同的探测角度范围下可以实现更小的光源模块和感光模块,可以实现产品的小型化以及降低成本;而且,本申请可以选择由光源的尺寸来分担感光面阵的尺寸,使得感光面阵的尺寸可以很小,具有成本低,体积小的优点。As shown in Figure 5, the angle range α that the photosensitive surface array 4 can detect is defined by two lines on the edge: the light r1 from the uppermost end of the light-emitting surface of the light source module 1 to the lowermost end of the clear aperture of the lens 3, and the light source r1 Light r2 from the lowermost end of the light-emitting surface of the module 1 to the uppermost end of the clear aperture of the lens. The angle range α is determined by three variables: the size of the light emitting surface of the light source module 1 , the clear aperture of the lens 3 , and the distance between the light emitting surface of the light source module 1 and the lens 3 . Therefore, in the case that the detection angle range α of the photosensitive surface array 4 is the same, compared with the refractometer with a slit design shown in FIG. Shared with the clear aperture of the lens. That is to say, when the detection angle range α of the photosensitive module in one dimension is the same, the aperture of the photosensitive module in the refractometer shown in Figure 1 in this dimension=the aperture of the light emitting surface of the light source module 1 in this application+lens of the clear aperture. Therefore, compared with the prior art, this application can realize a smaller light source module and photosensitive module under the same detection angle range, which can realize product miniaturization and reduce costs; moreover, this application can choose to share the photosensitive module by the size of the light source The size of the area array makes the size of the photosensitive area array very small, which has the advantages of low cost and small volume.
在一种示例中,光源模块1的发光面的口径大于或者等于汇聚模块3的通光孔径。例如,如图6所示,光源模块1的发光面的口径和汇聚模块3的通光孔径相同或者相差小于该发光面的口径的1/5。这样,在感光面阵4的探测角度范围α相同的情况下,本申请的折光仪中的感光面阵的口径上现有技术中的折光仪的感光面阵的口径的一半,可以减少折光仪的成本和量产难度。In an example, the aperture of the light emitting surface of the light source module 1 is greater than or equal to the aperture of the light of the converging module 3 . For example, as shown in FIG. 6 , the aperture of the light-emitting surface of the light source module 1 is the same as or less than 1/5 of the aperture of the light-emitting surface of the converging module 3 . Like this, under the same situation that the detection angle range α of photosensitive surface array 4 is the same, the aperture of the photosensitive surface array in the refractometer of the present application is half of the aperture of the photosensitive surface array of the refractometer in the prior art, can reduce the number of refractometers. cost and difficulty in mass production.
又例如,如图7所示,光源模块1的发光面的口径大于汇聚模块3的通光孔径的2倍。这样,在感光面阵的探测角度范围α相同的情况下,本申请的折光仪中的感光面阵的口径的尺寸可以做到非常小,由于增大光源模块的尺寸相比增大感光面阵的尺寸所需成本和量产难度要低得多,通过让光源模块承担更多的尺寸可以更大程度降低成本和量产难度。For another example, as shown in FIG. 7 , the aperture of the light emitting surface of the light source module 1 is larger than twice the aperture of the converging module 3 . In this way, under the condition that the detection angle range α of the photosensitive surface array is the same, the aperture size of the photosensitive surface array in the refractometer of the present application can be made very small. The cost and difficulty of mass production required by the size are much lower, and the cost and difficulty of mass production can be reduced to a greater extent by allowing the light source module to bear more dimensions.
可选的,感光面阵的探测角度范围α覆盖反射模块的全反射角范围,其中反射模块的全反射角范围指的是在反射模块内可以发生全反射的所有角度,以保证折光仪的大折射率探测范围。可选的,反射模块采用高折射率的介质,以减小汇聚模块的全反射角范围。然而,由于高折射率的玻璃色散较为严重,这是因为不同波长的光线透过玻璃的时候,高折射率的反射模块会导致不同波长的光束的折射率变化较大,进而导致感光面阵获取到的探测图像中全反射边界会产生模糊现象,会降低全反射角的探测精度。一个示例中,折光仪可采用波长带宽较窄的光源模块,或者在光源模块的出射光路上设置窄带滤光片,以降低光源模块的出射光的波长带宽,以减少色散现象。例如,光源模块的出射光或者经窄带滤光片滤波后的出射光为具有5nm以下半高宽的光束。Optionally, the detection angle range α of the photosensitive surface array covers the total reflection angle range of the reflection module, wherein the total reflection angle range of the reflection module refers to all angles where total reflection can occur in the reflection module, so as to ensure the large Refractive Index Detection Range. Optionally, the reflective module uses a medium with a high refractive index to reduce the total reflection angle range of the converging module. However, due to the serious dispersion of high refractive index glass, this is because when light of different wavelengths passes through the glass, the reflective module with high refractive index will cause a large change in the refractive index of light beams of different wavelengths, which in turn will cause the photosensitive array to obtain The total reflection boundary in the detected detection image will produce blurring, which will reduce the detection accuracy of the total reflection angle. In an example, the refractometer may use a light source module with a narrow wavelength bandwidth, or set a narrow-band filter on the outgoing light path of the light source module to reduce the wavelength bandwidth of the outgoing light from the light source module to reduce dispersion. For example, the outgoing light of the light source module or the outgoing light filtered by the narrow-band filter is a light beam with a full width at half maximum of 5 nm or less.
如图8所示,图8是折光仪在探测一种待测液体时感光面阵对所接收到的光束所成的探测图像。折光仪被放置在待测液体中,使得探测区被待测液体覆盖,感光面阵形成探测图像。如图8所示,该探测图像中包括反射区域81和包围该反射区域81的非反射区域82。反射区域81包括全反射区域811和非全反射区域812。其中,全反射区域81指的是探测图像8的反射区域81中,被反射模块2的全反射界面21全反射的光束所入射的区域,非全反射区域812指的是探测图像8中以小于全反射角入射至反射模块2的全反射界面21时被反射的光束所入射的区域。由于未被全反射的光束中被反射的部分相比被全反射的光束亮度突降,全反射区域812和非全反射区域811的交界处形成有明显的亮度突变界线813,该亮度突变界线813对应在全反射界面21处以全反射角入射的光束。As shown in FIG. 8 , FIG. 8 is a detection image of the light beam received by the photosensitive surface array when the refractometer detects a liquid to be measured. The refractometer is placed in the liquid to be tested, so that the detection area is covered by the liquid to be tested, and the photosensitive array forms a detection image. As shown in FIG. 8 , the detection image includes a reflection area 81 and a non-reflection area 82 surrounding the reflection area 81 . The reflection area 81 includes a total reflection area 811 and a non-total reflection area 812 . Wherein, the total reflection area 81 refers to the area in the reflection area 81 of the detection image 8 where the light beam totally reflected by the total reflection interface 21 of the reflection module 2 is incident, and the non-total reflection area 812 refers to the area in the detection image 8 that is less than The total reflection angle is the incident area of the reflected light beam when incident on the total reflection interface 21 of the reflection module 2 . Since the reflected part of the non-totally reflected light beam suddenly drops in brightness compared with the fully reflected light beam, an obvious brightness mutation boundary 813 is formed at the junction of the total reflection area 812 and the non-total reflection area 811, and the brightness mutation boundary 813 Corresponding to the incident light beam at the total reflection angle at the total reflection interface 21 .
由于汇聚模块的设置,探测图像中不同的像素位置对应着以不同角度从全反射界面出射的光束,因此处理器可以通过获取该亮度突变界线中的至少一个像素点的位置来确定该亮度突变界线的位置,继而根据该亮度突变界线的位置对应的全反射角计算待测液体的折射率。Due to the setting of the converging module, different pixel positions in the detection image correspond to beams emitted from the total reflection interface at different angles, so the processor can determine the brightness mutation boundary by obtaining the position of at least one pixel point in the brightness mutation boundary position, and then calculate the refractive index of the liquid to be measured according to the total reflection angle corresponding to the position of the brightness mutation boundary line.
本申请中由于通过在感光阵列前方增加透镜模块解耦光线的位置和方向,因此不需要光源模块很小,只要有对应角度的光就能聚焦在对应的传感器位置上。相比现有技术,本申请中的光源模块不需要负担 区分角度和位置的功能。现有技术中由于需要光源模块的发散角较大,但LED光源的发散角本身不是很大,因此采用现有技术的方案需要找特制的大角度小发光面的LED光源。但本申请由于对光源模块的要求放松很多,大角度的发光范围可以由多个LED+匀光板实现。在一个示例中,如图3所示,光源模块1还包括位于发光面一侧的匀光片6。由于感光面阵感知的是来自不同方向的光束,匀光片可以提高各方向的光束的均匀度,进而提高感光面阵所成像的均匀度,也可以避免因不同角度的光强不一致导致测量精度降低的问题。In this application, since the lens module is added in front of the photosensitive array to decouple the position and direction of the light, the light source module does not need to be small, as long as there is light at a corresponding angle, it can be focused on the corresponding sensor position. Compared with the prior art, the light source module in this application does not need to bear the function of distinguishing angles and positions. In the prior art, since the divergence angle of the light source module is required to be relatively large, but the divergence angle of the LED light source itself is not very large, it is necessary to find a specially-made LED light source with a large angle and a small light-emitting surface in the solution of the prior art. However, in this application, the requirements for the light source module are much relaxed, and the large-angle light-emitting range can be realized by multiple LEDs+uniform light panels. In one example, as shown in FIG. 3 , the light source module 1 further includes a dodging sheet 6 located on one side of the light emitting surface. Since the photosensitive array perceives beams from different directions, the homogenization sheet can improve the uniformity of the beams in each direction, thereby improving the uniformity of the image formed by the photosensitive array, and can also avoid the measurement accuracy caused by inconsistent light intensities at different angles. Lowering the problem.
在一些示例中,反射模块内包含相邻的两个介质,该两个介质可以是除第一介质以外的介质,也可以包含第一介质;并通过使光源模块的出射光束在该相邻两个介质之间形成全反射继而在探测图像上形成除待测液体对应的亮度突变界线以外的、用于对待测液体的折射率进行校正的亮度突变界线,以降低由于液体的折射率会随着温度的变化而发生漂移所导致的待测液体的折射率的计算偏差,提高待测液体的折射率计算准确度。下面结合图9对本申请的折光仪的一个示例的结构进行举例描述。In some examples, the reflective module contains two adjacent media, and the two media may be media other than the first medium, or may include the first medium; Total reflection is formed between the two media, and then a sudden change in brightness is formed on the detection image except for the sudden change in brightness corresponding to the liquid to be measured. The calculation deviation of the refractive index of the liquid to be measured caused by the drift caused by the temperature change improves the calculation accuracy of the refractive index of the liquid to be measured. The structure of an example of the refractometer of the present application will be described below with reference to FIG. 9 .
图9为折光仪的一种示例的结构示意图。如图9所示,本实施例中,光源模块1用于出射第一光束和第二光束。反射模块包括至少两种介质,用于接收来自所述光源模块的光束。具体的,反射模块包括相邻设置的第一介质21和第二介质22。第一介质21的折射率大于第二介质22的折射率,第一介质21和第二介质22之间存在第一全反射区。反射模块还包括设置在第一介质21上方的探测区23。可选的,第二介质22和探测区23分别设置在第一介质21的同一个表面上的不同区域。Fig. 9 is a schematic structural diagram of an example of a refractometer. As shown in FIG. 9 , in this embodiment, the light source module 1 is used to emit the first light beam and the second light beam. The reflective module includes at least two media for receiving light beams from the light source module. Specifically, the reflection module includes a first medium 21 and a second medium 22 arranged adjacently. The refractive index of the first medium 21 is greater than that of the second medium 22 , and a first total reflection area exists between the first medium 21 and the second medium 22 . The reflective module also includes a detection area 23 disposed above the first medium 21 . Optionally, the second medium 22 and the detection area 23 are respectively arranged in different areas on the same surface of the first medium 21 .
第一介质用于接收第一光束和第二光束。其中,第一光束的至少部分从第一介质21入射至第二介质22,由于第一介质21的折射率大于第二介质22的折射率,且第一光束的发射角使得在入射第二介质22时的入射角覆盖全反射角,因此入射第二介质22的第二光束的至少部分在该第一全反射区内发生全反射。当探测区23的一侧覆盖有待测液体5时,第二光束的至少部分从第一介质21入射至待测液体。在待测液体的折射率大于第一介质21的折射率的情况下,且第二光束的发散角满足在入射第二介质22时的入射角覆盖全反射角时,入射探测区23的第二光束中满足全反射条件的部分在探测区23上发生全反射。The first medium is used for receiving the first light beam and the second light beam. Wherein, at least part of the first light beam is incident from the first medium 21 to the second medium 22, because the refractive index of the first medium 21 is greater than that of the second medium 22, and the emission angle of the first light beam is such that when the incident second medium The incident angle at 22 o'clock covers the total reflection angle, so at least part of the second light beam incident on the second medium 22 is totally reflected in the first total reflection area. When one side of the detection area 23 is covered with the liquid to be tested 5 , at least part of the second light beam is incident on the liquid to be tested from the first medium 21 . When the refractive index of the liquid to be measured is greater than the refractive index of the first medium 21, and the divergence angle of the second light beam satisfies that the incident angle when it enters the second medium 22 covers the total reflection angle, the second beam incident on the detection area 23 The part of the light beam that satisfies the total reflection condition is totally reflected on the detection area 23 .
其中,光源模块1可以包含一个或至少一个发光单元(例如LED)。在光源模块1包含多个发光单元的情况中,第一光束和第二光束分别可以是来自光源模块1中的不同发射单元,也可以是分别来自光源模块1中的所有发射单元的不同出射角度的光束。在图9中以第一光束和第二光束分别来自光源模块1中的所有发射单元的不同出射角度的光束为例进行示意,例如,发射单元11出射的光束中光线L111和发射单元12出射的光束中L121属于第一光束,入射至第二介质21上发生全反射;发射单元11出射的光束中光线L112和发射单元12出射的光束中L122属于第二光束,入射至探测区23上发生全反射。Wherein, the light source module 1 may include one or at least one light emitting unit (such as LED). In the case where the light source module 1 includes a plurality of light emitting units, the first light beam and the second light beam can be from different emitting units in the light source module 1, or can be from different emission angles of all the emitting units in the light source module 1 Beam. In FIG. 9, the first light beam and the second light beam respectively come from light beams of different emission angles of all emission units in the light source module 1 for illustration. L121 in the light beam belongs to the first light beam, and total reflection occurs when it is incident on the second medium 21; light L112 in the light beam emitted by the emitting unit 11 and L122 in the light beam emitted by the emitting unit 12 belong to the second light beam, and total reflection occurs when it is incident on the detection area 23. reflection.
可选的,第一光束的发射角使得在入射第二介质22时的入射角全部或至少50%以上大于或等于全反射角,进而在该第一全反射区内全部或几乎全部发生全反射,以提高亮度突变界线的亮度对比。可选的,该第二介质22的面积与第一光束的发散角匹配,使得该第一光束在该第二介质22上形成的光斑恰好覆盖该第二介质22或者稍小于该第二介质22,以有利于折光仪的小型化。Optionally, the emission angle of the first light beam is such that all or at least 50% or more of the incident angle when entering the second medium 22 is greater than or equal to the total reflection angle, and then all or almost all total reflection occurs in the first total reflection area , to improve the brightness contrast of the brightness mutation boundaries. Optionally, the area of the second medium 22 matches the divergence angle of the first light beam, so that the light spot formed by the first light beam on the second medium 22 just covers the second medium 22 or is slightly smaller than the second medium 22 , to facilitate the miniaturization of the refractometer.
图9所示示例中,第一介质21为三棱镜。第二介质22为铺设在第一介质21的一个表面上的涂层。该表面被划分为并排的第一区域和第二区域。第一区域上背向光源模块的一面上固定有第二介质22,第二区域上未覆盖有第二介质22,为所述探测区23,在折光仪对待测液体进行测量时,使待测液体覆盖该 第二区域。可选的,第一介质21的表面上设置有液体槽,第二介质为通过喷涂工艺或者印刷工艺或其他工艺设置在液体槽的部分区域上,液体槽的剩余区域上设置为探测区23。一些示例中,还需要对第二介质做防水处理。例如,液体槽的第一区域设好涂层后增加透光防水材料(例如玻璃片)24仅盖住该第一区域,或者覆盖住整个液体槽。In the example shown in FIG. 9 , the first medium 21 is a triangular prism. The second medium 22 is a coating laid on one surface of the first medium 21 . The surface is divided into side-by-side first and second regions. The second medium 22 is fixed on the side facing away from the light source module on the first area, and the second medium 22 is not covered on the second area, which is the detection area 23. When the refractometer measures the liquid to be measured, the liquid to be measured Liquid covers this second area. Optionally, a liquid groove is provided on the surface of the first medium 21 , the second medium is provided on a part of the liquid groove by spraying process or printing process or other processes, and the remaining area of the liquid groove is set as the detection area 23 . In some examples, the second medium also needs to be waterproofed. For example, after the first area of the liquid tank is coated, a light-transmitting waterproof material (such as a glass sheet) 24 is added to cover only the first area, or to cover the entire liquid tank.
一些示例中,第二介质可采用折射率随温度变化的特性和清水的折射率随温度变化的特性的关联度较高的材料,可以提高对待测液体的折射率进行校正的精确度。可选的,第二介质的折射率随温度变化的数值位于-0.0003/deg C到0.0003/deg C之内。In some examples, the second medium may use a material whose refractive index varies with temperature and that of clear water with a high degree of correlation, which can improve the accuracy of correcting the refractive index of the liquid to be measured. Optionally, the value of the refractive index of the second medium varying with temperature is within -0.0003/deg C to 0.0003/deg C.
第二介质可以是液体,例如可以是清水,清水封好固定在三棱镜表面的液体槽内。第二介质也可以是固体,例如光固化类涂层、高温固化类涂层或者自然固化类涂层等等。高温固化类涂层可以是高温固化后的聚四氟乙烯(Poly tetra fluoroethylene,PTFE)。自然固化类涂层可以是自然固化后的氟碳树脂FEVE涂层。光固化类涂层可以是光固化后的无影胶。无影胶的折射率随温度变化的特性和清水的折射率随温度变化的特性的关联度较高,采用无影胶的测量结果来校正可以提高待测液体的折射率测量准确度。如图10a~c所示,图10a~c是对一种无影胶和清水的折射率随温度变化的实验结果示意图。其中,图10a是无影胶折射率随温度的提高而漂移的实验结果示意图,图10b是清水的折射率随温度的提高而漂移的实验结果示意图,图10c表示在各个温度下的折射率差值分布的示意图。其中,图10a~c中的纵坐标表示折射率对应的亮度突变界线在探测图像中的位置,横坐标为次数;不同位置对应不同折射率,不同次数对应不同温度。由图可看出,无影胶和清水两者的折射率随温度变化的特性的关联度较高。而且无影胶具有高透光率和低膨胀率等优点。可选的,无影胶固化后的折射率大于1.33且不大于1.6。The second medium can be liquid, for example, clear water, which is sealed and fixed in the liquid tank on the surface of the triangular prism. The second medium may also be a solid, such as a photocurable coating, a high temperature curing coating, or a natural curing coating, and the like. The high temperature curing coating may be polytetrafluoroethylene (Poly tetrafluoroethylene, PTFE) after high temperature curing. The naturally cured coating can be a naturally cured fluorocarbon resin FEVE coating. The photocurable coating can be a shadowless adhesive after photocuring. The characteristics of the change of refractive index of the shadowless glue with temperature and the characteristics of the change of the refractive index of clear water with temperature are highly correlated. Using the measurement results of the shadowless glue to correct can improve the measurement accuracy of the refractive index of the liquid to be tested. As shown in Figures 10a-c, Figures 10a-c are schematic diagrams of the experimental results of the variation of the refractive index of a shadowless glue and clear water with temperature. Among them, Figure 10a is a schematic diagram of the experimental results of the drift of the refractive index of the shadowless glue with the increase of temperature, Figure 10b is a schematic diagram of the experimental results of the drift of the refractive index of clear water with the increase of temperature, Figure 10c shows the refractive index difference at each temperature Schematic representation of the distribution of values. Among them, the ordinate in Fig. 10a-c represents the position of the brightness mutation boundary line corresponding to the refractive index in the detection image, and the abscissa is the number; different positions correspond to different refractive indices, and different times correspond to different temperatures. It can be seen from the figure that there is a high degree of correlation between the characteristics of the refractive index of Wuying glue and clear water changing with temperature. Moreover, the shadowless adhesive has the advantages of high light transmittance and low expansion rate. Optionally, the refractive index of the shadowless adhesive after curing is greater than 1.33 and not greater than 1.6.
第一介质的第一区域和第二区域的位置关系可以有多种。在图9所示实施例中,光源模块1出射的光束在平行于纸面的截面内的发散角最大或者接近最大,在垂直于纸面的截面内的发散角最小。配合该光源模块的出射光,第一区域和第二区域沿该两个区域的宽度方向(也是垂直于纸面的方向)排布,第二区域在该两个区域的长度方向上(也是平行于纸面的截面)可以覆盖光源模块1的出射光的发散角。这样,可以实现第二区域能够测得的全反射角的范围更大,进而提高折射率测量量程,还可以使得第二光束在感光面阵4所成像中的第一成像区和第一光束在感光面阵4所成像中的第二成像区的交叠区域较窄,降低第一成像区和第二成像区的相互干扰程度。当然第一区域和第二区域也可以是其他位置关系,本实施例中由于第一区域只要能覆盖该第二介质对应的全反射角即可,第二区域优选可以覆盖第一光束尽量大的入射角度范围,以实现更大的折射率测量量程。There may be various positional relationships between the first area and the second area of the first medium. In the embodiment shown in FIG. 9 , the divergence angle of the light beam emitted by the light source module 1 is the largest or close to the largest in the section parallel to the paper surface, and the divergence angle is the smallest in the section perpendicular to the paper surface. Coordinating with the outgoing light of the light source module, the first area and the second area are arranged along the width direction of the two areas (also a direction perpendicular to the paper surface), and the second area is arranged in the length direction of the two areas (also parallel to the direction of the paper). The cross-section on the page) can cover the divergence angle of the light emitted from the light source module 1 . In this way, the range of the total reflection angle that can be measured in the second area can be realized to be larger, thereby increasing the refractive index measurement range, and the first imaging area and the first light beam in the imaging of the second light beam in the photosensitive surface array 4 can also be made The overlapping area of the second imaging area in the imaging of the photosensitive surface array 4 is relatively narrow, which reduces the degree of mutual interference between the first imaging area and the second imaging area. Of course, the first area and the second area can also be in other positional relationships. In this embodiment, as long as the first area can cover the total reflection angle corresponding to the second medium, the second area can preferably cover the area where the first light beam is as large as possible. Incidence angle range to achieve a larger range of refractive index measurement.
第一光束在第一全反射区内的全反射会造成在感光面阵的成像中固定形成第一亮度突变界线,在待测液体满足全反射条件时第二光束在待测液体和一侧的介质之间发生的全反射会造成在感光面阵的成像中形成第二亮度突变界线。具体的,感光面阵的成像中包含对应第一光束的入射的第一成像区和对应第二光束的入射的第二成像区。第一成像区包含位于第一亮度突变界线两侧的区域,一侧亮度较高,对应全反射的部分光束(为描述方便,下文成为全反射区),另一侧亮度较低,对应非全反射的部分光束(为描述方便,下文成为非全反射区)。同理,第二成像区包含位于第二亮度突变界线两侧的全反射区和非全反射区。The total reflection of the first light beam in the first total reflection area will cause the first brightness mutation boundary to be fixed in the imaging of the photosensitive surface array. The total reflection between the media will cause the formation of the second brightness abrupt boundary line in the imaging of the photosensitive surface array. Specifically, the imaging of the photosensitive surface array includes a first imaging area corresponding to the incidence of the first light beam and a second imaging area corresponding to the incidence of the second light beam. The first imaging area includes areas located on both sides of the first luminance mutation boundary line. One side has a higher brightness, corresponding to a partial beam of total reflection (for the convenience of description, hereinafter referred to as a total reflection area), and the other side has a lower brightness, corresponding to a non-total reflection area. Reflected part of the light beam (for the convenience of description, hereinafter referred to as the non-total reflection area). Similarly, the second imaging area includes a total reflection area and a non-total reflection area located on both sides of the boundary line of the second sudden change in brightness.
其中,如图11所示,第一成像区P1和第二成像区P2可以是成像中相互分开没有交集的两个区域, 这样可以减少第一亮度突变界线L1和第二亮度突变界线L2之间的相互干扰,便于处理器更易检测出该两条界线。或者,如图12所示,也可以是成像中有交叠甚至重合的两个区域,在这种情况下,只要待测液体和第二介质的折射率不同,第一亮度突变界线L1和第二亮度突变界线L2的位置会有差异,处理器可以通过亮度的变化分别识别出第一亮度突变界线和第二亮度突变界线。可选的,第一亮度突变界线位于探测图像中靠近边缘的位置。可选的,探测图像包括相对的第一边缘和第二边缘,其中探测图像中的亮度突变界线距离该第一边缘越近时折射率越高,且第一亮度突变界线位于所述探测图像中第一边缘和所述折光仪的折射率测量量程中的最大折射率对应的亮度突变界线之间;这样可以在感光面阵的FOV固定的情况下保证折光仪的折射率测量量程最大。可选的,第一亮度突变界线和第一边缘的距离大于探测图像的宽度的1/10,且和折光仪的折射率最大测量量程对应的亮度突变界线的距离大于该宽度的1/8,可以同时保证第一亮度突变界线的测量精度和第二亮度突变界线的测量精度。Wherein, as shown in FIG. 11, the first imaging area P1 and the second imaging area P2 can be two areas separated from each other in the imaging without intersection, which can reduce the gap between the first sudden brightness boundary line L1 and the second sudden brightness boundary line L2. Mutual interference of each other makes it easier for the processor to detect the two boundary lines. Or, as shown in Figure 12, there may also be two overlapping or even overlapping regions in the imaging. In this case, as long as the refractive index of the liquid to be measured is different from that of the second medium, the first brightness abrupt boundary line L1 and the second medium The positions of the two sudden brightness boundary lines L2 may be different, and the processor may identify the first sudden brightness boundary line and the second sudden brightness boundary line respectively through the change of brightness. Optionally, the first brightness mutation boundary line is located near the edge in the detection image. Optionally, the detection image includes a first edge and a second edge opposite to each other, wherein the closer the brightness mutation boundary line in the detection image is to the first edge, the higher the refractive index is, and the first brightness mutation boundary line is located in the detection image Between the first edge and the luminance mutation boundary line corresponding to the maximum refractive index in the refractometer's refractometer measurement range; this can ensure that the refractometer's refractometer has the largest refractometer measurement range when the FOV of the photosensitive array is fixed. Optionally, the distance between the first brightness mutation boundary line and the first edge is greater than 1/10 of the width of the detection image, and the distance between the brightness mutation boundary line corresponding to the maximum refractive index measurement range of the refractometer is greater than 1/8 of the width, The measurement accuracy of the first luminance sudden change boundary and the measurement accuracy of the second luminance sudden change boundary can be guaranteed at the same time.
实现第一成像区和第二成像区是相互分开没有交集的两个区域的方式有多种。一些示例中,可以通过在汇聚模块3之前的光路上设置结构使得第二光束和第一光束的光路分开,进而使得第一成像区和第二成像区是相互分开的两个区域。例如,在图9所示示例中,三棱镜21的光入射面上设置有入光口2111,用于限制来自光源模块1的光束仅能从该入光口2111入射至三棱镜21内部。三棱镜21的光出射面上设置有用于光束出射的第一出光口2121和第二出光口2122,除第一出光口2121和第二出光口2122之外的区域设置有反射光束或者吸收光束的材料。其中,第一出光口2121位于经第二介质22全反射和反射的第一光束的光路上,第二出光口位于经探测区23上的待测液体全反射和反射的第二光束的光路上。There are many ways to realize that the first imaging area and the second imaging area are two areas that are separated from each other and have no intersection. In some examples, the optical paths of the second beam and the first beam can be separated by setting a structure on the optical path before the converging module 3 , so that the first imaging area and the second imaging area are two areas separated from each other. For example, in the example shown in FIG. 9 , a light entrance 2111 is provided on the light incident surface of the triangular prism 21 to limit the light beam from the light source module 1 to enter the interior of the triangular prism 21 only through the light entrance 2111 . The light exit surface of the triangular prism 21 is provided with a first light exit 2121 and a second light exit 2122 for light beam exit, and areas other than the first light exit 2121 and the second light exit 2122 are provided with materials that reflect light beams or absorb light beams . Wherein, the first light outlet 2121 is located on the optical path of the first light beam which is totally reflected and reflected by the second medium 22, and the second light outlet is located on the optical path of the second light beam which is totally reflected and reflected by the liquid to be measured on the detection area 23 .
在一个示例中,如图13所示,图13为图9所示折光仪的俯视图的一个示例。在该示例中,第一出光口2121的下边缘位于入光口2111的上边缘所在延长线的上方,第二出光口2122的上边缘位于入光口2111的下边缘所在延长线的下方,以减少第一光束从第一出光口2121出射的比例,以及大大减少第二光束从第二出光口2122出射的比例,进而使得从第一出光口2121出射的光束和从第二出光口2122出射的光束经汇聚模块汇聚后分别入射至感光面阵的两个不同区域,以在感光面阵所成像上形成的第一成像区和第二成像区分离开未有交叠。In one example, as shown in FIG. 13 , FIG. 13 is an example of a top view of the refractometer shown in FIG. 9 . In this example, the lower edge of the first light outlet 2121 is located above the extension line where the upper edge of the light inlet 2111 is located, and the upper edge of the second light outlet 2122 is located below the extension line where the lower edge of the light inlet 2111 is located, so that Reduce the proportion of the first light beam exiting from the first light exit port 2121, and greatly reduce the proportion of the second light beam exiting from the second light exit port 2122, so that the light beam exiting from the first light exit port 2121 and the light beam exiting from the second light exit port 2122 The light beams are converged by the converging module and respectively incident on two different areas of the photosensitive array, so that the first imaging area and the second imaging area formed on the photosensitive array are separated without overlapping.
当然,第一出光口下边缘和第二出光口的上边缘也可以不受此限制,即使无法完全分离从反射模块的出光口出射后的第二光束和第一光束,相比没有出光口的方案中还是可以降低第一成像区和第二成像区相互干扰的程度。Of course, the lower edge of the first light outlet and the upper edge of the second light outlet may not be subject to this restriction, even if the second light beam and the first light beam emitted from the light outlet of the reflection module cannot be completely separated, compared with the light beam without the light outlet In the solution, the degree of mutual interference between the first imaging area and the second imaging area can still be reduced.
第一出光口和第二出光口可以通过在汇聚模块的出光面上进行丝印来实现,或者也可以通过在汇聚模块的出光面上或出光面一侧安装结构件来实现,在此不作限制。The first light outlet and the second light outlet can be realized by silk screen printing on the light outlet surface of the converging module, or by installing structural components on the light outlet surface or one side of the light outlet surface of the converging module, which is not limited here.
一些示例中,由于光源的出射光的光分布特性,导致感光面阵的中心区域的亮度和周围区域的亮度不同。可选的,感光面阵中不同感光单元或者不同区域上的感光单元采用不同的曝光参数(例如不同的曝光强度、不同的曝光时长或不同的曝光次数),以提高偏暗区域的亮度,进而提高探测信噪比。In some examples, due to the light distribution characteristics of the light emitted by the light source, the brightness of the central area of the photosensitive array is different from the brightness of the surrounding area. Optionally, different photosensitive units in the photosensitive array or photosensitive units in different regions adopt different exposure parameters (such as different exposure intensities, different exposure durations or different exposure times) to improve the brightness of the darker areas, and then Improve the detection signal-to-noise ratio.
一些示例中,第二介质和探测区的位置关系也可以不是并列设置在第一介质的同一个表面上,而是呈层叠排布的关系。例如,第二介质是铺设在第一介质的一个表面上的涂层,探测区设置在第二介质背向第一介质的上方。In some examples, the positional relationship between the second medium and the detection area may not be arranged side by side on the same surface of the first medium, but arranged in a stacked relationship. For example, the second medium is a coating laid on one surface of the first medium, and the detection area is set above the second medium facing away from the first medium.
第一光束和第二光束均依次入射至第一介质、第二介质和探测区。其中,第一介质和第二介质之间 主要用于使得第一光束产生全反射,以在探测图像上形成第一亮度突变界线;第二介质和探测区上的待测液体之间主要用于使得第二光束产生全反射,以在探测图像上形成第二亮度突变界线。其中,光束在第一介质和第二介质之间的全反射角(为描述方便,下文称为第一全反射角)需大于在第二介质和待测液体之间的全反射角(为描述方便,下文称为第二全反射角),因此,第二介质优选采用折射率大于待测液体的量程的最高点的材料。Both the first light beam and the second light beam are sequentially incident on the first medium, the second medium and the detection area. Among them, the gap between the first medium and the second medium is mainly used to make the first light beam produce total reflection, so as to form the first brightness abrupt boundary line on the detection image; the gap between the second medium and the liquid to be tested on the detection area is mainly used for The second light beam is totally reflected to form a second boundary line of abrupt change in brightness on the detection image. Wherein, the total reflection angle of the light beam between the first medium and the second medium (for convenience of description, hereinafter referred to as the first total reflection angle) needs to be greater than the total reflection angle between the second medium and the liquid to be measured (for description For convenience, hereinafter referred to as the second total reflection angle), therefore, the second medium is preferably a material with a refractive index greater than the highest point of the measuring range of the liquid to be measured.
可选的,通过对光源模块1的出射光进行整形或者调整光源模块1不同发光元件的发光亮度,使得光源模块1的出射光中入射至第二介质22时的入射角小于第一全反射角的部分占比大于50%,以减少由光源模块1的出射光经过第二介质后的大量衰减造成的待测液体对应的第二亮度突变界线的亮度变暗。Optionally, by shaping the outgoing light of the light source module 1 or adjusting the luminance of different light-emitting elements of the light source module 1, the incident angle of the outgoing light of the light source module 1 when incident on the second medium 22 is smaller than the first total reflection angle The proportion of the portion is greater than 50%, so as to reduce the brightness dimming of the second brightness mutation boundary corresponding to the liquid to be measured caused by the large attenuation of the emitted light of the light source module 1 after passing through the second medium.
由于折光仪一般有防水的要求,因此第二介质还可以采用具有防水功能的材料,同时兼具防水的功能,以将第一介质密封在折光仪内。或者,可选的,第二介质背向第一介质的一侧还设有透光的防水件,用于将该第一介质和第二介质密封在折光仪内,探测区设置在防水件背向第二介质的一侧表面上。而且,防水件可以采用较高折射率的材料,以拉开和待测液体的折射率的差距,进而减少进入折光仪内的环境光,降低环境光对测量结果的影响。可选的,防水件的折射率大于折光仪的折射率测量量程中的的最大折射率。Since the refractometer generally requires waterproofing, the second medium can also be made of a material with a waterproof function, and also has a waterproof function, so as to seal the first medium in the refractometer. Or, optionally, the side of the second medium facing away from the first medium is also provided with a light-transmitting waterproof member, which is used to seal the first medium and the second medium in the refractometer, and the detection area is arranged on the back of the waterproof member. on the side surface towards the second medium. Moreover, the waterproof part can be made of a material with a higher refractive index to widen the gap with the refractive index of the liquid to be measured, thereby reducing the ambient light entering the refractometer and reducing the impact of ambient light on the measurement results. Optionally, the refraction index of the waterproof member is greater than the maximum refraction index in the refractometer measurement range.
在设置有防水件的示例中,由于防水件的过厚会影响到热传导,导致待测液体和第二介质的温度无法保持基本一致,会影响自标定的效果;而防水件过薄则会影响防水件的硬度。可选的,防水件的厚度位于0.05毫米到3个毫米之间,可以同时保证热传导和硬度。In the example with a waterproof part, because the excessive thickness of the waterproof part will affect the heat conduction, the temperature of the liquid to be tested and the second medium cannot be kept basically the same, which will affect the self-calibration effect; and the too thin waterproof part will affect The hardness of the waterproof part. Optionally, the thickness of the waterproof member is between 0.05 mm and 3 mm, which can ensure heat conduction and hardness at the same time.
相比第二介质和探测区的位置关系设置为同一层,将第二介质和探测区的位置关系设置成上下层的示例中可以简化工艺难度,更易实现防水,可以降低成本。防水件可以采用玻璃片或者其他透光防水的材料。其中,防水件的折射率可以大于第二介质的折射率,也可以小于第二介质的折射率。上面以第一介质为三棱镜,第二介质为三棱镜表面上的涂层为例进行举例描述,当然本申请中的第一介质和第二介质也可以指的是其他元件,下文中会进一步举例描述。下面分别结合图14~图17解释该三种示例。如图14所示,图14为三棱镜、三棱镜表面的涂层、防水件和待测液体的一个位置关系示意图。Compared with setting the positional relationship between the second medium and the detection area as the same layer, setting the positional relationship between the second medium and the detection area as the upper and lower layers can simplify the difficulty of the process, make it easier to achieve waterproofing, and reduce the cost. The waterproof part can adopt glass sheet or other light-transmitting and waterproof materials. Wherein, the refractive index of the waterproof member may be larger than that of the second medium, or smaller than that of the second medium. The first medium is a triangular prism, and the second medium is a coating on the surface of a triangular prism. Of course, the first medium and the second medium in this application can also refer to other components, and further examples will be described below. . The three examples are explained below with reference to FIGS. 14 to 17 respectively. As shown in Fig. 14, Fig. 14 is a schematic diagram of the positional relationship between the triangular prism, the coating on the surface of the triangular prism, the waterproof member and the liquid to be measured.
示例一:第一介质为三棱镜,第二介质为涂层。第二介质的折射率大于防水件的折射率。由于全反射发生在光束由光密介质进入光疏介质中,因此,光束在依次穿过第一介质、第二介质、防水件、探测区上的待测液体,且待测液体的折射率小于防水件的折射率时,在光束覆盖所有相邻两层之间的全反射角的情况下,会在任意相邻两层之间发生全反射,进而在探测图像中形成对应的亮度突变界线。如图15所示,图15为探测图像的一个示意图。在探测图像中,M1是光束在第一介质和第二介质之间发生全反射所产生的亮度突变界线,可用于计算第二介质的折射率。M2是光束在第二介质和防水件之间发生全反射所产生的亮度突变界线,可用于计算防水件的折射率。M3是光束在防水件和待测液体之间发生全反射所产生的亮度突变界线,可用于计算待测液体的折射率。该三条亮度突变界线在图像中从左到右依次排布。Example 1: The first medium is a prism, and the second medium is a coating. The refractive index of the second medium is greater than that of the waterproof member. Since the total reflection occurs when the light beam enters the optically sparse medium from the optically dense medium, the light beam passes through the first medium, the second medium, the waterproof member, and the liquid to be tested in sequence, and the refractive index of the liquid to be tested is less than When the refractive index of the waterproof part is high, when the light beam covers all the total reflection angles between two adjacent layers, total reflection will occur between any two adjacent layers, and then a corresponding brightness mutation boundary will be formed in the detection image. As shown in FIG. 15, FIG. 15 is a schematic diagram of a detection image. In the detection image, M1 is the boundary line of abrupt change in brightness produced by the total reflection of the beam between the first medium and the second medium, which can be used to calculate the refractive index of the second medium. M2 is the sudden change in brightness produced by the total reflection of the light beam between the second medium and the waterproof part, which can be used to calculate the refractive index of the waterproof part. M3 is the sudden change in brightness produced by the total reflection of the light beam between the waterproof part and the liquid to be tested, which can be used to calculate the refractive index of the liquid to be tested. The three luminance mutation boundary lines are arranged sequentially from left to right in the image.
可选的,通过对感光面阵4和汇聚模块3的位置关系设置,使得经第一全反射区全反射的光束经汇聚模块3汇聚后的位置位于感光面阵4之外,因此得到的探测图像中只能显示M2和M3,如图16所示。这样可以进一步减少第一亮度突变界线对其他亮度突变界线的检测的干扰;而且,M2距离图像的右侧边缘的距离增加,可以提高折光率对待测液体的折射率的测量量程。Optionally, by setting the positional relationship between the photosensitive surface array 4 and the converging module 3, the position of the light beam totally reflected by the first total reflection area after being converged by the converging module 3 is located outside the photosensitive surface array 4, so that the detected Only M2 and M3 can be displayed in the image, as shown in Figure 16. This can further reduce the interference of the first sudden brightness boundary line on the detection of other sudden brightness boundary lines; moreover, the distance between M2 and the right edge of the image is increased, which can increase the measurement range of the refractive index of the liquid to be measured.
示例二:第一介质为三棱镜,第二介质为涂层。防水件的折射率大于或等于第二介质的折射率。在待测液体的折射率小于防水件的折射率时,在光束覆盖所有相邻两层之间的全反射角的情况下,会在第一介质和第二介质之间,以及防水件和待测液体之间发生全反射,进而在探测图像中形成对应的亮度突变界线。如图17所示,图17为探测图像的另一个示意图。在探测图像中,M4是光束在第一介质和第二介质之间发生全反射所产生的亮度突变界线,可用于计算第二介质的折射率。M5是光束在防水件和待测液体之间发生全反射所产生的亮度突变界线,可用于计算待测液体的折射率。Example 2: The first medium is a prism, and the second medium is a coating. The refraction index of the waterproof member is greater than or equal to the refraction index of the second medium. When the refractive index of the liquid to be measured is smaller than that of the waterproof member, under the condition that the light beam covers all the total reflection angles between two adjacent layers, it will be between the first medium and the second medium, as well as the waterproof member and the waterproof member. Total reflection occurs between the measured liquids, and then the corresponding brightness mutation boundaries are formed in the detection image. As shown in FIG. 17, FIG. 17 is another schematic diagram of the detection image. In the detection image, M4 is the boundary line of abrupt change in brightness produced by the total reflection of the beam between the first medium and the second medium, which can be used to calculate the refractive index of the second medium. M5 is the sudden change in brightness produced by the total reflection of the light beam between the waterproof part and the liquid to be tested, which can be used to calculate the refractive index of the liquid to be tested.
相比示例一,示例二中由于在图像中减少一条亮度突变界线,可以降低对另两条亮度突变界线的检测的干扰,而且可以提高折光仪的测量量程。Compared with Example 1, in Example 2, since one boundary line of sudden brightness change is reduced in the image, the interference to the detection of the other two sudden change of brightness lines can be reduced, and the measurement range of the refractometer can be increased.
示例三:第一介质是三棱镜表面上的涂层,第二介质是防水件,且涂层的折射率大于防水件的折射率。因此,第一全反射区指的是第一光束发生在涂层和防水件之间的全反射,对应产生第一亮度突变界线。第二亮度突变界线由第二光束发生在防水件和探测区上的待测液体之间的全反射产生。处理器通过该第一全反射区内发生的全反射光束形成的第一亮度突变界线来对对应待测液体折射率的第二亮度突变界线来进行校正。在该示例中,涂层优选采用折射率随温度变化而漂移的方向与清水的折射率随温度变化而漂移的方向相反的材料。Example 3: the first medium is the coating on the surface of the triangular prism, the second medium is the waterproof element, and the refractive index of the coating is greater than that of the waterproof element. Therefore, the first total reflection area refers to the total reflection of the first light beam between the coating and the waterproof member, which corresponds to the generation of the first abrupt change in brightness. The second sudden change boundary line of brightness is generated by the total reflection of the second light beam between the waterproof member and the liquid to be tested on the detection area. The processor corrects the second brightness mutation boundary line corresponding to the refractive index of the liquid to be measured through the first brightness mutation boundary line formed by the total reflection light beam occurring in the first total reflection area. In this example, the coating is preferably made of a material whose refractive index drifts with temperature in a direction opposite to that of clear water.
在第二介质和探测区的位置关系设置成上下层的示例中,由于光束在第一介质和第二介质之间已经发生过一次全反射,因此在第二介质和待测液体之间的全反射的光束会衰减较多,这导致可能第二亮度突变界线相比第一亮度突变界线暗许多,导致信噪比较低。In the example where the positional relationship between the second medium and the detection area is set as the upper and lower layers, since the light beam has undergone a total reflection between the first medium and the second medium, the total reflection between the second medium and the liquid to be measured The reflected light beam will attenuate more, which may lead to the possibility that the boundary line of the second sudden change in brightness is much darker than the boundary line of the first sudden change in brightness, resulting in a lower signal-to-noise ratio.
一个示例中,感光面阵用于连续输出包含多帧探测图像的探测图像序列,其中,对其中相邻两帧探测图像感光面阵采用不同的曝光参数。该曝光参数可以包括曝光强度、曝光时长或曝光次数。处理器还用于根据该相邻两帧探测图像合成一帧图像用于探测,以提高第二亮度突变界线的亮度,提高信噪比。In one example, the photosensitive area array is used to continuously output a detection image sequence including multiple frames of detection images, wherein different exposure parameters are used for two adjacent frames of the detection image photosensitive area array. The exposure parameters may include exposure intensity, exposure duration or exposure times. The processor is also used for synthesizing one frame of images for detection according to the two adjacent frames of detection images, so as to increase the brightness of the second sudden brightness boundary line and improve the signal-to-noise ratio.
一个示例中,感光面阵用于连续输出包含多帧探测图像的探测图像序列,其中,在对应感光面阵分别形成其中相邻两帧探测图像的两个时段内,光源模块的发光强度不同。这样,通过提高对应其中一帧探测图像所对应的光源模块的发光强度,可以提高在第二介质和待测液体之间全反射的光束强度,进而提高第二亮度突变界线的亮度,同时避免第一亮度突变界线的饱和,同时避免提高信噪比。In one example, the photosensitive array is used to continuously output a sequence of detection images including multiple frames of detection images, wherein the luminous intensity of the light source module is different during two periods in which two adjacent frames of detection images are respectively formed by the corresponding photosensitive array. In this way, by increasing the luminous intensity of the light source module corresponding to one frame of the detection image, the intensity of the light beam totally reflected between the second medium and the liquid to be measured can be increased, thereby increasing the brightness of the second brightness mutation boundary line, while avoiding the first Saturation of the boundaries of a sudden change in brightness while avoiding an increase in the signal-to-noise ratio.
上述各示例中,通过在折光仪中由待测液体所引发的全反射在图像上形成的亮度突变界线来计算待测液体的折射率,以及设置第二介质引发光束产生全反射在图像形成的亮度突变界线来对待测液体的折射率进行校正。可选的,折光仪还可以设置进一步设置额外的至少一种介质,以引发光束产生全反射在图像上形成的额外的至少一条用于对待测液体的折射率进行校正的亮度突变界线。例如,在图9所示实施例中,还有至少第三介质和第二介质、探测区并列排布在第一介质的表面上,该第三介质用于接收来自光源模块的第三光束,用于引发该第三光束发生全反射,进而在图像上形成新的一条对应该第三介质的亮度突变界线。又例如,还有至少第三介质和第一介质、第二介质、探测区层叠排布,该第三介质用于在引发光束在入射该该第三介质或者在从该第三介质入射指相邻的另一种介质时发生全反射,进而在图像上形成新的一条对应该第三介质的亮度突变界线。In each of the above examples, the refractive index of the liquid to be measured is calculated by the sudden change in brightness formed on the image by the total reflection caused by the liquid to be measured in the refractometer, and the second medium is set to cause the total reflection of the light beam to form in the image. The brightness mutation limit is used to correct the refractive index of the liquid to be tested. Optionally, the refractometer may be further provided with at least one additional medium to induce total reflection of the light beam to form an additional at least one brightness abrupt boundary line on the image for correcting the refractive index of the liquid to be tested. For example, in the embodiment shown in FIG. 9, at least a third medium, a second medium, and a detection area are arranged side by side on the surface of the first medium, and the third medium is used to receive the third light beam from the light source module, It is used to induce the total reflection of the third light beam, and then form a new boundary line corresponding to the sudden change in brightness of the third medium on the image. For another example, there is at least a third medium, a first medium, a second medium, and a detection area in a layered arrangement, and the third medium is used for triggering a light beam when it is incident on the third medium or when it is incident from the third medium. Total reflection occurs when another adjacent medium is used, and then a new boundary line corresponding to the sudden change in brightness of the third medium is formed on the image.
在对待测液体的折射率进行校正时,用于标定的介质的折射率随温度变化的特性与待测液体的折射率随温度变化的特性的关联性越强,则对待测液体的折射率校正的准确度越高。通过设置两种或两种以 上用于对待测液体的折射率进行校正的介质,可以在对待测液体进行校正时选择与待测液体的特性更相关的介质,提高对待测液体的折射率校正的准确度。在设置两种或两种以上用于对待测液体的折射率进行校正的介质的示例中,在图像中根据该两种或两种以上的介质分别对应的亮度突变界线中选择其中一条对待测液体的折射率进行校正时,可以选择与待测液体对应的亮度突变界线最接近的一条亮度突变界线,或者根据该两种或两种以上的介质分别对应的亮度突变界线拟合出一条新的亮度突变界线来用于校正,或者可以采用机器学习的方法选择或生成用于校正的亮度突变界线。When correcting the refractive index of the liquid to be measured, the stronger the correlation between the characteristics of the refractive index of the medium used for calibration and the characteristics of the temperature change of the liquid to be measured is, the higher the refractive index of the liquid to be measured is corrected. The higher the accuracy. By setting two or more media for correcting the refractive index of the liquid to be tested, the medium that is more related to the characteristics of the liquid to be tested can be selected when calibrating the liquid to be tested, and the efficiency of the refractive index correction of the liquid to be tested can be improved. Accuracy. In the example where two or more media are used to correct the refractive index of the liquid to be tested, one of the liquids to be tested is selected in the image according to the brightness mutation boundaries corresponding to the two or more media respectively When correcting the refractive index of the medium, you can choose the one that is closest to the sudden change boundary of brightness corresponding to the liquid to be tested, or fit a new brightness according to the sudden change boundaries of brightness corresponding to the two or more media respectively. The mutation boundary line is used for correction, or a machine learning method may be used to select or generate a brightness mutation boundary line for correction.
处理器确定探测图像中的亮度突变界线的位置的方法有多种。例如,处理器可以分别计算探测图像中的反射区域中的各像素行的亮度梯度变化,将每行像素中梯度变化最大的像素点确定为亮度突变界线上的点。或者,处理器也可以通过边缘检测、模板匹配、机器学习等方法获取亮度突变界线的位置。可选的,在获取亮度突变界线的位置的过程中,处理器还可以获取当前温度和/或由装配公差导致的界线偏差,并根据该当前温度和/或界线偏差对获取到的亮度突变界线的位置进行补偿。确定亮度突变界线后,处理器可以在预先标定好的亮度突变界线和折射率的对应关系表中查表得到对应的折射率。There are a number of ways for the processor to determine the location of the abrupt brightness boundary in the detected image. For example, the processor may separately calculate the brightness gradient change of each pixel row in the reflection area in the detection image, and determine the pixel point with the largest gradient change in each row of pixels as the point on the boundary line of the sudden brightness change. Alternatively, the processor may also acquire the position of the boundary line of sudden brightness changes through methods such as edge detection, template matching, and machine learning. Optionally, in the process of obtaining the position of the sudden brightness change boundary, the processor may also obtain the current temperature and/or the boundary deviation caused by the assembly tolerance, and compare the obtained brightness sudden change boundary according to the current temperature and/or the boundary deviation position to compensate. After determining the boundary line of abrupt change in brightness, the processor can look up the corresponding relationship table between the boundary line of sudden change in brightness and the refractive index that has been calibrated in advance to obtain the corresponding refractive index.
处理器从探测图像中确定出第一亮度突变界线和第二亮度突变界线,并根据该第二亮度突变界线的位置计算待测液体的折射率,以及根据该第一亮度突变界线的位置对该待测液体的折射率进行校正。根据第一亮度突变界线的位置对该待测液体的折射率进行校正的方式有多种。例如,处理器内存储有第一亮度突变界线和该待测液体对应的第二亮度突变界线的距离与漂移补偿的关系函数。通过该关系函数可以确定用于补偿第二亮度突变界线的漂移距离,让第二亮度突变界线回归到某个固定温度(例如20℃)下的位置。或者,也可以采用其他方法,例如机器学习的方法来根据第一亮度突变界线的位置对该待测液体的折射率进行校正。The processor determines the first sudden change in brightness boundary and the second sudden change in brightness from the detection image, and calculates the refractive index of the liquid to be tested according to the position of the second sudden change in brightness. The refractive index of the liquid to be measured is corrected. There are many ways to correct the refractive index of the liquid to be measured according to the position of the first brightness mutation boundary line. For example, the processor stores a relationship function of the distance between the first sudden change in brightness boundary line and the second sudden change in brightness boundary line corresponding to the liquid to be tested and the drift compensation. The drift distance for compensating the second sudden change in brightness can be determined through the relationship function, so that the second sudden change in brightness returns to a position at a certain fixed temperature (for example, 20° C.). Alternatively, other methods, such as a machine learning method, may be used to correct the refractive index of the liquid to be measured according to the position of the first brightness mutation boundary.
在一个示例中,感光面阵可以是互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,CMOS)传感器阵列。当然,感光面阵也可以采用CCD图像传感器等其它光电传感器来实现。可选的,感光面阵输出探测图像之后,处理器根据该探测图像统计探测图像亮度,当探测图像亮度满足预设条件之后才根据该探测图像计算折射率。该预设条件可以有多种,例如,该预设条件包括探测图像亮度与预设目亮度相差数值的绝对值大于阈值。In one example, the photosensitive area array may be a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS) sensor array. Of course, the photosensitive area array can also be realized by using other photoelectric sensors such as CCD image sensors. Optionally, after the photosensitive array outputs the detection image, the processor counts the brightness of the detection image according to the detection image, and calculates the refractive index according to the detection image only after the brightness of the detection image satisfies a preset condition. There may be various preset conditions. For example, the preset condition includes that the absolute value of the difference between the detected image brightness and the preset target brightness is greater than a threshold.
相比现有技术中采用线阵作为感光阵列,采用CMOS传感器面阵不仅可以大幅降低安装的要求,还可以通过二维阵列的性质增加许多以前一维阵列无法做到的事情。例如,在根据感光面阵探测到的一帧探测图像计算折射率之前,处理器可以根据一帧探测图像中对应感光面阵上多行传感器测的像素值来进行滤噪,提高信噪比。其中,处理器可以对该帧探测图像在空间域或变换域上进行滤噪。在滤噪时,处理器可以基于窗口滑动平均滤波的方式进行滤噪,该滤波窗口的宽度可以是1至探测图像宽度之间的数值,高度可以是1至探测图像高度之间的数值。在一个具体例子中,处理器可以对多行传感器探测得到的像素值进行加权处理(例如平均处理),得到滤噪后的结果,再根据该滤噪后的结果计算待检测介质的折射率。当然,处理器还可以采用其他滤噪的方法,例如采用机器学习的方法对该帧探测图像滤噪。Compared with the use of linear arrays as photosensitive arrays in the prior art, the use of CMOS sensor area arrays can not only greatly reduce the installation requirements, but also add many things that the previous one-dimensional arrays could not do through the nature of the two-dimensional array. For example, before calculating the refractive index based on a frame of detection image detected by the photosensitive surface array, the processor can perform noise filtering according to pixel values measured by multiple rows of sensors corresponding to the photosensitive surface array in a frame of detection image to improve the signal-to-noise ratio. Wherein, the processor may perform noise filtering on the frame detection image in the space domain or the transformation domain. When filtering noise, the processor can perform noise filtering based on window sliding average filtering. The width of the filtering window can be a value between 1 and the width of the detected image, and the height can be a value between 1 and the height of the detected image. In a specific example, the processor may perform weighting processing (for example, averaging processing) on the pixel values detected by the multi-row sensors to obtain a noise-filtered result, and then calculate the refractive index of the medium to be detected according to the noise-filtered result. Certainly, the processor may also adopt other noise filtering methods, for example, adopting a machine learning method to filter noise of the frame detection image.
如图18所示,图18左侧是感光面阵对接收的光束所成的探测图像上的一个像素行的像素值曲线,右侧是对该行像素值及其上下多行像素值进行平均之后得到的像素值曲线,可以看出在利用多行像素值进行平均处理后可以降低噪声的影响。相比现有技术中仅有一行像素值(也即只有线阵传感器的探测结 果),本申请中采用感光面阵可以增加测量的精准度。As shown in Figure 18, the left side of Figure 18 is the pixel value curve of a pixel row on the detection image formed by the light beam received by the photosensitive surface array, and the right side is the average of the pixel value of the row and the pixel values of the upper and lower rows From the pixel value curve obtained afterwards, it can be seen that the influence of noise can be reduced after averaging processing with the pixel values of multiple rows. Compared with only one line of pixel values in the prior art (that is, only the detection results of the line array sensor), the use of a photosensitive surface array in this application can increase the accuracy of measurement.
又例如,在根据探测图像中的反射区域中的多行像素值计算待测介质的折射率时,处理器可以剔除受杂散光影响的一行或多行像素值,或者降低受杂散光影响的该行或多行像素值的影响权重。For another example, when calculating the refractive index of the medium to be measured based on multiple rows of pixel values in the reflection area in the detection image, the processor can eliminate one or more rows of pixel values affected by stray light, or reduce the pixel values affected by stray light. Influence weights for row or rows of pixel values.
可以从一帧探测图像中选择受杂散光影响较小的一行测量结果来计算待测介质的折射率。杂散光是光学系统中由于表面磨损、脏污、雾气凝结或者器件位置偏移等原因形成的干扰光。杂散光的存在会降低折射率的计算准确度。采用感光面阵,处理器可通过对多行像素行的亮度进行比较分析,来确定受杂散光的像素行。相比现有技术中的线性传感器,本申请中采用感光面阵可以提高折射率测量的准确度。可选的,处理器还可以通过对多帧探测图像进行比较分析,来确定受杂散光的像素行。这样对于有杂散光影响时的折射率测量来说更加鲁棒。A line of measurement results less affected by stray light can be selected from a frame of detection images to calculate the refractive index of the medium to be measured. Stray light is the interference light formed in the optical system due to surface wear, dirt, fog condensation or device position deviation. The presence of stray light will reduce the calculation accuracy of the refractive index. Using the photosensitive area array, the processor can determine the pixel row affected by stray light by comparing and analyzing the brightness of multiple rows of pixel rows. Compared with the linear sensor in the prior art, the photosensitive area array in this application can improve the accuracy of refractive index measurement. Optionally, the processor can also determine the pixel rows affected by stray light by comparing and analyzing multiple frames of detection images. This is more robust for refractive index measurements in the presence of stray light.
在一个示例中,处理器在计算折射率之前,还可以根据多帧探测图像进行滤噪。举例来说,感光面阵在采集到多帧探测图像后,处理器可以对该多帧探测图像进行加权求和处理以合成一帧探测图像,再利用该合成的探测图像计算折射率。可选的,在计算折射率之前,处理器还可以采用上面描述的单帧滤噪的方法对该合成的探测图像进行进一步滤噪。In an example, before calculating the refractive index, the processor may also perform noise filtering according to multiple frames of detection images. For example, after the photosensitive array collects multiple frames of detection images, the processor can perform weighted sum processing on the multiple frames of detection images to synthesize a frame of detection images, and then use the synthesized detection images to calculate the refractive index. Optionally, before calculating the refractive index, the processor may also use the single-frame noise filtering method described above to perform further noise filtering on the synthesized detection image.
在一个示例中,控制模块还可以获取当前测量环境的亮度信息,并根据该亮度信息来调整感光面阵的探测图像画质,以获取一个更优的测量画质。其中,控制模块可以根据该亮度信息调节以下至少一项:光源模块的出射光强度、感光面阵的曝光时长、感光面阵的模拟增益、感光面阵的数字增益。其中,可以利用感光面阵在测量全反射光以外的时间段内测量环境光,或者,探测模块内还设有其他用于测量当前环境的亮度信息的传感器。In an example, the control module can also obtain brightness information of the current measurement environment, and adjust the detection image quality of the photosensitive area array according to the brightness information, so as to obtain a better measurement quality. Wherein, the control module can adjust at least one of the following items according to the brightness information: the output light intensity of the light source module, the exposure time of the photosensitive array, the analog gain of the photosensitive array, and the digital gain of the photosensitive array. Wherein, the photosensitive surface array can be used to measure the ambient light in a time period other than measuring the total reflected light, or, the detection module is also provided with other sensors for measuring the brightness information of the current environment.
一种示例中,折光仪内设置有第一温度传感器和第二温度传感器,其中第一温度传感器用于测量第二介质的温度,第二温度传感器设置在探测区上,用来测量待测液体的温度。或者,第一温度传感器和第二温度传感器也可以不是直接与第二介质或者待测液体接触,而是通过导热性能较好的材料作为媒介接触。可选的,第一温度传感器可以安装在三棱镜的表面上,处理器还用于根据第一温度传感器所测量到的三棱镜表面的温度计算第二介质的温度。实际工艺中将第一温度传感器固定在第二介质表面的难度较大,可通过安装在三棱镜的表面上来降低工艺难度,然后通过所测量到三棱镜表面的温度和预设的模型来计算第二介质的温度。In one example, a first temperature sensor and a second temperature sensor are arranged in the refractometer, wherein the first temperature sensor is used to measure the temperature of the second medium, and the second temperature sensor is arranged on the detection area to measure the temperature of the liquid to be tested. temperature. Alternatively, the first temperature sensor and the second temperature sensor may not be in direct contact with the second medium or the liquid to be measured, but may be in contact with a material with better thermal conductivity as a medium. Optionally, the first temperature sensor may be installed on the surface of the prism, and the processor is further configured to calculate the temperature of the second medium according to the temperature of the surface of the prism measured by the first temperature sensor. In the actual process, it is more difficult to fix the first temperature sensor on the surface of the second medium. The difficulty of the process can be reduced by installing it on the surface of the prism, and then calculate the temperature of the second medium through the temperature measured on the surface of the prism and the preset model. temperature.
处理器还用于获取该第一温度传感器和第二温度传感器的测量结果,来对待测液体的折射率进行进一步校正。由于液体的折射率与液体的温度有关,而棱镜的温度决定了棱镜的热胀冷缩的比例,且棱镜的温度会导致光束的入射和出射角的偏移,因此,通过预先建立好的待测液体的温度、反射模块的温度与待测液体的折射率的关系模型,在计算待测液体的折射率时根据获取到的待测液体的温度和反射模块的温度和该关系模型来计算待测液体的折射率,可以提高折射率计算的准确度。The processor is also used to obtain the measurement results of the first temperature sensor and the second temperature sensor, so as to further correct the refractive index of the liquid to be measured. Since the refractive index of the liquid is related to the temperature of the liquid, and the temperature of the prism determines the ratio of thermal expansion and contraction of the prism, and the temperature of the prism will cause the deviation of the incident and outgoing angles of the beam, therefore, through the pre-established The relationship model between the temperature of the liquid to be measured, the temperature of the reflection module and the refractive index of the liquid to be measured is calculated according to the obtained temperature of the liquid to be measured, the temperature of the reflection module and the relationship model when calculating the refractive index of the liquid to be measured. Measuring the refractive index of liquid can improve the accuracy of refractive index calculation.
例如,在折光仪的第二介质和待测液体的温度相差较小的应用场景中,通过第一温度传感器和第二温度传感器可以计算出温度偏差,在采用第一亮度突变界线的位置对第二亮度突变界线的位置进行校正时,通过引入该温度偏差,可以更精准地对待测液体的测量结果进行校正。或者,在在折光仪的第二介质和待测液体的温度相差较大的应用场景中(例如在室温中测量高温待测液体的场景)在对待测液体进行测量时,由于温度差较大导致的温度传导相对慢些,通过两个温度传感器的设置,可以更精准测出两 个温度,进而计算出第二介质和待测液体在达到热平衡时的温度。或者,进一步的,还可以根据两个温度传感器测得的温度来得到第二介质和待测液体的温度变化趋势,以及通过预设好的温度变化模型来更精准预测第二介质和待测液体的温度变化,结合该温度变化来对待测液体的测量结果进行校正。For example, in an application scenario where the temperature difference between the second medium of the refractometer and the liquid to be measured is small, the temperature deviation can be calculated through the first temperature sensor and the second temperature sensor, and the first brightness change boundary line is used for the second temperature difference. When correcting the position of the sudden change boundary line of brightness, by introducing the temperature deviation, the measurement result of the liquid to be tested can be corrected more accurately. Or, in the application scenario where the temperature difference between the second medium of the refractometer and the liquid to be measured is relatively large (such as the scene of measuring a high-temperature liquid to be measured at room temperature), when the liquid to be measured is measured, due to the large temperature difference The temperature conduction is relatively slow. Through the setting of two temperature sensors, the two temperatures can be measured more accurately, and then the temperature of the second medium and the liquid to be measured when they reach thermal equilibrium can be calculated. Or, further, the temperature change trend of the second medium and the liquid to be tested can also be obtained according to the temperatures measured by the two temperature sensors, and the temperature change trend of the second medium and the liquid to be tested can be predicted more accurately through the preset temperature change model The temperature change of the liquid to be tested is corrected in combination with the temperature change.
在一个示例中,处理器还可以根据感光面阵输出的探测图像计算待测液体的浊度。光源模块的出射光中,从反射模块透射至待测液体的光束中遇到待测液体中的颗粒悬浮物会发生散射,其中部分散射光会透射该反射模块后入射到感光阵列上。散射按照散射颗粒的大小分为具有不同的角度分量的瑞利散射、米氏散射以及折射。通过对感光面阵探测到的探测图像分析,处理器可以获取探测图像光强分配,并根据该光强分布获取散射颗粒的大小及性质,进而判断液体的浊度。In an example, the processor can also calculate the turbidity of the liquid to be tested according to the detection image output by the photosensitive array. Among the outgoing light from the light source module, the light beam transmitted from the reflective module to the liquid to be measured will be scattered when encountering suspended particles in the liquid to be measured, and part of the scattered light will be transmitted through the reflective module and then incident on the photosensitive array. Scattering is divided into Rayleigh scattering, Mie scattering, and refraction with different angular components according to the size of the scattering particles. By analyzing the detection image detected by the photosensitive area array, the processor can obtain the light intensity distribution of the detection image, and obtain the size and properties of the scattering particles according to the light intensity distribution, and then judge the turbidity of the liquid.
例如,如图8所示,由液体中的颗粒导致的散射会导致不应该出现亮度的非反射区域上出现亮度值。因此,处理器可以根据该非反射区域上的亮度计算液体的颗粒浓度。具体的,由于探测图像中的不同像素位置对应在全反射界面上以不同角度入射的光束,在探测图像中的非反射区域上,可以理解该非反射区域包括全反射区域和非全反射区域,其中图8中该非反射区域的全反射区域位于反射区域的全反射区域的上下两侧,该非反射区域的非全反射区域位于反射区域的非全反射区域的上下两侧。由于被待测液体中的颗粒所散射的光束只能以全反射角以内的角度重新进入反射模块,因此感光面阵所成的探测图像中只有对应小于全反射角的区域上会出现散射光斑,也即被散射的光束只会出现在探测图像中的非全反射区域。For example, as shown in Figure 8, scattering caused by particles in the liquid can cause luminance values to appear on non-reflective areas where luminance should not be present. Thus, the processor can calculate the particle concentration of the liquid from the brightness on this non-reflective area. Specifically, since different pixel positions in the detection image correspond to light beams incident at different angles on the total reflection interface, on the non-reflection area in the detection image, it can be understood that the non-reflection area includes a total reflection area and a non-total reflection area, In FIG. 8 , the total reflection area of the non-reflection area is located on the upper and lower sides of the total reflection area of the reflection area, and the non-total reflection area of the non-reflection area is located on the upper and lower sides of the non-total reflection area of the reflection area. Since the light beam scattered by the particles in the liquid to be measured can only re-enter the reflection module at an angle within the total reflection angle, only the area corresponding to the area smaller than the total reflection angle will appear in the detection image formed by the photosensitive surface array. That is, the scattered light beam will only appear in the non-total reflection area in the detection image.
因此,在一个示例中,处理器可以根据探测图像上非反射区域中的非全反射区域的亮度来计算散射亮度。可选的,处理器还可以以非反射区域中的全反射区域的亮度作为基准值来计算散射亮度的绝对值。例如,处理器可以将探测图像上非反射区域中的非全反射区域的亮度减去非反射区域中的全反射区域的亮度,得到散射亮度的绝对值。获取到散射亮度后,处理器可以根据预先建立好的散射亮度和液体浊度的对应关系模型,得到对应的待测液体的浊度。Therefore, in an example, the processor may calculate the scattered brightness according to the brightness of the non-total reflection area in the non-reflection area on the detection image. Optionally, the processor may also use the brightness of the total reflection area in the non-reflection area as a reference value to calculate the absolute value of the scattering brightness. For example, the processor may subtract the brightness of the total reflection area in the non-reflection area from the brightness of the non-total reflection area in the non-reflection area on the detection image to obtain the absolute value of the scattering brightness. After obtaining the scattering brightness, the processor can obtain the corresponding turbidity of the liquid to be measured according to the pre-established corresponding relationship model between the scattering brightness and the liquid turbidity.
可选的,处理器在确定非反射区域中的全反射区域的亮度时,可以对该区域中的至少部分像素的亮度进行加权平均处理,得到该全反射区域的亮度。同理,在确定非反射区域中的非全反射区域的亮度时,可以对该区域中的至少部分像素的亮度进行加权平均处理,得到该非全反射区域的亮度。这样可以降低计算误差。Optionally, when the processor determines the brightness of the total reflection area in the non-reflection area, it may perform weighted average processing on the brightness of at least some pixels in the area to obtain the brightness of the total reflection area. Similarly, when determining the brightness of the non-total reflection area in the non-reflection area, weighted average processing may be performed on the brightness of at least some pixels in the area to obtain the brightness of the non-total reflection area. This reduces calculation errors.
又例如,如图8所示,由接近反射模块的全反射界面的颗粒导致的散射会导致探测图像中的反射区域中的亮度突变界线被模糊掉了,因此处理器还可以获取感光面阵探测到的探测图像上的亮度突变界线的模糊程度,并根据该模糊程度来确定待测液体中的浊度。其中,处理器可以根据预先标定好的亮度突变界线的模糊程度和液体浊度的对应关系查表,得到对应的待测液体的浊度。For another example, as shown in Figure 8, the scattering caused by particles close to the total reflection interface of the reflection module will cause the boundary line of the brightness change in the reflection area in the detection image to be blurred, so the processor can also obtain the photosensitive surface array detection The degree of fuzziness of the sudden change boundary of brightness on the detected image is determined, and the turbidity in the liquid to be tested is determined according to the degree of fuzziness. Wherein, the processor can look up a table according to the corresponding relationship between the fuzzy degree of the pre-calibrated brightness mutation boundary and the turbidity of the liquid to obtain the corresponding turbidity of the liquid to be measured.
在一些示例中,处理器用于在待测液体的浓度低于预设浓度时根据探测图像中的非反射区域上的亮度计算液体的浊度,在该待测液体的浓度高于预设浓度时根据探测图像上的亮度突变界线的模糊程度来计算液体的浊度。在待测液体浓度较低时,该待测液体的浊度和探测图像中的非反射区域的亮度具有较好的线性关系,根据非反射区的亮度来计算浊度可以具有更高的准确率,在待测液体的浓度较高时该线性关系下降,通过亮度突变界线的模糊程度来计算浊度可以更加准确。In some examples, the processor is used to calculate the turbidity of the liquid according to the brightness on the non-reflection area in the detection image when the concentration of the liquid to be tested is lower than a preset concentration, and when the concentration of the liquid to be tested is higher than a preset concentration The turbidity of the liquid is calculated according to the fuzzy degree of the boundary line of the sudden change in brightness on the detection image. When the concentration of the liquid to be tested is low, the turbidity of the liquid to be tested has a good linear relationship with the brightness of the non-reflective area in the detection image, and the calculation of turbidity according to the brightness of the non-reflective area can have higher accuracy , when the concentration of the liquid to be measured is high, the linear relationship decreases, and it is more accurate to calculate the turbidity through the fuzziness of the brightness mutation boundary.
折光仪计算浊度可以有许多应用场景。一些示例中,折光仪可以用于对液体进行成分检测。例如, 折光仪可以同时测量液体的折射率和浊度,判定液体性质。又例如,折光仪可以同时测量液体(例如咖啡)的折射率和浊度,判断液体的含糖量和含奶量。又例如,折光仪可以同时测量液体(例如果汁)的折射率和浊度,判断液体的含糖量和果肉含量。又例如,折光仪可以测量传感器的清晰液体中的折射率和浊度,该折射率和浊度可以用于判断该传感器是否有脏污。可选的,该脏污判断结果可以用于决策是否需要继续清洁。在一个应用场景中,折光仪可以用于清洁机器(例如洗碗机、洗衣机等),对清洁物体后的液体探测折射率和浊度,来判断被清洁物体的清洁度。在一个应用场景中,折光仪可以用于水质量检测。折光仪的判断结果可以通过交互模块显示给用户。Calculating turbidity with a refractometer can have many applications. In some examples, refractometers can be used to perform compositional testing of liquids. For example, a refractometer can simultaneously measure the refractive index and turbidity of a liquid to determine its properties. For another example, a refractometer can measure the refractive index and turbidity of a liquid (such as coffee) at the same time, and judge the sugar content and milk content of the liquid. As another example, a refractometer can simultaneously measure the refractive index and turbidity of a liquid (such as fruit juice) to determine the sugar content and pulp content of the liquid. As another example, a refractometer can measure the refractive index and turbidity in the clear liquid of the sensor, which can be used to determine whether the sensor is dirty. Optionally, the dirty judgment result can be used to decide whether to continue cleaning. In one application scenario, the refractometer can be used for cleaning machines (such as dishwashers, washing machines, etc.), and detect the refractive index and turbidity of the liquid after cleaning the object to judge the cleanliness of the cleaned object. In one application scenario, refractometers can be used for water quality detection. The judgment result of the refractometer can be displayed to the user through the interactive module.
由于待测液体的浊度改变时也会影响该待测液体的折射率,在一些示例中,处理器还用于在计算出待测液体的浊度后,根据该预先标定好的浊度对折射率的影响关系,来对该待测液体的折射率进行修正。例如,在一种应用场景中,折光仪一起测量待测液体的浊度和糖度时,通过同时测量待测液体的浊度和糖度可以区分该待测液体中的奶和糖的比例从而得出准确的奶量和糖度值,继而可以更加准确地计算该待测液体的卡路里含量。Since the change of the turbidity of the liquid to be measured will also affect the refractive index of the liquid to be measured, in some examples, the processor is also used to calculate the turbidity of the liquid to be measured according to the pre-calibrated turbidity The influence relationship of the refractive index is used to correct the refractive index of the liquid to be measured. For example, in an application scenario, when the refractometer measures the turbidity and sugar content of the liquid to be tested together, the ratio of milk and sugar in the liquid to be tested can be distinguished by measuring the turbidity and sugar content of the liquid to be tested simultaneously to obtain Accurate milk volume and brix values can then more accurately calculate the calorie content of the liquid to be tested.
在一个示例中,折光仪还具有待机模式和/或低功耗模式。在该待机模式中,控制模块于休眠待机状态,光源模块和感光面阵均断电,折光仪整体耗电位于uW级别。在低功耗模式下,控制模块用于控制光源模块和感光面阵同步频闪,通电时间极短,折光仪整体耗电处于mW级别。具体的,控制模块在控制光源模块1和感光面阵时,可以根据感光面阵的帧信号同步触发脉冲宽度调制(PWM,Pulse Width Modulation)信号实现对光源模块调光。In one example, the refractometer also has a standby mode and/or a low power mode. In this standby mode, the control module is in a sleep standby state, the light source module and the photosensitive array are both powered off, and the overall power consumption of the refractometer is at the uW level. In the low power consumption mode, the control module is used to control the light source module and the photosensitive array to strobe synchronously, the power-on time is extremely short, and the overall power consumption of the refractometer is at the mW level. Specifically, when the control module controls the light source module 1 and the photosensitive array, it can synchronously trigger a pulse width modulation (PWM, Pulse Width Modulation) signal according to the frame signal of the photosensitive array to realize dimming of the light source module.
在一些示例中,折光仪还包括以下至少一种:用于探测待测液体的颜色的色度计、用于探测待测液体中的离子(例如酸性离子)含量的阻抗计、用于探测待测液体的酸度值的PH值计,以便处理器根据这些信息来辅助确定该待测液体的种类。In some examples, the refractometer further includes at least one of the following: a colorimeter for detecting the color of the liquid to be tested, an impedance meter for detecting the content of ions (such as acid ions) in the liquid to be tested, and an impedance meter for detecting the color of the liquid to be tested. A PH value meter for measuring the acidity value of the liquid, so that the processor can assist in determining the type of the liquid to be tested based on the information.
在一个示例中,折光仪还包括无线通信模块,用于将处理器所得到的待测液体的折射率、浊度、温度中的至少一项发送给其他客户端(例如手机中的小程序、应用程序、电脑客户端、服务器等),以便客户端根据所收集到的来自一个或多个折光仪的数据进行显示或者分析。在一个示例中,折光仪还包括交互模块,用于将所探测得到的数据显示给用户。In one example, the refractometer also includes a wireless communication module, which is used to send at least one of the refractive index, turbidity, and temperature of the liquid to be measured obtained by the processor to other clients (such as small programs in mobile phones, application, computer client, server, etc.), so that the client can display or analyze the collected data from one or more refractometers. In one example, the refractometer further includes an interactive module for displaying the detected data to the user.
本申请还提供一种探测装置,内设置有上述折光仪。例如,该探测容器是一种智能杯。如图19所示,图19是一种智能杯的结构示意图。该智能杯包括杯体和设置在杯体内的上述折光仪201,用于探测水杯内的液体的折射率和/或浊度。如图19所示,该折光仪201设置在杯体200底部。或者,可选的,该折光仪固定在杯体中的杯盖处,可以方便安装。在需要测量液体折射率时用户只需将盖上杯盖的水杯倒转即刻实现测量。该折光仪可以是一个独立模块固定在该智能杯的杯体内。这样折光仪和智能杯的杯体可以独立组建,在结构和防水工艺上都更简单。或者,该折光仪可以集成在该智能杯的杯体内。可选的,在上述的折光仪包含防水件的示例中,该折光仪可以内嵌在玻璃杯内部,且将杯壁作为折光仪的防水件。The present application also provides a detection device, which is provided with the above-mentioned refractometer. For example, the detection container is a smart cup. As shown in FIG. 19, FIG. 19 is a schematic structural diagram of a smart cup. The smart cup includes a cup body and the above-mentioned refractometer 201 arranged in the cup body for detecting the refractive index and/or turbidity of the liquid in the water cup. As shown in FIG. 19 , the refractometer 201 is arranged at the bottom of the cup body 200 . Or, optionally, the refractometer is fixed at the cup lid in the cup body, which can be installed conveniently. When it is necessary to measure the refractive index of a liquid, the user only needs to invert the water cup covered with the lid to realize the measurement immediately. The refractometer can be an independent module fixed in the cup body of the smart cup. In this way, the refractometer and the cup body of the smart cup can be assembled independently, and the structure and waterproof process are simpler. Or, the refractometer can be integrated in the cup body of the smart cup. Optionally, in the above example in which the refractometer includes waterproof parts, the refractometer may be embedded inside the glass cup, and the cup wall is used as the waterproof part of the refractometer.
可选的,该智能杯还设置有微气压传感器和计算模块。该微气压传感器用于探测水杯内的液体体积,该计算模块用于根据折光仪所测得的液体折射率和/或浊度计算水杯内的液体的卡路里。可选的,该微气压传感器设置在由杯体的底部和设置在底部之上的隔膜之间形成的密闭空间内。Optionally, the smart cup is also provided with a micro-pressure sensor and a computing module. The micro-pressure sensor is used to detect the volume of the liquid in the water cup, and the calculation module is used to calculate the calorie of the liquid in the water cup according to the refractive index and/or turbidity of the liquid measured by the refractometer. Optionally, the micro-air pressure sensor is arranged in a closed space formed between the bottom of the cup body and the diaphragm arranged on the bottom.
又例如,该探测装置是一种智能称。如图20所示,图20是一种智能称的结构示意图。该智能称包 括称体210和设置在该称体210内的上述折光仪211,该称体210的表面还设置有液体容置区212和第一显示区(图未示),该折光仪211用于探测液体容置区212内的液体的折射率,且该第一显示区用于显示该液体的折射率。可选的,该智能称的表面还设置有称重区213和第二显示区(图未示),该第二显示区用于显示在称重区上的物体的重量。可选的,称重区213和液体容置区212并排在智能称的表面上。可选的,第一显示区和第二显示区分开设置或者合并设置。For another example, the detecting device is an intelligent scale. As shown in Fig. 20, Fig. 20 is a structural schematic diagram of a smart scale. The smart scale includes a scale body 210 and the above-mentioned refractometer 211 arranged in the scale body 210, the surface of the scale body 210 is also provided with a liquid accommodating area 212 and a first display area (not shown), the refractometer 211 It is used to detect the refractive index of the liquid in the liquid accommodating area 212 , and the first display area is used to display the refractive index of the liquid. Optionally, the surface of the smart scale is also provided with a weighing area 213 and a second display area (not shown in the figure), and the second display area is used to display the weight of the object on the weighing area. Optionally, the weighing area 213 and the liquid containing area 212 are arranged side by side on the surface of the smart scale. Optionally, the first display area and the second display area are set separately or combined.
又例如,该探测装置是一种智能动物尿液检测仪(垫子等),设有上述的折光仪,通过折光仪测量动物尿液的折射率。For another example, the detection device is an intelligent animal urine detector (mat, etc.), equipped with the above-mentioned refractometer, and measures the refractive index of animal urine by the refractometer.
本申请还提供一种利用折光仪探测待测液体的折射率的方法。如图21所示,图21为本申请中的利用折光仪探测待测液体的折射率的方法的一个实施例的示意图。该方法包括以下步骤:S2201,向折光仪内的反射模块发射光束。S2202,通过汇聚模块将被所述反射模块至少全反射的光束汇聚至位于所述汇聚模块的焦平面上的感光阵列。S2203,利用所述感光阵列对接收的光束成像,生成探测图像。S2204,根据所述探测图像确定所述探测图像中的亮度突变界线。S2205,根据所述亮度突变界线在所述探测图像中的位置确定对应的全反射角。S2206,根据所述全反射角确定位于产生所述亮度突变界线对应的介质的折射率。The present application also provides a method for detecting the refractive index of the liquid to be measured by using a refractometer. As shown in FIG. 21 , FIG. 21 is a schematic diagram of an embodiment of a method for detecting the refractive index of a liquid to be measured by using a refractometer in the present application. The method includes the following steps: S2201, sending a light beam to a reflection module in the refractometer. S2202. Converge the light beam at least totally reflected by the reflective module to the photosensitive array located on the focal plane of the converging module through the converging module. S2203. Using the photosensitive array to image the received light beam to generate a detection image. S2204. Determine, according to the detection image, a boundary line of a sudden change in brightness in the detection image. S2205. Determine a corresponding total reflection angle according to the position of the abrupt brightness boundary line in the detection image. S2206. Determine, according to the total reflection angle, the refractive index of the medium corresponding to the boundary line where the sudden brightness change occurs.
一个示例中,所述折光仪还包括设置在所述反射模块中的一个介质表面上的探测区,当所述探测区覆盖有待测液体,且所述待测液体的折射率低于所述第一介质的折射率时,所述光束的至少部分被所述待测液体全反射;所述探测图像内仅形成有一条对应所述待测液体的折射率的亮度突变界线。In an example, the refractometer further includes a detection area arranged on a surface of a medium in the reflection module, when the detection area is covered with the liquid to be measured, and the refractive index of the liquid to be measured is lower than the When the refractive index of the first medium is lower, at least part of the light beam is totally reflected by the liquid to be tested; only one boundary line corresponding to the sudden change in brightness corresponding to the refractive index of the liquid to be measured is formed in the detection image.
一个示例中,所述光束包括第一光束和第二光束,所述反射模块包括相邻设置的第一介质和第二介质,所述第一介质的折射率大于所述第二介质的折射率,所述第一光束从所述第一介质入射至所述第二介质,且至少部分被所述第二介质全反射;所述折光仪还包括探测区,设置在所述反射模块内的其中一个介质的表面上,用于接收所述第二光束;当所述探测区覆盖有待测液体,且所述待测液体的折射率低于所述其中一个介质的折射率时,所述第二光束的至少部分被所述待测液体全反射;所述探测图像中形成有所述第二介质对应的第一亮度突变界线和所述待测液体对应的第二亮度突变界线,所述方法还包括:根据所述第二亮度突变界线的位置计算所述待测液体的折射率,根据所述第一亮度突变界线的位置对所述待测液体的折射率进行校正。In an example, the light beam includes a first light beam and a second light beam, and the reflective module includes a first medium and a second medium adjacently arranged, and the refractive index of the first medium is greater than that of the second medium , the first light beam is incident from the first medium to the second medium, and is at least partially totally reflected by the second medium; the refractometer also includes a detection area, which is arranged in the reflection module The surface of a medium is used to receive the second light beam; when the detection area is covered with the liquid to be tested, and the refractive index of the liquid to be tested is lower than that of one of the mediums, the second beam At least part of the two light beams are totally reflected by the liquid to be tested; a first sudden change boundary line of brightness corresponding to the second medium and a second sudden change line of brightness corresponding to the liquid to be tested are formed in the detection image, the method It also includes: calculating the refractive index of the liquid to be tested according to the position of the second sudden change in brightness, and correcting the refractive index of the liquid to be tested according to the position of the first sudden change in brightness.
一个示例中,所述探测区和所述第二介质分别位于所述第一介质的同一个表面上的不同区域,所述第二光束从所述第一介质未经过所述第二介质入射至所述探测区。In one example, the detection area and the second medium are respectively located in different areas on the same surface of the first medium, and the second light beam is incident from the first medium without passing through the second medium to the detection zone.
一个示例中,所述反射模块还包括具有与所述第二介质不同折射率的第三介质,与所述探测区、所述第二介质分别位于所述第一介质的同一个表面上的不同区域;所述光束还包括第三光束,所述第三光束从所述第一介质入射至所述第三介质时至少部分全反射,且所述探测图像中还形成所述第三介质对应的第三亮度突变界线;所述根据所述第一亮度突变界线的位置对所述待测液体的折射率进行校正包括:根据所述第一亮度突变界线和/或所述第三亮度突变界线对所述待测液体的折射率进行校正。In an example, the reflective module further includes a third medium having a different refractive index from the second medium, which is different from that in which the detection area and the second medium are respectively located on the same surface of the first medium. area; the light beam also includes a third light beam, the third light beam is at least partially totally reflected when it is incident from the first medium to the third medium, and the detection image also forms a corresponding part of the third medium The third abrupt change boundary line of brightness: correcting the refractive index of the liquid to be measured according to the position of the abrupt change boundary line of brightness includes: The refractive index of the liquid to be measured is corrected.
一个示例中,所述第一介质包括具有光入射面、光出射面和探测面的棱镜,所述探测区和所述第二介质分别位于所述探测面的不同区域上;所述方法还包括:通过所述光出射面上的第一出光口允许经所述第二介质全反射的至少部分光束通过所述第一出光口入射至所述汇聚透镜,通过所述光出射面上的第 二出光口允许经所述待测液体全反射的至少部分光束通过所述第二出光口入射至所述汇聚透镜。一个示例中,所述光入射面上还设置有入光口,所述第一光束和所述第二光束通过所述入光口入射至所述探测面上;其中,所述第一出光口和所述第二出光口分别位于所述入光口在所述光出射面上的投影的两侧,且与所述投影未有交叠。In an example, the first medium includes a prism having a light incident surface, a light exit surface, and a detection surface, and the detection area and the second medium are respectively located on different regions of the detection surface; the method further includes : through the first light exit on the light exit surface, at least part of the light beam totally reflected by the second medium is allowed to enter the converging lens through the first light exit, and through the second light exit on the light exit surface The light outlet allows at least part of the light beams totally reflected by the liquid to be measured to enter the converging lens through the second light outlet. In one example, a light entrance is further provided on the light incident surface, and the first light beam and the second light beam are incident on the detection surface through the light entrance; wherein, the first light exit and the second light outlet are respectively located on two sides of the projection of the light inlet on the light exit surface, and do not overlap with the projection.
一个示例中,所述第一介质、所述第二介质和所述探测区层叠设置,且所述探测区设置在所述第二介质背向所述第一介质的一侧,第二光束依次穿过所述第一介质和所述第二介质。In one example, the first medium, the second medium, and the detection area are stacked, and the detection area is set on the side of the second medium facing away from the first medium, and the second light beam is sequentially through the first medium and the second medium.
一个示例中,所述反射模块包括具有光入射面、光出射面和探测面的棱镜,所述探测区位于所述探测面上;且所述探测区和所述探测面之间夹有经固化的材料层和透光玻璃层,所述透光玻璃层用于将所述材料层和所述棱镜密封在所述折光仪内,所述探测区位于所述透光玻璃层背向所述材料层的一侧。In one example, the reflection module includes a prism having a light incident surface, a light exit surface and a detection surface, the detection area is located on the detection surface; and a cured film is sandwiched between the detection area and the detection surface A material layer and a light-transmitting glass layer, the light-transmitting glass layer is used to seal the material layer and the prism in the refractometer, and the detection area is located on the light-transmitting glass layer facing away from the material side of the layer.
一个示例中,所述棱镜的折射率大于所述材料层的折射率,且所述材料层的折射率大于所述透光玻璃层的折射率,当所述待测液体的折射率小于所述透光玻璃层的折射率时,所述探测图像上形成有至少三条亮度突变分界线;所述第一介质为所述棱镜,所述第二介质为所述材料层;或者,所述第一介质为所述材料层,所述第二介质为所述透光玻璃层。In one example, the refractive index of the prism is greater than the refractive index of the material layer, and the refractive index of the material layer is greater than the refractive index of the transparent glass layer, when the refractive index of the liquid to be measured is smaller than the When the refractive index of the light-transmitting glass layer is used, at least three boundary lines with abrupt brightness changes are formed on the detection image; the first medium is the prism, and the second medium is the material layer; or, the first The medium is the material layer, and the second medium is the transparent glass layer.
一个示例中,所述棱镜的折射率大于所述材料层的折射率,所述材料层的折射率大于所述透光玻璃层的折射率,且所述感光面阵避开经所述材料层全反射的光束经所述汇聚透镜汇聚的位置,使得所述探测图像上仅形成有两条亮度突变分界线;所述第一介质为所述材料层,所述第二介质为所述透光玻璃层。In an example, the refractive index of the prism is greater than the refractive index of the material layer, the refractive index of the material layer is greater than the refractive index of the light-transmitting glass layer, and the photosensitive array avoids the The position where the totally reflected light beam is converged by the converging lens makes only two boundary lines with abrupt brightness changes formed on the detection image; the first medium is the material layer, and the second medium is the light-transmitting glass layer.
一个示例中,所述棱镜的折射率大于所述材料层的折射率,所述材料层的折射率小于或等于所述透光玻璃层的折射率,所述第一介质为所述棱镜,所述第二介质为所述材料层,或者,所述棱镜的折射率小于或等于所述材料层的折射率,所述材料层的折射率大于所述透光玻璃层的折射率。In one example, the refractive index of the prism is greater than the refractive index of the material layer, the refractive index of the material layer is less than or equal to the refractive index of the transparent glass layer, the first medium is the prism, and the The second medium is the material layer, or the refractive index of the prism is less than or equal to the refractive index of the material layer, and the refractive index of the material layer is greater than the refractive index of the transparent glass layer.
一个示例中,所述经固化的材料层是经光固化的涂层,或者是经高温固化的涂层,或者是经自然固化的涂层。一个示例中,所述经固化的材料层是经光固化的无影胶层。一个示例中,所述经固化的材料层的折射率大于1.33且不大于1.6,且折射率随温度变化的数值位于-0.0003/deg C到0.0003/deg C之内。一个示例中,所述第二介质的折射率大于1.33且不大于1.6,且折射率随温度变化的数值位于-0.0003/deg C到0.0003/deg C之内。In one example, the cured material layer is a photocured coating, or a high temperature cured coating, or a naturally cured coating. In one example, the cured material layer is a light-cured shadowless adhesive layer. In one example, the cured material layer has a refractive index greater than 1.33 and not greater than 1.6, and the value of the refractive index varying with temperature is within -0.0003/deg C to 0.0003/deg C. In an example, the refractive index of the second medium is greater than 1.33 and not greater than 1.6, and the value of the change of the refractive index with temperature is within -0.0003/deg C to 0.0003/deg C.
一个示例中,所述利用所述感光阵列对接收的光束成像,生成探测图像,包括:生成探测图像序列,其中所述探测图像序列中至少部分图像采用的曝光参数不同;或者,所述探测图像序列中的至少部分图像对应的所述光源模块的发光强度不同。In an example, the imaging of the received light beam by the photosensitive array to generate a detection image includes: generating a sequence of detection images, wherein at least some of the images in the sequence of detection images adopt different exposure parameters; or, the detection images At least part of the images in the sequence correspond to different luminous intensities of the light source modules.
一个示例中,所述光源模块的发光面的口径和所述汇聚模块的通光口径相同或者相差小于所述发光面的口径的1/5,或者,所述光源模块的发光面的口径大于所述汇聚模块的通光口径的2倍。一个示例中,所述感光面阵的探测角度范围覆盖所述汇聚模块的全反射角范围。一个示例中,所述光源模块的出射光的半高宽小于5nm,或者,所述光源模块的出射光路上设置有窄带滤光片,经所述窄带滤光片滤波后的出射光的半高宽小于5nm。一个示例中,所述光源模块的出射光路上设置有匀光片。一个示例中,所述光源模块的出射光为绿光波段,且所述感光面阵为采用贝尔图形为RGGB的CMOS传感器。In one example, the aperture of the light emitting surface of the light source module is the same as or less than 1/5 of the aperture of the light emitting surface of the converging module, or the aperture of the light emitting surface of the light source module is larger than the aperture of the light emitting surface. 2 times the light aperture of the convergence module mentioned above. In an example, the detection angle range of the photosensitive surface array covers the total reflection angle range of the convergence module. In one example, the full width at half maximum of the outgoing light of the light source module is less than 5 nm, or a narrow-band filter is arranged on the outgoing light path of the light source module, and the half-height of the outgoing light filtered by the narrow-band filter is The width is less than 5nm. In an example, a dodging sheet is arranged on the outgoing light path of the light source module. In one example, the emitted light of the light source module is in the green light band, and the photosensitive area array is a CMOS sensor with a Bell pattern of RGGB.
一个示例中,在所述根据所述探测图像确定所述探测图像中的亮度突变界线之前还包括:确定所述探测图像的亮度与预设亮度的差值的绝对值大于阈值。一个示例中,在根据所述探测图像确定所述探测 图像中的亮度突变界线之前还包括:根据所述探测图像中的目标像素行的上下至少部分像素行对所述目标像素行进行滤噪。一个示例中,所述根据所述探测图像中的目标像素行的上下至少部分像素行对所述目标像素行进行滤噪,包括:根据所述目标像素行的像素值和所述至少部分像素行的像素值的加权平均值作为所述目标像素行滤噪后的像素值。一个示例中,在根据所述探测图像确定所述探测图像中的亮度突变界线之前还包括:确定所述探测图像中受杂散光影响的像素行,其中,所述受杂散光影响的像素行未用于确定位于所述全反射界面背向所述光源模块的一侧的介质的折射率。一个示例中,所述探测图像是根据所述感光面阵获取到的多帧图像进行加权求和得到的。In an example, before determining the boundary line of a sudden change in brightness in the detection image according to the detection image, the method further includes: determining that an absolute value of a difference between the brightness of the detection image and a preset brightness is greater than a threshold. In an example, before determining the boundary line of abrupt brightness change in the detection image according to the detection image, the method further includes: performing noise filtering on the target pixel row according to at least part of the upper and lower pixel rows of the target pixel row in the detection image. In an example, the performing noise filtering on the target pixel row according to at least part of the upper and lower pixel rows of the target pixel row in the detection image includes: according to the pixel value of the target pixel row and the at least part of the pixel row The weighted average of the pixel values of is used as the noise-filtered pixel value of the target pixel row. In an example, before determining the boundary line of a sudden change in brightness in the detection image according to the detection image, it further includes: determining pixel rows affected by stray light in the detection image, wherein the pixel rows affected by stray light are not It is used to determine the refractive index of the medium on the side of the total reflection interface facing away from the light source module. In an example, the detection image is obtained by weighted summation of multiple frames of images acquired by the photosensitive array.
一个示例中,所述方法还包:获取所述位于全反射界面外侧的介质的温度和所述全反射界面的温度;根据预先存储的待测介质的温度、所述全反射界面的温度与待测介质的折射率的关系模型,以及所述获取的位于全反射界面外侧的介质的温度和所述全反射界面的温度计算所述介质的折射率。In an example, the method further includes: obtaining the temperature of the medium located outside the total reflection interface and the temperature of the total reflection interface; according to the pre-stored temperature of the medium to be measured, the temperature of the total reflection interface and the temperature The relationship model of the refractive index of the measured medium, and the obtained temperature of the medium outside the total reflection interface and the temperature of the total reflection interface are used to calculate the refractive index of the medium.
一个示例中,所述方法还包括:根据所述探测图像计算位于所述反射模块外侧的介质的浊度。一个示例中,所述探测图像包括非反射区域;根据所述探测图像计算位于所述反射模块外侧的介质的浊度,包括:获取所述非反射区域中的非全反射区域的散射亮度和/或所述亮度突变界线的模糊程度;其中,所述非反射区域中的非全反射区域对应所述非反射区域中以小于全反射角入射所述反射模块后入射至所述感光面阵的区域;根据所述非反射区域中的非全反射区域的散射亮度和/或所述亮度突变界线的模糊程度计算所述浊度。In an example, the method further includes: calculating the turbidity of the medium located outside the reflection module according to the detection image. In an example, the detection image includes a non-reflection area; calculating the turbidity of the medium outside the reflection module according to the detection image includes: acquiring the scattering brightness and/or the non-total reflection area in the non-reflection area Or the degree of fuzziness of the sudden change in brightness; wherein, the non-total reflection area in the non-reflection area corresponds to the area in the non-reflection area that is incident on the reflection module at an angle smaller than the total reflection angle and then enters the photosensitive surface array ; calculating the turbidity according to the scattering luminance of the non-total reflection area in the non-reflection area and/or the fuzziness of the boundary line of the sudden change in luminance.
一个示例中,所述非反射区域还包括位于所述非全反射区域一侧的全反射区域;所述获取所述非反射区域中的非全反射区域的散射亮度,包括:以所述非反射区域中的全反射区域的亮度为基准值计算所述探测图像中的非反射区域的非全反射区域的散射亮度。一个示例中,所述根据所述非反射区域中的非全反射区域的散射亮度和/或所述亮度突变界线的模糊程度计算所述浊度,包括:在待测液体的浓度低于预设浓度时根据所述探测图像中的非反射区域上的非全反射区域的散射亮度计算所述待测液体的浊度;在所述待测液体的浓度高于预设浓度时根据所述探测图像上的亮度突变界线的模糊程度来计算所述待测液体的浊度。In an example, the non-reflective area further includes a total reflective area located on one side of the non-total reflective area; the acquisition of the scattered brightness of the non-total reflective area in the non-reflective area includes: using the non-reflective The brightness of the total reflection area in the area is used as a reference value to calculate the scattering brightness of the non-reflection area and the non-total reflection area in the detection image. In an example, the calculating the turbidity according to the scattering brightness of the non-total reflection area in the non-reflection area and/or the fuzzy degree of the sudden change boundary of the brightness includes: when the concentration of the liquid to be tested is lower than a preset Calculate the turbidity of the liquid to be tested according to the scattering brightness of the non-total reflection area on the non-reflection area in the detection image when the concentration is high; when the concentration of the liquid to be measured is higher than the preset concentration, according to the detection image The turbidity of the liquid to be tested is calculated based on the fuzzy degree of the sudden change boundary of the brightness.
一个示例中,所述位于反射模块外侧的介质为待测液体;所述方法还包括:获取所述待测液体的体积;根据所述待测液体的折射率、浊度和体积计算所述待测液体的卡路里。一个示例中,所述位于反射模块外侧的介质为待测液体;所述方法还包括:利用辅助设备获取辅助信息,其中,所述辅助设备包括色度计,所述辅助信息包括所述待测液体的颜色;或者,所述辅助设备包括阻抗计,所述辅助信息包括所述待测液体的离子含量;或者,所述辅助设备包括PH值计,所述辅助信息包括所述待测液体的酸度值;根据所述辅助信息和所述待测液体的折射率和/或浊度确定所述待测液体的种类。In an example, the medium located outside the reflection module is the liquid to be tested; the method further includes: obtaining the volume of the liquid to be tested; calculating the volume to be tested according to the refractive index, turbidity and volume of the liquid to be tested Measure liquid calories. In an example, the medium located outside the reflective module is the liquid to be tested; the method further includes: using auxiliary equipment to obtain auxiliary information, wherein the auxiliary equipment includes a colorimeter, and the auxiliary information includes the liquid to be tested The color of the liquid; or, the auxiliary equipment includes an impedance meter, and the auxiliary information includes the ion content of the liquid to be tested; or, the auxiliary equipment includes a pH meter, and the auxiliary information includes the ion content of the liquid to be tested. Acidity value: determining the type of the liquid to be tested according to the auxiliary information and the refractive index and/or turbidity of the liquid to be tested.
一个示例中,所述向所述折光仪内的反射模块发射光束之前还包括:发射液体对目标物体进行清洗,所述位于反射模块外侧的介质为清洗目标物体后的液体;所述方法还包括:根据所述清洗目标物体后的液体的折射率判断所述目标物体的清洁度。一个示例中,所述方法还包括;根据所述目标物体的清洁度判断是否需要对所述目标物体继续清洗。In an example, before emitting the light beam to the reflection module in the refractometer, the method further includes: emitting liquid to clean the target object, and the medium outside the reflection module is the liquid after cleaning the target object; the method further includes : judging the cleanliness of the target object according to the refractive index of the liquid after cleaning the target object. In an example, the method further includes: judging whether to continue cleaning the target object according to the cleanliness of the target object.
一个示例中,所述向所述折光仪内的反射模块发射光束之前还包括:将所述折光仪固定于管道内壁上;其中,所述折光仪用于测量所述管道内的流动液体的折射率,所述亮度突变界线包括对应所述管道 内的流动液体的亮度突变界线。由于本申请的折光仪可以实时自标定,相比现有计算的折光仪需要标定后再对液体测量,本申请的折光仪在测量管道中的流动液体时可以得到准确度更高的测量结果。In an example, before emitting the light beam to the reflection module in the refractometer, it further includes: fixing the refractometer on the inner wall of the pipeline; wherein the refractometer is used to measure the refraction of the flowing liquid in the pipeline rate, the sudden change boundary of brightness includes a sudden change boundary of brightness corresponding to the flowing liquid in the pipeline. Since the refractometer of the present application can be self-calibrated in real time, compared with the existing calculation refractometer that needs to be calibrated before measuring the liquid, the refractometer of the present application can obtain more accurate measurement results when measuring the flowing liquid in the pipeline.
尽管结合优选实施方案具体展示和介绍了本发明,但所属领域的技术人员应该明白,在不脱离所附权利要求书所限定的本发明的精神和范围内,在形式上和细节上可以对本发明做出各种变化,均为本发明的保护范围。Although the present invention has been particularly shown and described in conjunction with preferred embodiments, it will be understood by those skilled in the art that changes in form and details may be made to the present invention without departing from the spirit and scope of the invention as defined by the appended claims. Making various changes is within the protection scope of the present invention.

Claims (81)

  1. 一种折光仪,其特征在于,包括光源模块、反射模块、汇聚模块、感光面阵、控制模块和处理器;A refractometer, characterized in that it includes a light source module, a reflection module, a convergence module, a photosensitive array, a control module and a processor;
    所述控制模块用于控制所述光源模块出射光束;The control module is used to control the light beam emitted by the light source module;
    所述反射模块用于接收来自所述光源模块的光束,当来自所述光源模块的光束在所述反射模块内满足全反射条件时,所述光束在所述反射模块内发生全反射,并入射至所述汇聚模块;The reflective module is used to receive the light beam from the light source module, when the light beam from the light source module satisfies the total reflection condition in the reflective module, the light beam is totally reflected in the reflective module and enters to the aggregation module;
    所述汇聚模块用于将来自所述反射模块的光束汇聚至所述汇聚模块的焦平面上;The converging module is used for converging the light beam from the reflecting module onto the focal plane of the converging module;
    所述感光面阵位于所述汇聚模块的焦平面上,所述控制模块还用于控制所述感光面阵对接收到的光束进行探测并输出探测图像;The photosensitive surface array is located on the focal plane of the converging module, and the control module is also used to control the photosensitive surface array to detect the received light beam and output a detection image;
    处理器,用于根据所述探测图像确定所述探测图像中的亮度突变界线,以及根据所述亮度突变界线的位置确定所述亮度突变界线对应的折射率。A processor, configured to determine a boundary line of a sudden brightness change in the detection image according to the detection image, and determine a refractive index corresponding to the sudden change boundary line of brightness according to a position of the sudden change boundary line of brightness.
  2. 根据权利要求1所述的折光仪,其特征在于,所述反射模块包括第一介质,所述折光仪还包括设置在所述第一介质表面上的探测区;当所述探测区覆盖有待测液体,且所述待测液体的折射率低于所述第一介质的折射率时,所述光束的至少部分被所述待测液体全反射;The refractometer according to claim 1, wherein the reflection module comprises a first medium, and the refractometer further comprises a detection area arranged on the surface of the first medium; when the detection area covers the When measuring liquid, and the refractive index of the liquid to be measured is lower than the refractive index of the first medium, at least part of the light beam is totally reflected by the liquid to be measured;
    所述光源模块的发散角与所述探测区匹配。The divergence angle of the light source module matches the detection area.
  3. 根据权利要求1所述的折光仪,其特征在于,所述光源模块的出射光束包含第一光束和第二光束;The refractometer according to claim 1, wherein the outgoing light beam of the light source module comprises a first light beam and a second light beam;
    所述反射模块包括相邻设置的第一介质和第二介质,所述第一介质的折射率大于所述第二介质的折射率,所述第一光束从所述第一介质入射至所述第二介质,且至少部分被所述第二介质全反射,The reflection module includes a first medium and a second medium adjacently arranged, the refractive index of the first medium is greater than that of the second medium, and the first light beam is incident from the first medium to the a second medium and is at least partially totally reflected by said second medium,
    所述汇聚模块用于将被所述全反射的第一光束汇聚至所述感光面阵;所述控制模块还用于控制所述感光面阵对接收到的第一光束进行探测并输出探测图像;所述处理器用于确定所述探测图像中所述第一光束对应的第一亮度突变界线;The converging module is used to converge the totally reflected first light beam to the photosensitive surface array; the control module is also used to control the photosensitive surface array to detect the received first light beam and output a detection image ; The processor is configured to determine a first brightness mutation boundary line corresponding to the first light beam in the detection image;
    其中,所述折光仪还包括探测区,设置在所述反射模块内的其中一个介质的表面上,用于接收所述第二光束;Wherein, the refractometer further includes a detection area, which is arranged on the surface of one of the media in the reflection module, and is used to receive the second light beam;
    当所述探测区覆盖有待测液体,且所述待测液体的折射率低于所述其中一个介质的折射率时,所述第二光束的至少部分被所述待测液体全反射;所述汇聚模块还用于将所述全反射的第二光束汇聚至所述感光面阵;所述处理器还用于从所述探测图像中确定所述第二光束对应的第二亮度突变界线,根据所述第二亮度突变界线的位置计算所述待测液体的折射率,以及根据所述第一亮度突变界线对所述待测液体的折射率进行校正。When the detection area is covered with the liquid to be tested, and the refractive index of the liquid to be tested is lower than that of one of the mediums, at least part of the second light beam is totally reflected by the liquid to be tested; The converging module is also used for converging the totally reflected second light beam to the photosensitive surface array; the processor is also used for determining the second brightness abrupt change boundary line corresponding to the second light beam from the detection image, calculating the refractive index of the liquid to be tested according to the position of the second sudden change in brightness, and correcting the refractive index of the liquid to be tested according to the first sudden change in brightness.
  4. 根据权利要求3所述的折光仪,其特征在于,所述探测区设置在所述第一介质的表面上,所述探测区用于接收从来自所述第一介质的第二光束;且所述探测区和所述第二介质分别位于所述第一介质的同一个表面上的不同区域。The refractometer according to claim 3, wherein the detection area is arranged on the surface of the first medium, the detection area is used to receive the second light beam from the first medium; and the The detection area and the second medium are respectively located in different areas on the same surface of the first medium.
  5. 根据权利要求4所述的折光仪,其特征在于,所述反射模块还包括具有与所述第二介质不同折射率的第三介质,与所述探测区、所述第二介质分别位于所述第一介质的同一个表面上的不同区域,所述第三介质用于对接收到的、来自所述光源模块的光束的至少部分全反射,且经所述汇聚模块汇聚至所述感光面阵,所述探测图像中还形成对应的第三亮度突变界线;The refractometer according to claim 4, wherein the reflective module further comprises a third medium having a different refractive index from the second medium, and the detection area and the second medium are respectively located in the Different regions on the same surface of the first medium, the third medium is used for at least partial total reflection of the light beam received from the light source module, and converged to the photosensitive surface array through the converging module , a corresponding third brightness abrupt boundary line is also formed in the detection image;
    所述处理器用于根据所述第一亮度突变界线和/或所述第三亮度突变界线对所述待测液体的折射率进行校正。The processor is used for correcting the refractive index of the liquid to be tested according to the first sudden change boundary of brightness and/or the third sudden change of brightness.
  6. 根据权利要求4所述的折光仪,其特征在于,所述第一介质包括具有光入射面、光出射面和探测面的棱镜,所述探测区和所述第二介质分别位于所述探测面的不同区域上;The refractometer according to claim 4, wherein the first medium comprises a prism having a light incident surface, a light exit surface and a detection surface, and the detection area and the second medium are respectively located on the detection surface in different areas of the
    所述光出射面上设有分别对应所述第二介质和所述探测区的第一出光口和第二出光口,经所述第二介质全反射的至少部分光束通过所述第一出光口入射至所述汇聚透镜,经所述待测液体全反射的至少部分光束通过所述第二出光口入射至所述汇聚透镜。The light exit surface is provided with a first light exit and a second light exit respectively corresponding to the second medium and the detection area, at least part of the light beam totally reflected by the second medium passes through the first light exit Incident to the converging lens, at least part of the light beams totally reflected by the liquid to be measured are incident to the converging lens through the second light outlet.
  7. 根据权利要求6所述的折光仪,其特征在于,所述光入射面上还设置有入光口,所述第一光束和所述第二光束通过所述入光口入射至所述探测面上;The refractometer according to claim 6, wherein a light entrance is further arranged on the light incident surface, and the first light beam and the second light beam are incident on the detection surface through the light entrance superior;
    其中,所述第一出光口和所述第二出光口分别位于所述入光口在所述光出射面上的投影的两侧,且与所述投影未有交叠。Wherein, the first light exit port and the second light exit port are respectively located on two sides of the projection of the light entry port on the light exit surface, and do not overlap with the projection.
  8. 根据权利要求3所述的折光仪,其特征在于,所述第一介质、所述第二介质和所述探测区层叠设置,且所述探测区设置在所述第二介质背向所述第一介质的一侧,用于接收依次穿过所述第一介质和所述第二介质的第二光束。The refractometer according to claim 3, wherein the first medium, the second medium, and the detection area are stacked, and the detection area is set at the point where the second medium faces away from the first A side of a medium for receiving a second light beam passing sequentially through said first medium and said second medium.
  9. 根据权利要求8所述的折光仪,其特征在于,所述反射模块包括具有光入射面、光出射面和探测面的棱镜,所述探测区位于所述探测面上,且所述探测区和所述探测面之间夹有经固化的材料层和透光玻璃层,所述透光玻璃层用于将所述材料层和所述棱镜密封在所述折光仪内,所述探测区位于所述透光玻璃层背向所述材料层的一侧。The refractometer according to claim 8, wherein the reflection module comprises a prism having a light incident surface, a light exit surface and a detection surface, the detection area is located on the detection surface, and the detection area and A cured material layer and a light-transmitting glass layer are sandwiched between the detection surfaces, and the light-transmitting glass layer is used to seal the material layer and the prism in the refractometer, and the detection area is located at the The side of the transparent glass layer facing away from the material layer.
  10. 根据权利要求9所述的折光仪,其特征在于,所述棱镜的折射率大于所述材料层的折射率,且所述材料层的折射率大于所述透光玻璃层的折射率,当所述待测液体的折射率小于所述透光玻璃层的折射率时,所述探测图像上形成有至少三条亮度突变分界线;The refractometer according to claim 9, wherein the refractive index of the prism is greater than the refractive index of the material layer, and the refractive index of the material layer is greater than the refractive index of the transparent glass layer, when the When the refractive index of the liquid to be measured is lower than the refractive index of the light-transmitting glass layer, at least three dividing lines of sudden brightness changes are formed on the detection image;
    所述第一介质为所述棱镜,所述第二介质为所述材料层;或者,所述第一介质为所述材料层,所述第二介质为所述透光玻璃层。The first medium is the prism, and the second medium is the material layer; or, the first medium is the material layer, and the second medium is the transparent glass layer.
  11. 根据权利要求9所述的折光仪,其特征在于,所述棱镜的折射率大于所述材料层的折射率,所述材料层的折射率大于所述透光玻璃层的折射率,且所述感光面阵避开经所述材料层全反射的光束经所述汇聚透镜汇聚的位置,使得所述所述探测图像上形成有两条亮度突变分界线;The refractometer according to claim 9, wherein the refractive index of the prism is greater than the refractive index of the material layer, the refractive index of the material layer is greater than the refractive index of the transparent glass layer, and the The photosensitive surface array avoids the position where the light beams totally reflected by the material layer are converged by the converging lens, so that two dividing lines with sudden changes in brightness are formed on the detection image;
    所述第一介质为所述材料层,所述第二介质为所述透光玻璃层。The first medium is the material layer, and the second medium is the transparent glass layer.
  12. 根据权利要求9所述的折光仪,其特征在于,所述棱镜的折射率大于所述材料层的折射率,所述材料层的折射率小于或等于所述透光玻璃层的折射率,所述第一介质为所述棱镜,所述第二介质为所述材料层,或者,The refractometer according to claim 9, wherein the refractive index of the prism is greater than the refractive index of the material layer, and the refractive index of the material layer is less than or equal to the refractive index of the transparent glass layer, so The first medium is the prism, the second medium is the material layer, or,
    所述棱镜的折射率小于或等于所述材料层的折射率,所述材料层的折射率大于所述透光玻璃层的折射率。The refractive index of the prism is less than or equal to the refractive index of the material layer, and the refractive index of the material layer is greater than the refractive index of the transparent glass layer.
  13. 根据权利要求9所述的折光仪,其特征在于,所述经固化的材料层是经光固化的涂层,或者是经高温固化的涂层,或者是经自然固化的涂层。The refractometer according to claim 9, wherein the cured material layer is a photocured coating, or a high temperature cured coating, or a naturally cured coating.
  14. 根据权利要求9所述的折光仪,所述经固化的材料层是经光固化的无影胶层。The refractometer according to claim 9, wherein the cured material layer is a light-cured shadowless adhesive layer.
  15. 根据权利要求9所述的折光仪,所述透光玻璃层的折射率大于所述折光仪的折射率测量量程的最大值。According to the refractometer according to claim 9, the refractive index of the transparent glass layer is greater than the maximum value of the refractive index measurement range of the refractometer.
  16. 根据权利要求3所述的折光仪,其特征在于,所述第二介质的折射率大于1.33且不大于1.6,且折射率随温度变化的数值位于-0.0003/deg C到0.0003/deg C之内。The refractometer according to claim 3, wherein the refractive index of the second medium is greater than 1.33 and not greater than 1.6, and the value of the change of the refractive index with temperature is within -0.0003/deg C to 0.0003/deg C .
  17. 根据权利要求3所述的折光仪,其特征在于,所述探测图像包括相对的第一边缘和第二边缘,其中所述探测图像中的亮度突变界线距离该第一边缘越近时对应的折射率越高;The refractometer according to claim 3, wherein the detection image includes opposite first edges and second edges, wherein the closer the boundary line of sudden brightness changes in the detection image is to the first edge, the corresponding refraction The higher the rate;
    所述第一亮度突变界线位于所述探测图像中第一边缘和所述折光仪的折射率测量量程中的最大折射率对应的亮度突变界线之间。The first sudden change boundary line of brightness is located between the first edge in the detection image and the sudden change boundary line of brightness corresponding to the maximum refractive index in the refractive index measurement range of the refractometer.
  18. 根据权利要求3所述的折光仪,其特征在于,所述感光面阵用于输出探测图像序列,所述探测图像序列中至少部分图像的曝光参数不同;或者,The refractometer according to claim 3, wherein the photosensitive surface array is used to output a detection image sequence, and the exposure parameters of at least some images in the detection image sequence are different; or,
    所述光源模块分别对应所述探测图像序列中的至少部分图像的发光强度不同。The light source modules respectively have different luminous intensities corresponding to at least part of the images in the detection image sequence.
  19. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述光源模块的发光面的口径和所述汇聚模块的通光口径相同或者相差小于所述发光面的口径的1/5,The refractometer according to any one of claims 1-18, characterized in that, the diameter of the light-emitting surface of the light source module is the same as the light-passing diameter of the converging module or the difference is less than 1/ of the diameter of the light-emitting surface 5,
    或者,所述光源模块的的发光面的口径大于所述汇聚模块的通光口径的2倍。Alternatively, the aperture of the light emitting surface of the light source module is greater than twice the light aperture of the converging module.
  20. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述感光面阵的探测角度范围覆盖所述汇聚模块的全反射角范围。The refractometer according to any one of claims 1-18, characterized in that, the detection angle range of the photosensitive surface array covers the total reflection angle range of the converging module.
  21. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述光源模块的出射光的半高宽小于5nm,或者,所述光源模块的出射光路上设置有窄带滤光片,经所述窄带滤光片滤波后的出射光的半高宽小于5nm。The refractometer according to any one of claims 1-18, characterized in that, the FWHM of the outgoing light of the light source module is less than 5 nm, or, a narrow-band filter is arranged on the outgoing light path of the light source module, The full width at half maximum of the outgoing light filtered by the narrow-band filter is less than 5 nm.
  22. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述光源模块的出射光路上设置有匀光片。The refractometer according to any one of claims 1-18, characterized in that a dodging sheet is arranged on the outgoing light path of the light source module.
  23. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述光源模块的出射光为绿光波段,且所述感光面阵为采用贝尔图形为RGGB的CMOS传感器。The refractometer according to any one of claims 1-18, wherein the outgoing light of the light source module is in the green light band, and the photosensitive area array is a CMOS sensor with a Bell pattern of RGGB.
  24. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述处理器还用于在根据所述探测图像确定所述探测图像中的亮度突变界线之前,确定所述探测图像的亮度与预设亮度的差值的绝对值大于阈值。The refractometer according to any one of claims 1-18, wherein the processor is further configured to determine the threshold of the detection image before determining the boundary line of the sudden change in brightness in the detection image according to the detection image. The absolute value of the difference between the brightness and the preset brightness is greater than the threshold.
  25. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述处理器还用于在根据所述探测图像确定所述探测图像中的亮度突变界线之前,根据所述探测图像中的目标像素行的上下至少部分像素行对所述目标像素行进行滤噪。The refractometer according to any one of claims 1-18, wherein the processor is further configured to, before determining the boundary line of a sudden change in brightness in the detection image according to the detection image, according to the Perform noise filtering on the target pixel row at least part of the pixel rows above and below the target pixel row.
  26. 根据权利要求25所述的折光仪,其特征在于,所述处理器用于根据所述目标像素行的像素值和所述至少部分像素行的像素值的加权平均值作为所述目标像素行滤噪后的像素值。The refractometer according to claim 25, wherein the processor is configured to use the weighted average of the pixel values of the target pixel row and the pixel values of at least some of the pixel rows as the target pixel row for noise filtering After the pixel value.
  27. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述处理器还用于确定所述探测图像中受杂散光影响的像素行,其中,所述受杂散光影响的像素行未用于确定位于所述全反射界面背向所述光源模块的一侧的介质的折射率。The refractometer according to any one of claims 1-18, wherein the processor is further configured to determine the row of pixels affected by stray light in the detection image, wherein the pixels affected by stray light The row is not used to determine the refractive index of the medium on the side of the total reflection interface facing away from the light source module.
  28. 根据权利要求26所述的折光仪,其特征在于,所述处理器还用于根据多行像素行的亮度对比结果和/或多帧探测图像的亮度对比结果确定所述探测图像中受杂散光影响的像素行。The refractometer according to claim 26, wherein the processor is further configured to determine the intensity of stray light in the detection image according to the brightness comparison results of multiple rows of pixel rows and/or the brightness comparison results of multiple frames of detection images. The affected pixel row.
  29. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述探测图像是根据所述感光面阵获取 到的多帧图像进行加权求和得到的。The refractometer according to any one of claims 1-18, wherein the detection image is obtained by weighted summation of multiple frames of images acquired by the photosensitive surface array.
  30. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述处理器还用于根据所述探测图像计算位于所述全反射界面背向所述光源模块的一侧的介质的浊度。The refractometer according to any one of claims 1-18, wherein the processor is further configured to calculate, according to the detection image, the Turbidity.
  31. 根据权利要求30所述的折光仪,其特征在于,所述探测图像包括非反射区域,所述处理器用于获取所述非反射区域中的非全反射区域的散射亮度和/或所述亮度突变界线的模糊程度,以及根据所述非反射区域中的非全反射区域的散射亮度和/或所述亮度突变界线的模糊程度计算所述浊度;The refractometer according to claim 30, wherein the detection image includes a non-reflection area, and the processor is configured to obtain the scattered brightness and/or the sudden change in brightness of a non-total reflection area in the non-reflection area the degree of fuzziness of the boundary line, and calculating the turbidity according to the scattered brightness of the non-total reflection region in the non-reflection region and/or the fuzziness degree of the boundary line of the sudden change in brightness;
    其中,所述非反射区域中的非全反射区域对应所述非反射区域中以小于全反射角入射所述全反射界面后入射至所述感光面阵的区域。Wherein, the non-total reflection area in the non-reflection area corresponds to the area in the non-reflection area that is incident on the total reflection interface at an angle smaller than the total reflection angle and then incident on the photosensitive array.
  32. 根据权利要求31所述的折光仪,其特征在于,所述非反射区域还包括位于所述非全反射区域一侧的全反射区域;The refractometer according to claim 31, wherein the non-reflective area further includes a total reflection area located on one side of the non-total reflection area;
    所述处理器用于以所述非反射区域中的全反射区域的亮度为基准值计算所述探测图像中的非反射区域的非全反射区域的散射亮度。The processor is configured to use the brightness of the total reflection area in the non-reflection area as a reference value to calculate the scattering brightness of the non-total reflection area of the non-reflection area in the detection image.
  33. 根据权利要求31所述的折光仪,其特征在于,所述处理器用于在待测液体的浓度低于预设浓度时根据所述探测图像中的非反射区域上的非全反射区域的散射亮度计算所述待测液体的浊度,在所述待测液体的浓度高于预设浓度时根据所述探测图像上的亮度突变界线的模糊程度来计算所述待测液体的浊度。The refractometer according to claim 31, wherein the processor is configured to use the scattering brightness of the non-total reflection area on the non-reflection area in the detection image when the concentration of the liquid to be measured is lower than the preset concentration The turbidity of the liquid to be tested is calculated, and the turbidity of the liquid to be tested is calculated according to the degree of fuzziness of the boundary line of sudden brightness changes on the detection image when the concentration of the liquid to be tested is higher than a preset concentration.
  34. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述折光仪具有待机模式;The refractometer according to any one of claims 1-18, wherein the refractometer has a standby mode;
    在所述待机模式中,所述控制模块于休眠待机状态,所述光源模块和所述感光面阵处于断电状态。In the standby mode, the control module is in a dormant standby state, and the light source module and the photosensitive array are in a power-off state.
  35. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述折光仪具有低功耗模式下,The refractometer according to any one of claims 1-18, wherein the refractometer has a low power consumption mode,
    在所述低功耗模式中,所述控制模块用于控制所述光源模块和所述感光面阵同步频闪。In the low power consumption mode, the control module is used to control the light source module and the photosensitive array to flash synchronously.
  36. 根据权利要求35所述的折光仪,其特征在于,所述控制模块用于根据所述感光面阵的帧信号同步触发脉冲宽度调制信号对所述光源模块控制。The refractometer according to claim 35, wherein the control module is configured to synchronously trigger a pulse width modulation signal to control the light source module according to the frame signal of the photosensitive array.
  37. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述控制模块还用于获取当前环境的亮度信息,以及根据所述亮度信息调整所述感光面阵的探测图像画质。The refractometer according to any one of claims 1-18, wherein the control module is also used to obtain brightness information of the current environment, and adjust the detection image quality of the photosensitive surface array according to the brightness information .
  38. 根据权利要求37所述的折光仪,其特征在于,所述控制模块用于通过调整以下至少一项来调整所述感光面阵的探测图像画质:The refractometer according to claim 37, wherein the control module is used to adjust the detection image quality of the photosensitive surface array by adjusting at least one of the following:
    所述光源模块的出射光强度、所述感光面阵的曝光时长、所述感光面阵的模拟增益、所述感光面阵的数字增益。The emitted light intensity of the light source module, the exposure time of the photosensitive array, the analog gain of the photosensitive array, and the digital gain of the photosensitive array.
  39. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述折光仪还包括第一温度传感器和第二温度传感器,所述第一温度传感器设置在反射模块内部或者反射模块的表面上位于光路之外的区域上,用于检测反射模块的温度;所述第二温度传感器,设置在所述反射模块面向待测液体的一侧的表面上,用于探测待测液体的温度;The refractometer according to any one of claims 1-18, characterized in that the refractometer further comprises a first temperature sensor and a second temperature sensor, and the first temperature sensor is arranged inside the reflective module or on the reflective module The surface is located on the area outside the optical path, and is used to detect the temperature of the reflection module; the second temperature sensor is arranged on the surface of the reflection module facing the liquid to be measured, and is used to detect the temperature of the liquid to be measured ;
    所述处理器内预先存储有待测液体的温度、反射模块的温度与待测液体的折射率的关系模型,所述处理器还用于根据所述第一温度传感器和所述第二温度传感器获取到的温度和所述关系模型来计算待测液体的折射率。The temperature of the liquid to be measured, the relationship model between the temperature of the reflection module and the refractive index of the liquid to be measured are pre-stored in the processor, and the processor is also used to The obtained temperature and the relationship model are used to calculate the refractive index of the liquid to be measured.
  40. 根据权利要求1-18任一项所述的折光仪,其特征在于,所述感光面阵为面阵CMOS图像传感器。The refractometer according to any one of claims 1-18, wherein the photosensitive area array is an area array CMOS image sensor.
  41. 一种探测折射率的方法,其特征在于,包括:A method for detecting a refractive index, comprising:
    向折光仪内的反射模块发射光束;Sending a beam of light to the reflective module inside the refractometer;
    通过汇聚模块将被所述反射模块至少全反射的光束汇聚至位于所述汇聚模块的焦平面上的感光阵列;converging the light beam at least totally reflected by the reflection module to the photosensitive array located on the focal plane of the converging module through the converging module;
    利用所述感光阵列对接收的光束成像,生成探测图像;Using the photosensitive array to image the received light beam to generate a detection image;
    根据所述探测图像确定所述探测图像中的亮度突变界线;determining a boundary line of a sudden change in brightness in the detection image according to the detection image;
    根据所述亮度突变界线在所述探测图像中的位置确定所述亮度突变界线对应的介质的折射率。The refractive index of the medium corresponding to the sudden brightness change boundary is determined according to the position of the sudden brightness change boundary in the detection image.
  42. 根据权利要求41所述的方法,其特征在于,其中,所述折光仪还包括设置在所述反射模块中的第一介质表面上的探测区,当所述探测区覆盖有待测液体,且所述待测液体的折射率低于所述第一介质的折射率时,所述光束的至少部分被所述待测液体全反射;The method according to claim 41, wherein the refractometer further comprises a detection area arranged on the surface of the first medium in the reflection module, when the detection area is covered with the liquid to be measured, and When the refractive index of the liquid to be measured is lower than that of the first medium, at least part of the light beam is totally reflected by the liquid to be measured;
    所述探测图像内仅形成有一条对应所述待测液体的折射率的亮度突变界线。There is only one boundary line corresponding to the sudden change in brightness of the refractive index of the liquid to be measured formed in the detection image.
  43. 根据权利要求41所述的方法,其特征在于,其中,所述光束包括第一光束和第二光束,所述反射模块包括相邻设置的第一介质和第二介质,所述第一介质的折射率大于所述第二介质的折射率,所述第一光束从所述第一介质入射至所述第二介质,且至少部分被所述第二介质全反射;The method according to claim 41, wherein the light beam includes a first light beam and a second light beam, and the reflective module includes a first medium and a second medium adjacently arranged, and the light beam of the first medium The refractive index is greater than the refractive index of the second medium, the first light beam is incident from the first medium to the second medium, and is at least partially totally reflected by the second medium;
    所述折光仪还包括探测区,设置在所述反射模块内的其中一个介质的表面上,用于接收所述第二光束;当所述探测区覆盖有待测液体,且所述待测液体的折射率低于所述其中一个介质的折射率时,所述第二光束的至少部分被所述待测液体全反射;所述探测图像中形成有所述第二介质对应的第一亮度突变界线和所述待测液体对应的第二亮度突变界线,The refractometer also includes a detection area, which is arranged on the surface of one of the media in the reflection module, and is used to receive the second light beam; when the detection area is covered with the liquid to be measured, and the liquid to be measured When the refractive index is lower than the refractive index of one of the mediums, at least part of the second light beam is totally reflected by the liquid to be tested; the detection image is formed with a first sudden change in brightness corresponding to the second medium the boundary line and the second brightness sudden change boundary line corresponding to the liquid to be tested,
    所述方法还包括:The method also includes:
    根据所述第二亮度突变界线的位置计算所述待测液体的折射率,calculating the refractive index of the liquid to be tested according to the position of the second sudden change in brightness,
    根据所述第一亮度突变界线的位置对所述待测液体的折射率进行校正。The refractive index of the liquid to be measured is corrected according to the position of the first brightness mutation boundary line.
  44. 根据权利要求43所述的方法,其特征在于,其中,所述探测区和所述第二介质分别位于所述第一介质的同一个表面上的不同区域,所述第二光束从所述第一介质未经过所述第二介质入射至所述探测区。The method according to claim 43, wherein the detection area and the second medium are respectively located in different areas on the same surface of the first medium, and the second light beam is transmitted from the first medium A medium is incident to the detection zone without passing through the second medium.
  45. 根据权利要求44所述的方法,其特征在于,所述反射模块还包括具有与所述第二介质不同折射率的第三介质,与所述探测区、所述第二介质分别位于所述第一介质的同一个表面上的不同区域;The method according to claim 44, characterized in that, the reflection module further comprises a third medium having a different refractive index from the second medium, and the detection area and the second medium are respectively located in the third medium. Different regions on the same surface of a medium;
    所述光束还包括第三光束,所述第三光束从所述第一介质入射至所述第三介质时至少部分全反射,且所述探测图像中还形成所述第三介质对应的第三亮度突变界线;The light beam also includes a third light beam, the third light beam is at least partially totally reflected when incident on the third medium from the first medium, and a third light corresponding to the third medium is also formed in the detection image. Luminance mutation boundary;
    所述根据所述第一亮度突变界线的位置对所述待测液体的折射率进行校正包括:The correcting the refractive index of the liquid to be measured according to the position of the first brightness mutation boundary line includes:
    根据所述第一亮度突变界线和/或所述第三亮度突变界线对所述待测液体的折射率进行校正。The refractive index of the liquid to be tested is corrected according to the first sudden change in brightness boundary and/or the third sudden change in brightness.
  46. 根据权利要求44所述的方法,其特征在于,所述第一介质包括具有光入射面、光出射面和探测面的棱镜,所述探测区和所述第二介质分别位于所述探测面的不同区域上;The method according to claim 44, wherein the first medium comprises a prism having a light incident surface, a light exit surface and a detection surface, and the detection area and the second medium are respectively located on the sides of the detection surface. in different areas;
    所述方法还包括:The method also includes:
    通过所述光出射面上的第一出光口允许经所述第二介质全反射的至少部分光束通过所述第一出光口入射至所述汇聚透镜,The first light exit on the light exit surface allows at least part of the light beams totally reflected by the second medium to enter the converging lens through the first light exit,
    通过所述光出射面上的第二出光口允许经所述待测液体全反射的至少部分光束通过所述第二出光口入射至所述汇聚透镜。The second light exit on the light exit surface allows at least part of the light beams totally reflected by the liquid to be measured to enter the converging lens through the second light exit.
  47. 根据权利要求46所述的方法,所述光入射面上还设置有入光口,所述第一光束和所述第二光束通过所述入光口入射至所述探测面上;According to the method according to claim 46, a light entrance is further provided on the light incident surface, and the first light beam and the second light beam are incident on the detection surface through the light entrance;
    其中,所述第一出光口和所述第二出光口分别位于所述入光口在所述光出射面上的投影的两侧,且与所述投影未有交叠。Wherein, the first light exit port and the second light exit port are respectively located on two sides of the projection of the light entry port on the light exit surface, and do not overlap with the projection.
  48. 根据权利要求43所述的方法,其特征在于,所述第一介质、所述第二介质和所述探测区层叠设置,且所述探测区设置在所述第二介质背向所述第一介质的一侧,第二光束依次穿过所述第一介质和所述第二介质。The method according to claim 43, characterized in that, the first medium, the second medium and the detection area are stacked, and the detection area is set on the side where the second medium faces away from the first one side of the medium, and the second light beam passes through the first medium and the second medium in sequence.
  49. 根据权利要求48所述的方法,其特征在于,所述反射模块包括具有光入射面、光出射面和探测面的棱镜,所述探测区位于所述探测面上;且所述探测区和所述探测面之间夹有经固化的材料层和透光玻璃层,所述透光玻璃层用于将所述材料层和所述棱镜密封在所述折光仪内,所述探测区位于所述透光玻璃层背向所述材料层的一侧。The method according to claim 48, wherein the reflection module comprises a prism having a light incident surface, a light exit surface and a detection surface, the detection area is located on the detection surface; and the detection area and the A cured material layer and a light-transmitting glass layer are sandwiched between the detection surfaces, and the light-transmitting glass layer is used to seal the material layer and the prism in the refractometer, and the detection area is located in the The side of the light-transmitting glass layer facing away from the material layer.
  50. 根据权利要求49所述的方法,其特征在于,所述棱镜的折射率大于所述材料层的折射率,且所述材料层的折射率大于所述透光玻璃层的折射率,当所述待测液体的折射率小于所述透光玻璃层的折射率时,所述探测图像上形成有至少三条亮度突变分界线;The method according to claim 49, wherein the refractive index of the prism is greater than the refractive index of the material layer, and the refractive index of the material layer is greater than the refractive index of the transparent glass layer, when the When the refractive index of the liquid to be measured is smaller than the refractive index of the light-transmitting glass layer, at least three dividing lines of sudden brightness changes are formed on the detection image;
    所述第一介质为所述棱镜,所述第二介质为所述材料层;或者,所述第一介质为所述材料层,所述第二介质为所述透光玻璃层。The first medium is the prism, and the second medium is the material layer; or, the first medium is the material layer, and the second medium is the transparent glass layer.
  51. 根据权利要求49所述的方法,其特征在于,所述棱镜的折射率大于所述材料层的折射率,所述材料层的折射率大于所述透光玻璃层的折射率,且所述感光面阵避开经所述材料层全反射的光束经所述汇聚透镜汇聚的位置,使得所述探测图像上仅形成有两条亮度突变分界线;The method according to claim 49, wherein the refractive index of the prism is greater than the refractive index of the material layer, the refractive index of the material layer is greater than the refractive index of the light-transmitting glass layer, and the photosensitive The area array avoids the position where the light beams totally reflected by the material layer are converged by the converging lens, so that only two dividing lines with abrupt brightness changes are formed on the detection image;
    所述第一介质为所述材料层,所述第二介质为所述透光玻璃层。The first medium is the material layer, and the second medium is the transparent glass layer.
  52. 根据权利要求49所述的方法,其特征在于,所述棱镜的折射率大于所述材料层的折射率,所述材料层的折射率小于或等于所述透光玻璃层的折射率,所述第一介质为所述棱镜,所述第二介质为所述材料层,或者,The method according to claim 49, wherein the refractive index of the prism is greater than the refractive index of the material layer, the refractive index of the material layer is less than or equal to the refractive index of the transparent glass layer, and the The first medium is said prism and said second medium is said layer of material, or,
    所述棱镜的折射率小于或等于所述材料层的折射率,所述材料层的折射率大于所述透光玻璃层的折射率。The refractive index of the prism is less than or equal to the refractive index of the material layer, and the refractive index of the material layer is greater than the refractive index of the transparent glass layer.
  53. 根据权利要求49所述的方法,其特征在于,所述经固化的材料层是经光固化的涂层,或者是经高温固化的涂层,或者是经自然固化的涂层。The method according to claim 49, wherein the cured material layer is a photocured coating, or a high temperature cured coating, or a naturally cured coating.
  54. 根据权利要求49所述的方法,所述经固化的材料层是经光固化的无影胶层。The method of claim 49, wherein the cured layer of material is a light-cured shadowless adhesive layer.
  55. 根据权利要求49所述的方法,所述透光玻璃层的折射率大于所述折光仪的折射率测量量程的最大值。The method according to claim 49, the refractive index of the transparent glass layer is greater than the maximum value of the refractive index measurement range of the refractometer.
  56. 根据权利要求43所述的方法,其特征在于,所述第二介质的折射率大于1.33且不大于1.6,且折射率随温度变化的数值位于-0.0003/deg C到0.0003/deg C之内。The method according to claim 43, characterized in that, the refractive index of the second medium is greater than 1.33 and not greater than 1.6, and the value of the change of the refractive index with temperature is within -0.0003/deg C to 0.0003/deg C.
  57. 根据权利要求43所述的方法,其特征在于,所述探测图像包括相对的第一边缘和第二边缘,其 中所述探测图像中的亮度突变界线距离该第一边缘越近时对应的折射率越高;The method according to claim 43, wherein the detection image includes a first edge and a second edge opposite to each other, and the corresponding refractive index of the boundary line of sudden brightness change in the detection image is closer to the first edge higher;
    所述第一亮度突变界线位于所述探测图像中第一边缘和所述折光仪的折射率测量量程中的最大折射率对应的亮度突变界线之间。The first sudden change boundary line of brightness is located between the first edge in the detection image and the sudden change boundary line of brightness corresponding to the maximum refractive index in the refractive index measurement range of the refractometer.
  58. 根据权利要求43所述的方法,其特征在于,所述光束由光源模块发射,所述利用所述感光阵列对接收的光束成像,生成探测图像,包括:The method according to claim 43, wherein the light beam is emitted by a light source module, and using the photosensitive array to image the received light beam to generate a detection image includes:
    生成探测图像序列,其中所述探测图像序列中至少部分图像采用的曝光参数不同;或者,所述探测图像序列中的至少部分图像对应的所述光源模块的发光强度不同。A sequence of detection images is generated, wherein at least some of the images in the sequence of detection images adopt different exposure parameters; or at least some of the images in the sequence of detection images correspond to different luminous intensities of the light source modules.
  59. 根据权利要求41-58任一项所述的方法,其特征在于,所述光源模块的发光面的口径和所述汇聚模块的通光口径相同或者相差小于所述发光面的口径的1/5,The method according to any one of claims 41-58, characterized in that the diameter of the light-emitting surface of the light source module is the same as the light-passing diameter of the converging module or the difference is less than 1/5 of the diameter of the light-emitting surface ,
    或者,所述光源模块的发光面的口径大于所述汇聚模块的通光口径的2倍。Alternatively, the aperture of the light emitting surface of the light source module is greater than twice the light aperture of the converging module.
  60. 根据权利要求41-58任一项所述的方法,其特征在于,所述感光面阵的探测角度范围覆盖所述汇聚模块的全反射角范围。The method according to any one of claims 41-58, wherein the detection angle range of the photosensitive surface array covers the total reflection angle range of the converging module.
  61. 根据权利要求41-58任一项所述的方法,其特征在于,所述光源模块的出射光的半高宽小于5nm,或者,所述光源模块的出射光路上设置有窄带滤光片,经所述窄带滤光片滤波后的出射光的半高宽小于5nm。The method according to any one of claims 41-58, characterized in that, the FWHM of the outgoing light of the light source module is less than 5 nm, or, a narrow-band filter is arranged on the outgoing light path of the light source module, through The full width at half maximum of the outgoing light filtered by the narrow-band filter is less than 5 nm.
  62. 根据权利要求41-58任一项所述的方法,其特征在于,所述光源模块的出射光路上设置有匀光片。The method according to any one of claims 41-58, characterized in that a dodging sheet is arranged on the outgoing light path of the light source module.
  63. 根据权利要求41-58任一项所述的方法,其特征在于,所述光源模块的出射光为绿光波段,且所述感光面阵为采用贝尔图形为RGGB的CMOS传感器。The method according to any one of claims 41-58, wherein the emitted light of the light source module is in the green light band, and the photosensitive area array is a CMOS sensor with a Bell pattern of RGGB.
  64. 根据权利要求41-58任一项所述的方法,其特征在于,在所述根据所述探测图像确定所述探测图像中的亮度突变界线之前还包括:The method according to any one of claims 41-58, further comprising:
    确定所述探测图像的亮度与预设亮度的差值的绝对值大于阈值。It is determined that the absolute value of the difference between the brightness of the detection image and the preset brightness is greater than a threshold.
  65. 根据权利要求41-58任一项所述的方法,其特征在于,在根据所述探测图像确定所述探测图像中的亮度突变界线之前还包括:The method according to any one of claims 41-58, further comprising:
    根据所述探测图像中的目标像素行的上下至少部分像素行对所述目标像素行进行滤噪。Noise filtering is performed on the target pixel row according to at least part of the upper and lower pixel rows of the target pixel row in the detection image.
  66. 根据权利要求41-58任一项所述的方法,其特征在于,所述根据所述探测图像中的目标像素行的上下至少部分像素行对所述目标像素行进行滤噪,包括:The method according to any one of claims 41-58, wherein the noise filtering of the target pixel row according to at least part of the upper and lower pixel rows of the target pixel row in the detection image includes:
    根据所述目标像素行的像素值和所述至少部分像素行的像素值的加权平均值作为所述目标像素行滤噪后的像素值。A weighted average of the pixel values of the target pixel row and the pixel values of at least some of the pixel rows is used as the noise-filtered pixel value of the target pixel row.
  67. 根据权利要求41-58任一项所述的方法,其特征在于,在根据所述探测图像确定所述探测图像中的亮度突变界线之前还包括:The method according to any one of claims 41-58, further comprising:
    确定所述探测图像中受杂散光影响的像素行,determining rows of pixels in said probe image that are affected by stray light,
    其中,所述受杂散光影响的像素行未用于确定位于所述全反射界面背向所述光源模块的一侧的介质的折射率。Wherein, the pixel rows affected by stray light are not used to determine the refractive index of the medium located on the side of the total reflection interface facing away from the light source module.
  68. 根据权利要求41-58任一项所述的方法,其特征在于,所述探测图像是根据所述感光面阵获取 到的多帧图像进行加权求和得到的。The method according to any one of claims 41-58, wherein the detection image is obtained by weighted summation of multiple frames of images acquired by the photosensitive area array.
  69. 根据权利要求41-58任一项所述的方法,其特征在于,所述方法还包:The method according to any one of claims 41-58, wherein the method further comprises:
    获取所述位于全反射界面外侧的介质的温度和所述全反射界面的温度;acquiring the temperature of the medium outside the total reflection interface and the temperature of the total reflection interface;
    根据预先存储的待测介质的温度、所述全反射界面的温度与待测介质的折射率的关系模型,以及所述获取的位于全反射界面外侧的介质的温度和所述全反射界面的温度计算所述介质的折射率。According to the pre-stored temperature of the medium to be measured, the relationship model between the temperature of the total reflection interface and the refractive index of the medium to be measured, and the acquired temperature of the medium outside the total reflection interface and the temperature of the total reflection interface Compute the refractive index of the medium.
  70. 根据权利要求41-58任一项所述的方法,其特征在于,还包括:The method according to any one of claims 41-58, further comprising:
    根据所述探测图像计算位于所述反射模块外侧的介质的浊度。The turbidity of the medium located outside the reflection module is calculated from the detection image.
  71. 根据权利要求70所述的方法,其特征在于,所述探测图像包括非反射区域;The method of claim 70, wherein the probe image includes non-reflective regions;
    根据所述探测图像计算位于所述反射模块外侧的介质的浊度,包括:Calculating the turbidity of the medium located outside the reflection module according to the detection image, including:
    获取所述非反射区域中的非全反射区域的散射亮度和/或所述亮度突变界线的模糊程度;其中,所述非反射区域中的非全反射区域对应所述非反射区域中以小于全反射角入射所述反射模块后入射至所述感光面阵的区域;Obtaining the scattered luminance of the non-total reflection area in the non-reflection area and/or the blurring degree of the sudden change boundary of the brightness; After the reflection angle is incident on the reflection module, it is incident on the area of the photosensitive surface array;
    根据所述非反射区域中的非全反射区域的散射亮度和/或所述亮度突变界线的模糊程度计算所述浊度。The turbidity is calculated according to the scattering luminance of the non-total reflection area in the non-reflection area and/or the fuzziness of the boundary line of the sudden change in luminance.
  72. 根据权利要求71所述的方法,其特征在于,所述非反射区域还包括位于所述非全反射区域一侧的全反射区域;The method according to claim 71, wherein the non-reflective area further comprises a total reflection area located on one side of the non-total reflection area;
    所述获取所述非反射区域中的非全反射区域的散射亮度,包括:The acquisition of the scattered brightness of the non-total reflection area in the non-reflection area includes:
    以所述非反射区域中的全反射区域的亮度为基准值计算所述探测图像中的非反射区域的非全反射区域的散射亮度。The scattering brightness of the non-total reflection area of the non-reflection area in the detection image is calculated by using the brightness of the total reflection area in the non-reflection area as a reference value.
  73. 根据权利要求71所述的方法,其特征在于,所述根据所述非反射区域中的非全反射区域的散射亮度和/或所述亮度突变界线的模糊程度计算所述浊度,包括:The method according to claim 71, wherein the calculating the turbidity according to the scattering brightness of the non-total reflection area in the non-reflection area and/or the fuzziness of the boundary line of the sudden change in brightness comprises:
    在待测液体的浓度低于预设浓度时根据所述探测图像中的非反射区域上的非全反射区域的散射亮度计算所述待测液体的浊度;calculating the turbidity of the liquid to be tested according to the scattering brightness of the non-total reflection area on the non-reflection area in the detection image when the concentration of the liquid to be tested is lower than the preset concentration;
    在所述待测液体的浓度高于预设浓度时根据所述探测图像上的亮度突变界线的模糊程度来计算所述待测液体的浊度。When the concentration of the liquid to be tested is higher than a preset concentration, the turbidity of the liquid to be tested is calculated according to the fuzzy degree of the boundary line of sudden brightness change on the detection image.
  74. 根据权利要求70所述的方法,其特征在于,所述位于反射模块外侧的介质为待测液体;所述方法还包括:The method according to claim 70, wherein the medium positioned outside the reflection module is the liquid to be measured; the method further comprises:
    获取所述待测液体的体积;Obtain the volume of the liquid to be tested;
    根据所述待测液体的折射率、浊度和体积计算所述待测液体的卡路里。The calorie of the liquid to be tested is calculated according to the refractive index, turbidity and volume of the liquid to be tested.
  75. 根据权利要求70所述的方法,其特征在于,所述位于反射模块外侧的介质为待测液体;所述方法还包括:The method according to claim 70, wherein the medium positioned outside the reflection module is the liquid to be measured; the method further comprises:
    利用辅助设备获取辅助信息,其中,所述辅助设备包括色度计,所述辅助信息包括所述待测液体的颜色;或者,所述辅助设备包括阻抗计,所述辅助信息包括所述待测液体的离子含量;或者,所述辅助设备包括PH值计,所述辅助信息包括所述待测液体的酸度值;Use auxiliary equipment to obtain auxiliary information, wherein, the auxiliary equipment includes a colorimeter, and the auxiliary information includes the color of the liquid to be tested; or, the auxiliary equipment includes an impedance meter, and the auxiliary information includes the color of the liquid to be tested. The ion content of the liquid; or, the auxiliary equipment includes a pH meter, and the auxiliary information includes the acidity value of the liquid to be tested;
    根据所述辅助信息和所述待测液体的折射率和/或浊度确定所述待测液体的种类。The type of the liquid to be tested is determined according to the auxiliary information and the refractive index and/or turbidity of the liquid to be tested.
  76. 根据权利要求41-58任一项所述的方法,其特征在于,所述向折光仪内的反射模块发射光束之 前还包括:The method according to any one of claims 41-58, characterized in that, before sending the light beam to the reflection module in the refractometer, it also includes:
    发射液体对目标物体进行清洗,所述位于反射模块外侧的介质为清洗目标物体后的液体;The liquid is emitted to clean the target object, and the medium located outside the reflection module is the liquid after cleaning the target object;
    所述方法还包括:The method also includes:
    根据所述清洗目标物体后的液体的折射率判断所述目标物体的清洁度。The cleanliness of the target object is judged according to the refractive index of the liquid after cleaning the target object.
  77. 根据权利要求76所述的方法,其特征在于,所述方法还包括;The method according to claim 76, further comprising;
    根据所述目标物体的清洁度判断是否需要对所述目标物体继续清洗。Whether to continue cleaning the target object is judged according to the cleanliness of the target object.
  78. 根据权利要求41-58任一项所述的方法,其特征在于,所述向所述折光仪内的反射模块发射光束之前还包括:The method according to any one of claims 41-58, characterized in that before sending a light beam to the reflection module in the refractometer, it further comprises:
    将所述折光仪固定于管道内壁内或者所述管道内壁的表面;Fixing the refractometer in the inner wall of the pipeline or on the surface of the inner wall of the pipeline;
    其中,所述折光仪用于测量所述管道内的流动液体的折射率,所述亮度突变界线包括对应所述管道内的流动液体的亮度突变界线。Wherein, the refractometer is used to measure the refractive index of the flowing liquid in the pipeline, and the sudden change boundary of brightness includes a sudden change boundary of brightness corresponding to the liquid flowing in the pipeline.
  79. 一种探测装置,其特征在于,包括权利要求1-40任一项所述的折光仪。A detection device, characterized by comprising the refractometer according to any one of claims 1-40.
  80. 根据根据权利要求79所述的探测装置,其特征在于,所述探测装置为智能杯,包括杯盖和杯体;所述折光仪设置在所述杯盖处或者所述杯体底部,用于探测所述杯体内的液体的折射率;所述杯体的底部之上设置有薄膜,与所述杯体底部之间形成有密闭空间;所述密闭空间之内设有微气压传感器,用于探测所述杯体内的液体的体积;所述密闭空间内还设有计算模块,用于根据所述液体的体积和折射率计算所述液体的卡路里。According to the detection device according to claim 79, characterized in that, the detection device is a smart cup, including a cup cover and a cup body; the refractometer is arranged at the cup cover or the bottom of the cup body for Detect the refractive index of the liquid in the cup; a thin film is arranged on the bottom of the cup, and a closed space is formed between the bottom of the cup; a micro-pressure sensor is provided in the closed space for The volume of the liquid in the cup is detected; a calculation module is also provided in the closed space for calculating the calorie of the liquid according to the volume and refractive index of the liquid.
  81. 根据根据权利要求79所述的探测装置,其特征在于,所述探测装置为智能称,包括称体;所述折光仪设置在所述称体内,所述称体的表面还设置有液体容置区和第一显示区,所述折光仪用于探测所述液体容置区内的液体的折射率,且所述第一显示区用于显示该液体的折射率就;所述称体还设置有称重区和第二显示区,所述第二显示区用于显示在所述称重区上的物体的重量。According to the detection device according to claim 79, it is characterized in that, the detection device is an intelligent scale, including a scale body; the refractometer is arranged in the scale body, and the surface of the scale body is also provided with a liquid container area and a first display area, the refractometer is used to detect the refractive index of the liquid in the liquid accommodating area, and the first display area is used to display the refractive index of the liquid; the scale is also set There is a weighing area and a second display area for displaying the weight of an object on the weighing area.
PCT/CN2022/085257 2021-08-25 2022-04-06 Refractometer, detection apparatus, and method for detecting refractive index WO2023024523A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202280002123.1A CN115298536A (en) 2021-08-25 2022-04-06 Refractometer, detection device and method for detecting refractive index

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/114432 WO2023023964A1 (en) 2021-08-25 2021-08-25 Refractometer, smart cup, and refractive index measurement method
CNPCT/CN2021/114432 2021-08-25

Publications (1)

Publication Number Publication Date
WO2023024523A1 true WO2023024523A1 (en) 2023-03-02

Family

ID=85321506

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2021/114432 WO2023023964A1 (en) 2021-08-25 2021-08-25 Refractometer, smart cup, and refractive index measurement method
PCT/CN2022/085257 WO2023024523A1 (en) 2021-08-25 2022-04-06 Refractometer, detection apparatus, and method for detecting refractive index

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/114432 WO2023023964A1 (en) 2021-08-25 2021-08-25 Refractometer, smart cup, and refractive index measurement method

Country Status (1)

Country Link
WO (2) WO2023023964A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3650631A (en) * 1969-05-13 1972-03-21 Bayer Ag Arrangement and process for measuring the refractive index of liquids
JP2000019110A (en) * 1998-06-29 2000-01-21 Res:Kk Refractive index measuring apparatus
CN102967583A (en) * 2012-11-11 2013-03-13 华中科技大学 Measuring apparatus and method used for measuring liquid phase gas refraction index
CN104792732A (en) * 2015-04-04 2015-07-22 华中科技大学 Refractometer for self-reference of light source distribution
CN106918575A (en) * 2017-01-19 2017-07-04 上海胤飞自动化科技有限公司 A kind of online refractometer optical image security method and system
CN214622308U (en) * 2021-03-19 2021-11-05 深圳市流数科技有限公司 Refractometer and intelligent cup
CN215727691U (en) * 2021-06-25 2022-02-01 深圳市流数科技有限公司 Refractometer

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994024543A1 (en) * 1993-04-15 1994-10-27 Japan Energy Corporation Total reflection type sensor for measuring refraction index
FI96451C (en) * 1993-09-07 1996-06-25 Janesko Oy refractometer
US9194798B2 (en) * 2012-03-13 2015-11-24 Ut-Battelle, Llc Imaging based refractometer for hyperspectral refractive index detection
DE102019108561A1 (en) * 2019-04-02 2020-10-08 Endress+Hauser Process Solutions (Deutschland) GmbH Refractometer and method for determining the refractive index of a process medium with a refractometer

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3650631A (en) * 1969-05-13 1972-03-21 Bayer Ag Arrangement and process for measuring the refractive index of liquids
JP2000019110A (en) * 1998-06-29 2000-01-21 Res:Kk Refractive index measuring apparatus
CN102967583A (en) * 2012-11-11 2013-03-13 华中科技大学 Measuring apparatus and method used for measuring liquid phase gas refraction index
CN104792732A (en) * 2015-04-04 2015-07-22 华中科技大学 Refractometer for self-reference of light source distribution
CN106918575A (en) * 2017-01-19 2017-07-04 上海胤飞自动化科技有限公司 A kind of online refractometer optical image security method and system
CN214622308U (en) * 2021-03-19 2021-11-05 深圳市流数科技有限公司 Refractometer and intelligent cup
CN215727691U (en) * 2021-06-25 2022-02-01 深圳市流数科技有限公司 Refractometer

Also Published As

Publication number Publication date
WO2023023964A1 (en) 2023-03-02

Similar Documents

Publication Publication Date Title
US9224782B2 (en) Imaging systems with reference pixels for image flare mitigation
CN101452199B (en) Modulation transfer function value measurement method
CN106454289B (en) Control method, control device and electronic installation
US8988683B2 (en) Food analysis device
JP2016529483A (en) Aqueous environmental water parameter test system and method
CN106104296A (en) Including the optical imagery module of time-of-flight sensor and optical detecting module
CN104520754A (en) Systems and methods for manufacturing camera modules using active alignment of lens stack arrays and sensors
KR20140011258A (en) Method of detection of defects and defects detection device
US9066072B2 (en) Systems and methods for calibrating image sensors
WO2021081891A1 (en) Method for fingerprint recognition, fingerprint recognition apparatus and electronic device
CN105954232A (en) Liquid refractive index measuring system
KR20140014191A (en) Film thickness measuring device and film thickness measuring method
CN103727888B (en) Chromatic color filter film thickness measuring method and device
WO2023024523A1 (en) Refractometer, detection apparatus, and method for detecting refractive index
US11445694B2 (en) Milking system
JP3944693B2 (en) Film thickness measuring device
WO2021139479A1 (en) Passive three-dimensional image sensing based on spatial filtering
CN105758566A (en) Glass surface stress gauge
US8928883B1 (en) Optical device for detection of an agent
EP3121588B1 (en) Optical characteristic measuring apparatus
CN115298536A (en) Refractometer, detection device and method for detecting refractive index
US20130229530A1 (en) Spectral calibration of imaging devices
KR102045544B1 (en) Printed circuit board conformal coating thickness measurement apparatus and method
US20210048388A1 (en) Portable refractometer
KR102487590B1 (en) Method for measuring of object based on face-recognition

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: 22859877

Country of ref document: EP

Kind code of ref document: A1