PWM issue STM32f4-discovery (may be)?

Support for creating custom user applications on the VESC.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
dkmorb
Posts: 2
Joined: 24 Apr 2017, 06:49
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

PWM issue STM32f4-discovery (may be)?

Postby dkmorb » 24 Apr 2017, 07:37

Hi all, I'm new here.
I'm experimenting to learn on a stm32f4-discovery board, but my (poor old) cdrom motor goes back and forth.
I suspect it's a pwm problem because I think pulses on negative side aren't right...
Any idea about?
[img]PWM.png[/img]
Attachments
PWM.png
PWM.png (9.79 KiB) Viewed 895 times

rew
Posts: 943
Joined: 25 Mar 2016, 12:29
Location: Delft, Netherlands.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: PWM issue STM32f4-discovery (may be)?

Postby rew » 24 Apr 2017, 18:46

This looks like a motor running in BLDC mode. I remember seeing something like this. During one of the steps, the lowside FET is continuously on. That is not necessarily wrong.

The VESC software is tuned to much different motors than what you have. So it could be that you need to adjust some of the parameters like the "integration limit".


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Return to “Custom Applications”

Who is online

Users browsing this forum: No registered users and 2 guests