Potentiostat intelligent control module, potentiostat intelligent control system and potentiostat intelligent control method

文档序号:1374603 发布日期:2020-08-14 浏览:32次 中文

阅读说明:本技术 一种恒电位仪智能化控制模块、控制系统及控制方法 (Potentiostat intelligent control module, potentiostat intelligent control system and potentiostat intelligent control method ) 是由 张响 滕卫明 杨秦敏 钱济人 解剑波 范海东 李清毅 张嵘 张国民 陈积明 周君 于 2020-07-08 设计创作,主要内容包括:本发明涉及一种恒电位仪智能化控制模块,包括:中央处理器;继电器单元,与中央处理器连接;继电器单元包括两路继电器电路,分别用于并联在恒电位仪的电源启停开关和工作方式开关的两端,以控制电源启停开关和工作方式开关的通断;模拟量采集单元,与中央处理器连接,用于与恒电位仪连接,以采集阴极保护电位;模拟量输出单元,与中央处理器连接,用于与恒电位仪连接,控制恒电位仪的电压输出;通讯单元,与中央处理器连接,用于与外界通信。本发明自动控制恒电位仪的电源启停、工作方式,并根据阴保桩测得的管道电位控制恒电位仪的输出信号幅度,实现管道阴极保护闭环控制,避免恒电位仪输出波动过大或过小,造成设备损坏或管道不在保护范围。(The invention relates to an intelligent control module of a potentiostat, which comprises: a central processing unit; the relay unit is connected with the central processing unit; the relay unit comprises two relay circuits which are respectively connected in parallel at two ends of a power supply start-stop switch and a working mode switch of the potentiostat so as to control the on-off of the power supply start-stop switch and the working mode switch; the analog quantity acquisition unit is connected with the central processing unit and is used for being connected with the constant potential rectifier so as to acquire the cathodic protection potential; the analog quantity output unit is connected with the central processing unit and is used for being connected with the constant potential rectifier to control the voltage output of the constant potential rectifier; and the communication unit is connected with the central processing unit and is used for communicating with the outside. The invention automatically controls the starting, stopping and working modes of the power supply of the potentiostat, controls the amplitude of the output signal of the potentiostat according to the pipeline potential measured by the cathode protection pile, realizes the closed-loop control of the pipeline cathode protection, and avoids the damage of equipment or the pipeline out of the protection range caused by overlarge or undersize output fluctuation of the potentiostat.)

1. The intelligent control module of the potentiostat is characterized by comprising:

a central processing unit;

the relay unit is connected with the central processing unit; the relay unit comprises two relay circuits which are respectively connected in parallel at two ends of a power supply start-stop switch and a working mode switch of the potentiostat so as to control the on-off of the power supply start-stop switch and the working mode switch;

the analog quantity acquisition unit is connected with the central processing unit and is used for being connected with the constant potential rectifier so as to acquire the cathodic protection potential;

the analog quantity output unit is connected with the central processing unit and is used for being connected with the constant potential rectifier so as to control the voltage output of the constant potential rectifier;

and the communication unit is connected with the central processing unit and is used for communicating with the outside.

2. The potentiostat intelligent control module of claim 1, wherein the communication unit has a GPRS communication module.

3. An intelligent control system of a potentiostat is characterized by comprising the intelligent control module as claimed in claim 1, and further comprising the potentiostat and a server in a pipeline cathode protection system, wherein two relay circuits of a relay unit are respectively connected in parallel at two ends of a power supply start-stop switch and a working mode switch of the potentiostat, an analog quantity acquisition unit is connected with a cathode potential signal unit of the potentiostat, an analog quantity output unit is connected with a voltage control unit of the potentiostat, and a communication unit is in communication connection with the server.

4. The potentiostat intelligent control system of claim 3, wherein the communication unit communicates with the server via GPRS mode.

5. The potentiostat intelligent control system of claim 3, wherein the server is a remote server.

6. A potentiostat intelligent control method applied to the intelligent control module according to claim 1 or 2, characterized in that it comprises the following steps:

s1, electrifying the intelligent control module, turning on a power supply start-stop switch of the potentiostat through the relay unit and turning on a working mode switch of the potentiostat to be in a constant potential working mode;

s2, the central processing unit collects the cathodic protection potential of the potentiostat through the analog quantity collecting unit;

s3, the CPU judges whether the cathodic protection potential reaches a predetermined potential value; if not, the voltage output of the constant potential rectifier is controlled through the analog quantity output unit until the cathodic protection potential reaches a preset potential value.

7. An intelligent control method of a potentiostat, applied to the intelligent control system according to any one of claims 3 to 5, characterized in that it comprises the following steps:

s10, the server accumulatively collects the cathodic protection potential for N times through the intelligent control module, wherein N is an integer greater than 1;

s20, the server compares the cathodic protection potential collected each time with the upper potential limit and the lower potential limit; if the cathodic protection potentials are all larger than the upper potential limit for N times, the step is switched to S30; if the cathodic protection potentials are less than the lower potential limit for N times, the step is switched to S40;

s30, the server sends an output voltage reduction command to the intelligent control module, the analog quantity output unit reduces the output voltage amplitude, controls the voltage output of the potentiostat, and returns to S10;

and S40, the server sends a command of increasing the output voltage to the intelligent control module, the analog quantity output unit increases the output voltage amplitude, the voltage output of the potentiostat is controlled, and the step returns to S10.

8. The intelligent control method of a potentiostat according to claim 7,

assuming that the cathodic protection potential is A for N consecutive times1、A2、…、ANUpper limit of potential VhLower limit of VlThe original preset potential of the constant potential instrument is VoResetting the potential as V to adjust the voltage output of the constant potential instrument;

an algorithm for voltage output amplitude, comprising:

suppose A1、A2、…、ANMaximum value of AmaxMinimum value of Amin

If Amin>VhIf so, resetting the preset potential V = Vo× 0.95.95, until the output of the potentiostat is adjusted to Amin≥Vl、Amax≤Vh

If Amax<VlIf so, resetting the preset potential V = Vo× 1.05.05, until the output of the potentiostat is adjusted to Amin≥Vl、Amax≤Vh

If Amax>Vh、Amin<VlAnd A ismaxLess than 1.2V, and resetting potential V = V relative to copper sulfate reference electrodeo× 1.05.05, until the output of the potentiostat is adjusted to Amin≥Vl

If Amax>Vh、Amin<VlAnd A ismax>1.2V、And relative to the copper sulfate reference electrode, sending an alarm signal to be processed.

9. The intelligent control method for the potentiostat according to claim 7, wherein the intervals between the acquisition of the cathodic protection potential are the same in duration.

10. The potentiostat intelligent control method according to claim 7, characterized in that the value of N is 5.

Technical Field

The invention belongs to the technical field of potentiostat intelligent control, and particularly relates to a potentiostat intelligent control module, a potentiostat intelligent control system and a potentiostat intelligent control method.

Background

The cathodic protection system is widely applied to oil gas buried steel pipelines, the failure of the cathodic protection system can cause the corrosion and perforation of the oil gas steel pipelines, and as the medium conveyed by the oil gas pipelines is flammable and explosive, once leakage occurs, property loss and environmental pollution are often caused, and casualties and adverse social effects are caused seriously.

In the existing cathodic protection system, the output regulation of the potentiostat is usually carried out by single-point signal feedback, and places except a protected structure signal feedback point cannot timely guarantee that the potentiostat is subjected to cathodic protection, so that the cathodic protection system cannot really and effectively operate. Moreover, a potentiostat of the cathodic protection system automatically adjusts according to single-point signal feedback, and manual adjustment is performed after manual periodic measurement is mostly adopted for other signal feedback, and the period of manual test is long (one month or one quarter). In addition, the conventional cathodic protection system is increasingly subjected to external interference, so that the conventional potentiostat cannot meet the current situation, and a plurality of sets of cathodic protection systems are usually managed by a cathodic protection technician, so that the management difficulty is high under the condition that intellectualization cannot be realized.

Disclosure of Invention

Based on the defects in the prior art, the invention provides an intelligent control module, a control system and a control method for a potentiostat.

In order to achieve the purpose, the invention adopts the following technical scheme:

a potentiostat intelligent control module, comprising:

a central processing unit;

