Anti-explosion integrated device for on-site dynamic metering of oil tank

By designing an on -site dynamic measurement and explosion -proof integrated device with explosion -barrier, Ben'an composite design, solve the problem of poor explosion -proof performance of the existing equipment, realize the precise metering and real -time data dynamic presentation of oil, improve the oil depot, and improve the oil depot. Operating efficiency and management level.

CN119370486APending Publication Date: 2025-01-28AEROSPACE HI TECH HLDG GROUP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411723697.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

During use, the existing on-site metering equipment for oil tanks has poor explosion-proof performance and poses safety hazards, which cannot meet the oil depot's demand for efficient and safe oil management.

Method used

Design a type of explosion -proof integrated device with dynamic measurement at the on -site oil tank, adopts explosion -barrier, Ben'an composite design, combined with advanced measurement algorithm and display technology, to form an explosion -proof touch screen through TP touchpad, explosion -proof glass and LCD display screens to achieve Safe and reliable operation and real -time data show.

Benefits of technology

The device runs safely and reliably in the potentially dangerous environment, enhance the durability and safety of the external screen structure, realize the precise metering and real -time data dynamic presentation of the oil, and improve the operating efficiency and management level of the oil depot.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119370486A_ABST
    Figure CN119370486A_ABST
Patent Text Reader

Abstract

The invention discloses an anti-explosion integrated device for on-site dynamic metering of an oil tank, and belongs to the technical field of dynamic metering, the anti-explosion integrated device for on-site dynamic metering of the oil tank comprises four line pipes, the outer surfaces of the four line pipes are jointly and fixedly connected with a rear shell structure, and the interior of the rear shell structure is in threaded connection with a front shell structure; an internal structure is in threaded connection with the interior of the front shell structure, the front shell structure and the rear shell structure are jointly matched with the sealing rubber ring, the touch screen is made to adopt an explosion-proof and intrinsically-safe composite design so that it can be guaranteed that the device safely and reliably operates in a potential dangerous environment, real-time data of oil can be dynamically presented through a display interface, and the real-time data of the oil can be displayed in real time. Comprising key information such as oil quantity, temperature and pressure, the touch screen is comprehensively considered and enhanced in the aspects of functionality and safety, use of a user in explosive dangerous occasions such as petroleum, chemical engineering, light textile, medicine, metallurgy and electric power can be met, and the functions of high safety performance and accurate algorithm can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of dynamic metering, and more specifically to an explosion-proof integrated device for on-site dynamic metering of oil tanks. Background Art

[0002] At the oil depot site, the business requirements of oil storage metering, real-time display and dynamic oil measurement in front of the oil tank are particularly important for the daily storage of oil in the oil depot. These functions ensure that the oil depot managers can accurately grasp the storage situation of oil, monitor the oil in and out in real time, and effectively manage inventory. However, the existing metering equipment has poor explosion-proof performance during use, and there are certain safety hazards when using it.

[0003] By adopting advanced metering algorithms, display technology, explosion-proof technology, etc., and designing an integrated device for on-site metering of oil tanks, accurate metering of oil can be achieved. The oil storage data of the oil tank can be viewed in real time on the LCD screen in front of the tank. At the same time, touch operations such as density modification, page turning, and setting communication parameters can be performed through the screen to ensure the real-time and accuracy of the data, thereby improving the operational efficiency and management level of the oil depot. The application of dynamic oil measuring technology allows oil depot staff to understand the changes in the oil in the oil tank at any time in front of the tank, discover and deal with abnormal problems in a timely manner, and ensure the safe operation of the oil depot. The above business needs are an important link in the daily storage of oil in the oil depot, and are the basis for ensuring the efficient and safe operation of the oil depot.

[0004] Therefore, in order to solve the above problems, an explosion-proof integrated device for on-site dynamic measurement of oil tanks is proposed. Summary of the invention

[0005] 1. Technical issues to be solved

[0006] In view of the problems existing in the prior art, the purpose of the present invention is to provide an explosion-proof integrated device for on-site dynamic metering of oil tanks, which can achieve functions of strong safety performance and precise algorithm.

[0007] 2. Technical solution

[0008] To solve the above problems, the present invention adopts the following technical solutions.

[0009] An explosion-proof integrated device for on-site dynamic metering of an oil tank comprises four wire tubes, the outer surfaces of the four wire tubes are commonly fixedly connected with a rear shell structure, the rear shell structure is internally threadedly connected with a front shell structure, and the front shell structure is internally threadedly connected with an internal structure.

[0010] Furthermore, the rear shell structure includes a rear shell body, a plurality of screw holes are opened at the upper end of the rear shell body, a sealing rubber ring is arranged at the upper end of the rear shell body, four connection ports are opened on the rear wall of the inner cavity of the rear shell body, the inner surfaces of the four connection ports are respectively fixedly connected to the outer surfaces of four wire tubes, an FPC protection plate is fixedly connected to the rear wall of the inner cavity of the rear shell body, a wiring block is fixedly connected to the bottom wall of the inner cavity of the rear shell body, and a grounding hole is fixedly connected to the right end of the rear shell body.

[0011] Furthermore, the front shell structure includes a front shell body, a plurality of connecting holes are opened at the upper end of the front shell body, the inner surfaces of the plurality of connecting holes are threadedly connected with screws, the outer surfaces of the plurality of screws are respectively threadedly connected with the inner surfaces of the plurality of screw holes, the inner surface of the front shell body is fixedly connected with a TP touch panel, the inner surface of the front shell body is fixedly connected with an explosion-proof glass, the upper end of the explosion-proof glass is fixedly connected with a sealing foam, and the inner surface of the front shell body is fixedly connected with an LCD display screen.

[0012] Furthermore, the internal structure includes an aluminum bracket, the inner surface of which is threadedly connected with a plurality of screws, the top wall of the inner cavity of the aluminum bracket is fixedly connected with a functional mainboard, the inner surface of the functional mainboard is threadedly connected with four copper bolts, and the outer surfaces of the four copper bolts are commonly threadedly connected with an isolation sub-plate.

[0013] Furthermore, the plurality of screws are all M6 screws, and the outer surfaces of the plurality of screws are respectively threadedly connected with the inner surfaces of the plurality of screw holes.

[0014] Furthermore, some of the second screws are M4 screws, and some of the second screws have outer surfaces that are threadedly connected to the inner surface of the lower side of the front shell.

[0015] Furthermore, a touch screen safety barrier is fixedly connected to the inner surface of the functional main board via nylon studs, and the lower end of the touch screen safety barrier is in close contact with the upper end of the FPC protection plate.

[0016] Furthermore, the TP touch panel is fixedly connected to the functional main board through a touch screen safety barrier, and the TP touch panel, explosion-proof glass, and LCD display together constitute an explosion-proof touch screen, which has both explosion-proof and touch-operable functions.

[0017] Furthermore, the inner surface of the wiring block is fixedly connected to the inner surface of the functional mainboard via a connecting wire.

[0018] Furthermore, the front housing is made of high-strength aluminum alloy, the rear housing is made of 304 stainless steel, and the upper end of the sealing rubber ring is in close contact with the lower end of the front housing.

[0019] 3. Beneficial effects

[0020] Compared with the prior art, the advantages of the present invention are:

[0021] This solution uses a composite explosion-proof and intrinsically safe design through the front shell structure and the rear shell structure in conjunction with the sealing rubber ring. This means that the explosion-proof and intrinsically safe technologies are combined in the design to ensure that the device operates safely and reliably in potentially hazardous environments. An advanced touch screen interactive interface is added so that operators can interact with the system intuitively. Through the display interface, real-time data of oil can be dynamically presented, including key information such as oil volume, temperature, and pressure. In addition, the touch screen has been fully considered and enhanced in terms of functionality and safety to meet the needs of users in explosive and hazardous situations such as petroleum, chemical, textile, medicine, metallurgy, and electricity. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a schematic diagram of the overall structure of the present invention;

[0023] Figure 2 It is a schematic diagram of the rear shell structure of the present invention;

[0024] Figure 3 It is a schematic diagram of the front shell structure of the present invention;

[0025] Figure 4 It is a schematic diagram of the internal structure of the present invention;

[0026] Figure 5 It is an exploded schematic diagram of the overall structure of the present invention;

[0027] Figure 6 It is a schematic diagram of the core algorithm flow of the present invention.

[0028] Description of the numbers in the figure:

[0029] 1. Wire tube; 2. Rear shell structure; 21. Rear shell; 22. Screw hole; 23. Sealing rubber ring; 24. FPC protection board; 25. Connection port; 26. Terminal block; 27. Grounding hole; 3. Front shell structure; 31. Front shell; 32. Connection hole; 33. Screw one; 34. TP touch panel; 35. Sealing foam; 36. Explosion-proof glass; 37. LCD display; 4. Internal structure; 41. Aluminum bracket; 42. Screw two; 43. Functional main board; 44. Copper bolt; 45. Isolation sub-board. DETAILED DESCRIPTION

[0030] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention; it is obvious that the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments, and all other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making creative work are within the scope of protection of the present invention.

[0031] In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "top / bottom" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0032] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "provided with", "mounted / connected", "connected", etc. should be understood in a broad sense. For example, "connected" 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 communication 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.

[0033] Example:

[0034] See also Figure 1-6 An explosion-proof integrated device for on-site dynamic metering of oil tanks includes four wire tubes 1, the outer surfaces of the four wire tubes 1 are commonly fixedly connected with a rear shell structure 2, the rear shell structure 2 is internally threadedly connected with a front shell structure 3, and the front shell structure 3 is internally threadedly connected with an internal structure 4.

[0035] This solution protects the internal structure 4 inside the device through the cooperation of the front shell structure 3 and the rear shell structure 2, and can also enhance the explosion-proof performance of the device to ensure the safe and reliable operation of the equipment in a potentially dangerous environment. The front shell structure 3 and the internal structure 4 allow the operator to interact with the system intuitively and can also dynamically present real-time data of the oil.

[0036] See also Figure 2-5 The rear shell structure 2 includes a rear shell 21, which is made of 304 stainless steel. A plurality of screw holes 22 are provided on the upper end of the rear shell 21. A sealing rubber ring 23 is provided on the upper end of the rear shell 21. The upper end of the sealing rubber ring 23 is tightly attached to the lower end of the front shell 31. Four connecting ports 25 are provided on the rear wall of the inner cavity of the rear shell 21. The inner surfaces of the four connecting ports 25 are respectively fixedly connected to the outer surfaces of the four wire tubes 1. An FPC protection plate 24 is fixedly connected to the rear wall of the inner cavity of the rear shell 21. A wiring row 26 is fixedly connected to the bottom wall of the inner cavity of the rear shell 21. The inner surface of the wiring row 26 is fixedly connected to the inner surface of the functional mainboard 43 through a connecting line. A grounding hole 27 is fixedly connected to the right end of the rear shell 21.

[0037] The front shell structure 3 includes a front shell body 31, which is made of high-strength aluminum alloy. A plurality of connecting holes 32 are opened at the upper end of the front shell body 31. The inner surfaces of the plurality of connecting holes 32 are threadedly connected with screws 33. The plurality of screws 33 are all M6 screws. The outer surfaces of the plurality of screws 33 are respectively threadedly connected with the inner surfaces of the plurality of screw holes 22. A TP touch panel 34 is fixedly connected to the inner surface of the front shell body 31. The TP touch panel 34 is fixedly connected to the functional main board 43 through a touch screen safety barrier. An explosion-proof glass 36 is fixedly connected to the inner surface of the front shell body 31. A sealing foam 35 is fixedly connected to the upper end of the explosion-proof glass 36. An LCD display screen 37 is fixedly connected to the inner surface of the front shell body 31. The TP touch panel 34, the explosion-proof glass 36, and the LCD display screen 37 together constitute an explosion-proof touch screen. The explosion-proof touch screen has both explosion-proof and touch-operable functions.

[0038] The internal structure 4 includes an aluminum bracket 41, the inner surface of which is threadedly connected with a plurality of screws 42, all of which are M4 screws, and the outer surfaces of which are threadedly connected with the inner surface of the lower side of the front shell body 31, and a functional main board 43 is fixedly connected to the top wall of the inner cavity of the aluminum bracket 41, and a touch screen safety grid is fixedly connected to the inner surface of the functional main board 43 through nylon studs, and the lower end of the touch screen safety grid is tightly attached to the upper end of the FPC protection plate 24, and four copper bolts 44 are threadedly connected to the inner surface of the functional main board 43, and an isolation sub-plate 45 is threadedly connected to the outer surfaces of the four copper bolts 44.

[0039] The present solution enhances the durability and safety of the external screen structure by installing the TP touch panel 34 on the inner surface of the front housing 31, using a sealing foam 35 and an explosion-proof glass 36 to isolate and combine the TP touch panel 34 and the LCD display screen 37, fixing the aluminum bracket 41 on the front housing 31 with a plurality of screws 42, fixing the functional main board 43 in the inner cavity of the aluminum bracket 41, connecting the functional main board 43 and the isolation sub-board 45 together with four copper bolts 44, extending the four power lines of the terminal block 26 from the four wire tubes 1 respectively, and connecting the functional main board 43 and the isolation sub-board 45 with the terminal block 26 with a plurality of connecting wires, and then the device can be powered on. , so that the device can dynamically measure the oil tank. During use, the ground wire needs to be connected to the grounding hole 27 and grounded to avoid leakage of the device. The TP touch panel 34 is connected to the functional main board 43 through a touch screen safety barrier, which can effectively ensure the two-way transmission of electrical signals between the safe area and the dangerous area, and can limit the energy transfer from the dangerous area to the safe area caused by a fault, so as to ensure that the device operates safely and reliably in a dangerous environment, meet the explosion-proof requirements, and have good touch performance. Finally, a plurality of screws 33 are used to connect the front shell 31 and the rear shell 21 together, and a sealing rubber ring 23 is provided between the front shell 31 and the rear shell 21, so that the device meets the explosion-proof sealing requirements.

[0040] See also Figure 1 and5 In order to accurately and efficiently manage the real-time data collection of oil tanks and calculate the volume and quality of oil products, this solution adopts a targeted algorithm design, which simplifies the calculation process and ensures the accuracy of the calculated data, and ensures the scalability and maintainability of the algorithm. The specific algorithm process is as follows:

[0041] S1: Calculation parameters

[0042] S1.1: Fixed parameters

[0043]

[0044] S1.2: Input parameters

[0045]

[0046]

[0047] S2: Calculate the volume of liquid in the tank

[0048] S2.1: Based on the oil height obtained by the level gauge and the tank capacity table, obtain the liquid volume in the tank by looking up the table.

[0049] The specific core calculation process is as follows (S2.2-S2.5):

[0050] S2.2: Page Table Lookup Algorithm

