Go to Post "You know, a robotics regional is the only place where you can walk in and see two people in chicken suits and not be confused." - Herodotus [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 16-02-2007, 18:25
Dave K.'s Avatar
Dave K. Dave K. is offline
Engineer/Mentor
FRC #0930
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: WI
Posts: 91
Dave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to behold
Re: Radio Packet loss + closed loop control system = lunging robot

Quote:
Originally Posted by Chaychay View Post
Perhaps I am mistaken, but I believe Dave meant that you take the relay output from the RC and wire it back into a digital input on the RC; Setting the relay output so that it is not what the default is.

That way when the problem occurs you can see that the digital input is showing the value of the default relay output, rather than what you set the relay output to be.

(the concept is what I'm trying to clarify, maybe you can use other ports, like digital out to digital in)

Sorry if I have misinterpreted you Dave.
Yes, I was suggesting setting one of the relay outputs true which should drive the pin high.

Though not directly documented, this post from IFI's forum says that the relay outputs are VHCT (logic family) output pins in series with 330 ohm resistors. This should safely drive a "Digital I/O" pin, which just has a 1k series resistor and 0.001uF capacitor to ground before it goes into the CPU's port pin.

The relay and PWM outputs are disabled by the master CPU, but the user Digital I/O pins are untouched, so one of those pins, configured as an output, couldn't be used as an indicator of the robot being disabled.

I added the disclaimer in my inital post that I had tried neither approach yet, and won't be able to do so until tomorrow. I'm reasonably certain that the relay outputs are 5V logic levels but would confirm that first.

I suspect that watching the packet number will work, and if so, I will post an example of how to do that.
__________________
--Dave
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
control loop frequency. Rickertsen2 Programming 1 12-01-2006 08:38
1501 Control System Basics and Analysis of a Bipedal Robot Chris_Elston Programming 1 25-12-2005 12:52
PID control loops - closed loop feedback KenWittlief Technical Discussion 56 26-04-2004 21:27
How Can You Make A Closed Loop System???? GRR_340 Pneumatics 6 21-03-2002 12:27


All times are GMT -5. The time now is 20:27.

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