Detection method and detection apparatus
By using an accelerometer chip in the plunger pump to determine the working status and switch the detection mode, the problem of untimely temperature monitoring of the crosshead bearing was solved, achieving safe and reliable temperature detection and extending the life of the device.
Patent Information
- Application Number
- PCT/CN2025/112794
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-05
- Filing Date
- 2025-08-05
- Publication Date
- 2026-02-12
AI Technical Summary
Existing technology cannot monitor the temperature changes of the crosshead bearing in a timely manner, leading to frequent bearing failures and affecting the safety and efficiency of the plunger pump.
A detection device is provided that uses an accelerometer chip to determine the working status of a plunger pump. When the pump is in operation, it switches to a temperature detection mode to monitor the temperature of the crosshead bearing in real time. When the pump is not in operation, it switches to a sleep mode to reduce power consumption and extend its lifespan.
It enables timely monitoring of the crosshead bearing temperature, avoids bearing burn-out, extends the service life of the detection device, and ensures the safe and reliable operation of the plunger pump.
Smart Images

Figure CN2025112794_12022026_PF_FP_ABST
Abstract
Description
Detection method and detection device
[0001] Cross-reference to related applications
[0002] The present application claims priority to the Chinese patent application No. 202411066754.7, filed on August 5, 2024, and entitled "Detection method and detection device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0003] The present application belongs to the technical field of reciprocating motion equipment, and particularly relates to a detection method and a detection device. BACKGROUND
[0004] In recent years, with the development of oil and gas equipment and the increasing difficulty of oil and gas exploitation, the working pressure of the fracturing plunger pump is getting higher and higher, and the working stress of the crosshead bearing is also increasing. When the machining precision, assembly process, lubricating oil, and other use conditions on site are improper, the crosshead bearing burning phenomenon often occurs. If the fault cannot be found and handled in time, it will cause the entire plunger pump to be scrapped, and even cause a fire due to the continuous high-temperature friction of the crosshead, causing greater economic losses or endangering the personal safety of the on-site operators, and also affecting the efficiency of the fracturing operation.
[0005] In the early stage of the crosshead bearing burning phenomenon, the operating temperature of the bearing and the crosshead will rapidly rise. The most common method at present is to monitor the lubricating oil outlet temperature of the plunger pump to monitor this fault, but due to the strong heat dissipation of the lubricating oil during its flow in the internal oil channel of the plunger pump, the monitored lubricating oil outlet temperature cannot timely feedback the actual operating temperature of the crosshead bearing position, so as to not timely stop the crosshead bearing burning fault from occurring. SUMMARY
[0006] The purpose of the embodiments of the present application is to provide a detection method and a detection device.
[0007] The embodiments of the present application provide a detection method applied to a plunger pump, the plunger pump comprising a detection device, the detection device being used to detect at least one of the temperature of part components in the plunger pump and the lubricating oil pressure of the plunger pump, the detection method comprising: detecting whether the plunger pump is in a working state; in the case that the plunger pump is in the working state, the detection device is switched to a temperature detection mode or a lubricating detection mode; in the case that the plunger pump is in a non-working state, the detection device is switched to a hibernation mode.
[0008] The embodiment of the present application further provides a detection device, which comprises: a first detection module, which is used for detecting whether a plunger pump is in a working state; a second detection module, which is used for detecting at least one of a temperature of a part of components of the plunger pump and a lubricating oil pressure of the plunger pump; and a control module, which is used for controlling the detection device to switch to a temperature detection mode or a lubricating detection mode when the plunger pump is in the working state, and controlling the detection device to switch to a hibernation mode when the plunger pump is in a non-working state. BRIEF DESCRIPTION OF DRAWINGS
[0009] Fig. 1 is a schematic diagram of a crosshead temperature detection system of a plunger pump (taking a five-cylinder pump as an example) according to the embodiment of the present application;
[0010] Fig. 2 is a schematic diagram of various modules in the detection device according to the embodiment of the present application;
[0011] Fig. 3 is a schematic diagram of the structure of a crosshead of the plunger pump according to the embodiment of the present application;
[0012] Fig. 4 is a schematic diagram of a cross section along A-A in Fig. 3;
[0013] Fig. 5 is a partial enlarged view of B in Fig. 4;
[0014] Fig. 6 is a temperature acquisition and processing flowchart of the detection device according to the embodiment of the present application based on acceleration to judge the working state of the plunger pump;
[0015] Fig. 7 is a temperature acquisition and processing flowchart of the detection device according to the embodiment of the present application based on acceleration to judge the working state of the plunger pump.
[0016] Marked with reference numerals: 10-plunger pump; 11-crosshead; 12-bearing; 13-connecting rod; 14-pull rod; 20-detection device; 21-temperature detection element; 31-circuit board; 32-cover plate; 33-battery; 34-protection shell. DETAILED DESCRIPTION
[0017] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.
[0018] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a class, not limited to the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the objects before and after are in a "or" relationship.
[0019] The embodiments of the present application will be described in detail below with reference to the accompanying drawings, specific embodiments and application scenarios.
[0020] Referring to FIGS. 1-7, the embodiments of the present application disclose a detection method applied to a plunger pump, the plunger pump comprising a detection device, the detection device being configured to detect at least one of a temperature of a part of components in the plunger pump and a lubricating oil pressure of the plunger pump. The part of components can be a crosshead, and can also be other components, which are not specifically limited here.
[0021] The disclosed detection method comprises:
[0022] detecting whether the plunger pump is in a working state; in the case that the plunger pump is in the working state, the detection device is switched to a temperature detection mode or a lubricating detection mode; in the case that the plunger pump is in a non-working state, the detection device is switched to a sleep mode.
[0023] The part of components in the plunger pump can be provided with a temperature detection element, so as to detect the temperature of the part of components in the plunger pump in real time through the temperature detection element.
[0024] Optionally, in order to solve the problem of bush burning of the crosshead in the plunger pump, the temperature detection element can be arranged on the crosshead, so that the temperature of the bush of the crosshead can be detected in time and accurately through the temperature detection element, so as to obtain the situation that the temperature of the crosshead rises rapidly and is abnormal in time, and then lay a foundation for taking corresponding measures subsequently, so as to avoid the bush burning of the crosshead and reduce the property loss of the customer.
[0025] In order to ensure that the detection device can work stably and reliably for a long time, the embodiments of the present application adjust the mode of the detection device according to the actual working state of the plunger pump, so as to adapt to different working states of the plunger pump.
[0026] Specifically, when the plunger pump is in the working state, the detection device can be switched to a temperature detection mode to detect the temperature of the parts in the plunger pump, or the detection device can be switched to a lubrication detection mode to detect the lubrication of the plunger pump; when the plunger pump is in the non-working state, the detection device can be switched to a sleep mode, so that the power consumption of the detection device can be reduced, and the service life of the detection device can be prolonged.
[0027] The embodiment of the application can directly detect the temperature of the parts of the plunger pump, rather than indirectly feedback the temperature of the parts of the plunger pump by detecting the temperature of the lubricating oil, so that the temperature detection can be more timely and accurate, and the problem of damage to the parts of the plunger pump caused by the indirect detection mode that cannot timely feedback the temperature can be alleviated. Moreover, the embodiment of the application can switch the sleep mode and the detection mode (such as the temperature detection mode or the lubrication detection mode) according to the working state of the plunger pump, so that the working time of the detection device can be shortened without affecting the detection, the service life of the detection device can be prolonged, and the detection device can work stably and reliably for a long time.
[0028] Optionally, the plunger pump can include a moving part, wherein the moving part can be a cross head, and of course, can also be other components, which are not limited here.
[0029] The method for detecting whether the plunger pump is in the working state includes: detecting the acceleration of the moving part; determining that the plunger pump is in the working state when the acceleration exceeds a preset acceleration; and determining that the plunger pump is in the non-working state when the acceleration does not exceed the preset acceleration.
[0030] In the embodiment of the application, the acceleration of the moving part of the plunger pump can be detected in real time by the detection device, so as to determine the working state of the plunger pump, so that the detection device can have a low power consumption in the shutdown state (i.e., the non-working state) of the plunger pump, and the service life of the detection device can be prolonged.
[0031] Optionally, the detection device can include an acceleration chip for detecting the acceleration.
[0032] The detection method further includes: performing self-checking on the acceleration chip to determine whether the acceleration chip is damaged; and automatically entering a mode of periodically waking up the detection logic when the acceleration chip is damaged.
[0033] In the embodiment of the application, the self-checking function of the acceleration chip can be realized by the detection device, so as to diagnose whether the acceleration chip is damaged, thereby ensuring the reliability of the detection data of the detection device, and in the case that the acceleration chip is damaged, the detection device can also be periodically woken up for corresponding detection, so as to not affect the use of the detection device, and to ensure that the detection device can work stably and reliably for a long time.
[0034] Further, the self-checking of the acceleration chip comprises: periodically acquiring ID data of the acceleration chip; judging whether the ID data can be successfully acquired; in the case that the ID data fails to be acquired and the number of continuous failures does not exceed a first number, re-powering off and powering on the acceleration chip and acquiring the ID data again, if the ID data is successfully acquired again, it is determined that the acceleration chip works normally; of course, if the ID data fails to be acquired again, it is determined that the acceleration chip works abnormally, and further, it is determined that the acceleration chip is damaged; in the case that the number of continuous failures exceeds the first number, it is determined that the acceleration chip is damaged.
[0035] Specifically, in order to improve the service life of the detection device, the detection device can periodically perform self-diagnosis on the acceleration chip for judging whether the plunger pump is in a working state, so as to avoid the case that the detection device cannot work normally after the acceleration chip fails. Specifically, the process can be divided into two different processes.
[0036] The software system of the detection device acquires the ID data of the acceleration chip once every 30 minutes, if the ID data cannot be acquired, it is judged whether the number of continuous failures of acquiring the ID data exceeds 3 (i.e., the first number), if not, the acceleration chip is re-powered off and powered on, and the ID data is acquired again, if the acceleration ID data is successfully acquired in this process, it is considered that the acceleration chip works normally, and the trigger processing flow of using the acceleration value to judge whether the plunger pump is in a working state is entered; if the acceleration chip ID data cannot be acquired for 3 times continuously in this process, it is determined that the acceleration chip is damaged, and the processing flow of periodically waking up the detection by using the RTC timer is entered.
[0037] Optionally, the detection method further comprises: in the case that the acceleration chip is not damaged, the detection device can enter the trigger processing flow of using the acceleration value to judge whether the plunger pump is in a working state.
[0038] The trigger processing procedure for determining whether the plunger pump is in working state using the acceleration value comprises: when the plunger pump switches from non-working state to working state, the acceleration chip actively wakes up the detection device when the acceleration value exceeds the preset acceleration value; after the detection device is woken up, the acceleration wake-up interrupt is stopped, the number of continuous wake-up triggers is increased by one, and whether the number of continuous wake-up triggers is greater than a second number is determined; if the number of continuous wake-up triggers is not greater than the second number, the detection device switches to the sleep mode.
[0039] Optionally, the trigger processing procedure for determining whether the plunger pump is in working state using the acceleration value further comprises: if the number of continuous wake-up triggers is not greater than the second number, a first timer and a second timer are started, and the detection device switches to the sleep mode, wherein the timing time of the first timer is less than the timing time of the second timer; after the first timer is triggered, the acceleration wake-up interrupt is enabled, and whether there is an acceleration wake-up trigger is determined; if there is no acceleration wake-up trigger detected after the second timer is triggered, it is determined that the plunger pump is in pseudo-working state, and the number of continuous wake-up triggers is cleared; if there is an acceleration wake-up trigger detected before the second timer is triggered, whether the number of continuous wake-up triggers is greater than the second number is determined, if the number of continuous wake-up triggers is not greater than the second number, the detection device switches to the sleep mode, and if the number of continuous wake-up triggers is greater than the second number, it is determined that the plunger pump is started to work.
[0040] Specifically, the trigger processing procedure for determining whether the plunger pump is in working state using the acceleration chip comprises:
[0041] When the plunger pump is in the stop state, the detection device is continuously in the low-power sleep state. When the plunger pump starts to work, the reciprocating motion of the plunger rod will cause the acceleration value of the acceleration chip of the detection device to change in the Z-axis. If the acceleration value exceeds the preset acceleration value, the acceleration chip will actively wake up the detection device. After the detection device is woken up, the acceleration wake-up interrupt is stopped, the number of continuous wake-up triggers is increased by one, and whether the number of continuous wake-up triggers is greater than 4 (i.e., the second number) is determined. If the number of continuous wake-up triggers is less than 4, a 10-second timer (i.e., the first timer) and a 15-second timer (i.e., the second timer) are started, and the detection device is quickly set to the low-power sleep state. After the 10-second timer is triggered, the acceleration wake-up interrupt is enabled, and whether there is an acceleration wake-up trigger is determined. If there is no acceleration wake-up trigger detected after the 15-second timer is triggered, it is considered that the plunger pump is in pseudo-working state, and the number of continuous wake-up triggers is cleared.
[0042] If there is an acceleration wake-up trigger detected before the 15-second timer is triggered, whether the number of continuous wake-up triggers is greater than 4 is determined. If the number of continuous wake-up triggers is less than 4, the same processing as above is performed. If the number of continuous wake-up triggers is greater than 4, it is considered that the plunger pump is started to work.
[0043] Optionally, in the case that the plunger pump is in working state, the detection method further comprises: starting the Bluetooth slow broadcast, enabling the acceleration interrupt, restarting the first timeout timer, and detecting the device to enter the sleep mode; if the first timeout timer triggers, it is determined that the plunger pump stops working, the Bluetooth slow broadcast is stopped, and the detection device re-enters the trigger processing flow of judging whether the plunger pump is in working state; if the acceleration interrupt trigger is detected within the timeout time of the first timeout timer, the interrupt is stopped, the third timer is started, the first timeout timer is restarted, and after the third timer triggers, the acceleration interrupt is started to periodically detect whether the plunger pump is continuously in working state; if the acceleration interrupt trigger is not detected within the timeout time of the first timeout timer, it is determined that the plunger pump stops working.
[0044] Optionally, the plunger pump further comprises a receiving device for receiving the detection device signal.
[0045] In the case that the acceleration interrupt triggers, the detection method further comprises: judging whether a connection is established between the detection device and the receiving device through Bluetooth; if no connection is established, it is continuously judged whether the plunger pump is in working state; if the connection is established, a temperature collection processing flow is entered.
[0046] Specifically, after it is determined that the plunger pump is in working state, the Bluetooth slow broadcast is started, the acceleration interrupt is enabled, and then the 30-second timeout timer (i.e., the first timeout timer) is started. After that, the detection device immediately enters the low-power sleep state. If the 30-second timeout timer triggers, it means that the plunger pump stops working, at this moment the Bluetooth broadcast is stopped, and the detection device re-enters the trigger processing flow of judging whether the plunger pump is in working state.
[0047] If the acceleration interrupt trigger is detected within 30 seconds, the interrupt is stopped, the 10-second timer (i.e., the third timer) is started, the 30-second timeout timer is restarted, and after the 10-second timer triggers, the acceleration interrupt is started. The purpose of this logic is to detect whether the plunger pump is continuously in working state at intervals of 10 seconds. If the acceleration interrupt trigger is not detected within 30 seconds, it is considered that the plunger pump stops working. After the acceleration interrupt triggers, it is simultaneously judged whether a connection is established between the detection device and the receiving device through Bluetooth. If no connection is established, it is continuously judged whether the plunger pump is in working state. If the connection is established, a temperature value collection processing flow is entered.
[0048] Optionally, if the connection has been established, enter the temperature collection process, including: in the case of establishing a Bluetooth communication connection between the detection device and the receiving device, starting the acceleration interrupt detection, and starting a second timeout timer; if the acceleration interrupt trigger is not detected within the timeout time of the second timeout timer, determining that the plunger pump stops working, and the detection device actively disconnects the Bluetooth connection; if the AD collection chip power of the detection device is turned on, turn off the power and disable the SPI interface, and the detection device reenters the trigger processing flow of determining whether the plunger pump is in the working state; in the case of detecting the acceleration interrupt trigger within the timeout time of the second timeout timer, determining whether the obtained temperature value is greater than the first temperature value or less than the second temperature value, wherein the first temperature value is greater than zero, and the second temperature value is less than zero; if the obtained temperature value is greater than the first temperature value or less than the second temperature value, control the temperature value to be collected at the first AD collection frequency; if the obtained temperature value is greater than the second temperature value and less than the first temperature value, control the temperature value to be collected at the second AD collection frequency, wherein the second AD collection frequency is less than the first AD collection frequency.
[0049] Specifically, the detection device and the receiving device have established a Bluetooth communication connection, the acceleration interrupt detection is started, the 40-second timeout timer (i.e., the second timeout timer) is restarted, if the acceleration interrupt trigger is not detected within 40 seconds, it is considered that the plunger pump stops working, and the detection device actively disconnects the Bluetooth connection, if it is judged that the AD collection chip power is turned on, the power is turned off and the SPI interface is disabled, and the detection device reenters the trigger processing flow of determining whether the plunger pump is in the working state.
[0050] If the acceleration interrupt trigger is detected within 40 seconds, first stop the acceleration interrupt, determine whether the obtained temperature value is greater than the threshold range of 50°C to 80°C (wherein the first temperature value is located in the threshold range) or less than the threshold of minus 30°C to minus 60°C (wherein the second temperature value is located in the threshold range), the first data judgment of the detection device and the receiving device establishing a connection, the temperature value is set to 0°C by default, if it is judged that the temperature value is greater than the threshold range of 50°C to 80°C or less than the threshold range of minus 30°C to minus 60°C, then the AD collection frequency is accelerated, and it is collected once every 2 seconds (i.e., collected at the first AD collection frequency), if it is judged that the temperature value is between 80°C and minus 60°C, it is collected once every 10 seconds (i.e., collected at the second AD collection frequency).
[0051] Optionally, the temperature acquisition and processing procedure comprises: using a timer to acquire temperature values at a first AD acquisition frequency and at a second AD acquisition frequency; after the timer triggers, turning on an AD acquisition power supply, initializing an SPI interface of an AD acquisition chip, and enabling an AD conversion completion interrupt; restarting a third timeout timer, and if the third timeout timer triggers, indicating that the AD acquisition chip is abnormal; continuing to determine whether the number of times of detecting the abnormality of the AD acquisition chip is greater than a third number of times, and if not, restarting the AD acquisition power supply, determining whether the AD acquisition chip is abnormal by reading register configuration parameters of the AD acquisition chip, and if the AD acquisition chip is still abnormal, repeating the control logic of the abnormality of the AD acquisition chip, and if the AD acquisition chip is normal, reconfiguring the AD chip register and reentering the temperature acquisition and processing procedure; if the number of times of detecting the abnormality is greater than the third number of times, determining that the AD acquisition chip is damaged, turning off the AD acquisition power supply, disabling the SPI interface, and setting a temperature value field as an abnormal code of the AD acquisition chip failure; and if the AD acquisition completion interrupt triggers before the second timeout timer triggers, acquiring the AD acquisition temperature data, and determining whether the temperature value is greater than a first temperature value, and if so, continuously acquiring multiple temperature values to obtain an average of the acquired values.
[0052] In the embodiments of the application, the detection device further comprises a temperature detection element for detecting temperature or a pressure detection element for detecting lubricating oil pressure.
[0053] Optionally, the detection method further comprises: determining whether the temperature detection element or the pressure detection element is faulty; determining whether the temperature detection element or the pressure detection element is faulty in a case where the acquired temperature value or pressure value exceeds a preset temperature range or a preset pressure range due to an open circuit or a short circuit of the temperature detection element or the pressure detection element; if it is determined that the temperature detection element or the pressure detection element is faulty, setting a temperature field as a fault code of the temperature detection element or setting a pressure field as a fault code of the pressure detection element; and if it is determined that the temperature detection element or the pressure detection element is not faulty, assigning a normally acquired temperature value to the temperature value field or assigning a normally acquired pressure value to the pressure value field.
[0054] Specifically, the processing flow of temperature collection. The timer used in the above-mentioned flow of 2-second period collection or 10-second period collection is completed, after the timer trigger is completed, the temperature AD collection power is turned on, the SPI interface of the AD chip is initialized, the AD conversion completion interrupt is enabled, the 2-second AD collection timeout timer (i.e., the third timeout timer) is restarted, if the 2-second AD collection timeout timer triggers, it indicates that the AD chip is abnormal, the number of times of AD chip abnormality detection is continuously judged, if it is not greater than 3 times, the AD collection power is restarted, whether the AD chip is abnormal is judged by reading the AD chip register configuration parameter, if the AD chip is still abnormal, the above-mentioned AD chip abnormality judgment logic is repeated, if the AD chip is normal, the AD chip register is reconfigured, and the processing flow of temperature collection at the beginning of the flow is reentered. If the number of times of abnormal detection is greater than 3 times, it is considered that the AD collection chip is damaged, the AD collection power is turned off, the SPI interface is disabled, and the temperature value field is set to the abnormal code of AD chip failure.
[0055] If the AD collection completion interrupt triggers before the 2-second AD collection timeout timer triggers, the temperature data collected by the AD is obtained, and whether the temperature value exceeds the threshold range of 50°C to 80°C is judged, if it exceeds the threshold range of 50°C to 80°C, the temperature value is collected for 10 times in succession, the average value of the collected values is calculated, and the accuracy of the collected data is ensured.
[0056] Next, it is further judged whether the temperature probe (i.e., the temperature detection element) has a break or short circuit failure, the break or short circuit failure of the temperature probe causes the collected temperature value to exceed the normal temperature interval, so as to judge the failure of the temperature probe, if it is judged that the temperature probe fails, the temperature field is set to the temperature probe failure code, if it is judged that the temperature probe is normal, the normally collected temperature value is assigned to the temperature value field.
[0057] Optionally, after the temperature value is collected by the detection device, the AD collection power is turned off, the SPI interface is disabled, and the power consumption of the detection device is reduced; the power of collecting the battery power is turned on, the power is turned off after the battery power is collected; the temperature value field and the battery power field are framed and transmitted from the detection device to the receiving device; the acceleration interrupt detection is enabled, and the processing flow of temperature collection is reentered.
[0058] Specifically, after the temperature value is collected by the detection device, the AD collection power is turned off, the SPI interface is disabled, and the power consumption of the detection device is reduced, then the power of collecting the battery power is turned on, the power is turned off after the battery power is collected, the temperature value field and the battery power field are framed and transmitted from the detection device to the receiving device through the Bluetooth channel of the detection device and the receiving device, and after completion, the acceleration interrupt detection is enabled, and the processing flow of temperature collection is reentered.
[0059] Optionally, the detection method further comprises: in the case of damage of the acceleration chip, entering a processing flow in which acceleration is no longer used as a trigger judgment condition for the operation of the plunger pump, and the detection device continuously performs slow Bluetooth broadcasting until the detection device and the receiving device establish a Bluetooth connection; judging whether the temperature value obtained by the AD acquisition chip is greater than a first temperature value or less than a second temperature value, wherein the first temperature value is greater than zero, and the second temperature value is less than zero; if the obtained temperature value is greater than the first temperature value or less than the second temperature value, controlling the temperature value to be collected at a first AD acquisition frequency; and if the obtained temperature value is greater than the second temperature value and less than the first temperature value, controlling the temperature value to be collected at a second AD acquisition frequency, wherein the second AD acquisition frequency is less than the first AD acquisition frequency.
[0060] Specifically, in the case of failure of the acceleration chip, the temperature detection processing flow is as follows: the detection device detects that the acceleration chip is faulty, and then enters a processing flow in which acceleration is no longer used as a trigger judgment condition for the operation of the plunger pump. The detection device will continuously perform slow Bluetooth broadcasting until a Bluetooth connection is established with the receiving device. After the Bluetooth connection is completed, the detection device first judges whether the temperature value is greater than (i.e., higher than) a threshold range of 50℃ to 80℃ or less than (i.e., lower than) a threshold range of minus 30℃ to minus 60℃. If this condition is met, the temperature value is collected faster, i.e., collected once every 2 seconds periodically. If it is judged that the obtained temperature value is less than (i.e., lower than) 80℃ and greater than (i.e., higher than) minus 60℃, the temperature value is collected normally, i.e., collected once every 10 seconds periodically. The subsequent temperature value collection and the processing logic of the AD acquisition chip exception are consistent with the above-mentioned temperature collection processing flow.
[0061] After the temperature value is collected by the detection device, the AD acquisition power is turned off, and the SPI interface is disabled to reduce the power consumption of the detection device. Then, the power for collecting the battery power is turned on, and after the battery power is collected, this power is turned off. The temperature value field and the battery power field are framed and transmitted to the receiving device through the Bluetooth channel between the detection device and the receiving device. After completion, the temperature collection processing flow of this flow is continued. If it is detected that the Bluetooth connection between the detection device and the receiving device is disconnected, the temperature collection is stopped, the Bluetooth broadcasting is restarted, and the connection with the receiving device is waited.
[0062] In summary, the embodiments of the present application describe in detail how the detection device realizes long-time detection.
[0063] S1, in order to improve the service life of the detection device, the detection device can periodically perform self-diagnosis on the acceleration chip used to judge whether the plunger pump is in an operating state, so as to avoid the situation that the detection device cannot work normally after the acceleration chip fails. Specifically, the processing flow can be divided into two different flows.
[0064] The software system of the detection device will periodically obtain the ID data of the acceleration chip every 30 minutes, if the ID data cannot be obtained, it is judged whether the number of consecutive failures to obtain the ID data exceeds 3 times (i.e. the first number of times), if it does not exceed 3 times, the acceleration chip is powered off and powered on again to obtain the ID data again, if the acceleration ID data is successfully obtained in this process, it is considered that the acceleration chip is working normally, and the trigger processing flow of using the acceleration value to judge whether the plunger pump is in working state is entered; if the ID data of the acceleration chip cannot be obtained for 3 times in succession in this process, it is determined that the acceleration chip is damaged, and the processing flow of periodically waking up detection using the RTC timer is entered.
[0065] S2, the trigger processing flow of using the acceleration chip to judge whether the plunger pump is in working state is:
[0066] When the plunger pump is in a shutdown state, the detection device is in a low-power sleep state, when the plunger pump starts to work, the reciprocating motion of the plunger rod will cause the acceleration value of the acceleration chip of the detection device to change in the Z-axis, if the acceleration value exceeds the preset acceleration value, the acceleration chip will actively wake up the detection device, the detection device stops the acceleration wake-up interrupt, the number of consecutive wake-up triggers is increased by one, and it is judged whether the number of consecutive wake-up triggers is greater than 4 times (i.e. the second number of times), if the number of consecutive wake-up triggers is less than 4 times, a 10-second timer (i.e. a first timer) and a 15-second timer (i.e. a second timer) are started, and the detection device is quickly placed in a low-power sleep state, and the acceleration wake-up interrupt is enabled after the 10-second timer is triggered, and it is judged whether there is an acceleration wake-up trigger, if there is no acceleration wake-up trigger after the 15-second timer is triggered, it is considered that the plunger pump is in a pseudo-working state, and the number of consecutive wake-up triggers is cleared.
[0067] If an acceleration wake-up trigger is detected before the 15-second timer is triggered, it is judged whether the number of consecutive wake-up triggers is greater than 4 times, if it is less than 4 times, the same processing process as above is performed, if it is greater than 4 times, it is considered that the plunger pump is started to work.
[0068] S3, after it is determined that the plunger pump is in a working state, a Bluetooth slow broadcast is started, an acceleration interrupt is enabled, and a 30-second timeout timer (i.e. a first timeout timer) is started, then the detection device immediately enters a low-power sleep state, if the 30-second timeout timer is triggered, it means that the plunger pump stops working, at this moment the Bluetooth broadcast is stopped, and the detection device reenters the trigger processing flow of judging whether the plunger pump is in a working state.
[0069] If the acceleration interruption trigger is detected within 30 seconds, the interruption is stopped, a 10-second timer (i.e., the third timer) is started, the 30-second timeout timer is restarted, and after the 10-second timer is triggered, the acceleration interruption is started. The purpose of this logic is to detect whether the plunger pump is continuously in the working state at 10-second intervals. If no acceleration interruption trigger is detected within 30 seconds, it is considered that the plunger pump stops working. After the acceleration interruption trigger, it is simultaneously judged whether a connection is established between the detection device and the receiving device through Bluetooth. If no connection is established, the working state of the plunger pump is continuously judged. If a connection is established, the temperature value collection and processing flow is entered.
[0070] S4, the detection device and the receiving device have established a Bluetooth communication connection, the acceleration interruption detection is started, and the 40-second timeout timer (i.e., the second timeout timer) is restarted. If no acceleration interruption trigger is detected within 40 seconds, it is considered that the plunger pump stops working. The detection device actively disconnects the Bluetooth connection. If it is judged that the AD acquisition chip power is turned on, the power is turned off and the SPI interface is disabled. The detection device reenters the trigger processing flow of judging whether the plunger pump is in the working state.
[0071] If the acceleration interruption trigger is detected within 40 seconds, the acceleration interruption is first stopped. It is judged whether the obtained temperature value is greater than (i.e., higher than) the threshold range of 50°C to 80°C (wherein the first temperature value is located in the threshold range) or less than (i.e., lower than) the threshold range of minus 30°C to minus 60°C (wherein the second temperature value is located in the threshold range). The first data judgment of the connection established between the detection device and the receiving device. The temperature value is set to 0°C by default. If it is judged that the temperature value is greater than the threshold range of 50°C to 80°C or less than the threshold range of minus 30°C to minus 60°C, the AD acquisition frequency is accelerated, and it is collected once every 2 seconds (i.e., collected at the first AD acquisition frequency). If it is judged that the temperature value is between 80°C and minus 60°C, it is collected once every 10 seconds (i.e., collected at the second AD acquisition frequency).
[0072] S5, the processing flow of temperature collection. The timer is used to complete the 2-second period collection or 10-second period collection in the above flow. After the timer is triggered, the temperature AD collection power is turned on, the SPI interface of the AD chip is initialized, the AD conversion completion interrupt is enabled, and the 2-second AD collection timeout timer (i.e., the third timeout timer) is restarted. If the 2-second AD collection timeout timer is triggered, it indicates that the AD chip is abnormal. It is determined whether the number of AD chip abnormality detection times is greater than 3. If the number of AD chip abnormality detection times is not greater than 3, the AD collection power is restarted. It is determined whether the AD chip is abnormal by reading the AD chip register configuration parameter. If the AD chip is still abnormal, the above AD chip abnormality judgment logic is repeated. If the AD chip is normal, the AD chip register is reconfigured, and the processing flow of temperature collection at the beginning of the flow is reentered. If the number of abnormal detection times is greater than 3, it is considered that the AD collection chip is damaged. The AD collection power is turned off, the SPI interface is disabled, and the temperature value field is set to the abnormal code of the AD chip failure.
[0073] If the AD collection completion interrupt is triggered before the 2-second AD collection timeout timer is triggered, the temperature data collected by the AD is obtained. It is determined whether the temperature value exceeds (i.e., is higher than) the threshold range of 50°C to 80°C. If the temperature value exceeds the threshold range of 50°C to 80°C, the temperature value is collected for 10 times in succession. The average value of the collected values is calculated to ensure the accuracy of the collected data.
[0074] Next, it is further determined whether the temperature probe has a broken circuit or a short circuit failure. The broken circuit or the short circuit failure of the temperature probe causes the collected temperature value to exceed the normal temperature range. The temperature probe failure is determined in this way. If it is determined that the temperature probe is faulty, the temperature field is set to the temperature probe failure code. If it is determined that the temperature probe is normal, the normally collected temperature value is assigned to the temperature value field.
[0075] S6, after the temperature value collected by the detection device is completed, the AD collection power is turned off, and the SPI interface is disabled to reduce the power consumption of the detection device. Then, the battery power collection power is turned on. After the battery power collection is completed, the power is turned off. The temperature value field and the battery power field are framed and transmitted to the receiving device through the Bluetooth channel of the detection device and the receiving device. After completion, the acceleration interrupt detection is enabled, and the flow reenters the above temperature collection processing flow.
[0076] S7, temperature detection processing flow in the case of acceleration chip failure: the detection device detects that the acceleration chip fails, and then enters the processing flow of no longer using acceleration as the trigger judgment condition of the plunger pump. The detection device will always perform Bluetooth slow broadcasting until a Bluetooth connection is established with the receiving device. After the Bluetooth connection is completed, the detection device first judges whether the temperature value is greater than (i.e., higher than) the threshold range of 50-80℃ or less than (i.e., lower than) the threshold range of minus 30-60℃. If this condition is met, the temperature value is collected faster, i.e., collected once every 2 seconds periodically. If it is judged that the acquired temperature value is less than 80℃ and greater than minus 60℃, the temperature value is collected normally, i.e., collected once every 10 seconds periodically. The subsequent temperature value collection and AD acquisition chip abnormality processing logic are consistent with the above-mentioned temperature collection processing flow.
[0077] After the detection device completes the collection of the temperature value, the AD acquisition power supply is turned off, and the SPI interface is disabled to reduce the power consumption of the detection device. Then the power supply for collecting the battery power is turned on, and after the collection of the battery power is completed, this power supply is turned off. The temperature value field and the battery power field are framed and transmitted to the receiving device through the Bluetooth channel of the detection device and the receiving device. After completion, the temperature collection processing flow of this flow is continued. If it is detected that the Bluetooth connection between the detection device and the receiving device has been disconnected, the temperature collection is stopped, the Bluetooth broadcasting is restarted, and the connection with the receiving device is waited.
[0078] It should be noted that the deterministic numbers such as the temperature threshold and the detection times mentioned in the above flow description are examples given in this embodiment, and are not limited thereto. Changing them to other values for realizing the functions described in this embodiment is within the protection scope of this embodiment.
[0079] In addition, the above flow description is based on temperature detection. The oil pressure of the crosshead position lubricating oil channel can also be detected by replacing the pressure sensor or the temperature pressure integrated sensor. The detection flow can refer to the description of the temperature detection above. In this way, whether the lubricating oil is normal can be judged by the oil pressure. If an abnormality is detected, the display and early warning of the upper layer data storage and display terminal of the above flow can be performed to alert the operator to take reasonable measures.
[0080] The detection device disclosed in this embodiment corresponds to the above-mentioned detection method. The detection device comprises: a first detection module for detecting whether the plunger pump is in a working state; a second detection module for detecting at least one of the temperature of part of the components of the plunger pump and the lubricating oil pressure of the plunger pump; and a control module for controlling the detection device to switch to a temperature detection mode or a lubricating detection mode in the case that the plunger pump is in the working state, and for controlling the detection device to switch to a sleep mode in the case that the plunger pump is in a non-working state.
[0081] The embodiment of the present application can directly detect the temperature of the part of the plunger pump through the second detection module, rather than indirectly feedback the temperature of the part of the plunger pump by detecting the temperature of the lubricating oil, so that the temperature detection can be more timely and accurate, thereby alleviating the problem that the part of the plunger pump is damaged due to the indirect detection method cannot timely feedback the temperature. Moreover, the embodiment of the present application can also switch the detection device between the sleep mode and the detection mode (such as the temperature detection mode or the lubrication detection mode) according to the working state of the plunger pump through the control module, so that the working time of the detection device can be shortened without affecting the detection, which is beneficial to prolong the service life of the detection device, and thus the detection device can work stably and reliably for a long time.
[0082] In some embodiments, the first detection module can include an acceleration chip for detecting the acceleration of the moving part of the plunger pump. By detecting the acceleration of the moving part and comparing it with the preset acceleration, it can be determined whether the plunger pump is in the working state. Specifically, when the detected acceleration exceeds the preset acceleration, it is determined that the plunger pump is in the working state; when the detected acceleration does not exceed the preset acceleration, it is determined that the plunger pump is in the non-working state.
[0083] In the embodiment of the present application, the acceleration of the moving part of the plunger pump can be detected in real time through the acceleration chip, so as to determine the working state of the plunger pump, thereby ensuring that the detection device consumes less power in the shutdown state (i.e., non-working state) of the plunger pump, and prolonging the service life of the detection device.
[0084] In addition, the detection device can also realize the self-checking function of the acceleration chip, so as to diagnose whether the acceleration chip is damaged, thereby ensuring the reliability of the detection data of the detection device, and in the case that the acceleration chip is damaged, the detection device can also be periodically woken up for corresponding detection, so as to not affect the use of the detection device, thereby ensuring that the detection device can work stably and reliably for a long time.
[0085] The second detection module can include a temperature detection element for detecting the temperature of the part of the plunger pump. The temperature detection element can be a temperature sensor, which can be arranged on the cross head of the plunger pump to detect the temperature of the cross head and the bearing bush.
[0086] By detecting the temperature of the cross head and the bearing bush, the problem of excessively high temperature of the bearing bush can be effectively prevented.
[0087] In addition, the second detection module can further include a pressure detection element for detecting the pressure of the lubricating oil of the plunger pump to prevent the pressure of the lubricating oil from being too small or too large to affect the lubrication effect of the plunger pump. The pressure detection element can be a pressure sensor, which can be arranged in the lubricating pipeline of the plunger pump.
[0088] In some embodiments, the detection device can further include a power supply unit, a core processing unit, a wireless communication unit, a temperature sensing unit, an AD acquisition unit and a low-power processing unit. The control module can include the core processing unit and the low-power processing unit to facilitate logical control and low power consumption through switching mode. The temperature detection element can be the temperature sensing unit.
[0089] The power supply unit is used to provide power for each part of the detection device. Optionally, the power supply unit is used to provide power for the wireless communication power supply, the control module and the AD acquisition unit. The power supply unit can be a high-temperature-resistant lithium sub-battery, of course, not limited to a lithium sub-battery, but also other forms of batteries that can achieve the power supply function, such as lithium-manganese batteries, graphene batteries, etc., which are not limited here.
[0090] Considering that the cross head is an internal component of the power end of the plunger pump, after the temperature detection element is installed on the cross head, it will not be easy to replace due to the influence of the power end housing. Therefore, the detection device can be kept running for a long time. Based on this, the power supply in the embodiment of the application can use a large-capacity battery, such as a 1200mA / h high-temperature lithium sub-battery, so that the detection device can run for more than two years.
[0091] The temperature sensing unit can use a PT100 resistance temperature sensor. The probe of the temperature sensor is in contact with part of the components (such as the cross head) of the plunger pump. As the temperature of the part of the components changes, the resistance of the PT100 resistance temperature sensor will change. Of course, the temperature sensing unit can also be a thermocouple temperature sensor, etc. The type of sensor is not limited here.
[0092] The AD acquisition unit can use an external AD acquisition chip, which has the characteristics of high precision and low power consumption. The AD acquisition unit is used to acquire the AD reference value of the second detection module. The AD acquisition unit can be connected with the temperature sensing unit to complete the acquisition of the parameters (such as resistance value) of the temperature sensing unit. In addition, the AD acquisition unit can also use AD acquisition chips of other brands and models, or use the AD acquisition function integrated in the core processing unit.
[0093] The low-power processing unit is used for switching management of the whole detection device between working mode and sleep mode, i.e., for switching the detection device between temperature detection mode or lubrication detection mode and sleep mode, so as to reduce the power consumption of the detection device. In the embodiment of the application, if the plunger pump starts the fracturing operation, the reciprocating motion of the moving parts (such as the plunger rod, the cross head, etc.) will change the acceleration value of the detection device. Therefore, whether the plunger pump exceeds the set working acceleration threshold value is detected by the acceleration chip. If the threshold value is exceeded, the detection device is set to the working state, otherwise it is set to the sleep low-power state. In addition, if the acceleration chip is damaged, the state is changed by using the timing periodic wake-up mode.
[0094] In addition to the above-mentioned mode, speed detection, displacement detection, magnetic reed switch, etc. can also be used to distinguish dynamic and static to determine whether the plunger pump is in working state.
[0095] The wireless communication unit can be Bluetooth communication, which is a communication bridge between the detection device and other devices (such as a receiving device, etc.), for wireless signal transmission between the detection device and the receiving device, so as to transmit the data detected by the detection device to the receiving device by wireless mode. Alternatively, the wireless communication unit can use WiFi, lora, zigbee, 433M, 315M, etc. Various modes of wireless data transmission can be realized, of course, it can also be the mode, which is not limited here.
[0096] The core processing unit is mainly responsible for the logical function implementation of the detection device, the processing of temperature (or lubrication) data and the driving of individual unit modules. The core processing unit can be connected with the power supply unit, the AD acquisition unit, the low-power management unit and the wireless communication unit. Alternatively, the core processing unit can adopt a low-power MCU, which has the characteristics of rich peripherals and low power consumption, of course, other models of MCU or CPU can also be used to realize the corresponding functions.
[0097] In addition, the core processing unit can be connected with the AD chip of the AD acquisition unit through the SPI interface, through which the resistance value of the temperature detection element collected by the AD chip is obtained and calculated as the actual temperature value; the MCU of the core processing unit is connected with the power supply unit through the internal AD acquisition channel, which is used to collect the battery capacity; the core processing unit adopts a wireless communication unit integrated in the MCU based on Bluetooth communication, so the calculated actual temperature value and battery capacity value are transmitted to the wireless communication unit through the internal interface of the MCU, and the data is transmitted to the data receiving device by the wireless communication unit.
[0098] The receiving device belongs to a data hub in the whole detection device, is responsible for transmitting the temperature data (or lubricating data) and battery capacity data transmitted by the detection device through wireless transmission to the upper terminal through wired transmission for storage and display; in addition, the receiving device can also be responsible for networking the temperature detection device corresponding to the cross head of each cylinder of the plunger pump, and managing the wireless network connection state of the detection device.
[0099] Optionally, the receiving device can be connected with the upper terminal through a 485 bus interface. In order to realize the above functions, wired modes such as TCP / IP, 232 bus, 422 bus, CAN bus, or wireless communication modes such as WiFi, zigbee, lora, Bluetooth, 433M, 315M can be used, and of course other modes can also be used, which are not limited here.
[0100] The detection data storage and display terminal belongs to an upper data application terminal in the whole detection system, has a storage, display and warning function for the temperature value (or lubricating oil pressure value) of the cross head of the plunger pump. Optionally, the terminal can be a PLC of an electric control system of the plunger pump, a well site control decision system, a fault diagnosis system, etc.
[0101] As shown in FIGS. 3-5, the plunger pump 10 can include a cross head 11, a bearing 12, a connecting rod 13, a pull rod 14 and the like. In addition, the detection device 20 can include a temperature detection element 21 arranged on the cross head 11 for detecting the temperature of the bearing 12. In addition, the temperature detection element 21 can be electrically connected with a circuit board 31, powered by a battery 33, and a cover plate 32 and a protective shell 34 protect the temperature detection element 21, the circuit board 31, the battery 33 and the like. It should be pointed out that the specific structure of the plunger pump and its working principle are prior art, which will not be described in detail here.
[0102] It should be pointed out that the detection device and the detection method in the embodiments of the present application correspond to each other, and some related technical solutions can be mutually referred to.
[0103] As can be seen from the above, the temperature data collected by the temperature detection element of the detection device can be transmitted to the receiving device and then to the upper terminal for data storage and display. The temperature detection element can be installed on the cross head of each cylinder of the plunger pump to detect the temperature change of the cross head of each cylinder in time and accurately, and the upper terminal can display and warn in real time, so that the staff can take reasonable measures to solve the abnormal situation of the cross head temperature rising, thereby prolonging the service life of the plunger pump, avoiding well site accidents, and reducing property losses.
[0104] The embodiments of the present application are described above with reference to the accompanying drawings, but the present application is not limited to the specific embodiments described above, and the specific embodiments described above are merely illustrative, but not restrictive, and a person of ordinary skill in the art can make many forms under the inspiration of the present application without departing from the purpose of the present application and the scope protected by the claims.
Claims
1. A detection method applied to a plunger pump, the plunger pump comprising a detection device for detecting at least one of a temperature of a part of the plunger pump and a lubricating oil pressure of the plunger pump, the detection method comprising: detecting whether the plunger pump is in a working state; in a case where the plunger pump is in the working state, the detection device switching to a temperature detection mode or a lubricating detection mode; in a case where the plunger pump is in a non-working state, the detection device switching to a sleep mode. the plunger pump comprising a moving part; the detecting whether the plunger pump is in the working state comprising: detecting an acceleration of the moving part; in a case where the acceleration exceeds a preset acceleration, determining that the plunger pump is in the working state; in a case where the acceleration does not exceed the preset acceleration, determining that the plunger pump is in the non-working state. the detection device comprising an acceleration chip for detecting the acceleration; the detection method further comprising: performing self-checking on the acceleration chip to determine whether the acceleration chip is damaged; in a case where the acceleration chip is damaged, the detection device automatically entering a mode of periodically waking up detection logic. the performing self-checking on the acceleration chip comprising: periodically obtaining ID data of the acceleration chip; determining whether the ID data is successfully obtained; in a case where the ID data is not successfully obtained and a number of consecutive failures does not exceed a first number, re-powering off and powering on the acceleration chip and obtaining the ID data again, and if the ID data is successfully obtained again, determining that the acceleration chip is working normally; in a case where the number of consecutive failures exceeds the first number, determining that the acceleration chip is damaged. the detection method further comprising: in a case where the acceleration chip is not damaged, the detection device entering a trigger processing flow of using an acceleration value to determine whether the plunger pump is in the working state. the trigger processing flow of using the acceleration value to determine whether the plunger pump is in the working state comprising: in a case where the plunger pump is switched from the non-working state to the working state, when the acceleration value exceeds a preset acceleration value, actively waking up the detection device by the acceleration chip; after the detection device is woken up, stopping an acceleration wake-up interrupt, increasing a number of consecutive wake-up triggers by one, and determining whether the number of consecutive wake-up triggers is greater than a second number; if the number of consecutive wake-up triggers is not greater than the second number, the detection device switching to the sleep mode.
2. The detection method according to claim 1, wherein, the trigger processing flow of using the acceleration value to determine whether the plunger pump is in the working state further comprising: if the number of consecutive wake-up triggers does not exceed the second number, starting a first timer and a second timer, and the detection device switching to the sleep mode, wherein a timing time of the first timer is less than a timing time of the second timer; after the first timer is triggered, enabling the acceleration wake-up interrupt, and determining whether there is an acceleration wake-up trigger. 3. The detection method according to claim 2, wherein, 4. The detection method according to claim 3, wherein, 5. The detection method according to claim 3 or 4, wherein, 6. The detection method according to claim 5, wherein, 7. The detection method according to claim 6, wherein, In the case that no acceleration wake-up trigger is detected after the second timer triggers, it is determined that the plunger pump is in a false working state, and the number of continuous wake-up triggers is cleared; In the case that an acceleration wake-up trigger is detected before the second timer triggers, it is continuously determined whether the number of continuous wake-up triggers is greater than the second number, if not, the detection device switches to the sleep mode, if yes, it is determined that the plunger pump is started to work.
8. The detection method according to claim 2, wherein, In the case that the plunger pump is in a working state, the detection method further comprises: starting a Bluetooth slow broadcast, enabling an acceleration interrupt, restarting a first timeout timer, and the detection device enters the sleep mode; if the first timeout timer triggers, it is determined that the plunger pump stops working, the Bluetooth slow broadcast is stopped, and the detection device re-enters the trigger processing flow of determining whether the plunger pump is in a working state; if an acceleration interrupt trigger is detected within the timeout time of the first timeout timer, the interrupt is stopped, a third timer is started, the first timeout timer is restarted, and after the third timer triggers, the acceleration interrupt is started to periodically detect whether the plunger pump continuously works; if no acceleration interrupt trigger is detected within the timeout time of the first timeout timer, it is determined that the plunger pump stops working.
9. The detection method according to claim 8, wherein, The plunger pump further comprises a receiving device for receiving a signal of the detection device; In the case that an acceleration interrupt trigger is detected, the detection method further comprises: determining whether a connection is established between the detection device and the receiving device through Bluetooth; if no connection is established, it is continuously determined whether the plunger pump is in a working state; if the connection is established, a temperature acquisition processing flow is entered.
10. The detection method according to claim 9, wherein, The temperature acquisition processing flow entered when the connection is established comprises: in the case that a Bluetooth communication connection is established between the detection device and the receiving device, an acceleration interrupt detection is started, and a second timeout timer is started; if no acceleration interrupt trigger is detected within the timeout time of the second timeout timer, it is determined that the plunger pump stops working, and the detection device actively disconnects the Bluetooth connection; if a power supply of an AD acquisition chip included in the detection device is turned on, an SPI interface is closed and disabled, and the detection device re-enters the trigger processing flow of determining whether the plunger pump is in a working state; in the case that an acceleration interrupt trigger is detected within the timeout time of the second timeout timer, it is determined whether a temperature value obtained is greater than a first temperature value or less than a second temperature value, wherein the first temperature value is greater than zero, and the second temperature value is less than zero; if the temperature value obtained is greater than the first temperature value or less than the second temperature value, the temperature value is acquired at a first AD acquisition frequency; if the temperature value obtained is greater than the second temperature value and less than the first temperature value, the temperature value is acquired at a second AD acquisition frequency, wherein the second AD acquisition frequency is less than the first AD acquisition frequency.
11. The detection method according to claim 10, wherein, The temperature acquisition processing flow comprises: using a timer to acquire the temperature value at the first AD acquisition frequency and the temperature value at the second AD acquisition frequency; After the timer trigger is completed, the AD acquisition power is turned on, the SPI interface of the AD acquisition chip is initialized, and the AD conversion completion interrupt is enabled; The third timeout timer is restarted, and if the third timeout timer triggers, it indicates that the AD acquisition chip is abnormal; If the number of times of detecting the AD acquisition chip abnormality is not greater than the third number of times, the AD acquisition power is restarted, the AD acquisition chip is determined to be abnormal by reading the register configuration parameters of the AD acquisition chip, if the AD acquisition chip is still abnormal, the control logic of the AD acquisition chip abnormality is repeated, and if the AD acquisition chip is normal, the AD chip register is reconfigured, and the temperature acquisition processing process is reentered; If the number of times of detecting the AD acquisition chip abnormality is greater than the third number of times, it is determined that the AD acquisition chip is damaged, the AD acquisition power is turned off, the SPI interface is disabled, and the temperature value field is set as an abnormal code of the AD acquisition chip failure; If the AD acquisition completion interrupt triggers before the second timeout timer triggers, the temperature data acquired by the AD acquisition is obtained, and it is determined whether the temperature value is greater than the first temperature value; if the temperature value is greater than the first temperature value, a plurality of temperature values are continuously acquired to obtain an average value of the acquired values.
12. The detection method according to claim 11, wherein, The detection device further comprises a temperature detection element for detecting temperature or a pressure detection element for detecting lubricating oil pressure; The detection method further comprises: determining whether the temperature detection element or the pressure detection element has a fault; in a case where the temperature value or the pressure value acquired due to open circuit or short circuit of the temperature detection element or the pressure detection element exceeds a preset temperature range or a preset pressure range, respectively, determining whether the temperature detection element or the pressure detection element has a fault; if it is determined that a fault occurs, setting the temperature field as a fault code of the temperature detection element, or setting the pressure field as a fault code of the pressure detection element; if it is determined that no fault occurs, assigning the normally acquired temperature value to the temperature value field, or assigning the normally acquired pressure value to the pressure value field.
13. The assay method according to any one of claims 9 to 12, wherein, After the temperature value is acquired by the detection device, the AD acquisition power is turned off, and the SPI interface is disabled to reduce the power consumption of the detection device; the power for acquiring the battery power is turned on, and the power is turned off after the battery power is acquired; the temperature value field and the battery power field are framed and transmitted from the detection device to the receiving device; the acceleration interrupt detection is enabled to reenter the temperature acquisition processing flow.
14. The assay method of claim 3 or 4, wherein, The detection method further comprises: in a case where the acceleration chip is damaged, entering a processing flow in which the acceleration is no longer used as a trigger judgment condition for the plunger pump operation, and the detection device continuously performs slow Bluetooth broadcasting until the detection device establishes a Bluetooth connection with the receiving device; determining whether the temperature value acquired by the AD acquisition chip is greater than a first temperature value or less than a second temperature value, wherein the first temperature value is greater than zero, and the second temperature value is less than zero; if the acquired temperature value is greater than the first temperature value or less than the second temperature value, the temperature value is acquired at a first AD acquisition frequency; If the acquired temperature value is greater than the second temperature value and less than the first temperature value, control is performed to acquire the temperature value at a second AD acquisition frequency, wherein the second AD acquisition frequency is less than the first AD acquisition frequency.
15. A detection device, comprising: a first detection module configured to detect whether a plunger pump is in an operating state; a second detection module configured to detect at least one of a temperature of a part of the plunger pump and a lubricating oil pressure of the plunger pump; a control module configured to control the detection device to switch to a temperature detection mode or a lubricating detection mode when the plunger pump is in the operating state, and to control the detection device to switch to a sleep mode when the plunger pump is in a non-operating state.
16. The detection device of claim 15, wherein, The first detection module comprises an acceleration chip configured to detect an acceleration of a moving part of the plunger pump.
17. The detection device of claim 15, wherein, The second detection module comprises a temperature detection element configured to detect the temperature of the part of the plunger pump. The second detection module comprises a pressure detection element configured to detect the pressure of the lubricating oil of the plunger pump.
18. The detection device of claim 15, wherein, The detection device further comprises a power supply unit, a wireless communication unit, an AD acquisition unit, and a low-power processing unit. The power supply unit is configured to provide electric energy for the wireless communication unit, the control module, and the AD acquisition unit. The wireless communication unit is configured to perform wireless signal transmission between the detection device and a receiving device. The AD acquisition unit is configured to acquire an AD parameter value of the second detection module. The low-power processing unit is configured to enable the detection device to switch between the temperature detection mode or the lubricating detection mode, and the sleep mode.
Citation Information
Patent Citations
Battery thermal runaway monitoring control system and method
CN115275411A
Fracturing unit management method based on radio frequency identification
CN116934290A
Fault monitoring analysis method, fault monitoring device and nonvolatile storage medium
CN117536851A
Detection method and detection device
CN118998036A
On-line fault intelligent diagnosis device of drilling pump
CN202673654U