CN104569993B - A kind of all-around ultrasonic wave obstacle detector for four-axle aircraft - Google Patents

A kind of all-around ultrasonic wave obstacle detector for four-axle aircraft Download PDF

Info

Publication number
CN104569993B
CN104569993B CN201510001548.2A CN201510001548A CN104569993B CN 104569993 B CN104569993 B CN 104569993B CN 201510001548 A CN201510001548 A CN 201510001548A CN 104569993 B CN104569993 B CN 104569993B
Authority
CN
China
Prior art keywords
ultrasonic
chip microcomputer
aircraft
circuit
distance
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.)
Expired - Fee Related
Application number
CN201510001548.2A
Other languages
Chinese (zh)
Other versions
CN104569993A (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.)
Hangzhou Aerospace Xinghuan Space Technology Co Ltd
Original Assignee
Harbin Engineering 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 Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN201510001548.2A priority Critical patent/CN104569993B/en
Publication of CN104569993A publication Critical patent/CN104569993A/en
Application granted granted Critical
Publication of CN104569993B publication Critical patent/CN104569993B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/88Sonar systems specially adapted for specific applications
    • G01S15/93Sonar systems specially adapted for specific applications for anti-collision purposes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/02Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems using reflection of acoustic waves
    • G01S15/06Systems determining the position data of a target
    • G01S15/08Systems for measuring distance only

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

本发明属于飞行环境障碍探测领域,具体涉及一种实现全方位距离测量的、碰撞检测和预警的用于四轴飞行器的全向超声波障碍探测器。用于四轴飞行器的全向超声波障碍探测器,包括单片机、多路选择开关、升压电路、放大电路、超声波发射探头、超声波接收探头、温度补偿电路、接口。本发明由于采用全向超声波探头,可以对周围环境进行全方位检测。在某一瞬时,可以同时实现四旋翼飞行器与周围环境相对距离测量,碰撞威胁发现及预警。大幅减少了用于军事侦查的时间,具备侦查速度优势,而且全向超声波探测器在工作时不需要四轴飞行器调整姿态,又大幅降低了操作的复杂性,提高检测效率和实时性。

The invention belongs to the field of flight environment obstacle detection, and in particular relates to an omnidirectional ultrasonic obstacle detector for a four-axis aircraft that realizes omnidirectional distance measurement, collision detection and early warning. An omnidirectional ultrasonic obstacle detector for a quadcopter, including a single-chip microcomputer, a multi-way selector switch, a boost circuit, an amplifier circuit, an ultrasonic transmitting probe, an ultrasonic receiving probe, a temperature compensation circuit, and an interface. Because the present invention adopts the omnidirectional ultrasonic probe, it can carry out all-round detection to the surrounding environment. At a certain moment, the relative distance measurement between the quadrotor aircraft and the surrounding environment, collision threat detection and early warning can be realized at the same time. It greatly reduces the time used for military investigation and has the advantage of investigation speed. Moreover, the omnidirectional ultrasonic detector does not require the quadcopter to adjust its attitude during operation, which greatly reduces the complexity of operation and improves detection efficiency and real-time performance.

Description

一种用于四轴飞行器的全向超声波障碍探测器An Omnidirectional Ultrasonic Obstacle Detector for Quadcopters

技术领域technical field

本发明属于飞行环境障碍探测领域,具体涉及一种实现全方位距离测量的、碰撞检测和预警的用于四轴飞行器的全向超声波障碍探测器。The invention belongs to the field of flight environment obstacle detection, and in particular relates to an omnidirectional ultrasonic obstacle detector for a four-axis aircraft that realizes omnidirectional distance measurement, collision detection and early warning.

背景技术Background technique

由于无人飞行器飞行的城市环境越来越复杂,无人机数据采集难度大大增加,对机载超声波敏感器的探测也提出了更高的要求。常规机载超声波探测器采用固定的单个超声波发射器和接收器采集数据,通过单片机对数据进行处理。这使得在某一瞬时,飞行器只能获得单一方向的障碍情况;同时,传统的机载超声波探测器对周围的环境距离进行测量时,需要调整飞行器姿态,不仅加大了操作难度,而且缺乏可靠性。常规超声波探测器通过多次调整飞行器姿态寻找目标,操作性差。As the urban environment in which unmanned aerial vehicles fly is becoming more and more complex, the difficulty of UAV data collection is greatly increased, and higher requirements are put forward for the detection of airborne ultrasonic sensors. Conventional airborne ultrasonic detectors use a fixed single ultrasonic transmitter and receiver to collect data, and process the data through a single-chip microcomputer. This makes the aircraft only obtain obstacles in a single direction at a certain moment; at the same time, when the traditional airborne ultrasonic detector measures the distance of the surrounding environment, it needs to adjust the attitude of the aircraft, which not only increases the difficulty of operation, but also lacks reliability. sex. Conventional ultrasonic detectors find targets by adjusting the attitude of the aircraft many times, which is poor in operability.

发明内容Contents of the invention

本发明的目的是解决单个固定机载超声波探测器在故障检测、距离测量、目标寻找中操作性差的问题,提供一种用于四轴飞行器的全向超声波障碍探测器。The purpose of the present invention is to solve the problem of poor operability of a single fixed airborne ultrasonic detector in fault detection, distance measurement, and target finding, and provide an omnidirectional ultrasonic obstacle detector for quadcopters.

本发明的目的是这样实现的:The purpose of the present invention is achieved like this:

用于四轴飞行器的全向超声波障碍探测器,包括单片机、多路选择开关、升压电路、放大电路、超声波发射探头、超声波接收探头、温度补偿电路、接口:Omni-directional ultrasonic obstacle detector for quadcopter, including single-chip microcomputer, multi-way selection switch, boost circuit, amplifier circuit, ultrasonic transmitting probe, ultrasonic receiving probe, temperature compensation circuit, interface:

单片机1输入端与多路选择开关2、温度补偿计7;输出端与多路选择开关2、接口6相连;多路选择开关2与单片机1、升压电路3、放大电路8相连;升压电路3的输入端与多路选择开关2相连;输出端与超声波发射探头4相连;超声波发射探头4的输入端与升压电路3相连;超声波接收探头5的输出端与放大电路8相连;接口6的输入端与单片机1相连;温度补偿计7的输出端与单片机1相连;放大电路8的输入端与超声波接收探头5相连;输出端与多路选择开关2相连。The input terminal of the single-chip microcomputer 1 is connected with the multi-channel selection switch 2 and the temperature compensation meter 7; the output terminal is connected with the multi-channel selection switch 2 and the interface 6; The input end of the circuit 3 is connected with the multi-way selection switch 2; the output end is connected with the ultrasonic transmitting probe 4; the input end of the ultrasonic transmitting probe 4 is connected with the boost circuit 3; the output end of the ultrasonic receiving probe 5 is connected with the amplifier circuit 8; the interface The input end of 6 is connected with single-chip microcomputer 1; the output end of temperature compensation meter 7 is connected with single-chip microcomputer 1; the input end of amplifier circuit 8 is connected with ultrasonic receiving probe 5;

超声波发射探头、超声波接收探头由12个,多路选择包括24个开关,其中11个开关分别与放大电路的输出端相连,11个开关与升压电路的输入端相连,单片机的输入、输出端与多路选择开关相连;单片机控制发出微弱信号,经由多路选择开关进入升压电路,升压电路将微弱信号转化为强电信号,强电信号进入12个超声波发射探头,转化为超声波向周围环境中发射;超声波遇到周围环境中的障碍物发生反射,与12个发射探头相对应的12个接收探头接收到反射波,将超声波转化为微弱电信号,电信号进入放大电路将电信号放大,放大之后的电信号经由多路选择开关进入单片机,单片机对于采集的数据进行处理,判断那些方向有超声波反射回来,证明该方向环境中存在障碍物,并且通过超声波的传播时间,计算环境障碍物与飞行器之间的距离:There are 12 ultrasonic transmitting probes and ultrasonic receiving probes. The multi-channel selection includes 24 switches, of which 11 switches are respectively connected to the output end of the amplifier circuit, 11 switches are connected to the input end of the boost circuit, and the input and output ends of the single-chip microcomputer Connected with the multi-way selector switch; the single-chip microcomputer control sends out a weak signal, which enters the booster circuit through the multi-way selector switch, and the booster circuit converts the weak signal into a strong electric signal, and the strong electric signal enters 12 ultrasonic transmitting probes, and transforms into ultrasonic waves to the surroundings Transmitting in the environment; the ultrasonic waves are reflected by obstacles in the surrounding environment, and the 12 receiving probes corresponding to the 12 transmitting probes receive the reflected waves, convert the ultrasonic waves into weak electrical signals, and the electrical signals enter the amplification circuit to amplify the electrical signals , the amplified electrical signal enters the single-chip microcomputer through the multi-way selection switch, and the single-chip microcomputer processes the collected data, judges those directions where ultrasonic waves are reflected back, proves that there are obstacles in the environment in this direction, and calculates environmental obstacles through the propagation time of ultrasonic waves Distance from aircraft:

si=165.75ti i=1,2,...,ns i =165.75t i i =1,2,...,n

式中si为采样点,以飞行器为圆心,以正北方向为起点的360°方向采集n+1个点,分别为In the formula, s i is the sampling point, with the aircraft as the center and the north as the starting point, n+1 points are collected in a 360° direction, respectively

s0,s1,s2,…sn,利用拉格朗日插值法对n+1个离散点进行函数拟合,得到飞行器周围距离:s 0 , s 1 , s 2 ,…s n , use Lagrangian interpolation method to perform function fitting on n+1 discrete points, and get the distance around the aircraft:

Ln(θ)=s0L0(θ)+s1L1(θ)+…+snLn(θ)。L n (θ) = s 0 L 0 (θ) + s 1 L 1 (θ) + . . . + s n L n (θ).

温度补偿电路7的输出端与单片机1,所述的超声波发射探头、超声波接收探头由12个,多路选择包括24个开关,其中11个开关分别与放大电路的输出端相连,11个开关与升压电路的输入端相连,单片机的输入、输出端与多路选择开关相连;单片机控制发出微弱信号,经由多路选择开关进入升压电路,升压电路将微弱信号转化为强电信号,强电信号进入12个超声波发射探头,转化为超声波向周围环境中发射;超声波遇到周围环境中的障碍物发生反射,与12个发射探头相对应的12个接收探头接收到反射波,将超声波转化为微弱电信号,电信号进入放大电路将电信号放大,放大之后的电信号经由多路选择开关进入单片机,单片机对于采集的数据进行处理,判断那些方向有超声波反射回来,证明该方向环境中存在障碍物,并且通过超声波的传播时间,计算环境障碍物与飞行器之间的距离:The output end of the temperature compensation circuit 7 is connected with the single-chip microcomputer 1, and the ultrasonic transmitting probe and the ultrasonic receiving probe consist of 12, and the multi-channel selection includes 24 switches, wherein 11 switches are connected with the output end of the amplifying circuit respectively, and 11 switches are connected with the output end of the amplifier circuit. The input terminal of the boost circuit is connected, and the input and output terminals of the single-chip microcomputer are connected with the multi-channel selector switch; the single-chip microcomputer controls to send out a weak signal, which enters the boost circuit through the multi-channel selector switch, and the boost circuit converts the weak signal into a strong electric signal, which is strong The electrical signal enters 12 ultrasonic transmitting probes and is transformed into ultrasonic waves and is transmitted to the surrounding environment; the ultrasonic waves are reflected by obstacles in the surrounding environment, and the 12 receiving probes corresponding to the 12 transmitting probes receive the reflected waves and convert the ultrasonic waves into It is a weak electrical signal, and the electrical signal enters the amplification circuit to amplify the electrical signal, and the amplified electrical signal enters the single-chip microcomputer through the multi-way selection switch. Obstacles, and through the propagation time of ultrasonic waves, calculate the distance between the environmental obstacles and the aircraft:

式中si为采样点,以飞行器为圆心,以正北方向为起点的360°方向采集n+1个点,分别为s0,s1,s2,…sn,利用拉格朗日插值法对n+1个离散点进行函数拟合,得到飞行器周围距离:In the formula, s i is the sampling point, with the aircraft as the center of the circle, n+1 points are collected in a 360° direction starting from the true north direction, which are respectively s 0 , s 1 , s 2 ,…s n , using Lagrangian The interpolation method performs function fitting on n+1 discrete points to obtain the distance around the aircraft:

Ln(θ)=s0L0(θ)+s1L1(θ)+…+snLn(θ)。L n (θ) = s 0 L 0 (θ) + s 1 L 1 (θ) + . . . + s n L n (θ).

本发明的有益效果在于:本发明由于采用全向超声波探头,可以对周围环境进行全方位检测。在某一瞬时,可以同时实现四旋翼飞行器与周围环境相对距离测量,碰撞威胁发现及预警。大幅减少了用于军事侦查的时间,具备侦查速度优势,而且全向超声波探测器在工作时不需要四轴飞行器调整姿态,又大幅降低了操作的复杂性,提高检测效率和实时性。The beneficial effect of the present invention lies in that: the present invention can perform omnidirectional detection of the surrounding environment due to the use of the omnidirectional ultrasonic probe. At a certain moment, the relative distance measurement between the quadrotor aircraft and the surrounding environment, collision threat detection and early warning can be realized at the same time. It greatly reduces the time used for military investigation and has the advantage of investigation speed. Moreover, the omnidirectional ultrasonic detector does not require the quadcopter to adjust its attitude during operation, which greatly reduces the complexity of operation and improves detection efficiency and real-time performance.

附图说明Description of drawings

附图1是本发明的探测系统组成示意图。Accompanying drawing 1 is the composition diagram of detection system of the present invention.

附图2是本发明的俯视结构示意图。Accompanying drawing 2 is the top view structure diagram of the present invention.

附图3是本发明的侧视结构示意图。Accompanying drawing 3 is the side view structure diagram of the present invention.

附图4是本发明的温度补偿电路原理图。Accompanying drawing 4 is the schematic diagram of the temperature compensation circuit of the present invention.

附图5是飞行器周围障碍情况及全向距离函数曲线。Accompanying drawing 5 is obstacle situation around aircraft and omnidirectional distance function curve.

具体实施方式detailed description

下面结合附图对本发明做进一步描述。The present invention will be further described below in conjunction with the accompanying drawings.

本发明涉及一种飞行环境障碍探测,可应用于中小型无人飞行器和四旋翼飞行器自主飞行的、全方位距离测量的、碰撞检测和预警的全向超声波探测器及其实现方法,属于无人飞行器的数据采集及处理技术领域。The invention relates to a flight environment obstacle detection, which can be applied to small and medium-sized unmanned aerial vehicles and four-rotor aircraft autonomous flight, omnidirectional distance measurement, collision detection and early warning omnidirectional ultrasonic detector and its implementation method, belonging to unmanned Data acquisition and processing technology field of aircraft.

附图2中,第一层以45°角为间隔,均匀分布八个超声波探头;第二层以120度角为间隔,均匀分布三个超声波探头,并且探头方向与水平面保持45度角。第三层设置一个探测头,与水平面夹角为90度.In Figure 2, eight ultrasonic probes are evenly distributed on the first layer at intervals of 45°; on the second layer, three ultrasonic probes are evenly distributed at intervals of 120°, and the direction of the probes is maintained at an angle of 45° to the horizontal plane. The third layer is equipped with a detection head, the angle with the horizontal plane is 90 degrees.

附图2和附图3两个结构附图表现的是全向超声波探测器的一半结构,由于本结构上下对称,下面的结构域上面部分布局相同,所以不再单独列出。The two structural drawings of accompanying drawings 2 and 3 show half of the structure of the omnidirectional ultrasonic detector. Since the structure is symmetrical up and down, the layout of the upper part of the lower structural domain is the same, so it is not listed separately.

本发明包括单片机、多路选择开关、升压电路、放大电路、超声波发射探头、超声波接收探头、温度补偿电路、接口。The invention includes a single-chip microcomputer, a multi-way selection switch, a boost circuit, an amplifying circuit, an ultrasonic transmitting probe, an ultrasonic receiving probe, a temperature compensation circuit and an interface.

单片机1输入端与多路选择开关2、温度补偿计7;输出端与多路选择开关2、接口6相连。The input end of the single chip microcomputer 1 is connected with the multi-way selection switch 2 and the temperature compensation meter 7 ; the output end is connected with the multi-way selection switch 2 and the interface 6 .

多路选择开关2与单片机1、升压电路3、放大电路8相连。The multi-way selector switch 2 is connected with the single chip microcomputer 1, the voltage boosting circuit 3 and the amplifying circuit 8.

升压电路3的输入端与多路选择开关2相连;输出端与超声波发射探头4相连。The input end of the boost circuit 3 is connected with the multi-way selector switch 2 ; the output end is connected with the ultrasonic transmitting probe 4 .

超声波发射探头4的输入端与升压电路3相连。The input end of the ultrasonic transmitting probe 4 is connected with the boost circuit 3 .

超声波接收探头5的输出端与放大电路8相连。The output end of the ultrasonic receiving probe 5 is connected with the amplifier circuit 8 .

接口6的输入端与单片机1相连。The input end of the interface 6 is connected with the single-chip microcomputer 1 .

温度补偿计7的输出端与单片机1相连。The output terminal of the temperature compensation meter 7 is connected with the single chip microcomputer 1 .

放大电路8的输入端与超声波接收探头5相连;输出端与多路选择开关2相连。The input end of the amplifying circuit 8 is connected with the ultrasonic receiving probe 5 ; the output end is connected with the multiplex switch 2 .

具体实施方式一:下面结合图1说明本实施方式,本实施方式包括单片机、多路选择开关、升压电路、放大电路、12个超声波发射探头、12个超声波接收探头。Specific embodiment one: the present embodiment is described below in conjunction with Fig. 1, and present embodiment comprises single-chip microcomputer, multi-way selection switch, booster circuit, amplifying circuit, 12 ultrasonic transmitting probes, 12 ultrasonic receiving probes.

多路选择包括24个开关,分别为开关21,开关22……开关224,开关21与升压电路31的输入端相连,开关22与放大电路81的输出端相连,开关23与升压电路32输入端相连,开关24与放大电路82的输出端相连,……开关223与升压电路312的输入端相连,开关224与放大电路的输出端相连。The multi-way selection includes 24 switches, which are respectively switch 21, switch 22 ... switch 224, the switch 21 is connected to the input end of the booster circuit 31, the switch 22 is connected to the output end of the amplifier circuit 81, and the switch 23 is connected to the booster circuit 32 The input terminal is connected, the switch 24 is connected with the output terminal of the amplifying circuit 82, ... the switch 223 is connected with the input terminal of the boost circuit 312, and the switch 224 is connected with the output terminal of the amplifying circuit.

单片机的输入、输出端与多路选择开关相连。The input and output terminals of the single chip microcomputer are connected with the multi-way selection switch.

用于数据采集于处理的全向超声波探测器会利用超声波的反射原理来检测飞行器与周围障碍物的距离或者用来探测飞行器周围的目标物体。全向超声波探测器通过单片机1控制发出微弱信号,经由多路选择开关2进入升压电路3,升压电路3将微弱信号转化为强电信号,强电信号进入12个指向不同的超声波发射探头41,42……412,转化为超声波向周围环境中发射;超声波遇到周围环境中的障碍物发生反射,与12个发射探头相对应的12个接收探头51,52……512接收到反射波,将超声波转化为微弱电信号,电信号进入放大电路8将电信号放大,放大之后的电信号经由多路选择开关2进入单片机。The omnidirectional ultrasonic detector used for data collection and processing will use the principle of ultrasonic reflection to detect the distance between the aircraft and surrounding obstacles or to detect target objects around the aircraft. The omnidirectional ultrasonic detector sends a weak signal through the control of the single-chip microcomputer 1, and enters the boost circuit 3 through the multi-way selector switch 2, and the boost circuit 3 converts the weak signal into a strong electric signal, and the strong electric signal enters 12 ultrasonic transmitting probes with different directions 41, 42...412, converted into ultrasonic waves and transmitted to the surrounding environment; the ultrasonic waves are reflected when encountering obstacles in the surrounding environment, and the 12 receiving probes 51, 52...512 corresponding to the 12 transmitting probes receive the reflected waves , the ultrasonic wave is converted into a weak electrical signal, and the electrical signal enters the amplifying circuit 8 to amplify the electrical signal, and the amplified electrical signal enters the single-chip microcomputer through the multi-way selector switch 2.

单片机对于采集的数据进行处理,判断那些方向有超声波反射回来,证明该方向环境中存在障碍物,并且通过超声波的传播时间,计算环境障碍物与飞行器之间的距离。The single-chip microcomputer processes the collected data, judges which directions have ultrasonic waves reflected back, proves that there are obstacles in the environment in this direction, and calculates the distance between the environmental obstacles and the aircraft through the propagation time of the ultrasonic waves.

距离计算公式为:The distance calculation formula is:

si=165.75ti (i=1,2,...,n)s i =165.75t i (i=1,2,...,n)

式中si为采样点,表示飞行器周围任意方向的距离情况。本发明在以飞行器为圆心,以正北方向为起点的360°方向全向采集n+1个点,分别为s0,s1,s2,…sn,利用拉格朗日插值法对n+1个离散点进行函数拟合,得到飞行器周围距离情况的连续性方程:In the formula, si is the sampling point, which represents the distance in any direction around the aircraft. The present invention collects n+1 points omnidirectionally in a 360° direction with the aircraft as the center and the true north as the starting point, which are respectively s 0 , s 1 , s 2 ,...s n , and uses the Lagrangian interpolation method to n+1 discrete points are used for function fitting, and the continuity equation of the distance around the aircraft is obtained:

Ln(θ)=s0L0(θ)+s1L1(θ)+…+snLn(θ)L n (θ)=s 0 L 0 (θ)+s 1 L 1 (θ)+…+s n L n (θ)

根据连续函数,画出飞行器周围全向距离曲线附图5所示的形式。如果飞行器周围某一方向无障碍物,即距离为无穷大,那么定义该方向距离为一个极大的值,这样可以保证得到的曲线是不存在无穷值。According to the continuous function, draw the form shown in the accompanying drawing 5 of the omnidirectional distance curve around the aircraft. If there is no obstacle in a certain direction around the aircraft, that is, the distance is infinite, then define the distance in this direction as a maximum value, so as to ensure that the obtained curve does not have an infinite value.

具体实施方式二:本实施方案与实施方案一的不同之处在于,它还包括温度补偿电路7,并且在单片机1中加入温度补偿算法和卡尔曼滤波算法,温度补偿电路7的输出端与单片机1相连。Specific embodiment two: the difference between this embodiment and embodiment one is that it also includes a temperature compensation circuit 7, and a temperature compensation algorithm and a Kalman filter algorithm are added in the single-chip microcomputer 1, and the output terminal of the temperature compensation circuit 7 is connected to the single-chip microcomputer 1 connected.

温度补偿电路7的组成如附图4所示,由PT100温敏电阻71、放大电路一72、放大电路二73、AD电路74、滤波算法75、温度补偿算法76组成。The composition of temperature compensation circuit 7 is shown in accompanying drawing 4, is made up of PT100 temperature-sensitive resistor 71, amplifying circuit one 72, amplifying circuit two 73, AD circuit 74, filter algorithm 75, temperature compensation algorithm 76.

由于环境温度受扰动一般变化不大,本发明采用PT100温敏电阻,PT100的特点是可测温度变化范围小,优点是线性化好、测量值精确价格便宜。Since the ambient temperature generally does not change much when disturbed, the present invention uses a PT100 temperature sensitive resistor. The PT100 is characterized by a small range of measurable temperature changes, and has the advantages of good linearization, accurate measurement values and low price.

温敏电阻71受环境温度变化影响,电阻大小发生变化,导致温度补偿电路电信号发生变化,电信号经过两线制桥式电路,即放大电路一和放大电路二,进入单片机中的A/D转换电路,将电信号转化为数字信号。由于飞行器环境温度受到扰动会导致温度值漂移过大,本发明还会采用滤波电路75对数字信号进行处理,使信号值趋于稳定的估计值,测量误差精确到小数点以后1位,从而使环境温度对超声波速度影响产生的误差降到最小。The temperature-sensitive resistor 71 is affected by the change of ambient temperature, and the resistance changes, which leads to the change of the electrical signal of the temperature compensation circuit. The electrical signal passes through the two-wire bridge circuit, that is, the amplifier circuit 1 and the amplifier circuit 2, and enters the A/D in the microcontroller. Converter circuits convert electrical signals into digital signals. Because the disturbance of the ambient temperature of the aircraft will cause the temperature value to drift too much, the present invention will also use the filter circuit 75 to process the digital signal, so that the signal value tends to a stable estimated value, and the measurement error is accurate to 1 digit after the decimal point, thereby making the environment The error caused by the influence of temperature on the ultrasonic velocity is minimized.

温度补偿的距离测量公式为:The distance measurement formula for temperature compensation is:

具体实施方式三:本实施方案与实施方案二不同之处在于,它还包括与预警系统相接的接口6,并且在单片机中加入预警算法,接口6的输入、输出端与单片机1相连。Specific embodiment three: the difference between this embodiment and embodiment two is that it also includes an interface 6 connected to the early warning system, and an early warning algorithm is added in the single-chip microcomputer, and the input and output ends of the interface 6 are connected with the single-chip microcomputer 1.

为了避免飞行器飞行过程中与环境障碍物相撞引起飞行器故障,所以加一个飞行预警系统,避免飞行器与周围环境障碍发生碰撞。当飞行器在某一方向与环境障碍物距离小于临界值时,预警系统发出警报,并且提出最佳规避方案。In order to prevent the aircraft from colliding with environmental obstacles during flight and cause aircraft failure, a flight warning system is added to avoid collisions between the aircraft and surrounding environmental obstacles. When the distance between the aircraft and the environmental obstacles in a certain direction is less than the critical value, the early warning system sends out an alarm and proposes the best avoidance plan.

单片机1收到超声波接收探头2传回的电信号,通过温度补偿算法计算周围环境障碍物与飞行器之间的距离,根据两者之间的距离判断最小距离是否小于碰撞临界值,如果某一方向的距离小于临界值,单片机1发出碰撞警报信号以及最佳躲避信号,通过接口6进入预警系统,预警系统发出警报并且报告危险距离的方位,提出飞行器最佳规避方案:The single-chip microcomputer 1 receives the electrical signal sent back by the ultrasonic receiving probe 2, calculates the distance between the surrounding environment obstacles and the aircraft through the temperature compensation algorithm, and judges whether the minimum distance is less than the collision critical value according to the distance between the two. If the distance is less than the critical value, the single chip microcomputer 1 sends a collision warning signal and the best avoidance signal, and enters the early warning system through the interface 6. The early warning system sends out an alarm and reports the direction of the dangerous distance, and proposes the best avoidance plan for the aircraft:

