another post converted

This commit is contained in:
Wolfgang Hottgenroth 2018-05-24 02:03:20 +02:00
parent 984174a44e
commit 9821d412ec
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4
14 changed files with 125 additions and 0 deletions

View File

@ -0,0 +1,83 @@
<!-- { "title": "Three Phase Inverter" } -->
<h1>#title#</h1>
<p>
Already when I was still in school, about 30 years ago, I was curious to make an inverter using some MOSFETs. I actually was able to build a simple one phase inverter with rectangular signal shape (I used a NE555). Using this thing I drove a transformer to light a blub. However, all of these inverters I built passed by in fire.
</p>
<p>
Now, I tried it again, not longer using MOSFETs but IGBTs with free-wheeling diode. Moreover, I used some microcontrollers and sine values to feed a PWM to get a sine-alike signal shape. And this time I was able with three phases to drive an asynchronous motor.
</p>
<p>
<a href="files/img_0053.jpg"><img src="files/img_0053.jpg" alt="img_0053" width="730" height="973"/></a>
</p>
<p>
The signal shaping is done with four MSP430 controllers, three as PWMs to drive the bridge and one to coordinate and control the three PWMs. The PWM controller is decoupled from the IGBT driver (IR2184) using optic couplers.
</p>
<p>
<a href="files/img_0054-e1476437702547.jpg"><img src="files/img_0054-e1476437702547.jpg" alt="img_0054" width="730" height="548"/></a>
</p>
<p>
The bridge is a three phase IGBT module is a 6MB120F-060 I got for a few euros at ebay.
</p>
<p>
<a href="files/img_0055-e1476437685461.jpg"><img src="files/img_0055-e1476437685461.jpg" alt="img_0055" width="730" /></a>
</p>
<p>
To avoid high voltages in my setup I got a 24V async motor, also from ebay.
</p>
<p>
<a href="files/img_0056.jpg"><img src="files/img_0056.jpg" alt="img_0056" width="730" height="548" /></a>
</p>
<p>
The PWMs generate the signal from a sine table generated using Excel. Those I got this signal:
</p>
<p>
<a href="files/inverter0_2016-09-23-4.png"><img src="files/inverter0_2016-09-23-4.png" alt="inverter0_2016-09-23-4" width="640" /></a>
</p>
<p>
The main task of the coordinator is the start the PWMs with a phase shift of 120° (digital line 1, 2 and 3):
</p>
<p>
<a href="files/10/2016-10-13_1.png"><img src="files/2016-10-13_1.png" alt="2016-10-13_1" width="640" height="520" /></a>
</p>
<p>
Currently the PWMs start with random polarity. The interesting signals are the digital lines 4, 5 and 6.
</p>
<p>
Sometimes the motor runs:
</p>
<p>
<a href="files/2016-10-13_works.png"><img src="files/2016-10-13_works.png" alt="2016-10-13_works" width="640" height="520" /></a>
</p>
<p>
But sometimes not:
</p>
<p>
<a href="files/2016-10-13_works_not.png"><img src="files/2016-10-13_works_not.png" alt="2016-10-13_works_not" width="640" /></a>
</p>
<p>
<s>
The firmware is available on bitbucket, for the PWM controllers <a href="https://bitbucket.org/wollud1969/inverter0.git" target="_blank">here</a> and for the coordinator <a href="https://bitbucket.org/wollud1969/inverter0ctrl.git" target="_blank">here</a>.
</s>
</p>
<p>
The firmware is available on Gitlab, for the PWM controllers <a href="https://gitlab.com/wolutator/inverter0" target="_blank">here</a> and for the coordinator <a href="https://gitlab.com/wolutator/inverter0ctrl" target="_blank">here</a>.
</p>

View File

@ -0,0 +1,42 @@
<!-- { "title": "Three Phase Inverter, Second Service" } -->
<h1>#title#</h1>
<p>
I wrote in October about my first try to build a simple three phase inverter, see <a href="posts/2016-10-14.01" target="_blank">here</a>. In the first try I used four MSP430 microcontroller, one for the PWM of each phase and one to coordinate the phase shift of the three phases.
</p>
<p>
In this experiment I put everything on one STM32 microcontroller. Here I used the DMA feature to feed data into the PWM counter and I calculated the sine values at start-up time on the microcontroller. Additionally I put in the driver for a CAN interface, however, it is not yet supported in the firmware.
</p>
<p>
<img src="files/img_0140.jpg" alt="img_0140" width="800" />
</p>
<p>
From top to bottom you see the CAN driver, the STM32 board, opto coupler to separate logic and power part and then from right to left in the bottom half the low-side/high-side MOSFET drivers and the MOSFETs.
</p>
<p>
<img src="files/img_0144.jpg" alt="img_0144" width="800" />
</p>
<p>
The power supply consists of a traditional transformer and (top right) the rectifier and condensers for the power part, together with the 12V regulator for the drivers and (top left) the regulators for 3.3V and 5V for the logic part.
</p>
<p>
<img src="files/img_0146.jpg" alt="img_0146" width="800" />
</p>
<p>
The motor is the same as in the earlier experiment - I don't have too much of them. And everything is put onto one board:
</p>
<p>
<a href="files/img_0143-e1482141676335.jpg"><img src="files/img_0143-e1482141676335.jpg" alt="img_0143" width="800" /></a>
</p>
<p>
(Some space reserved for a HMI unit to be connected via CAN ...)
</p>

BIN
files/2016-10-13_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
files/2016-10-13_works.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
files/img_0053.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
files/img_0056.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

BIN
files/img_0140.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

BIN
files/img_0144.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

BIN
files/img_0146.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB