CN108731701A - Biped robot's mileage travelled metering device - Google Patents
Biped robot's mileage travelled metering device Download PDFInfo
- Publication number
- CN108731701A CN108731701A CN201810536330.0A CN201810536330A CN108731701A CN 108731701 A CN108731701 A CN 108731701A CN 201810536330 A CN201810536330 A CN 201810536330A CN 108731701 A CN108731701 A CN 108731701A
- Authority
- CN
- China
- Prior art keywords
- circuit
- chip microcomputer
- microcontroller
- biped robot
- display
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C22/00—Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Toys (AREA)
Abstract
本发明公开了双足机器人行驶里程计量装置,包括单片机最小系统、电源电路、传感器电路、显示电路、报警电路、电机驱动电路、舵机控制电路,所述电源电路为整个装置提供电源;所述单片机最小系统由单片机、晶振电路、复位电路组成,所述单片机与晶振电路、复位电路相连接;所述传感器电路通过霍尔元件将行驶速度转变为脉冲信号传输至单片机,单片机将得到的数据传输至显示电路进行显示。本发明操作方便,计量精确,具备功能齐全,容易携带,功耗较小的特点,在双足机器人以外的其他里程计量领域能够广泛应用。
The invention discloses a mileage measuring device for a biped robot, which includes a minimum system of a single chip microcomputer, a power supply circuit, a sensor circuit, a display circuit, an alarm circuit, a motor drive circuit, and a steering gear control circuit. The power supply circuit provides power for the entire device; The minimum system of the single-chip microcomputer is composed of a single-chip microcomputer, a crystal oscillator circuit, and a reset circuit. The single-chip microcomputer is connected with the crystal oscillator circuit and the reset circuit; the sensor circuit converts the driving speed into a pulse signal through a Hall element and transmits it to the single-chip microcomputer. to the display circuit for display. The invention has the characteristics of convenient operation, accurate measurement, complete functions, easy portability and low power consumption, and can be widely used in other mileage measurement fields other than biped robots.
Description
技术领域technical field
本发明涉及单片机技术领域,尤其涉及了一种以单片机为核心的双足机器人行驶里程计量装置。The invention relates to the technical field of single-chip microcomputers, in particular to a biped robot mileage measuring device with a single-chip microcomputer as the core.
背景技术Background technique
机器人其实是个自动化装置,他仍然是机器,但是他能够模仿人完成某些特定的工作。为什么要发展机器人技术。简单的说是有三方面原因:1、干人不愿干的事。2、把人从有毒,有害,危险的环境中解放出来。3、保证工作的效率和准确性。人会累,机器不会。这变相的提高了生产力,解放了劳动力。A robot is actually an automated device. It is still a machine, but it can imitate a human being to complete certain tasks. Why develop robotics. Simply put, there are three reasons: 1. Do things that people don't want to do. 2. To liberate people from toxic, harmful and dangerous environments. 3. Ensure the efficiency and accuracy of work. People get tired, machines don't. This improves productivity in a disguised form and liberates the labor force.
随着时代的发展,机器人技术也是日新月异,从传统的履带式机器人到如今的双足行走机器人,机器人的应用范围越来越广。机器人作为科技产物,如今已经给人们提供了越来越多的方便,他们可以做人类无法做到的事情,也可以代替人去做一些危险的工作。两足直立行走机器人是未来机器人的发展方向。相比较传统的机器人,它们可以更好的,更方便的为人类服务,模仿人类两足行走的特性可以到达更多传统机器人无法到达的地方。With the development of the times, robot technology is also changing with each passing day. From traditional crawler robots to today's biped walking robots, the application range of robots is becoming wider and wider. As a product of science and technology, robots have provided more and more convenience to people. They can do things that humans cannot do, and they can also replace people to do some dangerous work. Biped upright walking robot is the development direction of future robots. Compared with traditional robots, they can serve humans better and more conveniently. By imitating the characteristics of human bipedal walking, they can reach more places that traditional robots cannot reach.
双足机器人不但拥有开阔的工作空间,并且对步行环境要求很低,能适应于各类地面且具有较高的夸越障碍的能力,其步行性能是别的步行结构无法比较的。研究双足行走机器人具有重要的意义,在双足机器人行驶的过程中,能够让操作人员清楚的知道行驶的速度、里程等物理量,能够更精确的操控。The biped robot not only has a wide working space, but also has very low requirements on the walking environment. It can adapt to various types of ground and has a high ability to overcome obstacles. Its walking performance is unmatched by other walking structures. It is of great significance to study the biped walking robot. During the driving process of the biped robot, the operator can clearly know the physical quantities such as the driving speed and mileage, and can control it more accurately.
发明内容Contents of the invention
针对现有技术存在的不足,本发明的目的就在于提供了双足机器人行驶里程计量装置,具备功能齐全,容易携带,功耗较小的特点。In view of the deficiencies in the prior art, the object of the present invention is to provide a biped robot mileage measuring device, which has the characteristics of complete functions, easy portability and low power consumption.
为了实现上述目的,本发明采用的技术方案是这样的:双足机器人行驶里程计量装置,包括单片机最小系统、电源电路、传感器电路、显示电路、报警电路、电机驱动电路、舵机控制电路,所述电源电路为整个装置提供电源;所述单片机最小系统由单片机、晶振电路、复位电路组成,所述单片机与晶振电路、复位电路相连接;所述传感器电路通过霍尔元件将行驶速度转变为脉冲信号传输至单片机,单片机将得到的数据传输至显示电路进行显示,所述报警电路接收单片机的数据进行报警;所述电机驱动电路用于放大信号,形成强电信号;所述舵机控制电路由舵机控制器与串口通信电路组成,所述舵机控制器通过串口通信电路连接于单片机上。In order to achieve the above object, the technical solution adopted in the present invention is as follows: the biped robot mileage metering device includes the minimum system of a single-chip microcomputer, a power supply circuit, a sensor circuit, a display circuit, an alarm circuit, a motor drive circuit, and a steering gear control circuit. The power supply circuit provides power for the whole device; the minimum system of the single-chip microcomputer is composed of a single-chip microcomputer, a crystal oscillator circuit, and a reset circuit, and the single-chip microcomputer is connected with the crystal oscillator circuit and the reset circuit; The signal is transmitted to the single-chip microcomputer, and the single-chip microcomputer transmits the obtained data to the display circuit for display, and the alarm circuit receives the data of the single-chip microcomputer to report to the police; the motor drive circuit is used to amplify the signal to form a strong electric signal; the steering gear control circuit is composed of The steering gear controller is composed of a serial port communication circuit, and the steering gear controller is connected to the single-chip microcomputer through the serial port communication circuit.
作为一种优选方案,所述单片机爱用AT89C51单片机。As a preferred solution, the AT89C51 single-chip microcomputer is preferred.
作为一种优选方案,所述复位电路采用按键复位电路。As a preferred solution, the reset circuit adopts a button reset circuit.
作为一种优选方案,所述晶振电路采用12M的晶振。As a preferred solution, the crystal oscillator circuit adopts a 12M crystal oscillator.
作为一种优选方案,所述显示电路采用LED数码管显示。As a preferred solution, the display circuit uses LED digital tubes for display.
作为一种优选方案,所述报警电路采用声光报警器报警。As a preferred solution, the alarm circuit uses an audible and visual alarm to alarm.
与现有技术相比,本发明的有益效果:本发明操作方便,计量精确,具备功能齐全,容易携带,功耗较小的特点,在双足机器人以外的其他里程计量领域能够广泛应用。Compared with the prior art, the invention has the advantages of convenient operation, accurate measurement, complete functions, easy portability and low power consumption, and can be widely used in other mileage measurement fields other than biped robots.
附图说明Description of drawings
图1是本发明的原理框图;Fig. 1 is a block diagram of the present invention;
图2是本发明的电路图一;Fig. 2 is a circuit diagram one of the present invention;
图3是本发明的电路图二;Fig. 3 is circuit diagram two of the present invention;
图4是本发明的电路图三。Fig. 4 is a circuit diagram three of the present invention.
具体实施方式Detailed ways
下面结合具体实施例对本发明作进一步描述。以下实施例仅用于更加清楚地说明本发明的技术方案,而不能以此来限制本发明的保护范围。The present invention will be further described below in conjunction with specific embodiments. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.
实施例:Example:
如图1~4所示,双足机器人行驶里程计量装置,包括单片机最小系统、电源电路、传感器电路、显示电路、报警电路、电机驱动电路、舵机控制电路,所述电源电路为整个装置提供电源;所述单片机最小系统由单片机、晶振电路、复位电路组成,所述单片机与晶振电路、复位电路相连接;所述传感器电路通过霍尔元件将行驶速度转变为脉冲信号传输至单片机,单片机将得到的数据传输至显示电路进行显示,所述报警电路接收单片机的数据进行报警;所述电机驱动电路用于放大信号,形成强电信号;所述舵机控制电路由舵机控制器与串口通信电路组成,所述舵机控制器通过串口通信电路连接于单片机上。As shown in Figures 1 to 4, the biped robot mileage measurement device includes a minimum system of a single chip microcomputer, a power supply circuit, a sensor circuit, a display circuit, an alarm circuit, a motor drive circuit, and a steering gear control circuit. Power supply; the minimum system of the single-chip microcomputer is made up of single-chip microcomputer, crystal oscillator circuit, reset circuit, and described single-chip microcomputer is connected with crystal oscillator circuit, reset circuit; The obtained data is transmitted to the display circuit for display, and the alarm circuit receives the data of the single chip microcomputer for alarm; the motor drive circuit is used to amplify the signal to form a strong electric signal; the steering gear control circuit communicates with the serial port by the steering gear controller Circuit composition, the steering gear controller is connected to the single-chip microcomputer through the serial port communication circuit.
具体的,为了确保提供的电压稳定,所以用能提供+12V的直流电压电平,然后设计一个简单电平转换电路,将电压下降为5V。Specifically, in order to ensure the stability of the provided voltage, a DC voltage level capable of providing +12V is used, and then a simple level conversion circuit is designed to reduce the voltage to 5V.
具体的,所述单片机爱用AT89C51单片机,电脉冲由传感器电路的霍尔元件将双足机器人转动行驶的次数转换而成,转化成标准信号后,传输至单片机进行数据处理。经过单片机的定时/计数器测出每圈的时间数和总的脉冲数,再经过单片机处理传输至显示电路显现出来,这就是双足机器人速度和里程的测量。Specifically, AT89C51 single-chip microcomputer is preferred for the single-chip microcomputer. The electric pulse is converted by the Hall element of the sensor circuit from the number of rotations of the biped robot. After being converted into a standard signal, it is transmitted to the single-chip microcomputer for data processing. The timing/counter of the single-chip microcomputer measures the time of each lap and the total number of pulses, and then is processed by the single-chip microcomputer and transmitted to the display circuit for display. This is the measurement of the speed and mileage of the biped robot.
具体的,所述复位电路采用按键复位电路。单片机电路工作后,单片机要想进行初始复位,那么RET引脚上必须有两个机器以上的高电平。只要RET持续保持高电平,则AT89C51单片机循环复位。经过单片机的一个按钮K1产生高电平复位这就是手动复位。通电时,电容C5等于短路,RET端立刻被加上+5V的电压,使AT89C51单片机进行自动复位;只需要按动按钮K1,系统便可以复位,这个过程便是手动复位的过程。通过复位以后,P0到P3和 I/O口全为高电平,只有SBUF寄存器的工作状态不确定,其余全部清零。更为具体的,接通电源的时候,系统进行充电,高电平在单片机的RST引脚上出现,只需要有10ms的高电平,单片机就能进行复位。Specifically, the reset circuit adopts a button reset circuit. After the microcontroller circuit works, if the microcontroller wants to perform an initial reset, there must be more than two high levels on the RET pin. As long as RET remains high, the AT89C51 microcontroller will be reset cyclically. A button K1 of the microcontroller generates a high-level reset, which is a manual reset. When the power is turned on, the capacitor C5 is equal to a short circuit, and the voltage of +5V is added to the RET terminal immediately, so that the AT89C51 single-chip microcomputer can automatically reset; just press the button K1, and the system can be reset. This process is a manual reset process. After reset, P0 to P3 and I/O ports are all high level, only the working state of the SBUF register is uncertain, and the rest are all cleared. More specifically, when the power is turned on, the system is charging, and a high level appears on the RST pin of the single-chip microcomputer. It only needs 10ms of high level, and the single-chip microcomputer can be reset.
具体的,所述晶振电路采用12M的晶振。更为具体的,晶振电路的主要作用是在周期时间内,晶振输出脉冲信号给单片机,以此来让单片机能够按照时钟信号的指示来完成动作。Specifically, the crystal oscillator circuit uses a 12M crystal oscillator. More specifically, the main function of the crystal oscillator circuit is to output pulse signals to the single-chip microcomputer during the period of time, so that the single-chip microcomputer can complete the action according to the instructions of the clock signal.
具体的,所述显示电路采用LED数码管显示。所述LED数码管行程的LED显示屏在单片机中一般用来显现各种字符,由于他使用寿命长,显示清晰,不易损坏,所以使用非常广泛。LED数码管有两种不同的形态:其中一种叫做共阳极LED显示器;另外一种称之为共阴极LED显示器。本发明采用的是第二种共阴极接法。动态和静态显示是LED的两种显示方式,本发明采用将全部显示器的八个笔划段a-h同名端连在一起的动态显示接口电路,I/0线控制每个显示器的公共极COM。在CPU向字段出口输出字型码时,全部的显示器都会接收到同样的字型码,最后用哪个显示器由COM决定。换句话说就是可以通过分时法,让每个显示器可以依次亮起。在这个经过中,每一位显示器都只会亮很少的时间。Specifically, the display circuit uses LED digital tubes for display. The LED display screen of the LED nixie tube stroke is generally used to display various characters in the single-chip microcomputer. Because of its long service life, clear display and not easy to be damaged, it is widely used. There are two different forms of LED digital tubes: one is called common anode LED display; the other is called common cathode LED display. The present invention adopts the second common cathode connection method. Dynamic and static display are two kinds of display modes of LED, and the present invention adopts the dynamic display interface circuit that eight stroke segments a-h same-name ends of all displays are connected together, and the common pole COM of each display is controlled by the I/O line. When the CPU outputs the font code to the field outlet, all displays will receive the same font code, and the final display is determined by COM. In other words, through the time-sharing method, each display can be turned on in turn. During this process, each display will only be on for a short time.
具体的,所述报警电路采用声光报警器报警,就是瞬时速度一旦高于初定数值,蜂鸣器警报就会拉响,警报灯跳跃,警示需要减速。Specifically, the alarm circuit uses a sound and light alarm to alarm, that is, once the instantaneous speed is higher than the preset value, the buzzer alarm will sound, the alarm light will jump, and the warning needs to slow down.
更为具体的,本发明还设置有24C02存储电路,用于存储数据。More specifically, the present invention is also provided with a 24C02 storage circuit for storing data.
具体的,所述串口通信电路采用两块LM2596S芯片的DC-DC模块,该模块具有接线简单、成本低、稳定性好、转换效率高的特点。避免了因电池的不稳定造成对机器人的影响。同时,降低电源电压有利于单片机的稳定工作,延长使用寿命。提供给舵机合适的电压才能使舵机工作在最佳状态。好的供电系统对整个机器人的使用都起到了非常关键的作用。Specifically, the serial port communication circuit uses a DC-DC module of two LM2596S chips, which has the characteristics of simple wiring, low cost, good stability and high conversion efficiency. The impact on the robot caused by the instability of the battery is avoided. At the same time, reducing the power supply voltage is conducive to the stable operation of the single-chip microcomputer and prolongs the service life. Provide the appropriate voltage to the steering gear to make the steering gear work in the best state. A good power supply system plays a key role in the use of the entire robot.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和变形,这些改进和变形也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the technical principle of the present invention, some improvements and modifications can also be made. It should also be regarded as the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810536330.0A CN108731701A (en) | 2018-05-30 | 2018-05-30 | Biped robot's mileage travelled metering device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810536330.0A CN108731701A (en) | 2018-05-30 | 2018-05-30 | Biped robot's mileage travelled metering device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108731701A true CN108731701A (en) | 2018-11-02 |
Family
ID=63935779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810536330.0A Pending CN108731701A (en) | 2018-05-30 | 2018-05-30 | Biped robot's mileage travelled metering device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108731701A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120155775A1 (en) * | 2010-12-21 | 2012-06-21 | Samsung Electronics Co., Ltd. | Walking robot and simultaneous localization and mapping method thereof |
CN202630964U (en) * | 2012-07-10 | 2012-12-26 | 南京信息工程大学 | Speed odometer based on Hall element |
CN202854898U (en) * | 2012-10-27 | 2013-04-03 | 长安大学 | Taximeter based on single chip microcomputer |
CN203490242U (en) * | 2013-09-15 | 2014-03-19 | 陕西亚泰电器科技有限公司 | A motor rotating speed measuring apparatus based on a single chip microcomputer ATmega8L |
CN104006824A (en) * | 2014-06-16 | 2014-08-27 | 苏州南斗专利服务有限公司 | Speed and mileage measuring instrument based on single-chip microcomputer |
CN204718614U (en) * | 2015-06-24 | 2015-10-21 | 湖南科技学院 | A kind of bicycle speed mileage electronic watch |
CN204719537U (en) * | 2015-06-18 | 2015-10-21 | 国网山东临邑县供电公司 | The long-range inspecting robot of communications equipment room |
CN205120734U (en) * | 2015-11-17 | 2016-03-30 | 南京信息工程大学 | Speed mileage display device with hall sensor |
US9618937B1 (en) * | 2014-08-25 | 2017-04-11 | Google Inc. | Slip detection using robotic limbs |
CN107116549A (en) * | 2017-03-15 | 2017-09-01 | 广东工业大学 | A kind of method for planning track of robot and anthropomorphic robot platform based on quadravalence cubic B-spline function |
-
2018
- 2018-05-30 CN CN201810536330.0A patent/CN108731701A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120155775A1 (en) * | 2010-12-21 | 2012-06-21 | Samsung Electronics Co., Ltd. | Walking robot and simultaneous localization and mapping method thereof |
CN202630964U (en) * | 2012-07-10 | 2012-12-26 | 南京信息工程大学 | Speed odometer based on Hall element |
CN202854898U (en) * | 2012-10-27 | 2013-04-03 | 长安大学 | Taximeter based on single chip microcomputer |
CN203490242U (en) * | 2013-09-15 | 2014-03-19 | 陕西亚泰电器科技有限公司 | A motor rotating speed measuring apparatus based on a single chip microcomputer ATmega8L |
CN104006824A (en) * | 2014-06-16 | 2014-08-27 | 苏州南斗专利服务有限公司 | Speed and mileage measuring instrument based on single-chip microcomputer |
US9618937B1 (en) * | 2014-08-25 | 2017-04-11 | Google Inc. | Slip detection using robotic limbs |
CN204719537U (en) * | 2015-06-18 | 2015-10-21 | 国网山东临邑县供电公司 | The long-range inspecting robot of communications equipment room |
CN204718614U (en) * | 2015-06-24 | 2015-10-21 | 湖南科技学院 | A kind of bicycle speed mileage electronic watch |
CN205120734U (en) * | 2015-11-17 | 2016-03-30 | 南京信息工程大学 | Speed mileage display device with hall sensor |
CN107116549A (en) * | 2017-03-15 | 2017-09-01 | 广东工业大学 | A kind of method for planning track of robot and anthropomorphic robot platform based on quadravalence cubic B-spline function |
Non-Patent Citations (2)
Title |
---|
胡楠 等: "配电房轨道式自动巡检机器人控制系统设计与实现", 计算机测量与控, vol. 24, no. 3, pages 98 - 102 * |
黄惟公 等: "单片机原理与应用技术", 西安电子科技大学出版社, pages: 21 - 23 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN206165991U (en) | Live working safety precaution intelligence bracelet | |
CN204440165U (en) | A kind of intelligent grass-removing being applicable to rectangle mowing scope | |
CN206725012U (en) | Circulating water cultivation fish pond parameter wireless monitor system | |
CN106215762B (en) | A kind of raw material of industry Intelligent Hybrid real-time control apparatus based on embedded type C PS | |
CN202903202U (en) | Running parameter measurement display and speed limit device for electric bicycle | |
CN203982173U (en) | Energy consumption of vehicles data collector | |
CN106708029A (en) | Intelligent inspection trolley system with low cost | |
CN108731701A (en) | Biped robot's mileage travelled metering device | |
CN203964951U (en) | A kind of digital Temperature and Humidity monitoring alarm | |
CN204925387U (en) | Intelligence ultrasonic ranging appearance based on singlechip | |
CN208296849U (en) | Biped robot's mileage travelled metering device | |
CN106227222A (en) | A kind of obstacle removing robot | |
CN205880662U (en) | Test speed trolley system and from tracking intelligent vehicle of intelligence tracking based on singlechip | |
CN203489889U (en) | Outdoor ridding device for bicycle | |
CN202243023U (en) | Double-shaft stepping motor type car combined instrument | |
CN203837722U (en) | swimming pedometer | |
CN205301584U (en) | Vehicle reversing anti -collision early warning device | |
CN204985019U (en) | Intelligent electric fan | |
CN203053991U (en) | Tachymeter | |
CN202947830U (en) | Electronic Fishing Barometer | |
CN112617362A (en) | A intelligent bracelet for at school student's physique monitoring | |
CN205103332U (en) | Intelligent instrument of surveying of formula is held to hand | |
CN220518260U (en) | Automatic parking system based on microcontroller | |
CN205067743U (en) | Spacing alarm device parks based on singlechip | |
CN205120734U (en) | Speed mileage display device with hall sensor |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181102 |
|
RJ01 | Rejection of invention patent application after publication |