<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>Esden&#39;s Blog - control</title>
    <subtitle>This is Piotr Esden-Tempski&#39;s personal blog</subtitle>
    <link rel="self" type="application/atom+xml" href="https://esden.net/tags/control/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://esden.net"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2009-06-29T00:00:00+00:00</updated>
    <id>https://esden.net/tags/control/atom.xml</id>
    <entry xml:lang="en">
        <title>Open-BLDC SMD prototype and final prototypes</title>
        <published>2009-06-29T00:00:00+00:00</published>
        <updated>2009-06-29T00:00:00+00:00</updated>
        
        <author>
          <name>Esden</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://esden.net/blog/2009-06-29-open-bldc-smd-prototype-and-final-prototypes/"/>
        <id>https://esden.net/blog/2009-06-29-open-bldc-smd-prototype-and-final-prototypes/</id>
        
        <content type="html" xml:base="https://esden.net/blog/2009-06-29-open-bldc-smd-prototype-and-final-prototypes/">&lt;p&gt;[caption id=&quot;attachment_252&quot; align=&quot;alignright&quot; width=&quot;150&quot; caption=&quot;Open-BLDC SMD Prototype&quot;]&lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://esden.net/wp-content/uploads/2009/06/open-bldc-smd-prototype.jpg&quot;&gt;&lt;img src=&quot;https://esden.net/blog/2009-06-29-open-bldc-smd-prototype-and-final-prototypes/images/open-bldc-smd-prototype-150x150.jpg&quot; alt=&quot;Open-BLDC SMD Prototype&quot; title=&quot;open-bldc-smd-prototype&quot; /&gt;&lt;/a&gt;[/caption]&lt;/p&gt;
