<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;Ak8ER3w6fSp7ImA9WhRbEk4.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148</id><updated>2012-02-03T11:13:26.215+08:00</updated><category term="paper" /><category term="articles" /><category term="leisure" /><category term="travels" /><category term="me" /><category term="earth hour" /><category term="tutorials" /><category term="watercolor" /><category term="backdrop" /><category term="photography" /><category term="chain mail" /><category term="random" /><category term="stock" /><category term="video" /><category term="other media" /><category term="humanity" /><category term="blog news" /><category term="premierepro" /><category term="project" /><category term="digital art" /><category term="3ds Max" /><category term="readings" /><category term="traditional art" /><title>Khin Hooi's Temporary40</title><subtitle type="html">My Life and My Works</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://khinhooi.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>196</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/Temporary40" /><feedburner:info uri="temporary40" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;AkINSH8-fCp7ImA9WhRXFk0.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-4551948600308380352</id><published>2011-12-23T10:49:00.003+08:00</published><updated>2011-12-23T10:49:59.154+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-23T10:49:59.154+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="articles" /><title>Why Modeling is Important?</title><content type="html">&amp;nbsp;By K.H. Ng&lt;br /&gt;
&lt;br /&gt;
First of all, the open problem is what is a model? Specifically, what is
 a model in control system sense? The word model is generally quite wide
 and has many uses. A fashion model is for displaying certain cloths 
design, a market model is used to predict the profit and deficit, while a
 business model is the strategic p&lt;span class="text_exposed_show"&gt;lanning in an organization.&lt;br /&gt;
&lt;br /&gt;
Model in control system sense is more to a mathematical model. An 
extremely simple model is y = 2 * x. Give x to a function and it will 
return the double of the original value. A more complicated model is the
 Fourier series, where given a variable in function of time, it will 
return the amplitudes of the DC gain, sine harmonics and cosine 
harmonics.&lt;br /&gt;
&lt;br /&gt;
While in control system, dynamic systems are more of interest where the 
ordinary differential equation comes in the game. This is when the 
variables and the derivatives comes to form a balanced equation for 
example the Newton's Second Law of Motion or the Kirchoff Voltage Law.&lt;br /&gt;
&lt;br /&gt;
A dynamic model gives the output when excited with certain inputs. In 
other words, a model gives the output description in function of time 
when given a certain inputs, also in function of time. For example, when
 a motor is given an voltage for one second, what is the expected angle 
it will turn?&lt;br /&gt;
&lt;br /&gt;
There are various method to analyze a model. Or put differently, there 
are many methods to work on a certain model. One might go for the most 
basic time domain method, which is the convolution of linear time 
invariant system. Another simpler method is to apply La Place transform 
to a signal and work from there. The most recent and popular approach is
 the state space approach.&lt;br /&gt;
&lt;br /&gt;
Now comes to the main part of the article, why it is important? Although
 one might not use a model in controlling certain plant, it is important
 in the controller design process. For example, when someone wants to 
control a motor, they do not just buy a motor and test it. They start 
off with the model. And also, plants might not be cheap to start with.&lt;br /&gt;
&lt;br /&gt;
Another example is water level control in a tank. One do not buy a tank 
and experiment on it. They would have to come up with a model of the 
tank, the pumps, the pipes, etc. After deriving the model, one can 
obtain the water level in function of time given the opening of a water 
flow valve in function of time.&lt;br /&gt;
&lt;br /&gt;
To have a model is important to validate a controller design. Let's give
 an example of PID controller. To determine the effectiveness of the 
controller in controlling water level, it is important to have the model
 at hand for simulation purposes.&lt;br /&gt;
&lt;br /&gt;
A model can be linear or non linear. But most plants in the real world 
is a non linear one. Even Ohm's Law is not linear if the voltage 
variation is too large. Also given an example in a motor. Motors have a 
certain dead zone where small voltage will not move the motor. The usual
 cause is friction. Motors also have saturation where the current cannot
 gets too high or it will burn out the motor.&lt;br /&gt;
&lt;br /&gt;
Therefore, it is a challenge to come up with the nonlinear model. 
Modeling a non linear plant is never an easy task. It takes experience 
and a lot of computation to come up with the perfect model. There are 
also many method emerging in modeling. Some are fuzzy modeling, neural 
nets modeling, statistical modeling, etc.&lt;br /&gt;
&lt;br /&gt;
In the end of the day, model is just a part of control system design and
 analysis. But understanding the plant to control is very important for 
