[go: up one dir, main page]

CN205139614U - Imitative motion control of people robot ware based on it is embedded - Google Patents

Imitative motion control of people robot ware based on it is embedded Download PDF

Info

Publication number
CN205139614U
CN205139614U CN201520733406.0U CN201520733406U CN205139614U CN 205139614 U CN205139614 U CN 205139614U CN 201520733406 U CN201520733406 U CN 201520733406U CN 205139614 U CN205139614 U CN 205139614U
Authority
CN
China
Prior art keywords
chip
embedded
arm microprocessor
motor
cpld
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
CN201520733406.0U
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.)
Changchun University of Technology
Original Assignee
Changchun University of Technology
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 Changchun University of Technology filed Critical Changchun University of Technology
Priority to CN201520733406.0U priority Critical patent/CN205139614U/en
Application granted granted Critical
Publication of CN205139614U publication Critical patent/CN205139614U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

本实用新型借助于CPLD可编程逻辑控制单元,构成嵌入式实时控制器,尤其涉及一种基于嵌入式的仿人机器人运动控制器,它具有ARM微处理器与语音模块、触摸屏、键盘及鼠标等输入设备接口;ARM微处理器输入口接收输入设备的输入信号,语音模块用于检测声音控制命令和语音播报;触摸屏作为输入输出单元,通过触摸屏界面可以手动输入命令,也可以显示仿人机器人每个关节的运行状态;键盘与鼠标作为ARM芯片的输入单元,可用于更改电机参数设置;ARM微处理器实时处理输入信号并与CPLD可编程逻辑控制单元通信,CPLD可编程逻辑控制单元用于地址译码,并将指令以广播式发送给多个C8051单片机;它将指令转换为脉冲,控制步进电机驱动器,步进电机驱动电机转动或停止。

The utility model forms an embedded real-time controller by means of a CPLD programmable logic control unit, and particularly relates to a motion controller based on an embedded humanoid robot, which has an ARM microprocessor, a voice module, a touch screen, a keyboard and a mouse, etc. Input device interface; the input port of the ARM microprocessor receives the input signal of the input device, and the voice module is used to detect the sound control command and voice broadcast; the touch screen is used as the input and output unit, and the command can be manually input through the touch screen interface, and the humanoid robot can also be displayed. The operating status of each joint; the keyboard and mouse are used as the input unit of the ARM chip, which can be used to change the motor parameter settings; the ARM microprocessor processes the input signal in real time and communicates with the CPLD programmable logic control unit, and the CPLD programmable logic control unit is used for address Decode, and send the command to multiple C8051 single-chip microcomputers in broadcast mode; it converts the command into pulses, controls the stepper motor driver, and the stepper motor drives the motor to rotate or stop.

Description

基于嵌入式的仿人机器人运动控制器Embedded Humanoid Robot Motion Controller

技术领域technical field

本实用新型是一种基于嵌入式的仿人机器人运动控制器,尤其是涉及一种采用ARM微处理器(4)和uC/OS-Ⅱ嵌入式操作系统的嵌入式控制器,用于控制多轴电机联动,属于机器人技术领域。The utility model relates to an embedded humanoid robot motion controller, in particular to an embedded controller using an ARM microprocessor (4) and a uC/OS-II embedded operating system for controlling multiple A shaft motor linkage belongs to the technical field of robots.

背景技术Background technique

在本实用新型之前,纵观国内外对多轴电机联动控制的驱动,其控制方式有多种。国外的运动控制器设计方向有三种特点:基于计算机标准总线的运动控制器;Soft型开放式运动控制器;嵌入式结构的运动控制器。美国DeltaTau数字系统公司的基于DSP技术的PMAC运动控制器,该产品使用Motorola的DSP560002为核心中央处理器,技术很成熟,其特点在于功能强大,适用于复杂运动控制的场合,如机器人等。但其控制点数少,增加控制点数的同时,价格则增加很多,在普通控制场合并不能推广。Before the present utility model, looking at the drive of multi-axis motor linkage control at home and abroad, there are many control methods. The design direction of foreign motion controllers has three characteristics: motion controllers based on computer standard bus; Soft type open motion controllers; embedded structure motion controllers. The PMAC motion controller based on DSP technology of American DeltaTau Digital System Company uses Motorola's DSP560002 as the core CPU. The technology is very mature. It is characterized by powerful functions and is suitable for complex motion control occasions, such as robots. But it has few control points, and while increasing the control points, the price will increase a lot, so it cannot be popularized in ordinary control occasions.

实用新型内容Utility model content

本实用新型的目的就是克服上述缺陷,提供一种基于嵌入式的仿人机器人运动控制器。The purpose of this utility model is to overcome the above-mentioned defects and provide a motion controller based on an embedded humanoid robot.

本实用新型的技术方案是:The technical scheme of the utility model is:

一种基于嵌入式的仿人机器人运动控制器,该控制器可以控制二十轴自由度联动,并能对编码器和重力加速度传感器反馈的信号有处理能力。本实用新型的技术方案是:一种基于嵌入式的仿人机器人运动控制器,其特征在于语音模块、触摸屏和键盘鼠标分别接在ARM微处理器的语音接口、触摸屏接口及键盘鼠标接口,ARM微处理器与CPLD复杂可编程逻辑单元通信,并将指令串传输给CPLD复杂可编程逻辑单元输入接口,CPLD复杂可编程逻辑单元将指令串译码,并输出给单片机,单片机控制步进电机驱动芯片,驱动步进电机动作,步进电机动作的状态由信号反馈单元反馈给单片机,实现闭环控制;An embedded humanoid robot motion controller, which can control 20-axis degrees of freedom linkage, and can process the signals fed back by encoders and gravity acceleration sensors. The technical scheme of the utility model is: a motion controller based on an embedded humanoid robot, which is characterized in that the voice module, the touch screen and the keyboard and mouse are respectively connected to the voice interface, the touch screen interface and the keyboard and mouse interface of the ARM microprocessor, and the ARM The microprocessor communicates with the CPLD complex programmable logic unit, and transmits the instruction string to the input interface of the CPLD complex programmable logic unit. The CPLD complex programmable logic unit decodes the instruction string and outputs it to the single-chip microcomputer, and the single-chip microcomputer controls the stepping motor drive The chip drives the stepping motor, and the state of the stepping motor is fed back to the microcontroller by the signal feedback unit to realize closed-loop control;

语音模块是以LD3320芯片为核心的硬件单元实现语音识别功能。LD3320的数据线、地址线采用并行方式直接与ARM微处理器相接,均采用1k欧上拉电阻,A0用于判断是数据段还是地址段;控制信号RDB、WRB、CSB,复位信号RSTB以及中断返回信号INTB与ARM微处理器相接,采用10k欧姆上拉电阻,辅助系统稳定工作;The voice module is a hardware unit with LD3320 chip as the core to realize the voice recognition function. The data line and address line of LD3320 are directly connected to the ARM microprocessor in parallel, and both use 1k ohm pull-up resistors. A0 is used to judge whether it is a data segment or an address segment; control signals RDB, WRB, CSB, reset signal RSTB and The interrupt return signal INTB is connected to the ARM microprocessor, and a 10k ohm pull-up resistor is used to assist the system to work stably;

ARM微处理器选用ST公司的基于ARMCortex-M3内核的32位处理器STM32F104ZET6芯片作为主控制器芯片。采用嵌入式操作系统uC/OS-Ⅱ来实现统一的任务调度和外围设备管理;The ARM microprocessor chooses ST's 32-bit processor STM32F104ZET6 chip based on the ARM Cortex-M3 core as the main controller chip. The embedded operating system uC/OS-Ⅱ is used to realize unified task scheduling and peripheral device management;

复杂可编程逻辑单元选用EPM3256ATI144系列CPLD芯片作为地址译码和数据传输。CPLD芯片采用四线制与单片机连接,其中两根线用于地址选择标志位和单片机使能信号,另外两根线作为串口的接收和发送,用于传输数据。CPLD芯片采用广播式控制,保证多个电机运动的一致性,可控制二十轴电机联动;Complex programmable logic unit chooses EPM3256ATI144 series CPLD chip as address decoding and data transmission. The CPLD chip is connected to the single-chip microcomputer using a four-wire system, two of which are used for address selection flags and single-chip enable signals, and the other two lines are used as serial port receiving and sending for data transmission. The CPLD chip adopts broadcast control to ensure the consistency of multiple motor movements, and can control twenty-axis motor linkage;

信号反馈单元是由绝对式编码器和重力加速度传感器组成,将步进电机(8)的转速及步进电机所在平面的倾斜角度反馈给单片机,单片机处理编码器反馈的数据,实时控制电机的转速并对电机的角度进行补偿,同时将重力加速度传感器反馈的数据传送给ARM微处理器,由ARM微处理器根据D-H坐标运算,对仿人机器人行走中的每一个关节进行正运动分析和逆运动分析,并将仿人机器人行走时位姿中存在的危险点建立一个库,以满足最大稳定裕度的情况为前提,调节稳定裕度最小的一个关节的电机,使仿人机器人行走更加稳定。The signal feedback unit is composed of an absolute encoder and a gravitational acceleration sensor, and feeds back the speed of the stepping motor (8) and the inclination angle of the plane where the stepping motor is located to the single-chip microcomputer, and the single-chip microcomputer processes the data fed back by the encoder to control the speed of the motor in real time And compensate the angle of the motor, and at the same time transmit the data fed back by the gravity acceleration sensor to the ARM microprocessor, and the ARM microprocessor performs forward motion analysis and inverse motion on each joint in the walking of the humanoid robot according to the D-H coordinate calculation Analyze and establish a library of dangerous points in the posture of the humanoid robot when walking, and adjust the motor of a joint with the smallest stability margin on the premise of satisfying the maximum stability margin to make the humanoid robot walk more stable.

本实用新型的优点和效果在于外围电路简单、成本低、能够通过人性化的人机交互实现对多轴步进电机的速度和定位控制。本实用新型利用语音模块,对语音命令进行采集,也可以使用触摸屏手动输入命令,利用鼠标和键盘接口,外接鼠标和键盘,辅助命令输入,使用简单方便。控制芯片采用uC/OS-Ⅱ实时操作系统对控制系统的各个模块进行调度,并利用uC/GUI所提供的丰富的控件功能,提供了简洁、友好的人机交互界面,能够显示仿人机器人每个关节电机的运行状态。The utility model has the advantages and effects that the peripheral circuit is simple, the cost is low, and the speed and positioning control of the multi-axis stepping motor can be realized through humanized human-computer interaction. The utility model uses a voice module to collect voice commands, and can also use a touch screen to manually input commands, and uses a mouse and keyboard interface to connect an external mouse and keyboard to assist command input, which is simple and convenient to use. The control chip uses the uC/OS-Ⅱ real-time operating system to schedule each module of the control system, and uses the rich control functions provided by uC/GUI to provide a simple and friendly human-computer interaction interface, which can display the humanoid robot. The running status of each joint motor.

本实用新型的其它优点和效果将在下面继续说明。Other advantages and effects of the present utility model will continue to be described below.

附图说明Description of drawings

图1是本实用新型控制器的结构原理方框示意图;Fig. 1 is a block schematic diagram of the structural principle of the utility model controller;

图2是ARM与CPLD通信I/O分配图;Figure 2 is the I/O allocation diagram for ARM and CPLD communication;

图3是本实用新型的具体电路原理图;Fig. 3 is the concrete circuit schematic diagram of the utility model;

图4是本实用新型的语音采集模块;Fig. 4 is the voice collection module of the present utility model;

图5是本实用新型的单片机(6)外围电路;Fig. 5 is the peripheral circuit of single-chip microcomputer (6) of the present utility model;

图6是本实用新型的电机驱动电路;Fig. 6 is the motor driving circuit of the present utility model;

图7是本实用新型控制器的电源电路;Fig. 7 is the power supply circuit of the utility model controller;

具体实施方式detailed description

1.ARM微处理器是一种基于精解指令集计算机(RISC)原理而设计的高端微控制器,指令集和相关的译码机制比复杂指令集计算机要简单的多,这样的简化实现了高的指令吞吐量、出色的中断响应、高性价比的处理器宏单元,既可以运行操作系统,又可以做实时控制使用,与DSP相比,DSP主要是用来计算的数据信号,比如进行加密解密、调制解调等,DSP主要的优势是强大的数据处理能力和较高的运行速度,而ARM微处理器具有比较强的事务管理功能,可以用于运行应用程序等,其优势主要体现在控制方面,更加适合于工业控制、电机驱动等,另外,ARM微处理器架构是面向低预算市场设计的,成本要比DSP低得多。1. ARM microprocessor is a high-end microcontroller designed based on the principle of RISC. The instruction set and related decoding mechanism are much simpler than those of complex instruction set computers. Such simplification realizes High instruction throughput, excellent interrupt response, and cost-effective processor macro-units can not only run the operating system, but also be used for real-time control. Compared with DSP, DSP is mainly used for computing data signals, such as encryption Decryption, modulation and demodulation, etc., the main advantages of DSP are powerful data processing capabilities and high operating speed, while ARM microprocessors have relatively strong transaction management functions, which can be used to run applications, etc., and their advantages are mainly reflected in In terms of control, it is more suitable for industrial control, motor drive, etc. In addition, the ARM microprocessor architecture is designed for the low-budget market, and the cost is much lower than that of DSP.

2.CPLD复杂可编程逻辑器件用于指令编译并寻址,主要功能是为ARM微处理器节省接口,减少ARM微处理器发送指令时占用的时间,为ARM微处理器运算位姿算法,节省时间,使系统响应速度快,控制更加精准。2. The CPLD complex programmable logic device is used for instruction compilation and addressing. The main function is to save the interface for the ARM microprocessor, reduce the time it takes for the ARM microprocessor to send instructions, and calculate the pose algorithm for the ARM microprocessor, saving time, so that the system responds faster and the control is more precise.

3.如图1所示:语音模块、触摸屏、键盘鼠标分别接ARM微处理器的语音模块接口、触摸屏接口、鼠标键盘接口,ARM微处理器是采用STM32F104系列芯片,其主频高达72MHz,内置高速存储器(512KB的闪存和64KB的SRAM),具有1.25Mips/MHz的指令执行速度,为复杂算法的加载提供了硬件基础,它具有112个通用输入输出口,本实用新型正是利用了其中的38个GPIO与外围部件并行传输数据。3. As shown in Figure 1: the voice module, touch screen, keyboard and mouse are respectively connected to the voice module interface, touch screen interface, and mouse and keyboard interface of the ARM microprocessor. High-speed memory (flash memory of 512KB and SRAM of 64KB), has the instruction execution speed of 1.25Mips/MHz, has provided the hardware basis for the loading of complex algorithm, and it has 112 general-purpose input and output ports, and the utility model has just utilized wherein 38 GPIOs transfer data in parallel with peripheral components.

4.如图2所示:ARM微处理器与CPLD通过22个接口连接即可,其中两个是串口线,剩余的二十根是C8051地址的标志位,CPLD芯片通过4个接口与C8051直接相连,其中两个是RX、TX串口线,其余两个是CE、CS是C8051的使能信号和片选标志位,CPLD可以控制二十个自由度联动,每个自由度占用4个接口,二十个自由度共占用CPLD芯片80个I/O口,CPLD芯片与ARM通讯占用22个I/O口,CPLD芯片共消耗了102个I/O口,所以本实用新型的芯片是选择CPLD芯片的EPM3256ATI144系列芯片。4. As shown in Figure 2: ARM microprocessor and CPLD can be connected through 22 interfaces, two of which are serial ports, and the remaining 20 are the flag bits of the C8051 address. The CPLD chip is directly connected to the C8051 through 4 interfaces. Connected, two of them are RX, TX serial port lines, the other two are CE, CS is the enable signal and chip selection flag bit of C8051, CPLD can control twenty degrees of freedom linkage, each degree of freedom occupies 4 interfaces, Twenty degrees of freedom occupy 80 I/O ports of CPLD chip altogether, CPLD chip and ARM communication occupy 22 I/O ports, CPLD chip consumes 102 I/O ports altogether, so the chip of the present invention is to choose CPLD The chip is the EPM3256ATI144 series chip.

5.如图3所示:P1单元件是标准10针的JTAG下载接口,其中引脚1是测试时钟输入TCK,与微处理芯片的PA14引脚相连,引脚3是测试数据输出TDO,与微处理芯片的PB3引脚相连,引脚4是参考电压输入,与芯片工作电压3.3V相同,引脚5是测试模式选择TMS,与微处理芯片的PA13引脚相连,引脚6是测试复位nRST,与微处理芯片的nRST引脚相连,引脚9是测试数据输入TDI,与微处理芯片的PA15引脚相连,引脚10是GND。5. As shown in Figure 3: the P1 unit is a standard 10-pin JTAG download interface, in which pin 1 is the test clock input TCK, which is connected to the PA14 pin of the microprocessor chip, and pin 3 is the test data output TDO, which is connected to the The PB3 pin of the microprocessor chip is connected, and the pin 4 is the reference voltage input, which is the same as the working voltage of the chip 3.3V. The pin 5 is the test mode selection TMS, which is connected with the PA13 pin of the microprocessor chip, and the pin 6 is the test reset. nRST is connected to the nRST pin of the microprocessor chip, pin 9 is the test data input TDI, connected to the PA15 pin of the microprocessor chip, and pin 10 is GND.

6.语音模块采用LD3320芯片为核心的硬件单元实现语音识别功能。6. The voice module adopts LD3320 chip as the core hardware unit to realize the voice recognition function.

7.如图4所示:LD3320的数据线、地址线(P0~P7)采用并行方式直接与STM32F104ZET6芯片GPIO(PB0~PB9)相接,均采用1k欧上拉电阻,其中PB3接口与标准的10针JTAG测试输出引脚TDO连接,PB4与JTAG测试复位引脚连接,A0用于判断是数据段还是地址段;控制信号RDB、WRB、CSB,复位信号RSTB、中断返回信号INTB以及时钟信号CLK分别与STM32F104ZET6芯片GPIO(PD0~PD5)相接,采用10k欧姆上拉电阻,辅助系统稳定工作。7. As shown in Figure 4: the data lines and address lines (P0~P7) of LD3320 are directly connected to the STM32F104ZET6 chip GPIO (PB0~PB9) in parallel, and all use 1k ohm pull-up resistors, of which the PB3 interface is connected to the standard The 10-pin JTAG test output pin TDO is connected, PB4 is connected to the JTAG test reset pin, A0 is used to judge whether it is a data segment or an address segment; control signals RDB, WRB, CSB, reset signal RSTB, interrupt return signal INTB and clock signal CLK Connect with STM32F104ZET6 chip GPIO (PD0~PD5) respectively, and use 10k ohm pull-up resistors to assist the system to work stably.

8.触摸屏选择台达A系列HMIDOP,触摸屏接口与ARM微处理器的GPIO(PA9、PA10)串口相连,通过对触摸屏程序的编写,可以实现人机接口界面上直接更改电机的参数,如转动的角度、启动和停止时的加减速度,在显示界面上,建立19个自由度的连杆机构,每个自由度代表一个关节的电机,当电机在转动时,显示界面上也可以看到运动的状态。8. Select Delta A series HMIDOP as the touch screen. The touch screen interface is connected to the GPIO (PA9, PA10) serial port of the ARM microprocessor. By programming the touch screen program, the parameters of the motor can be directly changed on the man-machine interface interface, such as the rotating Angle, acceleration and deceleration when starting and stopping. On the display interface, a linkage mechanism with 19 degrees of freedom is established. Each degree of freedom represents a joint motor. When the motor is rotating, the movement can also be seen on the display interface status.

9.步进电机驱动电路是由C8051F410系列单片机和THB6064H驱动芯片组成。9. The stepper motor drive circuit is composed of C8051F410 series microcontroller and THB6064H drive chip.

10如图5所示,J4单元是四线接口,用于单片机程序下载,单片机I/O(P0.4~P0.7)端口与CPLD芯片相连,用于传输指令,单片机使能信号CE与单片机的P0.7相连,单片机片选信号CS与单片机的P0.6相连,单片机串口接收端RX与单片机的P0.5相连,单片机串口发送端TX与单片机的P0.4相连,C8051F410单片机的ADC子系统集成了一个27通道的模拟多路选择器(AMUX0)和一个200ksps的12位逐次逼近寄存器型ADC,ADC中集成了跟踪保持电路、可编程窗口检测器和硬件累加器,片内SilionLabs二线(C2)开发接口允许使用安装在最终应用系统上的产品MCU进行非侵入式(不占用片内资源)、全速、在线系统调试,本实用新型采用C2进行下载调试单片机程序,P0.3、P0.2、P0.1分别与驱动芯片的M1、M2、M3连接,P0.0控制驱动参考电压Vref,P1.7、P1.6、P1.5分别与驱动芯片的Enable、CW/CCW、CLK连接,P1.2、P1.3、P1.4是反馈信号接口,可以输入加速度传感器反馈信号和编码器反馈信号。10 As shown in Figure 5, the J4 unit is a four-wire interface for downloading the MCU program, the MCU I/O (P0.4~P0.7) port is connected to the CPLD chip for transmitting instructions, and the MCU enable signal CE is connected to the CPLD chip. The P0.7 of the single-chip microcomputer is connected, the chip selection signal CS of the single-chip microcomputer is connected with the P0.6 of the single-chip microcomputer, the serial port receiving end RX of the single-chip microcomputer is connected with the P0.5 of the single-chip microcomputer, the serial port sending end TX of the single-chip microcomputer is connected with the P0.4 of the single-chip microcomputer, and the ADC of the C8051F410 single-chip microcomputer The subsystem integrates a 27-channel analog multiplexer (AMUX0) and a 200ksps 12-bit successive approximation register ADC. The ADC integrates a track-and-hold circuit, a programmable window detector and a hardware accumulator. The on-chip SilionLabs second-wire (C2) The development interface allows the use of the product MCU installed on the final application system for non-intrusive (does not occupy on-chip resources), full-speed, online system debugging. The utility model uses C2 to download and debug single-chip microcomputer programs, P0.3, P0 .2, P0.1 are respectively connected to M1, M2, M3 of the driver chip, P0.0 controls the driving reference voltage Vref, P1.7, P1.6, P1.5 are respectively connected to the Enable, CW/CCW, CLK of the driver chip Connection, P1.2, P1.3, and P1.4 are feedback signal interfaces, which can input acceleration sensor feedback signals and encoder feedback signals.

11.选择THB6064H作为步进电机的驱动芯片,驱动芯片的外围电路。11. Choose THB6064H as the driver chip of the stepping motor, and drive the peripheral circuit of the chip.

12.如图6所示,THB6064H芯片共有7个控制引脚,4个输出引脚,M1、M2、M3引脚是细分数选择端,Vref是参考电压输入端,当Vref为高电位时,使NPN型三极管Q2导通,电阻R5经Q2接地,此时,PNP型三极管Q1导通,Q1管的集电极和发射极将电阻R2、二极管D2短路,使Vref的电压升高,Vref≈(5-1)/(4.7+1)V,当Vref为低电位时,使NPN型三极管Q2截止,电阻R5变为高电位,此时,PNP型三极管Q1截止,电阻R2、二极管D2参与分压电路,使Vref的电位降低,Vref≈(5-0.7)/(10+4.7+1)V,通过调节Vref引脚的高低电位,可以实现驱动芯片输出管脚的电流值,从而使步进电机转动时的电流大,停止时步进电机也用一定的抱闸电流,驱动芯片的输出引脚OUT1A、OUT2A、OUT1B、OUT2B分别与两相混合式步进电机的四根线连接,Enable是驱动芯片的使能端,当Enable=0时,驱动芯片的所有输出为零,当Enable=1时,驱动芯片正常工作,CW/CCW为步进电机转动方向控制端,CW/CCW为低电平时,电机正转,CW/CCW为高电平时,电机反转,CLK为脉冲输入端,通过调节输入脉冲的占空比,可以调节步进电机的转速,CLK为-0.2~VDD的方波,脉冲频率最高为200KHz,脉冲宽度最小为2.3us。12. As shown in Figure 6, the THB6064H chip has 7 control pins and 4 output pins. The M1, M2, and M3 pins are subdivision number selection terminals, and Vref is the reference voltage input terminal. When Vref is at a high potential , so that the NPN transistor Q2 is turned on, and the resistor R5 is grounded through Q2. At this time, the PNP transistor Q1 is turned on, and the collector and emitter of Q1 short-circuit the resistor R2 and the diode D2, so that the voltage of Vref rises, Vref≈ (5-1)/(4.7+1)V, when Vref is at a low potential, the NPN transistor Q2 is turned off, and the resistor R5 becomes a high potential. At this time, the PNP transistor Q1 is turned off, and the resistor R2 and diode D2 participate in the separation voltage circuit to reduce the potential of Vref, Vref≈(5-0.7)/(10+4.7+1)V, by adjusting the high and low potential of the Vref pin, the current value of the output pin of the drive chip can be realized, so that the stepper When the motor rotates, the current is large, and the stepper motor also uses a certain brake current when it stops. The output pins OUT1A, OUT2A, OUT1B, and OUT2B of the driver chip are respectively connected to the four wires of the two-phase hybrid stepper motor. Enable is The enable terminal of the driver chip, when Enable=0, all the outputs of the driver chip are zero, when Enable=1, the driver chip works normally, CW/CCW is the direction control terminal of the stepper motor, and CW/CCW is low power Normally, the motor rotates forward, and when CW/CCW is high, the motor reverses. CLK is the pulse input terminal. By adjusting the duty cycle of the input pulse, the speed of the stepping motor can be adjusted. CLK is a square wave from -0.2 to VDD , the maximum pulse frequency is 200KHz, and the minimum pulse width is 2.3us.

Claims (5)

1. based on Embedded anthropomorphic robot motion controller, it is characterized in that voice module, touch-screen and keyboard and mouse are connected on the speech interface of ARM microprocessor respectively, touch screen interface and keyboard and mouse interface, ARM microprocessor and CPLD complex programmable logic unit communication, and the strings of commands is transferred to CPLD input interface, CPLD complex programmable logic unit is by strings of commands decoding, and export to single-chip microcomputer, Single-chip Controlling driving chip, Driving Stepping Motor action, state and the pose signal of stepper motor action feed back to single-chip microcomputer by signal feedback unit, realize closed-loop control.
2. according to claim 1 based on Embedded anthropomorphic robot motion controller, it is characterized in that voice module is that the hardware cell being core with LD3320 chip realizes speech identifying function, the data line of LD3320, address wire adopt parallel mode directly to connect with ARM microprocessor, all adopt 1k Europe pull-up resistor, it is data segment or address field that A0 is used for judgement; Control signal RDB, WRB, CSB, reset signal RSTB and interruption return signal INTB connects with ARM microprocessor, adopts 10k ohm pull-up resistor, backup system steady operation.
3. according to claim 1 based on Embedded anthropomorphic robot motion controller, it is characterized in that ARM microprocessor selects the 32 bit processor STM32F104ZET6 chips based on ARMCortex-M3 kernel of ST company as master controller chip, adopt embedded OS uC/OS-II to realize unified task scheduling and peripherals administration.
4. according to claim 1 based on Embedded anthropomorphic robot motion controller, it is characterized in that complex programmable logic unit selects EPM3256ATI144 series CPLD chip as address decoding and data transmission, CPLD chip adopts four-wire system to be connected with single-chip microcomputer, wherein two lines are used for address selection zone bit and single-chip microcomputer enable signal, other two lines are as the reception of serial ports and transmission, for transmitting data, CPLD chip adopts broadcast type to control, ensure the consistance of multiple motor movement, 20 spindle motor interlocks can be controlled.
5. according to claim 1 based on Embedded anthropomorphic robot motion controller, it is characterized in that signal feedback unit is made up of absolute type encoder and Gravity accelerometer, by the tilt angle feed-back of the rotating speed of stepper motor and stepper motor place plane to single-chip microcomputer, the data of single-chip microcomputer process encoder feedback, the rotating speed of real-time control motor also compensates the angle of motor, send the data that Gravity accelerometer feeds back to ARM microprocessor simultaneously, by ARM microprocessor according to D-H coordinate computation, forward kinematics analysis and inverse motion analysis are carried out to each joint in Humanoid Robot Based on Walking, and the dangerous point existed in pose during Humanoid Robot Based on Walking is set up a storehouse, premised on the situation meeting maximum stable nargin, the motor in the joint that modification stability nargin is minimum, make Humanoid Robot Based on Walking more stable.
CN201520733406.0U 2015-09-22 2015-09-22 Imitative motion control of people robot ware based on it is embedded Expired - Fee Related CN205139614U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520733406.0U CN205139614U (en) 2015-09-22 2015-09-22 Imitative motion control of people robot ware based on it is embedded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520733406.0U CN205139614U (en) 2015-09-22 2015-09-22 Imitative motion control of people robot ware based on it is embedded

Publications (1)

Publication Number Publication Date
CN205139614U true CN205139614U (en) 2016-04-06

Family

ID=55625387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520733406.0U Expired - Fee Related CN205139614U (en) 2015-09-22 2015-09-22 Imitative motion control of people robot ware based on it is embedded

Country Status (1)

Country Link
CN (1) CN205139614U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105353670A (en) * 2015-09-22 2016-02-24 长春工业大学 Embedded motion controller of humanoid robot
CN106426195A (en) * 2016-08-31 2017-02-22 佛山博文机器人自动化科技有限公司 Control device and method for humanoid robot
CN112621757A (en) * 2020-12-25 2021-04-09 河南大学 Multi-joint robot dynamics simulation device and method
CN113296433A (en) * 2021-04-28 2021-08-24 成都秦川物联网科技股份有限公司 Singlechip resetting method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105353670A (en) * 2015-09-22 2016-02-24 长春工业大学 Embedded motion controller of humanoid robot
CN106426195A (en) * 2016-08-31 2017-02-22 佛山博文机器人自动化科技有限公司 Control device and method for humanoid robot
CN112621757A (en) * 2020-12-25 2021-04-09 河南大学 Multi-joint robot dynamics simulation device and method
CN112621757B (en) * 2020-12-25 2022-03-29 河南大学 A multi-joint robot dynamics simulation device and method
CN113296433A (en) * 2021-04-28 2021-08-24 成都秦川物联网科技股份有限公司 Singlechip resetting method

Similar Documents

Publication Publication Date Title
CN205139614U (en) Imitative motion control of people robot ware based on it is embedded
CN105353670A (en) Embedded motion controller of humanoid robot
CN100568131C (en) Multi-axis motion controller based on MPC5200
CN101114174A (en) Embedded four-axis motion controller
CN102188824B (en) Double-system controlled all-digital model airplane steering engine
CN101261512A (en) ARM-based embedded motion control card
CN101266482A (en) Four-axis motion control card based on single chip microcomputer
CN102866707A (en) All-digital servo-control system for microcomputer mouse
CN102830658A (en) Embedded numerical control system for multi-shaft numerical control machine tool
CN203520080U (en) Real-time controller of universal frequency converter
CN202837916U (en) Single-axis medium-low speed adhesive dispensing robot servo control system
CN113386134A (en) Coordinate type welding robot control system and method and robot
CN101738987A (en) Five-axis motion control card
CN203070045U (en) Embedded numerical control motion control platform used for multi-spindle machine tool
CN208588917U (en) An industrial robot motion controller based on ARM+DSP+FPGA
CN209175754U (en) An Infrared Gesture Recognition Manipulator
CN201945835U (en) Embedded control system used for carton proofing machine
CN207965590U (en) A kind of numerically-controlled machine tool Three-dimensional Control System
CN210953388U (en) A kind of building structure model deformation measurement device
CN102841556B (en) Low speed Full-automatic spot gluing machine people servo controller in a kind of diaxon
CN203535483U (en) Full-digital servo controller of two-wheel micro-mouse based on ARM9 chip
CN201689326U (en) High speed real-time linkage control circuit and chip
CN202837907U (en) Five-axis medium-low speed adhesive dispensing robot servo control system
CN206605494U (en) A kind of sixdegree-of-freedom simulation teaching machine
CN202837914U (en) Five-axis medium-low speed full-automatic adhesive dispensing robot servo controller

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160406

Termination date: 20160922

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