Main Content

Artificial Horizon

Represent aircraft attitude relative to horizon

  • Library:
  • Aerospace Blockset / Flight Instruments

  • Artificial Horizon block

Description

TheArtificial Horizonblock represents aircraft attitude relative to horizon and displays roll and pitch in degrees:

  • Values for roll cannot exceed +/– 90 degrees.

  • Values for pitch cannot exceed +/– 30 degrees.

如果值超过最大值,衡量maximum and minimum values do not change.

Changes in roll value affect the gauge semicircles and the ticks located on the black arc turn accordingly. Changes in pitch value affect the scales and the distribution of the semicircles.

Combine the roll and pitch signals in aMuxblock in the order:

  1. Roll

  2. Pitch

Tip

To facilitate understanding and debugging your model, you can modify instrument block connections in your model during normal and accelerator mode simulations.

Parameters

expand all

Connect to 2-element signal for display, selected from list of signal names. The 2-element signal consists of roll and pitch combined together in aMuxblock, in degrees. You connect and display this combined signal. This input cannot be a bus signal.

To view the data from a signal, select a signal in the model. The signal appears in theConnection表格选择的选项按钮旁边的信号you want to display. ClickApplyto connect the signal.

The table has a row for the signal connected to the block. If there are no signals selected in the model, or the block is not connected to any signals, the table is empty.

To view the data from a signal, select a signal in the model. The signal appears in theConnection表格选择的选项按钮旁边的信号you want to display. ClickApplyto connect the signal.

The table has a row for the signal connected to the block. If there are no signals selected in the model, or the block is not connected to any signals, the table is empty.

Block label, displayed at the top or bottom of the block, or hidden.

  • Top

    Show label at the top of the block.

  • Bottom

    Show label at the bottom of the block.

  • Hide

    Do not show the label or instructional text when the block is not connected.

Programmatic Use

Block Parameter:LabelPosition
Type: character vector
Values:'Top'|'Bottom'|'Hide'
Default:'Top'

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2016a