Search

CN-121979089-A - Automatic sampling control method and system for anhydrous hydrogen fluoride

CN121979089ACN 121979089 ACN121979089 ACN 121979089ACN-121979089-A

Abstract

The application discloses an anhydrous hydrogen fluoride automatic sampling control method and system, and belongs to the technical field of chemical automatic sampling control. The method comprises the steps of responding to a sampling instruction, controlling a circulating pump and a circulating valve to be opened so as to establish circulation in a main pipeline, controlling a micro pump to be opened so as to replace a bypass pipeline, controlling the bypass valve to be opened so as to execute a main sampling mode based on a real-time signal of a first sensor after the bypass pipeline is replaced, continuously monitoring the signal of the first sensor to identify a preset fault fingerprint in the execution process of the main sampling mode, and seamlessly switching the sampling mode from the main sampling mode to a preset safety degradation sub-mode when the fault fingerprint is identified so as to finish sampling. The application solves the technical problem that the traditional automatic system is easy to cause task interruption or safety accident when the key sensor fails by constructing the anti-fragile control logic for triggering the standby safety flow by utilizing the fault signal.

Inventors

  • HU JIAN
  • LIU LIN
  • JIA ZHIYUAN
  • ZHAN JIANG
  • Cheng lang
  • LIU JIAHAO
  • WANG TIANLIANG

Assignees

  • 浙江司太立制药股份有限公司
  • 浙江健立化学有限公司

Dates

Publication Date
20260505
Application Date
20260407

Claims (10)

  1. 1. An anhydrous hydrogen fluoride automatic sampling control method, characterized in that the method comprises: responding to the sampling instruction, controlling a circulating pump and a circulating valve to be opened so as to establish fluid circulation in a main pipeline; after the fluid circulation is established, controlling a micro pipeline conveying pump to be started so as to replace a bypass pipeline connected to the main pipeline; After the bypass line replacement is completed, controlling a bypass valve to open to execute a main sampling mode based on a real-time signal of a first sensor for monitoring the liquid level of the sampling bottle; continuously monitoring the real-time signal of the first sensor during the execution of the main sampling mode to identify a preset fault fingerprint; and switching a sampling mode from the primary sampling mode to a security degradation sub-mode upon identifying the fault fingerprint to complete sampling.
  2. 2. The method of claim 1, wherein the step of identifying a predetermined fault fingerprint comprises: Acquiring a plurality of continuous sampling values of the first sensor in a preset time window; And judging whether the real-time signal of the first sensor has signal freezing or signal jumping or not based on the statistical characteristics of the plurality of continuous sampling values to serve as the fault fingerprint.
  3. 3. The method of claim 2, wherein the step of determining whether the real-time signal of the first sensor is frozen based on the statistical characteristics of the plurality of consecutive sample values comprises: calculating the difference between the maximum value and the minimum value of the plurality of continuous sampling values in the time window; And if the difference value is smaller than a first preset threshold value and the state duration exceeds a preset duration, judging that the real-time signal has signal freezing.
  4. 4. The method of claim 1, wherein the security downgrade sub-mode is a time-based quantitative sampling mode, the step of switching to a security downgrade sub-mode comprising: starting a timer, wherein the duration of the timer is a preset safe timing sampling duration; And controlling the bypass valve to be closed when the timer expires.
  5. 5. The method of claim 4, further comprising a calibration step performed prior to the response of the sampling instruction, the calibration step comprising: Executing at least one standard sampling flow under manual monitoring, and recording the time from the opening of the bypass valve to the detection of the liquid level reaching a preset target liquid level by the first sensor so as to obtain an average sampling time; Recording the steady pressure reading in the main pipeline monitored by a second sensor in the standard sampling flow to obtain a reference pressure; And determining the safe timing sampling duration based on the average sampling time and a safety coefficient.
  6. 6. The method of claim 5, wherein the step of switching to a security downgraded sub-mode further comprises, prior to starting the timer: acquiring the real-time pressure in the main pipeline currently monitored by the second sensor; Comparing the real-time pressure with the reference pressure; And starting the timer only when the deviation of the real-time pressure and the reference pressure is smaller than a second preset threshold value.
  7. 7. The method of claim 1, wherein after responding to the sampling command and before controlling the circulation pump and the circulation valve to open, the method further comprises: executing a sensor self-test before one start, wherein the self-test comprises the steps of acquiring static signals of the first sensor and at least one pressure sensor; And continuing to perform subsequent steps only when the static signals are within respective reasonable standby ranges.
  8. 8. An anhydrous hydrogen fluoride automatic sampling control system, the system comprising: a process actuator module including a circulation pump, a circulation valve, a micro-pipe transfer pump, and a bypass valve; a multi-source sensing module including a first sensor for monitoring the liquid level of the sample bottle; And a central control unit configured to: Responding to a sampling instruction, and controlling the circulating pump and the circulating valve to be opened so as to establish fluid circulation in a main pipeline; After the fluid circulation is established, controlling the micro pipeline conveying pump to be started so as to replace a bypass pipeline connected to the main pipeline; After the bypass line replacement is completed, controlling the bypass valve to open based on the real-time signal of the first sensor to execute a main sampling mode; continuously monitoring the real-time signal of the first sensor during the execution of the main sampling mode to identify a preset fault fingerprint; and switching a sampling mode from the primary sampling mode to a security degradation sub-mode upon identifying the fault fingerprint to complete sampling.
  9. 9. The system of claim 8, wherein the central control unit further houses a antifraud control and fault response module configured to: Acquiring a plurality of continuous sampling values of the first sensor in a preset time window; And judging whether the real-time signal of the first sensor has signal freezing or signal jumping based on the statistical characteristics of the plurality of continuous sampling values to serve as the fault fingerprint, and generating a fault flag bit for the central control unit to call.
  10. 10. The system of claim 8 or 9, wherein the security downgrade sub-mode is a time-based quantitative sampling mode, the central control unit being configured to, upon switching to the security downgrade sub-mode: starting an internal timer, wherein the duration of the timer is a preset safe timing sampling duration; And controlling the bypass valve to be closed when the timer expires.

Description

Automatic sampling control method and system for anhydrous hydrogen fluoride Technical Field The application relates to the technical field of automatic control, in particular to an automatic sampling control method and an automatic sampling control system for high-risk chemicals, and specifically relates to an anhydrous hydrogen fluoride automatic sampling control method and an anhydrous hydrogen fluoride automatic sampling control system. Background In the production process of high-purity chemicals, high-risk media such as anhydrous hydrogen fluoride and the like are periodically sampled to analyze the purity and impurity content of the high-risk media, so that the high-risk media is a key link for guaranteeing the quality of products. The prior art relies on manual operation, so that the labor intensity is high, the efficiency is low, operators are directly exposed to highly toxic and highly corrosive environments, and a great safety risk exists. While automated sampling systems isolate personnel, the logic of construction tends to be a linear flow reproduction under ideal conditions, which is inherently vulnerable. The stable operation of the system is highly dependent on the perfect operation of all sensors, once a critical sensor (such as a liquid level meter) fails, the system lacks elastic treatment, the only safety strategy is complete shutdown, sampling task failure is caused, the whole production schedule is affected, and the safety risk is essentially converted into task failure risk, so that the fundamental contradiction between high reliability requirements and component inherent failure rate is not solved. Disclosure of Invention In a first aspect, the present application provides an anhydrous hydrogen fluoride automatic sampling control method, which aims to solve the technical problem that in the prior art, an automatic sampling system causes task interruption or causes safety risk due to a critical sensor fault. The method comprises the steps of responding to a sampling instruction, controlling a circulating pump and a circulating valve to be opened so as to establish fluid circulation in a main pipeline, controlling a micro pipeline conveying pump to be opened after the fluid circulation is established so as to replace a bypass pipeline connected to the main pipeline, controlling a bypass valve to be opened so as to execute a main sampling mode based on a real-time signal of a first sensor for monitoring the liquid level of a sampling bottle after the bypass pipeline is replaced, continuously monitoring the real-time signal of the first sensor to identify a preset fault fingerprint during execution of the main sampling mode, and switching the sampling mode from the main sampling mode to a safety degradation sub-mode when the fault fingerprint is identified so as to finish sampling. Optionally, the step of identifying a preset fault fingerprint comprises the steps of acquiring a plurality of continuous sampling values of the first sensor in a preset time window, and judging whether the real-time signal of the first sensor has signal freezing or signal jumping or not as the fault fingerprint based on the statistical characteristics of the plurality of continuous sampling values. Optionally, the step of judging whether the real-time signal of the first sensor is frozen based on the statistical characteristics of the plurality of continuous sampling values includes calculating the difference between the maximum value and the minimum value of the plurality of continuous sampling values in the time window, and judging that the real-time signal is frozen if the difference is smaller than a first preset threshold value and the state duration exceeds a preset duration. Optionally, the security degradation sub-mode is a quantitative sampling mode based on time, and the step of switching to the security degradation sub-mode comprises starting a timer, wherein the duration of the timer is a preset security timing sampling duration, and controlling the bypass valve to be closed when the timer is finished. Optionally, the method further comprises a calibration step performed before the response of the sampling instruction, wherein the calibration step comprises performing at least one standard sampling procedure under manual monitoring, recording the time required from when the bypass valve is opened until the first sensor detects that the liquid level reaches a preset target liquid level to obtain an average sampling time, recording the steady pressure reading in the main pipeline monitored by a second sensor in the standard sampling procedure to obtain a reference pressure, and determining the safe timing sampling duration based on the average sampling time and a safety coefficient. Optionally, the step of switching to a security degradation sub-mode further comprises, before starting the timer, acquiring a real-time pressure in the main pipeline currently monitored by the second sensor, comparing t