View unanswered posts | View active topics It is currently Sat Aug 08, 2020 5:40 pm

Reply to topic  [ 1 post ] 
PID regulation feedback 
Author Message

Joined: Thu Apr 17, 2008 6:04 am
Posts: 70
Location: Plymouth, Indiana, USA
Post Re: PID regulation feedback
Hi miki,
Excellent description of your project and problem.
motorPWMLevel[]) may do what you need. Wtih PID on RobotC tries to maintain speed. So if resistance is encountered pwm level goes up. This could be used as a torque indicator. Below is a short program that displays the pwm (pulse wave modulaton) level on the nxt screen.

motor[motorA] = 10;
nxtDisplayBigStringAt(20,30,"%d", motorPWMLevel[motorA]);

Mount a wheel directly on motorA. Apply some drag to the wheel and watch the number go up. Remember to keep pid turned on.

Merry Christmas,

Dad (Dave) and Adam

Mon Dec 26, 2011 9:35 am
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.