<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AC on &gt; Mattias Zurković</title><link>https://mattiasz.com/blog/categories/ac/</link><description>Recent content in AC on &gt; Mattias Zurković</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 18 Jan 2022 16:40:00 -0800</lastBuildDate><atom:link href="https://mattiasz.com/blog/categories/ac/index.xml" rel="self" type="application/rss+xml"/><item><title>Pseudo-FOC Controller - Simulations and Initial Prototype</title><link>https://mattiasz.com/blog/pseudo-foc-controller-simulations-and/</link><pubDate>Tue, 18 Jan 2022 16:40:00 -0800</pubDate><guid>https://mattiasz.com/blog/pseudo-foc-controller-simulations-and/</guid><description>&lt;p&gt;As a part of my FOC controller, I am developing an intermediate project - the &lt;em&gt;Pseudo-FOC Controller.&lt;/em&gt; This post will introduce the theory, simulations, and an initial prototype of the project. At its core, this controller uses sinusoidal commutation, which is being implemented through the inverse Park and Clarke transforms.&lt;/p&gt;
&lt;h2 id="project-goals"&gt;Project Goals&lt;/h2&gt;
&lt;p&gt;The goals of this project are listed below:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Control torque, speed, and position of a PMSM - specifically for gimbal and drone grade motors&lt;/li&gt;
&lt;li&gt;Develop a PCB for the controller&lt;/li&gt;
&lt;li&gt;Develop auto-tuning algorithms for controller gains&lt;/li&gt;
&lt;li&gt;Develop an auto-calibration sequence for the rotor position sensor&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="bldc-vs-pmsm"&gt;BLDC vs PMSM&lt;/h2&gt;
&lt;p&gt;A key point of confusion is motor classification of permanent magnet machines - specifically between &lt;em&gt;Brushless DC Motors&lt;/em&gt; (BLDCs) and &lt;em&gt;Permanent Magnet Synchronous Motors&lt;/em&gt; (PMSMs). In my experience/readings, the differing factors is in their back-emf profile: BLDCs having a trapezoidal BEMF and PMSMs having a sinusoidal BEMF.&lt;/p&gt;</description></item><item><title>Completion of the VFD - PCB and Demo</title><link>https://mattiasz.com/blog/completion-of-vfd-pcb-and-demo/</link><pubDate>Mon, 13 Dec 2021 10:45:00 -0800</pubDate><guid>https://mattiasz.com/blog/completion-of-vfd-pcb-and-demo/</guid><description>&lt;p&gt;This past week the PCB order was delivered from JLCPCB. The traces came out great:&lt;/p&gt;
&lt;p&gt;&lt;img src="img-01.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The VFD PCBs&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I used THT components since I was not familiar with JLC&amp;rsquo;s SMT service and I had plenty of the required components stocked. From the image below, the modulation index (MOD INDEX) potentiometer is not being used since I decided manual amplitude adjustment is not required.&lt;/p&gt;
&lt;p&gt;&lt;img src="img-02.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The assembled PCB with component&lt;/em&gt;&lt;/p&gt;</description></item><item><title>VFD Updates - More Prototyping and PCB Design</title><link>https://mattiasz.com/blog/vfd-updates-more-prototyping-and-pcb/</link><pubDate>Wed, 01 Dec 2021 21:56:00 -0800</pubDate><guid>https://mattiasz.com/blog/vfd-updates-more-prototyping-and-pcb/</guid><description>&lt;p&gt;Several things have been done since the initial prototype: the prototype has been further tested, the motor has been validated, and the PCB has been designed and sent to the FAB. Here is an image of the rendered board:&lt;/p&gt;
&lt;p&gt;&lt;img src="img-01.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The PCB render&lt;/em&gt;&lt;/p&gt;
&lt;h3 id="prototype-validation"&gt;Prototype Validation&lt;/h3&gt;
&lt;p&gt;The prototype has been changed - specifically gate and pull-down resistors were added. A big change is that the inverter generates a 12 V peak to peak signal which is then boosted up to 120 V RMS by a transformer and powers the motor. This was done instead of having a 120 V sine wave be generated as an isolated power supply would be needed for the logic components, however the current being drawn at the inverter stage is significantly higher. Here are some key waveforms generated by the inverter.&lt;/p&gt;</description></item><item><title>VFD Inverter Prototyping</title><link>https://mattiasz.com/blog/vfd-inverter-prototyping/</link><pubDate>Wed, 24 Nov 2021 22:49:00 -0800</pubDate><guid>https://mattiasz.com/blog/vfd-inverter-prototyping/</guid><description>&lt;p&gt;I began prototyping the VFD circuit discussed in the previous post, specifically the inverter stage. I modified it to be a single-phase full bridge inverter instead of the three-phase simulated. This is due to me using a single-phase shaded pole induction motor for testing down the line - 120 V, 60 Hz on the nameplate. Here is an image of the circuit:&lt;/p&gt;
&lt;p&gt;&lt;img src="img-01.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Full-bridge inverter circuited&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Before making the circuit, I simulated the inverter in LTSpice. Similar to the PSIM simulation, a bipolar switching scheme is being generated for the SPWM signal.&lt;/p&gt;</description></item><item><title>Variable Frequency Drive for Induction Motors - Overview and Design</title><link>https://mattiasz.com/blog/variable-frequency-drive-for-induction/</link><pubDate>Tue, 16 Nov 2021 20:28:00 -0800</pubDate><guid>https://mattiasz.com/blog/variable-frequency-drive-for-induction/</guid><description>&lt;p&gt;I began a new project to design and construct a Variable Frequency Drive (VFD) for AC induction motors. The purpose of this project is for me to apply some of my power electronics knowledge of inverter design and also aid me in my FOC project since the power stage of this drive is similar (FOC just has more complex control algorithms). This post will cover some the high level design considerations and some preliminary simulation of the VFD.&lt;/p&gt;</description></item><item><title>AS5048A Magnetic Encoder and STM32</title><link>https://mattiasz.com/blog/as5048a-magnetic-encoder-and-stm32/</link><pubDate>Thu, 07 Oct 2021 22:14:00 -0700</pubDate><guid>https://mattiasz.com/blog/as5048a-magnetic-encoder-and-stm32/</guid><description>&lt;p&gt;This past week I began to write the controller firmware - mainly playing with the AS5048A angular position sensor from AMS. Here is the &lt;a href="https://ams.com/documents/20143/36005/AS5048_DS000298_4-00.pdf/910aef1f-6cd3-cbda-9d09-41f152104832" target="_blank" rel="noopener"&gt;datasheet&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src="img-01.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;This sensor will be used to get the rotor position and then compute the resulting electrical angle for the Clarke/Park transforms and also it will be used to find rotor speed for the out loop.&lt;/p&gt;
&lt;p&gt;I will be using an STM32F446 board to run the loop as it has a high clock speed. The AS5048A sends its measurements over SPI. Below is the read package sent from the sensor:&lt;/p&gt;</description></item><item><title>First Post on a AC Servo Drive Project + Current Loop Simulation</title><link>https://mattiasz.com/blog/first-post-on-ac-servo-drive-project/</link><pubDate>Mon, 20 Sep 2021 22:27:00 -0700</pubDate><guid>https://mattiasz.com/blog/first-post-on-ac-servo-drive-project/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Over the past year I have been working on a motor driver for an AC hobby motor (total time about a month due to school and work) - I decided to document my past developments and continue the project as I am less busy. I looked back and refined what I wanted out of this motor drive.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Have precise control of position, speed, and torque of an AC motor&lt;/li&gt;
&lt;li&gt;No torque ripple in output&lt;/li&gt;
&lt;li&gt;Controller should be suitable for a wide range of PMSM motors&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Goals&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>