[go: up one dir, main page]

CN111904338A - Ultrasonic detection circuit and sweeping robot - Google Patents

Ultrasonic detection circuit and sweeping robot Download PDF

Info

Publication number
CN111904338A
CN111904338A CN202010848198.4A CN202010848198A CN111904338A CN 111904338 A CN111904338 A CN 111904338A CN 202010848198 A CN202010848198 A CN 202010848198A CN 111904338 A CN111904338 A CN 111904338A
Authority
CN
China
Prior art keywords
circuit
ultrasonic
capacitor
controller
signal
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
CN202010848198.4A
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.)
Suzhou 3600 Robot Technology Co Ltd
Original Assignee
Suzhou 3600 Robot 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 Suzhou 3600 Robot Technology Co Ltd filed Critical Suzhou 3600 Robot Technology Co Ltd
Priority to CN202010848198.4A priority Critical patent/CN111904338A/en
Publication of CN111904338A publication Critical patent/CN111904338A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/24Floor-sweeping machines, motor-driven
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4002Installations of electric equipment
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4011Regulation of the cleaning machine by electric means; Control systems and remote control systems therefor
    • 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
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/01Shaping pulses
    • H03K5/02Shaping pulses by amplifying
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/01Shaping pulses
    • H03K5/04Shaping pulses by increasing duration; by decreasing duration
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • A47L2201/06Control of the cleaning action for autonomous devices; Automatic detection of the surface condition before, during or after cleaning

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Nonlinear Science (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

本发明提供一种超声检测电路及扫地机器人,该超声检测电路包括控制器、驱动整形电路、信号处理电路和超声信号收发装置;控制器的输出端与驱动整形电路的输入端连接,驱动整形电路的输出端与信号处理电路的输入端及超声信号收发装置的输入端连接;超声信号收发装置的输出端与信号处理电路的输入端连接,信号处理电路的输出端与控制器的第一输入端连接。本发明的技术方案,旨在准确检测地面类型,以避免扫地机器人采用错误的方式清扫地面。

Figure 202010848198

The invention provides an ultrasonic detection circuit and a sweeping robot. The ultrasonic detection circuit includes a controller, a driving shaping circuit, a signal processing circuit and an ultrasonic signal transceiver device; the output end of the controller is connected with the input end of the driving shaping circuit, and the driving shaping circuit The output end of the signal processing circuit is connected to the input end of the signal processing circuit and the input end of the ultrasonic signal transceiver; the output end of the ultrasonic signal transceiver device is connected to the input end of the signal processing circuit, and the output end of the signal processing circuit is connected to the first input end of the controller connect. The technical scheme of the present invention aims to accurately detect the type of the ground, so as to prevent the sweeping robot from cleaning the ground in a wrong way.

Figure 202010848198

Description

超声检测电路及扫地机器人Ultrasonic detection circuit and sweeping robot

技术领域technical field

本发明涉及生活电器技术领域,特别涉及一种超声检测电路及扫地机器人。The invention relates to the technical field of household electrical appliances, in particular to an ultrasonic detection circuit and a sweeping robot.

背景技术Background technique

大多数扫地机器人往往具备扫地和拖地的功能,而实际上,并不是所有地面都需要进行拖地,例如,若地面为软地面,如铺了毛毯的软地面,则不需要进行拖地,若地面为硬地面,如瓷砖,则需要进行拖地。Most sweeping robots tend to have sweeping and mopping functions, but in fact, not all floors need mopping. If the ground is hard ground, such as tiles, it needs to be mopped.

但是,传统的扫地机器人难以准确识别地面类型,导致扫地机器人会采用错误的方式清扫地面,造成地面损坏。However, it is difficult for traditional sweeping robots to accurately identify the type of ground, resulting in the sweeping robot sweeping the ground in the wrong way, causing ground damage.

发明内容SUMMARY OF THE INVENTION

为发明提供一种超声检测电路及扫地机器人,旨在准确检测地面类型,以避免扫地机器人采用错误的方式清扫地面。An ultrasonic detection circuit and a sweeping robot are provided for the invention, aiming to accurately detect the type of the ground, so as to prevent the sweeping robot from cleaning the ground in a wrong way.

为实现上述目的,本发明提供一种超声检测电路,应用于扫地机器人,所述超声检测电路包括控制器、驱动整形电路、信号处理电路和超声信号收发装置;In order to achieve the above object, the present invention provides an ultrasonic detection circuit, which is applied to a cleaning robot, and the ultrasonic detection circuit includes a controller, a drive shaping circuit, a signal processing circuit and an ultrasonic signal transceiver;

所述控制器的输出端与所述驱动整形电路的输入端连接,所述驱动整形电路的输出端与所述信号处理电路的输入端及所述超声信号收发装置的输入端连接;所述超声信号收发装置的输出端与所述信号处理电路的输入端连接,所述信号处理电路的输出端与所述控制器的第一输入端连接;The output end of the controller is connected with the input end of the drive shaping circuit, and the output end of the drive shaping circuit is connected with the input end of the signal processing circuit and the input end of the ultrasonic signal transceiver; The output end of the signal transceiving device is connected with the input end of the signal processing circuit, and the output end of the signal processing circuit is connected with the first input end of the controller;

所述控制器,用于输出脉冲信号至所述驱动整形电路;the controller, for outputting a pulse signal to the driving shaping circuit;

所述驱动整形电路,用于根据所述脉冲信号驱动所述超声信号收发装置向地面发射超声信号;The drive shaping circuit is used to drive the ultrasonic signal transceiver device to transmit ultrasonic signals to the ground according to the pulse signal;

所述超声信号收发装置,用于将地面反射的超声信号经所述信号处理电路反馈至所述控制器,以供所述控制器识别地面类型。The ultrasonic signal transceiver device is used for feeding back the ultrasonic signal reflected from the ground to the controller through the signal processing circuit, so that the controller can identify the type of the ground.

可选地,所述驱动整形电路包括驱动电路和整形电路;Optionally, the drive shaping circuit includes a drive circuit and a shaping circuit;

所述驱动电路的输入端与所述控制器的输出端连接,所述驱动电路的输出端与所述整形电路的输入端连接,所述整形电路的输出端与所述信号处理电路的输入端及所述超声信号收发装置的输入端连接。The input end of the drive circuit is connected to the output end of the controller, the output end of the drive circuit is connected to the input end of the shaping circuit, and the output end of the shaping circuit is connected to the input end of the signal processing circuit and the input end of the ultrasonic signal transceiver device is connected.

可选地,所述驱动电路包括驱动芯片、第一电阻和第二电阻;Optionally, the drive circuit includes a drive chip, a first resistor and a second resistor;

所述控制器的输出端经所述第一电阻与所述驱动芯片的第一输入端连接,所述驱动芯片的第一输出端经所述第二电阻与所述驱动芯片的第二输入端连接,所述驱动芯片的第二输出端与所述整形电路的输入端连接;The output terminal of the controller is connected to the first input terminal of the driver chip through the first resistor, and the first output terminal of the driver chip is connected to the second input terminal of the driver chip through the second resistor connection, the second output end of the driving chip is connected with the input end of the shaping circuit;

所述整形电路包括第一二极管和第二二极管;the shaping circuit includes a first diode and a second diode;

所述第一二极管的正极及所述第二二极管的负极与所述驱动芯片的第二输出端连接,所述第一二极管的负极及所述第二二极管的正极与所述信号处理电路的输入端及所述超声信号收发装置的输入端连接。The anode of the first diode and the cathode of the second diode are connected to the second output terminal of the driving chip, the cathode of the first diode and the anode of the second diode are connected It is connected to the input end of the signal processing circuit and the input end of the ultrasonic signal transceiving device.

可选地,所述超声检测电路还包括稳压电路;所述稳压电路的输入端与一电源模块连接,所述稳压电路的输出端与所述驱动芯片的电源端连接;Optionally, the ultrasonic detection circuit further includes a voltage stabilizing circuit; an input end of the voltage stabilizing circuit is connected to a power supply module, and an output end of the voltage stabilizing circuit is connected to a power supply end of the driving chip;

所述稳压电路,用于将所述电源模块输出的电压稳压至预设电压后,为所述驱动芯片供电。The voltage stabilizing circuit is used for supplying power to the driving chip after stabilizing the voltage output by the power module to a preset voltage.

可选地,所述稳压电路包括三端稳压器、第一电容、第二电容、第三电容和第四电容;Optionally, the voltage regulator circuit includes a three-terminal voltage regulator, a first capacitor, a second capacitor, a third capacitor and a fourth capacitor;

所述三端稳压器的输入端与所述电源模块、所述第一电容的第一端及所述第二电容的第一端连接;所述第一电容的第二端及所述第二电容的第二端接地;The input end of the three-terminal voltage regulator is connected with the power module, the first end of the first capacitor and the first end of the second capacitor; the second end of the first capacitor and the first end of the second capacitor are connected. The second end of the second capacitor is grounded;

所述三端稳压器的输出端与所述驱动芯片的电源端、所述第三电容的第一端及所述第四电容的第一端连接;所述第三电容的第二端及所述第四电容的第二端接地。The output end of the three-terminal voltage regulator is connected with the power supply end of the driving chip, the first end of the third capacitor and the first end of the fourth capacitor; the second end of the third capacitor and the The second end of the fourth capacitor is grounded.

可选地,所述信号处理电路包括信号放大电路和比较电路;Optionally, the signal processing circuit includes a signal amplification circuit and a comparison circuit;

所述信号放大电路的输入端与所述驱动整形电路的输出端及所述超声信号收发装置的输出端连接;所述信号放大电路的输出端与所述比较电路的负输入端连接;The input end of the signal amplifying circuit is connected with the output end of the driving shaping circuit and the output end of the ultrasonic signal transceiving device; the output end of the signal amplifying circuit is connected with the negative input end of the comparing circuit;

所述比较电路的正输入端与一参考信号输入端连接以接收输入的参考信号,所述比较电路的输出端与所述控制器的第一输入端连接。The positive input terminal of the comparison circuit is connected to a reference signal input terminal to receive the input reference signal, and the output terminal of the comparison circuit is connected to the first input terminal of the controller.

可选地,所述信号放大电路包括第一运算放大电路和第二运算放大电路;Optionally, the signal amplification circuit includes a first operational amplifier circuit and a second operational amplifier circuit;

所述驱动整形电路的输出端及所述超声信号收发装置的输出端与所述第一运算放大电路的反相输入端连接;所述第一运算放大电路的同相输入端与所述第二运算放大电路的同相输入端连接;The output end of the drive shaping circuit and the output end of the ultrasonic signal transceiver device are connected to the inverting input end of the first operational amplifier circuit; the non-inverting input end of the first operational amplifier circuit is connected to the second operational amplifier circuit. The non-inverting input terminal of the amplifier circuit is connected;

所述第一运算放大电路的输出端与所述第二运算放大电路的反相输入端连接;所述第二运算放大电路的输出端与所述比较电路的负输入端连接。The output terminal of the first operational amplifier circuit is connected to the inverting input terminal of the second operational amplifier circuit; the output terminal of the second operational amplifier circuit is connected to the negative input terminal of the comparison circuit.

可选地,所述超声检测电路还包括接口电路,所述接口电路与所述控制器电性连接;Optionally, the ultrasonic detection circuit further includes an interface circuit, and the interface circuit is electrically connected to the controller;

所述接口电路包括电源输入端、第三电阻、第四电阻、第五电容和数据接口;The interface circuit includes a power input terminal, a third resistor, a fourth resistor, a fifth capacitor and a data interface;

所述数据接口的第一端与所述电源输入端、所述第三电阻的第一端及所述第四电阻的第一端连接;所述数据接口的第二端与所述第四电阻的第二端及所述控制器的第二输入端连接;所述数据接口的第三端与所述第三电阻的第二端、所述第五电容的第一端及所述控制器的复位端连接;所述第五电容的第二端接地。The first end of the data interface is connected to the power input end, the first end of the third resistor and the first end of the fourth resistor; the second end of the data interface is connected to the fourth resistor The second end of the data interface is connected to the second input end of the controller; the third end of the data interface is connected to the second end of the third resistor, the first end of the fifth capacitor and the controller The reset terminal is connected; the second terminal of the fifth capacitor is grounded.

可选地,所述超声检测电路还设有通讯接口;Optionally, the ultrasonic detection circuit is further provided with a communication interface;

所述驱动整形电路通过所述通讯接口与所述超声信号收发装置连接;The drive shaping circuit is connected with the ultrasonic signal transceiver device through the communication interface;

所述信号放大电路通过所述通讯接口与所述超声信号收发装置连接。The signal amplifying circuit is connected with the ultrasonic signal transceiving device through the communication interface.

为实现上述目的,本发明还提供一种扫地机器人,所述扫地机器人包括如上任一项所述的超声检测电路。In order to achieve the above object, the present invention also provides a cleaning robot, which includes the ultrasonic detection circuit described in any one of the above.

本发明的技术方案,控制器输出脉冲信号至驱动整形电路,通过驱动整形电路驱动超声信号收发装置向地面发射超声信号;随后超声信号收发装置接收地面反射回来的超声信号,并将地面反射回来的超声信号传输至信号处理电路,信号处理电路据此产生与地面类型对应的电信号至控制器,以供控制器根据所接收到的电信号的信号特征识别地面类型,并控制扫地机器人执行与地面类型对应的清扫操作,如此设置,可以避免由于地面类型识别错误导致扫地机器人采用错误的清扫方式清扫地面,对地面造成损坏。In the technical scheme of the present invention, the controller outputs the pulse signal to the driving shaping circuit, and drives the ultrasonic signal transceiver device to transmit the ultrasonic signal to the ground through the driving shaping circuit; then the ultrasonic signal transceiver device receives the ultrasonic signal reflected back from the ground, and then transmits the ultrasonic signal reflected back from the ground. The ultrasonic signal is transmitted to the signal processing circuit, and the signal processing circuit generates an electrical signal corresponding to the ground type to the controller, so that the controller can identify the ground type according to the signal characteristics of the received electrical signal, and control the sweeping robot to perform the operation with the ground. The cleaning operation corresponding to the type can be set in this way to prevent the robot from using the wrong cleaning method to clean the ground due to the wrong identification of the ground type, which will cause damage to the ground.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图示出的结构获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained according to the structures shown in these drawings without creative efforts.

图1为本发明超声检测电路一实施例的结构框图;1 is a structural block diagram of an embodiment of an ultrasonic detection circuit of the present invention;

图2为图1中驱动整形电路一实施例的结构框图;FIG. 2 is a structural block diagram of an embodiment of the drive shaping circuit in FIG. 1;

图3为图2中驱动整形电路一实施例的电路结构示意图;3 is a schematic diagram of a circuit structure of an embodiment of the driving shaping circuit in FIG. 2;

图4为本发明超声检测电路另一实施例的结构框图;4 is a structural block diagram of another embodiment of an ultrasonic detection circuit of the present invention;

图5为图4中稳压电路一实施例的电路结构示意图;5 is a schematic diagram of a circuit structure of an embodiment of the voltage regulator circuit in FIG. 4;

图6为图1中信号处理电路一实施例的结构框图;6 is a structural block diagram of an embodiment of the signal processing circuit in FIG. 1;

图7为图6中信号放大电路一实施例的结构框图;7 is a structural block diagram of an embodiment of the signal amplifying circuit in FIG. 6;

图8为本发明超声检测电路又一实施例的结构框图FIG. 8 is a structural block diagram of another embodiment of the ultrasonic detection circuit of the present invention

图9为图8中接口电路一实施例的电路结构示意图;9 is a schematic diagram of a circuit structure of an embodiment of the interface circuit in FIG. 8;

图10为本发明超声检测电路再一实施例的结构框图;10 is a structural block diagram of yet another embodiment of an ultrasonic detection circuit of the present invention;

图11为本发明超声检测电路一实施例的电路结构示意图。FIG. 11 is a schematic diagram of a circuit structure of an embodiment of an ultrasonic detection circuit of the present invention.

附图标号说明:Description of reference numbers:

Figure BDA0002643833130000041
Figure BDA0002643833130000041

Figure BDA0002643833130000051
Figure BDA0002643833130000051

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.

具体实施方式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, 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.

需要说明,若本发明实施例中有涉及方向性指示(诸如上、下、左、右、前、后……),则该方向性指示仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。It should be noted that if there are directional indications (such as up, down, left, right, front, back, etc.) involved in the embodiments of the present invention, the directional indications are only used to explain a certain posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly.

另外,若本发明实施例中有涉及“第一”、“第二”等的描述,则该“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for the purpose of description, and should not be construed as indicating or implying Its relative importance or implicitly indicates the number of technical features indicated. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In addition, the technical solutions between the various embodiments can be combined with each other, but must be based on the realization by those of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered that the combination of such technical solutions does not exist. , is not within the scope of protection required by the present invention.

图1为本发明超声检测电路一实施例的结构框图。FIG. 1 is a structural block diagram of an embodiment of an ultrasonic detection circuit of the present invention.

参照图1,该超声检测电路应用于扫地机器人,该超声检测电路包括控制器10、驱动整形电路20、信号处理电路40和超声信号收发装置30;控制器10的输出端PWM与驱动整形电路20的输入端连接,驱动整形电路20的输出端与信号处理电路40的输入端及超声信号收发装置30的输入端连接;超声信号收发装置30的输出端与信号处理电路40的输入端连接,信号处理电路40的输出端与控制器10的第一输入端AD连接。Referring to FIG. 1 , the ultrasonic detection circuit is applied to a sweeping robot, and the ultrasonic detection circuit includes a controller 10 , a drive shaping circuit 20 , a signal processing circuit 40 and an ultrasonic signal transceiver 30 ; the output end of the controller 10 PWM and the drive shaping circuit 20 The output end of the drive shaping circuit 20 is connected to the input end of the signal processing circuit 40 and the input end of the ultrasonic signal transceiver 30; the output end of the ultrasonic signal transceiver 30 is connected to the input end of the signal processing circuit 40, and the signal The output terminal of the processing circuit 40 is connected to the first input terminal AD of the controller 10 .

该控制器10,可选为单片机、DSP或者FPGA等微处理器。该控制器10用于产生脉冲信号至驱动整形电路20,而驱动整形电路20则根据所接收到的脉冲信号驱动超声信号收发装置30向地面发射超声信号,即超声波,其中,超声波的传输速度为340m/s。The controller 10 can be optionally a microprocessor such as a single-chip microcomputer, a DSP, or an FPGA. The controller 10 is used to generate a pulse signal to the drive shaping circuit 20, and the drive shaping circuit 20 drives the ultrasonic signal transceiver 30 to transmit ultrasonic signals to the ground according to the received pulse signals, that is, ultrasonic waves, wherein the transmission speed of the ultrasonic waves is 340m/s.

该超声信号收发装置30具有发射超声波和接收超声波的作用,可选为超声波收发一体探头。The ultrasonic signal transceiver 30 has the functions of transmitting ultrasonic waves and receiving ultrasonic waves, and can optionally be an ultrasonic transceiver integrated probe.

该信号处理电路40,用于根据超声信号收发装置30所接收到的超声波产生与地面类型对应的电信号至控制器10,如产生与地面类型对应的脉冲信号至控制器10,以供控制器10根据所接收到的电信号有效识别地面类型。其中,地面类型不同,信号处理电路40所产生的电信号的信号特征则不同。The signal processing circuit 40 is used for generating an electrical signal corresponding to the type of ground to the controller 10 according to the ultrasonic waves received by the ultrasonic signal transceiver 30, such as generating a pulse signal corresponding to the type of ground to the controller 10 for the controller 10 Effectively identify the ground type according to the received electrical signal. Wherein, different ground types have different signal characteristics of the electrical signals generated by the signal processing circuit 40 .

该超声检测电路的工作原理如下:在扫地机器人工作过程,控制器10的输出端PWM输出脉冲信号至驱动整形电路20,驱动整形电路20将控制器10输出的脉冲信号进行适当调整,如进行电压转换、电流增大以及波形整形后驱动超声信号收发装置30向地面发射超声波,以通过所发射的超声波来检测地面类型,例如检测地面为毛毯还是瓷砖。超声波到达地面后,会被地面反射回来并被超声信号收发装置30接收。其中,本实施例中,驱动整形电路30所输出的脉冲信号一路会传输至超声信号收发装置30,以驱动超声信号收发装置30向地面发射超声波,另外一路会经信号处理电路40传输至控制器10。The working principle of the ultrasonic detection circuit is as follows: During the working process of the sweeping robot, the output terminal of the controller 10 outputs a PWM pulse signal to the drive shaping circuit 20, and the drive shaping circuit 20 appropriately adjusts the pulse signal output by the controller 10, such as voltage After conversion, current increase and waveform shaping, the ultrasonic signal transceiver 30 is driven to transmit ultrasonic waves to the ground, so as to detect the type of the ground through the transmitted ultrasonic waves, for example, to detect whether the ground is a carpet or a tile. After the ultrasonic waves reach the ground, they will be reflected back by the ground and received by the ultrasonic signal transceiver 30 . Among them, in this embodiment, one channel of the pulse signal output by the driving shaping circuit 30 will be transmitted to the ultrasonic signal transceiver device 30 to drive the ultrasonic signal transceiver device 30 to transmit ultrasonic waves to the ground, and the other channel will be transmitted to the controller through the signal processing circuit 40 10.

超声信号收发装置30将地面反射回来的超声波传输至信号处理电路40,信号处理电路40据此产生与地面类型对应的电信号至控制器10。其中,超声信号收发装置30可设于扫地机器人底盘,若地面为软地面,扫地机器人的轮子会内陷进软地面,超声信号收发装置30与地面的有效距离变短;若地面为硬地面,扫地机器人的轮子则不会内陷进去。因此,不同的地面类型,超声信号收发装置30与地面的有效距离则不同,那么,超声波发射并被地面反射回来的时间则不同,因此,信号处理电路40所产生的电信号的信号特征不同,例如,若信号处理电路40所产生的电信号为脉冲信号,若地面类型不同,信号处理电路40所产生的脉冲信号的宽度则不同。控制器10可以根据所接收到的电信号的信号特征有效识别地面类型,例如识别地面为瓷砖还是毛毯,并执行相应的操作,例如,若地面为瓷砖,则控制扫地机器人执行扫地及拖地操作,若地面为毛毯,则控制扫地机器人进行扫地而不拖地。如此设置,通过超声检测电路来准确检测地面类型,并根据地面类型控制扫地机器人采用正确的方式清扫地面,在保证地面干净整洁的同时,能够减少地面的损坏。The ultrasonic signal transceiver 30 transmits the ultrasonic waves reflected from the ground to the signal processing circuit 40 , and the signal processing circuit 40 generates an electrical signal corresponding to the type of ground to the controller 10 accordingly. Among them, the ultrasonic signal transceiver 30 can be installed on the chassis of the sweeping robot. If the ground is soft ground, the wheels of the sweeping robot will sink into the soft ground, and the effective distance between the ultrasonic signal transceiver 30 and the ground will be shortened; if the ground is hard ground, The wheels of the sweeping robot will not sink in. Therefore, for different ground types, the effective distance between the ultrasonic signal transceiver 30 and the ground is different, so the time for the ultrasonic wave to be transmitted and reflected by the ground is different. Therefore, the signal characteristics of the electrical signals generated by the signal processing circuit 40 are different. For example, if the electrical signal generated by the signal processing circuit 40 is a pulse signal, if the ground type is different, the width of the pulse signal generated by the signal processing circuit 40 is different. The controller 10 can effectively identify the type of the ground according to the signal characteristics of the received electrical signals, such as identifying whether the ground is a tile or a carpet, and perform corresponding operations, for example, if the ground is a tile, control the sweeping robot to perform sweeping and mopping operations. , if the ground is a blanket, control the sweeping robot to sweep the floor without mopping the floor. In this way, the ultrasonic detection circuit can accurately detect the ground type, and control the sweeping robot to clean the ground in a correct way according to the ground type, which can reduce the damage to the ground while ensuring the ground is clean and tidy.

可选的,本实施例中,可将超声信号收发装置30设于扫地机器人的底盘,并根据扫地机器人的底盘与地面的垂直距离设置控制器10所输出的脉冲信号的频率;例如,假设扫地机器人的底盘与地面的垂直距离为20mm,控制器10每隔一定时间则输出一组固定频率的脉冲,例如每隔4ms则输出一组频率为300KHZ的脉冲,其中,每组脉冲包括6个脉冲,且前后两个脉冲组的间隔时间为4ms。那么,300KHZ的超声波的发射周期T=100000/300000=3.3ms,则一组脉冲发射完成的时间Ttotal=3.3*6=19.8ms,而超声波的传输速度为340mm/ms,那么,一组脉冲信号的传输距离S=19.8*340=6.732mm。假设扫地机器人是在毛毯上运行,而扫地机器人的轮子会内陷进毛毯约10mm,且超声信号收发装置30向扫地机器人底盘内陷10mm,那么,超声信号收发装置30与毛毯的有效距离则为20mm;若扫地机器人是在硬地面如瓷砖上运行,由于扫地机器人的轮子不会内陷进硬地面,因此,超声信号收发装置30与硬地面的有效距离则为30mm。如此一来,即使将一组频率为300KHZ的6个脉冲信号发射完成,第一组脉冲组跑的距离为6.732mm,若地面为毛毯,即使毛毯顶到扫地机器人的底壳,超声信号收发装置30可以正常工作。也就是说,可以根据扫地机器人的底盘与地面的垂直距离设置控制器10所输出的脉冲信号的频率,以保障超声信号收发装置30可以正常工作,整个电路能够准确检测地面类型。Optionally, in this embodiment, the ultrasonic signal transceiver 30 can be set on the chassis of the sweeping robot, and the frequency of the pulse signal output by the controller 10 is set according to the vertical distance between the chassis of the sweeping robot and the ground; The vertical distance between the chassis of the robot and the ground is 20mm, and the controller 10 outputs a set of pulses with a fixed frequency at regular intervals, for example, every 4ms, outputs a set of pulses with a frequency of 300KHZ, wherein each set of pulses includes 6 pulses , and the interval between the two pulse groups before and after is 4ms. Then, the transmission period of the 300KHZ ultrasonic wave T=100000/300000=3.3ms, then the time Ttotal=3.3*6=19.8ms for the completion of a group of pulse transmission, and the transmission speed of the ultrasonic wave is 340mm/ms, then, a group of pulse signals The transmission distance S=19.8*340=6.732mm. Assuming that the sweeping robot runs on a blanket, the wheels of the sweeping robot will be recessed into the blanket by about 10mm, and the ultrasonic signal transceiver 30 is recessed 10mm into the sweeping robot chassis, then the effective distance between the ultrasonic signal transceiver 30 and the blanket is 20mm; if the sweeping robot runs on hard ground such as ceramic tiles, since the wheels of the sweeping robot will not sink into the hard ground, the effective distance between the ultrasonic signal transceiver 30 and the hard ground is 30mm. In this way, even if a group of 6 pulse signals with a frequency of 300KHZ is transmitted, the distance of the first group of pulse groups is 6.732mm. If the ground is a blanket, even if the blanket touches the bottom shell of the sweeping robot, the ultrasonic signal transceiver will 30 works fine. That is, the frequency of the pulse signal output by the controller 10 can be set according to the vertical distance between the chassis of the sweeping robot and the ground to ensure that the ultrasonic signal transceiver 30 can work normally and the entire circuit can accurately detect the ground type.

可选的,在控制器10的输出端PWM输出脉冲信号时,控制器10的第一输入端AD提前1ms输出高电平作为每一组脉冲组的开始标识符,在脉冲组发射结束时,控制器10的第一输入端AD延时1.2ms然后输出低电平作为每一组脉冲组的结束标识符。Optionally, when the output terminal PWM of the controller 10 outputs a pulse signal, the first input terminal AD of the controller 10 outputs a high level 1ms in advance as the start identifier of each pulse group, and when the pulse group transmission ends, The first input terminal AD of the controller 10 delays for 1.2ms and then outputs a low level as the end identifier of each pulse group.

本发明的技术方案,控制器10输出脉冲信号至驱动整形电路20,通过驱动整形电路20驱动超声信号收发装置30向地面发射超声信号;随后超声信号收发装置30接收地面反射回来的超声信号,并将地面反射回来的超声信号传输至信号处理电路40,信号处理电路40产生与地面类型对应的电信号至控制器10,以供控制器10根据所接收到的电信号的信号特征识别地面类型,并控制扫地机器人执行与地面类型对应的清扫操作,如此设置,可以避免由于地面类型识别错误导致扫地机器人采用错误的清扫方式清扫地面,对地面造成损坏。In the technical solution of the present invention, the controller 10 outputs a pulse signal to the driving shaping circuit 20, and drives the ultrasonic signal transceiver 30 to transmit the ultrasonic signal to the ground through the driving shaping circuit 20; then the ultrasonic signal transceiver 30 receives the ultrasonic signal reflected from the ground, and transmits the ultrasonic signal to the ground. The ultrasonic signal reflected from the ground is transmitted to the signal processing circuit 40, and the signal processing circuit 40 generates an electrical signal corresponding to the ground type to the controller 10, so that the controller 10 can identify the ground type according to the signal characteristics of the received electrical signal, And control the sweeping robot to perform cleaning operations corresponding to the type of the ground. This setting can prevent the sweeping robot from using the wrong cleaning method to clean the ground due to the wrong identification of the ground type, causing damage to the ground.

在一实施例中,参照图2,该驱动整形电路20包括驱动电路201和整形电路202;驱动电路201的输入端与控制器10的输出端PWM连接,驱动电路201的输出端与整形电路202的输入端连接,整形电路202的输出端与信号处理电路40的输入端连接,且整形电路202的输出端与超声信号收发装置30的输入端连接。In one embodiment, referring to FIG. 2 , the driving shaping circuit 20 includes a driving circuit 201 and a shaping circuit 202 ; the input terminal of the driving circuit 201 is connected to the output terminal PWM of the controller 10 , and the output terminal of the driving circuit 201 is connected to the shaping circuit 202 The input terminal of the shaping circuit 202 is connected to the input terminal of the signal processing circuit 40 , and the output terminal of the shaping circuit 202 is connected to the input terminal of the ultrasonic signal transceiver 30 .

该驱动电路201,用于对控制器10输出的脉冲信号进行电压转换、电流放大,以提高驱动能力。The driving circuit 201 is used for voltage conversion and current amplification for the pulse signal output by the controller 10 to improve the driving capability.

该整形电路202,用于将驱动电路201输出的脉冲信号进行波形整形,并将整形后的脉冲信号一路传输至超声信号收发装置30,以驱动超声信号收发装置30向地面发射超声波;另外一路经信号处理电路40反馈至控制器10。The shaping circuit 202 is used to shape the pulse signal output by the driving circuit 201, and transmit the shaped pulse signal to the ultrasonic signal transceiver device 30 all the way to drive the ultrasonic signal transceiver device 30 to transmit ultrasonic waves to the ground; The signal processing circuit 40 is fed back to the controller 10 .

在一实施例中,参照图3,该驱动电路201由驱动芯片U1、第一电阻R1和第二电阻R2构成;其中,控制器10的输出端PWM经第一电阻R1与驱动芯片U1的第一输入端2连接,驱动芯片U1的第一输出端7经第二电阻R2与驱动芯片U1的第二输入端4连接,驱动芯片U1的第二输出端5与整形电路202的输入端连接。In one embodiment, referring to FIG. 3 , the drive circuit 201 is composed of a drive chip U1, a first resistor R1 and a second resistor R2; wherein, the output end PWM of the controller 10 is connected to the first resistor R1 and the first resistor R1 of the drive chip U1. An input terminal 2 is connected, the first output terminal 7 of the driving chip U1 is connected to the second input terminal 4 of the driving chip U1 through the second resistor R2, and the second output terminal 5 of the driving chip U1 is connected to the input terminal of the shaping circuit 202.

在一实施例中,参照图3,该整形电路202由并联的第一二极管D1和第二二极管D2构成;具体的,第一二极管D1的正极及第二二极管D2的负极均与驱动芯片U1的第二输出端5连接,而第一二极管D1的负极及第二二极管D2的正极均与信号处理电路40的输入端及超声信号收发装置30的输入端连接。In one embodiment, referring to FIG. 3 , the shaping circuit 202 is composed of a first diode D1 and a second diode D2 connected in parallel; specifically, the anode of the first diode D1 and the second diode D2 The negative poles of the diodes are connected to the second output terminal 5 of the driving chip U1, and the negative poles of the first diode D1 and the positive poles of the second diode D2 are connected to the input terminal of the signal processing circuit 40 and the input of the ultrasonic signal transceiver 30. end connection.

在一实施例中,参照图4,该超声检测电路还包括稳压电路60;而稳压电路60的输入端与一电源模块50连接,稳压电路60的输出端与驱动电路201中的驱动芯片U1的电源端6(即VCC)连接。In one embodiment, referring to FIG. 4 , the ultrasonic detection circuit further includes a voltage stabilizer circuit 60 ; the input end of the voltage stabilizer circuit 60 is connected to a power supply module 50 , and the output end of the voltage stabilizer circuit 60 is connected to the driver in the drive circuit 201 . The power terminal 6 (ie VCC) of the chip U1 is connected.

本实施例中,该超声检测电路还设有稳压电路60,通过稳压电路60将扫地机器人内部一电源模块50的电压稳压至预设电压后,为驱动芯片U1供电,例如,将扫地机器人内部电源模块50输出的14V的电压稳压至12V后,为驱动芯片U1供电,以保证驱动芯片U1正常运行。该电源模块50可以是设于扫地机器人内部的可充电电池。In this embodiment, the ultrasonic detection circuit is further provided with a voltage stabilizing circuit 60. After the voltage of a power supply module 50 inside the sweeping robot is regulated to a preset voltage by the voltage stabilizing circuit 60, the driving chip U1 is powered. After the voltage of 14V output by the internal power supply module 50 of the robot is regulated to 12V, it supplies power to the driver chip U1 to ensure the normal operation of the driver chip U1. The power module 50 may be a rechargeable battery provided inside the cleaning robot.

在一实施例中,参照图5,该稳压电路60包括三端稳压器U2、第一电容C1、第二电容C2、第三电容C3和第四电容C4;该三端稳压器U2的输入端与电源模块50连接,并与第一电容C1的第一端及第二电容C2的第一端连接;而第一电容C1的第二端及第二电容C2的第二端接地;该三端稳压器U2的输出端与驱动芯片U1的电源端6连接,并与第三电容C3的第一端及第四电容C4的第一端连接;而第三电容C3的第二端及第四电容C4的第二端接地。其中,采用三端稳压器U2构成稳压电路60,具有外接元件少,使用方便,性能稳定,价格低廉等优点。In one embodiment, referring to FIG. 5 , the voltage regulator circuit 60 includes a three-terminal voltage regulator U2, a first capacitor C1, a second capacitor C2, a third capacitor C3 and a fourth capacitor C4; the three-terminal voltage regulator U2 The input end of the first capacitor C1 is connected to the power supply module 50, and is connected to the first end of the first capacitor C1 and the first end of the second capacitor C2; and the second end of the first capacitor C1 and the second end of the second capacitor C2 are grounded; The output end of the three-terminal voltage regulator U2 is connected to the power supply end 6 of the driving chip U1, and is connected to the first end of the third capacitor C3 and the first end of the fourth capacitor C4; and the second end of the third capacitor C3 and the second end of the fourth capacitor C4 is grounded. Among them, the three-terminal voltage stabilizer U2 is used to form the voltage stabilizer circuit 60, which has the advantages of less external components, convenient use, stable performance, and low price.

在一实施例中,参照图6,该信号处理电路40包括信号放大电路401和比较电路402;其中,信号放大电路401的输入端与驱动整形电路20的输出端及超声信号收发装置30的输出端连接;信号放大电路401的输出端与比较电路402的负输入端连接;比较电路402的正输入端与一参考信号输入端Vref连接以接收输入的参考信号,比较电路402的输出端与控制器10的第一输入端AD连接。In one embodiment, referring to FIG. 6 , the signal processing circuit 40 includes a signal amplifying circuit 401 and a comparing circuit 402 ; wherein the input end of the signal amplifying circuit 401 , the output end of the driving shaping circuit 20 and the output end of the ultrasonic signal transceiver 30 The output terminal of the signal amplification circuit 401 is connected to the negative input terminal of the comparison circuit 402; the positive input terminal of the comparison circuit 402 is connected to a reference signal input terminal Vref to receive the input reference signal, and the output terminal of the comparison circuit 402 is connected to the control The first input terminal AD of the device 10 is connected.

该信号放大电路401,能够对超声信号收发装置30所接收到的超声信号进行放大,以便于控制器10有效识别,该信号放大电路401可由单个或者多个运算放大电路构成。The signal amplifying circuit 401 can amplify the ultrasonic signal received by the ultrasonic signal transceiver 30 so as to facilitate the effective identification of the controller 10. The signal amplifying circuit 401 may be composed of a single or multiple operational amplifier circuits.

该比较电路402具有以下特性:若比较电路402的正输入端的电压大于其负输入端的电压,比较电路402输出第一电平;若比较电路402的正输入端的电压小于其负输入端的电压,比较电路402输出第二电平;而连续的第一电平和第二电平则构成了反馈至控制器10的脉冲信号。其中,由于地面类型不同,超声波发射并被地面反射回来的时间则不同,因此,反射回来的超声波经信号放大电路401放大并传输至比较电路402后,比较电路402所产生的脉冲信号的宽度则不同,控制器10可以根据所接收到的脉冲信号的宽度有效识别地面类型。The comparison circuit 402 has the following characteristics: if the voltage of the positive input terminal of the comparison circuit 402 is greater than the voltage of the negative input terminal of the comparison circuit 402, the comparison circuit 402 outputs the first level; The circuit 402 outputs the second level; and the continuous first level and the second level constitute the pulse signal fed back to the controller 10 . Among them, due to the different types of ground, the time for the ultrasonic wave to be emitted and reflected by the ground is different. Therefore, after the reflected ultrasonic wave is amplified by the signal amplification circuit 401 and transmitted to the comparison circuit 402, the width of the pulse signal generated by the comparison circuit 402 is Differently, the controller 10 can effectively identify the ground type according to the width of the received pulse signal.

在一实施例中,参照图7,该信号放大电路401包括第一运算放大电路4011和第二运算放大电路4012;而驱动整形电路20的输出端及超声信号收发装置30的输出端均与第一运算放大电路4011的反相输入端连接;而第一运算放大电路4011的同相输入端则与第二运算放大电路4012的同相输入端连接;该第一运算放大电路4011的输出端与第二运算放大电路4012的反相输入端连接;该第二运算放大电路4012的输出端与比较电路402的负输入端连接。In one embodiment, referring to FIG. 7 , the signal amplifying circuit 401 includes a first operational amplifier circuit 4011 and a second operational amplifier circuit 4012; and the output end of the drive shaping circuit 20 and the output end of the ultrasonic signal transceiver 30 are both connected to the first operational amplifier circuit 4011 and the second operational amplifier circuit 4012. The inverting input terminal of an operational amplifier circuit 4011 is connected; the non-inverting input terminal of the first operational amplifier circuit 4011 is connected to the non-inverting input terminal of the second operational amplifier circuit 4012; the output terminal of the first operational amplifier circuit 4011 is connected to the second operational amplifier circuit 4012 The inverting input terminal of the operational amplifier circuit 4012 is connected; the output terminal of the second operational amplifier circuit 4012 is connected to the negative input terminal of the comparison circuit 402 .

本实施例中,通过第一运算放大电路4011和第二运算放大电路4012对超声信号收发装置30接收到的超声波进行放大,以便于控制器10有效识别超声信号。In this embodiment, the ultrasonic wave received by the ultrasonic signal transceiver 30 is amplified by the first operational amplifier circuit 4011 and the second operational amplifier circuit 4012, so that the controller 10 can effectively identify the ultrasonic signal.

在一具体实施例中,参照图11,该第一运算放大电路4011包括第六电容C6、第七电阻R7、第八电阻R8及第一运算放大器OP1;In a specific embodiment, referring to FIG. 11 , the first operational amplifier circuit 4011 includes a sixth capacitor C6, a seventh resistor R7, an eighth resistor R8 and a first operational amplifier OP1;

该驱动整形电路20的输出端及超声信号收发装置30的输出端均经过串联的第六电容C6及第七电阻R7与第一运算放大器OP1的反相输入端连接,且第一运算放大器OP1的反相输入端经第八电阻R8与其输出端连接;而第一运算放大器OP1的同相输入端与第二运算放大电路4012的同相输入端连接。The output end of the drive shaping circuit 20 and the output end of the ultrasonic signal transceiver 30 are connected to the inverting input end of the first operational amplifier OP1 through the sixth capacitor C6 and the seventh resistor R7 in series, and the first operational amplifier OP1 The inverting input terminal is connected to its output terminal through the eighth resistor R8 ; and the non-inverting input terminal of the first operational amplifier OP1 is connected to the non-inverting input terminal of the second operational amplifier circuit 4012 .

该第二运算放大电路4012包括第七电容C7、第九电阻R9、第十电阻R10和第二运算放大器OP2;The second operational amplifier circuit 4012 includes a seventh capacitor C7, a ninth resistor R9, a tenth resistor R10 and a second operational amplifier OP2;

该第一运算放大器OP1的输出端经串联的第七电容C7和第九电阻R9与第二运算放大器OP2的反相输入端连接,且第二运算放大器OP2的反相输入端经第十电阻R10与其输出端连接,而第二运算放大器OP2的输出端与比较电路402的负输入端连接;该第二运算放大器OP2的同相输入端与第一运算放大器OP1的同相输入端连接。The output terminal of the first operational amplifier OP1 is connected to the inverting input terminal of the second operational amplifier OP2 through the seventh capacitor C7 and the ninth resistor R9 in series, and the inverting input terminal of the second operational amplifier OP2 is connected to the inverting input terminal of the second operational amplifier OP2 through the tenth resistor R10 The output terminal of the second operational amplifier OP2 is connected to the negative input terminal of the comparison circuit 402; the non-inverting input terminal of the second operational amplifier OP2 is connected to the non-inverting input terminal of the first operational amplifier OP1.

其中,该信号放大电路401还设有第五电阻R5、第六电阻R6、第十一电阻R11、第十二电阻R12、第八电容C8、第三二极管D3和第四二极管D4;The signal amplifying circuit 401 is further provided with a fifth resistor R5, a sixth resistor R6, an eleventh resistor R11, a twelfth resistor R12, an eighth capacitor C8, a third diode D3 and a fourth diode D4 ;

其中,驱动电路20的输出端是经第六电阻R6与第一运算放大电路4011的反相输入端连接,而第五电阻R5的第一端也连接至驱动电路20的输出端,第五电阻R5的第二端接地;The output terminal of the driving circuit 20 is connected to the inverting input terminal of the first operational amplifier circuit 4011 through the sixth resistor R6, and the first terminal of the fifth resistor R5 is also connected to the output terminal of the driving circuit 20. The fifth resistor R5 is also connected to the output terminal of the driving circuit 20. The second end of R5 is grounded;

该第三二极管D3的负极及第四二极管D4的正极均与第一运算放大电路4011的反相输入端连接;而第三二极管D3的正极及第四二极管D4的负极接地;The cathode of the third diode D3 and the anode of the fourth diode D4 are both connected to the inverting input terminal of the first operational amplifier circuit 4011; and the anode of the third diode D3 and the anode of the fourth diode D4 negative ground;

该第十一电阻R11的第一端、第十二电阻R12的第一端及第八电容C8的第一端均与第一运算放大电路4011的同相输入端及第二运算放大电路4012的同相输入端连接;而第十一电阻R11的第二端、第十二电阻R12的第二端及第八电容C8的第二端均接地。The first terminal of the eleventh resistor R11 , the first terminal of the twelfth resistor R12 and the first terminal of the eighth capacitor C8 are all in phase with the non-inverting input terminal of the first operational amplifier circuit 4011 and the non-inverting terminal of the second operational amplifier circuit 4012 The input end is connected; and the second end of the eleventh resistor R11 , the second end of the twelfth resistor R12 and the second end of the eighth capacitor C8 are all grounded.

在一实施例中,参照图11,该比较电路402由第五二极管D5、第十三电阻R13、第十四电阻R14、第十五电阻R15、第九电容C9和比较触发器U3构成;In one embodiment, referring to FIG. 11 , the comparison circuit 402 is composed of a fifth diode D5 , a thirteenth resistor R13 , a fourteenth resistor R14 , a fifteenth resistor R15 , a ninth capacitor C9 and a comparison trigger U3 ;

该信号放大电路401的输出端经第五二极管D5及第十三电阻R13与比较触发器U3的负输入端连接,且比较触发器U3的负输入端还与第十四电阻R14的第一端及第九电容C9的第一端连接;其中,第十四电阻R14的第二端及第九电容C9的第二端接地;而比较触发器U3的正输入端与一参考信号输入端Vref连接,比较触发器U3的输出端经第十五电阻R15与控制器10的第一输入端AD连接。The output end of the signal amplifying circuit 401 is connected to the negative input end of the comparison flip-flop U3 via the fifth diode D5 and the thirteenth resistor R13, and the negative input end of the comparison flip-flop U3 is also connected to the thirteenth resistor R14. One end is connected to the first end of the ninth capacitor C9; wherein, the second end of the fourteenth resistor R14 and the second end of the ninth capacitor C9 are grounded; and the positive input end of the comparison flip-flop U3 and a reference signal input end Vref is connected, and the output end of the comparison flip-flop U3 is connected to the first input end AD of the controller 10 through the fifteenth resistor R15.

在一实施例中,参照图8,超声检测电路还包括接口电路70,而接口电路70与控制器10电性连接。In one embodiment, referring to FIG. 8 , the ultrasonic detection circuit further includes an interface circuit 70 , and the interface circuit 70 is electrically connected to the controller 10 .

该接口电路70,用于实现控制器10与外部设备如电脑、手机、U盘、移动硬盘等进行数据交互,使得用户可以通过接口电路70对控制器10内的程序进行升级。The interface circuit 70 is used to realize data interaction between the controller 10 and external devices such as computers, mobile phones, U disks, mobile hard disks, etc., so that the user can upgrade the programs in the controller 10 through the interface circuit 70 .

在一实施例中,参照图9,该接口电路70包括电源输入端DC+、第三电阻R3、第四电阻R4、第五电容C5和数据接口J1;In one embodiment, referring to FIG. 9 , the interface circuit 70 includes a power input terminal DC+, a third resistor R3, a fourth resistor R4, a fifth capacitor C5 and a data interface J1;

其中,数据接口J1的第一端与电源输入端DC+连接,该电源输入端DC+输入的电压可选为3.3V,且数据接口J1的第一端还与第三电阻R3的第一端及第四电阻R4的第一端连接;数据接口J1的第二端与第四电阻R4的第二端及控制器10的第二输入端TO连接;数据接口J1的第三端与第三电阻R3的第二端、第五电容C5的第一端及控制器10的复位端RES连接;而第五电容C5的第二端接地。Among them, the first end of the data interface J1 is connected to the power input end DC+, the voltage input of the power input end DC+ can be selected as 3.3V, and the first end of the data interface J1 is also connected with the first end of the third resistor R3 and the third The first end of the four resistors R4 is connected; the second end of the data interface J1 is connected to the second end of the fourth resistor R4 and the second input end TO of the controller 10; the third end of the data interface J1 is connected to the third end of the resistor R3 The second terminal, the first terminal of the fifth capacitor C5 and the reset terminal RES of the controller 10 are connected; and the second terminal of the fifth capacitor C5 is grounded.

本实施例中,控制器10通过数据接口J1与外部设备连接,以实现数据交互,使得用户可以通过数据接口J1对控制器10内的程序进行升级,该数据接口J1可以为4pin接口。In this embodiment, the controller 10 is connected with external devices through the data interface J1 to realize data interaction, so that the user can upgrade the program in the controller 10 through the data interface J1, which can be a 4pin interface.

在一实施例中,参照图10,该超声检测电路还包括通讯接口80,该通讯接口80可选为2pin接口。In an embodiment, referring to FIG. 10 , the ultrasonic detection circuit further includes a communication interface 80 , and the communication interface 80 can be optionally a 2pin interface.

其中,驱动整形电路20通过该通讯接口80与超声信号收发装置30连接;且信号处理电路40通过该通讯接口80与超声信号收发装置30连接。The driving shaping circuit 20 is connected to the ultrasonic signal transceiver device 30 through the communication interface 80 ; and the signal processing circuit 40 is connected to the ultrasonic signal transceiver device 30 through the communication interface 80 .

本实施例中,使用通讯接口80实现超声信号收发装置30与驱动整形电路20及信号处理电路40连接,那么,超声信号收发装置30则不需要固定焊接在超声检测电路所在的板子上,从而可以方便用户更换超声信号收发装置30,便于后续维修。In this embodiment, the communication interface 80 is used to realize the connection between the ultrasonic signal transceiver 30 and the drive shaping circuit 20 and the signal processing circuit 40. Then, the ultrasonic signal transceiver 30 does not need to be fixed and welded on the board where the ultrasonic detection circuit is located, so that it can be It is convenient for the user to replace the ultrasonic signal transceiver device 30 and for subsequent maintenance.

本发明还提供一种扫地机器人,该扫地机器人包括如上所述的超声检测电路。该超声检测电路的详细结构可参照上述实施例,此处不再赘述;可以理解的是,由于在本发明的扫地机器人中使用了上述超声检测电路,因此,本发明扫地机器人的实施例包括上述超声检测电路全部实施例的全部技术方案,且所达到的技术效果也完全相同,在此不再赘述。The present invention also provides a cleaning robot, which includes the above-mentioned ultrasonic detection circuit. The detailed structure of the ultrasonic detection circuit can be referred to the above-mentioned embodiments, which will not be repeated here. It can be understood that since the above-mentioned ultrasonic detection circuit is used in the cleaning robot of the present invention, the embodiments of the cleaning robot of the present invention include the above-mentioned ultrasonic detection circuit. All the technical solutions of all the embodiments of the ultrasonic detection circuit, and the technical effects achieved are also the same, and will not be repeated here.

以上所述仅为本发明的可选实施例,并非因此限制本发明的专利范围,凡是在本发明的发明构思下,利用本发明说明书及附图内容所作的等效结构变换,或直接/间接运用在其他相关的技术领域均包括在本发明的专利保护范围内。The above descriptions are only optional embodiments of the present invention, and are not intended to limit the scope of the present invention. Under the inventive concept of the present invention, any equivalent structural transformations made by using the contents of the description and drawings of the present invention, or direct/indirect Applications in other related technical fields are included in the scope of patent protection of the present invention.

Claims (10)

1.一种超声检测电路,应用于扫地机器人,其特征在于,所述超声检测电路包括控制器、驱动整形电路、信号处理电路和超声信号收发装置;1. An ultrasonic detection circuit, applied to a sweeping robot, is characterized in that, the ultrasonic detection circuit comprises a controller, a drive shaping circuit, a signal processing circuit and an ultrasonic signal transceiver; 所述控制器的输出端与所述驱动整形电路的输入端连接,所述驱动整形电路的输出端与所述信号处理电路的输入端及所述超声信号收发装置的输入端连接;所述超声信号收发装置的输出端与所述信号处理电路的输入端连接,所述信号处理电路的输出端与所述控制器的第一输入端连接;The output end of the controller is connected with the input end of the drive shaping circuit, and the output end of the drive shaping circuit is connected with the input end of the signal processing circuit and the input end of the ultrasonic signal transceiver; The output end of the signal transceiving device is connected with the input end of the signal processing circuit, and the output end of the signal processing circuit is connected with the first input end of the controller; 所述控制器,用于输出脉冲信号至所述驱动整形电路;the controller, for outputting a pulse signal to the driving shaping circuit; 所述驱动整形电路,用于根据所述脉冲信号驱动所述超声信号收发装置向地面发射超声信号;The drive shaping circuit is used to drive the ultrasonic signal transceiver device to transmit ultrasonic signals to the ground according to the pulse signal; 所述超声信号收发装置,用于将地面反射的超声信号经所述信号处理电路反馈至所述控制器,以供所述控制器识别地面类型。The ultrasonic signal transceiver device is used for feeding back the ultrasonic signal reflected from the ground to the controller through the signal processing circuit, so that the controller can identify the type of the ground. 2.如权利要求1所述的超声检测电路,其特征在于,所述驱动整形电路包括驱动电路和整形电路;2. The ultrasonic detection circuit of claim 1, wherein the drive shaping circuit comprises a drive circuit and a shaping circuit; 所述驱动电路的输入端与所述控制器的输出端连接,所述驱动电路的输出端与所述整形电路的输入端连接,所述整形电路的输出端与所述信号处理电路的输入端及所述超声信号收发装置的输入端连接。The input end of the drive circuit is connected to the output end of the controller, the output end of the drive circuit is connected to the input end of the shaping circuit, and the output end of the shaping circuit is connected to the input end of the signal processing circuit and the input end of the ultrasonic signal transceiver device is connected. 3.如权利要求2所述的超声检测电路,其特征在于,所述驱动电路包括驱动芯片、第一电阻和第二电阻;3. The ultrasonic detection circuit of claim 2, wherein the drive circuit comprises a drive chip, a first resistor and a second resistor; 所述控制器的输出端经所述第一电阻与所述驱动芯片的第一输入端连接,所述驱动芯片的第一输出端经所述第二电阻与所述驱动芯片的第二输入端连接,所述驱动芯片的第二输出端与所述整形电路的输入端连接;The output terminal of the controller is connected to the first input terminal of the driver chip through the first resistor, and the first output terminal of the driver chip is connected to the second input terminal of the driver chip through the second resistor connection, the second output end of the driving chip is connected with the input end of the shaping circuit; 所述整形电路包括第一二极管和第二二极管;the shaping circuit includes a first diode and a second diode; 所述第一二极管的正极及所述第二二极管的负极与所述驱动芯片的第二输出端连接,所述第一二极管的负极及所述第二二极管的正极与所述信号处理电路的输入端及所述超声信号收发装置的输入端连接。The anode of the first diode and the cathode of the second diode are connected to the second output terminal of the driving chip, the cathode of the first diode and the anode of the second diode are connected It is connected to the input end of the signal processing circuit and the input end of the ultrasonic signal transceiving device. 4.如权利要求3所述的超声检测电路,其特征在于,所述超声检测电路还包括稳压电路;所述稳压电路的输入端与一电源模块连接,所述稳压电路的输出端与所述驱动芯片的电源端连接;4. The ultrasonic testing circuit according to claim 3, wherein the ultrasonic testing circuit further comprises a voltage stabilizing circuit; an input end of the voltage stabilizing circuit is connected to a power supply module, and an output end of the voltage stabilizing circuit is connected to a power supply module. connected with the power supply terminal of the driver chip; 所述稳压电路,用于将所述电源模块输出的电压稳压至预设电压后,为所述驱动芯片供电。The voltage stabilizing circuit is used for supplying power to the driving chip after stabilizing the voltage output by the power module to a preset voltage. 5.如权利要求4所述的超声检测电路,其特征在于,所述稳压电路包括三端稳压器、第一电容、第二电容、第三电容和第四电容;5. The ultrasonic detection circuit of claim 4, wherein the voltage regulator circuit comprises a three-terminal voltage regulator, a first capacitor, a second capacitor, a third capacitor and a fourth capacitor; 所述三端稳压器的输入端与所述电源模块、所述第一电容的第一端及所述第二电容的第一端连接;所述第一电容的第二端及所述第二电容的第二端接地;The input end of the three-terminal voltage regulator is connected with the power module, the first end of the first capacitor and the first end of the second capacitor; the second end of the first capacitor and the first end of the second capacitor are connected. The second end of the second capacitor is grounded; 所述三端稳压器的输出端与所述驱动芯片的电源端、所述第三电容的第一端及所述第四电容的第一端连接;所述第三电容的第二端及所述第四电容的第二端接地。The output end of the three-terminal voltage regulator is connected with the power supply end of the driving chip, the first end of the third capacitor and the first end of the fourth capacitor; the second end of the third capacitor and the The second end of the fourth capacitor is grounded. 6.如权利要求1所述的超声检测电路,其特征在于,所述信号处理电路包括信号放大电路和比较电路;6. The ultrasonic detection circuit according to claim 1, wherein the signal processing circuit comprises a signal amplification circuit and a comparison circuit; 所述信号放大电路的输入端与所述驱动整形电路的输出端及所述超声信号收发装置的输出端连接;所述信号放大电路的输出端与所述比较电路的负输入端连接;The input end of the signal amplifying circuit is connected with the output end of the driving shaping circuit and the output end of the ultrasonic signal transceiving device; the output end of the signal amplifying circuit is connected with the negative input end of the comparing circuit; 所述比较电路的正输入端与一参考信号输入端连接以接收输入的参考信号,所述比较电路的输出端与所述控制器的第一输入端连接。The positive input terminal of the comparison circuit is connected to a reference signal input terminal to receive the input reference signal, and the output terminal of the comparison circuit is connected to the first input terminal of the controller. 7.如权利要求6所述的超声检测电路,其特征在于,所述信号放大电路包括第一运算放大电路和第二运算放大电路;7. The ultrasonic detection circuit of claim 6, wherein the signal amplifying circuit comprises a first operational amplifier circuit and a second operational amplifier circuit; 所述驱动整形电路的输出端及所述超声信号收发装置的输出端与所述第一运算放大电路的反相输入端连接;所述第一运算放大电路的同相输入端与所述第二运算放大电路的同相输入端连接;The output end of the drive shaping circuit and the output end of the ultrasonic signal transceiver device are connected to the inverting input end of the first operational amplifier circuit; the non-inverting input end of the first operational amplifier circuit is connected to the second operational amplifier circuit. The non-inverting input terminal of the amplifier circuit is connected; 所述第一运算放大电路的输出端与所述第二运算放大电路的反相输入端连接;所述第二运算放大电路的输出端与所述比较电路的负输入端连接。The output terminal of the first operational amplifier circuit is connected to the inverting input terminal of the second operational amplifier circuit; the output terminal of the second operational amplifier circuit is connected to the negative input terminal of the comparison circuit. 8.如权利要求1-7任一项所述的超声检测电路,其特征在于,所述超声检测电路还包括接口电路,所述接口电路与所述控制器电性连接;8. The ultrasonic testing circuit according to any one of claims 1-7, wherein the ultrasonic testing circuit further comprises an interface circuit, and the interface circuit is electrically connected to the controller; 所述接口电路包括电源输入端、第三电阻、第四电阻、第五电容和数据接口;The interface circuit includes a power input terminal, a third resistor, a fourth resistor, a fifth capacitor and a data interface; 所述数据接口的第一端与所述电源输入端、所述第三电阻的第一端及所述第四电阻的第一端连接;所述数据接口的第二端与所述第四电阻的第二端及所述控制器的第二输入端连接;所述数据接口的第三端与所述第三电阻的第二端、所述第五电容的第一端及所述控制器的复位端连接;所述第五电容的第二端接地。The first end of the data interface is connected to the power input end, the first end of the third resistor and the first end of the fourth resistor; the second end of the data interface is connected to the fourth resistor The second end of the data interface is connected to the second input end of the controller; the third end of the data interface is connected to the second end of the third resistor, the first end of the fifth capacitor and the controller The reset terminal is connected; the second terminal of the fifth capacitor is grounded. 9.如权利要求8所述的超声检测电路,其特征在于,所述超声检测电路还设有通讯接口;9. The ultrasonic testing circuit according to claim 8, wherein the ultrasonic testing circuit is further provided with a communication interface; 所述驱动整形电路通过所述通讯接口与所述超声信号收发装置连接;The drive shaping circuit is connected with the ultrasonic signal transceiver device through the communication interface; 所述信号放大电路通过所述通讯接口与所述超声信号收发装置连接。The signal amplifying circuit is connected with the ultrasonic signal transceiving device through the communication interface. 10.一种扫地机器人,其特征在于,所述扫地机器人包括如权利要求1-9任一项所述的超声检测电路。10. A cleaning robot, wherein the cleaning robot comprises the ultrasonic detection circuit according to any one of claims 1-9.
CN202010848198.4A 2020-08-21 2020-08-21 Ultrasonic detection circuit and sweeping robot Pending CN111904338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010848198.4A CN111904338A (en) 2020-08-21 2020-08-21 Ultrasonic detection circuit and sweeping robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010848198.4A CN111904338A (en) 2020-08-21 2020-08-21 Ultrasonic detection circuit and sweeping robot

Publications (1)

Publication Number Publication Date
CN111904338A true CN111904338A (en) 2020-11-10

Family

ID=73279288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010848198.4A Pending CN111904338A (en) 2020-08-21 2020-08-21 Ultrasonic detection circuit and sweeping robot

Country Status (1)

Country Link
CN (1) CN111904338A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113384188A (en) * 2021-06-22 2021-09-14 深圳前海帕拓逊网络技术有限公司 Device for automatically identifying ground material and dust collector
CN114675109A (en) * 2022-03-28 2022-06-28 湖南炬神电子有限公司 Automatic test fixture for roller brush performance of sweeper

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986361A (en) * 2009-07-29 2011-03-16 上海工程技术大学 An Ultrasonic Transceiver System for Mobile Control of Regional Robots
CN204065405U (en) * 2014-09-18 2014-12-31 重庆工商职业学院 Ultrasonic transmission/reception integrative control circuit
CN209543137U (en) * 2018-11-30 2019-10-25 成都越凡创新科技有限公司 Ultrasonic distance measurement avoidance drive system
CN110710935A (en) * 2019-11-14 2020-01-21 北京富通芯科技有限公司 Sweeping robot, ground detection method and smart home system
CN111035322A (en) * 2019-12-09 2020-04-21 广东奥迪威传感科技股份有限公司 Ground recognition method and device and sweeping robot
CN211130887U (en) * 2019-11-14 2020-07-31 北京富通芯科技有限公司 Floor sweeping robot and intelligent home system
CN212574789U (en) * 2020-08-21 2021-02-23 苏州三六零机器人科技有限公司 Ultrasonic detection circuit and sweeping robot

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986361A (en) * 2009-07-29 2011-03-16 上海工程技术大学 An Ultrasonic Transceiver System for Mobile Control of Regional Robots
CN204065405U (en) * 2014-09-18 2014-12-31 重庆工商职业学院 Ultrasonic transmission/reception integrative control circuit
CN209543137U (en) * 2018-11-30 2019-10-25 成都越凡创新科技有限公司 Ultrasonic distance measurement avoidance drive system
CN110710935A (en) * 2019-11-14 2020-01-21 北京富通芯科技有限公司 Sweeping robot, ground detection method and smart home system
CN211130887U (en) * 2019-11-14 2020-07-31 北京富通芯科技有限公司 Floor sweeping robot and intelligent home system
CN111035322A (en) * 2019-12-09 2020-04-21 广东奥迪威传感科技股份有限公司 Ground recognition method and device and sweeping robot
CN212574789U (en) * 2020-08-21 2021-02-23 苏州三六零机器人科技有限公司 Ultrasonic detection circuit and sweeping robot

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113384188A (en) * 2021-06-22 2021-09-14 深圳前海帕拓逊网络技术有限公司 Device for automatically identifying ground material and dust collector
CN114675109A (en) * 2022-03-28 2022-06-28 湖南炬神电子有限公司 Automatic test fixture for roller brush performance of sweeper
CN114675109B (en) * 2022-03-28 2024-05-14 湖南鹏耀科技有限公司 Automatic test fixture for rolling brush performance of sweeper

Similar Documents

Publication Publication Date Title
US20250013324A1 (en) Active stylus
CN111904338A (en) Ultrasonic detection circuit and sweeping robot
CN110710935A (en) Sweeping robot, ground detection method and smart home system
CN212574789U (en) Ultrasonic detection circuit and sweeping robot
CN108205140A (en) The method and related device of detection object
CN211130887U (en) Floor sweeping robot and intelligent home system
CN104483674A (en) Distance measuring device and method based on sound wave communication
CN219658377U (en) Low-loss buzzer driving circuit and electronic equipment thereof
CN112120595A (en) Control circuit and vacuum cleaner
CN204065405U (en) Ultrasonic transmission/reception integrative control circuit
CN102938627A (en) Control circuit and control method for motor
CN113770010B (en) An ultrasonic excitation circuit
CN213665001U (en) Soap dispenser based on touch control single chip microcomputer
CN204376856U (en) The controlled positive and negative square-wave generator of pulsewidth
CN203981163U (en) Infrared distance measurement warning system based on Arduino
CN210005687U (en) Ultrasonic wave transmitting circuit and ultrasonic distance measuring device
CN211123315U (en) Infrared induction module and infrared induction equipment
CN209088854U (en) A drive device of a three-phase 12/8 structure switched reluctance in-wheel motor
CN206638817U (en) The signal demodulator circuit of back fat instrument for animals
CN111220704A (en) Carpet identification device based on ultrasonic waves, preparation method and application
CN214342752U (en) Electric toothbrush
CN209787142U (en) Buzzer delay circuit
CN210954333U (en) Ultrasonic range finder for multi-scene application
CN118346587B (en) A signal isolation, conversion and transmission method for water pump
CN111197589B (en) Cooling fan control circuit of intercom equipment, intercom power line and intercom equipment

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