### What exactly do I control when sending a certain PWM signal to an ESC?

Hi All

What exactly do I control when sending a certain PWM signal to an ESC? Is it thrust? RPM? Current?

An example:

I have a drone with a 3S battery, 30A ESCs, 2300kV motors, and 5x3 props.

If I now send a PWM signal of 1500us, i.e. 50% throttle, what happens?

- Do the ESCs draw 15 A (=  30A * 0.5) ?

- Do the motors spin at 13800 RPM (= 2300 kV * 12V * 0.5)

- something else?

Say I now change the props from 5x3 to 6x4. Thus it generates more thrust at a given speed, compared to the 5x3 prop.

Everything else (battery, ESC, motor, PWM signal) being equal, what is now different?

- Does the prop generate the same amount of thrust but spin slower?

- Does the prop spin at the same speed but draw more current?

- something else?

#### Replies

• Thank you for that explanation, it's very insightful.

One thing I still don't quite understand: What causes the current flowing through the motor to increase with increasing load? Since the ESC apparently does not change its behavior depending on the load.

Nando te Riele said:

Using a 30A esc does not mean you are consuming 30A, it only means that the ESC should stay in one piece until 30A (with cooling) not that it actually does 30A at full throttle.

What PWM controls is Duty-Cycle. (normally, not true in governor mode for example)

Or to say it in another way, the Voltage going from the ESC to the motor. (close enough)

Kv= how many RPM you have to turn the motor to generate 1V, not the other way around

If you take the number and multiply by ~0,75 or 0,8 (dependent on the load on the motor) you get close enough for most people)

So you calculation of "13800 RPM (= 2300 kV * 12V * 0.5)" would be in the ballpark if you compensate for losses

2300 kV * 11.7 (voltage under load) * 0.5(duty cycle) *0.8 (losses, etc)=~10764

When you change propeller size from 5x3 to 6x4 your load increases: the motor will draw more current and do less RPM (@ the same dutycyle).

• Using a 30A esc does not mean you are consuming 30A, it only means that the ESC should stay in one piece until 30A (with cooling) not that it actually does 30A at full throttle.

What PWM controls is Duty-Cycle. (normally, not true in governor mode for example)

Or to say it in another way, the Voltage going from the ESC to the motor. (close enough)

Kv= how many RPM you have to turn the motor to generate 1V, not the other way around

If you take the number and multiply by ~0,75 or 0,8 (dependent on the load on the motor) you get close enough for most people)

So you calculation of "13800 RPM (= 2300 kV * 12V * 0.5)" would be in the ballpark if you compensate for losses

2300 kV * 11.7 (voltage under load) * 0.5(duty cycle) *0.8 (losses, etc)=~10764

When you change propeller size from 5x3 to 6x4 your load increases: the motor will draw more current and do less RPM (@ the same dutycyle).

• No bo not assume any thing ! Know or ask questions, ESC operates using PWM PPM SIGNALS reseved only ! They do not send any signals, what ever loop is being implied from Flight controller it sends and receives signals.

• Certainly the PWM signal plays a role. It ultimately determines what the ESC and the motor does.

I'm assuming the ESC runs some closed-loop control loop, where the input (i.e. the setpoint) is the PWM signal. My question is, what is the feedback variable in this control loop which shall be controlled to match the input (in other words, what am I commanding with the PWM signal?). Is it current draw, RPM?

Are you saying it's RPM?

OG said:

you are straining the motor and ESC bring it out of the it's efficiency range causing it to draw more current by adding larger prop the KV RATINGS AND MOTOR SPEED do not change. PWM signals have nothing to do with this ???

• you are straining the motor and ESC bring it out of the it's efficiency range causing it to draw more current by adding larger prop the KV RATINGS AND MOTOR SPEED do not change. PWM signals have nothing to do with this ???

### Activity

RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
yesterday
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Thursday
@gclue_akira CC @NVIDIAEmbedded
Wednesday
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Wednesday
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Wednesday
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31
RT @JoeSpeeds: @chr1sa awesomely scary to see in person as our \$1M robot almost clipped the walls as it spun at 140mph. But it was also awe…
Oct 29
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Oct 25
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉 https://t.co/NtKnO…
Oct 23