&lt;p&gt;It has been again a long time since the last post. (I have the feeling to repeat myself here)&lt;/p&gt;
&lt;p&gt;There have been some news on the Open-BLDC front. I have been on &lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://www.motodrone.de&quot;&gt;Motodrone&lt;/a&gt; two weeks ago. Because I took the plane to get there I realized that it will be too difficult to take the breadboard prototype with me. So on a short notice I soldered together a smaller version using smd parts. As an extra feature this prototype includes Allegro hall based current sensors. These will enable us to investigate &lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://en.wikipedia.org/wiki/Vector_control_(motor)&quot;&gt;vector control&lt;/a&gt; (aka. field-oriented control).&lt;/p&gt;
&lt;p&gt;At first it worked perfectly. Sadly after some tests I burned two of the three bridge drivers. I only had one spare to replace, so I could not work on the software for long. Today I got replacement bridge drivers. Now I should have enough spare ones to compensate for more burning. ;) So no news on the vector control front yet.&lt;/p&gt;
&lt;p&gt;[caption id=&quot;attachment_255&quot; align=&quot;alignright&quot; width=&quot;150&quot; caption=&quot;Open-BLDC Logic Board V0.1&quot;]&lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://esden.net/wp-content/uploads/2009/06/open-bldc-logic-v01.png&quot;&gt;&lt;img src=&quot;https://esden.net/blog/2009-06-29-open-bldc-smd-prototype-and-final-prototypes/images/open-bldc-logic-v01-150x146.png&quot; alt=&quot;Open-BLDC Logic Board V0.1&quot; title=&quot;open-bldc-logic-v01&quot; /&gt;&lt;/a&gt;[/caption]&lt;/p&gt;
&lt;p&gt;[caption id=&quot;attachment_257&quot; align=&quot;alignright&quot; width=&quot;150&quot; caption=&quot;Open-BLDC Powerstage V0.1&quot;]&lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://esden.net/wp-content/uploads/2009/06/open-bldc-power-v01.png&quot;&gt;&lt;img src=&quot;https://esden.net/blog/2009-06-29-open-bldc-smd-prototype-and-final-prototypes/images/open-bldc-power-v01-150x150.png&quot; alt=&quot;Open-BLDC Powerstage V0.1&quot; title=&quot;open-bldc-power-v01&quot; /&gt;&lt;/a&gt;[/caption]&lt;/p&gt;
&lt;p&gt;But I was not lazy while waiting for the replacement parts. I finalized the circuit and routed the logic board and powerstage. The powerstage was more or less straight forward but I am not very happy about the size and dimensions. I just am not sure if it is fittable on a standard Quadrocopter. Still it should be good enough as first etched prototype.&lt;/p&gt;
&lt;p&gt;A much bigger challenge was the logic board. I somehow came up with this crazy idea to constrain the size of it to 45mm X 20mm. Still after many many hours of struggling with that puzzle I managed to squeeze all parts and wires into 45.5mm X 21mm! Yes you are right I am pretty proud of myself. I am still a routing beginner so the result seems to be good for me. :)&lt;/p&gt;
&lt;p&gt;Now I have to wait so some other people review the work I did to try decreasing the amout of possible bugs in this boards. (If you like you can clone the repository &lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://github.com/esden/open-bldc&quot;&gt;here&lt;/a&gt; and check the stuff out, and give feedback on the &lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;https://open-bldc.org/cgi-bin/mailman/listinfo/open-bldc&quot;&gt;mailinglist&lt;/a&gt;. (please subscribe before posting! :/ )) When I feel confident enough I will order some boards for testing and we can finally concentrate more on the software. :)&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Open-BLDC Sensorless Commutation Detection</title>
        <published>2009-05-07T00:00:00+00:00</published>
        <updated>2009-05-07T00:00:00+00:00</updated>
        
        <author>
          <name>Esden</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://esden.net/blog/2009-05-07-open-bldc-sensorless-commutation-detection/"/>
        <id>https://esden.net/blog/2009-05-07-open-bldc-sensorless-commutation-detection/</id>
        
        <content type="html" xml:base="https://esden.net/blog/2009-05-07-open-bldc-sensorless-commutation-detection/">&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;As promised I made some videos. First one is showing the maiden run of a motor connected to the breadboard prototype of Open-BLDC.&lt;/p&gt;
&lt;p&gt;(There is also a Vimeo version: &lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://vimeo.com/4533048&quot;&gt;Maiden Run of Open-BLDC&lt;/a&gt; from &lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://vimeo.com/user1330398&quot;&gt;Piotr Esden-Tempski&lt;/a&gt; on &lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://vimeo.com&quot;&gt;Vimeo&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Yes the motor sounds like a truck. The reason is that I am making forced commutation (not detecting the right time to commutate but do it in fixed time) and the PWM duty cycle is higher then it should be. This way the motor is just jumping between the magnets and has a lot of vibrations.&lt;/p&gt;
&lt;p&gt;The second video is a demo of sensorless commutation detection.&lt;/p&gt;
&lt;p&gt;(There is also a Vimeo version: &lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://vimeo.com/4533513&quot;&gt;Open-BLDC Sensorless Commutation Detection Test&lt;/a&gt; from &lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://vimeo.com/user1330398&quot;&gt;Piotr Esden-Tempski&lt;/a&gt; on &lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://vimeo.com&quot;&gt;Vimeo&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;We are using a novel way without a virtual crosspoint. (you can read it up in &lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://scholar.lib.vt.edu/theses/available/etd-09152003-171904/unrestricted/T.pdf&quot;&gt;this paper&lt;/a&gt;) We do it even a little bit differently then described in the paper, there are no comparators and latches. What we do is condition the signal to be in the range of 0V to 3.3V and sample it with the ADC at the right times. This is probably the simplest way to do something like this in the STM32. One can now play around with the data that the ADC delivers. I think there is a lot of stuff that can be done using such an approach.&lt;/p&gt;
&lt;p&gt;In the video you may also wonder why it is so loud. Well the PC fan that I just forced onto the rotor is not really the best payload, also it is not balanced well and the bearings in the motor are not the best anymore because of the unbalanced load. ^^ I am also using the simplest and worst PWM scheme that I know of. The so called H PWM L ON scheme.&lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://multicopter.org/wiki/PWM_Schemes&quot;&gt;&lt;img src=&quot;https://esden.net/blog/2009-05-07-open-bldc-sensorless-commutation-detection/images/H_pwm_l_on.png&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&quot;H PWM L ON&quot; PWM scheme. Click on the Image to see other PWM schemes.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can also see in the video that the motor is pretty robust to external disturbances when running in the commutation detection closed loop. Still I am sure that it can be improved. (If you are interested the sourcecode running this can be seen &lt;a rel=&quot;noopener external&quot; target=&quot;_blank&quot; href=&quot;http://github.com/esden/open-bldc/commit/4ac0bf84802d08cf76c4055c82aa05ea4c983c33&quot;&gt;here&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;If I am not mistaken then only current measurement is missing in the circuitry. When that is done then I can design the first etched prototype of Open-BLDC. WOOO! :)&lt;/p&gt;
&lt;p&gt;Cheers Esden&lt;/p&gt;
&lt;p&gt;P.S. If you have any comments/ideas feel free to write them in the comment section. ^^&lt;/p&gt;
</content>
        
    </entry>
</feed>
