Search found 329 matches

by marcos
Jan 29 2019 3:17pm
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller: Firmware released!

Running the FOC loop every 3 PWM periods for example is not that trivial because there is no cpu intervention, everything is configured on init so its the hardware calling the ISR (PWM triggers ADC, ADC triggers DMA, DMA triggers FOC), I'm not aware of a hardware setting to skip any trigger of that...
by marcos
Jan 29 2019 10:50am
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller: Firmware released!

Yeah, I looked at doing 100khz GaN VESCs a few times, at those frequencies you can eliminate the electrolytic caps and only have ceramic or ceramic + polymer caps. Those electrolytic caps contribute quite a bit to size and heat, you should also get some minor motor efficiency gains and possibly bet...
by marcos
Jan 29 2019 7:37am
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller: Firmware released!

Did you decouple the ADC ISR from the PWM freq so PWM can be set to multiples of the ADC ISR? No, it limits the max pwm frequency in the same way a hardware version can set hardcoded limits for current. If you enter 60kHz when you store the config that field will be truncated to 30kHz and a window ...
by marcos
Jan 28 2019 6:44pm
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller: Firmware released!

So I've been working in a private git repository and now its about time to push RevD board firmware branch to the public repo. https://github.com/paltatech/bldc/commits/powerdesigns-dev Firmware changes are meaningful but not earth-shattering: * Straightforward parameter detection * Better watchdog ...
by marcos
Jan 24 2019 4:30pm
Forum: E-Vehicles General Discussion
Topic: Cheap FOCer (VESC 4.12 based design)
Replies: 212
Views: 27600

Re: Cheap VESC (VESC 4.12 redesign)

You could test that hex image in another vesc, or if you happen to have a discovery f4 board it should also boot like a vesc and show up as an usb cdc device. I do the good'n old make && make upload to be sure what I'm working with. Also make sure BOOT0 is not high during powerup, it could be bootin...
by marcos
Jan 24 2019 12:57pm
Forum: E-Vehicles General Discussion
Topic: Cheap FOCer (VESC 4.12 based design)
Replies: 212
Views: 27600

Re: Cheap VESC (VESC 4.12 redesign)

When you unplug the stlink its likely that the board will reset and perhaps its not recovering from that.
Did you flash the bootloader?
by marcos
Jan 20 2019 2:03pm
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

Okay, PM sent. For the people following along, the economics of a desat-protected drive makes it worth it. Imagine such drivers costs $85 each and cover top+bottom switches. x3 = $255. How much would it cost 3 gate drivers without protection? Can I guess $30 each? x3 = $90 You saved $165. Thats almo...
by marcos
Jan 20 2019 7:43am
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

Hi Alberto, Repo is not updated yet, but I'll have a few boards soon, the assembly house sent me pictures of the assembled boards and I hand-assembled a couple so I can test them sooner, and so far its going great. What power level are you aiming at? Your gate drivers should have desaturation protec...
by marcos
Jan 16 2019 11:10pm
Forum: Motor Technology
Topic: Esc current sensing
Replies: 18
Views: 1180

Re: Esc current sensing

Might be related to the floating point cpu. I think all current instaspin-enabled devices use fixed point, I would expect instaspin to be compatible with my floating point code.
by marcos
Jan 13 2019 10:08pm
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

interestingly I made a VESC with the same filters and it allows you to see the BEMF even in FOC mode, without them you just get a flat line. I wonder if I plot a digitally filtered signal I can obtain a reasonable BEMF. I'm not sure if FPGA is still worth it these days, on the 200mhz C2000 MCUs the...
by marcos
Jan 13 2019 8:16am
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

I always wish there was a more portable version of the VESC software with just FOC and VESC tool support. Someone very familiar with this code can port the very basic FOC, SVM PWM, a single comm interface and a minimal set of config management (no bootloader, fancy virtual pages) even to another mc...
by marcos
Jan 13 2019 5:26am
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

Looks similar to how Ti instaspin foc motor detection works, you give it a target current and ERPM combined with a ramp up period to slowly build ERPM in open loop sinusoidal mode I should give instaspin a try. I used C2000's for other power applications, but not motot control. I think I saw Lmax a...
by marcos
Jan 12 2019 9:07am
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

On a side note, I've been working on improving parameter detection for this board. In order to measure the motor flux linkage the controller needs to spin up the motor, release it and then measure BEMF+rpm and with that it calculates the flux linkage. The problem is, how does a controller spin a mot...
by marcos
Jan 12 2019 7:45am
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

