[go: up one dir, main page]

CN114965264A - A kind of unmanned aerial vehicle sulfide pollution detection system and its detection method - Google Patents

A kind of unmanned aerial vehicle sulfide pollution detection system and its detection method Download PDF

Info

Publication number
CN114965264A
CN114965264A CN202111646207.2A CN202111646207A CN114965264A CN 114965264 A CN114965264 A CN 114965264A CN 202111646207 A CN202111646207 A CN 202111646207A CN 114965264 A CN114965264 A CN 114965264A
Authority
CN
China
Prior art keywords
data
type
optical filter
aerial vehicle
unmanned aerial
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.)
Granted
Application number
CN202111646207.2A
Other languages
Chinese (zh)
Other versions
CN114965264B (en
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.)
Yitian Aviation Technology Co ltd
Original Assignee
Yitian Aviation Technology Co ltd
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 Yitian Aviation Technology Co ltd filed Critical Yitian Aviation Technology Co ltd
Priority to CN202111646207.2A priority Critical patent/CN114965264B/en
Publication of CN114965264A publication Critical patent/CN114965264A/en
Application granted granted Critical
Publication of CN114965264B publication Critical patent/CN114965264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B64AIRCRAFT; AVIATION; COSMONAUTICS
    • B64CAEROPLANES; HELICOPTERS
    • B64C39/00Aircraft not otherwise provided for
    • B64C39/02Aircraft not otherwise provided for characterised by special use
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B64AIRCRAFT; AVIATION; COSMONAUTICS
    • B64DEQUIPMENT FOR FITTING IN OR TO AIRCRAFT; FLIGHT SUITS; PARACHUTES; ARRANGEMENT OR MOUNTING OF POWER PLANTS OR PROPULSION TRANSMISSIONS IN AIRCRAFT
    • B64D47/00Equipment not otherwise provided for
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/94Investigating contamination, e.g. dust
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A50/00TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE in human health protection, e.g. against extreme weather
    • Y02A50/20Air quality improvement or preservation, e.g. vehicle emission control or emission reduction by using catalytic converters

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

The invention provides an unmanned aerial vehicle sulfide pollution detection system and a detection method thereof, and relates to the field of sulfide pollution detection. The sulfide pollution detection system of the unmanned aerial vehicle and the detection method thereof comprise a broadband infrared light source, wherein infrared light source signals are respectively transmitted to a type 1 light filter, a type 2 light filter and a type 3 light filter by the broadband infrared light source through a light splitting sheet. According to the invention, infrared spectrums of different wave bands emitted by a light source channel above an airflow channel are received by a receiver in a receiving channel below the airflow channel, wherein the receiver for receiving the infrared spectrums for detecting the hydrogen sulfide wave bands can convert optical signals into electric signals, the electric signals are detected by an AD detection pin of a microcontroller after passing through a voltage amplifier, so that the electric signals are converted into digital signals which can be processed by the microcontroller, and the detection of sulfur dioxide and carbon dioxide is realized by directly receiving transmitted data through a USB interface and a corresponding conversion circuit, so that the corresponding data calculation is carried out.

Description

一种无人机硫化物污染检测系统及其检测方法A kind of unmanned aerial vehicle sulfide pollution detection system and its detection method

技术领域technical field

本发明涉及硫化物污染检测领域,具体为一种无人机硫化物污染检测系统及其检测方法。The invention relates to the field of sulfide pollution detection, in particular to an unmanned aerial vehicle sulfide pollution detection system and a detection method thereof.

背景技术Background technique

随着社会经济的日益发展,带动人们生活水平的同时,也带来一些负面的环境问题,空气质量的下降以及空气的重度污染也成了当前大热的话题,人们也越来越把关注点放在所处的环境中,由于重工业的不断发展,会产生很多的废气,虽然很多工厂对废气进行了处理,但依旧残留着部分有害气体排放到了空气中,除此之外,还有很多的原因对空气造成了污染,特别是化石能源,以及日常生活中交通运输气煤柴的大量消耗,其中含硫组分经过燃烧多以SO2的气体排放到大气中,依据环境公报的显示,我国大气的污染是尤其的严重,其中硫化物是主要的污染物,SO2,H2S,SO3等都包括在硫化物之内,硫化物不仅会对生态环境造成一定的影响与破坏,还会对人们的身体状况造成很大的影响,会引起各种呼吸道疾病,所以,实时对大气监测是非常有必要的,来控制硫化物的排放。With the increasing social and economic development, while driving people's living standards, it also brings some negative environmental problems. The decline of air quality and heavy air pollution have also become hot topics at present, and people are paying more and more attention. In the environment where it is located, due to the continuous development of heavy industry, a lot of waste gas will be generated. Although many factories have treated the waste gas, there are still some harmful gases that are still discharged into the air. In addition, there are many The reasons cause pollution to the air, especially fossil energy, and the large consumption of gas, coal and firewood in daily life. The sulfur-containing components are mostly emitted into the atmosphere as SO2 gas after combustion. According to the environmental bulletin, my country's atmospheric The pollution is particularly serious, in which sulfide is the main pollutant, SO2, H2S, SO3, etc. are included in the sulfide, sulfide will not only cause certain impact and damage to the ecological environment, but also to people's health The situation has a great impact and can cause various respiratory diseases. Therefore, it is very necessary to monitor the atmosphere in real time to control the emission of sulfides.

目前有很多方法来监测硫化物的浓度,比如荧光法,气相色谱法,电化学式法等,但由于每种方法的原理不同,其优缺点并不相同,由于目前大气污染物监测方法存在实时监测延迟,监测距离有限,检测精度不足,不能满足新时期环境监测的要求。At present, there are many methods to monitor the concentration of sulfide, such as fluorescence method, gas chromatography, electrochemical method, etc., but due to the different principles of each method, its advantages and disadvantages are not the same, because the current air pollutant monitoring methods have real-time monitoring Delays, limited monitoring distance, and insufficient detection accuracy cannot meet the requirements of environmental monitoring in the new era.

发明内容SUMMARY OF THE INVENTION

(一)解决的技术问题(1) Technical problems solved

针对现有技术的不足,本发明提供了一种无人机硫化物污染检测系统及其检测方法,解决目前有很多方法来监测硫化物的浓度,比如荧光法,气相色谱法,电化学式法等,但由于每种方法的原理不同,其优缺点并不相同,由于目前大气污染物监测方法存在实时监测延迟,监测距离有限,检测精度不足,不能满足新时期环境监测的要求问题。In view of the deficiencies of the prior art, the present invention provides an unmanned aerial vehicle sulfide pollution detection system and a detection method thereof, which solves the problem that there are many methods to monitor the concentration of sulfide, such as fluorescence method, gas chromatography, electrochemical method, etc. However, due to the different principles of each method, its advantages and disadvantages are not the same. Because the current air pollutant monitoring methods have real-time monitoring delays, limited monitoring distances, and insufficient detection accuracy, they cannot meet the requirements of environmental monitoring in the new era.

(二)技术方案(2) Technical solutions

为实现以上目的,本发明通过以下技术方案予以实现:一种无人机硫化物污染检测系统,包括硫化物污染检测,包括宽带红外光源,所述宽带红外光源将红外光源信号通过分光片分别传输给1型滤光片、2型滤光片和3型滤光片;In order to achieve the above purpose, the present invention is achieved through the following technical solutions: a UAV sulfide pollution detection system, including sulfide pollution detection, including a broadband infrared light source, and the broadband infrared light source transmits the infrared light source signal through the beam splitter respectively. For type 1 filter, type 2 filter and type 3 filter;

所述1型滤光片、2型滤光片和3型滤光片分别对红外光源信号通过待测环境的气流通道传递给单色器;The type 1 filter, type 2 filter and type 3 filter respectively transmit the infrared light source signal to the monochromator through the airflow channel of the environment to be measured;

所述1型滤光片、2型滤光片和3型滤光片根据稳定环境中的光揳将红外光源传递给单色器;The type 1 filter, the type 2 filter and the type 3 filter transmit the infrared light source to the monochromator according to the light source in the stable environment;

所述单色器将1型滤光片的红外光源传递给接收器,并且通过放大器传输给MCU;The monochromator transmits the infrared light source of the type 1 filter to the receiver, and transmits it to the MCU through the amplifier;

所述单色器将2型滤光片和3型滤光片的红外光源分别通过2型滤光器和3型滤光器传递给接收器,接收器通过USB接口传递给MUS。The monochromator transmits the infrared light sources of the type 2 filter and the type 3 filter to the receiver through the type 2 filter and the type 3 filter respectively, and the receiver transmits it to the MUS through the USB interface.

优选的,所述单色器内部通过MUS对电机进行控制,所述电机带动斩光器进行运作,并且对信号进行传输。Preferably, the motor is controlled by the MUS inside the monochromator, and the motor drives the chopper to operate and transmits signals.

优选的,所述MUS对舵机进行控制,所述舵机对光揳进行方向的转换,所述光揳接收在稳定环境中的通过滤光片传递过来的红外光源。Preferably, the MUS controls the steering gear, and the steering gear converts the direction of the light beam, and the light beam receives the infrared light source transmitted through the filter in a stable environment.

优选的,所述MUS通过485与外围设备进行连接并且传输信号,所述MUS通过IIC与AT24CO2进行连接并且传输信号。Preferably, the MUS is connected to peripheral devices through 485 and transmits signals, and the MUS is connected to AT24CO2 through IIC and transmits signals.

一种无人机硫化物污染检测方法,所述无人机硫化物污染检测方法包含:所述整个系统在第一次运行时需要进行一个基本的调零校准,此时将传感器检测部分置入到充满相应检测气体的环境中,启动系统后在一定时间内若按下校准按钮,系统就会通过采集到的ADC数据与理论数据进行对比,并将对比后结构反馈到对舵机的控制,从而调整光揳的角度,经过较短时间的自适应调整,就能够使得传感器的光揳位置调整到一个合理的角度,并且在校准完成之后,系统还会将当下所调整的PWM占空比数据通过I2C总线记录在EEPROM芯片中,当用户不需要进行零点校准,则可以在运行系统后系统会自动根据EEPROM中所保存的数据进行相应的PWM波占空比的设置,而使用者可以直接通过建立在485总线上的Modbus协议发送相应的报文获取传感器的检测数据。A method for detecting sulfide pollution of unmanned aerial vehicle, the method for detecting sulfide pollution of unmanned aerial vehicle comprises: the whole system needs to perform a basic zero adjustment and calibration when running for the first time, and at this time, the detection part of the sensor is placed in the In an environment filled with corresponding detection gas, if you press the calibration button within a certain period of time after starting the system, the system will compare the collected ADC data with the theoretical data, and feed back the structure after the comparison to the control of the steering gear. In this way, the angle of the light beam is adjusted. After a short period of adaptive adjustment, the light beam position of the sensor can be adjusted to a reasonable angle, and after the calibration is completed, the system will also adjust the current adjusted PWM duty cycle data. It is recorded in the EEPROM chip through the I2C bus. When the user does not need to perform zero calibration, the system can automatically set the corresponding PWM wave duty cycle according to the data stored in the EEPROM after running the system. The Modbus protocol established on the 485 bus sends the corresponding message to obtain the detection data of the sensor.

优选的,所述无人机硫化物污染检测方法还包含:所述在实际的采集过程中,微控制器会通过外部中断引脚同时检测三个被检测信号的上升沿,当检测到上升沿的存在后就会启动相应通道的AD转换,等到AD转换完成后会将数据记录在对应位置的数组中,当重复检测了5次以后,微控制器就会将数组中的5个数据去除掉最大的数据和最小的数据,并且对剩下的三个数据进行平均值的计算,随后将计算后的数据保存到另一个变量中;Preferably, the UAV sulfide pollution detection method further comprises: in the actual acquisition process, the microcontroller will simultaneously detect the rising edges of the three detected signals through the external interrupt pin, and when the rising edge is detected After the existence of the AD conversion of the corresponding channel, the AD conversion of the corresponding channel will be started. After the AD conversion is completed, the data will be recorded in the array of the corresponding position. After repeated detection 5 times, the microcontroller will remove the 5 data in the array. The largest data and the smallest data, and calculate the average of the remaining three data, and then save the calculated data to another variable;

并且,在每检测完一次上升沿到来后的电压后还会检测一次下降沿到来后的电压,以确定此刻的参考零点的电压是多少,在连续检测了五个下降沿到来后的电压后会去除五个数据里的最大值和最小值,然后求取剩下的三个数的平均数作为参考零点的电压放入相应的变量中,最后将检测到的通过待检测气体的光束所引起的后继电路电压变化和参考零点的电压做差后放入相应的数组中作为实际有效数据,而该数组最多存放20个数据,当20个数据存满后就会自高向低冲刷数组中的数据,等待建立在485通信上的Modbus协议由主机向该传感器系统所要数据后便会将检测的数据一次性地发送给主机。In addition, after each detection of the voltage after the arrival of the rising edge, the voltage after the arrival of the falling edge will be detected once to determine the voltage of the reference zero point at this moment. After five consecutive detections of the voltage after the arrival of the falling edge, the Remove the maximum and minimum values in the five data, and then calculate the average of the remaining three numbers as the voltage of the reference zero point and put it into the corresponding variable. The difference between the voltage change of the subsequent circuit and the voltage of the reference zero point is put into the corresponding array as the actual valid data, and the array can store up to 20 data. When the 20 data is full, the data in the array will be flushed from high to low. , wait for the Modbus protocol established on the 485 communication to send the detected data to the host at one time after the host requests the data from the sensor system.

优选的,所述无人机硫化物污染检测方法还包含:所述在系统未能够从EEPROM中读取到有效数据以及使用者在开机后的5s内按下过校准按键,则系统会进入到校准模式,此时系统会立刻开始判断,信号接收引脚存在过下降沿,当存在则证明系统已经处于待检测气体浓度较高的环境下,便可以开始进行校准,在校准的时候,系统会控制舵机回归0°角位置,然后根据检测到的ADC数据不断对舵机进行控制,当检测到的ADC数据能够在0至10之间时则证明此时舵机所控制的光揳角度能够满足检测的需要,从而证明校准成功,将当下PWM输出的数据记录在EEPROM中,并且控制LED发出绿光提醒使用者校准完成。Preferably, the UAV sulfide pollution detection method further includes: the system fails to read valid data from the EEPROM and the user presses the calibration button within 5s after the system is turned on, then the system will enter the In calibration mode, the system will immediately start judging that there is a falling edge on the signal receiving pin. If there is a falling edge, it means that the system is already in an environment with a high concentration of the gas to be detected, and the calibration can be started. During calibration, the system will Control the steering gear to return to the 0° angular position, and then continuously control the steering gear according to the detected ADC data. When the detected ADC data can be between 0 and 10, it proves that the light angle controlled by the steering gear can be To meet the detection needs, to prove that the calibration is successful, the current PWM output data is recorded in the EEPROM, and the control LED emits green light to remind the user that the calibration is completed.

(三)有益效果(3) Beneficial effects

本发明提供了一种无人机硫化物污染检测系统及其检测方法。具备以下有益效果:The invention provides an unmanned aerial vehicle sulfide pollution detection system and a detection method thereof. Has the following beneficial effects:

1、首先由气流通道下方的接收通道中的接收器接收气流通道上方光源通道发射出来的不同波段的红外光谱,其中接收检测硫化氢波段的红外光谱的接收器会将光信号转变为电信号,这一电信号在经过电压放大器后被微控制器的AD检测引脚所检测,从而转变为可以被微控制器处理的数字信号,而对于二氧化硫和二氧化碳的检测则是直接通过USB接口及相应的转换电路接收传出的数据,从而进行相应的数据的计算。1. First, the receiver in the receiving channel below the airflow channel receives the infrared spectrum of different bands emitted by the light source channel above the airflow channel. The receiver that receives and detects the infrared spectrum of the hydrogen sulfide band will convert the optical signal into an electrical signal. This electrical signal is detected by the AD detection pin of the microcontroller after passing through the voltage amplifier, and thus converted into a digital signal that can be processed by the microcontroller. The detection of sulfur dioxide and carbon dioxide is directly through the USB interface and the corresponding The conversion circuit receives the outgoing data and performs corresponding data calculation.

2、系统通过采集到的ADC数据与理论数据进行对比,并将对比后结构反馈到对舵机的控制,从而调整光揳的角度,从而实现对参考零点的调整,经过较短时间的自适应调整。2. The system compares the collected ADC data with the theoretical data, and feeds back the structure after the comparison to the control of the steering gear, so as to adjust the angle of the light beam, so as to realize the adjustment of the reference zero point. After a short period of self-adaptation Adjustment.

3、在每检测完一次上升沿到来后的电压后还会检测一次下降沿到来后的电压,以确定此刻的参考零点的电压是多少,从而避免了光源因工作时间过程而导致的温漂,从而使得传感器检测的精度下降。3. After each detection of the voltage after the rising edge, the voltage after the falling edge will be detected to determine the voltage of the reference zero point at the moment, thus avoiding the temperature drift of the light source due to the working time process. As a result, the detection accuracy of the sensor decreases.

4、在系统未检测到数据,或者使用者开机后5s内,使用者按下校准件,系统进入校准模式,控制舵机回归到0°角位置,提高了系统的自动运行的能力,同时防止数据的流失导致重大的失误。4. When the system does not detect data, or within 5s after the user turns on the power, the user presses the calibration part, the system enters the calibration mode, and controls the steering gear to return to the 0° angular position, which improves the automatic operation of the system and prevents The loss of data leads to major mistakes.

附图说明Description of drawings

图1为本发明传感器结构示意图;FIG. 1 is a schematic diagram of the sensor structure of the present invention;

图2为本发明系统控制示意图;Fig. 2 is the system control schematic diagram of the present invention;

图3为本发明传感器数据采集程序示意图;3 is a schematic diagram of a sensor data acquisition program of the present invention;

图4为本发明系统校准流程示意图。FIG. 4 is a schematic diagram of the system calibration flow of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

实施例一:Example 1:

如图1所示,本发明实施例提供一种无人机硫化物污染检测系统及其检测方法,包括硫化物污染检测,包括宽带红外光源,宽带红外光源将红外光源信号通过分光片分别传输给1型滤光片、2型滤光片和3型滤光片;As shown in FIG. 1 , an embodiment of the present invention provides a sulfide pollution detection system for an unmanned aerial vehicle and a detection method thereof, including detection of sulfide pollution, including a broadband infrared light source, and the broadband infrared light source transmits the infrared light source signal to the Type 1 filter, Type 2 filter and Type 3 filter;

1型滤光片、2型滤光片和3型滤光片分别对红外光源信号通过待测环境的气流通道传递给单色器;The 1-type filter, the 2-type filter and the 3-type filter respectively transmit the infrared light source signal to the monochromator through the airflow channel of the environment to be measured;

1型滤光片、2型滤光片和3型滤光片根据稳定环境中的光揳将红外光源传递给单色器;Type 1 filter, Type 2 filter and Type 3 filter pass the infrared light source to the monochromator according to the light source in a stable environment;

单色器将1型滤光片的红外光源传递给接收器,并且通过放大器传输给MCU;The monochromator transmits the infrared light source of the type 1 filter to the receiver, and transmits it to the MCU through the amplifier;

单色器将2型滤光片和3型滤光片的红外光源分别通过2型滤光器和3型滤光器传递给接收器,接收器通过USB接口传递给MUS;The monochromator transmits the infrared light source of the type 2 filter and the type 3 filter to the receiver through the type 2 filter and the type 3 filter respectively, and the receiver transmits it to the MUS through the USB interface;

单色器内部通过MUS对电机进行控制,电机带动斩光器进行运作,并且对信号进行传输;The monochromator controls the motor through MUS, the motor drives the chopper to operate, and transmits the signal;

MUS对舵机进行控制,舵机对光揳进行方向的转换,光揳接收在稳定环境中的通过滤光片传递过来的红外光源;MUS controls the steering gear, the steering gear converts the direction of the light beam, and the light beam receives the infrared light source transmitted through the filter in a stable environment;

MUS通过485与外围设备进行连接并且传输信号,MUS通过IIC与AT24CO2进行连接并且传输信号,首先由气流通道下方的接收通道中的接收器接收气流通道上方光源通道发射出来的不同波段的红外光谱,其中接收检测硫化氢波段的红外光谱的接收器会将光信号转变为电信号,这一电信号在经过电压放大器后被微控制器的AD检测引脚所检测,从而转变为可以被微控制器处理的数字信号,而对于二氧化硫和二氧化碳的检测则是直接通过USB接口及相应的转换电路接收传出的数据,从而进行相应的数据的计算。MUS is connected to peripheral devices through 485 and transmits signals. MUS is connected to AT24CO2 through IIC and transmits signals. First, the receiver in the receiving channel below the airflow channel receives the infrared spectrum of different bands emitted by the light source channel above the airflow channel. The receiver that detects the infrared spectrum in the hydrogen sulfide band will convert the optical signal into an electrical signal, and this electrical signal will be detected by the AD detection pin of the microcontroller after passing through the voltage amplifier, so that it can be converted into an electrical signal that can be detected by the microcontroller. For the detection of sulfur dioxide and carbon dioxide, the outgoing data is directly received through the USB interface and the corresponding conversion circuit, so as to calculate the corresponding data.

实施例二:Embodiment 2:

如图2所示,本发明实施例提供一种无人机硫化物污染检测系统及其检测方法,包括硫化物污染检测,整个系统在第一次运行时需要进行一个基本的调零校准,此时将传感器检测部分置入到充满相应检测气体的环境中,启动系统后在一定时间内若按下校准按钮,系统就会通过采集到的ADC数据与理论数据进行对比,并将对比后结构反馈到对舵机的控制,从而调整光揳的角度,经过较短时间的自适应调整,就能够使得传感器的光揳位置调整到一个合理的角度,并且在校准完成之后,系统还会将当下所调整的PWM占空比数据通过I2C总线记录在EEPROM芯片中,当用户不需要进行零点校准,则可以在运行系统后系统会自动根据EEPROM中所保存的数据进行相应的PWM波占空比的设置,而使用者可以直接通过建立在485总线上的Modbus协议发送相应的报文获取传感器的检测数据,系统通过采集到的ADC数据与理论数据进行对比,并将对比后结构反馈到对舵机的控制,从而调整光揳的角度,从而实现对参考零点的调整,经过较短时间的自适应调整。As shown in FIG. 2 , an embodiment of the present invention provides a UAV sulfide pollution detection system and a detection method thereof, including sulfide pollution detection. The entire system needs to perform a basic zero adjustment and calibration during the first operation. The sensor detection part is placed in the environment filled with the corresponding detection gas. If the calibration button is pressed within a certain period of time after starting the system, the system will compare the collected ADC data with the theoretical data, and feedback the structure after the comparison. To control the steering gear to adjust the angle of the light beam, after a short period of adaptive adjustment, the light beam position of the sensor can be adjusted to a reasonable angle, and after the calibration is completed, the system will also adjust the current position. The adjusted PWM duty cycle data is recorded in the EEPROM chip through the I2C bus. When the user does not need to perform zero calibration, the system can automatically set the corresponding PWM wave duty cycle according to the data saved in the EEPROM after running the system. , and the user can directly obtain the detection data of the sensor by sending the corresponding message through the Modbus protocol established on the 485 bus. The system compares the collected ADC data with the theoretical data, and feeds back the structure after the comparison to the steering gear. Control, so as to adjust the angle of the light beam, so as to realize the adjustment of the reference zero point, after a short period of self-adaptive adjustment.

实施例三:Embodiment three:

如图3所示,本发明实施例提供一种无人机硫化物污染检测系统及其检测方法,包括硫化物污染检测,在实际的采集过程中,微控制器会通过外部中断引脚同时检测三个被检测信号的上升沿,当检测到上升沿的存在后就会启动相应通道的AD转换,等到AD转换完成后会将数据记录在对应位置的数组中,当重复检测了5次以后,微控制器就会将数组中的5个数据去除掉最大的数据和最小的数据,并且对剩下的三个数据进行平均值的计算,随后将计算后的数据保存到另一个变量中;As shown in FIG. 3 , an embodiment of the present invention provides a UAV sulfide pollution detection system and a detection method, including sulfide pollution detection. During the actual acquisition process, the microcontroller will simultaneously detect through an external interrupt pin The rising edge of the three detected signals, when the existence of the rising edge is detected, the AD conversion of the corresponding channel will be started, and the data will be recorded in the array of the corresponding position after the AD conversion is completed. After repeated detection 5 times, The microcontroller will remove the largest data and the smallest data from the 5 data in the array, and calculate the average value of the remaining three data, and then save the calculated data to another variable;

