The small white wire goes straight to the battery through the AM1 fuse.
Its there to sense the voltage difference between alt output, and batt volt.
It triggers the light output if the voltage differs too much.
The black (may have a red trace), comes from the ignition voltage.
Its the input to the alternator
Without this input, there is no output.