A kind of head video perspective three-dimensional display and control method thereof
Technical field
The present invention is a kind of video perspective formula three-dimensional display and control method thereof of the user's of being worn on head, belongs to the renovation technique of head video perspective three-dimensional display and control method thereof.
Background technology
The augmented reality technology is a kind of can being added to two dimension that computing machine generated or three-dimensional information in the true environment, thereby strengthens a kind of brand-new technical field of user to the perception of true environment.In augmented reality Study on Technology field, follow the tracks of registration, actual situation merges and real-time, interactive is considered to three big essential characteristics of augmented reality technology, also be simultaneously three broad aspect of being badly in need of research and breakthrough.Wherein, the actual situation fusion is meant that dummy object and true environment that computing machine is produced merge mutually, and the dummy object or the numerical information that allow the user feel that these computing machines generate are parts indispensable in the true environment.Therefore, realize that actual situation merges, also need the demonstration that the relevant hardware display device supports that actual situation merges except needing suitable actual situation blending algorithm (software approach), the more important thing is.
Can be used for augmented reality system at present and can realize that the display device that actual situation merges mainly is divided into three major types: (1) wear-type Helmet Mounted Display, as retinal display, three classes such as video perspective formula Helmet Mounted Display and optical perspective helmet display device; (2) hand-held display device is as band mobile phone of camera or PDA etc.; (3) fixed display.All support in the display device that actual situation merges at these three kinds, the wear-type Helmet Mounted Display relies on it can produce actual situation syncretizing effect preferably, be easy to carry about with one, can be applied to many people and participate in the medium advantage of mutual augmented reality system and be widely used in the augmented reality system.The video perspective formula helmet particularly, it not only can carry out to a certain degree compensation to the time-delay of system, simultaneously than optical perspective helmet defectives such as () optical perspective helmet ubiquity dummy object luminance shortage, can produce better syncretizing effect, therefore, it is widely used among the augmented reality system.
The video perspective formula helmet mainly be divided into the binocular formula with monocular formula two classes.Therefore the helmet of monocular formula can not carry out hand and follow the tracks of and depth detection owing to have only a camera, also can't carry out stereo display, influences sense of experience of users and feels.Therefore, in order further to improve the experience of user in the augmented reality application system, binocular formula video perspective formula Helmet Mounted Display will become the Helmet Mounted Display that augmented reality system extensively adopts.The price comparison high (usually about 80,000 yuans) of commercial binocular formula Helmet Mounted Display at present, and have the deficiency of following several respects:
1) be subjected to the influence of camera visual range, the visual range that the present video perspective formula helmet shows is with respect to the visual range of user's eyes, and is narrower;
2) be subjected to the influence that weight design can not be excessive, the image resolution ratio of output is relatively low, generally has only 640 * 480, the highlyest is no more than 800 * 600;
3) because the interpupillary distance (abbreviation interpupillary distance) of different its eyes of people is difference to some extent, if the optical center distance of two cameras of people's eyes interpupillary distance and perspective helmet does not match, will produce prism effect, not only make stereoeffect reduce, also can make certain customers differ the big asthenopia that occurs because of the optical center distance of its eyes interpupillary distance and camera, dizziness, symptom such as feel sick.
Summary of the invention
The objective of the invention is to consider the problems referred to above and a kind of optical center distance that can regulate two cameras is provided, solve because of the do not match head video perspective three-dimensional display of the deficiency that causes phenomenons such as asthenopia of the optical center distance of two cameras and user's eyes interpupillary distance.The present invention is reasonable in design, and is easy to use.
Another object of the present invention is to provide a kind of control method of head video perspective three-dimensional display simple to operation.
Technical scheme of the present invention is: head video perspective three-dimensional display of the present invention, include two cameras, anaglyph spectacles, anaglyph spectacles carriage and control device thereof, wherein two cameras are fixed on the support, anaglyph spectacles is fixed on the anaglyph spectacles carriage, two signal at output end of camera are connected with the input end of control device, the output terminal of control device is connected with the signal input part of anaglyph spectacles, and wherein two cameras are connected with the drive unit that can adjust distance each other.
Above-mentioned drive unit includes micro-step motor and can be converted into straight-line gear train rotatablely moving, wherein the output shaft of micro-step motor is connected with the driving link of gear train, the driven member of gear train is connected with two cameras, and the driving circuit of micro-step motor is electrically connected with the output terminal of control device.
It is above-mentioned that to be converted into straight-line gear train rotatablely moving be rack and pinion drive mechanism, or be slider-crank mechanism, or be cam mechanism, or be screw-drive mechanism, screw-drive mechanism includes screw mandrel and two feed screw nuts that are connected with the output shaft of micro-step motor, wherein micro-step motor is fixed on the motor support plate, two feed screw nuts are enclosed within on the screw mandrel that is connected with the output shaft of micro-step motor, form screw-drive mechanism, and two feed screw nuts and two connecting links are fixed together, and two connecting links are connected with two cameras by two slide block web members respectively.
The output shaft of above-mentioned micro-step motor is directly made and is screw mandrel, and the output shaft both sides of micro-step motor are respectively the opposite screw thread of rotation direction.
Above-mentioned two cameras also are connected with the angular setting piece that can adjust two angles between the camera respectively, and two cameras are connected with two slide block web members by two angular setting pieces respectively.
Above-mentioned two slide block web members also are connected with two slide blocks respectively, and two slide blocks are nested on two guide rails.
Above-mentioned two connecting links are L type connecting link, and two slide block web members are connected with two L type connecting links and two slide blocks respectively by hexagon socket head cap screw, and two feed screw nuts are fixed together by two hexagon socket head cap screws and two L type connecting links; The hexagon socket head cap screw of the through hole of above-mentioned camera angular setting piece by passing the slide block web member is connected; Above-mentioned two cameras cling on camera angular setting piece by tackifier respectively.
Above-mentioned micro-step motor both sides are connected with two fixed blocks of motor both sides; two fixed blocks are connected with motor support plate; motor support plate and combinations thereof body thereof are contained in the main body containment vessel, and a side of main body containment vessel is equipped with the camera overcoat, and opposite side is equipped with the shell back shroud.
The both sides of above-mentioned motor support plate also are separately installed with first travel switch that is used to limit the ultimate range between two cameras and are used to limit second travel switch of the minor increment between two cameras, wherein first travel switch is placed on the outside of motor support plate, so that limit two ultimate ranges between the camera.
Finely tune by first locating slot position between above-mentioned first travel switch and the motor support plate, and finely tune by second locating slot position between second travel switch and the motor support plate.
Above-mentioned feed screw nut is placed on L type connecting link on it on the set through hole, and two hexagon socket head cap screws are inserted into respectively on two set through holes of two set through holes of feed screw nut and L type connecting link, feed screw nut and L type connecting link are fixed on by the threaded connector that passes two set through holes of two set through holes of feed screw nut and L type connecting link, in like manner, another feed screw nut is identical with the connection and the said method of another L type connecting link.
Above-mentioned control device includes host computer and slave computer, host computer is connected with the MAX232 chip by its serial ports, the TXD of slave computer and RXD are connected with the MAX232 chip, slave computer adopts the director data of interrupt mode reception from host computer, and is connected with the driving circuit of micro-step motor by the P2 mouth; Above-mentioned first travel switch and second travel switch are connected with the P2.2 and the P2.3 of slave computer respectively.
Above-mentioned host computer is a computing machine, and slave computer is a single-chip microcomputer.
The control method of head video perspective three-dimensional display of the present invention, it comprises the steps:
1) host computer sends steering order by its serial ports to the MAX232 chip;
2) MAX232 becomes the Transistor-Transistor Logic level of standard to the level conversion of host computer, and slave computer adopts interrupt mode to receive director data from host computer, and sends step-by-step impulse and direction control signal by the P2 mouth to the driving circuit of micro-step motor;
3) when L type connecting link blocked infrared light on first travel switch and second travel switch, first travel switch and second travel switch sent high level signal to slave computer, and slave computer is controlled micro-step motor stop motion immediately after receiving this signal.
Head video perspective three-dimensional display of the present invention is owing to adopt the structure of two cameras being carried out distance adjustment by micro-step motor, micro-step motor is adjusted the distance between two cameras, the interpupillary distance of distance and active user between two cameras is complementary, thereby obtains better 3 D stereo experience effect.The present invention improves user's embodiment effect, avoids or alleviates the user because of ill symptomses such as the interpupillary distance of eyes and the inconsistent fatigue that occurs of the distance between two cameras, dizzinesses.The present invention is that a kind of design is ingenious, function admirable, convenient and practical head video perspective three-dimensional display and control method thereof.
Description of drawings
Fig. 1 is an overall work schematic diagram of the present invention;
Fig. 2 is a whole pie graph of the present invention;
Fig. 3 is that camera of the present invention is installed partial schematic diagram;
Fig. 4 is the installation site synoptic diagram of travel switch of the present invention on back up pad;
Fig. 5 is the scheme of installation of L type connecting link of the present invention;
Fig. 6 is the finished figure after the present invention assembling;
Fig. 7 is the wiring diagram of the novel control device slave computer of the present invention.
Embodiment
Embodiment:
The overall work schematic diagram of head video perspective three-dimensional display of the present invention as shown in Figure 1, show host computer 41 in the control device of the present invention, slave computer 42 among the figure and adjusted structural relation figure between the drive unit 43 of two cameras distance each other, wherein, slave computer 42 is mainly used in and connects host computer 41 and drive unit 43, realizes the intercommunication mutually of host computer 41 and drive unit 43.One end of slave computer 42 is connected with the com port of host computer 41, receives the steering order that host computer 41 sends; The other end of slave computer 42 is connected with drive unit 43.
The structural representation of head video perspective three-dimensional display of the present invention such as Fig. 2,3,4,5, shown in 6, include two cameras 3,25, anaglyph spectacles 12, anaglyph spectacles carriage 14 and control device thereof, two cameras 3 wherein, 25 are fixed on the support, anaglyph spectacles 12 is fixed on the anaglyph spectacles carriage 14, two cameras 3,25 signal output part is connected with the input end of control device, the output terminal of control device is connected with the signal input part of anaglyph spectacles 12, wherein two cameras 3,25 are connected with the drive unit 43 that can adjust distance each other.Above-mentioned drive unit 43 includes micro-step motor 11 and can be converted into straight-line gear train rotatablely moving, wherein the output shaft of micro-step motor 11 is connected with the driving link of gear train, the driven member of gear train is connected with two cameras 3,25, and the driving circuit of micro-step motor 11 is electrically connected with the output terminal of control device.
In the present embodiment, above-mentioned to be converted into straight-line gear train rotatablely moving be rack and pinion drive mechanism, or be slider-crank mechanism, or be cam mechanism, or be screw-drive mechanism.In the present embodiment, screw-drive mechanism includes screw mandrel and two feed screw nuts 9,16 that are connected with the output shaft of micro-step motor 11, wherein micro-step motor 11 is fixed on the motor support plate 19, two feed screw nuts 9,16 are enclosed within on the screw mandrel that is connected with the output shaft of micro-step motor 11, form screw-drive mechanism, and two feed screw nuts 9,16 and two connecting links 7,17 are fixed together, and two connecting links 7,17 are connected with two cameras 3,25 by two slide block web members 5,23 respectively.Therefore, rotatablely moving of micro-step motor 11 converts translation motion to by screw mandrel and two feed screw nuts 9,16, drives two camera 3,25 move left and right.
The output shaft of above-mentioned micro-step motor 11 directly is processed into screw mandrel, and the output shaft both sides of micro-step motor 11 are respectively the opposite screw thread of rotation direction.Like this, two cameras are just opposite in the direction that moves, and realize the dwindling and increase of distance between two cameras.
In the present embodiment, above-mentioned two cameras 3,25 also are connected with 4,24, two cameras 3,25 of angular setting piece that can adjust two angles between the camera respectively and are connected with two slide block web members 5,23 by two angular setting pieces 4,24 respectively.
More smooth and easy for the translation motion that makes two cameras 3,25, above-mentioned two slide block web members 5,23 also are connected with two slide blocks, 6,22, two slide blocks 6,22 respectively and are nested on two guide rails 21.Like this, two cameras 3,25 just can carry out translation motion along two guide rails 21.
In the present embodiment, above-mentioned two connecting links 7,17 are L type connecting link, two slide block web members 5,23 are connected with two L type connecting links 7,17 and two slide blocks 6,22 respectively by hexagon socket head cap screw, and two feed screw nuts 9,16 are fixed together by two hexagon socket head cap screws and two L type connecting links 7,17; The hexagon socket head cap screw of the through hole 26 of above-mentioned camera angular setting piece 4,24 by passing slide block web member 5,23 is connected; Above-mentioned two cameras 3,25 cling on camera angular setting piece 4,24 by tackifier respectively.
In the present embodiment; above-mentioned micro-step motor 11 both sides are connected with two fixed blocks 8,18 of motor both sides; two fixed blocks 8,18 are connected with motor support plate 19; motor support plate 19 and combinations thereof body thereof are contained in the main body containment vessel 2; one side of main body containment vessel 2 is equipped with camera overcoat 1, and opposite side is equipped with shell back shroud 13.
In addition, the both sides of above-mentioned motor support plate 19 also are separately installed with first travel switch 10 of the ultimate range that is used to limit between two cameras and are used to limit second travel switch 15 of the minor increment between two cameras, wherein first travel switch 10 is placed on the outside of motor support plate 19, so that limit the ultimate range between two cameras 3,25.Finely tune by first locating slot 27 position between above-mentioned first travel switch 10 and the motor support plate 19, and finely tune by second locating slot 28 position between second travel switch 15 and the motor support plate 19.
In the present embodiment, above-mentioned feed screw nut 16 is placed on L type connecting link 17 on it on the set through hole 29, and two hexagon socket head cap screws are inserted into respectively on set two through holes 32,33 of set two through holes 30,31 of feed screw nut 16 and L type connecting link 17, feed screw nut 16 and L type connecting link 17 are fixed on by the threaded connector that passes set two through holes 32,33 of set two through holes 30,31 of feed screw nut 16 and L type connecting link 17, in like manner, another feed screw nut 9 is identical with the connection and the said method of another L type connecting link 7.
In the present embodiment, above-mentioned control device includes host computer 41 and slave computer 42, host computer 41 is connected with the MAX232 chip by its serial ports RS-232, the TXD of slave computer 42 and RXD are connected with the MAX232 chip, slave computer 42 adopts the director data of interrupt mode reception from host computer 41, and is connected with the driving circuit of micro-step motor 11 by the P2 mouth; Above-mentioned first travel switch 10 and second travel switch 15 are connected with the P2.2 and the P2.3 of slave computer 42 respectively.In the present embodiment, above-mentioned host computer 41 is a computing machine, and slave computer 42 is a single-chip microcomputer.The model of single-chip microcomputer is the AT89c52 single-chip microcomputer.
The control method of head video perspective three-dimensional display of the present invention, it comprises the steps:
1) host computer 41 sends steering order by its serial ports RS-232 to the MAX232 chip;
2) MAX232 becomes the Transistor-Transistor Logic level of standard to the level conversion of host computer 41, and slave computer 42 adopts interrupt modes to receive director data from host computer 41, and sends step-by-step impulse and direction control signal by the P2 mouth to the driving circuit of micro-step motor 11;
3) when L type connecting link 7,17 blocks infrared light on first travel switch 10 and second travel switch 15, first travel switch 10 and second travel switch 15 send high level signal to slave computer 42, and slave computer 42 is controlled micro-step motor 11 stop motion immediately after receiving this signal.
Principle of work of the present invention is as follows: slave computer 42 is after receiving the step motor control instruction that host computer 41 sends, instruction is made an explanation and changes, and to the final drive signal of stepper motor driver transmission, finally reach the control step motor positive and inverse, and extrapolate the purpose of the position between two cameras according to the step number of stepper motor.Camera is used to obtain the true environment signal that images of left and right eyes should be seen, and the frame of video signal is transferred on the host computer 41 by USB interface.Host computer 41 gets access to behind the frame of video signal through corresponding processing, passes back in the three-dimensional liquid crystal glasses by the VGA display interface.Like this, the user just can see the dummy model that can see also that in the true scene in his the place ahead host computer 41 produces by three-dimensional liquid crystal glasses, realizes that actual situation merges.