You are here

VESC Tool

Discrepancies between VESC Tool 3.01 Motor Settings & XML config file

Submitted by j.konrad on Sat, 2022-01-15 22:13

Forums:

I'm new to motor control. I could not find a write-up as to what all the motor setup parameters do. Although there may be one, it's probably better for my understanding to create it myself. To that end, I read the default .xml file with a web browser (Firefox) and pasted it into a spreadsheet (Open Office). Sorting brought some discrepancies to light. It's certainly possible I'm missing something, or that it needs to be the way it is. Still, I wanted to bring it to the attention of the group. I found four categories of discrepancies:

inconsistent behavior after motor control using FOC

Submitted by alexantosh on Wed, 2022-01-05 10:24

Forums:

Hello, I controlled a Brushless DC motor using FOC on vesc-tool 3.00. Firmware: 5.2, HD:60.

After i got the behavior i desired, I wrote the motor configuration, and saved the configuration file. From the vesc. When I run the motor when not attached to the VESC tool in a different session, I get different motor behavior.

When i connect it to the vesc tool to confirm. It gives different behavior even when i reload the saved motor configuration file. Why does this happen?

Do I need to check and re control the motor each time i need to run it?

terminal command via UART for a gimbal

Submitted by fredfred on Sat, 2021-12-18 20:49

Forums:

Hi

I have a Tmotor 4012 with a vesc 4, wich I use like a gimbal to control a microphone as silently as possible. I get very good results when I control it via the terminal in vesc tools. I use mainly 2 commands:

foc_openloop_duty 0.2 100 for a slow speed

and foc_openloop_duty 0.27 900 for a higher speed.

I have two questions:

Is it possible to send those commands vie UART ?

Is there a way to reverse the direction ?

cheers

Fred

Vesc doesn't react to can messages from PC

Submitted by BorisDeroo on Fri, 2021-12-17 16:54

Forums:

For a project I am trying to control a single vesc through can messages send from a PC.

By setting the CAN mode to VESC I can receive the cyclic status message no problem. However when I send a message (e.g. 0x00000002 0x00 0x00 0x27 0x10, which should send drive no 2 to duty cycle 10%) nothing happens.

If the CAN mode is set to Comm bridge I can see that the vesc tool does receive the messages that I send (this is not the case in the VESC mode).

App. settings: "Enable servo output on PPM-port when PPM-app is disabled." option

Submitted by alexantosh on Fri, 2021-12-10 09:46

Forums:

Hello, apparently there is an app setting with the option:  "Enable servo output on PPM-port when PPM-app is disabled."

However, I can not find this option on my VESC tool. If anyone has, can you please tell me how? I need  this option for my servo. I am using VESC-tool 3,  FW: 5.2, HW:60.

If it is not available because of my FW or HW, then how can I achieve this functionality? Any help will be greatly appreciated.

Thanks

 

Motor control

Submitted by ptss37 on Wed, 2021-12-08 06:52

Forums:

Hi, I'm building an RC car and I'm having a problem with motor control, so I'm asking for help.

The motor works fine, but sometimes it stops making a strange noise.
Also, excessive heat is generated and a large inverse current flows (when checked by the VESC Tool). Do you know anything about this issue??

Please refer to this video.
https://www.youtube.com/watch?v=8XrgYZtvcyg
(Not mine, but I'm having the same problem, so I'm attaching it.)

Logging set values to csv file

Submitted by jukawt on Mon, 2021-12-06 14:57

Forums:

Hi everyone,

I am currently working on a project at university using VESCS. For documentation it would be very helpful to log not just the actual values but also set values (erpm, position...) to the csv file.

Did anyone have the same issue and has a solution for this? @Benjamin: is it planned to implement this to the existing csv logging functionality in VESC Tool?

Thanks!

[SOLVED] Can I use ADC2 for main throttle control?

Submitted by oschwartz10612 on Wed, 2021-12-01 22:38

Forums:

Hi,

My ADC1 input is pinned around 3 volts with or without anything connected. I have done a bunch of troubleshooting and I think unfortunately it may be broken. The ADC2 however does work and when I hook my throttle up to it I get the expected range of voltage.

I would like to use ACD2 as my main current throttle control, but I do not see any option in VESC tool to make it the main throttle. Is this possible?

 

Duty Cycle Mode - limited ZERO RPM duty cycle

Submitted by maheshK on Mon, 2021-11-29 11:24

Forums:

Hello,

I have a direct drive hub motor that i am using in a e-bike. Everything works great except i am unable to get the startup torque. I noticed that the torque is not limited by current but by DUTY CYCLE. When i run the motor at high load, the ADC input automatically caps at maximum 16% . Just wondering what is the setting to make it go higher.

 

regards

Pages

Subscribe to RSS - VESC Tool