Go to Post Dean may have asked that every high school in America be involved with FIRST, but he never said [teams] all had to have separate high schools. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-25-2015, 08:10 PM
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 271
Bpk9p4 is on a distinguished road
PWM Duty Cycle

Does anyone know how to read a PWM duty cycle on the roborio?
Reply With Quote
  #2   Spotlight this post!  
Unread 01-25-2015, 08:16 PM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,003
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: PWM Duty Cycle

Quote:
Originally Posted by Bpk9p4 View Post
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


Reply With Quote
  #3   Spotlight this post!  
Unread 01-26-2015, 05:09 PM
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,979
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
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.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #4   Spotlight this post!  
Unread 01-26-2015, 05:20 PM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,003
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: PWM Duty Cycle

Quote:
Originally Posted by DonRotolo View Post
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.


Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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