User Tools

Site Tools


aircraft:tmd:actuators

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
aircraft:tmd:actuators [2019/07/20 17:49] – [servoclassic] jhaircraft:tmd:actuators [2019/07/20 18:06] (current) – [Actuators and Servos] jh
Line 3: Line 3:
 The actuators in Aerofly FS 2 can simulate the delay between control input and physical deflections. The actuators in Aerofly FS 2 can simulate the delay between control input and physical deflections.
  
 +**Naming Convention**
 +
 +To differentiate between mechanical controls and electric or hydraulic actuators we add "**Servo**" in front of the object. Don't add "Servo" if it is a mechanical link operated by a human, as in most general aviation aircraft.
 ==== servoclassic ==== ==== servoclassic ====
  
Line 55: Line 58:
  
 ==== servolinear ==== ==== servolinear ====
 +
 +The servolinear contains a mapping from the input position to a target output position. The target is computed from a linear interpolation between the nearest two given points.
 +
 +The servolinear is typically used in the landing gear retraction logic, where the gear stays down until the doors have opened, then it moves up and reaches the up position before the gear doors close again. The input would be the gear sequence, sort of a slow animation sequence but with real physical effects on the [[aircraft:tmd:rigidbody|rigidbodies]].
  
 <code>            <[servolinear][LandingLight][] <code>            <[servolinear][LandingLight][]
Line 66: Line 73:
  
 ==== servocyclic ==== ==== servocyclic ====
 +
 +This is a servo that can rotate, e.g. 360 degrees and then loops back to the beginning. There are actually very few examples in the aviation world for this, one could be a rotating beacon but we usually model this with the ''graphics_flasher'' function instead.
 +
 +''Speed'' maximum output speed.
 +
 +> Do not use this for altimeter needles or the artificial horizon which typically are not limited in their maximum speed. It would only cause unrealistic lag in the needle position.
  
 <code>            <[servocyclic][Position][] <code>            <[servocyclic][Position][]
Line 75: Line 88:
  
 ==== electrical_actuator ==== ==== electrical_actuator ====
 +
 +The electrical_actuator simulates an electric motor to move the flaps for example. It requires an [[aircraft:tmd:electrical|electrical network]] to receive electrical power.
 +
 +''Speed'' is the maximum speed up and down (in case of the flaps the +0.07 is for flaps down, towards greater angle and the -0.07 would be the flap retraction speed, which can differ).
 +
 +''Position'' is the initial position of the actuator when the aircraft is loaded.
 +
 +''Input'' is the target position, ''InputEnable'' is a cut off, ''InputVoltage'' and ''AddLoad'' are the connections to the electrical bus network, the ''MinimumVoltage'' and ''RatedCurrent'' are electrical properties.
  
 <code>            <[electrical_actuator][ServoFlaps][] <code>            <[electrical_actuator][ServoFlaps][]
Line 84: Line 105:
                 <[float64][RatedCurrent][10.0]>                 <[float64][RatedCurrent][10.0]>
                 <[float64][Speed][ -0.07 0.07 ]>                 <[float64][Speed][ -0.07 0.07 ]>
-                <[float64][Position][1.0]>+                <[float64][Position][0.0]>
             >             >
 </code> </code>
aircraft/tmd/actuators.1563637746.txt.gz · Last modified: 2019/07/20 17:49 by jh