CN112936284A - Method for finding back zero position of quadruped robot after starting up - Google Patents

Method for finding back zero position of quadruped robot after starting up Download PDF

Info

Publication number
CN112936284A
CN112936284A CN202110259665.4A CN202110259665A CN112936284A CN 112936284 A CN112936284 A CN 112936284A CN 202110259665 A CN202110259665 A CN 202110259665A CN 112936284 A CN112936284 A CN 112936284A
Authority
CN
China
Prior art keywords
quadruped robot
joint
driver
joints
robot
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.)
Granted
Application number
CN202110259665.4A
Other languages
Chinese (zh)
Other versions
CN112936284B (en
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.)
Hangzhou Deeprobotics Co ltd
Original Assignee
Hangzhou Deeprobotics Co ltd
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 Hangzhou Deeprobotics Co ltd filed Critical Hangzhou Deeprobotics Co ltd
Priority to CN202110259665.4A priority Critical patent/CN112936284B/en
Publication of CN112936284A publication Critical patent/CN112936284A/en
Application granted granted Critical
Publication of CN112936284B publication Critical patent/CN112936284B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1602Programme controls characterised by the control system, structure, architecture

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Manipulator (AREA)

Abstract

The application discloses a method for retrieving a zero position of a quadruped robot after starting, which comprises the following steps: performing zero marking operation on the joints of the quadruped robot; after zero marking, moving the joint of the quadruped robot to the limit position, acquiring the actual number of turns N0 at the moment through a driver, and storing the number of turns into an EEPROM memory; after the quadruped robot is started, a force control command is sent to the joint through the motion control host machine, so that the joint moves to the limit position; and when the driver acquires that the joint rotating speed is smaller than the preset range and the received torque command and the torque command actually executed by the driver are always larger than the set threshold value, acquiring the number of turns N0 from the EEPROM, and updating the current position information to be N0 (the maximum value of the single-turn encoder) + the feedback value of the current single-turn encoder. The problem that the service life of the EEPROM is influenced by repeatedly updating the stored value of the EEPROM when a single-turn encoder records multi-turn information in the related technology is solved.

Description

