You are here

General discussion

How to read MotorRPM from UART to Arduino

Submitted by azobe on Thu, 2018-03-08 14:42

Hi everyone, 

I've been struggling with how to read my BLDC motor RPM from my VESC 4.12 (hardware version) over UART serial onto my Arduino Micro. I installed both RollingGecko's VESC Uart Control Library as well as R0b0shack's VESC uart control library, yet I cannot figure out how to simply extract motor RPM from the serial feed from the VESC, assign it to a variable, and use that variable in my own function. 

Noise with Hall sensor at high speed

Submitted by yosoufe on Thu, 2018-03-08 12:34

Hey guys.

I am using VESC4 to current control a relatively big motor with 23 pair poles and the kv of about 9 rpm/volt. I am using Hall sensors and FOC mode. I need the operation at very low speed even in static and also at max speed. I am using 36 volt battery. I used two different configuration as below. I have some problems in both. I would be grateful if you give me some hints.

Reverse rotation command during forward rotation

Submitted by nisigundam on Wed, 2018-03-07 09:12

If a reverse duty command is sent to the VESC(BLDC  hybrid mode) during forward rotation, will it actually be excited in the opposite direction?
When actually giving a command, it seems to rotate in the reverse direction after stopping with applying the brake.

I am trying to stop the load rapidly.

A feedback system is configured through an external MCU and a rotary encoder
However, the desired stopping performance can not be obtained with the brake command.

Torque control with PWM at 10kHz for LinuxCNC + MESA + AC servo

Submitted by antonchromjak on Tue, 2018-03-06 08:01

Hi, I was thinking about using VESC in my next project. Control AC servo with quadrature encoder connected to VESC. LinuxCNC MESA card conected to VESC with ppm input. Servo thread with PID will be on PC and VESC will be responsible for torque control based on PWM duty.

My question is if VESC use on PPM input hardware counter and if it is possible to have good resolution at about 10kHz ( of course with firmware change ).

I assume if it use hardware than at 10kHz there are 16800 steps to play with.

VESC 6 for AUV applications

Submitted by bc on Thu, 2018-02-22 15:57

Hi to all,

I will just post a few questions that I believe are relevant when using the VESC 6  in AUV thrusters applications:

1. Does the VESC 6 implement an RPM controller? (keeps the same RPM when the battery or the mechanical load changes).

2. How is the reverse/forward rotation implemented? The usual RPM mapping from -100% to 100% would be just fine. 

FOC Issue

Submitted by Davideo on Mon, 2018-02-19 03:30

Something strange is happening that wasn't happening before, and I can't figure out why.

When I connect my VESC (HW 410, firmware 334) to the VESC_Tool (0.87) and use the wizard to set it up for FOC, it spins my (sensored 140KV) outrunner nicely at the appropriate places in setup, but won't work at any other point after the wizard. (like in the standard VESC_Tool interface, or when controlling over UART). I do get a bunch of sound/growls from the motor, and very little back and forward movement, but no proper rotation.

Pages

Subscribe to RSS - General discussion