A wireless temperature and vibration monitoring system and control method

By using LoRa wireless communication and adaptive adjustment of reporting cycle, calculation depth and reporting depth in wireless temperature and vibration sensor systems, the problem of unstable communication in wireless temperature and vibration sensors in industrial sites is solved, and efficient and low-power monitoring system operation is achieved.

CN119223368BActive Publication Date: 2025-06-06JINAN JIAHONG SCI&TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411729679.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-06-06
Estimated Expiration
2044-11-29

AI Technical Summary

Technical Problem

The existing wireless temperature and vibration sensors in industrial sites are instable due to data conflicts and interference, which affects the battery capacity and service life, and there is room for optimization of work efficiency and power consumption.

Method used

The wireless temperature and vibration monitoring system adopts LoRa wireless communication technology, and the upper computer carries adaptively adjusted reporting cycle, calculation depth and reporting depth in the response message, optimizes the working mode of the sensor, reduces unnecessary calculation and data transmission, and improves system efficiency and reliability.

Benefits of technology

It realizes efficient operation of wireless temperature and vibration sensors, reduces power consumption, extends battery life, improves the system's operating efficiency and fault diagnosis capabilities, and avoids the impact of data conflicts and interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119223368B_ABST
    Figure CN119223368B_ABST
Patent Text Reader

Abstract

The present invention discloses a wireless temperature vibration monitoring system and control method, which mainly relates to the technical field of industrial equipment status monitoring and fault diagnosis. The wireless temperature vibration monitoring system includes: a number of wireless temperature vibration sensors, a LoRa gateway and a host computer. The wireless temperature vibration sensors and the LoRa gateway communicate bidirectionally via wireless LoRa, and the LoRa gateway and the host computer communicate bidirectionally via wired Ethernet. The control method includes: determining the operation process and reporting cycle of the wireless temperature vibration sensor; analyzing and processing the calculation process during the operation process; analyzing and processing the reporting process during the operation process; analyzing and processing the sleep process during the operation process. The beneficial effect of the present invention is that while achieving a certain adaptive adjustment capability, the operating efficiency of the monitoring system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial equipment status monitoring and fault diagnosis, and in particular to a wireless temperature and vibration monitoring system and a control method. Background Art

[0002] At present, most industrial motors, fans, air compressors, stamping machines, water pumps, CNC machine tools, engineering machinery, etc. have mechanical failures caused by bearing wear and imbalance, resulting in unexpected shutdowns, causing huge losses to enterprises. These equipment currently rely on manual inspection and fault repair. With the development of science and technology, fault diagnosis technology is used to identify and predict faults early to prevent them from happening. In fault diagnosis technology, the use of temperature and vibration sensors to monitor and analyze temperature and vibration is the most effective and commonly used method.

[0003] Temperature and vibration sensors can be divided into two categories according to the communication method: wired and wireless. Compared with the wired method, the wireless method has the advantages of no need for wiring, easy installation and maintenance, and is more suitable for promotion and application. Most wireless temperature and vibration sensors use LoRa wireless communication technology, which has the characteristics of low power consumption and long distance. They are powered by batteries and adopt a working mode of regularly collecting and reporting data. The temperature and vibration sensor is usually in a dormant state. When the preset reporting cycle is reached, the temperature and vibration sensor wakes up and starts to collect temperature and vibration data, and then reports the data to the gateway, which forwards it to the host computer and waits for the response of the host computer. After receiving the response, the temperature and vibration sensor enters dormancy again and waits for the next reporting cycle. In actual applications, there will be multiple temperature and vibration sensors under one gateway. If multiple temperature and vibration sensors with the same frequency send data at the same time, wireless data conflicts will occur, and retransmission will occur due to the presence of more interference in the industrial field environment. In order to ensure normal communication, the temperature and vibration sensor may need to send multiple times, which affects the battery power and service life. In order to make the battery reach the expected service life, the temperature and vibration sensor needs to pay attention to efficiency and power consumption during the entire working process of collection, calculation, reporting, waiting for response, sleep, etc., to avoid battery exhaustion, maintenance and replacement, etc.

[0004] Most of the current wireless temperature vibration sensors and wireless temperature vibration monitoring systems use the following working mode: the temperature vibration sensors use a pre-configured reporting cycle to report regularly, and are usually in a dormant state. After each wake-up, they collect, calculate, and report all the data, waiting for the host computer's response, or retransmitting after a timeout. The host computer will respond to each reported temperature vibration sensor one by one. This conventional working mode still has many areas that can be optimized in terms of regular reporting, calculation efficiency, transmission efficiency, retransmission method, response efficiency, etc., in order to further improve work efficiency, reduce power consumption, and extend life, while retaining the advantages of wireless and battery power supply, making up for its shortcomings.

[0005] Therefore, there is an urgent need for a wireless temperature and vibration monitoring system and a control method consisting of a wireless temperature and vibration sensor based on LoRa communication to solve the above problems. Summary of the invention

[0006] The purpose of the present invention is to provide a wireless temperature and vibration monitoring system and control method, which realizes a certain adaptive adjustment capability while avoiding the inconvenience caused by the user setting one by one and the host computer sending configuration parameters separately under normal circumstances, thereby improving the operating efficiency of the monitoring system.

[0007] In order to achieve the above object, the present invention is implemented through the following technical solutions:

[0008] On the one hand, the present invention provides a wireless temperature vibration monitoring system, comprising: a plurality of wireless temperature vibration sensors, a LoRa gateway and a host computer, wherein the plurality of wireless temperature vibration sensors and the LoRa gateway perform two-way communication via wireless LoRa, and the LoRa gateway and the host computer perform two-way communication via wired Ethernet;

[0009] The host computer includes: a data communication service processing module, a database module, a diagnosis and analysis module and a front-end page module;

[0010] The wireless temperature and vibration sensor comprises: a battery and a power supply unit, a main chip, a temperature and vibration detection unit and a wireless LoRa communication unit. The main chip is provided with a Flash module, an RTC clock module and a random number generator module.

[0011] On the other hand, the present invention provides a control method applied to the above wireless temperature and vibration monitoring system, comprising the following steps:

[0012] S1: Determine the operation process and reporting cycle of the wireless temperature and vibration sensor, the operation process includes: wake-up, collection, calculation, reporting and sleep; the reporting cycle is specifically: the duration of the wireless temperature and vibration sensor to perform the operation process of wake-up, collection, calculation, reporting and sleep;

[0013] S2: When the wireless temperature and vibration sensor is in working state, the calculation process in the operation process is analyzed and processed;

[0014] S3: When the wireless temperature and vibration sensor is in working state, the reporting process during operation is analyzed and processed;

[0015] S4: When the wireless temperature and vibration sensor is in the working state, the dormancy process in the running process is analyzed and processed.

[0016] Preferably, in step S1, determining the reporting period of the wireless temperature and vibration sensor is specifically:

[0017] S11: Determine the attribute value of the monitored device Specifically: According to the importance and age of the monitored equipment, Set to five values ​​from 1 to 5;

[0018] S12: Determine the current status value of the monitored device Specifically: according to the current real-time status and status change trend of the monitored equipment, Set to ten values ​​from 1 to 10;

[0019] S13: The calculation formula of the reporting period carried by the host computer when sending a response is as follows:

[0020]

[0021] in, is the minimum value of the reporting period. is the maximum value of the reporting cycle. is the weight of the attribute value of the monitored device, ranging from 0% to 100%. is the weight of the current state value of the monitored device, ranging from 0% to 100%, and and The sum is 1.

[0022] Preferably, the analysis and processing of the calculation process during the operation in step S2 is specifically as follows:

[0023] S21: When the wireless temperature and vibration sensor is in working state, it collects temperature data and original acceleration data of N sampling points in three axes, and performs calculations based on the original acceleration data, including the following four types of calculations:

[0024] The first type of calculation: by comparison and integration operations, the peak value of acceleration, the effective value of velocity and the peak-to-peak value of displacement are obtained;

[0025] The second type of calculation: obtaining time domain characteristic data of acceleration through mathematical calculation, wherein the time domain characteristic data of acceleration includes maximum value, minimum value, effective value, average value, average amplitude, root amplitude, peak value, peak-to-peak value, inclination and kurtosis;

[0026] The third type of calculation: obtaining frequency domain characteristic data of acceleration through Fourier transform, wherein the frequency domain characteristic data of acceleration includes the spectrum and the energy accumulation value in each frequency band;

[0027] The fourth type of calculation: Combined with the preset threshold range, the temperature data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain feature data, and frequency domain feature data are judged to obtain the current state;

[0028] S22: Set the calculated depth value , and according to Determine the type of calculation performed by the wireless temperature and vibration sensor during the calculation process, specifically:

[0029] set up The value range is 0 to 3, a total of four values,

[0030] when When the value of is 0, it means that the wireless temperature and vibration sensor does not need to be calculated. At this time, the wireless temperature and vibration sensor has temperature data and original acceleration data, which are all collected and not processed by mathematical calculations.

[0031] when When the value of is 1, it indicates that the first and fourth types of calculations are performed. At this time, the wireless temperature and vibration sensor has temperature data, original acceleration data, acceleration peak value, velocity effective value, displacement peak-to-peak value, and current state;

[0032] when When the value of is 2, it indicates that the first, second, and fourth types of calculations are performed. At this time, the wireless temperature and vibration sensor has temperature data, original acceleration data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain characteristic data, and current state;

[0033] when When the value of is 3, it means that the first, second, third, and fourth types of calculations are performed. At this time, the wireless temperature and vibration sensor has temperature data, original acceleration data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain feature data, frequency domain feature data, and current status;

[0034] The calculation depth carried by the host computer when sending a response , is set to 1 in the initial situation after the monitoring system is deployed, and then during the operation of the system, the depth is calculated The value of is determined according to the following rules:

[0035] When calculating depth When it is 1, if the current status reported by the wireless temperature and vibration sensor is normal, it is set to 1 and remains unchanged; if the current status reported by the wireless temperature and vibration sensor is abnormal, it is set to 2;

[0036] When calculating depth When it is 2, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 1; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 3;

[0037] When calculating depth When it is 3, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 1; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 3 and remains unchanged.

[0038] Preferably, in step S3, the reporting process during operation is analyzed and processed, specifically:

[0039] S31: Set the reporting depth , The value range is 0 to 4, a total of five values, among which,

[0040] 0 means only reporting the current status;

[0041] 1 means reporting temperature data, acceleration peak value, velocity effective value, displacement peak-to-peak value, and current status;

[0042] 2 means reporting temperature data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain characteristic data, and current status;

[0043] 3 means reporting temperature data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain characteristic data, frequency domain characteristic data, and current status;

[0044] 4 means reporting temperature data, original acceleration data, and current status. At this time, the host computer can restore the complete vibration waveform based on the original acceleration data for more accurate intelligent diagnosis and analysis;

[0045] S32: The reporting depth carried by the host computer when sending a response , is set to 0 in the initial situation after the monitoring system is deployed, that is, only the current status is reported. Later, during the operation of the system, the value of the reporting depth R is determined according to the following rules:

[0046] When reporting depth When it is 0, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 0 and remains unchanged; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 1;

[0047] When reporting depth When it is 1, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 0; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 2;

[0048] When reporting depth When it is 2, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 0; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 3;

[0049] When reporting depth When it is 3, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 0; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 4;

[0050] When reporting depth When it is 4, the host computer sets it to 0 after obtaining the complete vibration waveform, otherwise it is set to 4 and remains unchanged.

[0051] Preferably, after the wireless temperature and vibration sensor completes the calculation process and the reporting process, when the communication is normal, the host computer will receive the data reported by the wireless temperature and vibration sensor, and after receiving and processing, send a response to the wireless temperature and vibration sensor to confirm that the data reported by the wireless temperature and vibration sensor has been received.

[0052] Preferably, if the wireless temperature and vibration sensor cannot receive a correct response from the host computer, the wireless temperature and vibration sensor needs to resend the report. Before resending the report, the wireless temperature and vibration sensor uses the random number generator inside the main chip to generate a random number in the range of 0 to 1000, and then uses the random number as a delay time in milliseconds to perform a delayed wait. After the delay time expires, the report is resent and the host computer continues to wait for a response.

[0053] Preferably, in step S4, the dormancy process during operation is analyzed and processed, specifically:

[0054] If the wireless temperature and vibration sensor still cannot receive a correct response from the host computer after resending the report, the following actions are performed:

[0055] If the current status is normal, the wireless temperature and vibration sensor will enter sleep mode according to the stored reporting cycle as the timing time, that is, wait for the next reporting cycle to arrive, wake up again and report;

[0056] If the current state is abnormal, the wireless temperature and vibration sensor uses the random number generator inside the main chip to generate a random number between 1 and A random number in the range, One third of the reporting cycle, the random number is used as the timing time to sleep, and after the timing time is up, it wakes up again and reports;

[0057] If the report is successful after random sleep, or if the report is still not successful after three consecutive random sleeps, the wireless temperature and vibration sensor will resume using the stored reporting cycle as the timing time instead of the randomly generated time.

[0058] Compared with the prior art, the beneficial effects of the present invention are:

[0059] 1. The present invention places the update reporting cycle in the host computer response message, comprehensively considering the attributes of the monitored equipment and the current actual operating conditions, not only has a certain adaptive adjustment ability, but also is more reasonable and flexible, avoiding the inconvenience caused by the user setting one by one and the host computer sending configuration parameters separately under normal circumstances, and improving the operating efficiency of the monitoring system;

[0060] 2. The present invention uses calculation depth and reporting depth to control which data are calculated and which data are reported. Compared with the usual method of calculating and reporting all data, it not only improves work efficiency, but is also more precise and reasonable. For most monitored devices that operate normally, a large amount of calculation and data transmission can be avoided on the edge side of the monitoring system, which improves the operating efficiency of the wireless temperature and vibration sensor and reduces the burden on the server. For abnormal monitored devices, the host will automatically adjust the calculation depth and reporting depth, and after multiple confirmations of abnormal reports, it is more beneficial for system fault diagnosis and analysis.

[0061] 3. When the host computer sends a response, the present invention adopts a one-to-many response mode, which improves the reliability of communication for multiple wireless temperature and vibration sensors using the same communication frequency under the same LoRa gateway, especially when there are a large number of wireless temperature and vibration sensors, the improvement effect will be more obvious, and the overall operating efficiency will be improved;

[0062] 4. When the host computer sends a response, the present invention also informs the wireless temperature vibration sensor whether there is any subsequent configuration that needs to be sent. In most cases, it is not necessary to send the configuration frequently. Therefore, after receiving the response, the wireless temperature vibration sensor will immediately enter sleep mode, avoiding the waste of running power consumption caused by not knowing whether there is any subsequent configuration that needs to be sent and continuing to run and wait;

[0063] 5. The present invention adopts a random delay retransmission method, which can effectively avoid data conflicts between wireless temperature and vibration sensors with the same frequency, and even if multiple wireless temperature and vibration sensors have the same reporting period, after random delay, the reporting time will gradually stagger;

[0064] 6. The present invention adopts a random time sleep mode, which can make the wireless temperature vibration sensor avoid interference from the outside world to a certain extent, and can also shorten the response time of discovering abnormalities when the current state is abnormal. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 It is a schematic diagram of the wireless temperature vibration detection system of the present invention;

[0066] Figure 2 It is a schematic diagram of the structure of the wireless temperature vibration sensor of the present invention;

[0067] Figure 3 It is a schematic diagram of the working process of the wireless temperature vibration sensor of the present invention;

[0068] Figure 4 It is a flow chart of the control method based on the wireless temperature vibration detection system of the present invention. DETAILED DESCRIPTION

[0069] The present invention will be further described below in conjunction with specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention. In addition, it should be understood that after reading the content taught by the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms fall within the scope limited by the application equally.

[0070] Example:

[0071] like Figure 1 As shown, this embodiment provides a wireless temperature vibration monitoring system, including: a plurality of wireless temperature vibration sensors, a LoRa gateway and a host computer, wherein the plurality of wireless temperature vibration sensors and the LoRa gateway perform two-way communication via wireless LoRa, and the LoRa gateway and the host computer perform two-way communication via wired Ethernet;

[0072] Among them, the host computer is deployed in the user's computer room or monitoring room, and consists of data communication service processing, database, diagnosis analysis, front-end page and other parts;

[0073] The LoRa gateway is installed near the monitored industrial equipment. It is connected to the host computer via wired Ethernet and to the wireless temperature and vibration sensor via wireless LoRa communication to achieve remote transmission of field data and forward data between the host computer and the wireless temperature and vibration sensor.

[0074] The wireless temperature and vibration sensor is installed on the monitored industrial equipment to collect, calculate and report the on-site data. The wireless temperature and vibration sensor consists of a battery and power supply unit, a main chip, a temperature and vibration detection unit, a wireless LoRa communication unit and other parts. The main chip is integrated with an internal Flash module. In addition to storing executable programs, it can also store configuration parameters without losing power. The main chip is also integrated with an RTC clock module, which has the function of waking up the main chip at a fixed time. In addition, the main chip is also integrated with a random number generator module, which has the function of generating random numbers. The wireless temperature and vibration sensor is Figure 2 shown.

[0075] The wireless temperature and vibration sensor has two operating states: sleep and working:

[0076] The wireless temperature and vibration sensor is usually in a dormant state. In order to reduce power consumption as much as possible, the power supply of the temperature and vibration detection unit and the wireless LoRa communication unit will be turned off, and the main chip itself will enter a low-power mode. The internal RTC clock module will keep timing active until the set timing time is reached, and then the main chip will be awakened from the dormant state and enter the working state;

[0077] When in working state, the wireless temperature and vibration sensor collects temperature and vibration data in real time. After calculation and processing, the data and calculation results are reported to the LoRa gateway through the wireless LoRa communication unit. After the LoRa gateway receives the data reported by the wireless temperature and vibration sensor, it forwards it to the host computer through wired Ethernet communication. After the host computer receives and processes it, it sends a response to the LoRa gateway. The LoRa gateway then forwards the response to the wireless temperature and vibration sensor through wireless LoRa communication. After receiving the response, the wireless temperature and vibration sensor confirms that the report is successful and completes this round of reporting. If the wireless temperature and vibration sensor does not receive the correct response, it will resend it up to three times. If the resending fails, this round of reporting will also end. Finally, the wireless temperature and vibration sensor enters the sleep state again until the next wake-up, and the cycle runs over and over again. The working process is as follows: Figure 3 shown.

[0078] like Figure 4 As shown, this embodiment also provides a control method based on the above wireless temperature and vibration monitoring system, comprising the following steps:

[0079] S1: Determine a reporting period of the wireless temperature and vibration sensor, where the reporting period is specifically: the duration of a work process of the wireless temperature and vibration sensor performing one wake-up, collection, calculation, reporting and sleep;

[0080] S2: When the wireless temperature and vibration sensor is in working state, the calculation process in the operation process is analyzed and processed;

[0081] S3: When the wireless temperature and vibration sensor is in working state, the reporting process during operation is analyzed and processed;

[0082] S4: When the wireless temperature and vibration sensor is in the working state, the dormancy process in the running process is analyzed and processed.

[0083] Wherein, step S1 is specifically:

[0084] The reporting cycle is a time data, such as 1800 seconds (30 minutes), which determines how long the wireless temperature and vibration sensor performs the work process of wake-up, collection, calculation, reporting, and sleep. When entering sleep after the reporting is completed, the reporting cycle is used as the timing time of the RTC clock inside the main chip. After the timing time is up, the wireless temperature and vibration sensor will wake up again and perform the same work process as last time;

[0085] The value of the reporting period is determined according to the following rules:

[0086] The wireless temperature and vibration sensor sets a default reporting cycle at the factory. The reporting cycle is stored in the internal Flash of the main chip of the wireless temperature and vibration sensor and is not lost when the power is off. The wireless temperature and vibration sensor reports data during operation. When the host computer sends a response, it also carries a reporting cycle. After receiving the response, the wireless temperature and vibration sensor uses the reporting cycle carried in the response as the latest value, updates the storage in the internal Flash, and uses the updated reporting cycle as the timing time for subsequent sleep.

[0087] The reporting period carried by the host computer when sending a response , which is determined by the following two factors:

[0088] (1) is the attribute value of the monitored device , according to the importance and age of the monitored equipment, the attribute value of the monitored equipment Set to 1, 2, 3, 4, 5, a total of 5 values. The higher the importance and the older the monitored device, the The smaller the value, the more frequent the reporting is needed, and the faster the anomaly can be discovered;

[0089] (2) is the current status value of the monitored device According to the current real-time status and status change trend of the monitored device, the current status value of the monitored device Set to 1, 2, ..., 10, a total of 10 values. The host computer finds through diagnostic analysis that the higher the probability of abnormality in the current state, the higher the probability of abnormality. The smaller it is, the more frequent the reporting is needed, and the anomaly can be discovered faster next time. Finally, the reporting period T carried by the host computer when sending a response is calculated and determined according to the following formula:

[0090]

[0091] in, is the minimum value of the reporting period. is the maximum value of the reporting cycle. is the weight of the attribute value of the monitored device, ranging from 0% to 100%. is the weight of the current state value of the monitored device, ranging from 0% to 100%, and and The sum is 1, the above four data , , , These are system operation parameters that can be configured by the user in the host computer.

[0092] Step S2 is specifically:

[0093] When the wireless temperature and vibration sensor is in working state, it first collects temperature data and original acceleration data of N sampling points in three axes. Then, more data and status can be calculated based on the original acceleration data, including the following four types of calculations:

[0094] (1) Through comparison and integration operations, the peak value of acceleration, effective value of velocity, and peak-to-peak value of displacement are obtained;

[0095] (2) Through mathematical calculation, the time domain characteristic data of acceleration is obtained, including maximum value, minimum value, effective value, average value, average amplitude, root amplitude, peak value, peak-to-peak value, inclination, kurtosis, etc.;

[0096] (3) Through Fourier transform, the frequency domain characteristic data of acceleration is obtained, including the spectrum, the energy accumulation value in each frequency band, etc.

[0097] (4) Based on the preset threshold range, the temperature data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain characteristic data, and frequency domain characteristic data are partially or completely judged to obtain the current state. If all data do not exceed the set threshold range, the current state is considered normal. If any data exceeds the set threshold range, the current state is considered abnormal.

[0098] When the wireless temperature and vibration sensor performs calculations, what calculations are performed by the calculation depth The wireless temperature and vibration sensor is set with a default calculation depth when it leaves the factory. It is stored in the internal Flash of the main chip of the wireless temperature and vibration sensor and will not be lost when the power is off. After the wireless temperature and vibration sensor reports data during operation, the host computer will also carry a calculation depth when sending a response. After receiving the response, the wireless temperature and vibration sensor will use the calculation depth carried in the response as the latest value, update the storage in the internal Flash, and use the updated calculation depth as the basis for subsequent calculations;

[0099] Calculating Depth The value range is 0~3, with a total of 4 values, and their meanings are as follows:

[0100] 0 means no calculation is required. At this time, the wireless temperature and vibration sensor has temperature data and raw acceleration data, which are all collected without mathematical calculation processing;

[0101] 1 means performing calculations of (1) and (4). At this time, the wireless temperature and vibration sensor has temperature data, original acceleration data, acceleration peak value, velocity effective value, displacement peak-to-peak value, and current state;

[0102] 2 means performing calculations of (1), (2), and (4). At this time, the wireless temperature and vibration sensor has temperature data, original acceleration data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain characteristic data, and current state;

[0103] 3 means performing calculations of (1), (2), (3), and (4). At this time, the wireless temperature and vibration sensor has temperature data, original acceleration data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain feature data, frequency domain feature data, and current status;

[0104] The calculation depth carried by the host computer when sending a response , is set to 1 in the initial situation after the monitoring system is deployed, and then during the operation of the system, the depth is calculated The value of is determined according to the following rules:

[0105] (1) When calculating depth When it is 1, if the current status reported by the wireless temperature and vibration sensor is normal, it is set to 1 and remains unchanged; if the current status reported by the wireless temperature and vibration sensor is abnormal, it is set to 2;

[0106] (2) When calculating depth When it is 2, if the current status reported by the wireless temperature and vibration sensor is normal, it is set to 1; if the current status reported by the wireless temperature and vibration sensor is abnormal, it is set to 3;

[0107] (3) When calculating depth When it is 3, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 1; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 3 and remains unchanged.

[0108] The step S3 is specifically:

[0109] After completing the calculation, the wireless temperature and vibration sensor will report the data and status. The specific content of the report is determined by the reporting depth. The wireless temperature and vibration sensor is set with a default reporting depth when it leaves the factory. It is stored in the internal Flash of the main chip of the wireless temperature and vibration sensor and will not be lost when the power is off. After the wireless temperature and vibration sensor reports data during operation, the host computer will also carry a reporting depth when sending a response. After receiving the response, the wireless temperature and vibration sensor will use the reporting depth carried in the response as the latest value, update the storage in the internal Flash, and use the updated reporting depth as the basis for subsequent reporting;

[0110] Reporting Depth The value range is 0~4, with a total of 5 values, and their meanings are as follows:

[0111] 0 means only reporting the current status;

[0112] 1 means reporting temperature data, acceleration peak value, velocity effective value, displacement peak-to-peak value, and current status;

[0113] 2 means reporting temperature data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain characteristic data, and current status;

[0114] 3 means reporting temperature data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain characteristic data, frequency domain characteristic data, and current status;

[0115] 4 means reporting temperature data, original acceleration data, and current status. At this time, the host computer can restore the complete vibration waveform based on the original acceleration data for more accurate intelligent diagnosis and analysis;

[0116] The reporting depth carried by the host computer when sending a response , is set to 0 in the initial situation after the monitoring system is deployed, that is, only the current status is reported. Later, during the operation of the system, the depth is reported. The value of is determined according to the following rules:

[0117] (1) When reporting depth When it is 0, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 0 and remains unchanged; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 1;

[0118] (2) When reporting depth When it is 1, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 0; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 2;

[0119] (3) When reporting depth When it is 2, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 0; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 3;

[0120] (4) When reporting depth When it is 3, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 0; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 4;

[0121] (5) When reporting depth When it is 4, the host computer sets it to 0 after obtaining the complete vibration waveform, otherwise it is set to 4 and remains unchanged.

[0122] After the wireless temperature and vibration sensor completes calculation and reporting, if the communication is normal, the host computer will receive the data reported by the wireless temperature and vibration sensor, and after receiving and processing, send a response to the wireless temperature and vibration sensor to confirm that the data reported by the wireless temperature and vibration sensor has been received;

[0123] In addition to the function of confirming receipt, the reply message has two other functions:

[0124] (1) The host computer adjusts the reporting cycle of the wireless temperature and vibration sensor in real time according to the current actual status , calculate depth , Report Depth ,As mentioned before, if a communication anomaly occurs, the wireless temperature and vibration sensor will eventually fail to receive the correct response message. At this time, the wireless temperature and vibration sensor can operate according to the previously stored values;

[0125] (2) Since the host computer supports users to set and adjust the configuration parameters of the wireless temperature and vibration sensor, such as the number of sampling points, if the user modifies the configuration parameters on the host computer page, the host computer needs to send the settings after the wireless temperature and vibration sensor reports.

[0126] Therefore, the host computer will carry a flag in the response message to indicate whether there is any subsequent configuration to be sent. The value range is 0~1, with a total of 2 values, and their meanings are as follows:

[0127] A value of 0 indicates that no subsequent configuration needs to be sent. After receiving this flag, the wireless temperature and vibration sensor will immediately enter sleep mode and no longer wait to save energy.

[0128] The value 1 indicates that there will be subsequent configuration delivery. After receiving this flag, the wireless temperature and vibration sensor will not enter sleep mode temporarily. It will wait for up to 5 seconds to receive subsequent configurations. If there are any, it will process them. If the 5 seconds timeout, it will enter sleep mode.

[0129] In the actual operation environment, there are generally a large number of wireless temperature and vibration sensors. The host computer may receive data reported by multiple wireless temperature and vibration sensors within a certain continuous time. At this time, the host computer uses the sliding window principle to respond to multiple wireless temperature and vibration sensors with the same communication frequency and reported within a certain period of time in the past, that is, in the same response message, the response data of multiple wireless temperature and vibration sensors are carried. For example, when the time width of the sliding window is set to 5s, when the nth wireless temperature and vibration sensor reports, the host computer responds to it. In addition to the response sent to the nth wireless temperature and vibration sensor, the response message also includes the responses sent to the n-1th and n-2th wireless temperature and vibration sensors with the same communication frequency and reported within the past 5s. The number of previous wireless temperature and vibration sensors can be 0, and can be up to 9. More than 9 are ignored and not included in the response message.

[0130] The host computer uses a one-to-many response method, which is equivalent to sending the response multiple times, increasing the reception opportunities for the wireless sensor, and can effectively avoid the loss of the response message and the wireless temperature and vibration sensor reporting again. Although the length of the response message will increase, since the LoRa gateway is powered by AC power, there is no need to consider power consumption. Compared with the wireless temperature and vibration sensor resending the report and the host computer responding again, it obviously has more advantages than disadvantages.

[0131] After the wireless temperature and vibration sensor completes the calculation and reporting, under normal communication conditions, the wireless temperature and vibration sensor will receive a response from the host computer. However, in actual environments, due to various factors, the wireless temperature and vibration sensor may not receive a correct response. At this time, the wireless temperature and vibration sensor needs to resend the report. Before resending the report, the wireless temperature and vibration sensor uses the random number generator inside the main chip to generate a random number in the range of 0 to 1000, and then uses the random number as the delay time in milliseconds to perform a delay wait. After the delay time is up, the report is resent and continues to wait for a response from the host computer.

[0132] When the wireless temperature and vibration sensor sends a report for the first time, it may conflict with other wireless temperature and vibration sensors of the same frequency. Then, after the same timeout waiting time, if both resend immediately without random delay, the two are likely to conflict again. Therefore, by retransmitting with random delay, data conflicts between wireless temperature and vibration sensors of the same frequency can be avoided. Moreover, even if multiple wireless temperature and vibration sensors have the same reporting cycle, they will be staggered at the absolute time point through random delay during operation, and finally report at different times.

[0133] The step S4 is specifically:

[0134] In some extreme cases, the wireless temperature and vibration sensor may not receive the response sent by the host computer even after multiple retransmissions, such as due to external interference. At this time, the wireless temperature and vibration sensor takes the next step based on the current state calculated:

[0135] (1) If the current status is normal, the wireless temperature and vibration sensor will enter sleep mode according to the stored reporting cycle as the timing time, that is, wait for the next reporting cycle to arrive, wake up again and report;

[0136] (2) If the current state is abnormal, the wireless temperature and vibration sensor uses the random number generator inside the main chip to generate a 1~ A random number in the range, One third of the reporting cycle, and then use the random number as the timing time to sleep, and wake up again and report after the timing time is up;

[0137] (3) If the report is successful after random sleep, or if the report is still not successful after three consecutive random sleeps, the wireless temperature and vibration sensor will resume using the stored reporting cycle as the timing time instead of the randomly generated time.

[0138] When the current state of the wireless temperature and vibration sensor is abnormal, it adopts a random time sleep mode, which can avoid external interference with a certain duration to a certain extent, and there is no need to wait for the next reporting cycle. The abnormal situation can be reported to the host computer in a shorter time, thereby improving the response speed of the monitoring system.

[0139] It should be noted that the specific embodiments of the present invention have been described in detail. For those skilled in the art, various obvious changes are within the protection scope of the present invention without departing from the spirit and scope of the present invention.

Claims

1. A wireless temperature vibration monitoring and control method, characterized in that: The following steps are involved: S1: Determine the operation process and reporting cycle of the wireless temperature vibration sensor, the operation process includes: wake-up, collection, calculation, reporting and sleep; the reporting cycle is specifically: the duration of the wireless temperature vibration sensor to perform the operation process of wake-up, collection, calculation, reporting and sleep; determine the reporting cycle of the wireless temperature vibration sensor, specifically: S11: Determine the attribute value of the monitored device Specifically: According to the importance and age of the monitored equipment, Set to five values ​​from 1 to 5; S12: Determine the current status value of the monitored device Specifically: according to the current real-time status and status change trend of the monitored equipment, Set to ten values ​​from 1 to 10; S13: The calculation formula of the reporting period carried by the host computer when sending a response is as follows: in, is the minimum value of the reporting period. is the maximum value of the reporting cycle. is the weight of the attribute value of the monitored device, ranging from 0% to 100%. is the weight of the current state value of the monitored device, ranging from 0% to 100%, and and The sum is 1; S2: When the wireless temperature and vibration sensor is in working state, the calculation process in the operation process is analyzed and processed, specifically: S21: When the wireless temperature and vibration sensor is in working state, it collects temperature data and original acceleration data of N sampling points of three axes, and performs calculations based on the original acceleration data, including the following four types of calculations: The first type of calculation: by comparison and integration operations, the peak value of acceleration, the effective value of velocity and the peak-to-peak value of displacement are obtained; The second type of calculation: obtaining time domain characteristic data of acceleration through mathematical calculation, wherein the time domain characteristic data of acceleration includes maximum value, minimum value, effective value, average value, average amplitude, root amplitude, peak value, peak-to-peak value, inclination and kurtosis; The third type of calculation: obtaining frequency domain characteristic data of acceleration through Fourier transform, wherein the frequency domain characteristic data of acceleration includes the spectrum and the energy accumulation value in each frequency band; The fourth type of calculation: Combined with the preset threshold range, the temperature data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain feature data, and frequency domain feature data are judged to obtain the current state; S22: Set the calculated depth value , and according to Determine the type of calculation performed by the wireless temperature and vibration sensor during the calculation process, specifically: set up The value range is 0 to 3, a total of four values, when When the value of is 0, it means that the wireless temperature and vibration sensor does not need to be calculated. At this time, the wireless temperature and vibration sensor has temperature data and original acceleration data, which are all collected and not processed by mathematical calculations. when When the value of is 1, it indicates that the first and fourth types of calculations are performed. At this time, the wireless temperature and vibration sensor has temperature data, original acceleration data, acceleration peak value, velocity effective value, displacement peak-to-peak value, and current state; when When the value of is 2, it indicates that the first, second, and fourth types of calculations are performed. At this time, the wireless temperature and vibration sensor has temperature data, original acceleration data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain characteristic data, and current state; when When the value of is 3, it means that the first, second, third, and fourth types of calculations are performed. At this time, the wireless temperature and vibration sensor has temperature data, original acceleration data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain feature data, frequency domain feature data, and current status; The calculation depth carried by the host computer when sending a response , is set to 1 in the initial situation after the monitoring system is deployed, and then during the operation of the system, the depth is calculated The value of is determined according to the following rules: When calculating depth When it is 1, if the current status reported by the wireless temperature and vibration sensor is normal, it is set to 1 and remains unchanged; if the current status reported by the wireless temperature and vibration sensor is abnormal, it is set to 2; When calculating depth When it is 2, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 1; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 3; When calculating depth When it is 3, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 1; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 3 and remains unchanged; S3: When the wireless temperature and vibration sensor is in working state, the reporting process during operation is analyzed and processed, specifically: S31: Set the reporting depth , The value range is 0 to 4, a total of five values, among which, 0 means only reporting the current status; 1 means reporting temperature data, acceleration peak value, velocity effective value, displacement peak-to-peak value, and current status; 2 means reporting temperature data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain characteristic data, and current status; 3 means reporting temperature data, acceleration peak value, velocity effective value, displacement peak-to-peak value, time domain characteristic data, frequency domain characteristic data, and current status; 4 means reporting temperature data, original acceleration data, and current status. At this time, the host computer can restore the complete vibration waveform based on the original acceleration data for more accurate intelligent diagnosis and analysis; S32: The reporting depth carried by the host computer when sending a response , is set to 0 in the initial situation after the monitoring system is deployed, that is, only the current status is reported. Later, during the operation of the system, the value of the reporting depth R is determined according to the following rules: When reporting depth When it is 0, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 0 and remains unchanged; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 1; When reporting depth When it is 1, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 0; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 2; When reporting depth When it is 2, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 0; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 3; When reporting depth When it is 3, if the current state reported by the wireless temperature and vibration sensor is normal, it is set to 0; if the current state reported by the wireless temperature and vibration sensor is abnormal, it is set to 4; When reporting depth When it is 4, the host computer will set it to 0 after obtaining the complete vibration waveform, otherwise it will be set to 4 unchanged; S4: When the wireless temperature and vibration sensor is in the working state, the dormancy process in the running process is analyzed and processed.

2. A wireless temperature vibration monitoring and control method according to claim 1, characterized in that: After the wireless temperature vibration sensor completes the calculation process and the reporting process, when the communication is normal, the host computer will receive the data reported by the wireless temperature vibration sensor, and after receiving and processing, send a response to the wireless temperature vibration sensor to confirm that the data reported by the wireless temperature vibration sensor has been received.

3. A wireless temperature vibration monitoring and control method according to claim 2, characterized in that: If the wireless temperature and vibration sensor cannot receive the correct response from the host computer, the wireless temperature and vibration sensor needs to resend the report. Before resending the report, the wireless temperature and vibration sensor uses the random number generator inside the main chip to generate a random number in the range of 0 to 1000, and then uses the random number as the delay time in milliseconds to perform a delay wait. After the delay time is up, the wireless temperature and vibration sensor resends the report and continues to wait for the response from the host computer.

4. A wireless temperature vibration monitoring and control method according to claim 3, characterized in that: In step S4, the dormancy process during operation is analyzed and processed, specifically: If the wireless temperature and vibration sensor still cannot receive a correct response from the host computer after resending the report, the following actions are performed: If the current status is normal, the wireless temperature and vibration sensor will enter sleep mode according to the stored reporting cycle as the timing time, that is, wait for the next reporting cycle to arrive, wake up again and report; If the current state is abnormal, the wireless temperature and vibration sensor uses the random number generator inside the main chip to generate a random number between 1 and A random number in the range, One third of the reporting cycle, the random number is used as the timing time to sleep, and after the timing time is up, it wakes up again and reports; If the report is successful after random sleep, or if the report is still not successful after three consecutive random sleeps, the wireless temperature and vibration sensor will resume using the stored reporting cycle as the timing time instead of the randomly generated time.

Citation Information

Patent Citations

  • Wireless temperature vibration sensor, wireless monitoring system and periodic working method thereof

    CN117629282A

  • Clock control method and device, electronic equipment and computer readable storage medium

    CN118605691A