This application claims the priority benefits of Chinese application No. 2009100887086 filed on Jul. 18, 2009, the content of which is hereby incorporated by reference in its entirety.
1. Field of the Invention
This invention relates to a single wheel robot system and its control method. The robot is an intelligent self-control and thus self-balancing unicycle riding robot. The control method is the balance control method of the static imbalance unicycle robot.
2. Description of Related Art
Riding unicycle is complicated activity requiring a lot of advanced skill of balance. This capacity need to go through a special study, training. Inventing an autonomous robot to imitate riding unicycle is the drive motion of such invention.
Single wheel robot is designed to imitate the activities of people riding a single wheel bicycle. The emergence of the bionic robot system is a result of rapid development and integration of artificial intelligence, intelligent control, machine design, robotics, and other related areas. Single wheel robot has obvious features of dynamic balance that static balance robot is different from. Single wheel robot has broad application prospects: With the complexity of its own unique balance of control problems, it can be used as a platform for unique features and tools in scientific research, display and entertainment; With its dynamic equilibrium properties, it would be applied to complex terrain environment, for transport, rescue and detection; With its slim shape it would be used as monitor robots, to realize the narrow parts of monitoring; In the aerospace field, a special lunar vehicle can even be developed based on single wheel robot.
Compared to the static equilibrium robot (such as the four wheels mobile robot), single wheel robot has the following salient features: 1) The robot's movement is based on the process of achieving a state of equilibrium, that is, robots must be stabilized before they can carry out other sports. So this movement is a dynamic process balancing process; the robot adjusts constantly in the vicinity of equilibrium point to maintain balance. While this increased the difficulty to control the robot, this enable it to complete many complex movement tasks of balance; 2) Since there is only one wheel, the hardware of single wheel robot is more simple, lighter, motion is also more flexible; 3) If the robot body adds the robot arm, dexterous hands, head, etc., the robot can be in a unique way to achieve the appropriate dynamic balance tasks, such as cycling in a very narrow path, riding off a very narrow beam, turning around in-situ, or even completing the difficult action of high-wire like a person.
The existing single wheel robots have mostly only driver and control layer on the robot's body as the basic functions, there is no sound macro-planning and visual functions, or transmitting information need to the Host computer processing. The robot does not have the ability to deal with this information, for example, the robot “Murata Girl”, height 50 cm, weight 5 kg, speed of 5 cm/s, developed by Japan's Murata Manufacturing unicycle ride. In the control field, left and right direction (roll) through vertical rotating inertia of robot body with a balance wheel to keep balance. The front and rear direction (pitch), the motor of the body rotates the unicycle wheel through the chain of transmission to maintain balance. In the measure, a tilt detecting gyro sensors is equipped in order to control the balance in two directions, respectively. In addition, it is equipped with ultrasonic sensors to detect obstacles, blue tooth module to send and receive control instructions, ceramic oscillator, the NTC Thermistor to test the temperature, etc. But “she” has no mechanical arms and dexterous hand to perform some tasks, still has no ability of complex task such us visual mission. She transmits the information to the host computer for processing and lacks the flexibility to expand Debugging with castors components. Her wheel is the complicated chain drive mode. Her detection in only four single-axis gyro will produce the angle integral migration issue, and ultimately lead to system instability.
Think of the above problems, this invention has designed a robot that can ride unicycle, and put forward a single wheel balancing robot motion control methods. The robot system not only can be used as an open platform for intelligent robotics research and development of control science, robotics, artificial intelligence and other fields of research and teaching of subjects, but also can be an instrument with unique features in entertainment and exhibition.
In order to achieve the above objectives, the invention has taken the following technical solutions:
Design a single wheel robot systems, including mechanical body and control systems; mechanical body including the lower balance components with a balanced single wheel (14) and an adjustable upper and lower bracket (13) for debugging; the upper balance components includes the inertia flywheel (17) and the flywheel motor (18); control system consists of state sensors, motion controller (10) and two servo drive controller and power supply system, of which the state sensors includes attitude sensors and speed sensors. Motion controller (10) receives signal from state sensors will then issues control instructions through control procedures and the signals. The two servo-drive controllers receives control instruction, respectively, through the single wheel motor (12) and flywheel motor (18) controls rotation of the single wheel (14) and the inertia flywheel (17) to balance the robot.
Under the debugging support (13), all around, each direction set has a removable castor 15.
The inertia flywheel (17) are pairs of removable structure, consists of two semicircular side by side.
Including the aluminum frame rigid body, modular robotic head and neck consisting of two-dimensional PTZ, detachable robot arm (6). The end of the arm (6) is multi-fingered robot hand (7). The upper balance components and the lower balance components constitute of the balance control structure, in which the lower balance components includes a balanced single wheel (14) and single wheel motor (12). The upper balance components includes the inertia flywheel (17) and the flywheel motor (18). Attitude sensor of control system are inclinometer as described (19) and Gyro (20); the speed sensor is the encoders installed on the single wheel motor (12) and the flywheel motor (18); the motion controller (10) MTS2812 is a digital signal processor card; the servo drive controllers are the servo drives named ACJ-55-18; power supply system are the power supply board (5) and the rechargeable Lithium batteries module (9).
The robot's perception sensors also includes a dual-camera vision sensor (1) installed in the robot's head, MIC constituting a hearing sensors and infrared sensors (2) located between the pairs of cameras, and sonar sensors (11) installed in the robot waist, remote control receiver, etc; The main controller (3)-EPC can receive information of the motion controller (10)-DSP and auxiliary controller-MCU information, and provide control instructions for the motion controller (10) and pass voice command the speaker (16).
The robot castors are mainly used for support the static and fixed body structure, when necessary they can be removed or lift. Robot motion control methods are as follows:
After removed the forward and back casters (15) of the debugging support (13) and left the other casters (15) in the same horizontal line, the robot turns into a forward and back balance robot with the single wheel (14) like a Pendulum robot. Above control methods can also be. After removed the left and right casters (15) of the debugging support (13) and left the other casters (15) in the same horizontal line, the robot turns into a left and back balance robot with the single wheel (14) or an autonomous robot riding a bicycle. Above control methods can also be.
The robot can work properly in mini mode retaining only the robot mechanical ontology in the trunk, the overall balance of control structure, inclinometer (19), gyroscopes (20), encoder, MTS2812 digital signal processor board and two servo drives ACJ-55-18 of control system, power supply board (5) and rechargeable battery module (9). The smallest structure robot control method is only for the motion controller (10) and servo drive controller. The control programs run on the motion controller 10 respectively and servo drive controller 4, 8 of single wheel and flywheel for all the balance of the robot. The control program of motion controller 10 and servo drive controller are as follows:
(1) The Program in the Motion Controller (10):
Proceedings do some necessary initialization to complete the variables and DSP registers initialization at first. The main configuration will be taken in the I/O ports and A/D channel, general purpose timers T1-T4, one cycle of the timer T1 for the interruption, T2, T4 for the encoder counters, T3 for the PWM signal output compare timer; and then open the PWM output to send to the servo drive controller enable signal; finally, to an infinite loop wait for interrupt arrival of each loop control procedures implemented in the detection and control algorithms;
When T1 timer expires 25 ms interrupt, DSP responses to the interrupt, save the current procedures for the scene, goes the timer interrupt program, the process (control program) are:
{dot over (X)}=AX+Bu
(2) The Servo Drive Controller Control Program:
The servo drive ACJ-55-18 supporting PC-side software COPLEY MOTION2, automatically calculate the DC motor servo program PI regulator parameters according to input parameters. The servo-control procedures is automatically generated after the simple structure of control system setting and downloaded to the storage unit of ACJ-55-18 through the serial port. The servo process control cycle is 1 ms. Signals of DSP-output PWM and turn were motor reference torque and reference shift. The armature current is negative feedback. The overall control loop of motor torque is PID servo control.
Compared to existing static equilibrium robot, such as s the four wheels mobile robot, the invention provides a control platform for robotics research, the field of control science, intelligent control and other multi-disciplinary research and teaching. And it has the following advantages:
Modular design concept makes the robot structured, every part of the robot removable and replaceable except the smallest components of the system for system maintenance or upgrades. This provides a great convenience to user's flexible demand. Such as: visual sensor systems and voice processing systems may be added to run the visual recognition, speech recognition function; a remote control system and obstacle avoidance systems can be equipped to provided the robot with a remotely operated and autonomous obstacle avoidance ability.
In the figure: 1, vision sensors; 2 infrared sensors; 3, host controller; 4, flywheel servo drive controller; 5, power board; 6, arm; 7, mechanical hands; 8, Single Wheel servo drive controller; 9, rechargeable battery module; 10, motion controller; 11, sonar sensors; 12, single wheel motors; 13, debug bracket; 14, Single Wheel; 15, Castor; 16, speakers; 17, inertia flywheel; 18, flywheel motor; 19, Inclinometers; 20, gyroscopes.
The detailed description of this invention combination of
The invention of autonomy unicycle riding robot system includes the mechanical body and electrical systems (control systems), in which the overall structure of machine body:
Trunk: Aluminum alloy rigid robot body.
Head and neck: two-dimensional PTZ modular. The head of robot can be up and down or rotated.
Arm 6 and hand 7: replaceable, modular, multi-fingered mechanical hand to complete the operant task.
Overall balance structure of the control: the lower balance components (the lower shaft components, mainly for single wheel) and the balance of components (the upper shaft components, mainly inertia flywheel) of vertical installation structure.
Design principles: modular design ideas: each component is a unit, can easily be replaced. Such as the robot's head can be with two-dimensional degrees of freedom installed with binocular vision, hearing and speaker 16. The modular head can also be installed with a monocular visual function. Replacement of the two only needs to remove the four screws fixing the head, and then the head can be replaced with a new modular. Arm 6, hand 7, sonar and other sensors 11 are modular designed and replaceable. Inertia flywheel 17, single wheel 14, debug bracket 13, and all other designed part can be replaced, or transform height; motor size can also be replaced. The space of Replacement is reserved. Different modules can be completely universal if they meet the standard interface. Replacement is very simple.
Machine body of the robot includes eight major components:
Among them, 1, 2, 3 constitute a robot trunk, 1, 2, 3, 4, 5 constitute the basic structure of the robot.
Electrical system is mainly divided into: sensory systems, control systems, power system.
Sensory system is the robot's “eyes”, “ears” and other components of access to outside information, including: vision sensors 1, infrared sensors 2, sonar sensors 11, attitude sensors, speed sensors, auditory sensors, remote control receiver.
Vision sensor in front of a robot used to detect visual images, capture image information transmitted to the brain (organizational level) for processing;
Infrared sensor 2—detect whether there is human activities in the front. The implementation of the case uses infrared micro-sensor module of human KT-0003B.
Sonar sensors 11—ultrasonic sensor 11, installed in the robot's waist is equivalent to bat's mouth and ears. When they work, the robot can take advantage of the sensor measured the distance the object around, which may form a barrier sonar systems, and then complete the obstacle avoidance task;
Attitude sensors—inclinometer 19 and gyroscopes 20, inclinometer 19 for detecting robot relative to the upright position tilt angle and roll angle. Gyro 20 is used for detecting the velocity of the inclination. Both provide important state information for the robot.
Speed sensor is installed in the end of motor as the optical encoder or magnetic encoder. Speed sensor convert speed signals into electrical signals sent to the motion controller 10. The implementation of the case uses magnetic encoder as a speed sensor.
Auditory sensors—Receive audio signals, such as the human voice signals. MIC in this case is used as Hearing sensor, integrated in camera.
Remote Control Receiver—Receive temporary remote control directives.
Control system is the nerve network of the robot, which uses a variety of signal provided by sensory system to process and map, finally issues a variety of real-time robot motion commands. It includes the drive-level muscles of the robot (servo drive controller and motor), the control-level cerebellum (motor controller) and the organizational level central nervous system (primary controller). Among them, flywheel, single wheel motor and servo drive control system is equivalent to the muscle; digital signal processor (DSP)—balance and motor control centers, and support management system is equivalent to the cerebella control system—the motion control device (10) and the auxiliary controller; industrial control computer (EC3-1811) as a macro-planning and management of the central nerve center is equivalent to the brain of the robot, that is the main controller (3).
Power system is equivalent to the digestive system of the robot, which provides all energy for the robot to think and movements. Power system mainly is the power supply board (5) and rechargeable batteries (9).
The main controller (3) is Embedded Computer (EPC) systems, such as EC3-1811 Industrial Computer.
Motion controller 10 is digital signal processor (DSP) system.
Auxiliary controller is microcontroller (MCU), DSP or other embedded systems.
Servo drive controller use servo drive—ACJ-55-18.
Flywheel, single wheel motors can choose DC torque motor with reducer, DC brush motors or brushless DC motor.
Power system: Rechargeable Battery Module (9) uses lithium batteries LBS-100C, power supply board five is PW4512.
The connection between the electrical system described as follows: the main controller (3) connects with motion controller (10), auxiliary controller and input and output devices such as vision sensor, infrared sensors, auditory sensors (MIC), speaker (16) (audible devices); motion controller (10) connects with inclinometer (19), gyroscope (20), encoders, servo drive controller; auxiliary controller connects with ultrasonic sensors and remote control receiver (integrated with assistant controller); rechargeable battery module (9) and board (5) is the power supply of all electrical equipment.
Shown in
The instructions of main controller (3) may be either real-time command, such as the remote control, etc. It can also be stored instructions, such as the program memory of the sequence of movement, etc. It can be both action commands, such as forward, turn, etc. It can also be a task-based instruction, such as the autonomous obstacle avoidance operation, etc.
Main controller (3) communicates with the motion controller (10) to read feedback information of inclinometer (19), gyroscope 20 and encoder. It communicates with the auxiliary controller to obtain ultrasonic sensor feedback and remote input commands;
Master controller (3) compute the robot straight and yaw rate control commands and issue to the motion control device (10) to implement in accordance with soft procedures or to commands from the remote control instruction of user, and the feedback of sensors, through the decision-making algorithm. Its decision-making algorithm consists of the following steps to complete: Action generator, refer to the user command or ultrasonic distance measurement information to calculate expectations of straight and yaw rate control commands, and then the decision-making device (motion controller) determines whether the implementation of the expectations of control commands according to the status of robot posture. If the robot is balanced, the expected control commands turns into the actual control commands; or the instruction of the master controller will not become the actual control command and the actual control command will be zero, that is, first adjust the robot balance. Then carry out the instruction; The command Generator Optional: look-up table, dynamic programming, fuzzy logic or expert system and so on.
Motion controller 10 collects inclinometer (19) and the gyro (20) output signal through the module (A/D) conversion and SPI ports, and after filtering, signal processing algorithms, provide the feedback signal used in a control cycle of.
Balance control algorithm of motion controller (10): With the use of decoupling control theory, the inclination will be decomposed to the robot's pitch degree of freedom and the roll degree: AngleFB, AngleLR and the angle speed AngleVFB, AngleVLR, and then use the established PID control algorithm, or fuzzy control, or the LQR, or a pole placement algorithm, or robust control algorithm, or other control algorithm to obtain the required Control value: UU, UD. And then control each motor to control the single wheel-MD, the inertia flywheel motor-MU. And then controls motors to control the movement of single wheel (14) and the flywheel motor 18.
Servo drive controllers use armature current as feedback to achieve the motor torque control, servo control cycle is far less than the robot motion control cycle.
The above control method is suitable for removal of all castors—the situation of only the single wheel, also suitable for removal of some pairs of castors. When front and rear casters removed, this system is an inverted pendulum. Control method of an inverted pendulum can be used. The above-mentioned control method can also be used.
Here are the minimum system implementation cases of the present invention. (The smallest structure of the system as shown in
(I) The Robot's Hardware
1. Electrical System Selection:
The motion controller (10) uses digital proceeding system—MSK2812 board of Hurricane Co Ltd (Beijing). The board's processor use TI's TMS320F2812 DSP, 5V DC power supply.
Emulator of MSK2812 uses XDS510USB, USB2.0 interface. Servo drives use ACJ-55-18 of Copley Motion. Inclinometer (19) uses Crossbow's CXTA-02 dual-axis inclinometer. Gyro (20) uses Analog Device's ADIS16355 three-axis inertial navigation system.
Robot's drive motors (motor (12) of single wheel and motor (18) of flywheel) adopt Maxon's brushless DC motor kit EC32, 24V power supply, 80 W power, 190:1 planetary gear reducer—GP32C, motors with incremental photoelectric encoder accuracy in 500 lines.
Rechargeable battery module 9 uses LBS-100C standard lithium batteries, nominal voltage: 29.6V, the scope of work: 33.6V-24V, Nominal Capacity: 150 Wh, protection circuit: Built-in overcharge, over discharge, over-current and short circuit protection, integrated power control.
Power board 5 uses NORCO PW-4512 power supply module to provide the controller and other electronic equipment with power supply: input voltage: 16-40V DC, Output Voltage: ATX: +3.3V @ 5 A, +5V/+5VSB @ 5 A, +12V @5 A, −12V@0.8 A.
2. Mechanical Structure and Layout of Electrical Components
The total weight of the robot is 8 kg, height 520 mm, width 300 mm, length 220 mm, diameter of 14 Single Wheel 210 mm. Robot's mechanical structure and electrical component placement are as follows:
As shown in
3. Electrical System Connection
As
The connection between MSK2812 with two servo drives ACJ-55-18 includes the control signals connections and encoder feedback signal pin. Control signals include motor enable signal, the direction signal of motor rotation and the amount of PWM signals of speed control. Which, the 3, 7 pin of J5 interface of MSK2812 respectively connect with 3-pin of the J5 interface of servo drives ACJ-55-18 for control of the flywheel, single wheel motor, as the enable signal line of the servo drive ACJ-55-18; 5 pin of the J5 interface of MSK2812, a foot flywheel and control, respectively connect with 6-pin of the J5 Interface of ACJ-55-18, as the motor rotation direction selection signal lines of single wheel motor; 17, 18 pin of J7 interfaces of MSK2812 for the PWM output, respectively connect with 20-pin of the J5 interface of flywheel and single wheel motor servo drives ACJ-55-18, as the speed control signal line. The feedback signals of flywheel and single wheel motor encoder pass through the servo drive ACJ-55-18, is sent to MSK2812 after the cache through the connection: 0, 11 pin of the J5 interfaces of the flywheel and single wheel motor servo drives ACJ-55-18 1 respectively connect with 27, 28 pin of the J7 interfaces and 13, 14 pin of J6 interfaces of MSK2812.
3, 4 pin of two servo drives ACJ-55-18 in J3 interfaces is power input, respectively, connect with +24 V and GND of the power output; 3, 4 pin of J2 interface is the output voltage, respectively connect with the motor +/− input. Between 3 pin and motor + input a switch is fixed; 4, 6 pin of J4 interface as +5 V and GND respectively connect with the encoder cable 2, 3-pin. 1, 8, 2, 9, 3, 10 pin of J4 interface respectively is A channel of the encoder, B channel and zero common-mode input signals, respectively, connect with the cable of 5, 6, 7, 8, 9, 10 of the encoder.
The LBS-100C standard lithium battery connects with the PW-4512 power supply modules through a DPDT Rocker switch. The +/− input of PW-4512 Power Module connect to +/− line of LBS-100C standard lithium battery to provide DC output, respectively, connected to the supply side of the devices.
4. Electrical System Work Principles
Main function of the case is to maintain balance while to control the robot to achieve commanded motion. As a result, robot electrical system works as shown in
(II) The Robot Motion Control System
The case of single wheel robot gives mode control system of controlling forward motion and the software. Others such as the intelligent decision-making behavior, voice control operation; etc can refer to this case and be designed similarly with adding the appropriate hardware and software module.
The whole software of control system consists of two parts, respectively, running on the motion controller 10 and servo drive controller.
1. The Control Software in the Motion Controller (the Principle of
The control software in the motion controller 10 is developed in the CCS studio, and downloaded in the storage unit. Procedures use 25 ms timer interrupt to achieve the robot posture balance and movement control in real-time. The implementation of the main program algorithm is given. Other routines such as initialization are directly referred to TI's TMS320F2812 DSP manuals.
Proceedings do some necessary initialization to complete the variables and DSP registers initialization at first. The main configuration will be taken in the I/O ports and A/D channel, general purpose timers T1-T4, one cycle of the timer T1 for the interruption, T2, T4 for the encoder counters, T3 for the PWM signal output compare timer; and then open the PWM output to send to the servo drive controller enable signal; finally, to an infinite loop wait for interrupt arrival of each loop control procedures implemented in the detection and control algorithms;
When T1 timer expires 25 ms interrupt, DSP responses to the interrupt, save the current procedures for the scene, goes the timer interrupt program, the process (control program) are:
The algorithm of movement balance control of step 6 as follows:
As shown in
Specific control algorithm process as follows:
Establishes the robot mathematical model, according to the robot mechanical system characteristics and parameters. Linear state space equation can be acquired by linearization around the equilibrium point: {dot over (X)}=AX+Bu
Where X=[θ2, θ1, ω, η, {dot over (θ)}2, {dot over (θ)}1, {dot over (ω)}, {dot over (η)}]T, u=[τd τu]T, θ1 for pitch angle; {dot over (θ)}1 for pitch angle velocity; θ2 for roll angle; {dot over (θ)}2 for roll angle velocity, ω for the wheel rotation angle, {dot over (ω)} for the wheel rotation angular velocity, η for the inertia flywheel (17) rotation angle, {dot over (η)} for the inertia flywheel (17) angular velocity.
That the system is completely controllable can be proved through the control matrixes of the pitching motion subsystem and roll movement subsystems are full rank. The value of each state variable of the system can also be measured.
By decoupling control theory, the whole robot system control tasks can be decomposed into pitch degree of freedom to control and roll degree of freedom to control. And therefore, θuc, θdc is reference input for the two subsystems, respectively, the state θi, {dot over (θ)}i (i=u,d;), That is the inclination of two DOF as the feedback of the balance control system. The two inner angle control subsystem of the state feedback controller can be designed by PID control method: PID control parameters can be acquired by the critical shock method. As:
The PID control parameters of the robot outside the closed-loop displacement control can be obtained in the same method:
So as to constitute the entire control system, the control objective is to move forward 10 meters, that is, in
2. Servo Drive Controller Software
The servo drive ACJ-55-18 supporting PC-side software COPLEY MOTION2, automatically calculate the DC motor servo program PI regulator parameters according to input parameters. The servo-control procedures is automatically generated after the simple structure of control system setting and downloaded to the storage unit of ACJ-55-18 through the serial port. The servo process control cycle is 1 ms. Signals of DSP-output PWM and turn were motor reference torque and reference shift. The armature current is negative feedback. The overall control loop of motor torque is PID servo control.
(III) The Application of Robotic Systems
Applying the robot, can follow these steps:
1. Installation of Hardware
2. Installation of electrical system
3. Confirming that the hardware and electrical system is connected correctly.
4. All switches should be off at first.
5. Balance the robot to an upright position.
6. Turn the switches on, the robot begins balance control.
7. After Robot in the stable state, no longer support.
8. Support the robot before turning off motor switches, the main power switch.
9. Place the robot to a cool, desiccate and safe depositary out of children's reach.
Number | Date | Country | Kind |
---|---|---|---|
200910088708.6 | Jul 2009 | CN | national |