Intelligent control method, storage medium, electronic equipment and system for oil tank area
By obtaining the information of the remotely connected candidate controller in the oil storage tank area monitoring system and switching to the unoccupied remote input component, the potential safety hazard caused by the failure of the controller input component is solved and the system's rapid failover and Improved security.
Patent Information
- Application Number
- CN201811477644.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-12-05
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2038-12-05
AI Technical Summary
In the existing technology, when a certain controller input component fails in the oil storage tank area monitoring system, it cannot be handled in time, resulting in possible safety hazards.
By obtaining the information of the candidate controller that has a remote connection relationship with the current controller, select the candidate controller whose input part is not occupied as the remote controller, and receive the control instructions of the remote input part to perform the corresponding actions to ensure that the system is in fault condition Be able to quickly switch and continue running if the situation arises.
When the controller input component fails, it can quickly determine and switch to the remotely connected idle candidate controller to avoid safety hazards caused by the failure and improve the reliability and safety of the system.
Smart Images

Figure CN109324565B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the application field of remote sensing technology, and in particular to an intelligent control method, storage medium, electronic equipment and system for an oil tank area. Background Art
[0002] In recent years, due to the lack of automation construction in oil tank areas and human misjudgment, accidents in tank area operations have occurred frequently, especially in oil tank receiving and sending operations. Due to objective reasons such as long continuous operation time, a large number of related equipment involved, and scattered installation of instrument equipment that is not conducive to monitoring, production safety accidents such as tank roof collapse or equipment damage have occurred. In order to achieve full-process safety monitoring of tank area operations, reduce the labor intensity of operators, improve operating efficiency, and meet the safety performance requirements of relevant regulations for the tank area industry, some monitoring and early warning solutions are provided in the existing technology.
[0003] In the prior art, monitoring instruments, such as liquid level gauges and thermometers, are installed on each oil storage tank to monitor the relevant data of the oil storage tank, and the monitoring results are sent to the controller for analysis. The controller can be connected to external input components, such as explosion-proof keyboards and explosion-proof mice, and the staff can input control instructions to the controller through the input components to control the inlet and outlet valves of the oil storage tank through the automatic interlocking control scheme.
[0004] In actual application, due to the limitation of the number of interfaces, each controller can only monitor, warn and control 1-4 oil storage tanks at the same time. Therefore, multiple controllers are set up in the general oil storage tank area to monitor different oil storage tanks. However, if the input component of a controller fails, the control command cannot be normally input to interlock the corresponding oil storage tank. The existing technology cannot handle it in time, and the corresponding operation can only be continued after waiting for manual repair of the fault or replacement of the faulty input component. In order to meet the explosion-proof requirements, the equipment used in the oil storage area is equipped with more complex explosion-proof interfaces or explosion-proof casings, so it is inconvenient to inspect and disassemble and replace. Once there is a problem with the oil storage tank during this period, serious safety accidents are likely to occur. Summary of the invention
[0005] The present invention aims to provide an intelligent control method, storage medium, electronic device and system for an oil tank area, so as to solve the potential safety hazard that may be caused when a controller input component in the monitoring system of an oil tank area in the prior art cannot normally input a control instruction and cannot be processed in time.
[0006] In order to solve the above problems, the present invention provides an intelligent control method for an oil tank area, comprising the following steps:
[0007] In response to a signal indicating a fault in a current input component, obtaining information of a controller to be selected that has a remote connection relationship with the current controller; the information of the controller to be selected includes whether the input component of the controller to be selected is occupied;
[0008] Selecting a candidate controller whose input component is not occupied as a remote controller, and the input component of the remote controller as a remote input component;
[0009] Receive the control instruction input by the remote input component, and execute the action corresponding to the control instruction.
[0010] Optionally, in the above-mentioned intelligent control method for the oil tank area, before the step of obtaining the information of the candidate controller having a remote connection relationship with the current controller in response to the signal of the input component failure, the method further includes:
[0011] Sending pairing request information to the current input component;
[0012] If the pairing success information fed back by the current input component is not received within the set time, it is determined that the current input component is faulty.
[0013] Optionally, the above-mentioned intelligent control method for oil tank area further includes the following steps:
[0014] Output monitoring information to the remote controller, wherein the monitoring information includes monitoring data sent by an oil tank monitoring instrument connected to the current controller.
[0015] Optionally, in the above-mentioned intelligent control method for oil tank area, in the step of outputting monitoring information to the remote controller, wherein the monitoring information includes monitoring data sent by an oil tank monitoring instrument connected to the current controller:
[0016] The monitoring information also includes valve status information of the oil storage tank connected to the current controller.
[0017] Optionally, the above-mentioned intelligent control method for oil tank area further includes the following steps:
[0018] In response to a signal indicating that the current input component has returned to normal, stop receiving control instructions input by the remote input component;
[0019] Receive the control instruction input by the current input component, and execute the action corresponding to the control instruction.
[0020] Optionally, the above-mentioned intelligent control method for oil tank area further includes the following steps:
[0021] Acquire coding information of the current controller, wherein the coding information includes location information of the current controller and the location of the oil storage tank corresponding to the current controller;
[0022] Extracting the address book data associated with the location information of the current controller, wherein the address book data pre-stores the receiving address of the maintenance personnel;
[0023] Send information about the current input component failure to the receiving address.
[0024] The present invention also provides a computer-readable storage medium, in which program instructions are stored. After a computer reads the program instructions, the computer executes any of the above-mentioned intelligent control methods for oil tank areas.
[0025] The present invention also provides an electronic device, comprising at least one processor and at least one memory, wherein at least one memory stores program instructions, and at least one processor reads the program instructions and executes any one of the above-mentioned intelligent control methods for oil tank areas.
[0026] The present invention also provides an intelligent control system for an oil tank area, comprising an explosion-proof housing, a controller, a display screen, an input component and a monitoring instrument, wherein:
[0027] The monitoring instrument is arranged on the oil storage tank to monitor and output the working parameters of the oil storage tank; the controller is arranged inside the explosion-proof shell; the display screen is arranged on the first surface of the explosion-proof shell, and the input component is arranged on one side of the display screen; the display screen is communicatively connected to the controller, and the input component is communicatively connected to the display screen; the controller receives the working parameters output by the monitoring instrument and sends them to the display screen for display; the input component sends control instructions to the controller via the display screen.
[0028] Optionally, in the above-mentioned intelligent control system for the oil tank area, at least one wire entry hole is formed on the second surface of the explosion-proof shell, and the wire entry hole is used for the cable connecting the monitoring instrument and the controller to pass through.
[0029] Optionally, in the above-mentioned intelligent control system for the oil tank area, the input component includes a mechanical button and a trigger part; the mechanical button is placed in the explosion-proof shell; a through hole is opened at a position corresponding to the mechanical button on the first surface; the trigger part contacts the mechanical button after passing through the through hole; and an end of the trigger part is located outside the through hole.
[0030] Optionally, in the above-mentioned intelligent control system for the oil tank area, an explosion-proof sealing ring is provided between the wire inlet hole and the cable; and an explosion-proof sealing ring is provided between the through hole and the trigger part.
[0031] Optionally, the above-mentioned intelligent control system for the oil tank area further includes a data interface connected to the controller:
[0032] The data interface is arranged in the explosion-proof housing; a card slot is provided on the first surface at a position opposite to the read-write interface, and a read-write card is connected to the data interface after being inserted into the card slot.
[0033] Optionally, the above-mentioned intelligent control system for the oil tank area further includes a sealing element:
[0034] The sealing member comprises a rotating part and a sealing strip fixed on the rotating part; one end of the rotating part is arranged at one end of the slot and is rotationally connected to the first surface; the sealing strip is suitable for being inserted into the slot and having an interference fit with the slot.
[0035] Optionally, in the above-mentioned intelligent control system of the oil storage tank area, the explosion-proof shell includes an installation cavity and a cover plate, and the cover plate is fixed to the opening of the installation cavity by a plurality of screws; the controller is fixedly arranged in the installation cavity; the cover plate serves as the first surface of the explosion-proof shell, and the bottom surface of the installation cavity serves as the second surface of the explosion-proof shell, and the bottom surface faces the ground after the explosion-proof shell is installed.
[0036] Optionally, in the above-mentioned intelligent control system for the oil tank area, a plurality of fixing ears are arranged around the side edge of the installation cavity; a fixing hole is opened on the fixing ear, and the fixing hole is suitable for a positioning bolt to pass through so as to fix the installation cavity at the installation position; the side surface is arranged opposite to the first surface.
[0037] Optionally, in the above-mentioned intelligent control system for the oil tank area, the surface of the explosion-proof shell is coated with an explosion-proof oil layer.
[0038] Optionally, in the above-mentioned intelligent control system for the oil tank area, the explosion-proof shell is made of ZL104 material, and the content of magnesium and titanium in the ZL104 material is less than or equal to 7.5%.
[0039] Compared with the solutions in the prior art, the above technical solution provided by the present invention has at least the following beneficial effects:
[0040] The present invention provides an intelligent control method, storage medium, electronic device and system for an oil tank area, wherein the method includes: in response to a signal of a current input component failure, obtaining information of a candidate controller that has a remote connection relationship with the current controller; the candidate controller information includes: whether the input component of the candidate controller is occupied; selecting a candidate controller whose input component is not occupied as a remote controller, and the input component of the remote controller as a remote input component; receiving a control instruction input by the remote input component, and executing an action corresponding to the control instruction. Therefore, the solution provided by the present invention can quickly determine a remote controller that has a remote connection relationship with the current controller and whose input component is in an idle state to control it when the input component of a certain controller fails, thereby avoiding the safety hazards caused by the failure of the current input component. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 This is a flow chart of an intelligent control method for an oil tank area according to an embodiment of the present invention;
[0042] Figure 2 This is a schematic diagram of the distribution principle of the oil tank area controller according to one embodiment of the present invention;
[0043] Figure 3 A schematic diagram of the interface design principle of a controller according to an embodiment of the present invention;
[0044] Figure 4 A flow chart of an intelligent control method for an oil tank area according to another embodiment of the present invention;
[0045] Figure 5 A schematic diagram of the hardware connection relationship of an electronic device according to an embodiment of the present invention;
[0046] Figure 6 This is a schematic diagram of the structure of an explosion-proof housing according to an embodiment of the present invention;
[0047] Figure 7 It is a side sectional view of the structure of the intelligent control system for the oil tank area according to one embodiment of the present invention. DETAILED DESCRIPTION
[0048] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings. In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0049] Example 1
[0050] This embodiment provides an intelligent control method for an oil tank area, which can be applied to a controller in a tank area. The controller can monitor and interlock one or more oil tanks. Generally, one controller corresponds to a maximum of four oil tanks. Figure 1 As shown, the method comprises the following steps:
[0051] S1: In response to the signal of the current input component failure, obtain the information of the controller to be selected that has a remote connection relationship with the current controller; the controller to be selected information includes: whether the input component of the controller to be selected is occupied. The input component failure can be manually confirmed by the operator. For example, when the operator operates the input component, it is found that the controller cannot respond to the input signal of the input component, thereby confirming the failure. Of course, this failure may be a problem with the input component itself, or there may be a problem with the connection between the input component and the controller. As a solution, it can be determined whether the input component is faulty in the following way: send a pairing request message to the current input component; if the pairing success information fed back by the current input component is not received within the set time, it is determined that the current input component is faulty. If there is no problem with the input component, the controller can interact with the input component normally. If the two cannot interact for more than a certain period of time, such as 30s, it can be considered that the input component is faulty. The operator can manually trigger a button on the controller as the input of the fault signal.
[0052] S2: Selecting a candidate controller whose input component is not occupied as the remote controller, and the input component of the remote controller as the remote input component;
[0053] S3: receiving the control instruction input by the remote input component, and executing the action corresponding to the control instruction.
[0054] In this embodiment, Figure 2 The system shown in the figure is used as an example for explanation, which includes 1# controller, 2# controller and 3# controller. Each controller controls a different number of oil storage tanks. For example, 1# controller monitors 11# oil storage tank and 12# oil storage tank. 1# controller receives the signals sent by the monitoring instruments installed in these two oil storage tanks, and controls different oil storage tanks according to the signals sent by the monitoring instruments. Different controllers can remotely control each other, that is, 1# controller can be used to control 2# controller and 3# controller, and similarly, 2# controller and 3# controller can be used to control 1# controller. The functions of the controller and the monitoring instrument are described in detail below.
[0055] Monitoring instruments may include but are not limited to: liquid level gauges, thermometers, density meters, differential pressure transmitters, liquid level switches, servo liquid level gauges, servo density meters, etc. The liquid level gauge signal is connected to the communication module through the RS485 communication signal and then transmitted to the controller. The thermometer, density meter, and differential pressure transmitter signals are 4-20mA current signals, which are connected to the analog input module and then transmitted to the controller. The liquid level switch signal is a dry contact signal, which is connected to the switch input module and then transmitted to the controller. Therefore, for different types of monitoring instruments, the corresponding communication transmission methods are different, but in the end the detection signal is transmitted to the controller.
[0056] The control of the monitoring instruments and valves of the oil storage tank by the controller mainly includes the following methods: interlocking control of the valves of the liquid storage tank according to the monitoring data of the monitoring instrument, and independently interlocking control according to the valve status combined with the high and low liquid level switch signals and the liquid level meter signals. Since the controller is set in the tank area, it can control the servo level meter, servo density meter and other instruments through the local operation of the controller. The servo level meter control can include float lifting, liquid level measurement, water level measurement, etc. The float lifting is mainly under the operating conditions such as oil tank cleaning, and the float of the level meter needs to be lifted to the highest position to avoid damage to the float steel belt during the operation of the oil tank. The liquid level measurement, water level measurement and multi-point density measurement are based on the actual oil level height and water level height. The actual operation function of the float is to automatically explore the docking height to obtain the actual oil height and water height. The operation of the servo density meter includes multi-point density measurement, multi-point temperature measurement, average density measurement, etc. The operating conditions are the operation functions of obtaining the single-point density, temperature, average density and other measurement data of the medium in the tank at different heights as needed.
[0057] The monitoring of oil tanks includes the monitoring of the volume, density, quality and visual volume of the medium in the oil tanks. The monitoring results are sent to the controller, which controls the display screen or uploads the monitoring results to the upper monitoring system for data display or storage query, providing data support for the oil tank metering system. When the monitoring results need to be sent to the upper monitoring system, data can be exchanged with the host computer in the central control room or the SCADA (Supervisory Control And Data Acquisition) system through the network.
[0058] The controller interface is defined as Figure 3 As shown, the input signal needs to meet the following characteristics:
[0059] Pulse signal: square wave signal with frequency of 0~2000(Hz) (high level: 5V≤Vpp≤24V, low level: 0V≤Vol≤0.7V). Analog signal: ±10V, ±5V, ±2.5V or 0~20mA. Switch signal: passive contact signal or rated VDC.+24V level signal. HART signal: HART signal of differential pressure transmitter, converted to Modbus through communication and connected to controller. Keyboard input: support USB keyboard. Power input: AC220V50HZ.
[0060] The input signal must meet the following characteristics:
[0061] Switching signal: relay output contact signal, 5~30VDC or 5~250VAC. Analog signal: ±10V voltage or 0~20mA current signal. Data display: tank measurement, high and low switch alarm status, oil tank opening valve status, associated pump status and inlet and outlet pipeline flow status graphics and process display. Power output: output DC24V, 4.5A DC instrument drive power supply. Serial communication: RS232 or RS485 communication interface, baud rate supports 2400~19200bps, supports ModbusRtu master-slave mode. Ethernet communication: 10 / 100M adaptive Ethernet communication, ModbusTCP protocol is used with the host computer, and S7Profinet communication is used with the PLCSCADA system. Profibus: For communication valves that support DP protocol, DP master mode is supported, and for remote PLC systems, DP slave mode is supported as a remote IO substation.
[0062] For the controller, its technical indicators must meet the following requirements:
[0063] (1) Accuracy requirements: Pulse signal: pulse signal acquisition accuracy error ≤ ±0.1%; analog signal: transmitter analog signal acquisition accuracy error ≤ ±0.3%.
[0064] (2) Communication requirements: The communication refresh cycle of communication instrument status data is ≤ 2 seconds, and the control command response time is ≤ 1 second.
[0065] (3) Alarm requirements: False alarm filtering: When the high and low liquid level switch alarm is triggered, filtering processing is required. If the alarm signal continues for 3 seconds without interruption, the alarm is confirmed. If the alarm signal is disconnected for 3 seconds, the alarm is confirmed to be eliminated; Alarm record: For high and low liquid level switches, the liquid level value over-limit alarm records the key alarm information, and the maximum number of records stored is 200; Alarm query: The alarm record query operation can be performed according to the alarm type, alarm period, operator and other conditions.
[0066] (4) Interlocking requirements: High-alarm hard interlock: The high liquid level switch signal is triggered, and the oil inlet electric valve performs a delayed closing action; low-alarm hard interlock: The low liquid level switch signal is triggered, and the oil outlet electric valve performs a delayed closing action.
[0067] (5) Operation records: Local operation records: The operation records of electric valves, pumps and other control devices on the controller can be stored and queried. The record information should include the operation action, operation time, operator, etc. Remote operation records: The operation records of electric valves, pumps and other control devices on the remote system through the tank front controller can be stored and queried. The record information should include the operation action, operation time, etc.
[0068] (6) Insulation performance: Insulation resistance: Under the condition of ambient temperature of 5-35°C and relative humidity of not more than 85%, the insulation resistance between the power terminal of the control cabinet and the housing shall not be less than 20MΩ. Insulation strength: Under the condition of ambient temperature of 5-35°C and relative humidity of not more than 85%, the power terminal of the control cabinet and the housing shall be able to withstand a sinusoidal AC voltage of 50Hz±5% and 500V for 5 minutes without breakdown or arcing.
[0069] (7) Power supply voltage change: The controller should be able to work normally when the control circuit power supply changes within the range of AC220V±10% / 50Hz.
[0070] (8) Temperature influence: All electrical components in the controller can work normally under the ambient temperature of -20 to 60℃.
[0071] (9) Controller appearance: The controller housing should have a flat panel, evenly painted, without scratches, protection level IP65, and the nameplate should be firmly fixed and the information should be accurate.
[0072] (10) Controller assembly: The joints between electrical components are equipped with copper noses, forks or stick pins for reliable connection, without exposed live parts; the line numbers are marked with number tubes, which are consistent with the line numbers on the drawings; the labels of electrical components are clearly marked and neatly pasted.
[0073] The controller designed with the above interface is applied to liquid materials in petrochemical industry and explosion-proof occasions, and can be used for local signal acquisition and valve control. It can be connected with flow meter, level meter, multi-point thermometer, high and low level switch, emergency stop button, electric control valve, online density meter, pressure transmitter (or differential pressure transmitter), and can convert density through direct density measurement and differential pressure in the tank of mixed metering method, and can provide metering data support for the tank metering system. Under the condition that external metering instruments are connected and the metering accuracy meets the metering requirements, it can have metering functions such as tank capacity conversion and density acquisition conversion.
[0074] The above scheme provided by this embodiment can quickly determine the remote controller that has a remote connection relationship with the current controller and whose input component is in an idle state to control it when the input component of a certain controller fails, thereby avoiding the safety hazards caused by the failure of the current input component. For example, when the input component of the 1# controller fails, and the input component of the 2# controller is being operated by the staff, and the input component of the 3# controller is idle, the 1# controller can be remotely controlled by the input component of the 3# controller. By setting the internal program of the controller, when the 3# controller is used to remotely control the 1# controller, there is no need to establish a remote control connection, because the 1# controller has already set the 3# controller as its remote controller in advance. In the above scheme, preferably, each controller can also pre-store the distance between it and other controllers. For example, when it is determined that the input components of multiple controllers are in an idle state, the controller closest to the current controller can be selected as the remote controller according to the pre-stored distance information, so that the operator can reach the remote controller as quickly as possible and control the current controller, thereby improving efficiency.
[0075] Example 2
[0076] The intelligent control method for the oil tank area provided in this embodiment is as follows: Figure 4 As shown, based on the solution of Example 1, the following steps may also be included:
[0077] S4: Output monitoring information to the remote controller, the monitoring information includes monitoring data sent by the oil tank monitoring instrument connected to the current controller; the monitoring information also includes valve status information of the oil tank connected to the current controller. After the remote controller is determined, the current controller can send all corresponding monitoring data to the remote controller, which can display the data on the remote control display screen after receiving the data, and the operator can perform corresponding actions according to the displayed monitoring information.
[0078] S5: In response to the signal that the current input component has returned to normal, stop receiving the control command input by the remote input component; receive the control command input by the current input component, and execute the action corresponding to the control command. For the current controller, it can cyclically determine whether the current input component has returned to normal. If the current input component is normal, the current controller can continue to receive the control signal of the current input component.
[0079] Furthermore, after determining that the current input component is faulty, the current controller may also perform the following operations:
[0080] Obtain coding information of the current controller, wherein the coding information includes location information of the current controller and the location of an oil storage tank corresponding to the current controller; extract address book data associated with the location information of the current controller, wherein the address book data pre-stores a receiving address of a maintenance personnel; and send information about a current input component failure to the receiving address.
[0081] Because different maintenance personnel may correspond to different fault conditions, for example, when the oil tank itself has abnormal liquid level or temperature and needs to be repaired by an operator, it may correspond to maintenance personnel A, while the failure of the controller input component may correspond to maintenance personnel B. Different maintenance personnel may also correspond to the maintenance work of tank farms in different areas. Therefore, in this solution, the fault information can be sent to the corresponding maintenance personnel's mobile phone, PAD, etc. as soon as the current input component failure is determined, which can be in the form of text messages, WeChat, etc. In this way, maintenance personnel can arrive at the scene as quickly as possible.
[0082] Example 3
[0083] This embodiment provides a computer-readable storage medium, in which program instructions for computer reading are stored. After reading the program instructions, the computer executes the intelligent control method for the oil tank area described in any scheme of Embodiment 1 or 2.
[0084] Example 4
[0085] This embodiment provides an electronic device, such as Figure 5 As shown, it includes at least one processor 301 and at least one memory 302, at least one of the memories 302 stores program instructions, and at least one of the processors 301 can execute any of the above-mentioned intelligent control methods for oil tank areas after reading the program instructions. The above-mentioned device may also include: an input device 303 and an output device 304. The processor 301, the memory 302, the input device 303 and the output device 304 can be connected via a bus or other means. The above-mentioned product can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the method provided in the embodiment of the present application.
[0086] Example 5
[0087] This embodiment provides an intelligent control system for an oil tank area, comprising: Figure 6 The explosion-proof housing shown, combined with Figure 7The system further comprises a controller 20, a display screen 102, an input component 103 and a monitoring instrument, wherein the monitoring instrument is arranged on the oil storage tank (therefore not shown in the figure), monitors the working parameters of the oil storage tank and outputs them; the controller 20 is arranged inside the explosion-proof shell; the display screen 102 is arranged on the first surface 101 of the explosion-proof shell, the input component 103 is arranged on one side of the display screen 102, and the input component 103 is arranged below the display screen 102 in the figure; the display screen 102 is connected to the controller 20 for communication, and specifically, a data transmission line can be connected between the interfaces of the two to directly perform data transmission; the input component 103 is connected to the display screen 102 for communication Specifically, a data transmission line can be connected between the interfaces of the two to directly transmit data; the controller 20 receives the working parameters output by the monitoring instrument and sends them to the display screen 102 for display; the input component 103 sends control instructions to the controller 20 via the display screen 102, and the display screen 102 can display the monitoring data of each monitoring instrument and the common control logic. The operation of the common control logic displayed on the display screen 102 can be selected and operated through the input component 103, and the display screen 102 can send the selected control logic to the controller 20, and the controller 20 controls the instrument or valve on the oil storage tank to operate to achieve interlocking control.
[0088] The controller 20 can be implemented using a common PLC control module, and the peripheral circuit design is performed according to the model and requirements of the selected PLC control module, such as Figure 7 As shown, the controller 20 is arranged on a circuit board 201, and the circuit board 201 is fixed inside the explosion-proof housing by bolts 203, wherein in addition to the controller 20 itself, the circuit board 201 is also supplemented with other components 202, and the components 202 include power modules, cable fixing connectors, etc. required for the normal operation of the controller 20 and peripheral circuits.
[0089] The explosion-proof shell is made of explosion-proof material, preferably ZL104 (a high-strength aluminum alloy material), and the content of magnesium and titanium in the ZL104 material is less than or equal to 7.5%. It needs to meet the national standard requirements for the explosion-proof level of the oil storage tank area: explosion-proof: Ex dⅡBT6 Gb; protection: IP65. Through the above scheme of the present invention, the controller 20, the display screen 102 and the input component 103 are all arranged on the surface or inside of the explosion-proof shell, so all components can be protected by the explosion-proof shell, which can ensure that the system device can be directly set in the tank area without having to be set away from the tank area, so that it is convenient for operators to operate it.
[0090] In conjunction with the accompanying drawings, at least one wire entry hole 105 is formed on the second surface of the explosion-proof housing, and the wire entry hole 105 is for the cable connecting the monitoring instrument and the controller 20 to pass through. An explosion-proof sealing ring can be set between the edge of the wire entry hole 105 and the cable, and the explosion-proof sealing ring is implemented using bisphenol A type epoxy resin glue. The number of wire entry holes 105 can be set according to the actual amount of cables that need to be connected, and can be selected to be about five. When there are multiple wire entry holes 105, they can be located side by side at the bottom of the explosion-proof housing.
[0091] In order to facilitate the operator to operate the system, the input component 103 includes a mechanical button 32 and a trigger part 31; the mechanical button 32 is placed in the explosion-proof shell; a through hole is opened at a position corresponding to the mechanical button 32 on the first surface; the trigger part 31 contacts the mechanical button 32 after passing through the through hole; the end of the trigger part 31 is located outside the through hole. Specifically, numbers, arrows, operations, switches, settings, confirmation, exits and clears can be marked on the trigger part 31, so that the operator can clearly understand the function of each button. The operator can select the corresponding mechanical button by applying pressure to the trigger part 31. The mechanical button is directly connected to the input interface of the display screen through a wire or a wireless communication module, and can send a corresponding signal to the display screen 102 after the mechanical button is triggered.
[0092] In the above scheme, an explosion-proof sealing ring is arranged between the through hole and the trigger part 31, and the explosion-proof sealing ring is made of bisphenol A epoxy resin glue, which can ensure that the sealing performance and explosion-proof performance of the explosion-proof housing meet the requirements.
[0093] In addition, the above system also includes a data interface connected to the controller 20, and the data interface is arranged in the explosion-proof housing; a card slot 104 is provided at a position opposite to the read-write interface on the first surface, and the read-write card is connected to the data interface after being inserted into the card slot 104. Therefore, through this design, the corresponding data can be easily copied to the read-write card or the data in the read-write card can be transmitted to the controller. The above-mentioned card slot 104 can be a structure recessed into the first surface, so that the read-write card will not be exposed to the outside after being inserted into the card slot 104, thereby preventing the read-write card from being accidentally touched. Further, the above system also includes a sealing member, which can include a rotating part and a sealing strip fixed on the rotating part; one end of the rotating part is arranged at one end of the card slot 104 and is rotatably connected to the first surface; the sealing strip is suitable for being inserted into the card slot 104 and having an interference fit with the card slot. Through this design, when the read-write card is not inserted into the card slot 104, the card slot 104 can be covered by the sealing strip, thereby further ensuring its sealing performance.
[0094] Combination Figure 6 and Figure 7 As shown, the explosion-proof housing may include a mounting cavity 106 and a cover plate 101, wherein the cover plate 101 is fixed to the opening of the mounting cavity 106 by a plurality of screws 42; in addition, when the cover plate 101 is connected to the mounting cavity 106, a sealing gasket 41 may be provided between the two to seal the gap between the cover plate 101 and the mounting cavity 106. The controller 20 is fixedly provided in the mounting cavity 106; the cover plate 101 serves as the first surface of the explosion-proof housing, and the bottom surface of the mounting cavity 106 serves as the second surface of the explosion-proof housing, wherein the bottom surface faces the ground after the explosion-proof housing is installed. The explosion-proof housing may be directly installed on a fixing frame, and the fixing frame is directly provided between a plurality of oil storage tanks monitored by the controller 20.
[0095] As a simple implementation scheme, a plurality of fixing ears 107 are arranged around the side edge of the installation cavity 106; a fixing hole is provided on the fixing ear 107, and the fixing hole is suitable for positioning bolts to pass through to fix the installation cavity 106 at the installation position; the side surface is arranged opposite to the first surface. Furthermore, an explosion-proof oil layer is coated on the outer surface of the explosion-proof shell. The explosion-proof oil can be coated on the outer surface of the installation cavity 106 and the outer surface of the cover plate 101, so that the explosion-proof performance of the explosion-proof shell can be further improved.
[0096] In addition, a mounting slot 108 can be provided on the cover plate 101. The mounting slot 108 is used to store information cards. The information card can record system information, such as power supply voltage, warning reminders (it is strictly forbidden to open the cover with power on), and working temperature during operation, so as to facilitate operators to judge whether the working environment meets the requirements when using the system.
[0097] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An intelligent control method for an oil tank area, characterized in that: The steps include: In response to a signal indicating a fault in a current input component, obtaining information of a controller to be selected that has a remote connection relationship with the current controller; the information of the controller to be selected includes whether the input component of the controller to be selected is occupied; Selecting a candidate controller whose input component is not occupied as a remote controller, and the input component of the remote controller as a remote input component; receiving a control instruction input by the remote input component and executing an action corresponding to the control instruction; The current controller and the candidate controller are respectively connected to different oil storage tanks for controlling different oil storage tanks; the current controller pre-stores the distance between the current controller and each candidate controller, and when it is determined that the input components of multiple candidate controllers are in an idle state, the candidate controller closest to the current controller is selected as the remote controller according to the pre-stored distance information; The method further comprises the following steps: outputting monitoring information to the remote controller, wherein the monitoring information comprises monitoring data sent by an oil storage tank monitoring instrument connected to the current controller; the monitoring information further comprises valve status information of the oil storage tank connected to the current controller; The current controller and the selected controller both include multiple interfaces, which are used for local signal acquisition and valve control respectively. The interfaces are connected with flow meters, liquid level meters, multi-point thermometers, high and low liquid level switches, emergency stop buttons, electric control valves, online density meters, pressure transmitters or differential pressure transmitters, and provide metering data support for the tank metering system through direct density measurement and density conversion of the differential pressure in the tank by the hybrid metering method; The controller controls the monitoring instruments and valves of the oil storage tank in the following ways: interlocking control of the valves of the liquid storage tank according to the monitoring data of the monitoring instrument, and independently interlocking control according to the valve status combined with the high and low liquid level switch signals and the liquid level meter signal.
2. The intelligent control method for oil tank area according to claim 1 is characterized in that: Before the step of obtaining information of a candidate controller having a remote connection relationship with the current controller in response to a signal of an input component failure, the method further includes: Sending pairing request information to the current input component; If the pairing success information fed back by the current input component is not received within the set time, it is determined that the current input component is faulty.
3. The intelligent control method for oil tank area according to claim 1 is characterized in that: The following steps are also included: In response to a signal indicating that the current input component has returned to normal, stop receiving control instructions input by the remote input component; Receive the control instruction input by the current input component, and execute the action corresponding to the control instruction.
4. The intelligent control method for oil tank area according to any one of claims 1 to 3 is characterized in that: The following steps are also included: Acquire coding information of the current controller, wherein the coding information includes location information of the current controller and the location of the oil storage tank corresponding to the current controller; Extracting the address book data associated with the location information of the current controller, wherein the address book data pre-stores the receiving address of the maintenance personnel; Send information about the current input component failure to the receiving address.
5. A computer-readable storage medium, characterized in that: The storage medium stores program instructions, and the computer reads the program instructions and executes the intelligent control method for the oil tank area according to any one of claims 1 to 4.
6. An electronic device, characterized in that: The method comprises at least one processor and at least one memory, wherein program instructions are stored in at least one memory, and at least one processor reads the program instructions and executes the intelligent control method for the oil tank area according to any one of claims 1 to 4.
