WO2019120148A1 - Control system for modular robot, modular robot system, and control method for modular robot - Google Patents

Control system for modular robot, modular robot system, and control method for modular robot Download PDF

Info

Publication number
WO2019120148A1
WO2019120148A1 PCT/CN2018/121433 CN2018121433W WO2019120148A1 WO 2019120148 A1 WO2019120148 A1 WO 2019120148A1 CN 2018121433 W CN2018121433 W CN 2018121433W WO 2019120148 A1 WO2019120148 A1 WO 2019120148A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
modular robot
unit
sub
information
Prior art date
Application number
PCT/CN2018/121433
Other languages
French (fr)
Chinese (zh)
Inventor
杨健勃
Original Assignee
北京可以科技有限公司
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 北京可以科技有限公司 filed Critical 北京可以科技有限公司
Publication of WO2019120148A1 publication Critical patent/WO2019120148A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/08Programme-controlled manipulators characterised by modular constructions
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1615Programme controls characterised by special kind of manipulator, e.g. planar, scara, gantry, cantilever, space, closed chain, passive/active joints and tendon driven manipulators

Definitions

  • the invention relates to the field of robots, in particular to a control system of a modular robot, a modular robot system and a method of controlling the modular robot.
  • Robots have been widely used in life and industry, such as teaching to develop students' thinking skills, such as welding, painting, assembly, and handling in automated production. Although robots have great flexibility and flexibility as an execution system, they can perform different tasks. However, existing robots are often targeted at specific purposes and occasions. There is only one main function and lack of functional scalability. Robots for each function require developers to set different programs, which seriously restricts the promotion and application of robots. Especially for reconfigurable robots, the configuration changes usually require different control programs, and this lack of functional scalability becomes more prominent. There is an urgent need to propose a corresponding solution.
  • the present invention provides a control system for a modular robot, a modular robot system, and a method for controlling the modular robot.
  • the solution to solve the technical problem of the present invention is to provide a control system of a modular robot for controlling a modular robot.
  • the modular robot is externally connected with at least one external unit, and the control system of the modular robot and the modular robot can be
  • the communication system of the modular robot includes: a configuration information database; configuration information for storing at least one modular robot; an action information database; and at least one action information for controlling movement of the modular robot; and an external unit a setting module; configured to set an execution action of the external unit and/or set a control condition corresponding to the external unit; and control the modular robot motion and/or the external unit to perform the action according to the action information and the setting of the external unit setting module .
  • control system of the modular robot further comprises: a logic setting module; configured to set a logical relationship between the action information and the execution action and/or the control condition; and an operation module;
  • the contents of the logic setting module are compiled to generate an executable program for controlling the operation of the modular robot.
  • the modular robot comprises at least one sub-unit module
  • the sub-unit module comprises a relatively rotatable sub-module
  • the two sub-modules rotate to drive the movement of the modular robot
  • the control system of the modular robot further comprises: a sub-unit a module setting module; configured to set rotation information corresponding to the rotation of the subunit module, wherein the rotation information comprises one or more of a rotation angle, a rotation direction, a rotation speed, and a rotation time; in the logic setting module, the setting A logical relationship between the rotation information and the execution action and/or the control condition is determined.
  • control system of the modular robot comprises: a display module, at least for displaying a three-dimensional simulation model corresponding to the sub-unit module of the modular robot and a number of the sub-unit module in the three-dimensional simulation model;
  • the sub-unit module setting module comprises: The subunit module number setting module of the subunit module number is set, and the subunit module number is in one-to-one correspondence with the rotation information.
  • the present invention also provides a modular robot system including a modular robot, and an external unit connected to the modular robot, and a control system of the modular robot as described above, and an executable program compiled by the running module It is eraseably written into the modular robot.
  • the external unit is a sensor and/or an actuator.
  • the modular robot includes a main control module for erasably writing the executable program and controlling the operation of the modular robot according to the program, and the external unit is connected to the main control module.
  • the invention also provides a method for controlling a modular robot, the modular robot is externally connected with at least one external unit, and the method for controlling the modular robot comprises the steps of: step T1: acquiring configuration information of the modular robot; step T2: acquiring at least An action information for controlling the modular robot motion; step T3: setting an execution action of the external unit and/or setting a control condition corresponding to the external unit; and step T4: invoking the action information, And an execution action of the external unit and/or setting a control condition corresponding to the external unit to graphically generate an executable program that controls the operation of the modular robot.
  • the modular robot comprises at least one sub-unit module comprising a relatively rotatable sub-module, wherein the rotation between the two sub-modules drives the movement of the modular robot
  • the method of controlling the modular robot comprises an execution step Step before T4: Ta: setting rotation information executed by the subunit module; the rotation information includes one or more of a rotation angle, a rotation direction, a rotation speed, and a rotation time; and calling the action information in step S4
  • the rotation information, and the execution action of the external unit and/or the control condition corresponding to the external unit are graphically programmed to generate an executable program that controls the operation of the modular robot.
  • step Ta a step is included: Tx: generating a three-dimensional simulation model of the modular robot, the three-dimensional simulation model being the same as the modular robot corresponding to the configuration information acquired in step T1; Ty: three-dimensional simulation model
  • the subunit modules are numbered; in step Ta, different subunit modules are distinguished according to the number of the subunit modules to input the rotation information.
  • the configuration information of the modular robot is derived from a configuration information database, and the method for obtaining the configuration information includes the following steps: Step S1: constructing a modular robot; the modular robot includes a main unit module and at least a sub-unit module, the main control module and the sub-unit module are connected by a docking part, or both the wireless connection and the docking part are wired, and the different interface parts of the main unit module and the sub-unit module are provided with different interface identification information.
  • the sub-unit module directly connected to the main control module is a first-level sub-unit module
  • the sub-unit module connected to the first-level sub-unit module is a second-level sub-unit module
  • the sub-unit module connected with the M-level sub-unit module is (M +1) level subunit module, M is an integer greater than or equal to 1
  • step S2 the modular robot performs surface recognition to obtain configuration information
  • the specific surface identification includes: step S21: transmitting the first electrical signal to notify the subunit module to perform surface recognition
  • the second electrical signal is output; step S23: the first-level sub-unit module determines the interface identification information of the connected main control module according to the second electrical signal received by the first-level sub-unit module; the first-level sub-unit module obtains the interface according to the interface that receives the second electrical signal.
  • the interface identifier information of the docking part of the master module connected to the main control module; and the interface identifier information of the interface of the master module connected to the master module The information is sent to the main control module or sent to the program generation end.
  • the surface recognition process further comprises: S25: different docking parts of each M-level sub-unit module issue different second electrical signals to the (M+1)-level sub-unit module or each M-level sub-unit module connected thereto Or a different docking portion timing sends a second electrical signal to the (M+1)-level sub-unit module connected thereto; S26: (M+1)-level sub-unit module determines the connected M according to the second electrical signal it receives The interface identification information of the level master module; the (M+1) level subunit module obtains the interface identifier information of the docking part of the interface of the M-level master control module according to the interface that receives the second electrical signal; and step S27: The (M+1)-level sub-unit module sends the interface identification information of the M-level sub-unit module to which it is connected and the interface identification information of the interface of the M-level sub-unit module that is connected to the M-level sub-unit module to the main control module or to the Program generation side.
  • the timings of sending different interface sub-unit modules to the main control module are different, and different M-level sub-unit modules send different timings of electrical signals sent to the (M+1)-level sub-unit modules connected thereto,
  • the sub-unit module surface recognition is performed step by step, and the surface recognition of the (M+1)-th sub-unit module is performed after the surface recognition of the M-th sub-unit module is completed.
  • the configuration information of the modular robot is derived from a configuration information database
  • the method for obtaining the motion information includes the steps of: Q1: the modular robot is single-step operated to generate a new configuration; Q2: obtained by surface recognition Configuration information corresponding to the new configuration; Q3: the configuration information of the modular robot before being adjusted is calculated by the configuration information corresponding to the new configuration to obtain a motion frame; the motion frame is saved in the configuration information database to become The action information corresponding to the cell configuration, or repeating steps Q1-Q3 to obtain a plurality of motion frames, the plurality of motion frames being combined to form an action information is stored in the configuration information database.
  • the control system of the modular robot provides a database of action information, which is convenient for the user to perform functional modification or expansion.
  • the user can also compile and generate a program for controlling the rotation of the control subunit module in the control system, in particular, the programming uses a graphical programming interface, which is convenient for the user to operate, and avoids the trouble that the developer needs to participate in the modification of the program.
  • the opening of the compile rights will greatly improve the applicability of a single modular robot, bringing an updated user experience.
  • the action information database can store officially defined or user-defined action information, which can facilitate information multiplexing or information sharing conveniently and quickly, greatly reducing the complexity and repeatability of program development.
  • a sub-unit module of a specific structure is adopted as a basic module of the modular robot, and the sub-unit module can realize a change of the configuration of the modular robot by rotational control. Breaking the shortcomings of traditional basic modules with single degree of freedom and inflexible control.
  • the subunit module can be controlled to rotate by an electric signal, or can be manually rotated by the user, so that the user can customize the motion information.
  • FIG. 1 is a perspective view showing the structure of a modular robot according to a first embodiment of the present invention.
  • FIG. 2 is a perspective view showing the structure of a subunit module of a modular robot according to a first embodiment of the present invention.
  • 3A and 3B are schematic views showing the three-dimensional structure of the control body at different angles in the first embodiment of the present invention.
  • Figure 4 is a flow chart showing the detailed steps of face recognition.
  • Fig. 5 is a block diagram showing the structure of a modular robot system according to a second embodiment of the present invention.
  • FIG. 6 is a detailed block diagram of a control system of a modular robot according to a second embodiment of the present invention.
  • Fig. 7 is a flow chart showing a control method of the modular robot of the third embodiment of the present invention.
  • a first embodiment of the present invention provides a programmable modular robot 1a including a main control module 50 and a cell configuration (not labeled) connected thereto, and the cell configuration includes a plurality of subunit modules 10,
  • the cell configuration of the two subunit modules 10 is taken as an example for description.
  • the number of subunit modules 10 is not limited.
  • the main control module 50 is provided with at least a pair of connecting portions 14, each of the sub-unit modules 10 is provided with at least two docking portions 14, and the main control module 50 and the sub-unit module 10 are connected by the docking portion 14.
  • the different connection between the main control module 50 and the subunit module 10, the subunit module 10 and the subunit module 10 can reconstruct the modular robot 1a of different configurations.
  • the subunit module 10 includes two relatively rotatable submodules 101 that are controlled by electrical signals, which are preferably also manually controllable.
  • the sub-modules 101 are hemispherical, and each of the sub-modules 101 is provided with at least a pair of connecting portions 14 , and the plurality of sub-unit modules 10 are connected by the butting portion 14 .
  • the number of docking portions 14 on each subunit module 10 is 2 or 3 or 4 or 5 or 6 or 7 or 8.
  • the different docking portions 14 of each subunit module 10 are provided with interface identification information so that The relative connection positions between the subunit modules 10 are determined. As shown in FIG.
  • the interface identification information of the eight docking portions 14 is 001, 002 together 008.
  • Different sub-unit modules 10 can be mechanically connected through the docking portion 14, and a wired electrical connection can also be realized.
  • the docking portion 14 mentioned in the present invention can realize the mechanical connection between the two modules, and can also realize the wired electrical connection between the two modules.
  • the face where the abutment 14 is located intersects the face of the rotation between the two sub-modules 101 to provide an effective variation dimension for the reconfigurability of the modular robot 1a.
  • the docking portions 14 located on different modules in the present invention are all the same.
  • the main control module 50 erases the program to control the operation of the modular robot 1a.
  • the relative rotation between the two sub-modules 101 of the plurality of sub-unit modules 10 is controlled according to a program to implement the preset movement of the modular robot 1a.
  • the program is from an electronic device end, and the electronic device end performs related setting for the modular robot 1a, compiles it, generates an executable program, and sends the executable program to the main control module 50.
  • the main control module 50 includes a main unit module 30 and a control main body 40.
  • the main unit module 30 is connected to the cell configuration, and the control main body 40 and the main unit module 30 are connected.
  • the main body 40 is controlled. It is sufficient to maintain a radio connection with the main unit module 30 without a mechanical connection.
  • the control body 40 writes the program erasibly, and the control body 40 controls the operation of the modular robot 1a through the main unit module 30 in accordance with the program.
  • the main unit module 30 is provided with at least two abutting portions 14, and the number of the abutting portions 14 on the main unit module 30 is 2 or 3 or 4 or 5 or 6 or 7 or 8, preferably, Different docking portions 14 of each subunit module 10 are provided with interface identification information. As shown in FIG. 1 , when the main unit module 30 is provided with eight docking portions 14 , the interface identification information of the eight docking portions 14 is 001, 002 ⁇ 008, respectively.
  • the main unit module 30 is connected to the sub unit module 10 through the docking portion 14.
  • the main unit module 30 has a power supply function that can supply power to the control body 40 and the sub unit module 10.
  • the main unit module 30 and the sub unit module 10 are wired and electrically connected through the docking portion 14, and are wirelessly connected through a wireless communication system, such as wireless communication using zigbee technology, Bluetooth, NFC, and the like. Wireless communication is preferably performed by the zigbee system.
  • the main unit module 30 is provided with a zigbee main module
  • the sub unit module 10 is provided with a zigbee submodule 101.
  • the subunit module 10 communicates with the electronic device terminal through the main unit module 30, which itself does not directly communicate with the electronic device end, thus reducing the hardware requirements of the cell configuration.
  • the control body 40 includes at least a pair of joints 14 that are coupled to the main unit module 30 by the docking portion 14.
  • At least one Bluetooth module (not shown) is disposed in the control body 40.
  • the first Bluetooth module can be configured.
  • the first Bluetooth module is configured to communicate with the electronic device, and receive the program from the electronic device.
  • the control body 40 is configured.
  • There is a second Bluetooth module and the control body 40 performs wireless communication with the main unit module 30 through the second Bluetooth module.
  • the second Bluetooth module can be omitted, and the control body 40 and the main unit module 30 are directly wired and electrically connected.
  • the control body 40 is provided with at least one plug-in interface 41, and an external unit (not shown) is plugged into the plug-in interface 41.
  • an external unit (not shown) is plugged into the plug-in interface 41.
  • the external unit When the external unit is in operation, its working information is returned to the control body 30, and the program is set to control the relative rotation between the two sub-modules 101 of the sub-unit module 10 according to the work information returned by the external unit.
  • the external unit returns the working information in real time, and the control body 40 controls the rotation of the sub unit module 10 according to the working information returned by the external unit in real time.
  • the external unit can be a sensor and/or an actuator.
  • the sensor can be an ultrasonic sensor, an infrared sensor, a temperature sensor, a brightness sensor, a color sensor, and the like.
  • the actuator can be a suction cup, an electromagnet, a mechanical claw or the like.
  • the program can be set to control the relative rotation between the two sub-modules 101 of the sub-unit module 10 based on the operational information returned by the sensor and/or the execution unit.
  • the ultrasonic sensor is connected to the plug-in interface 41 of the modular robot 1a. When the ultrasonic sensor senses an obstacle, the distance from the obstacle is detected and the working information (distance parameter) is returned. The program sets when the distance is less than a certain value.
  • the control body 40 controls the subunit module 10 to stop rotating by the main unit module 30, and the modular robot 1a stops moving to avoid contact with an obstacle.
  • the pneumatic suction cup when the pneumatic suction cup is connected to the modular robot 1a, the pneumatic suction cup is used to adsorb the articles, and the modular robot 1a moves to transport the articles at one place to another.
  • the pneumatic suction cup returns work information (execution state) to the control main body 40, and informs the control main body 40 whether the article is adsorbed.
  • the control main body 40 receives the work parameter representing that the article is adsorbed, the control main body 40 controls the subunit module through the main unit module 30.
  • the 10 motion causes the modular robot 1a to move along a preset path to deliver the item to the destination.
  • the main unit module 30 and the control body 40 are not designed separately, and the two are integrated on one module.
  • the main control module 50 is provided with both the docking portion 14 and the plug connector 41. In this way, the degree of integration of the modular robot 1a can be improved.
  • the subunit modules 10 each have a power storage function and a direct communication function with the electronic device end and/or the main control module 50. Therefore, the main control module 50 can be mechanically connected to the cell configuration or can be selected. No mechanical connection is set. At this time, the main control module 50 is the control main body 40.
  • the form of the modular robot 1a is not limited.
  • the unit module (including the main unit module 30 and the sub-unit module 10) may be of any configuration, and the docking portion 14 may only have a mechanical connection. Communication between the unit modules is also possible only by means of a wired electrical connection or a radio connection. All of the subunit modules 10 may be identical in configuration or at least partially different. The structural configurations of the main unit module 30 and the sub unit module 10 may be identical or at least partially different.
  • the modular robot 1a of different configurations has configuration parameters representing its configuration characteristics, and the configuration parameters include positional information between the subunit modules 10, and preferably, the positional information between the subunit modules 10 is composed of the subunit modules 10 Face recognition is obtained.
  • the sub-unit module 10 that is directly connected to the main unit module 30 is a first-level sub-unit module 10, and the sub-unit module 10 that is connected to the first-level sub-unit module 10 is a second-level sub-unit module 10, and is connected to the M-level sub-unit module 10.
  • the sub-unit module 10 is an (M+1)-level sub-unit module 10, and M is an integer greater than or equal to 1. Referring to FIG. 4, the process of specific surface recognition includes:
  • Step S11 The main unit module 30 sends a first electrical signal to notify the subunit module 10 to perform surface recognition.
  • Step S12 different docking portions of the main unit module 30 issue different second electrical signals or different docking portions of the main unit module 30 to issue a second electrical signal;
  • Step S13 The first-level sub-unit module 10 determines the interface identification information of the connected main body module according to the second electrical signal received by the first-level sub-unit module 10; the first-level sub-unit module 10 obtains its own and the main body module according to the docking part that receives the second electrical signal. Interface identification information of the docking interface; and
  • Step S14 The first-level sub-unit module 10 transmits the interface identification information of the main module to which it is connected and the interface identification information of its own docking part that is docked with the main module to the main unit module 30.
  • the surface recognition process further includes:
  • Step S15 Different docking parts of each M-level sub-unit module 10 issue different second electrical signals to different docking parts of the (M+1)-level sub-unit module 10 or each M-level sub-unit module 10 connected thereto. Sending a second electrical signal to the (M+1)-level sub-unit module 10 connected thereto;
  • Step S16 The (M+1)-level sub-unit module 10 determines the interface identification information of the M-level main module to which it is connected according to the second electrical signal it receives; the (M+1)-level sub-unit module 10 receives the second The interface of the electrical signal obtains the interface identification information of the docking part of the interface with the M-level main body; and
  • Step S17 The (M+1)-level sub-unit module 10 sends the interface identification information of the M-level sub-unit module 10 to which it is connected and the interface identification information of the interface of the M-stage sub-unit module 10 that is connected to the M-level sub-unit module 10 to the main unit. Module 30.
  • the timings of the different same-level sub-unit modules 10 transmitting the interface identification information to the main unit module 30 are different, and the different M-level sub-unit modules 10 are sent to the electrical signals of the (M+1)-level sub-unit module 10 connected thereto.
  • the timing of the subunit module 10 is changed step by step, and the surface recognition of the (M+1)th subunit module 10 is performed after the surface recognition of the Mth subunit module 10 is completed.
  • the main unit module 30 stops transmitting the second electrical signal, and the main unit module 30 wirelessly signals the first-level sub-unit module 10 to send the second electrical signal to the secondary sub-unit module 10.
  • the main unit module 30 receives the information returned by the (M+1)-level sub-unit module 10
  • the M-level sub-unit module 10 stops transmitting the second electrical signal
  • the main unit module 30 wirelessly signals the (M+1) level.
  • the unit module 10 transmits a second electrical signal to the (M+2) stage subunit module 10.
  • the main unit module 30 serves only as a starting point for face recognition as a reference point to define the relative position of the subunit module 10 with respect to the main unit module 30.
  • the main unit module 30 and the sub unit module 10 may be identical in mechanical structure and/or circuit configuration.
  • the first signal can also be transmitted in a wired manner.
  • the first signal can be sent through an electronic device.
  • the subunit module 10 obtains the relevant interface identification information and directly transmits it to the electronic device end. That is, each module has a communication function with the electronic device end.
  • the first signal is preferably transmitted by the main unit module 30, as a variant, or may be sent by the electronic device.
  • the subunit module 10 obtains the relevant interface identification information and directly transmits it to the electronic device end. That is, each module has a communication function with the electronic device end.
  • the sub-unit module 10 and the sub-unit module 10 are connected to the interface of the main unit module 30 with the interface identification information of 001 and 002, and the sub-unit module 10 is connected to the sub-unit module 10 through the docking unit. And the sub-unit module 10 and the sub-unit module 10 of the second sub-unit module 10 are connected to the sub-unit unit 10 and the sub-unit unit 10 of the sixth unit as an example.
  • the main unit module 30 broadcasts information by radio, that is, The subunit module 10 issues a first electrical signal to notify the subunit module 10 to perform face recognition.
  • the different docking portions of the main unit module 30 emit different second electrical signals, and the different second electrical signals may be voltage signals or current signals of different magnitudes or electrical signals of different frequency bands.
  • the sub-unit module 10 and the sub-unit module 10 of the second unit can know the interface identification information of the docking portion specifically connected to the main unit module 30 by identifying the different second electric signals.
  • the sub-unit modules 10 and 2 sub-units The module 10 can obtain interface identification information of its own docking portion that interfaces with the main unit module 30.
  • the No. 1 subunit module 10 first returns the interface identification information of the main unit module 30 to which the main unit module 30 is connected and the interface identification information of its own interface with the main unit module 30. After waiting for a period of time, the sub-unit module 10 returns to the main unit module 30.
  • the main unit module 30 stops transmitting the electrical signal and notifies the main unit.
  • the sub-unit module 10 and the sub-unit module 10 directly connected to the module 30 sequentially transmit the second electrical signal to the sub-unit module 10 of the 3, 4, 5, and 6 sub-units, and the sub-unit module 10 of the first unit 10 issues the second electric
  • the signal is sent to the sub-unit modules 10 and 4, and according to the foregoing principle, the sub-unit modules 10 and 4 return the relevant interface identification information to the main unit module 30.
  • the sub-unit module 10 first issues a second electrical signal to the sub-unit modules 10 and 5, and according to the foregoing principle, the sub-unit modules 5 and 6 return the relevant interface identification information to the main unit module 30. So far, the main unit module 30 obtains relative position information between the unit modules of the constructed model.
  • the configuration information further includes an initial relative angle between the two sub-modules 101.
  • the relative angle between the two sub-modules 101 is 0°
  • the electrical signal control sub-module 101 is In the relative rotation
  • the initial relative angles of the two are obtained first, so that the control signal corresponding to the rotation angle is controlled to control the rotation.
  • the main unit module 30 numbers the sub-unit modules 10 after receiving the relevant interface identification information transmitted by the sub-unit module 10 to generate an ID of each sub-unit module 10 to facilitate communication.
  • the ID is conveniently used to return to the initial relative angle between the two sub-modules of the sub-unit module 10, and the receive signal controls the sub-unit module 10 to perform a set angle of rotation.
  • the configuration information further includes quantity information representing the number of subunit modules 10 and/or type information representing the type of subunit modules 10.
  • each of the main unit module 30, the subunit module 10 and the main control module 50 carries type information, and the same type of module type information is the same, such as different main unit module 30 or sub unit module 10 or main control module 50 type.
  • the information is the same.
  • the main unit module 30, the sub unit module 10, and the main control module 50 can set their type information to be different or the same according to their functions or structures.
  • the signals fed back by the main unit module 30, the subunit module 10, and the main control module 50 when the power is turned on carry the type information.
  • a second embodiment of the present invention provides a modular robot system 60 including a modular robot 1a as described in the first embodiment (using the reference numerals in the first embodiment), and connected to the modular robot
  • the external unit 62 on 1a and the control system 61 of a modular robot for programming an executable program that can be erasably written into the modular robot 1a.
  • the modular robot 1a is wired or radio connected to the control system 61.
  • the control system 61 is disposed at the electronic device end as described in the first embodiment, such as a computer, a mobile phone, or the like.
  • the control system 61 is arranged on the main control module 50.
  • the control system 61 is a graphically programmable control system, and the open programming interface of the electronic device allows the user to easily modify the program for controlling the modular robot, thereby obtaining the modular robot 1a with better functional expansion.
  • Control system 61 includes:
  • configuration information database 610 configuration information for storing at least one modular robot 1a;
  • the action information database 611 is configured to store at least one action information for controlling the motion of the modular robot 1a; each action information may control the modular robot 1a to perform one or more frames of motion.
  • the action information in the action information database 611 is matched to the configuration information of the modular robot 1a in the configuration information database 610. That is, the motion information exists in correspondence with the configuration information of the modular robot 1a.
  • the external unit setting module 613 is configured to set the execution action of the external unit 62 and/or set the control condition corresponding to the external unit 62; if the suction cup is set to perform the suction action, such as setting the ultrasonic sensor to detect the obstacle When the distance is less than or equal to 10 cm, it becomes a condition for the modular robot to perform the stop motion.
  • the motion of the modular robot 1a and/or the external unit 62 are controlled in accordance with the action information and the setting of the external unit setting module 613.
  • control system 61 of the modular robot further includes:
  • the logic setting module 614 is configured to set a logical relationship between the action information and the execution action and/or the control condition; for example, the external unit 62 includes an ultrasonic sensor and an actuator suction cup, and the action information database 611 The action information of the walking movement of the modular robot 1a and the motion information of the stop movement are called, and the external unit setting module 613 sets a condition that the ultrasonic sensor detects that the obstacle distance is 10 cm or less, and the suction cup performs the suction operation.
  • the logic setting module 614 is configured to set the relationship between the movement information of the walking movement and the movement information of stopping the movement and the condition set by the ultrasonic sensor and the performing action of the suction cup, such as setting the ultrasonic sensor to sense that the distance obstacle is less than 10 cm.
  • the modular robot 1a executes the motion information for stopping the movement and the suction cup performs the suction operation, and vice versa, executes the movement information of the movement. It is also possible to control the modular robot 1a to perform an action corresponding to the motion information based on the execution result of the actuator.
  • the running module 615 is configured to compile the content set by the logic setting module 614 to generate an executable program for controlling the operation of the modular robot 1a.
  • the wireless communication module 616 is configured to send the executable program to the modular robot 1a.
  • configuration information database 610 and the action information database 611 can be databases that are integrated together.
  • control system 61 further includes: a display module 617 for displaying at least a three-dimensional simulation model corresponding to the sub-unit module 10 of the modular robot 1a and a number of the sub-unit module in the three-dimensional simulation model.
  • display module 611 displays the cellular configuration, preferably displaying modular robot 1a. Further, the display module 611 is further configured to display the number of the sub-unit module 10. When the cell configuration includes five sub-unit modules 10, the display module 611 displays at least five three-dimensional simulation models composed of the sub-unit modules 10, and each three-dimensional simulation The subunit module 10 displays the numbers 1, 2, 3, 4, 5 in numbers so that the user can distinguish the subunit modules 10.
  • the control system 61 further includes: a subunit module setting module 612; configured to set rotation information corresponding to the rotation of the subunit module, wherein the rotation information includes one of a rotation angle, a rotation direction, a rotation speed, and a rotation time or A variety.
  • the subunit module setting module 612 includes a subunit module number setting module 6121, a subunit module rotation angle setting module 6122, and a subunit module rotation direction setting module 6122, wherein the subunit module number setting module 6121 is used for Setting the number of the subunit module; the subunit module rotation angle setting module 6122 is used to set the rotation angle of the subunit module 10; the subunit module 10 rotation direction setting module 6122 is used to set the rotation of the subunit module 10. direction.
  • the specific sub-unit module 10 is selected by the input number, and the rotation of the sub-unit module 10 is set by inputting the rotation angle and the rotation direction. It can be understood that the subunit module 10 that has not been set by the subunit module setting module defaults to no rotation between the submodules 101.
  • the modular robot motion and/or the external unit performs the action according to the motion information, the rotation information, and the setting of the external unit setting module. That is, in the logic setting module, a logical relationship between the rotation information and the execution action and/or the control condition can be set.
  • the generated action information may be stored in the action information database by the subunit module setting module 612.
  • the subunit module number setting module 6121 can be omitted, and the subunit modules 10 are distinguished by other colors such as whether they are selected by the user or the like.
  • the subunit module 10 rotation direction setting module 6122 is omitted. That is, the rotation information may include only the rotation angle.
  • a time module can be set in each module as needed to set the execution time of rotation, suction, and the like.
  • a third embodiment of the present invention provides a method for controlling a modular robot, including:
  • Step T1 acquiring configuration information of the modular robot
  • Step T2 acquiring at least one action information, where the action information is used to control the modular robot motion;
  • Step T3 setting an execution action of the external unit and/or setting a control condition corresponding to the external unit
  • Step T4 Calling the action information, and the execution action of the external unit and/or setting the control condition corresponding to the external unit to graphically generate an executable program for controlling the operation of the modular robot.
  • Step T5 Send the executable program to the modular robot. Specifically, it is sent to the control body, the control body is erasably written into the program, and then the modular robot is controlled according to the program.
  • the method of controlling the modular robot includes performing a step prior to step T4:
  • the rotation information includes one or more of a rotation angle, a rotation direction, a rotation speed, and a rotation time; in the step T4, the motion information, the rotation information, and the external connection are invoked.
  • Graphically programming generates an executable program that controls the operation of the modular robot.
  • the method of controlling the modular robot comprises performing a step prior to step Ta:
  • Tx generating a three-dimensional simulation model of the modular robot, the three-dimensional simulation model being the same as the modular robot corresponding to the configuration information acquired in step T1;
  • Ty The subunit modules in the 3D simulation model are numbered;
  • step Ta different subunit modules are distinguished according to the number of the subunit modules to input the rotation information.
  • the setting of each subunit module includes the input of the number input and its rotation information.
  • the rotation information input for the number is the rotation information of the subunit module corresponding to the number.
  • the configuration information of the modular robot is derived from a configuration information database, and the configuration information is obtained by surface recognition by a modular robot, and the method for specific surface recognition is consistent with the method disclosed in the first embodiment, where No longer.
  • the action information source is in an action information database
  • the method for obtaining action information in step T2 comprises the steps of:
  • the modular robot is operated by a single frame to generate a new configuration; it is preferred that the external force acts on the modular robot to generate a new configuration.
  • the motion frame is stored in the action information database to be action information corresponding to the cell configuration, or steps Q1-Q3 are repeated to obtain a plurality of motion frames, and the plurality of motion frames are combined to form an action information and stored in the action information database. in.
  • the modular robot employed in the method is the modular robot disclosed in the first embodiment, and the method can also be implemented by using the control system disclosed in the second embodiment.
  • the executable program is generated on an electronic device side
  • the modular robot is a four-legged robot, which includes a body formed by the main control module and a four-legged formed by the sub-unit module, and the first control module is connected to the first plug connector.
  • An ultrasonic sensor is connected.
  • the method for controlling the modular robot is: acquiring the configuration information of the modular robot, acquiring the motion information 1 for controlling the handshake motion of the quadruped robot, controlling the motion information 2 of the quadruped robot to be stationary, and setting the condition for executing the motion information 1 as
  • the ultrasonic sensor detects that the distance between the object (person) and the distance is less than or equal to 10 cm, and sets the condition for executing the motion information 2 that the distance at which the ultrasonic wave does not detect the obstacle is greater than 10 cm; and the rotation information is set to the subunit module to control the execution of the quadruped robot.
  • a low-head action is set to execute after the action information 2 is executed.
  • the program is sent to the control body, the control body runs the program, the ultrasonic detector senses the distance from the person in real time, and when the distance between the quadruped robot and the person is detected to be less than or equal to 10 cm, the quadruped robot executes
  • the action information 1 performs a handshake, otherwise the action information 2 is executed and the bow action is performed after the execution is completed.
  • the logic condition for controlling the execution behavior of the modular robot may be a sensor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Orthopedic Medicine & Surgery (AREA)
  • Manipulator (AREA)

Abstract

A control system and method for a modular robot, for use in controlling a modular robot (1a). The modular robot is externally connected to at least one external unit (62). A control system (61) for the modular robot can communicate with the modular robot. The control system for the modular robot comprises: a configuration information database (610) for storing at least one configuration information of the modular robot; an action information database (611) for storing at least one action information for controlling the movement of the modular robot; and an external unit setting module (613) for setting an execution action of the external unit and/or setting a control condition corresponding to the external unit. The movement of the modular robot and/or the execution action of the external unit are controlled according to the action information and the setting of the external unit setting module. The control system and method improve the function expansion of the modular robot, facilitate user operations, and reduce the complexity and repeatability of program development.

Description

模块化机器人的控制系统、模块化机器人系统及控制模块化机器人的方法Modular robot control system, modular robot system and method for controlling modular robot 【技术领域】[Technical Field]
本发明涉及机器人领域,尤其涉及模块化机器人的控制系统、模块化机器人系统及控制模块化机器人的方法。The invention relates to the field of robots, in particular to a control system of a modular robot, a modular robot system and a method of controlling the modular robot.
【背景技术】【Background technique】
机器人已广泛用于生活及工业领域,如教学中用于锻炼学生的开拓思维能力,如自动化生产中用于焊接、喷涂、装配、搬运等作业。尽管机器人作为执行系统具有很大的灵活性和弹性,其可完成不同的工作任务,但现有的机器人往往针对特定的使用目的和场合,只有一种主要功能,缺乏功能的扩展性。针对每一种功能的机器人都需要开发者设定不同的程序,如此,严重制约机器人的推广应用。尤其是对于可重构机器人来说,构型的改变通常需要适用不同的控制程序,这种缺乏功能拓展性问题变得尤为突出。急需提出对应的解决方案。Robots have been widely used in life and industry, such as teaching to develop students' thinking skills, such as welding, painting, assembly, and handling in automated production. Although robots have great flexibility and flexibility as an execution system, they can perform different tasks. However, existing robots are often targeted at specific purposes and occasions. There is only one main function and lack of functional scalability. Robots for each function require developers to set different programs, which seriously restricts the promotion and application of robots. Especially for reconfigurable robots, the configuration changes usually require different control programs, and this lack of functional scalability becomes more prominent. There is an urgent need to propose a corresponding solution.
【发明内容】[Summary of the Invention]
为克服现有机器人存在功能拓展性差的问题,本发明提供了模块化机器人的控制系统、模块化机器人系统及控制模块化机器人的方法。In order to overcome the problem that the existing robot has poor function expandability, the present invention provides a control system for a modular robot, a modular robot system, and a method for controlling the modular robot.
本发明解决技术问题的方案是提供一种模块化机器人的控制系统,其用于控制模块化机器人,模块化机器人上外接有至少一外接单元,模块化机器人的控制系统与模块化机器人之间可通信,模块化机器人的控制系统包括:构型信息数据库;用于储存至少一模块化机器人的构型信息;动作信息数据库;用于储存至少一控制所述模块化机器人运动的动作信息;外接单元设定模块;用于设定外接单元的执行动作和/或设定与外接单元对应的控制条件;根据动作信息和外接单元设定模块的设定控制模块化机器人运动和/或外接单元执行动作。The solution to solve the technical problem of the present invention is to provide a control system of a modular robot for controlling a modular robot. The modular robot is externally connected with at least one external unit, and the control system of the modular robot and the modular robot can be The communication system of the modular robot includes: a configuration information database; configuration information for storing at least one modular robot; an action information database; and at least one action information for controlling movement of the modular robot; and an external unit a setting module; configured to set an execution action of the external unit and/or set a control condition corresponding to the external unit; and control the modular robot motion and/or the external unit to perform the action according to the action information and the setting of the external unit setting module .
优选地,模块化机器人的控制系统进一步包括:逻辑设定模块;用于设定所述动作信息与所述执行动作和/或所述控制条件之间的逻辑关系;及运行模块;用于将逻辑设定模块设定的内容编译生成可执行程序,该程序用于控制模块化机器人工作。Preferably, the control system of the modular robot further comprises: a logic setting module; configured to set a logical relationship between the action information and the execution action and/or the control condition; and an operation module; The contents of the logic setting module are compiled to generate an executable program for controlling the operation of the modular robot.
优选地,模块化机器人包括至少一子单元模块,所述子单元模块包括可相对转动的子模块,两个子模块之间转动从而带动模块化机器人运动,模块化机器人的控制系统进一步包括:子单元模块设定模块;用于设定子单元模块执行转动对应的转 动信息,转动信息包括转动角度、转动方向、转动速度和转动时间中的一种或多种;在逻辑设定模块中,可设定所述转动信息与所述执行动作和/或所述控制条件之间的逻辑关系。Preferably, the modular robot comprises at least one sub-unit module, the sub-unit module comprises a relatively rotatable sub-module, and the two sub-modules rotate to drive the movement of the modular robot, and the control system of the modular robot further comprises: a sub-unit a module setting module; configured to set rotation information corresponding to the rotation of the subunit module, wherein the rotation information comprises one or more of a rotation angle, a rotation direction, a rotation speed, and a rotation time; in the logic setting module, the setting A logical relationship between the rotation information and the execution action and/or the control condition is determined.
优选地,模块化机器人的控制系统包括:显示模块,至少用于显示模块化机器人之子单元模块对应的三维仿真模型及三维仿真模型中子单元模块的编号;子单元模块设定模块包括:用于设置子单元模块编号的子单元模块编号设定模块,子单元模块编号与所述转动信息一一对应。Preferably, the control system of the modular robot comprises: a display module, at least for displaying a three-dimensional simulation model corresponding to the sub-unit module of the modular robot and a number of the sub-unit module in the three-dimensional simulation model; the sub-unit module setting module comprises: The subunit module number setting module of the subunit module number is set, and the subunit module number is in one-to-one correspondence with the rotation information.
本发明还提供一种模块化机器人系统,模块化机器人系统包括模块化机器人,和连接在模块化机器人上的外接单元以及如上所述的模块化机器人的控制系统,运行模块编译生成的可执行程序被可擦除地写入模块化机器人中。The present invention also provides a modular robot system including a modular robot, and an external unit connected to the modular robot, and a control system of the modular robot as described above, and an executable program compiled by the running module It is eraseably written into the modular robot.
优选地,所述外接单元为传感器和/或执行器。Preferably, the external unit is a sensor and/or an actuator.
优选地,模块化机器人包括一主控模块,所述主控模块用于可擦除地写所述可执行程序并根据程序控制模块化机器人工作,外接单元连接于主控模块上。Preferably, the modular robot includes a main control module for erasably writing the executable program and controlling the operation of the modular robot according to the program, and the external unit is connected to the main control module.
本发明还提供一种控制模块化机器人的方法,模块化机器人上外接有至少一外接单元,控制模块化机器人的方法包括步骤:步骤T1:获取模块化机器人的构型信息;步骤T2:获取至少一动作信息,该动作信息用于控制所述模块化机器人运动;步骤T3:设定外接单元的执行动作和/或设定与外接单元对应的控制条件;及步骤T4:调用所述动作信息,以及外接单元的执行动作和/或设定与外接单元对应的控制条件图形化编程生成控制模块化机器人工作的可执行程序。The invention also provides a method for controlling a modular robot, the modular robot is externally connected with at least one external unit, and the method for controlling the modular robot comprises the steps of: step T1: acquiring configuration information of the modular robot; step T2: acquiring at least An action information for controlling the modular robot motion; step T3: setting an execution action of the external unit and/or setting a control condition corresponding to the external unit; and step T4: invoking the action information, And an execution action of the external unit and/or setting a control condition corresponding to the external unit to graphically generate an executable program that controls the operation of the modular robot.
优选地,模块化机器人包括至少一子单元模块,所述子单元模块包括可相对转动的子模块,两个子模块之间转动从而带动模块化机器人运动,控制模块化机器人的方法包括一执行在步骤T4前的步骤:Ta:设定子单元模块执行的转动信息;该转动信息包括转动角度、转动方向、转动速度和转动时间中的一种或多种;及在步骤S4中调用所述动作信息,转动信息,以及外接单元的执行动作和/或设定与外接单元对应的控制条件图形化编程生成控制模块化机器人工作的可执行程序。Preferably, the modular robot comprises at least one sub-unit module comprising a relatively rotatable sub-module, wherein the rotation between the two sub-modules drives the movement of the modular robot, and the method of controlling the modular robot comprises an execution step Step before T4: Ta: setting rotation information executed by the subunit module; the rotation information includes one or more of a rotation angle, a rotation direction, a rotation speed, and a rotation time; and calling the action information in step S4 The rotation information, and the execution action of the external unit and/or the control condition corresponding to the external unit are graphically programmed to generate an executable program that controls the operation of the modular robot.
优选地,在步骤Ta进行前包括一步骤:Tx:生成模块化机器人的三维仿真模型,该三维仿真模型与步骤T1中所获取的构型信息对应的模块化机器人相同;Ty:三维仿真模型中的子单元模块被编号;在步骤Ta中,根据子单元模块的编号区别不同的子单元模块以进行转动信息的输入。Preferably, before the step Ta is performed, a step is included: Tx: generating a three-dimensional simulation model of the modular robot, the three-dimensional simulation model being the same as the modular robot corresponding to the configuration information acquired in step T1; Ty: three-dimensional simulation model The subunit modules are numbered; in step Ta, different subunit modules are distinguished according to the number of the subunit modules to input the rotation information.
优选地,所述模块化机器人的构型信息来源于一构型信息数据库,所述构型信息的获得方法包括步骤:步骤S1:构建一模块化机器人;模块化机器人包括一个主单元模块和至少一个子 单元模块,主控模块和子单元模块之间通过对接部有线连接,或既无线连接又通过对接部有线连接,主单元模块、子单元模块之不同的对接部设置有不同的接口标识信息,界定与主控模块直接连接的子单元模块为一级子单元模块,与一级子单元模块连接的子单元模块为二级子单元模块,与M级子单元模块连接的子单元模块为(M+1)级子单元模块,M为大于等于1的整数;步骤S2:模块化机器人进行面识别获得构型信息;具体面识别包括:步骤S21:发送第一电信号通知子单元模块进行面识别;步骤S22:主控模块不同的对接部发出不同的第二电信号或主控模块不同的对接部分时序发出第二电信号;步骤S23:一级子单元模块根据其接收的第二电信号确定其连接的主控模块的接口标识信息;一级子单元模块根据接收到第二电信号的对接部获得其自身与主控模块对接的对接部之接口标识信息;及步骤S24:一级子单元模块将其所连接的主控模块的接口标识信息及自身的与主控模块对接的对接部之接口标识信息发送给主控模块或发送至所述程序生成端。Preferably, the configuration information of the modular robot is derived from a configuration information database, and the method for obtaining the configuration information includes the following steps: Step S1: constructing a modular robot; the modular robot includes a main unit module and at least a sub-unit module, the main control module and the sub-unit module are connected by a docking part, or both the wireless connection and the docking part are wired, and the different interface parts of the main unit module and the sub-unit module are provided with different interface identification information. The sub-unit module directly connected to the main control module is a first-level sub-unit module, the sub-unit module connected to the first-level sub-unit module is a second-level sub-unit module, and the sub-unit module connected with the M-level sub-unit module is (M +1) level subunit module, M is an integer greater than or equal to 1; step S2: the modular robot performs surface recognition to obtain configuration information; the specific surface identification includes: step S21: transmitting the first electrical signal to notify the subunit module to perform surface recognition Step S22: different docking parts of the main control module issue different second electrical signals or different docking parts of the main control module are sent at different timings. The second electrical signal is output; step S23: the first-level sub-unit module determines the interface identification information of the connected main control module according to the second electrical signal received by the first-level sub-unit module; the first-level sub-unit module obtains the interface according to the interface that receives the second electrical signal. The interface identifier information of the docking part of the master module connected to the main control module; and the interface identifier information of the interface of the master module connected to the master module The information is sent to the main control module or sent to the program generation end.
优选地,面识别过程进一步包括:S25:每一M级子单元模块不同的对接部发出不同的第二电信号给与其连接的(M+1)级子单元模块或每一M级子单元模块或不同的对接部分时序发出第二电信号给与其连接的(M+1)级子单元模块;S26:(M+1)级子单元模块根据其接收的第二电信号确定其所连接的M级主控模块的接口标识信息;(M+1)级子单元模块根据接收到第二电信号的对接部获得其自身与M级主控模块对接的对接部之接口标识信息;及步骤S27:(M+1)级子单元模块将其所连接的M级子单元模块的接口标识信息及自身的与M级子单元模块对接的对接部之接口标识信息发送给主控模块或发送至所述程序生成端。Preferably, the surface recognition process further comprises: S25: different docking parts of each M-level sub-unit module issue different second electrical signals to the (M+1)-level sub-unit module or each M-level sub-unit module connected thereto Or a different docking portion timing sends a second electrical signal to the (M+1)-level sub-unit module connected thereto; S26: (M+1)-level sub-unit module determines the connected M according to the second electrical signal it receives The interface identification information of the level master module; the (M+1) level subunit module obtains the interface identifier information of the docking part of the interface of the M-level master control module according to the interface that receives the second electrical signal; and step S27: The (M+1)-level sub-unit module sends the interface identification information of the M-level sub-unit module to which it is connected and the interface identification information of the interface of the M-level sub-unit module that is connected to the M-level sub-unit module to the main control module or to the Program generation side.
优选地,不同的同一级子单元模块发送接口标识信息给主控模块的时序不同,不同的M级子单元模块发送给与其连接的(M+1)级子单元模块之电信号的时序不同,子单元模块面识别逐级进行,完成第M级子单元模块的面识别后再进行第(M+1)级子单元模块的面识别。Preferably, the timings of sending different interface sub-unit modules to the main control module are different, and different M-level sub-unit modules send different timings of electrical signals sent to the (M+1)-level sub-unit modules connected thereto, The sub-unit module surface recognition is performed step by step, and the surface recognition of the (M+1)-th sub-unit module is performed after the surface recognition of the M-th sub-unit module is completed.
优选地,所述模块化机器人的构型信息来源于一构型信息数据库,所述动作信息的获得方法包括步骤:Q1:模块化机器人被单步操作生成一新构型;Q2:通过面识别获得新构型对应的构型信息;Q3:模块化机器人被调整前的构型信息与新构型对应的构型信息计算获得一运动帧;所述运动帧被保存于构型信息数据库成为与该细胞构型对应的动作信息,或重复步骤Q1-Q3获得多个运动帧,所述多个运动帧合并形成一动作信息被保存于构型信息数据库中。Preferably, the configuration information of the modular robot is derived from a configuration information database, and the method for obtaining the motion information includes the steps of: Q1: the modular robot is single-step operated to generate a new configuration; Q2: obtained by surface recognition Configuration information corresponding to the new configuration; Q3: the configuration information of the modular robot before being adjusted is calculated by the configuration information corresponding to the new configuration to obtain a motion frame; the motion frame is saved in the configuration information database to become The action information corresponding to the cell configuration, or repeating steps Q1-Q3 to obtain a plurality of motion frames, the plurality of motion frames being combined to form an action information is stored in the configuration information database.
与现有技术相比,本发明所提供的模块化机器人的控制系统提供了动作信息数据库,方便用户进行功能性修改或拓展。用户还可以在控制系统中编译生成控制子单元模块转动的程序,尤其是编程所采用的是图形化编程界面,其方便用户端操作,避免了需要开发人员参与程序修改所带来的麻烦。编译权的开放,将极度提高单个模块化机器人的适用性,为用户带来更新的使用体验。动作信息数据库可以存储官方定义或用户自定义的动作信息,可以方便快捷地进行信息复用或信息共享,大大降低了程序开发的复杂性和重复性。Compared with the prior art, the control system of the modular robot provided by the present invention provides a database of action information, which is convenient for the user to perform functional modification or expansion. The user can also compile and generate a program for controlling the rotation of the control subunit module in the control system, in particular, the programming uses a graphical programming interface, which is convenient for the user to operate, and avoids the trouble that the developer needs to participate in the modification of the program. The opening of the compile rights will greatly improve the applicability of a single modular robot, bringing an updated user experience. The action information database can store officially defined or user-defined action information, which can facilitate information multiplexing or information sharing conveniently and quickly, greatly reducing the complexity and repeatability of program development.
本发明中采用了特定结构的子单元模块作为模块化机器人的基础模块,子单元模块可以通过转动控制实现模块化机器人构型的改变。打破传统基础模块自由度单一,控制不灵活的缺点。子单元模块可被电信号控制转动,也可以被用户手动转动,方便用户进行动作信息的自定义。In the present invention, a sub-unit module of a specific structure is adopted as a basic module of the modular robot, and the sub-unit module can realize a change of the configuration of the modular robot by rotational control. Breaking the shortcomings of traditional basic modules with single degree of freedom and inflexible control. The subunit module can be controlled to rotate by an electric signal, or can be manually rotated by the user, so that the user can customize the motion information.
【附图说明】[Description of the Drawings]
图1是本发明第一实施例模块化机器人的立体结构示意图。1 is a perspective view showing the structure of a modular robot according to a first embodiment of the present invention.
图2是本发明第一实施例模块化机器人之子单元模块的立体结构示意图。2 is a perspective view showing the structure of a subunit module of a modular robot according to a first embodiment of the present invention.
图3A和3B是本发明第一实施例中控制主体不同角度下的立体结构示意图。3A and 3B are schematic views showing the three-dimensional structure of the control body at different angles in the first embodiment of the present invention.
图4是面识别的详细步骤流程图。Figure 4 is a flow chart showing the detailed steps of face recognition.
图5是本发明第二实施例模块化机器人系统的模块结构示意图。Fig. 5 is a block diagram showing the structure of a modular robot system according to a second embodiment of the present invention.
图6是本发明第二实施例模块化机器人的控制系统的详细模块示意图。6 is a detailed block diagram of a control system of a modular robot according to a second embodiment of the present invention.
图7是本发明第三实施例模块化机器人的控制方法的流程图。Fig. 7 is a flow chart showing a control method of the modular robot of the third embodiment of the present invention.
【具体实施方式】【Detailed ways】
为了使本发明的目的,技术方案及优点更加清楚明白,以下结合附图及实施实例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
请参阅图1,本发明第一实施例提供一种可编程的模块化机器人1a,其包括主控模块50和与其连接的细胞构型(未标号),细胞构型包括若干子单元模块10,图1中以2个子单元模块10构成细胞构型为例来进行说明,实际上子单元模块10数量不作限制。优选地,主控模块50上设置有至少一对接部14,每一子单元模块10上设置有至少二对接部14,主控模块50和子单元 模块10通过对接部14连接。主控模块50和子单元模块10、子单元模块10与子单元模块10之间的不同连接方式可重构出不同构型的模块化机器人1a。Referring to FIG. 1, a first embodiment of the present invention provides a programmable modular robot 1a including a main control module 50 and a cell configuration (not labeled) connected thereto, and the cell configuration includes a plurality of subunit modules 10, In FIG. 1, the cell configuration of the two subunit modules 10 is taken as an example for description. Actually, the number of subunit modules 10 is not limited. Preferably, the main control module 50 is provided with at least a pair of connecting portions 14, each of the sub-unit modules 10 is provided with at least two docking portions 14, and the main control module 50 and the sub-unit module 10 are connected by the docking portion 14. The different connection between the main control module 50 and the subunit module 10, the subunit module 10 and the subunit module 10 can reconstruct the modular robot 1a of different configurations.
请参阅图2,子单元模块10包括两个可相对转动的子模块101,该转动通过电信号来控制的,优选地,其还可以被手动控制转动。优选子模块101为半球形,每一子模块101上设置有至少一对接部14,所述若干子单元模块10之间通过对接部14连接。优选地,每一子单元模块10上的对接部14数量为2或3或4或5或6或7或8,优选地,每一子单元模块10的不同对接部14设置有接口标识信息以便于确定子单元模块10之间的相对连接位置。如图2中子单元模块10设置有8个对接部14时,该8个对接部14的接口标识信息分别为001,002······008。不同子单元模块10通过对接部14可以实现机械连接,也可以实现有线电性连接。可以理解,本发明中所提及的对接部14既能够实现两模块之间的机械连接,也可以实现两模块之间的有线电性连接。对接部14所在面与两个子模块101之间的转动所在面相交以为模块化机器人1a的可重构提供有效的变化维度。优选地,本发明中位于不同模块上的对接部14均相同。Referring to Figure 2, the subunit module 10 includes two relatively rotatable submodules 101 that are controlled by electrical signals, which are preferably also manually controllable. Preferably, the sub-modules 101 are hemispherical, and each of the sub-modules 101 is provided with at least a pair of connecting portions 14 , and the plurality of sub-unit modules 10 are connected by the butting portion 14 . Preferably, the number of docking portions 14 on each subunit module 10 is 2 or 3 or 4 or 5 or 6 or 7 or 8. Preferably, the different docking portions 14 of each subunit module 10 are provided with interface identification information so that The relative connection positions between the subunit modules 10 are determined. As shown in FIG. 2, when the subunit module 10 is provided with eight docking portions 14, the interface identification information of the eight docking portions 14 is 001, 002..... 008. Different sub-unit modules 10 can be mechanically connected through the docking portion 14, and a wired electrical connection can also be realized. It can be understood that the docking portion 14 mentioned in the present invention can realize the mechanical connection between the two modules, and can also realize the wired electrical connection between the two modules. The face where the abutment 14 is located intersects the face of the rotation between the two sub-modules 101 to provide an effective variation dimension for the reconfigurability of the modular robot 1a. Preferably, the docking portions 14 located on different modules in the present invention are all the same.
主控模块50可擦除地写入程序以控制模块化机器人1a工作。优选地,根据程序控制若干子单元模块10两个子模块101之间相对转动来实现模块化机器人1a完成预设运动。优选地,所述程序来自于一电子设备端,电子设备端针对模块化机器人1a进行相关设定后进行编译后生成可执行程序发送给主控模块50。The main control module 50 erases the program to control the operation of the modular robot 1a. Preferably, the relative rotation between the two sub-modules 101 of the plurality of sub-unit modules 10 is controlled according to a program to implement the preset movement of the modular robot 1a. Preferably, the program is from an electronic device end, and the electronic device end performs related setting for the modular robot 1a, compiles it, generates an executable program, and sends the executable program to the main control module 50.
请继续参阅图1,主控模块50包括一主单元模块30和一控制主体40,主单元模块30和细胞构型连接,控制主体40和主单元模块30连接,作为一种变形,控制主体40与主单元模块30无机械连接而保持无线电连接即可。控制主体40可擦除地写入程序,控制主体40根据该程序,再通过主单元模块30控制模块化机器人1a工作。Referring to FIG. 1 , the main control module 50 includes a main unit module 30 and a control main body 40. The main unit module 30 is connected to the cell configuration, and the control main body 40 and the main unit module 30 are connected. As a variant, the main body 40 is controlled. It is sufficient to maintain a radio connection with the main unit module 30 without a mechanical connection. The control body 40 writes the program erasibly, and the control body 40 controls the operation of the modular robot 1a through the main unit module 30 in accordance with the program.
请继续参阅图1,优选地,主单元模块30上设置有至少二对接部14,主单元模块30上的对接部14数量为2或3或4或5或6或7或8,优选地,每一子单元模块10的不同对接部14设置有接口标识信息。如图1中主单元模块30设置有8个对接部14时,该8个对接部14的接口标识信息分别为001,002······008。主单元模块30通过对接部14与子单元模块10连接。优选地,主单元模块30具有供电功能,其可以为控制主体40和子单元模块10供电。优选地,主单元模块30与子单元模块10之间通过对接部14有线电连接,通过无线通信系统无线电连接,如利用zigbee技术,蓝牙,NFC等技术进行无线 通信。优选通过zigbee系统进行无线通信,对应地,主单元模块30中设置有zigbee主模块,子单元模块10中设置有zigbee子模块101。优选地,子单元模块10通过主单元模块30与电子设备端通信,其本身不直接与电子设备端通信,如此可以降低细胞构型的硬件要求。With continued reference to FIG. 1, preferably, the main unit module 30 is provided with at least two abutting portions 14, and the number of the abutting portions 14 on the main unit module 30 is 2 or 3 or 4 or 5 or 6 or 7 or 8, preferably, Different docking portions 14 of each subunit module 10 are provided with interface identification information. As shown in FIG. 1 , when the main unit module 30 is provided with eight docking portions 14 , the interface identification information of the eight docking portions 14 is 001, 002····· 008, respectively. The main unit module 30 is connected to the sub unit module 10 through the docking portion 14. Preferably, the main unit module 30 has a power supply function that can supply power to the control body 40 and the sub unit module 10. Preferably, the main unit module 30 and the sub unit module 10 are wired and electrically connected through the docking portion 14, and are wirelessly connected through a wireless communication system, such as wireless communication using zigbee technology, Bluetooth, NFC, and the like. Wireless communication is preferably performed by the zigbee system. Correspondingly, the main unit module 30 is provided with a zigbee main module, and the sub unit module 10 is provided with a zigbee submodule 101. Preferably, the subunit module 10 communicates with the electronic device terminal through the main unit module 30, which itself does not directly communicate with the electronic device end, thus reducing the hardware requirements of the cell configuration.
请参阅图3A和3B,控制主体40包括至少一对接部14,控制主体40通过对接部14与主单元模块30连接。控制主体40内至少设置一蓝牙模块(图未示),具体可以设置第一蓝牙模块,第一蓝牙模块用于与电子设备端通信,接收来自电子设备端的程序,优选地,控制主体40内设置有一第二蓝牙模块,控制主体40通过第二蓝牙模块与主单元模块30进行无线通信。作为一种变形,第二蓝牙模块可省略,控制主体40和主单元模块30直接有线电连接。控制主体40设置有至少一插接口41,该插接口41上插接有外接单元(图未示)。外接单元工作时向控制主体30返回其工作信息,所述程序设定为根据外接单元返回的工作信息控制子单元模块10两个子模块101之间相对转动。优选地,外接单元实时返回工作信息,控制主体40根据外接单元实时返回的工作信息控制子单元模块10转动。具体地,外接单元可以是传感器和/或执行器。传感器可以是超声波传感器,红外传感器,温度传感器,亮度传感器,颜色传感器等等。执行器可以是吸盘,电磁铁,机械爪等等。程序可以设定为根据如传感器和/或执行单元所返回的工作信息控制子单元模块10两子模块101之间的相对转动。如,模块化机器人1a插接口41上连接有超声波传感器,超声波感测到有障碍物时,检测与障碍物的距离并返回工作信息(距离参数),程序设定当距离小于某一数值时,控制主体40通过主单元模块30控制子单元模块10停止转动,模块化机器人1a停止运动以避免与障碍物接触。又如,模块化机器人1a上插接口41上连接有气动吸盘时,气动吸盘用于吸附物品,模块化机器人1a动作,将某一处的物品运送一段距离至另一处。气动吸盘向控制主体40返回工作信息(执行状态),告知控制主体40物品是否被吸附,当控制主体40接受到代表物品被吸附的工作参数时,控制主体40通过主单元模块30控制子单元模块10运动,使模块化机器人1a沿预设路径运动以将物品送至目的地。Referring to FIGS. 3A and 3B, the control body 40 includes at least a pair of joints 14 that are coupled to the main unit module 30 by the docking portion 14. At least one Bluetooth module (not shown) is disposed in the control body 40. Specifically, the first Bluetooth module can be configured. The first Bluetooth module is configured to communicate with the electronic device, and receive the program from the electronic device. Preferably, the control body 40 is configured. There is a second Bluetooth module, and the control body 40 performs wireless communication with the main unit module 30 through the second Bluetooth module. As a variant, the second Bluetooth module can be omitted, and the control body 40 and the main unit module 30 are directly wired and electrically connected. The control body 40 is provided with at least one plug-in interface 41, and an external unit (not shown) is plugged into the plug-in interface 41. When the external unit is in operation, its working information is returned to the control body 30, and the program is set to control the relative rotation between the two sub-modules 101 of the sub-unit module 10 according to the work information returned by the external unit. Preferably, the external unit returns the working information in real time, and the control body 40 controls the rotation of the sub unit module 10 according to the working information returned by the external unit in real time. In particular, the external unit can be a sensor and/or an actuator. The sensor can be an ultrasonic sensor, an infrared sensor, a temperature sensor, a brightness sensor, a color sensor, and the like. The actuator can be a suction cup, an electromagnet, a mechanical claw or the like. The program can be set to control the relative rotation between the two sub-modules 101 of the sub-unit module 10 based on the operational information returned by the sensor and/or the execution unit. For example, the ultrasonic sensor is connected to the plug-in interface 41 of the modular robot 1a. When the ultrasonic sensor senses an obstacle, the distance from the obstacle is detected and the working information (distance parameter) is returned. The program sets when the distance is less than a certain value. The control body 40 controls the subunit module 10 to stop rotating by the main unit module 30, and the modular robot 1a stops moving to avoid contact with an obstacle. For example, when the pneumatic suction cup is connected to the modular robot 1a, the pneumatic suction cup is used to adsorb the articles, and the modular robot 1a moves to transport the articles at one place to another. The pneumatic suction cup returns work information (execution state) to the control main body 40, and informs the control main body 40 whether the article is adsorbed. When the control main body 40 receives the work parameter representing that the article is adsorbed, the control main body 40 controls the subunit module through the main unit module 30. The 10 motion causes the modular robot 1a to move along a preset path to deliver the item to the destination.
作为一种变形,主单元模块30和控制主体40不是分体设计的,两者集成在一个模块上,该主控模块50上既设置有对接部14也设置有插接口41。如此,可以提高模块化机器人1a的集成度。As a variant, the main unit module 30 and the control body 40 are not designed separately, and the two are integrated on one module. The main control module 50 is provided with both the docking portion 14 and the plug connector 41. In this way, the degree of integration of the modular robot 1a can be improved.
作为一种变形,所述子单元模块10各自具有储电功能及与电子设备端和/或主控模块50直接通信功能,因此,主控模块 50可以与细胞构型可以机械连接,也可以选择不设置机械连接。此时,主控模块50即为控制主体40。As a variant, the subunit modules 10 each have a power storage function and a direct communication function with the electronic device end and/or the main control module 50. Therefore, the main control module 50 can be mechanically connected to the cell configuration or can be selected. No mechanical connection is set. At this time, the main control module 50 is the control main body 40.
可以理解,模块化机器人1a形态不作限制,作为可替代的选择,单元模块(包括主单元模块30和子单元模块10)可以是任意结构形态,对接部14也可以仅具备机械连接作用。单元模块之间也可以仅通过有线电连接或无线电连接的方式进行通信。所有的子单元模块10结构形态可以完全一致或至少一部分不同。主单元模块30和子单元模块10结构形态可以完全一致或至少一部分不同。It can be understood that the form of the modular robot 1a is not limited. As an alternative, the unit module (including the main unit module 30 and the sub-unit module 10) may be of any configuration, and the docking portion 14 may only have a mechanical connection. Communication between the unit modules is also possible only by means of a wired electrical connection or a radio connection. All of the subunit modules 10 may be identical in configuration or at least partially different. The structural configurations of the main unit module 30 and the sub unit module 10 may be identical or at least partially different.
不同构型的模块化机器人1a具有代表其构型特性的构型参数,构型参数包括子单元模块10之间的位置信息,优选地,子单元模块10之间的位置信息由子单元模块10之间进行面识别获得。界定与主单元模块30直接连接的子单元模块10为一级子单元模块10,与一级子单元模块10连接的子单元模块10为二级子单元模块10,与M级子单元模块10连接的子单元模块10为(M+1)级子单元模块10,M为大于等于1的整数,请参阅图4,具体面识别的过程包括:The modular robot 1a of different configurations has configuration parameters representing its configuration characteristics, and the configuration parameters include positional information between the subunit modules 10, and preferably, the positional information between the subunit modules 10 is composed of the subunit modules 10 Face recognition is obtained. The sub-unit module 10 that is directly connected to the main unit module 30 is a first-level sub-unit module 10, and the sub-unit module 10 that is connected to the first-level sub-unit module 10 is a second-level sub-unit module 10, and is connected to the M-level sub-unit module 10. The sub-unit module 10 is an (M+1)-level sub-unit module 10, and M is an integer greater than or equal to 1. Referring to FIG. 4, the process of specific surface recognition includes:
步骤S11:主单元模块30发送第一电信号通知子单元模块10进行面识别;Step S11: The main unit module 30 sends a first electrical signal to notify the subunit module 10 to perform surface recognition.
步骤S12:主单元模块30不同的对接部发出不同的第二电信号或主单元模块30不同的对接部分时序发出第二电信号;Step S12: different docking portions of the main unit module 30 issue different second electrical signals or different docking portions of the main unit module 30 to issue a second electrical signal;
步骤S13:一级子单元模块10根据其接收的第二电信号确定其连接的主体模块的接口标识信息;一级子单元模块10根据接收到第二电信号的对接部获得其自身与主体模块对接的对接部之接口标识信息;及Step S13: The first-level sub-unit module 10 determines the interface identification information of the connected main body module according to the second electrical signal received by the first-level sub-unit module 10; the first-level sub-unit module 10 obtains its own and the main body module according to the docking part that receives the second electrical signal. Interface identification information of the docking interface; and
步骤S14:一级子单元模块10将其所连接的主体模块的接口标识信息及自身的与主体模块对接的对接部之接口标识信息发送给主单元模块30。Step S14: The first-level sub-unit module 10 transmits the interface identification information of the main module to which it is connected and the interface identification information of its own docking part that is docked with the main module to the main unit module 30.
具体地,面识别过程进一步包括:Specifically, the surface recognition process further includes:
步骤S15:每一M级子单元模块10不同的对接部发出不同的第二电信号给与其连接的(M+1)级子单元模块10或每一M级子单元模块10不同的对接部分时序发出第二电信号给与其连接的(M+1)级子单元模块10;Step S15: Different docking parts of each M-level sub-unit module 10 issue different second electrical signals to different docking parts of the (M+1)-level sub-unit module 10 or each M-level sub-unit module 10 connected thereto. Sending a second electrical signal to the (M+1)-level sub-unit module 10 connected thereto;
步骤S16:(M+1)级子单元模块10根据其接收的第二电信号确定其所连接的M级主体模块的接口标识信息;(M+1)级子单元模块10根据接收到第二电信号的对接部获得其自身与M级主体模块对接的对接部之接口标识信息;及Step S16: The (M+1)-level sub-unit module 10 determines the interface identification information of the M-level main module to which it is connected according to the second electrical signal it receives; the (M+1)-level sub-unit module 10 receives the second The interface of the electrical signal obtains the interface identification information of the docking part of the interface with the M-level main body; and
步骤S17:(M+1)级子单元模块10将其所连接的M级子单元模块10的接口标识信息及自身的与M级子单元模块10对接的对接部之接口标识信息发送给主单元模块30。Step S17: The (M+1)-level sub-unit module 10 sends the interface identification information of the M-level sub-unit module 10 to which it is connected and the interface identification information of the interface of the M-stage sub-unit module 10 that is connected to the M-level sub-unit module 10 to the main unit. Module 30.
优选地,不同的同一级子单元模块10发送接口标识信息给主单元模块30的时序不同,不同的M级子单元模块10发送给与其连接的(M+1)级子单元模块10之电信号的时序不同,子单元模块10面识别逐级进行,完成第M级子单元模块10的面识别后再进行第(M+1)级子单元模块10的面识别。Preferably, the timings of the different same-level sub-unit modules 10 transmitting the interface identification information to the main unit module 30 are different, and the different M-level sub-unit modules 10 are sent to the electrical signals of the (M+1)-level sub-unit module 10 connected thereto. The timing of the subunit module 10 is changed step by step, and the surface recognition of the (M+1)th subunit module 10 is performed after the surface recognition of the Mth subunit module 10 is completed.
优选地,在步骤S14之后,主单元模块30停止发送第二电信号,主单元模块30无线信号通知一级子单元模块10发送第二电信号至二级子单元模块10。主单元模块30在接收到(M+1)级子单元模块10返回来的信息之后,M级子单元模块10停止发送第二电信号,主单元模块30无线信号通知(M+1)级子单元模块10发送第二电信号至(M+2)级子单元模块10。Preferably, after step S14, the main unit module 30 stops transmitting the second electrical signal, and the main unit module 30 wirelessly signals the first-level sub-unit module 10 to send the second electrical signal to the secondary sub-unit module 10. After the main unit module 30 receives the information returned by the (M+1)-level sub-unit module 10, the M-level sub-unit module 10 stops transmitting the second electrical signal, and the main unit module 30 wirelessly signals the (M+1) level. The unit module 10 transmits a second electrical signal to the (M+2) stage subunit module 10.
可以理解,面识别过程中,主单元模块30仅作为了面识别的起始点以作为参考点来界定子单元模块10相对于主单元模块30的相对位置。作为一种选择,主单元模块30与子单元模块10机械结构和/或电路结构可以完全一致。It can be understood that in the face recognition process, the main unit module 30 serves only as a starting point for face recognition as a reference point to define the relative position of the subunit module 10 with respect to the main unit module 30. As an option, the main unit module 30 and the sub unit module 10 may be identical in mechanical structure and/or circuit configuration.
作为一种变形,第一信号也可以通过有线的方式进行传输。第一信号可以是通过一电子设备端发出。子单元模块10获得相关接口标识信息后直接传输至电子设备端。即各模块均具有与电子设备端的通信功能。As a variant, the first signal can also be transmitted in a wired manner. The first signal can be sent through an electronic device. The subunit module 10 obtains the relevant interface identification information and directly transmits it to the electronic device end. That is, each module has a communication function with the electronic device end.
优选地,第一信号优选是通过主单元模块30进行发送,作为一种变形,也可以是电子设备端发出。子单元模块10获得相关接口标识信息后直接传输至电子设备端。即各模块均具有与电子设备端的通信功能。Preferably, the first signal is preferably transmitted by the main unit module 30, as a variant, or may be sent by the electronic device. The subunit module 10 obtains the relevant interface identification information and directly transmits it to the electronic device end. That is, each module has a communication function with the electronic device end.
以主单元模块30之接口标识信息为001和002的对接部分别连接有1号子单元模块10和2号子单元模块10,1号子单元模块10通过对接部连接有3号子单元模块10和4号子单元模块10,2号子单元模块10通过对接部连接有5号子单元模块10和6号子单元模块10为例来进行说明,优选主单元模块30通过无线广播信息,即向子单元模块10发出第一电信号通知子单元模块10进行面识别。主单元模块30不同的对接部发出不同的第二电信号,不同的第二电信号可以是不同大小的电压信号或电流信号,或不同频段的电信号。1号子单元模块10和2号子单元模块10通过识别不同的第二电信号可以得知其具体连接在主单元模块30上的对接部之接口标识信息。1号子单元模块10和2号子单元模块10在接收到第二电信号时,由于每一单元模块的不同对接部设置有接口标识信息,因此,1号子单元模块10和2号子单元模块10可获得其自身与主单元模块30对接的对接部之接口标识信息。1号子单元模块10先回复主单元模块30告知其所连接的主单元模块30的接口标识信息及自身的与主单元模块30对接的对接部之接口标识信息。等待一段时间后, 2号子单元模块10再回复主单元模块30。1号子单元模块10和2号子单元模块10面识别完成后,主单元模块30停止发送电信号,并通知与主单元模块30直接连接的1号子单元模块10和2号子单元模块10分时序发送第二电信号至3、4、5、6号子单元模块10,1号子单元模块10先发出第二电信号给3、4号子单元模块10,按照前述原理,3、4号子单元模块10向主单元模块30返回相关接口标识信息。然后2号子单元模块10先发出第二电信号给5、6号子单元模块10,按照前述原理,5、6号子单元模块10向主单元模块30返回相关接口标识信息。至此,主单元模块30获得该已构建模型之单元模块之间的相对位置信息。The sub-unit module 10 and the sub-unit module 10 are connected to the interface of the main unit module 30 with the interface identification information of 001 and 002, and the sub-unit module 10 is connected to the sub-unit module 10 through the docking unit. And the sub-unit module 10 and the sub-unit module 10 of the second sub-unit module 10 are connected to the sub-unit unit 10 and the sub-unit unit 10 of the sixth unit as an example. Preferably, the main unit module 30 broadcasts information by radio, that is, The subunit module 10 issues a first electrical signal to notify the subunit module 10 to perform face recognition. The different docking portions of the main unit module 30 emit different second electrical signals, and the different second electrical signals may be voltage signals or current signals of different magnitudes or electrical signals of different frequency bands. The sub-unit module 10 and the sub-unit module 10 of the second unit can know the interface identification information of the docking portion specifically connected to the main unit module 30 by identifying the different second electric signals. When the second sub-unit module 10 and the sub-unit module 10 of the second unit receive the second electrical signal, since the different docking parts of each unit module are provided with the interface identification information, the sub-unit modules 10 and 2 sub-units The module 10 can obtain interface identification information of its own docking portion that interfaces with the main unit module 30. The No. 1 subunit module 10 first returns the interface identification information of the main unit module 30 to which the main unit module 30 is connected and the interface identification information of its own interface with the main unit module 30. After waiting for a period of time, the sub-unit module 10 returns to the main unit module 30. After the face recognition of the sub-unit module 10 and the sub-unit module No. 1 is completed, the main unit module 30 stops transmitting the electrical signal and notifies the main unit. The sub-unit module 10 and the sub-unit module 10 directly connected to the module 30 sequentially transmit the second electrical signal to the sub-unit module 10 of the 3, 4, 5, and 6 sub-units, and the sub-unit module 10 of the first unit 10 issues the second electric The signal is sent to the sub-unit modules 10 and 4, and according to the foregoing principle, the sub-unit modules 10 and 4 return the relevant interface identification information to the main unit module 30. Then, the sub-unit module 10 first issues a second electrical signal to the sub-unit modules 10 and 5, and according to the foregoing principle, the sub-unit modules 5 and 6 return the relevant interface identification information to the main unit module 30. So far, the main unit module 30 obtains relative position information between the unit modules of the constructed model.
优选地,构型信息还包括两子模块101之间的初始相对角度,设定两子模块101之间在某一位置时,两者的相对角度为0°,则在电信号控制子模块101相对转动时,先获得两者的初始相对角度,以便于发出对应转动角度的控制信号控制其转动。Preferably, the configuration information further includes an initial relative angle between the two sub-modules 101. When the relative angle between the two sub-modules 101 is 0°, the electrical signal control sub-module 101 is In the relative rotation, the initial relative angles of the two are obtained first, so that the control signal corresponding to the rotation angle is controlled to control the rotation.
优选的,主单元模块30在接收子单元模块10传输过来的相关接口标识信息后对该子单元模块10进行编号以生成各子单元模块10的ID以方便通讯。该ID方便用于返回子单元模块10之两子模块之间的初始相对角度,以及接收信号控制子单元模块10进行设定角度的转动。Preferably, the main unit module 30 numbers the sub-unit modules 10 after receiving the relevant interface identification information transmitted by the sub-unit module 10 to generate an ID of each sub-unit module 10 to facilitate communication. The ID is conveniently used to return to the initial relative angle between the two sub-modules of the sub-unit module 10, and the receive signal controls the sub-unit module 10 to perform a set angle of rotation.
优选地,构型信息进一步包括代表子单元模块10的数量的数量信息和/或代表子单元模块10类型的类型信息。优选地,每个主单元模块30、子单元模块10和主控模块50均携带类型信息,同类型的模块类型信息相同,如不同的主单元模块30或子单元模块10或主控模块50类型信息相同。主单元模块30、子单元模块10和主控模块50根据其功能或结构等差别可以设定其类型信息不同或相同。主单元模块30、子单元模块10和主控模块50在通电被访问时反馈的信号携带该类型信息。Preferably, the configuration information further includes quantity information representing the number of subunit modules 10 and/or type information representing the type of subunit modules 10. Preferably, each of the main unit module 30, the subunit module 10 and the main control module 50 carries type information, and the same type of module type information is the same, such as different main unit module 30 or sub unit module 10 or main control module 50 type. The information is the same. The main unit module 30, the sub unit module 10, and the main control module 50 can set their type information to be different or the same according to their functions or structures. The signals fed back by the main unit module 30, the subunit module 10, and the main control module 50 when the power is turned on carry the type information.
本发明第二实施例提供一种模块化机器人系统60,模块化机器人系统60包括如第一实施例所述的模块化机器人1a(沿用第一实施例中的标号),和连接在模块化机器人1a上的外接单元62以及一模块化机器人的控制系统61,模块化机器人的控制系统61用于编程生成能被可擦除地写入模块化机器人1a中的可执行程序。模块化机器人1a与控制系统61有线或无线电连接。优选地,控制系统61设置在第一实施例所述的电子设备端,如电脑,手机等。作为一种变形,控制系统61设置在主控模块50上。优选地,控制系统61为可图形化编程的控制系统,通过电子设备端开放图形化编程界面可以使用户简易地修改控制模块化机器人的程序,从而获得功能拓展性更好的模块化机器人1a。A second embodiment of the present invention provides a modular robot system 60 including a modular robot 1a as described in the first embodiment (using the reference numerals in the first embodiment), and connected to the modular robot The external unit 62 on 1a and the control system 61 of a modular robot for programming an executable program that can be erasably written into the modular robot 1a. The modular robot 1a is wired or radio connected to the control system 61. Preferably, the control system 61 is disposed at the electronic device end as described in the first embodiment, such as a computer, a mobile phone, or the like. As a variant, the control system 61 is arranged on the main control module 50. Preferably, the control system 61 is a graphically programmable control system, and the open programming interface of the electronic device allows the user to easily modify the program for controlling the modular robot, thereby obtaining the modular robot 1a with better functional expansion.
控制系统61包括: Control system 61 includes:
构型信息数据库610;用于储存至少一模块化机器人1a的构型信息;a configuration information database 610; configuration information for storing at least one modular robot 1a;
动作信息数据库611;用于储存至少一控制所述模块化机器人1a运动的动作信息;每动作信息可控制模块化机器人1a执行一帧或多帧的动作。动作信息数据库611中的动作信息匹配于构型信息数据库610中的模块化机器人1a之构型信息。即动作信息是与模块化机器人1a的构型信息对应而存在的。The action information database 611 is configured to store at least one action information for controlling the motion of the modular robot 1a; each action information may control the modular robot 1a to perform one or more frames of motion. The action information in the action information database 611 is matched to the configuration information of the modular robot 1a in the configuration information database 610. That is, the motion information exists in correspondence with the configuration information of the modular robot 1a.
外接单元设定模块613;用于设定外接单元62的执行动作和/或设定与外接单元62对应的控制条件;如设定吸盘执行吸取动作,如设定超声波传感器检测到离障碍物的距离小于等于10cm时,其成为模块化机器人执行停止运动的条件。The external unit setting module 613 is configured to set the execution action of the external unit 62 and/or set the control condition corresponding to the external unit 62; if the suction cup is set to perform the suction action, such as setting the ultrasonic sensor to detect the obstacle When the distance is less than or equal to 10 cm, it becomes a condition for the modular robot to perform the stop motion.
根据动作信息和外接单元设定模块613的设定控制模块化机器人1a运动和/或外接单元62执行动作。The motion of the modular robot 1a and/or the external unit 62 are controlled in accordance with the action information and the setting of the external unit setting module 613.
具体地,模块化机器人的控制系统61进一步包括:Specifically, the control system 61 of the modular robot further includes:
逻辑设定模块614;用于设定所述动作信息与所述执行动作和/或所述控制条件之间的逻辑关系;如外接单元62包括一超声波传感器和执行器吸盘,从动作信息数据库611调用一模块化机器人1a走动的动作信息以及一停止走动的动作信息,外接单元设定模块613设定一条件:超声波传感器检测到障碍物距离小于等于10cm,吸盘执行吸取动作。逻辑设定模块614用于设置走动的动作信息和停止走动的动作信息与超声波感测器设定的条件及吸盘执行动作之间的关系,如设定超声波传感器感测到距离障碍物小于10cm时,模块化机器人1a执行停止走动的动作信息且吸盘执行吸取动作,反之,则执行走动的动作信息。也可以根据执行器的执行结果控制模块化机器人1a执行动作信息对应的动作。The logic setting module 614 is configured to set a logical relationship between the action information and the execution action and/or the control condition; for example, the external unit 62 includes an ultrasonic sensor and an actuator suction cup, and the action information database 611 The action information of the walking movement of the modular robot 1a and the motion information of the stop movement are called, and the external unit setting module 613 sets a condition that the ultrasonic sensor detects that the obstacle distance is 10 cm or less, and the suction cup performs the suction operation. The logic setting module 614 is configured to set the relationship between the movement information of the walking movement and the movement information of stopping the movement and the condition set by the ultrasonic sensor and the performing action of the suction cup, such as setting the ultrasonic sensor to sense that the distance obstacle is less than 10 cm. The modular robot 1a executes the motion information for stopping the movement and the suction cup performs the suction operation, and vice versa, executes the movement information of the movement. It is also possible to control the modular robot 1a to perform an action corresponding to the motion information based on the execution result of the actuator.
运行模块615;用于将逻辑设定模块614设定的内容编译生成可执行程序,该程序用于控制模块化机器人1a工作。The running module 615 is configured to compile the content set by the logic setting module 614 to generate an executable program for controlling the operation of the modular robot 1a.
无线通信模块616,用于将可执行程序发送给模块化机器人1a。The wireless communication module 616 is configured to send the executable program to the modular robot 1a.
可以理解,构型信息数据库610和动作信息数据库611可以是集成在一起的数据库。It will be appreciated that the configuration information database 610 and the action information database 611 can be databases that are integrated together.
优选地,控制系统61进一步包括:显示模块617,至少用于显示模块化机器人1a之子单元模块10对应的三维仿真模型及三维仿真模型中子单元模块的编号。Preferably, the control system 61 further includes: a display module 617 for displaying at least a three-dimensional simulation model corresponding to the sub-unit module 10 of the modular robot 1a and a number of the sub-unit module in the three-dimensional simulation model.
优选地,显示模块611显示细胞构型,优选显示模块化机器人1a。进一步该显示模块611还用于显示子单元模块10的编号,如细胞构型包括5个子单元模块10时,显示模块611至少显示5个子单元模块10所构成的三维仿真模型,且每一个三维 仿真的子单元模块10上以数字显示编号1,2,3,4,5以便于用户区分各子单元模块10。Preferably, display module 611 displays the cellular configuration, preferably displaying modular robot 1a. Further, the display module 611 is further configured to display the number of the sub-unit module 10. When the cell configuration includes five sub-unit modules 10, the display module 611 displays at least five three-dimensional simulation models composed of the sub-unit modules 10, and each three-dimensional simulation The subunit module 10 displays the numbers 1, 2, 3, 4, 5 in numbers so that the user can distinguish the subunit modules 10.
优选地,控制系统61进一步包括:子单元模块设定模块612;用于设定子单元模块执行转动对应的转动信息,转动信息包括转动角度、转动方向、转动速度和转动时间中的一种或多种。具体地,子单元模块设定模块612包括子单元模块编号设定模块6121、子单元模块转动角度设定模块6122和子单元模块转动方向设定模块6122,其中子单元模块编号设定模块6121用于设定子单元模块的编号;子单元模块转动角度设定模块6122用于设定子单元模块10的转动角度;子单元模块10转动方向设定模块6122,用于设定子单元模块10的转方向。即通过输入编号选中特定子单元模块10,再通过输入转动角度和转动方向设定子单元模块10的转动。可以理解未经过子单元模块设定模块进行设置的子单元模块10默认为子模块101之间不转动。Preferably, the control system 61 further includes: a subunit module setting module 612; configured to set rotation information corresponding to the rotation of the subunit module, wherein the rotation information includes one of a rotation angle, a rotation direction, a rotation speed, and a rotation time or A variety. Specifically, the subunit module setting module 612 includes a subunit module number setting module 6121, a subunit module rotation angle setting module 6122, and a subunit module rotation direction setting module 6122, wherein the subunit module number setting module 6121 is used for Setting the number of the subunit module; the subunit module rotation angle setting module 6122 is used to set the rotation angle of the subunit module 10; the subunit module 10 rotation direction setting module 6122 is used to set the rotation of the subunit module 10. direction. That is, the specific sub-unit module 10 is selected by the input number, and the rotation of the sub-unit module 10 is set by inputting the rotation angle and the rotation direction. It can be understood that the subunit module 10 that has not been set by the subunit module setting module defaults to no rotation between the submodules 101.
优选地,根据动作信息、转动信息及外接单元设定模块的设定控制模块化机器人运动和/或外接单元执行动作。即在逻辑设定模块中,可设定所述转动信息与所述执行动作和/或所述控制条件之间的逻辑关系。Preferably, the modular robot motion and/or the external unit performs the action according to the motion information, the rotation information, and the setting of the external unit setting module. That is, in the logic setting module, a logical relationship between the rotation information and the execution action and/or the control condition can be set.
作为一种选择,可通过子单元模块设定模块612设置生成动作信息保存在动作信息数据库中。Alternatively, the generated action information may be stored in the action information database by the subunit module setting module 612.
作为一种变形,子单元模块编号设定模块6121可省略,子单元模块10之间以颜色,是否被用户选中等其他方式做区分。作为一种变形,子单元模块10转动方向设定模块6122省略。即转动信息可仅包括转动角度。As a variant, the subunit module number setting module 6121 can be omitted, and the subunit modules 10 are distinguished by other colors such as whether they are selected by the user or the like. As a variant, the subunit module 10 rotation direction setting module 6122 is omitted. That is, the rotation information may include only the rotation angle.
优选地,各模块中可以根据需要设置时间模块以设置转动、吸取等的执行时间。Preferably, a time module can be set in each module as needed to set the execution time of rotation, suction, and the like.
请参阅图6,本发明第三实施例提供一种控制模块化机器人的方法,其包括:Referring to FIG. 6, a third embodiment of the present invention provides a method for controlling a modular robot, including:
步骤T1:获取模块化机器人的构型信息;Step T1: acquiring configuration information of the modular robot;
步骤T2:获取至少一动作信息,该动作信息用于控制所述模块化机器人运动;Step T2: acquiring at least one action information, where the action information is used to control the modular robot motion;
步骤T3:设定外接单元的执行动作和/或设定与外接单元对应的控制条件;及Step T3: setting an execution action of the external unit and/or setting a control condition corresponding to the external unit; and
步骤T4:调用所述动作信息,以及外接单元的执行动作和/或设定与外接单元对应的控制条件图形化编程生成控制模块化机器人工作的可执行程序。Step T4: Calling the action information, and the execution action of the external unit and/or setting the control condition corresponding to the external unit to graphically generate an executable program for controlling the operation of the modular robot.
步骤T5:将可执行程序发送给模块化机器人。具体地,发送给控制主体,控制主体被可擦除地写入程序,然后根据程序控制模块化机器人工作。Step T5: Send the executable program to the modular robot. Specifically, it is sent to the control body, the control body is erasably written into the program, and then the modular robot is controlled according to the program.
优选地,控制模块化机器人的方法包括一执行在步骤T4前的步骤:Preferably, the method of controlling the modular robot includes performing a step prior to step T4:
Ta:设定子单元模块执行的转动信息;该转动信息包括转动角度、转动方向、转动速度和转动时间中的一种或多种;在步骤T4中调用所述动作信息,转动信息,以及外接单元的执行动作和/或设定与外接单元对应的控制条件图形化编程生成控制模块化机器人工作的可执行程序。Ta: setting rotation information performed by the subunit module; the rotation information includes one or more of a rotation angle, a rotation direction, a rotation speed, and a rotation time; in the step T4, the motion information, the rotation information, and the external connection are invoked. Performing actions of the unit and/or setting control conditions corresponding to the external unit Graphically programming generates an executable program that controls the operation of the modular robot.
优选地,控制模块化机器人的方法包括一执行在步骤Ta前的步骤:Preferably, the method of controlling the modular robot comprises performing a step prior to step Ta:
Tx:生成模块化机器人的三维仿真模型,该三维仿真模型与步骤T1中所获取的构型信息对应的模块化机器人相同;Tx: generating a three-dimensional simulation model of the modular robot, the three-dimensional simulation model being the same as the modular robot corresponding to the configuration information acquired in step T1;
Ty:三维仿真模型中的子单元模块被编号;Ty: The subunit modules in the 3D simulation model are numbered;
在步骤Ta中,根据子单元模块的编号区别不同的子单元模块以进行转动信息的输入。每一子单元模块的设定包括编号输入及其转动信息的输入。用户输入子单元模块编号后,针对该编号所输入的转动信息即为该编号对应的子单元模块之转动信息。In step Ta, different subunit modules are distinguished according to the number of the subunit modules to input the rotation information. The setting of each subunit module includes the input of the number input and its rotation information. After the user inputs the subunit module number, the rotation information input for the number is the rotation information of the subunit module corresponding to the number.
优选地,模块化机器人的构型信息来源于一构型信息数据库,所述构型信息通过模块化机器人进行面识别获得,具体面识别的方法与第一实施例所揭示的方法一致,此处不再赘述。Preferably, the configuration information of the modular robot is derived from a configuration information database, and the configuration information is obtained by surface recognition by a modular robot, and the method for specific surface recognition is consistent with the method disclosed in the first embodiment, where No longer.
优选地,所述动作信息来源一动作信息数据库中,步骤T2中动作信息的获得方法包括步骤:Preferably, the action information source is in an action information database, and the method for obtaining action information in step T2 comprises the steps of:
Q1:模块化机器人被单帧操作生成一新构型;优选外力作用于模块化机器人生成一新构型。Q1: The modular robot is operated by a single frame to generate a new configuration; it is preferred that the external force acts on the modular robot to generate a new configuration.
Q2:通过面识别获得新构型对应的构型信息;Q2: obtaining configuration information corresponding to the new configuration by surface recognition;
Q3:模块化机器人被调整前的构型信息与新构型对应的构型信息计算获得一运动帧;Q3: the configuration information of the modular robot before being adjusted is calculated by the configuration information corresponding to the new configuration to obtain a motion frame;
所述运动帧被保存于动作信息数据库成为与该细胞构型对应的动作信息,或重复步骤Q1-Q3获得多个运动帧,所述多个运动帧合并形成一动作信息被保存于动作信息数据库中。The motion frame is stored in the action information database to be action information corresponding to the cell configuration, or steps Q1-Q3 are repeated to obtain a plurality of motion frames, and the plurality of motion frames are combined to form an action information and stored in the action information database. in.
本方法中采用的模块化机器人为第一实施例所揭示的模块化机器人,该方法也可以采用第二实施例所揭示的控制系统来实施。The modular robot employed in the method is the modular robot disclosed in the first embodiment, and the method can also be implemented by using the control system disclosed in the second embodiment.
举例来说,可执行程序在一电子设备端生成,模块化机器人为四足机器人,其包括由主控模块形成的身体和由子单元模块拼接形成的四足,主控模块上1号插接口上连接有超声波传感器。控制模块化机器人的方法为:获取模块化机器人的构型信息,获取控制四足机器人握手动作的动作信息1,控制四足机器人静止不动的动作信息2,设定执行动作信息1的条件为超声波传感器探测到物体(人)与其距离小于等于10cm,设定执行动 作信息2的条件为超声波未探测到障碍物的距离为大于10cm;通过对子单元模块设定转动信息以控制四足机器人执行一低头的动作,设定该低头动作在执行完动作信息2后执行。编译生成可执行程序,该程序被发送给控制主体,控制主体运行该程序,超声波探测器实时感测与人的距离,当探测到四足机器人与人的距离小于等于10cm时,四足机器人执行动作信息1执行握手,反之则执行动作信息2并在执行完毕后执行低头动作。For example, the executable program is generated on an electronic device side, and the modular robot is a four-legged robot, which includes a body formed by the main control module and a four-legged formed by the sub-unit module, and the first control module is connected to the first plug connector. An ultrasonic sensor is connected. The method for controlling the modular robot is: acquiring the configuration information of the modular robot, acquiring the motion information 1 for controlling the handshake motion of the quadruped robot, controlling the motion information 2 of the quadruped robot to be stationary, and setting the condition for executing the motion information 1 as The ultrasonic sensor detects that the distance between the object (person) and the distance is less than or equal to 10 cm, and sets the condition for executing the motion information 2 that the distance at which the ultrasonic wave does not detect the obstacle is greater than 10 cm; and the rotation information is set to the subunit module to control the execution of the quadruped robot. A low-head action is set to execute after the action information 2 is executed. Compiling and generating an executable program, the program is sent to the control body, the control body runs the program, the ultrasonic detector senses the distance from the person in real time, and when the distance between the quadruped robot and the person is detected to be less than or equal to 10 cm, the quadruped robot executes The action information 1 performs a handshake, otherwise the action information 2 is executed and the bow action is performed after the execution is completed.
可以理解在本发明中,控制模块化机器人执行动作的逻辑条件可以是传感器It can be understood that in the present invention, the logic condition for controlling the execution behavior of the modular robot may be a sensor.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的原则之内所作的任何修改,等同替换和改进等均应包含本发明的保护范围之内。The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and any modifications, equivalents, and improvements made within the principles of the present invention should be included in the scope of the present invention.

Claims (14)

  1. 一种模块化机器人的控制系统,其用于控制模块化机器人,模块化机器人上外接有至少一外接单元,模块化机器人的控制系统与模块化机器人之间可通信,其特征在于:模块化机器人的控制系统包括:A modular robot control system for controlling a modular robot, the modular robot is externally connected with at least one external unit, and the control system of the modular robot can communicate with the modular robot, which is characterized by: a modular robot The control system includes:
    构型信息数据库;用于储存至少一模块化机器人的构型信息;a configuration information database; configured to store configuration information of at least one modular robot;
    动作信息数据库;用于储存至少一控制所述模块化机器人运动的动作信息;An action information database; configured to store at least one action information for controlling movement of the modular robot;
    外接单元设定模块;用于设定外接单元的执行动作和/或设定与外接单元对应的控制条件;An external unit setting module; configured to set an execution action of the external unit and/or set a control condition corresponding to the external unit;
    根据动作信息和外接单元设定模块的设定控制模块化机器人运动和/或外接单元执行动作。The modular robot motion and/or the external unit performs the action according to the motion information and the settings of the external unit setting module.
  2. 如权利要求1所述的模块化机器人的控制系统,其特征在于:模块化机器人的控制系统进一步包括:A control system for a modular robot according to claim 1, wherein the control system of the modular robot further comprises:
    逻辑设定模块;用于设定所述动作信息与所述执行动作和/或所述控制条件之间的逻辑关系;及a logic setting module; configured to set a logical relationship between the action information and the execution action and/or the control condition; and
    运行模块;用于将逻辑设定模块设定的内容编译生成可执行程序,该程序用于控制模块化机器人工作。The running module; used to compile the contents set by the logic setting module to generate an executable program for controlling the work of the modular robot.
  3. 如权利要求1所述的模块化机器人的控制系统,其特征在于:模块化机器人包括至少一子单元模块,所述子单元模块包括可相对转动的子模块,两个子模块之间转动从而带动模块化机器人运动,模块化机器人的控制系统进一步包括:The modular robot control system according to claim 1, wherein the modular robot comprises at least one subunit module, wherein the subunit module comprises a relatively rotatable submodule, and the two submodules rotate to drive the module. The robotic motion, modular robot control system further includes:
    子单元模块设定模块;用于设定子单元模块执行转动对应的转动信息,转动信息包括转动角度、转动方向、转动速度和转动时间中的一种或多种;a subunit module setting module; configured to set rotation information corresponding to the rotation of the subunit module, wherein the rotation information comprises one or more of a rotation angle, a rotation direction, a rotation speed, and a rotation time;
    根据动作信息、转动信息及外接单元设定模块的设定控制模块化机器人运动和/或外接单元执行动作。The modular robot motion and/or the external unit performs the action according to the motion information, the rotation information, and the settings of the external unit setting module.
  4. 如权利要求3所述的模块化机器人的控制系统,其特征在于:模块化机器人的控制系统包括:A control system for a modular robot according to claim 3, wherein the control system of the modular robot comprises:
    显示模块,至少用于显示模块化机器人之子单元模块对应的三维仿真模型及三维仿真模型中子单元模块的编号;The display module is configured to display at least a three-dimensional simulation model corresponding to the sub-unit module of the modular robot and a number of the sub-unit module in the three-dimensional simulation model;
    子单元模块设定模块包括:用于设置子单元模块编号的子单元模块编号设定模块,子单元模块编号与所述转动信息一一对应。The subunit module setting module includes: a subunit module number setting module for setting a subunit module number, and the subunit module number is in one-to-one correspondence with the rotation information.
  5. 一种模块化机器人系统,其特征在于:模块化机器人系统包括模块化机器人,和连接在模块化机器人上的外接单元以及如权利要求2所述的模块化机器人的控制系统,运行模块编译生成的可执行程序被可擦除地写入模块化机器人中。A modular robot system, characterized in that the modular robot system comprises a modular robot, and an external unit connected to the modular robot and a control system of the modular robot according to claim 2, which is generated by running the module The executable program is erasably written into the modular robot.
  6. 如权利要求5所述的模块化机器人系统,其特征在于:所述 外接单元为传感器和/或执行器。The modular robotic system of claim 5 wherein said external unit is a sensor and/or an actuator.
  7. 如权利要求5所述的模块化机器人系统,其特征在于:模块化机器人包括一主控模块,所述主控模块用于可擦除地写所述可执行程序并根据程序控制模块化机器人工作,外接单元连接于主控模块上。A modular robotic system according to claim 5, wherein the modular robot includes a main control module for erasably writing the executable program and controlling the modular robot work according to the program. The external unit is connected to the main control module.
  8. 一种控制模块化机器人的方法,模块化机器人上外接有至少一外接单元,其特征在于:控制模块化机器人的方法包括步骤:A method for controlling a modular robot, wherein the modular robot is externally connected with at least one external unit, wherein the method for controlling the modular robot comprises the steps of:
    步骤T1:获取模块化机器人的构型信息;Step T1: acquiring configuration information of the modular robot;
    步骤T2:获取至少一动作信息,该动作信息用于控制所述模块化机器人运动;Step T2: acquiring at least one action information, where the action information is used to control the modular robot motion;
    步骤T3:设定外接单元的执行动作和/或设定与外接单元对应的控制条件;及Step T3: setting an execution action of the external unit and/or setting a control condition corresponding to the external unit; and
    步骤T4:调用所述动作信息,以及外接单元的执行动作和/或设定与外接单元对应的控制条件图形化编程生成控制模块化机器人工作的可执行程序。Step T4: Calling the action information, and the execution action of the external unit and/or setting the control condition corresponding to the external unit to graphically generate an executable program for controlling the operation of the modular robot.
  9. 如权利要求8所述的控制模块化机器人的方法,其特征在于:模块化机器人包括至少一子单元模块,所述子单元模块包括可相对转动的子模块,两个子模块之间转动从而带动模块化机器人运动,控制模块化机器人的方法包括一执行在步骤T4前的步骤:The method of controlling a modular robot according to claim 8, wherein the modular robot comprises at least one subunit module, wherein the subunit module comprises a relatively rotatable submodule, and the two submodules rotate to drive the module. To control the movement of the robot, the method of controlling the modular robot includes performing a step before step T4:
    Ta:设定子单元模块执行的转动信息;该转动信息包括转动角度、转动方向、转动速度和转动时间中的一种或多种;及Ta: setting rotation information performed by the subunit module; the rotation information includes one or more of a rotation angle, a rotation direction, a rotation speed, and a rotation time;
    在步骤T4中调用所述动作信息,转动信息,以及外接单元的执行动作和/或设定与外接单元对应的控制条件图形化编程生成控制模块化机器人工作的可执行程序。The action information, the rotation information, and the execution action of the external unit and/or the control condition corresponding to the external unit are graphically programmed to generate an executable program for controlling the operation of the modular robot in step T4.
  10. 如权利要求9所述的控制模块化机器人的方法,其特征在于:在步骤Ta进行前包括一步骤:A method of controlling a modular robot according to claim 9, wherein the step of performing step Ta includes:
    Tx:生成模块化机器人的三维仿真模型,该三维仿真模型与步骤T1中所获取的构型信息对应的模块化机器人相同;Tx: generating a three-dimensional simulation model of the modular robot, the three-dimensional simulation model being the same as the modular robot corresponding to the configuration information acquired in step T1;
    Ty:三维仿真模型中的子单元模块被编号;Ty: The subunit modules in the 3D simulation model are numbered;
    在步骤Ta中,根据子单元模块的编号区别不同的子单元模块以进行转动信息的输入。In step Ta, different subunit modules are distinguished according to the number of the subunit modules to input the rotation information.
  11. 如权利要求8所述的控制模块化机器人的方法,其特征在于:所述模块化机器人的构型信息来源于一构型信息数据库,所述构型信息的获得方法包括步骤:The method of controlling a modular robot according to claim 8, wherein the configuration information of the modular robot is derived from a configuration information database, and the method for obtaining the configuration information comprises the steps of:
    步骤S1:构建一模块化机器人;模块化机器人包括一个主单元模块和至少一个子单元模块,主控模块和子单元模块之间通过对接部有线连接,或既无线连接又通过对接部有线连接,主单元模块、子单元模块之不同的对接部设置有不同的接口标识信息,界 定与主控模块直接连接的子单元模块为一级子单元模块,与一级子单元模块连接的子单元模块为二级子单元模块,与M级子单元模块连接的子单元模块为(M+1)级子单元模块,M为大于等于1的整数;Step S1: constructing a modular robot; the modular robot includes a main unit module and at least one sub-unit module, and the main control module and the sub-unit module are wiredly connected through the docking part, or both the wireless connection and the wired connection through the docking part, the main The different docking parts of the unit module and the subunit module are provided with different interface identification information, and the subunit module directly connected with the main control module is a first level subunit module, and the subunit module connected with the first level subunit module is two. a sub-unit module, the sub-unit module connected to the M-level sub-unit module is a (M+1)-level sub-unit module, and M is an integer greater than or equal to 1;
    步骤S2:模块化机器人进行面识别获得构型信息;具体面识别包括:Step S2: the modular robot performs surface recognition to obtain configuration information; the specific surface recognition includes:
    步骤S21:发送第一电信号通知子单元模块进行面识别;Step S21: transmitting a first electrical signal to notify the subunit module to perform surface recognition;
    步骤S22:主控模块不同的对接部发出不同的第二电信号或主控模块不同的对接部分时序发出第二电信号;Step S22: different docking portions of the main control module issue different second electrical signals or different docking portions of the main control module to issue second electrical signals;
    步骤S23:一级子单元模块根据其接收的第二电信号确定其连接的主控模块的接口标识信息;一级子单元模块根据接收到第二电信号的对接部获得其自身与主控模块对接的对接部之接口标识信息;及Step S23: The first-level sub-unit module determines the interface identification information of the connected main control module according to the second electrical signal received by the first-level sub-unit module; the first-level sub-unit module obtains its own and the main control module according to the docking part that receives the second electrical signal. Interface identification information of the docking interface; and
    步骤S24:一级子单元模块将其所连接的主控模块的接口标识信息及自身的与主控模块对接的对接部之接口标识信息发送给主控模块或发送至所述程序生成端。Step S24: The first-level sub-unit module sends the interface identification information of the connected main control module and the interface identification information of the interface that is connected to the main control module to the main control module or to the program generation end.
  12. 如权利要求11述的模块化机器人的构建提示方法,其特征在于:面识别过程进一步包括:The method for constructing a prompting of a modular robot according to claim 11, wherein the surface recognition process further comprises:
    S25:每一M级子单元模块不同的对接部发出不同的第二电信号给与其连接的(M+1)级子单元模块或每一M级子单元模块不同的对接部分时序发出第二电信号给与其连接的(M+1)级子单元模块;S25: different docking parts of each M-level sub-unit module issue different second electrical signals to the second (M+1)-level sub-unit module or the different docking parts of each M-level sub-unit module. Signal to the (M+1) level subunit module connected thereto;
    S26:(M+1)级子单元模块根据其接收的第二电信号确定其所连接的M级主控模块的接口标识信息;(M+1)级子单元模块根据接收到第二电信号的对接部获得其自身与M级主控模块对接的对接部之接口标识信息;及S26: The (M+1)-level sub-unit module determines the interface identification information of the M-level main control module to which it is connected according to the second electrical signal received by the (M+1)-level sub-unit module; and the (M+1)-level sub-unit module receives the second electrical signal according to the second electrical signal. The docking part obtains the interface identification information of the docking part of the interface which is connected with the M-level main control module; and
    步骤S27:(M+1)级子单元模块将其所连接的M级子单元模块的接口标识信息及自身的与M级子单元模块对接的对接部之接口标识信息发送给主控模块或发送至所述程序生成端。Step S27: The (M+1)-level sub-unit module sends the interface identification information of the M-level sub-unit module to which it is connected and the interface identification information of the interface of the M-level sub-unit module that is connected to the M-level sub-unit module to the main control module or To the program generation end.
  13. 如权利要求12述的模块化机器人的构建提示方法,其特征在于:不同的同一级子单元模块发送接口标识信息给主控模块的时序不同,不同的M级子单元模块发送给与其连接的(M+1)级子单元模块之电信号的时序不同,子单元模块面识别逐级进行,完成第M级子单元模块的面识别后再进行第(M+1)级子单元模块的面识别。The method for constructing a prompting of a modular robot according to claim 12, wherein different one-stage sub-unit modules send interface identification information to the main control module at different timings, and different M-level sub-unit modules are sent to be connected thereto ( The timing of the electrical signals of the M+1) sub-unit modules is different, and the sub-unit module surface recognition is performed step by step, and the surface recognition of the (M+1)-th sub-unit module is performed after the surface recognition of the M-th sub-unit module is completed. .
  14. 如权利要求12所述的控制模块化机器人的方法,其特征在于:所述动作信息的获得方法包括步骤:The method of controlling a modular robot according to claim 12, wherein the method for obtaining the motion information comprises the steps of:
    Q1:模块化机器人被单帧操作生成一新构型;Q1: The modular robot is generated by a single frame operation to generate a new configuration;
    Q2:通过面识别获得新构型对应的构型信息;Q2: obtaining configuration information corresponding to the new configuration by surface recognition;
    Q3:模块化机器人被调整前的构型信息与新构型对应的构型信息计算获得一运动帧;Q3: the configuration information of the modular robot before being adjusted is calculated by the configuration information corresponding to the new configuration to obtain a motion frame;
    所述运动帧被保存于构型信息数据库成为与该细胞构型对应的动作信息,或重复步骤Q1-Q3获得多个运动帧,所述多个运动帧合并形成一动作信息被保存于构型信息数据库中。The motion frame is saved in the configuration information database to become action information corresponding to the cell configuration, or steps Q1-Q3 are repeated to obtain a plurality of motion frames, and the plurality of motion frames are combined to form an action information and are saved in the configuration. In the information database.
PCT/CN2018/121433 2017-12-19 2018-12-17 Control system for modular robot, modular robot system, and control method for modular robot WO2019120148A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711378224.6 2017-12-19
CN201711378224.6A CN108189029B (en) 2017-12-19 2017-12-19 Control system of modular robot, modular robot system and method for controlling modular robot

Publications (1)

Publication Number Publication Date
WO2019120148A1 true WO2019120148A1 (en) 2019-06-27

Family

ID=62577042

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/121433 WO2019120148A1 (en) 2017-12-19 2018-12-17 Control system for modular robot, modular robot system, and control method for modular robot

Country Status (2)

Country Link
CN (1) CN108189029B (en)
WO (1) WO2019120148A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021139143A1 (en) * 2020-01-07 2021-07-15 北京可以科技有限公司 Module unit position servo system and control method therefor, and modular robot
CN116214528A (en) * 2023-05-10 2023-06-06 深圳市安信达存储技术有限公司 Storage control method and control system for humanoid robot

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108326846B (en) 2017-12-19 2020-11-03 北京可以科技有限公司 Modular robot and module unit position calculation method thereof
CN108189029B (en) * 2017-12-19 2020-10-30 北京可以科技有限公司 Control system of modular robot, modular robot system and method for controlling modular robot
CN109227542B (en) * 2018-10-16 2021-04-13 深圳市睿科智联科技有限公司 Cooperative robot construction method and system, mobile terminal and storage medium
CN110065071B (en) * 2019-05-11 2021-11-09 西安电子科技大学 Group self-assembly robot configuration method based on three-element configuration description
CN111190387B (en) * 2020-01-07 2022-07-05 北京可以科技有限公司 Robot control method and system
US11184330B2 (en) * 2020-03-09 2021-11-23 International Business Machines Corporation Automated secured login for robot process automation applications
CN112296991B (en) * 2020-06-04 2022-03-25 北京空间飞行器总体设计部 Cell robot capable of realizing idea of group effect and topological structure self-adaptation
WO2022205207A1 (en) * 2021-03-31 2022-10-06 深圳市大疆创新科技有限公司 Gimbal, and configuration recognition method and apparatus therefor

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030038607A1 (en) * 2001-08-24 2003-02-27 Xerox Corporation Robotic toy modular system
CN102189540A (en) * 2010-03-05 2011-09-21 上海未来伙伴机器人有限公司 Modularized robot
CN103942937A (en) * 2014-01-07 2014-07-23 东南大学 Communication apparatus of modularization self-configuration robot and communication method thereof
CN106272550A (en) * 2016-08-17 2017-01-04 北京可以科技有限公司 Configuration controls information processing method and device
CN107471206A (en) * 2017-08-16 2017-12-15 大连交通大学 A kind of modularization industrial robot reconfiguration system and its control method
CN108115686A (en) * 2017-12-19 2018-06-05 北京可以科技有限公司 The structure reminding method and system of a kind of modular unit
CN108189029A (en) * 2017-12-19 2018-06-22 北京可以科技有限公司 The method of the control system of modularization robot, modularization robot system and control module robot
CN108326841A (en) * 2017-12-19 2018-07-27 北京可以科技有限公司 Modularization robot and its system, control method, structure reminding method and the bearing calibration for building modularization robot
CN108356806A (en) * 2017-12-19 2018-08-03 北京可以科技有限公司 Modularization robot control method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6575802B2 (en) * 2001-08-24 2003-06-10 Xerox Corporation Robotic toy modular system with distributed program
CN102765087B (en) * 2012-07-31 2014-08-20 东南大学 Modular self-reconfigurable robot and method for controlling deformation thereof
CN105171720B (en) * 2015-10-12 2018-03-09 北京可以科技有限公司 A kind of multi-degree-of-freemechanical mechanical arm based on cellular machineries people's monomer
CN106945036A (en) * 2017-03-21 2017-07-14 深圳泰坦创新科技有限公司 Robot motion generation method and device
CN107363808A (en) * 2017-06-15 2017-11-21 华东理工大学 A kind of modularization drive lacking spring-go robot cell's module

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030038607A1 (en) * 2001-08-24 2003-02-27 Xerox Corporation Robotic toy modular system
CN102189540A (en) * 2010-03-05 2011-09-21 上海未来伙伴机器人有限公司 Modularized robot
CN103942937A (en) * 2014-01-07 2014-07-23 东南大学 Communication apparatus of modularization self-configuration robot and communication method thereof
CN106272550A (en) * 2016-08-17 2017-01-04 北京可以科技有限公司 Configuration controls information processing method and device
CN107471206A (en) * 2017-08-16 2017-12-15 大连交通大学 A kind of modularization industrial robot reconfiguration system and its control method
CN108115686A (en) * 2017-12-19 2018-06-05 北京可以科技有限公司 The structure reminding method and system of a kind of modular unit
CN108189029A (en) * 2017-12-19 2018-06-22 北京可以科技有限公司 The method of the control system of modularization robot, modularization robot system and control module robot
CN108326841A (en) * 2017-12-19 2018-07-27 北京可以科技有限公司 Modularization robot and its system, control method, structure reminding method and the bearing calibration for building modularization robot
CN108356806A (en) * 2017-12-19 2018-08-03 北京可以科技有限公司 Modularization robot control method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021139143A1 (en) * 2020-01-07 2021-07-15 北京可以科技有限公司 Module unit position servo system and control method therefor, and modular robot
CN116214528A (en) * 2023-05-10 2023-06-06 深圳市安信达存储技术有限公司 Storage control method and control system for humanoid robot
CN116214528B (en) * 2023-05-10 2023-10-03 深圳市安信达存储技术有限公司 Storage control method and control system for humanoid robot

Also Published As

Publication number Publication date
CN108189029A (en) 2018-06-22
CN108189029B (en) 2020-10-30

Similar Documents

Publication Publication Date Title
WO2019120148A1 (en) Control system for modular robot, modular robot system, and control method for modular robot
US20240157263A1 (en) Connecting structures in a modular construction kit
WO2019120155A1 (en) Modularized robot, system thereof, control method for modularized robot
Kragic et al. Interactive, Collaborative Robots: Challenges and Opportunities.
Guhl et al. Concept and architecture for programming industrial robots using augmented reality with mobile devices like microsoft HoloLens
US9873200B2 (en) Personal robot
WO2017120625A1 (en) Smart home control using modular sensing device
KR20170109999A (en) System and method for debugging robot based on artificial intelligence
CN103101054A (en) Programming and control system of mobile phone to robot
JP7184595B2 (en) machine tool system
US11854379B2 (en) Method, device, and computer-readable medium for mobile device management of collaborative industrial robot
Yeole et al. Smart phone controlled robot using ATMEGA328 microcontroller
CN114868093A (en) Handheld device, system and method for training at least one movement and at least one activity of a machine
EP4089490A1 (en) Robot control method, control system, and modular robot
Johns et al. Robo-Stim: modes of human robot collaboration for design exploration
Rigano et al. Towards a robot hardware abstraction layer (r-hal) leveraging the xbot software framework
CN105904460A (en) Control system for real-time human-simulated dance robot
KR101698472B1 (en) Base block and assembly toys comprising thereof
KR20140136141A (en) Robot animal and robot zoo comprising the same
JP7442413B2 (en) Simulation equipment and simulation system
Secil et al. Design of an application programming interface (API) for commercial industrial robots
Rétornaz et al. Seamless multi-robot programming for the people: ASEBA and the wireless Thymio II robot
Förster et al. MOTEL—A Mobile Robotic-Assisted Wireless Sensor Networks Testbed
WO2022191218A1 (en) Program management device, robot control system, and program management method
KR20210020192A (en) Module-type Drone

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18890604

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 25/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18890604

Country of ref document: EP

Kind code of ref document: A1