You are here

PID Speed Control not working in ADC mode

5 posts / 0 new
Last post
a.smith
Offline
Last seen: 1 week 4 days ago
VESC Free
Joined: 2019-11-13 05:37
Posts: 4
PID Speed Control not working in ADC mode

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?

skyline1970
Offline
Last seen: 3 weeks 2 days ago
VESC Free
Joined: 2017-09-07 22:28
Posts: 204

in app. settings, duty cycle mode should be selected, if current mode activated, motor reaches max rpm immediately.

a.smith
Offline
Last seen: 1 week 4 days ago
VESC Free
Joined: 2019-11-13 05:37
Posts: 4

I'm looking to do PID speed control, not duty cycle or current mode. The PPM app has an ERPM limit for PID, which works as expected. The PID controller will not allow the motor electrical RPM to exceed the value specified in the ERPM limit field. This field is missing from the ADC app.

skyline1970
Offline
Last seen: 3 weeks 2 days ago
VESC Free
Joined: 2017-09-07 22:28
Posts: 204

in app. settings, mapping, adc voltage mapping, adjust pid speed, min, max, etc..

a.smith
Offline
Last seen: 1 week 4 days ago
VESC Free
Joined: 2019-11-13 05:37
Posts: 4

That doesn't work. Have you tried PID speed control in ADC mode before? Even with the ADC voltage properly mapped, the motor speed is not mapped correctly to the ADC voltage range. There is NO pid rpm limit in ADC mode.