An integrated control device for oil pumping unit
By designing an integrated control device for the pumping unit that processes the circuit, drive circuit and remote control circuit, the problem of low power factor and high harmonic content of the frequency converter is solved, the integration level of the pumping unit control is improved and the cost is reduced, and the power of the pumping unit is enhanced. System stability and security.
Patent Information
- Application Number
- CN202210233583.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-10
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-03-10
AI Technical Summary
The frequency converter in the existing pumping unit control system has low power factor and high harmonic content, which leads to increased costs and system complexity, and reduces system reliability and maintenance difficulty.
An integrated control device for a pumping unit including a processing circuit, a drive circuit, and a remote control circuit is designed. It uses components such as a wireless monitoring unit, a rectifier circuit, an inverter circuit, an energy feedback circuit, and a contactor to control the load of the pumping unit. Integrate control to reduce hardware costs and improve system stability.
Through the integrated control device, the integration level and cost reduction of pumping unit control are achieved, the hardware investment is reduced, the stability and safety of the system are increased, and the difficulty of maintenance is reduced.
Smart Images

Figure CN114592833B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automation technology, and in particular to an integrated control device for an oil pumping unit. Background Art
[0002] In the prior art, the control cabinets in the oil field mostly use two power supply methods, one is to directly use the power grid power frequency power supply, and the other is to use the frequency converter to achieve variable frequency power supply. In order to achieve intelligent energy-saving oil production, the current power frequency power supply method is gradually changing to variable frequency power supply. However, the frequency converters used in the current variable frequency control system have problems such as low power factor and high harmonic content. In order to control harmonics, it is often necessary to add additional capacitive compensation devices at the input end of the power grid, which will increase the cost investment; in addition, since the existing control system adopts relatively decentralized control, the entire system wiring is complex and complex, which will reduce the reliability of the system and make maintenance difficult. Therefore, a technical solution that can solve the above technical problems is needed. Summary of the invention
[0003] The main technical problem solved by the present application is to provide an integrated control device for an oil pumping unit which can improve the integration of the oil pumping unit control and reduce the cost.
[0004] In order to solve the above technical problems, a technical solution adopted by the present application is: to provide an integrated control device for an oil pumping unit, the integrated control device for an oil pumping unit is used to control at least part of the load in the oil pumping unit, the device comprises: a processing circuit, a driving circuit and a remote control circuit;
[0005] The remote control circuit includes a wireless monitoring unit, a power supply end of the wireless monitoring unit is connected to the first output end of the driving circuit to receive a first power driving signal output by the driving circuit; an input end of the wireless monitoring unit is connected to an external sensor, and the first output end of the wireless monitoring unit is connected to the input end of the processing circuit;
[0006] The output end of the processing circuit is connected to the control end of the driving circuit, and the second output end of the driving circuit is connected to at least part of the external load, so that the driving circuit outputs a second power driving signal to at least part of the external load under the control of the processing circuit.
[0007] Furthermore, the remote control circuit also includes a communication circuit, a control end of the communication circuit is connected to the processing circuit, and an output end of the communication circuit is connected to the remote control terminal to communicate with the remote control terminal under the control of the processing circuit.
[0008] Furthermore, the external sensor includes a load displacement sensor;
[0009] The second output end of the wireless monitoring unit is connected to the remote control terminal through the communication circuit.
[0010] Further, the driving circuit includes a rectifier circuit and an inverter circuit, and the output end of the rectifier circuit is connected to the inverter circuit;
[0011] The rectifier circuit comprises three groups of first IGBT bridge arms connected in parallel;
[0012] The inverter circuit includes an IGBT driver chip and three groups of parallel second IGBT bridge arms, the input end of the IGBT driver chip is connected to the output end of the processing circuit, the input end of the second IGBT bridge arm is connected to the output end of the rectifier circuit, and the control end of the second IGBT bridge arm is connected to the output end of the IGBT driver chip to adjust the second power drive signal output to the external load according to the control instruction of the processing circuit.
[0013] Furthermore, the drive circuit also includes an energy feedback circuit, which is connected to the rectifier circuit and the inverter circuit to feed back the electricity generated when the motor is stopped or decelerated to the power grid.
[0014] Furthermore, the driving circuit also includes a power frequency contactor and a variable frequency contactor;
[0015] The input end of the power frequency contactor is connected to the power supply end, the output end of the power frequency contactor is connected to at least part of the external load, and the control end of the power frequency contactor is connected to the processing circuit to be turned on under the control of the processing circuit;
[0016] The input end of the variable frequency contactor is connected to the output end of the inverter circuit, the output end of the variable frequency contactor is connected to at least part of the external load, and the control end is connected to the processing circuit to be turned on under the control of the processing circuit, thereby driving the motor and / or external load in a variable frequency mode.
[0017] Furthermore, the drive circuit further includes two relays, the variable frequency contactor is connected to at least part of the external load via one of the relays, and the power frequency contactor is connected to at least part of the external load via another of the relays.
[0018] The processing circuit includes a first processing unit and a second processing unit that can share data with each other, the first processing unit is connected to the rectifier circuit, and the second processing unit is connected to the inverter circuit.
[0019] Furthermore, the device also includes an auxiliary power supply circuit connected to the output end of the rectifier circuit, and the auxiliary power supply circuit is used to supply power to electronic devices and / or circuit units in the oil pumping unit integrated control device.
[0020] The device further comprises a flexible controller and a first operating screen, wherein an input end of the flexible controller is connected to the wireless monitoring unit, and an output end of the flexible controller is connected to the first operating screen.
[0021] The beneficial effect of the present application is as follows: different from the prior art, the present application provides an integrated control device for an oil pump including a processing circuit, a driving circuit and a remote control circuit, wherein the remote control circuit includes a wireless monitoring unit, the power supply end of the wireless monitoring unit is connected to the first output end of the driving circuit to receive a first power driving signal output by the driving circuit, the input end of the wireless monitoring unit is connected to an external sensor, the first output end of the wireless monitoring unit is connected to the input end of the processing circuit, the output end of the processing circuit is connected to the control end of the driving circuit, and the second output end of the driving circuit is connected to at least part of the external load, so that the driving circuit outputs a second power driving signal to at least part of the external load under the control of the processing circuit, that is, the integrated control device for an oil pump provided by the present application can better achieve the integration of the oil pump control and reduce the investment in the oil pump control cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0023] Figure 1 This is a structural schematic diagram of an embodiment of an integrated control device for an oil pumping unit of the present application;
[0024] Figure 2 This is a structural schematic diagram of another embodiment of an integrated control device for an oil pumping unit of the present application;
[0025] Figure 3 This is a structural schematic diagram of another embodiment of an integrated control device for an oil pumping unit of the present application;
[0026] Figure 4 This is a structural schematic diagram of another embodiment of an integrated control device for an oil pumping unit of the present application;
[0027] Figure 5 This is a flow chart of an embodiment of an integrated control method for an oil pumping unit of the present application;
[0028] Figure 6 This is a flow chart of an embodiment of an integrated control method for an oil pumping unit of the present application;
[0029] Figure 7 This is a flow chart of another embodiment of an integrated control method for an oil pumping unit of the present application;
[0030] Figure 8 This is a flow chart of another embodiment of an integrated control method for an oil pumping unit of the present application;
[0031] Fig. 9 This is a system control block diagram of an embodiment of an integrated control method for an oil pumping unit of the present application;
[0032] Fig.10 This is a structural schematic diagram of an embodiment of an integrated control device for an oil pumping unit of the present application;
[0033] Fig.11 This is a schematic diagram of the structure of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION
[0034] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some structures related to the present application are shown in the accompanying drawings, rather than all structures. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0035] The terms "including" and "having" and any variations thereof in this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0036] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0037] See also Figure 1 , Figure 1This is a schematic diagram of the structure of an embodiment of an integrated control device for an oil pumping unit of the present application. In the current embodiment, the integrated control device 100 for an oil pumping unit provided by the present application is used to control at least part of the load mechanism in the oil pumping unit. In the following description, the load mechanism in the oil pumping unit controlled by the integrated control device 100 for an oil pumping unit is defined as an external load 4. The external load 4 includes a motor, a related integrated circuit structure, a lighting lamp, and the like. Furthermore, in some embodiments, the integrated control device 100 for an oil pumping unit provided by the present application is also used to power its own related electronic devices and / or circuit units, which are not listed one by one here.
[0038] First of all, it should be explained that the oil pump is a kind of machine equipment for oil extraction, commonly known as "bowing machine". The oil pump is the most important lifting equipment in the rod pumping system. The walking beam oil pump is one of the main types of oil pumps currently used in oil fields. This type of oil pump mainly includes donkey head, walking beam, connecting rod, crank mechanism, gearbox, power equipment and auxiliary equipment.
[0039] When the oil pump is working, the rotation of the motor is converted into the up and down movement of the donkey head through the gearbox and the crank connecting rod mechanism, and the donkey head drives the plunger of the downhole oil pump to move up and down through the bare rod and the sucker rod, thereby continuously pumping the crude oil out of the wellbore. The integrated control device 100 of the oil pump provided in this application is used to control the oil pump to complete the above steps without human intervention.
[0040] In the current embodiment, the integrated control device 100 for the oil pump provided in the present application includes a processing circuit 10, a drive circuit 20 and a remote control circuit 30. The drive circuit 20 and the remote control circuit 30 are respectively connected to the processing circuit 10. The drive circuit 20 outputs a power drive signal to the external load 4 under the control of the processing circuit 10. The remote control circuit 30 cooperates with the external remote control terminal 3 under the control of the processing circuit 10 to complete the remote control process for the oil pump.
[0041] The remote control circuit 30 is a circuit structure in the integrated control device 100 for assisting in remote control, and is specifically used to cooperate with the remote control terminal 3 to complete the remote control process for the oil pump. Specifically, the first end of the remote control circuit 30 is connected to the processing circuit 10, the second end of the remote control circuit 30 is connected to the remote control terminal 3, and the input end of the remote control circuit 30 is connected to the external sensor 2, and is used to receive the parameters collected by the external sensor 2.
[0042] Among them, the first end of the remote control circuit 30 is the port in the remote control circuit 30 connected to the processing circuit 10, the remote control circuit 30 receives the instructions of the processing circuit 10 through the first end, or feeds back relevant data or instructions from the external remote control terminal 3 to the processing circuit 10 through the first end, and the second end is the port in the remote control circuit 30 connected to the external remote control terminal 3, thereby enabling the remote control circuit 30 to interact with the external remote control terminal 3, such as the remote control circuit 30 can send a power indicator diagram to the remote control terminal 3 through the second end, and the remote control circuit 30 can also receive instructions from the remote control terminal 3 through the second end and forward them to the processing circuit 10.
[0043] Among them, the external sensor 2 at least includes a load displacement sensor. Further, in other embodiments, the external sensor 2 also includes at least one of a temperature sensor, a pressure sensor, a flow sensor, and a torque sensor. The external sensor 2 can be directly connected to the remote control circuit 30, or it can feedback the collected data to the wireless control circuit through its own wireless interface. Furthermore, the remote control circuit 30 is also used to adjust the working parameters of the external sensor 2, such as sending instructions to the external sensor 2 through the remote control circuit 30 to modify the collection feedback cycle of the external sensor 2.
[0044] Furthermore, the remote control circuit 30 includes a wireless monitoring unit 32. Specifically, the power supply end of the wireless monitoring unit 32 is connected to the first output end of the drive circuit 20 to receive the first power drive signal output by the drive circuit 20, the input end of the wireless monitoring unit 32 is connected to the external sensor 2, and the first output end of the wireless monitoring unit 32 is connected to the input end of the processing circuit 10. In the current embodiment, the wireless monitoring unit 32 is connected to the first output end of the drive circuit 20, so that the drive circuit 20 in the integrated control device 100 of the oil pump can be directly used to power the wireless monitoring unit 32 without installing an additional dedicated power supply structure. It should be noted that, in the current embodiment, the first output end of the wireless monitoring unit 32 is the first end of the remote control circuit 30.
[0045] Furthermore, the remote control circuit 30 also includes a communication circuit 31. The control end of the communication circuit 31 is connected to the processing circuit 10, and the output end of the communication circuit 31 is connected to the remote control terminal 3, so as to communicate with the remote control terminal 3 under the control of the processing circuit 10, or to realize data interaction between the remote control terminal 3 and the wireless monitoring unit 32 under the control of the processing circuit 10. In the current embodiment, the output end of the communication circuit 31 is the second end of the remote control circuit 30.
[0046] Furthermore, the communication circuit 31 includes at least a wireless communication module or the following wireless communication module that can be used to implement the communication function. Figure 4 In other embodiments, the communication circuit 31 may also include other types of communication ports that enable the pumping unit integrated control device 100 to communicate with an external control terminal. In some embodiments, the wireless monitoring unit 32 and the communication circuit 31 may be integrated into one unit, referred to as an RTU.
[0047] The output end of the processing circuit 10 is connected to the control end of the driving circuit 20, and the second output end of the driving circuit 20 is connected to at least part of the external load 4, so that the driving circuit 20 outputs a second power driving signal to at least part of the external load 4 under the control of the processing circuit 10. When the driving circuit 20 receives the pulse control instruction output by the pulse control output end of the processing circuit 10, it will output the second power driving signal corresponding to the pulse control instruction to the corresponding external load 4, so as to drive the external load 4 to operate according to the pulse control instruction. In some embodiments, the output end of the processing circuit 10 can also be understood as the pulse control output end in the processing circuit 10.
[0048] Furthermore, the processing circuit 10 includes a DSP chip. Furthermore, the DSP chip includes a TMS320F280377 series chip.
[0049] Furthermore, the remote control circuit 30 and the processing circuit 10 can be integrated on the same PCB board, and the remote control circuit 30 and the processing circuit 10 are physically integrated, thereby reducing the number of circuit connection lines between the remote control circuit 30 and the processing circuit 10, while also reducing the volume of the pumping unit integrated control device 100, and also achieving resource sharing to a greater extent. In another embodiment, the drive circuit 20, the remote control circuit 30 and the processing circuit 10 can also be integrated on the same PCB board to minimize the volume of the pumping unit integrated control device 100.
[0050] This application Figure 1In the embodiment, the pumping unit integrated control device 100 including the processing circuit 10, the drive circuit 20 and the remote control circuit 30 is provided, and the remote control circuit 30 is provided to include a wireless monitoring unit 32, the power supply end of the wireless monitoring unit 32 is connected to the first output end of the drive circuit 20 to receive the first power drive signal output by the drive circuit 20, the input end of the wireless monitoring unit 32 is connected to the external sensor 2, the first output end of the wireless monitoring unit 32 is connected to the input end of the processing circuit 10, the output end of the processing circuit 10 is connected to the control end of the drive circuit 20, and the second output end of the drive circuit 20 is connected to at least part of the external load 4, so that the drive circuit 20 outputs the second power drive signal to at least part of the external load 4 under the control of the processing circuit 10, so as to integrate the monitoring and driving structures used in the pumping unit into one device, avoiding the need to connect the various structures with wires, that is, the pumping unit integrated control device 100 provided by the present application can better realize the integration of the pumping unit control, and can reduce the hardware cost investment when controlling the pumping unit, and also increase the stability and safety of the pumping unit integrated control device 100.
[0051] Please also see Figures 2 to 4 , Figure 2 This is a structural schematic diagram of another embodiment of an integrated control device for an oil pumping unit of the present application. Figure 3 This is a structural schematic diagram of another embodiment of an integrated control device for an oil pumping unit of the present application. Figure 4 This is a structural schematic diagram of another embodiment of an integrated control device for an oil pumping unit of the present application. Figure 3 The following specifically shows some of the structures in the drive circuit. Figure 4 Specifically shown is a structural schematic diagram of an embodiment of a processing circuit.
[0052] Furthermore, the external sensor 2 includes a load displacement sensor. The load displacement sensor is used to test the pumping rod load and pumping stroke of the pumping unit, and then the data obtained by the test (sampling) is fed back to the processing circuit 10 through the wireless monitoring unit 32, and then the processing circuit 10 calculates and obtains the indicator diagram (pumping machine power diagram). It can be understood that in another embodiment, the wireless monitoring unit 32 can also calculate the indicator diagram based on the data fed back by the load displacement sensor, and then directly feed it back to the remote control terminal 3 through the wireless monitoring unit 32, without using the processing circuit 10 to process and calculate the indicator diagram, which can better reduce the operation pressure of the processing circuit 10 in the pumping unit integrated control device 100, thereby improving the response speed of the pumping unit integrated control device 100. In other embodiments, the processing circuit 10 may be connected to the external sensor 2, and the external sensor 2 may collect sensor data and feed it back to the processing circuit 10. The processing circuit 10 may send the sensor data fed back by the external sensor 2 to the wireless monitoring unit 32 to share the sensor data with the wireless monitoring unit 32. After the wireless monitoring unit 32 obtains the sensor data, it may further calculate the indicator diagram and feed it back to the processing circuit 10 or the remote control terminal 3.
[0053] The second output end of the wireless monitoring unit 32 is connected to the remote control terminal 3 via the communication circuit 31. In the current embodiment, the wireless monitoring unit 32 is connected to the remote control terminal 3 via the communication circuit 31, and then transmits data to the remote control terminal 3. Furthermore, in one embodiment, the wireless monitoring unit 32 can directly transmit the preset category of data to the remote control terminal 3 via the communication circuit 31 according to the setting, such as directly calculating the indicator diagram based on the data fed back to the wireless monitoring unit 32 by the external sensor 2, and directly feeding back the indicator diagram to the remote control terminal 3 via the communication circuit 31.
[0054] Please continue to see Figure 2 The driving circuit 20 includes a rectifier circuit 21 and an inverter circuit 22, and the output end of the rectifier circuit 21 is connected to the inverter circuit 22. The input end of the rectifier circuit 21 is connected to the external power supply 1, and then the AC power input by the external power supply 1 is rectified to obtain a DC power. The output end of the rectifier circuit 21 is connected to the input end of the inverter circuit 22, and the output end of the inverter circuit 22 is connected to the power supply end of the external load 4. The inverter circuit 22 is used to invert the DC power input by the rectifier circuit 21, and then obtain an AC power that meets the power supply parameters of the external load 4. Among them, the external load 4 includes at least one motor.
[0055] Furthermore, in other embodiments, a pumping unit integrated control device can be used to simultaneously control multiple pumping units. In this case, the external load includes two motors. The corresponding driving circuit in the pumping unit integrated control device provided in the present application includes two inverter circuits. The output ends of the inverter circuits are respectively connected to the input ends of the motors, and the input ends of the two groups of inverter circuits are respectively connected to the output ends of the rectifier circuit 21. The control ends of the two groups of inverter circuits are respectively connected to the command output ends of the processing circuit 10, so as to output corresponding alternating current to the motors under the control of the processing circuit 10, thereby driving the motors to rotate.
[0056] Furthermore, in the current embodiment, the rectifier circuit 21 is an AFE (Active Front End), and the rectifier circuit 21 includes three sets of first IGBT bridge arms connected in parallel. The first IGBT bridge arm includes two IGBT switches connected in series. Figure 3 As shown, IGBT switch T1 and IGBT switch T2 are connected in series to form a first IGBT bridge arm, IGBT switch T3 and IGBT switch T4 are connected in series to form another first IGBT bridge arm, and IGBT switch T5 and IGBT switch T6 are connected in series to form yet another first IGBT bridge arm.
[0057] In the current embodiment, by selecting AFE to rectify the AC power input by the external power supply 1, many active control functions can be realized in the process of rectifying the current. At the same time, high-order harmonics can be eliminated, the power factor can be improved, and it is not easily affected by power grid fluctuations, thereby providing a stable rectification function.
[0058] Further, in the current embodiment, the inverter circuit 22 includes an IGBT driver chip (not shown) and three sets of second IGBT bridge arms connected in parallel. Among them, the input end of the IGBT driver chip is connected to the output end of the processing circuit 10, and the IGBT driver chip is used to control the second IGBT bridge arm to invert the electrical signal output by the rectifier circuit 21 according to the control instruction of the processing circuit 10. The input end of the second IGBT bridge arm is connected to the output end of the rectifier circuit 21, and the control end of the second IGBT bridge arm is connected to the output end of the IGBT driver chip to adjust the second power drive signal output to the external load 4 according to the control instruction of the processing circuit 10. The output end of the second IGBT bridge arm is connected to the external load 4, and the obtained second power drive signal is output to the external load 4.
[0059] Furthermore, if Figure 3 As shown, IGBT switch T7 and IGBT switch T8 are connected in series to form a second IGBT bridge arm, IGBT switch T9 and IGBT switch T10 are connected in series to form another second IGBT bridge arm, and IGBT switch T11 and IGBT switch T12 are connected in series to form yet another second IGBT bridge arm.
[0060] In another embodiment, the inverter circuit 22 includes a driver chip and three sets of parallel switch bridge arms. The driver chip is a switch device included in the matching switch bridge arm, and the bridge arm includes two SiC MOS switches connected in series. In the current embodiment, the SiC MOS switch is selected to invert the signal output by the rectifier circuit 21, which can better improve the response speed and control accuracy of the whole device.
[0061] Further, when the external load 4 includes a motor, the driving circuit 20 in the integrated control device 100 of the pumping unit provided in the present application also includes an energy feedback circuit 23, and the energy feedback circuit 23 connects the rectifier circuit 21 and the inverter circuit 22 to feed back the amount of electricity generated when the motor is stopped or decelerated to the power grid. In the current embodiment, by setting the energy feedback circuit 23, the problem that the electric energy generated when the motor is decelerated or stopped cannot be fed back in the prior art can be better solved. Compared with the prior art that uses a brake resistor to consume the electric energy generated when the motor is decelerated or stopped, the energy saving of the integrated control of the pumping unit is better improved. Furthermore, in the current embodiment, by setting the energy feedback circuit 23, the brake resistor is eliminated, the volume of the integrated control device 100 of the pumping unit can be further reduced, the difficulty of installation is reduced, and the safety is improved. In the current embodiment, by integrating the rectifier circuit 21 and the inverter circuit 22 for frequency conversion, energy feedback can be better achieved, and the use of the brake resistor is eliminated, and the power factor and harmonic content of the integrated control device 100 of the pumping unit can also be improved.
[0062] In one embodiment, the drive circuit 20 also includes an industrial frequency contactor 25 and a variable frequency contactor 26, which are used to switch the power supply mode of the external load 4, thereby improving the stability of the oil pump integrated control device 100, so that when a circuit used for variable frequency control fails, the controlled oil pump can still work stably.
[0063] Further, the input end of the power frequency contactor 25 is connected to the external power source 1, the output end of the power frequency contactor 25 is connected to at least part of the external load 4, and the control end of the power frequency contactor 25 is connected to the processing circuit 10 to be turned on under the control of the processing circuit 10. Further, the input end of the power frequency contactor 25 is indirectly connected to the external power source 1. The power frequency contactor 25 and the variable frequency contactor 26 are used to switch the power supply mode of the external load 4. The input end of the variable frequency contactor 26 is connected to the output end of the inverter circuit 22, the output end of the variable frequency contactor 26 is connected to at least part of the external load 4, and the control end is connected to the processing circuit 10 to be turned on under the control of the processing circuit 10, thereby driving the motor and / or other external loads 4 according to the variable frequency mode.
[0064] Wherein, the external load 4 at least includes a motor. When it is determined that the inverter circuit 22 for frequency conversion control fails, the processing circuit 10 can control the power frequency contactor 25 to be attracted, so that the power grid directly supplies power to the motor; when the frequency conversion contactor 26 is switched to be attracted, the inverter circuit 22 for frequency conversion control is used to supply power. Wherein, the selection of different types of contactors to be attracted can be achieved by buttons or by software. For example, when a button is selected, when the circuit for frequency conversion control fails or the entire control device reports a fault, the system will automatically switch to the power frequency contactor 25 to be attracted to ensure that the pumping unit can continue to operate and pump oil.
[0065] Furthermore, the drive circuit 20 also includes two relays, the variable frequency contactor 26 is connected to at least part of the external load 4 through a relay, and the power frequency contactor 25 is connected to at least part of the external load 4 through a relay. The control end of each relay is connected to the processing circuit 10, so as to achieve closure or disconnection under the control of the processing circuit 10. For example, when it is determined that the circuit structure for realizing variable frequency control fails, the processing circuit 10 will control the relay connecting the variable frequency contactor 26 and the external load 4 to disconnect, and control the relay connecting the power frequency contactor 25 and the external load 4 to close, so as to make the power frequency contactor 25 close, so as to maintain the normal operation of the pumping unit when the circuit structure of the variable frequency control fails.
[0066] Furthermore, the processing circuit 10 includes a first processing unit (not shown) and a second processing unit (not shown) which can share data with each other. The first processing unit is connected to the rectifier circuit 21 , and the second processing unit is connected to the inverter circuit 22 .
[0067] Furthermore, in another embodiment, the first processing unit and the second processing unit may be independent processing chips. It should be noted that, in the current embodiment, the processing chip corresponding to the first processing unit and the processing chip corresponding to the second processing unit may be different types of chips, which are not specifically limited here.
[0068] For further information, please see Figure 2 The integrated control device 100 for the pumping unit provided in the present application further includes an auxiliary power supply circuit 40 connected to the output end of the rectifier circuit 21. The auxiliary power supply circuit 40 is used to supply power to the electronic devices and / or circuit units in the integrated control device 100 for the pumping unit.
[0069] Furthermore, the auxiliary power supply circuit 40 can also be used for other circuit structures, such as the processing circuit 10 or the fan. In the current embodiment, by providing the auxiliary power supply circuit 40 connected to the output end of the rectifier circuit 21, and by providing the auxiliary power supply circuit 40, the electronic devices and / or circuit units in the pumping unit integrated control device 100 are powered directly by the electrical signal output by the rectifier circuit 21, so that there is no need to add an additional switching power supply to power the electronic devices and / or circuit units in the pumping unit integrated control device 100, thereby reducing the hardware cost investment of the pumping unit integrated control device 100.
[0070] Furthermore, the auxiliary power supply circuit 40 includes two auxiliary power supply sub-circuits 41 and 42. The two auxiliary power supply sub-circuits 41 and 42 are respectively connected to the output end of the rectifier circuit 21, and the two auxiliary power supply sub-circuits 41 and 42 are used to supply power to different circuit module units, such as an integrated circuit unit in an integrated control device, or other structures that need to be powered.
[0071] Furthermore, the integrated control device for the oil pump provided in the present application also includes a buffer protection circuit for protecting the inverter circuit to prevent the power tube in the inverter circuit from being broken down due to the rapid increase in voltage. Furthermore, the buffer circuit also includes a buffer capacitor C1, a protective resistor R1 and a switch K1, wherein the parameters of the buffer capacitor C1, the protective resistor R1 and the switch K1 are not limited here and are specifically set according to actual needs.
[0072] Furthermore, the integrated control device for the oil pump provided in the present application also includes a circuit breaker 24, which connects the external power supply 1 and the rectifier circuit 21. The circuit breaker 24 is used to protect other circuit structures in the integrated control device for the oil pump and to disconnect the connection with the external power supply 1 when a circuit short circuit or other abnormality occurs.
[0073] For further information, please see Figure 2 and Figure 4, the integrated control device 100 for the pumping unit provided in the present application also includes a flexible controller 50 and a first operating screen 60. Among them, the input end of the flexible controller 50 is connected to the wireless monitoring unit 32, and the output end of the flexible controller 50 is connected to the first operating screen 60, which is used to receive the data transmitted by the wireless monitoring unit 32 and control the display of the first operating screen 60, and then display it to the user. For example, when the wireless monitoring unit 32 obtains the indicator diagram according to the data fed back by the external sensor 2, the flexible controller 50 is used to control the first operating screen 60 to display the indicator diagram and at least part of the sampled data. Furthermore, the flexible controller 50 is also used to display other data, such as output frequency, torque, to achieve power optimization control and reduce losses when receiving instructions from the processing circuit 10. Among them, the instructions sent by the processing circuit 10 to the flexible controller 50 include displaying the set type data, the comparison results of the set data, the comparison results of the set data at different times, or the relative relationship between the set data.
[0074] In the current embodiment, by integrating the remote control circuit 30, the flexible controller 50, the communication circuit 31 and the processing circuit 10, the sharing of resources and data is better achieved. It should be noted that the connection between the remote control circuit 30, the flexible controller 50, the communication circuit 31 and the processing circuit 10 can be achieved by PCB welding, or by setting ports on the remote control circuit 30, the flexible controller 50, the communication circuit 31 and the processing circuit 10, and correspondingly using port pairing to achieve the remote control circuit 30, the flexible controller 50, the communication circuit 31 and the processing circuit 10. In the current embodiment, by setting ports and port pairing, the installation difficulty of the integrated control device 100 of the pumping unit is better reduced.
[0075] It is understandable that in other embodiments, the flexible controller 50 can also be integrated into the processing circuit 10, that is, the algorithm of the flexible controller 50 can be directly transplanted into the processing circuit 10, so as to save the flexible controller 50 and further reduce the investment in hardware costs. Correspondingly, in the current embodiment, the first operation screen 60 can also be used as an operation display screen of the pumping unit integrated control device 100. In other embodiments, a second operation screen (not shown) can also be set separately according to the needs of the user. The second operation screen is connected to the processing circuit 10 to display the data of controlling the pumping unit under the control of the processing circuit 10, or to provide the user with an operation interface for directly issuing instructions to the processing circuit 10.
[0076] Please also see Figures 1 to 4The processing circuit 10 of the integrated control device for the pumping unit provided in the present application includes a first processing unit and a second processing unit that can share data and memory. The first processing unit is a main control unit, and the first processing unit is used to control the inverter circuit, which can also be understood as the inverter control algorithm being integrated into the first processing unit; the second processing unit is a common control unit, and the second processing unit controls the rectifier circuit and / or the energy feedback circuit, etc. The first processing unit is also used to control the interaction with external devices or circuit structures.
[0077] In the current embodiment, when the processing circuit 10 includes a DSP chip, the processing circuit 10 also includes a port for receiving an on / off signal, an industrial frequency / variable frequency signal, a start signal, and a shut-down signal. The processing circuit 10 is also connected to an alarm, an operation indicator light, and a fault indicator light, and is used to control the corresponding indicator light to start when a pump failure is determined to be obtained, so as to prompt the user to perform maintenance. The processing circuit 10 is also provided with ports connected to the sampling circuit 6 and the sampling circuit 7, respectively. Among them, the sampling circuit 6 and the sampling circuit 7 can be circuit structures respectively connected to external sensors or other structures in the integrated control device of the pump, so as to sample the required temperature, humidity, current, voltage, or power data, and feed it back to the processing circuit 10, so that the processing circuit 10 controls the pump according to the sampled data.
[0078] See also Figure 5 , Figure 5 This is a flow chart of an embodiment of an integrated control method for an oil pumping unit of the present application. In the current embodiment, the method provided by the present application includes:
[0079] S510: Sampling a voltage signal of an external power grid to obtain phase information of the voltage signal.
[0080] The phase information at least includes a phase-locked loop angle, and the external power grid refers to the external power supply mentioned above.
[0081] When controlling the oil pump, firstly, the voltage signal of the electrical signal input from the external power grid is sampled to obtain the phase information of the current voltage signal. In the current embodiment, the voltage signal input from the external power grid is sampled by a sampling circuit provided for sampling the voltage of the external power grid, and then the sampled voltage signal is fed back to the integrated control device of the oil pump, and the integrated control device of the oil pump inputs the obtained voltage signal into a phase-locked loop to obtain the phase information of the voltage signal. Among them, the phase-locked loop can be a circuit provided in the integrated control device of the oil pump or a software module stored in the integrated control device of the oil pump that is specifically used to obtain the phase information of the voltage signal, which is specifically set based on the actual parameters of the oil pump, and the parameters of the phase-locked loop are not limited here.
[0082] S520: Sampling a current signal of the external power grid, and obtaining current feedback according to the current signal and a phase-locked loop angle.
[0083] While sampling the voltage signal of the external power grid, the current signal of the electrical signal input from the external power grid is also sampled to obtain the parameters of the current signal input from the external power grid. The parameters of the current signal at least include the current value and the direction of the current.
[0084] After obtaining the phase-locked loop angle and current signal information of the voltage signal input from the external power grid, current feedback is further obtained based on the current signal and the phase-locked loop angle. Specifically, the phase-locked loop angle and current signal of the obtained voltage signal are input into the current conversion module, and then the current feedback is obtained. Among them, the current conversion module is a pre-stored program module for calculating and converting to obtain current, and the current module is a program module written according to the calculation logic of the current feedback obtained by converting the phase-locked loop angle and the current signal. Among them, current feedback refers to the current value input from the current external power grid to the integrated control device of the oil pump. Furthermore, in other embodiments, the current module will also include a circuit module storing a program module for executing current conversion, and the circuit module storing a program module for executing current conversion is connected to the processing circuit and is controlled by the processing circuit, that is, the processing circuit controls the circuit module to execute the program module for current conversion, and then the current feedback is obtained.
[0085] Furthermore, current feedback includes active current feedback and reactive current feedback. Active current feedback refers to current whose current direction is consistent with voltage direction, and reactive current feedback refers to current whose current direction is inconsistent with voltage direction.
[0086] Therefore, obtaining current feedback according to the current signal and the phase-locked loop angle in the above step S520 further includes: obtaining active current feedback and reactive current feedback by calculation according to the current signal and the phase-locked loop angle.
[0087] S530: Sampling the bus voltage to obtain bus voltage feedback, and calculating a current reference according to the bus voltage feedback and the bus voltage reference.
[0088] The bus voltage is sampled to obtain bus voltage feedback, which is the current bus voltage value. The bus refers to the main connection line between the rectifier circuit and the inverter circuit. The bus includes the positive bus and the negative bus. For details about the positive bus, please refer to the above Figure 3 AB in the figure, the negative busbar is the upper Figure 3 In the CD part, the voltage of the bus refers to the voltage between AC. In another embodiment, the voltage of the bus refers to the voltage value between BD.
[0089] After obtaining the bus voltage feedback, the current reference is further calculated based on the bus voltage feedback and the bus voltage reference. The bus voltage reference is the target voltage of the bus set externally, specifically based on the voltage of the bus that allows the pump to operate normally. The bus voltage reference is an empirical value pre-set according to the parameters of each load in the pump. The current reference is the bus current value corresponding to when the bus voltage rises to the bus voltage reference.
[0090] Furthermore, the external load in the oil pumping unit includes a motor. Since the oil pumping unit can pump oil at different speeds, different pumping speeds correspond to different bus voltage references. Specifically, the user selects the pumping speed and then determines the bus voltage reference. Furthermore, different pumping speeds are stored in association with their corresponding bus voltage references in advance. The user can select the pumping speed on the first operation screen and / or the second operation screen in the integrated control device for the oil pumping unit. The integrated control device for the oil pumping unit determines the bus voltage reference associated with the pumping speed according to the pumping speed selected by the user, and then calculates the current reference according to the bus voltage feedback and the bus voltage reference.
[0091] Furthermore, the current reference includes an active current reference and a reactive current reference, wherein the active current reference is a current reference value having the same direction as the voltage direction, and the reactive current reference is a current reference value having the opposite direction as the voltage direction.
[0092] Therefore, the step S530 of calculating and obtaining the current reference according to the bus voltage feedback and the bus voltage reference further includes: calculating and obtaining the active current reference and the reactive current reference according to the bus voltage feedback and the bus voltage reference.
[0093] S540: Calculate and obtain a voltage reference according to the current feedback and the current reference.
[0094] According to the current feedback and current reference obtained above, a voltage reference is further calculated, wherein the voltage reference is a voltage target value of the electrical signal rectified and output by the rectifier circuit.
[0095] Further, the voltage reference includes an active voltage reference and a reactive voltage reference, so according to the current feedback and the current reference, calculating and obtaining the voltage reference further includes: calculating and obtaining the active voltage reference according to the active current feedback and the active current reference, and calculating and obtaining the reactive voltage reference according to the reactive current feedback and the reactive current reference. Wherein, in the current embodiment, the active voltage reference is a voltage target value in the same direction as the input voltage, and the reactive voltage reference is a voltage target value in the opposite direction to the input voltage. In another embodiment, the concepts of active and reactive in this application are defined in combination with the perspective of whether work is done, such as active current feedback refers to the current that does work in the current current, reactive current refers to the current that does useless work in the current current, active voltage reference refers to the voltage reference value output by the rectifier circuit and that does useful work, and reactive voltage reference refers to the voltage reference value output by the rectifier circuit and that does useless work.
[0096] S550: Obtain a first control signal of the rectifier circuit according to the voltage reference and the phase-locked loop angle, and send the first control signal to the rectifier circuit to convert the electrical signal input from the external power grid into a target electrical signal.
[0097] The voltage reference and the phase-locked loop angle are input to the modulator, and then the first control signal of the rectifier circuit is obtained, and the obtained first control signal is sent to the rectifier circuit so that the rectifier circuit converts the electrical signal input from the external power grid into the target electrical signal, so as to complete the sorting and processing of the electrical signal input from the external power grid. Among them, the first control signal refers to a signal used to control the action of the power tube in the rectifier circuit, and each power tube can complete the rectification processing of the electrical signal input from the external power grid in response to the first control signal. Further, when the rectifier circuit includes a rectifier circuit, and the rectifier circuit includes three parallel first IGBT bridge arms, and each first IGBT bridge arm includes two series-connected IGBT switches, then the first control signal includes a signal for corresponding to the action of each IGBT switch respectively, which can also be understood as the first control signal including six signals for controlling each IGBT switch respectively.
[0098] In the current embodiment, the phase information of the voltage signal is obtained by sampling the voltage signal of the external power grid, and the obtained phase information includes at least the phase-locked loop angle; the current signal of the external power grid is sampled, and the current feedback is obtained according to the current signal and the phase-locked loop angle, and the bus voltage is sampled to obtain the bus voltage feedback, and the current reference is obtained according to the bus voltage feedback and the bus voltage reference calculation; the voltage reference is obtained according to the current feedback and the current reference calculation; the first control signal of the rectifier circuit is obtained according to the voltage reference and the phase-locked loop angle, and sent to the rectifier circuit to sort and process the electrical signal input from the external power grid, thereby achieving the improvement of power factor and reduction of harmonic content, and also achieving the use of an integrated control device to control the oil pump to pump oil, that is, the technical solution provided in the present application can realize the integrated control of the oil pump, and also reduce the investment in the control cost of the oil pump.
[0099] See also Figure 6 and Fig. 9 , Figure 6 This is a flow chart of an embodiment of an integrated control method for an oil pumping unit of the present application. Fig. 9 This is a system control block diagram of an embodiment of an integrated control method for an oil pumping unit of the present application. In the current embodiment, the method provided by the present application includes:
[0100] S601: Sampling a voltage signal of an external power grid to obtain phase information of the voltage signal.
[0101] S602: Sampling current signals of the external power grid.
[0102] The above steps S601 to S602 are the same as the steps in the above steps S510 and S520, and are not elaborated here. Please refer to the description of the corresponding parts above.
[0103] In the current embodiment, the current feedback includes active current feedback and reactive current feedback, and the step S520 of obtaining the current feedback according to the current signal and the phase-locked loop angle further includes the following step S603.
[0104] S603: Obtain active current feedback and reactive current feedback according to the current signal and the phase-locked loop angle calculation.
[0105] The current signal and phase-locked loop angle obtained in the above steps are input into the current conversion module, and then the active current feedback and reactive current feedback are calculated. Among them, the current conversion module is a program pre-written according to the conversion relationship between the current signal and the phase-locked loop angle and the active current feedback and the reactive current feedback.
[0106] S604: Sampling the bus voltage to obtain bus voltage feedback. Step S604 is the same as step S530, and the details can be found in the corresponding part above, which will not be repeated here.
[0107] In the current embodiment, the step S530 of calculating and obtaining the current reference according to the bus voltage feedback and the bus voltage reference further includes the following step S605.
[0108] S605: Calculate and obtain an active current reference and a reactive current reference according to the bus voltage feedback and the bus voltage reference.
[0109] In the current embodiment, step S605 is the same as part of the steps in the above step S530, and will not be repeated here.
[0110] The voltage reference is the voltage value of the rectifier circuit output when the oil pump is operating normally, and can also be understood as the voltage value of the signal output by the rectifier circuit when the bus voltage rises to the bus voltage reference selected by the user. The voltage reference includes an active voltage reference and a reactive voltage reference. Correspondingly, the calculation and acquisition of the voltage reference according to the current feedback and the current reference in the above S540 further includes the following step S606.
[0111] S606: Calculate and obtain an active voltage reference according to the active current feedback and the active current reference, and calculate and obtain a reactive voltage reference according to the reactive current feedback and the reactive current reference.
[0112] The active current feedback calculated by the current conversion module and the active voltage reference obtained by the bus voltage controller are input into the active current controller, and then the active voltage reference is calculated. Meanwhile, the reactive current feedback obtained by the current conversion module and the reactive current reference obtained by the bus voltage controller are input into the reactive current controller, and then the reactive voltage reference is obtained. Among them, the active voltage reference is the value of the voltage output by the rectifier circuit in the same direction as the voltage input by the external power grid, and the reactive voltage reference is the value of the voltage output by the rectifier circuit in the opposite direction to the voltage input by the external power grid.
[0113] As described above, the rectifier circuit includes three groups of first switch bridge arms connected in series, each of which includes two first power tubes connected in series, and the first power tubes include IGBT tubes. In some embodiments, the first switch bridge arm may refer to the first IGBT bridge arm.
[0114] The step S550 of acquiring the first control signal of the rectifier circuit according to the voltage reference and the phase-locked loop angle further includes step S607.
[0115] S607: Obtain a first control signal according to the active voltage reference, the reactive voltage reference and the phase-locked loop angle.
[0116] The first control signal is a signal for controlling the action of the first power tube. The obtained active voltage reference, reactive voltage reference and phase-locked loop angle are input into the modulator, and then the first control signal is calculated. The modulator is a pre-stored program module for calculating the first control signal according to the active voltage reference, reactive voltage reference and phase-locked loop angle.
[0117] S608: Sending a first control signal to the rectifier circuit to convert the electrical signal input from the external power grid into a target electrical signal to drive an external load, wherein the target electrical signal is the electrical signal output by the rectifier circuit.
[0118] The obtained first control signal is sent to the rectifier circuit, so that the first power tube in the rectifier circuit responds to the first control signal to perform a corresponding action, thereby completing the rectification and conversion of the electrical signal input from the external power grid to obtain the target electrical signal, so as to drive the external load using the target electrical signal. In the current embodiment, the target electrical signal refers to the direct current output by the rectifier circuit, and the voltage is the same as the rated voltage corresponding to the operating speed of the motor to be driven. It can be understood that in other embodiments, according to the power supply requirements of the motor to be driven, after obtaining the target electrical signal, the target electrical signal will be further converted to obtain an electrical signal that matches the power supply requirements of the motor to be driven. For example, when the motor needs an AC signal to drive, the target electrical signal will be further converted into an AC signal using an inverter circuit, and then the converted AC signal will be output to the motor to be driven.
[0119] Furthermore, since the rectifier circuit includes three groups of first switch bridge arms connected in series, and each first switch bridge arm includes two first power tubes connected in series, the first control signal obtained by the modulator can be used to simultaneously control the actions of the two first power tubes. In other embodiments, the first control signal can also be understood as including six sub-control signals respectively used to control one power tube, that is, after being modulated by the modulator, six sub-control signals respectively used to control one power tube are obtained. After the six sub-control signals are obtained, the six sub-control signals are respectively output to the corresponding power tubes, so that each power tube responds to the corresponding sub-control signal to perform the corresponding action, thereby collaboratively completing the rectification processing of the electrical signal input from the external power grid to the rectifier circuit, and then obtaining a target electrical signal with a smaller harmonic content.
[0120] Furthermore, after the above-mentioned step of acquiring the first control signal of the rectifier circuit according to the voltage reference and the phase-locked loop angle, and sending it to the rectifier circuit to convert the electrical signal input from the external power grid into the target electrical signal, the method provided in the present application further includes: calculating the electric energy information of the target electrical signal to monitor the quality of the power grid voltage and current signals, and sending the electric energy information to the wireless monitoring unit to send it to the remote control terminal. Among them, the electric energy information includes the network-measured power factor and harmonic content. In the current embodiment, after acquiring the target electrical signal, the electric energy information of the target electrical signal is further calculated, and the electric energy information is monitored, so that the user of the remote control terminal can understand the state of the current conversion more comprehensively and accurately, which can better improve the safety of electricity use in the oil pump, and also provide the user of the remote control terminal with more comprehensive and accurate data monitoring of the on-site electricity conversion of the oil pump.
[0121] For further information, see Figure 7 , Figure 7 This is a flow chart of another embodiment of an integrated control method for an oil pumping unit of the present application. In the current embodiment, the subject for executing the integrated control method for an oil pumping unit is an integrated control device for an oil pumping unit, and the integrated control device for an oil pumping unit includes a wireless monitoring unit and an inverter circuit. The method provided by the present application also includes:
[0122] S701: Acquire sensing parameters fed back by external sensors and generate a dynamometer diagram based on the sensing parameters.
[0123] Acquire the sensing parameters fed back by the external sensor, and generate the indicator diagram based on the sensing parameters. Further, in one embodiment, the external sensor is connected to the processing circuit through the communication circuit and the wireless monitoring unit, and then the external sensor directly feeds back to the wireless monitoring unit through the communication circuit after acquiring the sensing parameters, and the processing circuit controls the wireless monitoring unit to generate the indicator diagram. It can be understood that in other embodiments, the corresponding program algorithm can be stored in the wireless monitoring unit in advance, so that the wireless monitoring unit directly generates the indicator diagram based on the sensing parameters fed back by the external sensor.
[0124] In another embodiment, the external sensor can be directly connected to the processing circuit, and the external sensor directly feeds back the sensing parameters to the processing circuit. The processing circuit sends the sensing parameters to the wireless monitoring unit, so that the wireless monitoring unit generates a power indicator diagram, and the wireless monitoring unit sends the power indicator diagram to the processing circuit.
[0125] Among them, the sensing parameters at least include torque, flow, load displacement, pressure and temperature.
[0126] S702: Calculate and obtain the target speed and target torque of the motor according to the dynamometer diagram and the sensor parameters.
[0127] After obtaining the dynamometer diagram, the target speed and target torque of the motor are further calculated based on the dynamometer diagram and the sensor parameters. The dynamometer diagram is a graph used to reflect the law of change of the suspension load of the pumping unit with its displacement, the target speed is the speed of the motor required to make the pumping unit reach the target oil pumping volume, and the target torque is the torque that makes the pumping unit reach the target oil pumping volume. In other embodiments, the target speed can also be understood as the speed that the user needs to adjust the motor in the pumping unit to, and the target torque is the torque corresponding to the target speed when the user needs the motor in the pumping unit to be adjusted.
[0128] S703: Generate a second control signal according to the target speed and the target torque, and send the second control signal to the inverter circuit so that the inverter circuit drives the motor in response to the second control signal.
[0129] After the target speed and target torque are obtained, a second control signal is further generated according to the target speed and target torque. The second control signal is a signal for controlling the action of the power tube in the inverter circuit. Therefore, after the second control signal is generated, the second control signal is further sent to the inverter circuit so that the inverter circuit responds to the second control signal, and then the target electrical signal output by the rectifier circuit is inverted and output to the motor to drive the motor to rotate at the target speed.
[0130] For further information, please see Figure 7 In another embodiment, after the step of generating a second control signal according to the target speed and the target torque and sending it to the inverter circuit so that the inverter circuit drives the motor in response to the second control signal, the method provided in the present application further includes the following step S704.
[0131] S704: Input the torque voltage reference, the excitation voltage reference, the torque current feedback, and the excitation current feedback into the speed observer to obtain the motor speed feedback and the real-time magnetic pole position angle.
[0132] Among them, the speed observer is a pre-set program logic for calculating the motor speed feedback and the real-time magnetic pole position angle. The torque current feedback and the excitation current feedback are obtained by sampling the current signal output to the motor by the sampling circuit, and the sampled current signal is input into the current conversion module. The torque voltage reference is calculated by the torque controller, and the excitation voltage reference is calculated by the flux controller. In one embodiment, the torque voltage reference uq_ref, the excitation voltage reference ud_ref, the torque current feedback id_ref, and the excitation current feedback iq_ref are input into the speed observer to obtain the speed feedback ω and the real-time magnetic pole position angle θ. Among them, the motor speed feedback and the real-time magnetic pole position angle are also used for the subsequent motor control of the pumping unit, and are used to calculate and obtain the second control signal for the next time.
[0133] In the current embodiment, after generating a second control signal and sending it to the inverter circuit so that the inverter circuit responds to the second control signal to drive the motor, the torque voltage reference, excitation voltage reference, torque current feedback, and excitation current feedback are further input into the speed observer to obtain motor speed feedback and real-time magnetic pole position angle. This can better confirm whether the current motor is adjusted to the target speed and target torque, and then better determine whether the oil pump needs to be further adjusted based on the obtained speed feedback and real-time magnetic pole position angle, thereby achieving more accurate control of the oil pump.
[0134] See also Figure 8 , Figure 8 This is a flow chart of another embodiment of an integrated control method for an oil pumping unit of the present application. In the current embodiment, the external load in the oil pumping unit includes a motor, and the inverter circuit of the integrated control device for the oil pumping unit includes three groups of second switch bridge arms connected in series, each of which includes two second power tubes connected in series, and the second power tubes include IGBT tubes or SiC MOS switch tubes. In some embodiments, the second switch bridge arm can refer to the second IGBT bridge arm.
[0135] The above step S703 generates a second control signal according to the target speed and the target torque, and further includes the following steps S801 to S806:
[0136] S801: Obtain motor speed feedback, motor current sampling signal and magnetic pole position angle.
[0137] The motor speed feedback is the current speed of the motor obtained by sampling. Specifically, the motor speed feedback and the motor current sampling signal can be calculated based on the data sampled by the sampling circuit between the inverter circuit and the motor, and the magnetic pole position angle is the real-time magnetic pole position angle of the current motor obtained by sampling. In other embodiments, the magnetic pole position angle can be obtained by reverse calculation based on the motor speed.
[0138] Further, the motor speed feedback and the magnetic pole position angle may be obtained after the last adjustment of the motor by inputting the torque voltage reference, the excitation voltage reference, the torque current feedback and the excitation current feedback into the speed observer. For details, please refer to step S704 above.
[0139] S802: Calculate and obtain a synthetic current reference based on the motor speed feedback and the target speed.
[0140] After obtaining the motor speed feedback, the motor current sampling signal and the magnetic pole position angle, the motor speed feedback obtained by the speed observer, the magnetic pole position angle and the target speed selected by the user are input into the speed controller to calculate and obtain the synthetic current reference. In the current embodiment, the synthetic current reference is the value of the current that the inverter circuit should output when the motor rotates at the target speed, and the synthetic current reference includes an active current reference and a reactive current reference.
[0141] S803: Calculate the torque current reference and the excitation current reference according to the target torque, the synthetic current reference, the motor speed feedback and the magnetic pole position angle.
[0142] After the synthetic current reference is calculated, the synthetic current reference, motor speed feedback, magnetic pole position angle and target torque are further input into the current controller to obtain the torque current reference and the excitation current reference.
[0143] S804: Calculate the torque current feedback and the excitation current feedback according to the motor current sampling signal and the magnetic pole position angle.
[0144] According to the motor current sampling signal and the magnetic pole position angle, the active current reference, target torque, motor speed feedback and magnetic pole position angle are input to the flux controller to obtain the active voltage reference, and the reactive current reference, target torque, motor speed feedback and magnetic pole position angle are input to the torque controller to obtain the reactive voltage reference.
[0145] The current controller calculates the torque current reference (iq_ref) and the excitation current reference (id_ref) based on the torque command, synthetic current reference, speed feedback (ω), magnetic pole position angle (θ) and other information.
[0146] S805: Calculate the torque voltage reference according to the torque current reference and the torque current feedback, and calculate the excitation voltage reference according to the excitation current reference and the excitation current feedback.
[0147] The torque voltage reference is the voltage value corresponding to the motor torque when it is adjusted to the target torque. The excitation voltage reference is: Specifically, the torque current reference (iq_ref) and the torque current feedback (iq_fdb) are input into the torque controller to obtain the torque voltage reference (ud_ref); the excitation current reference (id_ref) and the excitation current feedback (id_fdb) are input into the excitation controller to obtain the excitation voltage reference (ud_ref).
[0148] S806: Calculate and obtain a second control signal according to the torque voltage reference, the excitation voltage reference and the magnetic pole position angle.
[0149] After calculating and obtaining the torque voltage reference and the excitation voltage reference, the torque voltage reference, the excitation voltage reference and the magnetic pole position angle are further input into the modulator to obtain the second control signal. The second control signal is a signal for controlling the action of the second power tube. In one embodiment, the second control signal refers to a signal for controlling the action of all second power tubes in the inverter circuit. Furthermore, since the inverter circuit includes six second power tubes, the second control signal includes sub-control signals for controlling the six second power tubes respectively. It should be noted that the sub-control signals for controlling the six second power tubes are not limited to the same signal, but are specifically determined based on the second power tubes in different positions.
[0150] See also Fig. 9 , Fig. 9 This is a system control block diagram of an embodiment of an integrated control method for an oil pumping unit of the present application.
[0151] In the current embodiment, the process of system control is described in combination with the three parts of the rectifier circuit (AFE), inverter circuit and processing circuit in the integrated control device of the oil pump. In the current embodiment, the method provided by the present application is executed by the first processing unit CPU1 in the processing circuit, and the process specifically includes: controlling the sampling circuit to sample the voltage and current of the external power grid to obtain voltage signals Uabc and Iabc, and inputting the sampled voltage signal Uadc into the phase-locked loop to obtain the phase-locked loop angle θ_AFE, and then inputting the obtained phase-locked loop angle θ_AFE and current signal Iabc into the current conversion module, and executing the program logic corresponding to the current conversion module to obtain active current feedback Id_fdb and reactive current feedback Iq_fdb.
[0152] While executing the above steps, the control sampling circuit samples the bus voltage to obtain the bus voltage feedback, and obtains the input bus voltage reference, and further inputs the bus voltage feedback and the bus voltage reference into the bus voltage controller to calculate and obtain the active current reference Id_ref and the reactive current reference Iq_ref. Then the active current feedback Id_fdb and the active current reference Id_ref are input into the active current controller to calculate and obtain the active voltage reference Ud_ref, and the reactive current feedback Iq_fdb and the reactive current reference Iq_ref are input into the reactive current controller to calculate and obtain the reactive voltage reference Uq_ref. Then the active voltage reference Ud_ref, the reactive voltage reference Uq_ref and the phase-locked loop angle θ_AFE are input into the modulator to obtain the first control signal of the rectifier circuit. In the current embodiment, the modulator refers to a software module for obtaining the first control signal of the power tube in the rectifier circuit.
[0153] Specifically, the first control signal refers to a control signal used to control each power tube in the rectifier circuit, and then used to control the action of the power tube. As shown in the figure, the first control signal includes Su_AFE+, Su_AFE-, Sv_AFE+, Sv_AFE-, Sw_AFE+ and Sw_AFE-. After obtaining the first control signal, the first control signal is further sent to each power tube in the rectifier circuit to convert the electrical signal input from the external power grid into the target electrical signal, thereby completing the rectification of the electrical signal input from the external circuit.
[0154] Please continue to see Fig. 9 In the current embodiment, the control process of the inverter circuit is as follows: In the current embodiment, it is implemented by the second processing unit CPU2 in the processing circuit. It should be noted that CPU1 and CPU2 can belong to the same processing chip or two processing chips that can communicate with each other, which is not limited here. The specific control process is as follows Fig. 9 As shown, specifically including:
[0155] First, the speed and torque instructions transmitted by the flexible controller are received through the 485 bus; the speed feedback is obtained through the speed observer, and the speed instruction and speed feedback are input into the speed controller to obtain the synthetic current reference, which is then input into the current controller.
[0156] The current controller calculates the torque current reference (iq_ref) and the excitation current reference (id_ref) based on the torque command, synthetic current reference, speed feedback (ω), magnetic pole position angle (θ) and other information.
[0157] At the same time, the current sampling signal is obtained through the sampling circuit to sample the motor output current, and the current sampling signal and the magnetic pole position angle (θ) are input into the current conversion module to obtain the torque current feedback (iq_fdb) and the excitation current feedback (id_fdb). Then the torque current reference (iq_ref) and the torque current feedback (iq_fdb) are input into the torque controller to obtain the torque voltage reference (ud_ref); at the same time, the excitation current reference (id_ref) and the excitation current feedback (id_fdb) are input into the excitation controller to obtain the excitation voltage reference (ud_ref). Finally, the torque voltage reference (uq_ref), the excitation voltage reference (ud_ref) and the magnetic pole position angle (θ) are input into the modulator to obtain the switching signal of the inverter power tube (i.e., the above-mentioned second control signal) to control the action of the inverter power tube. In the current embodiment, the modulator is a software module for obtaining the second control signal for controlling the inverter circuit.
[0158] After obtaining the second control signal, in the current embodiment, the method further includes: inputting the torque voltage reference (uq_ref), the excitation voltage reference (ud_ref), the torque current feedback (id_ref), and the excitation current feedback (iq_ref) into the speed observer to obtain the speed feedback (ω) and the magnetic pole position angle (θ). The speed feedback (ω) and the magnetic pole position angle (θ) obtained by the speed observer can be used in the subsequent control process of the inverter circuit.
[0159] Please continue to see Fig. 9 In the current embodiment, the communication circuit in the wireless monitoring unit of the pumping unit integrated control device provided by the present application includes a WiFi module and a wireless monitoring unit (RTU), and the pumping unit integrated control device also includes a flexible controller. Specifically, the control process of the wireless monitoring unit is as follows:
[0160] The wifi module receives wireless sensor signals such as torque, flow, load displacement, pressure and temperature, and transmits them to the RTU. The RTU draws a power diagram based on the sensor signal. At the same time, the RTU receives the power information transmitted by the AFE control system through the 485 bus. Among them, the power information at least includes the power factor and harmonic content of the power quality monitoring output. The flexible controller receives the power diagram and sensor signals transmitted by the RTU, and calculates the motor speed and torque instructions based on these data, and then transmits them to CPU2 through the 485 bus communication for use in the control of the inverter circuit. At the same time, the RTU will also transmit the data such as the power diagram and sensor signals to the wifi module, and send them to the remote control terminal through the wifi module, so as to realize the display on the remote control terminal.
[0161] See also Fig.10 , Fig.10 1 is a schematic diagram of a structure of an integrated control device for an oil pumping unit in an embodiment of the present application. In the current embodiment, the integrated control device for an oil pumping unit 1000 provided by the present application includes a memory 1002, a processor 1001 and a communication circuit 1003, wherein the memory 1002 and the communication circuit 1003 are respectively coupled to the processor 1001. The integrated control device for an oil pumping unit 1000 can execute Figures 5 to 9 And the integrated control method for the oil pumping unit described in any corresponding embodiment.
[0162] The communication circuit 1003 performs data exchange with an external terminal device under the control of the processor 1001 to obtain communication instructions and other data required for controlling the pumping unit. The communication circuit 1003 is also used to send data to an external terminal device under the control of the processor 1001. For example, in one embodiment, the communication circuit 1003 is also used to send a power indicator diagram to an external terminal device. In another embodiment, the communication circuit 1003 is also used to feed back data of the processor's response to a request from an external terminal device to an external terminal under the control of the processor.
[0163] The memory 1002 includes a local storage (not shown) and stores a computer program. When the computer program is executed, Figures 5 to 9 And the method described in any corresponding embodiment.
[0164] The processor 1001 is coupled to the memory 1002, and the processor 1001 is used to run the computer program to execute the above Figures 5 to 9 And the integrated control method for the oil pumping unit described in any corresponding embodiment.
[0165] Furthermore, the processor 1001 includes two first processing units ( Fig.10 not shown) and a second processing unit ( Fig.10 The first processing unit is a main control unit, and is used to control the inverter circuit. It can also be understood that the algorithm for controlling the inverter circuit is integrated in the first processing unit; the second processing unit is a common control unit, and the second processing unit controls the rectifier circuit and / or the energy feedback circuit, etc. The first processing unit is also used to control the interaction with external devices or circuit structures.
[0166] See also Fig.11 , Fig.11 This is a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention. The computer-readable storage medium 1100 stores a computer program 1101 that can be executed by a processor. The computer program 1101 is used to implement the above Figures 5 to 9 The integrated control method for the oil pump described in any one of the corresponding embodiments. Specifically, the storage medium 1100 may be a memory, a personal computer, a server, a network device, or a USB flash drive, etc., and no limitation is made here.
[0167] The above are only implementation methods of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of this application, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. An integrated control device for an oil pumping unit, It is characterized in that The pumping unit integrated control device is used to control at least part of the external load in the pumping unit, so as to control the pumping unit to complete the pumping work without human intervention; the device comprises: a processing circuit, a driving circuit and a remote control circuit, the driving circuit is used to output a power driving signal to the external load under the control of the processing circuit, and the remote control circuit is used to cooperate with an external remote control terminal to complete the remote control of the pumping unit under the control of the processing circuit; The remote control circuit includes a wireless monitoring unit, a power supply end of the wireless monitoring unit is connected to the first output end of the driving circuit to receive a first power driving signal output by the driving circuit; an input end of the wireless monitoring unit is connected to an external sensor, and the first output end of the wireless monitoring unit is connected to the input end of the processing circuit; The output end of the processing circuit is connected to the control end of the driving circuit, and the second output end of the driving circuit is connected to at least part of the external load, so that the driving circuit outputs a second power driving signal to at least part of the external load under the control of the processing circuit.
2. The device according to claim 1, It is characterized in that The remote control circuit also includes a communication circuit, a control end of the communication circuit is connected to the processing circuit, and an output end of the communication circuit is connected to a remote control terminal to communicate with the remote control terminal under the control of the processing circuit.
3. The device according to claim 2, It is characterized in that The external sensor includes a load displacement sensor; The second output end of the wireless monitoring unit is connected to the remote control terminal through the communication circuit.
4. The device according to claim 1, It is characterized in that The driving circuit includes a rectifier circuit and an inverter circuit, the input end of the rectifier circuit is connected to the external power supply end, and the output end of the rectifier circuit is connected to the inverter circuit; The rectifier circuit comprises three groups of first IGBT bridge arms connected in parallel; The inverter circuit includes an IGBT driver chip and three groups of parallel second IGBT bridge arms, the input end of the IGBT driver chip is connected to the output end of the processing circuit, the input end of the second IGBT bridge arm is connected to the output end of the rectifier circuit, and the control end of the second IGBT bridge arm is connected to the output end of the IGBT driver chip to adjust the second power drive signal output to the external load according to the control instruction of the processing circuit.
5. The device according to claim 4, It is characterized in that The drive circuit also includes an energy feedback circuit, which is connected to the rectifier circuit and the inverter circuit to feed back the electricity generated when the motor is stopped or decelerated to the power grid.
6. The device according to claim 4, It is characterized in that The drive circuit also includes a power frequency contactor and a variable frequency contactor; The input end of the power frequency contactor is connected to the external power supply end, the output end of the power frequency contactor is connected to at least part of the external load, and the control end of the power frequency contactor is connected to the processing circuit to be turned on under the control of the processing circuit; The input end of the variable frequency contactor is connected to the output end of the inverter circuit, the output end of the variable frequency contactor is connected to at least part of the external load, and the control end is connected to the processing circuit to be turned on under the control of the processing circuit, thereby driving the motor and / or the external load in a variable frequency mode.
7. The device according to claim 6, It is characterized in that The drive circuit further includes two relays, the variable frequency contactor is connected to at least part of the external load via one of the relays, and the power frequency contactor is connected to at least part of the external load via the other of the relays.
8. The device according to claim 4, It is characterized in that The processing circuit includes a first processing unit and a second processing unit that can share data with each other, the first processing unit is connected to the rectifier circuit, and the second processing unit is connected to the inverter circuit.
9. The device according to claim 4, It is characterized in that The device further comprises an auxiliary power supply circuit connected to the output end of the rectifier circuit, and the auxiliary power supply circuit is used to supply power to electronic devices and / or circuit units in the integrated control device for the oil pumping unit.
10. The device according to claim 1, It is characterized in that The device further comprises a flexible controller and a first operating screen, wherein an input end of the flexible controller is connected to the wireless monitoring unit, and an output end of the flexible controller is connected to the first operating screen.
Citation Information
Patent Citations
Remote measurement and control terminal of oil pumping unit
CN101667020A
Multifunctional remote monitoring system for oil field pumping unit and monitoring method thereof
CN103248706A
Intelligent compensation monitoring system for oil pumping unit
CN110488186A
Wireless acquisition system for data of oil pumping machine
CN202563339U
Remote measurement and control apparatus for oil pumping unit
CN202904298U
