fontys driving simulator for fontys

15
Ben Pyman

Upload: ben-pyman

Post on 22-Jan-2018

253 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Fontys Driving Simulator for Fontys

Ben Pyman

Page 2: Fontys Driving Simulator for Fontys

Contents

• Project Overview

• Preparation and Reparation

• Force Feedback System Improvement

• PreScan Implementation

• Conclusion

Page 3: Fontys Driving Simulator for Fontys

Project Overview

• Improve force feedback system (initial main assignment)

• Install and integrate PreScan with the system so that custom courses, such as actual towns can be implemented and driven

• Improve aesthetics and organisation of simulator and area generally

Page 4: Fontys Driving Simulator for Fontys

Force Feedback• Force feedback is an important haptic cue used in driving simulators

• Enables greater immersion

• Enables more accurate and easy steering control

• Important for steer-by-wire systems in real cars

• Fidelity level is proportional to both driver performance and immersion level

Page 5: Fontys Driving Simulator for Fontys

Force Feedback• Three options for mechanical connection

• Belt drive connection

• Direct connection

• Direct replacement of previous motor

• Direction connection chose and required two new parts to be made

Attaching Force Feedback Motor to

Steering Column Option 1 Option 2 Option 3

Cost 3 4 1

Ease of Installation 1 3 5

Ease of Future Alterations (new motor etc.) 2 4 3

Simplicity 2 5 4

Time to Implement 2 3 3

Total 10 19 16

Page 6: Fontys Driving Simulator for Fontys

Force Feedback• Power supply replaced

• Obtained new motor and controller from Smart

• Changed PC104 Simulink model

• Removed existing motor and steering rack

Page 7: Fontys Driving Simulator for Fontys

Force FeedbackAn Unexpected Problem

• Noticeable ‘ticks’ when trying to steer precisely at low speeds

• Due to limits in both motor and gearbox

• Solution identified to replace gearbox

Page 8: Fontys Driving Simulator for Fontys

Force FeedbackProblems (Opportunities for Learning)

• Removal of steering motor and controller from Smart

• Installation and mounting of new motor

• Connecting and testing of new controller to system

• Definition of parts

Page 9: Fontys Driving Simulator for Fontys

• Simulates using advanced Simulink models

• Allows creation of custom environments and vehicle physics

PreScanIntroduction

Page 10: Fontys Driving Simulator for Fontys

PreScanControlling with the Driving Simulator

• Joystick input block from Simulink 3D toolbox

• Signals changed to suit PreScan’s expected inputs

Page 11: Fontys Driving Simulator for Fontys

PreScanControlling with the Driving Simulator

• MATLAB function for counting gears

function state_out = gear_num(push,pull,state_in)

if push == 1 & pull == 1

state_out = -1;

else

if push == 1

if state_in > 0

state_out = state_in - 1;

else

state_out = state_in

end

elseif pull == 1

if state_in < 6

state_out = state_in + 1;

else

state_out = state_in

end

else

state_out = state_in;

end

Page 12: Fontys Driving Simulator for Fontys

PreScanControlling the Dashboard, Force Feedback and Hexapod

• Outputs from PreScan Simulink dynamics model

• Muxed and sent over UDP to PC104 model

Page 13: Fontys Driving Simulator for Fontys

• Joystick input from Windows into Simulink model

• Making a guide

PreScanProblems (Opportunities for Learning)

Page 14: Fontys Driving Simulator for Fontys

Summary

• Successful internship despite changing main assignment

• Great fun and learning experience

• Force Feedback hardware changed, waiting on a replacement gearbox

• PreScan implemented and integrated

• Good base for future improvements

Page 15: Fontys Driving Simulator for Fontys

QUESTIONS?