[go: up one dir, main page]

CN114414731A - Air quality acquisition equipment and acquisition method based on mobile terminal positioning service - Google Patents

Air quality acquisition equipment and acquisition method based on mobile terminal positioning service Download PDF

Info

Publication number
CN114414731A
CN114414731A CN202111489990.6A CN202111489990A CN114414731A CN 114414731 A CN114414731 A CN 114414731A CN 202111489990 A CN202111489990 A CN 202111489990A CN 114414731 A CN114414731 A CN 114414731A
Authority
CN
China
Prior art keywords
data
acquisition
mobile terminal
air quality
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111489990.6A
Other languages
Chinese (zh)
Inventor
武奇
陶菲
冷晒杰
刘润瑞
王楚玲
王瑜
周侗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nantong University
Original Assignee
Nantong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nantong University filed Critical Nantong University
Priority to CN202111489990.6A priority Critical patent/CN114414731A/en
Publication of CN114414731A publication Critical patent/CN114414731A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • G01N33/0009General constructional details of gas analysers, e.g. portable test equipment
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • G01N33/0009General constructional details of gas analysers, e.g. portable test equipment
    • G01N33/0062General constructional details of gas analysers, e.g. portable test equipment concerning the measuring method or the display, e.g. intermittent measurement or digital display

Landscapes

  • Chemical & Material Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Medicinal Chemistry (AREA)
  • Food Science & Technology (AREA)
  • Combustion & Propulsion (AREA)
  • Physics & Mathematics (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Sampling And Sample Adjustment (AREA)

Abstract

本发明公开了一种基于移动端定位服务的空气质量采集设备及采集方法,空气质量数据连续采集设备包括空气质量监测模块、PCB板、单片机、蓝牙数据模块、信息存储模块、电芯组成的采集终端以及云服务平台。采集方法包括以下步骤:设定采样间隔阈值,设备终端结合云服务平台提供的位置信息,判断时间及距离是否与阈值一致,若一致则获取当前点空气污染物数据,否则继续检索。本发明提供一种获取连续区域空气污染物数据的方法,通过采集区域内细粒度空气污染物数据,更直观地反映目标区域的空气状况。此外,本发明利用移动端提供的位置信息取代定位模块,降低设备生产成本,提高企业的经济效益。

Figure 202111489990

The invention discloses an air quality collection device and a collection method based on a mobile terminal positioning service. The air quality data continuous collection device comprises an air quality monitoring module, a PCB board, a single chip, a bluetooth data module, an information storage module, and a collection device composed of an electric core. terminal and cloud service platform. The collection method includes the following steps: setting a sampling interval threshold, the device terminal combines the location information provided by the cloud service platform to determine whether the time and distance are consistent with the threshold, and if so, obtain the current point air pollutant data, otherwise continue to search. The present invention provides a method for acquiring air pollutant data in a continuous area, and by collecting fine-grained air pollutant data in the area, the air condition of the target area can be more intuitively reflected. In addition, the present invention uses the position information provided by the mobile terminal to replace the positioning module, thereby reducing the equipment production cost and improving the economic benefit of the enterprise.

Figure 202111489990

Description

一种基于移动端定位服务的空气质量采集设备及采集方法A kind of air quality collection equipment and collection method based on mobile terminal positioning service

技术领域technical field

本发明涉及一种基于移动端定位服务的空气质量采集设备及采集方法,属于空气污染物检测设备方法技术领域。The invention relates to an air quality collection device and a collection method based on a mobile terminal positioning service, and belongs to the technical field of air pollutant detection equipment and methods.

背景技术Background technique

随着我国工业化发展,大量工业废气、汽车尾气排放到大气中,导致空气质量的迅速恶化,对人们的身体健康构成多方面的损害。研究表明,较为严重的空气污染会对人体的呼吸道及生理机能造成很大程度的危害,引起慢性支气管炎、支气管哮喘及肺癌等疾病。此外,大量空气污染物容易引起雾霾、酸雨等异常天气现象,对人们的生产生活带来不便。With the development of my country's industrialization, a large amount of industrial waste gas and automobile exhaust gas are discharged into the atmosphere, which leads to the rapid deterioration of air quality and causes many damages to people's health. Studies have shown that severe air pollution will cause great harm to the human respiratory tract and physiological functions, causing chronic bronchitis, bronchial asthma, lung cancer and other diseases. In addition, a large number of air pollutants can easily cause abnormal weather phenomena such as smog and acid rain, which brings inconvenience to people's production and life.

目前市面上已有的空气质量采集装置,普遍存在数据采集源分布较为离散、空气污染物采集种类较为单一以及成本过高等问题。经过调研发现,用于测量空气污染数据的采集设备均为散点式采集,即用户只能获取固定采集点的空气污染数据,并不具备采集连续地域空气质量数据的能力。此外,现有的采集设备几乎只能采集某一特定类型污染物数据,不具备采集多种数据的功能。由于搭载了定位模块,显示屏等高成本硬件,此类采集设备生产成本大多较为高昂,经济效益较为低下。At present, the existing air quality collection devices on the market generally have problems such as relatively discrete distribution of data collection sources, relatively single types of air pollutant collection, and high cost. After investigation, it was found that the collection equipment used to measure air pollution data are all scattered point collection, that is, users can only obtain air pollution data at fixed collection points, and do not have the ability to collect continuous regional air quality data. In addition, the existing collection equipment can only collect data of a certain type of pollutants, and does not have the function of collecting multiple data. Due to the high-cost hardware such as positioning module and display screen, the production cost of such acquisition equipment is relatively high, and the economic benefit is relatively low.

粗粒度的天气预报已不能满足人们对健康生活的追求,人们已经开始寻求空气质量的精确监测。不同地区的空气污染物成分往往存在空间差异性,例如道路周边地区的空气污染物成分中氮氧化物及硫氧化物含量明显高于其它地区,而在建区附近空气中的PM2.5含量则较为突出。对于研究不同区域空气质量的科研人员而言,存在对多种空气污染物数据的需求,因此无论科研还是民用领域,多类别空气污染物数据获取均具有广阔的市场。Coarse-grained weather forecast can no longer satisfy people's pursuit of healthy life, and people have begun to seek accurate monitoring of air quality. There are often spatial differences in the composition of air pollutants in different regions. For example, the content of nitrogen oxides and sulfur oxides in the air pollutants in the surrounding areas of roads is significantly higher than that in other regions, while the PM2. more prominent. For researchers who study air quality in different regions, there is a need for data on various air pollutants. Therefore, whether in scientific research or civilian use, there is a broad market for the acquisition of multi-category air pollutant data.

发明内容SUMMARY OF THE INVENTION

针对上述现有技术存在的问题,本发明提供一种基于移动端定位服务的空气质量采集设备及采集方法,从而解决目前市面上存在的空气污染物采集装置生产成本过高、采集点较为固定及采集污染物种类较为单一的问题。In view of the above problems in the prior art, the present invention provides an air quality collection device and collection method based on a mobile terminal positioning service, so as to solve the problems of high production cost, relatively fixed collection points, and high production cost of air pollutant collection devices currently on the market. The problem of collecting pollutants is relatively single.

为了实现上述目的,本发明采用的技术方案是:一种基于移动端定位服务的空气质量采集设备,包括空气质量监测模块、蓝牙数据模块、信息存储模块和 PCB板;所述空气质量监测模块、蓝牙数据模块、信息存储模块与单片机电性连接;所述空气质量监测模块用于对氮氧化物、硫化物、悬浮颗粒物等空气主要污染物进行实时监测并传输数据;所述信息存储模块用于对污染物相关数据进行存储;所述蓝牙数据模块用于移动端用户与采集设备连接;所述单片机与云服务平台连接;所述云服务平台用于向移动端用户申请定位服务权限。In order to achieve the above purpose, the technical solution adopted in the present invention is: an air quality acquisition device based on mobile terminal positioning service, comprising an air quality monitoring module, a Bluetooth data module, an information storage module and a PCB board; the air quality monitoring module, The bluetooth data module and the information storage module are electrically connected to the microcontroller; the air quality monitoring module is used for real-time monitoring and data transmission of major air pollutants such as nitrogen oxides, sulfides, and suspended particulate matter; the information storage module is used for The pollutant-related data is stored; the bluetooth data module is used to connect the mobile terminal user with the collection device; the single-chip microcomputer is connected to the cloud service platform; the cloud service platform is used to apply for the location service authority to the mobile terminal user.

一种基于移动端定位服务的空气质量采集设备的采集方法,包含以下步骤;A collection method of air quality collection equipment based on mobile terminal positioning service, comprising the following steps;

S1.首先设定测量阈值,即采集点间隔时长与距离;S1. First, set the measurement threshold, that is, the interval time and distance of the collection points;

S2.云服务平台申请获得移动端定位服务权限,并将位置信息传输至采集设备;S2. The cloud service platform applies for obtaining the mobile terminal location service permission, and transmits the location information to the collection device;

S3.单片机通过内置计时器开始计时,并利用位置信息计算用户移动距离;S3. The single-chip microcomputer starts timing through the built-in timer, and uses the position information to calculate the user's moving distance;

S4.单片机判断检测间隔时间与距离是否与先前设定的阈值一致,若一致则记录当前点空气污染物数据;S4. The single-chip computer determines whether the detection interval time and distance are consistent with the previously set threshold, and if they are consistent, the current point air pollutant data is recorded;

S5.空气质量监测模块将采集到的空气污染物数据传输至信息存储模块;信息存储模块结合单片机发送的指令判断数据类型,结合空气污染物数据分别生成污染物时间数据序列Ti与污染物距离数据序列Di;其中,污染物时间数据序列Ti与污染物距离数据序列Di分别用于存储采集到的等时空气污染物数据与等距空气污染物数据;S5. The air quality monitoring module transmits the collected air pollutant data to the information storage module; the information storage module determines the data type in combination with the instructions sent by the single-chip microcomputer, and generates the pollutant time data series T i and the pollutant distance in combination with the air pollutant data. A data sequence D i ; wherein, the pollutant time data sequence T i and the pollutant distance data sequence D i are respectively used to store the collected isochronous air pollutant data and isometric air pollutant data;

S6.采集过程结束后,采集设备利用时间或距离序列数据生成本发明提出的专用数据存储格式文件,通过云服务平台对文件进行读取,并为用户进行可视化呈现。S6. After the collection process is over, the collection device uses the time or distance sequence data to generate the special data storage format file proposed by the present invention, reads the file through the cloud service platform, and presents it visually for the user.

进一步的,所述步骤S1具体为:Further, the step S1 is specifically:

S11.用户打开云服务平台,新建一个采集流程;S11. The user opens the cloud service platform and creates a new collection process;

S12.用户根据对数据精确度的需求自行设定测量阈值,包括间隔距离与间隔时长;S12. The user sets the measurement threshold according to the demand for data accuracy, including the interval distance and interval time;

S13.通过移动端的蓝牙功能与采集设备连接,并将开始采集的指令与测量阈值传输至采集设备。S13. Connect with the acquisition device through the Bluetooth function of the mobile terminal, and transmit the instruction to start acquisition and the measurement threshold to the acquisition device.

进一步的,所述步骤S2具体为:Further, the step S2 is specifically:

S21.云服务平台向移动端申请定位服务权限;S21. The cloud service platform applies to the mobile terminal for location service permissions;

S22.利用定位服务获取用户当前点位置信息,具体为x、y坐标对;S22. Use the positioning service to obtain the user's current point position information, specifically the pair of x and y coordinates;

S23.云服务平台利用蓝牙功能将位置信息传输至采集设备内的信息存储模块。S23. The cloud service platform uses the Bluetooth function to transmit the location information to the information storage module in the collection device.

进一步的,所述步骤S3具体为:Further, the step S3 is specifically:

S31.采集设备收到采集指令及测量阈值后,单片机启动计时器开始计时;S31. After the acquisition device receives the acquisition instruction and the measurement threshold, the single-chip microcomputer starts the timer to start timing;

S32.单片机调用信息存储模块内的位置信息,计算用户移动距离。计算距离公式如下:S32. The single-chip microcomputer calls the position information in the information storage module to calculate the user's moving distance. The formula for calculating the distance is as follows:

Figure BDA0003398867180000031
Figure BDA0003398867180000031

其中,d为距离,x1、x2分别为起始点与用户当前位置的x坐标,y1、y2分别为起始点与用户当前位置的y坐标;Among them, d is the distance, x 1 and x 2 are the x-coordinates of the starting point and the user's current position, respectively, and y 1 and y 2 are the y-coordinates of the starting point and the user's current position, respectively;

S33.当计时器时长等于阈值时,计时器自动归零,从零开始进行下一个采集周期的计时;S33. When the timer duration is equal to the threshold value, the timer automatically returns to zero, and starts from zero to count the next acquisition cycle;

S34.当用户移动距离等于阈值时,将用户当前点设为起始点,从零开始进行下一个采集周期的距离计算。S34. When the user's moving distance is equal to the threshold, set the user's current point as the starting point, and start from zero to calculate the distance for the next collection cycle.

进一步的,所述步骤S4具体为:Further, the step S4 is specifically:

S41.单片机开始计时并计算用户移动距离后,通过将时间和距离与阈值进行比对,从而检索出符合时间或空间阈值的点;S41. After the microcontroller starts timing and calculates the user's moving distance, it compares the time and distance with the threshold to retrieve the points that meet the time or space threshold;

S42.单片机将采集指令发送至空气质量监测模块,对当前点的空气污染物数据进行采集。S42. The single-chip microcomputer sends the collection instruction to the air quality monitoring module, and collects the air pollutant data at the current point.

进一步的,所述步骤S6具体为:Further, the step S6 is specifically:

S61.用户通过云服务平台向采集设备发送采集过程结束指令;S61. The user sends an instruction to end the collection process to the collection device through the cloud service platform;

S62.单片机调用信息存储模块内的空气污染物数据序列,并生成专用数据存储文件格式pmd文件;S62. The single-chip microcomputer calls the air pollutant data sequence in the information storage module, and generates a special data storage file format pmd file;

S63.单片机通过蓝牙数据模块将数据传输至云服务平台,云服务平台读取 pmd文件,并将数据在平台上进行可视化呈现。S63. The single-chip microcomputer transmits the data to the cloud service platform through the Bluetooth data module, and the cloud service platform reads the pmd file and presents the data visually on the platform.

进一步的,所述pmd文件格式规定为:文件内容由4行文件头以及污染物数据组成。文件头具体为:第一行为type,值为T/D,取决于采集类型是等距序列还是等时序列;第二行为time/distance,表示两点之间间隔的时长或距离,单位为/分钟或/米;第三行为number,反映采集点个数;第四行为date,代表采集流程结束时间;污染物数据内容由序列号,各项主要空气污染物数据以及采集点位置信息构成。Further, the pmd file format is defined as: the file content consists of a 4-line file header and pollutant data. The file header is specifically: the first line is type, the value is T/D, depending on whether the acquisition type is an equidistant sequence or an isochronous sequence; the second line is time/distance, which indicates the duration or distance between two points, and the unit is / The third line is number, which reflects the number of collection points; the fourth line is date, which represents the end time of the collection process; the content of pollutant data consists of serial number, data of major air pollutants and location information of collection points.

本发明的有益效果是:本发明主要功能为采集空气中各类主要污染物数据,供科研人员研究使用以及为居民出行提供参考。此外,本发明开创性地采用基于移动端定位服务获取空气质量数据位置信息的技术,大大降低了发明的生产成本与实际使用中的能耗,有效解决了目前市面上相似设备生产成本过高的问题。另一方面,本发明创新性地提出检测定时定点且连续的空气质量数据,极大地方便了科研人员对大范围区域的空气质量开展研究。The beneficial effects of the present invention are as follows: the main function of the present invention is to collect data of various major pollutants in the air for research and use by scientific researchers and to provide reference for residents to travel. In addition, the invention innovatively adopts the technology of obtaining air quality data location information based on the mobile terminal positioning service, which greatly reduces the production cost of the invention and the energy consumption in actual use, and effectively solves the problem that the production cost of similar equipment on the market is too high. question. On the other hand, the present invention innovatively proposes to detect timed, fixed-point and continuous air quality data, which greatly facilitates scientific researchers to conduct research on air quality in a large area.

附图说明Description of drawings

图1为本发明的采集设备结构示意图;1 is a schematic structural diagram of a collection device of the present invention;

图2为本发明的采集方法使用流程图;Fig. 2 is the use flow chart of the collection method of the present invention;

图3为本发明的专用等时数据存储文件样例示意图;Fig. 3 is a schematic diagram of an example of a dedicated isochronous data storage file of the present invention;

图4为本发明的专用等距数据存储文件样例示意图。FIG. 4 is a schematic diagram of an example of a dedicated isometric data storage file of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明了,下面通过附图及实施例,对本发明进行进一步详细说明。但是应该理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限制本发明的范围。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below through the accompanying drawings and embodiments. However, it should be understood that the specific embodiments described herein are only used to explain the present invention, and not to limit the scope of the present invention.

除非另有定义,本文所使用的所有的技术术语和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同,本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention, and the terms used herein in the description of the present invention are only for describing specific implementations The examples are not intended to limit the invention.

参照图1所示,实施例的一种基于移动端定位服务的空气质量采集设备还包括以下部件:空气质量监测模块、蓝牙数据模块、信息存储模块以及单片机与 PCB板连接,空气质量检测模块、蓝牙数据模块、信息存储模块与单片机电性连接,电芯为所有用电元件供电。空气质量监测模块位于PCB板顶部,进气口与出气口之间,便于空气与模块表面充分接触,更加精确的采集数据。电芯安装于主控盒底部。Referring to FIG. 1 , an air quality acquisition device based on a mobile terminal location service according to an embodiment further includes the following components: an air quality monitoring module, a Bluetooth data module, an information storage module, and a single-chip microcomputer connected to a PCB board, an air quality detection module, The bluetooth data module and the information storage module are electrically connected with the single-chip microcomputer, and the battery cell supplies power to all electrical components. The air quality monitoring module is located on the top of the PCB board, between the air inlet and the air outlet, so that the air can fully contact the surface of the module and collect data more accurately. The batteries are installed at the bottom of the main control box.

本发明提供一种利用移动端定位服务获取带有位置信息的空气污染物数据的采集设备,本设备无需安装定位模块,通过与移动端连接获取位置信息,从而减少设备生产成本,解决国内相似设备造价较为高昂的问题。The present invention provides a collection device for obtaining air pollutant data with location information by using the mobile terminal positioning service. The device does not need to install a positioning module, and obtains the location information by connecting with the mobile terminal, thereby reducing the equipment production cost and solving the problem of similar domestic equipment. more expensive issues.

参照图2,实施例的一种基于移动端定位服务的空气质量采集设备的采集方法,具体为:Referring to FIG. 2 , a method for collecting air quality collecting equipment based on a mobile terminal positioning service according to an embodiment is specifically:

S11.用户通过移动设备打开本发明的云服务平台,点击云服务平台的“新建采集流程”服务;S11. The user opens the cloud service platform of the present invention through a mobile device, and clicks the "New Collection Process" service of the cloud service platform;

S12.用户根据对数据精度的需求设定测量阈值。其中,测量阈值包括采集点间隔时长与间隔距离,单位分别为/分钟和/米;S12. The user sets the measurement threshold according to the demand for data accuracy. Among them, the measurement threshold includes the interval time and interval distance of the collection points, and the units are /min and /m respectively;

S13.云服务平台通过蓝牙功能与采集设备进行连接;S13. The cloud service platform is connected with the acquisition device through the Bluetooth function;

S14.云服务平台将设定好的阈值以及开始采集的指令通过蓝牙数据模块传输至采集设备,阈值存储于采集设备内的信息存储模块。S14. The cloud service platform transmits the set threshold value and the instruction to start the collection to the collection device through the Bluetooth data module, and the threshold value is stored in the information storage module in the collection device.

S21.云服务平台向移动端申请定位权限;S21. The cloud service platform applies to the mobile terminal for positioning permission;

S22.云服务平台利用定位服务获取用户当前位置信息,并转化为x、y坐标对;S22. The cloud service platform uses the positioning service to obtain the user's current location information, and converts it into an x, y coordinate pair;

S23.通过云服务平台的坐标转换功能将定位服务提供的经纬度坐标转化为 x、y坐标对;S23. Convert the longitude and latitude coordinates provided by the positioning service into x, y coordinate pairs through the coordinate conversion function of the cloud service platform;

S24.云服务平台利用蓝牙功能将转换后的位置信息传输至采集设备内的信息存储模块。S24. The cloud service platform uses the Bluetooth function to transmit the converted location information to the information storage module in the acquisition device.

S31.用户手持采集设备开始沿采集路线进行移动采集;S31. The user's handheld collection device starts moving collection along the collection route;

S32.采集设备获取开始采集指令后,启动计时器开始计时;S32. After the acquisition device obtains the start acquisition instruction, start the timer to start timing;

S33.单片机调用信息存储模块内的位置信息,将当前点设为起始点,从零开始计算用户移动距离。计算距离公式如下:S33. The single-chip microcomputer calls the position information in the information storage module, sets the current point as the starting point, and calculates the user's moving distance from zero. The formula for calculating the distance is as follows:

Figure BDA0003398867180000061
Figure BDA0003398867180000061

其中,d为距离,x1、x2分别为起始点与用户当前位置的x坐标,y1、y2分别为起始点与用户当前位置的y坐标;Among them, d is the distance, x 1 and x 2 are the x-coordinates of the starting point and the user's current position, respectively, and y 1 and y 2 are the y-coordinates of the starting point and the user's current position, respectively;

S34.单片机将距离和时长与阈值进行比对,当距离或时长与阈值一致时,分别采取如下操作:S34. The single-chip computer compares the distance and duration with the threshold. When the distance or duration is consistent with the threshold, the following actions are taken respectively:

S35.当计时器时长等于阈值时,计时器自动归零,从零开始对下一个采集点进行计时。单片机向空气质量监测模块发送采集指令;S35. When the timer duration is equal to the threshold value, the timer automatically returns to zero, and starts timing the next collection point from zero. The single-chip microcomputer sends a collection instruction to the air quality monitoring module;

S36.当用户移动距离等于阈值时,将用户当前点设为起始点,开始对下一个采集点测距。单片机向空气质量监测模块发送采集指令。S36. When the moving distance of the user is equal to the threshold, set the current point of the user as the starting point, and start to measure the distance of the next collection point. The single-chip microcomputer sends the acquisition instruction to the air quality monitoring module.

S4.空气质量监测模块获取指令后,开始对空气中的氮氧化物、硫化物、悬浮颗粒物等空气主要污染物数据进行采集;S4. After the air quality monitoring module obtains the instruction, it starts to collect data on major air pollutants such as nitrogen oxides, sulfides, suspended particulate matter in the air;

S51.空气质量监测模块将采集到的数据传输至信息存储模块;S51. The air quality monitoring module transmits the collected data to the information storage module;

S52.信息存储模块分别将等时数据与等距数据生成等时空气污染物数据序列与空气污染物数据等距序列进行存储;S52. The information storage module stores the isochronous air pollutant data sequence and the air pollutant data equidistant sequence respectively from the isochronous data and the isometric data;

S53.空气污染物数据等时序列与等距序列分别以符号Ti与Di表示。S53. The isochronous sequence and the equidistant sequence of air pollutant data are represented by symbols T i and D i respectively.

S61.用户通过云服务平台向采集设备发送采集过程结束指令;S61. The user sends an instruction to end the collection process to the collection device through the cloud service platform;

S62.单片机调用信息存储模块内的空气污染物数据序列,并生成本发明专用数据存储文件格式pmd文件。S62. The single-chip microcomputer calls the air pollutant data sequence in the information storage module, and generates the special data storage file format pmd file of the present invention.

S63.pmd文件格式规定为:The S63.pmd file format is specified as:

文件内容由4行文件头以及污染物数据组成。文件头具体为:第一行为type,值为T/D,取决于等距序列还是等时序列;第二行为time/distance,表示两点之间间隔的时长或距离,单位为/分钟;第三行为number,反映采集点个数;第四行为date,代表采集流程结束时间。污染物数据内容由序列号,各项主要空气污染物数据以及采集点位置信息构成;The file content consists of a 4-line file header and contaminant data. The file header is specifically: the first line is type, and the value is T/D, which depends on the isometric sequence or the isochronous sequence; the second line is time/distance, which indicates the duration or distance between two points, in units of /min; The third row is number, which reflects the number of collection points; the fourth row is date, which represents the end time of the collection process. The content of pollutant data consists of serial number, data of major air pollutants and location information of collection points;

S63.单片机通过蓝牙数据模块将数据传输至云服务平台,云服务平台通过本发明特定机制读取pmd文件,并将数据在平台上进行可视化呈现。S63. The single-chip microcomputer transmits the data to the cloud service platform through the Bluetooth data module, and the cloud service platform reads the pmd file through the specific mechanism of the present invention, and visualizes the data on the platform.

本发明主要功能为采集空气中各类污染物数据,供科研人员研究使用以及为居民出行提供参考。此外,本发明开创性地采用基于移动端定位服务获取空气质量数据位置信息的技术,大大降低了发明的生产成本与实际使用中的能耗,有效解决了目前市面上相似设备生产成本过高的问题。另一方面,本发明创新性地提出检测定时定点且连续的空气质量数据,极大地方便了科研人员对大范围区域的空气质量开展研究。本发明还提供一种获取连续区域空气污染物数据的方法,能够更直观地反映目标区域的空气状况。此外,本发明利用移动端提供的位置信息取代定位模块,降低设备生产成本,提高企业的经济效益。The main function of the present invention is to collect data of various pollutants in the air for research and use by scientific researchers and to provide reference for residents to travel. In addition, the invention innovatively adopts the technology of obtaining air quality data location information based on the mobile terminal positioning service, which greatly reduces the production cost of the invention and the energy consumption in actual use, and effectively solves the problem that the production cost of similar equipment on the market is too high. question. On the other hand, the present invention innovatively proposes to detect timed, fixed-point and continuous air quality data, which greatly facilitates scientific researchers to conduct research on air quality in a large area. The present invention also provides a method for acquiring air pollutant data in a continuous area, which can more intuitively reflect the air condition of the target area. In addition, the present invention uses the position information provided by the mobile terminal to replace the positioning module, thereby reducing the equipment production cost and improving the economic benefit of the enterprise.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换或改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modification, equivalent replacement or improvement made within the spirit and principle of the present invention shall be included in the protection of the present invention. within the range.

Claims (8)

1. An air quality acquisition device based on mobile terminal positioning service is characterized by comprising an air quality monitoring module, a Bluetooth data module, an information storage module and a PCB (printed circuit board); the air quality monitoring module, the Bluetooth data module and the information storage module are electrically connected with the single chip microcomputer; the air quality monitoring module is used for monitoring main air pollutants such as nitrogen oxides, sulfides and suspended particulate matters in real time and transmitting data; the information storage module is used for storing the related data of the pollutants; the Bluetooth data module is used for connecting a mobile terminal user with acquisition equipment; the single chip microcomputer is connected with the cloud service platform; the cloud service platform is used for applying for positioning service permission to a mobile terminal user, and the device supplies power through the battery cell.
2. A collection method of air quality collection equipment based on mobile terminal positioning service is characterized by comprising the following steps;
s1, firstly, setting a measurement threshold, namely the interval duration and distance of acquisition points;
s2, the cloud service platform applies for obtaining a mobile terminal positioning service authority and transmits position information to the acquisition equipment;
s3, the single chip starts timing through a built-in timer, and the user moving distance is calculated by utilizing the position information;
s4, judging whether the detection interval time and the distance are consistent with a preset threshold value or not by the single chip microcomputer, and recording air pollutant data of the current point if the detection interval time and the distance are consistent with the preset threshold value;
s5, the air quality monitoring module transmits the acquired air pollutant data to the information storage module; the information storage module judges the data type by combining the instruction sent by the singlechip and respectively generates a pollutant time data sequence T by combining air pollutant dataiData series D of distances from pollutantsi(ii) a Wherein the time data series T of the pollutantsiData series D of distances from pollutantsiThe data acquisition module is respectively used for storing the acquired isochronous air pollutant data and the equidistant air pollutant data;
and S6, after the acquisition process is finished, the acquisition equipment generates the special data storage format file provided by the invention, reads the file through the cloud service platform and visually presents the file for the user.
3. The collecting method of the air quality collecting device based on the mobile terminal location service as claimed in claim 1, wherein the step S1 specifically includes:
s11, opening a cloud service platform by a user, and building an acquisition flow;
s12, a user sets a measurement threshold value according to the requirement on data accuracy, wherein the measurement threshold value comprises an interval distance and an interval duration;
and S13, connecting the Bluetooth function of the mobile terminal with the acquisition equipment, and transmitting an instruction for starting acquisition and a measurement threshold value to the acquisition equipment.
4. The collecting method of the air quality collecting device based on the mobile terminal location service as claimed in claim 1, wherein the step S2 specifically includes:
s21, the cloud service platform applies for positioning service authority to the mobile terminal;
s22, acquiring the position information of the current point of the user by using a positioning service, wherein the position information is specifically an x coordinate pair and a y coordinate pair;
and S23, the cloud service platform transmits the position information to an information storage module in the acquisition equipment by using the Bluetooth function.
5. The collecting method of the air quality collecting device based on the mobile terminal location service as claimed in claim 1, wherein the step S3 specifically includes:
s31, after the acquisition equipment receives the acquisition instruction and the measurement threshold value, starting a timer by the single chip microcomputer to start timing;
and S32, calling the position information in the information storage module by the singlechip, and calculating the moving distance of the user. The calculation distance formula is as follows:
Figure FDA0003398867170000021
wherein d is a distance, x1、x2X-coordinate, y, of the starting point and the current position of the user, respectively1、y2Respectively as the y coordinates of the starting point and the current position of the user;
s33, when the time length of the timer is equal to a threshold value, the timer automatically returns to zero, and the next acquisition cycle is timed from zero;
and S34, when the moving distance of the user is equal to the threshold value, setting the current point of the user as a starting point, and calculating the distance of the next acquisition cycle from zero.
6. The collecting method of the air quality collecting device based on the mobile terminal location service as claimed in claim 1, wherein the step S4 specifically includes:
s41, after the single chip starts timing and calculates the moving distance of the user, the time and the distance are compared with a threshold value, and then a point which meets the time or space threshold value is searched;
and S42, the single chip microcomputer sends the acquisition instruction to the air quality monitoring module to acquire the air pollutant data of the current point.
7. The collecting method of the air quality collecting device based on the mobile terminal location service as claimed in claim 1, wherein the step S6 specifically includes:
s61, a user sends an acquisition process ending instruction to acquisition equipment through a cloud service platform;
s62, calling an air pollutant data sequence in the information storage module by the single chip microcomputer, and generating a special data storage file pmd file;
and S63, the single chip microcomputer transmits the data to a cloud service platform through the Bluetooth data module, and the cloud service platform reads pmd files and visually presents the data on the platform.
8. The collection method of the air quality collection device based on the mobile terminal location service as claimed in claim 7, wherein the pmd file format is defined as: the file content consists of 4 rows of file headers and pollutant data; the file header specifically comprises: the first is type, with a value of T/D, depending on whether the acquisition type is an equidistant sequence or an isochronous sequence; a second action time/distance, which represents the time length or distance of the interval between two points, and the unit is/minute or/meter; the third row is number and reflects the number of acquisition points; the fourth row is date which represents the end time of the acquisition process; the pollutant data content is composed of a serial number, various main air pollutant data and acquisition point position information.
CN202111489990.6A 2021-12-08 2021-12-08 Air quality acquisition equipment and acquisition method based on mobile terminal positioning service Pending CN114414731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111489990.6A CN114414731A (en) 2021-12-08 2021-12-08 Air quality acquisition equipment and acquisition method based on mobile terminal positioning service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111489990.6A CN114414731A (en) 2021-12-08 2021-12-08 Air quality acquisition equipment and acquisition method based on mobile terminal positioning service

Publications (1)

Publication Number Publication Date
CN114414731A true CN114414731A (en) 2022-04-29

Family

ID=81265956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111489990.6A Pending CN114414731A (en) 2021-12-08 2021-12-08 Air quality acquisition equipment and acquisition method based on mobile terminal positioning service

Country Status (1)

Country Link
CN (1) CN114414731A (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050119024A (en) * 2004-06-15 2005-12-20 엘지전자 주식회사 A method and a apparatus and a system of measuring air pollution for mobile phone
CN103974195A (en) * 2014-05-22 2014-08-06 都江堰盛图软件有限公司 Pollution source data collection method and system
CN103969701A (en) * 2013-01-31 2014-08-06 上海飞田通信技术有限公司 System and method for realtime monitoring of city full-area air quality
CN105120078A (en) * 2015-07-22 2015-12-02 广州番禺巨大汽车音响设备有限公司 Method for automatically giving prompt for air quality in compartment, server and system
CN106027636A (en) * 2016-05-17 2016-10-12 温天 System for realizing mobile air quality and traffic state sharing cloud chart
CN205644670U (en) * 2016-05-27 2016-10-12 河南大广电子科技有限公司 Metropolitan environment air quality monitoring's intelligence system of patrolling and examining
CN106546280A (en) * 2015-09-16 2017-03-29 普天信息技术有限公司 Portable traffic environment air-quality monitoring system
JP2017097840A (en) * 2015-11-29 2017-06-01 国網江西省電力公司信息通信分公司State Grid Jiangxi Electric Power Company Information & Telecommunication Branch Data product construction system
KR20180001664A (en) * 2016-06-24 2018-01-05 상명대학교 천안산학협력단 Apparatus and Method for Providing Information of Indoor Air Quality Based on Smart Pot
CN207541042U (en) * 2017-10-30 2018-06-26 苏州大学文正学院 Air quality detection system based on high in the clouds
KR20180120353A (en) * 2017-04-27 2018-11-06 김수종 Air purification system using mobile terminal holder and mobile terminal
US20190033281A1 (en) * 2017-07-27 2019-01-31 Microjet Technology Co., Ltd. System for providing air quality information
US20190033278A1 (en) * 2017-07-27 2019-01-31 Microjet Technology Co., Ltd. Method for providing air quality information
CN209247582U (en) * 2018-07-05 2019-08-13 无锡职业技术学院 A portable mobile PM2.5 online detection and monitoring service system and its collection terminal
CN110161183A (en) * 2019-05-30 2019-08-23 广东柯内特环境科技有限公司 A kind of air quality monitoring method
KR102238123B1 (en) * 2020-12-14 2021-04-08 한재진 System for providing air quality data statistics service using comparison analysis
KR102247901B1 (en) * 2020-07-01 2021-05-04 경기도 부천시 Air quality management system
KR20210074858A (en) * 2019-12-12 2021-06-22 정태민 Device and method for preparing air quality map using portable terminal
CN113011455A (en) * 2021-02-02 2021-06-22 北京数汇通信息技术有限公司 Air quality prediction SVM model construction method
CN113029252A (en) * 2021-04-16 2021-06-25 中科海拓(无锡)科技有限公司 Industrial park air quality detection system based on data processing

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050119024A (en) * 2004-06-15 2005-12-20 엘지전자 주식회사 A method and a apparatus and a system of measuring air pollution for mobile phone
CN103969701A (en) * 2013-01-31 2014-08-06 上海飞田通信技术有限公司 System and method for realtime monitoring of city full-area air quality
CN103974195A (en) * 2014-05-22 2014-08-06 都江堰盛图软件有限公司 Pollution source data collection method and system
CN105120078A (en) * 2015-07-22 2015-12-02 广州番禺巨大汽车音响设备有限公司 Method for automatically giving prompt for air quality in compartment, server and system
CN106546280A (en) * 2015-09-16 2017-03-29 普天信息技术有限公司 Portable traffic environment air-quality monitoring system
JP2017097840A (en) * 2015-11-29 2017-06-01 国網江西省電力公司信息通信分公司State Grid Jiangxi Electric Power Company Information & Telecommunication Branch Data product construction system
CN106027636A (en) * 2016-05-17 2016-10-12 温天 System for realizing mobile air quality and traffic state sharing cloud chart
CN205644670U (en) * 2016-05-27 2016-10-12 河南大广电子科技有限公司 Metropolitan environment air quality monitoring's intelligence system of patrolling and examining
KR20180001664A (en) * 2016-06-24 2018-01-05 상명대학교 천안산학협력단 Apparatus and Method for Providing Information of Indoor Air Quality Based on Smart Pot
KR20180120353A (en) * 2017-04-27 2018-11-06 김수종 Air purification system using mobile terminal holder and mobile terminal
US20190033281A1 (en) * 2017-07-27 2019-01-31 Microjet Technology Co., Ltd. System for providing air quality information
US20190033278A1 (en) * 2017-07-27 2019-01-31 Microjet Technology Co., Ltd. Method for providing air quality information
CN207541042U (en) * 2017-10-30 2018-06-26 苏州大学文正学院 Air quality detection system based on high in the clouds
CN209247582U (en) * 2018-07-05 2019-08-13 无锡职业技术学院 A portable mobile PM2.5 online detection and monitoring service system and its collection terminal
CN110161183A (en) * 2019-05-30 2019-08-23 广东柯内特环境科技有限公司 A kind of air quality monitoring method
KR20210074858A (en) * 2019-12-12 2021-06-22 정태민 Device and method for preparing air quality map using portable terminal
KR102247901B1 (en) * 2020-07-01 2021-05-04 경기도 부천시 Air quality management system
KR102238123B1 (en) * 2020-12-14 2021-04-08 한재진 System for providing air quality data statistics service using comparison analysis
CN113011455A (en) * 2021-02-02 2021-06-22 北京数汇通信息技术有限公司 Air quality prediction SVM model construction method
CN113029252A (en) * 2021-04-16 2021-06-25 中科海拓(无锡)科技有限公司 Industrial park air quality detection system based on data processing

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
S. B. EISENMAN ET AL.: "BikeNet: A Mobile Sensing System for Cyclist Experience Mapping", 《ACM TRANSACTIONS ON SENSOR NETWORKS》, vol. 6, no. 1, pages 1 - 39 *
徐博良等: "基于北斗的空气质量实时监测系统设计与实现", 《测绘与空间地理信息》, vol. 41, no. 12, pages 176 - 178 *
陈桢杰,袁勇威: "基于移动端的空气质量检测系统的设计与研究", 《科技视界》, pages 14 - 16 *

Similar Documents

Publication Publication Date Title
CN114280695A (en) Air pollutant monitoring and early warning method and cloud platform
CN102830681B (en) A kind of method for supervising of remote electric energy consumption data
CN105760454B (en) A kind of Urban Population Distribution density real time dynamic measurement method
CN108489875B (en) A pollutant traceability system and method based on time period statistical analysis
CN203193978U (en) Street lamp control system based on air quality detection
CN207263223U (en) A kind of coal-fired plant flue gas purifier monitors system
CN102156180A (en) System and method for monitoring and forecasting regional visibility
CN106779165A (en) Power system environment dispatching method based on urban air-quality Predicting Technique
CN205372920U (en) Automatic oxygen suppliment control system
CN1322332C (en) High-volage transmitting-line multiple-path high-precision GPS single-end fault positioning method and apparatus
CN106885949A (en) Switching at runtime electromagnetic environment real-time monitoring system and method based on channel redundancy
CN105424568A (en) A PM2.5 detection device and method
CN102279321A (en) Portable low-frequency/very-low-frequency electromagnetic wave signal intensity detection device
CN114414731A (en) Air quality acquisition equipment and acquisition method based on mobile terminal positioning service
CN105910652A (en) Urban road environment monitoring device based on monitoring rod
CN115393140A (en) Community fire-fighting management system based on Internet of things
CN114200077B (en) Cloud platform intelligent auxiliary calibration algorithm applied to gridding air quality monitoring system
CN205486779U (en) Multi-meter acquisition simulation device based on real-time monitoring
CN205228628U (en) Distributing type power transformer noise detection system
CN204142706U (en) Based on the atmospheric monitoring system of city bus net
CN202904325U (en) Electric energy consumption data remote-monitoring matching device
CN205157273U (en) A gas sampling detecting system for atmospheric environmental monitoring
CN210741562U (en) A terminal device for collecting energy consumption and environmental data in the transportation industry
CN117973587A (en) A method and system for predicting carbon emissions in a park
CN208239385U (en) A kind of monitoring modular for searching the source of atmospheric pollution

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination