daq interface

9
Page 1 CALICE Collaboration Didier JEHANNO – v2 – 25.06.04 The CALICE project CAlorimeter for the LInear LAL,LLR,LPC,PICM VFE, PCB, mechanics, DAQ , , Assembling,amorphous silicon Imperial College, UCL, Cambridge, Birmingham, Manchester, RAL DAQ , Physics studies ITEP,IHEP,MSU Tungsten, Silicon wafers Prague (IOP-ASCR) Silicon wafers SNU, KNU DAQ , PCB, Physics Collider with Electrons

Upload: thina

Post on 13-Jan-2016

44 views

Category:

Documents


0 download

DESCRIPTION

LAL,LLR,LPC,PICM VFE, PCB, mechanics , DAQ , Assembling , amorphous silicon Imperial College, UCL, Cambridge , Birmingham, Manchester, RAL DAQ , Physics studies ITEP,IHEP,MSU T ungsten , Silicon wafers Prague (IOP-ASCR) Silicon wafers SNU, KNU DAQ , PCB, Physics. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: DAQ INTERFACE

Page 1

CALICE Collaboration

Didier JEHANNO – v2 – 25.06.04

The CALICE project

CAlorimeter for the LInear

LAL,LLR,LPC,PICM VFE, PCB, mechanics, DAQ , , Assembling,amorphous silicon

Imperial College, UCL, Cambridge,Birmingham, Manchester, RAL DAQ , Physics studies

ITEP,IHEP,MSU Tungsten, Silicon wafers Prague (IOP-ASCR)Silicon wafers

SNU, KNUDAQ , PCB, Physics

Collider with

Electrons

Page 2: DAQ INTERFACE

Page 2

CALICE Collaboration

Didier JEHANNO – v2 – 25.06.04SUMMARY

GENERAL SYNOPTIC : REMOTE CONTROL

GENERAL SYNOPTIC : LOCAL CONTROL CASE 1

GENERAL SYNOPTIC : LOCAL CONTROL CASE 2

DAQ EQUIPMENT CONNECTION

LAL POLICY

SUGGESTED DATAS

SUGGESTED COMMANDS

Page 3

Page 4

Page 5

Page 6

Page 7

Page 8

Page 9

Page 3: DAQ INTERFACE

Page 3

CALICE Collaboration

Didier JEHANNO – v2 – 25.06.04GENERAL SYNOPTIC : REMOTE CONTROL

RS422 (Differential)

30m

MAIN AC115V / 230V

COMMAND BOX

Laptop Windows

CONTROL ROOM

INTERFACE

MAIN AC115V / 230V

Motor X

Motor Y

- The COMMAND BOX drives the 2 stepper motors for X/Y movements- The remote LAPTOP, via the 232/422 INTERFACE, is connected to the COMMAND BOX with the RS422 LINK- It sends « LEVEL-1 commands » (ASCII) to the COMMAND BOX (left/right moves, reading position, etc…)

R232

ECAL

Page 4: DAQ INTERFACE

Page 4

CALICE Collaboration

Didier JEHANNO – v2 – 25.06.04GENERAL SYNOPTIC : LOCAL CONTROL

MAIN AC115V / 230V

COMMAND BOX

CASE 1 : WITH LAPTOP

CONTROL ROOM

INTERFACE

MAIN AC115V / 230V

X

Motor X

Motor Y

Laptop Windows

R232

RS422 (Differential)

30m

- The RS22 LINK has been disconnected from the COMMAND BOX- The LAPTOP, which has been moved LOCALLY, is now connected to the SAME connector dedicated for the RS442 LINK- The SAME functionalities as REMOTELY are available

disconnected

Page 5: DAQ INTERFACE

Page 5

CALICE Collaboration

Didier JEHANNO – v2 – 25.06.04GENERAL SYNOPTIC : LOCAL CONTROL CASE 2

MAIN AC115V / 230V

COMMAND BOX

CASE 2 : WITH CONSOLE

CONTROL ROOM

INTERFACE

MAIN AC115V / 230V

Motor X

Motor Y

LOCAL CONSOLE

Laptop WindowsRS422 (Differential)

30m R232

- The LOCAL CONSOLE has been connected to the COMMAND BOX- There is a LOCAL MODE switch (inhibits the LAPTOP commands) + a BRAKE OFF Switch (isolates the BRAKE)- For each motor, there are 3 basic commands (PUSH Buttons) : Forward, Backward, ZERO position, plus 1 SPARE

Page 6: DAQ INTERFACE

Page 6

CALICE Collaboration

Didier JEHANNO – v2 – 25.06.04DAQ EQUIPMENT CONNECTION

X

Y

Laptop Windows

RS422R232

- The purpose is to DEFINE, then SPECIFY the LINK between the LAL and the DAQ systems

- QUESTIONS : which datas are required by the DAQ ? which period of refreshment ? Cyclic, event ? On DAQ request ? which medium is the best choice ?

Serial (baudrate ? RS232, RS422 ? Protocol ?)Ethernet (10/100M ? Protocol ? Client/Server architecture ? ) …

ACAC

LAL SCOPE OF SUPPLY DAQ SYSTEM

To Be Defined

???

Page 7: DAQ INTERFACE

Page 7

CALICE Collaboration

Didier JEHANNO – v2 – 25.06.04LAL POLICY

X

Y

Laptop Windows

RS422R232

- WHAT THE LAL SYSTEM PROVIDES WITH THE LAPTOP : LEVEL-1 commands (password required) : the lowest existing level ( ie frame level) LEVEL-2 set of instructions : for remote requests/commands dedicated for DAQ Graphical HMI for X/Y positions, status of the Motors, etc…

- WHAT THE DAQ WILL NOT HAVE : no possibility to drive the motors via Level-1 commands : for safety reasons

the only entry point for the DAQ system will be LEVEL-2 no access to the RS422 medium : for layer abstraction, required if control box changes

no shared RS422 medium no possibility to adjust move speed for any axis : for safety reasons

- WHAT THE LAL SYSTEM PROVIDES TO THE DAQ SYSTEM : LEVEL-2 set of instructions which are parsed and validated before sending them to the Control Box

ACAC

LAL SCOPE OF SUPPLY DAQ SYSTEM

To Be Defined

???

Page 8: DAQ INTERFACE

Page 8

CALICE Collaboration

Didier JEHANNO – v2 – 25.06.04SUGGESTED DATAS

X

Y

Laptop Windows

RS422R232

LAL PROPOSES THE FOLLOWING DATA FOR EACH AXIS , provided at LEVEL-2 : the DAQ system has access to them, but it is up to it to use them or not

PARAMETERS (constants) : conversion (one Motor Step) / distance (mm) maximum moves allowed in (mm) and (step) (X : 30cm and Y : 20cm) preset speed for translation

VARIABLES : current position current gaps between current position and maximum move allowed global status : motor health status / stepper driver status end position sensors status

OTHER VARIABLES : console presence status

console switches status : « Local Mode » / Y « brake off » switch / Y brake status console push-buttons status : Forward / Backward / Zero / Spare

ACAC

LAL SCOPE OF SUPPLY DAQ SYSTEM

To Be Defined

???

Page 9: DAQ INTERFACE

Page 9

CALICE Collaboration

Didier JEHANNO – v2 – 25.06.04SUGGESTED COMMANDS

X

Y

Laptop Windows

RS422R232

LAL PROPOSES THE FOLLOWING COMMANDS, provided at LEVEL-2 : May change further !

READ PARAMETERS : rp [x/y] read all parameters for X or Y axis READ VARIABLES : rv [x/y] read all variables for X or Y axis

MOVE AXIS : mv [x/y] [value] [unit] for X or Y axis, value is according the unit : step or µm / mm / cm MOVE ZERO AXIS X : ze [x/y] returns to reference position 0 for X or Y axis

Y BRAKE COMMAND : bky [on/off] on validates the Y brake / off inhibits it, even if Y motor is stopped

POWER MOTOR X : pox [on/off] on validates hold torque / off validates detent torque when stopped POWER MOTOR Y : poy [on/off] on validates hold torque / off validates detent torque when stopped

ACAC

LAL SCOPE OF SUPPLY DAQ SYSTEM

To Be Defined

???