{"id":4150,"date":"2019-06-04T10:25:06","date_gmt":"2019-06-04T15:25:06","guid":{"rendered":"http:\/\/blog.dankohn.info\/?p=4150"},"modified":"2020-08-17T17:34:01","modified_gmt":"2020-08-17T17:34:01","slug":"how-servo-motors-work","status":"publish","type":"post","link":"https:\/\/blog.dankohn.info\/index.php\/2019\/06\/04\/how-servo-motors-work\/","title":{"rendered":"How Servo Motors Work?"},"content":{"rendered":"\n<p>From: Jameco Electronics <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Servo Motor Controllers<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">This little motor is high in efficiency and power<\/h3>\n\n\n\n<p><strong>Servo motors<\/strong> have been around for a long time and are utilized in\n many applications. They are small in size but pack a big punch and are \nvery energy-efficient. These features allow them to be used to operate \nremote-controlled or radio-controlled <a href=\"https:\/\/www.jameco.com\/webapp\/wcs\/stores\/servlet\/JamecoSearch?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;categoryName=category_root&amp;subCategoryName=Education%20%26%20Hobby%20Kits&amp;category=70&amp;refine=1&amp;position=1&amp;history=yajv7t0n%7CfreeText~cars%5Esearch_type~jamecoall%5EprodPage~15%5Epage~SEARCH%252BNAV\">toy cars<\/a>, <a href=\"https:\/\/www.jameco.com\/webapp\/wcs\/stores\/servlet\/JamecoSearch?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;categoryName=category_root&amp;subCategoryName=Robotics&amp;category=75&amp;refine=1&amp;position=1&amp;history=jpodqbl6%7CfreeText~robot%5Esearch_type~jamecoall%5EprodPage~15%5Epage~SEARCH%252BNAV\">robots<\/a>\n and airplanes. Servo motors are also used in industrial applications, \nrobotics, in-line manufacturing, pharmaceutics and food services. But \nhow do the little guys work?\n<\/p>\n\n\n\n<p>\nThe servo circuitry is built right inside the motor unit and has a positionable shaft, which usually is fitted with a <a href=\"https:\/\/www.jameco.com\/webapp\/wcs\/stores\/servlet\/ProductDisplay?langId=-1&amp;storeId=10001&amp;productId=1810072&amp;catalogId=10001\">gear<\/a> (as shown below). The motor is controlled with an electric signal which determines the amount of movement of the shaft.\n<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What&#8217;s inside the servo?<\/h3>\n\n\n\n<p> <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"113\" height=\"113\" src=\"http:\/\/blog.dan-kohn.us\/wp-content\/uploads\/2019\/06\/how-servo-motors-work-fig1.jpg\" alt=\"\" class=\"wp-image-4151\"\/><\/figure>\n\n\n\n<p>\nTo fully understand how the servo works, you need to take a look under \nthe hood. Inside there is a pretty simple set-up: a small <a href=\"https:\/\/www.jameco.com\/webapp\/wcs\/stores\/servlet\/JamecoSearch?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;categoryName=category_root&amp;subCategoryName=Electromechanical&amp;category=35&amp;refine=1&amp;position=1&amp;history=28hlc38h%7CfreeText~dc%2Bmotor%5Esearch_type~jamecoall%5EprodPage~50%5Epage~SEARCH%252BNAV\">DC motor<\/a>, <a href=\"https:\/\/www.jameco.com\/webapp\/wcs\/stores\/servlet\/JamecoSearch?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;categoryName=category_root&amp;subCategoryName=Passive%20Components&amp;category=20&amp;refine=1&amp;position=1&amp;history=d0ww5ora%7CfreeText~potentiometer%5Esearch_type~jamecoall%5EprodPage~50%5Epage~SEARCH%252BNAV\">potentiometer<\/a>,\n and a control circuit. The motor is attached by gears to the control \nwheel. As the motor rotates, the potentiometer&#8217;s resistance changes, so \nthe control circuit can precisely regulate how much movement there is \nand in which direction.\n<\/p>\n\n\n\n<p> When the shaft of the motor is at the desired position, <a href=\"https:\/\/www.jameco.com\/webapp\/wcs\/stores\/servlet\/JamecoSearch?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;categoryName=category_root&amp;subCategoryName=Power%20Supplies%20%26%20Wall%20Adapters&amp;category=45\">power<\/a>  supplied to the motor is stopped. If not, the motor is turned in the  appropriate direction. The desired position is sent via electrical  pulses through the <a href=\"https:\/\/www.jameco.com\/webapp\/wcs\/stores\/servlet\/JamecoSearch?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;categoryName=cat_25&amp;subCategoryName=Wire%20%26%20Cable%20%2F%20Bulk%20Wire&amp;category=2550&amp;refine=1&amp;position=1&amp;history=wus4q9hh%7CsubCategoryName~Wire%2B%2526%2BCable%5Ecategory~25%5EcategoryName~category_root%5EprodPage~50%5Epage~SEARCH%252BNAV\">signal wire<\/a>.  The motor&#8217;s speed is proportional to the difference between its actual  position and desired position. So if the motor is near the desired  position, it will turn slowly, otherwise it will turn fast. This is  called <strong>proportional control.<\/strong> This means the motor will only run as hard as necessary to accomplish the task at hand, a very efficient little guy. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"> How is the servo controlled? <\/h3>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"252\" height=\"254\" src=\"http:\/\/blog.dan-kohn.us\/wp-content\/uploads\/2019\/06\/how-servo-motors-work-fig2.jpg\" alt=\"\" class=\"wp-image-4152\" srcset=\"https:\/\/blog.dankohn.info\/wp-content\/uploads\/2019\/06\/how-servo-motors-work-fig2.jpg 252w, https:\/\/blog.dankohn.info\/wp-content\/uploads\/2019\/06\/how-servo-motors-work-fig2-150x150.jpg 150w\" sizes=\"auto, (max-width: 252px) 100vw, 252px\" \/><\/figure>\n\n\n\n<p> Servos are controlled by sending an electrical pulse of variable width, or <strong>pulse width modulation<\/strong>  (PWM), through the control wire. There is a minimum pulse, a maximum  pulse, and a repetition rate. A servo motor can usually only turn 90\u00b0 in  either direction for a total of 180\u00b0 movement. The motor&#8217;s neutral  position is defined as the position where the servo has the same amount  of potential rotation in the both the clockwise or counter-clockwise  direction. The PWM sent to the <a href=\"https:\/\/www.jameco.com\/webapp\/wcs\/stores\/servlet\/JamecoSearch?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;freeText=motor&amp;search_type=jamecoall\">motor<\/a> determines position of the shaft, and based on the duration of the pulse sent via the control wire; the <a href=\"https:\/\/www.jameco.com\/webapp\/wcs\/stores\/servlet\/JamecoSearch?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;categoryName=cat_3540&amp;subCategoryName=Electromechanical%20%2F%20Switches%20%2F%20Rotary&amp;category=354055&amp;refine=1&amp;position=1&amp;history=kv7hqebe%7CfreeText~rotor%5Esearch_type~jamecoall%5EprodPage~50%5Epage~SEARCH%252BNAV%405hha4bcd%7Ccategory~35%5EcategoryName~category_root%5Eposition~1%5Erefine~1%5EsubCategoryName~Electromechanical%5EprodPage~50%5Epage~SEARCH%252BNAV\">rotor<\/a>  will turn to the desired position. The servo motor expects to see a  pulse every 20 milliseconds (ms) and the length of the pulse will  determine how far the motor turns. For example, a 1.5ms pulse will make  the motor turn to the 90\u00b0 position. Shorter than 1.5ms moves it in the  counter clockwise direction toward the 0\u00b0 position, and any longer than  1.5ms will turn the servo in a clockwise direction toward the 180\u00b0  position. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"432\" height=\"288\" src=\"http:\/\/blog.dan-kohn.us\/wp-content\/uploads\/2019\/06\/how-servo-motors-work-fig3.jpg\" alt=\"\" class=\"wp-image-4153\" srcset=\"https:\/\/blog.dankohn.info\/wp-content\/uploads\/2019\/06\/how-servo-motors-work-fig3.jpg 432w, https:\/\/blog.dankohn.info\/wp-content\/uploads\/2019\/06\/how-servo-motors-work-fig3-300x200.jpg 300w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/figure>\n\n\n\n<p>\nWhen these servos are commanded to move, they will move to the position \nand hold that position. If an external force pushes against the servo \nwhile the servo is holding a position, the servo will resist from moving\n out of that position. The maximum amount of force the servo can exert \nis called the <strong>torque rating<\/strong> of the servo. Servos will not hold \ntheir position forever though; the position pulse must be repeated to \ninstruct the servo to stay in position.\n<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Types of Servo Motors<\/h3>\n\n\n\n<p>\nThere are two types of servo motors &#8211; AC and DC. AC servo can handle \nhigher current surges and tend to be used in industrial machinery. <a href=\"https:\/\/www.jameco.com\/webapp\/wcs\/stores\/servlet\/JamecoSearch?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;categoryName=cat_75&amp;subCategoryName=Robotics%20%2F%20Motors&amp;category=7545&amp;refine=1&amp;position=1&amp;history=ko9l7dni%7CfreeText~servo%2Bmotor%5Esearch_type~jamecoall%5EprodPage~50%5Epage~SEARCH%252BNAV%40gu9oa7zv%7Ccategory~75%5EcategoryName~category_root%5Eposition~1%5Erefine~1%5EsubCategoryName~Robotics%5EprodPage~50%5Epage~SEARCH%252BNAV\">DC servos<\/a>\n are not designed for high current surges and are usually better suited \nfor smaller applications. Generally speaking, DC motors are less \nexpensive than their AC counterparts.\nThese are also servo motors that have been built specifically for \ncontinuous rotation, making it an easy way to get your robot moving. \nThey feature two ball bearings on the output shaft for reduced friction \nand easy access to the rest-point adjustment <a href=\"https:\/\/www.jameco.com\/webapp\/wcs\/stores\/servlet\/JamecoSearch?langId=-1&amp;storeId=10001&amp;catalogId=10001&amp;categoryName=category_root&amp;subCategoryName=Passive%20Components&amp;category=20&amp;refine=1&amp;position=1&amp;history=d0ww5ora%7CfreeText~potentiometer%5Esearch_type~jamecoall%5EprodPage~50%5Epage~SEARCH%252BNAV\">potentiometer<\/a>.\n<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Servo Motor Applications<\/h3>\n\n\n\n<p>\nServos are used in radio-controlled airplanes to position control \nsurfaces like elevators, rudders, walking a robot, or operating <strong>grippers.<\/strong> Servo motors are small, have built-in control circuitry and have good power for their size. <\/p>\n\n\n\n<p>\nIn food services and pharmaceuticals, the tools are designed to be used \nin harsher environments, where the potential for corrosion is high due \nto being washed at high pressures and temperatures repeatedly to \nmaintain strict hygiene standards. Servos are also used in <strong>in-line manufacturing<\/strong>, where high repetition yet precise work is necessary.\n<\/p>\n\n\n\n<p>\nOf course, you don&#8217;t have to know how a servo works to use one, but as \nwith most electronics, the more you understand, the more doors open for <a href=\"https:\/\/www.jameco.com\/Jameco\/Pressroom\/DIY.html\">expanded projects<\/a> and projects&#8217; capabilities. Whether you&#8217;re a <a href=\"https:\/\/www.jameco.com\/Jameco\/workshop\/diy\/rodney.html\">hobbyist building robots<\/a>, an engineer designing industrial systems, or just constantly curious, where will servo motors take you?\n<br><br><a href=\"https:\/\/www.jameco.com\/Jameco\/content\/servos.html\">Servo Motor Buyer Guide<\/a><br><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n","protected":false},"excerpt":{"rendered":"<p>From: Jameco Electronics Servo Motor Controllers This little motor is high in efficiency and power Servo motors have been around for a long time and are utilized in many applications. They are small in size but pack a big punch &hellip; <a href=\"https:\/\/blog.dankohn.info\/index.php\/2019\/06\/04\/how-servo-motors-work\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,9],"tags":[],"class_list":["post-4150","post","type-post","status-publish","format-standard","hentry","category-robot-parts","category-teaching_tech"],"_links":{"self":[{"href":"https:\/\/blog.dankohn.info\/index.php\/wp-json\/wp\/v2\/posts\/4150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.dankohn.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.dankohn.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.dankohn.info\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.dankohn.info\/index.php\/wp-json\/wp\/v2\/comments?post=4150"}],"version-history":[{"count":1,"href":"https:\/\/blog.dankohn.info\/index.php\/wp-json\/wp\/v2\/posts\/4150\/revisions"}],"predecessor-version":[{"id":4697,"href":"https:\/\/blog.dankohn.info\/index.php\/wp-json\/wp\/v2\/posts\/4150\/revisions\/4697"}],"wp:attachment":[{"href":"https:\/\/blog.dankohn.info\/index.php\/wp-json\/wp\/v2\/media?parent=4150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.dankohn.info\/index.php\/wp-json\/wp\/v2\/categories?post=4150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.dankohn.info\/index.php\/wp-json\/wp\/v2\/tags?post=4150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}