RCAIDE.Library.Methods.Powertrain.Modulators.Electronic_Speed_Controller.compute_esc_performance

compute_esc_performance#

Functions

compute_current_in_from_throttle(esc, conditions)

The current going into the speed controller

compute_voltage_out_from_throttle(esc, ...)

Computes the output voltage of the Electronic Speed Controller (ESC) based on the throttle setting.

compute_voltage_out_from_throttle(esc, conditions)[source]#

Computes the output voltage of the Electronic Speed Controller (ESC) based on the throttle setting. Implements a linear voltage modulation model where output voltage is proportionally controlled by the throttle position.

Parameters:
  • esc (RCAIDE.Library.Components.Energy.Modulators.Electronic_Speed_Controller) – The electronic speed controller component

  • esc_conditions (RCAIDE.Framework.Mission.Common.Conditions) –

    ESC-specific operating conditions
    • throttlefloat

      Power modulation setting [0-1]

    • inputsConditions
      Input parameters
      • voltagefloat

        Input voltage [V]

    • outputsConditions
      Output parameters
      • voltagefloat

        Output voltage [V]

  • conditions (RCAIDE.Framework.Mission.Common.Conditions) – Flight conditions (not directly used but maintained for API consistency)

Return type:

None

Notes

The function performs these operations:
  1. Clamps throttle between 0 and 1

  2. Computes output voltage as a linear function of throttle

  3. Updates ESC conditions with new values

Major Assumptions
  • Linear relationship between throttle and output voltage

  • No voltage drop across the ESC

  • Instantaneous throttle response

  • Perfect voltage regulation

  • Throttle values outside [0,1] are clamped

Definitions

‘Voltage Modulation’

Process of controlling output voltage through throttle position

compute_current_in_from_throttle(esc, conditions)[source]#

The current going into the speed controller

Assumptions:

The ESC draws current.

Inputs:

esc_conditions.inputs.currentout [amps]

Outputs:

outputs.currentin [amps]

Properties Used:

esc.efficiency - [0-1] efficiency of the ESC