Search found 5791 matches

by johu
Wed Mar 13, 2019 3:25 pm
Forum: Inverters / Motor Controllers
Topic: Inverter Firmware v4.12.R
Replies: 27
Views: 4777

Re: Inverter Firmware v4.12.R

I think I found it. In version 4.75 (uh, what happened to my version counting? Anyway, 4.75 is older than 4.12.R) I swapped sin/cos channels to mach the cable loom of the Leaf inverter. I think there is your problem. Can you swap sin/cos and try again?
by johu
Tue Mar 12, 2019 8:06 pm
Forum: Inverters / Motor Controllers
Topic: Calibration of current sensors Melexis. [SOLVED]
Replies: 3
Views: 2556

Re: Calibration of current sensors Melexis. [SOLVED]

Oh yes, those instructions need an update. With the Melexis sensors "winding 10 times through both sensors" is no longer possible. So in fact the sensors must be calibrated when mounted onto the target bus bar or cable. Either calibrate them with low current - whatever your lab supply is a...
by johu
Tue Mar 12, 2019 8:58 am
Forum: Inverters / Motor Controllers
Topic: Resolver Excitation with V2 mainboard
Replies: 52
Views: 11262

Re: Resolver Excitation with V2 mainboard

Yes that is how it should be. That said, in code I shift the field by 180° for reverse but it never quite runs in the same manner as in forward. But at least 5000 is in the right ball park. I use 55000 as default but that is found using an idle motor at 60V. So your value is probably better. EDIT: a...
by johu
Mon Mar 11, 2019 8:23 pm
Forum: Inverters / Motor Controllers
Topic: Resolver Excitation with V2 mainboard
Replies: 52
Views: 11262

Re: Resolver Excitation with V2 mainboard

OK then. Can you privide insight how to rotate the other way? We almost burned oil inside transmission in reverse. Of course: So "red" always wants to be exactly opposite of "blue". Therefor if you start out with a field offset of 270° or -90° the rotor will rotate anti-clockwis...
by johu
Mon Mar 11, 2019 7:44 pm
Forum: Projects
Topic: [DRIVING] Peugeot 406 coupe Pininfarina with Leaf motor and Ampera inverter [FINISHED]
Replies: 102
Views: 21667

Re: Peugeot 406 coupe Pinifirina with Leaf motor and Ampera inverter [FINISHED]

Nice project with lots of new approaches, I like it. How will you adapt the AC pipes to the new compressor?
I think the direction change logic you describe is already implemented in the inverter.
by johu
Mon Mar 11, 2019 1:00 pm
Forum: Inverters / Motor Controllers
Topic: Unlimited speed when fmax<20 [SOLVED]
Replies: 2
Views: 1843

Re: Unlimited speed when fmax<20 [SOLVED]

Indeed. In addition maybe the range of fmax should be limited to be at least 21Hz? Do you want to create another pull request?
by johu
Mon Mar 11, 2019 12:57 pm
Forum: Inverters / Motor Controllers
Topic: Schetch for troubleshooting
Replies: 3
Views: 1302

Re: Schetch for troubleshooting

by johu
Sun Mar 10, 2019 9:37 pm
Forum: General
Topic: Gallery / Garage
Replies: 3
Views: 988

Gallery / Garage

Its now one month ago that I offered VS to help fixing the Garage on "the old forum". Apparently they are not interested. So why don't we start one here? It's a powerful machine we're running on with 1TB of drive space so it can certainly handle a few pictures. What phpbb plugin would be a...
by johu
Sun Mar 10, 2019 9:32 pm
Forum: Inverters / Motor Controllers
Topic: Schetch for troubleshooting
Replies: 3
Views: 1302

Re: Schetch for troubleshooting

Yes, very good idea. Can you start a new article? That would give me the chance to test if I can edit an article that I haven't created.
by johu
Sun Mar 10, 2019 9:14 pm
Forum: User Interface
Topic: Web interface problems V2.1 mainboard
Replies: 39
Views: 13093

Re: Web interface problems V2.1 mainboard

Ok, you need to establish a stable connection to the wifi module. Just observe the green LED on the module. It gives a short pulse when the module restarts (which it might do because it can't talk to the firmware). Do not press any button while waiting. Once the LED stops flashing every 10s or so, t...
by johu
Sun Mar 10, 2019 3:33 pm
Forum: User Interface
Topic: Web interface problems V2.1 mainboard
Replies: 39
Views: 13093

Re: Web interface problems V2.1 mainboard

Does the green LED flash when the wifi board is not connected?
by johu
Sun Mar 10, 2019 3:26 pm
Forum: Inverters / Motor Controllers
Topic: Resolver Excitation with V2 mainboard
Replies: 52
Views: 11262

Re: Resolver Excitation with V2 mainboard

Hi Arber, that looks very promising! syncofs can also reverse direction, I think thats what happened.
Are you running coolant in your inverter? Modern car inverters have only very little thermal mass.
by johu
Sat Mar 09, 2019 7:32 pm
Forum: Inverters / Motor Controllers
Topic: Inverter Firmware v4.12.R
Replies: 27
Views: 4777

Re: Inverter Firmware v4.12.R

Hi Damian,

thanks for pointing it out, I'll research that.
by johu
Thu Mar 07, 2019 9:02 am
Forum: Inverters / Motor Controllers
Topic: Over current limiting issues
Replies: 13
Views: 3100

Re: Over current limiting issues

Oh, one simplification: you don't need to convert integer constants to fixed point.
FP_MUL(fp, FP_FROMINT(4)) == 4*fp
Likewise for division
by johu
Thu Mar 07, 2019 8:27 am
Forum: Inverters / Motor Controllers
Topic: Over current limiting issues
Replies: 13
Views: 3100

Re: Over current limiting issues

Hi Nail, so if separate supply of current sensors doesn't help, could it be something else? Do you actually see a small voltage drop on the current sensor output? Maybe you can simulate the gate driver operation by putting a 10Ohm resistor from 5V to GND and see if it causes the same problem. Can yo...
by johu
Thu Mar 07, 2019 6:52 am
Forum: Battery Managment (BMS)
Topic: 4-channel BMS with daisychain bus
Replies: 230
Views: 65531

Re: 4-channel BMS with daisychain bus

Yes coulomb counting I already do. It would be interesting to calculate the actual state of charge for each cell and how it differs from the coulomb counted SoC. That way you could determine SoH for each cell. Yes top level computer is Linux. Beaglebone or Pi. Took a picture of the setup this mornin...
by johu
Wed Mar 06, 2019 6:19 pm
Forum: Battery Managment (BMS)
Topic: 4-channel BMS with daisychain bus
Replies: 230
Views: 65531

Re: 4-channel BMS with daisychain bus

More testing today with 25 modules installed on the rear pack. All works nicely when idle. But now with all modules installed even charging disturbs communication, let alone driving. Cables still unshielded though. I will order some shielded cable and will tweak the low passes a bit more. It still l...
by johu
Wed Mar 06, 2019 6:15 pm
Forum: Toyota/Lexus
Topic: Prius Gen3 Inverter Hacking
Replies: 323
Views: 68145

Re: Prius Gen3 Inverter Hacking

Wow, that looks like a lot of work, great achievement!
by johu
Wed Mar 06, 2019 6:31 am
Forum: Inverters / Motor Controllers
Topic: Over current limiting issues
Replies: 13
Views: 3100

Re: Unstable rms current reading and a possible fix

Yes you're right, that was a mistake. Now I found something I did years ago but must have forgotten about. Basically I applied the space vector algorithm to the 3 phase currents. sin.png So blue is MAX(ABS(I1), ABS(I2), ABS(I3)) as current implemented Red is ABS((MIN(I1, I2, I3) + MAX(I1, I2, I3)) /...
by johu
Wed Mar 06, 2019 6:08 am
Forum: Inverters / Motor Controllers
Topic: Resolver Excitation with V2 mainboard
Replies: 52
Views: 11262

Re: Resolver Excitation with V2 mainboard

I can't explain the wobble just yet. But is most certainly has something to do with syncofs. 1. Ok, so EMI does not seem to be the problem here. 2. Iftlrise and fall dampem the response of the over current limiting. The higher the value, the slower the reponse. ifltfall dampens how quickly the ampli...
by johu
Wed Mar 06, 2019 5:59 am
Forum: Inverters / Motor Controllers
Topic: Over current limiting issues
Replies: 13
Views: 3100

Re: Unstable rms current reading and a possible fix

Hi Nail,

sorry I keep overlooking new posts. We need some "Latest posts" function. So thats an interesting find, I'll look into it.
EDIT: in fact there is a "New posts" function hidden in the burger menu top left.
by johu
Tue Mar 05, 2019 7:24 pm
Forum: Battery Managment (BMS)
Topic: 4-channel BMS with daisychain bus
Replies: 230
Views: 65531

Re: 4-channel BMS with daisychain bus

Nice compact unit, have you worked out the rough costs of such a 4 cell monitoring slave? What sort of data rate are you using on the serial bus? What sort of through put time do you see from requesting voltages and getting them back? The BOM cost is like 3€ /w PCB. The manufacturing cost at low vo...
by johu
Tue Mar 05, 2019 7:17 pm
Forum: Inverters / Motor Controllers
Topic: Resolver Excitation with V2 mainboard
Replies: 52
Views: 11262

Re: Resolver Excitation with V2 mainboard

Yes I think unconnected shield is like no shield at all. 1. 8-pole is 4 pole pairs. So the assumed base speed of 6500rpm would happen at 6500/(60/4) = 433Hz 2. You can use 17.6kHz on Rev2 board. You have to make R1 about half the value (first resistor of 3-pole filter) 3. Could the scary noises be c...
by johu
Mon Mar 04, 2019 8:14 pm
Forum: Inverters / Motor Controllers
Topic: Resolver Excitation with V2 mainboard
Replies: 52
Views: 11262

Re: Resolver Excitation with V2 mainboard

Hi Arber, thats absolutely remarkable, now you're quite far ahead of me :) I think fweak is too high at 800, I was expecting more like 450. But then, what do I know... At least you should at least reach fweak in terms of rpm. I don't think EMI is the problem, that would show at low rpm. The instabil...
by johu
Sun Mar 03, 2019 11:38 am
Forum: Battery Managment (BMS)
Topic: 4-channel BMS with daisychain bus
Replies: 230
Views: 65531

Re: 4-channel BMS with daisychain bus

Did another test today. As usual shielded cable fixes the problem.