Factory environment temperature detection system based on wireless sensor network

文档序号:904355 发布日期:2021-02-26 浏览:13次 中文

阅读说明:本技术 一种基于无线传感器网络的工厂环境温度检测系统 (Factory environment temperature detection system based on wireless sensor network ) 是由 董云春 于 2020-12-07 设计创作,主要内容包括:本发明公开了一种基于无线传感器网络的工厂环境温度检测系统,本发明涉及工厂环境温度检测技术领域,解决了现有技术中,不能够对工厂内环境的温度进行检测,导致生产的安全性能降低的技术问题,通过温度检测单元分析温度数据,从而对工厂内环境的温度进行检测,获取到工厂内环境的平均温度、工厂内环境全天最高温度与最低温度的差值以及工厂内环境温度的改变速度,通过公式获取到工厂环境的温度检测系数,若工厂环境的温度检测系数XW<温度检测阈值,生成温度异常信号并将温度异常信号发送至监察人员的手机终端;通过分析温度数据对工厂内的温度进行检测,提高了生产的安全性能,降低了出现生产事故的风险。(The invention discloses a factory environment temperature detection system based on a wireless sensor network, which relates to the technical field of factory environment temperature detection and solves the technical problem that the safety performance of production is reduced because the temperature of the factory environment cannot be detected in the prior art, wherein a temperature detection unit is used for analyzing temperature data so as to detect the temperature of the factory environment, obtain the average temperature of the factory environment, the difference value between the whole-day highest temperature and the lowest temperature of the factory environment and the change speed of the factory environment temperature, obtain the temperature detection coefficient of the factory environment through a formula, and generate a temperature abnormal signal and send the temperature abnormal signal to a mobile phone terminal of a monitoring person if the temperature detection coefficient XW of the factory environment is less than a temperature detection threshold; the temperature in a factory is detected by analyzing the temperature data, so that the safety performance of production is improved, and the risk of production accidents is reduced.)

1. A factory environment temperature detection system based on a wireless sensor network is characterized by comprising a server, a temperature detection unit, an environment detection unit, a prediction unit, a registration unit and a database;

the temperature detection unit is used for analyzing temperature data so as to detect the temperature of the environment in the factory, the temperature data is the average temperature of the environment in the factory, the difference value between the highest temperature and the lowest temperature all day and the change speed of the environment temperature in the factory, and the specific temperature detection process is as follows:

step one, acquiring the average temperature of the environment in a factory, and marking the average temperature of the environment in the factory as PW;

acquiring the difference value of the highest temperature and the lowest temperature of the environment in the factory all day, and marking the difference value of the highest temperature and the lowest temperature of the environment in the factory all day as CW;

acquiring the change speed of the environment temperature in the factory, and marking the change speed of the environment temperature in the factory as GW;

step four, passing through a formulaAcquiring a temperature detection coefficient XW of a factory environment, wherein c1, c2 and c3 are preset proportionality coefficients, c1 is larger than c2 and is larger than c3 and is larger than 0, and beta is an error correction factor and is 1.9635262;

step five, comparing the temperature detection coefficient XW of the factory environment with a temperature detection threshold value:

if the temperature detection coefficient XW of the factory environment is larger than or equal to the temperature detection threshold, judging that the temperature in the factory is normal, generating a normal temperature signal and sending the normal temperature signal to a mobile phone terminal of a manager;

and if the temperature detection coefficient XW of the factory environment is less than the temperature detection threshold, judging that the temperature in the factory is abnormal, generating a temperature abnormal signal and sending the temperature abnormal signal to the mobile phone terminal of the monitoring personnel.

2. The system as claimed in claim 1, wherein the registration and login unit is configured to allow managers and supervisors to submit manager information and supervisor information via mobile phone terminals for registration, and to send the manager information and the supervisor information that are successfully registered to the database for storage, the manager information including names, ages, time of entry of the managers and mobile phone numbers for real-name authentication of the managers, and the supervisor information including names, ages, time of entry of the supervisors and mobile phone numbers for real-name authentication of the supervisors.

3. The system according to claim 1, wherein the environment detection unit is configured to analyze environment data, such as dust content in air of the plant and humidity value in air of the plant, so as to detect the environment in the plant, and the analyzing and detecting processes are as follows:

step S1: acquiring the dust content in the air in the factory, and marking the dust content in the air in the factory as HO;

step S2: acquiring a humidity value in air in a factory, and marking the humidity value in the air in the factory as SO;

step S3: by the formula HJ ═ α (HO × b1+ SO × b2)b1+b2Acquiring an environment detection coefficient HJ in a factory, wherein b1 and b2 are preset proportional coefficients, b1 is greater than b2 is greater than 0, and alpha is an error correction factor and is 2.302365412;

step S4, comparing the in-plant environment detection coefficient HJ with L1 and L2 respectively, wherein L1 and L2 are both environment detection coefficient threshold values, and L1 > L2:

if the in-plant environment detection coefficient HJ is larger than or equal to L1, judging that the in-plant environment data is excellent, and marking the plant as a primary environment plant;

if the L2 is less than the in-plant environment detection coefficient HJ is less than L1, judging that the in-plant environment data is good, and marking the plant as a secondary environment plant;

if the in-plant environment detection coefficient HJ is less than or equal to L2, judging that the in-plant environment data is general, and marking the plant as a three-level environment plant;

and step S5, sending the primary environment factory, the secondary environment factory and the tertiary environment factory to a database for storage.

4. The system according to claim 1, wherein the prediction unit is configured to analyze the ambient temperature in the plant to predict the plant ambient temperature, and the analyzing and predicting process includes:

obtaining the average temperature of the environment in the factory within one month and marking as Ti, i ═ 1, 2...., 30; setting the average temperature of one month as a set A { T1, T2,......, T30} according to the sequence of time, and performing difference calculation on adjacent average temperatures, namely a set A 'T2-T1, T3-T2,......, T30-T29}, marking A' T1, T2,......., T29} after finishing calculation, comparing the values in the set A 'T1, T2,....., T29} with zero, marking as 1 if the values are greater than zero, marking as 0 if the values are greater than 29, then acquiring the number of 1 s and 0 s in the set A', predicting that the ambient temperature in the plant is in an ascending trend if the number of 1 s is greater than 0, predicting that the ambient temperature in the plant is in a quantity of < 0, decreasing the number of 1 s in a quantity of thirty days, comparing the trend of the first day with the temperature of thirty days, if the difference is larger than zero, the environmental temperature in the factory is predicted to be in an ascending trend, if the difference is smaller than zero, the environmental temperature in the factory is predicted to be in a descending trend, and if the difference is equal to zero, the environmental temperature in the factory is predicted to be in a leveling trend.

Technical Field

The invention relates to the technical field of factory environment temperature detection, in particular to a factory environment temperature detection system based on a wireless sensor network.

Background

In daily life and industrial and agricultural production, people often need use the detection and the control of temperature, and the many temperature control system who popularizes and apply at present adopts resistance-type temperature sensor more, and measurement accuracy is low, needs AD conversion and more external hardware support, and the electricity is slightly complicated, and the discreteness is big, and the temperature reaction is slow.

The patent with publication number CN110864825A discloses a temperature detection system, which specifically comprises at least one cabinet body and a data processing unit; each cabinet body comprises at least one chamber and a temperature sensor, and the temperature sensor is arranged in each cabinet body andor each chamber; the data processing unit is respectively connected with each temperature measuring sensor through a network, collects the temperature signal of each temperature measuring sensor, and performs analysis, diagnosis and result output display. Through the technical scheme provided by the invention, the temperature of the power equipment can be conveniently detected, the requirement of the temperature measuring sensor is reduced, the cost is low, the construction is simple, and the installation and maintenance can be carried out under the condition of no power failure.

However, in this patent, the temperature of the environment in the factory cannot be detected, which leads to a reduction in the safety of production and an increased risk of production accidents.

Disclosure of Invention

The invention aims to provide a factory environment temperature detection system based on a wireless sensor network, which is characterized in that a temperature detection unit is used for analyzing temperature data so as to detect the temperature of the environment in a factory, the average temperature of the environment in the factory, the difference value of the highest temperature and the lowest temperature of the environment in the factory all day and the change speed of the environment temperature in the factory are obtained, a temperature detection coefficient XW of the environment in the factory is obtained through a formula, if the temperature detection coefficient XW of the environment in the factory is less than a temperature detection threshold value, the temperature in the factory is judged to be abnormal, a temperature abnormal signal is generated, and the temperature abnormal signal is sent to a mobile phone terminal of a supervisor; the temperature in a factory is detected by analyzing the temperature data, so that the safety performance of production is improved, and the risk of production accidents is reduced.

The purpose of the invention can be realized by the following technical scheme:

a factory environment temperature detection system based on a wireless sensor network comprises a server, a temperature detection unit, an environment detection unit, a prediction unit, a registration unit and a database;

the temperature detection unit is used for analyzing temperature data so as to detect the temperature of the environment in the factory, the temperature data is the average temperature of the environment in the factory, the difference value between the highest temperature and the lowest temperature all day and the change speed of the environment temperature in the factory, and the specific temperature detection process is as follows:

step one, acquiring the average temperature of the environment in a factory, and marking the average temperature of the environment in the factory as PW;

acquiring the difference value of the highest temperature and the lowest temperature of the environment in the factory all day, and marking the difference value of the highest temperature and the lowest temperature of the environment in the factory all day as CW;

acquiring the change speed of the environment temperature in the factory, and marking the change speed of the environment temperature in the factory as GW;

step four, passing through a formulaAcquiring a temperature detection coefficient XW of a factory environment, wherein c1, c2 and c3 are preset proportionality coefficients, c1 is larger than c2 and is larger than c3 and is larger than 0, and beta is an error correction factor and is 1.9635262;

step five, comparing the temperature detection coefficient XW of the factory environment with a temperature detection threshold value:

if the temperature detection coefficient XW of the factory environment is larger than or equal to the temperature detection threshold, judging that the temperature in the factory is normal, generating a normal temperature signal and sending the normal temperature signal to a mobile phone terminal of a manager;

and if the temperature detection coefficient XW of the factory environment is less than the temperature detection threshold, judging that the temperature in the factory is abnormal, generating a temperature abnormal signal and sending the temperature abnormal signal to the mobile phone terminal of the monitoring personnel.

Further, the registration and login unit is used for the manager and the supervisor to submit the manager information and the supervisor information through the mobile phone terminal for registration, and to send the manager information and the supervisor information which are successfully registered to the database for storage, wherein the manager information comprises the name, the age, the time of entry and the mobile phone number of real name authentication of the manager, and the supervisor information comprises the name, the age, the time of entry and the mobile phone number of real name authentication of the supervisor.

Further, the environment detection unit is configured to analyze environment data to detect an environment in the factory, where the environment data includes a dust content in air in the factory and a humidity value in the air in the factory, and the specific analysis and detection process includes:

step S1: acquiring the dust content in the air in the factory, and marking the dust content in the air in the factory as HO;

step S2: acquiring a humidity value in air in a factory, and marking the humidity value in the air in the factory as SO;

step S3: by the formula HJ ═ α (HO × b1+ SO × b2)b1+b2Acquiring an environment detection coefficient HJ in a factory, wherein b1 and b2 are preset proportional coefficients, b1 is greater than b2 is greater than 0, and alpha is an error correction factor and is 2.302365412;

step S4, comparing the in-plant environment detection coefficient HJ with L1 and L2 respectively, wherein L1 and L2 are both environment detection coefficient threshold values, and L1 > L2:

if the in-plant environment detection coefficient HJ is larger than or equal to L1, judging that the in-plant environment data is excellent, and marking the plant as a primary environment plant;

if the L2 is less than the in-plant environment detection coefficient HJ is less than L1, judging that the in-plant environment data is good, and marking the plant as a secondary environment plant;

if the in-plant environment detection coefficient HJ is less than or equal to L2, judging that the in-plant environment data is general, and marking the plant as a three-level environment plant;

and step S5, sending the primary environment factory, the secondary environment factory and the tertiary environment factory to a database for storage.

Further, the prediction unit is configured to analyze an ambient temperature in the plant, so as to predict the plant ambient temperature, where the specific analysis and prediction process is as follows:

obtaining the average temperature of the environment in the factory within one month and marking as Ti, i ═ 1, 2...., 30; setting the average temperature of one month as a set A { T1, T2,......, T30} according to the sequence of time, and performing difference calculation on adjacent average temperatures, namely a set A 'T2-T1, T3-T2,......, T30-T29}, marking A' T1, T2,......., T29} after finishing calculation, comparing the values in the set A 'T1, T2,....., T29} with zero, marking as 1 if the values are greater than zero, marking as 0 if the values are greater than 29, then acquiring the number of 1 s and 0 s in the set A', predicting that the ambient temperature in the plant is in an ascending trend if the number of 1 s is greater than 0, predicting that the ambient temperature in the plant is in a quantity of < 0, decreasing the number of 1 s in a quantity of thirty days, comparing the trend of the first day with the temperature of thirty days, if the difference is larger than zero, the environmental temperature in the factory is predicted to be in an ascending trend, if the difference is smaller than zero, the environmental temperature in the factory is predicted to be in a descending trend, and if the difference is equal to zero, the environmental temperature in the factory is predicted to be in a leveling trend.

Compared with the prior art, the invention has the beneficial effects that:

1. according to the method, temperature data are analyzed through a temperature detection unit, so that the temperature of the environment in the factory is detected, the average temperature of the environment in the factory, the difference value between the highest temperature and the lowest temperature of the environment in the factory all day and the change speed of the environment temperature in the factory are obtained, the temperature detection coefficient XW of the environment in the factory is obtained through a formula, if the temperature detection coefficient XW of the environment in the factory is larger than or equal to a temperature detection threshold value, the temperature in the factory is judged to be normal, a normal temperature signal is generated, and the normal temperature signal is sent to a mobile phone terminal of a manager; if the temperature detection coefficient XW of the factory environment is smaller than the temperature detection threshold, judging that the temperature in the factory is abnormal, generating a temperature abnormal signal and sending the temperature abnormal signal to a mobile phone terminal of a supervisor; the temperature in a factory is detected by analyzing the temperature data, so that the safety performance of production is improved, and the risk of production accidents is reduced;

2. according to the method, the environmental temperature in the factory is analyzed through a prediction unit, so that the environmental temperature of the factory is predicted, the average temperature of the environment in the factory in one month is obtained and is marked as Ti, i is 1, 2, and the like; setting the average temperature of one month as a set A { T1, T2,......, T30} according to the sequence of time, and performing difference calculation on adjacent average temperatures, namely a set A 'T2-T1, T3-T2,......, T30-T29}, marking A' T1, T2,......., T29} after finishing calculation, comparing the values in the set A 'T1, T2,....., T29} with zero, marking as 1 if the values are greater than zero, marking as 0 if the values are greater than 29, then acquiring the number of 1 s and 0 s in the set A', predicting that the ambient temperature in the plant is in an ascending trend if the number of 1 s is greater than 0, predicting that the ambient temperature in the plant is in a quantity of < 0, decreasing the number of 1 s in a quantity of thirty days, comparing the trend of the first day with the temperature of thirty days, if the difference is larger than zero, predicting that the ambient temperature in the factory is in an ascending trend, if the difference is smaller than zero, predicting that the ambient temperature in the factory is in a descending trend, and if the difference is equal to zero, predicting that the ambient temperature in the factory is in a leveling trend; the temperature in a factory is predicted through the prediction unit, so that production accidents caused by overhigh temperature are effectively prevented, meanwhile, a good production environment is created, and the working efficiency is improved.

Drawings

In order to facilitate understanding for those skilled in the art, the present invention will be further described with reference to the accompanying drawings.

Fig. 1 is a schematic block diagram of the present invention.

Detailed Description

The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Referring to fig. 1, a factory environment temperature detection system based on a wireless sensor network includes a server, a temperature detection unit, an environment detection unit, a prediction unit, a registration unit, and a database;

the registration login unit is used for the manager and the supervisor to submit manager information and supervisor information through mobile phone terminals for registration, and the manager information and the supervisor information which are successfully registered are sent to the database for storage, the manager information comprises the name, the age, the time of entry and the mobile phone number of real-name authentication of the manager, and the supervisor information comprises the name, the age, the time of entry and the mobile phone number of real-name authentication of the supervisor;

the temperature detection unit is used for analyzing temperature data so as to detect the temperature of the environment in the factory, the temperature data is the average temperature of the environment in the factory, the difference value between the highest temperature and the lowest temperature all day and the change speed of the environment temperature in the factory, and the specific temperature detection process is as follows:

step one, acquiring the average temperature of the environment in a factory, and marking the average temperature of the environment in the factory as PW;

acquiring the difference value of the highest temperature and the lowest temperature of the environment in the factory all day, and marking the difference value of the highest temperature and the lowest temperature of the environment in the factory all day as CW;

acquiring the change speed of the environment temperature in the factory, and marking the change speed of the environment temperature in the factory as GW;

step four, passing through a formulaAcquiring a temperature detection coefficient XW of a factory environment, wherein c1, c2 and c3 are preset proportionality coefficients, c1 is larger than c2 and is larger than c3 and is larger than 0, and beta is an error correction factor and is 1.9635262;

step five, comparing the temperature detection coefficient XW of the factory environment with a temperature detection threshold value:

if the temperature detection coefficient XW of the factory environment is larger than or equal to the temperature detection threshold, judging that the temperature in the factory is normal, generating a normal temperature signal and sending the normal temperature signal to a mobile phone terminal of a manager;

if the temperature detection coefficient XW of the factory environment is smaller than the temperature detection threshold, judging that the temperature in the factory is abnormal, generating a temperature abnormal signal and sending the temperature abnormal signal to a mobile phone terminal of a supervisor;

the environment detection unit is used for analyzing environment data to detect the environment in a factory, the environment data are the dust content in the air in the factory and the humidity value in the air in the factory, and the specific analysis and detection process is as follows:

step S1: acquiring the dust content in the air in the factory, and marking the dust content in the air in the factory as HO;

step S2: acquiring a humidity value in air in a factory, and marking the humidity value in the air in the factory as SO;

step S3: by the formula HJ ═ α (HO × b1+ SO × b2)b1+b2Acquiring an environment detection coefficient HJ in a factory, wherein b1 and b2 are preset proportional coefficients, b1 is greater than b2 is greater than 0, and alpha is an error correction factor and is 2.302365412;

step S4, comparing the in-plant environment detection coefficient HJ with L1 and L2 respectively, wherein L1 and L2 are both environment detection coefficient threshold values, and L1 > L2:

if the in-plant environment detection coefficient HJ is larger than or equal to L1, judging that the in-plant environment data is excellent, and marking the plant as a primary environment plant;

if the L2 is less than the in-plant environment detection coefficient HJ is less than L1, judging that the in-plant environment data is good, and marking the plant as a secondary environment plant;

if the in-plant environment detection coefficient HJ is less than or equal to L2, judging that the in-plant environment data is general, and marking the plant as a three-level environment plant;

step S5, sending the primary environment factory, the secondary environment factory and the tertiary environment factory to a database for storage;

