Go to Post Please ask a specific question if you want a specific answer. We are not psychic; we can not read your mind. - Astronouth7303 [more]
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-18-2002, 11:10 AM
Joe Canavan Joe Canavan is offline
Registered User
#0125 (NU-TRONS)
Join Date: Jul 2001
Location: Boston, MA
Posts: 9
Joe Canavan is an unknown quantity at this point
Question Triping Timed Fuses

We are having a problem tripping our timed 30Amp Fuses when we go from forward to revers quickly on our drive traine. We are using the Drill motors and we believe that our traction on our wheels is causing the motors to stall when direction is reversed quickly. Can anyone recomend a fix either in hardware or in programing to help over come this tripping of our breakers? Thanks
Team 125

PS sorry about spelling errors we have been up all night.
  #2   Spotlight this post!  
Unread 02-18-2002, 01:03 PM
Jnadke Jnadke is offline
Go Badgers!
Team Role: Alumni
Join Date: Jan 2002
Location: Appleton, WI
Posts: 775
Jnadke is on a distinguished road
Send a message via ICQ to Jnadke Send a message via AIM to Jnadke Send a message via Yahoo to Jnadke
Here's the acceleration code we use to make sure the drivers aren't crunching gears... Use it ONLY if you learn something from it. Take a look and figure out how it works...


	if (abs(left_control - 127) > DEAD_ZONE) then left_calc
	left_control = MOTOR_OFF

	speed_l = speed_l + (((left_control - speed_l + SAFE_ZONE) min MIN_ACC_VAL max MAX_ACC_VAL) - SAFE_ZONE)

	if (abs(right_control - 127) > DEAD_ZONE) then right_calc
	right_control = MOTOR_OFF

	speed_r = speed_r + (((right_control - speed_r + SAFE_ZONE) min MIN_ACC_VAL max MAX_ACC_VAL) - SAFE_ZONE)
  #3   Spotlight this post!  
Unread 02-21-2002, 08:34 AM
ttedrow's Avatar
ttedrow ttedrow is offline
Herding electrons
AKA: Tim Tedrow
FRC #0281 (EnTech)
Team Role: Mentor
Join Date: Jan 2002
Rookie Year: 2000
Location: Greenville, SC
Posts: 165
ttedrow will become famous soon enoughttedrow will become famous soon enough
Exclamation First order filter

Here is solution to your proplem that has been passed down by FIRST programmers for many moons (also on the InnovationFirst WEB site). This first order filter will limit the rate of change of the inputs.

Drive_yFiltCoef CON 50 'First Order Filter Coefficient = CON/200
Drive_xFiltCoef CON 20 'Adjust these values for improved control. Trial and Error.

Drive_yFilt VAR byte 'First Order Filter output for the Y-axis Joystick Input
Drive_xFilt VAR byte 'First Order Filter output for the X-axis Joystick Input

'**First order filter to limit rate of change of drive motors**
Drive_yFilt = (Drive_yFilt + ((256 + p1_Y - Drive_yFilt) * Drive_yFiltCoef / 200) - (256 * Drive_yFiltCoef / 200)) Min 0 Max 254
Drive_xFilt = (Drive_xFilt + ((256 + p1_X - Drive_xFilt) * Drive_xFiltCoef / 200) - (256 * Drive_xFiltCoef / 200)) Min 0 Max 254
Sr. Design Engineer
Caterpillar Inc.
Greenville, SC


FRC 281 Greenvillains
Infected with the FIRST virus in 2000

Yes, Chute Door!!!
Closed Thread

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
20 amp fuses for Spikes Andrew Schuetze Electrical 8 04-01-2003 09:18 PM
Blowing Relay Fuses archiver General Forum 2 06-23-2002 08:57 PM
Internal Fuses (PTC Resistors) on Window Motors bigqueue Technical Discussion 6 02-08-2002 08:34 PM
Those 60Amp fuses... Anton Abaya Electrical 5 01-18-2002 06:41 AM

All times are GMT -5. The time now is 09:47 PM.

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

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