You are here

General discussion

How does controlling two different motors over CAN bus really work?

Submitted by oangelo on Sat, 2023-04-15 20:05

I have been attempting to understand how VESC operates, specifically how to control two different motors using two connected VESCs via the CAN bus. The documentation is quite brief, and I have not found any useful information. Consequently, I have been trying to figure it out through experimentation on my own.

FloatWheel not balancing, shooting forward

Submitted by EvDeck on Fri, 2023-04-14 22:16

Hey all! New here and need some help. I hope I'm in the right place. 

 

TL;DR my floatwheel turns on, seems fine when using VESC tool (motors turn, gyro and pitch,roll,yaw settings good) but when I try to step on it doesnt balance, just shoots forward or backward. Im not sure what settings need to be fixed.

 

Position Limits w/ BDC and ABI Encoder

Submitted by gokulswami on Thu, 2023-04-13 10:43

I'm currently a part of a group working on an application where we are required to use a BDC and ABI encoder for position control. We have gotten proper position control working manually though the tool and through PPM with a RC controller.

However, the application requires us to not move the BDC passed a certain angle. For example, the BDC might need to only be moving between 20 and 150 degrees, and be absolutely not able to move passed that limit.

Motor runs only at constant speed (with VESC 100V200A and Flipsky VX3).

Submitted by Tom65 on Wed, 2023-04-12 16:28

if I press the remote control (VX3), then happens up to 10% NOTHING...

and everything from 10% to 96% (higher it goes somehow not), it makes the motor simply on, with a CONSTANT speed of 14.1xx RPM, about 1.8A (if I brake the shaft, the current is then simply increased, so that the speed is held..)

=> I have meanwhile 10x clicked through everywhere, but do not find the tick or the values that are set incorrectly..

.please help!!

[SOLVED, was a mistake] Set ERPM command: issue with the speed controller with higher speed values that is possible with bat vol

Submitted by yes_wecangogreen on Wed, 2023-04-12 00:51

So, I am sending by UART the command to VESC Set ERPM. As soon the speed I set is near or over the max possible value due to max battery voltage, I get strange results, the motor speed is not stable anymore and going in big jumps -- I would say the speed controller PID goes crazy probably because the motor will never achive the set speed value as it hits the max possible value due to the battery voltage. Is there anyway to improve this issue? am I missing something like a specific configuration? thank you in advance.

Pages

Subscribe to RSS - General discussion