[INSTRM-642] Adapt to new gatevalve interlock hardware and logic Created: 04/Apr/19  Updated: 05/Jun/19  Resolved: 31/May/19

Status: Done
Project: Instrument control development
Component/s: ics_xcuActor
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Done Votes: 0
Labels: SM1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 5
Sprint: SM1-2019 H

 Description   

The new gatevalve controller logic follows, per email. As far as safety goes, this takes over nearly all of the existing logic in the software. We still need to run (but modify) most of the gatevalve open code, since that is what tells humans understandable diagnostics.

------------------------------------------------------------------------------------------

The new board has logic and a PIC… The logic for allowing the gate valve to open is as follows:

GATE VALVE SOLENOID = OPEN & (TURBO_UPTO_SPEED | TURBO_OVERRIDE) & !TURBO_LOCKOUT & (PRESSURE_EQUAL | GATE_VALVE_OPEN) & PCM_24V

TURBO_OVERRIDE is a latch, and is set when OPEN low, and cleared when turbo is up to speed.
TURBO_ LOCKOUT is a latch, and is cleared when open is low, disabled when TURBO_OVERRIDE is high, and set when TURBO_UPTO_SPEED drops out.

All of the above is determined by logic gates, with the exception of the PRESSURE_EQUAL input, which is controlled by the PIC. The PIC will read 2 pressure sensors either side of the gate valve to make this determination. The logic overrides this signal once the gate valve is open.

The PIC will also monitor the logic. The signals it will monitor are:

OPEN
GATE_VALVE_OPEN
GATE_VALVE_CLOSED
TURBO_UPTO_SPEED
DEWAR_PRESSURE
ROUGHING_PRESSURE
GATE_VALVE_SOLENOID

You will have a similar interface to before… You will control the OPEN signal, and monitor the GATE_VALVE_SOLENOID signal. You will no longer get GVO or GVC. Instead you will get access to all signals via an RS232 port.

You will still need to assert the port on the PCM to allow the gate valve to be energized. This will be your secondary means of locking the gate valve.



 Comments   
Comment by cloomis [ 22/May/19 ]

First interlock board will probably be available on b2 week of 05-27. This will take clock time to do.

Comment by cloomis [ 31/May/19 ]

Merged at c303d0e, tagged 1.9.0

The PIC bootloader is not finished. I believe the existing xcu code will work; if not I'll make a new ticket.

Also, I was not able to test backward compatibility. Probably works and probably does not matter, unless we run into a fatal problem with the new board. The board has been pretty well tested so I'd be surprised.

Generated at Sat Feb 10 16:27:09 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.