You are here

BLDC control in FOC mode

3 posts / 0 new
Last post
da_rul0r
Offline
Last seen: 4 years 8 months ago
Joined: 2019-06-25 14:15
Posts: 6
BLDC control in FOC mode

Hello guys,

I'm using a VESC 4.12 in combination with a (hall-sensored) BLDC motor. Before FOC control was available, the VESC (and thus the motor) were controlled by an Arduino board via UART using the VescUartControl library by RollingGecko aka Andreas Chaitidis (https://github.com/RollingGecko/VescUartControl). Now I have changed the motor control mode from BLDC to FOC mode. Does anyone know if I can still use the same library with its commands? (I don't wanna blow up my hardware, so I thought I'd ask before trying it out)

Or should I go back to BLDC mode / download a different library / use a different communication standard (PPM, CAN...)?

Unrelated question: Does anyone know if the VESC also accepts PWM signals instead of PPM?

Greetings and thanks a lot.

 

Ulrich
Offline
Last seen: 4 years 2 months ago
Joined: 2019-02-18 14:08
Posts: 5

Hi,

I'm also not clear about what VESC 4.12 really uses: PWM or PPM ? My controller - it's a Flipky FSESC 4.12 has a receiver cable which takes PPM (see connection diagram). Specs say Frequency PWM input. See Screenshots below. I like to uses the ESP32 to generate PWM signal. Did you get your motor run in FOC mode? Did you use the VescUartControl library for that?

Thank you and Regards

Ulrich

sanketh1691
Offline
Last seen: 2 years 4 months ago
Joined: 2021-09-30 01:06
Posts: 13

Hello,

Can anyone tell me what is the frequency that VESC 4.12 will receive the PWM signals from raspberry pi or arduino? Is it 50HZ or different?

Thank you

Sanketh