Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   PWM Duty Cycle (http://www.chiefdelphi.com/forums/showthread.php?t=133506)

Bpk9p4 01-25-2015 08:10 PM

PWM Duty Cycle
 
Does anyone know how to read a PWM duty cycle on the roborio?

Ether 01-25-2015 08:16 PM

Re: PWM Duty Cycle
 
Quote:

Originally Posted by Bpk9p4 (Post 1433856)
Does anyone know how to read a PWM duty cycle on the roborio?

Some teams filter it to create an analog signal proportional to duty cycle, then run it into an analog input.

http://www.chiefdelphi.com/forums/sh...68#post1432868



DonRotolo 01-26-2015 05:09 PM

Re: PWM Duty Cycle
 
Bear in mind that duty cycle is not the salient value in a PWM signal used for controlling motors in FRC. Instead, we use pulse width, varying from about 1.5 mSec to about 2.5 mSec, with varying amounts of time between pulses depending on which motor controller is being used.

I know you know this, but for others reading this thread in the future they should be aware of this detail.

Ether 01-26-2015 05:20 PM

Re: PWM Duty Cycle
 
Quote:

Originally Posted by DonRotolo (Post 1434287)
Bear in mind that duty cycle is not the salient value in a PWM signal used for controlling motors in FRC. Instead, we use pulse width, varying from about 1.5 mSec to about 2.5 mSec, with varying amounts of time between pulses depending on which motor controller is being used.

I know you know this, but for others reading this thread in the future they should be aware of this detail.

Another detail to be aware of:

The US Digital MA3 and Austria Microsystems AS5145 encoder datasheets recommend duty cycle -- not pulse width -- decoding of their PWM signal outputs.




All times are GMT -5. The time now is 06:02 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi