Circuit generation method, device and product of oil and gas pipeline low frequency transmitter
By obtaining the measured inductance value of the low-frequency transmitter in the oil and gas pipeline, calculating the target capacitance value, and generating a capacitor combination scheme, the problem of resonant frequency deviation was solved, and efficient resonant matching and signal transmission were achieved.
Patent Information
- Application Number
- CN202611290657.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-24
- Publication Date
- 2026-11-03
AI Technical Summary
In the existing technology, the resonant frequency of low-frequency transmitters for oil and gas pipelines is prone to deviating from 23Hz, resulting in a decrease in coil current, a weakening of the transmitting magnetic field and a reduction in power utilization. There is a lack of effective matching capacitor schemes to adapt to the dispersion of transmitting coil parameters.
By obtaining the measured inductance value of the transmitting coil, the target capacitance value is calculated, and a standard capacitor is selected from the capacitor specification library to generate a capacitor combination scheme, which forms a resonant circuit. The capacitor combination scheme is then adjusted using a closed-loop control algorithm to achieve precise matching.
It improves resonance matching accuracy and debugging consistency, adapts to coil parameter dispersion, and enhances transmission efficiency and signal strength.
Smart Images

Figure CN123034843A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of resonant circuits, and more particularly to a circuit generation method, equipment, and product for a low-frequency transmitter for oil and gas pipelines. Background Technology
[0002] In the process of inspecting oil and gas pipelines, low-frequency electromagnetic transmitters are often installed in the detectors or calibration devices to enable ground tracking and positioning of the detectors inside the pipeline. A low-frequency transmitter typically includes a signal source, a power drive circuit, a transmitting coil, and a matching network. To improve the transmission efficiency of the low-frequency magnetic field, the transmitting coil is often combined with a capacitor to form an LC resonant circuit, allowing the system to obtain a large coil current near the target frequency.
[0003] However, if a fixed capacitor is used directly for matching, the resonant frequency may deviate from 23Hz, resulting in a decrease in coil current, a weakening of the transmitting magnetic field, and a reduction in power utilization. Therefore, commonly used techniques lack a 23Hz low-frequency transmitter resonant matching system and method that can generate a matching capacitor scheme based on the measured parameters of the transmitting coil and make corrections based on the target frequency detection results. Summary of the Invention
[0004] This application provides a circuit generation method, equipment, and product for a low-frequency transmitter for oil and gas pipelines, which aims to improve matching accuracy and debugging consistency, and adapt to the discreteness of coil parameters.
[0005] In a first aspect, embodiments of this application provide a circuit generation method for a low-frequency transmitter in an oil and gas pipeline, comprising: obtaining the measured inductance value of a transmitting coil in a low-frequency transmitter within the oil and gas pipeline; obtaining a target capacitance value based on the target frequency of the low-frequency transmitter and the measured inductance value; selecting a standard capacitor from a capacitor specification library based on the target capacitance value, and generating a capacitor combination scheme based on the standard capacitor, wherein the capacitor combination scheme is used to characterize the connection method of a capacitor matching module based on the standard capacitor, the capacitor matching module having the target capacitance value; and connecting the transmitting coil and the capacitor matching module based on the capacitor combination scheme to form a resonant circuit.
[0006] In one possible implementation, obtaining the target capacitance value based on the target frequency of the low-frequency transmitter and the measured inductance value includes: acquiring the measured resistance value and quality factor of the transmitting coil; calculating a correction coefficient based on the target frequency, the measured inductance value, the measured resistance value, and the quality factor; and correcting the theoretical capacitance value calculated based on the target frequency and the measured inductance value according to the correction coefficient to obtain the target capacitance value.
[0007] In one possible implementation, the step of selecting standard capacitors from a capacitor specification library based on the target capacitance value and generating a capacitor combination scheme based on the standard capacitors includes: extracting capacitance parameters of multiple standard capacitors from the capacitor specification library; performing series combination, parallel combination, or series-parallel combination operations on the multiple standard capacitors based on the capacitance parameters to obtain multiple equivalent capacitance values; obtaining the number of standard capacitors and welding position data corresponding to each equivalent capacitance value; performing correlation processing on each equivalent capacitance value, the number of standard capacitors, and the welding position data to obtain multiple candidate results; and determining the capacitor combination scheme based on the multiple candidate results.
[0008] In one possible implementation, after connecting the transmitting coil and the capacitor matching module based on the capacitor combination scheme to form a resonant circuit, the method further includes: inputting a drive signal corresponding to the target frequency into the resonant circuit; acquiring the coil current through a current sensor; acquiring the terminal voltage through a voltage sampling circuit; acquiring the zero-crossing time of the terminal voltage and the coil current through a zero-crossing detection circuit; and calculating the phase difference based on the zero-crossing time of the terminal voltage and the zero-crossing time of the coil current, wherein the phase difference refers to the difference in sinusoidal magnitude between the zero-crossing times of the terminal voltage and the coil current.
[0009] In one possible implementation, after calculating the phase difference based on the zero-crossing times of the terminal voltage and the coil current, the method further includes: acquiring historical detection data and historical correction results from historical matching records; inputting the historical detection data, the historical correction results, and the currently acquired coil current, terminal voltage, and phase difference into a closed-loop control algorithm, and outputting the current correction direction and the current correction amount; generating a capacitor combination correction result based on the current correction direction and the current correction amount; adjusting the welding position or standard capacitor in the capacitor combination scheme based on the capacitor combination correction result; and reconstructing the resonant circuit based on the adjusted capacitor combination scheme.
[0010] In one possible implementation, after connecting the transmitting coil and the capacitor matching module based on the capacitor combination scheme to form a resonant circuit, the method further includes: providing a welded capacitor matching disk as a welding carrier for the capacitor combination scheme; arranging the welded capacitor matching disk and the transmitting coil along the same axis; dividing the capacitor welding units on the welded capacitor matching disk into a coarse adjustment area and a fine adjustment area; welding a large-capacity standard capacitor to the coarse adjustment area and a small-capacity standard capacitor to the fine adjustment area according to the capacity allocation result in the capacitor combination scheme; and connecting the welded welded capacitor matching disk to the transmitting coil.
[0011] In one possible implementation, the step of selecting a standard capacitor from a capacitor specification library based on the target capacitance value and generating a capacitor combination scheme based on the standard capacitor includes: reading the inventory status field corresponding to each standard capacitor in the capacitor specification library; filtering candidate standard capacitors based on the inventory status field; and generating the capacitor combination scheme using the filtered candidate standard capacitors.
[0012] In one possible implementation, after selecting a standard capacitor from the capacitor specification library based on the target capacitance value and generating a capacitor combination scheme based on the standard capacitor, the method further includes: determining the inventory status of the target standard capacitor based on the capacitor combination scheme; generating procurement suggestion data when the data corresponding to the inventory status meets preset conditions; and sending the procurement suggestion data to the supply chain system.
[0013] In one possible implementation, after selecting a standard capacitor from a capacitor specification library based on the target capacitance value and generating a capacitor combination scheme based on the standard capacitor, the method further includes: connecting the transmitting coil and the capacitor matching module using a digital power amplifier chip or a power drive module composed of a power amplifier chip; using a bridge output structure to form the output terminal of the power drive module; connecting the output terminal to a resonant circuit composed of the transmitting coil and the capacitor matching module; and outputting a drive signal to the resonant circuit through the bridge output structure, the drive signal being used by the oil and gas pipeline detector to transmit a detection signal.
[0014] Secondly, embodiments of this application provide a circuit generation device for a low-frequency transmitter for oil and gas pipelines, comprising:
[0015] The acquisition module is used to acquire the measured inductance value of the transmitting coil in the low-frequency transmitter inside the oil and gas pipeline;
[0016] The calculation module is used to obtain the target capacitance value based on the target frequency of the low-frequency transmitter and the measured inductance value;
[0017] The selection module is used to select a standard capacitor from the capacitor specification library based on the target capacitance value, and generate a capacitor combination scheme based on the standard capacitor;
[0018] A connection module is used to connect the transmitting coil and the capacitor matching module based on the capacitor combination scheme to form a resonant circuit.
[0019] In one possible implementation, when the calculation module obtains the target capacitance value based on the target frequency of the low-frequency transmitter and the measured inductance value, it is specifically used to: obtain the measured resistance value and quality factor of the transmitting coil; calculate a correction coefficient based on the target frequency, the measured inductance value, the measured resistance value, and the quality factor; and correct the theoretical capacitance value calculated based on the target frequency and the measured inductance value according to the correction coefficient to obtain the target capacitance value.
[0020] In one possible implementation, when the selection module selects a standard capacitor from the capacitor specification library based on the target capacitance value and generates a capacitor combination scheme based on the standard capacitor, it is specifically used to: extract the capacitance parameters of multiple standard capacitors from the capacitor specification library; perform series combination, parallel combination, or series-parallel combination operations on the multiple standard capacitors based on the capacitance parameters to obtain multiple equivalent capacitance values; obtain the number of standard capacitors and welding position data corresponding to each equivalent capacitance value; perform correlation processing on each equivalent capacitance value, the number of standard capacitors, and the welding position data to obtain multiple candidate results; and determine the capacitor combination scheme based on the multiple candidate results.
[0021] In one possible implementation, after the connection module connects the transmitting coil and the capacitor matching module based on the capacitor combination scheme to form a resonant circuit, it is further configured to: input a drive signal corresponding to the target frequency into the resonant circuit; acquire the coil current through a current sensor; acquire the terminal voltage through a voltage sampling circuit; acquire the zero-crossing time of the terminal voltage and the coil current through a zero-crossing detection circuit; and calculate the phase difference based on the zero-crossing time of the terminal voltage and the zero-crossing time of the coil current, wherein the phase difference refers to the difference in sinusoidal magnitude between the zero-crossing times of the terminal voltage and the coil current.
[0022] In one possible implementation, after calculating the phase difference based on the zero-crossing times of the terminal voltage and the coil current, the connection module is further configured to: acquire historical detection data and historical correction results from historical matching records; input the historical detection data, the historical correction results, and the currently acquired coil current, terminal voltage, and phase difference into a closed-loop control algorithm, and output the current correction direction and the current correction amount; generate a capacitor combination correction result based on the current correction direction and the current correction amount; adjust the welding position or standard capacitor in the capacitor combination scheme based on the capacitor combination correction result; and reconstruct the resonant circuit based on the adjusted capacitor combination scheme.
[0023] In one possible implementation, after the connection module connects the transmitting coil and the capacitor matching module based on the capacitor combination scheme to form a resonant circuit, it is further configured to: provide a welded capacitor matching disk as a welding carrier for the capacitor combination scheme; arrange the welded capacitor matching disk and the transmitting coil along the same axis; divide the capacitor welding units on the welded capacitor matching disk into a coarse adjustment area and a fine adjustment area; according to the capacitance allocation result in the capacitor combination scheme, weld a large-capacity standard capacitor to the coarse adjustment area and a small-capacity standard capacitor to the fine adjustment area; and connect the welded welded capacitor matching disk to the transmitting coil.
[0024] In one possible implementation, when the selection module selects a standard capacitor from the capacitor specification library based on the target capacitance value and generates a capacitor combination scheme based on the standard capacitor, it is specifically used to: read the inventory status field corresponding to each standard capacitor in the capacitor specification library; filter candidate standard capacitors based on the inventory status field; and generate the capacitor combination scheme using the filtered candidate standard capacitors.
[0025] In one possible implementation, after the selection module selects a standard capacitor from the capacitor specification library based on the target capacitance value and generates a capacitor combination scheme based on the standard capacitor, it is further configured to: determine the inventory status of the target standard capacitor based on the capacitor combination scheme; generate procurement suggestion data when the data corresponding to the inventory status meets preset conditions; and send the procurement suggestion data to the supply chain system.
[0026] In one possible implementation, after the selection module selects a standard capacitor from the capacitor specification library based on the target capacitance value and generates a capacitor combination scheme based on the standard capacitor, it is further configured to: connect the transmitting coil and the capacitor matching module using a digital power amplifier chip or a power drive module composed of a power amplifier chip; construct the output terminal of the power drive module using a bridge output structure; connect the output terminal to the resonant circuit composed of the transmitting coil and the capacitor matching module; and output a drive signal to the resonant circuit through the bridge output structure, the drive signal being used by the oil and gas pipeline detector to transmit a detection signal.
[0027] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0028] The memory stores computer-executed instructions;
[0029] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.
[0030] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.
[0031] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.
[0032] This application provides a circuit generation method, device, and product for a low-frequency transmitter in an oil and gas pipeline. The method involves obtaining the measured inductance value of the transmitting coil in the low-frequency transmitter within the pipeline; obtaining a target capacitance value based on the target frequency of the low-frequency transmitter and the measured inductance value; selecting standard capacitors from a capacitor specification library based on the target capacitance value; and generating a capacitor combination scheme based on the standard capacitors. This capacitor combination scheme characterizes the connection method of a capacitor matching module constructed based on the standard capacitors, and the capacitor matching module has the target capacitance value. Based on the capacitor combination scheme, the transmitting coil and the capacitor matching module are connected to form a resonant circuit. The target capacitance value is dynamically calculated based on the measured inductance value of the transmitting coil, and a weldable capacitor combination scheme is generated using a standard capacitor combination generation algorithm. The resonant circuit is then welded according to the capacitor combination scheme. This achieves improved matching accuracy and debugging consistency, and adapts to the discreteness of coil parameters. Attached Figure Description
[0033] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0034] Figure 1 A schematic diagram of a circuit generation method for a low-frequency transmitter for oil and gas pipelines provided in this application;
[0035] Figure 2 A flowchart illustrating a circuit generation method for a low-frequency transmitter for oil and gas pipelines provided in this application. Figure 1 ;
[0036] Figure 3 A flowchart illustrating a circuit generation method for a low-frequency transmitter for oil and gas pipelines provided in this application. Figure 2 ;
[0037] Figure 4 A flowchart illustrating a circuit generation method for a low-frequency transmitter for oil and gas pipelines provided in this application. Figure 3 ;
[0038] Figure 5A flowchart illustrating a circuit generation method for a low-frequency transmitter for oil and gas pipelines provided in this application. Figure 4 ;
[0039] Figure 6 A flowchart illustrating a circuit generation method for a low-frequency transmitter for oil and gas pipelines provided in this application. Figure 5 ;
[0040] Figure 7 This is a schematic diagram of the welded capacitor matching disk structure provided in this application;
[0041] Figure 8 This is a flowchart of the 23Hz resonance matching based on measured coil parameters;
[0042] Figure 9 This is a schematic diagram of the connection structure between a miniaturized coaxial multilayer circuit board and a transmitting coil.
[0043] Figure 10 A schematic diagram of the circuit generation device for a low-frequency transmitter for oil and gas pipelines provided in this application;
[0044] Figure 11 A schematic diagram of the structure of the electronic device provided in this application.
[0045] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0046] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0047] Figure 1 A schematic diagram of a circuit generation method for a low-frequency transmitter for oil and gas pipelines provided in this application is shown below. Figure 1 As shown, in the inspection of oil and gas pipelines, a ground tracking and positioning system based on detectors inside the oil and gas pipelines was used. The detectors need to carry low-frequency electromagnetic transmitters to emit magnetic field signals at 23 Hz, so that ground equipment can realize real-time positioning of the detectors through magnetic field induction. The resonant matching efficiency of the low-frequency electromagnetic transmitter directly determines the signal strength and positioning accuracy.
[0048] Based on the above scenarios, it can be seen that in existing technologies, the inductance value of the transmitting coil in actual engineering is discrete due to factors such as winding process, material differences, and assembly tolerances. If a fixed capacitor is used for matching, the resonant frequency is easily deviated from the target frequency (23Hz), thereby reducing the transmission efficiency (a technical problem). In addition, miniaturized pipeline detection equipment has extremely high requirements for component size, power consumption, and assembly complexity. Traditional relay or adjustable capacitor array solutions cannot balance performance and integration.
[0049] This application provides a circuit generation method for a low-frequency transmitter for oil and gas pipelines. It generates a weldable capacitor combination scheme through a standard capacitor combination generation algorithm, and then welds a resonant circuit according to the capacitor combination scheme, thus solving the resonance offset problem caused by the discreteness of coil parameters.
[0050] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0051] Figure 2 A flowchart illustrating a circuit generation method for a low-frequency transmitter for oil and gas pipelines provided in this application. Figure 1 ,like Figure 2 As shown, the method includes:
[0052] Step S101: Obtain the measured inductance value of the transmitting coil in the low-frequency transmitter inside the oil and gas pipeline.
[0053] Step S102: Obtain the target capacitance value based on the target frequency of the low-frequency transmitter and the measured inductance value.
[0054] Step S103: Select a standard capacitor from the capacitor specification library based on the target capacitance value, and generate a capacitor combination scheme based on the standard capacitor. The capacitor combination scheme is used to characterize the connection method of the capacitor matching module based on the standard capacitor. The capacitor matching module has the target capacitance value.
[0055] Step S104: Based on the capacitor combination scheme, connect the transmitting coil and the capacitor matching module to form a resonant circuit.
[0056] For example, the first step is to obtain the measured inductance value of the transmitting coil in the low-frequency transmitter within the oil and gas pipeline. There are two common implementation methods: In one possible method, an external measuring instrument is used to measure the coil inductance. The operator inputs the measured value into the backend system via a human-machine interface, and the module directly reads this value as the measured inductance value. In another possible method, the backend system automatically applies a test signal to the coil through a built-in impedance measurement circuit and calculates the measured inductance value based on the response signal. Next, the target capacitance value is calculated based on the target frequency of the low-frequency transmitter and the measured inductance value. The backend system uses a preset target frequency of 23Hz and the obtained measured inductance value as input, and calculates the corresponding target capacitance value based on the LC resonance formula. Subsequently, based on the target capacitance value, standard capacitors are selected from the capacitor specification library, and a capacitor combination scheme is generated. The backend system calls the capacitor specification library to filter available standard capacitors, and generates multiple schemes with equivalent capacitances close to the target value through series and parallel combination operations, ultimately determining the optimal capacitor combination scheme. Finally, based on the capacitor combination scheme, the transmitting coil and the capacitor matching module are connected to form a resonant circuit. Specifically, the operator connects the corresponding standard capacitor to the capacitor matching module according to the capacitor combination scheme and electrically connects it to the transmitting coil to form an LC resonant circuit. For example, in the step of obtaining the measured inductance value, the input is the completed 60-degree winding of the transmitting coil, and the output is the measured inductance value of 90mH; in the step of calculating the target capacitance value, the input is the target frequency of 23Hz and the measured inductance of 90mH, and the output is the target capacitance value of approximately 1.53μF; in the step of generating the capacitor combination scheme, the input is the target capacitance value of 1.53μF and the capacitor specification library, and the output is a combination scheme of 1μF and 0.5μF standard capacitors connected in parallel, with an equivalent capacitance of 1.5μF and a capacitance deviation of approximately 1%; in the step of constructing the resonant circuit, the input is the capacitor combination scheme, the transmitting coil, and the standard capacitor, and the output is an LC resonant circuit composed of the transmitting coil and the matching capacitor.
[0057] The above steps replace the traditional fixed capacitor matching method with a scheme that generates a matching capacitor based on the actual parameters of the coil, thus solving the problem of resonant frequency offset caused by the discreteness of coil processing and improving transmission efficiency and debugging consistency.
[0058] Furthermore, in one possible implementation, step S102 is specifically implemented as follows:
[0059] Step S102-1: Obtain the measured resistance value and quality factor of the transmitting coil.
[0060] Step S102-2: Calculate the correction factor based on the target frequency, measured inductance value, measured resistance value, and quality factor.
[0061] Step S102-3: Correct the theoretical capacitance value calculated based on the target frequency and the measured inductance value according to the correction coefficient to obtain the target capacitance value.
[0062] For example, firstly, the measured resistance and quality factor of the transmitting coil are obtained. Simultaneously, the backend system acquires the coil's resistance and Q-value parameters. This acquisition process can be implemented in two ways: In one possible implementation, the operator simultaneously measures the coil's inductance, resistance, and quality factor using an LCR meter and inputs all three values into the system. In another possible implementation, the system's built-in measurement circuit calculates the resistance and quality factor based on the impedance characteristics at different frequencies using a frequency sweep method. Next, a correction coefficient is calculated based on the target frequency, measured inductance, measured resistance, and quality factor. The backend system substitutes these parameters into the correction formula to calculate a correction coefficient that can offset the effect of the coil's internal resistance on the resonant point offset. Finally, the theoretical capacitance value is corrected based on the correction coefficient to obtain the final target capacitance value. The backend system multiplies the correction coefficient by the ideal theoretical capacitance value to obtain the accurate target capacitance value considering coil losses. For example, in the process of obtaining resistance and quality factor, the input is the transmitting coil, and the output is the measured resistance R=1.2Ω and quality factor Q=50; in the process of calculating the correction factor, the input is the target frequency of 23Hz, the inductance of 98mH, the resistance of 1.2Ω and the Q value of 50, and the output is the correction factor of approximately 1.004; in the process of correcting to obtain the target capacitance value, the input is the theoretical capacitance value of 1.53μF and the correction factor of 1.004, and the output is the corrected target capacitance value of approximately 1.536μF.
[0063] The above steps compensate for the deficiency of the ideal formula in not considering coil losses, further improving the calculation accuracy of the target capacitance. When the coil internal resistance is large and the quality factor is low, the impact of losses on the resonant frequency can be effectively reduced, making the calculated target capacitance more closely match the actual resonance requirements and reducing the number of corrections required in subsequent adjustments.
[0064] Furthermore, in one possible implementation, step S103 is specifically implemented as follows:
[0065] Step S103-1: Extract the capacitance parameters of multiple standard capacitors from the capacitor specification library.
[0066] Step S103-2: Perform series combination, parallel combination, or series-parallel combination operations on multiple standard capacitors based on the capacitance parameters to obtain multiple equivalent capacitance values.
[0067] Step S103-3: Obtain the number of standard capacitors and welding position data corresponding to each equivalent capacitance value.
[0068] Step S103-4: Correlate the equivalent capacitance values, the number of standard capacitors, and the welding position data to obtain multiple candidate results.
[0069] Step S103-5: Determine the capacitor combination scheme based on multiple candidate results.
[0070] For example, firstly, the capacitance parameters of multiple standard capacitors are extracted from the capacitor specification library. The backend system reads the specification library data to form a set of selectable capacitors. Secondly, series, parallel, or series-parallel combination operations are performed on the multiple standard capacitors to obtain multiple equivalent capacitance values. There are two common implementation methods for this combination optimization process: In one possible implementation, a greedy algorithm is used, prioritizing the selection of large-capacity capacitors to approximate the target value, and then using small-capacity capacitors to make up the difference. This method is fast and suitable for scenarios that require rapid solution generation. In another possible implementation, an exhaustive algorithm is used, traversing all possible combinations within a set range of component quantities to select the solution with the smallest deviation. This method has higher matching accuracy and is suitable for scenarios with high accuracy requirements. Subsequently, the number of standard capacitors and welding position data corresponding to each equivalent capacitance value are obtained. The backend system synchronously retrieves the number of components and welding position numbers corresponding to each combination to form complete solution parameters. Then, the equivalent capacitance value, the number of standard capacitors, and the welding position data are correlated to obtain multiple candidate results. The backend system binds the three types of parameters one by one to generate multiple alternative solutions. Finally, based on multiple candidate results, the capacitor combination scheme is determined. The backend system sorts the candidate results according to preset sorting rules such as minimum capacitance deviation, minimum number of components, and symmetrical soldering positions, and selects the best one as the final scheme. For example, in the capacitance parameter extraction stage, the input is a capacitor specification library, and the output is a set of selectable capacitors with capacitance values of 0.1μF, 0.22μF, 0.5μF, and 1μF; in the combination calculation stage, the input is the target capacitor of 1.536μF and the set of selectable capacitors, and the output is multiple sets of equivalent capacitance values such as 1.5μF, 1.52μF, and 1.55μF; in the quantity and position acquisition stage, the input is each set of capacitor combinations, and the output is the corresponding number of components and soldering position numbers; in the candidate result generation stage, the input is the equivalent capacitance, number of components, and soldering position, and the output is 3 sets of candidate schemes; in the final scheme determination stage, the input is 3 sets of candidate results, and the output is the optimal scheme—1μF + 0.5μF in parallel, equivalent to 1.5μF, with 2 components, corresponding to pad 1 in the coarse adjustment area and pad 3 in the fine adjustment area.
[0071] The above steps optimize the combination of standardized capacitors to generate a welding solution that can be directly implemented in engineering, avoiding reliance on non-standard customized capacitors, and balancing capacitance matching accuracy, procurement convenience and welding operability, thereby reducing the cost and debugging difficulty of small-batch production.
[0072] Figure 3 A flowchart illustrating a circuit generation method for a low-frequency transmitter for oil and gas pipelines provided in this application. Figure 2 ,like Figure 3 As shown, the method includes:
[0073] Step S201: Obtain the measured inductance value of the transmitting coil in the low-frequency transmitter inside the oil and gas pipeline.
[0074] Step S202: Obtain the target capacitance value based on the target frequency of the low-frequency transmitter and the measured inductance value.
[0075] Step S203: Select a standard capacitor from the capacitor specification library based on the target capacitance value, and generate a capacitor combination scheme based on the standard capacitor. The capacitor combination scheme is used to characterize the connection method of the capacitor matching module based on the standard capacitor. The capacitor matching module has the target capacitance value.
[0076] Step S204: Based on the capacitor combination scheme, connect the transmitting coil and the capacitor matching module to form a resonant circuit.
[0077] Step S205: Input the driving signal corresponding to the target frequency into the resonant circuit.
[0078] Step S206: Acquire coil current using a current sensor.
[0079] Step S207: Acquire terminal voltage through voltage sampling circuit.
[0080] Step S208: Collect the zero-crossing moments of the terminal voltage and coil current through the zero-crossing detection circuit.
[0081] Step S209: Calculate the phase difference based on the zero-crossing time of the terminal voltage and the zero-crossing time of the coil current. The phase difference refers to the difference between the sinusoidal values of the terminal voltage and the coil current at the zero-crossing time.
[0082] Step S210: Obtain historical detection data and historical correction results from historical matching records.
[0083] Step S211: Input the historical detection data, historical correction results, and the currently acquired coil current, terminal voltage, and phase difference into the closed-loop control algorithm, and output the current correction direction and the current correction amount.
[0084] Step S212: Generate the capacitor combination correction result based on the current correction direction and the current correction amount.
[0085] Step S213: Adjust the welding position or standard capacitor in the capacitor combination scheme according to the capacitor combination correction result.
[0086] Step S214: Reconstruct the resonant circuit based on the adjusted capacitor combination scheme.
[0087] Steps S201 to S204 have been explained in detail above and will not be repeated here.
[0088] For example, in one possible implementation, firstly, the power drive module outputs a drive signal with a target frequency of 23Hz to the resonant circuit. Then, the coil current amplitude is acquired through a series sampling resistor or an independent current sensor. Next, the resonant circuit terminal voltage is obtained through a resistor-divider voltage sampling circuit. Then, two hardware zero-crossing detection circuits capture the zero-crossing moments of the terminal voltage and coil current, respectively. The voltage-current phase difference is then calculated by the digital control module based on the zero-crossing time difference. Subsequently, stored historical matching records are retrieved, and historical detection data, historical correction results, and currently acquired current, voltage, and phase difference parameters are input into the closed-loop control algorithm, outputting the correction direction and specific correction amount for the capacitor capacity. Then, combined with the capacitor specification library and the welding position arrangement of the capacitor matching disk, a correction scheme is generated for adjusting the corresponding welding position or replacing the standard capacitor specification. After adjustment, the resonant circuit is re-driven and relevant parameters are acquired until the preset matching conditions are met. In another possible implementation, the complete waveforms of the coil current and the circuit terminal voltage are synchronously sampled through the analog-to-digital conversion channel. The phase difference between the voltage and current is calculated by the digital control module through a waveform cross-correlation algorithm, without the need for a dedicated hardware zero-crossing detection circuit. Historical matching data of coils of the same batch and specifications are retrieved as the initial input to the closed-loop control algorithm to quickly narrow down the candidate range of capacitor combinations. The optimized capacitor combination correction result is directly output. Based on the result, the operator adds, removes, or replaces the corresponding capacitors in the coarse and fine adjustment areas of the welded capacitor matching disk. After reconstructing the resonant circuit, the secondary detection and verification are completed.
[0089] In summary, the above steps, by adjusting the capacitor welding position or replacing the standard capacitor, complete the matching correction, which can effectively offset the resonant frequency shift caused by the discrepancy of coil processing parameters, ensure that each transmitter works in the optimal resonant state, and improve the transmission efficiency of 23Hz low-frequency signals and the consistency of batch debugging.
[0090] Figure 4 A flowchart illustrating a circuit generation method for a low-frequency transmitter for oil and gas pipelines provided in this application. Figure 3 ,like Figure 4 As shown, the method includes:
[0091] Step S301: Obtain the measured inductance value of the transmitting coil in the low-frequency transmitter inside the oil and gas pipeline.
[0092] Step S302: Obtain the target capacitance value based on the target frequency of the low-frequency transmitter and the measured inductance value.
[0093] Step S303: Select a standard capacitor from the capacitor specification library based on the target capacitance value, and generate a capacitor combination scheme based on the standard capacitor.
[0094] Step S304: Based on the capacitor combination scheme, connect the transmitting coil and the capacitor matching module to form a resonant circuit.
[0095] Step S305: Provide a weldable capacitor matching disk as a welding carrier for the capacitor assembly scheme.
[0096] Step S306: Set the welding capacitor matching disk and the transmitting coil along the same axis.
[0097] Step S307: Divide the capacitor welding unit on the welding capacitor matching disk into a coarse adjustment area and a fine adjustment area.
[0098] Step S308: Based on the capacitance allocation results in the capacitor combination scheme, solder the large-capacity standard capacitor to the coarse adjustment area and the small-capacity standard capacitor to the fine adjustment area.
[0099] Step S309: Connect the welded matching disk of the welded capacitor to the transmitting coil.
[0100] Steps S301 to S304 have been explained previously, so they will not be repeated here.
[0101] For example, after generating the capacitor combination scheme, in one possible implementation, firstly, a circular printed circuit board is used as the carrier for the soldered capacitor matching disk. Then, multiple sets of capacitor soldering units are arranged circumferentially on the disk surface. All soldering units are connected in parallel through a central common connection conductor. The soldering units near the outer edge of the disk are designated as a coarse adjustment area for soldering large-capacity standard capacitors to cover the main matching capacity. The soldering units near the center of the disk are designated as a fine adjustment area for soldering small-capacity standard capacitors to correct capacity deviations. After soldering, the disk and the two ends of the transmitting coil are connected correspondingly through coil connection pads, and the disk as a whole is coaxially stacked with the transmitting coil. In another possible implementation, all capacitor welding units are arranged sequentially along the circumference according to their capacitance gradient. Units with larger capacitance ranges are grouped into a coarse-adjustment area, while those with smaller ranges are grouped into a fine-adjustment area. These two types of areas are arranged in segments along the circumference to ensure a balanced welding load distribution on the disk surface. The disk and the transmitting coil are coaxially positioned at the coil end. During welding, standard capacitors are selected in the corresponding zones according to the capacitor combination scheme to complete the welding. Then, the disk circuit and the transmitting coil are connected in series via leads or connectors to form a resonant circuit. Simultaneously, corresponding resistors can be welded to the pre-reserved damping resistor positions on the disk to adjust the circuit quality factor.
[0102] This embodiment provides a miniaturized capacitor matching hardware carrier adapted to cylindrical coils, solving the problem of excessive volume in traditional adjustable matching structures. It makes full use of the space at the end of the coil for the circular disk, and reduces the overall radial dimension of the structure.
[0103] Furthermore, in one possible implementation, step S303 is specifically implemented as follows:
[0104] Step S303-1: Read the inventory status field corresponding to each standard capacitor in the capacitor specification library.
[0105] Step S303-2: Filter candidate standard capacitors based on the inventory status field.
[0106] Step S303-3: Generate a capacitor combination scheme using the screened candidate standard capacitors.
[0107] For example, firstly, the inventory status field corresponding to each standard capacitor in the capacitor specification library is read to obtain the current available inventory quantity of each capacitance value. This step has two possible implementation methods. In one possible implementation, the data is read from a locally stored inventory data table, and the data is manually entered and updated periodically. In another possible implementation, the system connects to the enterprise inventory management system in real time through a communication interface to obtain dynamically updated inventory data. Secondly, candidate standard capacitors are filtered based on the inventory status field, and standard capacitors with an inventory quantity greater than zero are selected to exclude out-of-stock materials. Finally, capacitor combination schemes are generated using the filtered candidate standard capacitors. The background system executes a combination optimization algorithm within the range of available materials to ensure that all materials in the generated schemes can be immediately used.
[0108] The above steps combine the inventory status screening of available capacitors, reducing the number of adjustments required due to material shortages and improving production debugging efficiency.
[0109] Figure 5 A flowchart illustrating a circuit generation method for a low-frequency transmitter for oil and gas pipelines provided in this application. Figure 4 ,like Figure 5 As shown, the method includes:
[0110] Step S401: Obtain the measured inductance value of the transmitting coil in the low-frequency transmitter inside the oil and gas pipeline.
[0111] Step S402: Obtain the target capacitance value based on the target frequency of the low-frequency transmitter and the measured inductance value.
[0112] Step S403: Select a standard capacitor from the capacitor specification library based on the target capacitance value, and generate a capacitor combination scheme based on the standard capacitor.
[0113] Step S404: Determine the inventory status of the target standard capacitors based on the capacitor combination scheme.
[0114] Step S405: When the data corresponding to the inventory status meets the preset conditions, generate procurement suggestion data.
[0115] Step S406: Send the procurement recommendation data to the supply chain system.
[0116] Step S407: Based on the capacitor combination scheme, connect the transmitting coil and the capacitor matching module to form a resonant circuit.
[0117] Steps S401 to S404 have been explained in detail previously and will not be repeated here.
[0118] For example, starting from step S405, firstly, the inventory status of the target standard capacitor is determined based on the capacitor combination scheme. The inventory status of all capacitor materials involved in the scheme is queried one by one. In one possible implementation, the system compares the quantity in the local inventory database with the quantity required for this production to determine if the inventory is sufficient. In another possible implementation, the system sends a material query request to the supply chain system to obtain real-time inventory and in-transit order data, and comprehensively judges material availability. If the inventory status meets the preset shortage conditions, purchase suggestion data is automatically generated, including the shortage model, specifications, suggested purchase quantity, and required time. Next, the purchase suggestion data is sent to the supply chain system to trigger the purchase process. Finally, the resonant circuit connection is constructed based on the available capacitor combination scheme.
[0119] The above steps, by automatically detecting material inventory, proactively generating procurement suggestions and pushing them to the supply chain system, achieve the linkage between design and material supply, thereby improving supply chain response speed and overall delivery efficiency.
[0120] Figure 6 A flowchart illustrating a circuit generation method for a low-frequency transmitter for oil and gas pipelines provided in this application. Figure 5 ,like Figure 6 As shown, the method includes:
[0121] Step S501: Obtain the measured inductance value of the transmitting coil in the low-frequency transmitter inside the oil and gas pipeline.
[0122] Step S502: Obtain the target capacitance value based on the target frequency of the low-frequency transmitter and the measured inductance value.
[0123] Step S503: Select a standard capacitor from the capacitor specification library based on the target capacitance value, and generate a capacitor combination scheme based on the standard capacitor.
[0124] Step S504: Connect the transmitting coil and capacitor matching module using a digital power amplifier chip or a power drive module composed of a power amplifier chip.
[0125] Step S505: Use a bridge output structure to form the output terminal of the power drive module.
[0126] Step S506: Connect the output terminal to the resonant circuit formed by the transmitting coil and the capacitor matching module.
[0127] Step S507: Output a drive signal to the resonant circuit through the bridge output structure. The drive signal is used by the oil and gas pipeline detector to transmit detection signals.
[0128] Steps S501 to S503 have been explained in the previous text and will not be repeated here.
[0129] For example, after generating the capacitor combination scheme, in one possible implementation, a power drive module is first constructed using a digital power amplifier chip or a Class D power amplifier chip (e.g., a general-purpose Class D audio power amplifier chip). The input of the power drive module is connected to the signal generation circuit, and the output is connected to the resonant circuit. Next, a bridge output structure is used to construct the output of the power drive module, forming two sets of output terminals. Then, the output is connected to both ends of the resonant circuit formed by the transmitting coil and the capacitor matching module, forming a full-bridge drive circuit. Finally, a drive signal is output to the resonant circuit through the bridge output structure, and the drive circuit operates in a resonant state. In another possible implementation, a dedicated digital power amplifier chip combined with GaN power devices is first used to construct a power drive module connected to the transmitting coil and the capacitor matching module. Then, a bridge output stage is designed with the power drive module as its input and the two outputs of the bridge output structure as its output. The connection circuit stage has the output and the resonant circuit as its inputs, and the drive system with electrical connection completed as its output, forming the resonant circuit. Finally, a drive signal is output to the resonant circuit through the bridge output structure.
[0130] The above steps use a digital power amplifier chip paired with a bridge output structure as a power drive scheme to provide efficient low-frequency power excitation for the resonant circuit, reduce the size and heat generation of the power drive section, and improve the driving capability and energy utilization.
[0131] Figure 7 The schematic diagram of the welded capacitor matching disk structure provided in this application is shown in the figure. On the disk, the square structure pointed to by C3 in the upper right part is the common connection conductor 71, the square structure pointed to by C1 is the capacitor welding unit 72, and the square object above L- is the test / coil pad 73.
[0132] Figure 8 The flowchart for 23Hz resonant matching based on measured coil parameters is shown in the figure. S1 is the first step of the process, which is to wind the transmitting coil. S2 is to measure the inductance, resistance and charge. S3 is to calculate the target capacitance. S4 is to generate a combination scheme from the specification library. S5 is to weld / configure the capacitor matching disk. If it does not match, it is returned for correction. S6 is to drive and sample the circuit, voltage and potential difference at 23 Hz. S7 is to judge and correct the combination. If the judgment is satisfied, the optimal combination is recorded and the matching is completed.
[0133] Figure 9This is a schematic diagram of the relationship between a miniaturized coaxial multilayer circuit board and a transmitting coil. The coaxial multilayer circuit board is located in the upper half, and the transmitting coil is located in the lower half, as shown in the figure. In this schematic diagram, the upper part is the central / circumferential support, the top square strip is the top fixing plate 91, the lower layer is the interface / power board 90, the third layer is the digital control module 10, the fourth layer is the power drive module 50, and the fifth layer is the capacitor matching disk 70; the lower half is the transmitting coil 60.
[0134] Figure 10 A schematic diagram of the circuit generation device for a low-frequency transmitter for oil and gas pipelines provided in this application is shown below. Figure 10 As shown, the circuit generation device 40 for the low-frequency transmitter of the oil and gas pipeline provided in this embodiment includes:
[0135] The acquisition module 401 is used to acquire the measured inductance value of the transmitting coil in the low-frequency transmitter in the oil and gas pipeline;
[0136] The calculation module 402 is used to obtain the target capacitance value based on the target frequency of the low-frequency transmitter and the measured inductance value;
[0137] The selection module 403 is used to select a standard capacitor from the capacitor specification library based on the target capacitance value, and generate a capacitor combination scheme based on the standard capacitor.
[0138] The connection module 404 is used to connect the transmitting coil and the capacitor matching module based on the capacitor combination scheme to form a resonant circuit.
[0139] In one possible implementation, when the calculation module 402 obtains the target capacitance value based on the target frequency of the low-frequency transmitter and the measured inductance value, it is specifically used to: obtain the measured resistance value and quality factor of the transmitting coil; calculate a correction coefficient based on the target frequency, measured inductance value, measured resistance value and quality factor; and correct the theoretical capacitance value calculated based on the target frequency and measured inductance value according to the correction coefficient to obtain the target capacitance value.
[0140] In one possible implementation, when the selection module 403 selects standard capacitors from the capacitor specification library based on the target capacitance value and generates a capacitor combination scheme based on the standard capacitors, it is specifically used to: extract the capacitance parameters of multiple standard capacitors from the capacitor specification library; perform series combination, parallel combination, or series-parallel combination operations on the multiple standard capacitors based on the capacitance parameters to obtain multiple equivalent capacitance values; obtain the number of standard capacitors and welding position data corresponding to each equivalent capacitance value; perform correlation processing on each equivalent capacitance value, the number of standard capacitors, and the welding position data to obtain multiple candidate results; and determine the capacitor combination scheme based on the multiple candidate results.
[0141] In one possible implementation, after the connection module 404 connects the transmitting coil and the capacitor matching module based on the capacitor combination scheme to form a resonant circuit, it is also used to: input a drive signal corresponding to the target frequency to the resonant circuit; acquire the coil current through a current sensor; acquire the terminal voltage through a voltage sampling circuit; acquire the zero-crossing time of the terminal voltage and the coil current through a zero-crossing detection circuit; and calculate the phase difference based on the zero-crossing time of the terminal voltage and the zero-crossing time of the coil current, wherein the phase difference refers to the difference of the sinusoidal amount of the zero-crossing time of the terminal voltage and the coil current.
[0142] In one possible implementation, after calculating the phase difference based on the zero-crossing times of the terminal voltage and the coil current, the connection module 404 is further configured to: acquire historical detection data and historical correction results from historical matching records; input the historical detection data, historical correction results, and the currently acquired coil current, terminal voltage, and phase difference into a closed-loop control algorithm, and output the current correction direction and current correction amount; generate a capacitor combination correction result based on the current correction direction and current correction amount; adjust the welding position or standard capacitor in the capacitor combination scheme based on the capacitor combination correction result; and reconstruct the resonant circuit based on the adjusted capacitor combination scheme.
[0143] In one possible implementation, after the connection module 404 connects the transmitting coil and the capacitor matching module to form a resonant circuit based on the capacitor combination scheme, it is further configured to: provide a welded capacitor matching disk as a welding carrier for the capacitor combination scheme; arrange the welded capacitor matching disk and the transmitting coil along the same axis; divide the capacitor welding units on the welded capacitor matching disk into a coarse adjustment area and a fine adjustment area; according to the capacitance allocation result in the capacitor combination scheme, weld a large-capacity standard capacitor to the coarse adjustment area and a small-capacity standard capacitor to the fine adjustment area; and connect the welded welded capacitor matching disk to the transmitting coil.
[0144] In one possible implementation, when the selection module 403 selects a standard capacitor from the capacitor specification library based on the target capacitance value and generates a capacitor combination scheme based on the standard capacitor, it is specifically used to: read the inventory status field corresponding to each standard capacitor in the capacitor specification library; filter candidate standard capacitors based on the inventory status field; and generate a capacitor combination scheme using the filtered candidate standard capacitors.
[0145] In one possible implementation, after selecting a standard capacitor from the capacitor specification library based on the target capacitance value and generating a capacitor combination scheme based on the standard capacitor, the selection module 403 is further configured to: determine the inventory status of the target standard capacitor based on the capacitor combination scheme; generate procurement suggestion data when the data corresponding to the inventory status meets preset conditions; and send the procurement suggestion data to the supply chain system.
[0146] In one possible implementation, after selecting a standard capacitor from a capacitor specification library based on the target capacitance value and generating a capacitor combination scheme based on the standard capacitor, the selection module 403 is further configured to: connect the transmitting coil and the capacitor matching module using a digital power amplifier chip or a power drive module composed of a power amplifier chip; use a bridge output structure to form the output terminal of the power drive module; connect the output terminal to a resonant circuit composed of the transmitting coil and the capacitor matching module; and output a drive signal to the resonant circuit through the bridge output structure, the drive signal being used by the oil and gas pipeline detector to transmit a detection signal.
[0147] This embodiment provides a circuit generation device for a low-frequency transmitter for oil and gas pipelines, which can execute the method provided in the above-described method embodiments. Its implementation principle and technical effects are similar, and will not be described in detail here.
[0148] Figure 11 A schematic diagram of the structure of the electronic device provided in this application. Figure 11 As shown, the electronic device 50 provided in this embodiment includes at least one processor 501 and a memory 502. Optionally, the device 50 further includes a communication component 503. The processor 501, memory 502, and communication component 503 are connected via a bus 504.
[0149] In a specific implementation, at least one processor 501 executes computer execution instructions stored in memory 502, causing at least one processor 501 to perform the above-described method.
[0150] The specific implementation process of processor 501 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0151] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0152] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0153] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0154] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0155] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0156] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0157] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0158] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0159] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0160] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0161] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes 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.
[0162] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0163] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A method for generating the circuit of a low-frequency transmitter for oil and gas pipelines, characterized in that, The method includes: Obtain the measured inductance value of the transmitting coil in the low-frequency transmitter inside the oil and gas pipeline; The target capacitance value is obtained based on the target frequency of the low-frequency transmitter and the measured inductance value; Based on the target capacitance value, a standard capacitor is selected from the capacitor specification library, and a capacitor combination scheme is generated based on the standard capacitor. The capacitor combination scheme is used to characterize the connection method of the capacitor matching module based on the standard capacitor, and the capacitor matching module has the target capacitance value. Based on the capacitor combination scheme, the transmitting coil and the capacitor matching module are connected to form a resonant circuit.
2. The method according to claim 1, characterized in that, The step of obtaining the target capacitance value based on the target frequency of the low-frequency transmitter and the measured inductance value includes: Obtain the measured resistance value and quality factor of the transmitting coil; The correction factor is calculated based on the target frequency, the measured inductance value, the measured resistance value, and the quality factor. The theoretical capacitance value calculated based on the target frequency and the measured inductance value is corrected according to the correction coefficient to obtain the target capacitance value.
3. The method according to claim 1, characterized in that, The step of selecting a standard capacitor from a capacitor specification library based on the target capacitance value and generating a capacitor combination scheme based on the standard capacitor includes: Extract the capacitance parameters of multiple standard capacitors from the capacitor specification library; Based on the capacitance parameters, series combination, parallel combination, or series-parallel combination operations are performed on multiple standard capacitors to obtain multiple equivalent capacitance values. Obtain the number of standard capacitors and welding position data corresponding to each of the aforementioned equivalent capacitance values; The equivalent capacitance values, the number of standard capacitors, and the welding position data are correlated to obtain multiple candidate results. The capacitor combination scheme is determined based on multiple candidate results.
4. The method according to claim 1, characterized in that, After connecting the transmitting coil and the capacitor matching module based on the capacitor combination scheme to form a resonant circuit, the method further includes: Input the driving signal corresponding to the target frequency into the resonant circuit; The coil current is collected using a current sensor; The terminal voltage is acquired through a voltage sampling circuit; The zero-crossing times of the terminal voltage and the coil current are acquired by a zero-crossing detection circuit. The phase difference is calculated based on the zero-crossing times of the terminal voltage and the coil current. The phase difference refers to the sinusoidal difference between the zero-crossing times of the terminal voltage and the coil current.
5. The method according to claim 4, characterized in that, After calculating the phase difference based on the zero-crossing times of the terminal voltage and the coil current, the method further includes: Retrieve historical detection data and historical correction results from historical matching records; The historical detection data, the historical correction results, and the currently acquired coil current, terminal voltage, and phase difference are input into the closed-loop control algorithm to output the current correction direction and the current correction amount. Generate a capacitor combination correction result based on the current correction direction and the current correction amount; Adjust the welding positions or standard capacitors in the capacitor combination scheme according to the correction results of the capacitor combination; The resonant circuit is reconstructed based on the adjusted capacitor combination scheme.
6. The method according to claim 1, characterized in that, After connecting the transmitting coil and the capacitor matching module based on the capacitor combination scheme to form a resonant circuit, the method further includes: A weldable capacitor matching disk is provided as a welding carrier for the capacitor assembly scheme; The welded capacitor matching disk and the transmitting coil are arranged along the same axis; The capacitor welding unit on the welded capacitor matching disk is divided into a coarse adjustment area and a fine adjustment area. Based on the capacity allocation results in the capacitor combination scheme, large-capacity standard capacitors are soldered to the coarse adjustment area, and small-capacity standard capacitors are soldered to the fine adjustment area. The welded capacitor matching disk is connected to the transmitting coil after welding.
7. The method according to claim 1, characterized in that, The step of selecting a standard capacitor from a capacitor specification library based on the target capacitance value and generating a capacitor combination scheme based on the standard capacitor includes: Read the inventory status field corresponding to each standard capacitor in the capacitor specification library; Candidate standard capacitors are selected based on the aforementioned inventory status field; The selected candidate standard capacitors are used to generate the capacitor combination scheme.
8. The method according to claim 1, characterized in that, After selecting a standard capacitor from the capacitor specification library based on the target capacitance value and generating a capacitor combination scheme based on the standard capacitor, the method further includes: The inventory status of the target standard capacitors is determined based on the capacitor combination scheme. When the data corresponding to the inventory status meets preset conditions, purchase recommendation data is generated; The procurement recommendation data is sent to the supply chain system.
9. The method according to claim 1, characterized in that, After selecting a standard capacitor from the capacitor specification library based on the target capacitance value and generating a capacitor combination scheme based on the standard capacitor, the method further includes: A power drive module consisting of a digital power amplifier chip or a power amplifier chip is connected to the transmitting coil and the capacitor matching module. The output terminal of the power drive module is constructed using a bridge-type output structure. Connect the output terminal to the resonant circuit formed by the transmitting coil and the capacitor matching module; The bridge output structure outputs a drive signal to the resonant circuit, and the drive signal is used by the oil and gas pipeline detector to transmit a detection signal.
10. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-9.
