CAN boost and fweak
- Peter
- Posts: 310
- Joined: Fri Dec 14, 2018 9:07 pm
- Location: North West Lancs, UK
- Been thanked: 8 times
CAN boost and fweak
Hi forum. Thinking of sending different value CAN messages to Olimex to change boost and fweak when in different gears? In 1st gear I can run high boost but not when setting off in 2nd. Already reading CAN so its just a few more lines of code. Any thoughts guys ?
It would be great to have the ability to assign a parameter to a pot, that way you could tweak a parameter value on the fly for testing whilst on the move ? Could this be too much to ask Johannes
It would be great to have the ability to assign a parameter to a pot, that way you could tweak a parameter value on the fly for testing whilst on the move ? Could this be too much to ask Johannes
Re: CAN boost and fweak
This should be possible, have you looked at this:
https://openinverter.org/wiki/CAN_commu ... rs_via_SDO
If you have a arduino or something able to send configurable can messages, it would be possible to change parameter with a pot, switch or other input methods.
I would not have another pot input on the openinverter design, but I'm not Johannes H.
https://openinverter.org/wiki/CAN_commu ... rs_via_SDO
If you have a arduino or something able to send configurable can messages, it would be possible to change parameter with a pot, switch or other input methods.
I would not have another pot input on the openinverter design, but I'm not Johannes H.
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
- Peter
- Posts: 310
- Joined: Fri Dec 14, 2018 9:07 pm
- Location: North West Lancs, UK
- Been thanked: 8 times
Re: CAN boost and fweak
Hi joromy. Yes I do communicate via Arduino. I have not tried 'sending' CAN messages yet only receiving them so its my next playtime job Easy enough to assign a variable to the pot and use map to make the span correct so I will have a go. Watch this space for results
-
- Posts: 656
- Joined: Sat Oct 05, 2019 6:50 pm
- Location: Northern California, USA
- Been thanked: 1 time
- Contact:
Re: CAN boost and fweak
Hi Peter,
I was thinking about doing something similar (I have the same issue with boost..)
But what I was planning was sending different 'udc' values -- if you have udcnom set then the inverter scales boost and fweak according to the input voltage. Thus sending a higher-than-actual udc would result in lower boost and higher fweak, and lower-than-actual would be higher boost and lower fweak.
This might be the wrong combination for you but it is likely the easiest. Just be sure not to mess up the values on startup or you risk frying contactors or precharge resistor.
-Isaac
I was thinking about doing something similar (I have the same issue with boost..)
But what I was planning was sending different 'udc' values -- if you have udcnom set then the inverter scales boost and fweak according to the input voltage. Thus sending a higher-than-actual udc would result in lower boost and higher fweak, and lower-than-actual would be higher boost and lower fweak.
This might be the wrong combination for you but it is likely the easiest. Just be sure not to mess up the values on startup or you risk frying contactors or precharge resistor.
-Isaac
Re: CAN boost and fweak
Yes please tell us how it goes, and some code example.Peter wrote: ↑Wed Jul 08, 2020 1:13 pm Hi joromy. Yes I do communicate via Arduino. I have not tried 'sending' CAN messages yet only receiving them so its my next playtime job Easy enough to assign a variable to the pot and use map to make the span correct so I will have a go. Watch this space for results
I'm interested in doing some similar, but to lacy
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
- Peter
- Posts: 310
- Joined: Fri Dec 14, 2018 9:07 pm
- Location: North West Lancs, UK
- Been thanked: 8 times
Re: CAN boost and fweak
My aim is to have good initial acceleration and then increase fweak to give power higher up the rev range, but this may not work due to my pack voltage being low (220) relative to the motor rating voltage (208). However if it means I will not be stressing or blowing igbt's (please advise here) then I may use motor RPM as the reference and alter fweak accordingly. Any thoughts guys ?
- johu
- Site Admin
- Posts: 5778
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1018 times
- Contact:
Re: CAN boost and fweak
fweak by definition uses motor rpm as reference. Increasing fweak will not shift power higher up but will rather decrease available power. I would take it out of the equation for now and just play with boost
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Peter
- Posts: 310
- Joined: Fri Dec 14, 2018 9:07 pm
- Location: North West Lancs, UK
- Been thanked: 8 times
Re: CAN boost and fweak
Thanks Johannes. How far into the initial rev range does boost play a part ? Also when I floor the throttle at any part of the rev range (0-9000) I get an initial surge (even up around 7500) which dies off quickly, can this be attributed to any parameter(s) please as I would like to be able to extend the power.
I could add another 50v to my pack, would this be the better choice? Thanks in advance. Peter
I could add another 50v to my pack, would this be the better choice? Thanks in advance. Peter
- Peter
- Posts: 310
- Joined: Fri Dec 14, 2018 9:07 pm
- Location: North West Lancs, UK
- Been thanked: 8 times
Re: CAN boost and fweak
Hi Issac96. I checked Udcnom inputting values from 300v down to 50v in 50v steps. Interesting results too.
Boost 1830 to 303.
Fweak 131 to 791.
From this Boost is too low so I would have to send the Boost value via CAN and not use Udcnom, therefore Fweak would be sent separately too maybe.
My next test will be to set Boost lower than (3500) and Fweak higher than (125) and see how it runs then vice versa.
From this I hope to see what switching values with gear change will achieve.
Boost 1830 to 303.
Fweak 131 to 791.
From this Boost is too low so I would have to send the Boost value via CAN and not use Udcnom, therefore Fweak would be sent separately too maybe.
My next test will be to set Boost lower than (3500) and Fweak higher than (125) and see how it runs then vice versa.
From this I hope to see what switching values with gear change will achieve.
- Peter
- Posts: 310
- Joined: Fri Dec 14, 2018 9:07 pm
- Location: North West Lancs, UK
- Been thanked: 8 times
Re: CAN boost and fweak
Did some testing last eve.
Setting Boost lower (6500 > 3500) and Fweak higher (125 > 185) was a step backwards, sluggish acceleration but still got to top speed... eventually ! Raised Boost (6500 > 7000) and Fweak (125 > 150) together, better take off and acceleration slightly better throughout the rev range. Raised current limit too (420 > 440) which no doubt helped by stopping shut down with this higher Boost. Will try to lift both values again this evening and report back.
I am sure if I could raise current limit higher still it would be awesome.... higher rated igbt's and a higher rated fuse for Xmas ??
Setting Boost lower (6500 > 3500) and Fweak higher (125 > 185) was a step backwards, sluggish acceleration but still got to top speed... eventually ! Raised Boost (6500 > 7000) and Fweak (125 > 150) together, better take off and acceleration slightly better throughout the rev range. Raised current limit too (420 > 440) which no doubt helped by stopping shut down with this higher Boost. Will try to lift both values again this evening and report back.
I am sure if I could raise current limit higher still it would be awesome.... higher rated igbt's and a higher rated fuse for Xmas ??
Re: CAN boost and fweak
If sending CAN commands for various parameters, they reset to the saved flash settings on power cycle, correct?
Formerly 92 E30 BMW Cabrio with Tesla power
- johu
- Site Admin
- Posts: 5778
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1018 times
- Contact:
Re: CAN boost and fweak
yes
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9