Design of remote robot control system based on ARM7

Publisher:RadiantDuskLatest update time:2012-04-13 Source: 电子技术Keywords:ARM7 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1 Overall design
The remote robot control system consists of three parts: robot intelligent control module, robot monitoring module, and remote control module. Its working process is that the remote PC sends control commands to the robot controller, the processor receives the command from the remote end and sends it to the controller, and the controller controls the robot movement; the robot monitoring system captures the live image through the video camera, transmits it to the remote end, and displays the live image on the remote PC. Its overall structure block diagram is shown in Figure 1.

(1) Robot intelligent control module: This part is the core of the system. It adopts embedded system design, can automatically run and process data, and manage and control the robot monitoring module through RS485 bus. The controller uses GPRS module to realize the communication between the robot intelligent control module and the external network, so that users can remotely control the robot intelligent control module through SMS and the Internet. At the same time, the controller also provides users with a human-machine interface through keyboard and display screen, which is convenient for users to realize local control.
(2) Robot monitoring module: The robot monitoring module controls each drive unit by forming several small control systems through single-chip microcomputers, and forms a network of these small control systems through a unified control bus, which is connected to the robot intelligent control module and controlled by the robot intelligent control module.


2 System Hardware Design
2.1 Hardware System Structure
This paper selects Samsung's S3C4480 chip as the central control module of the controller, which is responsible for communicating with GPRS communication module, robot monitoring module, data storage, keyboard, display screen and other modules as well as data collection and processing of the system. It is mainly divided into two parts: robot intelligent control module and robot monitoring module.
2.2 Hardware Design of Robot Intelligent Control Module
The circuit design part of the controller is mainly divided into the following modules:
(1) Peripheral circuit module of ARM processor S3C4480: including power management, keyboard, display screen and data and program storage devices such as SDRAM and Flash.
(2) GPRS communication module and its peripheral circuit design: GPRS module is used to realize data transmission between remote users and control terminals. This paper selects Siemens' MC35I module. Its peripheral circuit design mainly completes the circuit design of the power supply part of the MC35 module, data transmission, module startup and shutdown and working mode indication.
(3) Serial port expansion: GPRS modem dial-up Internet access requires the processor to provide it with a complete 9-wire serial port, while S3C4480 only provides a 3-wire serial port. Therefore, this paper expands the complete 9-wire serial port expansion by connecting an external dual-channel universal asynchronous receiver and transmitter STl6C2550.
(4) RS485 converter: Through TI's RS485 interface chip 75LBC184, the conversion between the TTL level and RS485 level of the S3C4480 (microcontroller) serial port is realized. The input impedance of this chip is twice the standard input impedance of RS485 (≥24kΩ), so 64 nodes can be connected on the bus.
2.2.1 Design of peripheral circuits of ARM processor
2.2.1.1 Use of development board resources
The development board provides a wealth of external resources. In addition to the necessary configurations such as power supply, clock source, reset circuit, etc., some resources used by the system are briefly introduced below:
External memory configuration: 2M Bytes Flash, 8M Bytes SDRAM, providing storage space for the storage and operation of system data, programs and operating system kernel.
Extended network port: 10M network port, RTL8019AS, this part is used to download the operating system kernel and application programs from the PC.
LCD interface (with LCD display): 320X240, STN, 16 levels of grayscale, maximum 640×480256 colors.
Keyboard: The keyboard and LCD interface are used to provide users with a local controlled human-computer interaction interface.
Serial port: Two standard RS232 interfaces. Used to connect to a PC and debug the system through a hyperterminal.
JTAG interface: Use a JTAG emulator to perform online simulation through the JTAG boundary scan port. Currently, there are two standards for JTAG, namely a 14-pin interface and a 20-pin interface. The development board uses a standard 14-pin JTAG interface, supports ARM7 series processors, supports STD, parallel port connections, and supports network debugging functions.
2.2.1.2 Allocation of system memory

[page]

S3C4480 supports big/little end selection of data storage (selected by external pins); has 8 memory banks, each memory bank can reach 32MB, totaling up to 256MB; the access size of all memory banks can be changed (8-bit/16-bit/32-bit); among the 8 memory banks, Bank0~Bank5 can support ROM, SDRAM; Bank6 and Bank7 can support ROM, SRAM and SDRAM, etc.; the starting address of 7 memory banks is fixed, and the starting address of 1 memory bank is variable.
The Flash in the development board uses SST39VFl60, 1M×16 bits, as a program memory mainly used to replace ROM, and can also store some important data when necessary. The SDRAM chip in the development board uses HY57V641620, 4M×16bit, with a storage capacity of 8MB. Use SDRAM as system memory.
2.2.2 GPRS module MC35 and its peripheral circuit design
2 2.2.1 MC35 module
MC35 is a new generation of wireless communication GPRS module launched by Siemens. It mainly consists of six parts: GSM baseband processor, GSM radio frequency module, power supply module (ASIC), flash memory, ZIF connector, and antenna interface.
2.2.2.2 MC35 peripheral circuit design
(1) MC35I power supply circuit
The module requires a single power supply to provide a voltage of 3.3V to 4.87 (the standard input is 4.27) and a current of 2A. This paper selects LM2576ADJ as the power supply for the module. The chip is a step-down switching voltage regulator with a voltage input range of 10~40V. It uses 12V (obtained through a 220V to 12V transformer) as input and an output of 1.5V. The circuit design of the power supply part is shown in Figure 2.

(2) Startup and shutdown circuits
The startup circuit consists of an open-drain transistor and a power-on reset circuit. This paper uses program control to implement it. Its circuit diagram is shown in Figure 3, and its simplified circuit is shown in Figure 4.

The first method is manual control. The circuit is shown in Figure 3. It is mainly used for the separate debugging of the MC35I module. When S1 is pressed, the base of Q3 is high, Q3 is turned on, and the voltage of the IGT pin is pulled down, which turns off the module.
The shutdown circuit gives the pin a low level greater than 3.5s through the transistor, which can turn off the GPRS module. The circuit design is similar to Figure 3.

2.2.2.3 Data communication circuit
In terms of electrical characteristics, the serial port of the MC35 module uses the ITU-TV.24 protocol, which is not compatible with the RS232 level. Therefore, level conversion is required. In this system, we use the MAX3238 level conversion chip from TI. The data communication circuit design is shown in Figure 5.

2.2.2.4 SIM card circuit
MC35I also provides 6 SIM card circuit interfaces. The circuit connection diagram of the SIM card reader is shown in Figure 6:

2. 2.3 Serial port expansion module
In order to realize the remote control of the home intelligent controller, it is necessary to dial up to the Internet through GPRS modem MC35. This design uses AT's STl6C2550 to complete the serial port expansion. The circuit connection diagram of STl6C2550 and ARM processor is shown in Figure 7.

In addition, the serial port output of STl6C2550 is TTL level, and MAX3238 is used here to convert the level into the RS232 level of the serial port.
2.2.4 RS485 interface circuit
The home intelligent controller designed in this system uses RS485 bus for home internal network wiring. Since neither the ARM processor 4480 nor the single-chip microcomputer (AT89C52 of Atmel Company selected in this article) provides a ready-made RS485 bus interface, it is necessary to select a conversion chip to realize the interface conversion. This system uses the Yili RS485 interface chip 75LBCl84 produced by TI.
2.2.4.1 RS485 interface circuit design
The serial port outputs of 4480 and single-chip microcomputer are both TTL level, so the connection circuits of 4480 and single-chip microcomputer and 75LBCl84 are consistent, and the circuit diagram is shown in Figure 8.

2.3 Robot monitoring module
The robot monitoring system integrates multiple functions such as robot motion control and video camera on-site shooting. This paper implements the robot drive unit module and other motor device drive unit modules in the robot monitoring module. Each module is composed of a single-chip microcomputer as a controller, and is connected to the RS485 bus through the single-chip microcomputer to form a monitoring network, and is ultimately controlled by the robot intelligent controller.
2.3.1 Infrared robot drive unit control module
The infrared robot drive unit control module is mainly used to control robots containing infrared receiving chips.

[page]

2.3.1.1 Design of infrared transmitting circuit
The infrared transmitting device used in the infrared transmitting circuit is the plastic-encapsulated TSAL6200 infrared transmitting diode. The width and interval of the infrared pulse train are controlled by the time interval of the high and low levels output by the single-chip microcomputer through the I/O port. The modulation circuit is a controllable oscillator composed of two monostable triggers U2A and U2B cascaded from 74LSl23. The circuit diagram is shown in Figure 9.

2.3.1.2 Infrared receiving circuit design
Infrared receiving uses }tS0038B infrared receiver, and the circuit design is shown in Figure 10.

3 System software design
The system software design is mainly divided into three parts: software design of the home system module; RS485 communication protocol design and software design of the communication between the home intelligent controller and the home system; software design of the home intelligent controller. Among them, the software design of the home intelligent controller is the core of the system software design. The software design of this part uses the embedded μClinux operating system as the development platform, which is responsible for data collection and data processing of the home system, and can communicate with remote users to realize remote control, which is the key to realizing the intelligent management of the home system. The system software structure block diagram is shown in Figure 11.

4 Conclusion
This device can be used to control the robot monitoring system, and can also realize remote monitoring of the robot through text messages and other means.

Keywords:ARM7 Reference address:Design of remote robot control system based on ARM7

Previous article:Embedded System Design Based on ARM
Next article:C-computer based on ARM and sliding fingerprint sensor

Recommended ReadingLatest update time:2024-11-16 22:32

The beginning of ARM7 study notes
Today I saw the record of learning ARM in Baidu blog http://hi.baidu.com/ch314156/blog/category/lpc2000 arm7 ��� ѧϰ�ʼ�/index/1.  I think this method of electronic notes is very good. In addition, I am currently learning ARM, and electronic notes are convenient for my own reference. I wrote it using KEIL4 for ARM, an
[Microcontroller]
The beginning of ARM7 study notes
Design of street lamp monitoring communication terminal based on ARM7
0 Introduction For urban street lamp management departments, anti-theft and energy saving have always been a headache, requiring a lot of manpower, material and financial resources. Because there are a large number of street lamps and their geographical locations are scattered, it brings great difficul
[Microcontroller]
Design of street lamp monitoring communication terminal based on ARM7
Research on Industrial Control Data Acquisition System Based on ARM7
0 Introduction In the field of industrial measurement and control, a large number of real-time field parameters need to be obtained. Due to the harsh, complex and changeable environment, data acquisition systems are mostly completed by industrial computers. However, industrial computers are large in size, power consu
[Microcontroller]
Research on Industrial Control Data Acquisition System Based on ARM7
ARM7 Getting Started 15, Watchdog Timer
Main program: /**************************************************************************** * File name: main.c * Function: Run WDT and control LED1--LED4 to display output. The program starts by controlling the flashing of LED1--LED4 and * feeding the dog; then only LED1 is lit and enters an infinite loop, wa
[Microcontroller]
ARM7 Getting Started 15, Watchdog Timer
Design of bidirectional converter based on ARM7 core LPC2119 chip
In these applications, switching power supplies are often required to not only control the two-way flow of energy, but also to achieve low-voltage, high-current output. When the switching frequency is not too high, as the output voltage decreases and the output current increases, rectification loss becomes the main fa
[Microcontroller]
Design of bidirectional converter based on ARM7 core LPC2119 chip
Technical Analysis of ARM7 & ARM9 Dual-core Platform
The leading products in the embedded system teaching platform market are based on ARM7 or ARM9 architecture. It is generally believed that ARM7 is a low-end product and ARM9 is a high-end product. There is also a so-called "ARM7 & ARM9 covering high-end & low-end teaching platform". It is advertised that "both sets of
[Microcontroller]
Design of ARM7 Acceleration Data Acquisition System
Introduction Accelerometers have always been an important component in acceleration testing. With the increasing application of micro-accelerometers, data signal acquisition and storage of micro-accelerometers have become extremely important. Most traditional data acquisition methods are completed using single-c
[Microcontroller]
Design of ARM7 Acceleration Data Acquisition System
Field Oriented Control of Brushless Motors Using an ARM Processor
Any improvement in the efficiency of motor drives will save a lot of energy, which is part of the reason for the growing interest in advanced motor control algorithms. Three-phase brushless motors mainly refer to AC induction asynchronous motors and permanent magnet synchronous motors. These motors are known for t
[Industrial Control]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号