CN103513791A - Displacement detection device - Google Patents

Displacement detection device Download PDF

Info

Publication number
CN103513791A
CN103513791A CN201210211992.3A CN201210211992A CN103513791A CN 103513791 A CN103513791 A CN 103513791A CN 201210211992 A CN201210211992 A CN 201210211992A CN 103513791 A CN103513791 A CN 103513791A
Authority
CN
China
Prior art keywords
image
picture frame
displacement
displacement detector
sampling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210211992.3A
Other languages
Chinese (zh)
Other versions
CN103513791B (en
Inventor
高铭璨
古人豪
黄昱豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pixart Imaging Inc
Original Assignee
Pixart Imaging Inc
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 Pixart Imaging Inc filed Critical Pixart Imaging Inc
Priority to CN201210211992.3A priority Critical patent/CN103513791B/en
Priority to US13/858,131 priority patent/US9269148B2/en
Publication of CN103513791A publication Critical patent/CN103513791A/en
Application granted granted Critical
Publication of CN103513791B publication Critical patent/CN103513791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

Provided is a displacement detection device. The displacement detection device comprises a light source, an image sensor and a processing unit. The light source is used for lighting a working surface. The image sensor is used for obtaining the reflected light of the working surface to output an image frame. The processing unit selects a settable sampling range with the maximum image characteristic value from the image frame and calculates the displacement of the displacement detection device according to the settable sampling range.

Description

Displacement detector
Technical field
The present invention relates to a kind of interactive device, particularly a kind of capable of dynamic selects in picture frame valid pixel scope with the displacement detector of displacement calculating amount.
Background technology
Known optical mouse comprises light source, image sensor and processing unit conventionally, and controls on working surface for user.The described light source described working surface that is used for throwing light on; Described image sensor receives reflected light from described working surface with output map picture frame; Described processing unit calculates described optical mouse with respect to the displacement of described working surface according to the picture frame of described image sensor output, for example, according to the correlativity between picture frame (correlation), calculate described displacement.
In known optical mouse, owing to being obtained the reflected light of described working surface by described image sensor, when the image quality of the picture frame obtaining when described image sensor is not good, may there is correctly calculating the situation of described displacement.
For example, with reference to shown in Fig. 1, general optical mouse for example comprises light source 81, light source 81 scioptics 82 illumination work surfaces 9, and the reflected light of described working surface 9 is received by image sensor 84 by another lens 83.Optical mouse is when assembling, described image sensor 84 may not be to be accurately arranged at desired locations, for example, when described image sensor 84 is arranged at 84′ position, described image sensor 84 obtains the image quality of the formed picture frame of reflected light of described working surface 9 may be not good, thereby cause the situation of mistake computing.
In addition, even if described image sensor 84 is correctly arranged at desired locations, when described optical mouse is operated at different working surfaces, still may there is the situation of image space skew.For example, with reference to shown in Fig. 2 A, it illustrates the schematic diagram that optical mouse operates in glass surface, and now the reflected light of described working surface 9 still can be received by described image sensor 84; Yet when optical mouse operates in another glass surface with larger thickness, as shown in Figure 2 B, described image sensor 84 cannot correctly receive the reflected light from described working surface 9, image quality reduces and causes the situation of mistake computing.
Given this, the present invention also proposes a kind of displacement detector, and it can operate in various surfaces and can effectively overcome the situation that image quality that assembly error causes reduces.
Summary of the invention
The object of this invention is to provide a kind of displacement detector, it can overcome the situation that counting accuracy that assembly error causes reduces.
Another object of the present invention is to provide a kind of displacement detector, and it can adjust the sampling the set scope (window ofinterest) of picture frame according to different working surfaces, to increase counting accuracy.
The invention provides a kind of displacement detector, comprise light source, image sensor and processing unit.Described light source is with a projecting direction illumination work surface.The reflected light that described image sensor is used for obtaining described working surface is with output map picture frame.Described processing unit selects at least one can set sampling scope in described picture frame, and according to two described picture frames described, sets the displacement that sampling scope is calculated described displacement detector respectively.
The present invention also provides a kind of displacement detector, comprises light source, image sensing array, adder unit, analog/digital unit and processing unit.Described light source is with a projecting direction illumination work surface.The reflected light that described image sensing array is used for obtaining described working surface is to export the first simulation drawing picture frame.Described adder unit deducts D. C. value to export the second simulation drawing picture frame by described the first simulation drawing picture frame.Described analog/digital unit amplifies described the second simulation drawing picture frame and is converted to digital image frames.Described processing unit selects at least one can set sampling scope in described digital image frames, and sets the displacement of displacement detector described in sampling range computation according to described.Present embodiment can be used for characteristics of image when picture frame when less obvious, for increasing image feature value.
The present invention also provides a kind of displacement detector, comprises light source, image sensor and processing unit.Described light source is with a projecting direction illumination work surface.The reflected light that described image sensor is used for obtaining described working surface is with output map picture frame.Described processing unit is selected the sampling the set scope of image feature value maximum in described picture frame, and according to the described displacement that can setting range calculates described displacement detector.
In displacement detector of the present invention, the image sensing array that has a larger area (for example 32 * 128) by use is the reflected light from described working surface with complete reception, and wherein said image sensing array is preferably rectangle and its length and preferably to the direction of the horizontal component of described light source projects direction, extends.
The present invention is also by the sampling the set scope of selecting at least one can set sampling scope or image feature value maximum in the picture frame obtaining at described image sensor, to carry out correct displacement calculating amount according to the obvious pixel coverage of characteristics of image; Wherein, described image feature value maximum refers to that characteristics of image surpasses in the pixel coverage of default eigenwert, the average image eigenwert the maximum, and for example the numerical value maximum of the average image quality or the average image brightness are maximum.
Accompanying drawing explanation
Fig. 1 illustrates the schematic diagram of known optical mouse, and it illustrates the assembling deviation of image sensor.
Fig. 2 A and 2B illustrate known optical mouse action in the operation chart of the glass surface of different-thickness.
Fig. 3 illustrates the schematic diagram of the displacement detector of embodiment of the present invention, and it illustrates the assembling deviation of image sensor.
Fig. 4 illustrates the operation chart of the displacement detector of embodiment of the present invention.
The displacement detector that Fig. 5 A and 5B illustrate embodiment of the present invention operates in the operation chart of the glass surface of different-thickness.
Fig. 6 illustrates the block schematic diagram of the displacement detector of embodiment of the present invention.
Description of reference numerals
1 displacement detector 11,81 light sources
13,13 ', 13 " image sensors 130,130 ' can set sampling scope
131 image sensing array 133 adder units
135 analog/digital unit 15 processing units
16 digital-to- analog unit 17,19 optical elements
S, 9 working surface P projecting directions
P xprojecting direction horizontal component P yprojecting direction vertical component
L ximage sensing array length direction I fpicture frame
DAC D. C. value D xmean flow rate
A x, Ay brightness changes T 1, T 2thickness of glass
82,83 optical element V 84,84 ' image sensor
Embodiment
For allow above and other object of the present invention, feature and advantage can be more obvious, below cooperation accompanying drawing is elaborated.In explanation of the present invention, identical member represents with identical symbol, at this, first illustrates.
Shown in Fig. 3, it illustrates the schematic diagram of the displacement detector 1 of embodiment of the present invention.Displacement detector 1 comprises light source 11, image sensor 13 and processing unit 15; Displacement detector 1 described in some embodiment also can comprise for example lens of optical element 17(), for adjusting for example lens of the projection scope of described light source 11 and optical element 19(), for increasing the light receiving efficiency of described image sensor 13.Described displacement detector 1 is for detection of the displacement with respect to working surface S, and exports described displacement to electronic installation (not shown) to carry out corresponding control.Should be noted that, displacement detector described in Fig. 31 in fact only comprise an image sensor 13,13 ' or 13 "; three image sensors are shown for representing to assemble deviation herein; that is described image sensor may be positioned at 13,13 ' or 13 " one of them position not represents that described displacement detector 1 comprises three image sensors.
Described light source 11 for example can be light emitting diode or laser diode, for infrared light or invisible light required light when providing described image sensor 13 to obtain image is provided.Described light source 11 is with a projecting direction P described working surface S that throws light on, and wherein said projecting direction P can be decomposed into the horizontal component P that is parallel to described working surface S xand perpendicular to the vertical component P of described working surface y.
Described image sensor 13 is preferably cmos image sensor or other active image sensors, for the reflected light that obtains described working surface S to continue output map picture frame I f; Wherein, described picture frame I ffor digital image frames.Described image sensor 13 preferably comprises rectangular image sensing array 131; The length direction L of described image sensing array 131 xroughly to the horizontal component P of described projecting direction P xdirection extend, and described image sensing array 131 for example has Pixel Dimensions 32 * 128, but the present invention is not limited to this.By this, no matter described image sensor 13 is arranged at 13,13 in when assembling as shown in the figure ' or 13 " position, described image sensor 13 is all detected the reflected light from described working surface S.Scrutable, 13,13 ' or 13 " position offset in fact very little, in order to have amplified space proportion in the object Fig. 3 representing.
Described processing unit 15 can be for example digital signal processor (DSP), for the described picture frame I in described image sensor 13 outputs fat least one can set sampling scope 130 middle selection, and sets according to described the displacement that sampling scope 130 is calculated described displacement detector 1, for example, respectively according to two picture frame I fthe correlativity (correlation) of 130 of the sampling set scopes calculate described displacement.In a kind of embodiment, described at least one can set sampling scope 130 and be defined as described picture frame I fcharacteristics of image surpass one or more pixel coverages of default eigenwert, wherein said characteristics of image for example can be image quality or brightness of image.In other words, the processing unit 15 of displacement detector 1 of the present invention not utilizes the whole picture frame I that described image sensor 13 is exported fcalculate described displacement but dynamically utilize the obvious pixel coverage of characteristics of image to calculate.
With reference to shown in the 4th figure, as described picture frame I fin be judged as and comprise a plurality ofly while setting sampling scope, for example comprise 130 and 130 herein ', 15 described picture frame I in described image sensor 13 outputs of described processing unit fthe sampling the set scope of middle selection image feature value maximum or area maximum (for example 130), and according to described set sampling scope 130 calculate the described displacement of described displacement detector 1 ignore the sampling scope 130 of can setting '.In other embodiments, described processing unit 15 also can calculate described displacement according to the different sampling set scopes, for example, according to setting that sampling scope 130 is calculated the first displacements and according to setting sampling scope 130 ' calculate the second displacement, and relatively according to the consistance of the described displacement of the different sampling set range computation, therefore whether correct when image feature value is not obvious (for example, when the lower working surface S operation of reflection coefficient), can be used for described in duplicate acknowledgment displacement.Described image feature value maximum refers to that characteristics of image surpasses in each pixel coverage of default eigenwert, the average image eigenwert the maximum, and for example the numerical value maximum of the average image quality or the average image brightness are maximum.
The displacement detector 1 of embodiment of the present invention, except overcoming assembly error, also can be adjusted according to different operating surface S the sampling the set scope 130 of described image sensor 13.For example, with reference to shown in Fig. 5 A and 5B, it illustrates respectively described displacement detector 1 at the schematic diagram with the glass surface operation of different-thickness.When described displacement detector 1 has the first thickness T 1working surface S when operation, the described sampling scope 130 of setting is for example positioned at the array of image sensing described in figure 130 leftmost sides, and has the second thickness T when described displacement detector 1 2working surface S when operation, the described sampling scope 130 of setting is for example offset towards the array 130 of image sensing described in figure right side.As previously mentioned, 15 of described processing units can be by described picture frame I fcharacteristics of image one or more pixel coverages of surpassing default eigenwert be recognized as and describedly can set sampling scope 130, and calculate according to this described displacement.
In addition, in order to increase the degree of accuracy that can set sampling scope 130 described in selecting, as described picture frame I fdescribed characteristics of image be all less than described default eigenwert or export each picture frame I ftime, described image sensor 13 is also carried out simulation drawing picture frame deduction D. C. value and is amplified through deducting the step of the described simulation drawing picture frame of described D. C. value, then through digitizing to export described simulation drawing picture frame I f.
Shown in Fig. 6, it illustrates the block schematic diagram of the displacement detector 1 of embodiment of the present invention; Wherein, described image sensor 13 also comprises image sensing array 131, adder unit 133 and analog/digital unit 135.In this embodiment, described light source 11 is equally with the described projecting direction P described working surface S that throws light on.Described image sensing array 131 for the reflected light that obtains described working surface S to export the first simulation drawing picture frame; Described the first simulation drawing picture frame is for example two-dimensional analog image, and wherein Fig. 6 (A) for example illustrates the brightness value (Dx+Ax) of a row pixel of described the first simulation drawing picture frame, and Dx represents mean flow rate and Ax represents brightness changing value.Described adder unit 133(also can utilize subtracter to realize) described the first simulation drawing picture frame is deducted to D. C. value DAC to export the second simulation drawing picture frame, wherein Fig. 6 (B) for example illustrates brightness value (the Dx-DAC)+Ax of a row pixel of described the second simulation drawing picture frame; The object that described brightness value (Dx+Ax) is deducted described D. C. value DAC is to avoid in follow-up amplification and digitization step, have the excessive situation of brightness value.Described analog/digital unit 135 amplifies described the second simulation drawing picture frame and is converted into digital image frames to export described processing unit 15 to, wherein Fig. 6 (C) for example illustrates brightness value (the Dx-DAC)+Ay of a row pixel of described digital image frames, and Ay represents a brightness changing value; Can obviously find out that the peak of brightness has increased effectively to peak value.In present embodiment, described analog/digital unit 135 for example can be linearity or non-linear simulation/digital quantizer, or 135 inside, described analog/digital unit also can comprise amplifying unit, first amplify after described the second simulation drawing picture frame, then carry out analog/digital conversion.By this, the first simulation drawing picture frame of 131 sensings of described image sensing array can increase the image feature value of digital image frames after described totalizer 133 and 135 processing of described digital-to-analog unit, can set the correctness of sampling scope to increase selection.
In addition, in present embodiment, described D. C. value DAC is for example mean flow rate or the side-play amount of described the second simulation drawing picture frame, it can determine according to described digital image frames by described processing unit 15, and inputs to described adder unit 133 after described mean flow rate or described side-play amount being converted to simulating signal through digital-to-analog unit 16.
In addition,, during practical operation, described processing unit 15 in due course machine confirms that whether selected to set sampling scope 130 appropriate.For example, described processing unit 15 is every Preset Time interval, calculate the selected described image feature value of setting sampling scope 130, when the described image feature value of setting sampling scope 130 is less than default eigenwert, reselect the sampling the set scope 130 that at least one can set sampling scope 130 or image feature value maximum; Or described processing unit 15, every Preset Time interval, directly reselects the sampling the set scope 130 that at least one can set sampling scope 130 or image feature value maximum.In addition, described setting when sampling scope 130 for example can or finish dormant state when each system boot chosen, or can choose according to user's indication.
In sum, known optical mouse cannot be got rid of assembly error and may occur correctly receiving the situation that causes maloperation from working surface reflected light when the operation of different operating surface.The present invention also proposes a kind of displacement detector (Fig. 3 to 5), it can set sampling scope by the larger image sensing array of usable floor area selection, owing to only using the obvious pixel coverage of parts of images feature to calculate, thereby can effectively overcome assembly error and applicable to different working surfaces.
Although the present invention is open with aforementioned embodiments, so it is not intended to limit the present invention, any the technical staff in the technical field of the invention, without departing from the spirit and scope of the present invention, can do various changes and modification.Therefore protection scope of the present invention should be with being as the criterion that appending claims was limited.

Claims (20)

1. a displacement detector, this displacement detector comprises:
Light source, for surperficial with a projecting direction illumination work;
Image sensor, for the reflected light that obtains described working surface with output map picture frame; And
Processing unit selects at least one can set sampling scope in described picture frame, and according to two described picture frames described, sets the displacement that sampling scope is calculated described displacement detector respectively.
2. displacement detector according to claim 1, the characteristics of image that wherein can set sampling scope described at least one and be described picture frame surpasses the pixel coverage of default eigenwert.
3. displacement detector according to claim 2, wherein said characteristics of image is image quality or brightness of image.
4. displacement detector according to claim 2, wherein when the described characteristics of image of described picture frame is all less than described default eigenwert, described image sensor is also carried out by simulation drawing picture frame deduction D. C. value and by the step of amplifying through deducting the described simulation drawing picture frame of described D. C. value, then exports described picture frame.
5. displacement detector according to claim 1, wherein said image sensor comprises rectangular image sensing array, and the length direction of described image sensing array extends to the direction of the horizontal component of described projecting direction.
6. displacement detector according to claim 1, wherein said processing unit is also to comparing according to the different described consistance of setting the described displacement of sampling range computation.
7. a displacement detector, this displacement detector comprises:
Light source, for surperficial with a projecting direction illumination work;
Image sensing array, for the reflected light that obtains described working surface to export the first simulation drawing picture frame;
Adder unit, deducts D. C. value to export the second simulation drawing picture frame by described the first simulation drawing picture frame;
Analog/digital unit, amplifies described the second simulation drawing picture frame and described the second simulation drawing picture frame is converted to digital image frames; And
Processing unit selects at least one can set sampling scope in described digital image frames, and sets according to described the displacement that sampling scope is calculated described displacement detector.
8. displacement detector according to claim 7, wherein said D. C. value is mean flow rate or the side-play amount of described the second simulation drawing picture frame.
9. displacement detector according to claim 7, the wherein said sampling scope of setting is the pixel coverage that the characteristics of image of described digital image frames surpasses default eigenwert.
10. displacement detector according to claim 9, wherein said characteristics of image is image quality or brightness of image.
11. displacement detectors according to claim 7, wherein said image sensing array is rectangle, the length direction of described image sensing array extends to the direction of the horizontal component of described projecting direction.
12. displacement detectors according to claim 7, wherein said image sensing array is of a size of 32 * 128.
13. displacement detectors according to claim 7, wherein said processing unit is also to comparing according to the consistance that can set the described displacement of sampling range computation described in difference.
14. 1 kinds of displacement detectors, this displacement detector comprises:
Light source, for surperficial with a projecting direction illumination work;
Image sensor, for the reflected light that obtains described working surface with output map picture frame; And
Processing unit is selected the sampling the set scope of image feature value maximum in described picture frame, and sets according to described the displacement that sampling scope is calculated described displacement detector.
15. displacement detectors according to claim 14, wherein said image feature value is image quality or brightness of image.
16. displacement detectors according to claim 14, wherein said image sensor comprises rectangular image sensing array, and the length direction of described image sensing array extends to the direction of the horizontal component of described projecting direction.
17. displacement detectors according to claim 14, wherein said processing unit, every Preset Time interval, can be set the described image feature value of sampling scope described in calculating.
18. displacement detectors according to claim 17, wherein, when the described described image feature value of setting sampling scope is less than default eigenwert, reselect the sampling the set scope of image feature value maximum.
19. displacement detectors according to claim 14, wherein said processing unit, every Preset Time interval, reselects the sampling the set scope of image feature value maximum.
20. displacement detectors according to claim 14, wherein when the described image feature value of described picture frame is all less than default eigenwert, described image sensor is also carried out by simulation drawing picture frame deduction D. C. value and by the step of amplifying through deducting the described simulation drawing picture frame of described D. C. value, then exports described picture frame.
CN201210211992.3A 2012-06-11 2012-06-21 Displacement detector Active CN103513791B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210211992.3A CN103513791B (en) 2012-06-21 2012-06-21 Displacement detector
US13/858,131 US9269148B2 (en) 2012-06-11 2013-04-08 Displacement detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210211992.3A CN103513791B (en) 2012-06-21 2012-06-21 Displacement detector

Publications (2)

Publication Number Publication Date
CN103513791A true CN103513791A (en) 2014-01-15
CN103513791B CN103513791B (en) 2017-08-08

Family

ID=49896651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210211992.3A Active CN103513791B (en) 2012-06-11 2012-06-21 Displacement detector

Country Status (1)

Country Link
CN (1) CN103513791B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113504838A (en) * 2017-06-02 2021-10-15 原相科技股份有限公司 Trajectory tracking device capable of increasing working surface applicability

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200725377A (en) * 2005-12-30 2007-07-01 Pixart Imaging Inc Displacement estimation method and device
TW200741578A (en) * 2006-04-28 2007-11-01 Hsin-Chia Shen Remote gauge billing system
US20100103107A1 (en) * 2008-10-23 2010-04-29 Pixart Imaging Inc. Image processing method of optical navigator and optical navigator using the same
TW201122920A (en) * 2009-12-18 2011-07-01 Pixart Imaging Inc Displacement detecting apparatus and method
TW201137792A (en) * 2010-04-23 2011-11-01 Pixart Imaging Inc Displacement detecting device and displacement detecting method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200725377A (en) * 2005-12-30 2007-07-01 Pixart Imaging Inc Displacement estimation method and device
TW200741578A (en) * 2006-04-28 2007-11-01 Hsin-Chia Shen Remote gauge billing system
US20100103107A1 (en) * 2008-10-23 2010-04-29 Pixart Imaging Inc. Image processing method of optical navigator and optical navigator using the same
TW201122920A (en) * 2009-12-18 2011-07-01 Pixart Imaging Inc Displacement detecting apparatus and method
TW201137792A (en) * 2010-04-23 2011-11-01 Pixart Imaging Inc Displacement detecting device and displacement detecting method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113504838A (en) * 2017-06-02 2021-10-15 原相科技股份有限公司 Trajectory tracking device capable of increasing working surface applicability

Also Published As

Publication number Publication date
CN103513791B (en) 2017-08-08

Similar Documents

Publication Publication Date Title
TWI684748B (en) Pulsed repetition frequency detector, tracker, and decoder systems and imaging devices
US20170184704A1 (en) Apparatus for making a distance determination
CN1294702C (en) Optoelectronic device for detecting position and movement and method associated therewith
US9269148B2 (en) Displacement detection device
US20110134079A1 (en) Touch screen device
JP2009192499A (en) Apparatus for generating distance image
WO2012142064A3 (en) Six degree-of-freedom laser tracker that cooperates with a remote line scanner
JPWO2012147496A1 (en) Object detection device and information acquisition device
KR20190030027A (en) LiDAR apparatus and method of operating LiDAR apparatus
KR20130004018A (en) Apparatus for sensing multi-touch on touch screen apparatus
US8982101B2 (en) Optical touch system and optical touch-position detection method
WO2021189794A1 (en) Time of flight ranging system and ranging method therefor
JP2012026921A (en) Optical distance measuring equipment and equipment loaded with the same
TWI413925B (en) Optical touch system, apparatus and method for calculating the position of an object
CN102156593A (en) Optical touch screen and touch positioning method thereof
TWI521410B (en) Apparatus and method for acquiring object image of a pointer
CN103513791A (en) Displacement detection device
US20140098062A1 (en) Optical touch panel system and positioning method thereof
US9544634B2 (en) Method, system, and related device for operating display device
CN102401647A (en) Optical ranging system
US9029746B2 (en) Optical sensor
KR20180042381A (en) Illumination acquisition system, illumination control system and program
US20220377215A1 (en) Receiver for light transmission system, light transmission system and method of operating a light transmission system
CN102298470B (en) Image sensing module
WO2012023521A1 (en) Input display device, method of recognizing input position

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant