Water content analyzer, detection method, electronic device and storage medium

By designing a water content analyzer, and automatically adjusting the heating parameters of the heater using the control module and the first detection component, the problem of large manual heating errors in the prior art is solved, and more efficient and accurate measurement of crude oil moisture content is achieved.

CN119779908APending Publication Date: 2025-04-08BEIJING CHUXIANGFEI TECH DEV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510087195.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

In the existing crude oil moisture content measurement methods, manual control of the heating parameters of the heater is required, resulting in large heating errors and automated control cannot be achieved.

Method used

A water-containing analyzer is designed, including a control module, a heater and a distillation system. The first detection component is used to monitor the height of the fog in the condenser in real time. The control module automatically adjusts the heating parameters of the heater according to the detection parameters.

Benefits of technology

By automatically adjusting heating parameters, manual intervention is reduced, measurement efficiency and accuracy are improved, errors are reduced, and data reliability and consistency are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119779908A_ABST
    Figure CN119779908A_ABST
Patent Text Reader

Abstract

The present application relates to a water analyzer, a detection method, an electronic device and a storage medium, wherein the water analyzer includes a control module, a heater and a distillation system, wherein the distillation system includes a distillation flask, a condenser and a receiver connected in sequence, wherein the control module includes a first detection component and a control module, wherein the control module is electrically connected to the first detection component and the heater, wherein the first detection component is relative to the condenser to detect the height of the fog group in the condenser, and wherein the control module is used to control the heating parameters of the heater according to the detection parameters of the first detection component. The water analyzer according to the present application can quickly complete the entire measurement process, improve measurement efficiency, reduce errors caused by improper human operation, and ensure the reliability and consistency of data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of measuring water content in crude oil, and in particular to a water content analyzer, a detection method, an electronic device and a storage medium. Background Art

[0002] The water content of crude oil - distillation method is a commonly used experimental method to determine the water content in crude oil. The basic principle of this method is to heat the mixture of crude oil and solvent oil so that the water therein evaporates together with the solvent oil into a receiver for separation, and then determine the volume or mass of water. Usually, a certain amount of crude oil sample and solvent oil are taken, the sample and solvent oil are placed in a distillation device, and the mixture of the sample and solvent oil is slowly heated to gradually evaporate the water in the crude oil. The heating rate should be controlled to avoid explosive boiling of the crude oil. Part of the evaporated water and solvent oil vapor enters the receiver calibrated tube, and part enters the condenser and is converted into liquid water after condensation, and eventually flows into the receiver calibrated tube. The condensed liquid water is collected, and its volume or mass is measured. The water content of the crude oil is calculated based on the collected water volume and the initial amount in the crude oil sample.

[0003] For example, in a specific distillation method, the distillation flask is heated, and the initial stage of heating should be heated slowly (about 0.5h to 1h) to prevent boiling and water loss in the system. After the initial heating, the boiling rate is adjusted by manually controlling the heating power so that the condensate is not higher than 3 / 4 of the inner tube of the condenser. The distillate should drip into the receiver at a rate of (2 to 5) drops per second. Continue distillation until no visible water can be seen in any part of the instrument except the receiver, and the volume of water in the receiver remains constant within 5 minutes. Finally, the volume of water in the receiver is read by human eyes. The minimum scale of the receiver is 0.05mL, and the reading is required to be 0.025mL.

[0004] In this process, the height of the condensate generated in the condenser during the heating process is achieved by manually adjusting the heating power, that is, the boiling speed needs to be manually adjusted during the heating process so that the condensate is not higher than the height required by the standard, and the height of the condensate cannot be automatically controlled. Summary of the invention

[0005] The present application provides a water content analyzer to solve the problem of large heating error in manually controlling a heater.

[0006] In the first aspect, the present application provides a water analyzer, including a control module, a heater and a distillation system, the distillation system including a distillation flask, a condenser and a receiver connected in sequence, the control module including a first detection component and a control module, the control module is electrically connected to the first detection component and the heater, the first detection component is relative to the condenser to detect the height of the fog group in the condenser, and the control module is used to control the heating parameters of the heater according to the detection parameters of the first detection component.

[0007] According to the water analyzer of the present application, the first detection component includes a first CCD camera and a first detection light source, and the first CCD camera and the first detection light source are respectively arranged on both sides of the condenser.

[0008] Optionally, the water analyzer also includes a second detection component and an output module, the second detection component is opposite to the receiver to detect the liquid level in the receiver, the output module and the second detection component are both electrically connected to the control module, and the control module is used to control the output module to output corresponding result data according to the detection parameters of the second detection component.

[0009] Optionally, the second detection component includes a second CCD camera and a second detection light source, and the second CCD camera and the second detection light source are respectively arranged on two sides of the receiver.

[0010] Optionally, the water analyzer further includes a light shielding plate, wherein the light shielding plate, the first detection light source, and the second detection light source are all located on the same side, and the light shielding plate is located outside the first detection light source and the second detection light source.

[0011] The water analyzer according to the present application also includes a cooling water circulation system, a power component, a spray component and a position sensor. The condenser includes an inner tube and an outer tube. The inner tube is connected to the distillation flask and the receiver at the same time. The outer tube is used to communicate with the cooling water circulation system. The spray component is opposite to the inner tube. The power component is transmission-connected to the spray component to drive the spray component to move up and down along the inner tube. The position sensor is electrically connected to the power component to feedback the position of the spray component.

[0012] Optionally, the spray assembly includes a spray head, which includes a main body and a scraper part that are connected to each other, the main body is provided with a water spray port, the water spray port is located above the scraper part, and the scraper part can abut against the inner wall of the inner tube.

[0013] Optionally, a guide surface is provided on the periphery of the scraper portion, and the guide surface gradually expands outward in a downward direction along the water spray port. The water spray port includes a plurality of water spray ports, and the plurality of water spray ports are arranged along the circumference of the main body portion.

[0014] In a second aspect, the present application provides a method for detecting the water content of crude oil, using the above-mentioned water content analyzer, comprising:

[0015] Heat the sample to be tested and detect the height of the fog in the condenser tube in real time;

[0016] Controlling the heating temperature of the sample to be tested according to the height of the fog group;

[0017] When the height of the fog mass meets a first preset range, real-time detection of the liquid level in the receiver;

[0018] When the liquid level is constant within a first preset time, stopping heating the sample to be tested;

[0019] After cooling the sample for the second preset time, reheating the sample and detecting the liquid level in the receiver in real time, repeating this process several times until the liquid level is constant within the first preset time, and then stopping heating the sample;

[0020] After the receiver is cooled for a third preset time, the height of the liquid level in the receiver is obtained.

[0021] Optionally, when the water analyzer includes a spray assembly and the condenser includes an inner tube and an outer tube,

[0022] After cooling the sample to be tested for a second preset time, the spray assembly is controlled to move in the inner tube and spray the solvent.

[0023] Optionally, when the height of the fog mass meets a first preset range, real-time detection of the liquid level height in the receiver specifically includes:

[0024] Acquire a monitoring image of the receiver, and select a liquid level identification area in the monitoring image;

[0025] Performing grayscale processing on the image of the liquid level recognition area;

[0026] Determine the position of the target pixel with a gray value of 0 or 255;

[0027] The position of the target pixel point is determined as the liquid level height.

[0028] In a third aspect, the present application provides an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; wherein:

[0029] Memory, used to store computer programs;

[0030] The processor is used to execute the above method for detecting the water content of crude oil by running the program stored in the memory.

[0031] In a fourth aspect, the present application provides a storage medium, wherein the storage medium includes a stored program, wherein the above-mentioned crude oil water content detection method is executed when the program is run.

[0032] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:

[0033] The water content analyzer provided in the embodiment of the present application is to put the sample to be analyzed into a distillation bottle, and the sample is heated in the distillation bottle. The water will evaporate first due to its lower boiling point, and after being cooled by the condenser, it will be converted into liquid and finally collected in the receiver. The control module is connected to the heater and the first detection component. The control module controls the heating parameters of the heater through electrical connection. The first detection component is used to monitor the height of the fog group of the condenser in real time, and the control module can automatically adjust the heating parameters of the heater according to the height information of the fog group detected by the first detection component. For example, if the fog group is detected to be too high, the control module can control the heater to reduce the heating temperature. If the fog group is detected to be too low, the control module can control the heater to increase the heating temperature to ensure the balance between evaporation and condensation and prevent the fog group from escaping the condenser. In this way, the distillation efficiency is automatically optimized by the control module, which can ensure that the water content analyzer obtains accurate moisture content data. In summary, the water content analyzer can obtain more accurate measurement results in a shorter time through real-time monitoring and feedback mechanisms, while manual operation is easily affected by subjective judgment and visual errors; and the control module cooperates with the first detection component to automatically adjust the heating parameters of the heater, reducing the need for manual intervention, and can quickly complete the entire measurement process, improve measurement efficiency, and reduce errors caused by improper human operation, ensuring data reliability and consistency. In addition, the control module can automatically adjust the heating parameters according to different experimental conditions and different experimental samples in cooperation with the first detection component to adapt to the characteristics of different samples, thereby improving the flexibility of water content analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0036] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0037] Figure 1 A schematic diagram of a water analyzer provided in an embodiment of the present application;

[0038] Figure 2 A schematic diagram of liquid level detection of a receiver of a water-containing analyzer provided in an embodiment of the present application;

[0039] Figure 3 A schematic diagram of a condenser of a water-containing analyzer provided in an embodiment of the present application;

[0040] Figure 4 A schematic diagram of another water analyzer provided in an embodiment of the present application;

[0041] Figure 5 A schematic diagram of another nozzle of a water analyzer provided in an embodiment of the present application;

[0042] Figure 6 A schematic diagram of the steps of a method for detecting water content in crude oil provided in an embodiment of the present application.

[0043] Description of reference numerals:

[0044] Control module 1, shading plate 2, first detection light source 31, second detection light source 32, condenser 4, outer tube 41, inner tube 42, peristaltic pump 5, power assembly 6, output module 7, first CCD camera 81, second CCD camera 82, receiver 9, distillation flask 10, heater 11, water 12, solvent oil 13, liquid level 14, scale 15, cooling water inlet 16, nozzle 17, main body 171, water spray port 172, scraper part 173. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0046] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0047] For ease of description, spatial relative terms may be used herein to describe the relative positional relationship or movement of one element or feature relative to another element or feature as shown in the figure, such as "inside", "outside", "inner side", "outer side", "below", "below", "above", "above", "front", "back", etc. Such spatial relative terms are intended to include different orientations of the device in use or operation in addition to the orientation depicted in the figure. For example, if the device in the figure undergoes a position flip or a posture change or a motion state change, then these directional indications also change accordingly, for example: an element described as "below other elements or features" or "below other elements or features" will subsequently be oriented as "above other elements or features" or "above other elements or features". Therefore, the example term "below..." may include both upper and lower orientations. The device may be otherwise oriented (rotated 90 degrees or in other directions) and the spatial relative descriptors used herein are interpreted accordingly.

[0048] like Figure 1 As shown, the water analyzer according to the embodiment of the present application includes a control module 1, a heater 11 and a distillation system, the distillation system includes a distillation flask 10, a condenser 4 and a receiver 9 connected in sequence, the control module 1 includes a first detection component and the control module 1, the control module 1 is electrically connected to the first detection component and the heater 11, the first detection component is relative to the condenser 4 to detect the height of the fog group in the condenser 4, and the control module 1 is used to control the heating parameters of the heater 11 according to the detection parameters of the first detection component.

[0049] When analyzing the water content of the sample in the above embodiment, the sample to be analyzed is placed in the distillation flask 10, and the sample is heated in the distillation flask 10. The water will evaporate first due to its lower boiling point, and after cooling through the condenser 4, it will be converted into liquid and finally collected in the receiver 9. The control module 1 is connected to the heater 11 and the first detection component. The control module 1 controls the heating parameters of the heater 11 through electrical connection. The first detection component is used to monitor the height of the fog group of the condenser 4 in real time, and the control module 1 can automatically adjust the heating parameters of the heater 11 according to the height information of the fog group detected by the first detection component. For example, if the fog group is detected to be too high, the control module 1 can control the heater 11 to reduce the heating temperature. If the fog group is detected to be too low, the control module 1 can control the heater 11 to increase the heating temperature to ensure the balance of evaporation and condensation, and avoid the fog group from escaping the condenser 4. In this way, the control module 1 automatically optimizes the distillation efficiency and avoids the boiling of the sample, so as to ensure that the water content analyzer obtains accurate water content data. In addition, the control module 1 can also have data recording and analysis functions, so that the experimental data can be saved and subsequent analysis can be performed, so as to facilitate the user to analyze and count the data parameters.

[0050] In the above-mentioned embodiments, the distillation flask 10 is usually arranged in the middle or bottom of the water analyzer to heat and evaporate the sample in the distillation flask 10. The distillation flask 10 needs to have good sealing properties to prevent the sample from volatilizing and losing.

[0051] The condenser 4 is directly connected to the distillation flask 10, and is usually installed upright or inclined above the distillation flask 10 to facilitate the flow of condensate. At the same time, the length and diameter of the condenser 4 need to match the interface of the distillation flask 10 to ensure that the evaporated gas can pass smoothly.

[0052] The receiver 9 is disposed at the end of the condenser 4 . In order to collect the condensate, it can be upright or inclined. It is usually disposed below the condenser 4 , thereby ensuring that gravity can assist the condensation of the liquid evaporated from the sample and flow smoothly into the receiver 9 .

[0053] The first detection component can be arranged on the side or top of the condenser 4 to ensure that the height of the fog inside the condenser 4 can be clearly observed. The condenser 4 corresponding to the field of view of the first detection component can be set to have an observation window or be made of a transparent material to facilitate visual detection.

[0054] It is understandable that the first detection component can be configured into a variety of structures. For example, the first detection component includes a camera module, so that the camera is used to obtain the image inside the condenser tube 4, and the height of the fog group is analyzed by the image processing algorithm; it can also be that the first detection component includes an infrared sensor, so that the infrared reflection principle is used to set an infrared transmitter and a receiver to measure the scattering or absorption of infrared light by the fog group, so as to infer the height of the fog group; it can also be that the first detection component includes a laser ranging sensor, and the height of the fog group is measured by laser ranging technology; of course, it can also be that the first detection component includes a photoelectric sensor, by installing an irradiation light source and a photosensitive element, the degree of light blocking by the fog group is detected, and then the height of the fog group is determined. The above and so on are only illustrative in this application and are not exhaustive.

[0055] In some embodiments, the first detection component is also connected to a first position adjustment mechanism, so that the position of the first detection component can be adjusted by the first position adjustment mechanism so as to adjust the position or observation angle of the first detection component according to different experimental requirements, thereby ensuring that the first detection component can accurately detect the height of the fog group.

[0056] The heater 11 is generally disposed at the bottom or around the distillation flask 10 to ensure uniform and efficient heating, and can perform surrounding heating on the bottom or around the distillation flask 10. The heater 11 can heat the distillation flask 10 using structures such as electric heating wires, electric heating plates or heating films.

[0057] According to the water content analyzer of the embodiment of the present application, the water content analyzer can obtain more accurate measurement results in a shorter time through real-time monitoring and feedback mechanisms, while manual operation is easily affected by subjective judgment and visual errors; and the control module 1 cooperates with the first detection component to automatically adjust the heating parameters of the heater 11, thereby reducing the need for manual intervention, and being able to quickly complete the entire measurement process, improve measurement efficiency, and reduce errors caused by improper human operation, ensuring the reliability and consistency of data. In addition, the control module 1 can cooperate with the first detection component to automatically adjust the heating parameters according to different experimental conditions and different experimental samples to adapt to the characteristics of different samples, thereby improving the flexibility of water content analysis.

[0058] like Figure 1 As shown, according to the water analyzer of the embodiment of the present application, the first detection component includes a first CCD camera 81 and a first detection light source 31 , and the first CCD camera 81 and the first detection light source 31 are respectively arranged on both sides of the condenser 4 .

[0059] In detail, the first detection component includes a first CCD camera 81, which is used to monitor the height of the fog group. The CCD camera has a high resolution and can better identify and measure small changes in the fog group, thereby improving the accuracy of the detection. At the same time, the noise of the image it obtains is small, and the image can be clearer and more accurate, reducing the possibility of misjudgment. The first CCD camera 81 is arranged on the side of the condenser 4, so that the height change of the fog group in the condenser 4 can be better captured, and the sensitivity and real-time performance of the visual detection of the first CCD camera 81 can be improved, so that the control module 1 can adjust the heating parameters in time. The first CCD camera 81 and the first detection light source 31 are respectively arranged on both sides of the condenser 4, so that the sample in the condenser 4 can be evenly illuminated, and the influence of shadows and reflections can be reduced, thereby improving the accuracy of the detection.

[0060] In some embodiments, the light emitting direction of the first detection light source 31 is perpendicular to the extending direction of the condenser 4 .

[0061] In detail, the setting of the first detection light source 31 perpendicular to the condenser 4 can make the light shine more evenly on the fog group in the condenser 4, thereby improving the visibility of the fog group and the accuracy of detection, and obtaining the height information of the fog group more clearly. At the same time, such a setting can reduce the influence of the condenser 4 on light reflection and scattering, and improve the signal-to-noise ratio of detection.

[0062] The minimum scale value of the receiver 9 in the current standard is 0.05mL, and the liquid level is read by human eyes, which can only be resolved to 0.025mL, and the measurement accuracy is low. Therefore, more accurate control and measurement devices and measurement methods are urgently needed to detect the water content in crude oil.

[0063] In some embodiments, the water analyzer also includes a second detection component and an output module 7. The second detection component is opposite to the receiver 9 to detect the liquid level in the receiver 9. The output module 7 and the second detection component are electrically connected to the control module 1. The control module 1 is used to control the output module 7 to output corresponding result data according to the detection parameters of the second detection component.

[0064] In the above-mentioned embodiment, the second detection component is opposite to the receiver 9 to detect the liquid level in the receiver 9, so as to determine the amount of liquid after distillation, and then the control module 1 analyzes and calculates the water content of the sample based on the amount of liquid after distillation. The second detection component can monitor the change of the liquid level in the receiver 9 in real time to ensure the stability and safety of the experimental process. At the same time, the data of the second visual detection module is more accurate, which can improve the accuracy of the experimental structure and reduce human errors. The second detection component cooperates with the control module 1 to control the heater 11, so as to realize the automatic control of the heating of the distillation flask 10. For example, when the liquid level remains constant within a certain period of time, the heating of the distillation flask 10 is stopped to prevent escape or dry burning. And the data detected by the second visual detection module can be used for subsequent data analysis and recording, which is convenient for tracking and comparing experimental results.

[0065] like Figure 2 As shown, in the above embodiment, the liquid level 14 refers to the liquid level of water 12. Since some solvent oil 13 is often needed to be added to the sample during distillation, both the solvent oil 13 and the water 12 are distilled and finally enter the receiver 9 and are stratified. The water 12 is located below the solvent oil 13, and its height corresponds to the scale 15 of the receiver 9, which is the final liquid level height that needs to be determined.

[0066] The output module 7 can output the result data generated by the control module 1 according to the parameters detected by the second detection component. For example, the output module 7 can be configured as an LCD or LED display screen for real-time display of parameters such as liquid level and water content; the output module 7 can also be configured as a USB interface, Bluetooth or WIFI module to facilitate data export and remote monitoring, for example, connecting to the user's mobile phone, computer and IPAD for data transmission, etc., which is not limited in this application.

[0067] like Figure 1 As shown, in some embodiments, the second detection component includes a second CCD camera 82 and a second detection light source 32 , and the second CCD camera 82 and the second detection light source 32 are respectively arranged on both sides of the receiver 9 .

[0068] In detail, the second CCD camera 82 can more accurately capture the liquid changes in the liquid level in the receiver 9. Combined with the auxiliary lighting of the second detection light source 32, it can reduce the interference of external light on the second CCD camera 82 to obtain the image, improve the accuracy and reliability of liquid level detection, and avoid errors caused by human eye observation. At the same time, the second detection component can monitor the changes in the liquid level in the receiver 9 in real time, so that the control module 1 can respond in time, adjust the heating temperature of the heater 11 or control the heater 11 to stop heating, so as to ensure the stability and efficiency of the distillation process. The second CCD camera 82 is set on the side of the condenser 4, so that the height change of the liquid level in the receiver 9 can be better observed, and the sensitivity and real-time performance of the visual detection of the second CCD camera 82 can be improved, so that the control module 1 can adjust the heating parameters in time. The second CCD camera 82 and the second detection light source 32 are respectively arranged on both sides of the condenser 4, which can ensure that the sample in the condenser 4 can be evenly illuminated, reduce the influence of shadows and reflections, and thus improve the accuracy of detection.

[0069] In some embodiments, the light emitting direction of the second detection light source 32 is perpendicular to the extending direction of the receiver 9 .

[0070] In detail, the setting of the second detection light source 32 perpendicular to the receiver 9 can make the light shine more evenly on the liquid level in the receiver 9, thereby improving the visibility of the liquid level and the accuracy of detection, and obtaining the height information of the liquid level more clearly. At the same time, such a setting can reduce the influence of the receiver 9 on light reflection and scattering, and improve the signal-to-noise ratio of detection.

[0071] It should be noted that when reading the liquid level in the receiver 9, the lowest scale mark of the liquid level depression is the water level of the condensed water.

[0072] like Figure 1 As shown, in some embodiments, the water analyzer further includes a shading plate 2 , the shading plate 2 , the first detection light source 31 , and the second detection light source 32 are all located on the same side, and the shading plate 2 is located outside the first detection light source 31 and the second detection light source 32 .

[0073] In detail, the sunshade 2 can effectively isolate the ambient light and reduce the impact of light source changes on the first detection component and the second detection component. In this way, light interference can be reduced, and the signal-to-noise ratio of the first detection component and the second detection component can be improved, thereby improving the accuracy and reliability of the measurement; at the same time, under different ambient lighting conditions, the sunshade 2 can maintain the stability of the system and avoid errors caused by changes in light.

[0074] In the above-mentioned embodiment, the shading plate 2 can be made of opaque materials, such as black plastic or metal, so that it has a good shading effect; in terms of shape, it can be set to a rectangular or circular plate structure, so that specific adjustments can be made according to the positions of the first detection component and the second detection component and the positions of the first detection light source 31 and the second detection light source 32. In order to facilitate the adaptive adjustment of the shading plate 2, the shading plate 2 is set to a movable structure, which can be provided with a slide rail, and the position of the shading plate 2 can be adjusted by sliding the shading plate 2 on the slide rail; it can also be controlled by a motor to automatically move the shading plate 2 through the control module 1.

[0075] like Figure 1 , Figure 3 as well as Figure 4 As shown, the water analyzer according to the embodiment of the present application also includes a cooling water circulation system, a power component 6, a spray component and a position sensor. The condenser 4 includes an inner tube 42 and an outer tube 41. The inner tube 42 is connected to the distillation flask 10 and the receiver 9 at the same time. The outer tube 41 is used to communicate with the cooling water circulation system. The spray component is opposite to the inner tube 42. The power component 6 is transmission-connected to the spray component to drive the spray component to move up and down along the inner tube 42. The position sensor is electrically connected to the power component 6 to feedback the position of the spray component.

[0076] In detail, the outer tube 41 is used to communicate with the cooling water circulation system, and the cooling water enters the outer tube 41 and flows out of the outer tube 41 through the pump body, while the inner tube 42 is used to receive the mist evaporated from the distillation bottle 10 and is condensed by the cooling water and dripped into the receiver 9 for collection. When water droplets continue to accumulate on the wall of the inner tube 42 and cannot drip into the receiver 9, the power component 6 can drive the spray component to move up and down along the inner tube 42, so as to spray the solvent to wash the solvent on the wall of the inner tube 42 into the distillation bottle 10, so as to perform distillation again. When spraying the solvent, the heating needs to be stopped for a certain time, such as 15 minutes, 16 minutes, 17 minutes, 18 minutes, 19 minutes, 20 minutes, 25 minutes and 30 minutes.

[0077] In a specific embodiment, an oil-soluble demulsifier is added to the solvent wash solution to a volume fraction of 1000x10e-6, which can help remove water droplets adhering to the wall of the inner tube 42. After flushing, the heater 11 is controlled to distill for at least 5 minutes, and the distillation flask 10 is slowly heated to prevent boiling.

[0078] In the above embodiment, the position sensor is mainly used to monitor the position of the spray assembly, so that the position sensor can feed back the position of the spray assembly to the power assembly 6, wherein the position sensor and the power assembly 6 can be directly electrically connected, or both the position sensor and the power assembly 6 can be electrically connected to the control module 1, so that the control module 1 can adjust the position of the spray assembly according to real-time feedback to ensure that the spray assembly can effectively cover the entire area of ​​the inner tube 42 during the spraying operation, thereby improving the efficiency of distillation and condensation. At the same time, the position sensor can also ensure that the spray assembly will not move to an inappropriate position and cause damage to the equipment.

[0079] In the above embodiments, the power assembly 6 includes at least a motor and a transmission mechanism, so that the motor can provide power for the movement of the spray assembly, and the transmission mechanism can convert the rotational motion of the motor into the up and down movement of the spray assembly. The transmission mechanism generally includes structures such as gears, pulleys, and chains, and corresponding structures can be set as needed.

[0080] like Figure 3 As shown, in the above embodiments, the cross-sectional shape of the inner tube 42 is generally cylindrical and elliptical to facilitate the flow of gas and liquid, and the cross-sectional shape of the outer tube 41 is generally cylindrical and elliptical. The inner tube 42 is inserted into the outer tube 41. Both the inner tube 42 and the outer tube 41 should be made of corrosion-resistant materials. In addition, a water inlet and a water outlet should be provided on the outer tube 41 to facilitate the flow of cooling water.

[0081] In some embodiments, the spray assembly includes a spray head 17, which includes a main body 171 and a scraper portion 173 connected to each other. The main body 171 is provided with a water spray port 172, which is located above the scraper portion 173. The scraper portion 173 can abut against the inner wall of the inner tube 42.

[0082] In detail, the scraper portion 173 can effectively remove water droplets attached to the inner wall by contacting the inner wall of the inner tube 42, so that these water droplets can return to the distillation bottle 10 for redistillation, thereby improving the accuracy of water content detection. The scraper portion 173 can be set to a flat or curved shape so as to have good contact with the inner wall of the inner tube 42. The water spray port 172 is set above the scraper portion 173, so that when spraying water, the scraper portion 173 can be flushed by the liquid flow, and the scraper plate further assists the liquid flow to fully contact the inner wall of the inner tube 42 in the circumferential direction, thereby playing a role in fully cleaning the condensed water.

[0083] In some embodiments, the peristaltic pump 5 is connected to the water spray port 172 to drive the solvent to flow out of the water spray port 172 .

[0084] like Figure 5As shown, in some embodiments, a guide surface is provided on the periphery of the scraper portion 173 , and the guide surface gradually expands outward in the downward direction along the water spray port 172 . The water spray port 172 includes multiple water spray ports 172 , and the multiple water spray ports 172 are arranged along the circumference of the main body portion 171 .

[0085] Specifically, the setting of the guide surface helps to guide the solvent to the scraper portion 173, so as to clean the condensed water on the inner wall of the inner tube 42 in cooperation with the physical scraping of the scraper portion 173. The setting of the guide surface can slow down the flow rate of the solvent, making the liquid flow more smoothly, thereby ensuring full contact with the condensed water on the inner wall of the inner tube 42 and reducing the retention of condensed water on the wall surface of the inner tube 42. The water spray port 172 includes a plurality of water spray ports 172, which are arranged along the circumference of the main body 171, so that the water sprayed from the water spray port 172 can cover the entire contact surface between the scraper portion 173 and the inner wall of the inner tube 42, thereby achieving a better collection effect of water droplets.

[0086] The guide surface may be an inwardly concave arc surface, an outwardly convex arc surface, or an inclined plane.

[0087] It should be noted that, in the above-mentioned embodiment, during the process of the scraper portion 173 contacting the wall of the inner tube 42, the water spray port 172 is not always opened. The water spray port 172 may also be not opened, and the physical scraping effect of the scraper portion 173 is used alone to help the condensed water to be collected into the receiver 9.

[0088] like Figure 5 As shown, the scraper portion 173 is elastic and is configured to be a cone-shaped portion that is narrow at the top and wide at the bottom, so that the scraper portion 173 can be deformed to better fit the inner tube 42 .

[0089] like Figure 6 As shown, according to the method for detecting the water content of crude oil in the embodiment of the present application, using the above-mentioned water content analyzer, the method includes:

[0090] Step S10: heating the sample to be tested and detecting the height of the fog cluster in the condenser tube 4 in real time;

[0091] Step S20: controlling the heating temperature of the sample to be tested according to the height of the fog group;

[0092] Step S30: When the height of the fog mass meets the first preset range, the liquid level in the receiver 9 is detected in real time;

[0093] Step S40: When the liquid level is constant within the first preset time, stop heating the sample to be tested;

[0094] Step S50: After cooling the sample for the second preset time, reheat the sample and detect the liquid level in the receiver 9 in real time, repeating several times until the liquid level is constant within the first preset time, and then stop heating the sample;

[0095] Step S60: After the receiver 9 is cooled for a third preset time, the height of the liquid level in the receiver 9 is obtained.

[0096] In step S10, the control module 1 controls the heater 11 to heat the sample to be tested in the distillation flask 10, and detects the height of the fog group in the condenser 4 in real time through the first detection component. When the distillation flask 10 is initially heated, the heater 11 is controlled to slowly heat the distillation flask 10 for about 0.5h to 1h to prevent boiling and water loss of the sample to be tested. For example, in a specific embodiment, the condenser 4 includes an inner tube 42 and an outer tube 41, and the fog group cannot be higher than 3 / 4 of the inner tube 42 of the condenser 4. In order to make the fog group easy to condense, the fog group should be kept at a height approximately consistent with the cooling water inlet 16 as much as possible.

[0097] After the initial heating, the distillate should drip into the receiver 9 at a rate of (2-5) drops per second. By real-time monitoring of the height of the fog, it is helpful to monitor and judge the change of the water content in the sample in real time, thereby helping to improve the accuracy of the detection.

[0098] In step S20, the control module 1 controls the heating parameters of the heater 11 according to the height of the fog group detected by the first detection component, thereby controlling the heating temperature of the sample to be tested and preventing the sample from boiling. For example, in a specific embodiment, the condenser tube 4 includes an inner tube 42 and an outer tube 41, and the height of the fog group is monitored so that the height of the fog group does not exceed 50 mm of the height of the water inlet of the inner tube 42. In this way, dynamic adjustment of sample heating can be achieved, which helps to ensure that the sample is analyzed under the optimal test conditions, thereby improving the accuracy of the detection.

[0099] In step S30: when the control module 1 measures that the height of the fog group meets the first preset range, it controls the second detection component to detect the liquid level height in the receiver 9 in real time, thereby ensuring that the liquid level height is measured under appropriate conditions to avoid measurement errors caused by residual moisture.

[0100] The first preset range can be set as required.

[0101] In step S40, when the control module 1 determines that the liquid level remains constant within the first preset time according to the liquid level measured by the second detection component, the heater 11 stops heating the sample to be tested. In this way, the reliability of the data can be ensured by confirming the stability of the liquid level.

[0102] Before using the second detection component to determine the liquid level height of the receiver 9, it is necessary to calibrate the scale of the receiver 9 to determine the number of pixels between the two scale lines, and then determine the liquid level height corresponding to each pixel point, and record the scale line calibration result in the control module 1. After that, when using the second detection component to determine the liquid level height, read the pixel point of the lowest point of the concave liquid surface, and then identify the number of pixels corresponding to the actual liquid level, so as to determine the actual liquid level height.

[0103] Among them, the first preset time can be 5 minutes, 6 minutes, 7 minutes, 8 minutes, 9 minutes, 10 minutes, 15 minutes and 20 minutes.

[0104] It should be additionally explained that, if the liquid level in the receiver 9 is not measured to be a constant within the first preset time, step S30 is repeated until the liquid level in the receiver 9 is measured to be a constant within the first preset time.

[0105] In step S50, after cooling the sample for the second preset time, the control module 1 controls the heater 11 to reheat the sample, and when the control module 1 determines that the liquid level height remains constant within the first preset time according to the liquid level height measured by the second detection component, the control module 1 controls the heater 11 to stop heating the sample to be tested, and then cools the sample for the second preset time, the control module 1 controls the heater 11 to reheat the sample, and when the control module 1 determines that the liquid level height remains constant within the first preset time according to the liquid level height measured by the second detection component, the control module 1 controls the heater 11 to stop heating the sample to be tested, and this can be repeated several times as needed. In this way, the water content information of the sample can be obtained more comprehensively, the accuracy of the detection can be improved, and the data of each measurement can be analyzed and evaluated to avoid errors and ensure the reproducibility of the results.

[0106] In a specific embodiment, the above process is repeated twice, that is, heating is performed twice until the liquid level in the receiver 9 becomes constant within the first preset time.

[0107] The second preset time may be a time value set according to different samples, such as 15 min, 16 min, 17 min, 18 min, 19 min, 20 min, 25 min and 30 min, etc.

[0108] In step S60, the liquid level height measured by the second detection component after cooling can be used as the final water content data, further improving the stability of the measurement result.

[0109] In some embodiments, when the water analyzer includes a spray assembly and the condenser tube 4 includes an inner tube 42 and an outer tube 41,

[0110] After the sample to be tested is cooled for a second preset time, the spray assembly is controlled to move in the inner tube 42 and spray the solvent.

[0111] In the above steps, after cooling the sample to be tested for the second preset time, the control module 1 controls the spray assembly to move in the inner tube 42 and spray the solvent, which can effectively reduce the residual condensed water on the tube wall of the inner tube 42 .

[0112] In some embodiments, when the height of the fog mass meets the first preset range, real-time detection of the liquid level height in the receiver 9 specifically includes:

[0113] Step S32: acquiring a monitoring image of the receiver 9, and selecting a liquid level recognition area in the monitoring image;

[0114] Step S34: grayscale processing is performed on the image of the liquid level recognition area;

[0115] Step S36: Determine the position of the target pixel whose gray value is 0 or 255;

[0116] Step S38: Determine the position of the target pixel as the liquid level height.

[0117] In step S32, the control module 1 obtains the monitoring image of the receiver 9 through the second detection component, and selects a liquid level identification area in the monitoring image, which is an area where the liquid level may change. In this way, the amount of calculation for subsequent processing can be reduced and the detection efficiency can be improved. At the same time, interference factors can be avoided to ensure the accuracy of liquid level detection.

[0118] In step S34, the control module 1 performs grayscale processing on the image of the liquid level recognition area, so that only single-channel data needs to be processed, and the edge features of the liquid surface and the liquid can be emphasized, which is helpful for subsequent threshold processing.

[0119] In step S36, in the grayscale image, the liquid surface will present a specific grayscale value, such as 0 or 255. The control module 1 can determine the position of the liquid level by identifying these grayscale values. Since 0 or 255 represents the extreme brightness in the grayscale image (0 represents black, 255 represents white), it can correspond to the interface between the liquid and the air. Therefore, the liquid level can be accurately located. In this way, by selecting extreme values, errors caused by factors such as lighting changes can be reduced.

[0120] In step S38, the control module 1 determines the corresponding liquid level height according to the position of the target pixel point found in step S36 and the result of pixel calibration. In this way, the liquid level information can be directly extracted from the image to achieve rapid real-time monitoring. At the same time, through the automated image processing method, manual intervention is reduced and the system stability of the water content analyzer is improved.

[0121] An electronic device according to an embodiment of the present application includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the above-mentioned method for detecting the water content in crude oil by running the program stored in the memory.

[0122] The memory can be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to a method for detecting water content in crude oil in an embodiment of the present application. The processor executes various functional applications and data processing by running the computer program stored in the memory, that is, implementing the above method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0123] The transmission device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer. In one example, the transmission device includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet.

[0124] In one example, the transmission device may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0125] In some embodiments, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0126] According to the storage medium of the embodiment of the present application, the storage medium includes a stored program, wherein the above-mentioned crude oil water content detection method is executed when the program is run.

[0127] In some embodiments, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0128] The computer may include one or more processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory for storing data. In some embodiments, the above-mentioned computer may also include a transmission device and input and output devices for communication functions.

[0129] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive and therefore specify the presence of stated features, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0130] Although the terms first, second, third, etc. can be used in the text to describe multiple elements, components, regions, layers and / or sections, these elements, components, regions, layers and / or sections should not be limited by these terms. These terms can only be used to distinguish an element, component, region, layer or section from another region, layer or section. Unless the context clearly indicates, terms such as "first", "second" and other numerical terms do not imply order or sequence when used in the text. Therefore, the first element, component, region, layer or section discussed below can be referred to as the second element, component, region, layer or section without departing from the teaching of the example embodiments.

[0131] The above is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features applied herein.

Claims

1. A water content analyzer, characterized in that: It includes a control module, a heater and a distillation system. The distillation system includes a distillation flask, a condenser and a receiver connected in sequence. The control module includes a first detection component and a control module. The control module is electrically connected to the first detection component and the heater. The first detection component is opposite to the condenser to detect the height of the fog group in the condenser. The control module is used to control the heating parameters of the heater according to the detection parameters of the first detection component.

2. The water content analyzer according to claim 1, characterized in that: The first detection component includes a first CCD camera and a first detection light source, and the first CCD camera and the first detection light source are respectively arranged on both sides of the condenser.

3. The water content analyzer according to claim 2, characterized in that: It also includes a second detection component and an output module. The second detection component is opposite to the receiver to detect the liquid level in the receiver. The output module and the second detection component are both electrically connected to the control module. The control module is used to control the output module to output corresponding result data according to the detection parameters of the second detection component.

4. The water content analyzer according to claim 3, characterized in that: The second detection component includes a second CCD camera and a second detection light source, and the second CCD camera and the second detection light source are respectively arranged on both sides of the receiver.

5. The water content analyzer according to claim 4, characterized in that: It also includes a light shielding plate, wherein the light shielding plate, the first detection light source and the second detection light source are all located on the same side, and the light shielding plate is located outside the first detection light source and the second detection light source.

6. The water content analyzer according to claim 1, characterized in that: It also includes a cooling water circulation system, a power component, a spray component and a position sensor. The condenser includes an inner tube and an outer tube. The inner tube is connected to the distillation flask and the receiver at the same time. The outer tube is used to communicate with the cooling water circulation system. The spray component is opposite to the inner tube. The power component is transmission-connected to the spray component to drive the spray component to move up and down along the inner tube. The position sensor is electrically connected to the power component to feedback the position of the spray component.

7. The water content analyzer according to claim 6, characterized in that: The spray assembly includes a spray head, which includes a main body and a scraper part connected to each other. The main body is provided with a water spray port, and the water spray port is located above the scraper part. The scraper part can abut against the inner wall of the inner tube.

8. The water content analyzer according to claim 7, characterized in that: A guide surface is provided on the outer periphery of the scraper portion, and the guide surface gradually expands outward in a downward direction along the water spray port. The water spray port includes a plurality of water spray ports, and the plurality of water spray ports are arranged along the circumference of the main body portion.

9. A method for detecting water content in crude oil, using the water content analyzer according to any one of claims 1 to 8, characterized in that: include: Heat the sample to be tested and detect the height of the fog in the condenser tube in real time; Controlling the heating temperature of the sample to be tested according to the height of the fog group; When the height of the fog mass meets a first preset range, real-time detection of the liquid level in the receiver; When the liquid level is constant within a first preset time, stopping heating the sample to be tested; After cooling the sample for the second preset time, reheating the sample and detecting the liquid level in the receiver in real time, repeating this process several times until the liquid level is constant within the first preset time, and then stopping heating the sample; After the receiver is cooled for a third preset time, the height of the liquid level in the receiver is obtained.

10. The method for detecting water content in crude oil according to claim 9, characterized in that: When the water analyzer includes a spray assembly and the condenser includes an inner tube and an outer tube, After cooling the sample to be tested for a second preset time, the spray assembly is controlled to move in the inner tube and spray the solvent.

11. The method for detecting water content in crude oil according to claim 9, characterized in that: When the height of the fog mass meets the first preset range, real-time detection of the liquid level height in the receiver specifically includes: Acquire a monitoring image of the receiver, and select a liquid level identification area in the monitoring image; Performing grayscale processing on the image of the liquid level recognition area; Determine the position of the target pixel with a gray value of 0 or 255; The position of the target pixel point is determined as the liquid level height.

12. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; wherein: Memory, used to store computer programs; A processor is used to execute the crude oil water content detection method as described in claims 9-11 by running the program stored in the memory.

13. A storage medium, characterized in that: The storage medium includes a stored program, wherein the program executes the crude oil water content detection method as described in claims 9-11 when running.