<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WwW.TarikZengin.CoM &#187; Robot</title>
	<atom:link href="http://tarikzengin.com/tag/robot/feed/" rel="self" type="application/rss+xml" />
	<link>http://tarikzengin.com</link>
	<description>Japonya&#039;dan bildiriyor....</description>
	<lastBuildDate>Sat, 01 Oct 2011 06:25:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Computer &amp; Microcontroller Based Closed Loop Robot Position Control System</title>
		<link>http://tarikzengin.com/computer-microcontroller-based-closed-loop-robot-position-control-system/</link>
		<comments>http://tarikzengin.com/computer-microcontroller-based-closed-loop-robot-position-control-system/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 08:17:27 +0000</pubDate>
		<dc:creator>Aydin Tarik Zengin</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Projeler]]></category>
		<category><![CDATA[Close Loop]]></category>
		<category><![CDATA[Control System]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Elektronik]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[Proje]]></category>
		<category><![CDATA[QT]]></category>
		<category><![CDATA[Robot]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[Robotik]]></category>
		<category><![CDATA[Ziegler Nichols]]></category>

		<guid isPermaLink="false">http://tarikzengin.wordpress.com/?p=203</guid>
		<description><![CDATA[<a href="http://tarikzengin.com/computer-microcontroller-based-closed-loop-robot-position-control-system/" title="Computer &amp; Microcontroller Based Closed Loop Robot Position Control System"></a>Not : Daha önce yazdığım proje yazısının birebir olmasa da çevirisi sayılabilecek bir yazı hazırladım. This is a short summary of our (me and my friend Umut Yuksekbas) graduation project. Sorry for the grammatical mistakes. Computer &#38; Microcontroller Based Closed &#8230;<p class="read-more"><a href="http://tarikzengin.com/computer-microcontroller-based-closed-loop-robot-position-control-system/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://tarikzengin.com/computer-microcontroller-based-closed-loop-robot-position-control-system/" title="Computer &amp; Microcontroller Based Closed Loop Robot Position Control System"></a><p>Not : Daha önce yazdığım proje yazısının birebir olmasa da çevirisi sayılabilecek bir yazı hazırladım.  This is a short summary of our (me and my friend Umut Yuksekbas) graduation project. Sorry for the grammatical mistakes.</p>
<p style="text-align: center;"><strong>Computer &amp; Microcontroller Based Closed Loop Robot Position Control System</strong> <strong></strong></p>
<p style="text-align: justify;"><strong>Abstract</strong> : Robot systems scope out the problems fast and sensitive, don&#8217;t affected the factors which destructive of health for humans. For this reason they are needed at industrial areas.<span id="more-203"></span> Robots are used for precise applications in a wide area such as automotive industry, medicine, nuclear power stations and biomedical. They can be used in critical applications like sensitive surgical operations. That&#8217;s commonly utilized as a mechanical arm for handicapped ones. Our project&#8217;s subjects are automatic control systems and position control of a robotic arm with the coordinates that send from computer. We intended to design a closed loop control system of a mechatronic system. Manipulator system is a multi-input multi-output (MIMO) system and each joint is fed by different input signals for position check. Dynamic model of the manipulator system is not linear and contains interactive terms between joints. We have designed a 6-degree-of-freedom robot arm and a control system. DC motors on the joints provide the movement of the manipulator. We used L298 IC which contains H-Bridges for driving the DC motors and PIC 16F877 as microcontroller. Max232 serial interface sets up the communication between computer and microcontroller. We developed the position control algorithm in MPLAB IDE by using the Hitech PICC Compiler. Microcontroller takes the analog feedback signals from the potentiometers placed on joints then convert them to digital signals by built-in ADC modules. The PI control system uses the analog signals in order to calculate the optimum PI control parameters then provides the target movement with minimum error.</p>
<p style="text-align: justify;"><iframe title="YouTube video player" class="youtube-player" type="text/html" width="425" height="344" src="http://www.youtube.com/embed/WR5tswIPvck" frameborder="0" allowFullScreen="true"> </iframe>  <strong></strong></p>
<p style="text-align: justify;">
<p style="text-align: justify;"><strong>SYSTEM COMPONENTS </strong></p>
<p style="text-align: justify;"><strong>Hardware Component</strong></p>
<p style="text-align: justify;">PIC 16F877-20MHz contains 8 ADC channel and 2 PWM module and L298 contains two H-Bridge in it. This driver is very robust and is able to work with 46 V source voltage and 4 A source current. In this project  15 V source voltage and 0.5 A max current are utilized.</p>
<div id="attachment_205" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-205 colorbox-203" title="diagram1" src="http://www.tarikzengin.com/blog/wp-content/uploads/2008/10/diagram1-300x194.png" alt="Block Diagram" width="300" height="194" /><p class="wp-caption-text">Block Diagram</p></div>
<p>Position data which transmitted from computer come to the PIC&#8217;s serial port over the Max232 serial interface. After that, the ADC module reads and converts the analog values and transmits signals to the motor drivers for holding the arm in target position. The algorithm determines the transaction direction for decreasing the error and sends the signals. It breaks the motors when the arm is on the target position. Microcontroller checks all of the joint positions repeatedly and if it senses a deviation on the joint, brings the joint back to the target position. The algorithm changes the motor voltages directly proportional to the error</p>
<div id="attachment_22" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.tarikzengin.com/blog/wp-content/uploads/2007/05/robot2.png"><img class="size-medium wp-image-22 colorbox-203" title="robotdevresemasi.png" src="http://www.tarikzengin.com/blog/wp-content/uploads/2007/05/robot2-300x271.png" alt="Schematics" width="300" height="271" /></a><p class="wp-caption-text">Schematics</p></div>
<p><strong>PCB Design</strong></p>
<p>A 2-layer circuit board was designed and assembled. L298 ICs can be seen on the right side of the first image. The sockets from top to bottom;</p>
<ul>
<li>Power</li>
<li>Analog Feedbacks (From joint pots)</li>
<li>Motors</li>
</ul>
<p style="text-align: center;">
<div id="attachment_207" class="wp-caption aligncenter" style="width: 471px"><a href="http://www.tarikzengin.com/blog/wp-content/uploads/2008/10/hpim1850.jpg"><img class="size-large wp-image-207 colorbox-203" title="hpim1850" src="http://www.tarikzengin.com/blog/wp-content/uploads/2008/10/hpim1850-768x1024.jpg" alt="PCB 1" width="461" height="614" /></a><p class="wp-caption-text">PCB 1</p></div>
<div id="attachment_208" class="wp-caption aligncenter" style="width: 624px"><a href="http://www.tarikzengin.com/blog/wp-content/uploads/2008/10/hpim1851.jpg"><img class="size-large wp-image-208 colorbox-203" title="hpim1851" src="http://www.tarikzengin.com/blog/wp-content/uploads/2008/10/hpim1851-1024x768.jpg" alt="PCB 2" width="614" height="461" /></a><p class="wp-caption-text">PCB 2</p></div>
<p><strong>Software Component</strong></p>
<p>We developed the microcontroller code by using HITECH PICC in MPLAB IDE. The P.I. Control System on the microcontroller side, calculates the error by differentiating the feedback values which read from ADC module and the expected value, continuously for each joint. This error value multiplied by Kp constant. All these error values summed and multiplied by Ki constant. The control signal which derived by summing the proportional and integral control signals, limited in a desirable range.</p>
<div id="attachment_23" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-23 colorbox-203" title="robot3.png" src="http://www.tarikzengin.com/blog/wp-content/uploads/2007/05/robot3-300x49.png" alt="Control Signal" width="300" height="49" /><p class="wp-caption-text">Control Signal</p></div>
<p>This calculation repeats for each joint over and over again for providing the position control. Ziegler-Nichols method were used for designing the control system, because it was not possible to get the technical data about mechanical system for deriving the mathematical model.</p>
<div id="attachment_25" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-25 colorbox-203" title="robot5.png" src="http://www.tarikzengin.com/blog/wp-content/uploads/2007/05/robot5-300x151.png" alt="Controller Design" width="300" height="151" /><p class="wp-caption-text">Controller Design</p></div>
<p>D and I constants of PID controller let by zero and, the P constant were increased until the system oscillates. The P constant on that oscillation time called Kc and the oscillation frequency called Tc.</p>
<div id="attachment_27" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-27 colorbox-203" title="robot7.png" src="http://www.tarikzengin.com/blog/wp-content/uploads/2007/05/robot7-300x166.png" alt="Oscillation" width="300" height="166" /><p class="wp-caption-text">Oscillation</p></div>
<p>The optimum P.I. Control parameters were derived by using the Ziegler-Nichols method. The system response is below mentioned.</p>
<div id="attachment_28" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-28 colorbox-203" title="robot8.png" src="http://www.tarikzengin.com/blog/wp-content/uploads/2007/05/robot8-300x196.png" alt="System Response" width="300" height="196" /><p class="wp-caption-text">System Response</p></div>
<p><strong>Graphical User Interface Design</strong></p>
<p>Graphical User Interface (GUI) was developed by using QT Designer and Kdevelop Integrated Development Environment in C++ programming language. The GUI design can be seen below. QT libraries are suitable for creating platform independent code. By this way, the GUI can be compiled and run under various platforms, such as Unix, Linux, FreeBSD, MacOS and Windows.</p>
<div id="attachment_29" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.tarikzengin.com/blog/wp-content/uploads/2007/05/robot9.png"><img class="size-medium wp-image-29 colorbox-203" title="robot9.png" src="http://www.tarikzengin.com/blog/wp-content/uploads/2007/05/robot9-300x223.png" alt="GUI" width="300" height="223" /></a><p class="wp-caption-text">GUI</p></div>
<p>The coordinate data transmitted over the USB bus by using a USB/Serial converter with a 57600 baud rate.  Control System variables can be changed or modified with the GUI in realtime. Serial port device, baud rate and control system parameters can be selected and changed by using the GUI.</p>
<div id="attachment_31" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.tarikzengin.com/blog/wp-content/uploads/2007/05/robot111.png"><img class="size-medium wp-image-31 colorbox-203" title="robot11.png" src="http://www.tarikzengin.com/blog/wp-content/uploads/2007/05/robot111-300x232.png" alt="GUI Ayarlari" width="300" height="232" /></a><p class="wp-caption-text">GUI Ayarlari</p></div>
<p><strong>Conclusion</strong></p>
<p>The system that we developed can do a position control in Cartesian Coordinate System. It keeps its position unless the operator will give a new coordinate, and can perform a coordinate change in a desirable time. I believe that this project is providing a useful design for industrial areas such as production and test, biomedical, security, situations that harmful for human, and academic study. The future plan for my study is making two robotic arms work together and in cooperation.</p>
]]></content:encoded>
			<wfw:commentRss>http://tarikzengin.com/computer-microcontroller-based-closed-loop-robot-position-control-system/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Hanım Koş, Bizim Oğlan Konuştu!!</title>
		<link>http://tarikzengin.com/hanim-kos-bizim-oglan-konustu/</link>
		<comments>http://tarikzengin.com/hanim-kos-bizim-oglan-konustu/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 14:39:51 +0000</pubDate>
		<dc:creator>Aydin Tarik Zengin</dc:creator>
				<category><![CDATA[Gündelik]]></category>
		<category><![CDATA[Yaşam]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Japan]]></category>
		<category><![CDATA[Japanese]]></category>
		<category><![CDATA[Japonca]]></category>
		<category><![CDATA[Japonya]]></category>
		<category><![CDATA[Robot]]></category>
		<category><![CDATA[Seminer]]></category>

		<guid isPermaLink="false">http://tarikzengin.wordpress.com/?p=201</guid>
		<description><![CDATA[<a href="http://tarikzengin.com/hanim-kos-bizim-oglan-konustu/" title="Hanım Koş, Bizim Oğlan Konuştu!!"></a>Bugün süper bi özelliğimi keşfettim. 2 haftada herkesi sular seller gibi Japonca bildiğime inandırmışım, nasıl becerdiysem. Bu inandırıcılığımı başka işlerde de kullanırsam köşeyi dönebilirim. Nasıl oluyor da oluyor anlamıyorum. Bugün Tokyo ve Kyushu Üniversitelerinden seminer için gelen 2 profesörün sunumlarını &#8230;<p class="read-more"><a href="http://tarikzengin.com/hanim-kos-bizim-oglan-konustu/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://tarikzengin.com/hanim-kos-bizim-oglan-konustu/" title="Hanım Koş, Bizim Oğlan Konuştu!!"></a><p>Bugün süper bi özelliğimi keşfettim. 2 haftada herkesi sular seller gibi Japonca bildiğime inandırmışım, nasıl becerdiysem. Bu inandırıcılığımı başka işlerde de kullanırsam köşeyi dönebilirim.  Nasıl oluyor da oluyor anlamıyorum. Bugün Tokyo ve Kyushu Üniversitelerinden seminer için gelen 2 profesörün sunumlarını dinlemek mecburiyetinde bırakıldım. Yaklaşık üç buçuk saat sürdü. Sıkıntı ve uyku birbirine karıştı. Arada yakalayabildiğim &#8211; önceden duymuşluğum olan &#8211; birkaç kelimenin anlamı neydi diye düşünürken o kısım bitip diğerine çoktan geçiyordu zaten. Okuma yazma bilmeyen çocuğun kitabı alıp resimlerine bakması gibi slaytlardaki resimleri inceledim saatlerce. Pek de özenerek hazırlanmıs slaytlar değildi. Hal bu ki ne de güzel çalışmalara benziyordu anlattıkları. İnandırıcılığım tavan yapmış olacak ki, çıkışta da seminerde öğrendiklerim hakkında rapor yazılması gerektiğini &#8211; tabi yine japonca olarak &#8211; söylediler. Bilenlere sordum da ordan öğrendim öyle söylediklerini. Yoksa bildiğimden değil. Şimdi rapora dizeceğim incileri düşünüyorum. Hangi resimden başlasam anlatmaya acaba?  Bir tanesini net hatırlıyorum. Bir yerli (Japon) ve bir yabancının (Ben) kanji okuduğu sıradaki beyin fonksiyonlarını karşılaştırmalı gösteren hareketli bir grafikti. Epey de hatılıyorum bakın, o kadar da boş boş bakmamışım yani.  Bu şekilde duyarak öğrenmeye devam edersem önümüzdeki yıl bu vakitlerde おかあさん(anne), おとうさん (baba) diyor olurum herhalde. Bi yandan Japonca dersi de alıyorum da kısa zamanda yırtarım inşallah. Herşey kuralına uygun olsun diye önümüzdeki hafta Salı günü anne-baba deyip bir üst kademeye (mama) geçmeyi planlıyorum.  Bu arada araştırma konumla ilgili detaylar da hafiften gün yüzüne çıkmaya başlıyor. Henüz kendisini göremediğim bir robor kol ile haşır neşir olacakmışım. En güzel yanı da embedded Real-Time Linux kullanıyor olması. Kesin olmamakla beraber robotun acı çekmesini sağlayacak bir proje olması muhtemel. Detaylar önümüzdeki zamanlarda ortaya çıkacaktır.</p>
]]></content:encoded>
			<wfw:commentRss>http://tarikzengin.com/hanim-kos-bizim-oglan-konustu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

