Newb Probs with UDC
Posted: Fri Nov 11, 2022 9:12 pm
Hi Friends, I'm "working" on swapping Leaf Gen2 (2013) motor/inverter into an NB Miata (1999). I gave myself a year, and am about 4 months in. I bought the Leaf Gen2 Community Edition, think I have it assembled and installed properly, but am having UDC issues similar to @E46driver here. Here's what I've done so far:
E46driver found some bad connections at the headers, so I have gone back and verified all the pins at the connector, double checking gnd, 12v, and 5v feeds. I've gone back to the Leaf and mini boards, and checked conductivity of header pins from front to back, and to adjacent pins. I'm very confident in the mini board as I had those cleaned up by the pro who installed the 10k resistor for CAN. The Leaf adapter board I am mostly confident in. Connectivity was good front to back (is there a better way to check?) and all pins were isolated except 2. These were the right two pins on the left connector (I can't find a board map, not sure how to identify it.)
I followed @Johu's suggestion to @Renegate2020 and triple checked the pin running to R2 and R5. It seems fine, but I didn't follow the other suggestions as I'm not comfortable with the micro-soldering. I could try to check voltage at that pin, but I don't know what it would mean or how to fix if it was an issue.
I appreciate any insight in something additional to check, I'm just not sure where to go. I'd like to get this right before connecting HV (plan to test and calibrate at about 70V). Any help would be most appreciated! Thank you!
- Had a pro tie CAN slew rate pin to ground with 10k
- Installed latest firmware
- Wired a testbox, with 4 on/off toggles (ON, brake, tbd1, tbd2), 1 momentary button (start), 1 3-way rocker (fwd, off, rev), dial potentiometer, 12v-5v buck converter
- Wired/Pinned a connector for the inverter (less brake out and BMS in), currently have 12v, 5v, ground, start, fwd, rev, brake wired to testbox
- Identified +/- control wires for Leaf contactor assembly (B-, pre+, B+)
E46driver ended up with offset of 299. I feel I have a similar problem as his initial offset was 3842 and mine is 4092! Both extremely high, barely within range, and probably wrong!Now make sure the input to the sensor board is disconnected. Get the value of udc and write it to udcofs:Code: Select all
set udcgain 1 set udcofs 0
Code: Select all
get udc 500.00 set udcofs 500
E46driver found some bad connections at the headers, so I have gone back and verified all the pins at the connector, double checking gnd, 12v, and 5v feeds. I've gone back to the Leaf and mini boards, and checked conductivity of header pins from front to back, and to adjacent pins. I'm very confident in the mini board as I had those cleaned up by the pro who installed the 10k resistor for CAN. The Leaf adapter board I am mostly confident in. Connectivity was good front to back (is there a better way to check?) and all pins were isolated except 2. These were the right two pins on the left connector (I can't find a board map, not sure how to identify it.)
I followed @Johu's suggestion to @Renegate2020 and triple checked the pin running to R2 and R5. It seems fine, but I didn't follow the other suggestions as I'm not comfortable with the micro-soldering. I could try to check voltage at that pin, but I don't know what it would mean or how to fix if it was an issue.
I appreciate any insight in something additional to check, I'm just not sure where to go. I'd like to get this right before connecting HV (plan to test and calibrate at about 70V). Any help would be most appreciated! Thank you!