The TIMING System …

20
The TIMING System … The TIMING System … …as used in the PS accelerators.

description

The TIMING System …. …as used in the PS accelerators. Overview :. General Timing Aspects and Principle Hardware aspects Software aspects Control, Applications, Diagnostics New requests, installations and maintenance. General Timing Aspects and Principle. What is our mandate ? - PowerPoint PPT Presentation

Transcript of The TIMING System …

Page 1: The TIMING System …

The TIMING System …The TIMING System ……as used in the PS accelerators.

Page 2: The TIMING System …

Overview :Overview :

General Timing Aspects and PrincipleHardware aspectsSoftware aspectsControl, Applications, DiagnosticsNew requests, installations and maintenance

Page 3: The TIMING System …

General Timing Aspects and PrincipleGeneral Timing Aspects and Principle

What is our mandate ?– Provide the users all necessary pulses for :

Synchronization of the machines (injection, ejection) Power converters pulsing, (charging, firing, acquiring…), Function Generators starting, Instrumentation triggering, clocking, converting…, Processes treatments, RT tasks interrupts…, Observation (NAOS).

– Modify the existing installation according new requirements,

– Provide Help and Assistance to the Operation staff , Equipment specialists, or local Users …,

– Assume diagnostics of faults, maintenance and repair,

– Provide documentation and tools necessary to be able to accomplish the above point.

Page 4: The TIMING System …

General Timing Aspects and PrincipleGeneral Timing Aspects and Principle

C0 C275 C805 C1200

INJECTION EJECTION END CYCLESTART CYCLE

FW CYCLE

W CYCLE W INJECTION

FW INJECTION FW EJECTION

W EJECTION

FREE TIMING (From CO to C1200)

Which Timing do we have to deliver ?– Free timings from Start to End of a cycle,

– Linked to a Cycle Event (including Warnings and Forwarnings),

– Linked to a “Process” like Injection, Ejection, Flat Tops… (also including Warnings and Forwarnings)

– Bursts and Repetitive timings

Page 5: The TIMING System …

General Timing Aspects and PrincipleGeneral Timing Aspects and Principle How to start a counter ?

– From a direct MTG event available on the MTG cable,– From an external pulse,– Internally from the previous counter,– Between two pulses (Bursts)

What to count ?– Internal C Train (1ms),– 100ns internal train,– External trains (TREV, RF, Synthetiser… < 20MHz)– Cable Train (not used in PS, as I know !)

Conditioning ?– Counting value and enable/disable depending of the Cycle User (PPM : 24

Users => 24 Values + 24 enable/disable)– Output conditioning with check of predefined bit patterns or values in the

previous or current MTG Telegram.

Page 6: The TIMING System …

Counting Sequence

C0 C1200

LOAD MTG Event

MTG Telegram

Counter LoadingAccording MTG Telegram data :• CCV User A• Enable User A• GATE

User A

Counter Start Counter Output

Counting

AcquisitionPerformed by TG8 RT task

Telegram Ready Telegram Ready

General Timing Aspects and PrincipleGeneral Timing Aspects and Principle

Page 7: The TIMING System …

General Timing Aspects and PrincipleGeneral Timing Aspects and Principle What’s about the machines synchronization ?

BEX.MW8RF BEX.W2RF BEX.SEJ

PIX.MW8RF PIX.W2RF PIX.SINJ

BEX.W10-MTG

PIX.SSYNCC

PIX.W10-MTG

BAX.TREV

BAX.TRF

PIX.TREV

PIX.TRF

Phase Adjust

Phase Adjust

Page 8: The TIMING System …

Hardware Aspects Hardware Aspects

Counters : TG8 (>300)– 1 MTG Cable Input,– 2 external Starts,– 2 External Clocks,– 8 Counter Outputs, 1 1KHz Clock Output.

Fine Delays– 2 channels 1ns and 8 channels with frequency dividing.

Survey Modules– 32 Inputs, 50ns.

Accessories Devices– Pulse Repeaters (320), Level Adapters, Gate, RF Distributors,

PTG…

Page 9: The TIMING System …

Hardware Aspects Hardware Aspects

Timing Layout– Common approach for all PS accelerators,

– Dedicated Central Timing DSCs for Injection, Ejection,

– Dedicated racks for Pulse Repeaters and Patchs,

– Available Europ Crate above VME for Level adapters, RF Distribution …,

– Distance Timing Distribution via Blocking Level Repeaters,

– Quite systematic connection of TG8 Outputs to TSM.

Page 10: The TIMING System …

Software Aspects Software Aspects

Application Programs

DSC VME

RPC ServerData Table

TG8InfoFile

TG8RT TaskTG8RT Task

TG8 Module

TG8 Driver

Equipment Module

TG8 Survey

Alarms Program

General Layout

Page 11: The TIMING System …

Software Aspects Software Aspects What is a Timing Equipment and how to access it ?

– PS used the concept of Equipment Modules which allow to drive Equipments of a certain type (Power supplies, Timings, GFAs…),

– Equipment Modules are sets of procedures (EM Properties) and data (contains in a DataTable),

– Configuration, Control, Acquisition of an Equipment is always done with these EM Properties,

– No DIRECT access to DRIVER allowed– An Equipment is declared and defined in Oracle for all their static data

(RO variables),– An equipment can be declared PPM, so can use a set of 24 RW Control

values automatically selected by the MTG USER group value,– A generation procedure allow to build a new DSC image with all

needed information to access a new declared Equipment. Main Equipment Modules relative to Timing System :

– CTIM (MTG Timings) : 1143 equipments,– PTIM-V (TG8 Timings) : 2127 equipments,– PTIMD (Fine Delays) : 103 equipments,– TSM (Timing Survey) : 38 equipments * 32 channels.

Page 12: The TIMING System …

Software Aspects Software Aspects Example : A Timing Equipment as declared in Oracle

Page 13: The TIMING System …

Software Aspects Software Aspects Example : A TG8 Module as declared in Oracle

Page 14: The TIMING System …

Control, Applications, DiagnosticsControl, Applications, Diagnostics Control is done from :

– Standard Console Manager Knobs

Page 15: The TIMING System …

Control, Applications, DiagnosticsControl, Applications, Diagnostics Control is done from :

– Standard Console Manager Timing f(t) Application Program

Page 16: The TIMING System …

Control, Applications, DiagnosticsControl, Applications, Diagnostics Control is done from :

– Special Application Programs (calculation, instrumentation, beam control…),

– Specialized tools.

Page 17: The TIMING System …

Control, Applications, DiagnosticsControl, Applications, Diagnostics Diagnostics can be done with :

– Alarm Program reports,

– TG8 test program from DSC Terminal (Direct TG8 Driver access),

– TSM applications (OP & CO),

Page 18: The TIMING System …

Control, Applications, DiagnosticsControl, Applications, Diagnostics Diagnostics can be done with :

– Specialized diagnostic tool,

Page 19: The TIMING System …
Page 20: The TIMING System …

New Requests, Installation and MaintenanceNew Requests, Installation and Maintenance

New requests come normally from Operation Supervisor of the machines…

… but also from local users or specialists, New installations are “home made” (cabling, DSC and

equipment configurations), keeping in mind that everybody may have to understand it ! (Effort on documentation, naming, labeling, numbering…),

A “Piquet Team” is in charge of the whole Timing System in case of absence of the specialists,