You are here

General discussion

FOC Detection works but BLDC detection fails

Submitted by gv260ea on Sun, 2019-05-19 04:15

Hi,

I have a modified VESC with higher input resistor values.(Flashed the latest firmware and changed the R1 and R2 values). However i'm having a weird issue. Sensorless FOC works flawlessly. BLDC detection usualy succedds but the given setting never work (Cycle Integrator Value Aprox. 900 and BMF Coupling Value Aprox. 5000) and hall sensor detection almost always fails. I have tried various current, duty cycle, ERPM setting without any success. When i try to use FOC in sensored mode the initial acceleration is quite rough. What could be the issue any ideas? 

DC-Link Capacitor Selection

Submitted by rushi95 on Sat, 2019-05-18 12:15

Hi,

I would like to know how to select the value for the DC-link capacitor. I have read some articles and I have gained some understanding. It is mainly the ripple current rating of the capacitors that will be the deciding factor. But I do not know how to calculate the ripple current value for vector control (FOC). 

Is there any document that I can go through?

It would be great if someone can share their thoughts on this topic.

Thanks

VESC at very low speeds

Submitted by LudoJ on Wed, 2019-05-15 16:09

For a project, we need to drive a brushless motor at very low speed. yet with some torque at very low speed (almost like with break on)

The ideal thing would be that VESC always generate a sine waves but at frequencies of 50Hz down to almost 0. Were it would be similar to brake...

 

I have realized that at very low speed, the motor is turned OFF. The signal also does not look like sine wave.

What settings would you recommend ?

 

Thanks

Reading tachometer over can bus

Submitted by kimpet on Sun, 2019-05-12 22:24

As I am using one of my VESCs to control a motor that turns (jaw) an outboard boat motor with a 100:1 gear ratio it would be extremely useful to read the tachometer counts.

When running the real time data analysis you can see that the tachometer reads every pulse from the encoder

In my chase its 3 hall sensors, so one rotation of my rotor would make the tachometer value change by +/- 12

 

How can I pull this data? 

It is not seen in the 1_2_3_4 status updates that is broadcasted.

 

ADC Current No Reverse Brake Button / Bluetooth

Submitted by portnawake on Fri, 2019-05-10 00:35

Hi, I've started using ADC Current No Reverse Brake Button which fills my needs pretty well in terms of throttle ergonomics. But because the Brake button is using GND and RX pins, I suppose I cannot use UART anymore to connect a Bluetooth module. 

-Is it possible to use a mobile vesc monitoring app through USB (with USB On-the-go adapters) instead of Bluetooth ?

-Is it possible to modify the firmware and put that Brake Button on the unused ADC2 pin instead of RX, and free RX for UART purposes.

Using Motor hall sensors as the encoder

Submitted by Russ g on Wed, 2019-05-08 16:01

Hello all, im new here, fantastic place, wish i had this 13 years ago when i was building electric SK8 Boards.

any hoo, to the point.

 

First, I would like to use the Use the integrated Motor hall sensors as the encoder for my application.

I need position control, but not really fine control. I just want to count the times the hall is triggered. and calculate distance.

so basically I want to send the hall pulses out the UART or CAN bus. can some one point me to the correct place if this has been discussed before?

 

Strange behaviour when controlling RPM

Submitted by MrMonk3y on Wed, 2019-05-08 14:29

My Velineon 3500 motor works fine with the VESC when setting the duty cycle. However, whenever I set a RPM the motor goes crazy. For- and backwards randomly. I'm using MIT Racecar configs files for the motor. Those were used before with exactly this motor. 

What could be the reason for this behaviour? I thought maybe the number of poles in the additional info register is wrong, but this had no effect. 

100k NTC

Submitted by CTSchorsch on Tue, 2019-05-07 17:18

Dear all,

i want to use a 100k NTC on my custom PCB, just because it is on stock here.

I change the second resistor to 100k too and modified the defines to the new Values and B Value

// NTC Termistors
#define NTC_RES(adc_val)                ((4095.0 * 100000.0) / adc_val - 100000.0)
#define NTC_TEMP(adc_ind)               (1.0 / ((logf(NTC_RES(ADC_Value[adc_ind]) / 100000.0) / 4380.0) + (1.0 / 298.15)) - 273.15)

is this correct ? at 20° C it looks good, but i don't trust other values at the moment

Regards

Georg

Pages

Subscribe to RSS - General discussion