Article A Hexapod Robot with Non-Collocated Actuators
Min-Chan Hwang *, Chiou-Jye Huang ID and Feifei Liu
School of Electrical Engineering and Automation, Jiangxi University of Science and Technology, No. 86, Hongqi Road, Ganzhou 341000, China; [email protected] (C.-J.H.); [email protected] (F.L.) * Correspondence: [email protected]; Tel.: +86-177-7075-4280
Received: 8 April 2018; Accepted: 12 June 2018; Published: 25 June 2018
Abstract: The primary issue in developing hexapod robots is generating legged motion without tumbling. However, when the hexapod is designed with collocated actuators, where each joint is directly mounted with an actuator, the number of actuators is usually high. The adverse effects of using a great number of actuators include the rise in the challenge of algorithms to control legged motion, the decline in loading capacity, and the increase in the cost of construction. In order to alleviate these problems, we propose a hexapod robot design with non-collocated actuators which is achieved through mechanisms. This hexapod robot is reliable and robust which, because of its mechanism-generated (as opposed to computer-generated) tripod gaits, is always is statically stable, even if running out of battery or due to electronic failure.
Keywords: hexapod; mechanism; non-collocated
1. Introduction Wheeled robots can efficiently move on flat surfaces, but they become ineffective as soon as they encounter rough and uneven environments, which comprise the majority of the Earth’s surface. For such terrains, legged robots simply always outperform wheeled robots. Hence, the development of a legged robot is motivated by the need to maneuver over rough terrains for outdoor activities. The challenge of developing a legged robot lies in one primary fact: how to generate the legged motion without tumbling. In 1968, McGhee and Frank [1,2] proposed the center of gravity projection (COG) method, where the legged robot is statically stable if the horizontal projection of its COG lies inside the support polygon, defined as the convex polygon formed by connecting footprints. Orin [3] proposed a generalized COG in 1976 called the COP (center of pressure) method, wherein a robot is dynamically stable if the projection of the COG along the direction of the resultant force acting on the COG lies inside the support polygon. A variety of legged robots, including quadruped, hexapod, and octopod robots commonly practice the above methods [4–6]. On the other hand, bipedal robots favor the ZMP (zero moment point) method, first defined by Vukabratovic and Juricic [7,8] in 1969, stating that a robot is stable if the moment about the COP at its supporting foot is zero. Meanwhile, two distinct methodologies evolved and were later introduced into robotics— that is, fuzzy theories and neural networks. Fuzzy theories [9–11] address the imprecision of systems by defining the fuzzy numbers or fuzzy sets that can be expressed in linguistic terms. For instance, the technology for finding the best value of foot acceleration for a given trajectory can be achieved by using a very simple Mamdani fuzzy inference system [12]. Once the foot acceleration function has been obtained, the real-time implementation of the fuzzy reasoning process can be optimized [13,14]. Neural networks [15–17] are able to represent complex nonlinear relationships and are good at classifying patterns into preselected categories used in the training process. One important observation from neuroscience is that the CPG (central pattern generator) [18,19] located in the spinal cord is an autonomous device generating rhythmic behaviors such as locomotion, requiring neither peripheral
Appl. Syst. Innov. 2018, 1, 20; doi:10.3390/asi1030020 www.mdpi.com/journal/asi Appl. Syst. Innov. 2018, 2, x FOR PEER REVIEW 2 of 15 Appl. Syst. Innov. 2018, 1, 20 2 of 15 spinal cord is an autonomous device generating rhythmic behaviors such as locomotion, requiring neither peripheral sensor feedback nor the regulation command from the brain-stem. Hybrid sensorschemes feedback using noreither the regulationfuzzy controllers command or from neur theal brain-stem.networks to Hybrid implement schemes bionic using eithercontrol fuzzy are controllersappealing, and or neural have been networks conducted to implement extensively bionic in many control articles are appealing, (e.g., [20–27]). and have been conducted extensivelyWe found in many that all articles of the (e.g., legged [20 robots–27]). under discussion are designed with collocated actuators. That Weis, each found joint that is all mounted of the legged with an robots actuator under so discussionthat the number are designed of actuators with collocatedis usually high. actuators. The Thatadverse is, effects each joint of using is mounted a great numb wither an of actuator actuators so include that the increasing number the of actuatorschallenge of is algorithms usually high. to Thecontrol adverse legged effects motions, of using degrading a great number the loading of actuators capacity, include and raising increasing the thecost challenge of construction. of algorithms This toinspired control us legged to overcome motions, these degrading weaknesses the before loading resorting capacity, to other and raisingtechniques. the costHence, of construction.we designed Thisan innovative inspired mechanism us to overcome to lessen these the weaknessesnumber of actuators. before resorting Since stable to other tripod techniques. gaits are generated Hence, weby designedmechanism an instead innovative of computer, mechanism a togreat lessen amount the number of computing of actuators. resources Since stablecan be tripod released gaits and are generateddiverted to by engineering mechanism insteadapplications. of computer, In this apape greatr, amount we will of briefly computing discuss resources some candesign be released issues, andelaborate diverted the tomechanism engineering of applications.reducing the Innumber this paper, of actuators, we will brieflyestablish discuss the mathematical some design model, issues, elaborateand introduce the mechanismthe relevant ofhardware reducing as the well number as software. of actuators, establish the mathematical model, and introduce the relevant hardware as well as software. 2. Design Issues 2. Design Issues Determining how to build a robot is somewhat mundane. Nevertheless, it is sufficiently Determining how to build a robot is somewhat mundane. Nevertheless, it is sufficiently nontrivial and in fact sophisticated that we must have a design mechanism, select materials, nontrivial and in fact sophisticated that we must have a design mechanism, select materials, determine component sizes, make engineering drawings as shown in Figure 1, machine all of the determine component sizes, make engineering drawings as shown in Figure1, machine all of parts, and assemble them into a robot as shown in Figure 2, where the size of the robot is about 712 the parts, and assemble them into a robot as shown in Figure2, where the size of the robot is about mm × 641 mm × 189 mm and the size of its main body is 382 mm × 222 mm × 134 mm when six legs 712 mm × 641 mm × 189 mm and the size of its main body is 382 mm × 222 mm × 134 mm when are detached. Figure 1 shows that there are only three motors required by this hexapod (i.e., bottom six legs are detached. Figure1 shows that there are only three motors required by this hexapod (i.e., motor, upper motor, and swivel motor). Although ball bearings are better than porous metal bottom motor, upper motor, and swivel motor). Although ball bearings are better than porous metal bearings in terms of overall performance, they require more space in their housing and more bearings in terms of overall performance, they require more space in their housing and more material material to construct. In order to achieve a light-weight design, the structure is made of lighter to construct. In order to achieve a light-weight design, the structure is made of lighter aluminum aluminum AT6061T6 and porous metal bearings. AT6061T6 and porous metal bearings.
Figure 1. Visualization of components.
Figure 2. Completed hexapod robot.
The servos used in the hobby radio control (RC) market for controlling model airplanes, cars, The servos used in the hobby radio control (RC) market for controlling model airplanes, cars, and boats are also frequently used in robots. The servos that are good for light-weight application and boats are alsoalso frequentlyfrequently usedused inin robots.robots. The servosservos thatthat areare goodgood forfor light-weightlight-weight application
Appl. Syst. Innov. 2018, 1, 20 3 of 15 Appl. Syst. Innov. 2018, 2, x FOR PEER REVIEW 3 of 15 Appl. Syst. Innov. 2018, 2, x FOR PEER REVIEW 3 of 15 have threethree wires:wires: two two for for power power (red) (red) and and ground ground (black), (black), and theandthird the third for control for control (yellow), (yellow), as shown as have three wires: two for power (red) and ground (black), and the third for control (yellow), as inshown Figure in3 a.Figure The signal 3(a). isThe generally signal ais variable-width generally a pulse.variable-width The neutral pulse. position The correspondedneutral position to shown in Figure 3(a). The signal is generally a variable-width pulse. The neutral position acorresponded pulse of about to a 1.5 pulse ms, of sent about at 1.5 intervals ms, sent of at 20 inte ms.rvals The of servo 20 ms. HS-5645MG The servo HS-5645MG used in [28 used] with in size [29] corresponded to a pulse of about 1.5 ms, sent at intervals of 20 ms. The servo HS-5645MG used in [29] 40.39with size mm 40.39× 19.56 mm mm × 19.56× 37.59 mm mm × possesses37.59 mm apossesse stalled torques a stalled of 12 torque kg-cm. of In 12 order kg-cm. to improveIn order the to with size 40.39 mm × 19.56 mm × 37.59 mm possesses a stalled torque of 12 kg-cm. In order to loadingimprove capacity, the loading we replaced capacity, those we RCreplaced servos those with powerful RC servos motors, with producedpowerful bymotors, Shayang produced Ye Co. Ltd.by improve the loading capacity, we replaced those RC servos with powerful motors, produced by withShayang serial Ye number Co. Ltd. IG300264-SY2979, with serial number rated IG3002 torque64-SY2979, 110 g-cm, rated rated torque speed 110 5950 g-cm, rpm, rated each speed of them5950 Shayang Ye Co. Ltd. with serial number IG300264-SY2979, rated torque 110 g-cm, rated speed 5950 mountedrpm, each withof them a gear mounted train (reduction with a gear ratio train 1:264) (reduc andtion encoder ratio 1:264) (7 ppr). and In encoder Figure 3(7b, ppr). the motor In Figure we rpm, each of them mounted with a gear train (reduction ratio 1:264) and encoder (7 ppr). In Figure chose3(b), the with motor size we∅30 chose× 102 with mm size can generate∅30 × 102 a mm stalled can torque generate of approximately a stalled torque 29 of kg-cm, approximately obtained by29 3(b), the motor we chose with size ∅30 × 102 mm can generate a stalled torque of approximately 29 multiplyingkg-cm, obtained its rated by multiplying torque 110 its g-cm rated with torque the ratio 110 ofg-cm reduction with the gear ratio 264. of Thereduction swivel gear motor 264. was The a kg-cm, obtained by multiplying its rated torque 110 g-cm with the ratio of reduction gear 264. The J-typeswivel motormotor withwas seriala J-type number motor DME34J500B.with serial number DME34J500B. swivel motor was a J-type motor with serial number DME34J500B.
(a) (b) (a) (b) Figure 3. Two types of actuators: (a)a RC servos; (bb) DC motor with gear train and encoder. Figure 3. TwoTwo types of actuators: (a) ( ) RC servos; (b ( )) DC DC motor motor with gear train and encoder.
The closed control system of this robot was configured as shown in Figure 4, where , , The closed control system of this robot waswas configuredconfigured asas shownshown inin FigureFigure4 4,, where where θ , , θ ,, θ stand for the outputs of the bottom, upper, and swivel motors after reduction gears, accordingly.1 2 3 stand for the outputs of the bottom, upper, upper, and and sw swivelivel motors motors after after reduction reduction gears, gears, accordingly. accordingly. The encoders attached with motors were the feedback sensors for the inner loop. Those incremental The encoders attached with motors were the feedbackfeedback sensors for the inner loop. Those incremental encoders are vulnerable to accumulation errors and are unable to identify the initial states encoders areare vulnerable vulnerable to accumulationto accumulation errors errors and are and unable are tounable identify to the identify initial states the wheneverinitial states the whenever the system is restarted, hence proximity, LJ12A3-4-Z/BY, and microswitch sensors wheneversystem is restarted, the system hence is proximity, restarted, LJ12A3-4-Z/BY, hence proximity, and microswitchLJ12A3-4-Z/BY, sensors and assisted microswitch for initialization sensors assisted for initialization and calibration. Besides, the purpose of using microswitches was to limit assistedand calibration. for initialization Besides, theand purpose calibration. of using Besides, microswitches the purpose was of tousing limit microswitches the operation ofwas the to swivel limit the operation of the swivel motor within a safety zone. The L298 N drivers were the H-bridges in themotor operation within aof safety the swivel zone. motor The L298 within N driversa safety were zone. the The H-bridges L298 N drivers in the form were of the ICs H-bridges (integrated in the form of ICs (integrated circuits) with rated current 2 A and rated power 25 W. thecircuits) form withof ICs rated (integrated current circuits) 2 A and ratedwith rated power current 25 W. 2 A and rated power 25 W.
Figure 4. Closed control system. Figure 4. Closed control system. 3. Mechanism 3. Mechanism The robot is divided into three modules: an upper deck, a bottom deck, and a swivel to connect The robot is divided into three modules: an upper deck, a bottom deck, and a swivel to connect both Theof them robot (Figure is divided 5), intowhere three both modules: of decks an possess upper deck,the same a bottom components deck, and except a swivel their to legs connect are both of them (Figure 5), where both of decks possess the same components except their legs are bothmounted of them in opposite (Figure orientations,5), where both not of only decks saving possess one half the of same the time components in drawing except but also their benefiting legs are mounted in opposite orientations, not only saving one half of the time in drawing but also benefiting mountedmanufacture in opposite and maintenance. orientations, not only saving one half of the time in drawing but also benefiting manufacture and maintenance.
Appl. Syst. Innov. 2018, 1, 20 4 of 15 Appl. Syst. Innov. 2018, 2, x FOR PEER REVIEW 4 of 15 Appl. Syst. Innov. 2018,, 2,, xx FORFOR PEERPEER REVIEWREVIEW 4 4 ofof 1515
Figure 5. Three major modules. Figure 5. ThreeThree major major modules. modules.
Since both of the upper and bottom decks share the same structure, it is sufficient to study just Since both ofof thethe upperupper and and bottom bottom decks decks share share the the same same structure, structure, it is it sufficient is sufficient to study to study just just one one of them. As shown in Figure 6, the upper deck consists of two types of mechanisms: one to oneof them. of them. As shown As shown in Figure in Figure6, the upper6, the deckupper consists deck ofconsists two types of two of mechanisms:types of mechanisms: one to distribute one to distribute the power and another to generate the legged motion. distributethe power the and power another and to another generate to the generate legged the motion. legged motion.
Figure 6. Upper deck. Figure 6. UpperUpper deck.deck.
Let us tentatively remove some parts of the uppe upperr deck to disclose the structure of the power distribution systemsystem asas shown shown in in Figure Figure7a. 7(a). Note Note that th itat is notit is necessary not necessary to put to on put the on timing the timing belts when belts whenmaking making engineering engineering drawings, drawings, but they but are they added are here added for the here sake for of the clarity. sake The of clarity. power distributionThe power distributionsystem is composed system is of composed pulleys and of timing pulleys belts and through timing belts which through one single which motor one is single able to motor dispense is able its powertoto dispensedispense to three itsits setspowerpower of shaftstoto threethree (i.e., setssets anterior ofof shaftsshafts shafts, (i.e.,(i.e.,posterior anterioranterior shafts, shafts, andposteriorposterior middle shafts,shafts, shafts). andand Additionally, middlemiddle shafts).shafts). the powerAdditionally, flows are the illustrated power flows in Figure are illustrated7b. in Figure 7(b).
(a) (b) Figure 7. Power distribution system: (a) Structure of pulleys and timing belts; (b) Power flows Figure 7. PowerPower distribution distribution system: system: (a)(a) (a) StructureStructure of of pulleys pulleys and and timing timing belts;belts; ((b)(b)b) Power Power flows flowsflows
Each set of shafts is attached with a four-bar linkage [28] which is the femur of the leg, as Each setset ofof shafts shafts is is attached attached with with a four-bar a four-bar linkage linkage [29] [28] which which is the is femur the femur of the of leg, the as shownleg, as shown in Figure 8(a) to generate the legged motion. To put all the parts together, all six of the legs shownin Figure in8 Figurea to generate 8(a) to generate the legged the motion. legged Tomotion. put all To the put parts all the together, parts together, all six of all the six legs of the can legs be can be casted into two sets, each of which consists ofof threethree legs,legs, asas shownshown inin FigureFigure 8(b)8(b) wherewhere thethe labelslabels 11 andand 22 standstand forfor thethe specificspecific deckdeck toto whichwhich theythey belongbelong (i.e.,(i.e., bottombottom deckdeck andand upperupper deck,deck,
Appl. Syst. Innov. 2018, 1, 20 5 of 15
Appl. Syst. Innov. 2018, 2, x FOR PEER REVIEW 5 of 15 castedAppl. Syst. into Innov. two 2018 sets,, 2, x each FOR ofPEER which REVIEW consists of three legs, as shown in Figure8b where the labels 1 5and of 15 respectively).2 stand for the Hence, specific this deck robot to whichwith a theyminimal belong number (i.e., bottomof non-collocated deck and upperactuators deck, can respectively). implement theHence,respectively). stable this tripod robot Hence, withgaits this a minimalusing robot mechanisms. with number a minimal of non-collocated Compared number ofto actuators non-collocatedother hexapod can implement actuators robots thewith can stable implementcollocated tripod actuators,gaitsthe stable using each tripod mechanisms. joint gaits is directly using Compared mounted mechanisms. to with other anCompared hexapod actuator, robots whereto other with the hexapod number collocated ofrobots actuators actuators, with could collocated each be joint as highisactuators, directly as eighteen. each mounted joint This is with directlyinnovative an actuator, mounted mechanism where with an theuses actuator, number only three where of actuators actuators the number could to achieve of be actuators as highlocomotion, ascould eighteen. be and as significantlyThishigh innovativeas eighteen. reduces mechanism This the innovative cost uses of the only mechanism robot. three actuators uses only to achieve three actuators locomotion, to achieve and significantly locomotion, reduces and thesignificantly cost of the reduces robot. the cost of the robot.
(a) (b) (a) (b)
Figure 8. (a) Structure of one leg; (b) Two sets of tripod legs. Figure 8. (a) Structure of one leg; (b) Two sets of tripod legs. Figure 8. (a) Structure of one leg; (b) Two sets of tripod legs. 4. Tripod Gaits 4. Tripod Gaits 4. Tripod Gaits The six legs of this robot can be divided into two sets, each of which consists of three legs (i.e., The six legs of this robot can be divided into two sets, each of which consists of three legs the anteriorThe six andlegs posteriorof this robot legs can with be thedivided contralateral into two middlesets, each leg, of to which form consistsa triangular of three support). legs (i.e., In (i.e., the anterior and posterior legs with the contralateral middle leg, to form a triangular support). thethe following,anterior and the posterior labels 1 andlegs 2with refer the to thecontralateral bottom deck middle and leg,upper to formdeck, arespectively. triangular support). The tripod In In the following, the labels 1 and 2 refer to the bottom deck and upper deck, respectively. The tripod gaitsthe following, of the robot the labelscan be 1 generatedand 2 refer by to alternating the bottom twodeck sets and of upper tripod deck, legs, respectively. as shown in The Figure tripod 9 gaits of the robot can be generated by alternating two sets of tripod legs, as shown in Figure9 where wheregaits of the the legs robot with can encirclement be generated represent by alternating that they two are setson the of groundtripod legs, while as the shown others in are Figure off of 9 the legs with encirclement represent that they are on the ground while the others are off of the ground. thewhere ground. the legs As withcan be encirclement seen in Figure represent 9, the hethatxapod they robotare on can the move ground without while tumbling the others because are off itsof As can be seen in Figure9, the hexapod robot can move without tumbling because its COG is always COGthe ground. is always As insidecan be the seen triangular in Figure supports. 9, the he Notexapod that robot the can static move stabilit withouty is guaranteed tumbling because by means its inside the triangular supports. Note that the static stability is guaranteed by means of mechanism ofCOG mechanism is always instead inside ofthe requiring triangular a sophisticated supports. Note algorithm. that the Hence,static stabilit a greaty isamount guaranteed of computation by means instead of requiring a sophisticated algorithm. Hence, a great amount of computation time can be timeof mechanism can be released instead for of other requiring uses. a sophisticated algorithm. Hence, a great amount of computation released for other uses. time can be released for other uses.
FigureFigure 9. 9. AA sequence sequence of of motions motions moving moving in in a a forward forward direction. Figure 9. A sequence of motions moving in a forward direction. This robot robot changes changes its its course course by by delicately delicately coordinating coordinating the the motions motions of ofits itsswivel swivel and and legs, legs, as shownas shownThis in robotFigure in Figure changes 10 10where where its therecourse there are areby five delicately five stages stages arcoordinating arrangedranged clockwise clockwise the motions from from the theof itsupper upper swivel right right and corner corner legs, to toas thetheshown upper in leftFigure corner.corner. 10 where AtAt stagestage there 1,1, the theare robot robotfive rests.stages rests. At Atar stageranged stage 2, 2, clockwise the the upper upper deckfrom deck takesthe takes upper off off its itsright legs legs labeledcorner labeled asto as2the and2 upperand makes makes left a corner. swing a swing counterclockwiseAt counterclockwise stage 1, the robot while whilerests. the theAt legs stagelegs of the of2, thethe bottom bottomupper deck deck deck labeled takes labeled asoff 1 asits remain 1legs remain labeled on theon theas 2 ground. and makes At stage a swing 3, the counterclockwise bottom deck takes while off itsthe legs legs and of the makes bottom a swing deck counterclockwise labeled as 1 remain while on thethe legsground. of the At upper stage 3,deck the stepbottom on thedeck ground. takes off By its repeating legs and thesemakes motions, a swing thecounterclockwise robot can manage while a turnthe legs around of the its uppercenter deckwith stepany arbitraryon the ground. degree. By repeating these motions, the robot can manage a turn around its center with any arbitrary degree.
Appl. Syst. Innov. 2018, 1, 20 6 of 15 ground. At stage 3, the bottom deck takes off its legs and makes a swing counterclockwise while the legs of the upper deck step on the ground. By repeating these motions, the robot can manage a turn Appl.around Syst. itsInnov. center 2018,with 2, x FOR any PEER arbitrary REVIEW degree. 6 of 15
FigureFigure 10. 10. SequenceSequence of of motions motions to to change change course. course.
Note that the swing is a result of changing the cross-angle between two decks driven by the Note that the swing is a result of changing the cross-angle between two decks driven by the swivel motor. The swivel motor is installed at the bottom deck, and its output shaft is connected to swivel motor. The swivel motor is installed at the bottom deck, and its output shaft is connected to the the upper deck. During the procedure of changing orientation, both decks turn counterclockwise upper deck. During the procedure of changing orientation, both decks turn counterclockwise but the but the swivel motor does not. If the bottom deck keeps still, the output shaft of the swivel motor swivel motor does not. If the bottom deck keeps still, the output shaft of the swivel motor turns in turns in the same direction as the upper deck, since the upper deck is driven by the shaft. the same direction as the upper deck, since the upper deck is driven by the shaft. Nevertheless, if the Nevertheless, if the upper deck keeps still, the output shaft of the swivel motor must turn in the upper deck keeps still, the output shaft of the swivel motor must turn in the opposite direction to the opposite direction to the bottom deck, because the bottom deck is driven by the body of the motor bottom deck, because the bottom deck is driven by the body of the motor instead of its shaft. Hence, instead of its shaft. Hence, the swivel motor must alternate its direction according to which deck the swivel motor must alternate its direction according to which deck keeps still. Taking a close look keeps still. Taking a close look at Figure 10, the robot turns 30° in total, where stages 3 and 5 at Figure 10, the robot turns 30◦ in total, where stages 3 and 5 contribute 20◦ and 10◦, respectively. contribute 20° and 10°, respectively. 5. Modeling and Analysis 5. Modeling and Analysis A simplified model is proposed here to analyze the motion of this hexapod. As a result of A simplified model is proposed here to analyze the motion of this hexapod. As a result of tripod gaits, each set of tripod legs can be grouped together and regarded as a single leg, and hence tripod gaits, each set of tripod legs can be grouped together and regarded as a single leg, and hence the hexapod can be reduced to a biped model with absolute stability whose initial posture is shown the hexapod can be reduced to a biped model with absolute stability whose initial posture is shown in Figure 11, where G represents the center of mass of the robot; O0,{i0, j0, k0} stand for the origin and in Figure 11, where G represents the center of mass of the robot; O , {i ,j ,k } stand for the origin base vectors of the inertial frame; L, H, D are length, height, and distance; P1, P2 denote the points at and base vectors of the inertial frame; L, H, D are length, height, and distance; P ,P denote the the feet corresponding to the bottom deck and upper deck, respectively. points at the feet corresponding to the bottom deck and upper deck, respectively.
Appl. Syst. Innov. 2018, 2, x FOR PEER REVIEW 6 of 15
Figure 10. Sequence of motions to change course.
Note that the swing is a result of changing the cross-angle between two decks driven by the swivel motor. The swivel motor is installed at the bottom deck, and its output shaft is connected to the upper deck. During the procedure of changing orientation, both decks turn counterclockwise but the swivel motor does not. If the bottom deck keeps still, the output shaft of the swivel motor turns in the same direction as the upper deck, since the upper deck is driven by the shaft. Nevertheless, if the upper deck keeps still, the output shaft of the swivel motor must turn in the opposite direction to the bottom deck, because the bottom deck is driven by the body of the motor instead of its shaft. Hence, the swivel motor must alternate its direction according to which deck keeps still. Taking a close look at Figure 10, the robot turns 30° in total, where stages 3 and 5 contribute 20° and 10°, respectively.
5. Modeling and Analysis A simplified model is proposed here to analyze the motion of this hexapod. As a result of tripod gaits, each set of tripod legs can be grouped together and regarded as a single leg, and hence the hexapod can be reduced to a biped model with absolute stability whose initial posture is shown in Figure 11, where G represents the center of mass of the robot; O , {i ,j ,k } stand for the origin and base vectors of the inertial frame; L, H, D are length, height, and distance; P ,P denote the Appl.points Syst. at Innov.the feet2018 corresponding, 1, 20 to the bottom deck and upper deck, respectively. 7 of 15
Figure 11. Biped model.
Except for the indicial convention adapted to this particular configuration, a series of reference frames is launched according to the Denavit–Hartenberg convention as shown in Figure 12. The center of mass G is initially aligned with the origin O0 of inertial frame-0, and there is a bifurcation after frame-3 so that indexes 4b and 5b stand for the frames attached to G and P2. θ1 and θ2 stand for the outputs of the bottom deck and upper deck motors, respectively. ∅1, ∅2, and ∅3 are cross-angles between adjacent frames according to their geometrical configuration. Hence, the homogeneous transformation from frame-0 to frame-3 is defined in Equation (1):
0 ◦ ◦ T3 = Rot(z, ∅3)Trans(L, 0, 0)Rot x, 90 Rot z, 90 Trans(H, 0, 0)Rot(z, ∅1)Trans(L, 0, 0). (1)
3 3 Likewise, the transformations T4a and T5b are defined in Equations (2) and (3), respectively:
3 ◦ T4a = Rot z, θ1 + 90 Trans(D, 0, 0), (2)
3 o T5b = Rot(z, ∅2)Trans(L, 0, 0)Rot(z, θ2 + 90 )Trans(H, 0, 0). (3) 4a 5b The compound transformations of T0 and T0 can be obtained as follows: 0 cos∅3 sin∅3 Lcos∅3(1 − cos θ1) − − 0 0 3 0 sin∅3 cos∅3 Lsin∅3(1 cos θ1) T4a = T3 T4a = , (4) −1 0 0 H − D + Lsinθ1 0 0 0 1
0 cos∅3 sin∅3 Lcos∅3(1 − cos θ1 − cos θ2) 0 sin −cos Lsin (1 − cos θ − cos θ ) 0 = 0 3 = ∅3 ∅3 ∅3 1 2 T5b T3 T5b , (5) −1 0 0 L(sinθ1 + sinθ2) 0 0 0 1
Hence, the coordinates of G and P2 can be defined in Equations (6) and (7), respectively: xG Lcos∅3(1 − cos θ1) G = yG = Lsin∅3(1 − cos θ1) , (6) zG H − D + Lsinθ1 xP2 Lcos∅3(1 − cos θ1 − cos θ2) P2 = yP2 = Lsin∅3(1 − cos θ1 − cos θ2) . (7) zP2 L(sinθ1 + sinθ2) Appl. Syst. Innov. 2018, 1, 20 8 of 15 Appl. Syst. Innov. 2018, 2, x FOR PEER REVIEW 8 of 15
(a) (b)
Figure 12. D-HD-H configuration: configuration: ( (aa)) Frames Frames in in isometric isometric view; view; ( (b)) Frames Frames in lateral view.
Observing the whole periodic motions (i.e., forward and backward as shown in Figures 13 and Observing the whole periodic motions (i.e., forward and backward as shown in Figures 13 and 14), 14), the robot performs linear motion at the time events , , , , while it is either resting or the robot performs linear motion at the time events t−3, t−1, t1, t3, while it is either resting or managing managing a turn at the time events , , , , . The central pattern G described in Equation (6) a turn at the time events t−4, t−2, t0, t2, t4. The central pattern G described in Equation (6) in fact in fact belongs to the time event . According to Figures 13 and 14, the complete description of the belongs to the time event t . According to Figures 13 and 14, the complete description of the central central pattern must be defined1 piecewise as follows: pattern must be defined piecewise as follows: G = xG G = yG −2 ∅ ( ) − ∅ ( )(1 + cos ) z o o G−2 ∅ ( ) − ∅ ( )(1 + cos ) , ∈ [−360 , −180 ), − Lcos (t − + ) − Lcos (t )( + θ ) 2 ∅3 0 ∅3 −2 1 cos 1 − ∅ ( )(1 − cos ) ◦ ◦ −2Lsin∅3(t0) − Lsin ∅3(t−2)(1 + cos θ1) f or θ1, θ2 ∈ −360 , −180 , o − ∅H − D ( + )(1Lsin − cos ) , ∈ [−180 ,0 ), θ1 (8) − − = −Lcos∅3(t0)(1 − cos θ2) ◦ ◦ − ∅Lsin (( t ))((11 − coscos θ ) f or θ , θ ∈ −180 , 0 , (8) ∅3 0 2 1 2 o o ∅ ( )(1 − cos ) , ∈ [0 , 180 ], H − D − Lsinθ2 = − + Lcos∅3(t0)(1 − cos θ1) 2 ∅ ( ) + ∅ ( )(1 + cos ) ◦ ◦ ( )( − ) ∈ Lsin∅3 t0 1 cos θ1 f or θ1, θ2 0 , 180 o o 2 ∅ ( ) + ∅ ( )(1 + cos ) , ∈ (180 , 360 ], H − D + Lsinθ1 − − 2Lcos (t ) + Lcos (t )(1 + cos θ ) ∅3 0 ∅3 2 2 ◦ ◦ 2Lsin∅3(t0) + Lsin∅3(t2)(1 + cos θ2) f or θ1, θ2 ∈ 180 , 360 , where parameters H, D, and L are dimensions as shown in Figure 11; θ , θ stand for outputs of H − D − Lsinθ bottom and upper motors; ∅ (t ), ∅ (t ) are2 the cross-angles between frame-0 and frame-1 as shown in Figure 12(a) at time events t ,t . Note that ∅ is related to θ as described by Section 4 where parameters H, D, and L are dimensions as shown in Figure 11; θ1, θ2 stand for outputs of bottom (i.e., alternating the swivel motor so that ∅ = θ when is pivoted and ∅ = −θ when is and upper motors; (t ), (t ) are the cross-angles between frame-0 and frame-1 as shown in pivoted). ∅3 0 ∅3 2 Figure 12a at time events t0, t1 . Note that ∅3 is related to θ3 as described by Section4 (i.e., alternating the swivel motor so that ∅3 = θ3 when P1 is pivoted and ∅3 = −θ3 when P2 is pivoted).
Figure 13. Events when moving forward.
Appl. Syst. Innov. 2018, 2, x FOR PEER REVIEW 8 of 15
(a) (b)
Figure 12. D-H configuration: (a) Frames in isometric view; (b) Frames in lateral view.
Observing the whole periodic motions (i.e., forward and backward as shown in Figures 13 and
14), the robot performs linear motion at the time events , , , , while it is either resting or managing a turn at the time events , , , , . The central pattern G described in Equation (6) in fact belongs to the time event . According to Figures 13 and 14, the complete description of the central pattern must be defined piecewise as follows: