Rotation sensor verification system and method, computing device and medium
By designing a rotary sensor verification system, using the upper computer system, rotation tester and sensor data acquisition instrument, the problems of poor detection accuracy and difficulty in automated testing in the existing technology are solved, and efficient and accurate sensor verification is achieved.
Patent Information
- Application Number
- CN202311770788.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2025-02-07
AI Technical Summary
The existing rotary sensor detection methods have problems such as poor accuracy and inability to automatically test, resulting in low efficiency in detection of drilling rig equipment failures.
A rotary sensor verification system is designed, including a computer system, a rotary tester and a sensor data acquisition instrument. By generating control commands, it simulates the working conditions of the sensor and collects output signals in real time for processing and analysis.
By simulating the working conditions of the sensor, the accuracy of the verification results is ensured, and the testing efficiency is improved by real-time signal acquisition, reducing the need for manual operation.
Smart Images

Figure CN119394348A_ABST
Abstract
Description
Background Art
[0002] The comprehensive logging instrument is generally connected to drilling equipment such as winches, pumps and turntables, and is widely used in the drilling process in oil and gas exploration activities. Once the drilling equipment fails during the oil and gas exploration process, the oil and gas exploration will be stopped, greatly reducing the work efficiency. Therefore, it is necessary to use the comprehensive logging instrument to always pay attention to the working status of the drilling equipment. The judgment of the working status mainly relies on the rotating sensor connected to the drilling equipment.
[0003] However, the existing detection method of the rotation sensor is generally to connect the rotation sensor to the key part of the equipment on site and detect the output signal of the rotation sensor. Manual detection has the problems of poor accuracy and inability to automate testing. Summary of the invention
[0004] In order to overcome the problems of poor accuracy and inability to automate testing in manual detection, the present invention provides a rotation sensor calibration system, method, computing device and medium.
[0005] In a first aspect, in order to solve the above technical problems, the present invention provides a rotation sensor calibration system, comprising: a host computer system, a rotation tester and a sensor data acquisition instrument, the host computer system is connected to the sensor data acquisition instrument, the sensor data acquisition instrument is connected to the rotation tester, and the host computer system, the sensor data acquisition instrument and the rotation tester are connected in series in turn at the physical layer;
[0006] The host computer system is used to generate a first control command and a second control command;
[0007] A rotation tester, used for installing and connecting the sensor to be tested, and driving the sensor to be tested to rotate synchronously according to the first control command;
[0008] A sensor data collector connected to the sensor to be tested and used to collect an output signal of the sensor to be tested according to a second control command when the rotary tester is rotating;
[0009] The host computer system is also used to process and analyze the output signal, and calibrate the sensor under test based on the analysis results.
[0010] In a second aspect, the present invention provides a rotation sensor calibration method, comprising:
[0011] generating a first control command and a second control command;
[0012] Control the rotation tester to drive the sensor under test to rotate synchronously according to the first control command;
[0013] When the rotation tester rotates, the sensor data collector is controlled to collect the output signal of the tested sensor according to the second control command;
[0014] The output signal is processed and analyzed, and the sensor under test is calibrated according to the analysis result.
[0015] In a third aspect, the present invention further provides a computing device, including a memory, a processor, and a program stored in the memory and running on the processor, wherein the processor implements the steps of the above-mentioned rotation sensor calibration method when executing the program.
[0016] In a fourth aspect, the present invention further provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes the steps of a rotation sensor calibration method.
[0017] The beneficial effects of the present invention are as follows: a first control command is generated by the host computer system to control the rotation of the rotary tester to simulate the working condition of the sensor under test; in addition, a second control command is generated by the host computer system to control the sensor data acquisition instrument to collect the output signal of the sensor under test, and the output signal can be processed and analyzed by the host computer system to obtain the analysis result, and the sensor under test is calibrated according to the analysis result. In the present application, the rotation of the rotary tester is controlled by the first control command to simulate the working condition of the sensor under test, and the accuracy of the calibration result is ensured. In addition, the real-time acquisition of the output signal is realized by the second control command of the host computer system, which improves the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0019] Figure 1 A schematic structural diagram of a rotation sensor calibration system according to an embodiment of the present invention;
[0020] Figure 2 It is a structural schematic diagram of a rotation sensor calibration system according to another embodiment of the present invention;
[0021] Figure 3 It is a structural diagram of a sensor data acquisition instrument;
[0022] Figure 4 It is a structural schematic diagram of a rotation tester;
[0023] Figure 5 It is the display interface of the host computer system;
[0024] Figure 6The figure is a flow chart of a rotation sensor calibration method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] The following examples are provided to further explain and supplement the present invention and do not constitute any limitation to the present invention.
[0026] A rotation sensor verification system, method, computing device, and medium according to an embodiment of the present invention are described below in conjunction with the accompanying drawings.
[0027] like Figure 1 As shown, the present invention provides a rotation sensor verification system, comprising:
[0028] A host computer system, a rotation tester and a sensor data acquisition instrument, wherein the host computer system is connected to the sensor data acquisition instrument, and the sensor data acquisition instrument is connected to the rotation tester, and the host computer system, the sensor data acquisition instrument and the rotation tester are sequentially connected in series at the physical layer;
[0029] The host computer system is used to generate a first control command and a second control command;
[0030] A rotation tester, used for installing and connecting the sensor to be tested, and for rotating according to a first control command;
[0031] A sensor data collector connected to the sensor to be tested and used to collect an output signal of the sensor to be tested according to a second control command when the rotary tester is rotating;
[0032] The host computer system is also used to process and analyze the output signal, and calibrate the sensor under test according to the analysis result.
[0033] In this embodiment, the host computer system generates a first control command to control the rotation of the rotary tester to simulate the working condition of the sensor under test. In addition, the host computer system generates a second control command to control the sensor data acquisition instrument to collect the output signal of the sensor under test. The host computer system can process and analyze the output signal to obtain the analysis result, and calibrate the sensor under test according to the analysis result. In this application, the first control command is used to control the rotation of the rotary tester to simulate the working condition of the sensor under test, thereby ensuring the accuracy of the calibration result. In addition, the second control command of the host computer system is used to realize the real-time acquisition of the output signal, thereby improving the test efficiency.
[0034] Optionally, a rotation sensor verification system is described by another embodiment, such as Figure 2As shown, a rotation sensor calibration system includes a sensor data acquisition instrument 1, a rotation tester 2, a host computer system 3, a connecting line 4, a main power supply 5 and a sensor to be tested 6, wherein the host computer system 3 is connected to the sensor data acquisition instrument 1 through the connecting line 4, the sensor data acquisition instrument 1 and the rotation tester 2 are communicatively connected, and the main power supply 5 is respectively connected to the sensor data acquisition instrument 1 and the rotation tester 2 through the connecting line 4.
[0035] The main power supply supplies power to the sensor data acquisition device 1, the rotation tester 2 and the host computer system 3.
[0036] Optionally, the sensor data acquisition instrument includes a PLC controller and a signal transmission channel, the signal transmission channel is connected to the rotation tester and the sensor to be tested, the PLC controller is connected to the signal transmission channel, and the signal transmission channel connects the PLC controller with the rotation tester and the sensor to be tested; the PLC controller is connected to the host computer system by a communication line, which is used to transmit instructions issued and received by the host computer system, and the instructions include a first control command and a second control command; the PLC controller is used to receive the second control command from the host computer system, and convert the instruction into an instruction recognizable by the rotation tester and the sensor to be tested, and process and convert the signal fed back by the rotation tester and the sensor to be tested through the signal transmission channel into an instruction recognizable by the host computer.
[0037] The PLC controller is connected to the host computer system by a communication line, and can send and receive various digital and analog signals, thereby sending and receiving the first control command and the second control command. In addition, the PLC controller also has a digital-to-analog conversion function, which can convert the second control command into an instruction recognizable by the rotation tester and the sensor being tested, and convert the feedback signal into an instruction recognizable by the host computer.
[0038] Optionally, the sensor data acquisition instrument also includes a multi-voltage converter and a mobile power supply. The multi-voltage converter is connected to the sensor to be tested and the mobile power supply respectively, and the mobile power supply is connected to the PLC controller; the mobile power supply is used to power the PLC controller and the sensor to be tested; the multi-voltage converter is used to convert the voltage provided by the mobile power supply into the working voltage of the sensor to be tested.
[0039] The mobile power supply is a 24V backup power supply. The mobile power supply and the main power supply operate independently. When the main power supply fails, the mobile power supply can power the sensor data acquisition instrument alone to ensure the smooth progress of the test process.
[0040] Since different types of sensors under test have different excitation sources and therefore different working voltages, a multi-voltage converter is used to convert the voltage provided by the mobile power supply into the working voltage of the sensor under test, thereby adapting to various types of sensors under test and excitation sources and calibrating different types of sensors.
[0041] Optionally, the sensor data collector is described by another embodiment, such as Figure 3 As shown, the sensor data acquisition instrument includes a first chassis 11, a PLC controller 12, a switch 13, a mobile power supply 14, a multi-voltage converter 15, a signal transmission channel 16, a power switch assembly 17 and a first RJ45 network socket 18, wherein the PLC controller 12, the switch 13, the mobile power supply 14 and the multi-voltage converter 15 are installed at the lower part of the first chassis 11 through guide rails, the digital input aviation plug 16 is installed on the front panel of the first chassis 11, and the power switch assembly 17 and the first RJ45 network plug 18 are installed on the rear panel of the first chassis 11.
[0042] The first RJ45 network plug 18 is used to realize the network connection between the sensor data acquisition instrument and the host computer system through the switch 13.
[0043] The power switch assembly 17 is used to control the on and off of the mobile power supply.
[0044] Optionally, the rotation tester includes a servo drive, a servo motor and a rotating shaft, the servo drive is respectively connected to the sensor data acquisition instrument and the servo motor, and the rotating shaft is connected to the servo motor; the servo drive is used to receive a first control command and control the servo motor drive according to the first control command; the rotating shaft is used to connect the sensor to be tested and drive the sensor to be tested to rotate synchronously according to the servo motor drive.
[0045] The first control command includes the rotation speed, rotation angle and number of pulses per circle of the rotary tester, which are mainly set according to the type of sensor to be tested and the test items. The servo driver can control the operation of the servo motor according to the rotation speed, rotation angle and number of pulses per circle, thereby simulating the working state of the sensor to be tested and ensuring the accuracy of the test results.
[0046] Optionally, the host computer system is also used for: the rotation tester also includes a speed sensor, which is used to collect the speed of the servo motor and convert it into an electrical signal, and transmit it to the sensor data acquisition instrument; the speed sensor is used to measure the speed of the servo motor and convert it into an electrical signal according to a third control command when the rotation tester rotates, and upload the electrical signal to the host computer system; the host computer system is also used to: determine the operating status of the sensor under test when the rotation tester rotates according to the electrical signal.
[0047] In order to avoid the situation where the sensor under test does not respond, the speed of the servo motor is measured by a speed sensor and converted into an electrical signal, thereby ensuring the normal operation of the sensor under test through the electrical signal.
[0048] Optionally, the rotation tester is described by another embodiment, such as Figure 4 As shown, the rotation tester includes a second chassis 21, a servo driver 22, a servo motor 23, a speed sensor 24, a second RJ45 network socket 25 and an AC power switch assembly 26, wherein the second chassis 21 is used to install the servo driver 22, the servo motor 23, the speed sensor 24, the second RJ45 network socket 25 and the AC power switch assembly 26.
[0049] The second RJ45 network socket 25 is used to realize the network connection between the rotation tester and the host computer system through a switch.
[0050] The AC power switch assembly 26 is used to provide power to various devices in the rotation tester.
[0051] Optionally, the host computer system is specifically used to compare the analysis results with preset evaluation indicators to determine a test report.
[0052] The evaluation indicators are existing indicators, so they will not be elaborated on here.
[0053] The processing and analysis methods of the output signals by the host computer system are conventional analysis methods for various types of sensors, so they will not be elaborated on here.
[0054] Optionally, the host computer system is specifically used to: visualize the test report, determine the visualization view, and store the visualization view through a storage device or a cloud platform.
[0055] Visualization of the test report can be achieved through various visualization software, so I will not go into details.
[0056] Alternatively, if Figure 5 As shown in the figure, it is the display interface of the host computer system, which is mainly divided into basic information 31, detection control and data output area 32 and detection result processing area 33. The basic information area 31 mainly fills in the detection serial number, the type of the sensor to be detected, the model of the sensor to be detected, the factory number, the number of pulses per circle and other basic information. The detection control and data output area 32 mainly controls the number of rotations of the rotation tester, the maximum speed, the new detection, the start detection, the end detection, the current value, the count reset, the motor forward rotation, the motor reverse rotation, etc., and outputs the actual number of rotations, the actual speed, the pulse count and other data. The detection result processing area 33 mainly processes the error between the actual output signal at each speed and the standard data of the rotation tester.
[0057] Optionally, the present application is described below through a number of specific embodiments, as follows:
[0058] Embodiment 1
[0059] 1.1 Preparation before verification
[0060] Before conducting the test, you need to prepare the following equipment and tools:
[0061] 1. Rotation tester: including the first chassis, servo driver, servo motor, speed sensor, first RJ45 network socket and AC power switch assembly. The first control command of the rotation tester, such as rotation speed, rotation direction, rotation angle and number of pulses per circle, needs to be determined according to the type of sensor to be tested and the test items.
[0062] 2. Sensor to be tested: winch sensor, which needs to be installed on the rotating shaft of the rotation tester.
[0063] 3. Sensor data acquisition instrument: including the second chassis, PLC controller, switch, mobile power supply, multi-voltage converter, digital input aviation plug, second RJ45 network socket, AC power switch assembly and other components. The sensor data acquisition instrument needs to be connected to the host computer system through a connecting line.
[0064] 4. Host computer system: used for data collection, processing, storage and display. The rotation tester, sensor data acquisition instrument and host computer system need to be connected through connecting lines to realize data transmission and control.
[0065] 1.2 Verification process
[0066] 1. Start the rotation tester according to the first control command to generate a standard rotation signal and rotate, and start the sensor data acquisition instrument according to the second control command to collect the output signal.
[0067] 2. The host computer system receives the output signal of the sensor under test in real time, processes and analyzes the output signal to obtain the analysis result. It can evaluate the performance of the winch sensor under test according to the preset evaluation indicators and generate a test report.
[0068] 3. The host computer system organizes and visualizes the test report to obtain a visual view, and can transmit the visual view to a storage device or cloud platform for storage via a connecting line.
[0069] Through the above steps, the winch sensor calibration can be completed and accurate test results can be obtained. The entire process can be completed automatically as needed, reducing the need for manual operation and improving test efficiency.
[0070] Embodiment 2
[0071] 1.1 Preparation before verification
[0072] Before conducting the test, you need to prepare the following equipment and tools:
[0073] 1. Rotation tester: including the first chassis, servo driver, servo motor, speed sensor, first RJ45 network socket and AC power switch assembly. The first control command of the rotation tester, such as rotation speed, rotation direction, rotation angle and number of pulses per circle, needs to be determined according to the type of sensor to be tested and the test items.
[0074] 2. The sensor to be tested: the pump stroke sensor, needs to be installed on the corresponding interface of the rotation tester, and the rotating piece is installed on the rotating shaft of the rotation tester.
[0075] 3. Sensor data acquisition instrument: including the second chassis, PLC controller, switch, mobile power supply, multi-voltage converter, digital input aviation plug, second RJ45 network socket, AC power switch assembly and other components. The sensor data acquisition instrument needs to be connected to the host computer system through a connecting line.
[0076] 4. Host computer system: used for data collection, processing, storage and display. The rotation tester, sensor data acquisition instrument and host computer system need to be connected through connecting lines to realize data transmission and control.
[0077] 1.2 Verification process
[0078] 1. Start the rotation tester according to the first control command to generate a standard rotation signal and rotate, and start the sensor data acquisition instrument according to the second control command to collect the output signal.
[0079] 2. The host computer system receives the output signal of the sensor under test in real time, processes and analyzes the output signal to obtain the analysis result. It can evaluate the performance of the winch sensor under test according to the preset evaluation indicators and generate a test report.
[0080] 3. The host computer system organizes and visualizes the test report to obtain a visual view, and can transmit the visual view to a storage device or cloud platform for storage via a connecting line.
[0081] Through the above steps, the pump stroke sensor can be calibrated and accurate test results can be obtained. The entire process can be completed automatically as needed, reducing the need for manual operation and improving test efficiency.
[0082] like Figure 6 As shown, the present invention provides a rotation sensor calibration method, comprising:
[0083] S1. Generate a first control command and a second control command;
[0084] S2, controlling the rotation tester to drive the sensor to be tested to rotate synchronously according to the first control command;
[0085] S3, when the rotation tester rotates, controlling the sensor data acquisition device to collect the output signal of the tested sensor according to the second control command;
[0086] S4. Process and analyze the output signal, and calibrate the sensor according to the analysis result.
[0087] Optionally, when the rotation tester rotates, the sensor data collector is controlled to collect the output signal of the sensor under test according to the second control command, specifically for:
[0088] Receive a second control command from the host computer system, convert the second control command into an instruction recognizable by the rotation tester and the sensor under test, and process and convert the signals fed back by the rotation tester and the sensor under test through the signal transmission channel into an instruction recognizable by the host computer.
[0089] Optionally, the method further comprises:
[0090] Control the mobile power supply to power the PLC controller and the sensor being tested;
[0091] The multi-voltage converter is controlled to convert the voltage provided by the mobile power supply into the working voltage of the sensor to be tested.
[0092] Optionally, controlling the rotation tester to drive the sensor to be tested to rotate synchronously according to the first control command is specifically used for:
[0093] The rotating shaft is connected to the sensor to be tested;
[0094] The servo motor is driven by controlling the servo driver according to the first control command.
[0095] Optionally, the method is also used to:
[0096] generating a third control command;
[0097] When the rotary tester rotates, the speed sensor is controlled according to the third control command to measure the speed of the servo motor and convert it into an electrical signal, and the electrical signal is uploaded to the upper computer system;
[0098] According to the electrical signal, the operating state of the sensor under test is determined when the rotary tester rotates.
[0099] Optionally, the method is also used to:
[0100] Compare the analysis results with the preset evaluation indicators and determine the test report.
[0101] Optionally, the method is also used to:
[0102] Visualize the test report, determine the visualization view, and store the visualization view through a storage device or a cloud platform.
[0103] A computing device according to an embodiment of the present invention includes a memory, a processor, and a program stored in the memory and running on the processor. When the processor executes the program, part or all of the steps of the above-mentioned rotation sensor verification method are implemented.
[0104] Among them, the computing device can be a computer, and correspondingly, its program is computer software. The above parameters and steps in a computing device of the present invention can refer to the parameters and steps in an embodiment of a rotation sensor calibration method mentioned above, and will not be repeated here.
[0105] Those skilled in the art know that the present invention can be implemented as a system, method or computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, namely: it can be complete hardware, it can be complete software (including firmware, resident software, microcode, etc.), or it can be a combination of hardware and software, generally referred to as "circuit", "module" or "system" herein. In addition, in some embodiments, the present invention can also be implemented in the form of a computer program product in one or more computer-readable media, and the computer-readable medium contains computer-readable program code. Computer-readable storage media can be, for example, but not limited to - electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above.
[0106] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0107] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A rotation sensor calibration system, characterized in that: include: A host computer system, a rotation tester and a sensor data acquisition instrument, wherein the host computer system is connected to the sensor data acquisition instrument, the sensor data acquisition instrument is connected to the rotation tester, and the host computer system, the sensor data acquisition instrument and the rotation tester are sequentially connected in series at the physical layer; The host computer system is used to generate a first control command and a second control command; The rotation tester is used to install and connect the sensor to be tested, and drive the sensor to be tested to rotate synchronously according to the first control command; The sensor data collector is connected to the sensor to be tested and is used to collect the output signal of the sensor to be tested according to the second control command when the rotation tester rotates; The host computer system is also used to process and analyze the output signal, and calibrate the sensor according to the analysis result.
2. The system according to claim 1, characterized in that The sensor data acquisition instrument comprises a PLC controller and a signal transmission channel, wherein the signal transmission channel is connected to the rotation tester and the sensor to be tested, the PLC controller is connected to the signal transmission channel, and the signal transmission channel connects the PLC controller to the rotation tester and the sensor to be tested; The PLC controller is connected to the host computer system by a communication line for transmitting instructions issued and received by the host computer system, wherein the instructions include a first control command and a second control command; The PLC controller is used to receive the second control command from the host computer system, and convert the second control command into instructions recognizable by the rotation tester and the sensor to be tested, and process and convert the signals fed back by the rotation tester and the sensor to be tested through the signal transmission channel into instructions recognizable by the host computer.
3. The system according to claim 2, characterized in that The sensor data acquisition instrument further comprises a multi-voltage converter and a mobile power supply, wherein the multi-voltage converter is connected to the sensor to be tested and the mobile power supply respectively, and the mobile power supply is connected to the PLC controller; The mobile power supply is used to supply power to the PLC controller and the sensor to be tested; The multi-voltage converter is used to convert the voltage provided by the mobile power supply into the working voltage of the sensor to be tested.
4. The system according to any one of claims 1 to 3, characterized in that: The rotation tester comprises a servo driver, a servo motor and a rotating shaft, wherein the servo driver is connected to the sensor data acquisition instrument and the servo motor respectively, and the rotating shaft is connected to the servo motor; The servo driver is used to receive a first control command and control the servo motor drive according to the first control command; The rotating shaft is used to connect the sensor to be detected and drive the sensor to be detected to rotate synchronously according to the drive of the servo motor.
5. The system according to claim 4, characterized in that The host computer system is also used for: generating a third control command; The rotation tester also includes a speed sensor for collecting the speed of the servo motor and converting it into an electrical signal, which is transmitted to the sensor data acquisition instrument; The speed sensor is used to measure the speed of the servo motor according to the third control command when the rotation tester rotates, convert the speed into an electrical signal, and upload the electrical signal to the host computer system; The host computer system is also used for: The operating state of the sensor under test is determined according to the electrical signal when the rotary tester rotates.
6. The system according to any one of claims 1 to 3, characterized in that: The host computer system is specifically used for: The analysis results are compared with preset evaluation indicators to determine a test report.
7. The system according to claim 6, characterized in that The host computer system is specifically used for: The test report is visualized, a visualization view is determined, and the visualization view is stored via a storage device or a cloud platform.
8. A rotation sensor calibration method, characterized in that: Based on the system implementation according to any one of claims 1 to 7, the method includes: generating a first control command and a second control command; Control the rotation tester to drive the sensor under test to rotate synchronously according to the first control command; When the rotation tester rotates, the sensor data collector is controlled to collect the output signal of the tested sensor according to the second control command; The output signal is processed and analyzed, and the sensor under test is calibrated according to the analysis result.
9. A computing device comprising a memory, a processor, and a program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the steps of a rotation sensor calibration method as claimed in claim 8 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on the terminal device, the terminal device executes the steps of a rotation sensor verification method as claimed in claim 8.