Search

CN-121977650-A - Sensor and measuring method

CN121977650ACN 121977650 ACN121977650 ACN 121977650ACN-121977650-A

Abstract

The application provides a sensor and a measuring method. The sensor comprises a light source, a light splitting element, a first measuring lens group, a second measuring lens group, an optical conversion group, an image sensor and a data processor, wherein the first measuring lens group and the second measuring lens group are used for receiving and transmitting measuring light beams from the light splitting element, enabling the measuring light beams to be emitted to an object to be measured, forming feedback light beams after the measuring light beams are reflected by the object to be measured, when the sensor is used for measuring color information, the sensor adopts the first measuring lens group, and when the sensor is used for measuring morphology information, the sensor adopts the second measuring lens group. According to the application, the color sensor and the ranging sensor are designed on the same design framework, and different measurement requirements including measurement color and ranging can be realized by replacing the first measurement lens group and the second measurement lens group, so that development and production cost is reduced. Moreover, the sensor provided by the application can be used for measuring the color, and more calculation units can be utilized, so that the accuracy and the robustness of color measurement are improved.

Inventors

  • Ruan Dichao
  • XU WEICAI
  • LIU FUHUISHENG
  • JIN SHAOFENG

Assignees

  • 深圳市深视智能科技股份有限公司

Dates

Publication Date
20260505
Application Date
20260212

Claims (10)

  1. 1. A sensor for measuring color information and topography information, the sensor comprising: A light source for outputting a measuring beam; a spectroscopic element for receiving and transmitting a measuring beam from the light source; the sensor comprises a first measuring lens group and a second measuring lens group, wherein the first measuring lens group and the second measuring lens group are switchable and are used for receiving and transmitting measuring light beams from the light splitting element, and enabling the measuring light beams to be emitted to an object to be measured, and the measuring light beams are reflected by the object to be measured to form feedback light beams; an optical conversion group for decomposing the feedback light beam into a plurality of feedback sub-light beams with different wavelengths; The image sensor is used for receiving the feedback sub-beams, and the feedback sub-beams respectively irradiate to different pixel positions of the image sensor; The data processor is electrically connected with the image sensor and is used for calculating the color information and the distance information of the object to be detected according to the wavelength information of the feedback sub-beams corresponding to the pixel information of the image sensor, and further obtaining the shape information of the object to be detected.
  2. 2. The sensor of claim 1, wherein the first measurement lens set and the second measurement lens set satisfy at least one of the following conditions: The first measuring lens group comprises a first focusing lens group, and when the area to be measured of the object to be measured is smaller than a first preset value, the first measuring lens group adopts the first focusing lens group; the first measuring lens group comprises a flat plate window sheet, and when the area to be measured of the object to be measured is larger than a second preset value, the first measuring lens group adopts the flat plate window sheet; the second measurement lens group comprises a dispersive objective lens.
  3. 3. The sensor of claim 1, wherein the optical conversion group includes a conversion element for decomposing the feedback light beam into a plurality of feedback sub-beams having different wavelengths; Wherein the conversion element is selected from one of a concave grating, a reflective diffraction grating, a transmissive diffraction grating, and a dispersive prism.
  4. 4. The sensor of claim 3, wherein the optical conversion set further comprises: The second focusing lens group is used for receiving and gathering feedback light beams from the object to be detected; The optical filter is provided with a slit, wherein the feedback light beams collected by the second focusing lens group are converged at the slit, and the feedback light beams at the slit are emitted to the conversion piece.
  5. 5. The sensor of claim 4, wherein the optical conversion set further comprises: The first collimating lens group is arranged between the optical filter piece and the conversion piece, and is used for receiving the feedback light beam at the slit and converting the feedback light beam into parallel light, and the feedback light beam in the form of parallel light is emitted to the conversion piece; the third focusing lens group is arranged between the conversion piece and the image sensor and is used for receiving and gathering a plurality of feedback sub-beams from the conversion piece and enabling the gathered feedback sub-beams to be emitted to the image sensor.
  6. 6. The sensor of claim 1, wherein the data processor is further configured to perform a color recognition method comprising: A first reference curve a is obtained for the wavelength of the reference color and the corresponding light intensity, The data processor is also used for acquiring a second measurement curve B of the wavelength of the color of the object to be detected and the corresponding light intensity, Wherein, the method comprises the steps of, Is the wavelength of the light rays and, The intensity of the light corresponding to the wavelength is obtained, and n is the number of the interpolated or extracted sampling points; obtaining a normalized value of the first reference curve A , ; Obtaining a normalized value of the second measurement curve B , ; According to And (3) with Judging whether the color information of the object to be detected corresponds to the color information of the reference object.
  7. 7. The sensor of claim 6, wherein the color recognition method further comprises: obtaining the derivative of the first reference curve A , Obtaining the derivative of the second measurement curve B , Wherein, the method comprises the steps of, Is a preset wavelength interval; Judging according to the directions of the first reference curve A and the second measurement curve B, and determining a direction correlation coefficient Wherein N is the total number of sampling points, In sign (x), if x >0, sign (x) =1, positive direction, if x=0, sign (x) =0, no direction, if x <0, sign (x) = -1, negative direction; Judging according to the change trend of the first reference curve A and the second measurement curve B, and changing the correlation coefficient Wherein N is the total number of sampling points, r is 0-1, and the closer r is 1, the more similar the variation trend of the first reference curve A and the second measurement curve B is; Obtaining wavelength similarity , Wherein, L+K=1, M is a similarity characterization value, The closer to M the more similar the wavelengths of the first reference curve a and the second measurement curve B are.
  8. 8. The sensor of claim 6, wherein the color recognition method further comprises: judging according to the light intensity of the first reference curve A and the second measurement curve B, Wherein N is the total number of sampling points, 0 To 1; obtaining light intensity similarity , Wherein M is a similarity characterization value, The closer to M the more similar the light intensities of the first reference curve a and the second measurement curve B are.
  9. 9. The sensor of claim 6, wherein the color recognition method further comprises: Obtaining comprehensive similarity of wavelength and light intensity , Wherein, the method comprises the steps of, As the value of the weight of the wavelength, As the weight value of the light intensity, Is in the range of 0 to 1, Is in the range of 0 to 1, M is a similarity characterization value, The closer M is, the more similar the wavelength and light intensity of the first reference curve A and the second measurement curve B are.
  10. 10. A method of measurement, the method comprising: Providing a sensor according to claim 1; controlling the light source to output a measuring beam; controlling the light splitting element to receive and transmit the measuring light beam from the light source; Switching the first measuring lens group and the second measuring lens group, wherein the first measuring lens group or the second measuring lens group receives and transmits measuring light beams from the light splitting element, the measuring light beams are emitted to an object to be measured, and the measuring light beams are reflected by the object to be measured to form feedback light beams; controlling the optical conversion group to receive the feedback light beam and decomposing the feedback light beam into a plurality of feedback sub-light beams with different wavelengths; Controlling an image sensor to receive the feedback sub-beams, wherein the feedback sub-beams respectively irradiate to different pixel positions of the image sensor; And controlling the data processor to correspond to the wavelength information of the feedback sub-beams according to the pixel information of the image sensor, and calculating the color information and the distance information of the object to be detected, so as to obtain the shape information of the object to be detected.

Description

Sensor and measuring method Technical Field The application belongs to the technical field of sensor measurement, and particularly relates to a sensor and a measurement method. Background The existing color sensor and the ranging sensor are independent and cannot be used commonly, and the existing color sensor and the ranging sensor are required to be designed and manufactured respectively and cannot be used commonly. This results in high development and production costs of the device when colour information and topographical information of the object need to be measured. Disclosure of Invention In view of this, a first aspect of the present application provides a sensor for measuring color information and topography information, the sensor comprising: A light source for outputting a measuring beam; a spectroscopic element for receiving and transmitting a measuring beam from the light source; the sensor comprises a first measuring lens group and a second measuring lens group, wherein the first measuring lens group and the second measuring lens group are switchable and are used for receiving and transmitting measuring light beams from the light splitting element, and enabling the measuring light beams to be emitted to an object to be measured, and the measuring light beams are reflected by the object to be measured to form feedback light beams; an optical conversion group for decomposing the feedback light beam into a plurality of feedback sub-light beams with different wavelengths; The image sensor is used for receiving the feedback sub-beams, and the feedback sub-beams respectively irradiate to different pixel positions of the image sensor; The data processor is electrically connected with the image sensor and is used for calculating the color information and the distance information of the object to be detected according to the wavelength information of the feedback sub-beams corresponding to the pixel information of the image sensor, and further obtaining the shape information of the object to be detected. Wherein the first measurement lens set and the second measurement lens set satisfy at least one of the following conditions: The first measuring lens group comprises a first focusing lens group, and when the area to be measured of the object to be measured is smaller than a first preset value, the first measuring lens group adopts the first focusing lens group; the first measuring lens group comprises a flat plate window sheet, and when the area to be measured of the object to be measured is larger than a second preset value, the first measuring lens group adopts the flat plate window sheet; the second measurement lens group comprises a dispersive objective lens. The optical conversion group comprises a conversion piece, wherein the conversion piece is used for decomposing the feedback light beam into a plurality of feedback sub-light beams with different wavelengths; Wherein the conversion element is selected from one of a concave grating, a reflective diffraction grating, a transmissive diffraction grating, and a dispersive prism. Wherein the optical conversion group further comprises: The second focusing lens group is used for receiving and gathering feedback light beams from the object to be detected; The optical filter is provided with a slit, wherein the feedback light beams collected by the second focusing lens group are converged at the slit, and the feedback light beams at the slit are emitted to the conversion piece. Wherein the optical conversion group further comprises: The first collimating lens group is arranged between the optical filter piece and the conversion piece, and is used for receiving the feedback light beam at the slit and converting the feedback light beam into parallel light, and the feedback light beam in the form of parallel light is emitted to the conversion piece; the third focusing lens group is arranged between the conversion piece and the image sensor and is used for receiving and gathering a plurality of feedback sub-beams from the conversion piece and enabling the gathered feedback sub-beams to be emitted to the image sensor. Wherein the data processor is further configured to perform a color recognition method, the color recognition method comprising: A first reference curve a is obtained for the wavelength of the reference color and the corresponding light intensity, The data processor is also used for acquiring a second measurement curve B of the wavelength of the color of the object to be detected and the corresponding light intensity,Wherein, the method comprises the steps of,Is the wavelength of the light rays and,The intensity of the light corresponding to the wavelength is obtained, and n is the number of the interpolated or extracted sampling points; obtaining a normalized value of the first reference curve A ,; Obtaining a normalized value of the second measurement curve B,; According toAnd (3) withJudging whether the color information of the object to be