根据距离函数图象,如果飞行器飞行方向sθ满足条件:According to the distance function image, if the flight direction s θ of the aircraft satisfies the condition:

sθ<s临界 s θ < s critical

那么判断θ+Δθ方向距离sθ+Δθ是否达到规避距离值s规避,如果达到,飞行器向θ+Δθ方向规避,如果达不到要求,那么继续判断θ+2·Δθ方向,直到达到要求为止。Then judge whether the distance s θ +Δθ in the direction of θ+Δθ reaches the avoidance distance value s to avoid , if so, the aircraft avoids in the direction of θ+Δθ, if the requirement is not met, then continue to judge the direction of θ+2·Δθ until the requirement is met .

Claims (1)

1.一种用于四轴飞行器的全向超声波障碍探测器,包括单片机、多路选择开关、升压电路、放大电路、超声波发射探头、超声波接收探头、温度补偿电路、接口,其特征在于:1. a kind of omnidirectional ultrasonic obstacle detector that is used for quadcopter, comprises single-chip microcomputer, multi-way selector switch, step-up circuit, amplifying circuit, ultrasonic emission probe, ultrasonic receiving probe, temperature compensation circuit, interface, it is characterized in that: 单片机(1)输入端与多路选择开关(2)、温度补偿计(7);输出端与多路选择开关(2)、接口(6)相连;多路选择开关(2)与单片机(1)、升压电路(3)、放大电路(8)相连;升压电路(3)的输入端与多路选择开关(2)相连;输出端与超声波发射探头(4)相连;超声波发射探头(4)的输入端与升压电路(3)相连;超声波接收探头(5)的输出端与放大电路(8)相连;接口(6)的输入端与单片机(1)相连;温度补偿计(7)的输出端与单片机(1)相连;放大电路(8)的输入端与超声波接收探头(5)相连;输出端与多路选择开关(2)相连;The input end of the single-chip microcomputer (1) is connected with the multi-way selection switch (2) and the temperature compensation meter (7); the output end is connected with the multi-way selection switch (2) and the interface (6); the multi-way selection switch (2) is connected with the single-chip microcomputer (1 ), the booster circuit (3), and the amplifier circuit (8) are connected; the input end of the booster circuit (3) is connected with the multi-way selector switch (2); the output end is connected with the ultrasonic emission probe (4); the ultrasonic emission probe ( The input end of 4) is connected with the boost circuit (3); the output end of the ultrasonic receiving probe (5) is connected with the amplifier circuit (8); the input end of the interface (6) is connected with the single-chip microcomputer (1); the temperature compensation meter (7 ) is connected to the single-chip microcomputer (1); the input of the amplifying circuit (8) is connected to the ultrasonic receiving probe (5); the output is connected to the multi-way selector switch (2); 所述的超声波发射探头、超声波接收探头有12个,多路选择包括24个开关,其中11个开关分别与放大电路的输出端相连,11个开关与升压电路的输入端相连,单片机的输入、输出端与多路选择开关相连;单片机控制发出微弱信号,经由多路选择开关进入升压电路,升压电路将微弱信号转化为强电信号,强电信号进入12个超声波发射探头,转化为超声波向周围环境中发射;超声波遇到周围环境中的障碍物发生反射,与12个发射探头相对应的12个接收探头接收到反射波,将反射波转化为微弱电信号,电信号进入放大电路将电信号放大,放大之后的电信号经由多路选择开关进入单片机,单片机对于采集的数据进行处理,判断哪些方向有超声波反射回来,证明该方向环境中存在障碍物,并且通过超声波的传播时间,计算环境障碍物与飞行器之间的距离:There are 12 described ultrasonic transmitting probes and ultrasonic receiving probes, and the multi-channel selection includes 24 switches, wherein 11 switches are respectively connected with the output terminals of the amplifying circuit, 11 switches are connected with the input terminals of the booster circuit, and the input of the single-chip microcomputer , The output terminal is connected with the multi-way selector switch; the single-chip microcomputer control sends out a weak signal, which enters the boost circuit through the multi-way selector switch, and the boost circuit converts the weak signal into a strong electric signal, and the strong electric signal enters 12 ultrasonic transmitting probes, which is transformed into Ultrasonic waves are emitted to the surrounding environment; the ultrasonic waves are reflected by obstacles in the surrounding environment, and the 12 receiving probes corresponding to the 12 transmitting probes receive the reflected waves, convert the reflected waves into weak electrical signals, and the electrical signals enter the amplification circuit The electrical signal is amplified, and the amplified electrical signal enters the single-chip microcomputer through the multi-way selector switch. The single-chip microcomputer processes the collected data, judges which directions have ultrasonic waves reflected back, and proves that there are obstacles in the environment in this direction, and through the propagation time of ultrasonic waves, Calculate the distance between environmental obstacles and the aircraft: si=165.75ti i=1,2,...,ns i =165.75t i i =1,2,...,n 式中si为采样点,ti超声波的传播时间,以飞行器为圆心,以正北方向为起点的360°方向采集n+1个点,分别为s0,s1,s2,…sn,利用拉格朗日插值法对n+1个离散点进行函数拟合,得到飞行器周围距离:In the formula, s i is the sampling point, and t i is the propagation time of the ultrasonic wave. With the aircraft as the center and the north direction as the starting point, n+1 points are collected in a 360 ° direction, which are respectively s 0 , s 1 , s 2 ,…s n , use the Lagrange interpolation method to perform function fitting on n+1 discrete points, and get the distance around the aircraft: Ln(θ)=s0L0(θ)+s1L1(θ)+…+snLn(θ);L n (θ)=s 0 L 0 (θ)+s 1 L 1 (θ)+…+s n L n (θ); 所述的温度补偿电路(7)的输出端与单片机(1),所述的超声波发射探头、超声波接收探头由12个,多路选择包括24个开关,其中11个开关分别与放大电路的输出端相连,11个开关与升压电路的输入端相连,单片机的输入、输出端与多路选择开关相连;单片机控制发出微弱信号,经由多路选择开关进入升压电路,升压电路将微弱信号转化为强电信号,强电信号进入12个超声波发射探头,转化为超声波向周围环境中发射;超声波遇到周围环境中的障碍物发生反射,与12个发射探头相对应的12个接收探头接收到反射波,将超声波转化为微弱电信号,电信号进入放大电路将电信号放大,放大之后的电信号经由多路选择开关进入单片机,单片机对于采集的数据进行处理,判断那些方向有超声波反射回来,证明该方向环境中存在障碍物,并且通过超声波的传播时间,计算环境障碍物与飞行器之间的距离:The output end of described temperature compensation circuit (7) and single-chip microcomputer (1), described ultrasonic transmitting probe, ultrasonic receiving probe are by 12, multi-channel selection comprises 24 switches, and wherein 11 switches are connected with the output of amplifying circuit respectively The 11 switches are connected to the input terminals of the boost circuit, and the input and output terminals of the single-chip microcomputer are connected to the multi-way selector switch; the single-chip microcomputer control sends out a weak signal, which enters the boost circuit through the multi-way selector switch, and the booster circuit converts the weak signal It is converted into a strong electrical signal, and the strong electrical signal enters 12 ultrasonic transmitting probes, which are converted into ultrasonic waves and transmitted to the surrounding environment; the ultrasonic waves are reflected by obstacles in the surrounding environment, and the 12 receiving probes corresponding to the 12 transmitting probes receive To the reflected wave, the ultrasonic wave is converted into a weak electrical signal, and the electrical signal enters the amplification circuit to amplify the electrical signal, and the amplified electrical signal enters the single-chip microcomputer through the multi-way selector switch, and the single-chip microcomputer processes the collected data, and judges which directions have ultrasonic waves reflected back , to prove that there is an obstacle in the environment in this direction, and calculate the distance between the environmental obstacle and the aircraft through the propagation time of the ultrasonic wave: <mrow> <msub> <mi>s</mi> <mi>i</mi> </msub> <mo>=</mo> <mfrac> <mrow> <mn>331.5</mn> <mo>+</mo> <mn>0.607</mn> <mi>T</mi> </mrow> <mn>2</mn> </mfrac> <msub> <mi>t</mi> <mi>i</mi> </msub> <mo>,</mo> <mi>i</mi> <mo>=</mo> <mn>1</mn> <mo>,</mo> <mn>2</mn> <mo>,</mo> <mo>...</mo> <mo>,</mo> <mi>n</mi> </mrow> <mrow><msub><mi>s</mi><mi>i</mi></msub><mo>=</mo><mfrac><mrow><mn>331.5</mn><mo>+</mo><mn>0.607</mn><mi>T</mi></mrow><mn>2</mn></mfrac><msub><mi>t</mi><mi>i</mi></msub><mo>,</mo><mi>i</mi><mo>=</mo><mn>1</mn><mo>,</mo><mn>2</mn><mo>,</mo><mo>...</mo><mo>,</mo><mi>n</mi></mrow> 式中si为采样点,T为飞行器环境温度,以飞行器为圆心,以正北方向为起点的360°方向采集n+1个点,分别为s0,s1,s2,…sn,利用拉格朗日插值法对n+1个离散点进行函数拟合,得到飞行器周围距离:In the formula, s i is the sampling point, T is the ambient temperature of the aircraft, and n+1 points are collected in a 360 ° direction with the aircraft as the center and the true north as the starting point, respectively s 0 , s 1 , s 2 ,…s n , use the Lagrange interpolation method to perform function fitting on n+1 discrete points, and get the distance around the aircraft: Ln(θ)=s0L0(θ)+s1L1(θ)+…+snLn(θ);L n (θ)=s 0 L 0 (θ)+s 1 L 1 (θ)+…+s n L n (θ); 还包括与预警系统相接的接口(6),并且在单片机中加入预警算法,接口(6)的输入、输出端与单片机(1)相连;单片机收到超声波接收探头传回的电信号,通过温度补偿算法计算周围环境障碍物与飞行器之间的距离,根据两者之间的距离判断最小距离是否小于碰撞临界值,如果某一方向的距离小于临界值,单片机发出碰撞警报信号以及最佳躲避信号,通过接口(6)进入预警系统,预警系统发出警报并且报告危险距离的方位,提出飞行器最佳规避方案:It also includes an interface (6) connected to the early warning system, and an early warning algorithm is added in the single-chip microcomputer, and the input and output ends of the interface (6) are connected with the single-chip microcomputer (1); The temperature compensation algorithm calculates the distance between the surrounding environment obstacles and the aircraft, and judges whether the minimum distance is less than the collision critical value according to the distance between the two. If the distance in a certain direction is less than the critical value, the single-chip microcomputer sends a collision warning signal and the best avoidance The signal enters the early warning system through the interface (6), the early warning system sends out an alarm and reports the position of the dangerous distance, and proposes the best avoidance plan for the aircraft: 根据距离函数图象,如果飞行器飞行距离sθ满足条件:According to the distance function image, if the flight distance s θ of the aircraft satisfies the condition: sθ<s临界 s θ < s critical 那么判断θ+Δθ方向距离sθ+Δθ是否达到规避距离值s规避,如果达到,飞行器向θ+Δθ方向规避,如果达不到要求,那么继续判断θ+2·Δθ方向,直到达到要求为止。Then judge whether the distance s θ +Δθ in the direction of θ+Δθ reaches the avoidance distance value s to avoid , if so, the aircraft avoids in the direction of θ+Δθ, if the requirement is not met, then continue to judge the direction of θ+2·Δθ until the requirement is met .
CN201510001548.2A 2015-01-05 2015-01-05 A kind of all-around ultrasonic wave obstacle detector for four-axle aircraft Expired - Fee Related CN104569993B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510001548.2A CN104569993B (en) 2015-01-05 2015-01-05 A kind of all-around ultrasonic wave obstacle detector for four-axle aircraft

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510001548.2A CN104569993B (en) 2015-01-05 2015-01-05 A kind of all-around ultrasonic wave obstacle detector for four-axle aircraft

Publications (2)

Publication Number Publication Date
CN104569993A CN104569993A (en) 2015-04-29
CN104569993B true CN104569993B (en) 2017-12-01

Family

ID=53086510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510001548.2A Expired - Fee Related CN104569993B (en) 2015-01-05 2015-01-05 A kind of all-around ultrasonic wave obstacle detector for four-axle aircraft

Country Status (1)

Country Link
CN (1) CN104569993B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991245A (en) * 2015-07-29 2015-10-21 杨珊珊 Unmanned aerial vehicle early warning apparatus and early warning method thereof
CN105353379B (en) * 2015-11-30 2017-10-20 燕山大学 A kind of anticollision ranging right distribution method of many moving bodys
CN105867418A (en) * 2016-04-22 2016-08-17 南京航空航天大学 Universal small unmanned aerial vehicle dual-core flight control computer and control method
CN114019517A (en) * 2021-11-02 2022-02-08 西安正昌电子股份有限公司 Device and method for detecting obstacles around vehicle

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0882673A (en) * 1994-09-13 1996-03-26 Koyo Seiko Co Ltd Ultrasonic distance-measuring apparatus
CN102139164B (en) * 2011-01-28 2012-05-23 深圳市格兰之特科技有限公司 A flying device and method for automatically avoiding obstacles
CN203396950U (en) * 2013-06-04 2014-01-15 西安科技大学 Position range finder for aircraft in limited space
CN104183153A (en) * 2014-07-23 2014-12-03 陈嘉延 Intelligent parking guiding system based on guidance of quadrotor unmanned plane

Also Published As

Publication number Publication date
CN104569993A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN103257348B (en) Measurement system of relative altitude and relative attitude of air vehicle and measurement method thereof
CN104569993B (en) A kind of all-around ultrasonic wave obstacle detector for four-axle aircraft
CN103308934B (en) Method for positioning indoor moving persons by aid of WIFI (wireless fidelity) reflected signals
CN202141803U (en) Multi-mode millimeter wave radar used for unmanned device for electric power line patrol
CN105700550A (en) UAV and its flight control method and system
CN114237277B (en) A UAV obstacle avoidance system based on millimeter wave radar and near-inductive sensing
CN104731092A (en) Multi-directional barrier avoiding system of mobile robot
CN109061623B (en) A planar integrated microwave altimetry radar and measurement method applied to unmanned aerial vehicles
CN107783128A (en) Multi-target collision avoidance system for fixed-wing UAV based on millimeter-wave radar
CN205738071U (en) The compound fault avoidnig device of rotor craft
KR102453333B1 (en) Drone performance test system using gps signals
CN210574333U (en) Mining truck anti-collision early warning system based on radar and WIFI
CN205049136U (en) Unmanned aerial vehicle flight height measuring device
CN204270146U (en) The multi-faceted obstacle avoidance system of a kind of mobile robot
EP3683780A1 (en) Obstacle detection using camera mounted on protrusion of vehicle
CN110687545A (en) A high-precision lidar system
CN206671556U (en) Supersonic range finder and associated aircraft
CN106950983B (en) Obstacle avoidance method and device for unmanned aerial vehicle
CN105629242A (en) Ultrasonic ranging system of environment detection robot
CN201444200U (en) Object detector for mobile robot
CN107678030A (en) A kind of unmanned plane obstacle avoidance system based on millimetre-wave radar
Mackie et al. Compact FMCW radar for a UAS sense and avoid system
WO2018177271A1 (en) Ultrasonic distance measurement device and method and related unmanned aerial vehicle
CN211308915U (en) Low-navigational-speed underwater detection system for ship
Pulayath et al. Review on mmWave radar sensor for 3-D mapping

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220815

Address after: Room 308, Building 8, No. 1818-2, Wenyi West Road, Yuhang Street, Yuhang District, Hangzhou City, Zhejiang Province 311100

Patentee after: Hangzhou Aerospace Xinghuan Space Technology Co., Ltd.

Address before: 150001 Intellectual Property Office, Harbin Engineering University science and technology office, 145 Nantong Avenue, Nangang District, Harbin, Heilongjiang

Patentee before: HARBIN ENGINEERING University

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171201

CF01 Termination of patent right due to non-payment of annual fee