Page 1 of 1

terrible spikes with PWM mode

Posted: Mon Jan 11, 2021 12:44 am
by fausto.tromba
I have taken a new MCP236 and I wanted to check the voltage.
This because last time I found the current quite noisy.

Checking the PWM1 (DUTY 50 on 1000) connected to a Power resistance, I got unexpected voltage impulse every almost 15s with a width of 200ms.
(see LeCroy56.jpg)
When I connect the motor this impulse has an effect on the current (yellow track).

To avoid any doubts, I have measured also the power supply and it is stable at 48V.
LeCroy55.jpg

We get stuck since weeks

Re: terrible spikes with PWM mode

Posted: Tue Jan 19, 2021 9:39 am
by Basicmicro Support
The scope shots you show show the noise generated by the PWM rising and falling edges. Can you show scope shots of the 15s and 200ms spikes you talk about?

If I understand you, all you did was set Duty to 50 in motion studio?

Re: terrible spikes with PWM mode

Posted: Sun Jan 31, 2021 6:28 am
by SimonRafferty
>Can you show scope shots of the 15s and 200ms spikes you talk about?
I think they already have!
If you look at the timebase on the scope, it says 40.8S. The repitition rate of the pulses is about 15S on that basis.

Re: terrible spikes with PWM mode

Posted: Thu Feb 18, 2021 10:47 am
by Basicmicro Support
They look like that because you have too much inductance in your ground lead. To get a clean look at inductive spikes you need to use the ground loop at the tip of the probe and keep the physical distance between the measurement points close together. The ground lead on most probes are fine for slow moving signals but the inductive spike is very quick and bounces in the probe due to the ground lead inductance.