CN103279209B - Two-dimensional positioning method and device - Google Patents
Two-dimensional positioning method and device Download PDFInfo
- Publication number
- CN103279209B CN103279209B CN201310210962.5A CN201310210962A CN103279209B CN 103279209 B CN103279209 B CN 103279209B CN 201310210962 A CN201310210962 A CN 201310210962A CN 103279209 B CN103279209 B CN 103279209B
- Authority
- CN
- China
- Prior art keywords
- light
- photosensitive
- mobile device
- receiving area
- light sensitive
- 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.)
- Expired - Fee Related
Links
Abstract
The invention is suitable for the field of computer application, and provides a two-dimensional positioning method and device. The two-dimensional positioning method comprises the following steps that a photoreceptive mobile device is arranged, the photoreceptive mobile device comprises a shielding device and multiple photosensitive diodes, the shielding device is provided with a light-transmitting window, and the photosensitive diodes are located at designated positions; the light reception area of each photosensitive diode after the photoreceptive mobile device shifts is calculated to obtain variations in the light reception areas of the photosensitive diodes in the transverse direction and the longitudinal direction, and a linear relation between the variations in the light reception areas of the photosensitive diodes in the transverse direction and the longitudinal direction and mobile coordinates of the photoreceptive mobile device is established; according to the linear relation between the variations in the light reception areas of the photosensitive diodes in the transverse direction and the longitudinal direction and the mobile coordinates of the photoreceptive mobile device, the mobile coordinates of the photoreceptive mobile device are calculated. The two-dimensional positioning method is quite simple, convenient, accurate, and low in cost; in addition, the two-dimensional positioning method and device is simple, so that the two-dimensional positioning method and device is wide in application and is capable of being applied to various electronic devices which need two-dimensional positioning when the electronic devices shift in a plane.
Description
Technical field
The invention belongs to computer application field, more particularly to a kind of two-dimensional location method and equipment.
Background technology
With the continuous development of technology, need to realize the electronic equipment of positioning and using more and more.Therefore positioning mode
It is also various, emerges in an endless stream, such as:Grating positioning, trace ball positioning, light emitting diode positioning, laser positioning etc..Wherein,
Grating positioning and trace ball positioning belong to mechanical positioning mode, and positioning mode is complicated, and due to present purely mechanic equipment by
Decrescence few, application is also increasingly restricted.Existing light emitting diode positioning mode is saturating through one group by reflection light
Mirror is transferred to imaging in photo-sensing device, thus motion track is recorded as the coherent image of one group of high-speed capture to position.Swash
Light projection is then that the normal light for sending light emitting diode changes into laser to be positioned, although both positioning modes are accurately
But positioning is complicated, cost is higher.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of two-dimensional location method and equipment, it is intended to solve existing positioning side
The complex problem of formula.
The embodiment of the present invention is achieved in that a kind of two-dimensional location method, and methods described includes:
Photosensitive mobile device is set, and the photosensitive mobile device includes being provided with the radical occlusion device of optical transmission window and some is located at
The light sensitive diode of specified location;
Obtain some photosensitive by calculating light-receiving area of each light sensitive diode after the movement of photosensitive mobile device respectively
The light-receiving area variable quantity of diode transverse direction and longitudinal direction, and set up the light-receiving area of some light sensitive diode transverse direction and longitudinal directions
The linear relationship of variable quantity and photosensitive mobile device moving coordinate;
Sat with the movement of photosensitive mobile device according to the light-receiving area variable quantity of some light sensitive diode transverse direction and longitudinal directions
Target linear relationship, calculates the photosensitive mobile device moving coordinate.
The another object of the embodiment of the present invention is to provide a kind of two-dimensional localization equipment, and the equipment includes:
Photosensitive mobile device, including for parallel light irradiation and being provided with the radical occlusion device of optical transmission window and some for photosensitive
And positioned at the light sensitive diode of specified location;
Positioning relation determining device, for by calculate respectively each light sensitive diode photosensitive mobile device movement after
Light-receiving area obtains the light-receiving area variable quantity of some light sensitive diode transverse direction and longitudinal directions, and sets up some light sensitive diodes
The linear relationship of the light-receiving area variable quantity of transverse direction and longitudinal direction and photosensitive mobile device moving coordinate;
Elements of a fix computing device, for according to the light-receiving area variable quantity of some light sensitive diode transverse direction and longitudinal directions
With the linear relationship of photosensitive mobile device moving coordinate, the photosensitive mobile device moving coordinate is calculated.
In embodiments of the present invention, it is only necessary to simply construct photosensitive mobile device, just can be moved according to photosensitive mobile device
When dynamic in photosensitive mobile device some light sensitive diode light-receiving areas Changing Pattern, set up some light sensitive diodes horizontal and vertical
To light-receiving area variable quantity and photosensitive mobile device moving coordinate linear relationship, and thus calculate photosensitive mobile device and move
Moving axes.It is relatively simple and accurately realize a kind of two-dimensional location method and with low cost.Further, since the program is simple,
Its application is also extremely wide, can be applicable to various electronic equipments for needing to realize two-dimensional localization in planar movement.
Description of the drawings
Fig. 1 is the flow chart of two-dimensional location method provided in an embodiment of the present invention;
Fig. 2 is that the photosensitive mobile device that triangle optical transmission window is provided with radical occlusion device provided in an embodiment of the present invention is shown
It is intended to;
Fig. 3 is the signal of the photosensitive mobile device that rectangle optical transmission window is provided with radical occlusion device provided in an embodiment of the present invention
Figure;
Fig. 4 is provided in an embodiment of the present invention when being provided with triangle optical transmission window on the radical occlusion device of photosensitive mobile device
When, the change schematic diagram of light sensitive diode light-receiving area during mobile photosensitive mobile device;
Fig. 5 is provided in an embodiment of the present invention when being provided with triangle optical transmission window on the radical occlusion device of photosensitive mobile device
When, the schematic diagram of light sensitive diode light-receiving area cross directional variations during photosensitive mobile device transverse shifting;
Fig. 6 is provided in an embodiment of the present invention when being provided with triangle optical transmission window on the radical occlusion device of photosensitive mobile device
When, light sensitive diode light-receiving area longitudinally varying schematic diagram when photosensitive mobile device is vertically moved;
Fig. 7 be it is provided in an embodiment of the present invention when rectangle optical transmission window is provided with the radical occlusion device of photosensitive mobile device,
The change schematic diagram of light sensitive diode light-receiving area during mobile photosensitive mobile device;
Fig. 8 be it is provided in an embodiment of the present invention when rectangle optical transmission window is provided with the radical occlusion device of photosensitive mobile device,
The schematic diagram of light sensitive diode light-receiving area cross directional variations during photosensitive mobile device transverse shifting;
Fig. 9 be it is provided in an embodiment of the present invention when rectangle optical transmission window is provided with the radical occlusion device of photosensitive mobile device,
Light sensitive diode light-receiving area longitudinally varying schematic diagram when photosensitive mobile device is vertically moved;
Figure 10 is the structure chart of two-dimensional localization equipment provided in an embodiment of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, and
It is not used in the restriction present invention.
In order to illustrate technical solutions according to the invention, illustrate below by specific embodiment.
Embodiment one:
A kind of flow chart of two-dimensional location method of first embodiment of the invention offer is illustrated in figure 1, for the ease of saying
It is bright, illustrate only the part related to the embodiment of the present invention.
In step S101, photosensitive mobile device is set, what the photosensitive mobile device included being provided with optical transmission window blocks dress
Put and some light sensitive diodes positioned at specified location.
In embodiments of the present invention, photosensitive mobile device is set first, wherein, photosensitive mobile device include radical occlusion device and
Some light sensitive diodes positioned at specified location.Radical occlusion device is different, then the position of light sensitive diode is different.Thus according to
The shape of radical occlusion device is arranged quantity and the position of light sensitive diode by developer.
Because of the difference of radical occlusion device, photosensitive mobile device has various.Wherein, preferably there are two kinds, be described more fully below.
The photosensitive mobile device of one of which includes a radical occlusion device, and one is provided with the radical occlusion device for light transmission
Triangle optical transmission window, it is preferred that the triangle optical transmission window be equilateral triangle optical transmission window, and three be used for receive from
The light sensitive diode of the light that triangle optical transmission window is passed through.Triangle optical transmission window is set first, three light are set with this
The position of quick diode, light forms one with triangle light inlet window through after triangle optical transmission window in perspective plane upright projection
The triangular windows projection of mouth identical, then arrange three light sensitive diodes and be located at respectively on three sides of triangular windows projection,
And the two of which opposite side of light sensitive diode is parallel with the side that triangular windows are projected, another two opposite side of light sensitive diode and triangle
The side of shape window projection is vertical, as shown in Figure 2.
Another kind of photosensitive mobile device also includes a radical occlusion device, and one is provided with the radical occlusion device for light transmission
Rectangle optical transmission window, also including three be located at specified location be used for receive from rectangle optical transmission window pass through light photosensitive two
Pole pipe.Rectangle optical transmission window is set first, the position of three light sensitive diodes is set with this, light passes through rectangle optical transmission window
Afterwards perspective plane upright projection formed one with rectangle optical transmission window identical rectangular window projection, then arrange these three photosensitive two
Two of which light sensitive diode is located at respectively on two adjacent drift angles of rectangular window projection in pole pipe, the two photosensitive two poles
Two groups of opposite side of pipe are respectively parallel to two of rectangular window projection and face side, and the length of side of rectangular window projection is more than photosensitive two pole
Two edge lengths sums of pipe(I.e. two light sensitive diodes are located at rectangular window and project when on two drift angles two light sensitive diodes not
Have the part of coincidence), now the light-receiving area of the two light sensitive diodes is equal, is the 0.25 of its maximum light-receiving area
Times;Another light sensitive diode is located at the base relative with the rectangular window projected apex angle at above-mentioned two light sensitive diode place
On, and one group of opposite side of the light sensitive diode is parallel with the length of side that rectangular window is projected, as shown in Figure 3.
In step S202, by calculating light-receiving area of each light sensitive diode after the movement of photosensitive mobile device respectively
The light-receiving area variable quantity of some light sensitive diode transverse direction and longitudinal directions is obtained, and sets up some light sensitive diode transverse direction and longitudinal directions
The linear relationship of light-receiving area variable quantity and photosensitive mobile device moving coordinate
In embodiments of the present invention, when mobile photosensitive mobile device, directional light no longer vertically injects the saturating of radical occlusion device
Light window(It is different according to radical occlusion device, there are triangle optical transmission window or rectangle optical transmission window)So that light passes through optical transmission window
The window location of projection for being formed on perspective plane afterwards changes, and photosensitive mobile device is exactly light in the displacement of its place plane
Several times of the line through the displacement for projecting the window to be formed projection after optical transmission window on perspective plane(Wherein photosensitive mobile device is at it
The displacement of place plane is pre-set by developer with the multiple of the displacement that window is projected according to photosensitive mobile device)If, meter
Calculating the displacement of window projection can just calculate displacement of the photosensitive mobile device in its place plane.Meanwhile, radical occlusion device is wrapped
The light-receiving area of some light sensitive diodes for including also can change with the change that window is projected, photosensitive by calculating each respectively
The light-receiving area of diode understands that the light-receiving area sum of all light sensitive diodes can't become, and change is only single photosensitive
Diode light-receiving area, because the change in displacement of window projection is not easy to directly calculating, so that by diode sensitive surface
Long-pending change carrys out the displacement of calculation window projection.Wherein, the change size of light sensitive diode light-receiving area can be by photosensitive
The weak current change that the change of diode light-receiving area is produced is compared Jing after operational amplifier zooms into voltage signal.
Due to it is calculative be the two-dimensional movement coordinate of photosensitive mobile device, photosensitive mobile device only need to be in place plane
Upper movement, and the movement at grade of photosensitive mobile device can be broken down into transverse shifting and vertically move, thus under
Face is by respectively from the movement of horizontal and vertical both direction being described separately.Horizontal shifting of the photosensitive mobile device in its place plane
Dynamic displacement is exactly several times of the light through the lateral displacement of the window projection formed in perspective plane upright projection after optical transmission window
(The multiple of the displacement that wherein photosensitive mobile device is projected in the displacement of its place plane with window is by developer according to photosensitive movement
Device pre-sets), and the lateral displacement of window projection is linear with the horizontal light-receiving area variable quantity of some light sensitive diodes
Relation.In the same manner, photosensitive mobile device is exactly in projection after light passes through optical transmission window in the displacement that vertically moves of its place plane
The several times of the length travel of the window projection that face upright projection is formed(Displacement of the wherein photosensitive mobile device in its place plane
Pre-set according to photosensitive mobile device by developer with the multiple of the displacement of window projection), and the length travel of window projection
It is linear with longitudinal light-receiving area variable quantity of some light sensitive diodes.As long as thus calculating photosensitive mobile device respectively
The light-receiving area of each light sensitive diode after movement, calculates in photosensitive movement further according to the light-receiving area of each light sensitive diode
Some light sensitive diodes just can calculate photosensitive mobile device horizontal in the light-receiving area variable quantity of transverse direction and longitudinal direction after device movement
To and longitudinal direction location variation(That is the transverse and longitudinal coordinate of radical occlusion device moving coordinate).
Below by according to the two kinds of photosensitive mobile devices mentioned in step S101 illustrating the horizontal stroke of why window projection
To displacement is linear with the horizontal light-receiving area variable quantity of some light sensitive diodes and the length travel of window projection with
Longitudinal light-receiving area variable quantity of some light sensitive diodes is linear, and step S102 is described in detail.
When the optical transmission window on the radical occlusion device of photosensitive mobile device is triangle, the photosensitive mobile device of movement is parallel
The angle of incidence of light changes, then radical occlusion device also changes therewith in the triangular windows projection that perspective plane projects, such as
Shown in Fig. 4(1st, 2,3 three light sensitive diodes are represented respectively).Because the movement at grade of photosensitive mobile device can be by it
It is decomposed into the movement of transverse direction and longitudinal direction, thus below by respectively from the movement of horizontal and vertical both direction being described separately.Such as
Shown in Fig. 5, after photosensitive mobile device transverse shifting, the light-receiving area of only light sensitive diode 1 and light sensitive diode 2 becomes
Change, the light-receiving area of light sensitive diode 1 is reduced, and the light-receiving area of light sensitive diode 2 increased, and in general, Suo Youguang
Quick diode is exactly current in horizontal light-receiving area variable quantity(After i.e. photosensitive mobile device movement)The light of light sensitive diode 2
Area deducts the light-receiving area of light sensitive diode 1(S2-S1), in Figure 5, AB is the lateral displacement of window projection, can by figure
Know, AB is equal to the light-receiving area incrementss of light sensitive diode 2(Or the light-receiving area decrement of light sensitive diode 1, or(S2-S1)/
2)Divided by length of side L of light sensitive diode, then it is multiplied byI.e.Thus, window projection lateral displacement with
The horizontal light-receiving area variable quantity of some light sensitive diodes is linear, thus the displacement of photosensitive mobile device transverse shifting also with
The horizontal light-receiving area variable quantity of some light sensitive diodes is linear, is become in horizontal light-receiving area according to light sensitive diode
Change amount just can calculate the lateral displacement of window projection, and then calculate photosensitive mobile device transverse shifting displacement.Thus can obtain
Arrive:DX=(S2-S1) * λ, wherein, dX represents the abscissa of photosensitive mobile device moving coordinate, and λ represents default Sensitirity va1ue,
S1 represents the light-receiving area of light sensitive diode 1, and S2 represents the light-receiving area of light sensitive diode 2, light sensitive diode 1 and photosensitive two pole
Pipe 2 is located at respectively on perspective plane on two waists of equilateral triangle.When radical occlusion device is vertically moved, as shown in fig. 6, photosensitive two pole
The light-receiving area of pipe 1, light sensitive diode 2 and light sensitive diode 3 all changes, and the length of side for now setting three light sensitive diodes is equal
For L, the distance that radical occlusion device is moved down is a, and this optical transmission window sentenced on radical occlusion device is calculated for equilateral triangle, due to
It is projected as equilateral triangle, it is known that angle O is 30 °, a=2b, therefore, the light-receiving area increment of light sensitive diode 3 is a*L(Namely
2b*L), and the light-receiving area decrement of light sensitive diode 1 and light sensitive diode 2 is b*L, thus, it can be known that the photosensitive gross area is not
Become.Thus the longitudinal light-receiving area variable quantity for calculating light sensitive diode is S1+S2-S3.Now, the length travel of window projection
Equal to light sensitive diode 3 light-receiving area incrementss divided by light sensitive diode length of side L.Thus, the length travel of window projection
Linear with longitudinal light-receiving area variable quantity of some light sensitive diodes, thus photosensitive mobile device vertically moves displacement
It is linear with longitudinal light-receiving area variable quantity of some light sensitive diodes, according to light sensitive diode in longitudinal light-receiving area
Variable quantity just can calculate the length travel of window projection, and then calculate photosensitive mobile device and vertically move displacement.Thus can
Obtain:dY=SIt is vertical* λ, wherein, dY represents the vertical coordinate of photosensitive mobile device moving coordinate, and λ represents default Sensitirity va1ue, S1 tables
Show the light-receiving area of light sensitive diode 1, S2 represents the light-receiving area of light sensitive diode 2, light sensitive diode 1 and light sensitive diode 2
It is located on perspective plane on two waists of equilateral triangle respectively, S3 represents photosensitive two on perspective plane on the base of equilateral triangle
The light-receiving area of pole pipe 3.
When the optical transmission window on the radical occlusion device of photosensitive mobile device is rectangle, the photosensitive mobile device of movement, directional light
The angle of incidence of line changes, then radical occlusion device also changes therewith in the rectangular window projection that perspective plane projects, such as Fig. 7 institutes
Show(1st, 2,3 three light sensitive diodes are represented respectively).The same shifting that the movement of photosensitive mobile device is decomposed into transverse direction and longitudinal direction
It is dynamic.Thus, when photosensitive mobile device transverse shifting, as shown in figure 8, the only light of light sensitive diode 1 and light sensitive diode 2
Area changes, and the light-receiving area increment of light sensitive diode 2 is equal to the light-receiving area decrement of light sensitive diode 1, thus
Understand, the horizontal light-receiving area variable quantity of light sensitive diode is S2-S1.The lateral displacement of window projection is equal to light sensitive diode 2
Light-receiving area incrementss(Or the light-receiving area decrement of light sensitive diode 1, or(S2-S1)/2)Divided by the side of light sensitive diode
Long half.Thus, lateral displacement and the linear pass of horizontal light-receiving area variable quantity of some light sensitive diodes that window is projected
System, thus the displacement of photosensitive mobile device transverse shifting also with the linear pass of horizontal light-receiving area variable quantity of some light sensitive diodes
System, according to light sensitive diode the lateral displacement of window projection just can be calculated in horizontal light-receiving area variable quantity, and then is calculated
Go out photosensitive mobile device transverse shifting displacement.Thus it is available:DX=(S2-S1) * λ, wherein, dX represents that photosensitive mobile device is moved
The abscissa of moving axes, λ represents default Sensitirity va1ue, and S1 represents the light-receiving area of light sensitive diode 1, and S2 represents photosensitive two pole
The light-receiving area of pipe 2, light sensitive diode 1 and light sensitive diode 2 are located at respectively on two drift angles of the rectangle on perspective plane.Work as sense
When light displacement device is vertically moved, as shown in figure 9, the light-receiving area of light sensitive diode 1, light sensitive diode 2 and light sensitive diode 3
All change, the length of side for now setting three light sensitive diodes is L, due to c+d=L, thus, it can be known that the photosensitive gross area is constant.
Thus the longitudinal light-receiving area variable quantity for calculating light sensitive diode is S1+S2-S3.Now, length travel of window projection etc.
In light sensitive diode 3 light-receiving area incrementss divided by light sensitive diode length of side L.Thus, window projection length travel with
Longitudinal light-receiving area variable quantity of some light sensitive diodes is linear, thus photosensitive mobile device vertically move displacement also with
Longitudinal light-receiving area variable quantity of some light sensitive diodes is linear, is become according to light-receiving area of the light sensitive diode in longitudinal direction
Change amount just can calculate the length travel of window projection, and then calculate photosensitive mobile device and vertically move displacement.Thus can obtain
Arrive:dY=SIt is vertical* λ, wherein, dY represents the vertical coordinate of radical occlusion device moving coordinate, and λ represents default Sensitirity va1ue, and S1 represents photosensitive
The light-receiving area of diode 1, S2 represents the light-receiving area of light sensitive diode 2, light sensitive diode 1 and the difference of light sensitive diode 2 position
On the perspective plane on two summits of rectangle, S3 represents the light of the light sensitive diode 3 on perspective plane on the base of rectangle
Area.
Seen from the above description, following equatioies can be set up to calculate photosensitive mobile device moving coordinate:
dX=SIt is horizontal* λ, dY=SIt is vertical* λ, wherein, dX represents the abscissa of photosensitive mobile device moving coordinate, and dY shows photosensitive movement
The vertical coordinate of device moving coordinate, λ represents the default Sensitirity va1ue of developer, SIt is horizontalRepresent the horizontal light of some light sensitive diodes
Area change amount, SIt is verticalRepresent longitudinal light-receiving area variable quantity of some light sensitive diodes.S1, S2, S3 are by light sensitive diode
Photosensitive area is obtained again by signal amplification circuit.
In step s 103, moved with radical occlusion device according to the light-receiving area variable quantity of some light sensitive diode transverse direction and longitudinal directions
The linear relationship of moving axes, calculates photosensitive mobile device moving coordinate.
In embodiments of the present invention, due to having been obtained for receiving for some light sensitive diode transverse direction and longitudinal directions in step S102
The linear relationship equation of light area variable quantity and photosensitive mobile device moving coordinate, as long as thus photosensitive mobile device movement every time
Afterwards, calculate by the light-receiving area variable quantity of the transverse direction and longitudinal direction of some light sensitive diodes in photosensitive mobile device by formula dX
=SIt is horizontal* λ and dY=SIt is vertical* λ calculates the two-dimensional movement coordinate of radical occlusion device.
In embodiments of the present invention, it is only necessary to simply construct photosensitive mobile device, just can be moved according to photosensitive mobile device
When dynamic in photosensitive mobile device some light sensitive diode light-receiving areas Changing Pattern, set up some light sensitive diodes horizontal and vertical
To light-receiving area variable quantity and photosensitive mobile device moving coordinate linear relationship, and thus calculate photosensitive mobile device and move
Moving axes.It is relatively simple and accurately realize a kind of two-dimensional location method and with low cost.Further, since the program is simple,
Its application is also extremely wide, can be applicable to various electronic equipments for needing to realize two-dimensional localization in planar movement.For example may be used
In being applied to remote control mouse, now then need only to after photosensitive mobile device moving coordinate is calculated, by photosensitive mobile device
The abscissa value of moving coordinate just would know that the lateral coordinates value of mouse plus the half of screen lateral resolution, in the same manner will sense
The ordinate value of light displacement device moving coordinate just would know that the longitudinal coordinate of mouse plus the half of screen longitudinal resolution
Value.
Embodiment two:
Figure 10 is the structural representation of two-dimensional localization equipment provided in an embodiment of the present invention, for convenience of description, is only illustrated
The part related to the embodiment of the present invention.
In embodiments of the present invention, two-dimensional localization equipment includes:Photosensitive mobile device 101, with the phase of photosensitive mobile device 101
Positioning relation determining device 102 even, the elements of a fix computing device 103 being connected with positioning relation determining device 102.Wherein:
Photosensitive mobile device 101, including for parallel light irradiation and being provided with the radical occlusion device of optical transmission window and some be used for
Light sensitive diode photosensitive and positioned at specified location;
In embodiments of the present invention, radical occlusion device is opened optical transmission window is different, then the position of light sensitive diode by no
Together.Thus quantity and the position of light sensitive diode are arranged by developer according to the shape of radical occlusion device.
Because of the difference of radical occlusion device, photosensitive mobile device 101 has various.Wherein, preferably there are two kinds, therefore, at this
In bright embodiment, photosensitive mobile device 101 includes:
The photosensitive mobile device 1011 of triangle, including for parallel light irradiation and be provided with triangle optical transmission window block dress
Put and three are used for photosensitive and positioned at specified location light sensitive diode, three light sensitive diodes pass through triangle positioned at light respectively
On three sides of the triangular windows projection formed in perspective plane upright projection after shape optical transmission window.
Rectangular photosensitive mobile device 1012, including for parallel light irradiation and be provided with rectangle optical transmission window radical occlusion device and
Three are used for photosensitive and positioned at specified location light sensitive diode, and two of which light sensitive diode is located at light and passes through rectangle printing opacity
On two adjacent drift angles of the rectangular window projection formed in perspective plane upright projection after window, another light sensitive diode position
On the base relative with the rectangular window projected apex angle that two light sensitive diodes are located.
Positioning relation determining unit 102, for being moved in photosensitive mobile device by calculating each light sensitive diode respectively
Light-receiving area afterwards obtains the light-receiving area variable quantity of some light sensitive diode transverse direction and longitudinal directions, and sets up some light sensitive diodes
The linear relationship of the light-receiving area variable quantity of transverse direction and longitudinal direction and photosensitive mobile device moving coordinate.
In embodiments of the present invention, when mobile photosensitive mobile device, some light sensitive diodes included by radical occlusion device
Light-receiving area can change therewith, understand all light sensitive diodes by calculating the light-receiving area of some light sensitive diodes respectively
Light-receiving area sum can't become, and the light-receiving area and some light sensitive diodes of only each light sensitive diode of change is horizontal
To light-receiving area and longitudinal light-receiving area.Due to it is calculative be the two-dimensional movement coordinate of photosensitive mobile device, thus block
Device only need to moved in the plane, it follows that photosensitive mobile device is exactly that light is passed through in the displacement of its place plane
The several times of the displacement of the window to be formed projection are projected after optical transmission window on perspective plane(Wherein photosensitive mobile device is flat at its place
The displacement in face is pre-set by developer with the multiple of the displacement that window is projected according to photosensitive mobile device)As long as calculating exit window
Mouthful projection displacement can just calculate displacement of the photosensitive mobile device in its place plane, and if window projection lateral displacement with
The horizontal light-receiving area variable quantity of dry light sensitive diode is linear, length travel and some light sensitive diodes that window is projected
Longitudinal light-receiving area variable quantity it is linear.As long as thus calculate respectively radical occlusion device movement after some light sensitive diodes
The light-receiving area variable quantity of transverse direction and longitudinal direction, just can calculate the location variation of photosensitive mobile device transverse direction and longitudinal direction(Hide
The transverse and longitudinal coordinate of blocking means moving coordinate).
In embodiments of the present invention, positioning relation determining device 102 includes:
Light-receiving area variable quantity computing unit 1021, for after the photosensitive mobile device of movement, each being calculated respectively photosensitive
The light-receiving area of diode, and the horizontal sensitive surface of some light sensitive diodes is calculated by the light-receiving area of each light sensitive diode
Product variable quantity and longitudinal light-receiving area variable quantity;
Linear relationship sets up unit 1022, for setting up horizontal light-receiving area variable quantity and the longitudinal direction of some light sensitive diodes
Light-receiving area variable quantity is with the linear relationship of photosensitive mobile device moving coordinate:dX=SIt is horizontal* λ, dY=SIt is vertical* λ, wherein, dX is represented
The abscissa of photosensitive mobile device moving coordinate, dY represents the vertical coordinate of photosensitive mobile device moving coordinate, and λ represents default spirit
Sensitivity value, SIt is horizontalRepresent the horizontal light-receiving area variable quantity of some light sensitive diodes, SIt is verticalReceive the longitudinal direction for representing some light sensitive diodes
Light area variable quantity.
Wherein, linear relationship is set up unit 1022 and is also included:
Triangular arrangement unit 10221, when the optical transmission window for being opened when radical occlusion device is triangle optical transmission window, if
The light-receiving area variable quantity of dry light sensitive diode transverse direction and longitudinal direction is with the linear relationship of photosensitive mobile device moving coordinate:dX=
(S2-S1) * λ, dY=(S1+S2-S3) * λ, wherein, dX represents the abscissa of photosensitive mobile device moving coordinate, and dY represents photosensitive
The vertical coordinate of mobile device moving coordinate, λ represents default Sensitirity va1ue, and S1, S2 are represented respectively positioned at triangular windows projection
Two waists on light sensitive diode light-receiving area, S3 represent positioned at triangular windows projection base on light sensitive diode
Light-receiving area;Or
Rectangular devices unit 10222, when the optical transmission window for being opened when radical occlusion device is rectangle optical transmission window, Ruo Ganguang
The light-receiving area variable quantity of quick diode transverse direction and longitudinal direction is with the linear relationship of photosensitive mobile device moving coordinate:dX=(S2-
S1) * λ, dY=(S1+S2-S3) * λ, wherein, dX represents the abscissa of photosensitive mobile device moving coordinate, and dY represents photosensitive movement
The vertical coordinate of device moving coordinate, λ represents default Sensitirity va1ue, and S1, S2 represent respectively two positioned at rectangular window projection
The light-receiving area of two light sensitive diodes on drift angle, S3 represents the light sensitive diode on the base of rectangular window projection
Light-receiving area.Elements of a fix computing unit 103, root is used to be changed according to the light-receiving area of some light sensitive diode transverse direction and longitudinal directions
The linear relationship with photosensitive mobile device moving coordinate is measured, photosensitive mobile device moving coordinate is calculated.
In embodiments of the present invention, it is only necessary to simply construct photosensitive mobile device, just can be moved according to photosensitive mobile device
When dynamic in photosensitive mobile device some light sensitive diode light-receiving areas Changing Pattern, set up some light sensitive diodes horizontal and vertical
To light-receiving area variable quantity and photosensitive mobile device moving coordinate linear relationship, and thus calculate photosensitive mobile device and move
Moving axes.It is relatively simple and accurately realize a kind of two-dimensional location method and with low cost.Further, since the program is simple,
Its application is also extremely wide, can be applicable to various electronic equipments for needing to realize two-dimensional localization in planar movement.For example may be used
In being applied to remote control mouse, now then need only to after photosensitive mobile device moving coordinate is calculated, by photosensitive mobile device
The abscissa value of moving coordinate just would know that the lateral coordinates value of mouse plus the half of screen lateral resolution, in the same manner will sense
The ordinate value of light displacement device moving coordinate just would know that the longitudinal coordinate of mouse plus the half of screen longitudinal resolution
Value.
It will appreciated by the skilled person that realizing that all or part of step in above-described embodiment method can be
Related hardware is instructed to complete by program, described program can be stored in a computer read/write memory medium
In, described storage medium, such as ROM/RAM, disk, CD.
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention
Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.
Claims (7)
1. a kind of two-dimensional location method, it is characterised in that methods described includes:
Photosensitive mobile device is set, and the photosensitive mobile device includes being provided with the radical occlusion device of optical transmission window and some positioned at specified
The light sensitive diode of position;
Some photosensitive two poles are obtained by calculating light-receiving area of each light sensitive diode after the movement of photosensitive mobile device respectively
The light-receiving area variable quantity of pipe transverse direction and longitudinal direction, and set up the light-receiving area change of some light sensitive diode transverse direction and longitudinal directions
Measure the linear relationship with photosensitive mobile device moving coordinate;
According to the light-receiving area variable quantity and photosensitive mobile device moving coordinate of some light sensitive diode transverse direction and longitudinal directions
Linear relationship, calculates the photosensitive mobile device moving coordinate;
When the optical transmission window that the radical occlusion device is opened is triangle optical transmission window, the photosensitive mobile device includes three light
Quick diode, and three light sensitive diodes be located at respectively light through after triangle optical transmission window in perspective plane upright projection
On three sides of the triangular windows projection of formation;When the optical transmission window that the radical occlusion device is opened is rectangle optical transmission window,
The photosensitive mobile device includes three light sensitive diodes, and two of which light sensitive diode is located at light and passes through rectangle light inlet window
On two adjacent drift angles of the rectangular window projection formed in perspective plane upright projection after mouthful, another light sensitive diode is located at
On the base relative with the rectangular window projected apex angle that described two light sensitive diodes are located.
2. the method for claim 1, it is characterised in that the optical transmission window that the radical occlusion device is opened includes that triangle is saturating
Light window, rectangle optical transmission window.
3. the method for claim 1, it is characterised in that described by calculating each light sensitive diode respectively in photosensitive shifting
Light-receiving area after dynamic device movement obtains the light-receiving area variable quantity of some light sensitive diode transverse direction and longitudinal directions, and sets up described
The light-receiving area variable quantity of some light sensitive diode transverse direction and longitudinal directions includes with the linear relationship of photosensitive mobile device moving coordinate:
After the movement photosensitive mobile device, the light-receiving area of each light sensitive diode is calculated respectively;
By the light-receiving area of each light sensitive diode calculate some light sensitive diodes horizontal light-receiving area variable quantity and
Longitudinal light-receiving area variable quantity;
Set up the horizontal light-receiving area variable quantity and longitudinal light-receiving area variable quantity of some light sensitive diodes and photosensitive movement
The linear relationship of device moving coordinate is:DX=SIt is horizontal* λ, dY=SIt is vertical* λ, wherein, dX represents photosensitive mobile device moving coordinate
Abscissa, dY represents the vertical coordinate of photosensitive mobile device moving coordinate, and λ represents default Sensitirity va1ue, SIt is horizontalRepresent some photosensitive
The horizontal light-receiving area variable quantity of diode, SIt is verticalRepresent longitudinal light-receiving area variable quantity of some light sensitive diodes.
4. method as claimed in claim 3, it is characterised in that when the optical transmission window that the radical occlusion device is opened is that triangle is saturating
When light window or rectangle optical transmission window, the light-receiving area variable quantity of some light sensitive diode transverse direction and longitudinal directions and photosensitive movement
The linear relationship of device moving coordinate is:
DX=(S2-S1) * λ, dY=(S1+S2-S3) * λ, wherein, dX represents the abscissa of photosensitive mobile device moving coordinate, dY
The vertical coordinate of photosensitive mobile device moving coordinate is represented, λ represents default Sensitirity va1ue, when the optical transmission window that radical occlusion device is opened
When being triangle optical transmission window, S1, S2 represent respectively receiving for the light sensitive diode on two waists of triangular windows projection
Light area, S3 represents the light-receiving area of the light sensitive diode on the base of triangular windows projection, when radical occlusion device is opened
Optical transmission window when being rectangle optical transmission window, S1, S2 represent respectively two light on two drift angles of rectangular window projection
The light-receiving area of quick diode, S3 represents the light-receiving area of the light sensitive diode on the base of rectangular window projection.
5. a kind of two-dimensional localization equipment, it is characterised in that the equipment includes:
Photosensitive mobile device, including for parallel light irradiation and being provided with the radical occlusion device of optical transmission window and some for photosensitive and position
In the light sensitive diode of specified location;
Positioning relation determining device, for by calculating light of each light sensitive diode after the movement of photosensitive mobile device respectively
Area obtains the light-receiving area variable quantity of some light sensitive diode transverse direction and longitudinal directions, and it is horizontal to set up some light sensitive diodes
And the linear relationship of the light-receiving area variable quantity of longitudinal direction and photosensitive mobile device moving coordinate;
Elements of a fix computing device, for according to the light-receiving area variable quantity of some light sensitive diode transverse direction and longitudinal directions and sense
The linear relationship of light displacement device moving coordinate, calculates the photosensitive mobile device moving coordinate;
The photosensitive mobile device includes following two:
The photosensitive mobile device of triangle, including for parallel light irradiation and be provided with triangle optical transmission window radical occlusion device and three
For light sensitive diode photosensitive and positioned at specified location, it is saturating through triangle that three light sensitive diodes are located at respectively light
On three sides of the triangular windows projection formed in perspective plane upright projection after light window;Or
Rectangular photosensitive mobile device, including for parallel light irradiation and being provided with the radical occlusion device of rectangle optical transmission window and three and be used for
Light sensitive diode photosensitive and positioned at specified location, two of which light sensitive diode be located at light through after rectangle optical transmission window
On two adjacent drift angles of the rectangular window projection that perspective plane upright projection is formed, another light sensitive diode be located at it is described
On the relative base of rectangular window projected apex angle that two light sensitive diodes are located.
6. equipment as claimed in claim 5, it is characterised in that the positioning relation determining device includes:
Light-receiving area variable quantity computing unit, for after the movement photosensitive mobile device, each photosensitive two pole being calculated respectively
The light-receiving area of pipe, and the horizontal sensitive surface of some light sensitive diodes is calculated by the light-receiving area of each light sensitive diode
Product variable quantity and longitudinal light-receiving area variable quantity;
Linear relationship sets up unit, for setting up the horizontal light-receiving area variable quantity and longitudinal light of some light sensitive diodes
Area change amount is with the linear relationship of photosensitive mobile device moving coordinate:DX=SIt is horizontal* λ, dY=SIt is vertical* λ, wherein, dX represents sense
The abscissa of light displacement device moving coordinate, dY represents the vertical coordinate of photosensitive mobile device moving coordinate, and λ represents default sensitive
Angle value, SIt is horizontalRepresent the horizontal light-receiving area variable quantity of some light sensitive diodes, SIt is verticalRepresent longitudinal light of some light sensitive diodes
Area change amount.
7. equipment as claimed in claim 6, it is characterised in that the linear relationship sets up unit to be included:
Triangular arrangement unit, for when the optical transmission window that the radical occlusion device is opened is triangle optical transmission window, if described
The light-receiving area variable quantity of dry light sensitive diode transverse direction and longitudinal direction is with the linear relationship of photosensitive mobile device moving coordinate:DX=
(S2-S1) * λ, dY=(S1+S2-S3) * λ, wherein, dX represents the abscissa of photosensitive mobile device moving coordinate, and dY represents photosensitive
The vertical coordinate of mobile device moving coordinate, λ represents default Sensitirity va1ue, and S1, S2 are represented respectively positioned at triangular windows projection
Two waists on light sensitive diode light-receiving area, S3 represent positioned at triangular windows projection base on light sensitive diode
Light-receiving area;Or
Rectangular devices unit, for when the optical transmission window that the radical occlusion device is opened is rectangle optical transmission window, some light
The light-receiving area variable quantity of quick diode transverse direction and longitudinal direction is with the linear relationship of photosensitive mobile device moving coordinate:DX=(S2-
S1) * λ, dY=(S1+S2-S3) * λ, wherein, dX represents the abscissa of photosensitive mobile device moving coordinate, and dY represents photosensitive movement
The vertical coordinate of device moving coordinate, λ represents default Sensitirity va1ue, and S1, S2 represent respectively two positioned at rectangular window projection
The light-receiving area of two light sensitive diodes on drift angle, S3 represents the light sensitive diode on the base of rectangular window projection
Light-receiving area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310210962.5A CN103279209B (en) | 2013-05-30 | 2013-05-30 | Two-dimensional positioning method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310210962.5A CN103279209B (en) | 2013-05-30 | 2013-05-30 | Two-dimensional positioning method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103279209A CN103279209A (en) | 2013-09-04 |
CN103279209B true CN103279209B (en) | 2017-04-19 |
Family
ID=49061764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310210962.5A Expired - Fee Related CN103279209B (en) | 2013-05-30 | 2013-05-30 | Two-dimensional positioning method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103279209B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105881540B (en) * | 2016-05-27 | 2017-12-29 | 深圳市晶荣光电科技有限公司 | One kind puts part localization method |
CN108509035B (en) * | 2018-03-20 | 2021-06-18 | 瑞芯微电子股份有限公司 | VR (virtual reality) man-machine interaction method and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1701299A (en) * | 2003-04-11 | 2005-11-23 | 韩商·摩必索股份有限公司 | Pointing device |
CN1707415A (en) * | 2004-06-09 | 2005-12-14 | 夏普株式会社 | Protection hood of sensor surface capable of conducting fixed point operation |
CN101853091A (en) * | 2009-03-31 | 2010-10-06 | 原相科技股份有限公司 | Optical displacement detection device and operation method thereof |
CN102043528A (en) * | 2009-10-14 | 2011-05-04 | 索尼公司 | Input apparatus, display apparatus having an input function, input method, and method of controlling a display apparatus having an input function |
CN102902419A (en) * | 2011-07-27 | 2013-01-30 | 原相科技股份有限公司 | Mixed type pointing device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4834482B2 (en) * | 2006-07-24 | 2011-12-14 | 東芝モバイルディスプレイ株式会社 | Display device |
US8269746B2 (en) * | 2006-11-27 | 2012-09-18 | Microsoft Corporation | Communication with a touch screen |
TW201019175A (en) * | 2008-11-14 | 2010-05-16 | Kye Systems Corp | Optical motion track module |
-
2013
- 2013-05-30 CN CN201310210962.5A patent/CN103279209B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1701299A (en) * | 2003-04-11 | 2005-11-23 | 韩商·摩必索股份有限公司 | Pointing device |
CN1707415A (en) * | 2004-06-09 | 2005-12-14 | 夏普株式会社 | Protection hood of sensor surface capable of conducting fixed point operation |
CN101853091A (en) * | 2009-03-31 | 2010-10-06 | 原相科技股份有限公司 | Optical displacement detection device and operation method thereof |
CN102043528A (en) * | 2009-10-14 | 2011-05-04 | 索尼公司 | Input apparatus, display apparatus having an input function, input method, and method of controlling a display apparatus having an input function |
CN102902419A (en) * | 2011-07-27 | 2013-01-30 | 原相科技股份有限公司 | Mixed type pointing device |
Also Published As
Publication number | Publication date |
---|---|
CN103279209A (en) | 2013-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7633628B2 (en) | Optical lens system and position measurement system using the same | |
US10582188B2 (en) | System and method for adjusting a baseline of an imaging system with microlens array | |
US7737947B2 (en) | Tracking motion using an interference pattern | |
US6683675B2 (en) | Distance measuring apparatus and distance measuring method | |
JP3728900B2 (en) | Calibration method and apparatus, and calibration data generation method | |
CN106932780A (en) | Object positioning method, device and system | |
CN105974427A (en) | Structural light distance measurement device and method | |
CN104279960A (en) | Method for measuring size of object through mobile device | |
CA2253085A1 (en) | Methods and system for measuring three dimensional spatial coordinates and for external camera calibration necessary for that measurement | |
CN103698256A (en) | Method and device for on-line measurement of liquid spraying through full-field rainbow | |
CN109269421A (en) | Omnipotent shooting measuring scale | |
CN103379277A (en) | Ranging apparatus, ranging method and imaging system | |
CN104133076A (en) | Speed measurement device and method and terminal | |
CN103279209B (en) | Two-dimensional positioning method and device | |
Chourasiya et al. | Non-intrusive underwater measurement of mobile bottom surface | |
JP4281056B2 (en) | Displacement measuring method for long distance object and displacement measuring device for long distance object | |
CN107036555B (en) | A kind of cross-axis optical grating projection measurement analogue system and its implementation | |
US6603561B2 (en) | Chromatic diffraction range finder | |
CN101201548A (en) | Measuring system and method for focusing and leveling | |
CN103365095A (en) | Back off-axis alignment system based on array photoelectric sensor, and photoetching device and method | |
Wu et al. | Multi‐camera traffic scene mosaic based on camera calibration | |
CN108122244A (en) | The video frequency speed-measuring method and device of a kind of video image | |
CN208061260U (en) | A kind of line-scan digital camera caliberating device for stereo-visiuon measurement | |
CN105953820B (en) | A kind of optical calibrating device of inertial measurement combination dynamic navigation performance | |
RU2645432C1 (en) | Method of videogrammetry systems calibration and control device for its implementation |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170419 |
|
CF01 | Termination of patent right due to non-payment of annual fee |