Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the calibration method and device of the optical sensor of the embodiment of the present invention are described.
In order to reduce requirement of the production line to optical sensor calibration environment, calibration accuracy and production efficiency, this Shen are improved
It please propose a kind of calibration method of optical sensor.
Fig. 1 is a kind of flow diagram of the calibration method of optical sensor provided by the embodiment of the present invention.
As shown in Figure 1, method includes the following steps:
Step 101, under camera bellows environment, the golden machine of calibration is obtained.
Wherein, golden machine refers to that indices and parameter all reach optimal machine, is mainly used for as Standard Machine to production line
On machine tested.Therefore, in the present embodiment, the gold of calibration can be obtained first in a glitch-free camera bellows environment
Machine, so as to improve the precision of test.
Specifically, the process for obtaining the golden machine of calibration, can be as shown in Figure 2, comprising the following steps:
Step 201, the optical sensor of machine to be selected is irradiated using default light source.
The intensity for the light that default light source issues is the first light intensity, the first light intensity, that is, etalon optical power.
Step 202, the intensity for the light that the optical sensor of machine to be selected receives is detected, and is recorded as the second light intensity.
In the ideal situation, what the intensity for the light that the optical sensor of machine to be selected receives should be issued with default light source
The intensity of light is identical, i.e. the first light intensity.But due to extraneous factors such as manufacture craft or environment, it will lead to optical sensor
The intensity of the light received and the intensity for the light that default light source issues are inconsistent, it is therefore desirable to pass to the optics of machine to be selected
Sensor is calibrated.
Step 203, the optical sensor of machine to be selected is calibrated according to the first light intensity and the second light intensity.
Specifically, the intensity for the light optical sensor of machine to be selected being an actually-received, i.e. the second light intensity calibration
For the first light intensity.
Step 204, using the machine to be selected after calibration as the golden machine of calibration.
It, can be by (it is strong equal to default source emissioning light to receive light intensity) machine to be selected after calibration after above-mentioned steps
The light source of station on production line is calibrated using golden machine as standard as golden machine.
In order to improve efficiency, more machines to be selected can be operated simultaneously, are calibrated to golden machine.
Step 102, it is calibrated using light source of the golden machine to station on production line.
Specifically, it is calibrated using light source of the golden machine to station on production line, it can be as shown in Figure 3, comprising the following steps:
Step 301, the optical sensor of golden machine is irradiated using the light source of station on production line.
Step 302, the intensity for the light that the optical sensor of the golden machine of detection receives, and it is recorded as third light intensity.
Step 303, the intensity of the light of the light source sending of station on production line is adjusted, so that the optical sensor of golden machine connects
The intensity of the light received is from third light intensity calibration to the first light intensity.
Step 304, the intensity for the light that the light source of station issues on the production line after record calibration, i.e. the 4th light intensity.
Due to extraneous factors such as manufacture craft or environment, the intensity for the light that the light source of station issues on production line is also had
It enters and leaves, therefore is also required to calibrate the light source of station on production line using the golden machine of standard, make the strong of the light of its sending
Degree is consistent, that is, is calibrated to the first light intensity.That is, the intensity for the light that the light source of station issues on adjustment production line,
The intensity for the light for receiving the optical sensor of golden machine is adjusted to the first light intensity.Work on the production line adjusted detected
The 4th light intensity of intensity for the light that the light source of position issues, can be confirmed as the first light intensity.
Step 103, it is carried out using optical sensor of the light source of station on the production line after calibration to the machine produced
Calibration.
It, can be using the light source of standard to the machine produced after the light source of station is calibrated on to production line
Optical sensor calibrated.
It specifically, can be as shown in Figure 4, comprising the following steps:
Step 401, using the light source of station on the production line after calibration, with the light for the machine that the irradiation of the 4th light intensity is produced
Learn sensor.
Step 402, the intensity for the light that the optical sensor of the machine produced receives is detected, and is recorded as the 5th light
By force.
Step 403, the optical sensor for the machine produced is calibrated according to the 4th light intensity and the 5th light intensity.
Specifically, calibration factor can be calculated according to the 4th light intensity and the 5th light intensity, then saves calibration factor to right
The machine produced answered, and calibrated using optical sensor of the calibration factor to the corresponding machine produced.
Wherein, calibration factor is the numerical value that the 4th light intensity is obtained divided by the 5th light intensity.
The intensity for the light that the light source of station issues on production line after the actually calibration of 4th light intensity, that is to say, that
4th light intensity is exactly the first light intensity of standard.Intensity (the 5th light for the light that the optical sensor for the machine produced receives
By force), it is had differences with the first light intensity of standard, it is therefore desirable to the optical sensor for the machine produced be calibrated, be it
It is complied with standard in use from now on.
The calibration method of the optical sensor of the embodiment of the present invention, by obtaining the golden machine of calibration under camera bellows environment,
And it is calibrated using light source of the golden machine to station on production line, and utilize the light source of station on the production line after calibration to life
The optical sensor of the machine of output is calibrated, and is calibrated respectively to the light source of station on golden machine and production line, is made its symbol
Standardization, being capable of effective exclusive PCR, requirement of the reduction production line to optical sensor calibration environment, raising calibration accuracy and life
Produce efficiency.
In order to realize above-described embodiment, the present invention also proposes a kind of calibrating installation of optical sensor.
Fig. 5 is a kind of structural schematic diagram of the calibrating installation of optical sensor provided in an embodiment of the present invention.
As shown in figure 5, the device includes: to obtain module 510, light source calibration module 520 and verification of machine module 530.
Module 510 is obtained, for obtaining the golden machine of calibration under camera bellows environment.
Light source calibration module 520, for being calibrated using light source of the golden machine to station on production line.
Verification of machine module 530, the light for the light source using station on the production line after calibration to the machine produced
Sensor is learned to be calibrated.
It should be noted that the explanation of the aforementioned calibration method embodiment to optical sensor is also applied for the implementation
The calibrating installation of the optical sensor of example, details are not described herein again.
The calibrating installation of the optical sensor of the embodiment of the present invention, by obtaining the golden machine of calibration under camera bellows environment,
And it is calibrated using light source of the golden machine to station on production line, and utilize the light source of station on the production line after calibration to life
The optical sensor of the machine of output is calibrated, and is calibrated respectively to the light source of station on golden machine and production line, is made its symbol
Standardization, being capable of effective exclusive PCR, requirement of the reduction production line to optical sensor calibration environment, raising calibration accuracy and life
Produce efficiency.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from
Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.