understanding of the whole control system.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-4551948600308380352?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kv6AygdVSrbfD1KOdIpyq__r50U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kv6AygdVSrbfD1KOdIpyq__r50U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kv6AygdVSrbfD1KOdIpyq__r50U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kv6AygdVSrbfD1KOdIpyq__r50U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/5wnNZNh7YoY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/4551948600308380352/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=4551948600308380352&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/4551948600308380352?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/4551948600308380352?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/5wnNZNh7YoY/why-modeling-is-important.html" title="Why Modeling is Important?" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/12/why-modeling-is-important.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MDRX0zfip7ImA9WhRRFU0.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-3542113921294120291</id><published>2011-11-29T01:20:00.001+08:00</published><updated>2011-11-29T02:37:54.386+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-29T02:37:54.386+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="articles" /><title>Cliche vs Creativity</title><content type="html">Let's play a game. Help yourself to a piece of pen and paper, write down as many functions of a paper clip that you can figure out. It can be anything, let the imagination runs wild.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-g0NHv0ZLN2Q/TtPDWMULFRI/AAAAAAAABdg/Exn7GpapQdQ/s1600/paper+clip.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-g0NHv0ZLN2Q/TtPDWMULFRI/AAAAAAAABdg/Exn7GpapQdQ/s320/paper+clip.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
How many functions of paper clip that one can found out? Did you know average adult can find up to 30 functions while a child can have up to 100 function. Why is this so?&lt;br /&gt;
&lt;br /&gt;
Also check out this interesting poll regarding artistic freedom in relation to age [&lt;a href="http://poll.deviantart.com/380/"&gt;link&lt;/a&gt;]. Majority chosen youth and teenagers than adult and elderly. It is clear that people are more creative when they were young.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Cliche&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
As people grow, they get more bounded by rules and regulations. As a result, human are bound to a cliche or pattern. For example in schools, higher institutes or working organizations.&lt;br /&gt;
&lt;br /&gt;
Let's take the example of the paper clip. A small children might not know the function of a paper clip if one shows them the first time. As their imagination is wild, they can use that for almost anything. While for an adult, a paper clip is used just for clipping papers.&lt;br /&gt;
&lt;br /&gt;
As adults grow, their thinking are getting more and more inside the box.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Creativity vs Innovation&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Creativity and innovation sounds different from each other but they are quite connected in some way or another. Being creative is to do things differently, to think outside of the box, to think outside of a cliche. Being innovative means to implement an idea to generate new idea.&lt;br /&gt;
&lt;br /&gt;
Tan Sri Lim Kok Wing mentioned that people and stressing on innovation but no one stresses on creativity [&lt;a href="http://founder.limkokwing.net/blog/creativity_before_innovation/"&gt;link&lt;/a&gt;]. This is quite true based on his article in the link. Why is that so? One thing, innovation drives the market. Consumer says it all. If there is no market, means any organization will not generate revenue.&lt;br /&gt;
&lt;br /&gt;
Put for example, person A in Alpha Company, uses an idea to create a product to sell. That is called innovation. Putting it another way, that person can copy an idea from Beta Company and use it for their own. It is still called innovation.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://th01.deviantart.net/fs6/PRE/i/2005/093/8/a/electric_light__bulb_by_baikal_stock.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://th01.deviantart.net/fs6/PRE/i/2005/093/8/a/electric_light__bulb_by_baikal_stock.jpg" width="203" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
But who are the ones to create those idea? This is where creativity comes into place. It takes less resources to generate an idea than to get a well established idea and use it. So to speak, innovation is more important to generate money than creativity.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: large;"&gt;Science , Technology and Engineering&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen, creativity and innovation are closely related to science, technology and engineering. It takes a lot of creativity to explore in science. A good example is Einstein.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-MXzLGbvjJqQ/TtPPwWBnj7I/AAAAAAAABdo/oLZA4AfLUWk/s1600/science+technology+and+engineering.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-MXzLGbvjJqQ/TtPPwWBnj7I/AAAAAAAABdo/oLZA4AfLUWk/s320/science+technology+and+engineering.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
According to Professor Brian Cox, science, especially curiosity led science is underfunded [&lt;a href="http://www.ted.com/talks/lang/en/brian_cox_why_we_need_the_explorers.html"&gt;link&lt;/a&gt;]. It is underfund because there is no direct profit from funding science. One might satisfy a curiosity of another by explore in science but it does not generate market for the consumers.&amp;nbsp;This is why stress is given on an innovation led economy, not a creativity led economy. &lt;br /&gt;
&lt;br /&gt;
But imagine, if there is not science, there will be not technology. Without technology, engineers could not come up with consumer products.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Tools for Creativity&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Nevertheless, creativity is important in one way or another. But how creativity can be encouraged with all those rules and cliche? Edward de Bono, a renowned thinker comes up with a lot of tools to generate creative ideas, for example the Lateral Thinking [&lt;a href="http://www.amazon.com/Lateral-Thinking-Edward-Bono/dp/0140137793"&gt;link&lt;/a&gt;]. In his book, he mentioned about creativity and how it was blocked by cliche in human mind.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Concluding Remark&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Innovation seems to be more important than creativity because they generates more profit than creativity. But without creativity, innovations cannot comes into hand. One of the factor that stops people from being creative is the rules and cliche they are bounded to. &lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-3542113921294120291?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dwiXMQg6sbohqQtVERb8zIrjDVU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dwiXMQg6sbohqQtVERb8zIrjDVU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dwiXMQg6sbohqQtVERb8zIrjDVU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dwiXMQg6sbohqQtVERb8zIrjDVU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/BB_MmStGURU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/3542113921294120291/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=3542113921294120291&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/3542113921294120291?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/3542113921294120291?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/BB_MmStGURU/cliche-vs-creativity.html" title="Cliche vs Creativity" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-g0NHv0ZLN2Q/TtPDWMULFRI/AAAAAAAABdg/Exn7GpapQdQ/s72-c/paper+clip.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/11/cliche-vs-creativity.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8DQXo6eCp7ImA9WhRRE0s.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-5065583754769315277</id><published>2011-11-26T02:12:00.001+08:00</published><updated>2011-11-27T10:27:50.410+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-27T10:27:50.410+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="articles" /><title>Understanding the DC Motor Part IV</title><content type="html">The final part of understanding motor control is regarding control the position of the permanent magnet direct current motor. But this is applicable to the speed or torque. This control method is called the cascade control and it is inspired by the Faulhaber motion control module.&lt;br /&gt;
&lt;br /&gt;
Again, the motor model is from &lt;a href="http://www.mathworks.com/matlabcentral/fileexchange/11829-dc-motor-model"&gt;Roger Asenstrup&lt;/a&gt;. All the parameters are from the model.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Motor Position Control with Single Loop PID&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
A simple position feedback using the angle feedback from the motor. Kp = 1, Ki = 0, Kd = 0. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-7UizEE1HIfs/Ts_aAcl8laI/AAAAAAAABbw/VNg7FLg0FZE/s1600/01+kp1sim.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="308" src="http://2.bp.blogspot.com/-7UizEE1HIfs/Ts_aAcl8laI/AAAAAAAABbw/VNg7FLg0FZE/s400/01+kp1sim.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 1. Position control with Kp = 1, Ki = 0, Kd = 0.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-R9XIiVJeyB0/Ts_aBRth3vI/AAAAAAAABb4/Q6PHjrO8FKA/s1600/02+kp1.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-R9XIiVJeyB0/Ts_aBRth3vI/AAAAAAAABb4/Q6PHjrO8FKA/s400/02+kp1.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 2. Result from Figure 1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
As seen from Figure 2, the Proportional only control is good enough to control the motor position.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Dead Zone Problem &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
But this is when the nonlinearity kicks in. In Figure 3, a dead zone was added to approximate the Coulomb friction. The value of dead zone is -0.1 to 0.1 volts.&amp;nbsp;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-HLdj9aw0zG8/Ts_aCWhN_VI/AAAAAAAABcA/RVgoB41U7rU/s1600/03+kp1simwithdeadzone.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="308" src="http://2.bp.blogspot.com/-HLdj9aw0zG8/Ts_aCWhN_VI/AAAAAAAABcA/RVgoB41U7rU/s400/03+kp1simwithdeadzone.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 3. P control (Kp = 1) with dead zone&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-5XOJJFn_j5o/Ts_aDRqyRCI/AAAAAAAABcI/mpk3VAnfyFc/s1600/04+kp1withdeadzone.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/-5XOJJFn_j5o/Ts_aDRqyRCI/AAAAAAAABcI/mpk3VAnfyFc/s400/04+kp1withdeadzone.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 4. Result from Figure 3&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Figure 4 shows the result with the presence of dead zone. The motor position will not converge to desired value of position. One method to solve this is to use proportional and integral control (PI control). &lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-Nd0CI-cMLUI/Ts_aFrK80NI/AAAAAAAABcY/mysY5LLJRgs/s1600/06+kp1ki3withdeadzone.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-Nd0CI-cMLUI/Ts_aFrK80NI/AAAAAAAABcY/mysY5LLJRgs/s400/06+kp1ki3withdeadzone.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 5. PI control (Kp = 1, Ki = 3) with dead zone&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
After applying the PI control, the value will converge to the desired value slowly, shown in Figure 5.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Saturation Problem&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Using PI control is not good for saturation problem. It will cause the error to integrate really quickly and causing a large overshoot. &lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;img border="0" height="308" src="http://1.bp.blogspot.com/-t0G7OidgbTc/Ts_aEodrG_I/AAAAAAAABcQ/GNNy5_GrPs4/s400/05+kp1ki3step30simwithdeadzoneandsaturation.jpg" width="400" /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 6. PI control (Kp = 1, Ki = 3) with dead zone and saturation&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-3oUuP3pF43s/Ts_aG1fVNdI/AAAAAAAABcg/grk5D-B-tW4/s1600/07+kp1ki3step30withdeadzoneandsaturation.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/-3oUuP3pF43s/Ts_aG1fVNdI/AAAAAAAABcg/grk5D-B-tW4/s400/07+kp1ki3step30withdeadzoneandsaturation.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 7. Result of Figure 6.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
As seen from Figure 7, the motor will overshoot due to integration of the saturation.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Cascaded PID Control &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
To solve the problem, a cascade controller was proposed. The position error will be fed into a PID with velocity feedback.&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-UXxiECQ1YCw/Ts_aH2xQoVI/AAAAAAAABco/rCJPVMR64Yw/s1600/08+kp5kp3step30simwithdeadzoneandsaturation.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="308" src="http://2.bp.blogspot.com/-UXxiECQ1YCw/Ts_aH2xQoVI/AAAAAAAABco/rCJPVMR64Yw/s400/08+kp5kp3step30simwithdeadzoneandsaturation.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 8. Position P Control (Kp = 5) cascade with Velocity P Control (Kp = 3)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-flz_RySxfdk/Ts_aIzVyp7I/AAAAAAAABcw/X5OKLPKuvAc/s1600/09+kp5kp3step30withdeadzoneandsaturation.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://1.bp.blogspot.com/-flz_RySxfdk/Ts_aIzVyp7I/AAAAAAAABcw/X5OKLPKuvAc/s400/09+kp5kp3step30withdeadzoneandsaturation.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 9. Result of Figure 8&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
From Figure 9, seems that the performance of the motor position control has improved although the reaching time is slower. Even with presence of dead zone, and saturation, the control still be able to perform well.&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Motor Driver Current Problem&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
There is another problem to address, which is the motor current. The current is needed to drive the torque of the motor. If the simulation in Figure 8 was modified (Figure 10) to include motor current plot, it can be seen in Figure 11 that the motor current can spike at more than 5 Ampere. &lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-hCYQ6-mndIE/Ts_aKFbb9kI/AAAAAAAABc0/wqhexw-c3b8/s1600/10+kp5kp3step30simwithdeadzoneandsaturationandcurrent.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="308" src="http://2.bp.blogspot.com/-hCYQ6-mndIE/Ts_aKFbb9kI/AAAAAAAABc0/wqhexw-c3b8/s400/10+kp5kp3step30simwithdeadzoneandsaturationandcurrent.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 10. Modified to include motor current plot&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-QC5cF6KtmfI/Ts_aK8wxhOI/AAAAAAAABc8/37WTsrekc4E/s1600/11+kp5kp3step30withdeadzoneandsaturationandcurrent.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/-QC5cF6KtmfI/Ts_aK8wxhOI/AAAAAAAABc8/37WTsrekc4E/s400/11+kp5kp3step30withdeadzoneandsaturationandcurrent.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 11. Same result as Figure 9, zoomed&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Triple Cascade Control&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Another loop of PID was used to control the motor current. In this strategy, only integral control (I control) was used. In other word, the overall system is Proportional (Position) - Proportional (Velocity) - Integral Control (Current). &lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-o3FKjW2n1tE/Ts_aLouGgWI/AAAAAAAABdE/yAkGry1EAZo/s1600/12+kp5kp3kp0ki1step30simwithdeadzoneandsaturationandcurrent.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="308" src="http://4.bp.blogspot.com/-o3FKjW2n1tE/Ts_aLouGgWI/AAAAAAAABdE/yAkGry1EAZo/s400/12+kp5kp3kp0ki1step30simwithdeadzoneandsaturationandcurrent.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 12. Position P Control (Kp = 5) cascade with Velocity P Control (Kp = 3) cascade with Current Integral Control (Ki = 1)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-JXY-mP7jlSE/Ts_aMYiXuDI/AAAAAAAABdQ/0_UBAG4Syoc/s1600/13+kp5kp3kp0ki1step30withdeadzoneandsaturationandcurrent.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://2.bp.blogspot.com/-JXY-mP7jlSE/Ts_aMYiXuDI/AAAAAAAABdQ/0_UBAG4Syoc/s400/13+kp5kp3kp0ki1step30withdeadzoneandsaturationandcurrent.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 13. Result from Figure 12&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
After adding the current controller, the performance is quite similar to the controller without it, in Figure 9. &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-z1zgj6lAP9o/Ts_aNzPCMLI/AAAAAAAABdY/9-DIoLe3j-o/s1600/14+kp5kp3kp0ki1step30zoomwithdeadzoneandsaturationandcurrent.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://2.bp.blogspot.com/-z1zgj6lAP9o/Ts_aNzPCMLI/AAAAAAAABdY/9-DIoLe3j-o/s400/14+kp5kp3kp0ki1step30zoomwithdeadzoneandsaturationandcurrent.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
But notice the peak current was reduced from more than 5 A to 0.57 A.&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Concluding Remark&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This concludes the "Understanding the DC Motor" section. Although this is only simulation, application in the real motor is still far away. It includes the feedback sensor (like position, velocity and current) and the motor driver. Making the position control as a whole is not as easy as it seems. But if one do not understand the nature of motor, it is quite hard to start with.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;Check out the full series&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-i.html"&gt;Part I&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-ii.html"&gt;Part II&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-iii.html"&gt;Part III&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-ii-iii.html"&gt;Part II, III - Interlude&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-iv.html"&gt;Part IV&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-5065583754769315277?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ObA7wwnz_XtYYmas6U_m6zpvQlg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ObA7wwnz_XtYYmas6U_m6zpvQlg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ObA7wwnz_XtYYmas6U_m6zpvQlg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ObA7wwnz_XtYYmas6U_m6zpvQlg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/-iINStYcfsg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/5065583754769315277/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=5065583754769315277&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/5065583754769315277?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/5065583754769315277?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/-iINStYcfsg/understanding-dc-motor-part-iv.html" title="Understanding the DC Motor Part IV" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-7UizEE1HIfs/Ts_aAcl8laI/AAAAAAAABbw/VNg7FLg0FZE/s72-c/01+kp1sim.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-iv.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8DQXo6eyp7ImA9WhRRE0s.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-7143341677873325957</id><published>2011-11-26T00:31:00.001+08:00</published><updated>2011-11-27T10:27:50.413+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-27T10:27:50.413+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="articles" /><title>Understanding the DC Motor Part II, III - Interlude</title><content type="html">The motor nonlinearities will be discussed in this part. Before jumping in, let's dive in to the concept of Liner Time Invariant or the LTI.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Linear Time Invariant&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
LTI concept is very important to understand linear control theory. Two basic characteristics of LTI is linear and time invariant. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Equation 1 - Linearity &lt;/b&gt;&lt;br /&gt;
Let:&lt;br /&gt;
y=f(x), then ay=f(ax).&lt;br /&gt;
Intepretation:&lt;br /&gt;
A function taking x and returning y, if multiplied with a constant, a in x, will give a product of a and y.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Equation 2 - Time&lt;/b&gt;&lt;br /&gt;
Let:&lt;br /&gt;
y(t) = g(x,t), then y(t-b) = g(x,t-b)&lt;br /&gt;
Intepretation:&lt;br /&gt;
A function y in time, t, of g in x and time, if the time is delayed by b, the output will give the same.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;DC Motor Nonlinearities&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
A direct current motor is subject to at least two types of nonlininearities, namely the saturation and dead zone. Another type of nonlinearity is the performance due to the decay of the motor mechanism and carbon brush. This is a type variant system but usually was not taken into account due to slow decay.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Dead Zone&lt;/b&gt;&lt;br /&gt;
Let's say V = 10 volts applied to the motor. After steady state, the motor will turn with an angular velocity of 100 rpm. If V applied is 1 volts, the motor will turn with 100/10 = 10 rpm. But given V = 0.1 volts, the motor will not turn due to the dead zone. Example of cause of dead zone is Coulomb friction. Coulomb friction is hard to model and it changes with many variables.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Saturation&lt;/b&gt;&lt;br /&gt;
Let's put it again V = 10 volts yield 100 rpm, giving 20 volts will yield 200 rpm, but giving 30 volts might only produce 240 rpm. This might not be the nonlinearity in the motor but in the motor driver. It depends on the voltage supplied to the motor. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Decay&lt;/b&gt;&lt;br /&gt;
Let's say again, V = 10 volts yields 100 rpm, but after one year, V = 10 volts might yield only 95 rpm.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Concluding Remark&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
Nonlinearity is a pain in control system. This is why simulation and real application is so different.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;Check out the full series&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-i.html"&gt;Part I&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-ii.html"&gt;Part II&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-iii.html"&gt;Part III&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-ii-iii.html"&gt;Part II, III - Interlude&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-iv.html"&gt;Part IV&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-7143341677873325957?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uqvyXmRndna5ndpqGWAlgRPLm7M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uqvyXmRndna5ndpqGWAlgRPLm7M/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uqvyXmRndna5ndpqGWAlgRPLm7M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uqvyXmRndna5ndpqGWAlgRPLm7M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/g_hkXVMSMWc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/7143341677873325957/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=7143341677873325957&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/7143341677873325957?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/7143341677873325957?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/g_hkXVMSMWc/understanding-dc-motor-part-ii-iii.html" title="Understanding the DC Motor Part II, III - Interlude" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-ii-iii.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8DQXo6eip7ImA9WhRRE0s.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-6834828389416322593</id><published>2011-11-22T17:03:00.001+08:00</published><updated>2011-11-27T10:27:50.412+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-27T10:27:50.412+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="articles" /><title>Understanding the DC Motor Part III</title><content type="html">In this part, simulations for the permanent magnet DC motor will be shown. Several cases will be given to show the nature of the DC motor and how they act. Although simulation can give a good representation of the motor, the simulation will not be exactly like the real motor because of modelling error and unmodeled dynamics.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: large;"&gt;Modelling error and Unmodeled Dynamics &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Quick fact about modelling error and unmodeled dynamics. Modelling error is when the parameters in the simulation is not exactly like the real motor for example motor resistance. Maybe one could measure the resistance but the value is prone to error due to measurements error. Secondly, the unmodeled dynamics. Although the model can be derived from first principle, surely there are some "things" that cannot be expected from the motor. Maybe there are some imperfection in the motor that causes the motor cannot turn correctly. This is when the order of the motor increases. &lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Simulation Model&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Moving on, the simulation was done in simulink using a model by &lt;a href="http://www.mathworks.com/matlabcentral/fileexchange/11829-dc-motor-model"&gt;Roger Asenstrup&lt;/a&gt;.

&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-QOaGORceoR8/TstonPIyruI/AAAAAAAABa4/OS34oy7v5C8/s1600/motor+only.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="199" src="http://1.bp.blogspot.com/-QOaGORceoR8/TstonPIyruI/AAAAAAAABa4/OS34oy7v5C8/s400/motor+only.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Model in Simulink&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
The motor parameters used in this simulation is the original value in the motor model (except for the damping friction).&lt;br /&gt;
&lt;br /&gt;
Resistance: 2.06 Ohm&lt;br /&gt;
Inductance: 0.238 mH&lt;br /&gt;
Back EMF Constant: 1/((406*2*pi)/60)&lt;br /&gt;
Torque Constant: 0.0235 Nm/A&lt;br /&gt;
Rotoe Inertia: 1.07e-6&lt;br /&gt;
Mechanical Damping: 12e-5 Nms/rad&lt;br /&gt;
&lt;br /&gt;
Of course this value is not exactly the same for all motors. Each motors has their own parameters. Also to explain, the motor current, motor speed and motor position were plotted.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Simulation Cases&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Three cases will be shown:&lt;br /&gt;
1) The normal situation for a motor&lt;br /&gt;
2) If there is not friction&lt;br /&gt;
3) If the load is very big (heavy)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Case 1: Normal situation
&lt;/b&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-Jfoi-obfknE/TstyoI2v1mI/AAAAAAAABbA/ZnUGXQzB0SU/s1600/case1.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-Jfoi-obfknE/TstyoI2v1mI/AAAAAAAABbA/ZnUGXQzB0SU/s400/case1.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Case 1 plot&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-HQT7li74ko0/Tstyqk6YGeI/AAAAAAAABbU/vrLVBW5a-iA/s1600/case11.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-HQT7li74ko0/Tstyqk6YGeI/AAAAAAAABbU/vrLVBW5a-iA/s400/case11.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Case 1 plot (zoomed)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
In a normal situation, a motor will work like so: The applied voltage will cause a surge in motor current. It will increase with a decay due to the motor inductance. As soon as the motor current causes the motor to rotate, the back EMF will reduce the current to the motor. In the end, the motor will move in a constant speed (as long as the applied voltage is constant). Note that there is a constant value in the motor current (This will be explain in the second case).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Case 2: Zero Friction
&lt;/b&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-2q7JKL8QIf8/Tstyouq03yI/AAAAAAAABbE/ll5D86kEWac/s1600/case2.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/-2q7JKL8QIf8/Tstyouq03yI/AAAAAAAABbE/ll5D86kEWac/s400/case2.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Case 2 plot&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-NfKaIzEbCN8/TstyrIxJmUI/AAAAAAAABbY/xJMyY5E3Gq0/s1600/case21.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/-NfKaIzEbCN8/TstyrIxJmUI/AAAAAAAABbY/xJMyY5E3Gq0/s400/case21.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Case 2 plot (zoomed)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
In the second case, the damping value in the simulation was reduced to zero. The applied voltage will cause the surge in motor current. After the motor current causes the motor to rotate, the back EMF will reduce the motor current to zero. Due to zero friction, the motor need not have any torque to keep it moving (Newton's First Law of Motion). In other words, in a motor with friction, the current is actually used to counter the friction.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Case 3: Heavy Load / Stalled
&lt;/b&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-P_jwllOIhf8/Tstypenr-mI/AAAAAAAABbQ/iYpIjE8qBIc/s1600/case3.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-P_jwllOIhf8/Tstypenr-mI/AAAAAAAABbQ/iYpIjE8qBIc/s400/case3.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Case 3 plot&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
The value of damping is 12e-5 but the value of inertia is 1.07. In the case of stalled motor, the applied voltage will cause the motor current to surge, then the value will not reduce due to no back EMF present (The motor cannot move because it is stalled). This is when care should be taken to the motor driver design. If the driver cannot withstand high continuous current, the drive will burn. &lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Concluding Remarks&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now, we have known the motor nature, more or less but note that all this simulation was done in open loop configuration. Let's say 1 V will cause the motor to move in certain velocity, changing the motor load will change the velocity. In the next part, let's move into motor control using proportional, integral and derivative controller.&lt;br /&gt;
&lt;br /&gt;
p/s: Please click on the pictures to enlarge.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;Check out the full series&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-i.html"&gt;Part I&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-ii.html"&gt;Part II&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-iii.html"&gt;Part III&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-ii-iii.html"&gt;Part II, III - Interlude&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-iv.html"&gt;Part IV&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-6834828389416322593?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5BW5OuVDwWeSQ0EvuyQ9YuhlQpM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5BW5OuVDwWeSQ0EvuyQ9YuhlQpM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5BW5OuVDwWeSQ0EvuyQ9YuhlQpM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5BW5OuVDwWeSQ0EvuyQ9YuhlQpM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/3fHEYrHmFik" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/6834828389416322593/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=6834828389416322593&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/6834828389416322593?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/6834828389416322593?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/3fHEYrHmFik/understanding-dc-motor-part-iii.html" title="Understanding the DC Motor Part III" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-QOaGORceoR8/TstonPIyruI/AAAAAAAABa4/OS34oy7v5C8/s72-c/motor+only.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-iii.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8DQXo7fyp7ImA9WhRRE0s.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-1427987103514291765</id><published>2011-11-17T21:28:00.001+08:00</published><updated>2011-11-27T10:27:50.407+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-27T10:27:50.407+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="articles" /><title>Understanding the DC Motor Part II</title><content type="html">This part is about understanding the derivation of the motor model. (Actually this is obtained from Control System Engineering Book by Nise, so credit to that fellow). Someone new to control theory might wonder what the heck is a model. Let's put that a model is used to calculate an output given an input. Like a simple function like y=f(x). The input is x and output is y. But in control model, it is more to dynamic model or model which involves ordinary differential equation. Let's proceed.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Modeling Electrical Characteristics &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-ynVtCP1a1VA/TsUMe3wWzsI/AAAAAAAABak/ZLDZQjavJBY/s1600/motor+schematic+kvl.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="232" src="http://4.bp.blogspot.com/-ynVtCP1a1VA/TsUMe3wWzsI/AAAAAAAABak/ZLDZQjavJBY/s320/motor+schematic+kvl.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Electrical Schematic&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Starting off with the electrical characteristics. From the motor schematics, we can draw the Kirchoff Voltage Law (KVL) line. &lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-ZEOWB-XhtsM/TsUMDapAC-I/AAAAAAAABYk/tzOBBFtLNX0/s1600/01.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://1.bp.blogspot.com/-ZEOWB-XhtsM/TsUMDapAC-I/AAAAAAAABYk/tzOBBFtLNX0/s320/01.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
According to KVL, the total voltage in the line is zero. &lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-pu3N-FRfJIg/TsUMEhqernI/AAAAAAAABYs/76CpvZhzORk/s1600/02.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://4.bp.blogspot.com/-pu3N-FRfJIg/TsUMEhqernI/AAAAAAAABYs/76CpvZhzORk/s320/02.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 2&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Therefore, we can come up with Equation 2. &lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-Zec5rItba7k/TsUMFidM2-I/AAAAAAAABY0/WrhwtaFkF7Y/s1600/03.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://4.bp.blogspot.com/-Zec5rItba7k/TsUMFidM2-I/AAAAAAAABY0/WrhwtaFkF7Y/s320/03.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 3&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Taking the form of La Place in Equation 3 with all initial values zeroed.&amp;nbsp;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-jgUAgfPwJgA/TsUMG_sukBI/AAAAAAAABY8/4HbeXICH91Q/s1600/04.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://4.bp.blogspot.com/-jgUAgfPwJgA/TsUMG_sukBI/AAAAAAAABY8/4HbeXICH91Q/s320/04.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 4&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
The equation then can be arrange in term of current (Equation 4),
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-ApQj0SiNgKE/TsUMH57rX1I/AAAAAAAABZE/3C5lD4urL_Y/s1600/05.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://4.bp.blogspot.com/-ApQj0SiNgKE/TsUMH57rX1I/AAAAAAAABZE/3C5lD4urL_Y/s320/05.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 5&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Or in the form of transfer function (Equation 5).&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;Modeling Mechanical Characteristics &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
After the electrical part, let's move on to the mechanical part:&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-iGm8qUJsA1w/TsUMgPKAXXI/AAAAAAAABas/hShuyIPz_HQ/s1600/motor+schematic+newton.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="232" src="http://3.bp.blogspot.com/-iGm8qUJsA1w/TsUMgPKAXXI/AAAAAAAABas/hShuyIPz_HQ/s320/motor+schematic+newton.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Mechanical Schematic&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
The schematic above shows the free body diagram. &lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-p8ulZpNa7GQ/TsUMJAMNhQI/AAAAAAAABZM/59a-2GAWAOU/s1600/06.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://2.bp.blogspot.com/-p8ulZpNa7GQ/TsUMJAMNhQI/AAAAAAAABZM/59a-2GAWAOU/s320/06.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 6&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Start off with Newton's law, where torque equals moment of inertia, angular acceleration
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-nQzOY2EIaEI/TsUMKSznMjI/AAAAAAAABZU/7qqGo-3kFtQ/s1600/07.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://2.bp.blogspot.com/-nQzOY2EIaEI/TsUMKSznMjI/AAAAAAAABZU/7qqGo-3kFtQ/s320/07.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 7&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
In Equation 7, there are three acting torque, (1) the torque from the motor, (2) the viscous friction from where the higher the speed of rotation the higher the friction force is, and (3) the Coulomb friction where the friction counters the movement. For simplicity, the Coulomb friction can be assumed constant or zero.&amp;nbsp;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-l1pnb6uI8aU/TsUMLvkWccI/AAAAAAAABZc/LtZhjYk1tiA/s1600/08.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://1.bp.blogspot.com/-l1pnb6uI8aU/TsUMLvkWccI/AAAAAAAABZc/LtZhjYk1tiA/s320/08.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 8&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Rearranging in terms of motor speed, omega.
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-BHeS9KoWBPM/TsUMMvfvqOI/AAAAAAAABZk/k6xJ5sJNcws/s1600/09.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://1.bp.blogspot.com/-BHeS9KoWBPM/TsUMMvfvqOI/AAAAAAAABZk/k6xJ5sJNcws/s320/09.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 9&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Applying La Place transform with zero initial values.&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-iYNpHsXJH4A/TsUMN34e_VI/AAAAAAAABZs/EZx6Pnhy4AI/s1600/10.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://2.bp.blogspot.com/-iYNpHsXJH4A/TsUMN34e_VI/AAAAAAAABZs/EZx6Pnhy4AI/s320/10.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 10&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Rearranging in terms of omega,
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-8VDySGLGWcM/TsUMOjRJPvI/AAAAAAAABZ0/l1urNNZNiRM/s1600/11.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://3.bp.blogspot.com/-8VDySGLGWcM/TsUMOjRJPvI/AAAAAAAABZ0/l1urNNZNiRM/s320/11.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 11&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Or in terms of transfer function.&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-DOr406b6xhU/TsUMP0dVK3I/AAAAAAAABZ8/83SQxiypuV8/s1600/12.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://3.bp.blogspot.com/-DOr406b6xhU/TsUMP0dVK3I/AAAAAAAABZ8/83SQxiypuV8/s320/12.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 12&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Equation 12 is an auxiliary equation, just for completeness, where speed is the derivation of motor position, theta&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-cqgnNS7KqHM/TsUMQ6xqSdI/AAAAAAAABaE/eTqBS5hOsMU/s1600/13.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://2.bp.blogspot.com/-cqgnNS7KqHM/TsUMQ6xqSdI/AAAAAAAABaE/eTqBS5hOsMU/s320/13.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 13&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Applying La Place transform with zero initial value,&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-73AhBhjEbA4/TsUMSLDpY6I/AAAAAAAABaM/qeezObLN-Zc/s1600/14.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://3.bp.blogspot.com/-73AhBhjEbA4/TsUMSLDpY6I/AAAAAAAABaM/qeezObLN-Zc/s320/14.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 14&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
And arranging it in transfer function form.&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-OsMah-8oC5Y/TsUMTKM2GHI/AAAAAAAABaU/Ix9rEdtkZ7E/s1600/15.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://4.bp.blogspot.com/-OsMah-8oC5Y/TsUMTKM2GHI/AAAAAAAABaU/Ix9rEdtkZ7E/s320/15.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 15&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Equation 15 and 16 are additional equations where they are need to "connect" the electrical and mechanical parts. Equation 15 connects the motor current to the torque produced.&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-56WuNMLYZgs/TsUMUFXoHZI/AAAAAAAABac/B9Q4Z_zjU6U/s1600/16.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="61" src="http://3.bp.blogspot.com/-56WuNMLYZgs/TsUMUFXoHZI/AAAAAAAABac/B9Q4Z_zjU6U/s320/16.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Equation 16&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Equation 16 is the back electromotive force produces with a certain motor speed.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;The Complete Model &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Arranging Equation 5, 11, 14, 15 and 16, we obtain the motor model like in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-FILo7wuRj9U/TsNG1gMgeZI/AAAAAAAABVQ/3XdnBe6xXBs/s1600/motor+model+copy.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="155" src="http://2.bp.blogspot.com/-FILo7wuRj9U/TsNG1gMgeZI/AAAAAAAABVQ/3XdnBe6xXBs/s400/motor+model+copy.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
From this figure, it can be seen that a motor have six unknown parameters, (1) motor resistance, (2) motor inductance, (3) load moment of inertia, (4) load viscous friction, (5) torque constant, Kt, and (6) speed constant, Ke. This is when the external torque, T1 is assumed zero.&lt;br /&gt;
&lt;br /&gt;
In the next part, the simulation and interpretation will be shown, using some values for all these parameters. It is also interesting to know that there are topics in parameter estimation or system identification to identify the parameter values. Most probably this will not be covered here because it is quite extensive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;Check out the full series&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-i.html"&gt;Part I&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-ii.html"&gt;Part II&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-iii.html"&gt;Part III&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-ii-iii.html"&gt;Part II, III - Interlude&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-iv.html"&gt;Part IV&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-1427987103514291765?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wEOyZwlyQ8ek0FgSljureUFBU9M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wEOyZwlyQ8ek0FgSljureUFBU9M/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wEOyZwlyQ8ek0FgSljureUFBU9M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wEOyZwlyQ8ek0FgSljureUFBU9M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/AZLVEXIpVwQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/1427987103514291765/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=1427987103514291765&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1427987103514291765?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1427987103514291765?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/AZLVEXIpVwQ/understanding-dc-motor-part-ii.html" title="Understanding the DC Motor Part II" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-ynVtCP1a1VA/TsUMe3wWzsI/AAAAAAAABak/ZLDZQjavJBY/s72-c/motor+schematic+kvl.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-ii.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8DQXo7cSp7ImA9WhRRE0s.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-2427926975170462765</id><published>2011-11-16T13:14:00.001+08:00</published><updated>2011-11-27T10:27:50.409+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-27T10:27:50.409+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="articles" /><title>Understanding the DC Motor Part I</title><content type="html">It took me quite some time to understand the permanent magnet direct current motor or people like to just call it DC motor. In order to properly control a DC motor, they should understand the motor nature first before applying the control algorithm. The dangerous part is, a motor can get over current easily, not only spoiling the driver but the motor itself will get burned.&lt;br /&gt;
&lt;br /&gt;
The figure below shows a typical DC motor. Amateur hobbyist like to apply the motor voltage directly to the motor and expect the performance of the motor to be the same every time. This is not the case. Applied voltage, Va, is not directly related to the motor speed, omega. In fact, the motor is a third order system with Type 1.&lt;br /&gt;
&lt;br /&gt;
In layman term, third order means, in between the applied voltage and the angle, there are motor current and motor speed. Type 1 means, if the applied voltage is removed, the angle of rotation of the motor will not go back to the original position. To understand the nature or characteristics of the motor, read on. &amp;nbsp;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://cytron.com.my/usr_images/products/screen/4649.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="254" src="http://cytron.com.my/usr_images/products/screen/4649.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Typical motor. Photo credit: Cytron.com.my&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
First, we should understand the built up of the motor, or the motor schematic. Not exactly how a motor was constructed but rather, what can be used to represent a motor. The figure below (motor schematic) is a good representation of a DC motor.&lt;br /&gt;
&lt;br /&gt;
Motor is built up of winding coil, therefore it is represented with the motor inductance, La. With long motor coil, there is expected to have resistance, Ra. Most important part of the motor is the back electromotive force, EMF. The concept of EMF is quite hard go grasp at the beginning but it is quite simple. Back EMF is actually "virtual". In other word, it cannot be measured directly. But the motor terminal can give a good estimate of the back EMF.&lt;br /&gt;
&lt;br /&gt;
Another part of the DC motor is the mechanical part. The motor is always used to move a load, depicted as J and the load sure to have viscous friction and Coulomb friction, depicted with B and T1 respectively. Coulomb friction is sometimes represented with a constant value for simplicity. Which means, the torque will always go against the movement, either it is moving or in static. While the viscous friction appears only when the motor is moving, in fact, the faster the motor is moving, the higher the torque of the viscous friction is (approximated with a linear relationship).&lt;br /&gt;
&lt;br /&gt;
After understanding this motor schematic, we should move on to the motor model. Model is the most important part to understand the motor. Using a model, one could predict how a motor react to certain applied voltage, either it is linear or in pulse width modulation form.&amp;nbsp; &lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-Er-IRog8pR0/TsNG3PzC87I/AAAAAAAABVY/GoIV3XCynMk/s1600/motor+schematic+copy.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="290" src="http://3.bp.blogspot.com/-Er-IRog8pR0/TsNG3PzC87I/AAAAAAAABVY/GoIV3XCynMk/s400/motor+schematic+copy.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Motor Schematic&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
I am not going to go too deep in the motor model derivation. To derive the motor model, two first principle rules are needed namely the Kirchoff Voltage Law and Newton's Law. It is also useful to use La Place transformation. &lt;br /&gt;
&lt;br /&gt;
The Kirchoff Voltage Law can be used to derive the electrical characteristics while the Newton's Law can be used to derive the mechanical characteristics. Besides that, one should understand the the motor current is proportional with the motor produced torque and the back EMF is proportional with the motor speed. Using all this information, the motor can be put in the form depicted in picture below.&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-FILo7wuRj9U/TsNG1gMgeZI/AAAAAAAABVQ/3XdnBe6xXBs/s1600/motor+model+copy.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="155" src="http://2.bp.blogspot.com/-FILo7wuRj9U/TsNG1gMgeZI/AAAAAAAABVQ/3XdnBe6xXBs/s400/motor+model+copy.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Motor Model (click to enlarge)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Perhaps in Part II, I will explain more about this motor model and how to derive it. Later on, I will discuss on a motor control method to properly control a motor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;Check out the full series&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-i.html"&gt;Part I&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-ii.html"&gt;Part II&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-iii.html"&gt;Part III&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-ii-iii.html"&gt;Part II, III - Interlude&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-iv.html"&gt;Part IV&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-2427926975170462765?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XzgbzpYlhRISlgVAfoWsQ_pY-7I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XzgbzpYlhRISlgVAfoWsQ_pY-7I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XzgbzpYlhRISlgVAfoWsQ_pY-7I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XzgbzpYlhRISlgVAfoWsQ_pY-7I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/K7XDO2GUB9Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/2427926975170462765/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=2427926975170462765&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/2427926975170462765?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/2427926975170462765?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/K7XDO2GUB9Q/understanding-dc-motor-part-i.html" title="Understanding the DC Motor Part I" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-Er-IRog8pR0/TsNG3PzC87I/AAAAAAAABVY/GoIV3XCynMk/s72-c/motor+schematic+copy.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/11/understanding-dc-motor-part-i.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQHRXw9fyp7ImA9WhRTEE8.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-3321480162767981241</id><published>2011-10-31T08:38:00.001+08:00</published><updated>2011-10-31T09:25:34.267+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-31T09:25:34.267+08:00</app:edited><title>Giving Blessings</title><content type="html">After watching this two videos,&amp;nbsp;&lt;a href="http://www.youtube.com/watch?v=O3kgdigcHqM"&gt;here&lt;/a&gt; and &lt;a href="http://www.youtube.com/watch?v=zgy8bFVWM2E"&gt;here&lt;/a&gt;, it really inspire me to write this post.&lt;br /&gt;
&lt;br /&gt;
I still remember once, my family and I went for a dinner out at an open air cafe. Then we were approached by a monk. The monk hand over an alm to ask for donation. Well, I was thinking, alm was not suppose to be filled with money but food. But my dad, donated some cash. The monk did some form of blessing to us and went away.&lt;br /&gt;
&lt;br /&gt;
Then I went, "That is a fake monk. Why donate?". My dad goes "It does not matter if it is real or fake". Well apparently, the day after, he came out in the newspaper. This guy is actually a fraud, pretending to be a monk and asks for donation. It was reported in some section of TheStar some time ago.&lt;br /&gt;
&lt;br /&gt;
Only after a few years later, I realize, "Does it matter if he was fake?". The most important thing is the blessing that we give that counts. Even the donation of mere RM 2.00, it really will help a lot, although the monk was fake.&lt;br /&gt;
&lt;br /&gt;
Let's put this in form of logic in four situations.&lt;br /&gt;
Case 1: The monk is fake and I do not donate. I will get demerit because of not donating and that person gets nothing.&lt;br /&gt;
Case 2: The monk is real and I do not donate. I will get demerit more because of not helping a monk. The monk will get nothing&lt;br /&gt;
Case 3: The monk is real and I donate. I will get merit and the monk can have something to eat.&lt;br /&gt;
Case 4: The monk is fake and I donate. I will get merit but that guy will get demerit for cheating.&lt;br /&gt;
&lt;br /&gt;
After thinking for a while, it is the blessing that counts. Blessing someone is the best thing one can give to anyone, smile, donation or prayer. So what if the monk is fake? I still will get merit for blessing others. This is what we need in this world, like the videos, helping each other in time of needs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-3321480162767981241?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fA2xM63pFeLxz0cNzk4pQJoN4gM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fA2xM63pFeLxz0cNzk4pQJoN4gM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fA2xM63pFeLxz0cNzk4pQJoN4gM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fA2xM63pFeLxz0cNzk4pQJoN4gM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/9GOWyvYO_N0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/3321480162767981241/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=3321480162767981241&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/3321480162767981241?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/3321480162767981241?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/9GOWyvYO_N0/giving-blessings.html" title="Giving Blessings" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/10/giving-blessings.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAFQHgyeyp7ImA9WhdbF0k.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-1731765583084860222</id><published>2011-10-16T14:31:00.002+08:00</published><updated>2011-10-16T14:31:51.693+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-16T14:31:51.693+08:00</app:edited><title>Thinking issue is more critical than global warming</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-weoB6fpAhr4/Tpp6NBL9LJI/AAAAAAAABQ4/t1Uoi6kcvTc/s1600/thinking.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-weoB6fpAhr4/Tpp6NBL9LJI/AAAAAAAABQ4/t1Uoi6kcvTc/s320/thinking.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
This is a quote from my lecturer in creative thinking, "The most critical issue is not global warming but rather, the way people think" by Edward De Bono.&lt;br /&gt;
&lt;br /&gt;
Come to think of this, it is really an argument that I would agree on. Not in a critical sense that people in IBM or Microsoft or Google think, but rather close to my home, in Malaysia.&lt;br /&gt;
&lt;br /&gt;
I have also read this article &lt;a href="http://founder.limkokwing.net/blog/creativity_before_innovation/"&gt;here&lt;/a&gt;. Quite an inspiring article I would say. Tan Sri also focuses on the right thing to think and how to generate creativity.&lt;br /&gt;
&lt;br /&gt;
And just recently, I thought back about a book my Edward De Bono, about lateral thinking. When come to think of it, thinking is really crucial in creating an empowering community. "Empowering creativity that empowers".&lt;br /&gt;
&lt;br /&gt;
Tan Sri also mentioned about the importance of education system. Education methods in the 20th century cannot be used in the 21st century. &lt;br /&gt;
&lt;br /&gt;
Whenever there are weakness in the Malaysia society, the education system were to be blamed. This seems to be a sickness in the society people like to stick to. Again, it is back to the thinking of the people themselves.&lt;br /&gt;
&lt;br /&gt;
I am not sure what I would like to voice out here, but I would like to say that thinking is important. Thinking creates a society that excels. Thinking creates a creative community. Thinking will bring a bright future to everyone.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-1731765583084860222?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zKgsyLqVebWBD6R6jeJizuOs5vE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zKgsyLqVebWBD6R6jeJizuOs5vE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zKgsyLqVebWBD6R6jeJizuOs5vE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zKgsyLqVebWBD6R6jeJizuOs5vE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/1TUrSWCIZaA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/1731765583084860222/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=1731765583084860222&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1731765583084860222?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1731765583084860222?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/1TUrSWCIZaA/thinking-issue-is-more-critical-than.html" title="Thinking issue is more critical than global warming" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-weoB6fpAhr4/Tpp6NBL9LJI/AAAAAAAABQ4/t1Uoi6kcvTc/s72-c/thinking.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/10/thinking-issue-is-more-critical-than.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUICQ3o9fCp7ImA9WhdbF00.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-3775211011630265373</id><published>2011-10-14T11:57:00.002+08:00</published><updated>2011-10-16T03:39:22.464+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-16T03:39:22.464+08:00</app:edited><title>Robot Software</title><content type="html">The concept of robot software is very important in developing robots. This software is different from normal software because of the real time requirement. Besides the structure of the software could be different based on the structure and requirement of the robot.&lt;br /&gt;
&lt;br /&gt;
There are three basic concept that have to be understood:&lt;br /&gt;
&lt;br /&gt;
1) Modularity&lt;br /&gt;
Every function in the robot can be split into modules rather than having them all clumped up in a software. Advantage of doing this is because it is easier to troubleshoot and easier for development. It is better for code understanding.&lt;br /&gt;
&lt;br /&gt;
2) Hierarchy&lt;br /&gt;
Even with modules, there should be some hierarchy to determine the level of the module. Either it be input output module, filtering module, utility modules, or application modules. With this, it is better when defining a module and to classify them.&lt;br /&gt;
&lt;br /&gt;
3) Connection&lt;br /&gt;
Even with module or without, connecting the component is not easy. Communication from one module to another should be put in a defined and standard manner. This is important due to the complexity when number of modules are increasing.&lt;br /&gt;
&lt;br /&gt;
This is a presentation I have made to compile the work my colleague and I have done for a year. &lt;a href="http://www.mediafire.com/?800hk4cu44qrsxq"&gt;http://www.mediafire.com/?800hk4cu44qrsxq &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Enough of say...&lt;br /&gt;
&lt;br /&gt;
There is a blog that I would recommend. A blog by Professor Adrian Boeing. &lt;a href="http://adrianboeing.blogspot.com/"&gt;http://adrianboeing.blogspot.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-3775211011630265373?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ySh50roA9hN-dcEdXgQqJ36X7p4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ySh50roA9hN-dcEdXgQqJ36X7p4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ySh50roA9hN-dcEdXgQqJ36X7p4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ySh50roA9hN-dcEdXgQqJ36X7p4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/7YzLXtDE-5s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/3775211011630265373/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=3775211011630265373&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/3775211011630265373?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/3775211011630265373?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/7YzLXtDE-5s/robot-software.html" title="Robot Software" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/10/robot-software.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYER3czcSp7ImA9WhdbE0k.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-8766429007438903438</id><published>2011-10-11T23:15:00.000+08:00</published><updated>2011-10-11T23:15:06.989+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-11T23:15:06.989+08:00</app:edited><title>A Promise to Myself</title><content type="html">I have promised that the previous change of blog template was the last one. But this time I changed. Well, mostly it is because the previous template was too messy and looks to punk-y. I think this is the last time I will change this blog template.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-8766429007438903438?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zfHXDbzyMogeVu8p8ySu1Q5Glrg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zfHXDbzyMogeVu8p8ySu1Q5Glrg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zfHXDbzyMogeVu8p8ySu1Q5Glrg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zfHXDbzyMogeVu8p8ySu1Q5Glrg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/ehGaYJlCzco" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/8766429007438903438/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=8766429007438903438&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/8766429007438903438?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/8766429007438903438?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/ehGaYJlCzco/promise-to-myself.html" title="A Promise to Myself" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/10/promise-to-myself.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYEQnY6cCp7ImA9WhdbEE0.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-4626856133487531670</id><published>2011-10-07T23:58:00.000+08:00</published><updated>2011-10-07T23:58:23.818+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-07T23:58:23.818+08:00</app:edited><title>Random Post</title><content type="html">Still, control engineering never seems to stop fascinating me. The main idea of control engineering is about need. Whenever there is need, surely there is&amp;nbsp; way to do it. &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-4626856133487531670?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HXgdtF8gI7gTX3r_JdQVDly9Xw4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HXgdtF8gI7gTX3r_JdQVDly9Xw4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HXgdtF8gI7gTX3r_JdQVDly9Xw4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HXgdtF8gI7gTX3r_JdQVDly9Xw4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/XcHNwO4q7iw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/4626856133487531670/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=4626856133487531670&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/4626856133487531670?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/4626856133487531670?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/XcHNwO4q7iw/random-post.html" title="Random Post" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/10/random-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8MQnY9eip7ImA9WhRRE0s.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-2599434589073831667</id><published>2011-09-07T13:37:00.000+08:00</published><updated>2011-11-27T10:28:03.862+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-27T10:28:03.862+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="articles" /><title>Culture Determines Winning or Losing</title><content type="html">- The recent trip to Bangkok made me learned a lot.&lt;br /&gt;
- From the performance of the Malaysia ROBOCON team, I could say, we are still far from reaching the standard of the real winner of the ABU ROBOCON. &lt;br /&gt;
- The cause of this problem is the technology used.&lt;br /&gt;
- China and Hong Kong manage to use dead reckoning in their mobile robot navigation with gyroscope.&lt;br /&gt;
- Even Japan can do dead reckoning by only encoder.&lt;br /&gt;
- What amaze me is the Kinect used for their robotic application.&lt;br /&gt;
- Kinect is a relatively new sensor in the industry and they have already manage to apply it in the game for 2011.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Culture&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
- Back to the issue, the root cause would be the culture.&lt;br /&gt;
- After coming back from Bangkok, I add a few friends from Japan on Facebook and I am surprised to find out they are only first year or second year students.&lt;br /&gt;
- Apparently, they know how to use upper level undergraduate knowledge like PID, self tuning, path planning and path tracking&lt;br /&gt;
- And another surprising fact is that they learn all by themselves. &lt;br /&gt;
- Compared to culture in Malaysia, it is a big difference. &lt;br /&gt;
- Take for example the UESTC from China. Although they do not win the domestics game in China, from their robots performance, we can see the technology used is far advance than Malaysia ROBOCON standard. Their training game field do not even have lines.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Problem&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
- The problem here is apparent.&lt;br /&gt;
- We have a culture problem that need fixing.&lt;br /&gt;
- One culture that we lack is the culture of knowledge.&lt;br /&gt;
- The knowledge is there, just no one wants to appreciate them.&lt;br /&gt;
- And if they do have the knowledge, implementing in real life is a hard part.&lt;br /&gt;
- Again, I would like to state is, what makes difference between winning and losing is culture.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Transformation&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
- Therefore, if we kept on using our current system, we will never be able to catch up with them.&lt;br /&gt;
- They have their own standard and inevitably, in five years time or so, they will increase exponentially.&lt;br /&gt;
- The world of robotics is vast and is getting vaster.&lt;br /&gt;
- Problems like kinematic, path planning and tracking are deemed to be classical knowledge already.&lt;br /&gt;
- New knowledge like obstacle avoidance, artificial intelligence and human interactions are coming in.&lt;br /&gt;
- Who knows the standard of ROBOCON will be growing into. Like the 2011 game, robots need to deal with environment dynamics.&lt;br /&gt;
- Solution? &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-2599434589073831667?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vjt9BAE509XHis8LCBVDHDQ8c7Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vjt9BAE509XHis8LCBVDHDQ8c7Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vjt9BAE509XHis8LCBVDHDQ8c7Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vjt9BAE509XHis8LCBVDHDQ8c7Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/Ys5bfjQapgw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/2599434589073831667/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=2599434589073831667&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/2599434589073831667?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/2599434589073831667?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/Ys5bfjQapgw/culture-determines-winning-or-losing.html" title="Culture Determines Winning or Losing" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/09/culture-determines-winning-or-losing.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUASXoyfyp7ImA9WhdRGEg.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-277734538284875020</id><published>2011-08-09T09:09:00.000+08:00</published><updated>2011-08-09T09:10:48.497+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-09T09:10:48.497+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="photography" /><title>Somewhere around Ipoh and Kampar</title><content type="html">Stayed at Kampar for one night and went to few places.Including Ipoh. &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-rKU1jHRtRhk/TkCHi3aE7yI/AAAAAAAABLk/Rp660VMkdqs/s1600/DSCN0097.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-rKU1jHRtRhk/TkCHi3aE7yI/AAAAAAAABLk/Rp660VMkdqs/s320/DSCN0097.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-PCw0QQWwJLE/TkCHjr5GHUI/AAAAAAAABLo/7zFOe-Rg4yU/s1600/DSCN0103.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-PCw0QQWwJLE/TkCHjr5GHUI/AAAAAAAABLo/7zFOe-Rg4yU/s320/DSCN0103.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-ET0tfm_DdoM/TkCHkTepalI/AAAAAAAABLs/V22n87KhE4A/s1600/DSCN0116.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-ET0tfm_DdoM/TkCHkTepalI/AAAAAAAABLs/V22n87KhE4A/s320/DSCN0116.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-HbMbDaIWFWc/TkCHlMVISuI/AAAAAAAABLw/Tez-mWTrobs/s1600/DSCN0117.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-HbMbDaIWFWc/TkCHlMVISuI/AAAAAAAABLw/Tez-mWTrobs/s320/DSCN0117.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-u4-1JOhgfHs/TkCHl2s2f0I/AAAAAAAABL0/DNO-F59yepQ/s1600/DSCN0120.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-u4-1JOhgfHs/TkCHl2s2f0I/AAAAAAAABL0/DNO-F59yepQ/s320/DSCN0120.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-0uMFrxdRHNc/TkCHmi6nPxI/AAAAAAAABL4/O05qUdVHAxM/s1600/DSCN0122.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-0uMFrxdRHNc/TkCHmi6nPxI/AAAAAAAABL4/O05qUdVHAxM/s320/DSCN0122.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-g2KpDl775Dc/TkCHnfCCWPI/AAAAAAAABL8/TXj9IJgTB8o/s1600/DSCN0123.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-g2KpDl775Dc/TkCHnfCCWPI/AAAAAAAABL8/TXj9IJgTB8o/s320/DSCN0123.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-pU5z1HbC-_s/TkCHoFex49I/AAAAAAAABMA/qgH27rJV7WA/s1600/DSCN0125.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-pU5z1HbC-_s/TkCHoFex49I/AAAAAAAABMA/qgH27rJV7WA/s320/DSCN0125.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-vzyhTbK4PC0/TkCHoxSDSGI/AAAAAAAABME/k6v6E1PyPJ4/s1600/DSCN0126.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-vzyhTbK4PC0/TkCHoxSDSGI/AAAAAAAABME/k6v6E1PyPJ4/s320/DSCN0126.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-h3HXa56NZiY/TkCHpSBQqCI/AAAAAAAABMI/E1c__Om4D_c/s1600/DSCN0128.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-h3HXa56NZiY/TkCHpSBQqCI/AAAAAAAABMI/E1c__Om4D_c/s320/DSCN0128.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-bwAvdfemDMg/TkCHpy3uYMI/AAAAAAAABMM/zevQsG6mb8U/s1600/DSCN0137.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-bwAvdfemDMg/TkCHpy3uYMI/AAAAAAAABMM/zevQsG6mb8U/s320/DSCN0137.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-i1Ut_yrgmpk/TkCHqyenWeI/AAAAAAAABMQ/0MsBUpaFAnI/s1600/DSCN0139.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-i1Ut_yrgmpk/TkCHqyenWeI/AAAAAAAABMQ/0MsBUpaFAnI/s320/DSCN0139.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-WjqiS9d8WfM/TkCHra-qLzI/AAAAAAAABMU/De6DOlaXYxk/s1600/DSCN0152.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/-WjqiS9d8WfM/TkCHra-qLzI/AAAAAAAABMU/De6DOlaXYxk/s320/DSCN0152.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-y4wTT--o43c/TkCHr9tYv9I/AAAAAAAABMY/IF1ByasqYsg/s1600/DSCN0153.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-y4wTT--o43c/TkCHr9tYv9I/AAAAAAAABMY/IF1ByasqYsg/s320/DSCN0153.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-KEZr5JWTXrU/TkCHsgtdnOI/AAAAAAAABMc/V4en6N4_8XA/s1600/DSCN0156.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-KEZr5JWTXrU/TkCHsgtdnOI/AAAAAAAABMc/V4en6N4_8XA/s320/DSCN0156.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-rxymN6JusQw/TkCHtr7bHYI/AAAAAAAABMg/R-CxM7dL1sI/s1600/DSCN0159.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-rxymN6JusQw/TkCHtr7bHYI/AAAAAAAABMg/R-CxM7dL1sI/s320/DSCN0159.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="license"&gt;&lt;img alt="Creative Commons License" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" style="border-width: 0;" /&gt;&lt;/a&gt;&lt;br /&gt;
This photography is licensed under a &lt;a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="license"&gt;Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License&lt;/a&gt;.
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-277734538284875020?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_HYbfP48RHXD9hXlFj-hGfKtVz0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_HYbfP48RHXD9hXlFj-hGfKtVz0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_HYbfP48RHXD9hXlFj-hGfKtVz0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_HYbfP48RHXD9hXlFj-hGfKtVz0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/Zu-W1ZnDkyA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/277734538284875020/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=277734538284875020&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/277734538284875020?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/277734538284875020?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/Zu-W1ZnDkyA/somewhere-around-ipoh-and-kampar.html" title="Somewhere around Ipoh and Kampar" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-rKU1jHRtRhk/TkCHi3aE7yI/AAAAAAAABLk/Rp660VMkdqs/s72-c/DSCN0097.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/08/somewhere-around-ipoh-and-kampar.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUBRHg5eyp7ImA9WhdRGEg.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-5281515585314719492</id><published>2011-08-04T11:30:00.000+08:00</published><updated>2011-08-09T09:10:55.623+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-09T09:10:55.623+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="digital art" /><title>Abstract Randomness</title><content type="html">Just some random stuff I have submitted in my Deviantart&lt;br /&gt;
&lt;br /&gt;
&lt;object height="585" width="450"&gt;&lt;param name="movie" value="http://backend.deviantart.com/embed/view.swf" /&gt;
&lt;param name="flashvars" value="id=137517796&amp;width=1337" /&gt;
&lt;param name="allowScriptAccess" value="always" /&gt;
&lt;embed src="http://backend.deviantart.com/embed/view.swf" type="application/x-shockwave-flash" width="450" flashvars="id=137517796&amp;width=1337" height="585" allowscriptaccess="always"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;a href="http://www.deviantart.com/deviation/137517796/"&gt;Hologram&lt;/a&gt; by ~&lt;a class="u" href="http://temporary40.deviantart.com/"&gt;temporary40&lt;/a&gt; on &lt;a href="http://www.deviantart.com/"&gt;deviant&lt;/a&gt;&lt;a href="http://www.deviantart.com/"&gt;ART&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;object height="348" width="450"&gt;&lt;param name="movie" value="http://backend.deviantart.com/embed/view.swf" /&gt;
&lt;param name="flashvars" value="id=170501406&amp;width=1337" /&gt;
&lt;param name="allowScriptAccess" value="always" /&gt;
&lt;embed src="http://backend.deviantart.com/embed/view.swf" type="application/x-shockwave-flash" width="450" flashvars="id=170501406&amp;width=1337" height="348" allowscriptaccess="always"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;a href="http://www.deviantart.com/deviation/170501406/"&gt;Crystal and Steel&lt;/a&gt; by ~&lt;a class="u" href="http://temporary40.deviantart.com/"&gt;temporary40&lt;/a&gt; on &lt;a href="http://www.deviantart.com/"&gt;deviant&lt;/a&gt;&lt;a href="http://www.deviantart.com/"&gt;ART&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;object height="385" width="450"&gt;&lt;param name="movie" value="http://backend.deviantart.com/embed/view.swf" /&gt;
&lt;param name="flashvars" value="id=138322125&amp;width=1337" /&gt;
&lt;param name="allowScriptAccess" value="always" /&gt;
&lt;embed src="http://backend.deviantart.com/embed/view.swf" type="application/x-shockwave-flash" width="450" flashvars="id=138322125&amp;width=1337" height="385" allowscriptaccess="always"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;a href="http://www.deviantart.com/deviation/138322125/"&gt;Perspex Lamp&lt;/a&gt; by ~&lt;a class="u" href="http://temporary40.deviantart.com/"&gt;temporary40&lt;/a&gt; on &lt;a href="http://www.deviantart.com/"&gt;deviant&lt;/a&gt;&lt;a href="http://www.deviantart.com/"&gt;ART&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-5281515585314719492?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Tz2vXVAhkRxf8HOM6QHlsF-Uv-w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Tz2vXVAhkRxf8HOM6QHlsF-Uv-w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Tz2vXVAhkRxf8HOM6QHlsF-Uv-w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Tz2vXVAhkRxf8HOM6QHlsF-Uv-w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/Nxc5b6yfKV8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/5281515585314719492/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=5281515585314719492&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/5281515585314719492?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/5281515585314719492?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/Nxc5b6yfKV8/abstract-randomness.html" title="Abstract Randomness" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/08/abstract-randomness.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QCSXo5cCp7ImA9WhZWE0w.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-1366061880502767611</id><published>2011-05-12T22:16:00.000+08:00</published><updated>2011-05-14T04:42:48.428+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-14T04:42:48.428+08:00</app:edited><title>Some Random Notes on Control System Engineering</title><content type="html">- The ultimate purpose of control system is to make the actuator as desired by the user.&lt;br /&gt;
- It all started out with a &lt;b&gt;model &lt;/b&gt;on the actuator.&lt;br /&gt;
- Then &lt;b&gt;design &lt;/b&gt;a controller to compensate the error of desired value and actual value.&lt;br /&gt;
- &lt;b&gt;Simulation &lt;/b&gt;must be done to make sure the system is stable.&lt;br /&gt;
- &lt;b&gt;Analysis &lt;/b&gt;must be done to evaluate the performance of the controller.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-1366061880502767611?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NeNmFYCyWXcYHl29mWYp57qHsxc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NeNmFYCyWXcYHl29mWYp57qHsxc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NeNmFYCyWXcYHl29mWYp57qHsxc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NeNmFYCyWXcYHl29mWYp57qHsxc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/VhKt62gG3rc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/1366061880502767611/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=1366061880502767611&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1366061880502767611?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1366061880502767611?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/VhKt62gG3rc/some-random-notes-on-control-system.html" title="Some Random Notes on Control System Engineering" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/05/some-random-notes-on-control-system.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIGSH45cSp7ImA9WhZQEEo.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-1891483387466124949</id><published>2011-04-18T04:51:00.000+08:00</published><updated>2011-04-18T04:52:09.029+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-18T04:52:09.029+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="photography" /><title>UTM Shots</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-apL_6yk4O-U/TatSuKu5LxI/AAAAAAAABIk/9RRrbAAJX1w/s1600/DSCN1035+-+Copy.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-apL_6yk4O-U/TatSuKu5LxI/AAAAAAAABIk/9RRrbAAJX1w/s320/DSCN1035+-+Copy.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-s4VoGtYkg5I/TatSvFoeCjI/AAAAAAAABIs/1lejlpPnqVw/s1600/DSCN1046+-+Copy.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-s4VoGtYkg5I/TatSvFoeCjI/AAAAAAAABIs/1lejlpPnqVw/s320/DSCN1046+-+Copy.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-I6V3lU9TCyY/TatSuic-lVI/AAAAAAAABIo/ZWyNaijI-zs/s1600/DSCN1045.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-I6V3lU9TCyY/TatSuic-lVI/AAAAAAAABIo/ZWyNaijI-zs/s320/DSCN1045.JPG" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-_UT4Nnxdaak/TatSv0U2dPI/AAAAAAAABIw/kXs3PQcPJQQ/s1600/DSCN1049.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-_UT4Nnxdaak/TatSv0U2dPI/AAAAAAAABIw/kXs3PQcPJQQ/s320/DSCN1049.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-1891483387466124949?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/l03EHZbCGJtddjAt1tF3iGIxyQU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/l03EHZbCGJtddjAt1tF3iGIxyQU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/l03EHZbCGJtddjAt1tF3iGIxyQU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/l03EHZbCGJtddjAt1tF3iGIxyQU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/SdWfOUh1eSs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/1891483387466124949/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=1891483387466124949&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1891483387466124949?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1891483387466124949?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/SdWfOUh1eSs/utm-shots.html" title="UTM Shots" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-apL_6yk4O-U/TatSuKu5LxI/AAAAAAAABIk/9RRrbAAJX1w/s72-c/DSCN1035+-+Copy.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/04/utm-shots.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8AR3Y4fyp7ImA9WhdRGEg.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-8962921390618569081</id><published>2011-04-16T15:24:00.001+08:00</published><updated>2011-08-09T09:20:46.837+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-09T09:20:46.837+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="photography" /><title>Silhouette</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-WhyX1wBiQCg/TalECTeKM5I/AAAAAAAABIY/gbrn4rDI_zA/s1600/DSCN1032+-+Copy.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-WhyX1wBiQCg/TalECTeKM5I/AAAAAAAABIY/gbrn4rDI_zA/s320/DSCN1032+-+Copy.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-9UVTtvmAXGI/TalEEPIqpHI/AAAAAAAABIc/YgI6Ll2ROOE/s1600/DSCN1039+-+Copy.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-9UVTtvmAXGI/TalEEPIqpHI/AAAAAAAABIc/YgI6Ll2ROOE/s320/DSCN1039+-+Copy.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-s3E9nlcyfS4/TalEE57Wd2I/AAAAAAAABIg/NuDJ1KtG5co/s1600/DSCN1047+-+Copy.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-s3E9nlcyfS4/TalEE57Wd2I/AAAAAAAABIg/NuDJ1KtG5co/s320/DSCN1047+-+Copy.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="license"&gt;&lt;img alt="Creative Commons License" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" style="border-width: 0;" /&gt;&lt;/a&gt;&lt;br /&gt;
This photography is licensed under a &lt;a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="license"&gt;Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-8962921390618569081?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yzAFGmfOeHGK5yR4xGxItmHYVfM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yzAFGmfOeHGK5yR4xGxItmHYVfM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yzAFGmfOeHGK5yR4xGxItmHYVfM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yzAFGmfOeHGK5yR4xGxItmHYVfM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/QcaeenmMzqQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/8962921390618569081/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=8962921390618569081&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/8962921390618569081?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/8962921390618569081?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/QcaeenmMzqQ/silhouette.html" title="Silhouette" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-WhyX1wBiQCg/TalECTeKM5I/AAAAAAAABIY/gbrn4rDI_zA/s72-c/DSCN1032+-+Copy.JPG" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2011/04/silhouette.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQERXc7eyp7ImA9Wx5VFks.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-6139553808418025335</id><published>2010-10-10T05:37:00.001+08:00</published><updated>2010-10-10T05:38:24.903+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-10T05:38:24.903+08:00</app:edited><title>Software Design as Internship?</title><content type="html">One of my lecturer said that projects can be made as an internship. Is this possible? I was thinking of making the system identification with genetics algorithm as an internship for myself. If I can have my proposal up and going, probably I can consult some lecturer one this matter. By this method, I can save my time in searching for internship company, and I can stay in ROBOCON for another year. But is that good a reason?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-6139553808418025335?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HXiZzGiAouPESJdpjpsV1MTww80/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HXiZzGiAouPESJdpjpsV1MTww80/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HXiZzGiAouPESJdpjpsV1MTww80/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HXiZzGiAouPESJdpjpsV1MTww80/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/S7qUytlCS1I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/6139553808418025335/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=6139553808418025335&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/6139553808418025335?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/6139553808418025335?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/S7qUytlCS1I/software-design-as-internship.html" title="Software Design as Internship?" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2010/10/software-design-as-internship.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYGRno6eCp7ImA9Wx5XFE4.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-1783150081410796217</id><published>2010-09-14T10:41:00.001+08:00</published><updated>2010-09-14T10:42:07.410+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-14T10:42:07.410+08:00</app:edited><title>System Identification with Genetic Algorithm</title><content type="html">This idea suddenly strikes me. The system identification using a genetic approach. When I searched websites like the IEEE Explore, tones of this method has already been implemented.&lt;br /&gt;
&lt;br /&gt;
Not long ago, I read about a technique called the genetic algorithm. This topic interests me because this is one of the main topic in artificial intelligent. And before that I too have read about fuzzy logic and have implemented in my motor control module (or the differential drive module, which is more a relevant name). &lt;br /&gt;
&lt;br /&gt;
This idea come to me when I was designing my new version of motor control module. I was having a hard time in figuring out the gain of system and I keep saying that I really need a mathematical model for my motors and robots.&lt;br /&gt;
&lt;br /&gt;
The current system identification method uses the curve fitting (which I think is the most fundamental method). Then this idea come out of a sudden. Why not use genetic algorithm to find the robot model?&lt;br /&gt;
&lt;br /&gt;
My proposal was to have offline calculation of the model. I would just have to have some input and some output from my robot and feed it into my model calculator and the model will come out.&lt;br /&gt;
&lt;br /&gt;
The best thing about genetic algorithm is the brute force method with natural selection. And the good thing about this is I can estimate (although this word is not really suitable) my model to a very high order system (maybe up to four or five, although I don't think it is relevant).&lt;br /&gt;
&lt;br /&gt;
I would most probably use C programming in a computer to generate the algorithm. Because we use PIC very much but I don't think it is fast enough to calculate all those mathematics.&lt;br /&gt;
&lt;br /&gt;
Although this is an exciting method to find out, but alas! there is no time. Just need to keep this away first.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-1783150081410796217?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WkUW2QKTXPYgnYtA-wxyjx2HDS8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WkUW2QKTXPYgnYtA-wxyjx2HDS8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WkUW2QKTXPYgnYtA-wxyjx2HDS8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WkUW2QKTXPYgnYtA-wxyjx2HDS8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/pbyf1b4iW_4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/1783150081410796217/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=1783150081410796217&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1783150081410796217?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1783150081410796217?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/pbyf1b4iW_4/system-identification-with-genetic.html" title="System Identification with Genetic Algorithm" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2010/09/system-identification-with-genetic.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEMQns-eyp7ImA9WxFbF00.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-4134792871548814693</id><published>2010-07-10T04:18:00.000+08:00</published><updated>2010-07-10T04:18:03.553+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-10T04:18:03.553+08:00</app:edited><title>Experience is Priceless</title><content type="html">After joining the Robocon for a few months, I guess this is a pit stop. We are going for a further route ahead and we need more preparation for that. A road to success was never heard. But we do know that, although if we cannot reach the moon, at least we have the stars. It all started with the tiny robot called the auto car competition. With a cost of MYR 200.00, the tiny robot was built. Using some basic sensors, I were able to make a line following robot. Then the thrill goes on. From digital, I have moved on to analog for the sensors because it is better although the noise is hard to handle at first. From my experience, digital, as in binary value sensors are not really dependable. Not if the sensors are very expensive. So to get out of the trouble, use more analog value items. The algorithm might be hard but it can accomplish so much more. Then it goes on. The journey is not easy but when you know you have your team to support you, everything goes rather smoothly. After entering the team, I was quite lost. It is really hard to merge into their system but Rome was not built in a day. Step by step I walk. Learning what I like best, programming a robot. The code was so long and eye soaring. And they never give the complete code. Makes my head spins a lot. But together with the new members, we manage to get through. Some don't. I learned that to enter Robocon is one thing. To stay is another thing which is harder. But I have struggled and stick with the team. Soon after, I wrote my own module based on control system. Learning from the faculty and campus is fun but it is more fun to apply them. You get to know much more on control system engineering, the transient response and steady-state error. Everything was so much cleare after you have applied that in robotics. The module went well but not much used out of it since this year's game require less navigation. How much I wished to enter the team one year earlier. Then for the first generation robot, I got to use my module. Although the scoring was illegal, but the module went well. Only there after I merge my module with the current module. It was like rewriting the whole thing, but I have rather use the current module. It gives so much more options and it is easier. There after, I was involved more in robot programming. I would not say it is hard but it is not an easy thing either. It takes a lot of cooperation too from other department in the team. Sometimes it is about perseverance too. You never know that your programming will work. Sometimes you need to try a lot to get there. Sometimes silly mistakes really gets in the way and is really an irritating situation to be in. But all and all it was a good experience and it was priceless&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-4134792871548814693?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vEAl7KdXqNjzYdE78DbW66Qx4Ok/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vEAl7KdXqNjzYdE78DbW66Qx4Ok/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vEAl7KdXqNjzYdE78DbW66Qx4Ok/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vEAl7KdXqNjzYdE78DbW66Qx4Ok/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/tRnLFC4EVaA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/4134792871548814693/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=4134792871548814693&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/4134792871548814693?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/4134792871548814693?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/tRnLFC4EVaA/experience-is-priceless.html" title="Experience is Priceless" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2010/07/experience-is-priceless.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQERH0zfCp7ImA9WxFUF0w.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-7708209476855103632</id><published>2010-06-28T17:11:00.002+08:00</published><updated>2010-06-28T17:11:45.384+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-28T17:11:45.384+08:00</app:edited><title>ROBOCON 2010 Malaysia</title><content type="html">The game has ended, congratulations to UTM for winning the competition in Malaysia Level.&amp;nbsp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-7708209476855103632?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5Ku5gXfzBYCC70qpTzAUI5jE5Pc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5Ku5gXfzBYCC70qpTzAUI5jE5Pc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5Ku5gXfzBYCC70qpTzAUI5jE5Pc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5Ku5gXfzBYCC70qpTzAUI5jE5Pc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/f9cS2NnTaQo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/7708209476855103632/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=7708209476855103632&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/7708209476855103632?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/7708209476855103632?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/f9cS2NnTaQo/robocon-2010-malaysia.html" title="ROBOCON 2010 Malaysia" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2010/06/robocon-2010-malaysia.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04DQXk6fCp7ImA9WxFVF00.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-1478775138805758519</id><published>2010-06-17T00:32:00.000+08:00</published><updated>2010-06-17T00:32:50.714+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-17T00:32:50.714+08:00</app:edited><title>Development of Modules</title><content type="html">This was in my thinking for a long time. To develop proper modules for the use of robotics. There are two modules in my mind. Actually the modules was half developed and in use now. Just now, would like to rearrange the programming and calling methods.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Fuzzy Logic LDR Line Finder&lt;/b&gt;&lt;br /&gt;
Using proper light to electric transducer, a module to find a line is developed using the mathematics of fuzzy logic. This algorithm will find line with much higher noise invulnerability. An analog pre-filter is used and a band pass filter algorithm will be used to filter out noise too. Will have to find a way to calibrate the value accordingly. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;PID + Fuzzy logic Position and Speed Control Differential Drive Module.&lt;/b&gt;&lt;br /&gt;
Using the methods of control system, a differential drive module is developed. Controlling the position with PID and speed using Fuzzy Logic, a module can move in speed mode or position mode. This module will also include tuning mode for easy using. &lt;br /&gt;
&lt;br /&gt;
If I could have more time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-1478775138805758519?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oO1s9t4t0iI6v3Hs-4RxIDg7cHw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oO1s9t4t0iI6v3Hs-4RxIDg7cHw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/oO1s9t4t0iI6v3Hs-4RxIDg7cHw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oO1s9t4t0iI6v3Hs-4RxIDg7cHw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/n5kEKTrzTco" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/1478775138805758519/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=1478775138805758519&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1478775138805758519?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1478775138805758519?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/n5kEKTrzTco/development-of-modules.html" title="Development of Modules" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2010/06/development-of-modules.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkQASHw5fSp7ImA9WxFQEEU.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-3480404592993758255</id><published>2010-05-06T03:39:00.000+08:00</published><updated>2010-05-06T03:39:09.225+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-06T03:39:09.225+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="random" /><title>I Never Said...</title><content type="html">... that this is really sickening, watching the monitor screens (yes, it is with a 's'), looking at thousands of line of codes, not really understand what it is for and it is what you do and what you is. Browsing through the mouse scroll looking for a particular line only to find it they way it is, and keep pushing that head of yours to think what the heck it is all about. All you live about is the lines and cubicle in where you sit your butt and never to go out to see the world, enjoying life's riches. Sometimes, this the rather phobic to keep doing the same thing over and over again, and yet this is what you do and what you is.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;I never said that I don't like to write codes.&lt;/i&gt;&amp;nbsp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-3480404592993758255?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fH2oKPKmQjnOSlSKOo9XgV9uvoU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fH2oKPKmQjnOSlSKOo9XgV9uvoU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fH2oKPKmQjnOSlSKOo9XgV9uvoU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fH2oKPKmQjnOSlSKOo9XgV9uvoU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/QwQOuMwjNZs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/3480404592993758255/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=3480404592993758255&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/3480404592993758255?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/3480404592993758255?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/QwQOuMwjNZs/i-never-said.html" title="I Never Said..." /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2010/05/i-never-said.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQEQX49fSp7ImA9WxFREks.&quot;"><id>tag:blogger.com,1999:blog-7989208530268449148.post-1548662471203446443</id><published>2010-04-26T14:11:00.000+08:00</published><updated>2010-04-26T14:11:40.065+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-26T14:11:40.065+08:00</app:edited><title>RoMeLa's Way</title><content type="html">1. Creating ideas before going to sleep&lt;br /&gt;
2. Never critisize other's idea and it will promote growth of ideas&lt;br /&gt;
3. Use the fundamental tools for example differential equation, linear algebra, etc&lt;br /&gt;
4. Work smart and work hard&lt;br /&gt;
5. Always have fun.&lt;br /&gt;
&lt;br /&gt;
Extracted from Dr Dennis Hong from Virginia Tech via TED video.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7989208530268449148-1548662471203446443?l=khinhooi.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Aga2oJrpTolDHoef0NpKnLpyJ8g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Aga2oJrpTolDHoef0NpKnLpyJ8g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Aga2oJrpTolDHoef0NpKnLpyJ8g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Aga2oJrpTolDHoef0NpKnLpyJ8g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Temporary40/~4/lIpjsMZLsIY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://khinhooi.blogspot.com/feeds/1548662471203446443/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=7989208530268449148&amp;postID=1548662471203446443&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1548662471203446443?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7989208530268449148/posts/default/1548662471203446443?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Temporary40/~3/lIpjsMZLsIY/romelas-way.html" title="RoMeLa's Way" /><author><name>Khin Hooi Ng</name><uri>https://profiles.google.com/116402040369692048726</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh4.googleusercontent.com/-4q1URpND4U8/AAAAAAAAAAI/AAAAAAAABSM/0fvTJWd5Bzc/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://khinhooi.blogspot.com/2010/04/romelas-way.html</feedburner:origLink></entry></feed>

