An online detection system for finished oil

By integrating the incident light probe, the output light probe, and the flow module onto the detection base, the transmitted light signal of the refined oil is detected using near-infrared light, solving the problem of the inability to accurately evaluate the quality of refined oil in existing technologies, and realizing highly integrated and low-cost online detection.

CN122361341APending Publication Date: 2026-07-10PIPECHINA SOUTH CHINA CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
PIPECHINA SOUTH CHINA CO
Filing Date
2025-01-10
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

Existing online monitoring methods for refined oil pipeline transportation cannot reflect oil quality evaluation indicators such as flash point and final boiling point. Furthermore, existing testing equipment has low structural integration, large size, difficult maintenance, and high cost.

Method used

Design an online detection system for refined oil products. By integrating an incident light probe, an outgoing light probe, a refined oil flow module, and a reference oil flow module onto a detection base, the system uses near-infrared wavelength light to detect the quality of the refined oil products, and a spectrometer processes the transmitted light signal to determine quality evaluation parameters.

Benefits of technology

It achieves highly integrated and low-maintenance oil quality testing, accurately determines quality evaluation parameters such as flash point and final boiling point, and is small in size and easy to maintain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122361341A_ABST
    Figure CN122361341A_ABST
Patent Text Reader

Abstract

This invention discloses an online refined oil detection system, including a detection base, an incident light probe, an outgoing light probe, a refined oil flow module, a reference oil flow module, a spectrometer, and a light source module. When the reference oil flow module is activated, reference refined oil is discharged after passing through a second hole, a first hole, and a fourth hole; when the refined oil flow module is activated, refined oil is discharged after passing through a first hole. The light source module emits near-infrared wavelength light. The incident light probe receives light and generates reference transmitted light that passes through the reference refined oil when the reference oil flow module is activated, and generates actual transmitted light that passes through the refined oil when the refined oil flow module is activated. The outgoing light probe receives and transmits the actual transmitted light and the reference transmitted light. The spectrometer receives the actual transmitted light and the reference transmitted light, and determines the quality evaluation parameters of the refined oil based on the light signals of the actual transmitted light and the reference transmitted light. Using the above system, the determination of the quality evaluation parameters of refined oil is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of refined oil product testing, and more particularly to an online refined oil product testing system. Background Technology

[0002] There are four main modes of transportation for refined oil products: waterway, rail, road, and pipeline. Compared to the other modes, pipeline transportation offers advantages such as strong adaptability to terrain and climate, low oil loss, reduced likelihood of accidents, ease of automation and faster turnaround, and lower overall transportation costs. Currently, pipeline transportation is mostly carried out using sequential delivery.

[0003] Currently, the batch online detection methods used in domestic and international refined oil pipeline transportation mainly rely on online density meters, optical interface detectors (OID), and the sound velocity values ​​of ultrasonic flow meters. These three detection methods cannot reflect oil quality evaluation indicators such as flash point and final boiling point. Furthermore, existing online detection pools for refined oil use an integrated design with flange connections at both ends. This structure has low integration, large size, is difficult to maintain, and has high costs. Summary of the Invention

[0004] This invention provides an online detection system for refined oil products. Utilizing a detection base, an incident light probe, an outgoing light probe, a refined oil flow module, and a reference oil flow module are all integrated onto the detection base. Near-infrared wavelength light emitted from the light source module generates reference transmitted light and actual transmitted light as the light passes through the reference refined oil and the refined oil to be tested within the detection base. A spectrometer determines the quality evaluation parameters of the refined oil to be tested based on the light signals of the reference transmitted light and the actual transmitted light. The system features high integration, small size, and low maintenance costs.

[0005] This invention provides an online detection system for refined oil products, including a detection base, an incident light probe, an outgoing light probe, a refined oil product flow module, a reference oil flow module, a spectrometer, and a light source module;

[0006] The detection base has a first hole in a first direction and a second, third, and fourth hole in a second direction. The second, third, and fourth holes are all connected to the first hole, with the third hole located between the second and fourth holes, and the first and third holes penetrating the detection base. The first and second directions are perpendicular. The finished oil flow module is fixed at both ends of the first hole, and the reference oil flow module is fixed at the ends of the second and fourth holes away from the first hole. One end of the incident light probe and one end of the output light probe are positioned opposite each other and fixed in the third hole, with a first gap between them. The other end of the incident light probe is electrically connected to the light source module, and the other end of the output light probe is electrically connected to the spectrometer.

[0007] The reference oil flow module is used to flow reference finished oil, and the finished oil flow module is used to flow the finished oil to be tested. When the reference oil flow module is on, the reference finished oil passes through the second hole, the first hole, and the fourth hole and is discharged from the detection base. When the finished oil flow module is on, the finished oil to be tested passes through the first hole and is discharged from the detection base. The first gap is used for the flow of reference finished oil and finished oil to be tested. The light source module is used to emit near-infrared wavelength light. The incident light probe is used to receive light and generate reference transmitted light that passes through the reference finished oil when the reference oil flow module is on, and actual transmitted light that passes through the finished oil to be tested when the finished oil flow module is on. The output light probe is used to receive and transmit the actual transmitted light and the reference transmitted light. The spectrometer is used to receive the actual transmitted light and the reference transmitted light, and to perform signal processing on the light signals of the actual transmitted light and the reference transmitted light to determine the quality evaluation parameters of the finished oil to be tested.

[0008] Optionally, the refined oil circulation module includes an inlet pipe connector and an outlet pipe connector; the reference oil circulation module includes a sample injection pipe connector and a drain pipe connector.

[0009] The inlet pipe connector is connected to one end of the first hole, and the outlet pipe connector is connected to the other end of the first hole; the two ends of the injection pipe connector are connected to the end of the second hole furthest from the first hole and the reference oil sample pump, respectively; the two ends of the drain pipe connector are connected to the end of the fourth hole furthest from the first hole and the waste liquid tank, respectively.

[0010] Optionally, the system may also include a first switch, a second switch, and a switch control module;

[0011] Both the first switch and the second switch are electrically connected to the switch control module; the first port of the first switch is connected to the inlet pipe connector, the second port of the first switch is connected to the sample injection pipe connector, and the third port of the first switch is connected to the first hole; the first port of the second switch is connected to the first hole, the second port of the second switch is connected to the drain pipe connector, and the third port of the second switch is connected to the outlet pipe connector.

[0012] The switch control module is used to control the first and third ports of the first switch to be turned on, and the first and third ports of the second switch to be turned on, so as to turn on the finished oil circulation module; or, to control the second and third ports of the first switch to be turned on, and the first and second ports of the second switch to be turned on, so as to turn on the reference oil circulation module.

[0013] Optionally, the system may also include a first switch seal, a second switch seal, a third switch seal, and a fourth switch seal;

[0014] The first switch sealing body is fixed between the inlet pipe connector and the first port of the first switch; the second switch sealing body is fixed between the third port of the first switch and the first hole; the third switch sealing body is fixed between the first hole and the first port of the second switch; and the fourth switch sealing body is fixed between the third port of the second switch and the outlet pipe connector.

[0015] Optionally, the system may also include a sample injection valve stem and a drain valve stem;

[0016] The detection base has a fifth and a sixth hole in the third direction; there is a second gap between the fifth and sixth holes and the first hole; the first direction, the second direction and the third direction are perpendicular to each other; the injection port valve rod is located directly above the first switch and is used to control the opening and closing of the first switch; the drain port valve rod is located directly above the second switch and is used to control the opening and closing of the second switch.

[0017] Optionally, the reference oil flow module may also include a first injection high-pressure sealing copper gasket and a second injection high-pressure sealing copper gasket.

[0018] The first high-pressure sealing copper gasket for injection is fixed between the second port of the first switch and the injection tube connector; the second high-pressure sealing copper gasket for injection is fixed between the second port of the second switch and the drain tube connector.

[0019] Optionally, the system may also include a first cleaning plug and a second cleaning plug;

[0020] The detection base has a seventh hole in the third direction, which penetrates the detection base and is connected to both the first and third holes; the first, second, and third directions are perpendicular to each other; the first cleaning plug is detachably connected to one end of the seventh hole; the second cleaning plug is detachably connected to the other end of the seventh hole.

[0021] The first and second cleaning plugs are used to remove impurities from the finished oil.

[0022] Optionally, the system also includes a first high-pressure sealing copper gasket for the cleaning port and a second high-pressure sealing copper gasket for the cleaning port;

[0023] The first cleaning port high-pressure sealing copper gasket is located between the first cleaning plug and one end of the seventh hole, and is used to seal the first cleaning plug; the second cleaning port high-pressure sealing copper gasket is located between the second cleaning plug and the other end of the seventh hole, and is used to seal the second cleaning plug.

[0024] Optionally, the system also includes a first probe locking ring and a second probe locking ring;

[0025] The first probe locking ring is fixed between the light source module and the incident light probe to lock the incident light probe; the second probe locking ring is fixed between the spectrometer and the output light probe to lock the output light probe.

[0026] Optionally, the incident light probe includes a first housing, and a first window, a first lens, a first optical path straightener, and a first optical fiber arranged sequentially within the first housing; the outgoing light probe includes a second housing, and a second window, a second lens, a second optical path straightener, and a second optical fiber arranged sequentially within the second housing; the first window and the second window are high-pressure sealed structures; the first window and the second window are arranged opposite to each other at the intersection of the third hole and the first hole, and a first gap exists between the first window and the second window;

[0027] The first and second windows are used to transmit light, the first and second lenses are used to focus light, the first and second optical path straighteners are used to collimate light, and the first and second optical fibers are used to transmit light.

[0028] Optionally, the first housing includes a first probe body and a first optical path sleeve, and the second housing includes a second probe body and a second optical path sleeve;

[0029] The first probe body includes an integrally connected first branch and second branch. The first branch contains a first through hole. The diameter of the first branch is the same as the diameter of the third hole on the side closest to the first hole, and the diameter of the second branch is the same as the diameter of the third hole on the side furthest from the first hole. The diameter of the first branch is smaller than the diameter of the second branch, and the second branch is threadedly connected to the third hole. A first viewing window is fixed on the side of the first through hole furthest from the second branch and is flush with the surface of the side of the first branch furthest from the second branch. A first optical path sleeve contains a second through hole and is threadedly connected to the side of the first branch closest to the second branch. A first optical path straightener is threadedly connected to the side of the first optical path sleeve furthest from the first branch. A first lens is fixed above the side of the first optical path straightener closest to the second through hole and is located inside the second through hole. A first optical fiber and the first optical path straightener are fixedly connected.

[0030] The second probe body includes an integrally connected third branch and a fourth branch. The third branch contains a third through hole. The diameter of the third branch is the same as the diameter of the third hole on the side closest to the first hole, and the diameter of the fourth branch is the same as the diameter of the third hole on the side furthest from the first hole. The diameter of the third branch is smaller than the diameter of the fourth branch, and the fourth branch is threadedly connected to the third hole. The second viewing window is fixed on the side of the third through hole furthest from the fourth branch and is flush with the surface of the side of the third branch furthest from the fourth branch. The second optical path sleeve contains a fourth through hole and is threadedly connected to the side of the third branch closest to the fourth branch. The second optical path straightener is threadedly connected to the side of the second optical path sleeve furthest from the third branch. The second lens is fixed above the side of the second optical path straightener closest to the fourth through hole and is located inside the fourth through hole. The second optical fiber and the second optical path straightener are fixedly connected.

[0031] Optionally, the incident light probe may further include a first window seal, a first window bottom seal, a first probe seal, a first lens lock nut, and a first fiber optic adapter; the outgoing light probe may further include a second window seal, a second window bottom seal, a second probe seal, a second lens lock nut, and a second fiber optic adapter.

[0032] The first branch has a first groove inside, and the first window sealing body is located in the first groove; the outer wall of the first branch has a second groove, and the first probe sealing body is located in the second groove; the first lens lock nut is located above the side of the first lens away from the first optical path straightener, and is threadedly connected to the first optical path sleeve; the first fiber optic adapter is fixed between the first optical path straightener and the first optical fiber.

[0033] The third branch has a third groove, and the second window seal is located in the third groove; the outer wall of the third branch has a fourth groove, and the second probe seal is located in the fourth groove; the second lens lock nut is located above the side of the second lens away from the second optical path straightener, and is threadedly connected to the second optical path sleeve; the second fiber optic adapter is fixed between the second optical path straightener and the second fiber optic cable.

[0034] The technical solution of this invention involves the reference finished oil flowing between the second, first, and fourth holes when the reference oil flow module is on, and the finished oil to be tested flowing in the first hole when the finished oil flow module is on. Near-infrared wavelength light emitted from the light source module passes through the incident light probe and is incident on either the finished oil to be tested or the reference finished oil. When the light is incident on the finished oil to be tested, reference transmitted light is generated; when it is incident on the reference finished oil, actual transmitted light is generated. The reference transmitted light and actual transmitted light are transmitted to the spectrometer after passing through the output light probe. The spectrometer processes the received light signals from the reference transmitted light and actual transmitted light to ultimately determine the quality evaluation parameters of the finished oil to be tested. Using the above system, the incident light probe, the output light probe, the finished oil flow module, and the reference oil flow module are all integrated on the detection base, and an external light source module is connected to emit near-infrared wavelength light. When the light passes through the reference finished oil and the finished oil to be tested in the detection base, reference transmitted light and actual transmitted light are generated respectively. The spectrometer determines the quality evaluation parameters of the finished oil to be tested based on the light signals of the reference transmitted light and the actual transmitted light. The system has high integration, small size, and low maintenance cost.

[0035] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0037] Figure 1 This is a schematic diagram of the connection relationship of an online detection system for refined oil provided in an embodiment of the present invention;

[0038] Figure 2 A schematic diagram of a detection base and connecting structural components provided in an embodiment of the present invention;

[0039] Figure 3 A schematic diagram of the assembled structure of a detection base, an incident light probe, an outgoing light probe, a finished oil flow module, and a reference oil flow module provided in an embodiment of the present invention;

[0040] Figure 4 This is a schematic diagram of the structure of an incident light probe or an outgoing light probe provided in an embodiment of the present invention;

[0041] Figure 5 This is a schematic diagram of the structure of a first cleaning plug and a second cleaning plug assembled on a detection base according to an embodiment of the present invention;

[0042] Figure 6 This is a schematic diagram of the structure of a first cleaning plug, a second cleaning plug, an incident light probe, and an outgoing light probe assembled according to an embodiment of the present invention. Detailed Implementation

[0043] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0044] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0045] In one embodiment, Figure 1 This is a schematic diagram of the connection relationship of an online detection system for refined oil provided in an embodiment of the present invention. Figure 2 This is a schematic diagram of a detection base and connecting structural components provided in an embodiment of the present invention. Figure 3 This is a schematic diagram of the assembled structure of a detection base, an incident light probe, an outgoing light probe, a finished oil flow module, and a reference oil flow module, provided by an embodiment of the present invention. This embodiment is applicable to situations where the quality performance parameters of finished oil are determined, such as... Figure 1As shown, the system includes a detection base 1, an incident light probe 2, an outgoing light probe 4, a finished oil flow module 3, a reference oil flow module 5, a spectrometer 6, and a light source module 7. The detection base 1 has a first hole 11 in a first direction and a second hole 12, a third hole 13, and a fourth hole 14 in a second direction. The second hole 12, the third hole 13, and the fourth hole 14 are all connected to the first hole 11. The third hole 13 is located between the second hole 12 and the fourth hole 14, and the first hole 11 and the third hole 13 penetrate the detection base 1. The first and second directions are perpendicular. The finished oil flow module 3 is fixed at both ends of the first hole 11, and the reference oil flow module 5 is fixed at the ends of the second hole 12 and the fourth hole 14 away from the first hole 11. One end of the incident light probe 2 and one end of the outgoing light probe 4 are opposite each other and fixed in the third hole 13, with a first gap between them. The other end of the incident light probe 2 is electrically connected to the light source module 7, and the other end of the outgoing light probe 4... One end is electrically connected to the spectrometer 6; the reference oil flow module 5 is used to flow reference finished oil, and the finished oil flow module 3 is used to flow the finished oil to be tested; when the reference oil flow module 5 is turned on, the reference finished oil passes through the second hole 12, the first hole 11 and the fourth hole 14 and is discharged from the detection base 1; when the finished oil flow module 3 is turned on, the finished oil to be tested passes through the first hole 11 and is discharged from the detection base 1; the first gap is used to flow the reference finished oil and the finished oil to be tested; the light source module 7 is used to emit near-infrared wavelength light; the incident light probe 2 is used to receive light and generate reference transmitted light that passes through the reference finished oil when the reference oil flow module 5 is turned on, and generate actual transmitted light that passes through the finished oil to be tested when the finished oil flow module 3 is turned on; the emitted light probe 4 is used to receive and transmit the actual transmitted light and the reference transmitted light; the spectrometer 6 is used to receive the actual transmitted light and the reference transmitted light, and to perform signal processing on the light signals of the actual transmitted light and the reference transmitted light to determine the quality evaluation parameters of the finished oil to be tested.

[0046] The detection base 1 serves as the detection pool for the flow and detection of refined oil, housing and supporting the incident light probe 2, the emitted light probe 4, the refined oil flow module 3, and the reference oil flow module 5. The detection base 1 has a first hole 11 in a first direction, and a second hole 12, a third hole 13, and a fourth hole 14 in a second direction. The first hole 11 houses the refined oil flow module 3, the second holes 12 and 14 house the reference oil flow module 5, and the third hole 13 houses the incident light probe 2 and the emitted light probe 4. The refined oil flow module 3 is used to flow the refined oil to be tested. The refined oil flow module 3 may include an inlet pipe connector and an outlet pipe connector, which are respectively fixed to both ends of the first hole 11, specifically through threaded connections to ensure easy disassembly. The reference oil circulation module 5 is used to circulate reference finished oil. The reference oil circulation module 5 may include a sample injection tube connector and a drain tube connector. The sample injection tube connector is fixed at the end of the second hole 12 away from the first hole 11, and the drain tube connector is fixed at the end of the fourth hole 14 away from the first hole 11. Specifically, it can be a threaded connection to ensure easy disassembly. The incident light probe 2 is electrically connected to the light source module 7. The incident light probe 2 is mainly responsible for accurately illuminating the detection area of ​​the finished oil to be tested with the near-infrared wavelength light emitted by the light source module 7. The outgoing light probe 4 is used to receive the light signal after transmission, reflection, or other optical effects by the finished oil and send it to the spectrometer 6. The spectrometer 6 is an instrument used to analyze the spectral characteristics of substances. The spectrometer 6 is used to receive the reference transmitted light transmitted through the reference finished oil and the actual transmitted light transmitted through the finished oil to be tested, and performs signal processing on the reference transmitted light and the actual transmitted light to determine the quality evaluation parameters of the finished oil to be tested. The spectrometer 6 may include a photodetector and a data processing unit. The photodetector receives light signals and converts them into electrical signals; the data processing unit processes the electrical signals to obtain quality evaluation parameters for the tested refined oil. Additionally, the spectrometer 6 may also include a light source module 7, meaning the light source module 7 can be integrated into the spectrometer 6 or used independently. In this embodiment, to reduce system size, the light source module 7 can be integrated into the spectrometer 6.

[0047] Specifically, since the finished oil circulation module 3 and the reference oil circulation module 5 share the first hole 11 of the detection base 1 during operation, the actual detection process involves switching between the finished oil circulation module 3 and the reference oil circulation module 5, meaning that only one of them is activated at a time. When the reference oil circulation module 5 is activated, the reference finished oil flows between the second hole 12, the first hole 11, and the fourth hole 14 of the detection base 1, and finally exits the detection base 1 from the fourth hole 14. Simultaneously, the light source module 7 emits near-infrared wavelength light to the incident light probe 2. After receiving the near-infrared wavelength light, the incident light probe 2 accurately directs the light onto the reference finished oil flowing in the first hole 11, generating reference transmitted light transmitted from the reference finished oil. This reference transmitted light is then transmitted to the spectrometer 6 via the output light probe 4. When the finished oil circulation module 3 is activated, the finished oil to be tested flows through the first hole 11 of the detection base 1 and finally exits the detection base 1. Simultaneously, the light source module 7 emits near-infrared wavelength light to the incident light probe 2. After receiving the near-infrared wavelength light, the incident light probe 2 accurately directs the light onto the tested finished oil flowing in the first hole 11, generating actual transmitted light from the tested finished oil. This actual transmitted light is transmitted to the spectrometer 6 via the output light probe 4. After receiving the reference transmitted light and the actual transmitted light, the spectrometer 6 performs signal processing on the light signals of the reference transmitted light and the actual transmitted light. In this embodiment, the spectral signal of the actual absorbed light can be determined based on the reference transmitted light and the actual transmitted light, and the spectral signal of the actual absorbed light can be converted into an electrical signal. This signal is then processed through signal amplification, filtering, and conversion. By analyzing the converted electrical signal, which can be done by setting a data model in the spectrometer 6, the quality evaluation parameters of the tested finished oil can be determined. These quality evaluation parameters include, but are not limited to, flash point and final boiling point. In addition, since the light transmitted by the incident light probe 2 needs to pass through the reference finished oil and the finished oil to be tested, the first hole 11 needs to ensure the normal flow of the reference finished oil and the finished oil to be tested. That is to say, when setting the incident light probe 2 and the outgoing light probe 4, the incident light probe 2 and the outgoing light probe 4 need to be set opposite to each other while ensuring that there is a first gap between the incident light probe 2 and the outgoing light probe 4. This first gap can ensure that both the reference finished oil and the finished oil to be tested can flow normally.

[0048] The technical solution of this invention involves the following: when the reference oil flow module is on, the reference finished oil flows between the second, first, and fourth holes; when the finished oil flow module is on, the finished oil to be tested flows in the first hole. Near-infrared wavelength light emitted from the light source module passes through the incident light probe and is incident on either the finished oil to be tested or the reference finished oil. When the light is incident on the finished oil to be tested, reference transmitted light is generated; when it is incident on the reference finished oil, actual transmitted light is generated. The reference transmitted light and actual transmitted light are transmitted to the spectrometer after passing through the output light probe. The spectrometer processes the received light signals from the reference transmitted light and actual transmitted light to ultimately determine the quality evaluation parameters of the finished oil to be tested. Using the above system, the incident light probe, the output light probe, the finished oil flow module, and the reference oil flow module are all integrated on the detection base, and an external light source module is connected to emit near-infrared wavelength light. When the light passes through the reference finished oil and the finished oil to be tested in the detection base, reference transmitted light and actual transmitted light are generated respectively. The spectrometer determines the quality evaluation parameters of the finished oil to be tested based on the light signals of the reference transmitted light and the actual transmitted light. The system has high integration, small size, and low maintenance cost.

[0049] In another specific embodiment, optionally, reference continues. Figure 2 The finished oil circulation module 3 includes an inlet pipe connector 31 and an outlet pipe connector 32; the reference oil circulation module 5 includes an injection pipe connector 51 and a drain pipe connector 52; the inlet pipe connector 31 is connected to one end of the first hole 11, and the outlet pipe connector 32 is connected to the other end of the first hole 11; the two ends of the injection pipe connector 51 are respectively connected to the end of the second hole 12 away from the first hole 11 and the reference oil sample pump (not shown in the figure), and the two ends of the drain pipe connector 52 are respectively connected to the end of the fourth hole 14 away from the first hole 11 and the waste liquid tank (not shown in the figure).

[0050] The inlet pipe connector 31 is used to introduce the finished oil to be tested from the pipeline into the first hole 11 of the testing base 1 for testing. The outlet pipe connector 32 is used to discharge the tested finished oil from the testing base 1. The injection pipe connector 51 is used to inject reference finished oil into the second hole 12 of the testing base 1 for testing. The drain pipe connector 52 is used to discharge waste liquid and unwanted reference finished oil generated during the testing process from the testing base 1 to the waste liquid tank, avoiding pollution to the testing environment and the testing base 1. The reference oil sample pump is a device for collecting reference finished oil, which can draw reference finished oil samples from oil tanks, pipelines or other storage containers. Specifically, it can draw the reference finished oil sample into the injection pipe connector 51 by creating negative pressure or other means.

[0051] Specifically, when the reference oil flow module 5 is activated, the reference oil sample pump can draw reference finished oil into the injection pipe connector 51, and then through the injection pipe connector 51 into the second hole 12, the first hole 11, and the fourth hole 14 of the detection base 1 before flowing to the drain pipe connector 52, and finally being discharged to the waste liquid tank through the drain pipe connector 52. When the finished oil flow module 3 is activated, the finished oil to be tested enters the inlet pipe connector 31 of the detection base 1 from the pipeline, and then enters the first hole 11 through the inlet pipe connector 31, flowing to the outlet pipe connector 32 in the first hole 11, and finally being discharged from the outlet pipe connector 32, so that the finished oil to be tested returns to the flow pipeline.

[0052] Optional, continue to refer to Figure 2 and Figure 3 The system also includes a first switch 8, a second switch 9, and a switch control module (not shown in the figure); the first switch 8 and the second switch 9 are both electrically connected to the switch control module; the first port of the first switch 8 is connected to the inlet pipe connector 31, the second port of the first switch 8 is connected to the injection pipe connector 51, and the third port of the first switch 8 is connected to the first hole 11; the first port of the second switch 9 is connected to the first hole 11, the second port of the second switch 9 is connected to the drain pipe connector 52, and the third port of the second switch 9 is connected to the outlet pipe connector 32; the switch control module is used to control the first and third ports of the first switch 8 to be connected, and the first and third ports of the second switch 9 to be connected, so as to enable the finished oil circulation module 3 to be connected; or, to control the second and third ports of the first switch 8 to be connected, and the first and second ports of the second switch 9 to be connected, so as to enable the reference oil circulation module 5 to be connected.

[0053] Both the first switch 8 and the first switch 9 can include a three-way valve. Both the first switch 8 and the second switch 9 include a first port, a second port, and a third port. The switch control module is used to control the on / off state of each port of the first switch 8 and the first switch 9. In this embodiment, when the finished oil flow module 3 is on, it is necessary to ensure that the finished oil to be tested flows through the first hole 11 and does not enter the second hole 12 and the fourth hole 14. Therefore, the switch control module controls the first and third ports of the first switch 8 to be on and the second port to be off; and the first and third ports of the second switch 9 to be on and the second port to be off, so that the finished oil to be tested only enters and exits through the first hole 11. When the reference oil flow module 5 is on, it is necessary to ensure that the reference finished oil enters through the second hole 12, flows through the first hole 11 and the fourth hole 14, and is then discharged. Therefore, the switch control module controls the second and third ports of the first switch 8 to be on and the first port to be off; and the first and second ports of the second switch 9 to be on and the third port to be off, so that the reference finished oil can enter and exit normally.

[0054] Optionally, the system further includes a first switch sealing body 10, a second switch sealing body 20, a third switch sealing body 30, and a fourth switch sealing body 40; the first switch sealing body 10 is fixed between the inlet pipe connector 31 and the first port of the first switch 8, the second switch sealing body 20 is fixed between the third port of the first switch 8 and the first hole 11, the third switch sealing body 30 is fixed between the first hole 11 and the first port of the second switch 9, and the fourth switch sealing body 40 is fixed between the third port of the second switch 9 and the outlet pipe connector 32.

[0055] In this embodiment, the first switch sealing body 10 and the second switch sealing body 20 are both used to seal the first switch 8. The third switch sealing body 30 and the fourth switch sealing body 40 are both used to seal the second switch 9. In this embodiment, the first switch sealing body 10, the second switch sealing body 20, the third switch sealing body 30, and the fourth switch sealing body 40 are all sealing rings. During actual assembly, the first switch sealing body 10 can be pressed and fixed to the first port of the first switch 8, and the second switch sealing body 20 can be pressed and fixed to the third port of the first switch 8 to ensure a sealing effect. The third switch sealing body 30 can be pressed and fixed to the first port of the second switch 9, and the fourth switch sealing body 40 can be pressed and fixed to the third port of the second switch 9 to ensure a sealing effect.

[0056] Optionally, the system also includes a sample injection valve stem 50 and a drain valve stem 60; the detection base 1 is provided with a fifth hole 15 and a sixth hole 16 in the third direction; there is a second gap between the fifth hole 15 and the sixth hole 16 and the first hole 11; the first direction, the second direction and the third direction are perpendicular to each other; the sample injection valve stem 50 is located directly above the first switch 8 and is used to control the opening and closing of the first switch 8; the drain valve stem 60 is located directly above the second switch 9 and is used to control the opening and closing of the second switch 9.

[0057] The injection port valve stem 50 is used for injecting the finished oil. The drain port valve stem 60 is used to control the discharge of the liquid after testing. Specifically, in addition to the switch control module controlling the on / off state of the first switch 8 and the second switch 9, the on / off state of the first switch 8 and the second switch 9 can also be achieved structurally through the injection port valve stem 50 and the drain port valve stem 60. In this embodiment, the injection port valve stem 50 is located directly above the first switch 8 to control its on / off state. The drain port valve stem 60 is located directly above the second switch 9 to control its on / off state. Specific control methods may include, but are not limited to, rotation.

[0058] Optional, continue to refer to Figure 2The reference oil circulation module 5 also includes a first injection high-pressure sealing copper pad 53 and a second injection high-pressure sealing copper pad 54; the first injection high-pressure sealing copper pad 53 is fixed between the second port of the first switch 8 and the injection tube connector 51; the second injection high-pressure sealing copper pad 54 is fixed between the second port of the second switch 9 and the drain tube connector 52.

[0059] In this embodiment, both the first injection high-pressure sealing copper gasket 53 and the second injection high-pressure sealing copper gasket 54 are sealing rings. These gaskets ensure the sealing of the finished oil sample during injection under high pressure, guaranteeing the seal at the connection and preventing leakage of the finished oil sample under high pressure. In this embodiment, the first injection high-pressure sealing copper gasket 53 is fixed between the second port of the first switch 8 and the injection pipe connector 51, ensuring the sealing of the reference finished oil flowing through the injection pipe connector 51 to the second hole 12, preventing leakage. The second injection high-pressure sealing copper gasket 54 is fixed between the second port of the second switch 9 and the drain pipe connector 52, ensuring the sealing of the reference finished oil discharged from the fourth hole 14 through the drain pipe connector 52 to the waste tank, preventing leakage.

[0060] Optional, continue to refer to Figure 2 The system also includes a first probe locking ring 110 and a second probe locking ring 120; the first probe locking ring 110 is fixed between the light source module 7 and the incident light probe 2 to lock the incident light probe 2; the second probe locking ring 120 is fixed between the spectrometer 6 and the outgoing light probe 4 to lock the outgoing light probe 4.

[0061] The first probe locking ring 110 is a device used to fix and stabilize the incident light probe 2. The second probe locking ring 120 is a device used to fix and stabilize the outgoing light probe 4. The function of the first probe locking ring 110 and the second probe locking ring 120 is to ensure that the incident light probe 2 and the outgoing light probe 4 maintain a stable position and orientation during the detection process, thereby enabling accurate signal pickup or measurement. In this embodiment, the first probe locking ring 110 is fixed between the light source module 7 and the incident light probe 2 to lock the incident light probe 2, ensuring that the near-infrared wavelength light emitted from the light source module 7 can accurately enter the incident light probe 2. The second probe locking ring 120 is fixed between the spectrometer 6 and the outgoing light probe 4 to lock the outgoing light probe 4, ensuring that the outgoing light probe 4 can accurately receive the reference transmitted light generated by the light transmitted through the reference finished oil, and the actual transmitted light generated by the light transmitted through the finished oil to be tested.

[0062] Optional, Figure 4 This is a schematic diagram of the structure of an incident light probe or an emitted light probe provided in an embodiment of the present invention, with reference to... Figure 4As shown, the incident light probe 2 includes a first housing 21, and a first window 22, a first lens 23, a first optical path straightener 24, and a first optical fiber 25 arranged sequentially within the first housing 21; the outgoing light probe 4 includes a second housing 41, and a second window 42, a second lens 43, a second optical path straightener 44, and a second optical fiber 45 arranged sequentially within the second housing 41; the first window 22 and the second window 42 are high-pressure sealed structures; the first window 22 and the second window 42 are arranged opposite to each other at the intersection of the third hole 13 and the first hole 11, and there is a first gap between the first window 22 and the second window 42; the first window 22 and the second window 42 are used to transmit light, the first lens 23 and the second lens 43 are used to focus light, the first optical path straightener 24 and the second optical path straightener 44 are used to collimate light, and the first optical fiber 25 and the second optical fiber 45 are used to transmit light.

[0063] The first outer shell 21 and the second outer shell 41 are mechanical structural components used to fix them to the third hole 13 and provide protection. The first viewing window 22 and the second viewing window 42 are both high-pressure sealed structures used to transmit light, ensuring that the high-pressure reference oil and the oil to be tested will not leak during flow. The first lens 23 and the second lens 43 are used to focus the passing light. The first optical path straightener 24 and the second optical path straightener 44 are used to collimate the light, and the first optical fiber 25 and the second optical fiber 45 are used to transmit the light.

[0064] Specifically, by positioning the first window 22 and the second window 42 opposite each other at the intersection of the third hole 13 and the first hole 11, the light generated by the light source module 7 is first transmitted through the first optical fiber 25 of the incident light probe 2 to the first optical path straightener 24. The first optical path straightener 24 collimates the light and sends it to the first lens 23. The first lens 23 focuses the light and sends it through the first window 22 to the finished oil to be tested or the reference finished oil, generating actual transmitted light or reference transmitted light. The actual transmitted light or reference transmitted light passes through the second window 42 and is incident on the second lens 43. The second lens 43 focuses the actual transmitted light or reference transmitted light and sends it to the second optical path straightener 44. The second optical path straightener 44 collimates the focused actual transmitted light or reference transmitted light and transmits it to the spectrometer 6 through the second optical fiber 45.

[0065] Optional, continue to refer to Figures 2 to 4The first outer shell 21 includes a first probe body 211 and a first optical path sleeve 212, and the second outer shell 41 includes a second probe body 411 and a second optical path sleeve 412. The first probe body 211 includes an integrally connected first branch 2111 and a second branch 2112. The first branch 2111 contains a first through hole. The diameter of the first branch 2111 is the same as the diameter of the third hole 13 on the side closest to the first hole 11, and the diameter of the second branch 2112 is the same as the diameter of the third hole 13 on the side furthest from the first hole 11. The diameter of the first branch 2111 is smaller than the diameter of the second branch 2112. 2112 is threadedly connected to the third hole 13; the first viewing window 22 is fixed to the side of the first through hole away from the second branch 2112, and is flush with the surface of the side of the first branch 2111 away from the second branch 2112; the first optical path sleeve 212 contains a second through hole, and the first optical path sleeve 212 is threadedly connected to the side of the first branch 2111 near the second branch 2112; the first optical path straightener 24 is threadedly connected to the side of the first optical path sleeve 212 away from the first branch 2111; the first lens 23 is fixed above the side of the first optical path straightener 24 near the second through hole, and is located in the second through hole. Inside; the first optical fiber 25 and the first optical path straightener 24 are fixedly connected; the second probe body 411 includes an integrally connected third branch 4111 and a fourth branch 4112, the third branch 4111 containing a third through hole; the diameter of the third branch 4111 is the same as the diameter of the third hole 13 on the side closer to the first hole, and the diameter of the fourth branch 4112 is the same as the diameter of the third hole 13 on the side farther from the first hole; the diameter of the third branch 4111 is smaller than the diameter of the fourth branch 4112, and the fourth branch 4112 is threadedly connected to the third hole 13; the fourth branch 4112 is threadedly connected to the third hole 13; second viewing window. The second optical path sleeve 412 is fixed on the side of the third through hole away from the fourth branch 4112 and is flush with the surface of the third branch 4111 on the side away from the fourth branch 4112; the second optical path sleeve 412 contains the fourth through hole and is threadedly connected to the part of the third branch 4111 near the fourth branch 4112; the second optical path straightener 44 is threadedly connected to the part of the second optical path sleeve 412 away from the third branch 4111; the second lens 43 is fixed above the side of the second optical path straightener 44 near the fourth through hole and is located inside the fourth through hole; the second optical fiber and the second optical path straightener 44 are fixedly connected.

[0066] Optionally, the incident light probe 2 further includes a first window sealing body 26, a first window bottom sealing gasket 27, a first probe sealing body 28, a first lens locking nut 29, and a first fiber optic adapter 20; the outgoing light probe 4 further includes a second window sealing body 46, a second window bottom sealing gasket 47, a second probe sealing body 48, a second lens locking nut 49, and a second fiber optic adapter 40; the first branch 2111 has a first groove, and the first window sealing body 26 is located in the first groove; the first window bottom sealing gasket 27 is located at the bottom of the first window 22 on the side near the second branch 2112; the outer wall of the first branch 2111 has a second groove, and the first probe sealing body 28 is located in the second groove; the first lens locking nut 29 is located at the first lens 23. The second optical fiber adapter 20 is fixed between the first optical path straightener 24 and the first optical fiber 25; the third branch 4111 has a third groove, and the second window sealing body 46 is located in the third groove; the bottom sealing gasket 47 of the second window is located at the bottom of the second window 42 near the fourth branch 4112; the outer wall of the third branch 4111 has a fourth groove, and the second probe sealing body 48 is located in the fourth groove; the second lens lock nut 49 is located above the second lens 43 on the side away from the second optical path straightener 44, and is threadedly connected to the second optical path sleeve 412; the second optical fiber adapter 40 is fixed between the second optical path straightener 44 and the second optical fiber 45.

[0067] The first and second window seals 26 and 46 are devices used to ensure a seal between the first and second windows and the detection base 1. They are typically made of metallic or non-metallic materials and possess excellent sealing and pressure resistance. Under high temperature and pressure conditions, the first and second window seals 26 and 46 prevent leakage of high-pressure finished oil inside the equipment, while protecting the first and second windows 22 from damage, ensuring the safety and reliability of observing or monitoring the internal conditions of the equipment. The bottom sealing gasket 27 of the first window is installed at the bottom of the first window 22 to fill the gap between the first window 22 and the detection base 1, achieving a seal. The bottom sealing gasket 47 of the second window is installed at the bottom of the second window 42 to fill the gap between the second window 42 and the detection base 1, achieving a seal; it effectively prevents leakage of high-pressure finished oil from the bottom of the window, while also buffering and protecting the window, improving its sealing performance and service life. The first probe seal 28 is a device used to ensure a seal between the incident light probe 2 and the detection base 1, and its material typically includes rubber, metal, or other elastic materials. The second probe seal 48 is a device used to ensure a seal between the emitted light probe 4 and the detection base 1, and its material typically includes rubber, metal, or other elastic materials. When the incident light probe 2, the emitted light probe 4, and the detection base 1 are connected, the first probe seal 28 and the second probe seal 48 prevent high-pressure finished oil from leaking from the connection point, ensuring the accuracy of the measurements by the incident light probe 2 and the emitted light probe 4 and the safety of the system. The first lens lock nut 29 and the second lens lock nut 49 are devices used to fix lenses, typically in the form of nuts, and are fixed by means of rotation and locking. The first lens lock nut 29 is used to fix the first lens 23, and the second lens lock nut is used to fix the second lens 43. In the optical system, the first lens locking nut 29 and the second lens locking nut 49 ensure the stability and positional accuracy of the first lens 23 and the second lens 43, preventing displacement of the first lens 23 and the second lens 43 under vibration or impact, thereby guaranteeing the imaging quality and performance of the optical system. The first fiber optic adapter 20 and the second fiber optic adapter 40 are connectors used in fiber optic communication systems, enabling connections between different types of optical fibers. The first fiber optic adapter 20 is used to connect the first optical fiber 25 and the first optical path straightener 24. The second fiber optic adapter 40 is used to connect the second optical fiber 45 and the second optical path straightener 44. The first fiber optic adapter 20 and the second fiber optic adapter 40 can be secured using, but not limited to, side set screws.

[0068] Specifically, after assembling the incident light probe 2 and the output light probe 4, the light emitted from the light source module 7 is ensured to pass precisely through the incident light probe 2 and the output light probe 4, transmitting the reference transmitted light and the actual transmitted light to the spectrometer 6. The spectrometer 6 then processes the received light signals from the reference transmitted light and the actual transmitted light to obtain the quality evaluation parameters of the tested refined oil. Typically, when refined oil is transported through pipelines, the pressure of the refined oil entering the detection base 1 is very high, the linear velocity is high (high Reynolds index), and the temperature varies greatly throughout the year. Furthermore, the composition of refined oil of the same brand produced by different manufacturers varies significantly. This leads to a large workload and high difficulty in modeling for refined oil testing. Currently, in online testing, the refined oil is usually depressurized, filtered, degassed, and kept at a constant temperature before being collected and analyzed by the spectrometer 6. This process can cause the refined oil to overflow during depressurization, and impurities in the refined oil can accumulate in the detection base 1, causing blockage. The system provided in this embodiment has extremely strong high-pressure sealing performance, which can realize the detection and determination of quality evaluation parameters without depressurizing the finished oil to be tested. Moreover, its structure is simple, which greatly improves the accuracy and speed of detection.

[0069] Optional, Figure 5 This is a schematic diagram of the structure of a first cleaning plug and a second cleaning plug assembled on a detection base according to an embodiment of the present invention. Figure 6 This is a schematic diagram of the assembled structure of a first cleaning plug, a second cleaning plug, an incident light probe, and an outgoing light probe, provided by an embodiment of the present invention. (Refer to...) Figure 2 , Figure 5 and Figure 6 As shown, the system also includes a first cleaning plug 70 and a second cleaning plug 80; the detection base 1 has a seventh hole 17 in the third direction, the seventh hole 17 penetrates the detection base 1 and is connected to both the first hole 11 and the third hole 13; the first direction, the second direction and the third direction are perpendicular to each other; the first cleaning plug 70 is detachably connected to one end of the seventh hole 17; the second cleaning plug 80 is detachably connected to the other end of the seventh hole 17; the first cleaning plug 70 and the second cleaning plug 80 are used to remove impurities from the finished oil.

[0070] The first cleaning plug 70 and the second cleaning plug 80 typically refer to devices used to seal pipe openings, preventing contaminants from entering the pipeline system and discharging them from the system. During refined oil testing, the use of the first cleaning plug 70 and the second cleaning plug 80 ensures the pipeline's airtightness, preventing dust, moisture, and other impurities from entering the refined oil, thus guaranteeing the accuracy of the test results. Generally, the materials used for the first cleaning plug 70 and the second cleaning plug 80 can include, but are not limited to, plastic, iron, and stainless steel; the appropriate material and form can be selected based on different application scenarios and requirements. In this embodiment, the first cleaning plug 70 is detachably connected to one end of the seventh hole 17; the second cleaning plug 80 is detachably connected to the other end of the seventh hole 17; the first cleaning plug 70 is threaded to one end of the seventh hole 17, and the second cleaning plug 80 is threaded to the other end of the seventh hole 17. When impurities or dirt appear in the finished oil during the circulation process, it can be seen that there is dirt on the surface of the first window 22 of the incident light probe 2 and the second window 42 of the emitted light probe 4. It is necessary to clean the generated impurities or dirt. At this time, the first cleaning plug 70 and the second cleaning plug 80 can be rotated to disassemble the first cleaning plug 70 and the second cleaning plug 80. Then, the impurities or dirt on the surface of the first window 22 and the second window 42 can be cleaned by wiping tools or blowing air to ensure cleanliness. This method is simple and reliable, facilitates regular on-site maintenance, and greatly reduces costs.

[0071] Optional, continue to refer to Figure 2 , Figure 5 and Figure 6 The system also includes a first cleaning port high-pressure sealing copper gasket 90 and a second cleaning port high-pressure sealing copper gasket 100; the first cleaning port high-pressure sealing copper gasket 90 is located between one end of the first cleaning plug 70 and the seventh hole 17, and is used to seal the first cleaning plug 70; the second cleaning port high-pressure sealing copper gasket 100 is located between the other end of the second cleaning plug 80 and the seventh hole 17, and is used to seal the second cleaning plug 80.

[0072] The first cleaning port high-pressure sealing copper gasket 90 and the second cleaning port high-pressure sealing copper gasket 100 are typically copper gaskets used to ensure a high-pressure seal at the cleaning plug of a pipeline or equipment. They possess excellent sealing performance and good ductility, effectively filling minor unevenness on the sealing surface to achieve a seal under high pressure. In this embodiment, the first cleaning port high-pressure sealing copper gasket 90 is located between one end of the first cleaning plug 70 and the seventh hole 17, ensuring that the first cleaning plug 70 is firmly pressed against one end of the seventh hole 17, thus guaranteeing the seal of the first cleaning plug 70. The second cleaning port high-pressure sealing copper gasket 100 is located between the other end of the second cleaning plug 80 and the seventh hole 17, ensuring that the second cleaning plug 80 is firmly pressed against the other end of the seventh hole 17, thus guaranteeing the seal of the second cleaning plug 80.

[0073] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0074] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. An online detection system for refined oil products, characterized in that, Includes a detection base, incident light probe, outgoing light probe, finished oil flow module, reference oil flow module, spectrometer, and light source module; The detection base has a first hole in a first direction and a second, third, and fourth hole in a second direction; the second, third, and fourth holes are all connected to the first hole, the third hole is located between the second and fourth holes, and the first and third holes penetrate the detection base; the first direction and the second direction are perpendicular; the finished oil flow module is fixed at both ends of the first hole, the reference oil flow module is fixed at the ends of the second and fourth holes away from the first hole, one end of the incident light probe and one end of the outgoing light probe are opposite to each other and fixed in the third hole, and a first gap exists between the incident light probe and the outgoing light probe; the other end of the incident light probe is electrically connected to the light source module, and the other end of the outgoing light probe is electrically connected to the spectrometer; The reference oil flow module is used to flow reference finished oil, and the finished oil flow module is used to flow the finished oil to be tested. When the reference oil flow module is turned on, the reference finished oil passes through the second hole, the first hole, and the fourth hole and is discharged from the detection base. When the finished oil flow module is turned on, the finished oil to be tested passes through the first hole and is discharged from the detection base. The first gap is used to flow the reference finished oil and the finished oil to be tested. The light source module is used to emit near-infrared wavelength light. The incident light probe is used to receive the light and generate reference transmitted light that passes through the reference finished oil when the reference oil flow module is turned on, and generate actual transmitted light that passes through the finished oil to be tested when the finished oil flow module is turned on. The emitted light probe is used to receive and transmit the actual transmitted light and the reference transmitted light. The spectrometer is used to receive the actual transmitted light and the reference transmitted light, and perform signal processing on the light signals of the actual transmitted light and the reference transmitted light to determine the quality evaluation parameters of the finished oil to be tested.

2. The online detection system according to claim 1, characterized in that, The finished oil circulation module includes an inlet pipe connector and an outlet pipe connector; the reference oil circulation module includes a sample injection pipe connector and a drain pipe connector. The inlet pipe connector is connected to one end of the first hole, and the outlet pipe connector is connected to the other end of the first hole; the two ends of the injection pipe connector are respectively connected to the end of the second hole away from the first hole and the reference oil sample pump, and the two ends of the drain pipe connector are respectively connected to the end of the fourth hole away from the first hole and the waste liquid tank.

3. The online detection system according to claim 2, characterized in that, It also includes a first switch, a second switch, and a switch control module; Both the first switch and the second switch are electrically connected to the switch control module; the first port of the first switch is connected to the liquid inlet connector, the second port of the first switch is connected to the sample injection connector, and the third port of the first switch is connected to the first hole; the first port of the second switch is connected to the first hole, the second port of the second switch is connected to the liquid outlet connector, and the third port of the second switch is connected to the liquid outlet connector. The switch control module is used to control the first and third ports of the first switch to be turned on, and the first and third ports of the second switch to be turned on, so as to turn on the finished oil circulation module; or, to control the second and third ports of the first switch to be turned on, and the first and second ports of the second switch to be turned on, so as to turn on the reference oil circulation module.

4. The online detection system according to claim 3, characterized in that, It also includes a first switch seal, a second switch seal, a third switch seal, and a fourth switch seal; The first switch sealing body is fixed between the liquid inlet pipe connector and the first port of the first switch; the second switch sealing body is fixed between the third port of the first switch and the first hole; the third switch sealing body is fixed between the first hole and the first port of the second switch; and the fourth switch sealing body is fixed between the third port of the second switch and the liquid outlet pipe connector.

5. The online detection system according to claim 3, characterized in that, It also includes the injection port valve stem and the drain port valve stem; The detection base is provided with a fifth hole and a sixth hole in the third direction; there is a second gap between the fifth hole and the sixth hole and the first hole; the first direction, the second direction and the third direction are perpendicular to each other; the sample injection port valve rod is located directly above the first switch and is used to control the opening and closing of the first switch; The drain valve stem is located directly above the second switch and is used to control the on / off state of the second switch.

6. The online detection system according to claim 3, characterized in that, The reference oil circulation module also includes a first high-pressure sealing copper pad for injection and a second high-pressure sealing copper pad for injection. The first high-pressure sealing copper gasket for injection is fixed between the second port of the first switch and the injection tube connector; the second high-pressure sealing copper gasket for injection is fixed between the second port of the second switch and the drain tube connector.

7. The online detection system according to claim 1, characterized in that, It also includes a first cleaning plug and a second cleaning plug; The detection base has a seventh hole in the third direction, which penetrates the detection base and communicates with both the first hole and the third hole; the first direction, the second direction, and the third direction are perpendicular to each other. The first cleaning plug is detachably connected to one end of the seventh hole; the second cleaning plug is detachably connected to the other end of the seventh hole. The first cleaning plug and the second cleaning plug are used to remove impurities from the finished oil.

8. The online detection system according to claim 7, characterized in that, It also includes a first cleaning port high-pressure sealing copper gasket and a second cleaning port high-pressure sealing copper gasket; The first cleaning port high-pressure sealing copper gasket is located between the first cleaning plug and one end of the seventh hole, and is used to seal the first cleaning plug; the second cleaning port high-pressure sealing copper gasket is located between the second cleaning plug and the other end of the seventh hole, and is used to seal the second cleaning plug.

9. The online detection system according to claim 1, characterized in that, It also includes a first probe locking ring and a second probe locking ring; The first probe locking ring is fixed between the light source module and the incident light probe to lock the incident light probe; the second probe locking ring is fixed between the spectrometer and the outgoing light probe to lock the outgoing light probe.

10. The online detection system according to claim 1, characterized in that, The incident light probe includes a first housing, and a first window, a first lens, a first optical path straightener, and a first optical fiber arranged sequentially within the first housing; the outgoing light probe includes a second housing, and a second window, a second lens, a second optical path straightener, and a second optical fiber arranged sequentially within the second housing; the first window and the second window are high-pressure sealed structures; the first window and the second window are disposed opposite to each other at the intersection of the third hole and the first hole, and the first gap exists between the first window and the second window; The first window and the second window are used to transmit light, the first lens and the second lens are used to focus light, the first optical path straightener and the second optical path straightener are used to collimate light, and the first optical fiber and the second optical fiber are used to transmit light.

11. The online detection system according to claim 10, characterized in that, The first housing includes a first probe body and a first optical path sleeve, and the second housing includes a second probe body and a second optical path sleeve; The first probe body includes an integrally connected first branch and a second branch. The first branch contains a first through hole. The diameter of the first branch is the same as the diameter of the third hole on the side closest to the first hole, and the diameter of the second branch is the same as the diameter of the third hole on the side furthest from the first hole. The diameter of the first branch is smaller than the diameter of the second branch, and the second branch is threadedly connected to the third hole. The first viewing window is fixed to the side of the first through hole furthest from the second branch and is flush with the surface of the side of the first branch furthest from the second branch. The first optical path sleeve contains a second through hole and is threadedly connected to the side of the first branch closest to the second branch. The first optical path straightener is threadedly connected to the side of the first optical path sleeve furthest from the first branch. The first lens is fixed above the side of the first optical path straightener closest to the second through hole and is located inside the second through hole. The first optical fiber and the first optical path straightener are fixedly connected. The second probe body includes an integrally connected third branch and a fourth branch. The third branch contains a third through hole. The diameter of the third branch is the same as the diameter of the third hole near the first hole, and the diameter of the fourth branch is the same as the diameter of the third hole away from the first hole. The diameter of the third branch is smaller than the diameter of the fourth branch, and the fourth branch is threadedly connected to the third hole. The second window is fixed to the side of the third through hole away from the fourth branch and is flush with the surface of the side of the third branch away from the fourth branch. The second optical path sleeve contains a fourth through hole and is threadedly connected to the third branch near the fourth branch. The second optical path straightener is threadedly connected to the second optical path sleeve away from the third branch. The second lens is fixed above the side of the second optical path straightener near the fourth through hole and is located inside the fourth through hole. The second optical fiber and the second optical path straightener are fixedly connected.

12. The online detection system according to claim 11, characterized in that, The incident light probe further includes a first window sealing body, a first window bottom sealing gasket, a first probe sealing body, a first lens lock nut, and a first fiber optic adapter; the outgoing light probe further includes a second window sealing body, a second window bottom sealing gasket, a second probe sealing body, a second lens lock nut, and a second fiber optic adapter. The first branch has a first groove, and the first window sealing body is located in the first groove; the bottom sealing gasket of the first window is located at the bottom of the first window on the side near the second branch; the outer wall of the first branch has a second groove, and the first probe sealing body is located in the second groove; the first lens locking nut is located above the side of the first lens away from the first optical path straightener, and is threadedly connected to the first optical path sleeve; the first fiber optic adapter is fixed between the first optical path straightener and the first optical fiber. The third branch has a third groove, and the second window sealing body is located in the third groove; the bottom sealing gasket of the second window is located at the bottom of the second window on the side near the fourth branch; the outer wall of the third branch has a fourth groove, and the second probe sealing body is located in the fourth groove; the second lens lock nut is located above the second lens on the side away from the second optical path straightener, and is threadedly connected to the second optical path sleeve; the second fiber optic adapter is fixed between the second optical path straightener and the second optical fiber.