Skip to content

rrichards7/Throttle-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

image001

Autonomous Snowmobile Throttle Control

Lead Architect: Ryan J. Richards

The Pennsylvania State University - School of Electrical Engineering and Computer Science

Methodology

A custom servo motor [1] horn attachment was designed with SolidWorks to attach to the throttle cable of the snowmobile. Code was developed in LabVIEW to control the servo motor via Pulse Width Modulation (PWM).

MakerHub LINX

LINX is a library developed by MakerHub that allows programmers to interface with the RaspberryPi, Arduino and other microcontrollers on LabVIEW. LINX has been used extensively in this project to communicate with the ArduinoMEGA, which controls each subsystem. Download and other information can be found at:

MakerHub LINX

LabVIEW Code

Since LINX already has pre-built serco motor control VIs, it makes the setup incredibly simple:

2

Control instructions:

(1) on the LabVIEW Front Panel select the Serial Port for the ArduinoMEGA

(2) choose the Servo PWM Channel

(3) run the VI and change the Pulse Width uS dial to control the degree rotation of the servo motor

(4) click the Stop button when finished to ensure that the Arduino VISA resource closes correctly

ezgif com-crop 1

SolidWorks Throttle Assembly

The servo motor must connect to the snowmobile's throttle cable in order to push/release it - giving the motor more/less gas respectively. A simple solution has been designed and created in SolidWorks - which consists of two pieces (1) servo motor attachment and (2) cable lock. These parts were printed at Penn State's Makerbot Commons [2].

Setup Instructions

(1) The servo motor attachment connects and locks onto a 4-way servo horn (to evenly distribute the torque). The attachment allows for the extension piece to move freely while the servo turns, which allows the cable to be pulled in a unique way ("linearly" outward at an angle rather than a direct angle).

(2) The cable lock connects to the throttle cable and the servo extension piece.

Note: The images below illustrate the assembly process. The SolidWorks files can be downloaded from this GitHub repository.

throt1

throt2

Mounting

Mounting this throttle control is rather straight-forward. The assemby itself was designed for quick and easy installation on the snowmobile handlebar.

Mounting Instructions

(1) Fix the servo motor onto the snowmobile handlebar using the two metal, industrial clamps (tighten completely with a flat-head screw-driver).

(2) Place the throttle cable into the cable lock piece.

Note: Follow the setup shown in the pictures below:

Appendix

[1] Servo Motor

[2] Penn State Makerbot Commons