Method for finding back zero position of quadruped robot after starting up
Technical Field
The application relates to the field of control of quadruped robots, in particular to a method for finding back a zero position of a quadruped robot after starting.
Background
In the existing four-foot robot control, a single-loop encoder which has the same high precision but low cost is adopted for reducing the cost. Because the single-loop encoder cannot remember multi-loop information, the single-loop encoder often adopts modes such as EEPROM (electrically erasable programmable read-Only memory) storage to be used as power-down memory, and in the moving process of the quadruped robot, the position can be repeatedly updated, the current loop number can also be repeatedly updated, and the value stored by the EEPROM can be repeatedly erased and written. The memory chip is long-lived, and the problem of failure is easy to occur after the memory chip reaches a certain number of upper limits. In addition, the initial positions of the four legs of the quadruped robot are manually placed when the quadruped robot needs to be started without recording multi-circle information, so that great inconvenience is caused in use.
Disclosure of Invention
The embodiment of the application aims to provide a method for retrieving a zero position of a quadruped robot after starting up, so as to solve the problem that the service life of the quadruped robot is influenced by repeatedly updating an EEPROM (electrically erasable programmable read-Only memory) storage value when a single-coil encoder records multi-coil information in the related technology.
According to the embodiment of the application, a method for finding back the zero position of a quadruped robot after starting up is provided, and is characterized by comprising the following steps:
performing zero marking operation on the joints of the quadruped robot;
after zero marking, moving the joint of the quadruped robot to the limit position, acquiring the actual number of turns N0 at the moment through a driver, and storing the number of turns into an EEPROM memory;
after the quadruped robot is started, a force control command is sent to the joint through the motion control host machine, so that the joint moves to the limit position;
and when the driver acquires that the joint rotating speed is smaller than the preset range and the received torque command and the torque command actually executed by the driver are always larger than the set threshold value, acquiring the number of turns N0 from the EEPROM, and updating the current position information to be N0 (the maximum value of the single-turn encoder) + the feedback value of the current single-turn encoder.
Further, the quadruped robot comprises four legs and a motion control host, each leg consists of three joints, each joint comprises a motor, a driver and a single-loop encoder, the driver drives the motor to enable the joint to exert force, the driver obtains position information of actual rotation of the motor through the single-loop encoder, and all the joints are controlled by the motion control host.
Further, performing a zero marking operation on the joints of the quadruped robot, comprising:
the joints of the quadruped robot are fixed to a preset position through a tool, the motion control host sends a command to inform a driver, the preset position is used as an initial zero position in motion control, position information of the single-turn encoder in the initial zero position is obtained and recorded as Q0 and stored in an EEPROM memory, and the current turn number value is set to be 0.
Further, the predetermined position is the current position of the tooling after the joints of the quadruped robot are fixed.
Further, moving the joints of the quadruped robot to the extreme positions, acquiring the number of turns N0 actually rotated at the moment through a driver and storing the number of turns into an EEPROM memory, and the method comprises the following steps:
the joint of the quadruped robot is hit to the limit position of the joint in one direction, in the rotation process of the joint, when the number of the joints exceeds one circle, the value obtained by the single-circle type encoder jumps back to 0 from the maximum value, so that the robot can be considered to pass through one circle only when the change value is judged to exceed one half of the maximum value, the current number of the circles N0 is obtained after the joint is hit to the limit, and the number of the circles is stored in an EEPROM memory.
Further, the predetermined range is less than 5 rpm.
Further, the set threshold is greater than 1.5A.
Further, the single-turn encoder has a maximum value of 16384.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
according to the embodiment, as the chip of the EEPROM has the upper limit of erasing times, the technical scheme provided by the embodiment of the application only needs to record information for a plurality of circles once in the zero marking stage of factory shipment and store the information in the EEPROM, so that the problem that the EEPROM needs to be erased and written repeatedly on the market is avoided, and the service life of the EEPROM is prolonged. Meanwhile, the zero returning action is controlled by sending a force control command through the motion control host, and compared with certain existing schemes needing to manually place four legs on the market, the zero returning action is more convenient.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a flowchart illustrating a method for retrieving a zero position of a quadruped robot after the quadruped robot is powered on according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating zero position calibration for the quadruped robotic joints according to one exemplary embodiment.
FIG. 3 is a flow chart illustrating the return of the null position of the quadruped robotic joint according to one exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
Fig. 1 is a flowchart illustrating a method for retrieving a zero position of a quadruped robot after the quadruped robot is powered on according to an exemplary embodiment. The embodiment of the invention provides a method for finding back a zero position of a quadruped robot after starting up, the quadruped robot comprises four legs and a motion control host, each leg consists of three joints, each joint comprises a motor, a driver and a single-loop encoder, the driver drives the motor to enable the joints to exert force, the driver obtains the position information of the actual rotation of the motor through the single-loop encoder, and all the joints are controlled by the motion control host. The quadruped robot according to the present embodiment may refer to the technical solution disclosed in the patent document with the application number CN202010187631.4, or other existing technical solutions. The method can comprise the following steps:
step S101, performing zero marking operation on joints of the quadruped robot;
step S102, after zero marking, moving the joints of the quadruped robot to the extreme position, acquiring the actual rotation number of turns N0 at the moment through a driver and storing the number of turns into an EEPROM memory;
step S103, after the quadruped robot is started, a force control command is sent to the joint through the motion control host machine, so that the joint moves to the limit position;
and step S104, when the driver acquires that the joint rotating speed is smaller than the preset range and the received torque command and the torque command actually executed by the driver are always larger than the set threshold, acquiring the number of turns N0 from the EEPROM, and updating the current position information to be N0 (the maximum value of the single-turn encoder) + the feedback value of the current single-turn encoder.
Through the technical scheme, each quadruped robot only needs to write the information of multiple circles of all joints into the EEPROM memory once when the assembly is completed for the first time, and then reads the information of multiple circles after the quadruped robot moves to the limit position through the joints when the quadruped robot is started up each time. Therefore, the situation that the EEPROM is repeatedly erased and finally cannot be erased and written can be avoided. Meanwhile, the motion control host sends a force control command to the joint, so that the process is simpler and more convenient. Compared with the multi-ring encoder on the market, the single-ring encoder has much cheaper price, so that the cost is effectively reduced.
According to the step S101, the zero marking operation for the joints of the quadruped robot may include the following steps:
FIG. 2 is a flow chart illustrating zero position calibration for the quadruped robotic joints according to one exemplary embodiment. The four-footed robot is marked with zero positions through the tooling, namely, joints of the four-footed robot are fixed to a preset position through the attached tooling, a driver is informed through an upper computer software tool (any other mode capable of being informed to the driver can be used), the specified position is specified to be an initial zero position in motion control, then currently acquired encoder position information Qt is used as an offset on software, the offset is recorded as Q0 and stored into an EEPROM, the value of the current turn number N is set to be 0, and then the current position information P is (Qt-Q0) ((2 pi) ((Q-Q) 84+ N) (2 pi) (because the current Qt is equal to Q0 and N is 0)). Because the zero position can be automatically found back by sending a command on software and one key, compared with some manual placing modes on the market at present, the method is simpler and more reliable.
Further, the predetermined position is the current position of the tooling after the joints of the quadruped robot are fixed. The zero marking precision of the tooling is high, so that the initial zero positions of all joints of the quadruped robot with the same model can be the same as much as possible.
According to the step S102, moving the joints of the quadruped robot to the extreme positions, acquiring the number of turns N0 actually rotated at the moment through the driver and storing the number of turns in the EEPROM memory, may include the following steps:
the joint of four-legged robot is beaten the spacing position of joint (fixed one direction) manually or through motion control, the joint is at the rotation in-process, can pass through many rings of change, when exceeding the round, the value that the encoder acquireed can jump back 0 from 16384, only need so judge when the change value exceeds 16384/2, can regard as through the round, N is N +1, beat spacing back at the joint, acquire current number of turns N through software, strike the order through software, with this number of turns N, deposit EEPROM, record as N0.
After zero marking, the number of turns N0 is the information of the turns to be memorized, and in doing so, the EEPROM memory can be written only once.
In step S103, after the four-legged robot is started, the motion control host sends a force control command to the joint, so that the joint moves to an extreme position;
in the step, the motion control host sends a force control instruction to each joint to slowly move to a limiting position, and then sends a 2A constant force control instruction, so that each joint can autonomously make a zero returning action without manual placement.
In step S104, when the driver obtains that the joint rotation speed is smaller than the predetermined range, and the received torque command and the torque command actually executed by the driver are always greater than the set threshold, the number of turns N0 is obtained from the EEPROM, and the current position information is updated to N0 × (maximum value of single-turn encoder) + feedback value of current single-turn encoder, which is specifically as follows:
FIG. 3 is a flow chart illustrating the return of the null position of the quadruped robotic joint according to one exemplary embodiment. When the driver judges that the current joint rotating speed is smaller than the preset range, and the received torque command and the torque command actually executed by the driver are larger than the set threshold value, the number of turns N0 originally stored in the EEPROM is assigned to the current number of turns N, namely N is N0, then the position information of the current limit is updated to P is (Qt-Q0) 2 pi/16384 + N (2 pi), and the lost zero position information is retrieved.
In the step S104, the predetermined range may be less than 5 rpm. The set threshold may be greater than 1.5A. The single-turn encoder may have a maximum value of 16384.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (8)

