RCAIDE.Library.Methods.Powertrain.Modulators.Electronic_Speed_Controller.compute_esc_performance
compute_esc_performance#
Functions
|
The current going into the speed controller |
|
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:
Clamps throttle between 0 and 1
Computes output voltage as a linear function of throttle
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