dual lo2 manual · iram plateau de bure observatory polar switch user manual philippe chavatte,...

23
IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

Upload: others

Post on 18-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Plateau de Bure Observatory

POLAR SWITCH User manual

Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

Page 2: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

Table of contents

1. LIST OF ILLUSTRATIONS....................................................................................................... 2

2. TABLES ........................................................................................................................................ 2

3. INTRODUCTION ........................................................................................................................ 3

4. GENERAL SPECIFICATIONS.................................................................................................. 3 4.1 BACKGROUND ....................................................................................................................... 3 4.2 POWER................................................................................................................................... 4 4.3 OPERATING TEMPERATURE RANGE ................................................................................... 4 4.4 PRINTED CIRCUIT BOARDS DETAILS.................................................................................... 5

5. DEVICE CONNECTIONS.......................................................................................................... 6 5.1 MECHANICAL DETAILS........................................................................................................ 6 5.2 CONNECTORS........................................................................................................................ 6 5.3 INDICATORS .......................................................................................................................... 6 5.4 C1 CONNECTOR PIN-OUT...................................................................................................... 7 5.5 INTERNAL CONNECTOR PIN-OUT (DIGITAL-SIDE)............................................................... 7

6. INSTRUMENT INTERFACES .................................................................................................. 8 6.1 CAN BUS I/O SIGNALS ......................................................................................................... 8 6.2 1PPS SYNC INTERFACE.......................................................................................................... 8 6.3 RESET BUTTON...................................................................................................................... 8 6.4 RS232 SERIAL PORT ............................................................................................................ 8 6.5 5MHZ REFERENCE CLOCK................................................................................................... 8

7. LOCAL INTERFACES ............................................................................................................... 8 7.1 ONE WIRE INTERFACE ......................................................................................................... 8 7.2 ANALOG VOLTAGES MONITORING ..................................................................................... 8

8. IMPLEMENTATION DETAILS................................................................................................ 9 8.1 MICRO CONTROLLER UNIT (MCU) .................................................................................... 9

8.1.1 C164 Micro-Controller Unit (MCU).................................................................. 9 8.1.2 CAN Controller .................................................................................................. 9 8.1.3 Analog to Digital Converter............................................................................... 9 8.1.4 Digital I/O ........................................................................................................ 10 8.1.5 Asynchronous Serial Controller ....................................................................... 10 8.1.6 Synchronous Serial Controller ......................................................................... 10 8.1.7 One Wire controller.......................................................................................... 10

8.2 VOLTAGE REGULATORS..................................................................................................... 10

9. BUILT-IN FIRMWARE............................................................................................................ 10 9.1 BOOTSTRAP LOADER .......................................................................................................... 10 9.2 POWER UP OR RESET SEQUENCE ....................................................................................... 10

10. DEVICE-SPECIFIC SOFTWARE / CAN FUNCTIONS INTERFACE .............................. 11 10.1 OPERATING PROGRAM ....................................................................................................... 11 10.2 CAN OVERVIEW................................................................................................................. 11 10.3 SUMMARY OF THE CAN MONITOR POINTS ...................................................................... 11 10.4 SUMMARY OF THE CAN CONTROL POINTS ...................................................................... 11

Revision A, November 18th, 2009 Page 1 of 2

Page 3: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

10.5 CAN PAYLOAD CONTENTS................................................................................................. 12 10.5.1 Monitor points in detail .................................................................................... 12

a) MODULE_ID....................................................................................................... 12 b) SERIAL_&_TEMP .............................................................................................. 12 c) PSU_VOLTAGE1................................................................................................ 12 d) PSU_VOLTAGE2................................................................................................ 13 e) MODULE_STATUS............................................................................................ 13 f) ELAPSED_TIME................................................................................................. 13 g) LAST_HV_POLAR............................................................................................. 14

10.5.2 Control points in detail ..................................................................................... 14 a) HV_POLAR......................................................................................................... 14 b) INIT...................................................................................................................... 14 c) CPU_RESET........................................................................................................ 14

11. TEST SOFTWARE .................................................................................................................... 15

12. ABBREVIATIONS AND ACRONYMS................................................................................... 16

13. REFERENCES ........................................................................................................................... 17

14. POLAR SWITCH DRAWING LIST........................................................................................ 18

1. List of illustrations Figures: FIGURE 1: BLOCK DIAGRAM .................................................................................................................................... 4 FIGURE 2: DIGITAL PCB & COMPONENTS LAYOUT (REAL SIZE) .............................................................................. 5 FIGURE 3: MODULE FRONT VIEW ............................................................................................................................. 6 FIGURE 5: THE DB9 MALE CONNECTOR IS SHOWN VIEW FROM THE PIN SIDE........................................................... 7 FIGURE 6: POLAR SWITCH TEST PANEL............................................................................................................. 15

