<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3420080123717044621</id><updated>2011-04-21T19:45:10.049-07:00</updated><title type='text'>Computer Numerical Control</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://insidecnc.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3420080123717044621/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://insidecnc.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>meledictas</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3420080123717044621.post-6194189025044708437</id><published>2008-09-04T06:40:00.000-07:00</published><updated>2008-09-04T06:46:51.574-07:00</updated><title type='text'>Linux CNC in action</title><content type='html'>LINUX CNC: basic540, 4 axes, EMC2 + AXIS&lt;br /&gt;&lt;br /&gt;Linux CNC, using realtime linux and AXIS (Python, TKinter) user interface.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/mSfto9g5z2g&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;embed src="http://www.youtube.com/v/mSfto9g5z2g&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" height="344" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3420080123717044621-6194189025044708437?l=insidecnc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://insidecnc.blogspot.com/feeds/6194189025044708437/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3420080123717044621&amp;postID=6194189025044708437' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3420080123717044621/posts/default/6194189025044708437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3420080123717044621/posts/default/6194189025044708437'/><link rel='alternate' type='text/html' href='http://insidecnc.blogspot.com/2008/09/linux-cnc-in-action.html' title='Linux CNC in action'/><author><name>meledictas</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3420080123717044621.post-6305506314976612355</id><published>2007-10-08T12:56:00.000-07:00</published><updated>2008-12-08T22:53:39.924-08:00</updated><title type='text'>My electronic experience</title><content type='html'>&lt;div&gt;&lt;div&gt;&lt;div&gt;Somehow and somewhat, I graduted for an electical (communicaion) engineer. For now, I 'm a web developer. &lt;/div&gt;&lt;div&gt;To remember what I have done, it is a good chance to summasize here.&lt;/div&gt;&lt;div&gt;1. A robot arm using servo motor and AVR microcontroller, a student traning project.&lt;/div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_rht_WW-VPTA/RwqInkqG-zI/AAAAAAAAACM/97vgSvNalB0/s1600-h/avrservo.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5119054139896560434" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_rht_WW-VPTA/RwqInkqG-zI/AAAAAAAAACM/97vgSvNalB0/s320/avrservo.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_rht_WW-VPTA/RwqBQ0qG-uI/AAAAAAAAABk/b_nTYEWcNgU/s1600-h/103519-112302-1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5119046052473141986" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_rht_WW-VPTA/RwqBQ0qG-uI/AAAAAAAAABk/b_nTYEWcNgU/s320/103519-112302-1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_rht_WW-VPTA/RwqB9UqG-vI/AAAAAAAAABs/-7nwJyFEnQQ/s1600-h/103519-112507-2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5119046816977320690" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_rht_WW-VPTA/RwqB9UqG-vI/AAAAAAAAABs/-7nwJyFEnQQ/s320/103519-112507-2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;2. A robot arm using DC motor and microcontroller, a graduate project.&lt;/div&gt;&lt;div&gt;-Comming soon,&lt;br /&gt;3. A roller break tester project, my old company work.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_rht_WW-VPTA/RwqEFUqG-wI/AAAAAAAAAB0/lZOJm7aOx5M/s1600-h/269.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5119049153439529730" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_rht_WW-VPTA/RwqEFUqG-wI/AAAAAAAAAB0/lZOJm7aOx5M/s320/269.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_rht_WW-VPTA/RwqEwkqG-xI/AAAAAAAAAB8/lYKAXwtI9jY/s1600-h/rbtdebugger.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5119049896468871954" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_rht_WW-VPTA/RwqEwkqG-xI/AAAAAAAAAB8/lYKAXwtI9jY/s320/rbtdebugger.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;4. A web cam publisher&lt;/div&gt;&lt;div&gt;5.ARM7, &lt;/div&gt;&lt;div&gt;6. ARM9,An Embedded Linux Project, my another old company work.&lt;/div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_rht_WW-VPTA/RwqKskqG-0I/AAAAAAAAACU/MFZYIZYAYlY/s1600-h/osk-back.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5119056424819161922" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_rht_WW-VPTA/RwqKskqG-0I/AAAAAAAAACU/MFZYIZYAYlY/s320/osk-back.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://www.swd.ru/files/images/solution/osk5912_front_view_b.jpg"&gt;&lt;img style="WIDTH: 320px; CURSOR: hand" alt="" src="http://www.swd.ru/files/images/solution/osk5912_front_view_b.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3420080123717044621-6305506314976612355?l=insidecnc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://insidecnc.blogspot.com/feeds/6305506314976612355/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3420080123717044621&amp;postID=6305506314976612355' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3420080123717044621/posts/default/6305506314976612355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3420080123717044621/posts/default/6305506314976612355'/><link rel='alternate' type='text/html' href='http://insidecnc.blogspot.com/2007/10/my-electronic-experience.html' title='My electronic experience'/><author><name>meledictas</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_rht_WW-VPTA/RwqInkqG-zI/AAAAAAAAACM/97vgSvNalB0/s72-c/avrservo.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3420080123717044621.post-3726532902326739679</id><published>2007-10-03T10:55:00.000-07:00</published><updated>2007-10-03T10:55:16.639-07:00</updated><title type='text'>Computur Numerical Control Using Open Source Software</title><content type='html'>This is my old work. It had built one year ago while I was working for CNC company. Details are following;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Hardware&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Machine Type, 3 axis milling&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Servo drive and motor, Panasonic servo dirver and motor&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Spindle, Hitachi 3 phase AC motor&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Interfacing, PCI Motenc-100 &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Computer, P4 2.8GHZ (Socket 478), 512 RAM, ATI9600 GRAPHIC, 40 GB IDE Harddisk&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;strong&gt;Software&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Operating system, Linux TLE 7.0 (waghor, FC3 base) with RTAI real-time extension &lt;/li&gt;&lt;br /&gt;&lt;li&gt;CNC controller, Enhancement Machine Controller, EMC&lt;/li&gt;&lt;br /&gt;&lt;li&gt;HAL Configuration, HAL for motenc-100&lt;/li&gt;&lt;br /&gt;&lt;li&gt;GUI (MMI), AXIS, TKInter with extension module&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;strong&gt;Images&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/machine.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/machine.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/machine.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/m200.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/m200.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/m200.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/servo.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/servo.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/servo.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/pana.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/pana.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/pana.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/spindle.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/spindle.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/spindle.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/hitachi.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/hitachi.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/hitachi.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/slum.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/slum.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/slum.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/build.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/build.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/build.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/box.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/box.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/box.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/control.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/control.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/control.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/dial.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/dial.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/dial.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/alu.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/alu.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/alu.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/gui1.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/gui1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/gui1.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/cnc.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/cnc.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/cnc.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/coin.jpg"&gt;&lt;img style="CURSOR: hand" alt="" src="http://eestud.kku.ac.th/~u4316562/machine/coin.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://eestud.kku.ac.th/~u4316562/machine/coin.jpg"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3420080123717044621-3726532902326739679?l=insidecnc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://insidecnc.blogspot.com/feeds/3726532902326739679/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3420080123717044621&amp;postID=3726532902326739679' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3420080123717044621/posts/default/3726532902326739679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3420080123717044621/posts/default/3726532902326739679'/><link rel='alternate' type='text/html' href='http://insidecnc.blogspot.com/2007/10/computur-numerical-control-using-open.html' title='Computur Numerical Control Using Open Source Software'/><author><name>meledictas</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3420080123717044621.post-112664173641411948</id><published>2007-09-30T20:59:00.000-07:00</published><updated>2007-09-30T20:59:22.667-07:00</updated><title type='text'>Motion Control System-Hardware</title><content type='html'>A motion control system consist of two major part, are following;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Position command generator.&lt;/span&gt; A machine reads command from its storage and interprets into a  format compatibly with a controller. Usually, there are two types of path that machine has to be able to traveling, straight line motion (linear) and circular motion.  After machine knows what is a motion type, it send a motion information to its interpolation, a system that take a path conformations and feed a position controller a position that motor have to rotate to at given time.&lt;/li&gt;&lt;li style="font-weight: bold;"&gt;Position Controller. &lt;span style="font-weight: normal;"&gt;A sub-system that receives a position command and driver a motion to that position.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;A position controller, is mainly consist of hardware box. There are two types of position controller, a open and close loop position controller.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Open loop position control&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;Like its name, this controller need not a feedback device. A rotation has a pre-define, certain amount  of traveling.  This mean, with a one command, a device will travel with one position unit.&lt;br /&gt;&lt;br /&gt;A block diagram of system is shown below,&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://eestud.kku.ac.th/~u4316562/images/openloop.jpg"&gt;&lt;img style="cursor: pointer; width: 320px;" src="http://eestud.kku.ac.th/~u4316562/images/openloop.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Example of  this kind of device is stepper motor controller system. see picture below,&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://eestud.kku.ac.th/~u4316562/images/stepmotor.jpg"&gt;&lt;img style="cursor: pointer; width: 320px;" src="http://eestud.kku.ac.th/~u4316562/images/stepmotor.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Close loop position control&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;A block diagram is shown below,&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://eestud.kku.ac.th/~u4316562/images/closeloop.jpg"&gt;&lt;img style="cursor: pointer; width: 320px;" src="http://eestud.kku.ac.th/~u4316562/images/closeloop.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;It has a PID calculator, a driver and a feedback device. An big advantage of close loop over open loop is,  close loop has  an error detection device and use that device as a part of controlling. Some open loop system has an error detector but use to indicate or stop operation if a system enter an position error that cannot acceptable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Servo motor&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; and Servo driver .&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;An industrial market has introduced a device used to control a motion of object that is attached  to it, that device is consist of a motor and a drive system to be convenient and flexible to build or fix a machine. There is invention a servo motor and servo driver.&lt;br /&gt;&lt;br /&gt;Actually, server motor and servo drive has to work together to provide ability to control a motion of object attach to it. Anyway, it was separated a driver and motor because it is easy to upgrade, fix only a driver or motor. Need not to change both of them.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://eestud.kku.ac.th/~u4316562/images/motion_loop.jpg"&gt;&lt;img style="cursor: pointer; width: 320px;" src="http://eestud.kku.ac.th/~u4316562/images/motion_loop.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Picture below show a categorize of server system.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://eestud.kku.ac.th/~u4316562/images/servo_type.jpg"&gt;&lt;img style="cursor: pointer; width: 320px;" src="http://eestud.kku.ac.th/~u4316562/images/servo_type.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Feedback device.&lt;br /&gt;For a close loop control system, it has to has a feedback device. It tells a system how  much actual position differ  from a desire command. There are two types of feedback device, analog and digital feedback device.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;Analog feedback device. Use with analog control system. It can be used with digital system by integrate with analog to digital converter. Usually convert a distance to electrical signal, a voltage or current. Example of this device,&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;Potentiometer&lt;/li&gt;&lt;li&gt;Tachometer&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;&lt;li&gt;Digital feedback device. Use with digital control system. With more accurate and good noise rejection. A digital feedback device is widely use more than an analog. These device, topically use an optical technique. Example of device.&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;Absolute encoder&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Give a certain position for any movement. Is used for a short distance of movement.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Incremental encoder&lt;br /&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span style="font-weight: normal;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3420080123717044621-112664173641411948?l=insidecnc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://insidecnc.blogspot.com/feeds/112664173641411948/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3420080123717044621&amp;postID=112664173641411948' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3420080123717044621/posts/default/112664173641411948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3420080123717044621/posts/default/112664173641411948'/><link rel='alternate' type='text/html' href='http://insidecnc.blogspot.com/2007/09/motion-control-system-hardware.html' title='Motion Control System-Hardware'/><author><name>meledictas</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3420080123717044621.post-3690105866868599108</id><published>2007-09-30T07:16:00.000-07:00</published><updated>2007-09-30T07:16:54.881-07:00</updated><title type='text'>Motion Control System-Introduction</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Introduction&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Motion control system is, ability to control how objects move. In mechanical points of views, is ability to control position, velocity and acceleration of an object. In modern industrial machine, it has ability to control derivative of acceleration of an object.&lt;br /&gt;&lt;br /&gt;To control object acceleration, we have to have a method to control its velocity. To control object velocity, we have to have ability to control its position. Therefor, a position control is a basic and key of motion control.&lt;br /&gt;&lt;br /&gt;To control a position of an object. We can use a simple feedback control system. In face, it is not the best method to control an object. To control an object with optimum&lt;br /&gt;efficiency, we can use an state equation to control an object. The state equation is, a mathematic model use to drescript an object. Unfortunately, it is inconvenient to determine equation for any object. The simple feedback control so, is widely used in industrial machine.&lt;br /&gt;&lt;br /&gt;The feedback control system control an object by attempts to correct the error between a measured process variable and a desired setpoint by calculating and then outputting a corrective action that can adjust the process accordingly.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PID Controller.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;There are three term for this kind of controlling.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Proportional term&lt;/li&gt;&lt;li&gt;Integral term&lt;/li&gt;&lt;li&gt;&lt;span class="mw-headline"&gt;Derivative term&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span class="mw-headline"&gt;This kind of controlling usually call &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;PID Controller.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="mw-headline"&gt;A model of controlling is shown below.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://eestud.kku.ac.th/%7Eu4316562/images/controlsystem.jpg"&gt;&lt;img style="cursor: pointer; width: 474px; height: 211px;" src="http://eestud.kku.ac.th/%7Eu4316562/images/controlsystem.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Equation in continuous form,&lt;br /&gt;&lt;br /&gt;&lt;img src="http://eestud.kku.ac.th/%7Eu4316562/images/pid_analog.jpg" align="middle" /&gt;&lt;br /&gt;&lt;br /&gt;Equation in discrete form,&lt;br /&gt;&lt;br /&gt;&lt;img src="http://eestud.kku.ac.th/%7Eu4316562/images/pid_digital.jpg" align="middle" /&gt;&lt;br /&gt;&lt;br /&gt;To calculate this equation, we use a microprocess, or integrate circuit, for example Micro controller, FPGA, CPLD, DSP or even a  personal computer.&lt;br /&gt;&lt;br /&gt;Please note that, from equation,  we  need to have a  precise  sampling timer. To accomplish this, we use a chip or computer with real-time operating system.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Motor&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;To move an object. We use energy transformation. For a machine, electric energy is more reasonable more than any kind of energy because its flexibility.  Another device use to move an object include pneumatic or hydraulic system.&lt;br /&gt;&lt;br /&gt;Motor is a device use to convert electrical to mechanical energy.  There two (major) of motor.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;DC Motor, use DC electric current to rotate motor.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;AC Motor, use AC  electric current to rotate motor.&lt;/li&gt;&lt;li&gt;Pulse Motor, use pulse  shape electric  current to rotate motor.&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;Controller and Driver device.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Topically, we need a large size of motor, depend on how large machine is and how good we like motor to move. To control a motor, we need a control circuit, to calculate a  control signal.   To calculate a control signal, we need a measuring unit, to read a real position of motor. A desire position and real position will be compute together and result in a control signal.&lt;br /&gt;&lt;br /&gt;A control signal is small level of amplitude. We heed to scale it up to be able to rotate a motor.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Servo motor, Servo drive.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Because widely use of motion control machine. There is a new set of position controller, which include motor,  controller , driver and feedback device. This kind of device is called servo motor.&lt;br /&gt;&lt;br /&gt;Actually, for a modern servo motor, it has ability to do motion control as well. But for a machine, let a machine controller generates a position command is more effective.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://eestud.kku.ac.th/%7Eu4316562/images/position_control.gif" /&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Motion kinematics&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Because machine has a large size. A movement of objects is something have to be  take care.  We apply a large size of  force, a movement can damage a device because its inertia.  Movement  of object is shown below;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://eestud.kku.ac.th/%7Eu4316562/images/step.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;From  picture, we like a small number of response time of machine to reach a destination, a little steady-state error and overshoot.&lt;br /&gt;&lt;br /&gt;Typically,  getting all of above need a fine tune of a controller. Sometime, we have to compromise all of them.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Position command generation&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;As  I mention above, to get a desire object acceleration, we have to have ability to control object 's velocity. To get a desire object's velocity, we have to ability to control object position.&lt;br /&gt;&lt;br /&gt;In reverse, to control machine acceleration, we have to control its velocity. To control object velocity, we have to control its position.&lt;br /&gt;&lt;br /&gt;In mathematic point of view, an acceleration is derivative of  velocity and  velocity is derivative  of position. In reverse case, a position is integral of velocity and velocity is integral of acceleration.&lt;br /&gt;&lt;br /&gt;For machine, it has a code that operator can use to control a machine. A code will be translated to position command and send to movement device.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Motion profile.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;A motion profile is relative of position and velocity and acceleration at a given time. For a market machine, a third order polynomial is widely used to generate a motion profile. For a  high-precision machine, a five order polynomial is used to gain a more smooth and more accurate of movement.&lt;br /&gt;&lt;br /&gt;Below is motion profile graph,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Third order, Tapezoidal velocity profile&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://eestud.kku.ac.th/%7Eu4316562/images/tapezoidal.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Fifth order, S-curve velocity profile&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://eestud.kku.ac.th/%7Eu4316562/images/scurve.jpg" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3420080123717044621-3690105866868599108?l=insidecnc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://insidecnc.blogspot.com/feeds/3690105866868599108/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3420080123717044621&amp;postID=3690105866868599108' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3420080123717044621/posts/default/3690105866868599108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3420080123717044621/posts/default/3690105866868599108'/><link rel='alternate' type='text/html' href='http://insidecnc.blogspot.com/2007/09/motion-control-system.html' title='Motion Control System-Introduction'/><author><name>meledictas</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
