Search found 28 matches

by kon
Thu Mar 31, 2022 2:39 am
Forum: Nissan
Topic: leaf battery pack peak amp
Replies: 2
Views: 1668

Re: leaf battery pack peak amp

got it, that;s what i figured, just wasn't sure. Thanks!
by kon
Mon Mar 28, 2022 4:41 am
Forum: Nissan
Topic: leaf battery pack peak amp
Replies: 2
Views: 1668

leaf battery pack peak amp

I'd like to run my Tesla LDU with a full leaf pack, but I'm worried that the pack won't be able to handle the power.
All I found was a peak output power of 228A in the wiki, is this the 'on-paper-max' or 'real world max' ?
thank you
by kon
Sat Nov 20, 2021 7:13 pm
Forum: Toyota/Lexus
Topic: prius gen2 remix
Replies: 11
Views: 2945

Re: prius gen2 remix

sounds good @johu, I can look into that. Do you have anything started with eagle already?

Took some pictures of the board today: (have a cutout on the lower case so I can debug/probe the board if necessary)
case.jpg
board.jpg
by kon
Thu Nov 04, 2021 6:49 pm
Forum: Toyota/Lexus
Topic: prius gen2 remix
Replies: 11
Views: 2945

Re: prius gen2 remix

I forgot to mention, I also charged a battery with this board (110VAC through MG1, charging 100VDC battery) which worked OK.
@johu let me know if you need/want help bringing up the adapter-board with KiCad
by kon
Wed Nov 03, 2021 4:53 am
Forum: Toyota/Lexus
Topic: prius gen2 remix
Replies: 11
Views: 2945

prius gen2 remix

Hi, I created a remix of the gen2 prius board: https://github.com/ksmola/PriusG2 I built it around Ampseal connectors and made a 3D printed enclosure for it (I can upload some photos later). It features the bigger 100pin F103VBT6, mostly because the 64 pin was already out of stock @jlc, however chan...
by kon
Sun Sep 19, 2021 5:00 pm
Forum: Toyota/Lexus
Topic: Prius Gen2 Adapter Board for CHARGING
Replies: 242
Views: 37689

Re: Prius Gen2 Adapter Board for CHARGING

Got it. Just to recap: When in charge mode the PI loop regulates the pwm duty cycle within pwmin and pwmax which changes HV battery voltage to achieve set charging current (on AC input). There is no upper current limit for the input, right?(in case the PI loop freaks out due to poor tuning) Is there...
by kon
Sun Sep 19, 2021 5:54 am
Forum: Toyota/Lexus
Topic: Prius Gen2 Adapter Board for CHARGING
Replies: 242
Views: 37689

Re: Prius Gen2 Adapter Board for CHARGING

My bad, I had the wrong pin pulled up high. My HV battery bus voltage is now within the expected window. The charging current however is not where I'd expect it to be. I set it to 1A and saw 2.5A output. Set it to 5A and 10A and also got 2.5A both times. When increasing pwmmax to 10 and max charging...
by kon
Sat Sep 18, 2021 8:21 pm
Forum: Toyota/Lexus
Topic: Prius Gen2 Adapter Board for CHARGING
Replies: 242
Views: 37689

Re: Prius Gen2 Adapter Board for CHARGING

Is CPWM supposed to stay pulled high with 470ohm at all times when charging?
by kon
Sat Sep 18, 2021 4:12 am
Forum: Toyota/Lexus
Topic: Prius Gen2 Adapter Board for CHARGING
Replies: 242
Views: 37689

Re: Prius Gen2 Adapter Board for CHARGING

quick update: So the DESAT error was due to the 12V supply drooping when the contactor closed. Replaced it with a solid 12VDC supply and no more errors. I see 164.8VDC on the DC bus and 164.2V on the HV battery side. pwmmin is set to 7.18, pwmmax to 9.0. I was expecting the regulation to only happen...
by kon
Fri Sep 17, 2021 8:30 pm
Forum: Toyota/Lexus
Topic: Prius Gen2 Adapter Board for CHARGING
Replies: 242
Views: 37689

Re: Prius Gen2 Adapter Board for CHARGING

Yes, measured with meter on copper bus bars.
Charger Params:
Charge mode:Buck
Chargecur: 2
Chargekp 20
Chargeki: 10
Chargeflt 2 dig
pwmmin: 7
pwmmax: 9
udcswbuck: 155
by kon
Fri Sep 17, 2021 4:48 am
Forum: Toyota/Lexus
Topic: Prius Gen2 Adapter Board for CHARGING
Replies: 242
Views: 37689

Re: Prius Gen2 Adapter Board for CHARGING

I ran into a strange issue while testing charge mode. When using 24V from a powersupply everything seems to work OK. However, things didn't quite work when I switched to 110VAC: A few seconds after plugging in the 110VAC (U and W on MG1, 30Ohm precharge resistor always on) the AC contactor closes (u...
by kon
Sun Jul 18, 2021 1:35 am
Forum: Inverters / Motor Controllers
Topic: stm32103R8 uart issues
Replies: 4
Views: 1311

Re: stm32103R8 uart issues

I removed the RB chip I had on another board and replaced the R8 with the RB. I was able to flash the no bootloader compile ok, and the LED is blinking but it gets stuck after a while. Strangely none of the release files work (no alive led, even on the RB), with or without loader. The board is not t...
by kon
Sat Jul 17, 2021 6:21 pm
Forum: Inverters / Motor Controllers
Topic: stm32103R8 uart issues
Replies: 4
Views: 1311