the relay unit is connected with the central processing unit; the relay unit comprises two relay circuits which are respectively connected in parallel at two ends of a power supply start-stop switch and a working mode switch of the potentiostat so as to control the on-off of the power supply start-stop switch and the working mode switch;

the analog quantity acquisition unit is connected with the central processing unit and is used for being connected with the constant potential rectifier so as to acquire the cathodic protection potential;

the analog quantity output unit is connected with the central processing unit and is used for being connected with the constant potential rectifier so as to control the voltage output of the constant potential rectifier;

and the communication unit is connected with the central processing unit and is used for communicating with the outside.

Preferably, the communication unit has a GPRS communication module.

The invention also provides an intelligent control system of the potentiostat, which comprises the intelligent control module, the potentiostat and a server in the pipeline cathode protection system, wherein two relay circuits of a relay unit are respectively connected in parallel at two ends of a power supply start-stop switch and a working mode switch of the potentiostat, an analog quantity acquisition unit is connected with a cathode potential signal unit of the potentiostat, an analog quantity output unit is connected with a voltage control unit of the potentiostat, and a communication unit is in communication connection with the server.

Preferably, the communication unit communicates with the server through a GPRS mode.

Preferably, the server is a remote server.

The invention also provides an intelligent control method of the potentiostat, which is applied to the intelligent control module in any scheme, and comprises the following steps:

s1, electrifying the intelligent control module, turning on a power supply start-stop switch of the potentiostat through the relay unit and turning on a working mode switch of the potentiostat to be in a constant potential working mode;

s2, the central processing unit collects the cathodic protection potential of the potentiostat through the analog quantity collecting unit;

s3, the CPU judges whether the cathodic protection potential reaches a predetermined potential value; if not, the voltage output of the constant potential rectifier is controlled through the analog quantity output unit until the cathodic protection potential reaches a preset potential value.

The invention also provides an intelligent control method of the potentiostat, which is applied to the intelligent control system in any scheme, and the intelligent control method comprises the following steps:

s10, the server accumulatively collects the cathodic protection potential for N times through the intelligent control module, wherein N is an integer greater than 1;

s20, the server compares the cathodic protection potential collected each time with the upper potential limit and the lower potential limit; if the cathodic protection potentials are all larger than the upper potential limit for N times, the step is switched to S30; if the cathodic protection potentials are less than the lower potential limit for N times, the step is switched to S40;

s30, the server sends an output voltage reduction command to the intelligent control module, the analog quantity output unit reduces the output voltage amplitude, controls the voltage output of the potentiostat, and returns to S10;

and S40, the server sends a command of increasing the output voltage to the intelligent control module, the analog quantity output unit increases the output voltage amplitude, the voltage output of the potentiostat is controlled, and the step returns to S10.

As a preferred scheme, assume that the cathodic protection potential is A for N consecutive times1、A2、…、ANUpper limit of potential VhLower limit of VlThe original preset potential of the constant potential instrument is VoResetting the potential as V to adjust the voltage output of the constant potential instrument;

an algorithm for voltage output amplitude, comprising:

suppose A1、A2、…、ANMaximum value of AmaxMinimum value of Amin

If Amin>VhIf so, resetting the preset potential V = Vo× 0.95.95, until the output of the potentiostat is adjusted to Amin≥Vl、Amax≤Vh

If Amax<VlIf so, resetting the preset potential V = Vo× 1.05.05, until the output of the potentiostat is adjusted to Amin≥Vl、Amax≤Vh

If Amax>Vh、Amin<VlAnd A ismaxLess than 1.2V, and resetting potential V = V relative to copper sulfate reference electrodeo× 1.05.05, until the output of the potentiostat is adjusted to Amin≥Vl

If Amax>Vh、Amin<VlAnd A ismaxIf the voltage is more than 1.2V and the voltage is opposite to the copper sulfate reference electrode, an alarm signal is sent to wait for treatment.

Preferably, the intervals between the acquisition of the cathodic protection potentials are the same in duration.

Preferably, the value of N is 5.

Compared with the prior art, the invention has the beneficial effects that:

the intelligent control module of the potentiostat can automatically control the starting, stopping and working modes of a power supply of the potentiostat, and can control the amplitude of an output signal of the potentiostat according to the pipeline potential measured by the intelligent cathode protection pile, thereby realizing closed-loop control of pipeline cathode protection. The intelligent control module can avoid the equipment damage caused by overlarge output fluctuation of the potentiostat through a reasonable control program.

The potentiostat intelligent control system and the control method realize the intelligent control of the potentiostat in the cathode protection system, realize the intelligent regulation and output of the potentiostat in the cathode protection system according to the real-time feedback data of the protected structure through the omnibearing signal feedback of the protected structure, and ensure that the potentiostat of the cathode protection system can deal with the change of the external environment in real time, thereby ensuring the effective operation of the cathode protection system and eliminating the potential safety hazard.

Drawings

Fig. 1 is a schematic diagram of the architecture of the potentiostat intelligent control system of the embodiment of the invention.

Detailed Description

In order to more clearly illustrate the embodiments of the present invention, the following description will explain the embodiments of the present invention with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.

As shown in fig. 1, the potentiostat intelligent control module of the embodiment of the invention includes a communication unit 4, a central processing unit 5, a relay unit 6, an analog quantity acquisition unit 7, and an analog quantity output unit 8, wherein the communication unit 4, the relay unit 6, the analog quantity acquisition unit 7, and the analog quantity output unit 8 are all connected with the central processing unit 5. The model of the central processing unit can be STM32F103VET 6.

The relay unit 6 includes two relay circuits, which are respectively connected in parallel to two ends of a power supply start-stop switch and a working mode switch of the potentiostat, so as to control the on-off of the power supply start-stop switch and the working mode switch. Specifically, the relay unit 6 may be of a model G2R.

The analog quantity acquisition unit 7 is used for being connected with the constant potential rectifier 2 to acquire the cathodic protection potential; specifically, the analog quantity acquisition unit 7 is connected with a cathode potential signal unit 11 of the potentiostat 2, acquires a cathode protection potential, and transmits the cathode protection potential to the central processing unit 5, namely, the analog quantity acquisition unit measures a cathode potential signal existing in the potentiostat, converts the cathode potential signal into a digital signal, and transmits the digital signal to the central processing unit. The analog quantity acquisition unit 7 can be of a DAM3128 type, and the cathode potential signal unit can be of a HDY-2000-CP type.

And the analog quantity output unit 8 is used for being connected with the potentiostat to control the voltage output of the potentiostat. Specifically, the analog quantity output unit 8 is connected to the analog quantity control unit 12 of the potentiostat 2, and controls the analog quantity output of the potentiostat 2. The analog quantity output unit is connected with the original analog quantity control unit of the constant potential rectifier and outputs the analog quantity to control the amplitude of an output signal of the constant potential rectifier. The model of the analog quantity output unit 8 can be DAM3064, and the analog quantity control unit can be HDY-2000-AC.

And the communication unit 4 is used for the central processing unit 5 to communicate with the remote server 3 in a wireless communication mode. For example, the communication unit 4 communicates with the remote server 3 via GPRS mode, receives commands sent by the server, and transmits the commands to the central processing unit. The communication unit may be, for example, SIM 800C.

The potentiostat intelligent control method provided by the embodiment of the invention is based on the potentiostat intelligent control module provided by the embodiment. The control method comprises the following steps: the central processing unit continuously detects the cathodic protection potential signal, if the actual cathodic protection potential does not reach the predetermined potential value, the output voltage of the analog quantity output unit is adjusted until the cathodic protection potential reaches the predetermined potential value.

Specifically, the potentiostat intelligent control method provided by the embodiment of the invention comprises the following steps:

s1, after the intelligent control module 1 is powered on, the relay unit 6 is used for turning on the power supply start-stop switch 9 of the potentiostat 2, and the working mode switch 10 of the potentiostat 2 is turned on to be in a constant potential working mode;

s2, the central processing unit 5 outputs an analog quantity output of the voltage control potentiostat 2 through the analog quantity output unit 8; the central processing unit 5 collects the actual cathodic protection potential through an analog quantity collecting unit 7;

if the actual cathodic protection potential does not reach the predetermined potential value, the output voltage of the analog quantity output unit 8 is adjusted until the cathodic potential reaches the predetermined potential value.

As shown in fig. 1, in the potentiostat intelligent control system according to the embodiment of the present invention, a potentiostat 2 and a remote server 3 are provided in a pipeline cathode protection system, and the potentiostat intelligent control module described in the above embodiment is combined.

Specifically, the central processor unit 5 communicates with the remote server 3 in a wireless communication manner through the communication unit 4.

The relay unit 6 comprises two relay circuits which are respectively connected in parallel at two ends of a power supply start-stop switch 9 and a working mode switch 10 of the potentiostat 2 and control the on-off of the power supply start-stop switch 9 and the working mode switch 10.

The analog quantity acquisition unit 7 is connected with a cathode potential signal unit 11 of the constant potential rectifier 2, acquires cathode protection potential and transmits the cathode protection potential to the central processing unit 5.

The analog quantity output unit 8 is connected with an analog quantity control unit 12 of the potentiostat 2, and controls the output of the analog quantity of the potentiostat 2.

Corresponding to the potentiostat intelligent control system, the potentiostat intelligent control method provided by the embodiment of the invention comprises the following steps: the server 3 receives the pipeline cathodic protection potential collected by the intelligent cathodic protection collection terminal every day, accumulates N potential signals and judges the potential signals: if the N-time signals are all larger than the upper limit of the cathode protection potential, an output voltage reduction command is sent to the intelligent control module 1 through the communication unit, and the central processing unit 5 reduces the output voltage amplitude through the analog quantity output unit 8; if the N-time signals are all smaller than the lower limit of the cathodic protection potential, an output voltage increasing command is sent to the intelligent control module 1 through the communication unit, and the central processing unit 5 increases the output voltage amplitude through the analog output unit 8.

Wherein N is an integer greater than 1.

Specifically, the potentiostat intelligent control method provided by the embodiment of the invention comprises the following steps:

s10, the server accumulatively collects the cathodic protection potential for N times through the intelligent control module, wherein N is an integer greater than 1;

s20, the server compares the cathodic protection potential collected each time with the upper potential limit and the lower potential limit; if the cathodic protection potentials are all larger than the upper potential limit for N times, the step is switched to S30; if the cathodic protection potentials are less than the lower potential limit for N times, the step is switched to S40;

s30, the server sends an output voltage reduction command to the intelligent control module, the analog quantity output unit reduces the output voltage amplitude, controls the voltage output of the potentiostat, and returns to S10;

and S40, the server sends a command of increasing the output voltage to the intelligent control module, the analog quantity output unit increases the output voltage amplitude, the voltage output of the potentiostat is controlled, and the step returns to S10.

Specifically, assume that the cathodic protection potential is A for N consecutive times1、A2、…、ANUpper limit of potential VhLower limit of VlThe original preset potential of the constant potential instrument is VoResetting the potential as V to adjust the voltage output of the constant potential instrument;

an algorithm for voltage output amplitude, comprising:

suppose A1、A2、…、ANMaximum value of AmaxMinimum value of Amin

If Amin>VhIf so, resetting the preset potential V = Vo× 0.95.95, until the output of the potentiostat is adjusted to Amin≥Vl、Amax≤Vh

If Amax<VlIf so, resetting the preset potential V = Vo× 1.05.05, until the output of the potentiostat is adjusted to Amin≥Vl、Amax≤Vh

If Amax>Vh、Amin<VlAnd A ismaxLess than 1.2V, and resetting potential V = V relative to copper sulfate reference electrodeo× 1.05.05, until the output of the potentiostat is adjusted to Amin≥Vl

If Amax>Vh、Amin<VlAnd A ismaxIf the voltage is more than 1.2V, an alarm signal is sent out relative to a copper sulfate reference electrode, namely the current potentiostat cannot be fully adjustedThe structure of the foot to be protected is to be manually treated.

In addition, the interval time for collecting the cathodic protection potential is the same.

The value of N is preferably 5, and may also be 4, 6, 7, 8, and the like, and the specific value may be set according to the actual control accuracy.

The foregoing has outlined rather broadly the preferred embodiments and principles of the present invention and it will be appreciated that those skilled in the art may devise variations of the present invention that are within the spirit and scope of the appended claims.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种酸洗剂添加剂及其制备方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!