I watched a youtube video http://www.youtube.com/watch?v=hT3jJRGVdW4
The man says : by spinning the motor to see whether the output is AC or DC, then it can tell whether the motor is generating AC or DC voltage. It also tell whether the motor is AC or DC
==== What I think is below===
What I think is that "For a DC brushless motor, there is a permanent magnet rotor. If I spin the rotor, the current at the stator should be AC."
Now, if we talk about normal DC brushless motor spinning, we need to provide DC power (as power source) to the motor. That means the motor itself should have a circuit to convert the DC voltage to AC voltage to change the magnetic field at the stator to spin the rotor.
If there is a circuit to convert the DC power input to AC power to really spin the rotor, why the youtube video shows the circuit could reverse AC voltage (generated by the guy moving the rotor) to DC voltage for voltmeter measurement
===========
Then it goes to two questions
Does the youtube video right?
Do the built-in circuit in the motor allow backward voltage convention? What is that circuit?
Here is a transcript of the relevant part of the video:
The first thing that you need to know is that only DC motors can be used as a generator. So that makes this a really easy test. So we're going to connect our pins up to our multimeter, and then we're just going to lightly spin the shaft. Doesn't really matter which way we connect it. We've got the multimeter set to 2 volts. I'm going to spin and you see I'm spinning it clockwise and we get a positive voltage about 1.5 volts if I spin it really fast. If I spin it in the opposite direction I get a negative voltage at about the same amount. I can actually spin it really hard and get past 2 volts. This means this is a DC motor. So now we can move on to figuring out how to drive this motor and whether or not we can use it for some cool project.
I don't know the operating voltage of the motor, but I'm going to assume with a motor this size that it's either 9 or 12 volts. Most DC motors have a faily safe operating range. I've seen 5 volt motors be listed as 3 volts to 6; sometimes to 3 volts to 9. So even if this is a 9 volt motor, I'm going to, in the next video, connect it to a 12 volt power supply and we're going to see if we can drive it. And you know what, if we smoke the motor, it doesn't matter.
Best Answer
I haven't even bothered watching after "only DC motors can be used as a generator".
As far as I am aware, a motor can be of the following families:
There are many more (e.g. hybrids), but I think those represent 95% of the production. I'm sure I've missed a few important ones, please feel free to comment and I'll update the list.
The biggest clue to the type of a motor is the number of wires, but as you can see this is not enough. Some motors cannot generate power without an excitation, some not at all, and even if they do, the back emf is funny sometimes (trapezoidal for example) depending on its construction.
You could plan to try the various types of supplies on the motor, ramping up the voltage, and see if it does anything, but what's your "OK that's not it, better cut the power before I smoke it" point? If you don't know what type of motor it is, I assume you don't know anything about it. Including the voltage and current ratings, Max rpm. You could get that from eyeballing it, but there is no guarantee then.
For your specific problem though, if you are certain your motor is a DC bruhless but you don't know if the inverter+control circuit are integrated, look at the number of wires. Generally the motor does not have a circuit built in, and an ESC must be connected to it. You will have to identify which wires are the hall sensors.
ESC might or might not be used for current generation, it depends on how they are made. I don't think there can be any harm in hooking up a resistive load compatible with its current range at the input and test it.