28
EVLA Monitor & Control Software Antenna Monitor and Control Subsystem (AMCS) May 14-15, 2002 Kevin Ryan

EVLA Monitor & Control Software

  • Upload
    trula

  • View
    39

  • Download
    0

Embed Size (px)

DESCRIPTION

EVLA Monitor & Control Software. Antenna Monitor and Control Subsystem (AMCS). May 14-15, 2002 Kevin Ryan. Antenna Monitor & Control Software. Contents Requirements that shape the design (full requirements document can be found on EVLA web site) Preliminary design to satisfy them. - PowerPoint PPT Presentation

Citation preview

Page 1: EVLA Monitor & Control Software

EVLA Monitor & Control Software

Antenna Monitor and Control

Subsystem (AMCS)

May 14-15, 2002

Kevin Ryan

Page 2: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 2

AntennaMonitor & Control Software

Contents

• Requirements that shape the design– (full requirements document can be found on EVLA web site)

• Preliminary design to satisfy them

Page 3: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 3

• Factors that make EVLA different– Heterogeneous Array– Ethernet Based Communications– Widespread Operational Interface

AntennaMonitor & Control Software

Requirements that Shape Design

Page 4: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 4

AntennaMonitor & Control Software

Requirements that Shape Design

VLAAntenna

VLAAntenna

VLAAntenna

VLAAntenna

CentralComputer Waveguide

IdenticalHardware

Bit-level Control/Monitor Data

To command the elevation to 47.0˚, set:DS-0, MUX-0302 to 0x216C1

(Elevation Servo has 20-bit resolution, LSB = 1.236”)

The VLA

0x216C1

Page 5: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 5

AntennaMonitor & Control Software

Requirements that Shape Design

VLAAntenna

VLAAntenna

VLAAntenna

EVLAAntenna

CentralComputer Waveguide

Non-IdenticalHardware

Bit-level Control/Monitor Data

The EVLA antenna does not understand aboutData Sets, and MUXs and it may have a differentkind of Elevation Servo (say a higher resolution).

Adding an EVLA Antenna

0x216C1

?

?

?

Page 6: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 6

AntennaMonitor & Control Software

Requirements that Shape Design

VLAAntenna

EVLAAntenna

NMAAntenna

VLBAAntenna

• Heterogeneous Array– From the onset will consist of both

VLA and EVLA Antenna Types– Likely to add VLBA Antenna Types– If Phase II happens - add New

Mexico Array (NMA) Antennas

Page 7: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 7

1. The New System must Accommodate Differences in Antenna Hardware.

AntennaMonitor & Control Software

Requirements that Shape Design

Page 8: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 8

AntennaMonitor & Control Software

Requirements that Shape Design

VLAAntenna

VLAAntenna

VLAAntenna

VLAAntenna

CentralComputer Waveguide

IdenticalHardware

The VLA uses a ‘Memory-Mapped I/O’Data Communications Scheme

DCS/DS/MUX/Value … DCS/DS/MUX/Value

• Data is mapped to its hardware by the DCS, DS and MUX.

• VLBA uses MCB/HCB for direct comms with hardware.

Page 9: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 9

AntennaMonitor & Control Software

Requirements that Shape Design

VLAAntenna

EVLAAntenna

NMAAntenna

VLBAAntenna

Front End

1st LO

Converter

2nd LO

Sampler

DTS

AZ Servo

EL Servo

EVLA will be a Highly Ethernet Networked System

Even the Field Bus

Every component will have its own processor and IP Address

Ethernet

Ethernet

Page 10: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 10

AntennaMonitor & Control Software

Requirements that Shape Design

• Ethernet– Is more complex than ‘memory-mapped’ I/O

– Will require (additional) processing to handle the various protocols used (IP/TCP/UDP etc.)

– Not known for its real-time characteristics

Page 11: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 11

1. The New System must Accommodate Differences in Antenna Hardware.

