Data acquisition and transmission method and device and storage medium
By configuring the gateway, power instrument and power parameter terminals, and building a star network topology architecture, the synchronous acquisition and transmission of power diagrams and power parameter parameters of the oil pump is realized, and the synchronous transmission problem caused by unregistered equipment in the prior art is solved, and the efficiency and accuracy of data transmission are improved.
Patent Information
- Application Number
- CN202311524850.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-15
- Publication Date
- 2025-05-16
AI Technical Summary
In the prior art, after the power diagram and electric parameter parameters of the oil pump are collected, since some equipment is not registered on the same wireless base station, synchronous transmission cannot be achieved, resulting in the equipment need to reapply for network access and synchronous transmission cannot be achieved.
By configuring the gateway, power instrument and power instrument terminal, a star network topology architecture is built, and a low-power narrowband wide-area digital transmission architecture is adopted to ensure that the power instrument terminal and power instrument start to collect data at the same time during the same acquisition cycle and upload it to the monitoring terminal through the gateway.
The synchronous acquisition and transmission of the power instrument and the power parameter terminal is realized, and the synchronous transmission problem caused by the equipment not being registered on the same wireless base station is solved, and the efficiency and accuracy of data transmission are improved.
Smart Images

Figure CN120018070A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oil and gas production digitization, and in particular to a data acquisition and transmission method, device and storage medium. Background Art
[0002] The rod pumping unit is the earliest and most widely used oil production method. About 80% of the oil wells in the world use rod pumping units for production. The rod pumping equipment needs to extend to thousands of meters underground for oil production. Its working conditions are harsh, the environment is complex, and it is prone to failures, such as the breakage of the pumping rod, the blockage of the pump, the jamming of the pump, the lack of liquid supply, the vibration of the pumping unit, the breakage of the belt, and the failure of the motor to work properly. Therefore, it is necessary to monitor the operating status of the rod pumping equipment in real time. With the development of the Internet of Things technology, digital oil fields have been integrated into all aspects of oil and gas production. It is a new modern production and operation integrated data management application platform that integrates the collection, transmission, processing, analysis, control and application of oil exploration and development production information. It realizes the automatic collection of operating parameters in all aspects of oil and gas field production, the automatic monitoring of the production environment and the status of the Internet of Things equipment, and the remote control of the production process. And its main technology is the monitoring and analysis of the production process of the oil well field.
[0003] The core part of the entire digital oilfield safety production monitoring is the acquisition and monitoring of the indicator diagram and motor operation data. By analyzing the indicator diagram and the current diagram, the production and operation of the pumping unit and the working condition of the oil pump can be reflected. The indicator diagram of the pumping unit is an important means of monitoring the working condition of the oil well. The indicator diagram reflects the operating condition of the pumping unit, pumping unit fault information, deep well pump fault information, formation crude oil content and many other pumping unit working parameter data, which can accurately and timely grasp the working condition of the deep well pump underground. The oil well motor is the power source for the operation of the entire pumping unit. The motor operation data directly reflects the operation of the pumping unit, and can directly reflect the changes in the load of the pumping unit, the changes in the working status of the pumping unit and the motor, thereby reflecting the production status of the pumping unit.
[0004] However, in the prior art, after the power diagram and electrical parameter parameters are collected, the coordinated action cannot be completed because some of the power diagram and electrical parameter are not registered in the same wireless base station, resulting in the need for the power diagram and electrical parameter equipment to reapply for network access, and then the problem of being unable to achieve synchronous transmission occurs. Summary of the invention
[0005] The present invention provides a data collection and transmission method, device and storage medium, so as to at least solve the problem in the related art that after the power diagram and electrical parameter parameters are collected, the coordinated action cannot be completed because some power diagrams and electrical parameters are not registered in the same wireless base station, so the power diagram and electrical parameter equipment need to reapply for network access, and then synchronous transmission cannot be achieved.
[0006] According to one aspect of the present invention, there is provided a data collection and transmission method, comprising: configuring parameters of a gateway, a dynamometer, and an electrical parameter terminal to obtain a target working architecture, wherein the gateway, the dynamometer, and the electrical parameter terminal are a star networking topology architecture, the central node is the gateway, and the target working architecture is a low-power narrowband wide-area data transmission architecture; using the target working architecture, collecting electrical parameters and dynamometer diagrams to obtain target collection data, wherein the electrical parameters are collected by the electrical parameter terminal, the dynamometer diagram is collected by the dynamometer, and the electrical parameter terminal and the dynamometer start collecting at the same time within a collection cycle; uploading the target collection data to the target monitoring terminal through the gateway, wherein the target monitoring terminal is used to display the target collection data.
[0007] Furthermore, parameters of the gateway, dynamometer, and electric parameter terminal are configured to obtain a target working architecture, including: configuring the acquisition parameters of the dynamometer at the gateway to obtain the first acquisition parameters; configuring the acquisition parameters of the electric parameter terminal at the gateway to obtain the second acquisition parameters; controlling the dynamometer and the electric parameter terminal to access the gateway, and obtaining the first acquisition parameters and the second acquisition parameters from the gateway accordingly, thereby forming a target working architecture.
[0008] Furthermore, the first acquisition parameters at least include: a first acquisition cycle, a first acquisition content and a first preparation time.
[0009] Furthermore, the second acquisition parameters at least include: a second acquisition cycle, a second acquisition content and a second preparation time.
[0010] Furthermore, after controlling the dynamometer and the electric parameter terminal to access the gateway, it also includes: controlling the gateway to determine the acquisition time offset, wherein the acquisition time offset is used to control the dynamometer and the electric parameter terminal to be awakened at the same time; the control gateway sends the acquisition time offset to the dynamometer and the electric parameter terminal.
[0011] Furthermore, a target working architecture is adopted to collect electrical parameters and dynamometer diagrams to obtain target collected data, including: according to a first collection parameter, controlling the dynamometer to collect data to obtain first collected data, wherein the first collected data includes a first time offset corresponding to multiple collection nodes, the displacement of the oil pump and the work value of the oil pump; according to a second collection parameter, controlling the electrical parameter terminal to collect data to obtain second collected data, wherein the second collected data includes a second time offset corresponding to multiple collection nodes, the oil pump current and the oil pump power, the first time offset and the second time offset being the time difference between the corresponding moment of the collection node and the start moment of collection; determining the target collection data according to the first collection data and the second collection data.
[0012] Furthermore, determining the target collected data based on the first collected data and the second collected data includes: controlling the dynamometer to upload the first collected data to the gateway; controlling the gateway to forward the first collected data to the electrical parameter terminal; and controlling the electrical parameter terminal to determine the target collected data based on the first collected data and the second collected data.
[0013] Furthermore, the data collection and transmission method also includes: controlling the gateway to broadcast time synchronization data at preset time intervals, wherein the time synchronization data is used to control the dynamometer and the electric parameter terminal to be awakened at the same time; in response to a sleep instruction, controlling the dynamometer and the electric parameter terminal to obtain time synchronization data, wherein the sleep instruction is used to control the dynamometer and the electric parameter terminal to sleep, and the time synchronization data is used to determine the wake-up time of the dynamometer and the electric parameter terminal.
[0014] According to another aspect of the present invention, there is provided a data collection and transmission device, comprising:
[0015] The configuration module is used to configure the parameters of the gateway, the dynamometer, and the electrical parameter terminal to obtain the target working architecture, wherein the gateway, the dynamometer and the electrical parameter terminal are a star-shaped networking topology architecture, the central node is the gateway, and the target working architecture is a low-power narrow-band wide-area data transmission architecture; the acquisition module is used to adopt the target working architecture to acquire the electrical parameters and the dynamometer diagram to obtain the target acquisition data, wherein the electrical parameters are acquired by the electrical parameter terminal, and the dynamometer diagram is acquired by the dynamometer, and the electrical parameter terminal and the dynamometer start acquisition at the same time within an acquisition cycle; the transmission module is used to upload the target acquisition data to the target monitoring terminal through the gateway, wherein the target monitoring terminal is used to display the target acquisition data.
[0016] Furthermore, the configuration module is also used to: configure the acquisition parameters of the dynamometer at the gateway to obtain the first acquisition parameters; configure the acquisition parameters of the electrical parameter terminal at the gateway to obtain the second acquisition parameters; control the dynamometer and the electrical parameter terminal to access the gateway, and obtain the first acquisition parameters and the second acquisition parameters from the gateway accordingly to form a target working architecture.
[0017] Furthermore, the first acquisition parameters obtained by the acquisition module at least include: a first acquisition cycle, a first acquisition content and a first preparation time.
[0018] Furthermore, the second acquisition parameters obtained by the acquisition module at least include: a second acquisition cycle, a second acquisition content and a second preparation time.
[0019] Furthermore, the acquisition module is also used to: control the gateway to determine the acquisition time offset, wherein the acquisition time offset is used to control the dynamometer and the electrical parameter terminal to be awakened at the same time; and control the gateway to send the acquisition time offset to the dynamometer and the electrical parameter terminal.
[0020] Furthermore, the acquisition module is also used to: according to the first acquisition parameter, control the dynamometer to perform data acquisition to obtain first acquisition data, wherein the first acquisition data includes a first time offset corresponding to multiple acquisition nodes, the displacement of the oil pump and the work value of the oil pump; according to the second acquisition parameter, control the electrical parameter terminal to perform data acquisition to obtain second acquisition data, wherein the second acquisition data includes a second time offset corresponding to multiple acquisition nodes, the oil pump current and the oil pump power, and the first time offset and the second time offset are the time difference between the corresponding time of the acquisition node and the start time of acquisition; determine the target acquisition data according to the first acquisition data and the second acquisition data.
[0021] Furthermore, the acquisition module is also used to: control the dynamometer to upload the first acquired data to the gateway; control the gateway to forward the first acquired data to the electrical parameter terminal; control the electrical parameter terminal to determine the target acquired data based on the first acquired data and the second acquired data.
[0022] Furthermore, the acquisition module is also used to: control the gateway to broadcast time synchronization data at preset time intervals, wherein the time synchronization data is used to control the dynamometer and the electrical parameter terminal to be awakened at the same time; in response to a sleep instruction, control the dynamometer and the electrical parameter terminal to obtain time synchronization data, wherein the sleep instruction is used to control the dynamometer and the electrical parameter terminal to sleep, and the time synchronization data is used to determine the wake-up time of the dynamometer and the electrical parameter terminal.
[0023] The technical solution of the present invention is applied, firstly, the parameters of the gateway, the dynamometer, and the electric parameter terminal are configured to obtain the target working architecture, wherein the gateway, the dynamometer and the electric parameter terminal are a star networking topology architecture, the central node is the gateway, and the target working architecture is a low-power narrowband wide-area data transmission architecture, then the target working architecture is adopted to collect the electrical parameters and the dynamometer diagram to obtain the target collected data, wherein the electrical parameters are collected by the electric parameter terminal, the dynamometer diagram is collected by the dynamometer, the electric parameter terminal and the dynamometer start collecting at the same time in a collection cycle, and finally, the target collected data is uploaded to the target monitoring terminal through the gateway, wherein the target monitoring terminal is used to display the target collected data. Through the low-power narrowband wide-area data transmission architecture, the dynamometer and the electric parameter terminal are registered in the same wireless gateway, and the synchronous collection of the dynamometer and the electric parameter terminal is realized, which solves the problem in the related technology that after the acquisition of the power diagram and the electric parameter parameters is completed, the coordinated action cannot be completed because some power diagrams and electric parameters are not registered in the same wireless base station, resulting in the need for the power diagram and the electric parameter equipment to re-apply for network access, and then the technical problem that synchronous transmission cannot be realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0025] Figure 1 A schematic diagram of a flow chart of a data collection and transmission method provided according to an embodiment of the present invention is shown;
[0026] Figure 2 A network topology diagram of a target working architecture provided according to an embodiment of the present invention is shown;
[0027] Figure 3 A schematic structural diagram of a data acquisition and transmission device provided according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] According to an embodiment of the present invention, an embodiment of a data collection and transmission method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system containing at least one set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0031] The method embodiment can also be executed in an electronic device including a memory and a processor, a similar control device or a cloud. Taking an electronic device as an example, the electronic device may include one or more processors and a memory for storing data. Optionally, the electronic device may also include a communication device and a display device for communication functions. It can be understood by those of ordinary skill in the art that the above structural description is only illustrative and does not limit the structure of the above electronic device. For example, the electronic device may also include more or fewer components than the above structural description, or have a configuration different from the above structural description.
[0032] The processor may include one or more processing units. For example, the processor may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microcontroller unit (MCU), a field-programmable gate array (FPGA), a neural network processor (NPU), a tensor processing unit (TPU), an artificial intelligence (AI) type processor, and the like. Among them, different processing units may be independent components or integrated into one or more processors. In some instances, the electronic device may also include one or more processors.
[0033] The memory can be used to store computer programs, such as storing computer programs corresponding to the data acquisition and transmission method in the embodiment of the present invention, and the processor implements the above-mentioned data acquisition and transmission method by running the computer program stored in the memory. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0034] The communication device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the communication device includes a network adapter (network interface controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the communication device can be a radio frequency (radio frequency, RF) module, which is used to communicate with the Internet wirelessly. In some embodiments of the present solution, the communication device is used to connect to mobile devices such as mobile phones and tablets, and instructions can be sent to electronic devices through the mobile device.
[0035] The display device may be a touch screen type liquid crystal display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the electronic device. In some embodiments, the electronic device has a graphical user interface (GUI), and a user may interact with the GUI by touching a finger release and / or gestures on a touch-sensitive surface, and executable instructions for executing the above-mentioned human-computer interaction functions are configured / stored in a computer program product or a readable storage medium executable by one or more processors.
[0036] It should be noted that the low-power narrowband wide-area data transmission architecture mentioned below is the RT-CHIRP architecture. The following is an explanation of the architecture:
[0037] (1) Network architecture: The RT-Chirp network is a star-shaped structure, which is deployed in a two-layer or three-layer network structure according to the business scenario. The two-layer network deployment includes base stations and nodes. Each base station manages a subnet independently and provides data services to the application server. The three-layer network includes base stations, nodes, and network servers. The network server uniformly manages the entire network and provides data services to the application server. The three-layer network is the main deployment architecture for the oil and gas production Internet of Things due to its flexible network expansion capabilities.
[0038] (2) Protocol architecture: The RT-Chirp protocol includes both the client and the master. The protocol layers are mainly the physical layer and the data link layer. The physical layer uses CSS modulation technology, and the data link layer is divided into the media access sublayer (MAC) and the logical link sublayer (LLC).
[0039] Physical layer (PHY): RT-Chirp physical layer defines the channel coding and modulation method. RT-Chirp uses CSS modulation technology, which complies with the provisions of IEEE Std 802.15.4TM-2015 physical layer. RT-Chirp uses the same frequency band as LoRa+.
[0040] Media Access Layer (MAC): The MAC layer defines channel mapping, frame structure, resource scheduling, time slot synchronization, power control method, QoS-based congestion control, frequency hopping control, service interface, etc.
[0041] The network side is configured with dual channels, supporting CSMA and TDMA access, called C channel and T channel; the terminal side is configured with a single channel, using different network access methods according to different scenarios. The C channel is used for network access and real-time event reporting; the T channel is used for uplink / downlink data transmission. Resource scheduling is concentrated on the T channel. Real-time scheduling decisions are made based on the uplink / downlink dynamic resource requests of each terminal, as well as system load, service priority, etc.
[0042] Time slot synchronization is the basis for base station resource scheduling. The T channel provides Beacon service, providing time slot synchronization for low-power devices after waking up from sleep; during business activities, time slot synchronization is performed through synchronization response.
[0043] Power control can reduce the near-far effect of wireless terminals and reduce terminal power consumption. The base station adjusts the terminal's transmit power in real time in a step-by-step manner according to the signal indicators of the terminal's uplink packet, and synchronously feeds back to the terminal in the response.
[0044] QoS-based congestion control: The base station scheduler prioritizes message transmission based on air interface load and QoS level.
[0045] The T channel supports frequency hopping function: the base station allocates frequency hopping strategies to terminals accessing the network, effectively preventing multipath interference problems in the case of intensive data transmission.
[0046] The MAC layer provides two service interfaces to the upper layer: data service and management service.
[0047] Logical link layer: The logical link layer defines packet encapsulation and unpacking, message queue QoS processing, terminal link management, terminal network access and disconnection, broadcasting, data encryption and decryption, and integrity assurance.
[0048] The rod pumping unit is the earliest and most widely used oil production method. About 80% of the oil wells in the world use rod pumping units for production. The rod pumping equipment needs to extend to thousands of meters underground for oil production. Its working conditions are harsh, the environment is complex, and it is prone to failures, such as the breakage of the pumping rod, the blockage of the pump, the jamming of the pump, the lack of liquid supply, the vibration of the pumping unit, the breakage of the belt, and the failure of the motor to work properly. Therefore, it is necessary to monitor the operating status of the rod pumping equipment in real time. With the development of the Internet of Things technology, digital oil fields have been integrated into all aspects of oil and gas production. It is a new modern production and operation integrated data management application platform that integrates the collection, transmission, processing, analysis, control and application of oil exploration and development production information. It realizes the automatic collection of operating parameters in all aspects of oil and gas field production, the automatic monitoring of the production environment and the status of the Internet of Things equipment, and the remote control of the production process. And its main technology is the monitoring and analysis of the production process of the oil well field.
[0049] The core part of the entire digital oilfield safety production monitoring is the acquisition and monitoring of the indicator diagram and motor operation data. By analyzing the indicator diagram and the current diagram, the production and operation of the pumping unit and the working condition of the oil pump can be reflected. The indicator diagram of the pumping unit is an important means of monitoring the working condition of the oil well. The indicator diagram reflects the operating condition of the pumping unit, pumping unit fault information, deep well pump fault information, formation crude oil content and many other pumping unit working parameter data, which can accurately and timely grasp the working condition of the deep well pump underground. The oil well motor is the power source for the operation of the entire pumping unit. The motor operation data directly reflects the operation of the pumping unit, and can directly reflect the changes in the load of the pumping unit, the changes in the working status of the pumping unit and the motor, thereby reflecting the production status of the pumping unit.
[0050] However, in the prior art, after the power diagram and electrical parameter parameters are collected, the coordinated action cannot be completed because some of the power diagram and electrical parameter are not registered in the same wireless base station, resulting in the need for the power diagram and electrical parameter equipment to reapply for network access, and then the problem of being unable to achieve synchronous transmission occurs.
[0051] The pumping unit dynamometer diagram represents the periodic variation of the pumping unit suspension point load as it changes with its movement displacement, and the current diagram is the periodic variation of the pumping unit motor current as it changes with the movement displacement of the suspension point load. The dynamometer diagram acquisition unit is composed of a load sensor and an acceleration sensor. The load sensor directly measures the pumping unit suspension point load signal, and the acceleration sensor is fixed on the circuit board of the internal cavity of the dynamometer diagram acquisition unit. The electrical parameter acquisition unit directly measures the three-phase voltage and three-phase current values of the oil well motor to obtain basic power parameters and current diagram data.
[0052] The indicator diagram is a closed curve drawn by the load and the corresponding displacement during a cycle of the pumping unit. The size of the area of the graph represents the work done by the pump. Ideally, the pump indicator diagram is a parallelogram. In the ideal indicator diagram model, the horizontal axis represents the displacement of the suspension point movement (unit: m), and the vertical axis represents the load on the suspension point (unit: KN). The point with a displacement of 0 in the lower left corner is called the bottom dead center of the pumping unit, and the point with the largest displacement in the upper right corner is called the top dead center of the pumping unit. The load is measured from the bottom dead center (displacement 0 point). When the pumping unit runs to the top dead center position (maximum displacement point), the load curve is drawn in the order of increasing displacement during this period of time; the pumping unit returns from the top dead center to the bottom dead center (displacement 0 point), and the load curve is drawn in the order of decreasing displacement during this period of time. The suspension point load measurement within a cycle of the pumping unit is completed to form an indicator diagram. The dynamometer diagram can reflect the work done by the pump, the change of load, the working condition of the pump and the fault information of the oil well, such as fixed valve leakage, insufficient fluid supply, whether it is affected by sand, wax, gas, water, etc. It can timely discover the failure of the pump and effectively avoid production accidents. It can also timely adjust the operating status of the pump, calculate the crude oil production, improve oil production efficiency and reduce energy loss.
[0053] The current diagram of the oil well motor is a graph of the changing current formed by the up and down movement of the oil well motor. The horizontal axis represents the running time of the oil well motor (unit: s), and the vertical axis represents the single-phase current of the motor (unit: A). With the periodic movement of the oil well motor, the motor current also changes periodically. The oil well motor is the main energy-consuming equipment in the oil field. Due to the difference in the load of the up and down strokes, the current of the oil well motor is also constantly changing. The motor current changes with the load change and can most directly reflect the operating status of the oil well motor. Therefore, the up and down stroke current of the oil well motor can most obviously and quickly reflect the working status of the oil well motor, the balance of the oil well motor and the abnormal situation of the oil well. The ratio of the maximum current values of the up and down strokes is an important parameter for calculating the balance of the oil well motor. Therefore, for different oil well pumps, balancing the oil well motor according to the oil well motor current diagram is an important energy-saving technical measure.
[0054] The dynamometer diagram and current diagram of the oil pump are both important data information for safe production monitoring of the oil pump. From the above collection methods of the dynamometer diagram and current diagram, it can be seen that the dynamometer diagram of the oil pump directly measures the suspension point load and indirectly reflects the operating status of the oil pump. The dynamometer diagram cannot directly and accurately judge the operating status of the oil pump. The current diagram directly measures the current data of the oil well motor, but the current measurement method of the current diagram does not correspond the current value to the up and down stroke of the oil pump, so the working status of the entire oil pump and the oil pump cannot be accurately analyzed based on the current diagram.
[0055] Based on the above background, the present invention proposes a data collection and transmission method, which is as follows:
[0056] Figure 1 FIG. 1 is a flow chart of a data collection and transmission method according to one embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0057] Step S101, configure parameters of the gateway, dynamometer, and electrical parameter terminal to obtain a target working architecture.
[0058] Among them, the gateway, dynamometer and electrical parameter terminal are star-shaped network topology architecture, the central node is the gateway, and the target working architecture is a low-power narrowband wide-area data transmission architecture.
[0059] Specifically, refer to Figure 2 The target working architecture is a star architecture in which the gateway communicates with the dynamometer and the electric parameter terminal respectively. Parameter configuration of the gateway, dynamometer, and electric parameter terminal can make the three form the target working architecture and communicate with each other. At the same time, the gateway can send configuration parameters to the dynamometer and the electric parameter terminal so that the dynamometer and the electric parameter terminal work according to the configuration parameters.
[0060] It should be noted that the electrical parameter terminal may be an electrical parameter meter.
[0061] It should be noted that the dynamometer and electrical parameter terminal corresponding to the same oil well need to be registered in the same gateway.
[0062] Step S102, using the target working framework, collecting electrical parameters and dynamometer diagrams to obtain target collection data.
[0063] The electrical parameters are collected by the electrical parameter terminal, and the dynamometer diagram is collected by the dynamometer. The electrical parameter terminal and the dynamometer start collecting data at the same time in a collection cycle.
[0064] Specifically, after the target working architecture is configured, under the constraints of the target working architecture, the electrical parameter terminal and the dynamometer will start collecting data at the same time within a collection cycle, thereby obtaining the target collection data.
[0065] It should be noted that after a collection cycle ends, the electrical parameter terminal and the dynamometer will go into sleep mode, and they will still be awakened and work at the same time when the next collection cycle begins.
[0066] Step S103, uploading the target collected data to the target monitoring terminal through the gateway.
[0067] Among them, the target monitoring terminal is used to display the target collection data.
[0068] It is understandable that since the electric parameter terminal and the dynamometer are registered in the same gateway, after acquiring the target acquisition data, the two can synchronously upload the target acquisition data to the target monitoring terminal. The staff can analyze the oil well working conditions based on the target acquisition data on the target monitoring terminal.
[0069] It should be noted that the wireless data transmission network based on RT-CHIRP technology has a star-shaped network architecture. The corresponding power diagram and electrical parameter terminal data can be directly transmitted to the production control platform through the RT-CHIRP gateway, reducing the corresponding "middle links" and having the characteristics of simple architecture, easy maintenance, and flat management. The cost of a single well is 60% lower than the cost of a single well that uses 4G, bridges and other wireless transmission technologies to achieve corresponding functions.
[0070] The monitoring data of oil and gas wells mainly include: pressure, temperature, power diagram and electrical parameters, among which the power diagram and electrical diagram are periodic large data packets, which are regularly reported by the electrical parameter and power diagram instruments. Due to the limitations of resource scheduling, the current RT-Chirp channel utilization rate is 20% higher than other low-power narrowband data transmission technologies, and can support the access of 160 oil wells. Under the premise of the same number of oil and gas wells, the technology upgrade further reduces the deployment volume and cost of base stations and transmission networks. Under the premise of the deployment of the same base station, the reporting cycle of the power diagram and electrical diagram is further shortened, and the sampling data can be more dense.
[0071] RT-Chirp technology can achieve intensive uploading and downloading of large data packets, thus supporting more oilfield remote monitoring scenarios. By deploying vibration sensors to obtain vibration data of motor equipment at the wellhead and station house, remote monitoring and predictive maintenance of their health status can be performed. The realization of the monitoring scenario only requires the deployment of an oil and gas production Internet of Things based on RT-Chirp technology, which saves construction costs and avoids repeated investment.
[0072] The technical solution of the present invention is applied, firstly, the parameters of the gateway, the dynamometer, and the electric parameter terminal are configured to obtain the target working architecture, wherein the gateway, the dynamometer and the electric parameter terminal are a star networking topology architecture, the central node is the gateway, and the target working architecture is a low-power narrowband wide-area data transmission architecture, then the target working architecture is adopted to collect the electrical parameters and the dynamometer diagram to obtain the target collected data, wherein the electrical parameters are collected by the electric parameter terminal, the dynamometer diagram is collected by the dynamometer, the electric parameter terminal and the dynamometer start collecting at the same time in a collection cycle, and finally, the target collected data is uploaded to the target monitoring terminal through the gateway, wherein the target monitoring terminal is used to display the target collected data. Through the low-power narrowband wide-area data transmission architecture, the dynamometer and the electric parameter terminal are registered in the same wireless gateway, and the synchronous collection of the dynamometer and the electric parameter terminal is realized, which solves the problem in the related technology that after the acquisition of the power diagram and the electric parameter parameters is completed, the coordinated action cannot be completed because some power diagrams and electric parameters are not registered in the same wireless base station, resulting in the need for the power diagram and the electric parameter equipment to re-apply for network access, and then the technical problem that synchronous transmission cannot be realized.
[0073] Optionally, in step S101, configuring parameters of the gateway, the dynamometer, and the electrical parameter terminal to obtain the target working architecture may include the following steps:
[0074] Step S1011: configuring the acquisition parameters of the dynamometer at the gateway to obtain the first acquisition parameters.
[0075] Step S1012: configuring the collection parameters of the electronic parameter terminal at the gateway to obtain second collection parameters.
[0076] Step S1013, control the dynamometer and the electrical parameter terminal to access the gateway, and obtain the first acquisition parameter and the second acquisition parameter from the gateway accordingly to form a target working architecture.
[0077] Specifically, when constructing the target working structure, first configure the parameters of the dynamometer in the gateway to obtain the first acquisition parameters, then configure the parameters of the electric parameter terminal in the gateway to obtain the second acquisition parameters, and then connect the dynamometer and the electric parameter terminal to the gateway. After connecting to the gateway, the dynamometer obtains the first acquisition parameters from the gateway for initialization, and the electric parameter terminal obtains the second acquisition parameters from the gateway for initialization. After all initializations are completed, the dynamometer, the electric parameter terminal and the gateway together constitute the target working architecture.
[0078] It should be noted that the execution order of step S1011 and step S1012 can be interchangeable.
[0079] Optionally, the first acquisition parameters at least include: a first acquisition cycle, a first acquisition content and a first preparation time.
[0080] Specifically, the first collection cycle is used to define the time for one collection of the dynamometer and the interval time between two collections, the first collection content is used to characterize the data that the dynamometer needs to collect, and the first preparation time is used to characterize the warm-up time after the dynamometer is started and before the collection begins.
[0081] Optionally, in some embodiments of the present invention, the preset time is 10 seconds.
[0082] Optionally, the second acquisition parameters include at least: a second acquisition cycle, a second acquisition content and a second preparation time.
[0083] Specifically, the second collection cycle is used to define the time for one collection of the electric parameter terminal and the interval time between two collections, the second collection content is used to characterize the data that the electric parameter terminal needs to collect, and the second preparation time is used to characterize the preheating time after the electric parameter terminal is started and before the collection begins.
[0084] It should be noted that the second collection period has the same value as the first collection period, and the first preparation time has the same value as the second preparation time.
[0085] Furthermore, after controlling the dynamometer and the electric parameter terminal to access the gateway, it also includes: controlling the gateway to determine the acquisition time offset, wherein the acquisition time offset is used to control the dynamometer and the electric parameter terminal to be awakened at the same time; the control gateway sends the acquisition time offset to the dynamometer and the electric parameter terminal.
[0086] Specifically, after the dynamometer and the electrical parameter terminal are connected to the gateway, it is necessary to obtain the acquisition time offset calculated by the gateway. The acquisition time offset is used to ensure that the dynamometer and the electrical parameter terminal are awakened at the same time in the next acquisition cycle.
[0087] For example, if in the previous collection cycle, the dynamometer went into sleep mode 2 seconds earlier than the electrical parameter terminal, the gateway determines that the collection time offset is 2 seconds. When the next collection starts, the electrical parameter terminal will sleep 2 seconds less than the dynamometer.
[0088] Optionally, in step S102, using the target working framework, collecting electrical parameters and dynamometer diagrams to obtain target collection data may include the following steps:
[0089] Step S1021, according to the first acquisition parameter, control the dynamometer to perform data acquisition to obtain first acquisition data, wherein the first acquisition data includes a first time offset corresponding to a plurality of acquisition nodes, a displacement of the oil pump and a work value of the oil pump.
[0090] Specifically, when the dynamometer starts to collect data, it works according to the configured first collection parameters, collects the first time offset, the displacement of the oil pump and the work value of the oil pump at multiple collection nodes, and each collection node collects the first time offset, the displacement of the oil pump and the work value of the oil pump. The first time offset, the displacement of the oil pump and the work value of the oil pump corresponding to the multiple collection nodes together constitute the first collection data.
[0091] It should be noted that after the acquisition is completed, the dynamometer will record and calculate the positions of the bottom dead center and the top dead center, organize the collected raw data, and obtain a complete displacement and load data sequence.
[0092] Step S1022, according to the second acquisition parameter, control the electrical parameter terminal to perform data acquisition to obtain the second acquisition data, the second acquisition data includes the second time offset corresponding to multiple acquisition nodes, the pumping unit current and the pumping unit power, the first time offset and the second time offset are the time difference between the corresponding time of the acquisition node and the start time of acquisition.
[0093] Specifically, when the electric parameter terminal starts collecting data, it works according to the configured second collection parameters, collects the second time offset, the displacement of the oil pump and the work value of the oil pump at multiple collection nodes, and each collection node collects the first time offset, the oil pump current and the oil pump power. The first time offset, the oil pump current and the oil pump power corresponding to the multiple collection nodes together constitute the second collection data.
[0094] Step S1023: determining target acquisition data according to the first acquisition data and the second acquisition data.
[0095] Specifically, after the first collected data and the second collected data are collected, the target collected data may be determined according to the first collected data and the second collected data in a preset processing manner.
[0096] Optionally, in step S1023, determining the target acquisition data according to the first acquisition data and the second acquisition data may include the following steps:
[0097] Step S1023a, controlling the dynamometer to upload the first collected data to the gateway.
[0098] Step S1023b: Control the gateway to forward the first collected data to the electronic parameter terminal.
[0099] Step S1023c, controlling the electronic parameter terminal to determine the target acquisition data according to the first acquisition data and the second acquisition data.
[0100] Exemplarily, the dynamometer reports the complete displacement and work data sequence, along with the number of points, stroke, stroke frequency, and the offset L of the bottom dead center relative to the start time + preset time, to the gateway. The gateway then forwards the number of points, point interval time, and offset L to the electrical parameter terminal, which calculates the starting point based on the offset L, and then sorts out the collected raw data based on the starting point, number of points, and point interval time to obtain a complete current and power data sequence.
[0101] It can be understood that the complete displacement and load data sequence plus the complete current and power data sequence together constitute the target acquisition data.
[0102] Optionally, the data collection and transmission method also includes: controlling the gateway to broadcast time synchronization data at preset time intervals, wherein the time synchronization data is used to control the dynamometer and the electrical parameter terminal to be awakened at the same time; in response to a sleep instruction, controlling the dynamometer and the electrical parameter terminal to obtain time synchronization data, wherein the sleep instruction is used to control the dynamometer and the electrical parameter terminal to sleep, and the time synchronization data is used to determine the wake-up time of the dynamometer and the electrical parameter terminal.
[0103] Exemplarily, the gateway periodically broadcasts time synchronization data at preset intervals, and the dynamometer and the electrical parameter terminal listen to the broadcast before going into sleep mode, and calibrate the next time offset to ensure that the two are awakened at the same time next time.
[0104] In summary, the present invention solves the following problems:
[0105] (1) It solves the problems of the existing integrated synchronous acquisition and transmission method of the pumping unit's dynamometer diagram and electrical parameters, such as large acquisition error, serious electromagnetic interference, low stability, complex network structure, high power consumption, and low efficiency of remote transmission of corresponding data.
[0106] The existing integrated synchronous collector of the power diagram and electrical parameters of the oil pump adopts ZigBee self-organizing network and MSP430 single-chip microcomputer as the controller, designs the synchronous acquisition algorithm of the power diagram and electrical parameters, and performs real-time synchronous acquisition of the power diagram and electrical parameter data of the oil pump. The synchronous extraction and processing of displacement, load and current data are performed by the electrical parameter synchronization processing unit, and the synchronous data is transmitted to the RTU via ZigBee wireless mode. The ADC acquisition of the power data of the electrical parameter acquisition unit is realized by multi-channel rotation acquisition, which has certain errors; and the electrical parameter acquisition unit integrates strong electricity and weak points, and has serious electromagnetic interference, which may cause the controller to crash. In addition, the use of ZigBee wireless technology has problems such as limited transmission distance, complex network structure, and high power consumption.
[0107] (2) The problem of synchronous collection of electrical parameters of the pumping unit dynamometer diagram in the RT-CHIRP wireless network environment was solved.
[0108] Through the RT-CHIRP wireless synchronous acquisition method, the synchronous acquisition of the dynamometer diagram and the electrical parameter data is realized, thereby realizing reliable remote monitoring of the real-time status of oil well production and providing effective guarantee for accurate working condition analysis.
[0109] (3) The problem of synchronous transmission of dynamometer data and electrical parameters in the RT-CHIRP wireless network environment has been solved.
[0110] The RT-CHIRP wireless synchronous transmission method solves the problem that after the power diagram and electrical parameter collection is completed, some power diagrams and electrical parameters are not registered in the same wireless base station, and the coordinated action cannot be completed, causing the power diagram and electrical parameter equipment to reapply for network access and unable to achieve synchronous transmission.
[0111] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0112] In the present embodiment, a data acquisition and transmission device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" is a combination of software and / or hardware that can implement a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0113] Figure 3 is a structural block diagram of a data acquisition and transmission device 200 according to one embodiment of the present invention. Figure 3As shown, a data acquisition and transmission device 200 is used as an example, including: a configuration module 201, which is used to configure parameters of a gateway, a dynamometer, and an electric parameter terminal to obtain a target working architecture, wherein the gateway, the dynamometer and the electric parameter terminal are a star networking topology architecture, the central node is the gateway, and the target working architecture is a low-power narrowband wide-area data transmission architecture; an acquisition module 202, which is used to adopt the target working architecture to acquire electrical parameters and dynamometer diagrams to obtain target acquisition data, wherein the electrical parameters are acquired by the electric parameter terminal, and the dynamometer diagram is acquired by the dynamometer, and the electric parameter terminal and the dynamometer start acquisition at the same time within an acquisition cycle; a transmission module 203, which is used to upload the target acquisition data to the target monitoring terminal through the gateway, wherein the target monitoring terminal is used to display the target acquisition data.
[0114] Furthermore, the configuration module 201 is also used to: configure the acquisition parameters of the dynamometer at the gateway to obtain the first acquisition parameters; configure the acquisition parameters of the electrical parameter terminal at the gateway to obtain the second acquisition parameters; control the dynamometer and the electrical parameter terminal to access the gateway, and obtain the first acquisition parameters and the second acquisition parameters from the gateway accordingly to form a target working architecture.
[0115] Furthermore, the first acquisition parameters obtained by the acquisition module 202 at least include: a first acquisition cycle, a first acquisition content, and a first preparation time.
[0116] Furthermore, the second acquisition parameters obtained by the acquisition module 202 at least include: a second acquisition cycle, a second acquisition content, and a second preparation time.
[0117] Furthermore, the acquisition module 202 is also used to: control the gateway to determine the acquisition time offset, wherein the acquisition time offset is used to control the dynamometer and the electrical parameter terminal to be awakened at the same time; and control the gateway to send the acquisition time offset to the dynamometer and the electrical parameter terminal.
[0118] Furthermore, the acquisition module 202 is also used to: according to the first acquisition parameter, control the dynamometer to perform data acquisition to obtain first acquisition data, wherein the first acquisition data includes a first time offset corresponding to multiple acquisition nodes, the displacement of the pumping unit and the work value of the pumping pump; according to the second acquisition parameter, control the electrical parameter terminal to perform data acquisition to obtain second acquisition data, wherein the second acquisition data includes a second time offset corresponding to multiple acquisition nodes, the pumping unit current and the pumping unit power, and the first time offset and the second time offset are the time difference between the corresponding time of the acquisition node and the start time of acquisition; determine the target acquisition data according to the first acquisition data and the second acquisition data.
[0119] Furthermore, the acquisition module 202 is also used to: control the dynamometer to upload the first acquired data to the gateway; control the gateway to forward the first acquired data to the electrical parameter terminal; control the electrical parameter terminal to determine the target acquired data based on the first acquired data and the second acquired data.
[0120] Furthermore, the acquisition module 202 is also used to: control the gateway to broadcast time synchronization data at preset time intervals, wherein the time synchronization data is used to control the dynamometer and the electrical parameter terminal to be awakened at the same time; in response to a sleep instruction, control the dynamometer and the electrical parameter terminal to obtain time synchronization data, wherein the sleep instruction is used to control the dynamometer and the electrical parameter terminal to sleep, and the time synchronization data is used to determine the wake-up time of the dynamometer and the electrical parameter terminal.
[0121] An embodiment of the present invention further provides a non-volatile storage medium, in which a computer program is stored, wherein the computer program is configured to execute the vehicle control method described in any of the above embodiments when running on a computer or a processor.
[0122] Optionally, in this embodiment, the above-mentioned computer program may be configured to store a computer program for performing the following steps:
[0123] Step S101, configuring parameters of the gateway, the dynamometer, and the electrical parameter terminal to obtain a target working architecture;
[0124] Step S102, using a target working framework, collecting electrical parameters and dynamometer diagrams to obtain target collection data;
[0125] Step S103, uploading the target collected data to the target monitoring terminal through the gateway.
[0126] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0127] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0128] In some embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the modules can be a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, modules or indirect coupling or communication connection of modules, which can be electrical or other forms.
[0129] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0130] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of software functional modules.
[0131] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0132] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A data collection and transmission method, characterized in that: include: Parameter configuration is performed on the gateway, the dynamometer, and the electrical parameter terminal to obtain a target working architecture, wherein the gateway, the dynamometer, and the electrical parameter terminal are a star networking topology architecture, the central node is the gateway, and the target working architecture is a low-power narrowband wide-area data transmission architecture; The target working framework is adopted to collect electrical parameters and dynamometer diagrams to obtain target collection data, wherein the electrical parameters are collected by the electrical parameter terminal, the dynamometer diagram is collected by the dynamometer, and the electrical parameter terminal and the dynamometer start collecting at the same time within a collection cycle; The target collected data is uploaded to a target monitoring terminal through the gateway, wherein the target monitoring terminal is used to display the target collected data.
2. The data collection and transmission method according to claim 1, characterized in that: The gateway, dynamometer, and electrical parameter terminal are configured with parameters to obtain the target working architecture, including: Configuring the acquisition parameters of the dynamometer on the gateway to obtain first acquisition parameters; Configuring the collection parameters of the electronic parameter terminal at the gateway to obtain second collection parameters; The dynamometer and the electrical parameter terminal are controlled to access the gateway, and the first acquisition parameter and the second acquisition parameter are correspondingly acquired from the gateway to form the target working architecture.
3. The data collection and transmission method according to claim 2, characterized in that: The first acquisition parameters at least include: a first acquisition cycle, a first acquisition content and a first preparation time.
4. The data collection and transmission method according to claim 2, characterized in that: The second acquisition parameters at least include: a second acquisition cycle, a second acquisition content and a second preparation time.
5. The data collection and transmission method according to claim 2, characterized in that: After the control of the dynamometer and the electric parameter terminal to access the gateway, the method further includes: The control gateway determines a collection time offset, wherein the collection time offset is used to control the dynamometer and the electrical parameter terminal to be awakened at the same time; The control gateway sends the acquisition time offset to the dynamometer and the electrical parameter terminal.
6. The data collection and transmission method according to claim 2, characterized in that: The target working framework is adopted to collect electrical parameters and dynamometer diagrams to obtain target collected data, including: According to the first acquisition parameter, the dynamometer is controlled to acquire data to obtain first acquisition data, wherein the first acquisition data includes a first time offset corresponding to a plurality of acquisition nodes, a displacement of the oil pump and a work value of the oil pump; According to the second acquisition parameter, the electrical parameter terminal is controlled to perform data acquisition to obtain second acquisition data, wherein the second acquisition data includes second time offsets corresponding to multiple acquisition nodes, pumping unit current and pumping unit power, and the first time offset and the second time offset are time differences between the time corresponding to the acquisition node and the time when acquisition starts; The target collected data is determined according to the first collected data and the second collected data.
7. The data collection and transmission method according to claim 6, characterized in that: Determining the target collected data according to the first collected data and the second collected data comprises: Controlling the dynamometer to upload the first collected data to the gateway; Controlling the gateway to forward the first collected data to the electronic parameter terminal; Control the electronic parameter terminal to determine the target collection data according to the first collection data and the second collection data.
8. The data collection and transmission method according to claim 1, characterized in that: include: Controlling the gateway to broadcast time synchronization data at a preset time interval, wherein the time synchronization data is used to control the dynamometer and the electrical parameter terminal to be awakened at the same time; In response to a sleep instruction, the dynamometer and the electrical parameter terminal are controlled to obtain the time synchronization data, wherein the sleep instruction is used to control the dynamometer and the electrical parameter terminal to sleep, and the time synchronization data is used to determine the wake-up time of the dynamometer and the electrical parameter terminal.
9. A data collection and transmission device, characterized in that: include: A configuration module is used to configure parameters of a gateway, a dynamometer, and an electrical parameter terminal to obtain a target working architecture, wherein the gateway, the dynamometer, and the electrical parameter terminal are a star networking topology architecture, the central node is the gateway, and the target working architecture is a low-power narrowband wide-area data transmission architecture; A collection module, used to adopt the target working framework to collect electrical parameters and dynamometer diagrams to obtain target collection data, wherein the electrical parameters are collected by the electrical parameter terminal, the dynamometer diagram is collected by the dynamometer, and the electrical parameter terminal and the dynamometer start collecting at the same time in one collection cycle; The transmission module is used to upload the target collected data to the target monitoring terminal through the gateway, wherein the target monitoring terminal is used to display the target collected data.
10. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a computer program, wherein the computer program is configured to execute the data collection and transmission method described in any one of claims 1 to 8 when running on a computer or a processor.