i have a DC motor driving a piston in a cylinder via a short "crankshaft" arm.
the cylinder is connected to a fixed, sealed, volume.
so as the motor turns and pulls the piston out, vacuum is generated. when the piston has reached the peak of its travel, it starts going back inside the cylinder, and the pressure rises until it has reached atmospheric again.
i noticed that when the piston is traveling back into the cylinder, the vacuum force is actually pulling the piston in, and it appears to be driving the motor as a generator. the voltage waveform across the motor actual increases above the power supply voltage of 12V, going up to about 20V! This causes my bench supply to start going into over voltage mode.
So I added a diode such that current can only go INTO the positive lead of the motor.
Now, the bench supply doesnt go into over voltage mode, and the voltage at the power supply remains steady. However, the voltage at the MOTOR still goes way above 12V during the return part of the cycle.
My question is this:
Where is the voltage "going"? Where does the current generated by the motor "go" since the diode is there?