A control method of a magnetic pulse viscosity reduction equipment for oil delivery station
By dynamically adjusting the magnetic field frequency based on the calculation of the medium loss factor and state data, the problem of insufficient operating condition adjustment in magnetic pulse viscosity reduction equipment was solved, achieving a more efficient crude oil viscosity reduction effect.
Patent Information
- Application Number
- CN202611447450.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-17
- Publication Date
- 2026-11-27
AI Technical Summary
The magnetic field strength and frequency of existing magnetic pulse viscosity reduction equipment are relatively fixed, resulting in insufficient flexibility in adjusting operating conditions and low efficiency in reducing crude oil viscosity.
By calculating the medium loss factor and combining crude oil and pipeline status data, the magnetic field frequency is dynamically adjusted to adapt to changes in operating conditions. The frequency regulation is optimized by using predictive correction and local refinement search methods.
It improves the flexibility of operating condition adjustment and viscosity reduction efficiency of magnetic pulse viscosity reduction equipment, avoids the lag of traditional feedback regulation, and achieves more precise frequency control.
Smart Images

Figure CN123177249A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of magnetic pulse viscosity reduction equipment technology, and in particular to a control method for magnetic pulse viscosity reduction equipment in oil transportation stations. Background Technology
[0002] Transporting crude oil is the core operation of oil pipeline stations. However, during the transportation of crude oil, the presence of components such as paraffin molecules and gum asphalt in crude oil can cause it to easily form a three-dimensional wax crystal network structure under the influence of ambient temperature. This leads to increased viscosity, deteriorated fluidity, increased energy consumption of pump units, and in severe cases, requires pipeline cleaning and support.
[0003] To reduce the viscosity of crude oil during transportation, related technologies have proposed using magnetic pulse viscosity reduction equipment to treat crude oil in pipelines. Magnetic pulse viscosity reduction equipment can use permanent magnet magnetic field technology to generate a constant static magnetic field, which changes the orientation and aggregation behavior of wax crystals through magnetic force, thereby reducing the viscosity of crude oil.
[0004] However, the magnetic field strength and frequency of the current magnetic pulse viscosity reduction equipment are relatively fixed, and the flexibility of operating condition adjustment needs to be improved. Summary of the Invention
[0005] The purpose of this application is to provide a control method for a magnetic pulse viscosity reduction device in an oil transportation station, which aims to improve the flexibility of the device's operating condition adjustment.
[0006] In a first aspect, this application provides a control method for a magnetic pulse viscosity reduction device at an oil transportation station. The method includes: calculating a first medium loss factor based on the electrical parameters of the magnetic pulse viscosity reduction device operating at each magnetic field frequency within its working magnetic field frequency range, in order of magnetic field frequency magnitude, to obtain a first medium loss factor set; the first medium loss factor set includes multiple first medium loss factors, each corresponding one-to-one with multiple magnetic field frequencies within the working magnetic field frequency range; determining a first frequency based on the magnetic field frequency corresponding to the smallest first medium loss factor in the first medium loss factor set; determining the residence time of crude oil in the magnetic pulse region of the magnetic pulse viscosity reduction device based on crude oil state data and pipeline state data of the working pipeline of the magnetic pulse viscosity reduction device; correcting the first frequency based on the slope of the change of the first medium loss factor in the first medium loss factor set over time and the residence time, to obtain a second frequency; and adjusting the magnetic field frequency of the magnetic pulse viscosity reduction device based on the second frequency.
[0007] The control method for the magnetic pulse viscosity reduction equipment at oil transfer stations provided in this application can scan the first medium loss factor at different frequencies within the operating frequency range, select the magnetic field frequency corresponding to the minimum first medium loss factor as the first frequency, and actively select a low-loss magnetic field frequency from the currently available magnetic field frequencies, thus initially overcoming the limitations of fixed frequencies. Subsequently, the residence time of crude oil in the magnetic pulse region is determined using crude oil state data and pipeline state data, and the first frequency is corrected by combining the slope of the medium loss factor change over time. This is equivalent to incorporating the trend of crude oil property changes and the influence of flow conditions on processing time into the frequency decision, so that the magnetic field frequency is no longer a pre-fixed single value, but dynamically determined according to the actual operating status of the equipment and the crude oil conditions, thereby improving the flexibility of the magnetic pulse viscosity reduction equipment's operating condition adjustment.
[0008] Furthermore, the slope of the first medium loss factor over time reflects the evolution trend of energy loss under the current operating conditions, while the residence time of crude oil in the magnetic pulse region defines the time window in advance for frequency adjustment. This application combines the slope with the residence time, which is equivalent to predicting the expected change in crude oil loss during its passage through the magnetic field, and correcting the first frequency accordingly. This allows for pre-adjustment of the magnetic field frequency before the crude oil's physical properties or flow state are fully reflected in the current loss value, avoiding the lag of traditional feedback regulation. This enables dynamic adaptation to changes in crude oil properties and pipeline operating conditions, thereby improving viscosity reduction efficiency.
[0009] Optionally, the first frequency is corrected based on the slope of change of the first medium loss factor in the first medium loss factor set over time and the residence time to obtain the second frequency, including: when the slope of change is greater than 0, using the product of the slope of change and the residence time as the initial frequency adjustment amount; using the product of the initial frequency adjustment amount and the preset safety factor as the frequency adjustment amount; and using the sum of the first frequency and the frequency adjustment amount as the second frequency; the method further includes: when the slope of change is less than 0, using the first frequency as the second frequency.
[0010] In the control method of the magnetic pulse viscosity reduction equipment for oil pipeline stations provided in this application, when the slope of change is greater than 0, it indicates that the medium loss is continuously increasing over time under the current operating conditions. At this time, the product of the slope and the crude oil residence time is used as the initial frequency adjustment amount, which is equivalent to predicting the expected increase in loss of crude oil during the passage of the magnetic field. Multiplying this by a safety factor yields the actual frequency adjustment amount, which can match the frequency correction range with the upward trend of loss and the processing time. This avoids both excessively small adjustment amounts leading to continued deterioration of loss and excessively large adjustment amounts causing fluctuations in operating conditions. When the slope of change is less than 0, it indicates that the medium loss is already in a downward trend. At this time, maintaining the first frequency unchanged can avoid unnecessary frequency disturbances and ensure stable operation of the equipment during the medium loss improvement phase, thereby ensuring both the adjustment effect and system stability.
[0011] Optionally, adjusting the magnetic field frequency of the magnetic pulse viscosity reduction device based on the second frequency includes: determining a reference magnetic field frequency range based on the second frequency and a first preset frequency range; calculating a second dielectric loss factor based on the electrical parameters of the magnetic pulse viscosity reduction device operating at each reference magnetic field frequency within the reference magnetic field frequency range, thereby obtaining a second dielectric loss factor set; the second dielectric loss factor set includes multiple second dielectric loss factors, each of which corresponds one-to-one with multiple reference magnetic field frequencies within the reference magnetic field frequency range; determining a third frequency from the reference magnetic field frequency range based on the second dielectric loss factor set; and adjusting the magnetic field frequency of the magnetic pulse viscosity reduction device based on the third frequency.
[0012] The control method for the magnetic pulse viscosity reduction equipment at oil transfer stations provided in this application first determines a reference magnetic field frequency range near a second frequency, then recalculates the second medium loss factor corresponding to each frequency within this reference magnetic field frequency range, and determines a third frequency from this range. Finally, adjustments are made based on the third frequency. This allows for a local refinement search near the initial correction result. Since the second frequency is based on historical trends and residence time predictions, there may be some deviation from the actual optimal frequency. This application effectively corrects this deviation by narrowing the frequency search range and re-evaluating the medium loss factor, making the final frequency used for adjustment closer to the low-loss operating point under the current operating conditions, thereby improving the accuracy of frequency adjustment and its adaptability to changes in actual operating conditions.
[0013] Optionally, based on the second set of dielectric loss factors, a third frequency is determined from the reference magnetic field frequency range, including: selecting second dielectric loss factors less than a preset threshold from the second set of dielectric loss factors; and taking the average value of the reference magnetic field frequencies corresponding to the selected second dielectric loss factors as the third frequency.
[0014] Optionally, adjusting the magnetic field frequency of the magnetic pulse viscosity reduction device based on the third frequency includes: determining a test frequency range based on the third frequency and the second preset frequency range; iteratively narrowing the test frequency range based on the comparison results of the medium loss factor until the interval length of the test frequency range is less than a preset length threshold; the interval length is the difference between the upper limit and the lower limit of the test frequency range; determining the target frequency from the test frequency range, and adjusting the magnetic field frequency of the magnetic pulse viscosity reduction device based on the target frequency.
[0015] Optionally, based on the comparison results of the dielectric loss factor, the range of trial frequencies is iteratively narrowed until the interval length of the trial frequency range is less than a preset length threshold, including: performing a first operation: determining the step frequency based on the product of the interval length and a preset segmentation parameter, taking the sum of the lower limit of the trial frequency range and the step frequency as the first trial frequency, and taking the difference between the upper limit of the trial frequency range and the step frequency as the second trial frequency; performing a second operation: obtaining the dielectric loss factor corresponding to the first trial frequency and the dielectric loss factor corresponding to the second trial frequency respectively; performing a third operation: if the first trial frequency... If the corresponding medium loss factor is greater than the medium loss factor corresponding to the second test frequency, then the first test frequency is used as the lower limit of the test frequency range, while the upper limit of the test frequency range remains unchanged, to update the test frequency range; if the medium loss factor corresponding to the first test frequency is less than or equal to the medium loss factor corresponding to the second test frequency, then the second test frequency is used as the upper limit of the test frequency range, while the lower limit of the test frequency range remains unchanged, to update the test frequency range; the first operation, the second operation, and the third operation are repeated until the interval length of the test frequency range is less than the preset length threshold.
[0016] The control method for the magnetic pulse viscosity reduction equipment at oil pipeline stations provided in this application can further refine the search based on a third frequency. By setting a trial frequency range and using preset segmentation parameters to determine two trial frequencies within the interval, and then retaining the better sub-interval based on the comparison results of the medium loss factor, it achieves progressive optimization from selecting discrete average values to approximating continuous intervals. This allows the search range to shrink at a stable rate, avoiding redundancy caused by calculating all frequencies within the interval one by one, and ensuring that the iteration direction is always consistent with the goal of minimizing the medium loss factor. As the interval length gradually converges to the preset accuracy requirement, the target frequency determined from this interval can more accurately approximate the actual lowest loss operating point, thereby compensating for the deviation that may have been caused by only taking the average of multiple reference frequencies. While improving the frequency adjustment accuracy, it also takes into account the iteration efficiency, enabling the magnetic pulse viscosity reduction equipment to operate at low loss frequencies and further improving the utilization rate of magnetic field energy.
[0017] Secondly, this application provides a control device for a magnetic pulse viscosity reduction device at an oil transportation station. The device includes a processing module. The processing module is configured to calculate a first medium loss factor based on the electrical parameters of the magnetic pulse viscosity reduction device operating at each magnetic field frequency within the working magnetic field frequency range, according to the magnitude of the magnetic field frequency, to obtain a first medium loss factor set. The first medium loss factor set includes multiple first medium loss factors, each corresponding one-to-one with multiple magnetic field frequencies within the working magnetic field frequency range. A first frequency is determined based on the magnetic field frequency corresponding to the smallest first medium loss factor in the first medium loss factor set. The residence time of crude oil in the magnetic pulse region of the magnetic pulse viscosity reduction device is determined based on crude oil state data and pipeline state data in the working pipeline of the magnetic pulse viscosity reduction device. The first frequency is corrected based on the slope of the change of the first medium loss factor in the first medium loss factor set over time and the residence time to obtain a second frequency. The magnetic field frequency of the magnetic pulse viscosity reduction device is adjusted based on the second frequency.
[0018] Thirdly, this application provides an electronic device comprising: a processor and a memory; the memory storing instructions executable by the processor; the processor being configured to, when executing the instructions, cause the electronic device to perform the method provided in the first aspect above.
[0019] Fourthly, this application provides a computer-readable storage medium comprising: computer software instructions; when the computer software instructions are executed in an electronic device, the electronic device causes the electronic device to implement the method provided in the first aspect above.
[0020] Fifthly, this application provides a computer program product including computer instructions that, when executed on an electronic device, cause the electronic device to perform the method provided in the first aspect above. Attached Figure Description
[0021] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 A flowchart illustrating a control method for a magnetic pulse viscosity reduction device at an oil transportation station, provided in an embodiment of this application; Figure 2 A flowchart illustrating another control method for a magnetic pulse viscosity reduction device at an oil transportation station, provided in an embodiment of this application; Figure 3 This is a schematic diagram of the trial frequency range update process provided in an embodiment of this application; Figure 4 A schematic diagram of the control device for the magnetic pulse viscosity reduction equipment at an oil transportation station provided in this embodiment of the application; Figure 5 This is a schematic diagram illustrating the composition of an electronic device provided in an embodiment of this application. Detailed Implementation
[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0024] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0025] In embodiments of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, article, or apparatus that includes that element.
[0026] In the embodiments of this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.
[0027] Transporting crude oil is the core operation of oil pipeline stations. However, during the transportation of crude oil, the presence of components such as paraffin molecules and gum asphalt in crude oil can cause it to easily form a three-dimensional wax crystal network structure under the influence of ambient temperature. This leads to increased viscosity, deteriorated fluidity, increased energy consumption of pump units, and in severe cases, requires pipeline cleaning and support.
[0028] To reduce the viscosity of crude oil during transportation, related technologies have proposed using magnetic pulse viscosity reduction equipment to treat crude oil in pipelines. Magnetic pulse viscosity reduction equipment can use permanent magnet magnetic field technology to generate a constant static magnetic field, which changes the orientation and aggregation behavior of wax crystals through magnetic force, thereby reducing the viscosity of crude oil.
[0029] However, the magnetic field strength and frequency of the current magnetic pulse viscosity reduction equipment are relatively fixed, and the flexibility of operating condition adjustment needs to be improved.
[0030] Based on this, this application provides a control method for a magnetic pulse viscosity reduction device at an oil transportation station. The method can take the frequency corresponding to the minimum medium loss factor as the initial frequency, and make a trend prediction correction to the initial frequency based on the slope of the change of the medium loss factor over time and the residence time of crude oil in the magnetic pulse region. This enables adaptive adjustment of the magnetic field frequency of the magnetic pulse viscosity reduction device and improves the flexibility of the operating condition adjustment of the magnetic pulse viscosity reduction device.
[0031] The execution entity of the control method for the magnetic pulse viscosity reduction device at the oil transfer station provided in this application embodiment is the control device of the magnetic pulse viscosity reduction device (e.g., the control device 300 of the magnetic pulse viscosity reduction device mentioned above, hereinafter referred to as the control device). This control device can be an electronic device within the magnetic pulse viscosity reduction device, or an electronic device with computing and processing capabilities, such as a computer or server independent of the magnetic pulse viscosity reduction device; alternatively, the control device can be a processor (e.g., a central processing unit, CPU) within the aforementioned electronic device; or, the control device can be an application (APP) installed in the aforementioned electronic device that has the control function of the magnetic pulse viscosity reduction device at the oil transfer station; furthermore, the control device can be a software system or platform deployed in the aforementioned electronic device; or, the control device can be a functional module in the aforementioned electronic device used to execute the control method of the magnetic pulse viscosity reduction device at the oil transfer station, etc. This application embodiment does not impose any limitations on these aspects.
[0032] For simplicity, the following description will use the control device as the execution subject of the control method for the magnetic pulse viscosity reduction equipment at the oil transportation station provided in the embodiments of this application.
[0033] Figure 1 This is a flowchart illustrating a control method for a magnetic pulse viscosity-reducing device at an oil transportation station, as provided in an embodiment of this application. Figure 1 As shown, the method may include the following steps: S101. Based on the electrical parameters of the magnetic pulse viscosity reducing device operating at each magnetic field frequency within the working magnetic field frequency range, calculate the first dielectric loss factor according to the order of magnetic field frequency magnitude, and obtain the first dielectric loss factor set.
[0034] The magnetic field frequencies can be ordered from smallest to largest or from largest to smallest. This application does not impose a specific order on the magnetic field frequencies. Electrical parameters may include the effective values of current and voltage. The first dielectric loss factor set includes multiple first dielectric loss factors, each corresponding one-to-one with a specific magnetic field frequency within the operating magnetic field frequency range. The first dielectric loss factor can also be referred to as the tangent of the dielectric loss angle, used to represent the magnitude of energy loss of the dielectric under the influence of an alternating electric field.
[0035] As an example, the step of calculating the first dielectric loss factor in S101 above may specifically include: determining the first zero-crossing time corresponding to the effective voltage value and the second zero-crossing time corresponding to the effective current value based on the signal changes of the effective voltage value and the effective current value; calculating the time difference between the first and second zero-crossing times; using the quotient of the time difference and the period of the magnetic field frequency as the initial angle difference; using the product of the initial angle difference and the full circle as the phase difference; using the cosine of the phase difference, the product of the effective current value and the effective voltage value as the active power; and using the sine of the phase difference, the product of the effective current value and the effective voltage value as the reactive power. The ratio of active power to reactive power is used as the first dielectric loss factor.
[0036] For example, with a magnetic field frequency of 200Hz (corresponding to a magnetic field frequency period T of 1 / 200 = 0.005s), an effective voltage value U = 220V, an effective current value I = 8A, and the first zero-crossing time t corresponding to the effective voltage value... U The second zero-crossing time t corresponding to the effective value of the current is 0.0000s. I Taking a time interval of 0.0004s and a full circle of 360° as an example, the phase difference is... φ That is (t) I -t U ) / T×360°=(0.0004 / 0.005)×360°=28.8°. The active power P is UIcos φ =220×8×cos28.8°≈1542W, the reactive power Q is UIsin φ =220×8×sin28.8°≈848 var. First medium loss factor tan δ That is, P / Q = 1542 / 848 ≈ 1.818. δ This is the loss angle, which is approximately 61.2°.
[0037] In some embodiments, prior to S101 above, the electrical parameters may be subjected to a moving average filtering process. As an example, the electrical parameters can be input into a sliding window to filter fluctuations. For instance, the sliding window size can be set to 3, and new electrical parameters are added sequentially until the sliding window is full. The average value of all electrical parameters within the sliding window is calculated, and the average value replaces the leading electrical parameter within the sliding window. Then, the leading electrical parameter is removed from the sliding window, and another electrical parameter is added at the end of the sliding window. The average value is recalculated and replaced with the leading electrical parameter, and so on.
[0038] S102. Determine the first frequency based on the magnetic field frequency corresponding to the first dielectric loss factor with the smallest first dielectric loss factor in the first dielectric loss factor set.
[0039] For example, taking a working magnetic field frequency range including 100Hz, 150Hz, 200Hz, 250Hz, and 300Hz as an example, assuming the first dielectric loss factor corresponding to 100Hz is 0.025, the first dielectric loss factor corresponding to 150Hz is 0.018, the first dielectric loss factor corresponding to 200Hz is 0.012, the first dielectric loss factor corresponding to 250Hz is 0.015, and the first dielectric loss factor corresponding to 300Hz is 0.020, then the set of first dielectric loss factors is {0.025, 0.018, 0.012, 0.015, 0.020}. The smallest first dielectric loss factor is 0.012, which corresponds to a magnetic field frequency of 200Hz. Therefore, 200Hz can be determined as the first frequency.
[0040] S103. Based on the crude oil status data and pipeline status data of the working pipeline of the magnetic pulse viscosity reduction device, determine the residence time of crude oil in the magnetic pulse area of the magnetic pulse viscosity reduction device.
[0041] The crude oil condition data may include flow velocity, dynamic viscosity, and density. The pipeline condition data may include pipeline inner diameter and the length of the magnetic pulse region.
[0042] As an example, the product of density, flow velocity, and pipe inner diameter can be used as the initial Reynolds number, and the ratio of the initial Reynolds number to the dynamic viscosity can be used as the Reynolds number. The flow state of crude oil can be determined based on the Reynolds number (for example, when the Reynolds number is less than or equal to 2000, the flow state can be determined as laminar flow). Based on the flow state and the preset correspondence, the target correction coefficient can be determined. The effective flow velocity can be determined based on the product of the flow velocity and the target correction coefficient. The ratio of the length of the magnetic pulse region to the effective flow velocity can be determined as the residence time of crude oil in the magnetic pulse region of the magnetic pulse viscosity reducing device.
[0043] The preset correspondence is used to represent the correspondence between the flow state and the target correction coefficient.
[0044] For example, the flow velocity v is 0.5 m / s, the dynamic viscosity μ is 0.05 Pa·s, and the density ρ is 850 kg / m³. 3 Taking a pipe inner diameter D of 0.1 m and a magnetic pulse region length L of 0.5 m as an example, the Reynolds number Re is (ρvD) / μ = (850 × 0.5 × 0.1) / 0.05 = 850, which is less than 2000. Therefore, the flow state can be determined to be laminar. Assuming the target correction factor for laminar flow is 0.5, the effective flow velocity v eff That is, v × 0.5 = 0.5 × 0.5 = 0.25 m / s. The residence time of crude oil in the magnetic pulse region of the magnetic pulse viscosity reducing device is L / v. eff =0.5 / 0.25=2 s.
[0045] S104. Based on the slope of the change of the first medium loss factor with time and the dwell time in the first medium loss factor set, the first frequency is corrected to obtain the second frequency.
[0046] As an example, step S104 above may specifically include: when the slope of change is greater than 0, using the product of the slope of change and the dwell time as the initial frequency adjustment amount; using the product of the initial frequency adjustment amount and the preset safety factor as the frequency adjustment amount; and using the sum of the first frequency and the frequency adjustment amount as the second frequency.
[0047] As an example, when the slope of change is less than 0, the first frequency can be directly used as the second frequency.
[0048] In the control method of the magnetic pulse viscosity reduction equipment for oil transportation stations provided in this application embodiment, when the slope of change is greater than 0, it indicates that the medium loss is continuously increasing over time under the current operating conditions. At this time, the product of the slope and the crude oil residence time is used as the initial frequency adjustment amount, which is equivalent to predicting the expected increase in loss of crude oil during the passage of the magnetic field. Multiplying this by a safety factor yields the actual frequency adjustment amount, which can match the frequency correction range with the loss increase trend and processing time. This avoids both excessively small adjustment amounts leading to continued loss deterioration and excessively large adjustment amounts causing operating condition fluctuations. When the slope of change is less than 0, it indicates that the medium loss is already in a downward trend. At this time, maintaining the first frequency unchanged can avoid unnecessary frequency disturbances, allowing the equipment to maintain stable operation during the medium loss improvement stage, thereby ensuring both the adjustment effect and system stability.
[0049] In some embodiments, prior to S104 above, the collection timestamp corresponding to each first medium loss factor can be obtained to obtain a timestamp set; based on the first medium loss factor set and the timestamp set, the slope of the change of the first medium loss factor with time is calculated by the least squares method.
[0050] As an example, based on the elements in the first set of media wear factors and the timestamp set, the average value of the media wear factor and the average value of the time can be calculated respectively. The difference between the average value of the media wear factor and all elements in the first set of media wear factors is taken as the media wear factor deviation set, and the difference between the average value of the time and all elements in the timestamp set is taken as the time deviation set. The sum of the products of all corresponding elements in the media wear factor deviation set and the time deviation set is taken as the error cross term sum. The sum of the squares of all elements in the time deviation set is obtained by squaring all elements in the time deviation set. The ratio of the error cross term sum to the time deviation square sum is taken as the slope of change.
[0051] S105, The magnetic field frequency of the magnetic pulse viscosity reduction device is adjusted based on the second frequency.
[0052] As an example, the second frequency can be directly used as the target frequency, and the magnetic field frequency of the magnetic pulse viscosity reduction device can be adjusted to the second frequency.
[0053] As another example, the target frequency can be obtained by further optimization based on the second frequency, and the magnetic field frequency of the magnetic pulse viscosity reduction device can be adjusted to the target frequency. The specific optimization process can be referred to in the following embodiments, and will not be repeated here.
[0054] The control method for the magnetic pulse viscosity reduction equipment at oil transfer stations provided in this application can scan the first medium loss factor at different frequencies within the operating frequency range, select the magnetic field frequency corresponding to the minimum first medium loss factor as the first frequency, and actively select a low-loss magnetic field frequency from the currently available magnetic field frequencies, initially overcoming the limitations of fixed frequencies. Subsequently, the residence time of crude oil in the magnetic pulse region is determined using crude oil state data and pipeline state data, and the first frequency is corrected by combining the slope of the medium loss factor change over time. This is equivalent to incorporating the trend of crude oil property changes and the influence of flow conditions on processing time into the frequency decision, so that the magnetic field frequency is no longer a pre-fixed single value, but dynamically determined according to the actual operating status of the equipment and the crude oil conditions, thereby improving the flexibility of the magnetic pulse viscosity reduction equipment's operating condition adjustment.
[0055] Furthermore, the slope of the first medium loss factor over time reflects the evolution trend of energy loss under the current operating conditions, while the residence time of crude oil in the magnetic pulse region defines the time window in advance for frequency adjustment. This application combines the slope with the residence time, which is equivalent to predicting the expected change in crude oil loss during its passage through the magnetic field, and correcting the first frequency accordingly. This allows for pre-adjustment of the magnetic field frequency before the crude oil's physical properties or flow state are fully reflected in the current loss value, avoiding the lag of traditional feedback regulation. This enables dynamic adaptation to changes in crude oil properties and pipeline operating conditions, thereby improving viscosity reduction efficiency.
[0056] In some embodiments, Figure 2 This is a flowchart illustrating another control method for a magnetic pulse viscosity-reducing device at an oil transportation station, provided as an embodiment of this application. Figure 2 As shown, the above S105 may specifically include the following steps: S1051. Determine the reference magnetic field frequency range based on the second frequency and the first preset frequency range.
[0057] As an example, multiple discrete reference magnetic field frequencies can be generated within a first preset frequency range near the second frequency through chaotic mapping, and the reference magnetic field frequency range can be obtained based on the multiple discrete reference magnetic field frequencies.
[0058] For example, chaotic mapping can employ logistic mapping, which involves iteratively updating x based on the product of control parameters and random numbers x (1-x) and the control parameters, obtaining a set of random numbers based on each updated x. Multiple frequency offset values are obtained by multiplying the random numbers in the set with the interval length of a first preset frequency range. The lower limit of the first preset frequency range is then added to each of these frequency offset values to obtain multiple reference magnetic field frequencies, thus mapping the random numbers to multiple discrete reference magnetic field frequencies.
[0059] Wherein, the random number x is a real number greater than or equal to 0 and less than or equal to 1.
[0060] For example, taking a control parameter of 4, a random number x of 0.3, and three iterations, assuming the lower limit of the first preset frequency range is 190 Hz and the upper limit is 210 Hz, that is, the interval length of the first preset frequency range is 20 Hz, then after three iterations of the random number, we can obtain x1 = 4 × 0.3 × (1 - 0.3) = 0.84, x2 = 4 × 0.84 × (1 - 0.84) = 0.5376, and x3 = 4 × 0.5376 × (1 - 0.5376) ≈ 0.9943. Then, these three random numbers are multiplied by the interval length of the first preset frequency range, 20 Hz, to obtain multiple frequency offset values. The lower limit of the first preset frequency range, 190 Hz, is then added to each of these frequency offset values to obtain multiple reference magnetic field frequencies. The three random numbers are then mapped to three reference magnetic field frequencies: x1 is mapped to a reference magnetic field frequency f1 of 190 Hz + 0.84 × 20 Hz = 206.8 Hz; x2 is mapped to a reference magnetic field frequency f2 of 190 Hz + 0.5376 × 20 Hz = 200.752 Hz; and x3 is mapped to a reference magnetic field frequency f3 of 190 Hz + 0.9943 × 20 Hz = 209.886 Hz.
[0061] S1052. Based on the electrical parameters of the magnetic pulse viscosity reduction device operating at each reference magnetic field frequency within the reference magnetic field frequency range, calculate the second dielectric loss factor to obtain the second dielectric loss factor set.
[0062] The second dielectric loss factor set includes multiple second dielectric loss factors, each corresponding one-to-one with a multiple reference magnetic field frequencies within the reference magnetic field frequency range. The calculation process for the second dielectric loss factor can be referred to the calculation process for the first dielectric loss factor described above, and will not be repeated here.
[0063] S1053. Based on the second dielectric loss factor set, determine the third frequency from the reference magnetic field frequency range.
[0064] As an example, step S1053 above may specifically include: determining the reference frequency with the smallest second dielectric loss factor from the reference magnetic field frequency range as the third frequency.
[0065] The control method for the magnetic pulse viscosity reduction device at the oil pipeline station provided in this application embodiment can first determine a reference magnetic field frequency range near a second frequency, then recalculate the second medium loss factor corresponding to each frequency within this reference magnetic field frequency range, and determine a third frequency from it. Finally, adjustment is performed based on the third frequency. This allows for a local refinement search near the initial correction result. Since the second frequency is based on historical trends and residence time predictions, there may be a certain deviation from the actual optimal frequency. This application can effectively correct this deviation by narrowing the frequency search range and re-evaluating the medium loss factor, making the final frequency used for adjustment closer to the low-loss operating point under the current operating conditions, thereby improving the accuracy of frequency adjustment and the adaptability to changes in actual operating conditions.
[0066] As another example, step S1053 above may specifically include: selecting second dielectric loss factors that are less than a preset threshold from the set of second dielectric loss factors; and using the average value of the reference magnetic field frequency corresponding to the selected second dielectric loss factors as the third frequency.
[0067] The preset threshold can be set through simulation experiments or according to the actual situation.
[0068] S1054, The magnetic field frequency of the magnetic pulse viscosity reduction device based on the third frequency adjustment.
[0069] As an example, the third frequency can be directly used as the target frequency, and the magnetic field frequency of the magnetic pulse viscosity reduction device can be adjusted to the third frequency.
[0070] As another example, the target frequency can be further optimized based on the third frequency. In this case, the steps of adjusting the magnetic field frequency of the magnetic pulse viscosity reduction device based on the third frequency can specifically include: determining a trial frequency range based on the third frequency and the second preset frequency range; iteratively narrowing the trial frequency range based on the comparison results of the dielectric loss factor until the interval length of the trial frequency range is less than a preset length threshold; determining the target frequency from the trial frequency range, and adjusting the magnetic field frequency of the magnetic pulse viscosity reduction device based on the target frequency.
[0071] The interval length is the difference between the upper and lower limits of the test frequency range.
[0072] For example, the step of determining the test frequency range based on the third frequency and the second preset frequency range may specifically include: using the third frequency as the center frequency of the test frequency range to extend the second preset frequency range to obtain the test frequency range.
[0073] For example, the step of iteratively narrowing the test frequency range based on the comparison results of the dielectric loss factor until the interval length of the test frequency range is less than a preset length threshold may specifically include: Step 1: Perform the first operation: Determine the step frequency based on the product of the interval length of the trial frequency range and the preset segmentation parameter. Take the sum of the lower limit of the trial frequency range and the step frequency as the first trial frequency, and take the difference between the upper limit of the trial frequency range and the step frequency as the second trial frequency.
[0074] Step 2: Perform the second operation: Obtain the dielectric loss factor corresponding to the first test frequency and the dielectric loss factor corresponding to the second test frequency.
[0075] Step 3: Perform the third operation: If the dielectric loss factor corresponding to the first test frequency is greater than the dielectric loss factor corresponding to the second test frequency, then the first test frequency is taken as the lower limit of the test frequency range, while the upper limit of the test frequency range remains unchanged, to update the test frequency range; if the dielectric loss factor corresponding to the first test frequency is less than or equal to the dielectric loss factor corresponding to the second test frequency, then the second test frequency is taken as the upper limit of the test frequency range, while the lower limit of the test frequency range remains unchanged, to update the test frequency range.
[0076] Step 4: Repeat the first, second, and third operations until the interval length of the trial frequency range is less than the preset length threshold.
[0077] For example, taking a third frequency of 205 Hz as an example, assuming a second preset frequency range of 10 Hz, the third frequency can be used as the center frequency, and extended 5 Hz to the left and right respectively to obtain a range of [200 Hz, 210 Hz] as the initial test frequency range. Taking a preset segmentation parameter of 0.382 as an example, the step frequency of 3.82 Hz is determined based on the product of the interval length of 10 Hz and the preset segmentation parameter of 0.382. The sum of the lower limit of the test frequency range of 200 Hz and the step frequency of 3.82 Hz, 203.82 Hz, is used as the first test frequency, and the difference between the upper limit of the test frequency range of 210 Hz and the step frequency of 3.82 Hz, 206.18 Hz, is used as the second test frequency.
[0078] Then, assuming the calculated dielectric loss factor for the first test frequency of 203.82 Hz is 0.016 and the dielectric loss factor for the second test frequency of 206.18 Hz is 0.013, 0.016 is greater than 0.013. This indicates that the better frequency is to the right of the test frequency range. Therefore, the first test frequency is updated to the lower limit of the test frequency range, while keeping the upper limit of the test frequency range unchanged. The updated test frequency range is [203.82 Hz, 210 Hz], and the interval length of the test frequency range is 6.18 Hz. Taking a preset length threshold of 0.5 Hz as an example, 6.18 Hz is greater than 0.5 Hz, and the iteration continues.
[0079] In the second iteration, the step frequency of 2.36 Hz is determined based on the product of the interval length of 6.18 Hz and the preset segmentation parameter of 0.382. The sum of the lower limit of the test frequency range of 203.82 Hz and the step frequency of 2.36 Hz, which is 206.18 Hz, is used as the first test frequency. The difference between the upper limit of the test frequency range of 210 Hz and the step frequency of 2.36 Hz, which is 207.64 Hz, is used as the second test frequency.
[0080] Then, assuming the calculated dielectric loss factor for the first test frequency of 206.18 Hz is 0.012 and the dielectric loss factor for the second test frequency of 207.64 Hz is 0.011, 0.012 is greater than 0.011. This indicates that the better frequency is to the right of the test frequency range. Therefore, the first test frequency is updated to the lower limit of the test frequency range, while keeping the upper limit of the test frequency range unchanged. The updated test frequency range is [206.18 Hz, 210 Hz], with an interval length of 3.82 Hz. 6.18 Hz is greater than 0.5 Hz, and the iteration continues.
[0081] If the above process is iterated until the trial frequency range is [207.5 Hz, 207.9 Hz], and the interval length is 0.4 Hz which is less than 0.5 Hz, the iteration ends, and the final trial frequency range is [207.5 Hz, 207.9 Hz].
[0082] The control method for the magnetic pulse viscosity reduction device at the oil pipeline station provided in this application embodiment can further refine the search based on the third frequency. By setting a trial frequency range and using preset segmentation parameters to determine two trial frequencies within the interval, and then retaining the better sub-interval based on the comparison results of the medium loss factor, it achieves progressive optimization from selecting discrete average values to approximating continuous intervals. This allows the search range to shrink at a stable rate, avoiding redundancy caused by calculating all frequencies within the interval one by one, and ensuring that the iteration direction is always consistent with the goal of minimizing the medium loss factor. As the interval length gradually converges to the preset accuracy requirement, the target frequency determined from this interval can more accurately approximate the actual lowest loss operating point, thereby compensating for the deviation that may have been caused by only taking the average value of multiple reference frequencies. While improving the frequency adjustment accuracy, it also takes into account the iteration efficiency, enabling the magnetic pulse viscosity reduction device to operate at a low loss frequency and further improving the magnetic field energy utilization rate.
[0083] For example, the step of determining the target frequency from the trial frequency range described above may specifically include: taking the average of the upper and lower limits of the trial frequency range as the target frequency.
[0084] Based on the understanding of the above embodiments, Figure 3 This is a schematic diagram illustrating the trial frequency range update process provided in an embodiment of this application. Figure 3 The proposed frequency range update process may include the following steps: S201. Determine the step frequency based on the product of the interval length of the trial frequency range and the preset segmentation parameter. Use the sum of the lower limit of the trial frequency range and the step frequency as the first trial frequency, and use the difference between the upper limit of the trial frequency range and the step frequency as the second trial frequency.
[0085] S202. Obtain the dielectric loss factor corresponding to the first test frequency and the dielectric loss factor corresponding to the second test frequency, respectively.
[0086] S203. Determine whether the dielectric loss factor corresponding to the first test frequency is greater than the dielectric loss factor corresponding to the second test frequency.
[0087] If yes, then execute S204 and then S206; otherwise, execute S205 and then S206.
[0088] S204. Use the first test frequency as the lower limit of the test frequency range, and keep the upper limit of the test frequency range unchanged, so as to update the test frequency range.
[0089] S205. The second test frequency is used as the upper limit of the test frequency range, while the lower limit of the test frequency range remains unchanged, so as to update the test frequency range.
[0090] S206. Determine whether the interval length of the test frequency range is less than the preset length threshold.
[0091] If yes, then execute S207; otherwise, return to S201.
[0092] S207, Output the final test frequency range.
[0093] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, each device, such as the control device of a magnetic pulse viscosity reduction device, includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the algorithm steps of the examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Experts may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0094] This application embodiment can divide the control device of the magnetic pulse viscosity reduction device into functional modules according to the above method embodiment. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one functional module. The integrated module can be implemented in hardware or software. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods. The following description uses the example of dividing each functional module according to each function.
[0095] In an exemplary embodiment, this application provides a control device for a magnetic pulse viscosity reduction device at an oil transportation station. Figure 4 A schematic diagram illustrating the composition of the control device for the magnetic pulse viscosity reduction equipment at an oil transfer station provided in this embodiment of the application. Figure 4 The control device may include a processing module 401.
[0096] The processing module 401 is used to calculate a first medium loss factor based on the electrical parameters of the magnetic pulse viscosity reduction device operating at each magnetic field frequency within the working magnetic field frequency range, according to the magnitude of the magnetic field frequency, to obtain a first medium loss factor set; the first medium loss factor set includes multiple first medium loss factors, and the multiple first medium loss factors correspond one-to-one with multiple magnetic field frequencies within the working magnetic field frequency range; a first frequency is determined based on the magnetic field frequency corresponding to the smallest first medium loss factor in the first medium loss factor set; the residence time of crude oil in the magnetic pulse region of the magnetic pulse viscosity reduction device is determined based on the crude oil state data and pipeline state data of the working pipeline of the magnetic pulse viscosity reduction device; the first frequency is corrected based on the slope of the change of the first medium loss factor in the first medium loss factor set over time and the residence time to obtain a second frequency; and the magnetic field frequency of the magnetic pulse viscosity reduction device is adjusted based on the second frequency.
[0097] In some embodiments, the processing module 401 is specifically used to: when the slope of change is greater than 0, use the product of the slope of change and the dwell time as the initial frequency adjustment amount; use the product of the initial frequency adjustment amount and the preset safety factor as the frequency adjustment amount; and use the sum of the first frequency and the frequency adjustment amount as the second frequency; the processing module 401 is also used to: when the slope of change is less than 0, use the first frequency as the second frequency.
[0098] In some embodiments, the processing module 401 is specifically used to determine a reference magnetic field frequency range based on a second frequency and a first preset frequency range; calculate a second dielectric loss factor based on the electrical parameters of the magnetic pulse viscosity reduction device operating at each reference magnetic field frequency within the reference magnetic field frequency range, thereby obtaining a second dielectric loss factor set; the second dielectric loss factor set includes multiple second dielectric loss factors, and the multiple second dielectric loss factors correspond one-to-one with multiple reference magnetic field frequencies within the reference magnetic field frequency range; determine a third frequency from the reference magnetic field frequency range based on the second dielectric loss factor set; and adjust the magnetic field frequency of the magnetic pulse viscosity reduction device based on the third frequency.
[0099] In some embodiments, the processing module 401 is specifically used to filter out second dielectric loss factors that are less than a preset threshold from the set of second dielectric loss factors; and to use the average value of the reference magnetic field frequency corresponding to the filtered second dielectric loss factors as the third frequency.
[0100] In some embodiments, the processing module 401 is specifically used to determine a test frequency range based on a third frequency and a second preset frequency range; to iteratively narrow the test frequency range based on the comparison result of the dielectric loss factor until the interval length of the test frequency range is less than a preset length threshold; the interval length is the difference between the upper limit and the lower limit of the test frequency range; to determine the target frequency from the test frequency range; and to adjust the magnetic field frequency of the magnetic pulse viscosity reduction device based on the target frequency.
[0101] In some embodiments, the processing module 401 is specifically used to perform a first operation: determining the step frequency based on the product of the interval length and a preset segmentation parameter; using the sum of the lower limit of the test frequency range and the step frequency as the first test frequency; and using the difference between the upper limit of the test frequency range and the step frequency as the second test frequency; performing a second operation: obtaining the dielectric loss factor corresponding to the first test frequency and the dielectric loss factor corresponding to the second test frequency, respectively; performing a third operation: if the dielectric loss factor corresponding to the first test frequency is greater than the dielectric loss factor corresponding to the second test frequency, then using the first test frequency as the lower limit of the test frequency range, keeping the upper limit of the test frequency range unchanged, to update the test frequency range; if the dielectric loss factor corresponding to the first test frequency is less than or equal to the dielectric loss factor corresponding to the second test frequency, then using the second test frequency as the upper limit of the test frequency range, keeping the lower limit of the test frequency range unchanged, to update the test frequency range; repeating the first, second, and third operations until the interval length of the test frequency range is less than a preset length threshold.
[0102] It should be noted that the above Figure 4 Modules in a module can also be called units; for example, a processing module can be called a processing unit. Additionally, in... Figure 4 In the embodiments shown, the names of the modules may not be the same as those shown in the figure.
[0103] Figure 4 If the various modules in the process are implemented as software functional modules and sold or used as independent products, they can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of software products. These software products are stored in a storage medium and include several instructions to cause an electronic device or processor to execute all or part of the steps of the methods of the various embodiments of this application. Storage media for storing computer software products include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0104] In an exemplary embodiment, this application also provides an electronic device. Figure 5 This is a schematic diagram illustrating the composition of an electronic device provided in an embodiment of this application. For example... Figure 5 As shown, the electronic device includes a processor 502, a communication interface 503, and a bus 504. As an example, the electronic device may also include a memory 501.
[0105] Processor 502 may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 502 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 502 may also be a combination that implements computing functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0106] Communication interface 503 is used to connect to other devices via a communication network. This communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc.
[0107] The memory 501 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.
[0108] As one possible implementation, the memory 501 can exist independently of the processor 502. The memory 501 can be connected to the processor 502 via a bus 504 and is used to store instructions or program code. When the processor 502 calls and executes the instructions or program code stored in the memory 501, it can implement the control method of the magnetic pulse viscosity reduction device for oil transfer stations provided in this application embodiment.
[0109] In another possible implementation, the memory 501 can also be integrated with the processor 502.
[0110] Bus 504 can be an extended industry standard architecture (EISA) bus, etc. Bus 504 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0111] Through the above description of the implementation methods, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the control device of the oil pipeline station magnetic pulse viscosity reduction equipment can be divided into different functional modules to complete all or part of the functions described above.
[0112] In exemplary embodiments, this application also provides a computer-readable storage medium including computer software instructions that, when executed in an electronic device, cause the electronic device to implement the methods described in the above embodiments. The readable storage medium can also be an external storage device of the electronic device, such as a plug-in hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the electronic device. Further, the readable storage medium can include both internal storage units and external storage devices of the electronic device. The readable storage medium is used to store the software instructions and other programs and data required by the electronic device. The readable storage medium can also be used to temporarily store data that has been output or will be output.
[0113] In an exemplary embodiment, this application also provides a computer program product including computer instructions that, when executed on an electronic device, cause the electronic device to perform the methods described in the above method embodiments.
[0114] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software programs, implementation can be, in whole or in part, in the form of a computer program product. This computer program product includes one or more computer-executable instructions. When these computer-executable instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer-executable instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer-executable instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, Bluetooth, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device containing one or more servers, data centers, etc., that can be integrated with the medium. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape) or an optical medium (e.g., DVD), etc.
[0115] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, disclosure, and appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple instances. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.
[0116] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of this application. Accordingly, this specification and drawings are merely exemplary illustrations of this application as defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from the spirit and scope of this application. Thus, if such modifications and modifications of this application fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and modifications.
[0117] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A control method for a magnetic pulse viscosity reduction device at an oil pipeline station, characterized in that, The method includes: Based on the electrical parameters of the magnetic pulse viscosity reduction device operating at each magnetic field frequency within the working magnetic field frequency range, the first dielectric loss factor is calculated according to the order of magnetic field frequency magnitude, resulting in a first dielectric loss factor set; the first dielectric loss factor set includes multiple first dielectric loss factors, and the multiple first dielectric loss factors correspond one-to-one with multiple magnetic field frequencies within the working magnetic field frequency range. The first frequency is determined based on the magnetic field frequency corresponding to the smallest first medium loss factor in the first medium loss factor set; Based on the crude oil status data and pipeline status data of the working pipeline of the magnetic pulse viscosity reduction device, the residence time of crude oil in the magnetic pulse region of the magnetic pulse viscosity reduction device is determined. Based on the slope of the change of the first medium loss factor with time in the first medium loss factor set and the dwell time, the first frequency is corrected to obtain the second frequency; The magnetic field frequency of the magnetic pulse viscosity reduction device is adjusted based on the second frequency.
2. The method according to claim 1, characterized in that, The step of correcting the first frequency based on the slope of the change of the first medium loss factor over time in the first medium loss factor set and the dwell time to obtain the second frequency includes: When the slope of change is greater than 0, the product of the slope of change and the dwell time is used as the initial frequency adjustment amount; The frequency adjustment amount is based on the product of the initial frequency adjustment amount and the preset safety factor. The sum of the first frequency and the frequency adjustment amount is taken as the second frequency; The method further includes: If the slope of change is less than 0, the first frequency is taken as the second frequency.
3. The method according to claim 1, characterized in that, The adjustment of the magnetic field frequency of the magnetic pulse viscosity reduction device based on the second frequency includes: Based on the second frequency and the first preset frequency range, the reference magnetic field frequency range is determined; Based on the electrical parameters of the magnetic pulse viscosity reduction device operating at each reference magnetic field frequency within the reference magnetic field frequency range, a second dielectric loss factor is calculated to obtain a second dielectric loss factor set; the second dielectric loss factor set includes multiple second dielectric loss factors, and the multiple second dielectric loss factors correspond one-to-one with multiple reference magnetic field frequencies within the reference magnetic field frequency range; Based on the second set of dielectric loss factors, a third frequency is determined from the reference magnetic field frequency range; The magnetic field frequency of the magnetic pulse viscosity reduction device is adjusted based on the third frequency.
4. The method according to claim 3, characterized in that, Determining the third frequency from the reference magnetic field frequency range based on the second dielectric loss factor set includes: Select second media loss factors that are less than a preset threshold from the set of second media loss factors; The average value of the reference magnetic field frequency corresponding to the selected second dielectric loss factor is taken as the third frequency.
5. The method according to claim 3, characterized in that, The adjustment of the magnetic field frequency of the magnetic pulse viscosity reduction device based on the third frequency includes: Based on the third frequency and the second preset frequency range, determine the test frequency range; Based on the comparison results of the medium loss factor, the range of the test frequency is iteratively narrowed until the interval length of the test frequency range is less than a preset length threshold; the interval length is the difference between the upper limit and the lower limit of the test frequency range. The target frequency is determined from the range of proposed frequencies, and the magnetic field frequency of the magnetic pulse viscosity reduction device is adjusted based on the target frequency.
6. The method according to claim 5, characterized in that, The comparison result based on the medium loss factor iteratively narrows the test frequency range until the interval length of the test frequency range is less than a preset length threshold, including: Perform the first operation: determine the step frequency based on the product of the interval length and the preset segmentation parameter, take the sum of the lower limit of the trial frequency range and the step frequency as the first trial frequency, and take the difference between the upper limit of the trial frequency range and the step frequency as the second trial frequency. Perform the second operation: obtain the dielectric loss factor corresponding to the first test frequency and the dielectric loss factor corresponding to the second test frequency, respectively; Perform the third operation: If the dielectric loss factor corresponding to the first test frequency is greater than the dielectric loss factor corresponding to the second test frequency, then the first test frequency is used as the lower limit of the test frequency range, while the upper limit of the test frequency range remains unchanged, to update the test frequency range; if the dielectric loss factor corresponding to the first test frequency is less than or equal to the dielectric loss factor corresponding to the second test frequency, then the second test frequency is used as the upper limit of the test frequency range, while the lower limit of the test frequency range remains unchanged, to update the test frequency range. Repeat the first operation, the second operation, and the third operation until the interval length of the trial frequency range is less than the preset length threshold.
7. A control device for a magnetic pulse viscosity reduction equipment at an oil transportation station, characterized in that, The device includes: a processing module; The processing module is used to calculate a first dielectric loss factor based on the electrical parameters of the magnetic pulse viscosity reduction device operating at each magnetic field frequency within the working magnetic field frequency range, according to the magnitude of the magnetic field frequency, to obtain a first dielectric loss factor set; the first dielectric loss factor set includes multiple first dielectric loss factors, and each of the multiple first dielectric loss factors corresponds one-to-one with multiple magnetic field frequencies within the working magnetic field frequency range; a first frequency is determined based on the magnetic field frequency corresponding to the smallest first dielectric loss factor in the first dielectric loss factor set; the residence time of crude oil in the magnetic pulse region of the magnetic pulse viscosity reduction device is determined based on the crude oil state data and pipeline state data of the working pipeline of the magnetic pulse viscosity reduction device; the first frequency is corrected based on the slope of the change of the first dielectric loss factor in the first dielectric loss factor set over time and the residence time to obtain a second frequency; and the magnetic field frequency of the magnetic pulse viscosity reduction device is adjusted based on the second frequency.
8. An electronic device, characterized in that, include: Memory and processor; The memory stores instructions that the processor can execute; When the processor is configured to execute the instructions, the electronic device performs the method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, include: Computer software instructions; When the computer software instructions are executed in an electronic device, the electronic device causes the electronic device to perform the method as described in any one of claims 1-6.
10. A computer program product, characterized in that, include: Computer instructions; When the computer instructions are executed in an electronic device, the electronic device causes the electronic device to perform the method as described in any one of claims 1-6.