并且,在每检测完一次上升沿到来后的电压后还会检测一次下降沿到来后的电压,以确定此刻的参考零点的电压是多少,在连续检测了五个下降沿到来后的电压后会去除五个数据里的最大值和最小值,然后求取剩下的三个数的平均数作为参考零点的电压放入相应的变量中,最后将检测到的通过待检测气体的光束所引起的后继电路电压变化和参考零点的电压做差后放入相应的数组中作为实际有效数据,而该数组最多存放20个数据,当20个数据存满后就会自高向低冲刷数组中的数据,等待建立在485通信上的Modbus协议由主机向该传感器系统所要数据后便会将检测的数据一次性地发送给主机,在每检测完一次上升沿到来后的电压后还会检测一次下降沿到来后的电压,以确定此刻的参考零点的电压是多少,从而避免了光源因工作时间过程而导致的温漂,从而使得传感器检测的精度下降。In addition, after each detection of the voltage after the arrival of the rising edge, the voltage after the arrival of the falling edge will be detected once to determine the voltage of the reference zero point at this moment. After five consecutive detections of the voltage after the arrival of the falling edge, the Remove the maximum and minimum values in the five data, and then calculate the average of the remaining three numbers as the voltage of the reference zero point and put it into the corresponding variable. The difference between the voltage change of the subsequent circuit and the voltage of the reference zero point is put into the corresponding array as the actual valid data, and the array can store up to 20 data. When the 20 data is full, the data in the array will be flushed from high to low. , wait for the Modbus protocol established on the 485 communication to send the detected data to the host at one time after the host requests the data from the sensor system, and will detect a falling edge after each detection of the voltage after a rising edge. The voltage after the arrival is used to determine the voltage of the reference zero point at the moment, so as to avoid the temperature drift of the light source caused by the working time process, thereby reducing the detection accuracy of the sensor.

实施例四:Embodiment 4:

如图4所示,本发明实施例提供一种无人机硫化物污染检测系统及其检测方法,包括硫化物污染检测,在系统未能够从EEPROM中读取到有效数据以及使用者在开机后的5s内按下过校准按键,则系统会进入到校准模式,此时系统会立刻开始判断,信号接收引脚存在过下降沿,当存在则证明系统已经处于待检测气体浓度较高的环境下,便可以开始进行校准,在校准的时候,系统会控制舵机回归0°角位置,然后根据检测到的ADC数据不断对舵机进行控制,当检测到的ADC数据能够在0至10之间时则证明此时舵机所控制的光揳角度能够满足检测的需要,从而证明校准成功,将当下PWM输出的数据记录在EEPROM中,并且控制LED发出绿光提醒使用者校准完成,在系统未检测到数据,或者使用者开机后5s内,使用者按下校准件,系统进入校准模式,控制舵机回归到0°角位置,提高了系统的自动运行的能力,同时防止数据的流失导致重大的失误。As shown in FIG. 4 , an embodiment of the present invention provides a UAV sulfide pollution detection system and a detection method thereof, including sulfide pollution detection, when the system fails to read valid data from the EEPROM and the user turns on the machine after the If the calibration button is pressed within 5s, the system will enter the calibration mode. At this time, the system will immediately start judging that the signal receiving pin has a falling edge. , the calibration can be started. During calibration, the system will control the steering gear to return to the 0° angular position, and then continuously control the steering gear according to the detected ADC data. When the detected ADC data can be between 0 and 10 At this time, it proves that the light angle controlled by the servo can meet the needs of the detection, so as to prove that the calibration is successful, record the current PWM output data in the EEPROM, and control the LED to emit a green light to remind the user that the calibration is completed. Data is detected, or within 5s after the user turns on the power, the user presses the calibration part, the system enters the calibration mode, and controls the steering gear to return to the 0° angular position, which improves the automatic operation of the system and prevents the loss of data from causing serious problems. 's mistakes.

尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, and substitutions can be made in these embodiments without departing from the principle and spirit of the invention and modifications, the scope of the present invention is defined by the appended claims and their equivalents.

Claims (7)

1. The utility model provides an unmanned aerial vehicle sulphide pollution detection system, includes broadband infrared light source, its characterized in that: the broadband infrared light source transmits infrared light source signals to the type 1 optical filter, the type 2 optical filter and the type 3 optical filter through the light splitting piece respectively;
the type 1 optical filter, the type 2 optical filter and the type 3 optical filter respectively transmit infrared light source signals to the monochromator through airflow channels of an environment to be detected;
the type 1 optical filter, the type 2 optical filter and the type 3 optical filter transmit an infrared light source to the monochromator according to light ions in a stable environment;
the monochromator transmits an infrared light source of the type 1 optical filter to the receiver and transmits the infrared light source to the MCU through the amplifier;
the monochromator transmits the infrared light sources of the 2-type optical filter and the 3-type optical filter to the receiver through the 2-type optical filter and the 3-type optical filter respectively, and the receiver transmits the infrared light sources to the MUS through the USB interface.
2. The unmanned aerial vehicle sulfide contamination detection system of claim 1, wherein: the monochromator is internally controlled by the MUS, and the motor drives the chopper to operate and transmit signals.
3. The unmanned aerial vehicle sulfide contamination detection system of claim 1, wherein: the MUS controls the steering engine, the steering engine converts the direction of the light wedge, and the light wedge receives the infrared light source transmitted by the optical filter in a stable environment.
4. The unmanned aerial vehicle sulfide contamination detection system of claim 1, wherein: the MUS is connected to and transmits signals with the peripheral device through 485, and the MUS is connected to and transmits signals with the AT24CO2 through IIC.
5. An unmanned aerial vehicle sulfide pollution detection method is characterized in that: the unmanned aerial vehicle sulfide pollution detection method comprises the following steps: the whole system needs to perform basic zero-setting calibration when running for the first time, at the moment, a sensor detection part is placed in an environment filled with corresponding detection gas, if a calibration button is pressed within a certain time after the system is started, the system can compare acquired ADC data with theoretical data and feed back the compared structure to control a steering engine, so that the angle of an optical wedge is adjusted, the optical wedge position of the sensor can be adjusted to a reasonable angle through short-time self-adaptive adjustment, after the calibration is completed, the system can record the currently adjusted PWM duty ratio data in an EEPROM chip through an I2C bus, when a user does not need to perform zero-setting, the system can automatically set the corresponding PWM wave duty ratio according to the data stored in the EEPROM after the system is operated, and the user can directly send corresponding messages to acquire the detection data of the sensor through a Modbus protocol established on a 485 bus.
6. The unmanned aerial vehicle sulfide contamination detection method of claim 5, wherein: the unmanned aerial vehicle sulfide pollution detection method further comprises the following steps: in the actual acquisition process, the microcontroller can simultaneously detect the rising edges of three detected signals through an external interrupt pin, the AD conversion of a corresponding channel is started after the rising edges are detected, data are recorded in an array at a corresponding position after the AD conversion is completed, 5 data in the array are removed by the microcontroller after the repeated detection is carried out for 5 times, the maximum data and the minimum data are calculated for the remaining three data, and then the calculated data are stored in another variable;
and the voltage after the arrival of the falling edge is detected once after the voltage after the arrival of the rising edge is detected once, so as to determine the voltage of the reference zero point at the moment, the maximum and minimum values of the five data are removed after the voltages of the five falling edges are continuously detected, then the average of the remaining three numbers is taken as the voltage of the reference zero point and put into the corresponding variable, finally, the detected voltage change of a subsequent circuit caused by the light beam passing through the gas to be detected and the voltage of the reference zero point are differentiated and then are put into a corresponding array to be used as actual effective data, the array stores 20 data at most, when the 20 data are full, the data in the array can be flushed from high to low, and the detected data can be sent to the host computer once after the data are required by the sensor system through the Modbus protocol established on 485 communication and sent by the host computer.
7. The unmanned aerial vehicle sulfide contamination detection method of claim 5, wherein: the unmanned aerial vehicle sulfide pollution detection method further comprises the following steps: the system can enter a calibration mode if effective data cannot be read from the EEPROM and a user presses a calibration key within 5s after the system is started, the system can immediately start to judge at the moment, a signal receiving pin has a falling edge, the system can start to calibrate if the signal receiving pin has the falling edge, the system is proved to be in an environment with high concentration of gas to be detected if the signal receiving pin has the falling edge, the steering engine can be controlled to return to a 0-degree angular position by the system during calibration, then the steering engine is continuously controlled according to detected ADC data, the light wedge angle controlled by the steering engine can meet the detection requirement if the detected ADC data can be between 0 and 10, the calibration is proved to be successful, the data output by current PWM is recorded in the EEPROM, and the LED is controlled to emit green light to remind the user of completing the calibration.
CN202111646207.2A 2021-12-30 2021-12-30 A UAV sulfide pollution detection system and detection method thereof Active CN114965264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111646207.2A CN114965264B (en) 2021-12-30 2021-12-30 A UAV sulfide pollution detection system and detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111646207.2A CN114965264B (en) 2021-12-30 2021-12-30 A UAV sulfide pollution detection system and detection method thereof

Publications (2)

Publication Number Publication Date
CN114965264A true CN114965264A (en) 2022-08-30
CN114965264B CN114965264B (en) 2024-11-12

Family

ID=82974644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111646207.2A Active CN114965264B (en) 2021-12-30 2021-12-30 A UAV sulfide pollution detection system and detection method thereof

Country Status (1)

