How to measure current through servo and how to calculate it's power

In summary, you must measure the current flowing, which by the way will be proportional to torque, power happens to be torque times RPM but that is not particularly useful here.
  • #1
pyroknife
613
3
Hi guys.

I am using a servo motor in one of my projects. I would like to calculate the power the motor is inputting into my system. I will use the equation P=IV to calculate my power.
Voltage across my motor will be constant. It's about 5V since that's the voltage required to run the motor.
That leaves me with measuring current.

One of my questions is, is the resistance of the servo constant? If so, couldn't I use the equation P=V^2/R to get the power? But that doesn't make sense to me. I think it requires more power to run the motor at higher speeds than at lower speeds. So the previous equation wouldn't make sense.

My question now is how would I be able to measure my current through my servo?

My circuit is pretty simple. The servo has 3 pins. 2 of the pins goes to the + and - on my power supply. The 3rd pin goes to my microcontroller.

Or maybe I'm thinking about this all wrong and the power is actually the same and independent of how fast the servo is rotating?
 
Engineering news on Phys.org
  • #2
The voltage across the servo motor may be constant but the internally generated back EMF proportional to RPM will be subtracted from that internally, so there will be no virtual fixed resistance.

You must measure the current flowing, which by the way will be proportional to torque, power happens to be torque times RPM but that is not particularly useful here.

There are a few ways to measure current. The simplest would be to use a series resistor and measure the voltage drop across that resistor. Multiply that by the voltage across the motor and you have power. Most of that power will hopefully be delivered through the motor shaft, else it will heat the motor.
 
  • #3
pyroknife said:
Hi guys.

I am using a servo motor in one of my projects. I would like to calculate the power the motor is inputting into my system. I will use the equation P=IV to calculate my power.
Voltage across my motor will be constant. It's about 5V since that's the voltage required to run the motor.
That leaves me with measuring current.

pyroknife, you seem to be mixing two different forms of power; one electrical and one mechanical. Using that equation to measure the “power” as you described will give the electrical power input to the system. The motor, however, converts that electrical power into mechanical power which is then “inputted” to the system. And since motors do not convert electrical power into mechanical power at 100% efficiency, the mechanical power input to your system will be some fraction of the measured electrical power.
 
  • #4
You can measure the power dissipated by your system by measuring the voltage drop and current. I don't know how to convert that to mechanical power without more information. You need a dynamometor to calibrate the system's power consumption at different loads.
 
  • #5
There is a way to separate the shaft and resistive loads. By running the motor on a lower voltage and measured current while stalled, you can measure torque with a simple spring balance at the end of a bar attached to the shaft. From that you can calibrate the static current to torque relationship of your motor.

Then later, when the motor is running you measure the voltage, current and RPM. From the current and voltage you compute the total input power. You then use your earlier stall test data to calculate torque from the measured current. Shaft power is then the product of torque and RPM. Subtract the shaft power from the total power and you will have your motor's resistive power loss. The much less significant bearing and brush losses, plus rotor wind drag, will be included in the computed shaft power result.
 
  • #6
  • #7
meBigGuy said:
Am I missing something?
The efficiency is not assumed constant with RPM.
The current to torque relationship is linear and is not dependent on RPM. That is the key.
By measuring current, voltage and RPM you can then calculate efficiency in that particular situation.

Which bit of your linked 17 page DC-motors article are you referring to?
 
  • #8
I got it. Learned something about motors.
 

1. How do I measure the current through a servo?

To measure the current through a servo, you will need a multimeter set to measure DC current. Connect the positive lead of the multimeter to the positive wire of the servo, and the negative lead to the negative wire. The reading on the multimeter will be the current through the servo.

2. Can I measure the current while the servo is in motion?

Yes, you can measure the current while the servo is in motion. However, the current may fluctuate depending on the position and load of the servo. It is recommended to measure the current at different positions and loads to get an accurate average value.

3. What is the power rating of a servo and how is it calculated?

The power rating of a servo is the maximum power it can handle without overheating or causing damage. It is usually measured in watts (W) or milliwatts (mW). To calculate the power, multiply the voltage by the current. For example, if a servo is connected to a 5V power supply and has a current of 0.5A, the power rating would be 2.5W.

4. Why is it important to measure the current and power of a servo?

Measuring the current and power of a servo is important for several reasons. It can help determine if the servo is operating within its specified range and prevent damage or overheating. It can also be useful in selecting the appropriate power supply for the servo and ensuring the overall system is functioning properly.

5. Can I use a different power supply than the one recommended for the servo?

It is not recommended to use a power supply with a different voltage or current rating than what is recommended for the servo. Doing so can result in damage to the servo or cause it to malfunction. Always use the power supply specified by the manufacturer for optimal performance and to ensure the safety of the servo.

Similar threads

  • Electrical Engineering
Replies
7
Views
1K
  • Electrical Engineering
Replies
3
Views
994
  • Electrical Engineering
Replies
15
Views
2K
Replies
7
Views
2K
Replies
6
Views
921
  • Electrical Engineering
2
Replies
38
Views
477
  • Electrical Engineering
Replies
8
Views
1K
  • Electrical Engineering
Replies
5
Views
3K
  • Electrical Engineering
Replies
10
Views
983
  • Electrical Engineering
Replies
4
Views
901
Back
Top