2. Tables

TABLE 1: C1, CAN & CONTROL CONNECTOR PIN OUTS .......................................................................................... 7 TABLE 2: J3, RS232 CONNECTOR PIN OUTS ............................................................................................................. 7 TABLE 3: ADC CHANNELS ASSIGNMENT ................................................................................................................. 9 TABLE 4: SUMMARY OF MONITOR POINTS ............................................................................................................ 11 TABLE 5: SUMMARY OF CONTROL POINTS ............................................................................................................ 11

Revision A, November 18th, 2009 Page 2 of 3

Page 4: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

3. Introduction

The aim of the POLAR SWITCH1 module is to select, for each antenna, what horizontal or vertical polarisation data is to be sent to the correlators. The module can process 12 antenna and is fully compatible with NOEMA12.

The digital board receives commands through the CAN3 bus, a micro-controller (MCU12) translates them and drives the switches through two connectors. The switching is synchronised by the 1pps12 pulse issued from the observatory master clock.

Last switching position, power supply voltages, temperature and IDentification information can be monitored with few CAN12 commands.

4. General Specifications

4.1 Background

The digital board carries the 1pps12 receiver and 4 drivers, the 5MHz clock receiver and 4 drivers, connectors and voltage regulators on the motherboard, and a C1646 micro-controller (MCU) located on a daughter board.

The interface between the CAN bus and the switches is a commercial daughter board with a C164 micro-controller (MCU). It is a derivative of the famous Infineon C1678 family. It receives commands through the CAN bus, computes data and translates them in switching commands. Interruption routines process CAN receive and the timing management. Switching update is synchronised by the 1pps12 timing signal. The MCU can be reset by a local pushbutton located on the mother printed circuit board.

On the front panel are located the CAN connectors, indicators and switch connectors.

On the rear panel are located the 230VAC connector and main switch, the 5MHz and the 1pps connectors used to feed WIDEX.

Revision A, November 18th, 2009 Page 3 of 4

Page 5: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

A1 - A6

A7 – A12

MCU

Polar switch

5MHz 5MHz

1pps

RS232

1 sec

CAN

1pps Clock Drivers

MCU

Figure 1: Block diagram

4.2 Power

The module requires a +6.5VDC/1.3A unregulated power supply, supplied through J4 connector on the module digital-side.

Total power requirement: +6.0V to 7.5V / 1.3A

Note: The 2A fuse is located inside the module.

4.3 Operating Temperature Range

All components currently used have standard temperature range specifications of 0 – 70°C.

Revision A, November 18th, 2009 Page 4 of 5

Page 6: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

4.4 Printed circuit boards details

The digital board is a two-layer surface-mount printed circuit board and measures 205mm x 242mm.

Figure 2: Digital PCB & components layout (real size)

Revision A, November 18th, 2009 Page 5 of 6

Page 7: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

5. Device connections

5.1 Mechanical Details

The module is a metal box that measures 250mm x 260mm. Its height is 120mm.

C2C1

Reset Can

POLAR SWITCH MANAGER

Can +5VDC

+5VCAN

-5VDC

+3.3V

DC

IRAMA8A7 A9 A10 A11 A12

1pps A2A1 A3 A4 A5A6

Full NOEMA

Figure 3: Module front view

5.2 Connectors

The module has several connectors located on the top of the module. Connectors are classified by function as it follows:

- C1 & C2: SubDB9 Connection to CAN bus - C3: TTL outputs to HV switch Antenna 1-6 - C4: TTL outputs to HV switch Antenna 7-12

- C5: 230VAC/50Hz input (CEE22) - C6: 1pps input (BNC) - C7, C8, C9, C10: 1pps output (SMB) - C11: 5MHz reference input (SMA) - C12, C13, C14, C15: 5MHz reference output (SMA)

- J3: HE10 Connection to terminal RS232 (Access from inside only, on digital-side)

5.3 Indicators

The module has tree external indicators located on the top of the module. Indicators are classified by function as it follows:

- L1: 1pps green indicator (flashes when a 1pps signal is received) - L2: Module powered (flashes when a CAN frame is received or transmitted) - L2: +5V power supply for the external switches - L4: -5V power supply for the external switches

Revision A, November 18th, 2009 Page 6 of 7

Page 8: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

5.4 C1 connector pin-out

- C1 & C2: SUBD9 connection to CAN bus

Figure 4: The DB9 male connector is shown view from the pin side

Pin Signal I/O Function 1 CAN_SHLD - CAN Shield (Non standard!) 2 CAN_L I/O CAN_L Bus Line (dominant low) 3 CAN_GND - CAN Ground, connected to board ground 4 N/C - Not connected 5 POWER 24V - Power distribution +24V (Non standard!) 6 CAN_GND - CAN Ground, connected to board ground 7 CAN_H I/O CAN_L Bus Line (dominant high) 8 N/C - Not connected 9 POWER 0V - Power distribution return (Non standard!)

Table 1: C1, CAN & Control connector pin outs

5.5 Internal connector pin-out (digital-side)

- J3: HE10 connection to terminal RS232 (Access from inside only)

Pin Signal Dir Function

1 N/C - Not Connected 2 N/C - Not Connected 3 SERIAL_TxD O RS232 Transmit 4 N/C - Not Connected 5 SERIAL_RxD I RS232 Receive 6 N/C - Not Connected 7 N/C - Not Connected 8 N/C - Not Connected 9 GND - Board Ground 10 GND - Board Ground

Table 2: J3, RS232 connector pin outs

Revision A, November 18th, 2009 Page 7 of 8

Page 9: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

6. Instrument Interfaces

6.1 CAN bus I/O Signals

The DB9 sockets C1&C2 connect the module to the external CAN bus3 network. CAN_L & CAN_H feed a CAN transceiver (PCA82C251) located on the MCU daughter board. The CAN controller is embedded inside the MCU C164.

6.2 1pps Sync interface

The 1pps Timing signal is delivered in coaxial through the C6 connector described in paragraph 5. A NC7S1414 trigger receiver feeds four drivers whose outputs go to the connectors C7 up to C10. The 1pps12 timing signal also feeds a fast interrupt input of the MCU to synchronize the events that takes place in the module.

6.3 Reset button

The Reset button is located on the left side of the front panel. The Reset signal feeds the Master Reset of the C164 MCU. It is used to re-initialize the MCU.

6.4 RS232 Serial Port

The RS232 port is connected to a MAX233013, transceiver and levels translator, before feeding the asynchronous serial channel #0 of the MCU. This port is used to download the user software into the flash RAM. The HE10 socket J2, described in paragraph 5.5 table 2, is dedicated to maintenance and software upgrade. The 3M 10-pin connector J2 is only reachable when the module is open.

6.5 5MHz reference clock

The 5MHz reference clock input delivered in coaxial through the C11 connector, AC coupled in single mode with 0dBm level, feeds a LT171912 comparator. Its output feeds four inverters whose outputs go to the connectors C12 up to C15.

7. Local Interfaces

7.1 One Wire interface

Each motherboard has a unique serial ID number generated by a Dallas Semiconductor DS18S2011 device, which offers a temperature sensor in addition. The serial ID number is delivered in 48-bit format (6 bytes) and temperature in 9 bits format (2 bytes). For maintenance purpose, module temperature and ID number can be requested with CAN commands.

7.2 Analog Voltages Monitoring

The MCU includes an on-chip 8-channel Analog to Digital Converter with 10-bit resolution. Four output voltages are monitored: +5V, +3.3V, M5V, P5V and an input

Revision A, November 18th, 2009 Page 8 of 9

Page 10: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

voltage: +6.5V. For maintenance purpose, voltages reading can be requested with few CAN commands.

ADC Channel

Signal Dir Function

0 +5V I Read VCC output voltage 1 P5V I Read +5.0V output voltage 2 M5V I Read -5.0V output voltage 3 +3.3V I Read +3.3V output voltage 4 +6.5V I Read the +6.5V input voltage 5 Unused I Free 6 Unused I Free 7 Unused I Free

Table 3: ADC channels assignment

8. Implementation Details

8.1 Micro Controller Unit (MCU)

The MCU is a DIPmodul-1644 from SYSTEC used as a daughter board. It carries a C164 µicrocontroller running at 20MHz with a 10MHz quartz, 128 KB of FLASH memory, 32 KB of SRAM, 2 KB of serial EEPROM, 8 dipswitches and a CAN transceiver. A single +5V / 80mA power supply is required. According to SYSTEC, its MTBF is 1,307,950 hours or 149 years. 8.1.1 C164 Micro-Controller Unit (MCU)

The micro-controller is a C1646, a 16-bit processor from INFINEON. It is a derivative of the C1678 family in an 80-pin TQFP package. It combines high CPU performance (up to 10 MIPS) with high peripheral functionality: full CAN interface, 8-input ADC, asynchronous serial port, High Speed synchronous serial port, timers, RTC12, 14 digital I/Os available to user and high speed DMA under interruption. A bootstrap loader is available to download user software into Flash memory. For more information, refer to the datasheet listed at the end the document4.

8.1.2 CAN Controller The micro-controller has an on-chip CAN controller (Rev. 2.0B) with 15 message objects. It is capable of 1-Mbaud operations.

8.1.3 Analog to Digital Converter The micro-controller has an 8-channel Analog to Digital Converter with 10-bit resolution. A conversion can take place in less than 10 microseconds. Any unused channel can be used as an extra conventional digital input.

Revision A, November 18th, 2009 Page 9 of 10

