A kind of locating device of electric whiteboard system and localization method
Technical field
The present invention relates to a kind of interactive projection system, specifically is a kind of electric whiteboard system.
Background technology
Electric whiteboard system is mainly by display device, locating device and control device are formed, and according to the display device difference that adopts, present electric whiteboard system probably is divided into two classes, one class adopts large screen television as display device, and the another kind of projector that then adopts is as display device.Adopt the electric whiteboard system of large screen television often to adopt touch-screen as its locating device, this electric whiteboard system display effect is good, the bearing accuracy height, easy to operate, but under the large-size situation, cost is very high, economy is not high, is not easy to large-scale promotion and uses.Another electronic whiteboard adopts projector as display device, and this electric whiteboard system can realize that by updating apparatus economy is very high on existing multimedia teaching facility, be well suited for vast educational institution and use.
At present the locating device based on the electric whiteboard system of projection uses infrared technique or ultrasonic technology to realize mostly, main implementation has two kinds: a kind of mode is installed in infrared and ultrasonic probe, ultrasonic receiver and emitter around the display device, when the electronic whiteboard pen when display device is write, it will block a part of infrared ray or ultrasound wave, by receiving trap can obtain the to be blocked coordinate of light, thereby realize the location, this mode exists bearing accuracy not high, the problem of system complex, particularly when a certain partial occlusion of human body is between infrared and ultrasonic transmission device and receiving trap, locating device will produce erroneous judgement, can't operate as normal.Another mode is at the electronic whiteboard pen infraluminescence device to be installed, at projection arrangement a camera is installed, catching the infraluminescence point by camera positions, this mode precision is higher, system is also simpler relatively, but when the infraluminescence device of electronic whiteboard pen was blocked by human body, camera just can't capture the infraluminescence point, thereby locating device is malfunctioning.Cause the problem that can't locate so need avoid the human body shield as far as possible, this has influenced the normal use of electric whiteboard system.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of locating device that can not influence the normal electric whiteboard system that uses of electric whiteboard system because of the situation that occurs blocking.
The present invention solves the problems of the technologies described above by the following technical solutions: a kind of locating device of electric whiteboard system, formed by an electronic whiteboard pen and a projection screen, the electronic whiteboard pen is made up of nib and a body, in the body of described electronic whiteboard pen controller, storer, camera, driver, light emitting diode, wireless communication module, battery and optical filter and lens is installed;
Controller is connected with camera, wireless communication module, driver, storer, it passes through the driver control lumination of light emitting diode, and obtains image by camera, carries out image recognition, obtain locating information, and send locating information by wireless communication module;
Camera is used for obtaining image, and its view data is delivered to controller and is used for image recognition;
What optical filter was selected for use is bandpass filter, is installed in the camera front end, be used for will with the light filtering of the irrelevant wavelength of image recognition;
Driver is used for providing drive current for light emitting diode under the control of controller;
The light emitting diode selection work is used for the emission ultraviolet light at the light emitting diode of ultraviolet band;
Lens are used for the light of light emitting diode output is focused on, and are used for the visual field of coupling camera;
Wireless communication module is used for carrying out radio communication with the control device of electric whiteboard system, the transmission locating information;
Storer is used for the required software of memory controller and preserves identifying information;
Battery provides power supply for each electronic unit;
Projection screen has been characterised in that the coordinate information that used short wave ultraviolet light fluorescence excitation ink printing.
Optimize, described camera is apart from nib 45~55mm, and the visual angle is 25~35 degree, and the visual field of camera is the square of (57.7 ± 5) mm* (57.7 ± 5) mm.
Optimize, described projection screen is the white paper of fluorescent ink printing.
Optimize, the coded format of the coordinate information of described projection screen is as follows: whole screen coordinate is divided into the capable and M row of N, the numerical value of N and M determines according to the resolution of projection arrangement, uses tri-bit encoding to represent horizontal ordinate and ordinate respectively, encode first be " # " or "; ", " # " represents horizontal ordinate, “ ﹠amp; " representing ordinate; encode second and the 3rd use: 10 numerals, 26 English alphabets, and 8 Greek alphabets: " α "; " β "; " δ ", " θ ", " λ "; " π "; " φ ", the permutation and combination of " ψ " realizes that the ranks number that this dibit encoding is represented is 44*44=1936.
Optimize, the print format of described coordinate information is as follows: it is capable to print 2*N altogether, odd-numbered line print line coordinate, and concrete form is: " # the N row-coordinate # the N row-coordinate # the N row-coordinate # the N row-coordinate ", and even number line print column coordinate, concrete form is: “ ﹠amp; The 1st row Zuo Biao ﹠amp; The 2nd row Zuo Biao ﹠amp; The 3rd row coordinate ... ..﹠amp; M row coordinate ".
Optimize, described coordinate information printing font size is selected 3 pounds, and single coordinate printshop footprint area minimum is 3 (mm) *, 3 (mm), and namely this locating device minimum lateral and longitudinal frame are 3mm.
The present invention also provides a kind of localization method of locating device of above-mentioned electric whiteboard system, comprises following flow process:
Step 1: controller is opened driver;
Step 2: driver drives light emitting diode emission short wave ultraviolet light;
Step 3: the coordinate information on the projection screen is excited to produce fluorescence;
Step 4: camera obtains image;
Step 5: controller Down Drive;
Step 6: controller carries out filtering to image, and slant correction is handled;
Step 7: controller carries out optical character identification, with symbol " # " and “ ﹠amp; " for sign recognition result is differentiated, the coordinate coding that the image border is incomplete is abandoned, and deposits recognition result in matrix according to print format;
Step 8: according to matrix size, seek the coordinate coding of matrix center, and be coordinate values with this coordinate code conversion;
Step 9: the control device that coordinate values is sent to electric whiteboard system by wireless communication module.
The invention has the advantages that: the situation that can not occur blocking between electronic whiteboard pen and the projection screen among the present invention, and adopt wireless connections between the control device of electronic whiteboard pen and electric whiteboard system, positioning performance is stable, the problem that positioning signal is interrupted can not occur.
Use when of the present invention, only need at an existing electronic whiteboard system-based upgrading projection screen and change the electronic whiteboard pen, and control software in the control device upgrading and can realize, need not to change projection arrangement and control device.Under the not enough situation of condition, the white paper of fluorescent ink printing directly is affixed on wall gets final product, need not special-purpose projection screen and also can realize function of the present invention.
Description of drawings
Fig. 1 is the primary structure block diagram of electronic whiteboard pen.
Fig. 2 is projection screen printing example.
Embodiment
The present invention proposes a kind of preventing because blocking the locating device of the electric whiteboard system that influences normal use.
The locating device of this electric whiteboard system is made up of an electronic whiteboard pen and a projection screen.
The primary structure of electronic whiteboard pen as shown in Figure 1.The electronic whiteboard pen is made up of nib and a body, and electronic unit and opticses such as optical filter and lens such as controller, storer, camera, driver, light emitting diode, wireless communication module, battery are installed in the body.
Controller is the core component of electronic whiteboard pen, it is connected with camera, wireless communication module, driver, storer, it is by the driver control lumination of light emitting diode, and obtain image by camera, carry out image recognition, obtain locating information, and send locating information by wireless communication module.
Camera is used for obtaining image, and its view data is delivered to controller and is used for image recognition.Camera is apart from written 50mm, and the visual angle is 30 degree, and the visual field of camera is about the square of 57.7 (mm) *, 57.7 (mm).
What optical filter was selected for use is bandpass filter, is installed in the camera front end, be used for will with the light filtering of the irrelevant wavelength of image recognition, improve signal noise ratio (snr) of image.
Driver is used for providing drive current for light emitting diode under the control of controller.
The light emitting diode selection work is used for the emission ultraviolet light at the light emitting diode of ultraviolet band (200-400nm).
Lens are used for the light of light emitting diode output is focused on, and are used for the visual field of coupling camera.
Wireless communication module is used for carrying out radio communication with the control device of electric whiteboard system, the transmission locating information.
Storer is used for the required software of memory controller and preserves identifying information.
Battery provides power supply for each electronic unit.
Projection screen has been characterised in that and the coordinate information that used short wave ultraviolet light fluorescence excitation ink printing has been different from existing projection screen, has been in order to cooperate above-mentioned electronic whiteboard pen.
Be colourless under the short wave ultraviolet light fluorescence excitation printing ink normal condition, (wavelength is: when 254nm) shining, will produce fluorescence, fluorescence is in visible light wave range, and (wavelength is: 400-800nm) when using short wave ultraviolet light.
The coded format of coordinate information is as follows: whole screen coordinate is divided into the capable and M row of N, the numerical value of N and M is determined according to the resolution of projection arrangement, use tri-bit encoding to represent horizontal ordinate and ordinate respectively, encoding first is " # " (horizontal ordinate) or “ ﹠amp; " (ordinate); encode second and the 3rd use: 10 numerals, 26 English alphabets, and the permutation and combination of 8 Greek alphabets (" α "; " β "; " δ ", " θ ", " λ "; " π "; " φ ", " ψ ") realizes that the ranks number that this dibit encoding can be represented is 44*44=1936.
The print format of coordinate information is as follows: it is capable to print 2*N altogether, odd-numbered line print line coordinate, and concrete form is: " # the N row-coordinate # the N row-coordinate # the N row-coordinate # the N row-coordinate ", and even number line print column coordinate, concrete form is: “ ﹠amp; The 1st row Zuo Biao ﹠amp; The 2nd row Zuo Biao ﹠amp; The 3rd row coordinate ... ..﹠amp; M row coordinate ".Instantiation as shown in Figure 2.
As a specific embodiment, coordinate information printing font size is selected 3 pounds, and then single coordinate printshop footprint area minimum is about 3 (mm) *, 3 (mm), and namely this positioning system minimum lateral and longitudinal frame are 3mm.
The present invention also proposes a kind of localization method based on above locating device, and idiographic flow is as follows:
Step 1: controller is opened driver;
Step 2: driver drives light emitting diode emission short wave ultraviolet light;
Step 3: the coordinate information on the projection screen is excited to produce fluorescence;
Step 4: camera obtains image;
Step 5: controller Down Drive;
Step 6: controller carries out filtering to image, and slant correction is handled;
Step 7: controller carries out optical character identification, with symbol " # " and “ ﹠amp; " for sign recognition result is differentiated, the coordinate coding that the image border is incomplete is abandoned, and deposits recognition result in matrix according to print format;
Step 8: according to matrix size, seek the coordinate coding of matrix center, and be coordinate values with this coordinate code conversion;
Step 9: the control device that coordinate values is sent to electric whiteboard system by wireless communication module.
What obtain by above method is the absolute position of electronic whiteboard pen on projection screen, and the image and the projection screen size that require projection arrangement to launch are complementary.If projection arrangement is incident upon image on the projection screen less than the projection screen size, then beginning to carry out initialization before the location.The initialization concrete operations are as follows:
1. control device is controlled projection arrangement according to the lower left corner, the lower right corner, and the upper right corner, the order at the upper left corner and center shows the position reference sign respectively in the relevant position.
2. the electronic whiteboard pen is clicked the relevant position, and the coordinate information that obtains is saved to storer.
After the initialization, when locating, the electronic whiteboard pen is according to the lower left corner that obtains at every turn, the lower right corner, and the upper right corner, the relative coordinate of the position that coordinate Calculation obtains at the upper left corner and center, and relative coordinate is sent to control device.
The above is only for the preferred embodiment of the invention; not in order to limit the invention; all in the invention spirit and principle within do any modification, be equal to and replace and improvement etc., all should be included within the protection domain of the invention.