You are here

General discussion

PID Speed Control not working in ADC mode

Submitted by a.smith on Mon, 2022-01-17 13:23

I'm trying to run a 4 pole inrunner with PID Speed Control using ADC input with a potentiometer. I have properly mapped the potentiometer voltage range. The problem is that the PID control sets the motor to maximum RPM at only 25% of potentiometer travel. The remaining 75% of travel shows up correctly in the ADC bar as the voltage rises, but the motor is steady at full RPM.

In PPM mode, there is a field for maximum PID ERPM. Is this feature missing with ADC mode?

Rough Motor Running When USB Cable At Vesc Tool is Disconnected

Submitted by David Cunliffe on Sun, 2022-01-16 11:42

Hi Guys,

I have my motor running on the Vesc MK6 controller and everything works perfectly until I unplug the USB cable on the Vesc.  As soon as I then send a command to turn the motor via CAN the motor oscillates back and forth.  If i plug the USB cable back into the board and connect to my laptop, as soon as the computer "chimes" to recognise the connection the motor returns to normal operation before the Vesc tool is even connected.

Any ideas please!

Thanks in advance.

SSI Encoder with VESC

Submitted by tsharma on Thu, 2022-01-13 17:26

Hi Everyone,

 

I am using VESC6 MKV and I am using it for the position control of a SPMSM. The encoder attached to the motor is a SSI Encoder. However, the VESC supports Hall Sensors or ABI or SPI interface.
Is there any possibility that I can use, SSI encoder with the VESC board?
Or if I can use any: "Asynchronous serial, BiSS, PWM, SSI" of these with VESC?

Any help will be appreciated.

Failure in Motor Set Up

Submitted by Toshi Sharma on Tue, 2022-01-11 15:19

Hello Everyone,

I am using VESC tool for quite a some time now and have always done motor set up without any error. And it has always been successful.

But today, when I am doing it it is failing.

I hit the motor set up button, and at first motor alignment along the respective axis to calculate the resistance happened. Then to estimate the flux linkage, motor spins. and then when motor rotates in the forward and backward direction it did not happen. Instead, the motor draws a very heavy current and becomes very hot.

Did I damage My Vesc?

Submitted by Kent Church on Tue, 2022-01-11 04:47

So yesterday i got on Vesc Tool and thought I had configured my set up (Ubox V2 with a flipsky vx2 remote). Unfortunately the board malfunctioned due to a stutter under load.

While trying to figure it out, I saw tutorials that recommended updating the Firmware. When I tried this I got a pop up window that said something about possibly damaging my Vecs. 

Best practice for controlling VESC with high speed PWM

Submitted by arsenix on Sun, 2022-01-09 18:29

I am working on a project adding a 4th axis to a CNC mill. The CNC controller spits out a 25khz PWM signal to control the axes. This is designed to near-directly control the switching FETs driving brushed DC motors. 50% duty = stationary, <50% is one direction, >50% the other. I've fitted my 4th axis with a brushless motor and jogging it around with VESC works nice. So I want to glue these together. Wanted to solicit opinions on best way to do this.

How to reverse direction from VESC UART?

Submitted by vinchi on Sat, 2022-01-08 23:03

Hi!

Can someone please explain how to spin motor reverse direction with VESCUART (SolidGeek) and NunchuckValues?
I can spin it forward but I don't understand how to spin it backwards.

Here is my Arduino example:

#include "VescUart.h"
VescUart VESCUART;

void setup() {

  Serial1.begin(115200);
  VESCUART.setSerialPort(&Serial1);

}

void loop() {

  VESCUART.nunchuck.valueY = 170;
  VESCUART.setNunchuckValues();
  delay(10000);

}

 

Pages

Subscribe to RSS - General discussion