Page 11: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

8.1.4 Digital I/O The micro-controller has up to 59 general purpose I/Os among which 14 are available outside of the daughter board. This is enough for our application.

8.1.5 Asynchronous Serial Controller The micro-controller has a single serial channel dedicated to the RS232 interface. This interface is used to download user software.

8.1.6 Synchronous Serial Controller The micro-controller has a high-speed synchronous serial channel capable of 5-Mbaud operations. It can be used for: I2C, SPI or any serial transmission. In this module, it is dedicated to communicate with an EEPROM and is not available on external pins.

8.1.7 One Wire controller One-Wire interfacing has easily been developed in C for this micro-controller. This interface use one pin and is dedicated to DALLAS integrated circuits.

8.2 Voltage regulators A DC/DC converter and three low drop voltage regulators are used in this module. Fed by +6.5V, the four regulators deliver:

• M5.0V/ 480mA for the switches • P5.0V / 720mA for the switches • +3.3V / 20mA for the 1pps interface • +5.0V / 100mA for the ICs

9. Built-in Firmware

9.1 Bootstrap loader

A bootstrap loader is available to download user software. By simultaneously pressing RESET and BOOT then release first RESET, and 3 seconds later release BOOT. Now the MCU is ready to accept user software from the RS232 line. Run Flashtools16W on any PC to download the firmware into the FLASH memory. At the end of the download process, pressing RESET will initialise the program.

9.2 Power up or Reset sequence At init, receivers with horizontal polarisation are selected to feed the correlators.

Revision A, November 18th, 2009 Page 10 of 11

Page 12: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

10. Device-Specific Software / CAN Functions Interface

10.1 Operating program In normal operation, the module receives Can frames with next polarisation settings for the antennas 1 up to 12. The 1pps pulse synchronizes all changes.

10.2 CAN Overview The POLAR SWITCH module is controlled and monitored by the PdB2 CAN network, revision 2.0B (extended format), operating at 1Mbauds. The module is a slave CAN node operating in the address range 0x0828 0000 (hex), through 0x082C 0000 (hex). Its CAN relative address space spans from 0x0 0000 to 0x3 FFFF (hex). 8 switches located on the MCU daughter board define the module global address. Each switch being a power of 2, the result ranging from 0 up to 255 is multiplied by 0x4 0000 (hex) to generate the module global address. When a broadcast message 0 is received, the module transmits its address. CAN payload bytes are listed from 1 up to 8.

Address range 0x0828 0000 0x082B FFFF (hex) Relative address 0x0000 0000 0x0003 FFFF (hex)

Note: L1 indicator flashes when a CAN frame is received or transmitted.

10.3 Summary of the CAN Monitor points

Name Relative CAN Address (hex)

Data Size (Bytes)

Target Timing Event Related?

MODULE_ID 0x0 00 00 8 Maintenance No SERIAL_&_TEMP 0x0 00 01 8 Maintenance No PSU_VOLTAGE1 0x0 00 02 8 Maintenance No PSU_VOLTAGE2 0x0 00 03 2 Maintenance No MODULE_STATUS 0x0 00 04 6 Maintenance No ELAPSED_TIME 0x0 00 05 5 Maintenance No LAST_HV_POLAR 0x0 02 20 2 Maintenance No

Table 4: Summary of Monitor Points

10.4 Summary of the CAN Control points

Name Relative CAN Address (hex)

Data Size (Bytes)

Target Timing Event Related?

HV_POLAR 0x0 01 20 2 Operation Yes INIT 0x0 01 F0 1 Operation No CPU_RESET 0x0 01 FF 1 Operation No

Table 5: Summary of Control Points

Revision A, November 18th, 2009 Page 11 of 12

Page 13: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

10.5 CAN payload contents

10.5.1 Monitor points in detail

a) MODULE_ID

Relative CAN Address 0x0 00 00 Description This monitor point returns the module ID and waste. Target Maintenance TE Related No Data 8 bytes:

Byte 1: Integrated circuit family code Byte 2, 3, 4, 5, 6 & 7: 48 bits serial number Byte 8: CRC

b) SERIAL_&_TEMP

Relative CAN Address 0x0 00 01 Description This command returns the module serial number followed by

its internal temperature. The answer is sent within 2 seconds. Target Maintenance (never use it during operation!) TE Related No Data 8 bytes:

Byte 1, 2, 3, 4, 5 & 6: 48 bits serial number Byte 7 & 8: Module temperature

Conversion factor Temperature = First Byte + Second Byte/100 Operating Range 15°C - 55°C recommended range

c) PSU_VOLTAGE1

Relative CAN Address 0x0 00 02 Description This monitor point indicates the measured output voltages of

the power supply. Target Maintenance TE Related No Data 8 bytes:

