{"id":1972,"date":"2014-02-05T17:32:44","date_gmt":"2014-02-05T17:32:44","guid":{"rendered":"https:\/\/www.anagram.at\/en\/diplomarbeit\/robot-head\/"},"modified":"2014-02-05T17:32:44","modified_gmt":"2014-02-05T17:32:44","slug":"robot-head","status":"publish","type":"page","link":"https:\/\/www.anagram.at\/en\/diplomarbeit\/robot-head\/","title":{"rendered":"Robot Head"},"content":{"rendered":"<p><body><br \/>\n<!--Navigation Panel--><br \/>\n<b> Next:<\/b> <a name=\"tex2html577\" href=\"https:\/\/www.anagram.at\/diplomarbeit\/summary-2\/\">Summary<\/a><br \/>\n<b> Up:<\/b> <a name=\"tex2html573\" href=\"https:\/\/www.anagram.at\/diplomarbeit\/methods\/\">Methods<\/a><br \/>\n<b> Previous:<\/b> <a name=\"tex2html567\" href=\"https:\/\/www.anagram.at\/diplomarbeit\/3d-reconstruction-and-visualization\/\">3D Reconstruction and Visualization<\/a><br \/>\n<!--End of Navigation Panel--><\/p>\n<h1><a name=\"SECTION00470000000000000000\"\/><a name=\"robothead\"\/><\/p>\n<p>Robot Head<br \/>\n<\/h1>\n<p>Because the system was built with regard to use it on a mobile robot with a rotating head, a prototype, which can be seen in Figure <a href=\"#rotatingHead\">3.15<\/a>, was developed. The electronics and mechanics are inside a wooden box, on which the cameras are mounted. The cameras can be rotated at a maximum of 270<img loading=\"lazy\" width=\"12\" height=\"18\" align=\"BOTTOM\" border=\"0\" src=\"https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/img181.png\" alt=\"$ ^{circ}$\"\/>. Two optoelectronic couplers are responsible that the head does not turn in while receiving commands from the server. The MC does all the calculations needed, except the image processing, which is done on the controlling computer. It is also responsible to guide the head.<br \/>\nAccording to Figure <a href=\"https:\/\/www.anagram.at\/diplomarbeit\/methods\/#cycle\">3.1<\/a> at the beginning of this chapter, the LM would be concerned with this assignment (e.g. move forward and rotate the head clockwise in order to find the ball, that just moved out of the field of view). The controller as a standalone machine is not very intelligent because it is not able to process the images yet. Also the connection between the head and the server is wired, which is a big problem when it comes to a mobile robot which is capable of moving around. This will be the major concern in my future work.<\/p>\n<div align=\"CENTER\"><a name=\"rotatingHead\"\/><a name=\"1791\"\/><\/p>\n<table>\n<caption align=\"BOTTOM\"><strong>Figure 3.15:<\/strong><br \/>\nImage from the rotating Head, the figure shows a front view of the construction. The orange led indicates that the head is turned on and the green led changes its state (on\/off) every time a command arrives from the computer. The LCD can be used to display information.<\/caption>\n<tr>\n<td>\n<div align=\"CENTER\">\n <img loading=\"lazy\" width=\"695\" height=\"1192\" align=\"BOTTOM\" border=\"0\" src=\"https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/rotatingHeadClose.jpg\" alt=\"Image rotatingHeadClose\"\/><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>The wire diagram of the robot-head is shown in Figure <a href=\"#wirediagram\">3.16<\/a>. The main parts of the diagram are<\/p>\n<dl>\n<dt><strong>The voltage regulator<\/strong><\/dt>\n<dd>is responsible to transform the input voltage to constant <img loading=\"lazy\" width=\"29\" height=\"16\" align=\"BOTTOM\" border=\"0\" src=\"https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/img255.png\" alt=\"$ 5V$\"\/>. The two capacitors suppress possible oscillations. The rotating head can be used within the range from <img loading=\"lazy\" width=\"29\" height=\"16\" align=\"BOTTOM\" border=\"0\" src=\"https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/img256.png\" alt=\"$ 6V$\"\/> to <img loading=\"lazy\" width=\"38\" height=\"16\" align=\"BOTTOM\" border=\"0\" src=\"https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/img257.png\" alt=\"$ 12V$\"\/>. If a higher voltage is used, the system still works, but the regulator will become very hot and thus a lot of energy is lost.\n<\/dd>\n<dt><strong>The tuned circuit<\/strong><\/dt>\n<dd>generates a <img loading=\"lazy\" width=\"61\" height=\"16\" align=\"BOTTOM\" border=\"0\" src=\"https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/img258.png\" alt=\"$ 4MHz$\"\/> frequency, which is used as an external clock generator. Although there is an internal clock generator, the external is used because the other only oscillates with 1<img loading=\"lazy\" width=\"51\" height=\"16\" align=\"BOTTOM\" border=\"0\" src=\"https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/img259.png\" alt=\"$ MHz$\"\/>.The main part of this circuit is a <img loading=\"lazy\" width=\"61\" height=\"16\" align=\"BOTTOM\" border=\"0\" src=\"https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/img258.png\" alt=\"$ 4MHz$\"\/> crystal.\n<\/dd>\n<dt><strong>The RS232 interface<\/strong><\/dt>\n<dd>is responsible for the communication between the robot and the computer and vice versa. The Max233 chip does the conversion from <img loading=\"lazy\" width=\"57\" height=\"37\" align=\"MIDDLE\" border=\"0\" src=\"https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/img260.png\" alt=\"$ [0,5]V$\"\/> to <img loading=\"lazy\" width=\"86\" height=\"37\" align=\"MIDDLE\" border=\"0\" src=\"https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/img261.png\" alt=\"$ [-9,+9]V$\"\/>. Three pins of the serial interface of the computer are used:  RxD,Txd and GND.\n<\/dd>\n<dt><strong>The motor controller<\/strong><\/dt>\n<dd>is able to trigger two DC-motors. So far only one is connected, but it would be able to trigger two motors. The input voltage of the whole circuit<a name=\"tex2html45\" href=\"footnode.html#foot1796\"><sup>3.6<\/sup><\/a> is used as current supply of the motor. So far software PWM (Pulse Width Modulation) is used to trigger the motors, but it is planned to use hardware PWM.\n<\/dd>\n<dt><strong>The parallel interface<\/strong><\/dt>\n<dd>is where the controller can be programmed. I use the avr-gcc compiler to generate programs that can be run on the microcontroller.\n<\/dd>\n<dt><strong>The LCD display<\/strong><\/dt>\n<dd>is used to communicate with the user and connected to pins 0 to 5 at port E. It uses 4-Bit mode to transfer the data.\n<\/dd>\n<\/dl>\n<div align=\"CENTER\"><a name=\"wirediagram\"\/><a name=\"1800\"\/><\/p>\n<table>\n<caption align=\"BOTTOM\"><strong>Figure 3.16:<\/strong><br \/>\nWire diagram of the rotating head<\/caption>\n<tr>\n<td>\n<div align=\"CENTER\">\n <img loading=\"lazy\" width=\"1529\" height=\"1058\" align=\"BOTTOM\" border=\"0\" src=\"https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/wirediagram.jpg\" alt=\"Image wirediagram\"\/><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<hr\/>\n<p><!--Navigation Panel--><b> Next:<\/b> <a name=\"tex2html577\" href=\"https:\/\/www.anagram.at\/diplomarbeit\/summary-2\/\">Summary<\/a><br \/>\n<b> Up:<\/b> <a name=\"tex2html573\" href=\"https:\/\/www.anagram.at\/diplomarbeit\/methods\/\">Methods<\/a><br \/>\n<!--End of Navigation Panel--><\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Robot Head<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1946,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":""},"categories":[],"featured_image_src":null,"featured_image_src_square":null,"_links":{"self":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/pages\/1972"}],"collection":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/comments?post=1972"}],"version-history":[{"count":0,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/pages\/1972\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/pages\/1946"}],"wp:attachment":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/media?parent=1972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/categories?post=1972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}