2. Must Accommodate Higher-Level Network Type Data Communications.

AntennaMonitor & Control Software

Requirements that Shape Design

Page 12: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 12

AntennaMonitor & Control Software

Requirements that Shape Design

VLAAntenna

EVLAAntenna

NMAAntenna

VLBAAntenna

EVLA will have a Widespread Operational Interface

e2e Programmed Observations

Interactive Observing

Controlling from AOC

Controlling from Tech’s Workbench

‘Lurking’ from a Browser over the Internet

Page 13: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 13

1. The New System must Accommodate Differences in Antenna Hardware.

2. Must Accommodate Higher-Level Network Type Data Communications.

3. Must Serve a Variety of Users from a Variety of Physical Locations.

AntennaMonitor & Control Software

Requirements that Shape Design

Page 14: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 14

• Other Requirements – Performance– 100 µSec command start latency

– Pointing updates every 50 mSec

– Frequency change within band = 1 per sec

– ‘Nodding’ source switch rate = 1 per 10 sec

AntennaMonitor & Control Software

Requirements that Shape Design

Page 15: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 15

• Other Requirements – Engineering– Flexibility and Maintainability

• New observing modes supported with minimal software impact.

• Hardware changes to have minimal software impact.

– Use of Industry-wide technology• e.g. Avoid a single vendor specific middleware technology

• Ethernet is example of non-vendor specific, industry wide technology

AntennaMonitor & Control Software

Requirements that Shape Design

Page 16: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 16

• Our design will take advantage of the fact that each subcomponent in the system will:– have ‘Intelligence’,– be networked with its own IP address.

• Distribute the functionality of the whole system amongst these intelligent subcomponents.– Hence, a true distributed processing system

• As opposed to using the MIB as just memory mapped I/O gateway device to the hardware.

AntennaMonitor & Control Software

The Design to Satisfy those Requirements

Page 17: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 17

• Distributive Processing is:

“Putting the Intelligence where the Action is”

AntennaMonitor & Control Software

The Design to Satisfy those Requirements

Page 18: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 18

• This will allow us to design a Modular system– Separated into its various functional components

• Arrays, sub-arrays,

• Antennas (EVLA, VLA, NMA)

• Antenna Subcomponent (Servo, LO, Front End, etc.)

– Where each component contains its own processor– Which will present the ‘essence’ of that component

to the rest of the system• Its ‘front panel’

AntennaMonitor & Control Software

The Design to Satisfy those Requirements

. . .

Page 19: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 19

– But will hide implementation details of that component from the system

• The Array Controller does not have to know the resolution of the Elevation Servo - it just sends a value of 47.0˚ in standard units.

– The Elevation Servo will take care of converting the standard value to what it knows.

• This means a component can change without affecting higher level software.

– A servo with 24-bit resolution can replace the older 20-bit units.

AntennaMonitor & Control Software

The Design to Satisfy those Requirements

. . .

Page 20: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 20

• Modules will be fully autonomous – Components will control themselves

• They just need to be told what to do, not how to do it.

– Components will monitor themselves• They can do a much better job than a central computer

– They alone ‘know’ themselves intimately– Can sample themselves at much higher rates than what could be

done with a central computer over a bus.» Transients such as voltage spikes can be detected and

recorded– Won’t clutter loggers and monitor displays with normal values

AntennaMonitor & Control Software

The Design to Satisfy those Requirements

Page 21: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 21

• Modules will be fully autonomous (cont.)– Components can operate independent of the system

• On the workbench– Excepting physical limitations, an antenna component can be

fully stimulated outside of the system.

– Components will take on real-time responsibilities• Commands are preloaded across the not-so-deterministic

Ethernet and executed at synchronous system tick times.

AntennaMonitor & Control Software

The Design to Satisfy those Requirements

Page 22: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 22

• A modular physical design maps nicely and naturally to an object-based software design. – Each physical component will become a software

object.

AntennaMonitor & Control Software

The Design to Satisfy those Requirements

Page 23: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 23

(Sub)Array

VLA AntennaEVLA Antenna

< H

as 0

or

Mor

e Has 0 or More >

ReferenceGen.LORefReceiverDTSModuleSamplerLow-1Low-2Low-3Low-4

High-1High-2High-3High-4

DownConverter

Servo

1234

LocalOscillatorConverterSwitchFrontEnd

W-BandQ-BandKa-BandK-Band

Ku-BandX-BandC-BandS-Band

L-BandP-Band4-Band

FrontEndIFLO

4/P to L-BandL/S/C to X-BandKu to X-Band

1st LO-11st LO-2

2nd LO-12nd LO-22nd LO-32nd LO-4

FocusRotationAzimuthElevation

Has >

Weather Station

ControlPoint MonitorPointLogger

Device• Has Internet Presence - CLI/HTTP server• Provides - Periodic Confidence Test - Diagnostic Test - Alert Reporting

• Time• Sample Rate• Log Rate• Failure/Warning Limits

Everything

Is A

>

Has 0 or More >

< 0 or More

KJR 5/6/2002

API

(Atmospheric PhaseInterferometer)

< Has 1

< Has 1

Page 24: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 24

• The Device Class– Provides a common interface to outside world clients

• Clients will only have to know about generic devices in order to ‘discover’ the rest of the system in detail.

– Provides a natural hardware/software boundary• Method stubs for hardware engineering generated code

– The hardware engineers will only write software that directly interfaces with the hardware component itself and will not have to concern themselves with integration into higher level system software.

– This allows them to concentrate their expertise on the hardware itself.

– Provides a great amount of code re-use.• Since every component inherits it general ‘being’ from it.

AntennaMonitor & Control Software

The Design to Satisfy those Requirements

Page 25: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 25

AntennaMonitor & Control Software

I/O Area (contains Raw

control/monitor data)

Device Functionality(knows implementationdetails about the device

i.e. the angle registeris 20-bits wide)

Other Low LevelDevice Specific Code

(e.g. diagnostic routines)

Collection of Controland Monitor Point

Objects that can present themselves to the world.

The Device’s‘Front Panel’ hides

implementation details

Other Methods -Diagnostic Routines

etc.

The World

A piece of Hardware

Ethernet

SPI Bus

Ethernet

Other Devices

Collection of Lower Level Devices.(if any)

Page 26: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 26

• Devices contain ControlPoints and MonitorPoints– Also classes

– Possibly independent threads

– Can log themselves at desired intervals

– Can alert the operator

• Devices provide Services– Clients use these services

• e2e needs weather data feedback for Dynamic Scheduling. Instead of making AMCS aware of e2e and its specific needs, the AMCS just provides a weather service - whomever needs it just ‘takes’ it.

AntennaMonitor & Control Software

The Design to Satisfy those Requirements

Page 27: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 27

• An Antenna Device Class will be implemented for VLA antennas

AntennaMonitor & Control Software

The Design to Satisfy those Requirements

Ethernet

New EVLAControlSystem

VLA

VLA

VLA

SLC

DRIVER

SLC

CMP

Motorola MVME-162VME Single Board Computer

To Old VLAAntennas

The System will ‘see’ VLA Antenna Objects

Page 28: EVLA Monitor & Control Software

May 14-15, 2002 EVLA Monitor & Control Software PDR

KJ Ryan 28

• Risks– Very new technology (i.e. Web Services)– Puts a lot of responsibility on the MIB

• On the other hand …– Each MIB is probably more ‘powerful’ than a Modcomp– Industry supports this new technology

• Java started out as a small footprint embedded language (but got temporarily off course when it was discovered how well it worked as an ‘Internet Language’). It is now back on course as an embedded language that also does networking very well.

• Internet Appliances and Web Services are currently a $Billion industry – they are not ‘fad’ technologies.

AntennaMonitor & Control Software

The Design to Satisfy those Requirements