You are here

VESC HD60T CAN DUTY CYCLE CONTROL

3 posts / 0 new
Last post
v1n23nt
v1n23nt's picture
Offline
Last seen: 1 year 8 months ago
Joined: 2021-10-25 09:41
Posts: 3
VESC HD60T CAN DUTY CYCLE CONTROL

We're trying to control the VESC Duty Cycle via CAN.

The controller responses perfectly as expected, until big input changes happen and the controller starts to oscillate and continue to output maximum Duty Cycle.

 

https://ibb.co/Z18dHnj

In this example we limit the Duty Cycle input data to send out a maximum of 81000, corresponding to 81%.

This image shows it follows the maximum 81%, until rapid changes happen and the controller outputs 95%, the absolute maximum?

 

Any idea what could cause this?

Any one else with similar problems?

canoeman
Offline
Last seen: 1 month 2 weeks ago
VESC Free
Joined: 2020-03-23 15:48
Posts: 34

What firmware are you using? Recently have instances where the motor makes fast, sudden, un-commanded motion right after an abrupt throttle control input. Not sure if it gets to max duty cycle but will run away spinning way faster than it should for no reason. I'm also doing duty cycle control, but through ppm.

v1n23nt
v1n23nt's picture
Offline
Last seen: 1 year 8 months ago
Joined: 2021-10-25 09:41
Posts: 3

The latest released firmware available, 5.3 I think?

We've stopped using CAN as input and seem to have no problem with PPM controlling the Duty Cycle. 

We've set it to Duty Cycle No Reverse though, maybe that helps?

 

We're having a new problem though, while controlling it with PPM, the output dips when the CAN status messages are being send (at the CAN Status interval time). 

Any idea what can cause this?