[0051] According to the characteristics of the tank capacity table, the first column of data is the liquid value, and the second column of data is the liquid volume corresponding to the liquid level in the tank. In addition, in the first column of data, the change values ​​of the data changes are basically the same.

[0052] Therefore, the liquid level data in the first column is regarded as a group of continuous address blocks, and the liquid volume corresponding to each address is the mapping value of the corresponding address.

[0053] S2.2.1: Generate page table

[0054] Get the liquid level data of the first row of the first column of the tank capacity table as the starting address of the first-level page table, get the liquid level data of the last row of the first column of the tank capacity table as the ending address of the first-level page table, input and set the change value of the data change as the byte unit of the first-level page table. At the same time, record the mapping of byte units and tank capacity table row values, and the row number mapping value is the default value. If the oil height obtained by the level meter is less than the starting address or greater than the ending address, it returns -1, indicating that there is no valid liquid volume data.

[0055] S2.2.2: Page table lookup

[0056] The oil height obtained by the level gauge is regarded as an offset. Under the condition that the tank capacity table is correct, the difference between the liquid level value obtained by reading the offset and the oil height obtained by the level gauge is less than one byte.

[0057] S2.3: Comparison value

[0058] If the level of the offset element is equal to the target value, return the index; if the level of the offset element is less than the target value, set the current address to the right boundary, and set the left boundary = right boundary + 1 byte; if the level of the offset element is greater than the target value, set the current address to the left boundary, and set the right boundary = left boundary - 1 byte.

[0059] S2.4: Parsing Boundaries

[0060] The positions of the tank capacity table where the left and right boundaries are located are obtained by mapping the number of tank capacity table rows = number of bytes * number of rows.

[0061] S2.5: Perform the fitting

[0062] Based on the oil height obtained by the level meter, supplemented by the liquid level and volume of the left and right boundaries, the volume of the liquid in the tank is calculated by fitting.

[0063] S3: Water volume reduction treatment

[0064] S3.1: Based on the free water height obtained by the level gauge and the tank capacity table, obtain the free water volume in the tank by looking up the table.

[0065] The specific core calculation process is as follows (S3.2-S3.5):

[0066] S3.2: Page Table Lookup Algorithm

[0067] According to the characteristics of the tank capacity table, the first column of data is the liquid value, and the second column of data is the liquid volume corresponding to the liquid level in the tank. In addition, in the first column of data, the change values ​​of the data changes are basically the same.

[0068] Therefore, the liquid level data in the first column is regarded as a group of continuous address blocks, and the liquid volume corresponding to each address is the mapping value of the corresponding address.

[0069] S3.2.1: Generate page table

[0070] Get the liquid level data of the first row of the first column of the tank capacity table as the starting address of the first-level page table, get the liquid level data of the last row of the first column of the tank capacity table as the ending address of the first-level page table, input and set the change value of the data change as the byte unit of the first-level page table. At the same time, record the mapping of byte units and tank capacity table row values, and the row number mapping value is the default value. If the oil height obtained by the level meter is less than the starting address or greater than the ending address, it returns -1, indicating that there is no valid liquid volume data.

[0071] S3.2.2: Page Table Lookup

[0072] The oil height obtained by the level gauge is regarded as an offset. Under the condition that the tank capacity table is correct, the difference between the liquid level value obtained by reading the offset and the oil height obtained by the level gauge is less than one byte.

[0073] S3.3: Comparison value

[0074] If the level of the offset element is equal to the target value, return the index; if the level of the offset element is less than the target value, set the current address to the right boundary, and set the left boundary = right boundary + 1 byte; if the level of the offset element is greater than the target value, set the current address to the left boundary, and set the right boundary = left boundary - 1 byte.

[0075] S3.4: Parsing Boundaries

[0076] The tank capacity table position where the left and right boundaries are located is obtained by mapping the number of tank capacity table rows = number of bytes * number of rows.

[0077] S3.5: Perform the fit

[0078] Based on the free water height obtained by the liquid level meter, supplemented by the liquid level and volume of the left and right boundaries, the free water volume value in the tank is calculated by fitting.

[0079] S3.6 Calculation of oil volume

[0080] Oil volume = liquid volume in tank – free water volume in tank

[0081] S4: Static pressure compensation

[0082] S4.1: Based on the oil height and static pressure table obtained by the level gauge, obtain the static pressure volume in the tank by looking up the table.

[0083] The specific core calculation process is as follows (S4.2-S4.5):

[0084] S4.2: Page Table Lookup Algorithm

[0085] According to the characteristics of the static pressure gauge, the first column of data is the liquid value, and the second column of data is the liquid volume corresponding to the liquid level in the oil tank. And in the first column of data, the change values ​​of the data changes are mostly the same.

[0086] Therefore, the liquid level data in the first column is regarded as a group of continuous address blocks, and the static pressure volume corresponding to each address is the mapping value of the corresponding address.

[0087] S4.2.1: Generate page table

[0088] Get the liquid level data of the first row of the first column of the tank capacity table as the starting address of the first-level page table, get the liquid level data of the last row of the first column of the static pressure table as the ending address of the first-level page table, input and set the change value of the data change as the byte unit of the first-level page table. At the same time, record the mapping of the byte unit and the row value of the static pressure table, and the row number mapping value is the default value. If the oil height obtained by the level gauge is less than the starting address or greater than the ending address, it returns -1, which proves that there is no valid static pressure volume data.

[0089] S4.2.2: Page Table Lookup

[0090] The oil height obtained by the level gauge is regarded as an offset. Under the condition that the static pressure gauge is correct, the difference between the level value obtained by reading the offset and the oil height obtained by the level gauge is less than one byte.

[0091] S4.3: Comparison value

[0092] If the level of the offset element is equal to the target value, return the index; if the level of the offset element is less than the target value, set the current address to the right boundary, and set the left boundary = right boundary + 1 byte; if the level of the offset element is greater than the target value, set the current address to the left boundary, and set the right boundary = left boundary - 1 byte.

[0093] S4.4: Parsing boundaries

[0094] The static pressure table position where the left and right boundaries are located is obtained by mapping the number of static pressure table rows = number of bytes * number of rows.

[0095] S4.5: Perform the fit

[0096] Based on the free water height obtained by the liquid level gauge, supplemented by the liquid level and volume of the left and right boundaries, the static pressure volume value is calculated by fitting.

[0097] S4.6 Oil volume correction

[0098] Oil volume correction value 1 = oil volume + static pressure volume

[0099] S5: Tank volume correction

[0100] When the difference between the average temperature of the oil and the temperature in the standard document is greater than 10°C:

[0101] Oil volume correction value 2 = Oil volume correction value 1 × {1 + (oil average temperature - standard temperature) × thermal expansion coefficient}

[0102] S6: Volume correction factor

[0103] S6.1: Obtain the volume coefficient from the volume coefficient table based on the standard density of the oil and the average temperature of the oil obtained by the level gauge.

[0104] The specific core calculation process is as follows (S6.2-S6.5):

[0105] S6.2: Page Table Lookup Algorithm

[0106] According to the characteristics of the volume coefficient table, the first column of data is the temperature value, the second column of data is the standard density, and the third column of data is the volume coefficient. In the first column of data, the change values ​​of the data change are mostly the same but discontinuous. In the second column of data, the change values ​​of the data change are mostly the same and continuous.

[0107] The standard density data of the second column is set as a set of continuous address blocks, and the temperature value corresponding to each address is the mapping value of the corresponding address; the temperature value of the first column is set as a set of continuous address blocks, and the volume coefficient corresponding to each address is the mapping value of the corresponding address.

[0108] S6.2.1: Generate page table

[0109] Get the standard density data of the first row of the second column of the volume coefficient table as the starting address of the first-level page table, get the standard density of the last row of the second column of the volume coefficient table as the ending address of the first-level page table, input and set the change value of the standard density data change as the first-level byte unit of the first-level page table. At the same time, record the mapping of the first-level byte unit and the row value of the volume coefficient table, and the first-level row number mapping value is the default value. If the input oil standard density is less than the starting address or greater than the ending address, -1 is returned, indicating that no valid oil standard density data is available.

[0110] Get the temperature data of the first row of the first column of the volume coefficient table as the starting address of the secondary page table, get the temperature data of the last row of the first column of the volume coefficient table as the ending address of the secondary page table, input and set the difference between the data as the secondary byte unit of the secondary page table. At the same time, record the mapping of the secondary byte unit and the row value of the volume coefficient table, and the mapping value of the secondary row number is the default value. If the average temperature of the input oil product is less than the starting address or greater than the ending address, -1 is returned, indicating that no valid temperature data is available.

[0111] S6.2.2: Page Table Lookup

[0112] The standard density of the oil product is regarded as offset 1. Under the condition that the volume coefficient table is correct, the difference between the standard density read through offset 1 and the standard density of the oil product is less than one primary byte.

[0113] The average temperature of the oil product is regarded as offset 2. Under the condition that the volume coefficient table is correct, the difference between the temperature read by offset 2 and the average temperature of the oil product is less than one secondary byte.

[0114] S6.3: Comparison value

[0115] If the standard density of the offset element is equal to the target value, return the index; if the standard density of the offset element is less than the target value, set the current address to the right boundary 1, and set the left boundary 1 = right boundary 1 + 1 byte; if the liquid level of the offset element is greater than the target value, set the current address to the left boundary 1, and set the right boundary 1 = left boundary 1 - 1 byte.

[0116] If the temperature of the offset element is equal to the target value, return the index; if the temperature of the offset element is less than the target value, set the current address to the right boundary 2, and set the left boundary 2 = right boundary 2 + 1 byte; if the temperature of the offset element is greater than the target value, set the current address to the left boundary 2, and set the right boundary 2 = left boundary 2 - 1 byte.

[0117] The two boundaries are integrated to obtain the right boundary = right boundary 1 + right boundary 2, and the left boundary = left boundary 1 + left boundary 2.

[0118] S6.4: Parsing boundaries

