Тёмный

EV fundamentals #1: How to read a resolver 

Johannes Hübner
Подписаться 3,9 тыс.
Просмотров 22 тыс.
50% 1

In this video I go over the code that decodes the angular rotor position delivered by a resolver using nothing but the integrated ADC, an audio amplifier and some math. It thereby replaces expensive resolver-to-digital chips commonly used for this purpose.
Code on github: github.com/jsphuebner/stm32-sine
Support on Patreon: / openinverter
Shop URL: openinverter.org/shop

Опубликовано:

 

31 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@shaggygangst
@shaggygangst 5 лет назад
Good idea sir, please continue this series with explaining how the code and hardware works.
@IfItAintBrokeStillFixIt
@IfItAintBrokeStillFixIt 5 лет назад
Thanks for the video. Great idea for this series. Gives us a better understanding of what's going on.
@bart5228
@bart5228 5 лет назад
Great video, gives a lot of useful information! Keep them coming :)
@juiceofsapho
@juiceofsapho 5 лет назад
Very nice video Johan, just keep 'em coming (from one of the nerds)
@mehmetcx
@mehmetcx Год назад
Great explanation Johannes. Please keep going to make videos just like this:)
@JPetr94
@JPetr94 3 года назад
Literally exciting topic :)
@SilasCaze
@SilasCaze 5 лет назад
This is really good! Thanks!
@ut0phya
@ut0phya 4 года назад
Thank you so mutch for these videos.
@TrickyNekro
@TrickyNekro 2 месяца назад
From my medical equipment repair days, I have come across resolvers that the reference coil is on the stator and the readout is done on the rotor ( they can definitely afford the space there ). Nice stuff indeed, not many people know of them nowadays ( most motor control will actually be done with encoders with an index pulse given from somewhere in the system ).
@EngineersFear
@EngineersFear 2 месяца назад
Oh cool, so that actually exists then. At least in vehicles and with synchronous motors I have only seen absolute feedback such as resolvers or sin/cos hall chips.
@stephendarbey5411
@stephendarbey5411 5 лет назад
Super stuff Johannes
@idus
@idus 2 года назад
This was an awesome video
@Good-Enuff-Garage
@Good-Enuff-Garage 4 года назад
This is some wicked smart shit! I don't understand any of it, but respect those that do, ha ha
@williamPennell
@williamPennell Год назад
Great learing module sir thank you...
@pusatberk4193
@pusatberk4193 3 года назад
what is the library that you are using for stm programming ? Thank you.
@carlosciturini4918
@carlosciturini4918 3 года назад
Thanks for the video.Let mi suggest a topic : An electrical axis. An master encoder, a slave encoder and an output that control a motor+slave encoder that follow to master encoder in velocity and phase with a low margin de error (< 5 degrees so and so). Thanks Johannes
@seimela
@seimela Год назад
I hated working with Resolver that encoder ,this video changes my attitude
@EngineersFear
@EngineersFear Год назад
Great 🙂
@aravinds123
@aravinds123 4 года назад
Superb video. Thanks for the in depth walk through!! Looking for more in this series. Btw, just a basic question: why are there many coils when there are 2 output signals and 1 input? Are they connected on parallel?
@EngineersFear
@EngineersFear 4 года назад
To be honest, I have no idea. It is 4 pole pairs (1 physical turn yields 4 electrical), thats probably got something to do with it
@tobybee
@tobybee 4 года назад
According to my understanding they are connected in series. The one in the middle is the Tx and the right one next e.g.the sine coil and the one left to the Tx is the cosine Winding. However, a 4 pole pair should have 12 cool systems instead of 10 :/
@Aaaaaaaaaaaaaamin
@Aaaaaaaaaaaaaamin 10 месяцев назад
Hi, Thanks for the video. I will be trying to replicate this resolver on TI MCU.
@isaksoderlund5640
@isaksoderlund5640 5 лет назад
I really liked this. When the leaf inverter chip is released could you make a tutorial for that as well?
@EngineersFear
@EngineersFear 5 лет назад
Thanks! Yes I can make an installation video
@david-ek3uo
@david-ek3uo 2 года назад
Can i conect a synchro of 400 hz to 60 hz????
@konstantin88181
@konstantin88181 4 года назад
Hello! Is this board "Main board V3" capable of handling prius gen 2 inverter coupled with any toyota PMSM motor with resolver? Thank you!
@EngineersFear
@EngineersFear 4 года назад
The exact combination has not been tested, but yes the board can handle resolver and the software can handle PMSM. Both tested with Nissan Leaf hardware
@konstantin88181
@konstantin88181 4 года назад
@@EngineersFear Cool, I'm now in the middle ow hard desigion what to buy for prius gen 2 inverter. Another last one question: are two boards capable of handling two inverters(inside prius inverter case) in parallel to drive two similar motors(tesla-like 4WD) or one board can handle two inverters at the same time? Thank you!
@EngineersFear
@EngineersFear 4 года назад
@@konstantin88181 Yes you'd need two controller boards
@konstantin88181
@konstantin88181 4 года назад
@@EngineersFear I've already came to same conclusion because the board needs to get a feedback from a motor. And feedback from two motors will be different. Thank you!
@elmnaoirfer3751
@elmnaoirfer3751 Год назад
If we set 7 volts in the primary coil, what will be the peak voltage in the cosine coil at angle zero Is it 7 volts or less? The rule to find out the peak voltage at angle zero is as follows (peak potential of the cosine signal = voltage on the input coil x cosine of angle sita) (V cosine=Vr x cos cita)
@chromebooksl4626
@chromebooksl4626 Год назад
Johannes, could you please share winding schemes of resolver, and drawings or sizes of stator and rotor ? as I remember rhis type of resolver (with this type of rotor) named Verner ?
@EngineersFear
@EngineersFear Год назад
Will see what I can do, got one resolver left over
@alank.3519
@alank.3519 Год назад
Thank you for this excellent and informative video, Johannes. Please would you consider expanding the code to handle synchro resolvers which have three secondary windings connected in a Y configuration? Otherwise, it is necessary to convert the 3 phase synchro signal to a 2 phase resolver using a Scott-T transformer (difficult) or equivalent solid state converter. Thank you again 👍
@EngineersFear
@EngineersFear Год назад
You're welcome. It's targeted to EV motors and those don't seem to use synchro resolvers. Sounds like you need something like a Clarke/Park transform for that. It's open source, give it a shot ;)
@JamieJones1985
@JamieJones1985 3 года назад
Is there a way to determine the resolver pole pairs count?
@EngineersFear
@EngineersFear 3 года назад
In the picture you see that the core has 4 lobes = 4 pole pairs. But I haven't seen enough different resolvers to be sure it's always that easy.
@JamieJones1985
@JamieJones1985 3 года назад
@@EngineersFear Thanks, I'll go with that to start with, mine appears to be 4 pairs by that reasoning too. openinverter.org/wiki/images/d/d1/20201124_214308.jpg
@anthonygee9509
@anthonygee9509 4 года назад
Functional safety involves correct component selection, electronics/system design, as well as software development. Safety doesn't seem to be covered in any of your videos or inverter designs, which is worrying because an incorrect torque could cause a serious accident.
@anthonygee9439
@anthonygee9439 4 года назад
I see no mention of functional safety. Have you at least tried to meet any safety standards, and if so, which ones and how?
@EngineersFear
@EngineersFear 4 года назад
Well I do check for minimal amplitude. Otherwise I suggest you check the recent code on github
@EmyrDerfel
@EmyrDerfel 5 лет назад
The fan noise in your office is quite intrusive. A lapel mic should avoid this.
@EngineersFear
@EngineersFear 5 лет назад
Yeah sorry about that, it was a digging machine
@EmyrDerfel
@EmyrDerfel 5 лет назад
Sorry, I meant when you were showing the sourcecode, it sounded like the computer's CPU fan.
@EngineersFear
@EngineersFear 5 лет назад
Oh ok, yes that's possible. Will take care of it
@EngineersFear
@EngineersFear 5 лет назад
Indeed, when I was editing the video the fan was going so I didn't realize it was on the recording also
Далее
EV fundamentals #2 - CAN communication
24:35
Просмотров 2,1 тыс.
Resolver
4:28
Просмотров 170 тыс.
How do Hybrid Cars Work?
23:41
Просмотров 101 тыс.
Introducing the Resolver
6:26
Просмотров 12 тыс.
{766} How To Test Resolver || What is Resolver
19:39
Просмотров 15 тыс.
Hacking a weird TV censoring device
20:59
Просмотров 3 млн
EV fundamentals #5: Field Weakening
26:22
Просмотров 6 тыс.
Difference between encoder and resolver
2:56
Просмотров 33 тыс.