Panoramic Vision Mirror Design Based on Computer Simulation

Publisher:TechGuru123Latest update time:2011-03-01 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

introduction

The panoramic vision system consists of an upward-facing camera and a reflective mirror. The camera obtains a 360-degree image through the reflective mirror. Because of its wide field of view, football competition robots usually use panoramic vision systems to obtain information about the entire field. The reflective mirror is an important factor affecting the image effect and observation range of panoramic vision. Simon Baker and Shree K. Nayar of Columbia University in the United States have conducted a detailed study and analysis of the geometric characteristics of panoramic vision systems and proposed the "single viewpoint" problem [1]. For a surface that conforms to a single viewpoint, all light rays directed to a focus are reflected and directed to another focus or parallel to the symmetry axis instead of being scattered.

Research shows that different mirrors are suitable for different observation requirements. Commonly used curved mirrors (such as paraboloids, cones, etc.) often cannot simultaneously meet the multiple observation requirements of robots performing special tasks. Therefore, some scholars have proposed to reverse the mirror surface based on the observation requirements or assumed imaging effects [2] to design a mirror profile that meets the requirements of special tasks. The mirror design process in this paper is to obtain the surface profile based on the reverse algorithm, and establish a corresponding model simulation to observe the imaging effect in advance, compare it with the expected imaging, optimize the parameters based on certain * estimation and analysis, and complete a large number of calculation processes and quantitative analysis by computer. This design method can efficiently design a mirror with good performance and low cost.

1 Mirror design principle and development of imaging simulation system

1.1 Mirror design principles and methods

To predict the imaging effect after mirror reflection, it is necessary to know the mapping relationship between the mirror curve and the imaging point after mirror reflection (imaging unit on CCD) and the real space point.

Mirror imaging principle

Figure 1 Mirror imaging principle

Taking the pinhole imaging model as the imaging model of the camera, since the mirror surface is a rotationally symmetrical structure, only the two-dimensional mirror profile curve needs to be studied. As shown in the figure, according to the light reflection theorem and the pinhole imaging law, the following relationship can be obtained:

Relational

In the above formula, F(t) is the curve equation. For the derivation of the specific relationship, please refer to [4].

If the mirror curve equation is unknown, and the correspondence between the real point and the image point is given, the mirror contour line needs to be inferred. There are two methods to inversely obtain the mirror curve: analytical solution [2] and numerical solution [3]. This paper adopts the algorithm for numerical solution because it has low computational complexity and is easy to program. The main implementation process is shown in Figure 2:

Mirror profile design implementation flow chart

Figure 2 Mirror profile design implementation flow chart

1.2 Imaging Simulation

In order to make the mirror curve design more intuitive and more convenient to adjust parameters, the simulation preview of the mirror imaging effect can make the design application more friendly, and at the same time help improve efficiency and design quality, avoid too much discrepancy between the design and the expected effect, resulting in waste of time and cost. The simulation system uses matlab as the development platform, because matlab has powerful mathematical calculation functions and image processing libraries, which can provide convenient function calls and shorten the time of simulation system development.

The imaging graphics are simulated according to the mapping relationship between the above-mentioned image and the actual space vector. First, it is necessary to obtain the environment for mirror imaging. The environment used for simulation in this article is the competition field of the soccer robot (including the white lines, goals, goal posts, etc. on the field) and the game ball. The object information on the field is a simple regular geometric body. After determining the global coordinate system, the spatial expression of each object, that is, their mathematical model, can be obtained. Assuming that the center of the field is the origin of the global coordinate system, according to the right-hand rule, the length direction is the x-axis (pointing to the yellow goal), the width direction is the y-axis, and the z-axis is perpendicular to the ground and upward, then the mathematical model of the main object is as follows (the calculation unit is mm):

ball: Mathematical model of an object

(where r=110)

Yellow goal: Yellow goal Blue goal: Basketball goal

Assume the robot's position in the field is (dx, dy, θ) T, where dx and dy are the plane coordinate positions and θ is the robot's orientation angle. The mathematical model of the object (x, y, θ) T and the expression (x', y', z') T in the local coordinates with the robot's vision system as the origin have the following relationship:

expression

Because the mirror is a rotationally symmetric mirror, in order to simplify the calculation of the simulated imaging, θ=0. So the transformation matrix is ​​simplified to:

Transformation Matrix

The imaging effect diagram of the designed virtual environment can be obtained based on the relationship between pixels and space vectors (points on the object model must pass through a certain space vector) calculated previously. Then, the parameters are modified according to the imaging effect diagram, and the desired effect is quickly achieved through imaging simulation, and the final mirror processing parameters can be obtained.

2 Experiments and Results

The mirror designed for the soccer robot must meet the following requirements:

1) When the robot is in the middle of the field, it needs to see the goal in order to distinguish its own goal from the opponent's goal and determine the direction of movement.

2) The distant ball should be seen with more accurate directional information.

3) The nearby ball must have relatively accurate direction and distance information, which means that the nearby observation resolution must meet certain requirements.

4) See as little of the robot itself as possible (useless information) so as to obtain more information about the environment around the robot.

According to the above requirements, the mirror can be divided into two parts, one for observing the range within 1m of the robot, and the other for observing information 1m away and the goal. The implementation process is as follows:

Consider the distribution of the observation area of ​​the entire image in advance, allocate resolutions in different distance intervals, and then run the simulation program to obtain the mirror curve and imaging effect (see Figure 3), and save the coordinates of each point of the mirror curve into a data file to facilitate the subsequent CNC lathe processing and data extraction. The actual mirror imaging effect is shown in Figure 4.

Mirror cross-section and imaging effect diagram

Figure 3 Mirror cross-section and imaging effect diagram

The processed reflective mirror and the actual mirror image

Figure 4 The processed reflective mirror and the actual mirror image

3 Conclusion

Through the computer-aided design method of virtual simulation and the mirror inverse algorithm, the reflective mirror of the panoramic vision system can be conveniently and effectively designed to meet the pre-conceived task requirements and is well applied in soccer robots. With the help of computer-aided design and simulation methods, product design not only improves efficiency, but also improves the quality of design, and can focus on innovation rather than some tedious calculations and parameter refinement.

Reference address:Panoramic Vision Mirror Design Based on Computer Simulation

Previous article:Design of camera based on Gigabit Ethernet interface
Next article:Design of earthquake information acquisition module based on ADS1255

Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号