Hey, I am working on fabricating a backpack that can produce energy that can used to power a cell phone battery, GPS, etc. To do this I would have a gear rack that would be moving up and down caused by the suspension of the backpack weight. The problem that arises is that the gear rack turns a pinion gear which is attached to a gear motor, but the motor outputs a positive voltage when the gear up on the pinion gear and negative when it moves down. My question is if there is a chip that anyone knows about that will continuously keep the polarity at a positive voltage? Any comments or advice will be very helpful. Thanks.