Search found 310 matches

by pf26
05 Nov 2018, 14:46
Forum: VESC Projects
Topic: Dual VESC - Single Motor
Replies: 1
Views: 240

Re: Dual VESC - Single Motor

I can't think of any way to do this properly, even with an encoder, since the VESC uses the motor winding inductance to produce a relatively smooth current from rough PWM. Even using external inductances, I doubt it would work. I would use several (VESC+motor), and run them in parallel (on the same ...
by pf26
14 Oct 2018, 14:31
Forum: FOC
Topic: FOC settings configuration
Replies: 9
Views: 726

Re: FOC settings configuration

I think it is something like +/-165Amps (current is sinusoidal, so can be negative or positive, and measured relative to Vreg/2).
You probably need this to drive motors up in the 100+ Amps peak current to get torque at startup..
by pf26
03 Oct 2018, 12:49
Forum: FOC
Topic: Position Control
Replies: 18
Views: 10015

Re: Position Control

Seems like an issue in float to int32 conversion ? I think you only cast your float as an int32 when you should convert the float value to an int value.
Something like : (int32_t)(pos * 1)... would be better probably.
by pf26
01 Oct 2018, 16:39
Forum: Hardware Problems
Topic: Heavy motor vibrations in ebike hub motor
Replies: 2
Views: 387

Re: Heavy motor vibrations in ebike hub motor

Did you remove the filters (capacitors) at the hall input pins ? This would definitely alter the hall signals above a certain frequency/speed.
Did you give it a try in sensorless mode ? Does it fell better once properly configured ?
by pf26
28 Sep 2018, 08:31
Forum: Feature Requests
Topic: Max acceleration limiting
Replies: 1
Views: 354

Re: Max acceleration limiting

What kind of vehicle are you talking about ? Usually, there is quite a lot of inertia to limit the acceleration rates.. Most likely you could modulate your current reference according to the measured acceleration using a custom app (ie, not changing the main firmware). Or just modify the existing ap...
by pf26
21 Sep 2018, 15:36
Forum: Custom Applications
Topic: High Rate Low Latency Data from VESC
Replies: 1
Views: 368

Re: High Rate Low Latency Data from VESC

Yes, you can make a custom app to make VESC constanty spit out data at high rate. Here goes an example (simplified): #define CAN_DESTINATION 10 // static THD_FUNCTION(gene2_thread, arg); static THD_WORKING_AREA(gene2_thread_wa, 2048); // 2kb stack for this thread static THD_FUNCTION(gene2_thread, ar...
by pf26
16 Sep 2018, 07:35
Forum: Custom Applications
Topic: Diver propulsion vehicle (dpv) prototype
Replies: 1
Views: 181

Re: Diver propulsion vehicle (dpv) prototype

NTC: 10K (try to keep the same characteristics as the one used on the VESC PCB)
magnetic rotor (24p) : -> ERPM = 24/2 * RPM (assuming p is poles, not polepairs.) Quite easy to check anyways, for instance, there are free Strobe apps for Android phones, like Strobly...
by pf26
16 Sep 2018, 07:30
Forum: General
Topic: Braking in speed PID mode
Replies: 3
Views: 235

Re: Braking in speed PID mode

Running FOC or BLDC ?
Possibly, in the second example, the motor turns very slowly (smaller duty cycle), and braking is achieved by shorting the motor (no current IN) ?
by pf26
06 Sep 2018, 09:00
Forum: FOC
Topic: FOC settings configuration
Replies: 9
Views: 726

Re: FOC settings configuration

I think this motor is wound with many turns, so it requires relatively high voltage/low amp (someting like 30V-10Amps for 300W output near top speed). The original VESC works better in FOC mode for higher amps. I fear it is necessary to increase the Shunts (quadruple ?) and the firmware accordingly,...
by pf26
04 Sep 2018, 17:58
Forum: FOC
Topic: FOC settings configuration
Replies: 9
Views: 726

Re: FOC settings configuration

Your measured inductance seems surprinsingly low to me. Do you have more info on the motor ? When run in BLDC in full load, how many Volt/Amps do you use ? Possibly your Vesc has a faulty current measurement (which does not affect the BLDC mode too much). You could check the Current samples. Or try ...

Go to advanced search