We have developed a set of requirements, operation logic, a set of algorithms for detecting and recognizing 3d controllers for virtual helmets. The system allows you to accurately calibrate the spatial position, as well as control the level of error during use. Mathematics has been developed to integrate optical readings into inertial ones.