hi it have 2 types of resistor PR02 FS 0202208KR500 (Metal Film Resistors - Through Hole 2watt 2.2ohms 10% Fusible NonInductive ) PR02 00 0202408JR500 (2.4 Ohms ±5% 2W Through Hole Resistor Axial Automotive AEC-Q200, Flame Retardant Coating, Safety Metal Film ) in data sheet say i need PR02 2.4 5% ...
by marcos
Jan 10 2019 9:49pm
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

hi I was a little busy with another project (RusEFI) ... checked some points with oscilloscope (and with my understanding I did not find any problems) ... but I think I found a problem ... i have infineon FF600R12ME4 and as I understand it, I need to install on GATE DRIVER resistor R120/R200 1.5om ...
by marcos
Jan 07 2019 4:33pm
Forum: Motor Technology
Topic: Sensorless at standstill, development updates and status
Replies: 79
Views: 10106

Re: Sensorless at standstill, development updates and status

My control board is running this code
code snippet.png
All "float" variables are 32 bit, math is done with the hardware floating point instruction set.

Just my 2 cents, might speed up your algorithm-fu.
by marcos
Jan 07 2019 11:13am
Forum: Motor Technology
Topic: Sensorless at standstill, development updates and status
Replies: 79
Views: 10106

Re: Sensorless at standstill, development updates and status

I actually never used processors from TI because their software is/was not available for Ubuntu Linux. TI C2000 processors come with an Eclipse-based IDE that works on linux. Been using it for quite a while in my ubuntu laptop, works ok provided your machine can haul Eclipse. If your main value is ...
by marcos
Jan 03 2019 1:55pm
Forum: Motor Technology
Topic: SPM VS IPM Motor - And Field weaken, is it worth it
Replies: 85
Views: 8592

Re: SPM VS IPM Motor - And Field weaken, is it worth it

I believe, if the controller would continue to supply field weakening current when we are off the throttle, those IPM motors would continue to spin due to the reluctance torque. This could turn out to the same drama as if your throttle would get stuck at half. "field weakening current", or more acc...
by marcos
Jan 01 2019 6:47pm
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

[youtube]https://youtu.be/oq1e5R_C7QA[/youtube] Abricosvw, I just saw the video. Couple of comments * When you load an xml motor config file, it is only loaded to the GUI, not to the MCU. After config is loaded to the GUI you should hit "Write motor configuration" to send it to the MCU. To check th...
by marcos
Dec 31 2018 2:13pm
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

Hey marcos The current sensor you used in repo is not available anywhere any replacement for this. Sent from my COR-AL00 using Tapatalk Maybe this one ...300 amps ... https://www.mouser.com/ProductDetail/ICE-Components/ISB-300-A-802?qs=sGAEpiMZZMt5HSdYdJgvycKzNgY%2f7c8jm4nIHzsVv52Awl3Hhjwu4w%3d%3d ...
by marcos
Dec 31 2018 10:52am
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

is it possible in more detail which elements should be replaced by ADCMP392ARZ ...(It will be great if you point it to the pic) The change I made was to replace all LM2903DT comparators with ADCMP392ARZ. With the LM2903 you might have sporadic overcurrent trips at lower than desired currents becaus...
by marcos
Dec 26 2018 2:49pm
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

One comment about the DFU download: The reason behind connecting the board only with usb during flashing is because I want the gate drivers turned off, without 15V supply. If you supply the board with 12V it will generate 15Vdc, 5V and 3.3v. If you supply the board from USB it will only generate 5v ...
by marcos
Dec 26 2018 10:43am
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

I'm a bit behind posting here. I sent abricosvw a binary and some instructions to flash the board without needing an external STlink board, using only the built-in USB and a standard protocol for firmware upgrade (DFU: Device Firmware Upgrade). I wanted those instructions posted here as well. If you...
by marcos
Dec 21 2018 11:25pm
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

maybe its help you ... I use and buy here ... https://www.ebay.com/itm/1Pcs-FF600R12ME4-INFINEON-IGBT-MODULE-with-DRV6T-OP5605-INVERTER-DRIVE-PLATE/192730475493?hash=item2cdfa1abe5:g:xrEAAOSwUKxYbeqg:rk:17:pf:0 https://www.ebay.com/itm/Cornell-Dubilier-947C361K801CAIS-Polypropylene-Film-Capacitor-3...
by marcos
Dec 21 2018 11:10pm
Forum: Motor Technology
Topic: Axiom: a 100kW+ motor controller
Replies: 414
Views: 89053

Re: VESC-controller

Abricosvw, youtube links are broken I think, could you check them? I overcame the need of an STlink and I can flash the mcu even with an erased or broken firmware directly from the USB. I'll send you a binary that includes both bootloader and vesc firmware, plus the single command that gets the job ...