Reference Manual: ADEPT Automatic Video Trackers Edition 4B
Reference Manual: ADEPT Automatic Video Trackers Edition 4B
Reference Manual: ADEPT Automatic Video Trackers Edition 4B
2 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Table of Contents
4 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
1 • About This Manual
This manual describes procedures for using the ADEPT Automatic Video
Trackers, software versions, 4.6 (or higher).
1.1 Notices
This manual uses the following types of notice:
CAUTION
Cautions call attention to actions that may cause system damage or loss of data.
NOTE
Notes call attention to important features or instructions.
LINK
Links provide hyperlinks to documentation or other sites of interest. The purple link color may
also be used to indicate a link (or hyperlink) within a body of text or paragraph.
LINK
https://www.abaco.com
LINK
https://www.abaco.com/embedded-support
Abaco will log your query on the Technical Support database and allocate it a
unique Case number for use in any future correspondence.
Alternatively, you may also contact Abaco’s Technical Support via:
LINK
[email protected]
LINK
https://www.abaco.com/embedded-support
Do not return products without first contacting the Abaco Repairs facility.
6 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
2 • Introduction
In the case of a manual tracking system, an operator controls the position of the
platform (via a joystick, etc.) based on the image observed via a video monitor. As
a result, the operator attempts to drive the platform so that the object of interest is
fixed on the boresight.
When using an automatic tracking system, the operator is replaced by an
electronic system. This system processes the video images directly in real‐time to
establish the position of a designated object relative to the sensor boresight. This
error is then used to control the platform so that the platform and attached
sensors accurately follow the target.
SERVO PLATFORM
AND SENSORS
COMMANDS VIDEO
AUTOMATIC VIDEO
TRACKER
Video IN 1
PC running
AVT Control
Programme
Rate Demand Servo
Platform
Serial
COM Port
Channel A Video Out
POW E R
RE SET
Video Monitor
OCTEC ADEPT VIDEO TRACKER
PC
Electronic Chassis
Joystick
containing ADEPT Tracker
The AVT is used to automatically detect and track a single target in the video
picture from the sensor mounted on the servo platform and provide an output
demand. This controls the position of the servo platform so that the platform and
attached sensors follow the target.
8 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
IMP20 (image fusion add
ADEPT74
Hardware ADEPT60 ADEPT64(1) ADEPT74 ADEPT104 ADEPT105 AIM12 IMP16 on card for ADEPT104 &
+ mezz
AIM12)
PCIe x1 PCIe x1
Data Bus VME PCI PCI or ISA N/A N/A PCI N/A
(x4 connector) (x4 connector)
2 x RS232 2 x RS232 2 x RS232
RS232/422 Serial Links 4 4 4 4 8 8
2 x RS422 2 x RS422 2 x RS422
PMC Site 9 9 8 8 8 8 8 8 8
Analogue Video Inputs 4 2 0 1 2 2 2 2 3
Analogue Video Output (with
2 1 0 1 1 1 1 2 1 (from tracker)
symbology)
Raw Analogue Video Output
2 1 0 0 1 1 1 0 1
(no symbology)
Via Mezzanine Via Mezzanine
Digital Video Input 9(2) 8 DVI Camera Link (2) 8 (2) 8 8
2.2 Hardware and Software Comparisons
Conduction/convection cooling Both Convection Convection Convection Convection Convection Convection Convection Conduction
Power 15W 15W 17W 17W 5W 12W 5W 10W 16W (including tracker)
Software
Synthetic Target 9 9 9 9 9 9 9 8 8
Moving Target Detection 9 9 9 9 9 9 9 8 8
Picture-In-Picture 9 9 8 8 9 9 9 2 2
(3) (3) (3)
Image Stabilisation with IMP16 8 8 8 9 9 9 with A60 8
Image Fusion with IMP16 8 8 8 with IMP20 8 with IMP20 with A60 with A104/AIM12
Introduction 9
3 • Tracker Theory Of Operation
While in the Non Operational State:
• The AVT does not perform any image processing functions.
• The AVT does not accept any command messages
• The AVT does not update any on‐screen symbology except that required to
report the BIT result.
The BIT Failed mode is entered when a fault is detected during BIT mode or by
the Background Built‐in Test (BBIT). In this mode, no further action occurs other
than to report the fault and to continue to service the Serial and Bus Interfaces
(assuming the cause of the BIT fail does not prevent this).
Further details on BIT are described in Appendix E • Technical Notes.
The AVT has two primary Operational modes:
• Acquisition mode
• Track mode (Autotrack)
10 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
3.3 Acquisition Mode
Introduction In Acquisition Mode, the AVT automatically detects and cues targets entering or
contained within a defined area (or window) of the video image. Once a target
has been detected, it is then possible to issue a Track command message to the
AVT, which will cause it to start automatic tracking of that target and to exit
Acquisition mode.
NOTE
Refer to the Video Definitions section in the ADEPT AVT Hardware Reference Guides.
Acquisition The Acquisition Algorithm is selectable and described in more detail in Chapter 4.
Algorithm There are several types of algorithm; some can only identify a single target and
some may identify several possible targets.
NOTE
Refer to Block 002 in the Command Reference.
The AVT exits Track Mode and returns to Acquisition Mode:
• Following a command to stop tracking
• Following an automatically detected loss of lock (detected by the breaklock
function)
NOTE
Refer to the Video Definitions section in the ADEPT AVT Hardware Reference Guides.
Breaklock In Track Mode, the Breaklock function continually monitors tracking parameters
Detection (Coast) for consistency, since variations are good indications of target obscuration, clutter
or noise, which can cause the AVT to lose track. Detection of excessive variations
in the tracking parameters triggers coast actions within the track algorithm and
platform filters to improve the possibility of tracking through the difficulty. The
operation of the coast action depends on the selected track algorithm and may be
separately configured for each algorithm.
NOTE
Refer to Block 003, 004, 005, 007, 013, 015, 016 in the Command Reference.
12 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
4 • Algorithms
4.1 Centroid
Application The Centroid algorithm can be used for tracking bounded objects such as an
aircraft, which can be fully contained within the track window.
Aimpoint The Centroid algorithm finds the centre of energy of the target within the current
processing window, which becomes the target Aimpoint.
Figure 4-1 Centroid Position Movement
Advantages • The Centroid algorithm always finds the centre of energy of the target image
(it is ‘self‐centring’). This attribute is particularly useful when the target is
first acquired by the tracker and also following a change in target shape
• The Centroid algorithm can follow highly dynamic targets. In this instance,
‘highly dynamic’ refers to targets whose acceleration or unpredictable
motion means the servo platform cannot follow the motion, which results in
target motion in the image
Disadvantages • The Centroid algorithm requires a pre‐processor that yields an enhanced
image with a light target on a black background. This requirement may not
be met if the target expands or accelerates rapidly, or if the target to
background contrast is insufficient, or if target‐like pixel intensities occur in
the background area of the image pre‐processor
NOTE
Refer to Block 004 the Command Reference.
4.2 Edge
Application The Edge algorithm can be used for tracking many types of object, but is most
effective when tracking objects that have one or more defined edges with the
remaining edges unbounded. Typically this would be a rocket, which has a well‐
defined leading edge, but an uncertain extended trailing edge generated by the
plume.
Aimpoint The Edge algorithm finds the specified edge of the target within the current
processing window, which becomes the target Aimpoint. The Edge algorithm
uses the Target Bias command to select which edge of the target to report as the
Aimpoint.
Figure 4-2 Left Edge Track
50% Energy
Target Centreline Y
50% Energy
14 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Polarity Pre- See Centroid.
Processor
Advantages • The Edge algorithm tracks a defined point on an unbounded target
• The Edge algorithm is able to follow highly dynamic targets
Disadvantages • The Edge algorithm requires a pre‐processor that yields an enhanced image
with a light target on a black background. This requirement may not be met
if the target expands or accelerates rapidly, or if the target to background
contrast is insufficient
NOTE
Refer to Block 005 in the Command Reference.
Aimpoint The MTT algorithm discriminates between separate objects within the current
processing window and identifies up to five of the objects. The target Aimpoint is
the centre of energy of the primary target.
Figure 4-3 MTT Track
16 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Advantages • The primary advantage of the MTT is the performance in clutter. By
maintaining track files on distinct objects, the MTT can tolerate other targets
within the Track Window providing they are not too close to the tracked
target
NOTE
The Centroid algorithm considers all objects within the track window to be part of a single target, and so
keeps the size of the window as close as possible to the size of the target.
• Using the MTT algorithm for target acquisition generally provides better
designation of the target for tracking and also means that a comparatively
large acquisition window can be used, which makes it easier to acquire
targets
• The MTT algorithm is ‘self centring’. This attribute is particularly useful
when the target is first acquired by the tracker and also following a change
in target shape
Disadvantages • The MTT tracks all objects separately. If a target becomes fragmented, the
performance of the tracking can therefore degrade if the tracker starts
tracking a part of the target instead of the whole target
NOTE
Refer to Block 007 and 008 in the Command Reference.
Aimpoint The Phase Correlation algorithm computes the best match position between a
stored reference image (the target) and the current image local to the track
window. The best match position is the aimpoint.
The reference image is initialized when tracking is initiated, by storing the central
portion of the track window. On subsequent TV fields, when the match position
has been found, the reference image is partially refreshed using image data from
around the match position in the track window. The update rate is configurable.
This updating of the reference allows the Phase Correlation algorithm to cope
with changes in target due to range or orientation changes.
In Track Mode, it is possible to modify the aimpoint using the system joystick (or
other control) to ‘nudge’ the current aimpoint to a new point in the scene.
Advantages • The Phase Correlation algorithm is a general purpose algorithm that can be
used for tracking both bounded and un‐bounded moving objects within the
image
• The Phase Correlation algorithm is fairly tolerant of clutter within the track
window when the clutter is transient (i.e. passing through)
• The Phase Correlation algorithm does not require a pre‐processor that will
yield an enhanced image with a light target on a black background. The
algorithm functions by matching image profiles, so structure is required
within the reference image
Disadvantages • The Phase Correlation algorithm cannot self‐centre. As the target image
changes due to, for example, the target orientation changing, the best match
position is found, but this may not coincide with the best Aimpoint as
determined by the operator. Over a period of time, particularly with a
continually changing target, the Aimpoint may drift away from that desired
and may require manual correction
• The Phase Correlation match process occurs over the whole track window.
This means that if the track window contains both target and background
structure, one partial match will probably be obtained from the target, plus a
second partial match from the background. If the target is moving relative to
the background, the overall match position will therefore be a combination
of target and background motion. If possible, the track window should
contain only target structure
NOTE
Refer to Block 014 and 015 in the Command Reference.
18 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
4.5 Combined
Application The Combined algorithm is a general purpose algorithm that can be used for
tracking both bounded and un‐bounded moving objects within the image. The
algorithm can give good results when tracking bounded moving targets in high
clutter such as tracking ground vehicles from an airborne platform.
Aimpoint The Combined algorithm uses the results from two complementary track
algorithms running in parallel to produce a combined tracking algorithm.
Outputs from a Centroid type algorithm (one of Centroid or MTT) are combined
with outputs from a Correlation type algorithm (Phase Correlation only).
The constituent algorithms position their own track windows. The output from
the Correlation type algorithm is used as the target aim‐point for calculation of
Target to Boresight Errors. The constituent algorithms are re‐designated with a
position, velocity and size determined by the Combined algorithm if their outputs
are determined to have diverged from the Combined algorithm outputs.
The Correlation type algorithm does not use an image pre‐processor so polarity is
irrelevant to the Correlation type algorithm.
Advantages • The Combined algorithm is the most general purpose algorithm that can be
used for tracking both un‐bounded objects and bounded moving objects
within the image
• The Combined algorithm is very tolerant to clutter since the two track
algorithms are often complementary (so when one fails due to clutter, the
other may still be able to track)
• The Combined algorithm may self‐centre and self‐size
Disadvantages • Increased latency due to running two algorithms
• Self‐centring and self‐sizing can only occur if the target presents
characteristics that can be tracked by the Centroid Type algorithm (at least
some of the time)
NOTE
Refer to Block 016 in the Command Reference.
Aimpoint The Scenelock algorithm tracks several points in the scene and then combines the
motion estimates of each point to estimate the overall scene motion. The
allocation and selection of tracking points in the scene occurs automatically. When
existing tracking points move outside of the field of view, new tracking points are
automatically identified and assigned.
The aimpoint is initialized to the point in the scene that is located at the boresight
when tracking is initiated. The Scenelock algorithm then continues to track and
report the position of this point in the scene. The symbology uses a cross to
indicate the Scenelock aimpoint.
In Track Mode, it is possible to modify the aimpoint using the system joystick (or
other control) to ‘nudge’ the current aimpoint to a new point in the scene.
Advantages • The Scenelock algorithm offers an easy to use, robust algorithm for tracking
a point in the scene
• The Scenelock algorithm is unaffected by individual moving objects within
the scene as long as the moving objects are small with respect to the overall
scene
• The selection of tracking points is automatic
• As the aimpoint is calculated from the combination of all tracking points, it
is not necessary to have an actual object at the aimpoint that can be tracked
Disadvantages • The Scenelock algorithm cannot be used to track a specific object in the scene
unless the object is large and fills the majority of the scene
• The Scenelock algorithm cannot be used if there is insufficient structure in
the background to track, e.g. sea or air backgrounds
NOTE
Refer to Block 013 in the Command Reference.
20 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
4.7 Moving Target Detection (MTD)
Application The MTD algorithm is used for detecting multiple moving targets such as vehicles
or people. The MTD algorithm gives good performance with small targets in high
static clutter.
Aimpoint The MTD acquisition algorithm extracts objects from the scene that are moving
independently in relation to the background. This is achieved by tracking the
background motion using a Scenelock process, and aligning the background with
a reference image. Any differences between the reference image and the current
aligned image are assumed to be moving targets. The detection process can be
configured to detect only targets of a certain size, travelling at a certain speed, or
only targets that have moved by a particular distance.
Advantages • The MTD algorithm performs well in cluttered scenes
Disadvantages • The MTD algorithm cannot be used if there is insufficient structure in the
background for the Scenelock algorithm to track, e.g. sea or air backgrounds
• The MTD algorithm can produce false alarms particularly if extraneous
motion is exhibited by other artifacts in the scene (trees blown by the wind,
for example)
NOTE
Refer to Blocks 053 and 054 in the Command Reference.
Correlation and image differencing based algorithms do not require a pre‐
processor and so ignore the Polarity setting.
For most cases, Automatic control is suitable.
When a threshold pre‐processor is in use, the Threshold Gauge symbol can be
displayed (see Section 5 • Symbology ).
Summary
Algorithm Polarity Sensitive Pre-processor Mechanism
MTT Yes Threshold for all polarities
Centroid, Yes Threshold for white or black
Edge Statistical for bipolar
Phase Correlation, No N/A
Scenelock,
MTD
22 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
4.9 Track Algorithm Performance Summary
Table 4-1 Track Algorithm Performance Summary
Criteria Centroid Edge MTT Centroid Edge MTT Phase Combined Scenelock
Positive/ Positive/ Positive/ Bipolar Bipolar Bipolar Correlation
Negative Negative Negative
Polarity Polarity Polarity
Bounded 5 4 5 5 4 5 4 5 3
Targets
Unbounded 1 3 1 1 3 1 5 4 5
Targets
Dynamic 5 5 4 5 5 4 4 4 3
Performance
Self Centring 5 3 5 5 3 5 1 4 1
Decoy 4 3 5 3 3 4 4 5 4
Resistant
Pattern 1 1 1 1 1 1 5 3 5
Tracking
Drift Resistant 5 5 5 5 5 5 4 4 4
General 3 3 3 5 4 4 5 5 1
Purpose
Constant Polarity 5 5 5 3 3 5 3 3 3
1. = Not Applicable.
2. = Below Average.
3. = Average.
4. = Good.
5. = Excellent.
Acquisition-Track The following table suggests suitable pairings for Acquisition‐Track mode
Pairings algorithms:
Acquisition Mode Algorithm Track Mode Algorithm
Centroid Centroid
Edge Edge
MTT Centroid, MTT, Edge, Phase Correlation, Combined
MTD Centroid, MTT, Edge, Phase Correlation, Combined
(Phase Correlation or Combined would be preference)
Phase Correlation Phase Correlation, Combined
Scenelock Scenelock
Scenelock is not included, as it does not process every pixel contained in the
Scenelock window and so can process any window size up to the video
processing limits.
For digital formats, the variability in frame sizes and video processing rates
makes it impractical to define these limits.
NOTE
Refer to Block 002, 003 in the Command Reference.
24 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
5 • Symbology
Overview The AVT has a symbology generator facility, which inserts graphics and text
(alphanumeric characters) into the video output. This is user‐configurable to suit
the application.
The symbology is contained within the active graphic region.
Each symbology item can be selectively enabled and disabled, as can the entire
symbology overlay.
The display position of text symbology items can be configured.
NOTE
Refer to Block 001, 011, 042 in the Command Reference.
5.1.2 Window
The window symbology consists of four right‐angle markers, which outline the
area of either the Track Window or Acquisition Window depending on the AVT
mode.
Figure 5-3 Window Symbology
26 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
5.1.3 Target Aimpoint
The target Aimpoint symbology consists of a small cross, and marks the position
of the target Aimpoint as calculated by the Track Algorithm.
When the AVT is in Autotrack Mode, the Aimpoint symbology is suppressed
when a Breaklock condition has occurred. It is restored once the Breaklock
condition has been removed. The target Aimpoint symbology will not represent
any Aimpoint offset vector in use.
Figure 5-4 Target Aimpoint Symbology
In Scenelock acquisition mode, the acquisition target marker is displayed centred
on the boresight to indicate that the scenelock algorithm has detected suitable
tracker points. When there are no suitable tracking points, the acquisition target
marker is not displayed.
NOTE
In Centroid or edge acquisition, the acquisition target is marked by a cross.
28 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
5.1.8 Threshold Gauge
The pre‐processor Threshold Gauge symbology provides an indication of the
current target and background peak intensities, and the current threshold level.
This allows the operator to determine how to set the ‘threshold mode’ and the
‘manual offset’ when viewing the current scene.
The Threshold Gauge consists of a horizontal axis, where the left of the axis is
equivalent to an intensity of 0 and the right of the axis is an intensity of 255. The
Threshold Gauge display depends on the polarity being used.
30 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
5.2 Text
5.2.1 Status Line
The status line indicates the AVT status as detailed below.
Figure 5-12 Status Line
1 2 3 4 5 6 7
1. Target Priority.
2. Acquisition Mode.
3. Acquisition Algorithm.
4. Acquisition Polarity.
5. Track Mode.
6. Track Algorithm.
7. Track Polarity.
Acquisition Status
Field Label Description
1. Target Priority S Size
P Position
M Motion (highest speed)
I Intensity
Manual
2. Acquisition Mode ACQ Acquisition Mode
ARM Armed Acquisition Mode
REV Reversionary Acquisition Mode
3. Acquisition Algorithm CENT Centroid
EDG Edge
MTT Multiple Target Track
PCOR Phase Correlation
SNLK Scenelock
MTD Moving Target Detection
4. Acquisition Polarity Bp Bipolar
Wt White (Positive Contrast)
Bl Black (Negative Contrast)
Au Automatic
NOTE
The AVT is in Acquisition Mode when the “Target Priority” and “Acquisition Mode” fields are highlighted.
The AVT is in Track Mode when the “Track Mode” field is highlighted.
Polarity is only shown when using MTT, Centroid, Edge or Combined.
5.2.2 LOS
The LOS symbology indicates the current LOS used by the AVT.
32 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
6 • Track Error Generation
Introduction The Track Error (Target to Boresight Error) is defined as the position of the target
Aimpoint with respect to the Boresight. The Track Error is used as the input to the
platform filters, and hence used to calculate the platform rate demand outputs.
There is a ‘settle time’ of 2 seconds following entry to Autotrack Mode before the
offset vector is applied. Following this settle time, Aimpoint offset vectors are
applied within two fields of receipt of command. The offset is set to zero in all
AVT modes other than Autotrack. Typically, the Aimpoint offset is controlled
from the system joystick.
NOTE
Refer to Block 012 in the Command Reference.
AIMPOINT
OFFSET
VECTOR
Demand
Error Y
BORESIGHT
AIMPOINT
There is a ‘settle time’ of 2 seconds following entry to Autotrack Mode before the
aimpoint refinement is applied. Following this settle time, aimpoint refinement
vectors are applied within two fields of receipt of command. Typically the
aimpoint refinement is controlled from the system joystick. It is recommended
that aimpoint offset is disabled when aimpoint refinement is being used.
NOTE
Refer to Block 012 in the Command Reference.
Boresight The AVT boresight defines the origin for the Target to Boresight Errors. It is
possible to locate the boresight at any position within the Active Video Region
with the position of the boresight held in the Sensor Configuration Block.
It is possible to adjust the AVT boresight position. The correction is applied within
two fields of receipt of command. The boresight position is independently set for
each of the sensor configurations. The boresight position therefore automatically
changes to match the selected sensor and FOV.
NOTE
Refer to Sensor Configuration Blocks in the Command Reference.
34 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
7 • Sensor Compensation
Overview Sensor Compensation enhances the performance of the AVT when operating with
multi FOV systems comprising:
1. Fixed FOV sensors.
2. Switched FOV sensors.
3. Zoom sensors.
4. Combinations of the above.
Sensor Compensation requires the sensors to be calibrated to determine the actual
Sensor FOV and Boresight position.
Sensors Each sensor has the following configurable parameters:
1. Video Input:
• Analog Video Input 1
• Analog Video Input 2
• Analog Video Input 3
• Analog Video Input 4
2. Video Standard:
• CCIR
• RS170
• PAL
• NTSC
• Digital Video Standards (Application specific)
NOTE
You can limit the Video Processing area to a programmable rectangle within the field of view.
3. Boresight X position and Y position.
4. Field of View:
• Switched FOV
• Zoom FOV
• User Defined FOV
NOTE
Refer to the Sensor Configuration Blocks 001, 024-035 and 055-060 in the Command Reference.
NOTE
Refer to the Video Definitions section in the ADEPT AVT Hardware Reference Guides.
The AVT calculates the vertical FOV from the HFOV using the FOV Ratio which is
defined as follows:
FOV Ratio = FOV of Vertical Active Video Region
FOV of Horizontal Active Video Region
36 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Example The AVT defines the Horizontal Active Video Region (AFH) as 512 Pixels which is
Calculation of FOV equivalent to 51.2μs.
Ratio for CCIR CCIR defines the sensor horizontal active video region (SFH) as 52μs which is
(ADEPT 60) equivalent to 520 pixels. Thus:
AFH = (512/520) x SFH
The AVT defines the Vertical Active Video Region (AFV) as 256 Pixels which is
equivalent to 512 TV Lines.
CCIR defines the vertical active video region (SFV) as 575 TV Lines which is
equivalent to 287.5 pixels. Thus:
AFV = (256/287.5) x SFV
The AVT FOV ratio is defined as the FOV of the Vertical Active Video Region over
the FOV of the Horizontal Active Video Region, which can be expressed in terms
of CCIR active video FOV as follows:
(AFV/AFH) = ((256/287.5)/(512/520)) x (SFV/SFH)
or
(AFV/AFH) = 0.904 x (SFV/SFH)
CCIR defines (SFV/SFH) = 3/4
Therefore, for CCIR:
(AFV/AFH) = 0.678
When a change of switched sensor FOV occurs in Track mode, the AVT enters a
forced Breaklock phase during which it attempts to re‐acquire the target in the
new FOV. The duration of the forced Breaklock phase is configured by the FOV
Change Time command. If the automatic window‐sizing mode is selected, then
the window is automatically re‐sized by the ratio of the FOV change.
If the Dynamic Boresight mode is enabled, then the Boresight position associated
with the new FOV is applied at the end of the forced Breaklock phase. At the end
of the forced Breaklock phase, the Track Window position is recalculated based on
its offset from the original Boresight position, the ratio of the FOV change and the
new Boresight position.
If the Dynamic Boresight mode is selected, the Boresight positions for Zoomed
FOV Sensors are calculated using a value, the Zoom Feedback, input via the
Command Interface. The Zoom Feedback is used to estimate a value for the
Dynamic Boresight positions using a Lookup table that consist of 13 entries of
Zoom Feedback with the corresponding values of Boresight X and Y positions.
The Zoom FOV and Boresight tables are ordered with the lowest Zoom Feedback
at the first entry and ascending values in consecutive entries. The lookup tables
use a straight line interpolation to calculate the HFOV and Boresight positions for
Zoom Feedback values that occur between two consecutive entries.
Table 7-2 Zoomed Sensor FOV and Boresight
Entry Zoom Feedback FOV Boresight X Boresight Y
1 Lowest zoom value
2
..
13 Highest zoom value
The sensor pointing angles are input as either position or rate inputs, or both. If
only rate inputs are supplied, then these are integrated internally to derive a
position.
NOTE
Refer to Block 001 in the Command Reference.
Compensated The reconstructed position information is used in the following AVT functions.
Functions
NOTE
Refer to Block 003 in the Command Reference.
38 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
7.2 Setting Up Boresight and FOV Compensation
Introduction This section describes how to configure the AVT so that it automatically
compensates for the changes in Field of View (FOV) and Boresight position that
occur when the focal length of the input camera changes.
The value is entered in video fields. For example, a 1 second disturbance would be
commanded by setting a value of 60 for a RS170 camera system.
It is not strictly necessary to use all of the look up table points, however it is
important to determine where the points should be within the range of the zoom
tell back. It is important to have one point at the narrowest FOV and another point
at the widest FOV. The other points should be distributed through the range of tell
back, concentrating on areas where the relationship between the tell back and the
FOV (or Boresight position) are non‐linear.
The look‐up table function requires that the lowest value of zoom tell back is
entered as point 1 and that the value of the subsequent points are strictly
increasing.
Electronic This procedure assumes that the alignment follows on from above, so the AVT
Boresight configuration is the same.
Alignment
Step Action
Select the camera with the narrowest FOV (assuming this is the first, switched FOV
1
camera, (set Block 001, Field 2 to 0)
Drive the platform so that the Boresight symbology is lined up over a static scene feature.
2 The feature should be a FOV intransient point (such as the corner of a building), which is
visible in both cameras
3 Lock the platform position
40 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Switched FOV Follow the steps in the table below:
Camera (Sensor 1)
Step Action
1 Note the current X position of the Boresight symbology (Block 024, Field 3, should be 256)
2 Write this value to Switched FOV 1 Boresight Position X (Block 055, Field 4)
Note the current Y position of the Boresight symbology
3
(Block 024, Field 15, should be 128 or 120)
4 Write this value to Switched FOV 1 Boresight Position Y (Block 055, Field 8)
5 Switch the camera to the next FOV
Move the Boresight symbology (Block 024, Fields 3 & 15) until the Boresight symbology is
6
over the scene feature
7 Note the current X position of the Boresight symbology (Block 024, Field 3)
8 Write this value to Switched FOV 2 Boresight Position X (Block 055, Field 5)
9 Note the current Y position of the Boresight symbology (Block 024, Field 15)
10 Write this value to Switched FOV 2 Boresight Position Y (Block 055, Field 9)
Repeat steps 5 through 10 for each subsequent switched FOV.
11
Set the sensor configuration ready for use
12 Enable the dynamic Boresight calculation on Sensor 1 (Block 055, Field 1 set to 1)
13 Set Sensor 1 to use switched FOV compensation (Block 024, Field 11 to 1)
14 Save the configuration
15 Use the sensor compensation
NOTES
1. This assumes that the zoom tell back increases as the FOV increases. However if the tell back
reduces as the FOV increases, the tell back value should be written to (Block 028, Field 13 and the
boresight values to Blocks 59, 60, Field 13)
2. This assumes that the zoom tell back increases as the FOV increases. However if the tell back
reduces as the FOV increases, the tell back value should be written to (Block 028, Field 12 and the
boresight values to Blocks 59, 60, Field 12).
Refer to Block 001 in the Command Reference.
42 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
7.2.3 FOV Calculation Procedure
Follow the steps in the table below:
Step Action
Configure the AVT algorithms for MTT acquisition (set Block 002, Field 1 to 2) and for
1
Centroid tracking set Block 003, Field 1 to 0
2 Enable the LOS on-screen symbology (set Block, 042 Field 1 to 1)
Configure the platform drive so that the position of the platform is under operator control
3
regardless of the tracking state of the AVT
NOTE
1. This assumes that the zoom tell back increases as the FOV increases. However if the tell back
reduces as the FOV increases, the FOV value should be written to Block 029 Field 13.
NOTE
Refer to the Video Definitions section in the ADEPT AVT Hardware Reference Guides
44 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Aspect Ratio Y‐axis FOV = 256.0 x (PP1Y – PP2Y)/(TP2Y – TP1Y)
Calculation FOV Ratio equals Y‐axis FOV/X‐axis FOV
This equation assumes a CCIR video signal using 256 active video lines per field.
For an RS170 video signal use a value of 240. Additionally, some AVTs offer an
increased number of active video lines. Refer to the Technical Specification to find
the number of active lines in the Y‐axis of the chosen video coordinate system.
LINK
Refer to Section 11 • Tracker Configuration .
Overview The primary objective of the complete Electro‐Optical Tracking System (EOTS) is
to control the angular position of the platform and attached sensor such that the
object of interest viewed through the sensor appears at the centre of the field of
view (boresight) and is maintained as close as possible to this point as the object
moves.
The ‘Platform Filters’ can be used to modify the response of the closed loop
control. The Platform Filters include a compensator that is located in the forward
path of the control loop. The compensator consists of a standard five‐term
difference equation with coefficients that can be configured. This can implement a
compensator network with a complexity equivalent to a Second Order Transfer
function. To allow the response to be separately optimized for Manual gain and
joystick shaping and Automatic Tracking, there is a separate compensation
network for Manual (gain and joystick shaping) and Automatic Tracking which
are switched depending on the mode.
The AVT provides rate demand outputs for a servo platform, which are output
through the Serial and VME/PCI/ISA bus Interface and the analog outputs.
Figure 8-1 Control Loop
ADEPT AUTOMATIC
Zero
VIDEO TRACKER
Analog (ADEPT60 only)
Joystick Raw Acquisition
ADC
Joystick Mode Rate
Demand
Joystick
Shaped
Joystick
Joystick
Integral
joystick
Target to
Boresight error
TRK
-
DAC SERVO
ZERO ORDER HOLD PLATFORM
(ADEPT60 only) (analog)
Linear or
Integrating
Filter Coeffs
Mechanical
46 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
8.1 Acquisition Mode Rate Demand
In Acquisition Mode, the rate demand can be configured to operate in one of the
following ways:
1. Zero Outputs
The rate demands are set to zero.
2. Raw Outputs
The rate demands are set to the voltages received through the analog inputs.
This is not supported on all AVTs (see the Hardware Reference Manual for
each product).
3. Shaped and Gained Joystick
The rate demands are calculated by applying gains and shaping to the
selected Joystick Demand X and Joystick Demand Y device inputs Figure 8‐2
and Figure 8‐3.
4. Interface Rate Demand
The rate demands are set to the rate demand supplied across the command
interface.
5. Shaped Gained and Integrated Joystick
The rate demands are calculated by applying gains and shaping to the
selected Joystick Demand X and Joystick Demand Y device inputs. In
addition, the output is integrated over subsequent video cycles.
6. Absolute Position
The rate demands are calculated to move the platform to the absolute
position as defined in (Block 88, Fields 11, 12).
7. LOS Rate with Zero Output
The rate demands are set to zero, but when track is entered, the platform
filter is initialized with the LOS rate calculated from platform feedback. This
is used when the platform is under external control in acquisition.
8. LOS Rate
As above, but rate demands are not zeroed – they reflect the LOS rate
calculated from platform feedback.
Joystic Shaping Figure 8-2 Joystick Gains and Shaping
The joystick compensation coefficients are contained in (Blocks 19, 20).
Figure 8-3 Joystick Shaping
Output
Input
Cutpoint
Filter 1 yc (k)
Target to (Linear)
Boresight Rate
Error Demand
Field of View
Compensation Select
Filter 1 or 2
X(k)
Output
Filter 2
(Integrating)
Xc (k)
yc (k)
48 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
FOV Field of View Compensation
Compensation
xc(k) = (x(k). KFOV)/NPIX
xc(k) = FOV compensated Track error
x(k) = Track error (including Aimpoint offset) in pixels
KFOV = Axial (azimuth or elevation) Field of View (mRad) of the selected video input
NPIX = Number of pixels in that axis (azimuth or elevation)
LINK
See “Sensor Compensation” on page 35.
Filter 2. Typically this would be configured with an integrating closed loop
controller that provides improved following performance when tracking a
moving target.
NOTE
Refer to Block 022 and 023 in the Command Reference.
Each platform filter consists of a digital filter with the following structure for each
axis.
yc(k) = G.[P0.xc(k) + P1. xc(k-1) + P2.xc(k-2)] + [I1.yc(k-1)+ I2.yc(k-2)]
yc(k) = Filter Output
yc(k-1) = Filter Output delayed by 1 sample
yc(k-2) = Filter Output delayed by 2 samples
xc(k) = Current Track error
xc(k-1) = Track error delayed by 1 sample
xc(k-2) = Track error delayed by 2 samples
G = Filter gain coefficient. Reference (Block 22, Block 23)
P0,P1,P2,I1,I2 = Filter coefficients. Reference (Block 22, Block 23)
Sample Rate = Input Video Field Rate
Coast The output of the platform filters is coasted at a constant rate when the tracker
enters Breaklock mode.
At the point of transition to Track mode, the AVT initializes the closed loop PID
rate term with the current rate demand output – i.e. the last rate calculated during
Acquisition mode. Hence, the way to initialize the closed loop PID with the
supplied LOS rate is to command the AVT to use this rate to form the Acquisition
mode rate demand. The relevant command is the Acquisition Mode Platform
Output Selection. This should be set to either ‘LOS rate with zero output’ (value
6), or ‘LOS rate’ (value 7).
NOTE
The effect of correct PID initialization will only be seen when a PID filter with an integrating term has
been configured
NOTE
The deadband and drift calculations are not performed when using the Zero Outputs and Raw Outputs in
Acquisition mode).
Rate Platform
Demand Demand
50 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Drift Compensation The drift compensation adds a fixed voltage to the Platform Demand to
compensate for any drift in the platform.
Y(k) = YD(k) + KDRIFT
Where:
KDRIFT = Drift Compensation value (millivolts)
The following diagram illustrates the scaling that the AVT performs, in Track
mode, between measuring the target position and generating a platform rate
demand voltage.
Figure 8-6 Scaling of Platform Outputs
Rate Demand
Target Position FOV Scaling Target Position Platform Rate Demand
PID Filter (Milliradians
(Pixels) (Milliradians) (Milliradians) Scalar (Millivolts)
per second)
NOTE
This process is separately applied in the X and Y axis.
The Y‐axis FOV scalar can be calculated by applying the FOV ratio. This value is
supplied to the AVT through the sensor configuration block (Field 9, Block 24).
NOTE
To successfully use the synthetic target, the FOV values should be entered as milliradians. If the FOV
values are not currently sent to the AVT in milliradians, then changing them to milliradians will mean that
the PID gain terms will also need to be adjusted. If the supplied FOV values have increased, then the PID
gain terms should be reduced by the same scale factor.
The gain terms of the PID filters are located in (Fields 6,12, Blocks 22, 23).
NOTE
One scalar is applied in both X and Y axes. The AVT uses the platform scalar as follows:
Rate (millivolts) = Rate (millradians)/Platform Scalar.
This is best performed after the platform has been (static and dynamically)
balanced. If this has not been done, then the gain values may need reducing to
avoid instability with closed loop tracking.
For tuning, an ideal static target is required, i.e. a high contrast single polarity
target and no obscuration in the FOV. If Sensor focus distance allows, then within
a Lab environment is ideal. If the system is to operate with several FOVs, whether
from single or multiple sensors, then the sensor compensation procedure must be
completed before the Platform tuning.
The following changes to the standard default shipping configuration are
required,
1 Acquisition Algorithm (Block 002, Field 1) set to Centroid (0)
2 Acquisition Target Polarity (Block 002, Field 3) set to Automatic (3)
3 Track Algorithm (Block 003, Field 1) set to Centroid (0)
Track Polarity (Block 003, Field 2) set to either Positive Contrast (1) or Negative Contrast (2)
4
to match Target selected
5 TBE Bleed mode (Block 21, Field 7) set to Disabled (0)
Platform Filter Select (Block 21, Field 6) set to Filter 1 (0).
6
(Assumes Platform Filter 1 (Block 022) settings are the Linear Filter defaults)
7 (Centroid) Breaklock Algorithm (Block 004, Field 6) set to Disabled (0)
52 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Tuning the Axis The easiest way to tune the axis gains is to do them separately. This is aided by
Gains disabling the Platform demand for the other axis in both Acquisition and
Tracking, and displacing the Target from the boresight only in the axis to be
tuned. The method for disabling the Acquisition platform demand will be system
configuration dependant, as the Platform could be driven directly by the host in
Acquisition mode, or be derived from a Joystick input to the AVT, which can be
configured via several methods.
NOTES
1. If it oscillates, then the gain is too high.
2. If it disappears altogether, then the gain is either exceedingly high or reversed i.e. incorrect.
3. If It moves slowly, then gain is too low
Note down Filter 1 X axis Gain Coefficient (Block 022, Field 6) for use later. If there is a
significant static imbalance of the platform, then different results will be obtained for
9
displacements on opposite side of the boresight. In this case, the smallest absolute gain
should be used
10 Restore all configuration items to the start of the Horizontal Gain Tuning
Set both Filter 1 X & Y axis Gain Coefficients (Block 022, Field 6 & 12) using the
recorded values.
Carry the derived linear filter gains (Block 022, Field 6 & 12) over to the
integrating filter (Block 023, Field 6 & 12) and switch to using the integrating
filters for the AVT Platform demand outputs, by setting Platform Filter Select
(Block 021, Field 6) to Filter 2 (1). Using the integrating set will give better
following error performance, which is generally preferred.
Re‐enable the Centroid Breaklock Algorithm (Block 004, Field 6) by setting it to 1,
as it was disabled for the gain tuning above.
Position the Target at the extreme of FOV displacement and enter tracking. If the
system loses lock or goes into Coast a lot while pulling the target to the boresight,
then enable Platform bleed by setting TBE bleed mode (Block 021, Field 7) to
Platform (1).
Repeat the above but change the bleed rate in the X and Y axis (Block 021, Fields 8
& 9) until the target is pulled to the boresight satisfactorily. These settings are a
compromise between the speed of response and maintaining tracking: too small a
bleed rate and the time to pull the target onto the boresight will be too long; too
large a bleed rate and the tracking will coast excessively or be lost.
These setting should now be transferred into the Host initialization of the AVT, as
they are platform configuration dependant (Servo gains). Hence, if Servo systems
within the platform are re‐calibrated, the above procedure will need repeating.
They may be set on the AVT and saved into Flash as part of the start‐up
configuration data set.
54 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
9 • Synthetic Test Target
Overview The AVT has the ability to overlay the image of two targets on the incoming video
image. The position of the targets is governed by internally calculated target
trajectories and the pointing angle of the video sensor.
The overlaid video is subsequently used as an input into the Tracking function of
the AVT. The AVT can then be commanded to track one of the overlaid target
images. The rate demand output by the AVT platform filters completes the closed
loop tracking of the overlaid target.
Synthetic target has the ability to be driven by real time user inputs as an
alternative option to the internal trajectories.
The Synthetic Test Target function is used to:
• Demonstrate and test the closed loop performance of video tracking system
• Provide inexpensive, highly realistic operator training
• Validate operational equipment configurations such as target range, attitude
and sensor FOV
NOTE
Refer to Block 011, 090-100 in the Command Reference.
Sensor
Sensor
FOV
Target
Target Platform
Position and Target - Position
Overlay on
Video
Demand
Size Position in FOV Tracking
Video Calculation
Calculations
The functional blocks required to allow synthetic test target generation are shown
in Figure 9‐1. The grey boxes indicate functionality that has been added to the
AVT for this purpose.
To operate the Synthetic Target in a Polar or Cartesian mode it is necessary to:
• Have properly calibrated sensor configurations
• Provide LOS to the AVT
Alternatively, the User can provide Dynamic (i.e. real‐time) pixel data, which the
AVT will use to insert the Synthetic Targets, but this would require the User to be
aware of Sensor FOV and LOS.
Speed The azimuth and elevation velocity of the target in milliradians per second is
controlled using:
• Target Azimuth Velocity
• Target Elevation Velocity
56 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
9.1.2 Polar - Sinusoidal Trajectory Configuration
Sinusoidal trajectory mode uses cosine and sine functions to produce smooth
synthetic target acceleration on the screen. There are four types of sinusoidal
trajectory motions. The azimuth and elevation amplitude multipliers are set to
determine the targets position on the screen.
Size The azimuth and elevation size of the target is set using:
• Target Azimuth Size
• Target Elevation Size
Amplitude The amplitude of cosine and sine wave positioning and acceleration is set using:
• Target Azimuth Amplitude
• Target Elevation Amplitude
Frequency The frequency of cosine and sine wave positioning and acceleration is set using:
• Target Azimuth Frequency
• Target Elevation Frequency
For example, 500 milli‐Hertz = 0.5 Hertz = 2 seconds to carry out 1 rotation.
There are two targets available in Cartesian mode. Target 2 is designed to simulate
an object detaching from target 1. Target 2 can be configured to appear some time
into the trajectory of target 1. Once enabled, its trajectory is initialized to the
position and speed of target 1 and then modified by its own set of acceleration
segments.
The configuration of each Cartesian target is broken into two sections: the Base
configuration and the Segment configuration. The Base configuration sets the
initial trajectory values as well as the target size, shape and intensity. The Segment
configuration sets the accelerations that will be applied in each time segment.
Each segment has a time delay. This time effectively sets the time duration of the
previous segment.
The North value is interpreted as a range, allowing control over the Target
drawing order, with the lowest value considered closest and hence drawn last.
Target 1 and 2 Enable, Intensity and Sizes are taken from the normal Target Polar
Blocks 91 and 93 respectively (all other value in these blocks and 92 and 94 are
ignored in this mode).
NOTE
The Intensity and Sizes for a Target are locked when both the Synthetic Target mode is active and the
Target is enabled (this is unchanged from the existing non-dynamic synthetic mode).
58 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
9.2 Example Trajectories
Example 1 The trajectory for this example synthetic target is produced with these
Polar Sinusoidal configuration settings:
Trajectory
Value 1 (Az Sin/El Cos) Sinusoidal Trajectory Type
Value 50 (50 Milliradians) Azimuth Amplitude
Value 50 (50 Milliradians) Elevation Amplitude
Value 500 (500 Milli-hertz) Azimuth Frequency
Value 500 (500 Milli-hertz) Elevation Frequency
Figure 9-2 Target Mode = Az sin/El cos (Sinusoidal Trajectory Type, Value 1)
A z s in / E l c o s T ra je c t o ry
A z im u t h
Az
p o s it io n
E le v a t io n
El
p o s it io n
A z im u t h &
e le v a t io n Az / El
p o s it io n
c o m b in e d
( h o w t h e t a rg e t
a p p e a rs o n
t ra c k e r o u t p u t )
5 0 m illira d ia n s
Figure 9-3 Target Mode = Az cos/El sin (Sinusoidal Trajectory Type, Value 2)
Azimuth
Az
position
Elevation
El
position
Azimuth & Az / El
elevation
position
combined
50 milliradians
60 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Example 3 This configuration shows a target moving from left to right. After 5 seconds a
Cartesian Base second target will appear from target 1 moving in a downward direction. These
Configuration configuration settings simulate a target dropping a second object.
This example is for illustrative purposes. As a result, a platform or sensor does not
need to be attached to the AVT.
To see the entire trajectory paths of the targets, the sensor FOV settings need to be
set to simulate a fish‐eye camera lens. Assuming sensor 1 is used, the
configuration will be as follows:
Sensor 1 FOV Configuration Target 1 Base Configuration
FOV Ratio 1.000 Acceleration North 0
FOV Type Used Defined FOV (2) Acceleration Altitude 0
User Defined FOV 1570 Size X 100
Synthetic Target Configuration Size Y 100
Force Video Enable (1) Size Z 100
Background Intensity 200 Target 1 Segments
Target Mode Cartesian Mode (3) Segments 1-6, all elements 0
Target 1 Base Configuration Target 2 Base Configuration
Target Intensity Black (1) Time Delay 5
Position East -10000 Target Intensity Grey (100)
Position North 5000 Offset Position East 0
Position Altitude 1000 Offset Position North 0
Velocity East 1250 Offset Position Altitude 0
Velocity North 0 Acceleration East 0
Velocity Altitude 0 Acceleration North 0
Acceleration East 0 Acceleration Altitude 0
Size X 100
Size Y 100
Size Z 100
Target 2 Segments
Segments 1-5, all elements 0
Seg 6 Time Delay 0
Seg 6 East 0
Seg 6 North 0
Seg 6 Altitude -100
To trigger the Cartesian Trajectory set,
Target 1 Base Configuration
Target Enables (2) Target 1&2
This produces displays as shown in Figure 9‐4 and Figure 9‐5.
62 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Example 4 The Cartesian mode provides the facility to change the accelerations of the targets
Cartesian Segment during their flight. For example, to simulate a target dropping an object there
Configurations needs to be at least one change in acceleration of target 2 to simulate the object
falling.
In this example, the common configuration, FOV configuration and Synthetic
target configuration use the settings described in Example 3.
Target 1 Moves from west to east, so use the settings for target 1 as described in Example 3.
Target 2 Is dropped after 5 seconds and will fall using the Earth’s gravity of 9.8m/s2.
Offset East 0
Offset North 0
Offset Altitude 0
Acceleration East 0
Acceleration North 0
Altitude Acceleration -100
Size X 100
Size Y 100
Size Z 100
Segment 1 Time Delay 3
Set all other target 2 segment time delays to 0.
NOTE
The segment 1 accelerations will continue to apply to target 2, until the target disappears because all of
the other segment times have been set to 0.
This produces the following display:
Figure 9-6 Cartesian Example 2 Segment Configurations
Overview Picture in Picture is provided in the AVT to give users an enhanced display of
targets that the system acquires or is tracking.
A small window is overlaid on the output video display showing the target of
interest whenever it is available. The details of size and position of the window,
and the zooming and image enhancements performed on the target are fully
configurable, along with persistence and frequency of updating of the picture.
NOTE
Refer to Block 052 in the Command Reference.
Operating The Picture in Picture function uses the scan converter and the display memory
Restrictions hardware to output its picture in the output video, and so is only available on the
ADEPT60.
The use of Picture in Picture is not possible when other facilities that require these
resources are in use. In particular Picture in Picture is disabled when either
‘Synthetic Target’ or ‘Digital Video’ is being used.
Some non‐standard builds of AVT software may require use of the display
memory and/or the scan converter, and care will be required when this is the case
to avoid a conflict. It is suggested that when such builds are required, the Picture
in Picture function should be disabled.
Enabling/Disabling The Picture in Picture function can be switched on or off using the enable
configuration item.
Enhancement The Enhancement Mode configuration item determines what, if any, image
Modes enhancement is applied when the picture is displayed:
• Nearest Neighbor. This mode provides no image enhancement. On zoomed
images it tends to give stepped edges (especially on higher zoom values)
• Bi‐linear Interpolation. This mode uses bi‐linear interpolation to smooth the
edges on zoomed images
• Contrast Stretch. This mode can be useful where there is little contrast
between the target and background of the image. Contrast is stretched by
taking the average image intensity for the picture and then ‘stretching’ the
intensity value at each pixel from that average value by an Enhancement
Factor.
For example, an enhancement factor of 1.0 gives no stretch ; values above 1.0
stretch by multiplying the offset from the average value by that factor. This
mode can result in some image saturation
• Histogram Equalization. This mode generates a histogram of the picture
and then applies a LUT generated from an ‘equalized’ version of the
histogram
64 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Operating The maximum display update rate achievable with PiP depends on the size of
Performance window and the loading on the CPU. The implementation is designed only to use
spare CPU capacity for generating the PiP display and will automatically
‘throttle’ to the best update rate possible in the given scenario.
A typical CPU loading achieves an update rate of 25 Hz (on the ADEPT60) using a
default configuration window of 100 * 75 pixels (with bilinear interpolation).
Overview When the AVT configuration is changed via the maintenance interface, the
changes are only retained until the AVT is power cycled or reset. Following a
power cycle or reset, the AVT will load initial values for every Configuration Item
(except real‐time command items). The AVT contains an in‐built set of initial
values known as the Default Configuration; this set cannot be deleted. However,
an area of non‐volatile memory within the AVT has been reserved where Users
may save up to two further Configuration sets. Once saved, these Configuration
sets may be restored on command or be selected for loading during AVT
initialization, overriding the Default System Configuration. This is a useful short‐
term method of saving and using the configuration, and is frequently used in one‐
off AVT integrations.
When the AVT is to be installed in a system that uses an intelligent controlling
computer, it is recommended that changes from the AVT Default configuration be
initialized by the Host System at system power‐up.
NOTE
Saved configurations may be lost if the AVT Application Software is updated.
There are four commands related to saving and restoring configuration from non‐
volatile memory:
NOTE
Refer to Block 009 in the Command Reference.
66 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
12 • Tracker Performance
Definitions The following definitions are used:
Contrast
(Average Target Intensity ‐ Average Background Intensity) x 100
Peak White Intensity
Signal to Noise
Ratio
(Average Target Intensity ‐ Average Background Intensity)
RMS Noise
Overview The AVT Controller for Windows (avt.exe) is a stand‐alone Microsoft Windows
x32 utility that provides an easy to use interface for accessing the AVT
configuration and status data. The access is structured in a series of User Screen
menus that group Command and Status data by function. The content of these
User Screens is defined by a Script File provided with the installation. The Script
File is an editable text file that can be modified by Users.
Installation The AVT executable file (avt.exe) is provided on the CD‐ROM.
1. Copy the “CDROM:\Tools” directory and all of its contents to a directory on
the PC Hard Disk Drive. As well as copying the executable file “avt.exe”,
this will also copy the product script files and the Compiled HTML Help File
(AVT.chm).
2. From the “CDROM:\Tools\scripts” directory, choose the AVT HW product
script file required. Copy this into the “AVT_control” directory on the PC
Hard Disk Drive.
The first time the program is executed it will:
1. Display a Window titled “Select Product Type”. The User should select the
appropriate AVT product type.
2. Display a Window titled “Select AVT Script File”. The User should select the
script file copied earlier (which has a *.txt extension).
3. Default to using COM1 at 115200 baud rate (comms port settings can be
changed by selecting menu option <Configure><Comms Port…>).
Operation The main window of the program provides the primary control functions such as
enter/exit track, algorithm selection, window sizes.
Joystick or The PFK file can be configured to enable a joystick or gamepad to be used with
Gamepad the program. Joystick or gamepad buttons may then be mapped to one or more
AVT configuration items, and the joystick axis can be allocated to control
functions such as Platform demands and Acquisition Window position.
Help Selecting the <Help><Contents…> Menu option provides access to the Compiled
HTML Help File, which describes further functionality.
68 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Typical User Figure 13-1 Typical ADEPT AVT Control User Interface
Interface
Overview WinMon (WinMon.exe) is a stand‐alone Microsoft Windows x32 utility that
provides a general purpose communications interface to the ADEPT family of
trackers serially or via PCI. It can:
1. Provide a software download utility for reprogramming AVT software.
2. Send/receive low level communications to and from the tracker.
Installation The WinMon executable file (WinMon.exe) is provided on the CD‐ROM.
From the “CDROM:\Tools” directory, copy the executable file “WinMon.exe”
and the Compiled HTML Help File “WinMon.chm” to a directory on the PC
Hard Disk Drive.
The first time the program is executed, it will default to using COM1 at 38400
baud rate. Comms port settings can be changed by selecting menu option
<Configure><Comms Port…>)
Help Selecting the <Help><Contents…> Menu option provides access to the Compiled
HTML Help File, which describes further functionality.
70 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Figure 14-1 Typical WinMon Interface
Overview The ADEPT AVT range of products have the following physical data interfaces:
ADEPTxx Serial VME PCI
ADEPT64 4
ADEPT60 4
ADEPT104 4 PCI or ISA
AIM12 4
ADEPT74 4 PCIe
Each of these interfaces can be used for data communication between the AVT
and host system. The communication allows for commands to be issued to the
AVT and status data to be returned by the AVT to the host system.
The ADEPT AVT supports several different communication protocols, which are
supported on each of the physical data interfaces:
Simple Protocols:
1. COMMAND and STATUS Block Protocol.
2. Datalog Messages (not via DPR).
Structured Protocols:
1. External Command; Symbology Interface.
2. External Command; Component Interface.
72 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
A.1.1 COMMAND and STATUS Block Protocol
Serial Channel 1 is typically configured as the Maintenance Port, providing full
access to the COMMAND and STATUS data.
The COMMAND and STATUS blocks are used both to input commands to the
AVT and also to query AVT status. They are accessed using the following data
packet, which is used to transmit both commands and status requests to the AVT,
and also to receive status data from the AVT.
Byte Content
1 Sync Flag (0x55)
2 COMMAND Block BLOCK
3 COMMAND Block FIELD
4 Data (most significant byte)
5 Data
6 Data
7 Data (least significant byte)
8 Checksum (modulo 256 sum of bytes 2 to 7)
LINK
For legal values of BLOCK, FIELD and DATA See “Command Reference Manuals” on page 129. The
commands are actioned within two video fields of their receipt.
NOTE
When issuing a command, the serial data packet is ordered so that the most significant byte of the
command data is placed in byte 4 Data (most significant byte) of the serial data packet. This format is
followed regardless of the number of bytes of data required for the command.
74 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Datalog Enable The Serial Datalogging Enable command (Block 9, Field 2) is used to
enable/disable the datalog output.
NOTE
The data output may have been calculated more than one video field previously, depending on the
position and size of the track window.
2. Completion of the image processing function and calculation of the status
data. This can occur at any point within the video field.
Following receipt of each External Command the AVT returns an External
Command Response. This is a packet of consecutive bytes. Each External
Command Response Packet has the following format:
Byte Content
0 Sync Flag (0xAA)
1 to n External Command Response i.e. ID, data length, data
n+1 Packet Checksum (modulo 256 sum of bytes 1 to n)
NOTE
Refer to the Remote Control Units section in the ADEPT60 or ADEPT64 AVT Hardware Reference Guide.
Memory The Dual Port RAM data is organized on a byte‐addressable basis, where lower
addresses correspond to higher bytes (big endian). A 32‐bit data element that is
stored in 4 bytes of memory will therefore have the most significant byte (MSB)
located at address N and the least significant byte (LSB) located at address N+3 as
shown below:
Address Byte Number N N+1 N+2 N+3
3 2 1 0
MSB LSB MSB LSB MSB LSB MSB LSB
D31 D24 D23 D16 D15 D8 D7 D0
Interrupts Two interrupts are used to facilitate flow control:
• The AVT Interrupt is a single interrupt raised by the host to initiate transfer
of Command data to the AVT
• The DPR Controller Interrupt is a single interrupt raised by the AVT to the
host through the DPR interface to initiate transfer of Output data to the host
Interface Refer to the HW Reference Manual for specific details of the DPR Interface.
76 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
A.2.1 COMMAND and STATUS Block Protocol
The COMMAND and STATUS Block Protocol uses an area of DPR that is
structured as shown in the table below. This uses an organization that partitions
the DPR into 32 pages, each of 64 bytes. The pages are designated 0 to 31.
Data transfer through the DPR is organized in 64‐byte Data Transfer Blocks that
are loaded into the 64‐byte pages of the DPR. Each Data Transfer Block is
designated as either a COMMAND (Input) or STATUS (Output) data block and
each block is allocated a unique identifier or Block ID, which defines its format.
Table A-2 Dual Port RAM Data Structure
Address Offset Size (Bytes) Content
0x04 0000 64 Page 0 (DPR Status)
0x04 0040 64 Page 1
0x04 0080 64 Page 2
0x04 00C0 64 Page 3
0x04 0100 64 Page 4
0x04 0140 64 Page 5
0x04 0180 64 Page 6
0x04 01C0 64 Page 7
0x04 0200 64 Page 8
0x04 0240 64 Page 9
0x04 0280 64 Page 10
0x04 02C0 64 Page 11
0x04 0300 64 Page 12
0x04 0340 64 Page 13
0x04 0380 64 Page 14
0x04 03C0 64 Page 15
0x04 0400 64 Page 16
0x04 0440 64 Page 17
0x04 0480 64 Page 18
0x04 04C0 64 Page 19
0x04 0500 64 Page 20
0x04 0540 64 Page 21
0x04 0580 64 Page 22
0x04 05C0 64 Page 23
0x04 0600 64 Page 24
0x04 0640 64 Page 25
0x04 0680 64 Page 26
0x04 06C0 64 Page 27
0x04 0700 64 Page 28
0x04 0740 64 Page 29
0x04 0780 64 Page 30
0x04 07C0 64 Page 31 (DPR Command)
The operation of the DPR is controlled by one special STATUS block designated
DPR STATUS Block and one special COMMAND block designated DPR
Command Block, which are loaded in Page 0 and Page 31 of the DPR respectively.
The location of these two blocks remains fixed.
The remaining thirty Data Transfer Blocks, pages 1 to 30, are used for the transfer
of command and status data between the AVT and the DPR and may contain any
of the COMMAND or STATUS data blocks.
The configuration of the thirty pages is controlled by the DPR Controller, which
defines the configuration of the DPR through the Page Allocation Request fields
of the DPR Command Block.
A single flag in the DPR Command Block is used to control access to the STATUS
data blocks. This is set by the AVT to transfer control of the STATUS blocks to the
DPR Controller and also indicate that all the STATUS blocks contain valid data.
The flag is cleared by the DPR Controller to transfer control of the STATUS blocks
back to the AVT. The AVT raises the DPR Controller Interrupt when the STATUS
data block data becomes valid.
78 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
DPR STATUS Block The DPR STATUS block is partitioned as shown below:
(Page 0) Table A-4 Block ID 128, DPR STATUS
Block Ident: 128 Block Name: DPR Status
Byte Command
0 Field Counter
1 to 3 Reserved
4 to 35 Current Page Allocations
36 to 39 Reserved
40 to 43 BIT Result
44 to 63 Reserved
The Page 0 identifier is held in the first byte of the block, and consecutive page
identifiers are held at consecutive locations in the block up to 32 bytes. The
Current Page Allocations are updated during each Status cycle.
The first and last page allocations are reserved for the DPR status block and DPR
Command Block respectively.
A system of ‘tags’ that are located in the first field, field 0, of each COMMAND
block are used to indicate the fields that contain a command to be executed by the
AVT. The field 0 tag is held in the least significant bit of the 32‐bit field 0, and
consecutive tags are held in the consecutive bits of field 0 up to bit 15.
Where a command occupies more than one field, any one of the tags
corresponding to the fields within the command may be used. The tag is set to 1
by the DPR Controller to indicate that the command in the respective field is valid
and should be processed by the AVT. The tag is cleared to 0 by the AVT when it
has accepted the command data.
A single flag in the DPR Command Block is used to control access to the
COMMAND data blocks. This is set by the DPR Controller to transfer control of
the COMMAND blocks to the AVT and also indicate that all the COMMAND
blocks contain valid data. The DPR Controller raises the AVT Interrupt to request
a Command Cycle. The flag is cleared by the AVT to transfer control of the
COMMAND blocks back to the DPR Controller.
80 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Page Allocation The Page Allocation Requests command defines the contents of the 32 pages in
Requests the DPR. It consists of a 32‐byte block where each of the bytes is used to identify
the COMMAND or STATUS block, which occupies each of the 32 pages.
The Page 0 identifier is held in the first byte of the block and consecutive page
identifiers are held at consecutive locations in the block up to 32 bytes. Page 0 and
Page 31 contents are fixed and any change requests for these pages will be
ignored. Page allocation requests, indicated by the appropriate tag fields, are
processed following receipt of the AVT Interrupt.
The flag should be reset to 0 by the DPR Controller when all the status data
required has been read from the DPR. The AVT will not update the status data
blocks until this flag has been cleared to 0.
Command Block Flag (offset address 0407FD)
The Command Block Flag is located in the second byte of the Control Flags field
and indicates the status of the COMMAND blocks. This flag is set to a non‐zero
value by the DPR Controller to indicate that the data in all the COMMAND blocks
is valid. The AVT then reads in the data fields marked by valid tags.
The Command Block Flag is reset to 0 by the AVT when it has completed access of
the COMMAND blocks (this does not indicate that all commands have been
accepted). The DPR Controller must not update the command data blocks until
this has been cleared to 0.
NOTE
The ADEPT104 and ADEPT74 do not have a 04 address offset.
NOTE
This can occur at any point within the video field.
• Receipt of the AVT Interrupt raised by the DPR Controller
The AVT is capable of accepting an average of 30 commands per video field. If the
number of commands exceeds this, then the AVT may delay accepting the
commands. This is indicated by the respective tags, which will remain set after
the COMMAND cycle has been executed.
There is no pre‐defined sequence of command execution, so to guarantee the
update rate of a command, the rate at which the commands are issued must be
controlled.
NOTE
The data output may have been calculated more than one video field previously depending on the
position and size of the track window.
• Completion of the image processing function and calculation of the status
data
NOTE
This can occur at any point within the video field.
The STATUS cycle is only executed if the STATUS Block Flag has been cleared
from the previous cycle. If it is set, then the STATUS cycle is abandoned.
To ensure that STATUS blocks are updated every field, the STATUS Block Flag
must be cleared to indicate the status data has been accepted no longer than 10ms
after it has been set by the AVT.
82 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
A.2.2 Example of Command and Status Protocol
Overview This section explains how the DPR interface is used to access COMMAND and
STATUS blocks.
Address Generation
NOTE
The ADEPT104 and ADEPT74 do not have an 04 address offset.
Issuing
Isusing Commands
Commands
Yes
84 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Updating the 1. Write the Page Allocation Requests to page 31. This is achieved by writing
COMMAND Block the numbers of the required COMMAND Blocks into the locations
Page Mapping appropriate for the Interface Pages that you wish them to be mapped to. For
example to map Block 7 to page 5, write the value 0x07 to byte 1 of field 2 of
page 31 (hex offset xx07CA).
2. Set the appropriate tag bits for the command fields containing the new Page
Allocations. For example, when mapping Block 7 to page 5, command field 2
of page 31 is used, so it is necessary to set bit 2 (0x04) of the tag field (field 0)
of page 31 (hex offset xx07C0).
NOTE
When setting tag bits for Page Allocation Requests, it is important to realise that the Command Field
associated with each tag bit contains four page allocations. It is therefore important to ensure that all 4
Page Allocation Requests in a modified Command Field are set to the users required Block numbers.
3. Indicate to the AVT that new commands are available by setting the
COMMAND Block Flag and then the AVT Interrupt.
4. Wait for the AVT to complete the current command cycle. This is indicated
by the COMMAND Block Flag being cleared by the AVT.
5. Wait for the AVT to complete the next status cycle and thus update the
Current Page Allocations. Completion of the status cycle is indicated by the
STATUS Block Flag being set by the AVT.
6. Confirm that the required block now appears in the Current Page
Allocations.
Figure A-3 Update Interface Block Mapping
No
Wait for AVT to
complete the Command
Cycle
Yes
86 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
A.2.3 External Commands Protocol
The External Commands uses an area of DPR which is structured as shown in the
table below:
Table A-7 External Command Input/Output Area
Address Offset Size (Bytes) Content
0x04 0800 512 External Command Input Area
0x04 0A00 512 External Command Output Area
NOTE
The ADEPT104 and ADEPT74 do not have an 04 address offset.
When using the DPR interface to send an External Command to the AVT, the
following sequence of actions is taken by the DPR Controller:
• The first byte of the DPR External Command Input Area is read. If this does
not contain zero, then the AVT has not yet read the previous External
Command and another cannot be sent; otherwise the DPR Controller may
proceed
• The External Command, i.e. ID, Data Length and Data, is written to
consecutive bytes of memory, with the External Command ID being written
to the second byte of the DPR External Command Input Area
• A non‐zero value is written to the first byte of the DPR External Command
Input Area
• Any data value is written to the AVT Interrupt Register to generate an
interrupt to the AVT
The AVT generates a DPR Controller Interrupt to inform the DPR Controller
when an External Command Response should be read. The AVT will generate a
response to each command received. However, since the AVT may also generate
automatic notifications, it is quite possible for several responses to be queued in
the External Command Output Area.
The organization of the External Command Output Area is as follows:
Description Offset Length Value Comment
Response Flag 0 1 0 No Response available
(AVT has control of Output Area Controller).
N N responses are available to DPR Controller
(DPR has control of Output Area)
External Response 1 Variable CMD_ID to byte before CKSUM
Additional Responses 1 N-1 Count of further available responses
External Response Variable CMD_ID to byte before CKSUM
Additional Responses 1 N-2 Count of further available responses
:
Additional Responses 1 1 Last available response follows
External Response Variable CMD_ID to byte before CKSUM
Additional Responses 0 No more responses
Unused Remainder of fixed length Output Area
The responses will be queued in chronological order and the DPR Controller
should attempt to consume them and restore memory access to the AVT as soon
as possible.
Once the Command Response has been copied, or processed, i.e. the DPR
External Command Output Area is again available for use by the AVT. Zero must
be written to the first byte of the DPR External Command Output Area.
88 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
B • External Commands
B.1 Introduction
The AVT supports a set of External Commands that may be issued to the AVT via
any of the supported external physical interfaces (currently Serial and DPR).
A User issues External Commands to the AVT via a supported interface and each
of these External Commands may cause the generation of one or more External
Command Responses by the AVT. The External Command Response(s) to an
External Command is passed to the User using the same physical interface used
to send the External Command.
Command ID This 8‐bit value identifies which External Command is being issued
Serial Interface
Byte Content
0 Serial Link Header (Sync flag)
1 Command ID
2 and 3 Command Data Length
4 to n Command Data
n+1 Serial Link Tail (Packet checksum)
DPR Interface
Byte Content
0 DPR Command Flag (DPR access control)
1 Command ID
2 and 3 Command Data Length
4 to n Command Data
Serial Interface
Byte Content
0 Serial Link Header (Sync flag)
1 Command ID
2 and 3 Command Response Length
4 to n Command Response
n+1 Serial Link Tail (Packet checksum)
DPR Interface
Byte Content
0 DPR Response Flag (count of number of responses)
1 Command ID
2 and 3 Command Response Length
4 to n Command Response
n+1 Additional Responses etc
90 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
B.4 Line of Sight Data Command
Summary This command allows a Platform to send pointing position and rate of change to
the AVT.
Command ID 0x11, 17 decimal.
Name Offset Length Value Description
Serial Link Header (see Note 1)
SYNC 0 1 0xAA Synchronization code
External Command Header
CMD_ID 1 1 0x11 Identify LOS command
LENGTH 2 2 0x0015
Specific Mandatory Command Data
4 1 Mask bit set to 0 = Data not valid
bit set to 1 = Data valid
bit 0 = Latency Time Component Validity
bit 1 = Azimuth Rate Component Validity
bit 2 = Elevation Rate Component Validity
bit 3 = Azimuth Position Component Validity
bit 4 = Elevation Position Component Validity
5 4 Fix 12 LOS Latency Time
9 4 Fix 12 LOS Azimuth Rate (milliradians per second)
13 4 Fix 12 LOS Azimuth Rate (milliradians per second)
17 4 Fix 12 LOS Azimuth Position (milliradians)
21 4 Fix 12 LOS Azimuth Position (milliradians)
Serial Link Command Tail (See Note 1)
CKSUM 25 1 Checksum modulo 256 (excluding SYNC, CKSUM)
NOTES
1. Serial Interface only.
2. This definition is for the Serial Interface message and hence contains the additional bytes for Serial
Link Header and Tail.
NOTE
The definitions provided in the following sections are for Serial Interface messages and hence contain
the additional bytes for Serial Link Header and Tail.
Functional Access to configuration, real time data and status data is only possible through
Overview the External Command Interface by first registering an interest. Each registration
may contain a set of up to 16 data items, which may be picked and mixed
according to requirements. However, since all subsequent data transfers will
always involve the entire set, care should be taken to achieve an appropriate
selection.
Components may be grouped to serve several requirements. For frequent
transfers, data redundancy should be avoided by only including those likely to
experience change at a similar frequency. To guarantee the integrity of integral
units, their constituent components should be included in the same registration.
Alternatively, for infrequent use, it may be sufficient to merely group by logical
association.
Once registered, a ‘component set transfer’ can be achieved on demand or, in the
case of status data, automatically every time a constituent component experiences
a change in value. For simplicity, one off or occasional transfers may be achieved
by transient registrations that will automatically generate a single transfer and
then expire.
The data order and format type of each ‘component set transfer’ will always be in
accordance with the effective mask defined by the parent registration.
In the interest of ordered operation and efficiency, new commands should not be
initiated until previous ones have received an acknowledgement response.
Likewise, registrations that are no longer needed should be explicitly cancelled.
Time‐outs may sensibly be applied to all acknowledgements as protection against
possible communication failures.
92 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
B.5.1 Component Interface Command Definitions
Command and The following table summarizes the list of available external commands for the
Response Summary component interface.
Name Communal ID Description AVT Response
ECID_CSREG 0x30 Register a new Component Set General Response Packet or
Read Response Packet
ECID_CSDREG 0x31 Cancel a Component Set General Response Packet
Registration
ECID_CSRD 0x32 Single Shot Read General Response Packet or
(previously registered Read Response Packet
Component Set)
ECID_CSUD 0x33 Single Shot Update General Response Packet
(previously registered
Component Set)
ECID_CSTRA 0x34 Transient Registration for General Response Packet or
immediate one time access Read Response Packet
Commands must be submitted to the AVT singularly, and subsequent commands
must not be issued until the appropriate response message has been received. The
format of the response is dependant on the command issued.
AVT responses are issued on completion of the message processing, and occur
asynchronously to the video time base.
As a protection against communication failures, a response time‐out of 40 msec
can be applied.
Constituent items for a component set must be chosen carefully to avoid data
redundancy, as all subsequent transfers will involve the entire set.
Registration Each Component Set is registered with the AVT with a specific registration
number that uniquely defines a grouping of commands and data. In addition,
several types of registration are available to the user, which may be used
dependant on application specific requirements.
The AVT uses four different component types as classified in the table below:
Component Type Description
Configuration Item AVT configuration data, available through Blocks 1 to 127
System Status AVT output data, available through Blocks 129 to 255
RTC Real Time Command, e.g. joystick input
RTC and System Status A real time command with an associated system status, e.g. Enter
Track (Block1 Field 1)
NOTE
A small subset of items in blocks 1 to 127 are defined as either RTC or RTC and System Status items.
Users can specify the external interface (input and output) format for data items
using the CR_TYPE field of the component set registration. The following options
are available:
INTEGER 8‐bit, 16‐bit, 32‐bit
FLOATING 32‐bit,064‐bit
FIXED 20 integer bits,012 fractional bits
Where conversions between native and external formats are not exact, they will be
performed as accurately as possible.
Unless specified otherwise, data items larger than a single byte will always be
according to big‐endian conventions, e.g. most significant byte first, least
significant byte last.
There is no distinction, within the external command protocol, between signed
and unsigned integers, the user must refer to the block/field description and treat
the data accordingly. For example, the 8‐bit representation 0xFF can take the
values:
255 if unsigned
‐1 if signed
94 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
AVT Data Access Access to AVT data using the ‘external command interface’ is subject to
Rules read/write control based on the data type in question.
Any component set registration must adhere to the access limitations described in
the table below. Registrations that break the access rules of any of the data items
will be rejected.
Two levels of access are permitted:
• Read Only (RO) can be applied to any component (other than a Real Time
Command that has no associated system status item). It is intended to offer a
Write Protect function for otherwise updateable items (i.e. Configuration
and RTC Status components)
• Updateable (RW) allows both Read And Write access to the component set.
RW registrations that contain a system status item will be rejected
Table B-1 Access Limitation
Access Type
Component Type
RO RW
Configuration Item Accepted Accepted
System Status Accepted Rejected
RTC Rejected Accepted
RTC and System Status Accepted Accepted
AVT Response
NOTE
Only applies if the component set registration contains at least one readable
AVT ‘block and Field.
Command Successful (CR_NOTIF = 0xX2): General Response Packet
Command Failed: General Response Packet
96 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
NOTES
1. Only for use in Dual gate systems.
2. Not applicable to AVT ‘Real Time Command’ components.
3. Not applicable to AVT ‘System Status’ components.
4. The data types used should be appropriate for the AVT component in question.
5. See below for a description of this data field.
6. Serial Interface only.
Automatic AVT data items except for RTC types that have been assigned to a component set
Notification registration, can be read by the DPR Controller at any time. In addition,
component set registrations can be configured to automatically report data
according to the value of the CR_NOTIF field (See AVT Data Access Rules).
Value of CR_NOTIF Notification Type Transmission Rate
0x00 None Polled
0xX1 On change On change
Periodic Every X+1 fields where
0xX2
X = upper nibble of CR_NOTIF
Automatic A change (within the AVT internal configuration space) to any constituent
Notification component will automatically trigger the transmission of a ‘Read Response’
Enabled message. The message will be structured in accordance with its Component Set
(CR_NOTIF = 0xX1): Registration ID.
This mode should only be used for data components that change on an irregular
or occasional basis.
Synchronized A ‘Read Response’ message will be transmitted by the AVT at a fixed time
Notification interval, regardless of the internal data state, i.e. no change is required. The
Enabled transmission of the message is either synchronized to the completion of video
(CR_NOTIF = 0xX2): processing task or video flyback.
Synchronization method is set by Block 123, Field 3.
The upper nibble of the CR_NOTIF value sets the maximum transmission rate of
the ‘Read Response’ message.
If X=0 AVT transmits every field
If X>0 AVT transmits every X+1 field
Subsequent commands should only be submitted after a response from the AVT
has been received
Command Name ECID_CSDREG
Command ID 0x31
Command Type Cancel a Component Set registration
AVT Response General Response Packet
NOTES
1. Only for use in dual gate systems.
2. Serial Interface only.
LINK
See “AVT Data Access Rules” on page 95. and See “Automatic Notification” on page 97.
98 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
B.5.4 Single Shot Read Command
This command can be used to read the current state of a previously registered
component set. All items, except real time command items, can be accessed by use
of this command. Each response embodies all status items registered in the
component set.
Subsequent commands should only be submitted after a response from the AVT
has been received.
Command Name ECID_CSRD
Command ID 0x32
Command Type Read a tracker Status Component Set
Command Successful = Read Response Packet
AVT Response
Command Failure = General Response Packet
NOTES
1. Only for use in dual gate systems .
2. Component set must have been previously registered as a readable type. See Link below.
3. Serial Interface only.
LINK
See “Registering a New Component Set” on page 96.
Subsequent commands should only be submitted after a response from the AVT
has been received.
Command Name ECID_CSUD
Command ID 0x33
Command Type Update AVT Command or data Components
AVT Response General Response Packet
NOTES
1. Only for use in dual gate systems.
2. Component set must have been previously registered as an updateable type. See Link below.
3. Data must be formatted in accordance with the original component registration.
4. Serial Interface only.
LINK
See “Registering a New Component Set” on page 96.
Following receipt of the command, an AVT response is formed and the
registration is immediately cancelled.
100 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Command Name ECID_CSTRA
Command ID 0x34
Command Type Single shot access to command or data components
AVT Response Command Successful (type TR) = Read Response Packet
Command Successful (type TW) = General Response Packet
Command Failure (TR or TW) = General Response Packet
NOTE
1. Only for use in dual gate systems
2. Must be a unique registration number for future use.
3. Use ‘TR’ for AVT status components.
4. Serial Interface only.
Both the ‘General Response’ and the ‘Read Response’ share a common structure,
with the exception that the latter contains data associated with the components in
question.
Any command that generates a failure code (except 0x00), returns a ‘General
Response’ containing the appropriate failure code.
Name General Response or Read Response (dependant on data structure)
ID N/A
Type AVT response to received external command
AVT Response N/A
NOTES
1. Only for use in dual gate systems.
2. Response will always reference the originating ID CR_ID which dictates the possible formats.
3. ‘Specific response data’ is only included in a Read Response. A General response Packet will not
include the bytes CR_RSV to CR_DATN.
4. Serial Interface only.
102 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Failure Codes Failure status codes are returned as part of the ‘General Response’, and are set
according to the nature of the failure.
Mnemonic Value Description
- 0 Successful command
ECST_BAD_CMD_ID 1 Unrecognized external command
ECST_BAD_DATA_LEN 2 Data length specification error
ECST_ALLOC_FAIL 3 Allocation failure
ECST_BAD_DATA 4 Generally incorrect data
ECST_BAD_ID 5 Generally invalid ID
ECST_BAD_TYPE 6 Generally invalid type
ECST_UNREG_ID 7 Unregistered ID
ECST_INCORR_TYPE 8 Inappropriate type
ECST_BAD_COMP_MASK 9 Invalid component mask
ECST_BAD_FLAG 10 Invalid flag value
ECST_BIT_FAIL 11 n/a
ECST_GEN_FAIL 12 General (possibly system) failure
ECST_PB_BAD_PROGDEF 13 Invalid RCP program – Program header definition
ECST_PB_BAD_PRESSDEF 14 Invalid RCP program – Button Press group definition
ECST_PB_MAX_BUTTS 15 Invalid RCP program – Too many button definitions
ECST_PB_BAD_LAMP_STATDEF 16 Invalid RCP program – Lamp status definition
ECST_PB_BAD_BUTT_STATDEF 17 Invalid RCP program – Button status definition
18 Invalid RCP program – Too many combinations/
ECST_PB_MAX_CMBCMP
comparisons
ECST_PB_BAD_MAP 19 Invalid RCP program – Map group definition
ECST_PB_MAX_GRPS 20 Invalid RCP program – Too many group definitions
ECST_PB_DUP_GRP 21 Invalid RCP program – Duplicate group
ECST_PB_BAD_VAL 22 Invalid RCP program – Value group definition
ECST_PB_BAD_GRP 23 Invalid RCP program – General group definition
24-29 Reserved for RCP program expansion
ECST_CS_BAD_REG 30 Invalid CS registration – General format
ECST_CS_BAD_COMP 31 Invalid CS registration – Component unavailable
ECST_CS_BAD_DATA_TYPE 32 Invalid CS registration – Data type unrecognized
ECST_CS_DUP_REG 33 Invalid CS registration – Duplicate ID
ECST_CS_BAD_UD 34 CS update – invalid format
ECST_CS_FAIL 35 General CS (not internal) failure
ECST_CS_DENY 36 CS request (temporarily) denied
ECST_CS_FAIL_UD_ITEM 37 CS update – invalid data for 1 or more components
ECST_CS_UD_RO 38 CS update - cannot update a read only registration
Introduction The User may generate textual and graphical displays which are overlaid on the
Video Output signal produced by the AVT. This is achieved by sending the
required External Commands to the AVT using one of the supported external
interfaces, i.e. Serial or DPR Interface.
The following External Commands are involved with the generation of User
Symbology:
• User Symbol Registration
• User Symbol De‐registration
• User Symbol Update
• User Symbol Disable
The User Symbology is specified in units of User Symbols. Each User Symbol is
either a User Text Symbol (consisting of a string of characters) which all reside on
the same line, or a User Sprite Symbol which consists of a collection of pixels
defined by the User (which produces a shape on the screen).
The User is able to control each User Symbol independently of any other User
Symbol.
104 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
C.1 User Symbology Command Definitions
C.1.1 User Symbol Registration Command
Summary This command registers a User Symbol with the AVT, the User specifies a User
Symbol Type, either Text or Sprite, and the AVT responds with a Status Code and
a numerical User Symbol ID that the User can then use in subsequent commands
to identify this User Symbol. The AVT will allow up to 50 user symbols to be
registered (0 to 49).
Command ID 0x18, 24 decimal.
Command Data
Format
Offset Length Type Description
0 1 Unsigned User Symbol Type
0 = User Text
1 = User Sprite
1 1 Unsigned Symbol ID Request
0 to 49 (0x00 to 0x31) For user specified request 255 (0xFF) to
allow system to specify an ID and return the ID in the response
message
Response Data
Format
Offset Length Type Description
0 1 Unsigned Status Code
1 3 None Reserved (padded with 0x00)
4 1 Unsigned User Symbol ID (0 to 49)
Command ID 0x19, 25 decimal.
Command Data
Format
Offset Length Type Description
0 1 Unsigned User Symbol ID
Response Data
Format
Offset Length Type Description
0 1 Unsigned Status Code
Command lD 0x1A, 26 decimal.
Command Data
Format
Offset Length Type Description
0 1 Unsigned User Symbol ID
1 Unsigned User Symbol type
1 0 = User Text
1 = User Sprite
2 Var User Symbol update data
Colors These are 8‐bit values that specify the required colors as follows:
0 = Transparent
1 = Black
2 = White
3 = Variable as currently configured
All other values are invalid.
106 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Screen These are 16‐bit values that identify a pixel on the screen. The top left‐hand corner
Coordinates of the screen has coordinates (0,0). The dimensions of the screen are dictated by
the Video Standard of the currently selected Sensor.
NOTE
Refer to the Video Definitions section in the relevant ADEPT AVT Hardware Manual.
User Text
Offset Length Type Description
2 2 Unsigned Initial X coordinate
4 2 Unsigned Initial Y coordinate
6 1 Unsigned Foreground Color
7 1 Unsigned Background Color
8 1 Unsigned Font ID
9 Variable Unsigned Character string to display
The specified initial coordinates are for the top left‐hand pixel of the first
character of the specified string, the size of each character is determined by the
specified Font.
The Font ID will be a value in the range 0 to 1 as there are two fonts available. The
first is the Adept Base Font (0) and the second is the Adept Thin Base Font (1).
These fonts are fixed and separate from the downloadable fonts used for Sprite
text.
The Character String contains the ASCII Codes of the characters to be displayed,
all printable characters are supported, i.e. ASCII Code 0x20 (space) to 0x7E (~).
If the position or Font changes from the previous update of a particular User Text
Symbol, then the existing text displayed for the Symbol is removed from the
screen before the new text is displayed.
If the position or Font does not change, then the new text is written over the top of
the previous text. In this case, if the new text has fewer characters than the
previous text, the tail characters from the previous text will remain on the screen.
If this not what is required, then the new text should be appended with space
characters to overwrite the tail characters.
User Sprite
Offset Length Type Description
2 2 Unsigned Initial X coordinate
4 2 Unsigned Initial Y coordinate
6 1 Unsigned Initial Color
7 1 Unsigned Number of Sprite Elements
8 Variable Sequence of Sprite Element Definitions
The Initial Color identifies the initial setting of the “Current Color” which
controls the color of each pixel set during the processing of this Update
Command.
The coordinates identify a pixel on the screen from where the plotting of the
Sprite begins. It sets the “Current Location” before plotting the first Sprite
Element.
The Number of Sprite Elements defines the number of Sprite Element Definitions
which follow. If zero is specified, then no Sprite Elements are specified in this
command and the most recently specified sequence of Sprite Elements for this
User Symbol ID will be used again. This means that Sprite Element Definitions do
not have to be re‐specified if it is only required to move and/or change the Initial
Color of a User Symbol.
Each Sprite may be drawn as a sequence of Sprite Elements. The Sprite Elements
are drawn in the specified sequence, starting at the specified Initial Screen
Location. The drawing of each Sprite Element may result in the setting of one or
more pixels in the Current Color, and/or a change to the Current Location or
Color.
108 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Response Data
Format
Offset Length Type Description
0 1 Unsigned Status Code
Command ID 0x1B, 27 decimal.
Command Data
Format
Offset Length Type Description
0 1 Unsigned User Symbol ID
Response Data
Format
Offset Length Type Description
0 1 Unsigned Status Code
The processing of a Move Sprite Element Type does not result in any pixels being
set. The X and Y coordinates of the Current Location are adjusted by having the
specified 16‐bit signed offset values added to them.
110 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
C.2.3 Sprite Element Data for Pixel
Offset Length Type Description
0 2 Signed Offset from current X position
2 2 Signed Offset from current Y position
The specified 8‐bit signed offset values are added to the coordinates of the
Current Location, the pixel at the resulting Location is then set to the Current
Color. This then becomes the new Current Location.
The number of pixels given by the absolute value of the specified Line Length are
set to the Current Color. The pixels involved will:
• Start at and include the Current Location
• All have the same Y coordinate as the Current Location
• Have incrementing or decrementing X coordinates depending on whether
the specified Line Length is positive or negative respectively
The X coordinate of the current location is adjusted by having the 16‐bit signed
line length added to it.
112 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
C.2.5 Sprite Element Data for Vertical Line
Offset Length Type Description
0 2 Signed Line length
Positive means down from current location
Negative means up from current location
The number of pixels given by the absolute value of the specified Line Length are
set to the Current Color. The pixels involved will:
• Start at and include the Current Location
• All have the same X coordinate as the Current Location
• Have incrementing or decrementing Y coordinates depending on whether
the specified Line Length is positive or negative respectively
The Y coordinate of the current location is adjusted by having the 16‐bit signed
line length added to it.
If either the specified width or height are zero, then no pixels are set; otherwise,
all pixels whose X and Y coordinates satisfy the following conditions are set to the
current color:
If Block Width is positive:
X coordinate lies in range (current X) to (current X + (Width‐1))
If Block Width is negative:
X coordinate lies in range (current X ‐ (Width+1)) to (current X)
If Block Height is positive:
Y coordinate lies in range (current Y) to (current Y + (Height‐1))
If Block Height is negative:
Y coordinate lies in range (current Y ‐ (Height+1)) to (current Y)
The Current Location remains unchanged.
114 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
C.2.7 Sprite Element Data for Color Change
Offset Length Type Description
0 1 Unsigned New color
The processing of a Color Change Sprite Element Type does not result in any
pixels being set. The Current Color is set to that specified so that subsequent
pixels set when drawing this Symbol will be in this color.
To create shapes on top of other shapes, planes are required.
There are two planes for use with user sprites. These are labeled plane 1 and plane
2. Plane 1 sprites will be drawn on top of plane 2 sprites.
Changing line style will affect the following commands:
Outlined Rectangle (Sprite element type = 8)
Outlined Polygon (Sprite element type = 9)
Outlined Ellipse (Sprite element type = 11/0x1A)
Vector (Sprite element type = 13/0x0D)
Arc (Sprite element type = 14/0x0E)
The line style definitions are as follows:
0 = Continuous Line
1 = Dashed 1‐1 (1 pixel on, 1 pixel off)
2 = Dashed 5‐1‐1‐1 (5 pixels on, 1 off, 1 on, 1 off)
3 = Dashed 5‐3 (5 pixels on, 3 off)
4 = Dashed 12‐4 (12 pixels, 4 off)
5 = Dashed 9‐alt (9 pixels on, 7 alternating)
6 = Dashed 10‐2‐2‐2 (10 pixels on, 2 off, 2 on, 2 off)
7 = Dashed 8‐8 (8 pixels on, 8 pixels off)
116 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Code Pattern
-----------------------------------------------
MSB LSB
0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
2 1 1 1 1 1 0 1 0 1 1 1 1 1 0 1 0
3 1 1 1 1 1 0 0 0 1 1 1 1 1 0 0 0
4 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0
5 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0
6 1 1 1 1 1 1 1 1 1 1 0 0 1 1 0 0
7 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
This will draw an outlined rectangle from the current cursor position to the co‐
ordinates given.
The outline will use the color defined by initial color or any change color
command.
The outline will use the line style defined by change line style. Line style is
initially continuous (value 0).
118 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
C.2.11 Sprite Element Data for Outlined Polygon
Offset Length Type Description
0 2 Unsigned Number of vertices N (maximum is 8)
For Number of Vertices (1 to N)
4N-2 2 Unsigned Vertex(X)
4N 2 Unsigned Vertex(Y)
The outline will use the color defined by initial color or any change color
command.
The outline will use the line style defined by change line style. Line style is
initially continuous (value 0).
The polygon will be drawn with the color defined by initial color or any change
color command.
The maximum height for filled polygons is 150 pixels.
The drawing method for filled polygons only uses a scan line algorithm. For each
scan line of the polygon, there cannot be more than 4 edges to the polygon..
120 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
C.2.13 Sprite Element Data for Outlined Ellipse
Offset Length Type Description
0 2 Unsigned Radius in X
2 2 Unsigned Radius in Y
The outline will use the color defined by initial color or any change color
command.
The outline will use the line style defined by change line style. Line style is
initially continuous (value 0).
The ellipse will be drawn with the color defined by initial color or any change
color command.
This will draw a line from the start point to the end point.
The line will use the line style defined by change line style. Line style is initially
continuous (value 0).
122 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
C.2.16 Sprite Element Data for Arc
The function for drawing arcs will take a radius in X and Y to give the ellipse.
The ellipse is divided into 8 octants as shown below. The function also takes an
octant value and will only draw this octant.
The origin of the ellipse is at the current pointer.
You can create font characters with variable width and height. Maximum width of
a character is 24 pixels, and maximum height of a character is 18 pixels.
Characters are created using bits. A ‘0’ or off signifies the background color and a
‘1’ or on signifies the foreground color.
The ‘Data Byte Count’ must contain enough data bytes to fill the character.
If there is an overflow of data for a particular line, then that data is ignored.
Offset Length Type Description
0 1 Unsigned Font set number (0 to 3)
1 1 Unsigned Mapping character (0 to 255)
2 1 Unsigned Width of character (1 to 24)
3 1 Unsigned Height of character (1 to 18)
4 2 Unsigned Data byte count – count of bytes of data that make the symbol
6 Data byte count Unsigned Data
External Command
Example 1
Font Set Number 0
Mapping Character =0
Width Of Character =9
Height Of Character =9
Data Byte Count = 18
Data 00 00 3A 00 7B 00 03 00 63 00 60 00 6F 00 2E 00 00 00
124 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
Sync Flag AA
External Command Msg Id 1A
Length 0021
Symbol Id 00
Sprite Type 01
Intial X 0064
Initial Y 0064
Initial Colour 01
No. of Sprite Elements 01
Sprite Type = Download font character 0F
Font set (0..3) 00
Mapping character (0..255) 00
W idth of character 09
Height of character 09
Data byte count 0012
Byte 1 00
Byte 2 00
Byte 3 3A
Byte 4 00
Byte 5 7B
Byte 6 00
Byte 7 03
Byte 8 00
Byte 9 63
Byte 10 00
Byte 11 60
Byte 12 00
Byte 13 6F
Byte 14 00
Byte 15 2E
Byte 16 00
Byte 17 00
Byte 18 00
Checksum 51
External Command Msg AA1A002100010064006401010F00000909001200003A007B000300630060006F002E00000051
NOTE
A symbol ID must be registered before any symbols can be downloaded.
External Command
Example 2
Font Set Number =0
Mapping Character =1
Width Of Character = 15
Height Of Character = 17
Data Byte Count = 34
Data 00 00 03 C0 0F F0 1F FC 3F F8 3F F0 7F E0 7F C0 7F
80 7F C0 7F E0 3F F0 3F F8 1F FC 0F F0 03 C0 00 00
126 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
C.2.18 Sprite Element Data for Text Sprite
Offset Length Type Description
0 1 Unsigned Foreground color
1 1 Unsigned Background color
2 2 Unsigned String length (N)
For String Length (n=1 to N)
4+2 (n-1) 1 Unsigned Font set number n (0-3)
5+2 (n-1) 1 Unsigned Mapping character n (0-255)
• New current location:
The X coordinate of the Current location is incremented by the sum of the
font width of each character in the text string.
External Command This command draws three symbols on the screen at position x=100, y=100. The
Example symbols in this example are Font 0‐Char 1, Font 0‐Char 0 and Font 0‐Char 1.
NOTE
The characters must have been downloaded before writing the text string.
Sync Flag AA
External Command Msg Id 1A
Length 0013
Symbol Id 01
Sprite Type 01
Intial X 0064
Initial Y 0064
Initial Colour 01
No. of Sprite Elements 01
Sprite Type = Text 10
Foreground colour (2=W hite) 02
Background colour (1=Black) 01
Length 0003
Font number 00
Mapping character 01
Font number 00
Mapping character 00
Font number 00
Mapping character 01
Checksum 11
External Command Msg AA1A00130101006400640101100201000300010000000111
The user can only draw on user planes 1 and 2.
If symbols drawn on different planes overlap one another, then the overlapping
pixels will be displayed according to the pixel in the highest priority graphics
plane.
If symbology is drawn on the same plane and the pixels overlap one another, then
the symbology data will clash. The symbology of each sprite with have an XOR
operation applied over the four colors that are used.
For example, with black sprite 1 drawn on the same plane as black sprite 2, the
clashing pixels of black (color value 1) on black will produce a transparent color
(color value 0). Conversely, white (color value 2) clashing with black (color value
1) will produce variable intensity (color value 3).
Table C-1 Color Clash Table
Transparent (0) Black (1) White (2) Variable Intensity (3)
Transparent (0) Transparent (0) Black (1) White (2) Variable Intensity (3)
Black (1) Transparent (0) Variable White (2)
Black (1)
Intensity (3)
White (2) Variable Transparent (0) Black (1)
White (2)
Intensity (3)
Variable Intensity (3) Variable Intensity (3) White (2) Black (1) Transparent (0)
To avoid the clashing of sprites, use the Change Plane command.
128 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
D • Command Reference Manuals
Refer to the following publications:
• ADEPT104 Family Command Reference (IN82‐0302‐050‐01)
• ADEPT60 & 64 Command Reference (IN82‐0301‐050‐01)
• ADEPT74 Command Reference (IN82‐0303‐050‐01)
The format of the data located in each field of the COMMAND and STATUS
blocks is specified using the following notations:
ENUM The data is a 32‐bit unsigned integer consisting of a list of defined
values
BOOLEAN The data is a 32‐bit unsigned integer consisting of 2 defined
values:
0 = FALSE
1 = TRUE
INTEGER The command is a 32 bit 2ʹs complement number integer
FIXED (32,x) The command is a 32 bit 2ʹs complement number where the ‘x’
least significant bits of the 32 bit number are fractional
The following notations are used when specifying the contents of each word:
UNITS Specifies the value of the LSB of INTEGER data and the least
significant integer bit of FIXED data
RANGE Specifies the range of the value
INCREMENT Specifies the resolution of the command
All undefined fields are reserved and must not be used.
Specification The AVT operates in two distinct modes: non‐operational and operational (see
System Modes). The operational mode of the AVT is either in the target
Acquisition state or one of the target Tracking states. Built in Test (BIT) operation
in each of these modes/states is specified as follows.
NOTE
The AVT always returns to Acquisition mode.
5. The AVT provides background BIT.
130 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
E.1.3 Reporting
BIT progress and result information are reported via three different mechanisms:
symbology on video output, serial message and, where available, reading status
over the bus interface.
Bus The AVT reports BIT failure information via the DPR status block when read over
Communication the bus interface.
System Modes .
INITIALISE
BUILT CONFIGURATION
BIT FAIL IN MANAGEMENT
TEST
NON-
OPERATIONAL
MODE
BACKGROUND
BIT FAIL
TARGET
ACQUISITION
AUTOTRACK
OFF
AUTOTRACK
ON
NO
ACQUIRE TARGET
TARGET PRESENT
PRESENT
OPERATIONAL
MODE TARGET
RE-ACQUIRED BREAKLOCK
STAGE 2
LOCK
TARGET
RE-ACQUIRED
BREAKLOCK
TIME > STAGE 1 TIME
BREAKLOCK
STAGE 1
AUTO
TRACK
The suite of tests consists of memory checks on two distinct areas of read/write
memory:
1. LUT memory.
2. Graphics memory.
The tests are executed in the order given. If a test fails, then the BIT fail state is
entered immediately (i.e. any remaining memory tests are not run).
For each of the three memory tests, the memory is not read from or written to
directly by the test. Instead, requests are sent to the appropriate hardware driver
to perform the read or write operation. There are separate hardware drivers for
LUT and graphics operations.
NOTE
On earlier AVT hardware, separate physical hardware devices were used for each of the memory areas.
Newer designs use a unified memory architecture. Consequently, on newer hardware the self test
function comprises a single memory test.
The current LUT data is read and saved into a temporary buffer. Pseudo random
data is then written into the LUT. The LUT contents are immediately read back
and then compared with what had been written. If there is any data mismatch,
then a BIT fail is reported and the test stops.
The current graphics block data is read and saved into a temporary buffer. Pseudo
random data is then written into the graphics block. The graphics block contents
are immediately read back and then compared with what had been written. If
there is any data mismatch, then a BIT fail is reported and the test stops.
Running the self tests may be disabled through a configuration item.
132 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
The read‐only memory to be checked is divided into 256 blocks. The sizes of all of
all except the last block are equal. The size of the last block may be smaller than
that of the other blocks. A 32‐bit check code for each block is generated by reading
each 32‐bit word in turn and exclusive‐ORing it with a left‐rotated version of the
previous check code value. This operation is described in the following code
fragment.
U32 CalculateCheckCode( U32 *pData, U32 size )
{
U32 checkCode = 0;
return checkCode;}
The check codes for all 256 blocks are calculated once on initialization and the
values are stored. The background BIT task then continuously re‐calculates the
check code for each block in turn and compares it with the previously stored
value. If a mismatch is detected then Tracker operation is stopped and the non‐
operational BIT fail state is entered.
BIT result information read over a bus interface (with that read initiated and
controlled) from a separate host processor has no such issues, since this
information may be read independently of correctly functioning AVT code
execution.
A host system connected to the AVT has two choices to detect AVT failure:
1. Read the BIT result information in the DPR status block (requires bus
connection to AVT).
2. Read the System Mode Operational status item (block 129, field 1). If this
continues to report “false” after a requested BIT or a request to read this
status item simply times out (which could happen on catastrophic failures)
then the AVT has failed (either due to the BIT itself or some other failure has
prevented correct reporting).
If the only connection between AVT and host system is a serial connection, then it
is strongly recommended that the host operates a time‐out mechanism on
communication with the AVT. This is needed to handle catastrophic AVT failures
as described above. It is also a sensible strategy to handle serial communication
failures (e.g. cable disconnected).
AVT Automatic Video Tracker.
AVT Control A menu driven programme to set up parameters in the tracker and interface to a joystick
Software and Remote Control Unit.
BIT Built In Test.
CBIT Continuous BIT. Continuously running self‐check tests. Referred to in AVT
documentation as Background BIT.
CCIR Comité Consultatif International Des Radio Communications.
Command Interface Commands are input to the AVT via the Serial Interface, the Bus Interface and the Remote
Controller Interface. All these interfaces run in parallel.
Configuration Block A section of ROM containing the power‐on default constants.
CPU Central Processing Unit.
DPR Dual Port RAM. Mechanism by which AVT status may be interrogated over a bus
interface.
EOTS Electro‐Optical Tracking System.
FOV Field of View.
HFOV Horizontal Field Of View.
HTML HyperText Markup Language.
IBIT Interruptive BIT or Initiated BIT. User‐initiated tests. Referred to in AVT documentation as
Requested BIT.
ISA Industry Standard Architecture.
LOS Line Of Sight.
LUT Look Up Table.
MTD Moving Target Detection.
MTT Multiple Target Track.
NTSC National Television System Committee.
PAL Phase Alternation Line.
PBIT Power‐On BIT. Tests performed at power‐on or system reset. Referred to in AVT
documentation as Startup BIT.
PCI Peripheral Component Interconnect.
PFK Programmable Function Key.
PID Proportional–Integral–Derivative controller.
PiP Picture in Picture.
RAM Random Access Memory.
RCU Remote Control Unit.
RMS Root Mean Square.
134 ADEPT Automatic Video Trackers Reference Manual Document No: IN95-0005-01 Edition 4B
ROM Read Only Memory.
Status Interface The AVT outputs Track Error values and status information via the available interfaces.
TBE Target to Boresight Error.
VME VERSAmodule Eurocard bus.