Main Site Documentation

Problem with pwm signals


#1

Hello,
I’m working on an aerial robot (a t-copter) and am having problems with Roll-axis stabilization. The PID controller works correctly but when I get the engine speed from 40% starts to destabilize. The problem is not in the PID but FEZ PWM signal or ESC output is not constant. I have measured the FEZ pwm signal with an oscilloscope, from 1 to 2 ms and vice versa and this is the result ( pwm frequency= 400Hz):

Is it normal that the amplitude change? Is it normal not maintained very stable signal?

thanks


#2

Disconnect the pin from anything and try again. Does amplitude change?


#3

It might be a power supply issue. Are you running the FEZ on a different power source from the motor?


#4

Seems like the external circuit connected to the pwm output stresses the output. Or a supply issue, idd. Measure supply voltage on second channel and run test again.


#5

What electronics do you use behind the FEZ?

I am using FEZ Domino with PWM for heating in an application at this moment but cannot replicate this behavior.


#6

WimC, you seems to have work a lot on PWM, LS7366 counters,… Would it be possible possible to ask yousome question by email on those subjects?


#7

Yes, sure you can ask…

Maybe open a new thread Packman and let everybody jump in.

Cu Wim.