Oil-gas pump motor control method and device

文档序号:1187679 发布日期:2020-09-22 浏览:12次 中文

阅读说明:本技术 一种油气泵电机控制方法和装置 (Oil-gas pump motor control method and device ) 是由 王宜怀 韦雪婷 许粲昊 王进 贾长庆 于 2020-06-16 设计创作,主要内容包括:本发明公开了一种油气泵电机控制方法和装置,涉及油气泵电机技术领域,获得电机给定速度;对给定速度进行速度调节,获得第一速度;获得电机给定速度对应的给定电流;通过第二调节系统对给定电流进行电流调节,获得第一电流;根据给定速度、第一速度和第一电流,获得第一闭环控制系统,第一闭环控制系统为电机速度环控制系统;根据第一速度和换相信号,获得第二闭环控制系统,第二闭环控制系统为位置环控制系统;根据第一电流获得AD信号;对AD信号进行滤波处理,获得第二电流;根据第一电流和第二电流,获得第三闭环控制系统,第三闭环控制系统为电流控制系统。达到了采用三闭环控制结构对电机进行调节,电机抗干扰能力强,控制精准度高的技术效果。(The invention discloses a method and a device for controlling an oil-gas pump motor, which relate to the technical field of oil-gas pump motors and are used for obtaining the given speed of the motor; carrying out speed regulation on the given speed to obtain a first speed; obtaining a given current corresponding to a given speed of the motor; carrying out current regulation on the given current through a second regulating system to obtain a first current; obtaining a first closed-loop control system according to the given speed, the first speed and the first current, wherein the first closed-loop control system is a motor speed loop control system; obtaining a second closed-loop control system according to the first speed and the commutation signal, wherein the second closed-loop control system is a position loop control system; obtaining an AD signal according to the first current; filtering the AD signal to obtain a second current; and obtaining a third closed-loop control system according to the first current and the second current, wherein the third closed-loop control system is a current control system. The technical effects that the motor is adjusted by adopting a three-closed-loop control structure, the anti-interference capability of the motor is strong, and the control accuracy is high are achieved.)

1. A method of controlling an oil and gas pump motor, the method comprising:

obtaining a given speed of the motor;

carrying out speed regulation on the given speed through a first regulation system to obtain a first speed;

obtaining a given current corresponding to a given speed of the motor;

carrying out current regulation on the given current through a second regulating system to obtain a first current;

obtaining a first closed-loop control system according to the given speed, the first speed and the first current, wherein the first closed-loop control system is a motor speed loop control system;

obtaining a second closed-loop control system according to the first speed and the commutation signal, wherein the second closed-loop control system is a position loop control system;

obtaining an AD signal according to the first current;

filtering the AD signal to obtain a second current;

and obtaining a third closed-loop control system according to the first current and the second current, wherein the third closed-loop control system is a current control system.

2. The method of claim 1, wherein the method comprises:

obtaining a first predetermined current threshold;

obtaining real-time current of the motor;

judging whether the real-time current exceeds the first preset current threshold value;

and if the real-time current exceeds the first preset current threshold, obtaining a first control instruction, wherein the first control instruction is used for controlling the motor to stop running.

3. The method of claim 1, wherein the method comprises:

obtaining a first predetermined voltage threshold;

obtaining a real-time voltage of the motor;

judging whether the real-time current exceeds the first preset voltage threshold value;

and if the real-time voltage exceeds the first preset voltage threshold, obtaining a second control instruction, wherein the second control instruction is used for controlling the motor to stop running.

4. The method of claim 1, wherein the method comprises:

obtaining a first parameter adjustment rule;

obtaining a proportional parameter, an integral parameter and a differential control parameter of a first adjusting system and/or a second adjusting system;

and the first adjusting system and/or the second adjusting system adjust the proportional parameter, the integral parameter and the differential control parameter according to the first parameter adjusting rule.

5. The method of claim 4, wherein the first and/or second adjustment system adjusting the proportional parameter, the integral parameter, the derivative control parameter according to the first parameter adjustment rule comprises:

obtaining an output value of the first regulating system and/or the second regulating system;

obtaining a set target value;

judging whether the output value is smaller than the set target value;

and if the output value is larger than or equal to the set target value, obtaining a first adjusting instruction, wherein the first adjusting instruction is used for reducing the integral parameter.

6. The method of claim 4, wherein the first and/or second adjustment system adjusting the proportional parameter, the integral parameter, the derivative control parameter according to the first parameter adjustment rule comprises:

obtaining a convergence time of the first regulation system and/or the second regulation system;

obtaining a predetermined time threshold;

judging whether the convergence time exceeds the preset time threshold value;

and if the convergence time exceeds the preset time threshold, obtaining a second adjusting instruction, wherein the second adjusting instruction is used for increasing the proportion parameter.

7. The method of claim 4, wherein the first and/or second adjustment system adjusting the proportional parameter, the integral parameter, the derivative control parameter according to the first parameter adjustment rule comprises:

obtaining the sensitivity of the output value of the first regulating system and/or the second regulating system to the signal;

obtaining a predetermined sensitivity threshold;

determining whether the sensitivity exceeds the predetermined sensitivity threshold;

if the sensitivity exceeds the predetermined sensitivity threshold, a third adjustment command is obtained, the third adjustment command being used to decrease the differential control command.

8. An oil and gas pump motor control apparatus, the apparatus comprising:

a first obtaining unit for obtaining a motor given speed;

a second obtaining unit, configured to perform speed adjustment on the given speed through a first adjustment system to obtain a first speed;

a third obtaining unit, configured to obtain a given current corresponding to a given speed of the motor;

a fourth obtaining unit, configured to perform current regulation on the given current through a second regulation system to obtain a first current;

a fifth obtaining unit, configured to obtain a first closed-loop control system according to the given speed, the first speed, and the first current, where the first closed-loop control system is a motor speed loop control system;

a sixth obtaining unit, configured to obtain a second closed-loop control system according to the first speed and the phase change signal, where the second closed-loop control system is a position loop control system;

a seventh obtaining unit configured to obtain an AD signal from the first current;

an eighth obtaining unit, configured to perform filtering processing on the AD signal to obtain a second current;

a ninth obtaining unit, configured to obtain a third closed-loop control system according to the first current and the second current, where the third closed-loop control system is a current control system.

9. An oil and gas pump motor control device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any one of claims 1 to 7 are carried out when the program is executed by the processor.

10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.

Technical Field

The application relates to the technical field of oil-gas pump motors, in particular to a method and a device for controlling an oil-gas pump motor.

Background

The gasoline stations can generate oil gas leakage in the processes of storing, transporting and selling gasoline, so that the problems of safety, environmental protection, low energy utilization rate and the like are caused, and the gasoline stations are forced to establish an oil gas recovery system for oil gas recovery. The device for recovering the oil gas volatilized near the oil tank port of the automobile in the oiling process into the oil tank in the oil gas recovery system is called an oil gas recovery pump, and is called an oil gas pump for short. The oil-gas pump is used as a vital device in an oil-gas recovery system, and the stability, safety and maintainability of the system are particularly critical.

However, in the process of implementing the technical solution in the embodiment of the present application, the inventor of the present application finds that the above prior art has at least the following technical problems:

Drawings

FIG. 1 is a schematic flow chart of a method for controlling a motor of an oil and gas pump according to an embodiment of the present invention;

FIG. 2 is a schematic structural diagram of a motor control device of an oil and gas pump in an embodiment of the invention;

FIG. 3 is a schematic diagram of another motor control for an oil and gas pump in accordance with an embodiment of the present invention;

fig. 4 is a three-closed-loop control framework diagram of a motor control method of an oil-gas pump in an embodiment of the invention.

Description of reference numerals: a first obtaining unit 11, a second obtaining unit 12, a third obtaining unit 13, a fourth obtaining unit 14, a fifth obtaining unit 15, a sixth obtaining unit 16, a seventh obtaining unit 17, an eighth obtaining unit 18, a ninth obtaining unit 19, a bus 300, a receiver 301, a processor 302, a transmitter 303, a memory 304, a bus interface 306.

Detailed Description

The embodiment of the application provides an oil-gas pump motor control method and device, solves the technical problems that an oil-gas pump motor control system in the prior art adopts a double-closed-loop control structure, is poor in anti-interference capability and poor in control accuracy, and achieves the technical effects that a motor is adjusted by adopting a three-closed-loop control structure, the anti-interference capability of the motor is strong, and the control accuracy is high.

In order to solve the technical problems, the technical scheme provided by the application has the following general idea:

a method of oil and gas pump motor control, the method comprising: the method comprises the following steps: obtaining a given speed of the motor; carrying out speed regulation on the given speed through a first regulation system to obtain a first speed; obtaining a given current corresponding to a given speed of the motor; carrying out current regulation on the given current through a second regulating system to obtain a first current; obtaining a first closed-loop control system according to the given speed, the first speed and the first current, wherein the first closed-loop control system is a motor speed loop control system; obtaining a second closed-loop control system according to the first speed and the commutation signal, wherein the second closed-loop control system is a position loop control system; obtaining an AD signal according to the first current; filtering the AD signal to obtain a second current; and obtaining a third closed-loop control system according to the first current and the second current, wherein the third closed-loop control system is a current control system. The technical problems that in the prior art, an oil-air pump motor control system adopts a double-closed-loop control structure, the anti-interference capacity is poor and the control precision is poor are solved, and the technical effects that the motor is adjusted by adopting a three-closed-loop control structure, the anti-interference capacity of the motor is strong and the control precision is high are achieved.

The technical solutions of the present application are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features in the embodiments and examples of the present application are detailed descriptions of the technical solutions of the present application, and are not limitations of the technical solutions of the present application, and the technical features in the embodiments and examples of the present application may be combined with each other without conflict.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种伺服电机的控制方法、控制设备及控制系统

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!