Abstract
Training to ride a bicycle in a race requires a rider to maintain different cadences for the give situation. One situation where most riders try to maintain a cadence is hill climbing. In order to train for hill climbing a rider needs to have hills to climb. If the rider lives in an area without hills then training for hills becomes more difficult. To help a rider train for hill climbing in areas without hills a device that is built into a bike to simulate hills is proposed. To aid in the design of such a device a simulation of a bicycle was built in Simulink. A fuzzy logic controller was designed to control the cadence through the manipulation of the applied force. Using another fuzzy logic controller a gear shifting was attempted. The simulation data about how a bicycle performs was generated with good accuracy. The cadence controller was able to control the cadence with little to no overshoot and a small about of steady state error. The gear shifting system caused Simulink to fail due to the singularity created when the gear changed. Overall the bicycle simulation could be used to develop a hill simulation device. The addition of a gear selection system would be beneficial to the testing of a hill simulation device because it would allow the device to be tested during gear changes.