How to implement a variable sPWM on arduino/atmel (Spwm part 2)

  Рет қаралды 21,106

Kurt Hutten

Kurt Hutten

Күн бұрын

Пікірлер: 44
@XXXXIndices
@XXXXIndices Жыл бұрын
"Hope this is of some use to some people :)" Yes it is extremely useful, thank you for taking the time to make the videos explaining this so us mere mortals have some chance of understanding how this works.
@davidrichard1744
@davidrichard1744 5 жыл бұрын
I just want to thank you for these 2 videos, I have been researching this topic for months without getting any smarter or closer to understanding how to implement SPWM in practice(code). Well now you have solved it for me and I can now proceed with my project(I am well aware of the safety concerns), thank you so very much.
@mapmplom4408
@mapmplom4408 Жыл бұрын
Mr. Kurt, I am very grateful for the amount of info about SPWM, it was amazing. I want to know if it possible to match the of signal frequency (as reference) of the input to match the output?
@tamibandy
@tamibandy 8 жыл бұрын
Great Job! I'm waiting your third video :D Very nice code, very good explanation. You have done a good job, we are waiting to hear forward about you.
@ahammadfahad3852
@ahammadfahad3852 2 жыл бұрын
Thanks man for this great video!!
@israelefu6161
@israelefu6161 4 жыл бұрын
Seriously this explanation was Awesome. I wish to see your next video (3). 🙏 Thanks bro 👍
@wariskn7096
@wariskn7096 3 жыл бұрын
Geat video...i have one doubt regarding the period. What is period mentioned in ur code? what value u r expecting from ur equation.... It's difficult to catch the value u have given oncode, which is 16mhz/swit freq/200....can u please answer me ASAP?...
@usertogo
@usertogo 3 жыл бұрын
Yes so another question : It appears to me that in power switching you have the challenge to control EMF transmission and non intrusiveness in its energy spectrum for sentient beings or matter in general - how could the 'spread spectrum and the potential for _information transfer_ be optimized in the context of multi phase motor control for example? Have you learned from the electronic engineer Dan Winter with his 'implosion' fibonacci based fractal model where he also defines the prime objective - sustainable ecstasy?
@jamesking8105
@jamesking8105 4 жыл бұрын
Kurt, this is awesome. But I do have a question. In c or assembly there is usually an overflow bit v or z can't remember. It may be possible that you may be able to have an interrupt let you know when this bit is overflowed and then you can change the phase from there. This is usually helpful in FIFO routines. Don't know if this would be applicable to your code or not.
@meanman1992
@meanman1992 4 жыл бұрын
I not sure to be honest. But the interupt service routine could be based on such a bit, as I'm using an AVR library that might be abstracting this a little. Just a guess.
@AleksAltigor
@AleksAltigor 2 жыл бұрын
Good afternoon, I beg you, tell me how you can change the amplitude of the voltage without changing the frequency?
@alexsoares2600
@alexsoares2600 2 жыл бұрын
Hey thanks for the video, if i want to use the code for a high frequency transformer what is max frequency i can get from atmel?
@RushikeshHaregaonkar
@RushikeshHaregaonkar 9 ай бұрын
Can we get variable frequency controlled 3phase SPWM
@oropeiro
@oropeiro 4 жыл бұрын
Hi Meanman,how can i invert the switching signals, to the other half (10ms)of sine cycle (period)in the same pin of arduino ?the reason is for reset the low frequency transformer after every single switching pulse.for example,10ms period non inverting sw signal and 10 ms inverting sw signal the both at OCR1A(in one pin) thank you and congratulations for the project.
@roselyn123
@roselyn123 8 жыл бұрын
looking forward for the third part :D hope it is an syncing phase .,.,.
@munifkhan5724
@munifkhan5724 4 ай бұрын
Can u try this project with stm32f1 with feedback?
@ghafoorsamadi2870
@ghafoorsamadi2870 7 жыл бұрын
I like to thank you for your explanation.
@lucasfreddi9424
@lucasfreddi9424 6 жыл бұрын
Hi, thank you for the video. It is really clear. I have been trying to do a 3 spwm inverter with an atmega328, using 1 timer for each phase (limiting timer 1 resolution to 8 bit). My problem is that since the timers have 8 bit resolution I cant load periods longer than 255 cycles, and for frequencies between 0 and 50hz I need a 16 bit top number, like the ICR1. Do you have any idea or example on how to manage this problem? Seems that the atmega328 is very poor for this application. Thank you!
@RNA0ROGER
@RNA0ROGER 8 жыл бұрын
So can I use this to build say a pure signwave inverter?
@andryxa77
@andryxa77 6 жыл бұрын
I wonder if similar can be done on Esp32. Was trying to generate 32kHz pwm with variable duty in each period, set by "look up" array of fixed numbers from 1 to 255(8bit) and repeating it with variable frequency 5 to 100Hz and vary a total duty of array from 0 to 100% . Any example code for this or part of it?
@ghafoorsamadi2870
@ghafoorsamadi2870 7 жыл бұрын
Hi, I tried the code with Arduino UNO and H Bridge it doesn't work, it's work in Proteus simulation but physical it's don't. please help me.
@hassane89n
@hassane89n 8 жыл бұрын
Best explanation ever.
@AkiroDemonSlayer123
@AkiroDemonSlayer123 4 жыл бұрын
Wont u able to design a spwm inverter?
@varunranastar007
@varunranastar007 8 жыл бұрын
Great work! Are you still planning to do the 3 phase sPWM after this?
@meanman1992
@meanman1992 8 жыл бұрын
I hope so, see my reply to Hector.
@yannis92preloude
@yannis92preloude 4 жыл бұрын
Hi. Meanman, in your 3 code the one with adjustment of Frequency on pin A0. amplitude adjustment on pin A1. when I do use the code it toggles between 5 and 15Khz. I want to set it at 50hz but am unable to find in your code . any help will be great thanks .Yannis congratulations for the project.
@yaqoobs.j.557
@yaqoobs.j.557 6 жыл бұрын
Thanks for everything, I trying this code but don't Whats is the suitable code for h.bridge?
@dalwindersingh9455
@dalwindersingh9455 7 жыл бұрын
Thank you for making excellent video
@Jexux01
@Jexux01 8 жыл бұрын
you did a great job doing the code and implementing it, i have been using your code and tried to modify it to use it in a DC-AC inverter, but i have trouble to make it trigger 6 IGBT, i want to ask you for help, in what i have to do to get 6 outputs, 3 pair o signals as the code already generated, but defaced 120 degrees, i would appreciate any help.
@meanman1992
@meanman1992 8 жыл бұрын
I have tried this myself, and I do want to pick it back up, but so far I haven't got it working and my priorities are else where. But to try and walk you through my problem you might have luck yourself. So having 6 switches (IGBT or other) for a 3 phase bridge certainly does make it tricky. For example if we take an arbitrary point on the sin wave for phase A sin(74)=0.96 which means that B is Sin(194)=-0.24 and C is sin(-46)=-0.72. If at the start of the period we turn on the high side switch for leg A of the bridge and low side switch for leg C and B and then turn off leg B after 24% of the period and then leg C after 72% of the period then the high side switch for leg A will still be on by itself doing nothing for a further 24% of the period. So probably (and I say probably because I'm not completely sure) what needs to happen is that is that at the start of the period leg A high side and leg B low side turn on, then after 24% of the period leg B low side turns off and leg C turns on until 96% of the period when leg A high side and leg C low side turn off. How that is implemented on the micro is another question since I'm not so sure you can turn a pin on and off a different times within the same period on the Atmel micros at least. I do have some ideas to get around this, but again my time and priorities, Hopefully I'll get around to it :/ Hope that helps though.
@arbtyalir3400
@arbtyalir3400 4 жыл бұрын
hello how i can contact with u?
@hiteshb5606
@hiteshb5606 3 жыл бұрын
Can't we use this code for high switching frequency? like 300KHz
@meanman1992
@meanman1992 3 жыл бұрын
You can try, but you might need a micro with a faster clock.
@minhthuan2132
@minhthuan2132 6 жыл бұрын
Thanks for ur videos, this is a great project. But i think when you change the frequency the amplitude of signal will change to, is it correct?
@anshaggarwal2060
@anshaggarwal2060 8 жыл бұрын
thankyou so much for the video .
@zoonvanhetuni7993
@zoonvanhetuni7993 4 жыл бұрын
BRAVO !
@nfsking2000
@nfsking2000 7 жыл бұрын
Nice work. Video could be a bit more refined and short though.
@victorijoni760
@victorijoni760 7 жыл бұрын
Thank you very much
@kabete8
@kabete8 6 жыл бұрын
Amazing things thank man
@eiszapfenderwutendenwinde3233
@eiszapfenderwutendenwinde3233 6 жыл бұрын
Is Kurt still alive, or did he just abandon his awesome content creation?
@lively2774
@lively2774 6 жыл бұрын
idk
@QW3RTYUU
@QW3RTYUU 4 жыл бұрын
I tried looking him up but every account he has linked has gone silent since about 2013. I cannot find his fb account or obituary of his name "Kurt Hutten". If anyone has info, Im curious aswell. Else, RIP Kurt. Nice content, may your family be well.
@QW3RTYUU
@QW3RTYUU 4 жыл бұрын
Update: found his github and seems active. We can stop panicking, he just moved on with life it seems :)
@luizvision478
@luizvision478 6 жыл бұрын
MANY THANKS FOR ALL BEAUTIFULL, I AM STUDY THIS PROGRAM ... I LIKE THIS... LUIZ RIO DE JANEIRO
SPWM sine INVERTER with Arduino
11:10
Electronoobs
Рет қаралды 120 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
How NOT to make a Modified Square Wave Inverter
11:51
GreatScott!
Рет қаралды 304 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 791 М.
What is mathematical thinking actually like?
9:44
Benjamin Keep, PhD, JD
Рет қаралды 10 М.
How to Make a Pure sin Wave Inverter Using Arduino
8:30
Thiasotiks
Рет қаралды 37 М.
Variable Frequency Driver | Variable Inverter
12:35
Electronoobs
Рет қаралды 107 М.
Converting an Arduino PWM Output to a DAC Output
18:48
ForceTronics
Рет қаралды 111 М.
How to convert a Modified /Square wave inverter to Pure Sine
7:25
Mousa - Simple Projects
Рет қаралды 259 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН