EV fundamentals #1: How to read a resolver

Поділитися
Вставка
  • Опубліковано 31 лип 2024
  • 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

КОМЕНТАРІ • 46

  • @shaggygangst
    @shaggygangst 5 років тому +8

    Good idea sir, please continue this series with explaining how the code and hardware works.

  • @IfItAintBrokeStillFixIt
    @IfItAintBrokeStillFixIt 5 років тому +2

    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 місяці тому +1

    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 місяці тому +1

      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 роки тому +1

    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 роки тому +1

    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

  • @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 років тому +1

    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 роки тому +1

      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 роки тому +1

      @@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 Рік тому +1

    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  Рік тому +1

      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 років тому +1

    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 років тому +1

      Indeed, when I was editing the video the fan was going so I didn't realize it was on the recording also