Split type AR equipment communication means and AR equipment
Technical field
The present invention relates to technical field of electronic equipment, specifically, be related to a kind of split type AR equipment communication means and
AR equipment.
Background technique
Mainstream wears class AR equipment currently on the market, and the main structure using all-in-one machine is by controller, battery and display
Screen carries out overall package.The structure design structure of this all-in-one machine is complicated, and weight is larger, and user wears host and display screen
It is excessively heavy on head, and there is very strong constriction to user's head, seriously affect the sensory effects of user.
Summary of the invention
The present invention wears the technology that class AR device structure is complicated, the larger wearing of weight is inconvenient to solve existing integral type
Problem proposes a kind of split type AR equipment communication means, can solve the above problem.
In order to solve the above-mentioned technical problem, the present invention is achieved by the following scheme:
A kind of split type AR equipment communication means, the split type AR equipment include AR head-mounted display and the control of split settings
Device, the AR head-mounted display are connect with the controller by data line, the split type AR equipment communication means include with
Lower step:
AR head-mounted display is invented into several standard devices;
Controller detects that communication interface has external equipment insertion, and Xiang Suoshu external equipment sends enumeration request;
AR head-mounted display includes at least the letter of all standard devices to the controller feedback device information, the facility information
Breath;
Controller searches relevant device driver according to the facility information from local holding equipment list, and loads
The driver;
Controller is communicated with each standard device.
Further, the communication interface between the AR head-mounted display and the controller is USB interface.
Further, the AR head-mounted display includes two cameras, and each camera is virtually a standard respectively
USB device, each standard USB device pass through a USB endpoint respectively and communicate with the controller, and camera data use USB
UVC agreement is transmitted.
Further, described two cameras are respectively RGB Camera and TOF Camera.
Further, the AR head-mounted display includes several sensors, and all the sensors are virtually a standard USB
Equipment, the standard USB device are communicated using a USB endpoint with the controller, and sensing data is assisted by USB hid raw
View is transmitted.
Further, control signal and sensing data share the same USB endpoint and transmit.
Further, controller monitors communication interface, for monitoring the plug state of external equipment.
Further, when each standard device is packaged the data sent to the controller, while timestamp, the control being added
When device parsing data processed, the data of all standard devices are synchronized according to timestamp.
Further, the facility information includes device descriptor, configures descriptor, interface descriptor and endpoint description
Symbol, the controller pass through corresponding endpoint and interface according to the facility information load driver program, and with each standard device
It is communicated.
The present invention proposes a kind of AR equipment simultaneously, AR head-mounted display and controller including split settings, the AR
Head-mounted display is connect with the controller by data line, the AR head-mounted display include at least display screen, camera with
And sensor, the controller are connect with battery, the AR equipment is logical according to split type AR equipment documented by any bar of front
Letter method is communicated.
Compared with prior art, the advantages and positive effects of the present invention are: split type AR equipment of the invention, by controller
And battery is separated with head-mounted display, since the weight of head-mounted display will be significantly reduced without above-mentioned device,
So that head-mounted display is lighter, if head-mounted display and controller communication mode are by inventing AR head-mounted display
A dry standard device, controller are that each standard device loads corresponding driver, and both sides can directly communicate, without pair
The data of sensor and camera re-start encapsulation, and to the completely compatible support of the software of android, each standard device is for passing
Defeated different data, can satisfy message transmission rate demand, ensure that data transmit real-time, prevent Caton.
After the detailed description of embodiment of the present invention is read in conjunction with the figure, the other features and advantages of the invention will become more
Add clear.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of embodiment functional-block diagram of split type AR equipment proposed by the invention;
Fig. 2 is signal transfer direction schematic diagram in a kind of embodiment of split type AR equipment communication means proposed by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Embodiment one, the present embodiment proposes a kind of split type AR equipment communication means, as shown in Figure 1, the split type AR
Equipment includes the AR head-mounted display and controller of split settings, and AR head-mounted display is connect with controller by data line, point
Body formula AR equipment communication means the following steps are included:
AR head-mounted display is invented into several standard devices;Head-mounted display is by following main mould in the present embodiment
Block composition: two pieces of left and right display screen is used to show the picture of augmented reality;Two cameras, respectively RGB camera and TOF
Camera, wherein RGB camera is used to shoot real-time scenery, and TOF camera is used to measure the depth of field to position the space of object
Position;Acceleration transducer, gyroscope, gravity sensor, backlight sensor and proximity sensor, wherein acceleration transducer,
Gyroscope, gravity sensor are integrated in IMU chip, for measuring user's own location information;Backlight sensor and close biography
Sensor is integrated in ALS+PS chip, and speaker and mic are respectively used to output and input voice signal, since AR wears display
The module of device is more, by the way that module is invented several standard devices in this programme, can use standard using standard interface
Agreement is communicated with control module, and the data of each module without head-mounted display are Resealed, and can achieve
The spatial geographical locations and scene information of transmission and processing user in real time.Realize better augmented reality effect.
Head-mounted display and controller use traditional communication interface connection communication in this programme: head-mounted display with
The scheme that data are transmitted between controller needs both ends cooperation exploitation, and controller is decided generator terminal, and head-mounted display does equipment end.
After head-mounted display and controller booting power on, as shown in Fig. 2, by head-mounted display and being controlled when using data line
When device connects, controller detects that communication interface has external equipment insertion, sends enumeration request to external equipment;
Enumeration request is to controller feedback device information based on the received for AR head-mounted display, and facility information is including at least institute
The information of virtual all standard devices;
The facility information that controller is fed back according to AR head-mounted display is searched relevant device from local holding equipment list and is driven
Dynamic program, and load driver program;
Since controller is that each standard device is loaded with driver respectively, controller and each standard device pass through communication interface energy
It is enough directly to be communicated.
In the split type AR equipment of the present embodiment, battery is arranged in controller end, is connected as its power supply with controller, due to
The heavier-weight of battery, by separating controller and battery with head-mounted display, it will significantly reduce wear-type and show
The weight of device, so that head-mounted display is lighter, thus to account when solving the wearing of existing integral type head-mounted display
The technical issues of portion's constriction is stronger, influences wearing effect, head-mounted display is with controller communication mode by wearing AR
Display virtual is at several standard devices, and controller is that each standard device loads corresponding driver, and both sides can be direct
It is communicated, re-starts encapsulation without the data to sensor and camera, to the completely compatible support of the software of android,
Each standard device is used for transmission different data, can satisfy message transmission rate demand, ensure that data transmit real-time, prevents
Only Caton.
USB interface communications applications are extensive, support hot plug, and plug conveniently, as a preferred embodiment, this reality
Applying the communication interface in example between AR head-mounted display and controller is USB interface.Wherein, 845 core of high pass can be selected in controller
Piece.Head-mounted display obtains corresponding data using 6 axle sensors and camera in real time, the number that then will acquire by usb
According to being transferred in controller, controller calculates the spatial geographical locations of user by 6DOF algorithm in real time, then by user's
Spatial information is dissolved into specific scene, then through USB transmission into head-mounted display, to realize augmented reality.
The data volume that camera needs to transmit in head-mounted display is maximum, uses in the present embodiment and distinguishes each camera
It is virtually the mode of a standard USB device, each standard USB device passes through a USB endpoint respectively and communicates with controller, takes the photograph
As head data are transmitted using USB UVC agreement.
AR head-mounted display includes several sensors, and all the sensors are virtually a standard USB device, the standard
USB device is communicated using a USB endpoint with the controller, and sensing data is transmitted by USB hid raw agreement.
It is the data transmitted according to it that module each in head-mounted display, which is invented the foundation of standard device, in this programme
Type and data volume, and used USB UVC agreement and USB hid raw agreement are transmitted between standard device and controller
It is the standard agreement of USB bottom, when transmitting data using USB communication interface again without the data to sensor and camera
It is packaged, and to the completely compatible support of the software of android.
Head-mounted display is communicated with controller using USB communication interface, can be worn with traditional integral type aobvious
Show that the charger of device is compatible with, traditional charger can be used to charge for it.
That is, the module in the present embodiment in head-mounted display virtually becomes 3 standard devices, corresponding head-mounted display and
3 endpoint(endpoints of USB are used between controller) output data, each standard device is using an endpoint transmission number
According to wherein 2 endpoints are used for transmission the camera data of UVC class, 1 endpoint is used for transmission the sensing data of hid raw class.
For example, USB is respectively adopted in three standard devices three endpoints EP0, EP1, EP2 carry out transmission data:
EP0: being used for transmission sensor data, includes 6DOF and control command, the estimated 48kbs-22Mbps of data volume.
EP1: being used for transmission the data of RGB Camera, 1080/30fps 1080/60fps preview, and picture format is
MJPEG, data volume are 300-995Mbs.
EP2: the TOF Camera data of 60fps are used for transmission.
Since the data volume of control signal is small, control signal and sensing data are shared into the same USB in the present embodiment
Endpoint transmission.Without resuming an endpoint for control signal, channel is saved, the occupancy to bandwidth is reduced.
After controller powers on, further include the steps that in real time monitoring communication interface, for monitoring inserting for external equipment
Pull out state.If external equipment insertion is not detected, continue to monitor, if detecting, external equipment is inserted into, and is sent out to external equipment
It send order and head-mounted display to establish connection, and enumerating according to USB, loads corresponding driver (UVC and hid raw).If
Head-mounted display normal response then will do it usb and communicate between controller and head-mounted display, display can by sensor and
Camera data are sent to controller.Controller carries out normal data processing.
In order to guarantee the synchronism of sensing data and camera data, each standard device is packaged the number sent to controller
According to when, while add timestamp, controller parse data when, the data of all standard devices are synchronized according to timestamp.
For AR head-mounted display into the controller feedback device information, which includes device descriptor, configuration
Descriptor, interface descriptor and endpoint descriptor, controller according to the configures descriptor load driver program in facility information,
And endpoint descriptor is closed according to interface descriptor and is communicated with each standard device by corresponding endpoint and interface.
Embodiment two, the present embodiment propose a kind of AR equipment, as shown in Figure 1, the AR including split settings wears display
Device and controller, AR head-mounted display are connect with controller by data line, and AR head-mounted display includes at least display screen, camera shooting
Head and sensor, wherein display screen includes two pieces of left and right, for showing the picture of augmented reality;Two cameras, respectively
RGB camera and TOF camera, wherein RGB camera is used to shoot real-time scenery, and TOF camera is used to measure the depth of field
To position the spatial position of object;Sensor has 6, respectively acceleration transducer, gyroscope, gravity sensor, backlight
Sensor and proximity sensor, for measuring user's own location information;Head-mounted display further includes speaker and mic, difference
For outputting and inputting voice signal, battery and controller are arranged in the same end, and battery is connect for supplying for it with controller
Electricity, by separating controller and battery with head-mounted display, it will the weight of head-mounted display is significantly reduced, so that
Head-mounted display is lighter, and AR equipment is communicated according to split type AR equipment communication means documented in embodiment one,
For details, reference can be made to recorded in embodiment one, this will not be repeated here.
Certainly, the above description is not a limitation of the present invention, and the present invention is also not limited to the example above, this technology neck
The variations, modifications, additions or substitutions that the those of ordinary skill in domain is made within the essential scope of the present invention, also should belong to this hair
Bright protection scope.