Man-machine interaction type stray current drainage method and system
Through a human-machine interactive stray current drainage method, combined with data visualization and real-time control, a 'perception-decision-execution' closed loop is constructed, which solves the problem of insufficient capacity of existing devices in handling dynamic stray currents and achieves the safety protection and life extension of oil and gas pipelines.
Patent Information
- Application Number
- CN202510761376.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-09
- Publication Date
- 2025-09-19
AI Technical Summary
Existing stray current drainage devices are insufficient in capacity and intelligence when handling dynamic stray currents, and are unable to effectively cope with the rapidly changing stray currents leaked from urban rail transit, leading to electrochemical corrosion problems in oil and gas pipelines.
A human-machine interactive stray current discharge method is adopted, and through the deep integration of data visualization, real-time regulation and intelligent mode switching, a 'perception-decision-execution' closed loop is constructed. The proportional-integral control method and pulse width modulation technology are used to generate drive control signals, and the output of the stray current discharge device is monitored and adjusted in real time.
The ability of the stray current drain device to handle dynamic stray current is improved, the safe operation of the oil and gas pipeline is guaranteed, and the service life of the oil and gas pipeline is extended.
Smart Images

Figure CN120675017A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of oil and gas transportation, and in particular to a human-machine interactive stray current discharge method and system thereof. Background Art
[0002] In recent years, energy supply issues have become a key concern. To meet energy demand, pipeline networks have become increasingly large and complex. At the same time, the construction mileage of urban rail transit has also increased significantly. Urban rail transit leaks large amounts of stray current into the underground, causing serious problems with stray current interference. Stray current leaked from urban rail transit flows in and out of damaged oil and gas pipelines through the soil, causing drastic changes in the pipeline's ground potential, which in turn leads to severe electrochemical corrosion of the oil and gas pipelines. This stray current interference has an increasingly serious impact on the dynamics of oil and gas pipelines, threatening the safe operation of energy transmission systems. Therefore, there is an urgent need to develop a stray current drainage device to address this problem.
[0003] Currently, stray current drainage devices primarily employ highly reactive magnesium-aluminum alloys placed near pipelines, utilizing the cathodic protection principle of sacrificial anodes to protect oil and gas pipelines. However, this drainage solution only works when the pipeline ground potential is positive. Furthermore, stray current leaked from urban rail transit is a rapidly changing, dynamic current. Therefore, current methods may have limited capabilities and a lack of intelligence in managing dynamic stray currents.
[0004] Therefore, the poor ability of the stray current drain device in the related art to handle the dynamic stray current problem has become a problem that needs to be solved urgently. Summary of the Invention
[0005] The embodiments of the present application provide a human-machine interactive stray current discharge method and system thereof, which can solve the technical problem that the stray current discharge device in the related art has poor ability to handle dynamic stray current problems.
[0006] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0007] In a first aspect, an embodiment of the present application provides a human-computer interactive stray current discharge method, which includes: in response to an operation of selecting a target working mode input on a standby interface, displaying a first interface; the first interface includes a first input data control; the target working mode includes one of a constant current mode, a constant voltage mode, and a constant potential mode; in response to an operation of inputting preset standard data in the first input data control, displaying collected data; the collected data includes at least one of input current, input voltage, output current, output voltage, and tube ground potential; in the case of the target working mode, periodically displaying optimized control data; wherein, in the case of the constant current mode, the collected data is sequentially passed through a proportional integral control method and a pulse width modulation technology to generate a first drive control signal; A drive control signal is used to change the output signal of the DC-AC conversion module; based on the difference between the output signal and the collected data, optimized control data is obtained; in the constant voltage mode, the collected data is sequentially subjected to a proportional-integral control method and a pulse-width modulation technique to generate a second drive control signal; the second drive control signal is used to change the output signal of the DC-AC conversion module; based on the difference between the output signal and the collected data, optimized control data is obtained; in the constant potential mode, the optimized control data is obtained by driving the collected data based on a target optimization function through a proportional-integral control method and pulse-width modulation to generate a third drive control signal; the third drive control signal is used to change the output signal of the DC-AC conversion module; based on the difference between the sum of the output signal and the grid voltage and the collected data, optimized control data is obtained.
[0008] Based on the above description of the human-machine interactive stray current drainage method provided in the embodiment of the present application, it can be seen that this human-machine interactive stray current drainage method includes deeply integrating data visualization, real-time control, and intelligent mode switching to build a "perception-decision-execution" closed loop. It has intelligent monitoring and control functions, can promptly perceive changes in dynamic stray currents, and regulate them in real time. Through the human-machine interactive interface, the state of the pipeline-to-ground potential can be monitored in real time, and the output of the stray current drainage device can be controlled and adjusted, thereby ensuring the safe operation of the oil and gas pipeline. Furthermore, the ability of the stray current drainage device to handle dynamic stray current problems is improved.
[0009] Furthermore, the working mode of the stray current drain device can be changed according to actual conditions to achieve the control of stray currents and thus increase the service life of the oil and gas pipeline.
[0010] In a feasible implementation of the first aspect, the human-computer interactive stray current discharge method also includes: in response to receiving a real-time drive control signal, changing the opening and closing of the switch tube in the DC-AC conversion module, thereby controlling the output voltage of the DC-AC conversion module; the real-time drive control signal is one of the first drive control signal, the second drive control signal and the third drive control signal; based on the optimized control data, confirming the optimized working mode; in response to the input selection operation of the optimized working mode, jumping to the second interface; the second interface is associated with the optimized working mode.
[0011] In a feasible implementation of the first aspect, the human-computer interactive stray current discharge method further includes: converting the signal type of the collected data from an analog signal to a digital signal through voltage isolation sampling and conditioning technology and current sampling and conditioning technology.
[0012] In a feasible implementation of the first aspect, the first interface includes an input current text display control, an input voltage text display control, an output current text display control, an output voltage text display control, a tube-to-ground potential text display control, an input current floating-point display control, an input voltage floating-point display control, an output current floating-point display control, an output voltage floating-point display control, a tube-to-ground potential floating-point display control, a constant current mode switch button control, a constant voltage mode switch button control, a constant potential mode switch button control, and an oscilloscope button control.
[0013] In a feasible implementation of the first aspect, in the constant current mode, the optimized control data is a constant voltage; in the constant current mode, the optimized control data is a constant current; in the constant potential mode, the optimized control data is to output a corresponding voltage and current based on the collected pipe-to-ground potential value.
[0014] In a feasible implementation of the first aspect, the human-computer interactive stray current discharge method further includes: displaying a tube-to-ground potential waveform in response to a selection operation of an oscilloscope button control input on the first interface.
[0015] In a feasible implementation of the first aspect, the second interface includes a second input data control, and the human-computer interactive stray current discharge method also includes: displaying the collected data in response to the operation of inputting preset standard data in the second input data control; and in the case of an optimized working mode, periodically displaying the optimized control data.
[0016] In the second aspect, the embodiment of the present application also provides a human-computer interactive stray current discharge system, including: a DC-AC conversion module, a control module, a data acquisition and conversion module, a pulse width modulation drive module, a liquid crystal display module, a lightning protection module, a power supply module and a battery; the DC-AC conversion module and the input end of the power supply module are connected to the battery, the control module, the data acquisition and conversion module, the pulse width modulation drive module, the liquid crystal display module are connected to the power supply module, the data acquisition and conversion module, the pulse width modulation drive module, and the liquid crystal display module are respectively connected to the corresponding interfaces of the control module, and the lightning protection module is connected in parallel with the output end and the output end of the DC-AC conversion module; in response to the selection operation of the target working mode input on the standby interface, the liquid crystal display module is configured to display a first interface; the first interface includes a first input data control; the target working mode includes one of a constant current mode, a constant voltage mode and a constant potential mode; in response to the operation of inputting preset standard data in the first input data control, the collected data is displayed; the collected data includes input current, input voltage, output At least one of current, output voltage and pipe-to-ground potential; in the case of the target working mode, the optimized control data is periodically displayed; wherein, in the case of the constant current mode, the collected data is sequentially subjected to the proportional integral control method and the pulse width modulation technology to generate a drive control signal; the drive control signal is used to make the DC-AC conversion module change the output signal; based on the difference between the output signal and the collected data, the optimized control data is obtained; in the case of the constant voltage mode, the collected data is sequentially subjected to the proportional integral control method and the pulse width modulation technology to generate a drive control signal; the drive control signal is used to make the DC-AC conversion module change the output signal; based on the difference between the output signal and the collected data, the optimized control data is obtained; in the case of the constant potential mode, the optimized control data is obtained by the collected data based on the target optimization function through the proportional integral control method and pulse width modulation to generate the drive control signal; the drive control signal is used to make the DC-AC conversion module change the output signal; based on the difference between the sum of the output signal and the grid voltage and the collected data, the optimized control data is obtained.
[0017] In a third aspect, an embodiment of the present application provides a human-computer interactive stray current discharge system, which includes: at least one processor; a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method provided in the first aspect.
[0018] In this way, by deeply integrating data visualization, real-time control and intelligent mode switching, a "perception-decision-execution" closed loop is constructed, thereby improving the ability of the stray current discharge device to handle dynamic stray current problems.
[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable medium having computer program instructions stored thereon, and the computer program instructions can be executed by a processor to implement the method provided in the first aspect.
[0020] In this way, by deeply integrating data visualization, real-time control and intelligent mode switching, a "perception-decision-execution" closed loop is constructed, thereby improving the ability of the stray current discharge device to handle dynamic stray current problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A schematic structural diagram of a human-machine interactive stray current discharge system provided in an embodiment of the present application;
[0022] Figure 2 A schematic structural diagram of a human-machine interactive stray current discharge system provided in an embodiment of the present application;
[0023] Figure 3 A schematic diagram of a flow chart of a human-computer interactive stray current discharge method provided in an embodiment of the present application;
[0024] Figure 4a A schematic structural diagram of a standby mode in a human-machine interactive stray current discharge method provided in an embodiment of the present application;
[0025] Figure 4b A schematic structural diagram of a constant current mode in a human-machine interactive stray current discharge method provided in an embodiment of the present application;
[0026] Figure 4c A schematic structural diagram of a constant voltage mode in a human-machine interactive stray current discharge method provided in an embodiment of the present application;
[0027] Figure 4d A schematic structural diagram of a constant potential mode in a human-machine interactive stray current discharge method provided in an embodiment of the present application;
[0028] Figure 5 A schematic diagram of a flow chart of a human-computer interactive stray current discharge method provided in an embodiment of the present application;
[0029] Figure 6a A schematic diagram of a flow chart of a human-computer interactive stray current discharge method provided in an embodiment of the present application;
[0030] Figure 6b A schematic flow chart of a human-computer interactive stray current discharge method provided in an embodiment of the present application;
[0031] Figure 6c A schematic flow chart of a human-computer interactive stray current discharge method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention. In the description of the embodiments of the present invention, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0033] In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit differences. At the same time, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0034] The principles and features of the present application are described below. The examples given are only used to explain the present application and are not used to limit the scope of the present application.
[0035] This embodiment of the present application provides a human-machine interactive stray current drainage method suitable for energy transportation and related fields, such as oil and gas pipelines. By deeply integrating data visualization, real-time control, and intelligent mode switching, a closed "perception-decision-execution" loop is constructed, improving the stray current drainage device's ability to handle dynamic stray current issues. Furthermore, the device's operating mode can be changed based on actual conditions to achieve stray current control and extend the service life of oil and gas pipelines.
[0036] The embodiment of the present application provides a human-computer interactive stray current discharge system, which can execute the human-computer interactive stray current discharge method provided in the embodiment of the present application. Figure 1 A schematic structural diagram of a human-computer interactive stray current discharge system provided in an embodiment of the present application.
[0037] like Figure 1As shown, the human-computer interactive stray current discharge system 001 includes at least one processor 011 and a memory 012 communicatively connected to the at least one processor; wherein the memory 012 stores instructions that can be executed by the at least one processor 011, and the instructions are executed by the at least one processor 011 so that the at least one processor 011 can execute the human-computer interactive stray current discharge method provided in an embodiment of the present application.
[0038] like Figure 2 As shown, in some embodiments, the human-computer interactive stray current discharge system includes: a DC-AC conversion module, a control module, a data acquisition and conversion module, a pulse width modulation drive module, a liquid crystal display module, a lightning protection module, a power supply module and a battery.
[0039] The input terminals of the DC / AC conversion module and the power module are both connected to the battery. The battery supplies power to the power module and the DC / AC conversion module.
[0040] The control module, data acquisition and conversion module (DC / AC conversion module), pulse width modulation drive module (PWM drive module), and LCD module are connected to the power module. The power module converts the DC voltage of the battery through various power chips into the DC voltage required by the control module, data acquisition and conversion module, PWM drive module, and LCD module.
[0041] The data acquisition and conversion module, pulse-width modulation drive module, and liquid crystal display module are each connected to corresponding interfaces of the control module. In some embodiments, the control module primarily comprises a control chip DSP28335 and its peripheral circuits. The SCI communication interface, A / D sampling interface, and EPWM interface of the control chip DSP28335 are connected to the liquid crystal display module, the data acquisition and conversion module, and the PWM drive module, respectively. This allows the control module to optimize the tube-to-ground potential collected by the data acquisition and conversion module, control the drive signal emitted by the PWM drive module, vary the output voltage of the DC / AC conversion module, and simultaneously transmit data collected by the data acquisition and conversion module to the liquid crystal display module, displaying various data statuses in real time.
[0042] In response to a selection operation of a target operating mode input on the standby interface, the liquid crystal display module is configured to display a first interface. The first interface includes a first input data control. The target operating mode includes one of a constant current mode, a constant voltage mode, and a constant potential mode.
[0043] In response to an operation of inputting preset standard data in the first input data control, collected data is displayed, wherein the collected data includes at least one of input current, input voltage, output current, output voltage and tube ground potential.
[0044] In the case of the target operating mode, the optimized control data is displayed periodically.
[0045] in,
[0046] In constant current mode, the collected data is sequentially processed through proportional-integral control and pulse-width modulation techniques to generate a drive control signal. This drive control signal is used to change the output signal of the DC / AC converter module. The difference between the output signal and the collected data is used to generate optimized control data.
[0047] In constant voltage mode, the collected data is sequentially processed through proportional-integral control and pulse-width modulation techniques to generate a drive control signal. This drive control signal is used to change the output signal of the DC / AC converter module. The difference between the output signal and the collected data is used to generate optimized control data.
[0048] In constant potential mode, optimized control data is derived from collected data using a proportional-integral control method and pulse-width modulation (PWM) based on a target optimization function. This generates a drive control signal. This drive control signal causes the DC / AC converter module to change its output signal. The optimized control data is derived based on the difference between the sum of the output signal and the grid voltage and the collected data.
[0049] In some embodiments, the DC / AC conversion module (DC / AC conversion module) can change the output voltage according to the control signal sent by the control module, so that the ground potential of the oil and gas pipeline is maintained within a reasonable range.
[0050] In some embodiments, the data acquisition and conversion module is composed of a voltage sampling and conditioning circuit and a current sampling and conditioning circuit. It can convert various collected analog voltage and current signals into digital signals and transmit the converted digital signals to the control chip of the control module. Thus, the data acquisition and conversion module is divided into voltage isolation sampling and conditioning and current sampling and conditioning, and can convert various analog voltage and current signals into digital signals that the control module can recognize, facilitating the control module to perform target optimization control.
[0051] In some embodiments, the PWM driver module, connected to the EPWM interface of the control chip DSP28335, can convert the PWM wave generated by the control chip into a drive signal that controls the on / off switching of the DC / AC converter module. In this way, the PWM driver module can control the on / off switching of the DC / AC converter module based on the control signal from the control module, thereby controlling the output voltage of the DC / AC converter module and achieving stray current control.
[0052] In some embodiments, the LCD module enables communication between the display and the control module, thus enabling human-machine interaction. A technician can click control buttons on the LCD to send control commands to the control chip via the SCI communication interface. Based on these commands, the control chip controls the DC / AC conversion module to operate in a set operating mode. Furthermore, the control chip transmits signals collected by the data acquisition and conversion module to the LCD module, which displays the operating status of the entire stray current drain device and the pipeline-to-ground potential in real time.
[0053] In order to adapt to complex application environments (such as the wild), in some embodiments, the lightning protection module is connected in parallel with the output terminal and the output terminal of the DC-AC conversion module. The main function of the lightning protection module is to provide protection.
[0054] In this way, the DC / AC converter module can change its output voltage based on control signals from the control module, maintaining the pipeline-to-ground potential of the oil and gas pipeline within a reasonable range. The control module can perform targeted optimization control based on the pipeline-to-ground potential collected by the data acquisition and conversion module, controlling the drive signal from the PWM drive module to change the DC / AC converter module's output voltage. Simultaneously, the data collected by the data acquisition and conversion module is sent to the liquid crystal display module, displaying various data statuses in real time. The data acquisition and conversion module is divided into voltage isolation sampling and conditioning and current sampling and conditioning, converting various voltage and current analog signals into digital signals that the control module can recognize, facilitating targeted optimization control. The PWM drive module can control the on and off state of the switching transistors in the DC / AC converter module based on control signals from the control module, thereby controlling the DC / AC converter module's output voltage and achieving stray current control. The liquid crystal display module enables communication between the display screen and the control module, enabling human-machine interaction.
[0055] Figure 3 This is a flow chart of a human-computer interactive stray current discharge method provided in an embodiment of the present application. Figure 3 As shown, in some embodiments, the human-machine interactive stray current discharge method includes the following steps:
[0056] S1, in response to an operation of selecting a target working mode input on a standby interface, displaying a first interface.
[0057] Standby interface, such as Figure 4aAs shown, it includes multiple controls. For example, it includes an input current text display control, an input voltage text display control, an output current text display control, an output voltage text display control, a tube-ground potential text display control, an input current floating-point display control, an input voltage floating-point display control, an output current floating-point display control, an output voltage floating-point display control, a tube-ground potential floating-point display control, a constant current mode switch button control, a constant voltage mode switch button control, a constant potential mode switch button control, and an oscilloscope button control.
[0058] In some embodiments, the human-computer interactive stray current draining method further includes: displaying a tube-to-ground potential waveform in response to a selection operation of an oscilloscope button control input on the first interface. For example, clicking the oscilloscope button control allows real-time viewing of the tube-to-ground potential waveform acquired by the data acquisition and conversion module.
[0059] Target working modes include: Figure 4b The constant current mode shown, Figure 4c The constant voltage mode shown and Figure 4d One of the constant potential modes shown. Clicking the corresponding operating mode switch button control can send instructions to the control module, thereby controlling the stray current drain device to operate in different modes. For example, the constant voltage mode is to make the DC / AC conversion module output a set voltage based on the input reference voltage. The constant current mode is to make the DC / AC conversion module output a set current based on the input reference current. The constant potential mode controls the output of the DC / AC conversion module based on the input reference pipe-to-ground potential through a target optimization algorithm, thereby controlling the pipe-to-ground potential of the oil and gas pipeline to the set pipe-to-ground potential.
[0060] When the target operating mode is constant current mode, Figure 4b As shown, the first interface includes multiple controls. For example, it includes an input current text display control, an input voltage text display control, an output current text display control, an output voltage text display control, a tube-to-ground potential text display control, an input current floating-point display control, an input voltage floating-point display control, an output current floating-point display control, an output voltage floating-point display control, a tube-to-ground potential floating-point display control, a constant current mode switch button control, a constant voltage mode switch button control, a constant potential mode switch button control, and an oscilloscope button control.
[0061] When the target operating mode is constant voltage mode, Figure 4cAs shown, the first interface includes multiple controls. For example, it includes an input current text display control, an input voltage text display control, an output current text display control, an output voltage text display control, a tube-to-ground potential text display control, an input current floating-point display control, an input voltage floating-point display control, an output current floating-point display control, an output voltage floating-point display control, a tube-to-ground potential floating-point display control, a constant current mode switch button control, a constant voltage mode switch button control, a constant potential mode switch button control, and an oscilloscope button control.
[0062] When the target working mode is constant potential mode, Figure 4d As shown, the first interface includes multiple controls. For example, the first interface includes an input current text display control, an input voltage text display control, an output current text display control, an output voltage text display control, a tube-to-ground potential text display control, an input current floating-point display control, an input voltage floating-point display control, an output current floating-point display control, an output voltage floating-point display control, a tube-to-ground potential floating-point display control, a constant current mode switch button control, a constant voltage mode switch button control, a constant potential mode switch button control, and an oscilloscope button control.
[0063] The first interface also includes a first input data control. The first input data control is used to input preset standard data. The preset standard data can be a preset threshold range. For example, a voltage range (-0.1V, 0.1V). Another example is a current range. Another example is a potential range.
[0064] S2, in response to the operation of inputting preset standard data in the first data input control, displaying the collected data.
[0065] The collected data includes at least one of input current, input voltage, output current, output voltage, and tube-to-ground potential. It is understood that the input current is displayed on the input current floating-point display control. The input voltage is displayed on the input voltage floating-point display control. The output current is displayed on the output current floating-point display control. The tube-to-ground potential is displayed on the tube-to-ground potential floating-point display control.
[0066] Exemplarily, when the preset standard data input into the first input data control is a voltage range (-0.1v, 0.1v), the first interface displays the input voltage value and the output voltage value.
[0067] S3, in the case of the target working mode, periodically displaying the optimized control data.
[0068] In some scenarios, the input voltage value and / or the output voltage value is not within the voltage range. By executing step S3, the stray current discharge can be changed according to the actual situation to achieve the control of the stray current and improve the service life of the oil and gas pipeline.
[0069] In some embodiments, the data acquisition and conversion module collects various voltage and current signals in real time and transmits these signals to the control chip of the control module. The control chip then optimizes the collected signals to generate PWM signals, which are then transmitted to the driver module via the EPWM interface. This PWM signal controls the DC / AC conversion module to output the corresponding voltage and current to manage stray currents. The control module also transmits the collected voltage and current signals to the display screen, which displays these data on the corresponding display controls after receiving the signals. The operating mode of the stray current drain device can be changed by clicking buttons on the display screen.
[0070] like Figure 6a As shown, in constant current mode, the collected data is sequentially processed through proportional-integral control and pulse-width modulation techniques to generate a drive control signal. The drive control signal is used to change the output signal of the DC-AC conversion module. The difference between the output signal and the collected data is used to generate optimized control data.
[0071] like Figure 6b As shown, in constant voltage mode, the collected data is sequentially processed through proportional-integral control and pulse-width modulation techniques to generate a drive control signal. The drive control signal is used to change the output signal of the DC-AC conversion module. The difference between the output signal and the collected data is used to generate optimized control data.
[0072] like Figure 6c As shown, in constant potential mode, optimized control data is derived from collected data using a proportional-integral control method and pulse-width modulation (PWM) based on the target optimization function to generate a drive control signal. This drive control signal causes the DC-AC converter module to change its output signal. The optimized control data is derived based on the difference between the sum of the output signal and the grid voltage and the collected data.
[0073] In some embodiments, in constant current mode, the optimized control data is a constant voltage. In constant current mode, the optimized control data is a constant current. In constant potential mode, the optimized control data is outputting a corresponding voltage and current based on the collected tube-to-ground potential value.
[0074] In some embodiments, the human-computer interactive stray current discharge method further includes:
[0075] S4, in response to receiving the driving control signal, changing the on and off state of the switch tube in the DC-AC conversion module, thereby controlling the output voltage of the DC-AC conversion module.
[0076] S5: confirm the optimized working mode based on the optimized control data.
[0077] S6: In response to the input selection operation of the optimized working mode, jump to the second interface.
[0078] The second interface is associated with the optimized working mode. Figure 5 As shown, taking the constant voltage mode as an example, you can select the constant current mode from the constant voltage mode interface. Alternatively, you can select the constant potential mode from the constant voltage mode interface. The changes between the constant current mode and the constant potential mode are similar to those of the constant voltage mode and will not be detailed here.
[0079] In some embodiments, the second interface includes a second input data control, and the human-computer interactive stray current discharge method further includes:
[0080] S7 , in response to the operation of inputting preset standard data in the second data input control, displaying the collected data.
[0081] S8, in the case of the optimization working mode, periodically displaying the optimization control data.
[0082] For the generation of the optimization control data, please refer to step S3, which will not be described in detail here.
[0083] In some embodiments, the human-computer interactive stray current discharge method further includes: converting the signal type of the collected data from an analog signal to a digital signal through a voltage isolation sampling and conditioning technology and a current sampling and conditioning technology.
[0084] Based on the same application concept, embodiments of the present application also provide a human-machine interactive stray current drainage system. The method corresponding to the human-machine interactive stray current drainage system can be the human-machine interactive stray current drainage method in the aforementioned embodiments, and its principle of solving the problem is similar to that of the aforementioned embodiments. The human-machine interactive stray current drainage system provided in the embodiments of the present application includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the methods and / or technical solutions of the aforementioned multiple embodiments of the present application.
[0085] Another embodiment of the present application further provides a computer-readable storage medium having computer program instructions stored thereon, which can be executed by a processor to implement the methods and / or technical solutions of any one or more embodiments of the present application.
[0086] Specifically, the present embodiment can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.
[0087] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0088] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0089] Computer program code for performing the operations of the present application can be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0090] The flow chart or block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the equipment, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code include one or more executable instructions for realizing the logical function of the specification. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs the function or operation of the specification, or can be implemented with a combination of dedicated hardware and computer instructions.
[0091] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0092] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or page components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0093] The units described as separate components may or may not be physically separate, and 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 these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0094] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0095] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program code.
[0096] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
[0097] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices recited in a device claim may also be implemented by a single unit or device through software or hardware. Terms such as "first" and "second" are used to indicate names and do not imply any particular order.
Claims
1. A human-computer interactive stray current discharge method, characterized in that: include: In response to a selection operation of a target working mode input on the standby interface, displaying a first interface; The first interface includes a first input data control; The target operating mode includes one of a constant current mode, a constant voltage mode and a constant potential mode; In response to an operation of inputting preset standard data in the first input data control, collected data is displayed; the collected data includes at least one of input current, input voltage, output current, output voltage and tube ground potential; In the case of the target operating mode, periodically displaying optimized control data; in, In the constant current mode, the collected data is sequentially subjected to a proportional-integral control method and a pulse width modulation technique to generate a first drive control signal; the first drive control signal is used to cause the DC-AC conversion module to change an output signal; and the optimized control data is obtained based on a difference between the output signal and the collected data; In the case of a constant voltage mode, the collected data is sequentially subjected to a proportional-integral control method and a pulse width modulation technique to generate a second drive control signal; the second drive control signal is used to cause the DC-AC conversion module to change an output signal; and the optimized control data is obtained based on a difference between the output signal and the collected data; In the constant potential mode, the optimized control data is obtained by the collected data based on the target optimization function through the proportional integral control method and pulse width modulation drive to generate a third drive control signal; the third drive control signal is used to make the DC-AC conversion module change the output signal; the optimized control data is obtained based on the difference between the sum of the output signal and the grid voltage and the collected data.
2. The human-computer interactive stray current discharge method according to claim 1, characterized in that: The human-machine interactive stray current discharge method further includes: In response to receiving a real-time drive control signal, changing the on and off state of a switch in the DC-AC conversion module, thereby controlling the output voltage of the DC-AC conversion module; the real-time drive control signal is one of the first drive control signal, the second drive control signal, and the third drive control signal; Determining an optimized operating mode based on the optimized control data; In response to an input selection operation for the optimized working mode, a second interface is jumped to; the second interface is associated with the optimized working mode.
3. The human-computer interactive stray current discharge method according to claim 1 or 2, characterized in that: The human-machine interactive stray current discharge method further includes: The signal type of the collected data is converted from an analog signal to a digital signal through voltage isolation sampling and conditioning technology and current sampling and conditioning technology.
4. The human-computer interactive stray current discharge method according to claim 1 or 2, characterized in that: The first interface includes an input current text display control, an input voltage text display control, an output current text display control, an output voltage text display control, a tube-ground potential text display control, an input current floating-point display control, an input voltage floating-point display control, an output current floating-point display control, an output voltage floating-point display control, a tube-ground potential floating-point display control, a constant current mode switch button control, a constant voltage mode switch button control, a constant potential mode switch button control, and an oscilloscope button control.
5. The human-computer interactive stray current discharge method according to claim 1 or 2, characterized in that: In the case of the constant current mode, the optimized control data is a constant voltage; In the case of the constant current mode, the optimized control data is a constant current; In the case of the constant potential mode, the optimized control data is outputting a corresponding voltage and current according to the collected pipe-to-ground potential value.
6. The human-computer interactive stray current discharge method according to claim 4, characterized in that: The human-machine interactive stray current discharge method further includes: In response to a selection operation of the oscilloscope button control input on the first interface, a tube-to-ground potential waveform is displayed.
7. The human-computer interactive stray current discharge method according to claim 2, characterized in that: The second interface includes a second input data control, and the human-computer interactive stray current discharge method further includes: In response to an operation of inputting preset standard data in the second data input control, displaying collected data; In the case of the optimization operating mode, the optimization control data is periodically displayed.
8. A human-computer interactive stray current discharge system, characterized in that: include: DC-AC conversion module, control module, data acquisition and conversion module, pulse width modulation drive module, liquid crystal display module, lightning protection module, power supply module and battery; The input ends of the DC-AC conversion module and the power supply module are both connected to the battery, the control module, the data acquisition and conversion module, the pulse width modulation drive module, and the liquid crystal display module are connected to the power supply module, the data acquisition and conversion module, the pulse width modulation drive module, and the liquid crystal display module are respectively connected to the corresponding interfaces of the control module, and the lightning protection module is connected in parallel with the output end and the output end of the DC-AC conversion module; In response to a selection operation of a target operating mode input on the standby interface, the liquid crystal display module is configured to display a first interface; the first interface includes a first input data control; the target operating mode includes one of a constant current mode, a constant voltage mode, and a constant potential mode; In response to an operation of inputting preset standard data in the first input data control, collected data is displayed; the collected data includes at least one of input current, input voltage, output current, output voltage and tube ground potential; In the case of target working mode, optimized control data is periodically displayed; in, In the constant current mode, the collected data is sequentially subjected to a proportional-integral control method and a pulse width modulation technique to generate a first drive control signal; the first drive control signal is used to cause the DC-AC conversion module to change an output signal; and the optimized control data is obtained based on a difference between the output signal and the collected data; In the case of a constant voltage mode, the collected data is sequentially subjected to a proportional-integral control method and a pulse width modulation technique to generate a second drive control signal; the second drive control signal is used to cause the DC-AC conversion module to change an output signal; and the optimized control data is obtained based on a difference between the output signal and the collected data; In the constant potential mode, the optimization control data is obtained by the collected data based on the target optimization function through a proportional-integral control method and pulse width modulation drive to generate a third drive control signal; the third drive control signal is used to make the DC-AC conversion module change the output signal; the optimization control data is obtained based on the difference between the sum of the output signal and the grid voltage and the collected data.
9. A human-computer interactive stray current discharge system, characterized in that: include: at least one processor; a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.
10. A computer-readable medium having computer program instructions stored thereon, characterized in that: The computer program instructions are executable by a processor to implement the method according to any one of claims 1 to 8.