Chapter 1 Introduction
© National Instruments Corporation 1-9 DocumentIt User Guide
Num Ext. In = @num_sb_in_i@
Num Ext. Out = @num_sb_out_i@
Num SuperBlocks = @num_blks_in_sb_i@
Attribute = @sb_attr_s@
Frequency = @sb_freq_r@
Has Input Data = @sb_has_in_data_b@
@ENDSEGMENT@
Example 1-2 DocumentIt ASCII Output File
==================================
Software Design Document
Overview : This cruise controller regulates vehicle speed around a set
point.
This cruise controller has three external inputs as follows:
the desired "speed" or velocity of the vehicle,
the current "speed,"
the current "acceleration" of the vehicle.
This cruise controller has one external output, which is the throttle
actuator command.
Architecture: There are three SuperBlocks in this model.
The SuperBlocks are as follows:
the "Differentials" SuperBlock computes the difference between desired and
measured velocity and acceleration, adds computed target acceleration to
measured acceleration, and outputs a servo-limited throttle command based
upon these differences
the "Cruise Control Logic" SuperBlock determines whether or not throttle
position should be altered, based upon the difference between actual and
desired vehicle velocity, and
the "Mux3" SuperBlock determines the target acceleration based upon
inputs from the control logic.