[0119] The volume coefficient table positions where the left and right boundaries are located are obtained by the number of volume coefficient table rows = number of primary bytes * mapping value of the number of primary rows + number of secondary bytes * mapping value of the number of secondary rows.

[0120] S6.5: Perform the fit

[0121] The oil volume correction factor is calculated based on the standard density and average temperature of the oil, supplemented by the standard density, temperature and volume correction factor of the left and right boundaries.

[0122] S7: Standard volume calculation

[0123] Standard volume = oil volume correction value 2 × oil volume correction factor

[0124] S8: Apparent density calculation

[0125] S8.1: Obtain the apparent density from the density coefficient table based on the standard density of the oil and the average temperature of the oil obtained from the level gauge.

[0126] The specific core calculation process is as follows (S8.2-S8.5):

[0127] S8.2: Page Table Lookup Algorithm

[0128] According to the characteristics of the density coefficient table, the first column of data is the temperature value, the second column of data is the standard density, and the third column of data is the apparent density. In the first column of data, the change values ​​of the data change are mostly the same but discontinuous. In the second column of data, the change values ​​of the data change are continuous and increasing. In the third column of data, the data increases discontinuously with the first and second columns of data.

[0129] Therefore, the standard density data of the second column is set as a set of continuous address blocks, and the temperature value corresponding to each address is the mapping value of the corresponding address; the temperature value of the first column is set as a set of continuous address blocks, and the apparent density corresponding to each address is the mapping value of the corresponding address.

[0130] S8.2.1: Generate page table

[0131] Get the standard density data of the first row of the second column of the density coefficient table as the starting address of the first-level page table, get the standard density of the last row of the second column of the volume coefficient table as the ending address of the first-level page table, and input and set the difference between the data as the byte unit of the first-level page table. At the same time, record the mapping of the first-level byte unit and the row value of the density coefficient table, and the first-level row number mapping value is the default value. If the input oil standard density is less than the starting address or greater than the ending address, it returns -1, indicating that no valid oil standard density data is available.

[0132] Get the temperature data of the first row of the first column of the density coefficient table as the starting address of the secondary page table, get the temperature data of the last row of the first column of the volume coefficient table as the ending address of the secondary page table, and input and set the difference between the data as the byte unit of the secondary page table. At the same time, record the mapping of the secondary byte unit and the row value of the density coefficient table, and the mapping value of the secondary row number is the default value. If the average temperature of the input oil product is less than the starting address or greater than the ending address, -1 is returned, indicating that no valid temperature data is available.

[0133] S8.2.2: Page Table Lookup

[0134] The standard density of the oil product is regarded as offset 1. Under the condition that the density coefficient table is correct, the difference between the standard density read through offset 1 and the standard density of the oil product is less than one primary byte.

[0135] The average temperature of the oil product is regarded as offset 2. Under the condition that the density coefficient table is correct, the difference between the temperature read by offset 2 and the average temperature of the oil product is less than one secondary byte.

[0136] S8.3: Comparison value

[0137] If the standard density of the offset element is equal to the target value, return the index; if the standard density of the offset element is less than the target value, set the current address to right boundary 1, otherwise loop right boundary 1 = right boundary 1 + 1 byte, and repeat the judgment. To prevent errors, the execution loop is not found for the time being. Set left boundary 1 = right boundary 1 + 1 byte; if the standard density of the offset element is greater than the target value, set the current address to left boundary 1, and set right boundary 1 = left boundary 1-1 byte.

[0138] If the temperature of the offset element is equal to the target value, return the index; if the temperature of the offset element is less than the target value, set the current address to right boundary 2, and set left boundary 2 = right boundary 2 + 1 byte; if the temperature of the offset element is greater than the target value, set the current address to left boundary 2, otherwise loop left boundary 1 = left boundary 1-1 byte, and repeat the judgment. This loop is to prevent errors, and the execution loop is not found for the time being. Set right boundary 2 = left boundary 2-1 byte.

[0139] The two boundaries are integrated to obtain the right boundary = right boundary 1 + right boundary 2, and the left boundary = left boundary 1 + left boundary 2.

[0140] S8.4: Analytical boundaries

[0141] The density coefficient table positions where the left and right boundaries are located are obtained by the number of density coefficient table rows = number of first-level bytes * mapping value of the number of first-level rows + number of second-level bytes * mapping value of the number of second-level rows.

[0142] S8.5: Perform the fit

[0143] The apparent density of the oil product is calculated based on the standard density and average temperature of the oil product, supplemented by the standard density, temperature and appearance of the left and right boundaries.

[0144] S9: Standard density calculation

[0145] S9.1: Based on the apparent density measured on site and the average temperature of the oil obtained from the level gauge, the volume factor is obtained from the density factor table.

[0146] The specific core calculation process is as follows (S9.2-S9.5):

[0147] S9.2: Page Table Lookup Algorithm

[0148] According to the characteristics of the density coefficient table, the first column of data is the temperature value, the second column of data is the standard density, and the third column of data is the apparent density. In the first column of data, the change values ​​of the data change are mostly the same but discontinuous. In the second column of data, the change values ​​of the data change are continuous and increasing. In the third column of data, the data increases discontinuously with the first and second columns of data.

