You are here

General discussion

VESC Software Understanding

Submitted by shubhamt on Wed, 2018-08-22 15:40

Hi,

I have a FOCBOX Motor Controller and I downloaded the entire package from Software link inside Documentation. I am trying to understand the flow of the program. By flow I mean how and where is the joystick(gamepad) command are accepted and how is the command send to motor controller from microcontroller?  Can someone help me out in understanding this?

Hub motor FOC detection.

Submitted by Roger Wolff on Tue, 2018-08-21 19:12

Hi, 

I have a new motor for my bike. (Something went wrong with the previous motor/controller. Both ended up fried.). 

 

Now this is a hub motor, so there is a bike wheel attached. Sure I could remove the wheel, but I'm pretty sure I can't put that one back again straight. So... I'll have to do the detections with the wheel on it. 

The RL measurement is fine. 

Now the standard lambda measurement tries to spin the motor way too quickly. With the wheel attached not an option. 

Switch two Motor Profiles/Modes (UART)

Submitted by anli on Thu, 2018-08-16 19:02

Hi guys,

I've built an e-kick-scooter and it works very well, except the German laws ;)

Driving electronic vehicles in the street without number plates, insurance, helmet, etc is illegal. But, there are "pedelecs", which are the smallest models of the e-bike section. Those are (nearly) handled as regular bikes, having the following limitations:

P_max = 250 W (on the wheel)

v_max = 25 km/h

- only Assist Mode: fire at 250 watts while pedaling (no throttle)

Sudden motor stop

Submitted by dmcke5 on Wed, 2018-08-15 13:50

Hi guys, I'm having a bit of a strange problem with my vesc. I've got it set up on a scooter with a D5035-125kv sensored motor (the hobbyking kit) using a twist grip throttle hooked up to the adc pin. I get what sounds like the motor loosing sync at high throttle input, but it only seems to happen over a certain speed as taking off from a stand still at wide open throttle I don't see the issue until I am about 75% of my maximum speed. If I return the throttle to zero and then open it again the motor starts up again like nothing happened.

Problem with Bluetooth connection (HM-10)

Submitted by squdowx on Mon, 2018-07-30 15:56

Hello. I'm trying to connect to the vesc by hm-10 module. Everything is wired like on image below. Red led on module is blinking quite slowly. VESC tool mobile is recognizing module, but after clicking "connect" nothing happens, just red led stops blinking and flash constantly for about 1 sec. Tried on 2 phones- Xiaomi mi 5s plus and Huawei p9 lite- both the same. After many tries i got such information (2nd image below). What i can do now? Is anyone knows what that error means?

Problem- Regen tripping out BMS on battery pack

Submitted by jasontwd on Sun, 2018-07-29 10:10

Hello,

We are having a problem with the VESC Re-gen/braking Amps tripping out the BMS on the battery pack we are using.

We are having to disable the braking function, it would be good to have braking on our project so we can slow down, but for now are running this in 'current' mode and freewheel if no throttle.

Question?

foc observer/phase loosing track at phase current limit

Submitted by Teslafly on Tue, 2018-07-24 18:46

I am having a problem that results in absolute overcurrent faults where it appears that the foc observer / phase looses track of the rotor position.

system specs:

vesc 4.2 running fw 3.38,

motor is alternator with 3A rotor current (basically bldc motor where the permanent magnets are replaced with an electromagnet)

real life phase measurements from lcr meter is 0.09ohms, 88uh at 20khz

running sensored with as5047 encoder (and it is so butter smooth with the encoder, until the fault.) (this fault happens in sensorless mode too)

Acceleration control to desired RPM

Submitted by bjohns on Fri, 2018-07-20 22:08

I'm using the VESC Tool as a controller for a motor that is being used to test flexible drive shafts. I like the feature of picking a desired RPM, but when I get to higher RPMs, I have to manually ramp up the motor speed so I do not break the shaft. Is there a way where I can enter my desired RPM and the motor will accelerate to that speed uniformly over a finite period of time?

We would really love a bit of guidance. Thanks!

Pages

Subscribe to RSS - General discussion