Search found 5840 matches

by johu
Wed Jan 16, 2019 8:33 pm
Forum: Inverters / Motor Controllers
Topic: Inverter Firmware v4.10.R
Replies: 0
Views: 1134

Inverter Firmware v4.10.R

Better support for high pulse count single channel encoders (contributed by Nail Güzel) Displaying last error in spot value channel (that also makes it possible to send it via CAN) Added error code when AC current limit kicks in Added experimental (!) AC_HEAT mode. It is supposed to heat the batter...
by johu
Mon Jan 14, 2019 9:51 pm
Forum: Projects
Topic: EV build Nissan Leaf donor
Replies: 58
Views: 13201

Re: EV build Nissan Leaf donor

Only found some data on the German wikipedia: https://de.wikipedia.org/wiki/Nissan_Leaf#Technische_Daten So apparently it reaches full power at 3008rpm. Any higher than that will just sustain 80kW or in other words, torque declines (linearly with speed, apparently). So of course you loose accelerati...
by johu
Sun Jan 13, 2019 11:36 pm
Forum: General
Topic: Large photo [SOLVED]
Replies: 3
Views: 1768

Re: Large photo [SOLVED]

Increased to 10M. Current php settings allow up to 128M
by johu
Sun Jan 13, 2019 11:28 pm
Forum: Inverters / Motor Controllers
Topic: The parameter documentation project
Replies: 13
Views: 3285

The parameter documentation project

In this thread I'd like to develop a description of the various parameters and how they affect operation. I'll start out with what can be found on https://openinverter.org/docs/index.html%3Fen_parameters,24.html . Please feel free to make suggestions, make graphs or drawings etc. to make it as easy ...
by johu
Sun Jan 13, 2019 11:09 pm
Forum: Projects
Topic: Inverter hardware build
Replies: 4
Views: 1865

Re: Inverter hardware build

Yes very nice! I assume DC input is an Anderson connector but what is the three phase one?
by johu
Sat Jan 12, 2019 1:42 pm
Forum: Inverters / Motor Controllers
Topic: Resolver Excitation with V2 mainboard
Replies: 52
Views: 11446

Re: Resolver Excitation with V2 mainboard

Hi Dima,

thanks for that. There was a non-obvious mistake in schematic, basically C9 was shorted.
by johu
Thu Jan 10, 2019 10:50 pm
Forum: Inverters / Motor Controllers
Topic: Ansaldo Motor
Replies: 47
Views: 11124

Re: Ansaldo Motor

Argh have to enable everything twice... Lets test
params_ansaldo_e39_driving_10_1.json
(1.25 KiB) Downloaded 186 times
So field weakening at 4000rpm, sounds sweet :) What power can you draw from the battery?

Regarding a comment from the previous video, I'd say scalar control FTW ;)
by johu
Thu Jan 10, 2019 7:44 pm
Forum: General
Topic: Enova motor parameter setup
Replies: 7
Views: 1748

Re: Enova motor parameter setup

Yes the point of udcnom is to automatically determine the values for fweak and boost should the voltage be unequal to udcnom. You can see the result of the calculation in boostcalc and fweakcalc. iacmax the topic of the week :) iacmax tries to preempt over current shutdown by reducing slip and outpu...
by johu
Thu Jan 10, 2019 7:39 pm
Forum: Inverters / Motor Controllers
Topic: Ansaldo Motor
Replies: 47
Views: 11124

Re: Ansaldo Motor

Finally, congratulations! Good thing I showed you the limiting code. Seems it really needs to be communicated more clearly what it actually does.
Give us the parameters!
I just allowed uploading with json extension, no need to zip anymore.
by johu
Tue Jan 08, 2019 8:40 am
Forum: Inverters / Motor Controllers
Topic: Ansaldo Motor
Replies: 47
Views: 11124

Re: Ansaldo Motor

I just thought of another systematic tuning method if all else fails: Set boost=500 Pull the handbrake, go into manual mode. Be ready to shut down the inverter should the car decide to take off. Set ampnom=100, fslipspnt=0.5 Now increase boost until you hit your desired current limit. Try to quantif...
by johu
Fri Jan 04, 2019 4:59 pm
Forum: General
Topic: Enova motor parameter setup
Replies: 7
Views: 1748

Re: Enova motor parameter setup

So 208V AC will require about 300V DC. So make sure you have calibrated DC bus voltage measurement and then set udcnom=300. Set fweak=120 and fmax=305. fslipmin=121-(3600/30) = 1, fslipmax you can start with 3 and later raise to 5. Since you are using udcnom, the actual fweak and boost values will b...
by johu
Fri Jan 04, 2019 4:04 pm
Forum: Inverters / Motor Controllers
Topic: Resolver Excitation with V2 mainboard
Replies: 52
Views: 11446

Re: Resolver Excitation with V2 mainboard

The back of the PCB is just vertical horizontal copper lanes. The RED cable is connected to GND, GREEN is R1 (amplifier output), WHITE and BLUE are -sin and -cos and tied to 1.6V, PINK and BLACK are sin and cos and go straight to JP5.1 and JP5.3 I'm not planning to make a PCB as an easier solution i...
by johu
Fri Jan 04, 2019 11:21 am
Forum: General
Topic: Forum structure
Replies: 15
Views: 3168

Forum structure

The current forum structure is what Dima and me came up with initially.
  • What other forum would you like to see? EV build forum?
  • Should we have a "HOWTO" forum with instructions for certain tasks? Or a wiki instead?
Thanks for your help.
by johu
Fri Jan 04, 2019 10:59 am
Forum: Inverters / Motor Controllers
Topic: Resolver Excitation with V2 mainboard
Replies: 52
Views: 11446

Resolver Excitation with V2 mainboard

Just repeating the post on the old forum here On the main board PD2 has to be routed to JP5.4 directly by replacing R6 with a wire bridge and removing R4. The mentioned 10k/1n low pass filter is already standard on the main board. R1 and R3 have to be removed from the main board. R1, R2 and R3 on th...
by johu
Tue Jan 01, 2019 6:56 pm
Forum: Inverters / Motor Controllers
Topic: Outdated printf.c? [SOLVED]
Replies: 12
Views: 4011

Re: Outdated printf.c? [SOLVED]

oh, never mind, it's just very silent. Weird.
Will add the -O2 -g3 flags again and remove --gc-sections. Otherwise I can't debug properly
by johu
Tue Jan 01, 2019 6:54 pm
Forum: Inverters / Motor Controllers
Topic: Outdated printf.c? [SOLVED]
Replies: 12
Views: 4011

Re: Outdated printf.c? [SOLVED]

Just merged the pull request but it doesn't compile. Like "make" has no effect.
make V=1 displays
Using ./libopencm3/ path to library
make: Für das Ziel „all“ ist nichts zu tun.
by johu
Tue Jan 01, 2019 6:23 pm
Forum: Inverters / Motor Controllers
Topic: Ansaldo Motor
Replies: 47
Views: 11124

Re: Ansaldo Motor

I think if the motor is so sensitive you should make use of the udcnom parameter sooner or later. Otherwise your tuning is off on battery sag.
by johu
Tue Jan 01, 2019 6:21 pm
Forum: Inverters / Motor Controllers
Topic: Outdated printf.c? [SOLVED]
Replies: 12
Views: 4011

Re: Outdated printf.c? [SOLVED]

Yes, I think we should use the new printf in the test program. In the main firmware feel free to test it, especially during inverter operation.
Would you mind modifying the pull request again?
by johu
Mon Dec 31, 2018 6:03 pm
Forum: Inverters / Motor Controllers
Topic: Ansaldo Motor
Replies: 47
Views: 11124

Re: Ansaldo Motor

Yes, the values and step sizes you used for finding a good setup would be really valuable.

Have a good new year :)
by johu
Mon Dec 31, 2018 5:37 pm
Forum: Inverters / Motor Controllers
Topic: Outdated printf.c? [SOLVED]
Replies: 12
Views: 4011

Re: Outdated printf.c? [SOLVED]

Just checked on the main firmware. I basically hard coded usart3 as output to skip various function calls. The output is always choppy because of various interrupts. I think this will be the same with the libc printf. A clean solution would be to supply the USART via DMA. That said, the USART3 TX DM...
by johu
Mon Dec 31, 2018 5:07 pm
Forum: Inverters / Motor Controllers
Topic: Outdated printf.c? [SOLVED]
Replies: 12
Views: 4011

Re: Outdated printf.c? [SOLVED]

The reason back then was the lacking support for fixed point numbers and (less importantly) the dependency on libc and libnosys. The binary size increases by 40k or by 30k with the --gc-sections flag. So the main firmware would swell from 35 to 65kb. It would also be possible to try and see if the f...
by johu
Sat Dec 29, 2018 10:52 pm
Forum: Inverters / Motor Controllers
Topic: Main board test software
Replies: 0
Views: 1159

Main board test software

Check it out: https://github.com/jsphuebner/stm32-test

Thanks to Dima for drawing the diagrams!
by johu
Sat Dec 29, 2018 7:56 pm
Forum: Inverters / Motor Controllers
Topic: Inverter powered battery heating
Replies: 13
Views: 2990

Inverter powered battery heating

I want to take up the discussion from the old forum concerning using the inverter as a battery heater. The technical background can be found in this paper . Basically you connect the pack midpoint to an AC output terminal, say of phase 1. Then you apply the described pulse pattern to phase 2. This w...
by johu
Sat Dec 29, 2018 7:45 pm
Forum: Inverters / Motor Controllers
Topic: Field Weakening for synchronous motors
Replies: 17
Views: 4016

Re: Field Weakening for synchronous motors

Hi Arber, thanks for the input. So 8000rpm with no weakening sounds very promising. No 3000rpm limit after all? I don't even want to dive into the hardware here, as I expect PMAC motor applications to use their original inverter. So I think before writing any code I will await the results of the fir...