Re: stm32103R8 uart issues

yes, from master

Code: Select all

make clean
CONTROL=FOC make
binary attached
by kon
Sat Jul 17, 2021 5:24 pm
Forum: Inverters / Motor Controllers
Topic: stm32103R8 uart issues
Replies: 4
Views: 1311

stm32103R8 uart issues

I got a prius gen 2 board with the 64K R8 instead the 128K RB, since this was the only STM in stock at JLC... Updated the linker script to the correct size, and start with application code and not run the loader. The stm runs ok (led is blinking) MEMORY { rom (rx) : ORIGIN = 0x08000000, LENGTH = 56K...
by kon
Thu Jul 15, 2021 8:00 am
Forum: Chevy/Opel/Vauxhall/PSA
Topic: Chevy Malibu Hybrid battery
Replies: 6
Views: 4937

Re: Chevy Malibu Hybrid battery

Thanks! Well since its a hybrid all the ice related gear is still needed and takes up space so that's an issue. I like the size and specs of the Malibu battery, but i doubt its the only option. Just looking for something 1-5kwh and >300V
by kon
Wed Jul 14, 2021 6:32 pm
Forum: Chevy/Opel/Vauxhall/PSA
Topic: Chevy Malibu Hybrid battery
Replies: 6
Views: 4937

Re: Chevy Malibu Hybrid battery

I think even just 1kWh would be useful for this project. I doubt being able to reverse engineer the BMS CAN stream without a working donor car. Can you recommend a BMS for this battery?
by kon
Tue Jul 13, 2021 8:09 pm
Forum: Toyota/Lexus
Topic: Prius G2 connectors
Replies: 4
Views: 1127

Prius G2 connectors

I'm wondering what the dcdc (6pin C5) and battery (1pin B+) connectors are one the Prius g2 inverter.
They sure do look like Deutsch but I couldn't find a part # for the mating plug.
Does anyone have some info on that?
Thanks!
by kon
Tue Jul 13, 2021 6:36 pm
Forum: Chevy/Opel/Vauxhall/PSA
Topic: Chevy Malibu Hybrid battery
Replies: 6
Views: 4937

Re: Chevy Malibu Hybrid battery

The build is a hybrid, gen2 inverter and leaf motor so range is not a very big concern. I was wondering about the 450Wh usable? like what does that mean vs the 1.5kW? I've done some can message reverse engineering before but I don't have a working malibu to get a sniff from, so that will be difficult.
by kon
Tue Jul 13, 2021 3:29 pm
Forum: Chevy/Opel/Vauxhall/PSA
Topic: Chevy Malibu Hybrid battery
Replies: 6
Views: 4937

Chevy Malibu Hybrid battery

I found this battery and based on the specs it would be pretty ideal for my build:
2016-Chevrolet-Malibu-Hybrid-hybrid-battery.jpg
Has anyone of you used it before? I assume I wouldn't need a BMS, and could I charge it with the prius gen2 inverter (off 240V AC) ?

Thanks
by kon
Sat Jul 10, 2021 9:52 pm
Forum: Toyota/Lexus
Topic: Prius Gen2 bench test
Replies: 13
Views: 2358

Re: Prius Gen2 bench test

thank you, got it tuned and it runs like clockwork now!
by kon
Fri Jul 09, 2021 5:49 am
Forum: Toyota/Lexus
Topic: Prius Gen2 bench test
Replies: 13
Views: 2358

Re: Prius Gen2 bench test

I got it all running, using a 48V battery, leaf motor/resolver and FOC firmware. only issue I'm having is that the motor won't stop spinning once it started (after throttle input)
by kon
Tue Jun 29, 2021 9:11 pm
Forum: Toyota/Lexus
Topic: Prius Gen2 bench test
Replies: 13
Views: 2358

Re: Prius Gen2 bench test

Thanks Johannes! I got it hooked up to the inverter, and was able to spin the motor in manual mode. I'm using a kollmorgen kbm motor, and a 12V PSU. The motor itself does not have an encoder, but I could buy one if needed. Next step is hooking up a TPS (I have a spare e46m3 pedal) and run it in non-...
by kon
Mon Jun 28, 2021 1:35 am
Forum: Toyota/Lexus
Topic: Prius Gen2 bench test
Replies: 13
Views: 2358

Re: Prius Gen2 bench test

This test was board only (no inverter connected). I wanted to verify the output on the bench first, before connecting it to the inverter.
I was hoping that there is a way of testing outputs without inverter, but I guess it's easier to test with the board connected to the inverter ...
by kon
Sun Jun 27, 2021 7:13 pm
Forum: Toyota/Lexus
Topic: Prius Gen2 bench test
Replies: 13
Views: 2358

Re: Prius Gen2 bench test

Got around the tmphsmax by hard coding it to a random value within limits and recompiling the FW. I still can't start the inverter in manual mode. error memory shows STOP - DESAT I can get opmode to 1.0 by holding start pin high, but still no PWM out. Starting inverter in manual mode won't change op...
by kon
Sun Jun 27, 2021 7:07 am
Forum: Toyota/Lexus
Topic: Prius Gen2 bench test
Replies: 13
Views: 2358

Re: Prius Gen2 bench test

20pin connector only has +12 and GND connected, I can see that my opmode switches to RUN when touching +12 to the start pin.
I'm getting the following error msg:
[97950]: DERATE - TMPHSMAX
thmphsmax is already maxed out to 150°C , but tmphs is at 166.28°C