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

<channel>
	<title>Brushless DC electric motor &#8211; Henry Poon&#039;s Blog</title>
	<atom:link href="https://blog.henrypoon.com/blog/tag/brushless-dc-electric-motor/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.henrypoon.com</link>
	<description></description>
	<lastBuildDate>Mon, 03 Oct 2022 05:28:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">83044199</site>	<item>
		<title>MECH 45X–Designing the Motor Control Circuit</title>
		<link>https://blog.henrypoon.com/blog/2012/02/21/mech-45x-designing-the-motor-control-circuit/</link>
					<comments>https://blog.henrypoon.com/blog/2012/02/21/mech-45x-designing-the-motor-control-circuit/#respond</comments>
		
		<dc:creator><![CDATA[hp]]></dc:creator>
		<pubDate>Tue, 21 Feb 2012 08:58:29 +0000</pubDate>
				<category><![CDATA[engineering]]></category>
		<category><![CDATA[9]]></category>
		<category><![CDATA[Actuators]]></category>
		<category><![CDATA[agra]]></category>
		<category><![CDATA[APT]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Brushless DC electric motor]]></category>
		<category><![CDATA[Chan]]></category>
		<category><![CDATA[COM]]></category>
		<category><![CDATA[D]]></category>
		<category><![CDATA[DC motor]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Dia]]></category>
		<category><![CDATA[Drive]]></category>
		<category><![CDATA[driving]]></category>
		<category><![CDATA[EAR]]></category>
		<category><![CDATA[Electric motors]]></category>
		<category><![CDATA[Electrical engineering]]></category>
		<category><![CDATA[Electromagnetism]]></category>
		<category><![CDATA[Final]]></category>
		<category><![CDATA[Friction]]></category>
		<category><![CDATA[future]]></category>
		<category><![CDATA[Go]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[IME]]></category>
		<category><![CDATA[It]]></category>
		<category><![CDATA[Lie]]></category>
		<category><![CDATA[Maxon Motor]]></category>
		<category><![CDATA[Mech]]></category>
		<category><![CDATA[Mecha]]></category>
		<category><![CDATA[Mechanical engineering]]></category>
		<category><![CDATA[Object]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Over]]></category>
		<category><![CDATA[Paris]]></category>
		<category><![CDATA[Plug]]></category>
		<category><![CDATA[Port]]></category>
		<category><![CDATA[rice]]></category>
		<category><![CDATA[Robot]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[Rolling]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[Run]]></category>
		<category><![CDATA[Servomotor]]></category>
		<category><![CDATA[Speed]]></category>
		<category><![CDATA[Stall torque]]></category>
		<category><![CDATA[Stepper motor]]></category>
		<category><![CDATA[Team]]></category>
		<category><![CDATA[Thou]]></category>
		<category><![CDATA[thunder]]></category>
		<category><![CDATA[Time]]></category>
		<category><![CDATA[Transmission]]></category>
		<category><![CDATA[Truth]]></category>
		<category><![CDATA[Vol]]></category>
		<category><![CDATA[Voltage]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Z]]></category>
		<guid isPermaLink="false">http://henrypoon.mooo.com/blog/mech-45x%e2%80%93designing-the-motor-control-circuit</guid>

					<description><![CDATA[Knowing that two motors will be controlled for the grasper, a control circuit was required to determine how much voltage would be delivered to the motor and when they would be on or off.&#160; Each motor would also require position feedback for determining when to stop the motor actuation.&#160; The following section describes the process [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Knowing that two motors will be controlled for the grasper, a control circuit was required to determine how much voltage would be delivered to the motor and when they would be on or off.&nbsp; Each motor would also require position feedback for determining when to stop the motor actuation.&nbsp; The following section describes the process used for designing this microcontroller based circuit.&nbsp; These sections also show a heavy emphasis on the electrical portion of the design and less of the physical portion.&nbsp; The physical portion of the design can be visualized with the CAD design.</p>



<h1 class="wp-block-heading">1.0 Motors</h1>



<p class="wp-block-paragraph">The chosen motors are:</p>



<ul class="wp-block-list"><li>Finger grasping &#8211; Cytron IG32E-264K at a cost of USD $57.03 from RobotShop</li><li>Finger sliding &#8211; Cytron MO-SPG-30E-20K at a cost of USD $22.58 from RobotShop</li></ul>



<p class="wp-block-paragraph">Both motors meet the torque speed requirements for this project.</p>



<h2 class="wp-block-heading">1.1 Finger Grasping Actuation</h2>



<p class="wp-block-paragraph">From the initial budget, the budget set for actuators was set at $325.&nbsp; The torque requirement needed for gripping was also calculated and each finger would require 4 Nm at its output to lift a 4 kg object using only the fingertips.&nbsp; The evaluation criteria states that the device grasp as fast as possible and that the client would have the highest satisfaction if the device cost was less than $700.</p>



<p class="wp-block-paragraph">Looking on several websites that sold motors, the following DC motor was chosen: Cytron IG32E-264K at a cost of USD $57.03 from RobotShop.&nbsp; The specifications are as follows:</p>



<figure class="wp-block-table"><table><tbody><tr><td>DC voltage</td><td>12 V</td></tr><tr><td>Gear ratio</td><td>264:1</td></tr><tr><td>Stall torque (w/o gearing)</td><td>0.0392 Nm</td></tr><tr><td>No load speed (w/o gearing)</td><td>7300 rpm</td></tr><tr><td>Stall current</td><td>5 A</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">At 12 V with gearing included, the stall torque would be 20.7 Nm (without consideration of mechanical efficiency).&nbsp; A motor with a high stall torque is also beneficial because it lowers the gear ratio required, which leads to the use of less space for gearing.&nbsp; The motor also comes with its gearing, which contributes to its high torque.&nbsp; Given the high stall torque of this motor addition gear reduction is not required.&nbsp; During grasping, the motor will be exerting high torque at low speeds and therefore, the motor will be operating near the stall torque.&nbsp; The torque here is more than sufficient even with mechanical efficiency losses accounted for.</p>



<p class="wp-block-paragraph">For finger actuation before grasping occurs, there is a low load and therefore the motor will be operating closer to the no load speed.&nbsp; The no load speed with gear reduction is 27.7 rpm (without consideration of mechanical efficiency).&nbsp; Split among three output shafts, the speed would be 9.21 rpm.&nbsp; Even with the load of the fingers accounted for, this is still acceptable. based on requirements and evaluation criteria.</p>



<p class="wp-block-paragraph">While the torque is a lot higher than required, this motor was only more expensive than a motor of one size smaller by less than three dollars.&nbsp; The electrical characteristics were also identical.&nbsp; With a higher motor torque, the grasper would be comfortable in lifting objects even heavier than 4 kg, which is another benefit based on the evaluation criteria.</p>



<h2 class="wp-block-heading">1.2 Finger Sliding Actuation</h2>



<p class="wp-block-paragraph">The motor required here does not require a large torque since motion in this degree of freedom is not expected to handle heavy loads.&nbsp; This motor only requires enough torque to overcome the friction of the finger on the power screw that it is mounted on.&nbsp; Therefore, a low-cost motor (relative to the grasping motor) will suffice.&nbsp; The DC motor of choice is the Cytron MO-SPG-30E-20K at a cost of USD $22.58 from RobotShop.</p>



<p class="wp-block-paragraph">The specifications are as follows:</p>



<figure class="wp-block-table"><table><tbody><tr><td>DC voltage</td><td>12 V</td></tr><tr><td>Gear ratio</td><td>20:1</td></tr><tr><td>Rated torque (after gearing)</td><td>78.4 mNm</td></tr><tr><td>Rated speed (after gearing)</td><td>185 rpm</td></tr><tr><td>Rated current</td><td>410 mA</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">The consistency of the stated specifications do not match the previous motor because the information that was provided by the manufacturer was not consistent.</p>



<p class="wp-block-paragraph">An initial estimate of two 200 g fingers sliding on a 1/2” diameter power screw with a steel-steel sliding interface (friction coefficient of 0.8) shows that only 20 mNm of torque is required.&nbsp; Therefore, this motor meets the requirement.&nbsp; The power screw also has 13 threads per inch, and at the rated 185 rpm, the power screw would slide linearly at 6 mm/s.</p>



<h2 class="wp-block-heading">1.3 Motor Type</h2>



<p class="wp-block-paragraph">DC and servo motors are motors that are suitable for the project.&nbsp; An investigation between DC and servo motors showed that many manufacturers of motors did not provide the necessary specifications for choosing a servo motor in terms of the values of the no load, stall torque, and stall current.&nbsp; While servos generate a lot of torque relative to their size when compared to DC motors, it is not feasible to use a servo motor because of the unknowns in the specifications.&nbsp; It is possible to buy several servos and test them, but this is costly and time consuming.&nbsp; At this stage in the project, the team is not able to commit the time to investigate further.</p>



<p class="wp-block-paragraph">Comparison of the cost of the grasping motor relative to motors from Maxon Motor, a supplier of motors for UBC Thunderbots, shows that the price of a motor of the same power output costs approximately the same amount.&nbsp; However, a fundamental difference is that the motor from Maxon does not include a gearbox, while the chosen motor for this project does.</p>



<h1 class="wp-block-heading">2.0 Microcontroller</h1>



<p class="wp-block-paragraph">The microcontroller of choice is the Arduino Diecimila.&nbsp; The primary motivator for using this board is because the UBC Thunderbots team already has this board and is currently unused.&nbsp; The Thunderbots team has generously provided the board for use on this project.</p>



<p class="wp-block-paragraph">The MCU will allow the turning the motors on and off, changing motor direction, changing motor speed, and reading encoder feedback.</p>



<h1 class="wp-block-heading">3.0 Voltage Regulation for Encoders</h1>



<p class="wp-block-paragraph">Since the power supply is likely going to be run at 12 V, the encoders will require voltage regulation down to 5 V (the operating voltage of the encoder for the motors).&nbsp; The chosen voltage regulator is the MC78L05A at a cost of USD from Digikey.&nbsp; According to the typical application diagram of the datasheet, two capacitors will also be required (0.33 μF and 0.1 μF).&nbsp; The cost of these are less than $1.</p>



<p class="wp-block-paragraph">The voltage regulator will be wired up in this way as the datasheet shows:</p>


<div class="wp-block-image">
<figure class="aligncenter"><a href="https://i0.wp.com/blog.henrypoon.com/wp-content/uploads/2012/02/image.png?ssl=1" target="_blank" rel="noreferrer noopener"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/blog.henrypoon.com/wp-content/uploads/2012/02/image_thumb.png?w=1280&#038;ssl=1" alt="image" title="image"/></a></figure>
</div>


<p class="wp-block-paragraph">The input will be from the 12 V source, and the output will be to the encoders.</p>



<h1 class="wp-block-heading">4.0 Motor Driver</h1>



<p class="wp-block-paragraph">To control the motors, an H-Bridge is to be used.&nbsp; However, due to the different current flows for each motor, one motor driver will require a high current capacity while the other one will not.&nbsp; The high current capacity motor driver consists of a driving circuit using two half-bridges.&nbsp; The low current capacity motor driver is made up of 1 IC.</p>



<h1 class="wp-block-heading">4.1 Finger Grasping Motor Driver</h1>



<p class="wp-block-paragraph">To design the H-Bridge for controlling the motor, an L6205 motor driver will be used.&nbsp; Each of them costs USD $11.36 from Digikey and can withstand a continuous current of 2.8 A and a peak current of 5.8 A and can be interfaced with the microcontroller with PWM inputs.&nbsp; The driver can also be run in a parallel mode to double the current ratings by using both of its full bridges together.&nbsp; The datasheet provides an application circuit as follows:</p>


<div class="wp-block-image">
<figure class="aligncenter is-resized"><a href="https://i0.wp.com/blog.henrypoon.com/wp-content/uploads/2012/02/image1.png?ssl=1" target="_blank" rel="noreferrer noopener"><img data-recalc-dims="1" fetchpriority="high" decoding="async" src="https://i0.wp.com/blog.henrypoon.com/wp-content/uploads/2012/02/image_thumb1.png?resize=600%2C138&#038;ssl=1" alt="image" width="600" height="138" title="image"/></a></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter"><a href="https://i0.wp.com/blog.henrypoon.com/wp-content/uploads/2012/02/image2.png?ssl=1" target="_blank" rel="noreferrer noopener"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/blog.henrypoon.com/wp-content/uploads/2012/02/image_thumb2.png?w=1280&#038;ssl=1" alt="image" title="image"/></a></figure>
</div>


<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Output pins from the Arduino can turn the motor on and off through the enable pins.&nbsp; Direction is controlled by adjusting the voltage polarity between IN1 and IN2.</p>



<p class="wp-block-paragraph">There are also two output pins for current sensing.&nbsp; By using it to measure the current draw, the microcontroller program can determine what the torque is through the use of the motor curves provided in the motor specifications.</p>



<h1 class="wp-block-heading">4.2 Finger Sliding Motor Driver</h1>



<p class="wp-block-paragraph">The motor driver of choice is the L293D and each one costs $2.50 from Digikey.  Bidirectional control of a DC motor can be achieved by adapting the application circuit from the datasheet:<a href="https://i0.wp.com/blog.henrypoon.com/wp-content/uploads/2012/02/image3.png?ssl=1" target="_blank" rel="noreferrer noopener"><img data-recalc-dims="1" decoding="async" title="image" width="278" height="220" border="0" style="background-image: none; padding-left: 0; padding-right: 0; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0; border-width: 0;" src="https://i0.wp.com/blog.henrypoon.com/wp-content/uploads/2012/02/image_thumb3.png?resize=278%2C220&#038;ssl=1" alt="image"></a></p>



<p class="wp-block-paragraph">The 1A and 2A pins determine the direction of the motor or the motor deceleration.&nbsp; A truth table is provided in the datasheet.</p>



<h1 class="wp-block-heading">5.0 Power Supply</h1>



<p class="wp-block-paragraph">To power the grasper, a power supply plugged into the wall will be used.&nbsp; It is expected that the future robot will have a power source of its own which will power the hand as well.&nbsp; Therefore, for the purposes of testing the grasper for this project only a wall power supply will be required.</p>



<p class="wp-block-paragraph">Looking at the maximum electrical power consumption of the two motors, the total comes to ~65 W (12 V * 5 A + 12 V * 0.41 A).&nbsp; The other components also consume power and so the final power consumption will be higher.&nbsp; To compensate, a 12 V power supply with a maximum wattage and current of 84 W and 7 A was selected.&nbsp; The part number is CENB1090 and each costs USD $70.48 from Digikey.</p>



<h1 class="wp-block-heading">6.0 Power Supply Connector</h1>



<p class="wp-block-paragraph">The power supply chosen has one port that uses a Molex Mini-Fit Jr. Receptacle.&nbsp; Therefore, a proper receptacle must be used so that proper wire routing can power all the circuitry.&nbsp; This also means that the future robot will also require a matching plug for this receptacle.</p>



<h1 class="wp-block-heading">7.0 Fuses</h1>



<p class="wp-block-paragraph">Fuses will also be used as a redundant mechanism to stop the motor in case the current draw is too high.&nbsp; The primary method of stopping the motor is through the current sense pins on the motor driver.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.henrypoon.com/blog/2012/02/21/mech-45x-designing-the-motor-control-circuit/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1346</post-id>	</item>
	</channel>
</rss>
