<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>.:Doing my little part, changing the world:.</title>
	<atom:link href="http://bono02.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bono02.wordpress.com</link>
	<description>I want to change the world! I have my part!</description>
	<lastBuildDate>Thu, 05 Jan 2012 07:23:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bono02.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>.:Doing my little part, changing the world:.</title>
		<link>http://bono02.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bono02.wordpress.com/osd.xml" title=".:Doing my little part, changing the world:." />
	<atom:link rel='hub' href='http://bono02.wordpress.com/?pushpress=hub'/>
		<item>
		<title>A New Home @ So It Reminds Me</title>
		<link>http://bono02.wordpress.com/2010/11/21/a-new-home-so-it-reminds-me/</link>
		<comments>http://bono02.wordpress.com/2010/11/21/a-new-home-so-it-reminds-me/#comments</comments>
		<pubDate>Sat, 20 Nov 2010 15:56:05 +0000</pubDate>
		<dc:creator>Bondhan Novandy</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://bono02.wordpress.com/?p=130</guid>
		<description><![CDATA[I am moving forward to: http://log.bondhan.web.id I intend to put anything related to technology on that site, So that It Reminds Me (TM) always. However this blog will be as it is. It has become my notes during my years in Korea, so many happened during those days. Although I am not going to update [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=130&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am moving forward to:</p>
<blockquote>
<h2><span style="color:#ff0000;"><a href="http://log.bondhan.web.id">http://log.bondhan.web.id</a></span></h2>
</blockquote>
<p>I intend to put anything related to technology on that site, <em><strong>So </strong></em>that <em><strong>It Reminds Me</strong></em> (TM) always.</p>
<p>However this blog will be as it is. It has become my notes during my years in Korea, so many happened during those days. Although I am not going to update this blog any longer (for now), I am still reading the coming comments and try to help if possibilities are there.</p>
<p>Thank you for your coming. Cannot wait to see you at my new home <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bono02.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bono02.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bono02.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bono02.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bono02.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bono02.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bono02.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bono02.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bono02.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bono02.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bono02.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bono02.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bono02.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bono02.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=130&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bono02.wordpress.com/2010/11/21/a-new-home-so-it-reminds-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce973d04c8a663398081f5f440344518?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bondan</media:title>
		</media:content>
	</item>
		<item>
		<title>Protected: Publications</title>
		<link>http://bono02.wordpress.com/2009/08/23/publications/</link>
		<comments>http://bono02.wordpress.com/2009/08/23/publications/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 07:15:16 +0000</pubDate>
		<dc:creator>Bondhan Novandy</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://bono02.wordpress.com/?p=100</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=100&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post is password protected. You must visit the website and enter the password to continue reading.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bono02.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bono02.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bono02.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bono02.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bono02.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bono02.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bono02.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bono02.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bono02.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bono02.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bono02.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bono02.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bono02.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bono02.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=100&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bono02.wordpress.com/2009/08/23/publications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce973d04c8a663398081f5f440344518?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bondan</media:title>
		</media:content>
	</item>
		<item>
		<title>My Final Thesis</title>
		<link>http://bono02.wordpress.com/2009/05/15/my-final-thesis/</link>
		<comments>http://bono02.wordpress.com/2009/05/15/my-final-thesis/#comments</comments>
		<pubDate>Fri, 15 May 2009 12:53:32 +0000</pubDate>
		<dc:creator>Bondhan Novandy</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://bono02.wordpress.com/?p=92</guid>
		<description><![CDATA[Tomorrow I&#8217;ll return to my country. I&#8217;ve been here (korea) for 2 years and 3 months. I underwent good and also hard time here, and Alhamdulillah, gladly I could pass them all. Here is a small video what I did for almost 2 years work: I&#8217;d like to thank for everyone who has helped me [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=92&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tomorrow I&#8217;ll return to my country. I&#8217;ve been here (korea) for 2 years and 3 months. I underwent good and also hard time here, and Alhamdulillah, gladly I could pass them all. Here is a small video what I did for almost 2 years work:</p>
<span style="text-align:center; display: block;"><a href="http://bono02.wordpress.com/2009/05/15/my-final-thesis/"><img src="http://img.youtube.com/vi/z39jUdDHA_w/2.jpg" alt="" /></a></span>
<p>I&#8217;d like to thank for everyone who has helped me during my stay in Korea.</p>
<p>The details are on my <a title="Bondhan Thesis" href="http://bono02.files.wordpress.com/2009/05/bondhan_thesis_20090122.pdf">thesis</a>, please note that the data is in preliminary test.</p>
<p>Reference:</p>
<blockquote><p>A 6-DOF Gait Rehabilitation Robot with Upper and Lower-Limb Connections that Allows Walking Velocity Updates on Various Terrains. Jungwon Yoon, Bondhan Novandy, Chul-ho Yoon, and Ki-Jong Park. IEEE Transactions on Mechatronics. Focused Sections: Healthcare Mechatronics. 2010. (Accepted)</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bono02.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bono02.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bono02.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bono02.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bono02.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bono02.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bono02.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bono02.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bono02.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bono02.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bono02.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bono02.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bono02.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bono02.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=92&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bono02.wordpress.com/2009/05/15/my-final-thesis/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce973d04c8a663398081f5f440344518?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bondan</media:title>
		</media:content>
	</item>
		<item>
		<title>Position control of BLDC motor using Proportional Integral Sliding Mode Control</title>
		<link>http://bono02.wordpress.com/2008/07/05/position-control-of-bldc-motor-using-proportional-integral-sliding-mode-control/</link>
		<comments>http://bono02.wordpress.com/2008/07/05/position-control-of-bldc-motor-using-proportional-integral-sliding-mode-control/#comments</comments>
		<pubDate>Sat, 05 Jul 2008 13:58:33 +0000</pubDate>
		<dc:creator>Bondhan Novandy</dc:creator>
				<category><![CDATA[Control Theory]]></category>
		<category><![CDATA[LabView]]></category>

		<guid isPermaLink="false">http://bono02.wordpress.com/?p=71</guid>
		<description><![CDATA[SMC is one of the robust controller with ability to compensate the uncertain parameters, incomplete dynamics model and to reject disturbances. The additional of PI on the SMC gives several “extra” freedoms and flexibility in tuning and obtaining the desired performance. Design scheme: First, select a PI sliding surface. Second, from the sliding surface we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=71&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SMC is one of the robust controller with ability to compensate the uncertain parameters, incomplete dynamics model and to reject disturbances. The additional of PI on the SMC gives several “extra” freedoms and flexibility in tuning and obtaining the desired performance.</p>
<p>Design scheme:<br />
First, select a PI sliding surface. Second, from the sliding surface we derive the equivalent control. Third, the control output is achieved by adding the switching control output.	The mathematics derivation is straight forward.</p>
<p>Here is an experiment of position control using Proportional sliding mode control of a BLDC motor.<span id="more-71"></span> Not to be in a formal dress, you can download the presentation file <a title="PISMC PDF" href="http://bono02.files.wordpress.com/2008/07/pismc.pdf">here</a>.</p>
<div id="attachment_79" class="wp-caption alignnone" style="width: 310px"><a href="http://bono02.files.wordpress.com/2008/07/img_0163.jpg"><img class="size-medium wp-image-79" src="http://bono02.files.wordpress.com/2008/07/img_0163.jpg?w=300&#038;h=225" alt="PISMC Setup" width="300" height="225" /></a><p class="wp-caption-text">PISMC Setup</p></div>
<p>Video:<br />
<br />
<span style="text-align:center; display: block;"><a href="http://bono02.wordpress.com/2008/07/05/position-control-of-bldc-motor-using-proportional-integral-sliding-mode-control/"><img src="http://img.youtube.com/vi/WuiNSbCwk3c/2.jpg" alt="" /></a></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bono02.wordpress.com/71/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bono02.wordpress.com/71/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bono02.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bono02.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bono02.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bono02.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bono02.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bono02.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bono02.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bono02.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bono02.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bono02.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bono02.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bono02.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bono02.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bono02.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=71&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bono02.wordpress.com/2008/07/05/position-control-of-bldc-motor-using-proportional-integral-sliding-mode-control/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce973d04c8a663398081f5f440344518?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bondan</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2008/07/img_0163.jpg?w=300" medium="image">
			<media:title type="html">PISMC Setup</media:title>
		</media:content>
	</item>
		<item>
		<title>Maxon EPOS with CANOpen</title>
		<link>http://bono02.wordpress.com/2008/02/03/maxon-epos-with-canopen/</link>
		<comments>http://bono02.wordpress.com/2008/02/03/maxon-epos-with-canopen/#comments</comments>
		<pubDate>Sun, 03 Feb 2008 12:44:30 +0000</pubDate>
		<dc:creator>Bondhan Novandy</dc:creator>
				<category><![CDATA[Communication]]></category>
		<category><![CDATA[LabView]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://bono02.wordpress.com/?p=48</guid>
		<description><![CDATA[Any of you who is using EPOS from MAXON motor and LabVIEW Real-Time might face the same problem with me. The RS232 -IMHO- is not fast enough to achieve real-time communication between the EPOS and RT controller, also I am using the LV-RT for the main program, thus it will be difficult to synchronize between [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=48&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Any of you who is using <a href="http://www.google.com/search?q=EPOS+Maxon&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a">EPOS</a> from MAXON motor and LabVIEW Real-Time might face the same problem with me. The RS232 -IMHO- is not fast enough to achieve real-time communication between the EPOS and RT controller, also I am using the LV-RT for the main program, thus it will be difficult to synchronize between two LVs program from two different computers which mainly caused by the communication overhead. The problem got worse when I knew that we could not download the EPOS dll file onto the RT. After getting my <a href="http://forums.ni.com/ni/board/message?board.id=240&amp;message.id=5801&amp;requireLogin=False">answer</a> from NI forum, I decided to use the CAN Protocol which can reach up to 1Mbps.</p>
<p><a title="CANOpen Terminate 120 Ohm" href="http://bono02.files.wordpress.com/2008/02/maxon-canopen.jpg"><img src="http://bono02.files.wordpress.com/2008/02/maxon-canopen.jpg?w=836&#038;h=396" alt="CANOpen Terminate 120 Ohm" width="836" height="396" /></a></p>
<p>For the first trial, we have the IXXAT CAN-USB device. The question is, how to interface USB device to the RT? Because if I use this device, then it will be RT &lt;-&gt; USB &lt;-&gt; CAN, which means that I need a driver for IXXAT CAN-USB for the RT! I emailed the IXXAT company, the engineer replied that they do not support the LV-RT. Anyway I successfully send command through CANOpen with this device on Windows platform, but <span id="more-48"></span>it took 1 day for me to realize that I need to terminate the final CAN-bus with 120 Ohm. Fiuhh.. <a href="http://en.wikipedia.org/wiki/Alhamdulillah">alhamdulillah</a> it was working though <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a title="CANOpen Terminate 120 Ohm" href="http://bono02.files.wordpress.com/2008/02/img_0153.jpg"><img src="http://bono02.files.wordpress.com/2008/02/img_0153.jpg?w=500" alt="CANOpen Terminate 120 Ohm" /></a></p>
<p>Then we bought the NI-CAN PXI 2 Port from NI with the OPENCan library. I successfully controlled the speed of the BLDC motor with the CANOPen using SDO only, but then I realized that there was a big delay between two SDO commands, which resulted almost 100% error (current speed &#8211; desired speed), currently I am going to write a new program by using both SDO and PDO.</p>
<p>I -insyaAllah- will continue this writing and explain briefly about SDO &amp; PDO especially in the case of Maxon EPOS.</p>
<p>Monday, 4/feb/2007 @ 20:52 KST</p>
<p>The definition of CAN and CANOpen can be found by yourself in google <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I will explain briefly what I have learned, the CANOpen method to control the Maxon Motor using EPOS, for more detail you can read the EPOS Application Note: CANOpen Basic Information (pdf).</p>
<p>In EPOS there is an <strong>important</strong> dictionary (the source of everything), called <strong>Object Dictionary</strong> <strong>Access</strong>. It contains the System parameter (e.g. PID tuning value, velocity, etc), the DataRecorder(Encoder counter, etc), and so on. To control the motor, these parameters need to be changed. We can change the value by 3 methods:</p>
<ol>
<li>Directly click the field (of the column) and enter the desired value</li>
<li>Using the Serial communication RS232 protocol</li>
<li>CANOpen protocol</li>
</ol>
<p>In the case of 1, you must be joking, but if you want to do it manually, no one can blame on you =P. The 2nd method, I have explained above, that it is not possible if we want to utilize the LabView RT, because there is a dll file which does not support the RT so it can not be downloaded onto the RT, unless you know how to reverse engineer this file and re-write your own code <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
<p>Now the 3rd method, with CANOpen there are 2 ways of writing the object dictionary access:</p>
<p>#1 is SDO (Service Data Object). It is a confirmed service, means that after you send the command, in between the timeout value you specified, there will be a confirmation packet which contains the value whether you successfully write the object or not.</p>
<p>#2 is PDO (Process Data Object). Opposite to the SDO, it is unconfirmed, thus it is very fast. But as a trade off, there are a &#8220;little&#8221; work to do, which is the PDO mapping.</p>
<p>At first time, I am using the SDO only, the problem is that, there is a big gap between sending the packet and receiving the confirmation packet, thus it become less real-time and worse, the data is not valid (I am writing a quite time critical program) .</p>
<p>Here&#8217;s some picture with SDO only:</p>
<p><a title="EPOS with SDO Only" href="http://bono02.files.wordpress.com/2008/02/sdo_only.jpg"><img src="http://bono02.files.wordpress.com/2008/02/sdo_only.jpg?w=500" alt="EPOS with SDO Only" /></a></p>
<p>If you take a look at the picture above the error looks very big, I guess it is caused by the delay of the SDO packets.</p>
<p><a title="Maxon MOTOR with PDO access" href="http://bono02.files.wordpress.com/2008/02/pdo.jpg"><img src="http://bono02.files.wordpress.com/2008/02/pdo.jpg?w=500" alt="Maxon MOTOR with PDO access" /></a></p>
<p>And in the above picture the error is very small with PDO packets.</p>
<p>And here is the video, if you need the code just write me a comment or send an email <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This is an example program to initialize the Maxon EPOS through CANOpen. To be noted that the maxon UI Interface is always on when the lv program is running. Download <a href="http://bono02.files.wordpress.com/2008/06/epos_sdo_initzip.pdf">here</a> (rename the file to become .zip)!</p>
<span style="text-align:center; display: block;"><a href="http://bono02.wordpress.com/2008/02/03/maxon-epos-with-canopen/"><img src="http://img.youtube.com/vi/Kr5t9HlvVHg/2.jpg" alt="" /></a></span>
<p><strong>Update: Thu 29/09/2011</strong></p>
<p>Our machine configuration:</p>
<blockquote>
<div>NI-PXI 7358 Motion Controller, NI-PXI 6259, NI-CAN PXI-8461/2 + CANOpen Library, Maxon BLDC Motor + EPOS 70/10, DES 70/10</div>
</blockquote>
<div><strong>Update 28/10/2011</strong></div>
<div>I haven&#8217;t touched anything related to motor control, maxon or labview since May 2009, since I left South Korea. For you who need files related on this subject (maxon motor control using CanOpen), please find this file (<a href="http://bono02.files.wordpress.com/2008/02/maxon_bondhan-zip.pdf">MAXON_BONDHAN.zip</a>-remove .pdf extension). Before I forget everything, I hope this will be helpful to you. Please don&#8217;t ask for any other files since I really don&#8217;t have it beside this.</div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bono02.wordpress.com/48/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bono02.wordpress.com/48/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bono02.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bono02.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bono02.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bono02.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bono02.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bono02.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bono02.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bono02.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bono02.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bono02.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bono02.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bono02.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bono02.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bono02.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=48&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bono02.wordpress.com/2008/02/03/maxon-epos-with-canopen/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce973d04c8a663398081f5f440344518?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bondan</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2008/02/maxon-canopen.jpg" medium="image">
			<media:title type="html">CANOpen Terminate 120 Ohm</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2008/02/img_0153.jpg" medium="image">
			<media:title type="html">CANOpen Terminate 120 Ohm</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2008/02/sdo_only.jpg" medium="image">
			<media:title type="html">EPOS with SDO Only</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2008/02/pdo.jpg" medium="image">
			<media:title type="html">Maxon MOTOR with PDO access</media:title>
		</media:content>
	</item>
		<item>
		<title>Simulation and Implementation of Servo Motor Control with Sliding Mode Control (SMC) using Matlab and Labview</title>
		<link>http://bono02.wordpress.com/2007/12/14/simulation-and-implementation-of-servo-motor-control-with-sliding-mode-control-smc-using-matlab-and-labview/</link>
		<comments>http://bono02.wordpress.com/2007/12/14/simulation-and-implementation-of-servo-motor-control-with-sliding-mode-control-smc-using-matlab-and-labview/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 14:24:11 +0000</pubDate>
		<dc:creator>Bondhan Novandy</dc:creator>
				<category><![CDATA[Control Theory]]></category>
		<category><![CDATA[LabView]]></category>

		<guid isPermaLink="false">http://bono02.wordpress.com/2007/12/14/simulation-and-implementation-of-servo-motor-control-with-sliding-mode-control-smc-using-matlab-and-labview/</guid>
		<description><![CDATA[Sliding mode control is one of the robust control which can handle known uncertainties. It works by forcing the output state trajectory of the system towards our predefined sliding surface, so that it will slide on our surface in subsequent time. You can download the presentation file here, the title is &#8220;Simulation and Implementation of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=43&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sliding mode control is one of the robust control which can handle known uncertainties. It works by forcing the output state trajectory of the system towards our predefined sliding surface, so that it will slide on our surface in subsequent time. You can download the presentation file <a title="SMC PDF" href="http://bono02.files.wordpress.com/2008/07/smc.pdf">here</a>, the title is <em><strong>&#8220;Simulation and Implementation of Servo Motor Control with Sliding Mode Control (SMC) using Matlab and Labview&#8221;</strong></em>.</p>
<p>The Matlab file will not be shared, I think the simulation is not difficult you can write in S-Function or by calling ODE solver from m-file.  LabView source code can be seen (seeing source code or reading it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ) in the presentation <a title="SMC PDF" href="http://bono02.files.wordpress.com/2008/07/smc.pdf">file</a>. I hope It is useful for the sake of education, sharing knowledge to the world -at least this is what I can do for now <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> , hope I could give something useful to human being before I die-.  Btw, if there&#8217;s something wrong with the equation please let me know. Oh and..don&#8217;t expect too much from the presentation <a title="SMC PDF" href="http://bono02.files.wordpress.com/2008/07/smc.pdf">file</a>, I only did this less than 2 weeks, plus I am new to LabView and Matlab S-Function T_T.</p>
<p>After the encoder is installed to the motor I will post the video here, insyaAllah.  Hope It will not take too much time for the experiment.</p>
<p>Updated 2008-05-07:</p>
<p>I did the experiment last february 2008, just able to upload it now caused by my laziness <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . I forgot to add in the presentation file, the inverter input is only positive DAC value from 0 to 10 V. Thus, if the control output is negative you need to make additional circuit to switch the direction (from forward to reverse, vice versa). (Look at my posting about the &#8220;Basic Switching Circuit&#8221;), also for safety you must add switches and hardwired to the inverter. Here are the setup and the video:<span id="more-43"></span></p>
<div id="attachment_74" class="wp-caption alignnone" style="width: 310px"><a href="http://bono02.files.wordpress.com/2008/07/setup.jpg"><img class="size-medium wp-image-74" src="http://bono02.files.wordpress.com/2008/07/setup.jpg?w=300&#038;h=209" alt="SMC AC Servo Motor experiment" width="300" height="209" /></a><p class="wp-caption-text">SMC AC Servo Motor experiment</p></div>
<p>Video:</p>
<span style="text-align:center; display: block;"><a href="http://bono02.wordpress.com/2007/12/14/simulation-and-implementation-of-servo-motor-control-with-sliding-mode-control-smc-using-matlab-and-labview/"><img src="http://img.youtube.com/vi/hjJDfWMqbhw/2.jpg" alt="" /></a></span>
<p><strong>Update 2008-12-08</strong></p>
<p>The simulation file can be downloaded <a href="http://bono02.files.wordpress.com/2007/12/smc_simulationzip.pdf">here</a> (rename to .zip), written on LabVIEW 8.5, all the derivation can be found on the <a href="http://bono02.files.wordpress.com/2008/07/smc.pdf">pdf (ppt)</a>.</p>
<p><strong>Update 2010-01-15 (OMG, more than a year already :p)</strong></p>
<p>I admit that output response in this video was not that good since it was not tuned (I am lazy to upload the new one). The final result, after tuning the control parameters, the whole result can be seen in <a href="http://bono02.wordpress.com/2009/05/15/my-final-thesis/">here</a>. It is fully programmed using LabVIEW &amp; LabVIEW (RT).</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bono02.wordpress.com/43/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bono02.wordpress.com/43/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bono02.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bono02.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bono02.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bono02.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bono02.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bono02.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bono02.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bono02.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bono02.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bono02.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bono02.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bono02.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bono02.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bono02.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=43&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bono02.wordpress.com/2007/12/14/simulation-and-implementation-of-servo-motor-control-with-sliding-mode-control-smc-using-matlab-and-labview/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce973d04c8a663398081f5f440344518?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bondan</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2008/07/setup.jpg?w=300" medium="image">
			<media:title type="html">SMC AC Servo Motor experiment</media:title>
		</media:content>
	</item>
		<item>
		<title>RC servo motor with labview</title>
		<link>http://bono02.wordpress.com/2007/11/22/rc-servo-motor-with-labview/</link>
		<comments>http://bono02.wordpress.com/2007/11/22/rc-servo-motor-with-labview/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 08:45:43 +0000</pubDate>
		<dc:creator>Bondhan Novandy</dc:creator>
				<category><![CDATA[LabView]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[LabView Real-Time]]></category>
		<category><![CDATA[RC Servo]]></category>

		<guid isPermaLink="false">http://bono02.wordpress.com/2007/11/22/rc-servo-motor-with-labview/</guid>
		<description><![CDATA[Another basic article. My first time with LabView Real-Time. I decided to write a program to control an R/C servo motor with LV-RT. With PXI-7358, I decided to use the digital I/O, just by turning on and off the port according to the time constraint. I did not read the manual in detail, so I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=40&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Another basic article. My first time with LabView Real-Time. I decided to write a program to control an <a href="http://www.seattlerobotics.org/guide/servos.html" title="RC Servo Motor">R/C servo motor</a> with LV-RT. With PXI-7358, I decided to use the digital I/O, just by turning on and off the port according to the time constraint. I did not read the manual in detail, so I am afraid I missed something, but when I did a test how long the time took for turning the digital port from on to off was around 1.5 ms, and from on to off took 250 uS. It means that it is not possible to drive the R/C servo with digital I/O when the pulse needed should be between 200-2500 uS.</p>
<p>Here&#8217;s the code when I did a measurement on the time of digital I/O switching on-off:<span id="more-40"></span></p>
<p><a href="http://bono02.files.wordpress.com/2007/11/momo.jpg" title="Must On Must Off"><img src="http://bono02.files.wordpress.com/2007/11/momo.jpg?w=500" alt="Must On Must Off" /></a></p>
<p>I decided to utilize the PWM port. The algorithm is: turning <b>on 100% PWM -&gt; delay X uS -&gt; turn on 0% PWM -&gt; delay 10 ms (minimum)</b>, where X is the delay for the position desired, and then the servo could run smoothly.</p>
<p>Here&#8217;s the code:</p>
<p><a href="http://bono02.files.wordpress.com/2007/11/servo-lvrt.jpg" title="Servo Real-Time"><img src="http://bono02.files.wordpress.com/2007/11/servo-lvrt.jpg?w=500" alt="Servo Real-Time" /></a></p>
<p>As usual, for documentary (maybe when I am old I could see what I did in my &#8220;spare&#8221; time -hopefully not wasting my time-), here&#8217;s the video:</p>
<span style="text-align:center; display: block;"><a href="http://bono02.wordpress.com/2007/11/22/rc-servo-motor-with-labview/"><img src="http://img.youtube.com/vi/Ww9riLlArVw/2.jpg" alt="" /></a></span>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bono02.wordpress.com/40/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bono02.wordpress.com/40/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bono02.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bono02.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bono02.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bono02.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bono02.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bono02.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bono02.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bono02.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bono02.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bono02.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bono02.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bono02.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bono02.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bono02.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=40&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bono02.wordpress.com/2007/11/22/rc-servo-motor-with-labview/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce973d04c8a663398081f5f440344518?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bondan</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2007/11/momo.jpg" medium="image">
			<media:title type="html">Must On Must Off</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2007/11/servo-lvrt.jpg" medium="image">
			<media:title type="html">Servo Real-Time</media:title>
		</media:content>
	</item>
		<item>
		<title>Stepper Motor With LabVIEW</title>
		<link>http://bono02.wordpress.com/2007/11/04/stepper-motor-with-labview/</link>
		<comments>http://bono02.wordpress.com/2007/11/04/stepper-motor-with-labview/#comments</comments>
		<pubDate>Sun, 04 Nov 2007 03:59:25 +0000</pubDate>
		<dc:creator>Bondhan Novandy</dc:creator>
				<category><![CDATA[LabView]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Stepper Motor]]></category>
		<category><![CDATA[ULN2803]]></category>

		<guid isPermaLink="false">http://bono02.wordpress.com/2007/11/04/stepper-motor-with-labview/</guid>
		<description><![CDATA[Again, still LabVIEW beginner. I am currently reading an ebook titled &#8220;LabVIEW based Advanced Instrumentation System&#8221; by S. Sumanthi and P. Surekha, and IMHO this is a good book for beginner. I wish I could finish reading this book as soon as possible, because time is what I do not have Two days ago, I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=36&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Again, still LabVIEW beginner. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I am currently reading an ebook titled <i>&#8220;LabVIEW based Advanced Instrumentation System&#8221;</i> by S. Sumanthi and P. Surekha, and IMHO this is a good book for beginner. I wish I could finish reading this book as soon as possible, because time is what I do not have <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Two days ago, I tried to control a stepper motor with ULN2803 and LabVIEW. FYI -again- I am new to LabVIEW, so don&#8217;t expect too much from this article. I have NI-PCI 6221 and NI-PXI 7358 with me, the later is specifically manufactured for motion controller but still it has the digital I/O. And in this article I am using the motion controller digital I/O to control the stepper, if you only have DAQmx you also still can use it to drive your stepper motor, because to control stepper motor only need digital output which you can generate from your DAQmx.</p>
<p>Here&#8217;s the LV source code:</p>
<p><span id="more-36"></span>This is the front panel where user can specify the speed, direction, number full step. In this case, I am using 1.8 degree stepper motor, which means for one full rotation I need 360/1.8 = 200 steps, then 200 steps/4 = 50 times iteration.</p>
<p><a href="http://bono02.files.wordpress.com/2007/11/stepper-front-panel.jpg" title="Stepper Front Panel"><img src="http://bono02.files.wordpress.com/2007/11/stepper-front-panel.jpg?w=500" alt="Stepper Front Panel" /></a></p>
<p>This is the source code when all condition is true:</p>
<p><a href="http://bono02.files.wordpress.com/2007/11/stepper-inside.jpg" title="Stepper Inside Panel"><img src="http://bono02.files.wordpress.com/2007/11/stepper-inside.jpg?w=665&#038;h=372" alt="Stepper Inside Panel" height="372" width="665" /></a></p>
<p>This is the source code when all condition is false:<a href="http://bono02.files.wordpress.com/2007/11/stepper-inside-false.jpg" title="Stepper Inside Panel"><img src="http://bono02.files.wordpress.com/2007/11/stepper-inside-false.jpg?w=667&#038;h=381" alt="Stepper Inside Panel" height="381" width="667" /></a></p>
<p>Here&#8217;s the video for the trial:</p>
<span style="text-align:center; display: block;"><a href="http://bono02.wordpress.com/2007/11/04/stepper-motor-with-labview/"><img src="http://img.youtube.com/vi/MxQNt1KCR6s/2.jpg" alt="" /></a></span>
<p>and I tried to test the accurateness of this stepper motor for one full cycle (50 iterations) you can watch here:</p>
<span style="text-align:center; display: block;"><a href="http://bono02.wordpress.com/2007/11/04/stepper-motor-with-labview/"><img src="http://img.youtube.com/vi/50nF-919lx0/2.jpg" alt="" /></a></span>
<p>This stepper motor is not that accurate, for 2-3 trials it was okay but the next trial it lost its position, I tried several times and it still can not maintained its previous position, even though I used slower speed.</p>
<p>And here is the electronic connection I used for the ULN2803 you can find <a href="http://madan.wordpress.com/2006/06/29/exact-circuit-and-microc-code-for-stepper-motor/">here</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bono02.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bono02.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bono02.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bono02.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bono02.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bono02.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bono02.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bono02.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bono02.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bono02.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bono02.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bono02.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bono02.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bono02.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bono02.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bono02.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=36&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bono02.wordpress.com/2007/11/04/stepper-motor-with-labview/feed/</wfw:commentRss>
		<slash:comments>89</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce973d04c8a663398081f5f440344518?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bondan</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2007/11/stepper-front-panel.jpg" medium="image">
			<media:title type="html">Stepper Front Panel</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2007/11/stepper-inside.jpg" medium="image">
			<media:title type="html">Stepper Inside Panel</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2007/11/stepper-inside-false.jpg" medium="image">
			<media:title type="html">Stepper Inside Panel</media:title>
		</media:content>
	</item>
		<item>
		<title>Another Simple LabView Program (PWM)</title>
		<link>http://bono02.wordpress.com/2007/10/16/another-simple-labview-program-pwm/</link>
		<comments>http://bono02.wordpress.com/2007/10/16/another-simple-labview-program-pwm/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 09:01:38 +0000</pubDate>
		<dc:creator>Bondhan Novandy</dc:creator>
				<category><![CDATA[LabView]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Graphical Programming]]></category>
		<category><![CDATA[PWM]]></category>

		<guid isPermaLink="false">http://bono02.wordpress.com/2007/10/16/another-simple-labview-program-pwm/</guid>
		<description><![CDATA[Yesterday, I tried to control a stepper motor using the L297 IC driver, but then I realized that I need another IC which could drive high current to the motor, similar to darlington transistor arrays. The ICs are being purchased at the moment for the need of lab experiment taught by my friend. Oh well, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=31&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I tried to control a stepper motor using the L297 IC driver, but then I realized that I need another IC which could drive high current to the motor, similar to darlington transistor arrays. The ICs are being purchased at the moment for the need of lab experiment taught by my friend.</p>
<p>Oh well, I decided to learn how to generate a simple PWM in PCI-6221 on LabView -as you know I am always new in this, too many functions available, and I am not used to graphical programming-.</p>
<p>I utilized the counter 0 (DevX/ctr0) to turn on a LED (light emitting diode) that it will flicker according to the signal given. For this card the LED is located on PFI 12 (pin number 2).</p>
<p>Here is the front panel, where user can interact with the program:<span id="more-31"></span></p>
<p><a title="PWM Front Panel" href="http://bono02.files.wordpress.com/2007/10/pwm-front-panel.jpg"><img src="http://bono02.files.wordpress.com/2007/10/pwm-front-panel.jpg?w=500" alt="PWM Front Panel" /></a></p>
<p>and here is the back panel for the main flow program:</p>
<p><a title="PWM Back Panel" href="http://bono02.files.wordpress.com/2007/10/pwm-back-panel.jpg"><img src="http://bono02.files.wordpress.com/2007/10/pwm-back-panel.jpg?w=500" alt="PWM Back Panel" /></a></p>
<p>I still not yet have the LabView Real-Time with me, my boss said it will arrive tomorrow. This program is written with LV 8.2 with the minimum delay is 1 ms. If you analyze the back panel above, when there&#8217;s a value change in the control form (the meter and vertical bar)  for different duty cycle or frequency, the  value will be updated inside the case structure. You can experiment by changing the duty cycle and frequency, and then look at the flicker rate and intensity of the LED.</p>
<p>If you removed the timed loop and changed with while loop, a problem will occur if the value change in the control form is faster that one period of loop cycle, thus LabView Run-Time will generate an error message. The reason is that, the changing is lot faster that one cycle loop which is 1 ms. With this timed loop, unnecessary changing is discarded, only values which are between the right time slot considered as input. If error happened the LED on front panel will be on.</p>
<p>If you don&#8217;t understand my explanation, you can download the vi program <a title="Simple PWM LabView 8.2" href="http://bono02.files.wordpress.com/2007/10/pwm-simplerar.pdf">here</a> (remove the .pdf extension).</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bono02.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bono02.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bono02.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bono02.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bono02.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bono02.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bono02.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bono02.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bono02.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bono02.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bono02.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bono02.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bono02.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bono02.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bono02.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bono02.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=31&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bono02.wordpress.com/2007/10/16/another-simple-labview-program-pwm/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce973d04c8a663398081f5f440344518?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bondan</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2007/10/pwm-front-panel.jpg" medium="image">
			<media:title type="html">PWM Front Panel</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2007/10/pwm-back-panel.jpg" medium="image">
			<media:title type="html">PWM Back Panel</media:title>
		</media:content>
	</item>
		<item>
		<title>Screw Transformation</title>
		<link>http://bono02.wordpress.com/2007/10/05/screw-transformation/</link>
		<comments>http://bono02.wordpress.com/2007/10/05/screw-transformation/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 13:08:16 +0000</pubDate>
		<dc:creator>Bondhan Novandy</dc:creator>
				<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://bono02.wordpress.com/2007/10/05/screw-transformation/</guid>
		<description><![CDATA[I am writing this while waiting for my &#8220;Robot Analysis&#8221; class at 11 am. Any of you who has basic knowledge about robotics, especially the kinematics must has ever heard the word Denavit-Hartenberg transformation. Well, I am not going to write about this method, but the other method which was AFAIK found the latest around [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=28&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>I</strong> am writing this while waiting for my &#8220;Robot Analysis&#8221; class at 11 am. Any of you who has basic knowledge about robotics, especially the kinematics must has ever heard the word Denavit-Hartenberg transformation. Well, I am not going to write about this method, but the other method which was AFAIK found the latest around 1971, if I am not mistaken.</p>
<p>I am not going to explain the whole theory, I will just show you the homework and Matlab program that I wrote for this transformation type. In Screw transformation, the reference and final point is arbitrarily chosen, this makes this method different to DH method.</p>
<p>Ok. Here&#8217;s the question:</p>
<p><a href="http://bono02.files.wordpress.com/2007/10/ch2.JPG" title="HW11_CH2"><img src="http://bono02.files.wordpress.com/2007/10/ch2.JPG?w=485&#038;h=461" alt="HW11_CH2" height="461" width="485" /></a></p>
<p>Here&#8217;s the answer:<span id="more-28"></span></p>
<p><span></span></p>
<p class="MsoNormal" style="margin-left:0.5in;text-indent:-0.25in;"><!--[if !supportLists]--></p>
<p>First we find transformation matrix using screw method. The screw axes location of Scorbot manipulator is shown in Table 1, then we define the reference, target position and then we can find the transformation matrix. With this transformation matrix we can derive the inverse kinematics.</p>
<p>a) Reference Position</p>
<table border="0" cellpadding="0" cellspacing="0" width="392">
<tr>
<td colspan="3" nowrap="nowrap" valign="bottom" width="349"><strong>Table 1. Screw Ax</strong><strong>i</strong><strong>s Location of   Scorbot Manipulator</strong></td>
</tr>
<tr>
<td nowrap="nowrap" width="65">
<p align="center">Joint   <em>i</em></p>
</td>
<td nowrap="nowrap" width="90">
<p align="center"><strong>S</strong><em>i</em></p>
</td>
<td nowrap="nowrap" width="195">
<p align="center"><strong>S</strong><em>oi</em></p>
</td>
</tr>
<tr>
<td nowrap="nowrap" width="65">
<p align="center">1</p>
</td>
<td nowrap="nowrap" width="90">
<p align="center">(0,   0, 1)</p>
</td>
<td nowrap="nowrap" width="195">
<p align="center">(0,   0, 0)</p>
</td>
</tr>
<tr>
<td nowrap="nowrap" width="65">
<p align="center">2</p>
</td>
<td nowrap="nowrap" width="90">
<p align="center">(0,   -1, 0)</p>
</td>
<td nowrap="nowrap" width="195">
<p align="center">(a1,   0, 0)</p>
</td>
</tr>
<tr>
<td nowrap="nowrap" width="65">
<p align="center">3</p>
</td>
<td nowrap="nowrap" width="90">
<p align="center">(0,   -1, 0)</p>
</td>
<td nowrap="nowrap" width="195">
<p align="center">(a1   + a2, 0, 0)</p>
</td>
</tr>
<tr>
<td nowrap="nowrap" width="65">
<p align="center">4</p>
</td>
<td nowrap="nowrap" width="90">
<p align="center">(0,   -1, 0)</p>
</td>
<td nowrap="nowrap" width="195">
<p align="center">(a1   + a2 + a3, 0, 0)</p>
</td>
</tr>
<tr>
<td nowrap="nowrap" width="65">
<p align="center">5</p>
</td>
<td nowrap="nowrap" width="90">
<p align="center">(1,   0, 0)</p>
</td>
<td nowrap="nowrap" width="195">
<p align="center">(0,   0, 0)</p>
</td>
</tr>
</table>
<p class="MsoNormal" style="margin-left:0.5in;"> u<sub>0</sub> =  [0, 0, 1]<sup>T</sup>,            v<sub>0</sub> =  [0, -1, 0]<sup>T</sup>,             w<sub>0</sub> =  [1, 0, 0]<sup>T</sup></p>
<p class="MsoNormal" style="margin-left:0.5in;">and p<sub>0</sub> =  [a1 + a2 + a3, 0, 0]<sup> T</sup></p>
<p>b) Target Position</p>
<p class="MsoNormal" style="margin-left:0.5in;">u =  [u<sub>x</sub>, u<sub>y</sub>, u<sub>z</sub>]<sup>T</sup>,        v =  [u<sub>x</sub>, u<sub>y</sub>, u<sub>z</sub>]<sup>T</sup>,           w<sub>0</sub> =  [w<sub>x</sub>, w<sub>y</sub>, w<sub>z</sub>]<sup>T</sup></p>
<p class="MsoNormal" style="margin-left:0.5in;">and p =  [p<sub>x</sub>, p<sub>y</sub>, p<sub>z</sub>]<sup>T</sup></p>
<p>c) Transformation Matrix</p>
<p class="MsoNormal" style="margin-left:0.5in;">By using Matlab® (See the attached code) the transformation matrices are found (Use the matlab code)</p>
<p>      <span><span>d)<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">  </span></span></span><!--[endif]-->Inverse Kinematics</p>
<p class="MsoNormal" style="margin-left:0.5in;">You can derive the inverse kinematics using the direct kinematics matrices calculated using the Matlab program, not that difficult, so I will leave this solution to you.</p>
<p>Matlab(R) 2007a source <a href="http://bono02.files.wordpress.com/2007/10/hw-ch2.pdf" title="Chapter 2 No. 11 Robot Analysis, Tsai's">code</a>:</p>
<blockquote><pre>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Homework chapter 2 Number 11
% Book: Robot Analysis
% Name: Bondhan Novandy
% Student ID: 2007214012
%
% Description:  This file describe the screw tranformation, the input is the
%               screw axis location coordinate Si and Soi (table), the
%               output is the transformation matrix
%
% Dependency :  None
% Note       :  Tested on Matlab(R) 2007a
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function [output] = screw_transform(val_sx, val_sy, val_sz, val_sox, val_soy, val_soz, symTheta,  joint_type)

global REVOLUTE PRISMATIC
REVOLUTE  = 0;
PRISMATIC = 1;

% Declare the symbolic variables
syms a11 a12 a13 a14 a21 a22 a23 a24 a31 a32 a33 a34 a41 a42 a43 a44
syms Theta
syms sx sy sz t
syms sox soy soz

sx = val_sx;
sy = val_sy;
sz = val_sz;
sox = val_sox;
soy = val_soy;
soz = val_soz;

Theta = 0;

Theta = symTheta;

if joint_type == REVOLUTE
    t = 0;
    % angle is not zero
elseif joint_type == PRISMATIC
    % Theta is 0 then Sin(0) = 0 and Cos(0) = 1
    Theta = 0;
    % t is not zero
else
    error('Joint type is wrong! REVOLUTE = 0 and PRISMATIC = 1');
end

% Formula according to 2.132
% Rotation matrix
a11 = (sx^2 - 1) * (1 - cos(Theta)) + 1;
a12 = sx * sy * (1 - cos(Theta)) - (sz * sin(Theta));
a13 = sx * sz * (1 - cos(Theta)) + (sy * sin(Theta));

a21 = sy * sx * (1 - cos(Theta)) + (sz * sin(Theta));
a22 = (sy^2 - 1) * (1 - cos(Theta)) + 1;
a23 = sy * sz * (1 - cos(Theta)) - (sx * sin(Theta));

a31 = sz * sx * (1 - cos(Theta)) - (sy * sin(Theta));
a32 = sz * sy * (1 - cos(Theta)) + (sx * sin(Theta));
a33 = (sz^2 - 1) * (1 - cos(Theta)) + 1;

a41 = 0;
a42 = 0;
a43 = 0;

% Translation Matrix
a14 = (t * sx) - (sox * (a11 - 1)) - (soy * a12) - (soz * a13);
a24 = (t * sy) - (sox * a21) - (soy * (a22 - 1)) - (soz * a23);
a34 = (t * sz) - (sox * a31) - (soy * a32) - (soz * (a33 - 1));
a44 = 1;

% Transform matrix
output = [a11 a12 a13 a14; a21 a22 a23 a24; a31 a32 a33 a34; a41 a42 a43 a44];
</pre>
</blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bono02.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bono02.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bono02.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bono02.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bono02.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bono02.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bono02.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bono02.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bono02.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bono02.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bono02.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bono02.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bono02.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bono02.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bono02.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bono02.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bono02.wordpress.com&amp;blog=532246&amp;post=28&amp;subd=bono02&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bono02.wordpress.com/2007/10/05/screw-transformation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ce973d04c8a663398081f5f440344518?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bondan</media:title>
		</media:content>

		<media:content url="http://bono02.files.wordpress.com/2007/10/ch2.JPG" medium="image">
			<media:title type="html">HW11_CH2</media:title>
		</media:content>
	</item>
	</channel>
</rss>