the prediction unit is used for analyzing the environmental temperature in the factory so as to predict the environmental temperature of the factory, and the specific analysis and prediction process is as follows:

obtaining the average temperature of the environment in the factory within one month and marking as Ti, i ═ 1, 2...., 30; setting the average temperature of one month as a set A { T1, T2,......, T30} according to the sequence of time, and performing difference calculation on adjacent average temperatures, namely a set A 'T2-T1, T3-T2,......, T30-T29}, marking A' T1, T2,......., T29} after finishing calculation, comparing the values in the set A 'T1, T2,....., T29} with zero, marking as 1 if the values are greater than zero, marking as 0 if the values are greater than 29, then acquiring the number of 1 s and 0 s in the set A', predicting that the ambient temperature in the plant is in an ascending trend if the number of 1 s is greater than 0, predicting that the ambient temperature in the plant is in a quantity of < 0, decreasing the number of 1 s in a quantity of thirty days, comparing the trend of the first day with the temperature of thirty days, if the difference is larger than zero, the environmental temperature in the factory is predicted to be in an ascending trend, if the difference is smaller than zero, the environmental temperature in the factory is predicted to be in a descending trend, and if the difference is equal to zero, the environmental temperature in the factory is predicted to be in a leveling trend.

The working principle of the invention is as follows:

the utility model provides a factory environment temperature detecting system based on wireless sensor network, at the during operation, through temperature detecting element analysis temperature data to detect the temperature of environment in the factory, obtain the average temperature of environment in the factory, the difference of the environment highest temperature all day in the factory and minimum temperature and the change speed of environment temperature in the factory, obtain the temperature detection coefficient XW of environment in the factory through the formula, compare the temperature detection coefficient XW and the temperature detection threshold value of environment in the factory: if the temperature detection coefficient XW of the factory environment is larger than or equal to the temperature detection threshold, judging that the temperature in the factory is normal, generating a normal temperature signal and sending the normal temperature signal to a mobile phone terminal of a manager; if the temperature detection coefficient XW of the factory environment is smaller than the temperature detection threshold, judging that the temperature in the factory is abnormal, generating a temperature abnormal signal and sending the temperature abnormal signal to a mobile phone terminal of a supervisor;

analyzing the ambient temperature in the plant by a prediction unit so as to predict the ambient temperature of the plant, acquiring the average temperature of the environment in the plant in one month, performing difference calculation on adjacent average temperatures, performing sorting calculation and marking the average temperatures as A ' { t1, t2,. once.e., t29}, comparing the values in the set A ' { t1, t2,. once.e., t29} with zero, if the values are greater than zero, marking the values as 1, if the values are less than or equal to 0, then acquiring the number of 1 and 0 in the set A ', if the number of 1 is greater than 0, predicting that the ambient temperature in the plant is in an ascending trend, if the number of 1 is less than 0, predicting that the ambient temperature in the plant is in a descending trend, if the number of 1 is equal to 0, comparing the temperature of the first day with the temperature of the thirty th day, if the difference is greater than zero, predicting that the environmental temperature in the factory is in an ascending trend, if the difference value is smaller than zero, predicting that the environmental temperature in the factory is in a descending trend, and if the difference value is equal to zero, predicting that the environmental temperature in the factory is in a leveling trend; the temperature in a factory is predicted through the prediction unit, so that production accidents caused by overhigh temperature are effectively prevented, meanwhile, a good production environment is created, and the working efficiency is improved.

The above formulas are all calculated by taking the numerical value of the dimension, the formula is a formula which obtains the latest real situation by acquiring a large amount of data and performing software simulation, and the preset parameters in the formula are set by the technical personnel in the field according to the actual situation.

The foregoing is merely exemplary and illustrative of the present invention and various modifications, additions and substitutions may be made by those skilled in the art to the specific embodiments described without departing from the scope of the invention as defined in the following claims.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种智能母线槽温升监控系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!