DIY Gen 1 MG2 Replacement P3125 P3000 P3009 P3191

Discussion in 'Generation 1 Prius Discussion' started by Markus Reynold, Jan 5, 2015.

  1. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    25,092
    16,361
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    I never saw anything published by Toyota on how to do that; it seems they do it at the factory and then say "don't touch that".

    But you can probably get some ideas out of this Ford patent just published three years ago.

    It really does seem like Ford has a better idea. :) Instead of having to fuss with micro-positioning the resolver just so, they'll let it be somewhere in the ballpark, and program their ECU to try a range of offsets on either side, in software, and remember the best value, and just apply that to the actual resolver reading. The method in the patent would allow them to do that while driving. (Not normal driving, but driving in a special learning mode. Still, pretty neat.)

    Column 9 of the text (page 12 in the pdf) is where the yummy math starts.

    I wonder if there'd be a way to build a sort of resolver faker for a Prius, something you could plug in between the real resolver and the ECU, and advance or delay the apparent reading over a small range of degrees. I'm not sure how easy that would be as a pure analog circuit; maybe it would be easier to buy the same IC that's used inside the ECU to turn the analog sine/cosine signals into a 0 to 4095 digital rotor position. (It's an off-the-shelf IC; somebody posted its data sheet here years ago.) Then just add or subtract a small offset (wrapping around from 0 to 4095). The fun part would be the D/A conversion to turn that back into the analog signals the Prius ECU is expecting.

    Then you might be able to run the Prius in a stationary way, say on a dyno, and sweep the fake resolver signal over a small range ahead and behind the real one. If you also had measurements of the MG2 U, V, and W phase voltages and at least two of the currents, presumably you could apply the same Clarke and Park coordinate transformations discussed in the patent, find the zero crossing in the transformed space, and use the faked resolver offset at that point to work out what the real one should be.

    The last step, instead of having the ECU remember the offset as Ford wants to do, would just be to go back to the real resolver and loosen and nudge it by just that amount, then tighten it real good.
     
    telmo744 likes this.
  2. Fred_H

    Fred_H Misoversimplifier

    Joined:
    Apr 20, 2007
    556
    479
    28
    Location:
    Germany
    Vehicle:
    2007 Prius
    Model:
    Touring
    See the Weber Auto video on how to get it probably close enough:

     
    telmo744 likes this.
  3. Tombukt2

    Tombukt2 Senior Member

    Joined:
    Nov 29, 2020
    10,691
    1,851
    0
    Location:
    Durham NC
    Vehicle:
    2009 Prius
    Model:
    Base
    Man I cannot imagine doing this with all the 1nz import engines avail from Asia. But uhhh good show. My Aus buddies like these long drawn out jobs. Some their cars down a year whilst 5hey work and tear down etc . I couldn't stand the wait. So I keep 3 cars and a few motorbikes around inexpensive. And never wait to go

    SM-A715F ?
     
  4. Q*bertZ

    Q*bertZ Member

    Joined:
    Oct 22, 2019
    155
    38
    0
    Location:
    greenville south Carolina
    Vehicle:
    2002 Prius
    Model:
    N/A
    I just did this in my gen 1. The step that is not listed in the tear down...

    Before removing the k frame bolts, the steering column needs to be detached from the rack. This is done inside the car under the floor mat just behind the gas pedal. The battery needs to be disconnected and the position needs to be marked and put back in the same poston. It is a splined shaft, but not keyed. Be sure and mark the splined shaft as the connection is being removed. It can be reassembled in numerous positions. If the steering column is not removed, a lot of pressure is put on the rack shaft and the steering wheel will pull to the right from it getting bent under the weight of the transmission being lowered. 20220521_162220.jpg
     
    telmo744 likes this.
  5. kutcht1

    kutcht1 Member

    Joined:
    Nov 25, 2013
    305
    82
    0
    Location:
    Andover, Minnesota
    Vehicle:
    2008 Prius
    Model:
    N/A
    Great point, this step is the same on a GEN2, I have done it twice without issues.
     
    telmo744 likes this.