<?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>AT2 Motion Controller &#8211; The Longhorn Engineer</title>
	<atom:link href="https://longhornengineer.com/tag/at2-motion-controller/feed/" rel="self" type="application/rss+xml" />
	<link>https://longhornengineer.com</link>
	<description>Robotics, Pinball, Hacking, Portables</description>
	<lastBuildDate>Tue, 20 Dec 2022 19:46:47 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>AT2 Motion Controller</title>
		<link>https://longhornengineer.com/2013/08/09/at2-motion-controller/</link>
		
		<dc:creator><![CDATA[Parker]]></dc:creator>
		<pubDate>Fri, 09 Aug 2013 05:28:57 +0000</pubDate>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[AT2 Motion Controller]]></category>
		<guid isPermaLink="false">https://longhornengineer.com/?p=1782</guid>

					<description><![CDATA[This is the first consumer product I ever designed for Dynamic Perception. The AT2 Motion Controller is a dual brushed DC motor controller that offers control with a joystick or a kind of cruse control with the knobs. In Joystick mode, the knobs act as adjustable dampening for the motors. The dampening is adjustable from &#8230; <a href="https://longhornengineer.com/2013/08/09/at2-motion-controller/" class="more-link">Continue reading <span class="screen-reader-text">AT2 Motion Controller</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3649.jpg"><img fetchpriority="high" decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3649-1024x681.jpg" alt="" class="aligncenter size-large wp-image-1763" width="584" height="388" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3649-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3649-150x99.jpg 150w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3649-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3649-450x300.jpg 450w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3649.jpg 1200w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>This is the first consumer product I ever designed for <a href="http://dynamicperception.com/">Dynamic Perception</a>. The <a href="http://dynamicperception.com/products/at2-motion-controller">AT2 Motion Controller</a> is a dual brushed DC motor controller that offers control with a joystick or a kind of cruse control with the knobs. In Joystick mode, the knobs act as adjustable dampening for the motors. The dampening is adjustable from 0 seconds to 5 seconds. In knob mode the knobs set the speed of the motors. Modes can be swapped individually for each channel (1 in Joystick and 1 in knob) is possible with the push buttons.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/Schematic1.png"><img decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/Schematic1-1024x665.png" alt="Schematic" class="aligncenter size-large wp-image-1772" width="584" height="379" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/Schematic1-1024x665.png 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/Schematic1-150x97.png 150w, https://longhornengineer.com/wp-content/uploads/2013/08/Schematic1-569x369.png 569w, https://longhornengineer.com/wp-content/uploads/2013/08/Schematic1-461x300.png 461w, https://longhornengineer.com/wp-content/uploads/2013/08/Schematic1.png 1200w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>Above is the full schematic. You can download it and the design files at Dynamic Perception&#8217;s <a href="https://github.com/DynamicPerception/anaMoCo">github</a>. Everything for the board design is open sourced.</p>
<p>The AT2 can accept a voltage power source from 7V to 16V and power two 1.2A 12V motors. Motor controller is a standard <a href="https://www.sparkfun.com/datasheets/Robotics/L298_H_Bridge.pdf">L298</a> motor driver which should be recognized by most hobbyist.</p>
<p>There are no microcontrollers in the AT2. Each channel uses 4 op-amps to create a pair of square waves to drive the L298 via PWM.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/Schematic_PWM_Generator.png"><img decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/Schematic_PWM_Generator-1024x884.png" alt="Schematic_PWM_Generator" class="aligncenter size-large wp-image-1773" width="584" height="504" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/Schematic_PWM_Generator-1024x884.png 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/Schematic_PWM_Generator-150x129.png 150w, https://longhornengineer.com/wp-content/uploads/2013/08/Schematic_PWM_Generator-494x427.png 494w, https://longhornengineer.com/wp-content/uploads/2013/08/Schematic_PWM_Generator-347x300.png 347w, https://longhornengineer.com/wp-content/uploads/2013/08/Schematic_PWM_Generator.png 1103w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>The first op-amp is just creates a high impedance input to the generator. It is set up as a voltage follower to pass the voltage that the knobs or joystick output. The knobs and joystick do this by just creating a voltage divider. Second op-amp creates an oscillating triangle wave at around 75Hz. The voltage from the first op-amp sets the voltage offset of this triangle wave. The third and forth op-amps are voltage comparators. One is set to trigger at above a certain voltage and the other is set to trigger below a certain voltage. These voltages are set by the voltage dividers. The output of the voltage comparators are the PWM wave that the L298 sees. I have seen a couple motor controllers that operate this way.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3673.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3673-1024x681.jpg" alt="" class="aligncenter size-large wp-image-1771" width="584" height="388" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3673-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3673-150x99.jpg 150w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3673-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3673-450x300.jpg 450w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3673.jpg 1200w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>This is what the triangle wave looks like.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3671.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3671-1024x681.jpg" alt="" class="aligncenter size-large wp-image-1769" width="584" height="388" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3671-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3671-150x99.jpg 150w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3671-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3671-450x300.jpg 450w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3671.jpg 1200w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>When the triangle wave is activating the top end voltage comparator. This is with a high voltage input to the first op-amp.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3672.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3672-1024x681.jpg" alt="" class="aligncenter size-large wp-image-1770" width="584" height="388" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3672-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3672-150x99.jpg 150w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3672-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3672-450x300.jpg 450w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3672.jpg 1200w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>When the triangle wave is activating the bottom end voltage comparator. This is with a low voltage input to the first op-amp.</p>
<p>It took 8 revisions to get the functionality and design of the controller correct.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3656.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3656-1024x681.jpg" alt="" class="aligncenter size-large wp-image-1765" width="584" height="388" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3656-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3656-150x99.jpg 150w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3656-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3656-450x300.jpg 450w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3656.jpg 1200w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>The first prototypes are in the top left with the final revision being the bottom right. I will never order a board without silkscreen again.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3635.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3635-569x174.jpg" alt="" class="aligncenter size-medium wp-image-1758" width="569" height="174" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3635-569x174.jpg 569w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3635-150x46.jpg 150w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3635-1024x314.jpg 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3635-500x153.jpg 500w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3635.jpg 1200w" sizes="(max-width: 569px) 100vw, 569px" /></a></p>
<p>This is the progression of the case design with the oldest prototype on the right side.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3638.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3638-680x1024.jpg" alt="" class="aligncenter size-large wp-image-1759" width="584" height="879" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3638-680x1024.jpg 680w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3638-99x150.jpg 99w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3638-283x427.jpg 283w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3638-199x300.jpg 199w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3638.jpg 718w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>First hacked together prototype. I just took a piece of scrap aluminum to make the &#8220;chassis&#8221;.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3641.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3641-1024x681.jpg" alt="" class="aligncenter size-large wp-image-1760" width="584" height="388" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3641-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3641-150x99.jpg 150w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3641-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3641-450x300.jpg 450w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3641.jpg 1200w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>Second all aluminum case prototype. This proved to be too heavy and costly to machine.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3642.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3642-1024x681.jpg" alt="" class="aligncenter size-large wp-image-1761" width="584" height="388" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3642-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3642-150x99.jpg 150w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3642-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3642-450x300.jpg 450w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3642.jpg 1200w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>Third prototype with a hybrid case. My personal favorite. It has an aluminum bottom and a plastic top. The weight was perfect but it still was still too costly to manufacture.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3647.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3647-1024x681.jpg" alt="" class="aligncenter size-large wp-image-1762" width="584" height="388" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3647-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3647-150x99.jpg 150w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3647-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3647-450x300.jpg 450w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3647.jpg 1200w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>Forth case with the curved plastic on top. This decorative piece of plastic prevented easy access to the motor and power connectors to it was removed.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3651.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3651-1024x681.jpg" alt="" class="aligncenter size-large wp-image-1764" width="584" height="388" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3651-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3651-150x99.jpg 150w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3651-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3651-450x300.jpg 450w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3651.jpg 1200w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>Final design with silkscreen. The plastic is a really tough ABS which resists cracking. The texture of the plastic is also nice to the touch. Rubber knobs cap the potentiometers.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3662.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3662-1024x681.jpg" alt="" class="aligncenter size-large wp-image-1767" width="584" height="388" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3662-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3662-150x99.jpg 150w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3662-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3662-450x300.jpg 450w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3662.jpg 1200w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>Some inside action on how it is all wired together.</p>
<p><a href="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3658.jpg"><img loading="lazy" decoding="async" src="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3658-1024x681.jpg" alt="" class="aligncenter size-large wp-image-1766" width="584" height="388" srcset="https://longhornengineer.com/wp-content/uploads/2013/08/DSC3658-1024x681.jpg 1024w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3658-150x99.jpg 150w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3658-569x378.jpg 569w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3658-450x300.jpg 450w, https://longhornengineer.com/wp-content/uploads/2013/08/DSC3658.jpg 1200w" sizes="(max-width: 584px) 100vw, 584px" /></a></p>
<p>You can buy the <a href="http://dynamicperception.com/products/at2-motion-controller">AT2 Motion Controller</a> from <a href="http://dynamicperception.com">Dynamic Perception</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