Country Link
CN (1) CN114965264B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2205005Y (en) * 1994-07-08 1995-08-09 张乃聪 Optical device of infrared multiple gas analyser
CN1695181A (en) * 2002-11-04 2005-11-09 新科实业有限公司 Calibration system and method for hard disk drive magnetic head flying height tester
US20070034792A1 (en) * 2005-08-12 2007-02-15 Shenzhen Mindray Bio-Medical Electronics Co., Ltd. Method and apparatus for detecting gas concentration with infrared absorption characteristics
CN101561391A (en) * 2009-06-04 2009-10-21 中国航空工业集团公司西安飞机设计研究所 Gas concentration measuring device and measuring method thereof
CN102183482A (en) * 2011-02-23 2011-09-14 中国科学院安徽光学精密机械研究所 Non-disperse infrared multi-component flue gas analyzer
CN203324179U (en) * 2013-05-20 2013-12-04 安徽大学 High-sensitivity portable gas detection instrument based on NDIR (Non-Dispersive Infra-Red) principle
US20150142364A1 (en) * 2012-04-24 2015-05-21 Westco Scientific Instruments, Inc. Spectrometer reference calibration
CN105911010A (en) * 2016-06-12 2016-08-31 北京千安哲信息技术有限公司 Trace gas pollutant detecting device and method
CN109975234A (en) * 2019-04-17 2019-07-05 深圳市唯锐科技有限公司 A kind of miniaturization methylene oxide detecting instrument based on middle infrared LED absorption spectrum
CN111077099A (en) * 2019-12-24 2020-04-28 首都师范大学 A kind of formaldehyde concentration detection method and device based on infrared absorption spectrum
CN113552070A (en) * 2021-08-13 2021-10-26 国网上海市电力公司 Gas detection system based on photoacoustic spectroscopy

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2205005Y (en) * 1994-07-08 1995-08-09 张乃聪 Optical device of infrared multiple gas analyser
CN1695181A (en) * 2002-11-04 2005-11-09 新科实业有限公司 Calibration system and method for hard disk drive magnetic head flying height tester
US20070034792A1 (en) * 2005-08-12 2007-02-15 Shenzhen Mindray Bio-Medical Electronics Co., Ltd. Method and apparatus for detecting gas concentration with infrared absorption characteristics
CN101561391A (en) * 2009-06-04 2009-10-21 中国航空工业集团公司西安飞机设计研究所 Gas concentration measuring device and measuring method thereof
CN102183482A (en) * 2011-02-23 2011-09-14 中国科学院安徽光学精密机械研究所 Non-disperse infrared multi-component flue gas analyzer
US20150142364A1 (en) * 2012-04-24 2015-05-21 Westco Scientific Instruments, Inc. Spectrometer reference calibration
CN203324179U (en) * 2013-05-20 2013-12-04 安徽大学 High-sensitivity portable gas detection instrument based on NDIR (Non-Dispersive Infra-Red) principle
CN105911010A (en) * 2016-06-12 2016-08-31 北京千安哲信息技术有限公司 Trace gas pollutant detecting device and method
CN109975234A (en) * 2019-04-17 2019-07-05 深圳市唯锐科技有限公司 A kind of miniaturization methylene oxide detecting instrument based on middle infrared LED absorption spectrum
CN111077099A (en) * 2019-12-24 2020-04-28 首都师范大学 A kind of formaldehyde concentration detection method and device based on infrared absorption spectrum
CN113552070A (en) * 2021-08-13 2021-10-26 国网上海市电力公司 Gas detection system based on photoacoustic spectroscopy

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韩志刚;尚中锋;王书潜;祁泽刚;任志雷;: "一种电控可变波长的多气体红外传感器", 电子测量技术, no. 07, 15 July 2012 (2012-07-15) *

Also Published As

Publication number Publication date
CN114965264B (en) 2024-11-12

Similar Documents

Publication Publication Date Title
CN102768341A (en) Battery capacity monitoring system for flying robot
CN102878926B (en) High-sensitivity strip drift detection device based on array infrared technology
CN114965264A (en) A kind of unmanned aerial vehicle sulfide pollution detection system and its detection method
CN202351170U (en) Water quality COD (Chemical Oxygen Demand) photoelectric detection device with reference optical path
CN111398203A (en) Low-power consumption methane detection device and method
CN215297137U (en) In-situ ammonia gas analyzer for measuring dry basis concentration
CN103575687B (en) Portable CO 2highly sensitive detection system
CN202886276U (en) Low-power-consumption and small-size automobile exhaust analysis equipment
CN105652865A (en) Line-hunting control system of robot
CN215678426U (en) Glycated hemoglobin analyzer control system
CN205538658U (en) Gaseous concentration measurement system in ultraviolet gas analysis appearance
CN103702472A (en) Self-adaptive light source for photoelectric automatic-collimation system
CN203882213U (en) Classroom lamplight and temperature monitoring device
CN208044364U (en) A monitoring device for gaseous pollutants and meteorological elements based on industrial bus
CN104568801B (en) Light source control method in ultraviolet gas analyzer
CN204596136U (en) A kind of long-range meteorological factor data acquisition system (DAS) based on hub
CN102426446A (en) Comfort control system based on AVR single chip
CN204463439U (en) A kind of monitoring overspeed of vehicle device
CN207263213U (en) A kind of ambient air quality monitoring device
WO2017008301A1 (en) Automatically photosensitive and brightness-adjustable led street lamp
CN210405712U (en) LED lighting system for subway carriage
CN204656187U (en) A kind of organic waste gas treatment system discharge-channel
CN217767643U (en) Equipment for electric automobile power operation simulation training system
CN204422062U (en) A kind of environmental noise tester
CN205210744U (en) Agricultural thing networking monitor terminal

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
CB02 Change of applicant information

Country or region after: China

Address after: Building 23, Phase III, Fuqiao Industrial Park, No. 42 Hongxin Road, Taicang City, Suzhou City, Jiangsu Province, 215000

Applicant after: Yitian Aviation Technology (Suzhou) Co.,Ltd.

Address before: 215000 Building 2, type A, Sanfeng Industrial Park, Yushan forest farm, Changshu City, Suzhou City, Jiangsu Province

Applicant before: YITIAN AVIATION TECHNOLOGY CO.,LTD.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant