CN101901087B - Surface positioning device and method based on linear image sensors - Google Patents
Surface positioning device and method based on linear image sensors Download PDFInfo
- Publication number
- CN101901087B CN101901087B CN 201010238673 CN201010238673A CN101901087B CN 101901087 B CN101901087 B CN 101901087B CN 201010238673 CN201010238673 CN 201010238673 CN 201010238673 A CN201010238673 A CN 201010238673A CN 101901087 B CN101901087 B CN 101901087B
- Authority
- CN
- China
- Prior art keywords
- imaging sensor
- linear imaging
- image
- data
- module
- 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
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
The invention provides a surface positioning device based on linear image sensors, comprising two linear image sensor modules mounted above a positioning surface as well as a light source module, wherein the linear image sensor modules and the light source module are connected with an image calculation module which is connected with a data transmission module, the data transmission module is connected with a computer, either linear image sensor module comprises a liner image sensor and an optical lens, and an image operating module comprises a singlechip and two analog-digital conversion chips corresponding to the linear image sensor modules and supplies clocks and control signals to the linear image sensor modules. In the invention, the positioning surface is shot by adopting the linear image sensors, and shot linear images are calculated and processed so that touch coordinates are acquired. Compared with the prior art, the invention has small size, low cost and high frame rate.
Description
[technical field]
The present invention relates to a kind of surperficial positioning touch device of graphic user interface, be specifically related to a kind of surface positioning device based on linear imaging sensor and adopt the surperficial localization method of this device.
[background technology]
The technology of location, present surface generally is based on infrared, and method is the side emission infrared light at locating surface, whether is blocked to judge by detecting infrared light whether locating surface touch event occurs and locate touch coordinate at opposite side.The shortcoming of this method is that frame per second is lower, and Installation and Debugging are complicated.Because the physical property of infrared transmitting tube, receiving tube determines that it can not be operated in very high frequency, has determined that Infrared Surface localization method frame per second can't improve.And infrared receiving tube will receive the infrared light of infrared transmitting tube emission, must all accurately aim at by every pair of infrared tube pipe when mounted, has caused the technique more complicated of Installation and Debugging.
In order to solve the shortcoming of Infrared Surface location technology, a kind of surperficial location technology based on imageing sensor has also appearred on the market.This technology is to take the image of locating surface by imageing sensor, obtains touch information after processing through image calculation and positions.The advantage of this technology is that frame per second is than the height of Infrared Surface location, but because the general volume ratio of common image sensor is larger, and frequency of operation is high, the travelling speed that needs tens megahertzes, the control complex time, the parameter that need to arrange is a lot, has caused the complicacy of this technology, needs many high-speed peripheral circuit to control with calculating just and can obtain touch coordinate information.So the volume of this device is all larger, and cost is expensive.
Therefore, provide the surface positioning device that a kind of frame per second is high, debugging is simple, volume is little, cost is low real in necessary.
[summary of the invention]
The object of the present invention is to provide that a kind of volume is little, cost is low, frame per second is high based on the surface positioning device of linear imaging sensor and adopt the surperficial localization method of this device.
For realizing the object of the invention, provide following technical scheme:
The invention provides a kind of surface positioning device based on linear imaging sensor, it comprises two linear imaging sensor modules that are installed in the locating surface top, and light source module, this linear imaging sensor module, light source module is connected with the image operation module, the image operation module connects the data transmission module, data transmission module links to each other with computing machine, this linear imaging sensor module comprises linear imaging sensor and optical lens, this image operation module comprises two modulus conversion chips corresponding with the linear imaging sensor module and a single-chip microcomputer, and this image operation module provides clock and control signal to the linear imaging sensor module.
Described linear imaging sensor module is used for gathering the locating surface image, and image data transmission to described image operation module, the image operation module is calculated image, after obtaining the touch coordinate of locating surface, pass to computing machine by described data transmission module, computing machine can correspondingly move according to touch coordinate.
Described linear imaging sensor module is transferred to the image operation module to video signal under the control of image operation module.Described image operation module is the core of whole system, is comprised of two modulus conversion chips and a single-chip microcomputer.The corresponding modulus conversion chip of described each linear imaging sensor module, the video signal of described linear imaging sensor module output is simulating signal, the function of modulus conversion chip is exactly that the video image of simulating signal is converted to digital signal, and is transferred to single-chip microcomputer and carries out computing.Function of the MCU in the described image operation module also comprises work clock and the control signal that described linear imaging sensor module is provided.
Described image operation module mainly realizes raw image data transmission, binary image data transmission, coordinate Calculation function.Under the original image transmission mode, described image operation module is transferred to computing machine to view data by data transmission module reading after every road is converted to the vedio data of digital signal through modulus conversion chip.Under the binary image transmission mode, described image operation module is reading after every road is converted to the vedio data of digital signal through modulus conversion chip, first view data is carried out binary conversion treatment, then the view data after the binaryzation is transferred to computing machine by data transmission module.Under the coordinate Calculation pattern, described image operation module reads every road is converted to digital signal through modulus conversion chip vedio data, view data is transferred to computing machine to the touch point coordinate data that calculates by described data transmission module through after the computing.
Described optical lens is the visual angle greater than 90 ° small-sized camera lens.The oblique installation in the locating surface of this linear imaging sensor, make the shooting face of two linear imaging sensors can photograph whole locating surface, the setting angle of this linear imaging sensor is according to the practical situations setting, better, this linear imaging sensor Oblique 45 Degree in the locating surface is installed.
Described data transmission module function is the RS232 protocol conversion, namely the coordinate data of single-chip microcomputer output is converted to the RS232 agreement and sends to computing machine.Described data transmission module is comprised of a slice RS232 chip and peripheral circuit thereof.
Described light source module is comprised of several infrared LEDs, and taking for linear imaging sensor provides lighting source.Described light source module is installed in the top of locating surface, launches infrared light downwards.In order to prevent that infrared light from reflecting when the no touch, need to all stick dark light absorbent all the other three partss except the light source module place of locating surface, place the locating surface top such as light source module, then need to below reaching about locating surface, stick respectively dark light absorbent.
The present invention also provides a kind of surperficial localization method that adopts described surface positioning device based on linear imaging sensor, and it comprises the steps:
The first step, the shooting effective coverage of setting linear imaging sensor makes the shooting effective coverage of linear imaging sensor can just cover whole locating surface.
Further, setting the method for taking the effective coverage is: the image operation module is set first works in the raw image data transmission mode, touch respectively four angles of locating surface with felt pen, the position at the edge of the locating surface that photographs according to linear imaging sensor, by RS232 the shooting effective coverage is set by computer software, single-chip microcomputer is kept at parameter in the nonvolatile memory after receiving shooting effective coverage order being set.
Second step, linear imaging sensor photographs the image of whole locating surface, after analog to digital conversion, data are passed to single-chip microcomputer, shooting effective coverage according to first step setting, single-chip microcomputer abandons the data of taking outside the effective coverage first, then the view data of taking in the effective coverage is carried out binary conversion treatment.
Further, the method for binary conversion treatment is: set a threshold value, think that when view data this point is bright spot during more than or equal to threshold value, view data is replaced into FFH, thinks that this point is dim spot when view data during less than threshold value, and view data is replaced into 00H.
When threshold size is set, the image operation module is set first works in the binary image transmission mode, in the situation that the no touch event occurs, adjust the size of threshold value, guarantee to take effective coverage brightness of image value all less than threshold value; Then touch locating surface with felt pen respectively at the edge of locating surface, adjust threshold size, guarantee that felt pen location drawing image brightness value is greater than threshold value.
The described method that threshold size is set is to be arranged by RS232 by computer software, and single-chip microcomputer is kept at parameter in the nonvolatile memory after receiving the threshold size order being set.
In the 3rd step, the data stream of single-chip microcomputer after to binaryzation analyzed, and finds out the speck in the view data, and namely value be the data of FFH, if there is not FFH in the data stream, thinks the generation of no touch event; If there is FFH in the data, the coordinate of these data in image namely thought the felt pen position, and continuous FFH data are thought a speck, i.e. touch point, and the coordinate at speck center is thought the position of felt pen;
In the 4th step, after the 3rd step detected the touch event generation, single-chip microcomputer sent to computing machine to the coordinate of felt pen, was further calculated by computing machine, thereby obtained felt pen in the position of locating surface.
The contrast prior art, the present invention has the following advantages:
The present invention adopts linear imaging sensor that locating surface is taken, and the linear image that photographs is carried out computing, thereby obtain touch coordinate.Different from common image sensor, linear imaging sensor is only taken delegation's image, so do not need very high travelling speed can satisfy higher frame per second requirement, generally the travelling speed less than 1MHz can reach above the frame per second more than the 150Hz, when satisfying high frame per second and require, avoided adopting expensive high-speed peripheral circuit to sample and calculate.And the linear imaging sensor volume is little, and is lower to requirements of installation space, for installation provides very large convenience.The core processing part only needs to adopt cheap single-chip microcomputer can satisfy processing requirements, and cost is lower.
[description of drawings]
Fig. 1 is the structural representation of surface positioning device of the present invention;
Light reflection synoptic diagram when Fig. 2 is the touch event generation;
Fig. 3 be touch event when occuring two cameras photograph the original image synoptic diagram of image;
Two cameras photographed image binaryzation image synoptic diagram when Fig. 4 was the touch event generation;
Fig. 5 is touch point coordinate Calculation synoptic diagram.
[embodiment]
As shown in Figure 1, be the surface positioning device structural representation that the present invention is based on linear imaging sensor.
Two linear imaging sensors are installed in respectively the upper left corner and the upper right corner of locating surface, the linear imaging sensor 45 ° of installations in 1 oblique lower right in the upper left corner, the linear imaging sensor 45 ° of installations in 2 oblique lower lefts in the upper right corner make the shooting face of two linear imaging sensors can photograph whole locating surface.Locating surface left-hand face, right lateral surface and surface below are sticked dark light absorbent, prevent that infrared light from light reflection occuring when the no touch event.
When locating surface no touch event occured, the infrared light that infrared light supply sends was absorbed by dark light absorbent, and infrared light can not reflex to linear imaging sensor, so the image that linear imaging sensor photographs at this moment is a concealed wire that brightness value is lower.
When locating surface has touch event to occur, the Infrared irradiation that infrared light supply sends is launched behind felt pen, and infrared light reflection is to linear imaging sensor, so, in the image that linear imaging sensor photographs at this moment, the brightness value of felt pen position is far above other position.Fig. 2 is light reflection synoptic diagram when touch event occurs, and Fig. 3 is that linear imaging sensor photographs the original image synoptic diagram when sending touch event, and Fig. 4 is that linear imaging sensor photographs the binary image synoptic diagram when sending touch event.
Based on above-mentioned principle, it is as described below that touch coordinate calculates embodiment:
The first step, the shooting effective coverage of setting linear imaging sensor makes the shooting effective coverage of linear imaging sensor can just cover whole locating surface.
Further, set when taking the effective coverage, the image operation module is set first works in the raw image data transmission mode, this moment, computer terminal can be seen the image frame that linear imaging sensor photographs by software.Touch respectively four angles of locating surface with felt pen, the felt pen reflects infrared light is in linear imaging sensor, in image, show as speck, at this moment, the speck position of felt pen when the upper right corner and the lower left corner is exactly the edge of the locating surface that photographs of upper left side linear imaging sensor, same, the speck position of felt pen when the upper left corner and the lower right corner is exactly the edge of the locating surface that photographs of upper right side linear imaging sensor, then according to the position at edge, by RS232 the shooting effective coverage is set by computer software, single-chip microcomputer is kept at nonvolatile memory to parameter (such as EEPROM after receiving shooting effective coverage order being set, flash etc.) in.When system started, single-chip microcomputer automatically read this parameter and arranges taking the effective coverage.
Second step, linear imaging sensor photographs the image of whole locating surface, after analog to digital conversion, data are passed to single-chip microcomputer, shooting effective coverage according to first step setting, single-chip microcomputer abandons the data of taking outside the effective coverage first, then the view data of taking in the effective coverage is carried out binary conversion treatment.
Further, the method for binary conversion treatment is, sets a threshold value, thinks that this point is bright spot when view data during more than or equal to threshold value, and view data is replaced into FFH, thinks that this point is dim spot when view data during less than threshold value, and view data is replaced into 00H.After the binary conversion treatment, view data becomes the data stream of only having FFH and two values of 00H.
Further, when threshold size is set, the image operation module is set first works in the binary image transmission mode, at this moment, computer terminal can view the black white image that linear imaging sensor photographs by software.In the situation that the no touch event occurs, adjust the size of threshold value, guaranteeing to take the effective coverage image is complete black picture, namely takes effective coverage brightness of image value all less than threshold value.Then touch locating surface with felt pen respectively at the edge of locating surface, adjust threshold size, guarantee that the felt pen position is white image in the black white image, namely felt pen location drawing image brightness value is greater than threshold value.After adjustment is finished, guarantee that image is black when the no touch event occurs, when having touch event to occur, the felt pen image is white, and it is black that all the other locations drawing look like.
Further, the method that threshold size is set is to be arranged by RS232 by computer software, and single-chip microcomputer is kept at parameter in the nonvolatile memory after receiving the threshold size order being set.When system started, single-chip microcomputer automatically read this parameter and threshold value is arranged.
In the 3rd step, the data stream of single-chip microcomputer after to binaryzation analyzed, and finds out the speck in the view data, and namely value be the data of FFH, if there is not FFH in the data stream, thinks the generation of no touch event; If there is FFH in the data, the coordinate of these data in image namely thought the felt pen position, and continuous FFH data are thought a speck, i.e. touch point, and the coordinate at speck center is thought the position of felt pen.
In the 4th step, after the 3rd step detected the touch event generation, single-chip microcomputer sent to computing machine to the coordinate of felt pen, carried out trigonometric function by computing machine according to the position of felt pen in image and calculated, thereby obtain felt pen in the position of locating surface.Further, the trigonometric function computing method are as follows:
Suppose that the position of touch point in linear imaging sensor 1 is P
1, the position in linear imaging sensor 2 is P
2, linear imaging sensor resolution is R, and the locating surface width is W, and these four parameters are known parameters, wherein P
1, P
2To obtain position coordinates in the 3rd step.The touch point is (x, y) at the coordinate of locating surface, x be the touch point apart from the coordinate of locating surface left surface, y is that the touch point is apart from the coordinate on locating surface top.α is the angle of touch point and linear imaging sensor 1 connecting line and the formation of locating surface left surface, and β is the angle of touch point and linear imaging sensor 2 connecting lines and the formation of locating surface right flank, as shown in Figure 5.
According to the principle of imaging, obtain following relation:
α=90°*(P
1/R)
β=90°*(1-P
2/R)
According to the tan of trigonometric function, can get:
tan(α)=x/y
tan(β)=(W-x)/y
Because α, β and W are known parameters, solving an equation to get coordinate (x, y).
The above is preferred embodiment of the present invention only, and protection scope of the present invention is not limited to this, anyly all belongs within the protection domain of the present invention based on the equivalent transformation on the technical solution of the present invention.
Claims (5)
1. surperficial localization method, the method adopts the surface positioning device based on linear imaging sensor, this device comprises two linear imaging sensor modules that are installed in the locating surface top, and light source module, this linear imaging sensor module, light source module is connected with the image operation module, the image operation module connects the data transmission module, data transmission module links to each other with computing machine, this linear imaging sensor module comprises linear imaging sensor and optical lens, this image operation module comprises two modulus conversion chips corresponding with the linear imaging sensor module and a single-chip microcomputer, and this image operation module provides clock and control signal to the linear imaging sensor module, it is characterized in that this surface localization method comprises the steps:
The first step, the shooting effective coverage of setting linear imaging sensor makes the shooting effective coverage of linear imaging sensor can just cover whole locating surface;
Second step, linear imaging sensor photographs the image of whole locating surface, after analog to digital conversion, data are passed to single-chip microcomputer, shooting effective coverage according to first step setting, single-chip microcomputer abandons the data of taking outside the effective coverage first, then the view data of taking in the effective coverage is carried out binary conversion treatment;
In the 3rd step, the data stream of single-chip microcomputer after to binaryzation analyzed, and finds out the speck in the view data, and namely value be the data of FFH, if there is not FFH in the data stream, thinks the generation of no touch event; If there is FFH in the data, the coordinate of these data in image namely thought the felt pen position, and continuous FFH data are thought a speck, i.e. touch point, and the coordinate at speck center is thought the position of felt pen;
In the 4th step, after the 3rd step detected the touch event generation, single-chip microcomputer sent to computing machine to the coordinate of felt pen, was further calculated by computing machine, thereby obtained felt pen in the position of locating surface.
2. surperficial localization method as claimed in claim 1, it is characterized in that, described first step is set the method for taking the effective coverage: the image operation module is set first works in the raw image data transmission mode, touch respectively four angles of locating surface with felt pen, the position at the edge of the locating surface that photographs according to linear imaging sensor, by RS232 the shooting effective coverage is set by computer software, single-chip microcomputer is kept at parameter in the nonvolatile memory after receiving shooting effective coverage order being set.
3. surperficial localization method as claimed in claim 1, it is characterized in that, the method of binary conversion treatment is in the described second step: set a threshold value, when view data thinks that this point is bright spot during more than or equal to threshold value, view data is replaced into FFH, think that this point is dim spot when view data during less than threshold value, view data is replaced into 00H.
4. surperficial localization method as claimed in claim 3, it is characterized in that, when in the described second step threshold size being set, the image operation module is set first works in the binary image transmission mode, in the situation that the no touch event occurs, adjust the size of threshold value, guarantee to take effective coverage brightness of image value all less than threshold value; Then touch locating surface with felt pen respectively at the edge of locating surface, adjust threshold size, guarantee that felt pen location drawing image brightness value is greater than threshold value.
5. surperficial localization method as claimed in claim 4 is characterized in that, the described method that threshold size is set is to be arranged by RS232 by computer software, and single-chip microcomputer is kept at parameter in the nonvolatile memory after receiving the threshold size order being set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010238673 CN101901087B (en) | 2010-07-27 | 2010-07-27 | Surface positioning device and method based on linear image sensors |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010238673 CN101901087B (en) | 2010-07-27 | 2010-07-27 | Surface positioning device and method based on linear image sensors |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101901087A CN101901087A (en) | 2010-12-01 |
CN101901087B true CN101901087B (en) | 2013-04-10 |
Family
ID=43226670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010238673 Expired - Fee Related CN101901087B (en) | 2010-07-27 | 2010-07-27 | Surface positioning device and method based on linear image sensors |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101901087B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI450156B (en) * | 2011-07-15 | 2014-08-21 | Wistron Corp | Optical imaging device and imaging processing method for optical imaging device |
TWI461990B (en) * | 2011-08-30 | 2014-11-21 | Wistron Corp | Optical imaging device and image processing method for optical imaging device |
CN102508582B (en) * | 2011-11-30 | 2015-01-07 | 无锡海森诺科技有限公司 | Optical touch calibration automatic adjusting method |
CN103034375B (en) * | 2012-10-19 | 2016-08-10 | 无锡海森诺科技有限公司 | The choosing method of optimal initial row of optical touch image |
CN104111756B (en) * | 2013-04-17 | 2017-06-16 | 广州视睿电子科技有限公司 | Method and system for improving image frame rate and optical imaging touch screen system |
TWI543046B (en) * | 2014-07-15 | 2016-07-21 | 廣達電腦股份有限公司 | Optical touch-control system |
CN104883819B (en) * | 2015-04-29 | 2018-08-07 | 广东威创视讯科技股份有限公司 | PCB silk-screen processing method and system |
CN109059760A (en) * | 2018-07-31 | 2018-12-21 | 易视智瞳科技(深圳)有限公司 | A kind of tool alignment method and its device |
CN112966556B (en) * | 2021-02-02 | 2022-06-10 | 豪威芯仑传感器(上海)有限公司 | Moving object detection method and system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1932726A (en) * | 2006-10-13 | 2007-03-21 | 广东威创日新电子有限公司 | Digital image sensor locator based on CMOS and locating method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07200130A (en) * | 1993-12-29 | 1995-08-04 | Wacom Co Ltd | Optical digitizer and its display device |
JP4891179B2 (en) * | 2007-08-13 | 2012-03-07 | キヤノン株式会社 | Coordinate input device, coordinate input method |
-
2010
- 2010-07-27 CN CN 201010238673 patent/CN101901087B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1932726A (en) * | 2006-10-13 | 2007-03-21 | 广东威创日新电子有限公司 | Digital image sensor locator based on CMOS and locating method |
Non-Patent Citations (1)
Title |
---|
JP特开平7-200130A 1995.08.04 |
Also Published As
Publication number | Publication date |
---|---|
CN101901087A (en) | 2010-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101901087B (en) | Surface positioning device and method based on linear image sensors | |
CN104182727B (en) | Ultra-thin fingerprint and palm print acquisition device and fingerprint and palm print image acquisition method | |
CN102063230B (en) | Optical imaging touch sensing system and imaging method | |
CN105759244B (en) | High-precision indoor locating system based on dual camera and localization method | |
US11747172B2 (en) | Utility meter register optical reading device | |
CN104134352A (en) | Video vehicle characteristic detection system and detection method based on combination of long exposure and short exposure | |
CN103984190A (en) | Optical module installed on mobile terminal | |
CN103714345A (en) | Method and system for detecting fingertip space position based on binocular stereoscopic vision | |
CN103595916A (en) | Double-camera target tracking system and implementation method thereof | |
CN103984191A (en) | Optical module installed on mobile terminal | |
CN102667689B (en) | Interactive display | |
CN102364495A (en) | Small fingerprint acquirer | |
CN109688382A (en) | A kind of underwater picture processing system of underwater robot | |
CN103514449A (en) | Image collecting device and method | |
WO2018200400A1 (en) | Image sensor with range and light-level detection | |
CN201477614U (en) | Single-reflecting liquid crystal touch screen fingerprint and palm print scanner | |
CN101887330B (en) | Electronic equipment as well as single-camera object-positioning device and method thereof | |
CN106203407A (en) | One has environment resistant light interference triangular prism and fingerprint collecting equipment | |
CN202217252U (en) | Touch screen adopting bluetooth communication and based on camera | |
CN101604388A (en) | Bar code scanning type method for checking meter by directly reading | |
CN201796348U (en) | Touch screen adopting wireless way for transmitting data | |
CN203219302U (en) | Marine intelligent lamplight communication system | |
CN100367281C (en) | Pulsed laser spot software synchronization acquisition method | |
US9024880B2 (en) | Interactive system capable of improving image processing | |
US20100097351A1 (en) | Apparatus and method for adjusting finger depth using camera and touch screen having the apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130410 Termination date: 20190727 |
|
CF01 | Termination of patent right due to non-payment of annual fee |