Byte 1 & 2: M5.0V (0.00-6.00) Byte 3 & 4: P5.0V (0.00-6.00) Byte 5 & 6: 3.3V (0.00-5.00) Byte 7 & 8: 5.0V (0.00-6.00)

Conversion factor Voltage = First Byte + Second Byte/100 Operating Range M5.0V -> (4.75-5.25)

P5.0V -> (4.75-5.25) 3.3V -> (3.15-3.45) 5.0V -> (4.75-5.25)

Revision A, November 18th, 2009 Page 12 of 13

Page 14: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

d) PSU_VOLTAGE2

Relative CAN Address 0x0 00 03 Description This monitor point indicates the measured input voltage of the

Power Supply. Target Maintenance TE Related No Data 2 bytes:

Byte 1 & 2: 6.5V (0.00-10.00) Conversion factor Voltage = First Byte + Second Byte/100 Operating Range 6.5V -> (6.0-8.0)

e) MODULE_STATUS

Relative CAN Address 0x0 00 04 Description This monitor point reports the CAN bus reliability, the

firmware revision date and the Timer7 value. Target Maintenance TE Related No Data 6 bytes:

Byte 1: CAN bus errors (0-255) Byte 2, 3, 4: Firmware revision date Day, Month, Year Byte 5 & 6: Timer7 content (27 473 +/-10)

f) ELAPSED_TIME

Relative CAN Address 0x0 00 05 Description This monitor point indicates the elapsed time since last reset. Target Maintenance TE Related No Data 5 bytes:

Byte 1 & 2: Elapsed days (0 <-> 65535 days) Byte 3: Elapsed hours (0 <-> 24 hours) Byte 4: Elapsed minutes (0 <-> 60 minutes) Byte 5: Elapsed seconds (0 <-> 60 seconds)

Conversion factor Reading = 256*First Byte + Second Byte or single Byte only Operating Range Elapsed days -> (0 <-> 5000 days)

Elapsed hours -> (0 <-> 24 hours) Elapsed minutes -> (0 <-> 60 minutes) Elapsed seconds -> (0 <-> 60 seconds)

Revision A, November 18th, 2009 Page 13 of 14

Page 15: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

g) LAST_HV_POLAR

Relative CAN Address 0x0 02 20 Description This monitor point reports the last polarisation command sent

to the POLAR SWITCH module. Target Maintenance TE Related No Data 2 bytes:

Byte 1: A6 to A1, data=00bb bbbb Byte 2: A12 to A7, data=00bb bbbb

Conversion factor Data = First Byte, Second Byte

10.5.2 Control points in detail

a) HV_POLAR

Relative CAN Address 0x0 01 20 Description That command selects the H or V receiver polarisation for

each input of the correlator. It should be the first command sent to this device before each sky observation.

Target Operation TE Related Yes (1 sec.) Data 2 bytes:

Byte 1: A6 to A1, data=00bb bbbb Byte 2: A12 to A7, data=00bb bbbb With b=0 : H H and V V, b=1 : H V and V H

b) INIT

Relative CAN Address 0x0 01 F0 Description This command initialises the module with its default values. Target Operation TE Related No Data 1 byte:

Byte 1: Don’t care Note: the default set-up is H H and V V for each antenna.

c) CPU_RESET

Relative CAN Address 0x0 01 FF Description This command initialises the module MCU. Target Operation TE Related No Data 1 byte:

Byte 1: Don’t care

Revision A, November 18th, 2009 Page 14 of 15

Page 16: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

11. Test Software

The POLAR SWITCH module can be controlled and monitored by the “Polar_switch_test.vi”. It can be run with LABVIEW from any PC hosting a CAN interface. The test equipment is self-teaching and a view of the its control screen is displayed next:

Figure 5: POLAR SWITCH test panel

Revision A, November 18th, 2009 Page 15 of 16

Page 17: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

12. Abbreviations and Acronyms

1 pps 1 Pulse per second, PdB reference timing with TTL signalling

ADC Analog to Digital Converter

C164 Reduced version of the C167 (Infineon – Siemens)

C167 16-bit micro-controller of the C166 family (Infineon – Siemens)

CAN Controller Area Network, field bus dedicated to control. (Bosch)

CPU Central Processing Unit

DMA Direct Memory Access

EEPROM Electrically Erasable & Programmable Read Only Memory

FLASH Permanent memory that can be reprogrammed

I/O Inputs and Outputs

LSB / MSB Least Significant Bit / Most Significant Bit

MSPS Mega Samples per Second

MCU Micro Controller Unit

MTBF Mean Time Between Failures

NOEMA NOrthern Extended Millimeter Array with 12 antennas

One-Wire Serial bus using one wire with ground return (DALLAS)

PC Personal Computer

PCB Printed Circuit Board

RS232 Standard computer interface for serial communication with a terminal

RTC Real Time Clock

Revision A, November 18th, 2009 Page 16 of 17

Page 18: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

13. References

1. Polarization processing for PdB, may 2009, Scientific software group. 2. PdB CAN specification, june 2004, A Perrigouard. 3. CAN specification, version 2.0, 1991, Bosch. 4. DIPmodul 164 hardware manual, edition january 2002, Systec: a Phytec Technology

Holding Company. 5. C164CI 16-Bit Single Chip Micro-controller, data sheet, 04.1997, Siemens-Infineon. 6. C164CI 16-Bit CMOS Single Chip Micro-controllers, user’s manual, 11/97, version 1.0,

Siemens-Infineon. 7. Programmation et utilisation du microcontrôleur SAB-C167, Remy Bellenger, sciences de

l’ingénieur, MASSON, 1996, IRAM TE22. 8. 166 Family designer’s guide, Hitex development tools Ltd, second edition, April 1999. 9. Software quality management ‘C’ compiler report KEIL C166 v3.12j, revision F,

22/06/2000, Hitex development tools Ltd. 10. An Introduction to C on the 166 Family using the KEIL C166 compiler, Hitex

development tools Ltd, issue Z/V, 1998. 11. DS18S20, Serial code and Digital thermometer, data sheet, 05-01-02, Dallas

Semiconductors. 12. LT1719 Comparator, data sheet, 2000, Linear Technology. 13. MAX 233, RS232 drivers/receivers, data sheet, 19-4323 rev 10, 08/01, Maxim Integrated

Products. 14. NC7S14 Schmitt trigger inverter, data sheet, January 1996, Fairchild semiconductor. 15. 74AC04 Hex inverter, data sheet, National Semiconductor. 16. LP2985, Micropower 150mA low noise ultra low dropout regulator, data sheet, January

2003, National Semiconductor. 17. LP2940, Micropower 1A low dropout regulator, data sheet, January 2003, National

Semiconductor. 18. TEN 3-0511, DC/DC converter, data sheet, 06/2000, TRACO power.

Revision A, November 18th, 2009 Page 17 of 18

Page 19: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

14. POLAR SWITCH drawing list

CAN micro-controller

Switches buffers & connectors

Power supplies

5MHz & 1pps buffers

Revision A, November 18th, 2009 Page 18 of 19

Page 20: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

S1

16

27

38

49

5

10

11

J1CONN DSUB 9-P

+7_5Vread+3_3Vread

HV

_A2

HV

_A11

16

27

38

49

5

10

11

J2CONN DSUB 9-P

CA

N_L

1pps_EX0IN

HV

_A10

HV

_A9

R14

100

HV

_A8

R31

4.7k

VAREF

AD

C5

R32

4.7k

VAREF

AD

C6

HV

_A7

R33

4.7k

1PPS

VAREF

AD

C7

HV

_A6

11

Z2

Fix-fav

AD

C7

AD

C3

11

Z7

Fix-fav

11

Z3

Fix-fav

MCU

11

Z4

Fix-fav

11

Z5

Fix-fav

-5V

read

11

Z6

Fix-fav

VCCread

HV

_A5

-5Vread+5Vread ADC6ADC5ADC7Ti

tle

Siz

eD

ocum

ent N

umbe

rR

ev

Dat

e:S

heet

of

Pol

ar S

witc

hA

CA

N M

ICR

OC

ON

TRO

LER

A2

14

Mon

day,

Oct

ober

19,

200

9

Des

igne

r : P

hilip

pe C

HA

VA

TTE

IRA

M B

ack-

End

+5V

read

AD

C6

VCC

VCC

VCC

VCC

13

D2BAS16

CA

N_F

RA

ME

HV

_A4

200µs

AD

C5

R9

1.5k

oo

C4

1nF

HV

_A3

100ms

1µs

3 2

1

Q1BST82

Pul

se

D6

LED VERTE

One

Wire

TXD

02

/BO

OT

4

DG

ND

6

DG

ND

8

VA

GN

D10

P5.

112

P5.

314

RX

D0

1

P3.

43

P3.

65

DG

ND

7

VA

RE

F9

P5.

011

P5.

213

P5.

415

P5.

516

P5.

617

P5.

718

RE

SIN

19

DG

ND

20P

8.0

21P

8.1

22P

1H0

23P

1H1

24P

1H3

26

P1H

225

P1H

528

P1H

427

P1H

730

P1H

629

P8.

332

P8.

231

DG

ND

34

DG

ND

33

P4.

536

DG

ND

35

CA

NH

38

CA

NL

37

VC

C40

P4.

639

U1DIPmodul164

1

TP3

RS232

CAN

RESET

DOWNLOAD

HV_A11

oo

C22

1uF/16V

oo

C23

1uF/16V

oo

C24

1uF/16V

oo

C21

1uF/16V

32

D9LM385-2.5/TO

R102.2k

Rxd

1

ooC201uF/16V

/BO

OT

CAN BUS

BOOT

S2

R114.7k

12

S3

Ear

th

NC

1

oo

C30

100nF

+24V

DC

0VD

C

Tx

1

TP2

NC

2

Shi

eld

ID &

TEM

PERA

TURE

Txd1

ooC10100nF

1

TP1

1 2 3 45678

U3DS18S20Z

ONE

WIRE

Rx

RE

SE

T

R30

4.7kV

CC

read

AD

C4

VA

RE

F

HV

_A12

R1I

N13

R2I

N8

T1IN

11

T2IN

10

C+

1

C1-

3

C2+

4

C2-

5

V+

2

V-

6

R1O

UT

12

R2O

UT

9

T1O

UT

14

T2O

UT

7

VCC16

GND15

U2MAX232/SO

CAN FRAME

FLASHER &

POWER ON

3 2

1

Q2BST82

HV

_A1

HV_A6

13

D3BAS16

HV_A5

VCC + CAN

HV_A4HV_A3

HV_A2

D7

LED VERTE

R12

1.5k

VCC

HV_A12

VCC

HV_A10HV_A8HV_A9HV_A7

HV_A1

1pps

11

22

33

44

55

66

77

88

99

1010

J33M 10 pins

D8

LED VERTE

R13

1.5k

VCC5

1pps

_EX

0IN

CA

N_H

Revision A, November 18th, 2009 Page 19 of 20

Page 21: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

VCC5

oo

C40

100nF

1pps

R40

100

NC

1

A2

GN

D3

Y4

VD

D5

U4NC7S14

L410uH J7

BNC

VCC

GN

D

R112

680

VTl

= 1.

1VVT

h =

2.1V

5MH

z_bu

f D10

LED VERTE

Bia

is

1pps

_EX

0IN

VCC5

+3_3

V

R96

51

5MHz

J16SMA

R97

51

1pps

R103

330

oo

C91

47nF

R98

51

R99

51

J13SMA

J14SMA

J15SMA

R91

4.7k

P3.3 = 4.88 * +3_3Vread

R90

4.7k

oo C9247nF

oo C9347nF

oo C9447nF

oo C9547nF

VCC5

VCC5

VCC5

0.1W

1110

U9E74AC04/SO

1312

U9F74AC04/SO

oo

C90

100nF

oo

C100

100nF

R85

330

oo

C81

47nF

1

TP4

J9SMB

VCC5

J10SMB

R110

1.5k

J12SMA

VI

1

GND 2

VO

5

ON

/OFF

3B

ypas

s4

U11LP2985IM5-3.3

J11SMB

R111

1.5k

VCC5

+

C111

10µF/16V Tantale

12

U9A74AC04/SO

34

U9B74AC04/SO

56

U9C74AC04/SO

98

U9D74AC04/SO

R92200

R93200

R94200

R95200

1pps_EX0IN

GN

DG

ND

GN

DG

ND

5MH

z_ou

t1

5MH

z_ou

t2

5MH

z_ou

t3

5MH

z_ou

t4

Title

Siz

eD

ocum

ent N

umbe

rR

ev

Dat

e:S

heet

of

Pol

ar S

witc

hA

5MH

z &

1pp

s bu

ffers

A2

44

Mon

day,

Oct

ober

19,

200

9

Des

igne

r : P

hilip

pe C

HA

VA

TTE

IRA

M B

ack-

End

VC

C1

IN+

2

IN-

3

VE

E4

GN

D5

SH

DN

6O

UT

7+V

S8

U10LT1719CS8

oo C102100nF

R102

100

12

U8A74AC04/SO

1pps

5MHz

34

U8B74AC04/SO

56

U8C74AC04/SO

98

U8D74AC04/SO

oo

C80

100nF

1110

U8E74AC04/SO

R1001.5k

VCC5

1312

U8F74AC04/SO

R101

1.5k

+3_3Vread

5MH

z_A

C

1pps

_n

GN

DG

ND

GN

DG

ND

GN

D

oo

C101

100nF

oo

C112

10nF

R8010

R8110

R8210

R8310

R8410

1pps

_buf

1

1pps

_buf

2

1pps

_buf

3

+3_3

Vre

ad

1pps

_buf

4

1pps

_buf

5

+

C110

100uF/16V

1pps

_out

1

1pps

_out

2

J8SMB

1pps

_out

3

1pps

_out

4

5MH

z

Revision A, November 18th, 2009 Page 20 of 21

Page 22: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

R18

4.7k

3 2

1

Q6BST82

R19

4.7k

3 2

1

Q7BST82

R20

4.7k

VCC 3 2

1

Q8BST82

GN

D

+5V

-5V

VCC

VCC

VCC

R21

4.7k

3 2

1

Q9BST82

+5V

HV

_A5+

GN

D

-5V

+5V

+5V

-5V

GN

D

-5V

GN

D

+5V

R22

4.7k

3 2Q10BST82

GN

D

-5V

R23

4.7k

3 2

1

Q11BST82

R24

4.7k

3 2

1

Q12BST82

R25

4.7k

3 2

1

Q13BST82

R26

4.7k

3 2

1

Q14BST82

1234567891011121314151617181920212223242526

J5 CONN FLEX 26/coude+verrous longs

1

-5V

A1-A6

HV_A8HV_A7 HV_A10HV_A9

GN

D

HV_A12HV_A11

HV

_A8

HV

_A7

HV

_A12

HV

_A11

HV

_A9

HV

_A10

1234567891011121314151617181920212223242526

J6 CONN FLEX 26/droit+verrous longs

VCC

R15

4.7k

3 2

1

Q3BST82

GN

D

+5V

HV

_A8+

-5V

+5V

oo

C2

100nF

R16

4.7k

3 2

1

Q4BST82

VCC

-5V

GN

D

+5V

VCC

VCC VCC

GN

D

+5V

HV

_A11

+

+5V

-5V

-5V

GN

D

GN

D

+5V

-5V

GN

D

+5V

-5V

A7-A12

HV

_A1

HV

_A4

HV

_A3

HV

_A2

HV_A6

VCC

HV

_A5

HV

_A12

+

HV_A4 HV_A5

HV

_A6

HV_A2 HV_A3

HV

_A10

+

HV_A1

HV

_A9+

HV

_A7+

VCC

HV

_A6+

oo

C3

100nF

VCC

R17

4.7k

VCC

3 2

1

Q5BST82

-5V

+5V

HV

_A4+

HV

_A3+

HV

_A1+

HV

_A2+

VCC

Title

Siz

eD

ocum

ent N

umbe

rR

ev

Dat

e:S

heet

of

Pol

ar S

witc

hA

Sw

itche

s bu

ffers

& c

onne

ctor

s

A2

24

Mon

day,

Oct

ober

19,

200

9

IRA

M B

ack-

End

Des

igne

r : P

hilip

pe C

HA

VA

TTE

Revision A, November 18th, 2009 Page 21 of 22

Page 23: DUAL LO2 manual · IRAM Plateau de Bure Observatory POLAR SWITCH User manual Philippe CHAVATTE, IRAM - Backend Revision A, November 18th, 2009

IRAM Back-End POLAR SWITCH user manual

Z1

Antenne

+7_5

VFF

+

C61

100uF/16V

D1

1.5KE-7.5CA

+

C5

100uF/16V

P7_5 = 4.1 * + 7_5Vread

1 2

J4CONN RECT 2

oo

C11

100nF

L210uH

+5Vread

R6

2.2k

R5

3.9k

P5 = 2.77 * +5Vread

oo

C52

100nF

VCC = 2.77 * VCCread

VK200

+7_5

VD

C

-5V

read

VI

1

GND 2

VO

5

ON

/OFF

3B

ypas

s4

U7LP2985IM5-5.0

VK200

oo

C72

10nF

VK200

+

C51

100uF/16V

+7.5VDC

R7

3.9k

R8

6.8k

D5

LED VERTE

TRACO

M5 = (2.74 * -5Vread) - (1.74 * P5)

R2

1.5k

1.5W

0.2W

+5V

-5V

0.5W

ooC62

100nF

Title

Siz

eD

ocum

ent N

umbe

rR

ev

Dat

e:S

heet

of

Pol

ar S

witc

hA

Pow

er S

uppl

ies

A2

34

Mon

day,

Nov

embe

r 16,

200

9

Des

igne

r : P

hilip

pe C

HA

VA

TTE

I.R.A

.M B

ack-

End

-5Vread

sur radiateur

oo

C1

100nF

+7_5

VF

+7_5Vread

R27

2.2k

R28

6.8k

+7_5

Vre

ad

+5.0

V /

720m

A

-5V

-Vin2 2-Vin3 3

No pin 9NC 11

+Vin2323+Vin2222

-Vout16+Vout14

U6

TEN 3-0511

VI

1

GND 2

VO

3

U5LM2940CT-5

2A

+5V

F1FUSEHOLDER

VC

Cre

ad

+

C71

100uF/16V

+

C50

100uF/16VL110uH

-5.0

V /

480m

A

+5V

read

+

C70

10µF/16V Tantale

D4

LED VERTE

R1

1.5kAL

IM D

C

+7_5

VFF

F

GND

2

1

S4

STRAP

2

1

S5

STRAP

VCCread

VCC

L310uH

+5VCAN / 100mA

R4

2.2k

R3

3.9k

VC

C

Revision A, November 18th, 2009 Page 22 of 23