1. A method for finding back a zero position of a quadruped robot after starting up is characterized by comprising the following steps:
performing zero marking operation on the joints of the quadruped robot;
after zero marking, moving the joint of the quadruped robot to the limit position, acquiring the actual number of turns N0 at the moment through a driver, and storing the number of turns into an EEPROM memory;
after the quadruped robot is started, a force control command is sent to the joint through the motion control host machine, so that the joint moves to the limit position;
and when the driver acquires that the joint rotating speed is smaller than the preset range and the received torque command and the torque command actually executed by the driver are always larger than the set threshold value, acquiring the number of turns N0 from the EEPROM, and updating the current position information to be N0 (the maximum value of the single-turn encoder) + the feedback value of the current single-turn encoder.
2. The method of claim 1, wherein the quadruped robot comprises four legs and a motion control host, each leg comprises three joints, each joint comprises a motor, a driver and a single-turn encoder, the driver drives the motor to apply force to the joint, the driver obtains the position information of the actual rotation of the motor through the single-turn encoder, and all the joints are controlled by the motion control host.
3. The method for retrieving the zero position of the quadruped robot after the startup of the robot as claimed in claim 1, wherein the zero marking operation is performed on the joints of the quadruped robot, and comprises:
the joints of the quadruped robot are fixed to a preset position through a tool, the motion control host sends a command to inform a driver, the preset position is used as an initial zero position in motion control, position information of the single-turn encoder in the initial zero position is obtained and recorded as Q0 and stored in an EEPROM memory, and the current turn number value is set to be 0.
4. The method for retrieving the zero position of the quadruped robot after being started up according to claim 1, wherein the predetermined position is a current position of the tooling after the tooling fixes the joints of the quadruped robot.
5. The method for retrieving the zero position of the quadruped robot after the startup of the robot as claimed in claim 1, wherein the joints of the quadruped robot are moved to the extreme positions, the number of actual turns at this time, N0, is obtained by the driver and is stored in the EEPROM memory, and the method comprises the following steps:
the joint of the quadruped robot is hit to the limit position of the joint in one direction, in the rotation process of the joint, when the number of the joints exceeds one circle, the value obtained by the single-circle type encoder jumps back to 0 from the maximum value, so that the robot can be considered to pass through one circle only when the change value is judged to exceed one half of the maximum value, the current number of the circles N0 is obtained after the joint is hit to the limit, and the number of the circles is stored in an EEPROM memory.
6. The method of claim 1, wherein the predetermined range is less than 5 rpm.
7. The method for retrieving the zero position of the quadruped robot after starting up according to claim 1, wherein the set threshold is greater than 1.5A.
8. The method of claim 1, wherein the maximum value of the single-turn encoder is 16384.
CN202110259665.4A 2021-03-10 2021-03-10 Method for finding back zero position of quadruped robot after starting up Active CN112936284B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110259665.4A CN112936284B (en) 2021-03-10 2021-03-10 Method for finding back zero position of quadruped robot after starting up

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110259665.4A CN112936284B (en) 2021-03-10 2021-03-10 Method for finding back zero position of quadruped robot after starting up

Publications (2)

Publication Number Publication Date
CN112936284A true CN112936284A (en) 2021-06-11
CN112936284B CN112936284B (en) 2022-06-21

Family

ID=76229047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110259665.4A Active CN112936284B (en) 2021-03-10 2021-03-10 Method for finding back zero position of quadruped robot after starting up

Country Status (1)

Country Link
CN (1) CN112936284B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113676387A (en) * 2021-08-11 2021-11-19 追觅创新科技(苏州)有限公司 Zero calibration method and device for multi-legged robot, storage medium and electronic device
CN114018296A (en) * 2021-10-11 2022-02-08 珠海市大然机器人科技有限公司 Servo motor control method
CN116619347A (en) * 2023-07-06 2023-08-22 深圳逐际动力科技有限公司 Actuator, biped, quadruped and quadruped robot, mechanical arm and control method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4757458A (en) * 1985-08-07 1988-07-12 Hitachi, Ltd. Zero point adjusting robot control method
CN1135954A (en) * 1995-04-24 1996-11-20 三星电子株式会社 Starting-point returning apparatus for robot
CN101694581A (en) * 2009-09-28 2010-04-14 昆山华恒工程技术中心有限公司 Self-zeroing method of robot
CN101973035A (en) * 2010-11-11 2011-02-16 北京理工大学 Method and device for precisely positioning initial position of joint of robot
CN106182002A (en) * 2016-07-29 2016-12-07 微创(上海)医疗机器人有限公司 The control system of joint of mechanical arm and control method
CN106363623A (en) * 2016-09-30 2017-02-01 深圳市同川科技有限公司 Robot position detecting device and method
CN107263543A (en) * 2017-06-27 2017-10-20 深圳诺欧博智能科技有限公司 The calibration method and computing device of a kind of joint of robot
CN109108969A (en) * 2018-08-21 2019-01-01 珠海格力智能装备有限公司 The processing method and processing device of robot zero point

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4757458A (en) * 1985-08-07 1988-07-12 Hitachi, Ltd. Zero point adjusting robot control method
CN1135954A (en) * 1995-04-24 1996-11-20 三星电子株式会社 Starting-point returning apparatus for robot
CN101694581A (en) * 2009-09-28 2010-04-14 昆山华恒工程技术中心有限公司 Self-zeroing method of robot
CN101973035A (en) * 2010-11-11 2011-02-16 北京理工大学 Method and device for precisely positioning initial position of joint of robot
CN106182002A (en) * 2016-07-29 2016-12-07 微创(上海)医疗机器人有限公司 The control system of joint of mechanical arm and control method
CN106363623A (en) * 2016-09-30 2017-02-01 深圳市同川科技有限公司 Robot position detecting device and method
CN107263543A (en) * 2017-06-27 2017-10-20 深圳诺欧博智能科技有限公司 The calibration method and computing device of a kind of joint of robot
CN109108969A (en) * 2018-08-21 2019-01-01 珠海格力智能装备有限公司 The processing method and processing device of robot zero point

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113676387A (en) * 2021-08-11 2021-11-19 追觅创新科技(苏州)有限公司 Zero calibration method and device for multi-legged robot, storage medium and electronic device
CN113676387B (en) * 2021-08-11 2023-02-24 北京小米移动软件有限公司 Zero calibration method and device for multi-legged robot, storage medium and electronic device
CN114018296A (en) * 2021-10-11 2022-02-08 珠海市大然机器人科技有限公司 Servo motor control method
CN116619347A (en) * 2023-07-06 2023-08-22 深圳逐际动力科技有限公司 Actuator, biped, quadruped and quadruped robot, mechanical arm and control method

Also Published As

Publication number Publication date
CN112936284B (en) 2022-06-21

Similar Documents

Publication Publication Date Title
CN112936284B (en) Method for finding back zero position of quadruped robot after starting up
CN102216860B (en) A method and an apparatus for calibration of an industrial robot system
US6906880B1 (en) Erasing disk surface by direct current applied on a helical trajectory to minimize erase time
CN104889986B (en) Robot controller
TW584838B (en) Method for writing servo patterns on a computer hard disk
JP2006110702A (en) Robot having learning control function, and method for controlling robot
EP1415771A2 (en) Robot comprising a changeable section with memory for stocking section inherent parameters
JPH0220371B2 (en)
CN1815395A (en) Numerical controller
CN110725359B (en) Trajectory control method and excavator
EP2908205A2 (en) Advanced logic for automated cleaning apparatus
EP0035282B1 (en) Apparatus for programmed control of a robot
JP2019018298A (en) Robot device, method for controlling robot device and assembly method using robot device
CN111687838A (en) Online compensation method and system for manipulator track following error and storage medium
US20020126412A1 (en) Apparatus and method for head positioning control in disk drive
JPWO2004074953A1 (en) Numerical controller
JP5459601B2 (en) Robot control system and robot control method
US9389803B2 (en) Method for controlling interface operation and interface device applying the same
US8429336B2 (en) Disk drive and method of changing a program therefor
CN112894808B (en) Robot screwing valve system and method based on deep reinforcement learning
JP4494303B2 (en) Numerical controller
CN109442694B (en) Air outlet adjusting method and device and air conditioner
JP2006068890A (en) Track determination system and track determination method
KR20080075412A (en) Encoding method for controlling robot, encoding system thereof, and robot system using encoding system
JP7453483B1 (en) Data supply device, robot system, data supply method, robot control method, data supply program and control program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant