Method, device and electronic device for adjusting viscosity of crude oil

By determining the electromagnetic field frequency and vibration amplitude of crude oil samples, and using an inverter to generate a target attenuating magnetic field, the problems of high energy consumption, equipment wear, and environmental pollution in reducing crude oil viscosity in existing technologies have been solved, thereby improving the fluidity and transportation safety of crude oil.

CN120274214BActive Publication Date: 2025-12-30PIPECHINA SOUTH CHINA CO +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510424088.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-07
Publication Date
2025-12-30
Estimated Expiration
2045-04-07

AI Technical Summary

Technical Problem

Existing technologies for reducing crude oil viscosity suffer from problems such as high energy consumption, complex operation, severe equipment wear, environmental pollution caused by solvent use, and changes in crude oil composition.

Method used

By determining the electromagnetic field frequency and vibration amplitude of the crude oil sample, an inverter is used to generate a target attenuating magnetic field, thereby adjusting the crude oil viscosity to improve fluidity and avoid the use of solvents.

Benefits of technology

It simplifies operations, reduces costs, avoids environmental pollution, ensures crude oil quality, and improves crude oil fluidity and transportation safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120274214B_ABST
    Figure CN120274214B_ABST
Patent Text Reader

Abstract

The application discloses a method, device and electronic equipment for adjusting crude oil viscosity. The specific scheme is as follows: according to attribute information of a crude oil sample in a target pipeline, a first electromagnetic field frequency corresponding to the crude oil sample is determined; according to flow information of the crude oil sample in the target pipeline, a first vibration amplitude and an attenuation coefficient corresponding to the target pipeline are determined; based on the first electromagnetic field frequency, the first vibration amplitude, the attenuation coefficient, an amplitude attenuation model and a frequency attenuation model, target control parameters of an inverter generating a target attenuation magnetic field are determined; and the inverter arranged in the target pipeline is controlled to excite the target attenuation magnetic field according to the target control parameters, so as to adjust the viscosity of the crude oil sample in the target pipeline based on the target attenuation magnetic field. The application reduces the viscosity of the crude oil sample in the target pipeline through the target attenuation magnetic field, improves the flowability of the crude oil in the target pipeline, and guarantees the safety of crude oil transportation and processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, and electronic device for adjusting crude oil viscosity. Background Technology

[0002] Crude oil is unprocessed petroleum. It typically has high viscosity, especially at low temperatures. High-viscosity crude oil generally has poor flowability, making it unsuitable for processing and transportation.

[0003] Currently, existing technologies primarily reduce crude oil viscosity through heat treatment, solvent addition, or mechanical shearing. However, heat treatment suffers from high energy consumption, complex operation, and the inability to guarantee crude oil quality. While solvent addition can reduce viscosity, the solvents used not only alter the crude oil's composition, increasing the difficulty of subsequent processing, but also potentially causing environmental pollution. Mechanical shearing reduces viscosity through external force, resulting in limited viscosity reduction and requiring sophisticated equipment that is prone to wear and tear, thus increasing hardware costs. Summary of the Invention

[0004] This invention provides a method, apparatus, and electronic device for adjusting the viscosity of crude oil. By using a target attenuating magnetic field, the viscosity of crude oil samples in a target pipeline is reduced, thereby improving the fluidity of the crude oil in the target pipeline and ensuring the safety of crude oil transportation and processing.

[0005] According to one aspect of the present invention, a method for adjusting crude oil viscosity is provided, the method comprising:

[0006] Based on the property information of the crude oil sample in the target pipeline, determine the first electromagnetic field frequency corresponding to the crude oil sample;

[0007] Based on the flow rate information of the crude oil sample in the target pipeline, determine the first vibration amplitude and attenuation coefficient corresponding to the target pipeline;

[0008] Based on the first electromagnetic field frequency, the first vibration amplitude, the attenuation coefficient, the amplitude attenuation model, and the frequency attenuation model, the target control parameters of the inverter that generates the target attenuation magnetic field are determined.

[0009] The inverter deployed in the target pipeline controls the excitation of the target decaying magnetic field based on the target control parameters, so as to adjust the viscosity of the crude oil sample in the target pipeline based on the target decaying magnetic field.

[0010] According to another aspect of the present invention, an apparatus for adjusting the viscosity of crude oil is provided, the apparatus comprising:

[0011] The electromagnetic field frequency determination module is used to determine the first electromagnetic field frequency corresponding to the crude oil sample based on the property information of the crude oil sample in the target pipeline.

[0012] The amplitude and attenuation coefficient determination module is used to determine the first vibration amplitude and attenuation coefficient corresponding to the target pipeline based on the flow rate information of the crude oil sample in the target pipeline.

[0013] The target control parameter determination module is used to determine the target control parameters of the inverter that generates the target decaying magnetic field based on the first electromagnetic field frequency, the first vibration amplitude, the attenuation coefficient, the amplitude attenuation model, and the frequency attenuation model.

[0014] The viscosity adjustment module is used to control the inverter deployed in the target pipeline to excite the target decaying magnetic field according to the target control parameters, so as to adjust the viscosity of the crude oil sample in the target pipeline based on the target decaying magnetic field.

[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0016] At least one processor; and

[0017] A memory that is communicatively connected to at least one processor; wherein,

[0018] The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to perform a method for adjusting crude oil viscosity according to any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided that stores computer instructions for causing a processor to execute a method for adjusting crude oil viscosity according to any embodiment of the present invention.

[0020] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, characterized in that, when executed by a processor, the computer program implements a method for adjusting crude oil viscosity as described in any embodiment of the present invention.

[0021] The technical solution of this invention determines the first electromagnetic field frequency corresponding to the crude oil sample by using the attribute information of the crude oil sample in the target pipeline. Based on the flow rate information of the crude oil sample in the target pipeline, the first vibration amplitude and attenuation coefficient corresponding to the target pipeline are determined. Based on this, the first electromagnetic field frequency, first vibration amplitude, and attenuation coefficient required to construct the target attenuating magnetic field are obtained. Based on the first electromagnetic field frequency, first vibration amplitude, attenuation coefficient, amplitude attenuation coefficient, and frequency attenuation model, the target control parameters of the inverter generating the target attenuating magnetic field are determined. The inverter deployed in the target pipeline is controlled to excite the target attenuating magnetic field according to the target control parameters, thereby adjusting the viscosity of the crude oil sample in the target pipeline based on the target attenuating magnetic field. This invention, by applying the target attenuating magnetic field to the crude oil sample in the target pipeline, avoids the use of solvents, reduces the risk of environmental pollution, simplifies the operation of adjusting crude oil viscosity, and reduces the cost of adjusting crude oil viscosity. While ensuring crude oil quality, it reduces the viscosity of the crude oil sample in the target pipeline through the target attenuating magnetic field, improves the fluidity of the crude oil in the target pipeline, and ensures the safety of crude oil transportation and processing.

[0022] 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

[0023] 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.

[0024] Figure 1 This is a flowchart of a method for adjusting crude oil viscosity provided in an embodiment of the present invention;

[0025] Figure 2 This is a flowchart of a method for adjusting crude oil viscosity provided in an embodiment of the present invention;

[0026] Figure 3 This is a flowchart illustrating a method for adjusting crude oil viscosity provided in an embodiment of the present invention.

[0027] Figure 4 This is a schematic diagram of a device for adjusting crude oil viscosity provided in an embodiment of the present invention;

[0028] Figure 5 This is a schematic diagram of the structure of an electronic device for implementing the method for adjusting crude oil viscosity according to an embodiment of the present invention. Detailed Implementation

[0029] 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.

[0030] 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.

[0031] Example 1

[0032] Figure 1 This is a flowchart of a method for adjusting crude oil viscosity according to Embodiment 1 of the present invention. This embodiment is applicable to situations where an inverter deployed on a target pipeline applies a target attenuating magnetic field to a crude oil sample in the target pipeline according to target control parameters, thereby adjusting the crude oil viscosity in the target pipeline. This method can be executed by a device for adjusting crude oil viscosity, which can be implemented in hardware and / or software and can be configured in electronic devices such as mobile phones, computers, or servers. Figure 1 As shown, the method includes:

[0033] S110. Based on the property information of the crude oil sample in the target pipeline, determine the first electromagnetic field frequency corresponding to the crude oil sample.

[0034] In crude oil transportation, crude oil is typically transported through pipelines. To ensure safety during transportation, the viscosity of the crude oil in the pipeline can be adjusted to avoid poor flowability due to excessively high viscosity, which could compromise transportation safety. The pipeline currently carrying the crude oil can be designated as the target pipeline. A portion of the crude oil in the target pipeline can be used as a crude oil sample. That is, the crude oil sample in the target pipeline can represent all the crude oil in the target pipeline. It should be noted that since the crude oil in the target pipeline is usually waxy, the crude oil sample is also a waxy crude oil sample.

[0035] Attribute information can be used to characterize the properties of crude oil samples. Attribute information can include at least one chemical component in the crude oil sample and the corresponding chemical formula for each chemical component. Since crude oil samples are mixtures, they contain at least one chemical component. A chemical component can be understood as a compound in the crude oil sample. The chemical formula can be used to determine the molecular structure of the chemical component. The first electromagnetic field frequency can be understood as the frequency of the electromagnetic field acting on the crude oil sample. The electromagnetic field frequency can be understood as the number of periodic changes in the electromagnetic field per unit time, and is a physical quantity used to describe the speed of electromagnetic field fluctuations.

[0036] Specifically, the crude oil sample in the target pipeline undergoes component analysis to determine its chemical composition and the corresponding chemical formula for each component. This chemical composition and formula are then used as the crude oil sample's attribute information. Based on the chemical composition and formula in the attribute information, the molecular vibration frequency of each chemical component is determined. Based on this molecular vibration frequency, a first electromagnetic field frequency compatible with the crude oil sample is then determined.

[0037] In this invention, the method for determining the first electromagnetic field frequency may be as follows: for at least one chemical component, the force constant and reduced mass of the chemical component are determined according to the chemical formula corresponding to the chemical component; wherein, the force constant is determined based on the chemical bonds in the chemical formula; the initial vibration frequency of at least one chemical component is determined according to the force constant and reduced mass of at least one chemical component; and the first electromagnetic field frequency of the crude oil sample is determined according to the initial vibration frequency of at least one chemical component.

[0038] The force constant is a parameter used to characterize the strength of chemical bonds in a chemical formula, reflecting the relationship between bond length changes and energy changes during stretching vibrations. Optionally, the force constant can be determined using the following force constant determination function.

[0039]

[0040] Where k is the force constant corresponding to the chemical bond in the chemical composition, V is the potential energy corresponding to the chemical bond, and r is the bond length of the chemical bond.

[0041] Reduced mass is a physical quantity used to describe the vibrations of molecules or ions in a chemical composition. Taking a compound whose chemical composition is a diatomic molecule as an example, the reduced mass can be determined by the following reduced mass determination function.

[0042]

[0043] Where μ represents the reduced mass corresponding to the chemical bond in the chemical composition, m1 represents the mass of the first atom in the chemical composition, and m2 represents the mass of the second atom in the chemical composition. The initial vibrational frequency can be understood as the molecular vibrational frequency corresponding to the chemical composition. The molecular vibrational frequency refers to the frequency of periodic back-and-forth motion between atoms within a molecule. Optionally, taking a compound whose chemical composition is a diatomic molecule as an example, the initial vibrational frequency can be determined by the following simple harmonic vibration function.

[0044]

[0045] Where V' represents the initial vibration frequency corresponding to the chemical component, k represents the force constant corresponding to the chemical bond in the chemical component, and μ represents the reduced mass corresponding to the chemical bond in the chemical component.

[0046] Specifically, a component analysis is performed on the crude oil sample to identify at least one chemical component and determine the corresponding chemical formula for each component. For all chemical components in the crude oil sample, based on the corresponding chemical formula, the force constants of the chemical bonds in the current chemical component are determined using a force constant determination function, and the reduced masses of the atoms at both ends of the chemical bonds in the current chemical component are determined using a reduced mass determination function. Based on the force constants and reduced masses of the chemical bonds, the initial vibration frequency corresponding to the current chemical component is determined using a simple harmonic vibration function. The initial vibration frequency of each chemical component in the crude oil sample can be determined in the above manner. Based on this, the initial vibration frequency corresponding to each chemical component in the crude oil sample is obtained. Based on the initial vibration frequencies of all chemical components in the crude oil sample, the first electromagnetic field frequency corresponding to the initial vibration frequency is determined.

[0047] Optionally, the crude oil sample is composed of at least one complex hydrocarbon (chemical composition). Each hydrocarbon has a different initial vibrational frequency, so the initial vibrational frequency of each hydrocarbon can be calculated separately. If the hydrocarbon is a pre-defined simple molecule, the initial vibrational frequency can be determined using the simple harmonic vibration function described above. If the hydrocarbon is a diatomic molecule, the reduced mass can be determined using the harmonic mean of the atomic masses of the two atoms in the hydrocarbon, and thus the initial vibrational frequency can be determined. If the hydrocarbon is a pre-defined complex molecule, it may contain multiple chemical bonds. The vibrational frequency of each chemical bond can be calculated using the simple harmonic vibration function described above. Then, based on the proportion of each chemical bond in the hydrocarbon, the vibrational frequency of each chemical bond is multiplied by the corresponding proportion to determine the molecular vibrational frequency of the hydrocarbon, i.e., the initial vibrational frequency.

[0048] In this embodiment of the invention, the method for determining the first electromagnetic field frequency of a crude oil sample based on the initial vibration frequency may be as follows: obtaining the content ratio information of at least one chemical component in the crude oil sample, and after normalizing the content ratio information, obtaining the first ratio information corresponding to at least one chemical component; determining the target vibration frequency of the crude oil sample based on the first ratio information corresponding to at least one chemical component and the corresponding initial vibration frequency; and determining the first electromagnetic field frequency based on the target vibration frequency.

[0049] The content ratio information can be used to characterize the proportion of a chemical component in a crude oil sample. The first ratio information can be obtained by normalizing the content ratio information of each chemical component. The target vibrational frequency can be used to characterize the overall molecular vibrational frequency corresponding to the crude oil sample. Optionally, the first electromagnetic field frequency can be consistent with the target vibrational frequency, or the first electromagnetic field frequency can be determined based on the target vibrational frequency and a preset adjustment coefficient. The adjustment coefficient can be a pre-set value. For example, the first electromagnetic field frequency can fall within the range of the target vibrational frequency plus or minus the adjustment coefficient.

[0050] Specifically, since a crude oil sample contains at least one chemical component, each chemical component is insufficient to represent the overall vibration frequency of the crude oil sample. Therefore, the target vibration frequency of the crude oil sample can be determined based on the initial vibration frequency corresponding to each chemical component. The specific method can be as follows: Obtain the content ratio information of all chemical components in the crude oil sample. Normalize the content ratio information of all chemical components in the crude oil sample to obtain the first ratio information corresponding to each chemical component. Multiply the first ratio information corresponding to each chemical component with the corresponding initial vibration frequency to obtain the multiplication result corresponding to each chemical component. Sum the multiplication results corresponding to all chemical components in the crude oil sample to obtain the target vibration frequency of the crude oil sample. Based on the target vibration frequency and a preset adjustment coefficient, determine the first electromagnetic field frequency corresponding to the crude oil sample. Then, using the first electromagnetic field frequency and other parameters used to excite the target attenuation magnetic field, a target attenuation magnetic field acting on the crude oil sample in the target pipeline can be excited. It should be noted that the other parameters used to excite the target attenuation magnetic field can be the first vibration amplitude and the attenuation coefficient.

[0051] S120. Based on the flow rate information of the crude oil sample in the target pipeline, determine the first vibration amplitude and attenuation coefficient corresponding to the target pipeline.

[0052] The flow rate information can be used to characterize the volume of crude oil sample passing through the target pipe cross-section per unit time. The first vibration amplitude can be understood as the maximum intensity of the electromagnetic field acting on the crude oil sample. The first vibration amplitude reflects the vibration intensity of the electromagnetic field acting on the crude oil sample. A larger first vibration amplitude indicates a larger vibration intensity of the electromagnetic field acting on the crude oil sample. The attenuation coefficient can be used to characterize the degree of attenuation of the amplitude or frequency of the electromagnetic wave corresponding to the electromagnetic field acting on the crude oil sample during propagation.

[0053] Specifically, based on the flow rate information of the crude oil sample in the target pipeline, a first vibration amplitude and attenuation coefficient matching the flow rate information are determined, so that the electromagnetic field corresponding to the first electromagnetic field frequency, the first vibration amplitude, and the attenuation coefficient can act on the crude oil sample in the target pipeline.

[0054] S130. Based on the first electromagnetic field frequency, the first vibration amplitude, the attenuation coefficient, the amplitude attenuation model, and the frequency attenuation model, determine the target control parameters of the inverter that generates the target attenuation magnetic field.

[0055] The amplitude decay model is a mathematical model that can be used to characterize the decay of vibration amplitude over time. The amplitude decay model can be represented as follows:

[0056]

[0057] Where A(t) represents the vibration amplitude at time t, A0 represents the initial vibration amplitude, α and β are adjustment coefficients, and n and m are polynomial orders.

[0058] The frequency decay model is a mathematical model that can be used to characterize the decay of electromagnetic field frequency over time. The frequency decay model can be illustrated as follows.

[0059] ω(t)=ω0(e -rt +δ·sin(λt))

[0060] Where ω(t) represents the electromagnetic field frequency at time t, ω0 represents the initial electromagnetic field frequency, γ represents the attenuation coefficient, and δ and λ represent control parameters. If the vibration amplitude A(t) at time t is the first vibration amplitude and the electromagnetic field frequency at time t is the first electromagnetic field frequency, then it means that the corresponding target attenuating magnetic field can be generated at time t.

[0061] An inverter is used to convert DC power to AC power and regulate the current waveform using pulse width modulation (PWM) control technology to generate a target decaying magnetic field acting on the crude oil sample in the target pipeline. For example, the inverter can be a single-phase five-level inverter, and the target decaying magnetic field is generated based on the single-phase five-level inverter and the corresponding controller. The target decaying magnetic field can be understood as the electromagnetic field acting on the crude oil sample in the target pipeline. It should be noted that the target decaying magnetic field can be determined by the first electromagnetic field frequency, the first vibration amplitude, and the attenuation coefficient. The target control parameters can be the control parameters used to generate the target decaying magnetic field. The target control parameters can be parameters obtained by adjusting the adjustment coefficients in the amplitude attenuation model and the control parameters in the frequency attenuation model. For example, if the vibration amplitude A(t) at time t is the same as the first vibration amplitude, and the electromagnetic field frequency ω(t) at time t is the same as the first electromagnetic field frequency, then the target control parameters are the adjustment coefficients α and β in the amplitude attenuation model at this time, and the control parameters δ and λ in the frequency attenuation model.

[0062] Specifically, based on actual needs, the initial vibration amplitude and initial electromagnetic field frequency corresponding to the inverter are set. The initial vibration amplitude is substituted into the amplitude attenuation model, with the vibration amplitude corresponding to a preset time as the first vibration amplitude as the target. The adjustment coefficient in the amplitude attenuation model is adjusted to obtain the adjusted adjustment coefficient. The initial electromagnetic field frequency and attenuation coefficient are substituted into the frequency attenuation model, with the electromagnetic field frequency corresponding to a preset time as the first electromagnetic field frequency as the target. The control parameters in the frequency attenuation model are adjusted to obtain the adjusted control parameters. When it is detected that the vibration amplitude output by the amplitude attenuation model at the preset time is consistent with the first vibration amplitude, and the electromagnetic field frequency output by the frequency attenuation coefficient at the preset time is consistent with the first electromagnetic field frequency, the adjusted adjustment coefficient and the adjusted control parameters are used as the target control parameters. Based on this, the inverter can generate the target attenuated magnetic field.

[0063] It should be noted that the target pipeline can transport different types of crude oil. Therefore, for different types of crude oil, the corresponding target control parameters can be determined in the above manner, so that the inverter can excite the corresponding target attenuation magnetic field based on the target control parameters, so as to act on the corresponding crude oil and achieve the adjustment of crude oil viscosity.

[0064] S140. The inverter deployed in the target pipeline controls the target control parameters to excite the target decaying magnetic field, so as to adjust the viscosity of the crude oil sample in the target pipeline based on the target decaying magnetic field.

[0065] The target attenuation magnetic field can be the electromagnetic field corresponding to the sinusoidal wave output by the inverter based on the target control parameters. Crude oil sample viscosity can be understood as the magnitude of the internal friction force generated between the layers of the crude oil sample due to relative motion during flow. Crude oil sample viscosity is used to characterize the ease or difficulty of crude oil flow. Crude oil samples with higher viscosity have poorer flowability; crude oil samples with lower viscosity have better flowability.

[0066] Specifically, the inverter deployed in the target pipeline outputs a corresponding sine wave according to the target control parameters, which excites the target attenuation magnetic field. The crude oil sample in the target pipeline is then processed based on the target attenuation magnetic field to adjust the polarization state of the molecules in the crude oil sample and adjust the viscosity of the crude oil sample in the target pipeline.

[0067] Optionally, adjusting the viscosity of the crude oil sample in the target pipeline based on the target attenuating magnetic field can be achieved by reducing the viscosity of the crude oil sample in the target pipeline based on the target attenuating magnetic field. The sine wave corresponding to the target attenuating magnetic field can be represented by the following function:

[0068]

[0069] Where V(t) represents the sine wave at time t, and A(t) represents the vibration amplitude at time t, i.e., the first vibration amplitude. Indicates the instantaneous phase.

[0070] It should be noted that when the inverter generates the target decaying magnetic field based on the target control parameters, it may simultaneously generate corresponding harmonics. To ensure the stability of the inverter's output waveform, a harmonic suppression term can be introduced to suppress third and higher harmonic components. Accordingly, the sine wave corresponding to the target decaying magnetic field can be represented by the following function:

[0071]

[0072] Where V(t) represents the sine wave at time t, and A(t) represents the vibration amplitude at time t, i.e., the first vibration amplitude. Indicates instantaneous phase, This represents the harmonic suppression term, and k represents the harmonic order.

[0073] Optionally, the method further includes: detecting the temperature information of the inverter based on a temperature detection device deployed on the inverter; and sending a warning message to the target terminal when the temperature information does not meet preset conditions.

[0074] The temperature detection device is used to monitor the equipment temperature during inverter operation. The temperature information represents the equipment temperature during inverter operation. Preset conditions can be pre-defined, ensuring the temperature information meets a preset range during normal inverter operation. Warning messages can be used to alert relevant personnel when the inverter's equipment temperature is too high or too low. Personnel can then adjust the inverter based on the warning messages to ensure its normal operation. Warning messages can be sent via telephone, email, SMS, etc. The target terminal can be the relevant personnel's mobile phone, computer, or other terminal devices.

[0075] Specifically, the temperature detection device deployed on the inverter monitors the inverter's temperature in real time, obtaining the inverter's temperature information. If the inverter's temperature falls outside the preset temperature range, indicating a failure to meet preset conditions, an early warning message is generated and sent to the relevant personnel's target terminal. Upon receiving the warning message, the relevant personnel can activate the cooling or heat dissipation system to cool the inverter, preventing performance degradation due to high-temperature overload and ensuring the inverter's normal and efficient operation.

[0076] Optionally, the method further includes: acquiring a crude oil sample while the inverter operates for a preset time based on the target control parameters, and placing the crude oil sample in a cooling constant temperature container; and detecting the viscosity information of the crude oil sample in the cooling constant temperature container at different temperatures using a viscosity meter.

[0077] The preset duration can be pre-set, representing the magnetization duration of the target attenuating magnetic field acting on the crude oil sample in the target pipeline. The crude oil sample can be a crude oil sample obtained from the target pipeline. The cooling isothermal container can be a device used to cool the crude oil sample. For example, the cooling isothermal container can be an isothermal cooling bath. The viscosity meter can be used to detect the viscosity information of the crude oil sample at different temperatures in the cooling isothermal container. The viscosity information is the viscosity of the crude oil sample.

[0078] Specifically, when the inverter operates for a preset duration based on the target control parameters, a crude oil sample is obtained from the target pipeline. The crude oil sample is placed in a cooling isothermal container for cooling, and during the cooling process, a viscosity meter is used to detect the viscosity information of the crude oil sample in the cooling isothermal container at different temperatures, so as to determine whether the target attenuating magnetic field in the target pipeline needs to be adjusted based on the viscosity information.

[0079] Optionally, the magnetization duration can be adjusted when the viscosity information is higher than a preset viscosity threshold.

[0080] The preset viscosity threshold can be a pre-set viscosity threshold for crude oil samples at different temperatures. The magnetization duration can be the length of time that the target decaying magnetic field acts on the crude oil sample in the target pipeline for magnetization.

[0081] Specifically, for viscosity information at different temperatures, it is determined whether the viscosity information at each temperature reaches the preset viscosity threshold for that temperature. If the viscosity information is higher than the preset viscosity threshold, it indicates that the viscosity of the crude oil sample may be higher than the preset viscosity threshold due to the short magnetization duration of the target attenuating magnetic field acting on the crude oil sample in the target pipeline. In this case, the magnetization duration of the target attenuating magnetic field acting on the crude oil sample in the target pipeline can be extended. Conversely, if the viscosity information is lower than or equal to the preset viscosity threshold, the magnetization duration is not adjusted.

[0082] Optionally, a temperature detection device can be deployed on the target pipeline to monitor the temperature of the crude oil sample within the pipeline. If the crude oil temperature is below a preset temperature, it indicates that the viscosity of the crude oil sample in the target pipeline is high, and the inverter then applies a target attenuating magnetic field to the crude oil sample. If the crude oil temperature is above the preset temperature, it indicates that the viscosity of the crude oil sample in the target pipeline is low and it has a certain degree of fluidity, and the application of the target attenuating magnetic field to the crude oil sample can be stopped. This ensures that the crude oil sample in the target pipeline maintains a certain viscosity and avoids the problem of excessively high equipment temperature caused by continuous inverter operation, thus extending the inverter's lifespan.

[0083] The technical solution of this embodiment determines the first electromagnetic field frequency corresponding to the crude oil sample by using the attribute information of the crude oil sample in the target pipeline. Based on the flow rate information of the crude oil sample in the target pipeline, the first vibration amplitude and attenuation coefficient corresponding to the target pipeline are determined. Based on this, the first electromagnetic field frequency, first vibration amplitude, and attenuation coefficient required to construct the target attenuating magnetic field are obtained. Based on the first electromagnetic field frequency, first vibration amplitude, attenuation coefficient, amplitude attenuation coefficient, and frequency attenuation model, the target control parameters of the inverter generating the target attenuating magnetic field are determined. The inverter deployed in the target pipeline is controlled to excite the target attenuating magnetic field according to the target control parameters, thereby adjusting the viscosity of the crude oil sample in the target pipeline based on the target attenuating magnetic field. This invention, by using an inverter that generates the target attenuating magnetic field on the crude oil sample in the target pipeline, avoids the use of solvents, reduces the risk of environmental pollution, simplifies the operation of adjusting crude oil viscosity, reduces the cost of adjusting crude oil viscosity, and while ensuring crude oil quality, reduces the viscosity of the crude oil sample in the target pipeline through the target attenuating magnetic field, improving the fluidity of the crude oil in the target pipeline and ensuring the safety of crude oil transportation and processing.

[0084] Example 2

[0085] Figure 2 This is a flowchart of a method for adjusting crude oil viscosity according to Embodiment 2 of the present invention. This embodiment is a refinement of the step "determining the target control parameters of the inverter that generates the target attenuating magnetic field based on the first electromagnetic field frequency, the first vibration amplitude, the attenuation coefficient, the amplitude attenuation model, and the frequency attenuation model" based on the above embodiment. For specific implementation details, please refer to the technical solution of this embodiment. Technical terms that are the same as or corresponding to those in the above embodiments will not be repeated here. Figure 2 As shown, the method includes:

[0086] S210. Based on the property information of the crude oil sample in the target pipeline, determine the first electromagnetic field frequency corresponding to the crude oil sample.

[0087] S220. Based on the flow rate information of the crude oil sample in the target pipeline, determine the first vibration amplitude and attenuation coefficient corresponding to the target pipeline.

[0088] S230. Obtain the initial control parameters of the inverter, wherein the initial control parameters are the parameters to be adjusted in the amplitude attenuation model and the frequency attenuation model.

[0089] The initial control parameters are the parameters to be adjusted in the amplitude attenuation model and the frequency attenuation model. These parameters are the adjustment coefficients in the amplitude attenuation model and the control parameters in the frequency attenuation model, as mentioned above.

[0090] Specifically, based on actual needs, the initial vibration amplitude and initial electromagnetic field frequency corresponding to the inverter are set. The adjustment coefficient in the amplitude attenuation model and the control parameters in the frequency attenuation model are obtained. These are used as initial control parameters, and the initial control parameters are adjusted using the first electromagnetic field frequency, the first vibration amplitude, and the attenuation coefficient to obtain the target control parameters corresponding to the target attenuated magnetic field.

[0091] S240, based on the amplitude attenuation model and the frequency attenuation model, simulates the simulated amplitude and simulated electromagnetic field frequency at a preset time.

[0092] The simulated amplitude can be understood as the vibration amplitude output by the amplitude decay model at a preset time. The simulated electromagnetic field frequency can be understood as the electromagnetic field frequency output by the frequency decay model at a preset time. It should be noted that the simulated amplitude and simulated electromagnetic field frequency can be obtained through corresponding sensors.

[0093] Specifically, the initial vibration amplitude corresponding to the inverter is input into the amplitude decay model, and the simulated amplitude at the preset time is determined based on the adjustment coefficient in the amplitude decay model. The initial electromagnetic field frequency and decay coefficient corresponding to the inverter are input into the frequency decay model, and the simulated electromagnetic field frequency at the preset time is determined based on the control parameters of the frequency decay model.

[0094] For example, the initial vibration amplitude A0 is substituted into the amplitude attenuation model. In the process, based on the adjustment coefficients α and β in the amplitude attenuation model, the simulated amplitude A(t) corresponding to the preset time t is determined. The initial electromagnetic field frequency ω0 and the attenuation coefficient γ are substituted into the frequency attenuation model ω(t)=ω0(e -rt In +δ·sin(λt)), and based on the control parameters δ and λ in the frequency decay model, the simulated electromagnetic field frequency ω(t) corresponding to the preset time t is determined.

[0095] S250. When the simulated amplitude and the first vibration amplitude meet the first preset condition, and the simulated electromagnetic field frequency and the first electromagnetic field frequency meet the second preset condition, the parameter to be adjusted is taken as the target control parameter.

[0096] The first preset condition can be that the simulated amplitude is equal to the first vibration amplitude. The second preset condition can be that the simulated electromagnetic field frequency is equal to the first electromagnetic field frequency.

[0097] Specifically, when the simulated amplitude is consistent with the first vibration amplitude and when the simulated electromagnetic field frequency is consistent with the first electromagnetic field frequency, it is determined that the simulated amplitude and the first vibration amplitude meet the first preset condition and the simulated electromagnetic field frequency and the first electromagnetic field frequency meet the second preset condition. The parameters to be adjusted in the amplitude attenuation model and the frequency attenuation model are used as target control parameters so that the inverter can excite the target attenuation magnetic field based on the target control parameters.

[0098] Optionally, if the simulated amplitude and the first vibration amplitude do not meet the first preset condition, and / or the simulated electromagnetic field frequency and the first electromagnetic field frequency do not meet the second preset condition, the parameters to be adjusted are adjusted based on the amplitude difference and / or frequency difference, and the steps of determining the simulated amplitude and simulated electromagnetic field frequency corresponding to the preset time are re-executed based on the adjusted parameters to be adjusted.

[0099] The amplitude difference is determined based on the simulated amplitude and the first vibration amplitude, while the frequency difference is determined based on the first electromagnetic field frequency and the simulated electromagnetic field frequency. The amplitude difference is the difference between the first vibration amplitude and the simulated amplitude. The frequency difference is the difference between the first electromagnetic field frequency and the simulated electromagnetic field frequency.

[0100] Specifically, when the simulated amplitude and the first vibration amplitude are inconsistent, and / or the simulated electromagnetic field frequency and the first electromagnetic field frequency are inconsistent, the amplitude difference is determined based on the simulated amplitude and the first vibration amplitude. The adjustment coefficient in the amplitude attenuation model is adjusted based on the amplitude difference to obtain the adjusted adjustment coefficient. The electromagnetic field difference is determined based on the simulated electromagnetic field frequency and the first electromagnetic field frequency. The control parameters in the frequency attenuation model are adjusted based on the electromagnetic field difference to obtain the adjusted control parameters. The adjusted adjustment coefficient and the adjusted control parameters are used as the adjusted parameters to be adjusted. Based on the adjusted parameters to be adjusted, the steps of determining the simulated amplitude and simulated electromagnetic field frequency at the preset time are repeated until the simulated amplitude matches the first vibration amplitude and the simulated electromagnetic field frequency matches the first electromagnetic field frequency. At this point, the corresponding adjustment coefficient and control parameters are determined, and these are used as the target control parameters to update the amplitude attenuation model and the frequency attenuation model. This allows the inverter deployed in the target pipeline to excite the target attenuation magnetic field acting on the crude oil sample in the target pipeline according to the target control parameters.

[0101] S260, The inverter deployed in the target pipeline controls the target control parameters to excite the target decaying magnetic field, so as to adjust the viscosity of the crude oil sample in the target pipeline based on the target decaying magnetic field.

[0102] The technical solution of this embodiment determines the first electromagnetic field frequency corresponding to the crude oil sample by using the attribute information of the crude oil sample in the target pipeline. Based on the flow rate information of the crude oil sample in the target pipeline, the first vibration amplitude and attenuation coefficient corresponding to the target pipeline are determined. Based on this, the first electromagnetic field frequency, first vibration amplitude, and attenuation coefficient required to construct the target attenuating magnetic field are obtained. The initial control parameters of the inverter are acquired. Based on the amplitude attenuation model and the frequency attenuation model, the simulated amplitude and simulated electromagnetic field frequency at a preset time are simulated. When the simulated amplitude and the first vibration amplitude meet a first preset condition, and the simulated electromagnetic field frequency and the first electromagnetic field frequency meet a second preset condition, the initial control parameters are used as the target control parameters. When the simulated amplitude and the first vibration amplitude do not meet the first preset condition, and / or the simulated electromagnetic field frequency and the first electromagnetic field frequency do not meet the second preset condition, the initial control parameters are adjusted to obtain the target control parameters corresponding to the target attenuating magnetic field. Based on this, the adjustment of the initial control parameters is realized, and targeted adjustment of the initial control parameters can be achieved for different crude oils to adapt to the viscosity adjustment requirements of different crude oils, thereby effectively reducing the viscosity of the corresponding crude oil and improving its fluidity. An inverter deployed in the target pipeline, based on target control parameters, excites a target decaying magnetic field to adjust the viscosity of the crude oil sample in the target pipeline. This invention, by using an inverter that generates the target decaying magnetic field on the crude oil sample in the target pipeline, avoids the use of solvents, reduces the risk of environmental pollution, simplifies the operation of adjusting crude oil viscosity, and lowers the cost. Without altering the original chemical composition of the sample, it reduces the viscosity of the crude oil sample in the target pipeline through the target decaying magnetic field, avoiding the potential impact of viscosity adjustment on crude oil quality, improving the flowability of the crude oil in the target pipeline, and ensuring the safety of crude oil transportation and processing. This invention has high energy efficiency, environmental friendliness, and sustainability; it is easy to operate, has low maintenance costs, and strong adaptability, making it suitable for large-scale application in the field of crude oil processing, with significant economic benefits and environmental friendliness.

[0103] Example 3

[0104] Figure 3This is a flowchart illustrating a method for adjusting crude oil viscosity according to Embodiment 3 of the present invention. Before processing the crude oil sample in the target pipeline based on the above embodiment, it can be determined, based on the method provided in this embodiment, that the target attenuating magnetic field can be used to adjust the viscosity of the crude oil sample. Specific implementation methods can be found in the technical solution of this embodiment. Technical terms that are the same as or corresponding to those in the above embodiments will not be repeated here. Figure 3 As shown, the method includes:

[0105] S310. Obtain a first crude oil sample from the target pipeline and determine the initial viscosity information of the first crude oil sample.

[0106] The first crude oil sample can be understood as a portion of the crude oil obtained from the target pipeline. The initial viscosity information can be understood as the viscosity of the first crude oil sample.

[0107] Specifically, a first crude oil sample is obtained from the target pipeline, and the initial viscosity information of the first crude oil sample is detected by a viscosity tester.

[0108] S320. The first crude oil sample is heated and, when the temperature of the first crude oil sample is detected to reach the first preset temperature, the first crude oil sample is placed in a cooling constant temperature container, and the first viscosity information of the first crude oil sample in the cooling constant temperature container at different temperatures is detected based on the viscosity detector.

[0109] The first preset temperature can be a pre-set temperature to which the crude oil sample needs to be heated. Optionally, the first preset temperature is higher than the wax precipitation point of the first crude oil sample. The cooling and isothermal container can be an isothermal cooling bath. The first viscosity information can be the viscosity of the first crude oil sample at different temperatures.

[0110] Specifically, to ensure that no wax crystals form on the first crude oil sample during the measurement process, the first crude oil sample can be heated first, and when the temperature of the first crude oil sample reaches a first preset temperature, it is determined that the first crude oil sample has been fully dissolved. The heated first crude oil sample is then placed in a constant temperature cooling bath for uniform cooling to ensure the uniformity of the cooling process. During the uniform cooling process, the viscosity information of the first crude oil sample in the constant temperature cooling bath at different temperatures is detected by a viscometer.

[0111] S330. Obtain a second crude oil sample from the target pipeline; wherein the crude oil volume of the second crude oil sample is the same as that of the first crude oil sample.

[0112] Specifically, a second crude oil sample with the same volume as the first crude oil sample is obtained from the target pipeline. Since both the second and first crude oil samples are obtained from the same type of crude oil from the target pipeline, the initial viscosity information of the second crude oil sample is the same as that of the first crude oil sample.

[0113] S340. The second crude oil sample is heated, and when the temperature of the second crude oil sample reaches the first preset temperature, the second crude oil sample is placed in a cooling constant temperature container. When the temperature of the second crude oil sample reaches the second preset temperature, the inverter is controlled to excite the target decaying magnetic field according to the target control parameters. The viscosity of the second crude oil sample is adjusted based on the target decaying magnetic field to obtain the magnetized second crude oil sample.

[0114] The second preset temperature can be a pre-set cooling temperature of the second crude oil sample. Optionally, the second preset temperature can be three degrees Celsius above the wax precipitation point of the second crude oil sample. The second preset temperature is lower than the first preset temperature. The magnetized second crude oil sample can be the second crude oil sample after being magnetized for the duration based on the target decaying magnetic field.

[0115] Specifically, a second crude oil sample of the same volume as the first crude oil sample is obtained, and the second crude oil sample is heated to a first preset temperature to ensure complete dissolution. The heated second crude oil sample is placed in a constant-temperature cooling bath for uniform cooling, and when the temperature of the second crude oil sample drops to a second preset temperature, it is magnetized. That is, the inverter is controlled to excite a target decaying magnetic field according to the target control parameters. It should be noted that the specific method for determining the target control parameters corresponding to the target decaying magnetic field can be determined based on the above two embodiments of the invention, and will not be elaborated here. The second crude oil sample is magnetized based on the target decaying magnetic field, and after the magnetization treatment is performed on a continuous magnetic field for a specified duration, the magnetized second crude oil sample is obtained.

[0116] It should be noted that when adjusting the viscosity of the second crude oil sample based on the target attenuating magnetic field, the second crude oil sample can be placed in a pre-set container for holding crude oil, with the cross-sectional area of ​​the container matching that of the target pipeline. Simultaneously, the flow velocity of the second crude oil sample in the target pipeline is simulated using a flow control system to ensure that the flow rate of the second crude oil sample in the container matches the flow rate in the target pipeline. If it is not possible to guarantee that the flow rate of the second crude oil sample in the container matches the flow rate in the target pipeline, the target attenuating magnetic field needs to be determined accordingly based on the flow rate under the specific conditions.

[0117] In addition, it should be noted that during the magnetization process of the second crude oil sample based on the target decaying magnetic field, the temperature and voltage of the inverter can be detected in real time to ensure that the inverter can stably excite the target decaying magnetic field.

[0118] S350. The magnetized second crude oil sample is placed in a cooling constant temperature container, and the second viscosity information of the magnetized second crude oil sample in the cooling constant temperature container at different temperatures is detected based on the viscosity detector.

[0119] The second viscosity information can be understood as the viscosity information of the magnetized second crude oil sample at different temperatures.

[0120] Specifically, the magnetized second crude oil sample was placed in a cooling constant temperature container for further cooling, and a viscosity meter was used to detect the second viscosity information of the magnetized second crude oil sample at different temperatures.

[0121] S360. When the second viscosity information is detected to be lower than the first viscosity information, and / or the second viscosity information is lower than the initial viscosity information, the viscosity of the crude oil sample in the target pipeline is adjusted based on the target attenuating magnetic field.

[0122] Specifically, when the second viscosity information is detected to be lower than the first viscosity information, and / or the second viscosity information is lower than the initial viscosity information, it indicates that the target attenuation magnetic field can be used to adjust the viscosity of the e-liquid. In this case, an inverter can be deployed on the target pipeline so that the inverter can excite the target attenuation magnetic field based on the target control parameters to adjust the viscosity of the crude oil sample in the target pipeline.

[0123] The technical solution of this embodiment involves obtaining a first crude oil sample from a target pipeline and determining its initial viscosity information. The first crude oil sample is heated, and when its temperature reaches a first preset temperature, it is placed in a cooling isothermal container. A viscometer is used to detect the first viscosity information of the first crude oil sample in the cooling isothermal container at different temperatures. A second crude oil sample is then obtained from the target pipeline. The second crude oil sample is heated, and when its temperature reaches a first preset temperature, it is placed in a cooling isothermal container. When the second crude oil sample temperature reaches a second preset temperature, the inverter is controlled to excite a target decaying magnetic field according to target control parameters. The viscosity of the second crude oil sample is adjusted based on the target decaying magnetic field to obtain a magnetized second crude oil sample. The magnetized second crude oil sample is placed in a cooling isothermal container, and a viscometer is used to detect the second viscosity information of the magnetized second crude oil sample in the cooling isothermal container at different temperatures. When the second viscosity information is detected to be lower than the first viscosity information, and / or lower than the initial viscosity information, the viscosity of the crude oil sample in the target pipeline is adjusted based on the target decaying magnetic field. This invention, by comparing the viscosity changes of crude oil samples under magnetized and unmagnetized conditions, determines the feasibility of adjusting the viscosity of crude oil samples in a target pipeline using a target attenuating magnetic field. This facilitates subsequent reduction of the viscosity of crude oil samples in the target pipeline using a target attenuating magnetic field, improving the fluidity of crude oil in the target pipeline, and thus ensuring the safety of crude oil transportation and processing.

[0124] Example 4

[0125] Figure 4 This is a schematic diagram of a device for adjusting crude oil viscosity provided in Embodiment 4 of the present invention. Figure 4 As shown, the device includes: an electromagnetic field frequency determination module 410, an amplitude and attenuation coefficient determination module 420, a target control parameter determination module 430, and a viscosity adjustment module 440.

[0126] The electromagnetic field frequency determination module 410 is used to determine the first electromagnetic field frequency corresponding to the crude oil sample based on the property information of the crude oil sample in the target pipeline; the amplitude and attenuation coefficient determination module 420 is used to determine the first vibration amplitude and attenuation coefficient corresponding to the target pipeline based on the flow rate information of the crude oil sample in the target pipeline; the target control parameter determination module 430 is used to determine the target control parameters of the inverter that generates the target attenuation magnetic field based on the first electromagnetic field frequency, the first vibration amplitude, the attenuation coefficient, the amplitude attenuation model, and the frequency attenuation model; and the viscosity adjustment module 440 is used to control the inverter deployed in the target pipeline to excite the target attenuation magnetic field according to the target control parameters, so as to adjust the viscosity of the crude oil sample in the target pipeline based on the target attenuation magnetic field.

[0127] The technical solution of this embodiment determines the first electromagnetic field frequency corresponding to the crude oil sample by using the attribute information of the crude oil sample in the target pipeline. Based on the flow rate information of the crude oil sample in the target pipeline, the first vibration amplitude and attenuation coefficient corresponding to the target pipeline are determined. Based on this, the first electromagnetic field frequency, first vibration amplitude, and attenuation coefficient required to construct the target attenuating magnetic field are obtained. Based on the first electromagnetic field frequency, first vibration amplitude, attenuation coefficient, amplitude attenuation coefficient, and frequency attenuation model, the target control parameters of the inverter generating the target attenuating magnetic field are determined. The inverter deployed in the target pipeline is controlled to excite the target attenuating magnetic field according to the target control parameters, thereby adjusting the viscosity of the crude oil sample in the target pipeline based on the target attenuating magnetic field. This invention, by using an inverter that generates the target attenuating magnetic field on the crude oil sample in the target pipeline, avoids the use of solvents, reduces the risk of environmental pollution, simplifies the operation of adjusting crude oil viscosity, reduces the cost of adjusting crude oil viscosity, and while ensuring crude oil quality, reduces the viscosity of the crude oil sample in the target pipeline through the target attenuating magnetic field, improving the fluidity of the crude oil in the target pipeline and ensuring the safety of crude oil transportation and processing.

[0128] Based on the above embodiments, optionally, the attribute information includes at least one chemical component corresponding to the crude oil sample and the chemical formula corresponding to the at least one chemical component. The electromagnetic field frequency determination module includes: a force constant and reduced mass determination unit, used to determine the force constant and reduced mass of the chemical component for the at least one chemical component according to the chemical formula corresponding to the chemical component; wherein, the force constant is determined based on the chemical bonds in the chemical formula; an initial vibration frequency determination unit, used to determine the initial vibration frequency of the at least one chemical component according to the force constant and reduced mass of the at least one chemical component; and a first electromagnetic field frequency determination unit, used to determine the first electromagnetic field frequency of the crude oil sample according to the initial vibration frequency of the at least one chemical component.

[0129] Optionally, the first electromagnetic field frequency determination unit is used to acquire the content ratio information of at least one chemical component in the crude oil sample, and after normalizing the content ratio information, obtain the first ratio information corresponding to at least one chemical component; determine the target vibration frequency of the crude oil sample based on the first ratio information corresponding to at least one chemical component and the corresponding initial vibration frequency; and determine the first electromagnetic field frequency based on the target vibration frequency.

[0130] Optionally, the target control parameter determination module includes: an initial control parameter determination unit, used to acquire the initial control parameters of the inverter, wherein the initial control parameters are the parameters to be adjusted in the amplitude decay model and the frequency decay model; a simulation data determination unit, used to simulate the simulated amplitude and simulated electromagnetic field frequency corresponding to a preset time based on the amplitude decay model and the frequency decay model; and a target control parameter determination unit, used to take the parameters to be adjusted as target control parameters when the simulated amplitude and the first vibration amplitude meet a first preset condition, and the simulated electromagnetic field frequency and the first electromagnetic field frequency meet a second preset condition.

[0131] Optionally, the target control parameter determination module further includes: a parameter adjustment unit, used to adjust the parameter to be adjusted based on the amplitude difference and / or frequency difference when the simulated amplitude and the first vibration amplitude do not meet the first preset condition, and / or the simulated electromagnetic field frequency and the first electromagnetic field frequency do not meet the second preset condition, and to re-execute the step of determining the simulated amplitude and simulated electromagnetic field frequency corresponding to the preset time based on the adjusted parameter to be adjusted; wherein, the amplitude difference is determined based on the simulated amplitude and the first vibration amplitude, and the frequency difference is determined based on the first electromagnetic field frequency and the simulated electromagnetic field frequency.

[0132] Optionally, the device also includes: an early warning module, used to detect the temperature information of the inverter based on the temperature detection device deployed on the inverter; and to send an early warning message to the target terminal when the temperature information does not meet the preset conditions.

[0133] Optionally, the device further includes: a viscosity information detection module, comprising: a crude oil sample cooling unit, used to acquire a crude oil sample and place the crude oil sample in a cooling constant temperature container when the inverter operates for a preset time based on the target control parameters; and a viscosity information detection unit, used to detect the viscosity information of the crude oil sample located in the cooling constant temperature container at different temperatures based on a viscosity detector.

[0134] Optionally, the viscosity information detection module also includes a duration adjustment unit, used to adjust the magnetization duration when the viscosity information is higher than a preset viscosity threshold.

[0135] The apparatus for adjusting crude oil viscosity provided in the embodiments of the present invention can execute the method for adjusting crude oil viscosity provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.

[0136] Example 5

[0137] Figure 5This is a schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0138] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0139] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0140] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as methods for adjusting crude oil viscosity.

[0141] In some embodiments, the method for adjusting crude oil viscosity may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the method for adjusting crude oil viscosity described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the method for adjusting crude oil viscosity by any other suitable means (e.g., by means of firmware).

[0142] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0143] Computer programs for implementing the method for adjusting crude oil viscosity of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs can be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0144] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication unit 19, or installed from storage unit 18, or installed from ROM 12. When the computer program is executed by processor 11, it performs the functions defined in the methods of the embodiments of the present invention.

[0145] Example 6

[0146] Embodiment 6 of the present invention also provides a computer-readable storage medium storing computer instructions for causing a processor to execute a method for adjusting crude oil viscosity, the method comprising:

[0147] Based on the property information of the crude oil sample in the target pipeline, the first electromagnetic field frequency corresponding to the crude oil sample is determined; based on the flow rate information of the crude oil sample in the target pipeline, the first vibration amplitude and attenuation coefficient corresponding to the target pipeline are determined; based on the first electromagnetic field frequency, the first vibration amplitude, the attenuation coefficient, the amplitude attenuation model, and the frequency attenuation model, the target control parameters of the inverter that generates the target attenuation magnetic field are determined; the inverter deployed in the target pipeline is controlled to excite the target attenuation magnetic field according to the target control parameters, so as to adjust the viscosity of the crude oil sample in the target pipeline based on the target attenuation magnetic field.

[0148] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0149] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0150] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0151] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0152] 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.

[0153] 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. A method for adjusting the viscosity of crude oil, characterized by, The method comprises: determining a first electromagnetic field frequency corresponding to the crude oil sample in the target pipeline according to attribute information of the crude oil sample in the target pipeline; determining a first vibration amplitude and a decay coefficient corresponding to the target pipeline according to flow information of the crude oil sample in the target pipeline; determining target control parameters of an inverter generating a target decay magnetic field based on the first electromagnetic field frequency, the first vibration amplitude, the decay coefficient, an amplitude decay model, and a frequency decay model; controlling the inverter deployed in the target pipeline to excite a target decay magnetic field according to the target control parameters, so as to adjust the viscosity of the crude oil sample in the target pipeline based on the target decay magnetic field; wherein the attribute information comprises at least one chemical component corresponding to the crude oil sample and a chemical molecular formula corresponding to the at least one chemical component, determining a first electromagnetic field frequency corresponding to the crude oil sample in the target pipeline according to attribute information of the crude oil sample in the target pipeline comprises: for the at least one chemical component, determining a force constant and a reduced mass of the chemical component according to a chemical molecular formula corresponding to the chemical component, wherein the force constant is determined based on chemical bonds in the chemical molecular formula; determining an initial vibration frequency of the at least one chemical component according to the force constant and the reduced mass of the at least one chemical component; and determining the first electromagnetic field frequency of the crude oil sample according to the initial vibration frequency of the at least one chemical component; determining target control parameters of an inverter generating a target decay magnetic field based on the first electromagnetic field frequency, the first vibration amplitude, the decay coefficient, an amplitude decay model, and a frequency decay model comprises: obtaining initial control parameters of the inverter, wherein the initial control parameters are to-be-adjusted parameters in the amplitude decay model and the frequency decay model; simulating a simulation amplitude and a simulation electromagnetic field frequency corresponding to a preset time based on the amplitude decay model and the frequency decay model; when the simulation amplitude and the first vibration amplitude satisfy a first preset condition, and the simulation electromagnetic field frequency and the first electromagnetic field frequency satisfy a second preset condition, taking the to-be-adjusted parameters as the target control parameters; wherein the amplitude decay model is: ; wherein denotes the time instant denotes the vibration amplitude corresponding to the time instant denotes the initial vibration amplitude and is an adjustment factor, and is the polynomial order; the frequency decay model is: ; wherein, represents a time instant corresponding to the electromagnetic field frequency, represents an initial electromagnetic field frequency, represents a decay coefficient, and represents a control parameter; the first preset condition is that the simulation amplitude is equal to the first vibration amplitude, and the second preset condition is that the simulation electromagnetic field frequency is equal to the first electromagnetic field frequency; The method further comprises: when the simulation amplitude and the first vibration amplitude do not satisfy the first preset condition, and / or the simulation electromagnetic field frequency and the first electromagnetic field frequency do not satisfy the second preset condition, adjusting the to-be-adjusted parameters based on an amplitude difference value and / or a frequency difference value, and re-executing the step of determining the simulation amplitude and the simulation electromagnetic field frequency corresponding to the preset time based on the adjusted to-be-adjusted parameters; wherein the amplitude difference value is determined based on the simulation amplitude and the first vibration amplitude, and the frequency difference value is determined based on the first electromagnetic field frequency and the simulation electromagnetic field frequency.

2. The method of claim 1, wherein, determining a first electromagnetic field frequency corresponding to the crude oil sample in the target pipeline according to attribute information of the crude oil sample in the target pipeline comprises: Obtaining content ratio information of the at least one chemical component in the crude oil sample, and after normalizing the content ratio information, obtaining first ratio information corresponding to the at least one chemical component; According to the first ratio information corresponding to the at least one chemical component and the corresponding initial vibration frequency, determining the target vibration frequency of the crude oil sample; According to the target vibration frequency, determining the first electromagnetic field frequency.

3. The method of claim 1, wherein, The method further comprises: Detecting temperature information of the inverter based on a temperature detection device deployed on the inverter; When the temperature information does not meet the preset condition, sending a warning information to a target terminal.

4. The method of claim 1, wherein, The method further comprises: When the inverter works based on the target control parameter for a preset time length, obtaining the crude oil sample and placing the crude oil sample in a cooling constant-temperature container; Based on a viscosity detector, detecting viscosity information of the crude oil sample in the cooling constant-temperature container at different temperatures.

5. The method of claim 4, wherein, The method further comprises: When the viscosity information is higher than a preset viscosity threshold, adjusting the magnetization duration.

6. An apparatus for adjusting viscosity of crude oil, characterized by, Comprise: An electromagnetic field frequency determination module is configured to determine a first electromagnetic field frequency corresponding to a crude oil sample in a target pipeline according to attribute information of the crude oil sample; An amplitude and attenuation coefficient determination module is configured to determine a first vibration amplitude and an attenuation coefficient corresponding to the target pipeline according to flow information of the crude oil sample in the target pipeline; A target control parameter determination module is configured to determine a target control parameter of an inverter generating a target attenuation magnetic field based on the first electromagnetic field frequency, the first vibration amplitude, the attenuation coefficient, an amplitude attenuation model, and a frequency attenuation model; A viscosity adjustment module is configured to control the inverter deployed in the target pipeline to excite a target attenuation magnetic field according to the target control parameter, so as to adjust the viscosity of the crude oil sample in the target pipeline based on the target attenuation magnetic field; The attribute information comprises at least one chemical component corresponding to the crude oil sample and a chemical molecular formula corresponding to the at least one chemical component, and the electromagnetic field frequency determination module comprises: a force constant and reduced mass determination unit configured to determine a force constant and a reduced mass of the at least one chemical component according to a chemical molecular formula corresponding to the chemical component; wherein the force constant is determined based on chemical bonds in the chemical molecular formula; an initial vibration frequency determination unit configured to determine an initial vibration frequency of the at least one chemical component according to the force constant and the reduced mass of the at least one chemical component; and a first electromagnetic field frequency determination unit configured to determine a first electromagnetic field frequency of the crude oil sample according to the initial vibration frequency of the at least one chemical component. The target control parameter determination module comprises: an initial control parameter determination unit configured to obtain an initial control parameter of the inverter, wherein the initial control parameter is a to-be-adjusted parameter in the amplitude decay model and the frequency decay model; an analog data determination unit configured to simulate a simulated amplitude and a simulated electromagnetic field frequency at a preset time based on the amplitude decay model and the frequency decay model; and a target control parameter determination unit configured to take the to-be-adjusted parameter as a target control parameter when the simulated amplitude and the first vibration amplitude satisfy a first preset condition and the simulated electromagnetic field frequency and the first electromagnetic field frequency satisfy a second preset condition. ; wherein denotes the time instant denotes the vibration amplitude at the time instant denotes the initial vibration amplitude and is an adjustment factor, and is the polynomial order; The frequency decay model is: ; wherein, represents a time instant corresponding to an electromagnetic field frequency, represents an initial electromagnetic field frequency, represents a decay coefficient, and represents a control parameter; the first preset condition is that the simulation amplitude is equal to the first vibration amplitude, and the second preset condition is that the simulation electromagnetic field frequency is equal to the first electromagnetic field frequency; The target control parameter determination module further comprises: a to-be-adjusted parameter adjustment unit configured to adjust the to-be-adjusted parameter based on an amplitude difference value and / or a frequency difference value when the simulated amplitude and the first vibration amplitude do not satisfy the first preset condition and / or the simulated electromagnetic field frequency and the first electromagnetic field frequency do not satisfy the second preset condition, and to re-perform the step of determining the simulated amplitude and the simulated electromagnetic field frequency at the preset time based on the adjusted to-be-adjusted parameter; wherein the amplitude difference value is determined based on the simulated amplitude and the first vibration amplitude, and the frequency difference value is determined based on the first electromagnetic field frequency and the simulated electromagnetic field frequency.

7. An electronic device, comprising: The electronic device comprises: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the method for adjusting the viscosity of crude oil according to any one of claims 1-5.

Citation Information

Patent Citations

  • Vibration and gas temperature concentration measurement method and system based on ring-down cavity

    CN112525841A

  • Blood viscoelasticity measuring method based on vibration sensor

    CN113640377A