professoren_webseiten:rebholz:course_a_power_electronics
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| professoren_webseiten:rebholz:course_a_power_electronics [2026/11/16 09:27] – [Simulink] hrebholz | professoren_webseiten:rebholz:course_a_power_electronics [2026/11/24 14:01] (aktuell) – [Estimat Parasitics] hrebholz | ||
|---|---|---|---|
| Zeile 103: | Zeile 103: | ||
| ==== Estimat Parasitics ==== | ==== Estimat Parasitics ==== | ||
| - | Now we have a pretty good simulation of the buck converter to calculate the operation point and get a feeling for the losses. Simulation however ist getting slower and slower. To get even closer to the real behavior of ourbuck | + | Now we have a pretty good simulation of the buck converter to calculate the operation point and get a feeling for the losses. Simulation however ist getting slower and slower. To get even closer to the real behavior of our buck converter we have to consider the parasitic elements of the components. \\ |
| * For the inductor we can add the series resistance given within the Datasheet: {{ : | * For the inductor we can add the series resistance given within the Datasheet: {{ : | ||
| * The frequency behavior of the capcaitor can be calculated from the measured Z(f) plot {{ : | * The frequency behavior of the capcaitor can be calculated from the measured Z(f) plot {{ : | ||
| Zeile 206: | Zeile 206: | ||
| Dowload the lastes Simulink experiment to control the DIY Power PCB: | Dowload the lastes Simulink experiment to control the DIY Power PCB: | ||
| - | * Software SW02 {{ : | + | * Software SW02 {{ : |
| - | * Software SW03 (robust communication) | + | * Software SW03 (robust communication) |
| - | * Software SW04 (Inverter added) | + | * Software SW04 (Inverter added){{ : |
| {{ : | {{ : | ||
| If you can not establish a connection to the board double check the COM port settings. | If you can not establish a connection to the board double check the COM port settings. | ||
| - | <color # | + | <color # |
| ===== Before you start ===== | ===== Before you start ===== | ||
| Zeile 515: | Zeile 515: | ||
| - | <color # | ||
| + | ====== Inverter ====== | ||
| + | From software version 3.0 on, the DIY Power PCB can operate as a **single phase inverter**. The load is connected between **bridge leg U** and **bridge leg V**, bridge leg W stays switched off. \\ | ||
| + | Together, legs U and V form the full bridge you already know from the section [[# | ||
| + | |||
| + | ==== How the Inverter Works ==== | ||
| + | |||
| + | In the half bridge and full bridge experiments, | ||
| + | For a 50 Hz sine wave this would result in just one or two points per period. Therefore the **ESP32 generates the sine wave itself**. Simulink only sends the operating mode, the output frequency and the amplitude. | ||
| + | |||
| + | At every PWM period the microcontroller calculates new duty cycles: | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | The modulation index '' | ||
| + | The load therefore sees the voltage | ||
| + | |||
| + | * '' | ||
| + | |||
| + | plus a ripple at the switching frequency, which is smoothed by the inductance of the load. | ||
| + | |||
| + | **Did you know?** The ESP32 does not call '' | ||
| + | At every PWM period a constant increment is added to the accumulator, | ||
| + | This method is called //Direct Digital Synthesis// (DDS). | ||
| + | |||
| + | ==== Synchronous and T/2 Offset PWM ==== | ||
| + | |||
| + | As with the full bridge, the inverter can be operated with two modulation methods. Both use '' | ||
| + | |||
| + | ^ Mode ^ Method ^ Switching pattern ^ Output voltage u_UV ^ Ripple frequency at the load ^ | ||
| + | | 2 | Synchronous PWM | high side MOSFET U and low side MOSFET V switch simultaneously | two levels: +U_DC, −U_DC | f_sw | | ||
| + | | 3 | T/2 offset PWM | low side MOSFET V gets the signal of high side MOSFET U, shifted by half a switching period | three levels: +U_DC, 0, −U_DC | 2 · f_sw | | ||
| + | |||
| + | With T/2 offset PWM the load sees smaller voltage steps at twice the frequency. Same inductor, same switching frequency, but much less current ripple. | ||
| + | |||
| + | **Did you know?** The maximum peak to peak current ripple in the load inductance L is | ||
| + | |||
| + | * synchronous PWM: '' | ||
| + | * T/2 offset PWM: '' | ||
| + | |||
| + | So T/2 offset PWM reduces the ripple to one quarter. | ||
| + | |||
| + | ==== Operating the Inverter from Simulink ==== | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The relevant inputs of the // | ||
| + | |||
| + | * **Mode** (constant): '' | ||
| + | * **Inverter Output Frequency [Hz]**: 0 to 1000 Hz, resolution 0.1 Hz. | ||
| + | * **Inverter Output Amplitude [%]**: modulation index 0 to 100 %, resolution 0.1 %. | ||
| + | * **Frequenz**: | ||
| + | * **Deadtime**: | ||
| + | |||
| + | In inverter mode the duty cycles, the sliders Phase V and Phase W and the switch pattern are **ignored**. | ||
| + | |||
| + | The microcontroller enforces the following limits: | ||
| + | |||
| + | * '' | ||
| + | * The duty cycle is limited to 2 % ... 98 %, so that the bootstrap capacitors of the gate drivers are recharged and no pulse is shorter than the dead time. Above an amplitude of about 96 % the sine peaks are slightly flattened. | ||
| + | * Switching frequency 1.3 kHz ... 60 kHz. | ||
| + | * Every change of the mode passes through "all MOSFETs off". The inverter always starts at the zero crossing of the sine wave. | ||
| + | * '' | ||
| + | * If Simulink does not send valid data for 500 ms, all MOSFETs are switched off. | ||
| + | |||
| + | The display of the board shows the mode, output frequency, amplitude and switching frequency. | ||
| + | |||
| + | ==== Safety Warnings ==== | ||
| + | |||
| + | * The power supply has to be switched off each time a change is made in the setup. | ||
| + | * Increase the amplitude from zero to the final value. | ||
| + | * The board is rated for **max. 10 A** and a DC voltage of **20 V ... 36 V**. Check that the peak load current **including the ripple** stays below 10 A. With small inductances and low switching frequencies the ripple alone can exceed this limit. | ||
| + | * Current flows must not be interrupted, | ||
| + | * **Never use electrolytic capacitors as filter capacitors at the inverter output!** The output voltage is AC, so an electrolytic capacitor would be operated with reverse polarity and can explode or outgas. | ||
| + | * Measure u_UV only with a differential probe. Neither leg U nor leg V is at ground potential. | ||
| + | * Hot surface! Resistors and inductors can reach temperatures > 100°C. | ||
| + | |||
| + | ==== Task: Design Your Own Inverter Experiment ==== | ||
| + | |||
| + | <WRAP center round todo 80%> | ||
| + | Set up your own inverter experiment with the loads and inductors available in the lab. | ||
| + | |||
| + | **Task 20a)** Design a setup to test how the inverter works. At which point of your setup can you see the sinusoidal output of the inverter? Take a screenshot. | ||
| + | |||
| + | **Task 20b)** Create a simulation of your setup. Compare the frequency components of your measurement and your simulation in the frequency domain. | ||
| + | </ | ||
professoren_webseiten/rebholz/course_a_power_electronics.1794821238.txt.gz · Zuletzt geändert: 2026/11/16 09:27 von hrebholz
