A passion for or interest in the subject should be all you need. If you are sure you have that; remind yourself of it periodically.
If you do not have that, then either: you are studying a subject tangential to your field - not directly related to, but required for; in which case, similarly...