HCAL radioactive source driver control system


Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

HCAL radioactive source driver control system

  1. 1. HCAL radioactive source driver control system Status and schedule Ianos Schmidt The University of Iowa
  2. 2. HCAL source driver control system overview … source drivers Crate of controller boards source DIM server RS links DCS DIM clients System block diagram Controller board crates(3U) The function of the system is to control the operation of the Purdue radioactive source wire movers (“source drivers”) used for calibration of HCAL sub-detectors, and to provide a control interface to the DCS system. There are two types of drivers, air powered ones for permanent installation within the CMS detector, and electric motor driven ones for permanent use on HF, and temporary use on the other HCAL sub detectors. There will be two types of controller boards corresponding to the two types of drivers. An additional air driver type board will also be configured to monitor the air supply to the air drivers, and the DC power supplies that power the electronics. Power supplies 5v,18v,24v Air supply Pressure switches
  3. 3. Services from sub detectors HF+ HE+ HO+1,+2 HB+ HO0 HO –1,-2 HE- HF- Services: Air drivers Electric drivers 0 2 3 3 0 1? 2 3 0 1? 3 3 0 2 Total 10 16-19 HB- 0 1? * There is one control board per driver service 2 3
  4. 4. Progress `04 <ul><li>PPPII “hand wired” controller prototype construction was completed Dec.`03 </li></ul><ul><li>Ported code from PPPI controller to the P89C51 microcontroller to be </li></ul><ul><li> used in the final system. Jan,Feb. </li></ul><ul><li>Layout of prototype boards for electric driver controllers was completed Feb,March. </li></ul><ul><li>Layout of air driver prototype controller boards completed April </li></ul><ul><li>Six electric driver prototype boards produced April </li></ul><ul><li>Six air driver prototype boards produced May </li></ul><ul><li>PPPII code was upgraded and support for new functions was added to the DIM </li></ul><ul><li>server and client. New features included motor current readout, and logging of all </li></ul><ul><li>driver status information. This work was preparation for the HF testbeam. May,June </li></ul><ul><li>Successful operation of the PPPII controller without any problems during the </li></ul><ul><li>entire HF testbeam`04 program! July- August </li></ul><ul><li>Three electric driver boards were populated and tested, one air driver board </li></ul><ul><li> populated but not yet tested July,August </li></ul><ul><li>Code version 1.0 for the electric driver controllers was completed and mostly </li></ul><ul><li>tested (all but rs-485 timing), and development of air driver code has started August </li></ul><ul><li>Controller crate backplanes have been laid out and produced and will </li></ul><ul><li> arrive at CERN By Sept 24 </li></ul>
  5. 5. What’s left to do (electronics) <ul><li>Electric driver boards: </li></ul><ul><li>Re implement indexer interface to fix incompatibility with Purdue control boxes. </li></ul><ul><li>Finalize cable pin function for driver pigtails (depends on new indexer design). </li></ul><ul><li>Test alternative voltage driver that would provide a hard current limit </li></ul><ul><li>Freeze design, layout and produce final boards </li></ul><ul><li>Air driver boards: </li></ul><ul><li>Test prototype boards and finalize design. </li></ul><ul><li>Layout and produce final boards </li></ul><ul><li>Common to both boards: </li></ul><ul><li>Test and finalize design of Geiger counter interface circuits </li></ul><ul><li>Other system components: </li></ul><ul><li>Specify air system pressure switches and wiring </li></ul><ul><li>Test crate back planes, Finalize design and produce more if needed. </li></ul><ul><li>Purchase power supplies </li></ul><ul><li>Purchase Crates </li></ul><ul><li>Produce front panels, cooling plates, and connector support pieces. </li></ul><ul><li>Assemble and test final system. </li></ul>
  6. 6. What’ left to do (software) <ul><li>Electric driver controllers: </li></ul><ul><li>Re implement indexer decoding to fix incompatibility with Purdue control boxes. </li></ul><ul><li>Test all critical timings and latencies,RS-485 in particular, at maximum data rates. </li></ul><ul><ul><li>Testing software needed for this </li></ul></ul><ul><li>Test feasibility of wire speed control(test code is written) </li></ul><ul><li>Air driver controllers: </li></ul><ul><li>Complete first version of code and start testing. </li></ul><ul><li>Finish version1.0 for use of the prototype boards for sourcing at P5. </li></ul><ul><ul><li>~90% of the code is identical between the air and electric driver controllers. </li></ul></ul><ul><ul><li>The interface to the DIM server should be identical. </li></ul></ul><ul><li>Common to both types: </li></ul><ul><li>Develop Geiger counter code </li></ul><ul><li>Freeze command formats, status information formats, and configuration parameters. </li></ul><ul><li>Other: </li></ul><ul><li>Write code for air supply and power supply monitoring. </li></ul><ul><li>DIM server, clients, and user software: </li></ul><ul><li>Commission system that supports all functionality of V1.0 code at P5.(urgent) </li></ul><ul><li>Define final user interface panels </li></ul><ul><li>Write stand alone tools for testing and debugging </li></ul><ul><li>finalize serial data chain ie. Hubs, RS-485 crate partitioning, and frame rates. </li></ul>
  7. 7. Plan to completion <ul><li>Electric driver controllers (2 systems 1-4 boards each) available for use </li></ul><ul><li>at P5 and BAT186 Sept `04 </li></ul><ul><li>First version of air driver code tested Oct. `04 </li></ul><ul><li>Final electric driver controller board design finished Dec/Jan.`04 </li></ul><ul><li>Final air driver controller board design finished Winter `05 </li></ul><ul><li>Code for voltage and air supply monitoring board Winter `05 </li></ul><ul><li>Air driver system working at P5 Winter `05 </li></ul><ul><li>Final electric driver boards produced Spring `05 </li></ul><ul><li>Final air driver boards produced Spring `05 </li></ul><ul><li>Powers supplies and crates purchased Spring `05 </li></ul><ul><li>Misc. mechanics (ie. cooling plates,front panels…) completed. Spring `05 </li></ul><ul><li>Crates completed Summer `05 </li></ul>
  8. 8. Electronics functionality <ul><li>PPPI (Using Purdue control box to interface to driver) </li></ul><ul><li>Reel and indexer interface to controller </li></ul><ul><li>Logic interface to Purdue control box </li></ul><ul><li>RS-232 interface to DIM server </li></ul><ul><li>Basic driver state monitoring and reporting </li></ul><ul><li>PPPII (Using final micro controller) </li></ul><ul><li>Serial interface to DIM server </li></ul><ul><li>Truly electrically isolated interfaces between the control electronics and the driver </li></ul><ul><li>Motor voltage control electronics </li></ul><ul><li>Motor voltage and current readout electronics </li></ul><ul><li>Electric driver prototype boards </li></ul><ul><li>RS-485 buss interface for the DIM server, and RS-232 interface for stand alone operation. Connection of RS-232 causes board to drop off of RS-485 buss. </li></ul><ul><li>Driver hardware disable (switch) </li></ul><ul><li>Driver warning indicator electronics </li></ul><ul><li>Board dimensions for 3U crate and back plane interface </li></ul><ul><li>Interface electronics for Geiger counters </li></ul><ul><li>Air driver prototype boards (Full controller functionality) </li></ul><ul><li>Identical to the electric driver prototype boards except: </li></ul><ul><ul><li>Motor power electronics replaced by solid state relays to drive the air valves. </li></ul></ul><ul><ul><li>Additional inputs for switches and encoders not used on the electric drivers </li></ul></ul><ul><ul><li>Interface for an additional Geiger counter </li></ul></ul>
  9. 9. CODE FUNCTIONALITY <ul><li>PPPI (Using Purdue control box to interface to driver. Used for TB`03, HB/HE/HO TB`04) </li></ul><ul><li>Switch bounce filtering </li></ul><ul><li>Reel and indexer count decoding and counting. </li></ul><ul><li>Motor power control (using Purdue control box) </li></ul><ul><li>Basic driver state monitoring and reporting </li></ul><ul><li>Serial interface at 9600 baud (re written for binary protocol). </li></ul><ul><li>PPPII (HF test beam ’04 version, running on PPPII control electronics) </li></ul><ul><li>Serial interface to DIM server at 115.2Kbaud </li></ul><ul><li>Motor voltage control, Motor voltage and current monitoring </li></ul><ul><li>Crude wire spill detection </li></ul><ul><li>New commands for reading driver state information </li></ul><ul><li>Version 1.0 (for electric driver prototype boards) </li></ul><ul><li>Support for RS-485 multi drop communications </li></ul><ul><li>Driver enable/disable functions </li></ul><ul><li>More robust state monitoring/consistency checking and fault reporting </li></ul><ul><li>Configuration parameter reading and writing to NV flash memory </li></ul><ul><li>Watch dog system reset </li></ul><ul><li>Wire spill detection and driver lockout (implemented at lowest level) </li></ul><ul><li>Driver warning indicator support </li></ul>
  10. 10. Electric driver controller board prototype
  11. 11. Air driver controller prototype board
  12. 12. Serial timing 300Hz min. frame rate