[0149] Therefore, the standard density data of the third column is set as a set of continuous address blocks, and the temperature value corresponding to each address is the mapping value of the corresponding address; the temperature value of the first column is set as a set of continuous address blocks, and the standard density corresponding to each address is the mapping value of the corresponding address.

[0150] S9.2.1: Generate page table

[0151] Get the apparent density data of the first row of the third column of the density coefficient table as the starting address of the first-level page table, get the apparent density of the last row of the third column of the density coefficient table as the ending address of the first-level page table, input and set the change value of the second column data change as the byte unit of the first-level page table. At the same time, record the mapping of the first-level byte unit and the row value of the density coefficient table, and the first-level row number mapping value is the default value. If the input oil product apparent density is less than the starting address or greater than the ending address, -1 is returned, indicating that no valid oil product apparent density data is available.

[0152] Get the temperature data of the first row of the first column of the density coefficient table as the starting address of the secondary page table, get the temperature data of the last row of the first column of the volume coefficient table as the ending address of the secondary page table, and input and set the difference between the data as the byte unit of the secondary page table. At the same time, record the mapping of the secondary byte unit and the row value of the density coefficient table, and the mapping value of the secondary row number is the default value. If the average temperature of the input oil product is less than the starting address or greater than the ending address, -1 is returned, indicating that no valid temperature data is available.

[0153] S9.2.2: Page Table Lookup

[0154] The apparent density of the oil product is regarded as offset 1. Under the condition that the density coefficient table is correct, the difference between the apparent density obtained by reading offset 1 and the apparent density of the oil product is less than one primary byte.

[0155] The average temperature of the oil product is regarded as offset 2. Under the condition that the density coefficient table is correct, the difference between the temperature read by offset 2 and the average temperature of the oil product is less than one secondary byte.

[0156] S9.3: Comparison value

[0157] If the standard density of the offset element is equal to the target value, return the index; if the standard density of the offset element is less than the target value, set the current address to right boundary 1, otherwise loop right boundary 1 = right boundary 1 + 1 byte, and repeat the judgment. To prevent errors, the execution loop is not found for the time being. Set left boundary 1 = right boundary 1 + 1 byte; if the standard density of the offset element is greater than the target value, set the current address to left boundary 1, and set right boundary 1 = left boundary 1-1 byte.

[0158] If the temperature of the offset element is equal to the target value, return the index; if the temperature of the offset element is less than the target value, set the current address to right boundary 2, and set left boundary 2 = right boundary 2 + 1 byte; if the temperature of the offset element is greater than the target value, set the current address to left boundary 2, otherwise loop left boundary 1 = left boundary 1-1 byte, and repeat the judgment. This loop is to prevent errors, and the execution loop is not found for the time being. Set right boundary 2 = left boundary 2-1 byte.

[0159] The two boundaries are integrated to obtain the right boundary = right boundary 1 + right boundary 2, and the left boundary = left boundary 1 + left boundary 2.

[0160] S9.4: Analytical boundaries

[0161] The density coefficient table positions where the left and right boundaries are located are obtained by the number of density coefficient table rows = number of first-level bytes * mapping value of the number of first-level rows + number of second-level bytes * mapping value of the number of second-level rows.

[0162] S9.5: Perform the fit

[0163] The standard density of the oil product is calculated based on its apparent density and average temperature, supplemented by the apparent density, temperature and standard density of the left and right boundaries.

[0164] S10: Oil quality calculation

[0165] Oil quality = standard volume × standard density.

[0166] It should be noted that the tank capacity table, static pressure table, volume coefficient table, and density coefficient table used in the algorithm of the present invention are all existing data tables.

[0167] It should be noted that the specific installation method, circuit connection method and control method of the TP touch panel 34, LCD display 37, functional main board 43, isolation sub-board 44 and touch screen safety barrier in the present invention are all conventional designs and will not be elaborated in detail in the present invention.

[0168] Working principle: When the device is needed to dynamically measure the amount of oil in the oil tank, the TP touch panel 34 can be used to control the function main board 43 and the isolation sub-board 45 to work together, and cooperate with the table lookup to complete the precise calculation. First, the parameters must be determined, and then the liquid volume in the tank and the free water volume in the tank are calculated. According to the known formula: Oil volume = liquid volume in the tank - free water volume in the tank, the oil volume is obtained, and then according to the oil height and static pressure table obtained by the liquid level gauge, the static pressure volume in the tank is obtained by looking up the table. According to the known formula: Oil volume correction value 1 = oil volume + static pressure volume, the oil volume correction value 1 is obtained, and then the tank volume is corrected according to the known formula: Oil volume correction value 2 = Oil volume correction value 1 × {1 + (average oil temperature degrees - standard temperature)×thermal expansion coefficient}, and get the oil volume correction value 2, then according to the standard density of the oil and the average temperature of the oil obtained by the liquid level gauge, look up the volume coefficient table to obtain the volume coefficient, and calculate the oil volume correction coefficient by fitting, and then use the known formula: standard volume = oil volume correction value 2×oil volume correction coefficient to get the standard volume, and then according to the standard density of the oil and the average temperature of the oil obtained by the liquid level gauge, look up the density coefficient table to obtain the apparent density, and calculate the oil apparent density by fitting, according to the apparent density measured on site and the average temperature of the oil obtained by the liquid level gauge, the density coefficient table to obtain the volume coefficient, and calculate the standard density of the oil by fitting, finally according to the known formula: oil quality = standard volume×standard density, the oil quality can be calculated.

[0169] The above is only a preferred specific implementation of the present invention; however, the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical solution and its improved conception within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. An explosion-proof integrated device for on-site dynamic measurement of oil tanks, comprising four wire tubes (1), characterized in that: The outer surfaces of the four wire tubes (1) are commonly fixedly connected to a rear shell structure (2), the interior of the rear shell structure (2) is threadedly connected to a front shell structure (3), and the interior of the front shell structure (3) is threadedly connected to an internal structure (4).

2. The explosion-proof integrated device for on-site dynamic measurement of oil tanks according to claim 1 is characterized in that: The rear shell structure (2) comprises a rear shell (21), a plurality of screw holes (22) are provided at the upper end of the rear shell (21), a sealing rubber ring (23) is provided at the upper end of the rear shell (21), four connection ports (25) are provided on the rear wall of the inner cavity of the rear shell (21), the inner surfaces of the four connection ports (25) are respectively fixedly connected to the outer surfaces of four wire tubes (1), an FPC protection plate (24) is fixedly connected to the rear wall of the inner cavity of the rear shell (21), a wiring row (26) is fixedly connected to the bottom wall of the inner cavity of the rear shell (21), and a grounding hole (27) is fixedly connected to the right end of the rear shell (21).

3. The explosion-proof integrated device for on-site dynamic measurement of oil tanks according to claim 2 is characterized in that: The front shell structure (3) comprises a front shell (31), a plurality of connection holes (32) are provided at the upper end of the front shell (31), the inner surfaces of the plurality of connection holes (32) are all threadedly connected with screws (33), a TP touch panel (34) is fixedly connected to the inner surface of the front shell (31), an explosion-proof glass (36) is fixedly connected to the inner surface of the front shell (31), a sealing foam (35) is fixedly connected to the upper end of the explosion-proof glass (36), and an LCD display screen (37) is fixedly connected to the inner surface of the front shell (31).

4. The explosion-proof integrated device for on-site dynamic measurement of oil tanks according to claim 3 is characterized in that: The internal structure (4) comprises an aluminum bracket (41), the inner surface of the aluminum bracket (41) is threadedly connected to a plurality of screws (42), the inner cavity top wall of the aluminum bracket (41) is fixedly connected to a functional main board (43), the inner surface of the functional main board (43) is threadedly connected to four copper bolts (44), and the outer surfaces of the four copper bolts (44) are commonly threadedly connected to an isolation sub-board (45).

5. The explosion-proof integrated device for on-site dynamic measurement of oil tanks according to claim 3 is characterized by: The plurality of screws (33) are all M6 screws, and the outer surfaces of the plurality of screws (33) are respectively threadedly connected with the inner surfaces of the plurality of screw holes (22).

6. The explosion-proof integrated device for on-site dynamic measurement of oil tanks according to claim 4 is characterized in that: The plurality of second screws (42) are all M4 screws, and the outer surfaces of the plurality of second screws (42) are all threadedly connected to the inner surface of the lower side of the front housing (31).

7. The explosion-proof integrated device for on-site dynamic measurement of oil tanks according to claim 4 is characterized in that: The inner surface of the functional main board (43) is fixedly connected to a touch screen safety barrier via nylon studs, and the lower end of the touch screen safety barrier is in close contact with the upper end of the FPC protection board (24).

8. The explosion-proof integrated device for on-site dynamic measurement of oil tanks according to claim 4 is characterized in that: The TP touch panel (34) is fixedly connected to the functional main board (43) via a touch screen safety barrier. The TP touch panel (34), the explosion-proof glass (36) and the LCD display screen (37) together form an explosion-proof touch screen. The explosion-proof touch screen has both explosion-proof and touch-operable functions.

9. The explosion-proof integrated device for on-site dynamic measurement of oil tanks according to claim 4, characterized in that: The inner surface of the wiring row (26) is fixedly connected to the inner surface of the functional main board (43) via a connecting wire.

10. The explosion-proof integrated device for on-site dynamic measurement of oil tanks according to claim 3, characterized in that: The front housing (31) is made of high-strength aluminum alloy, the rear housing (21) is made of 304 stainless steel, and the upper end of the sealing rubber ring (23) is in close contact with the lower end of the front housing (31).

Citation Information

Patent Citations

  • Industrial explosion-proof human-computer interface

    CN108052241A

  • Composite sand-filling explosion-proof terminal

    CN201673437U

  • Intelligent control system for oil storage tank area

    CN209281220U

  • Flow totalizer

    CN218916447U