WO2019120150A1 - Modular robot control method and system - Google Patents
Modular robot control method and system Download PDFInfo
- Publication number
- WO2019120150A1 WO2019120150A1 PCT/CN2018/121436 CN2018121436W WO2019120150A1 WO 2019120150 A1 WO2019120150 A1 WO 2019120150A1 CN 2018121436 W CN2018121436 W CN 2018121436W WO 2019120150 A1 WO2019120150 A1 WO 2019120150A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- modular
- cell
- monomer
- initial
- Prior art date
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1615—Programme controls characterised by special kind of manipulator, e.g. planar, scara, gantry, cantilever, space, closed chain, passive/active joints and tendon driven manipulators
- B25J9/1617—Cellular, reconfigurable manipulator, e.g. cebot
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J13/00—Controls for manipulators
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/08—Programme-controlled manipulators characterised by modular constructions
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1602—Programme controls characterised by the control system, structure, architecture
- B25J9/1605—Simulation of manipulator lay-out, design, modelling of manipulator
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1612—Programme controls characterised by the hand, wrist, grip control
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1656—Programme controls characterised by programming, planning systems for manipulators
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1656—Programme controls characterised by programming, planning systems for manipulators
- B25J9/1671—Programme controls characterised by programming, planning systems for manipulators characterised by simulation, either to verify existing program or to create and verify new program, CAD/CAM oriented, graphic oriented programming systems
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/40—Robotics, robotics mapping to robotics vision
- G05B2219/40304—Modular structure
Definitions
- the invention relates to the field of modular robots, and in particular to a modular robot control method and system.
- 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 used for specific purposes and occasions. There is only one main function, and the degrees of freedom and configuration are fixed. Change, lack of functional scalability and reconfigurability of configuration. In addition, the cost of developing a specific robot for each field and each application is very large, which seriously restricts the promotion and application of the robot. Therefore, reconfigurable robots came into being.
- Reconfigurable robots are usually obtained by combining a main module and a plurality of basic modules.
- the basic structures of the multiple basic modules are the same, and the connection faces are provided to realize the combination, but the user cannot verify in the process of combining the module robots. Whether the combined structure is correct or not, brings a lot of repetitive assembly work to the user, resulting in a poor experience.
- the present invention provides a modular robot control method and system.
- the solution to solve the technical problem of the present invention is to provide a modular robot control method, which comprises the following steps:
- T1 providing a plurality of modular units
- T2 assembling a plurality of modular units into an initial physical structure
- T3 obtaining initial virtual configuration information of the initial entity structure
- T4 generating an initial virtual configuration according to the initial virtual configuration information
- T5 setting an action frame to generate preset action control information
- T6 The preset motion control information is transmitted to the modular robot, and the modular robot performs the motion according to the preset motion control information.
- the module unit comprises two sub-modules that are relatively rotatable, and the step T5 specifically comprises the following steps:
- T51 controlling relative rotation between two sub-modules of one or more modular units to generate one or more motion frames
- T52 storing the one or more motion frames
- T53 Generate preset motion control information according to the one or more motion frames.
- step T51 is controlling relative rotation between two sub-modules of one or more modular units in the initial physical structure or controlling the relative between two sub-modules of one or more modular units in the initial virtual configuration Rotate.
- the step T53 is specifically:
- the editing action frame includes one or more of an edit rotation time, a rotation speed, a rotation angle, and a rotation direction.
- the initial virtual configuration information includes one or more of module category information, module quantity information, location information, and initial angle information between the two sub-modules of the plurality of module units.
- a plurality of modular units may comprise a plurality of identical or different modular units, the modular units comprising two relatively movable submodules, each submodule comprising at least one pair of joints, each having a unique interface Identification information, where the location information of the multiple module units that obtain the initial entity structure is specifically:
- the module unit identifies the interface identification information of the docking part of the adjacent module unit connected thereto, and obtains the interface identification information according to the interface identification information of the docking part of the adjacent module unit and the interface identification information of the docking part of the connection with the adjacent module unit. location information.
- said plurality of modular units comprise at least one modular unit communicable with a remote terminal, said plurality of modular units comprising a cellular body and at least one cell when the plurality of modular units comprises a plurality of different modular units
- the module unit that defines the communication with the remote terminal is a cell body, and the cell monomer directly connected to the cell body is a first-level cell unit, and the location information of the plurality of module units that acquire the initial physical structure includes the following steps:
- T31 the cell body transmits a signal through the docking portion to the primary cell monomer connected thereto;
- the first-level cell monomer performs surface recognition after receiving the signal to obtain interface identification information of the docking part of the cell body sending signal, and the first-level cell monomer transmits the interface identification information of the interface of the cell body to the signal and the self-receiving signal thereof.
- the interface identification information of the docking portion is transmitted to the cell body to obtain the position information of the primary cell monomer.
- the cell monomer defined to be linked to the primary cell monomer is a secondary cell monomer
- the cell monomer linked to the M-class cellular monomer is a (M+1)-order cell monomer, and M is greater than or equal to 1.
- M is greater than or equal to 1.
- the location information of the multiple module units that obtain the initial entity structure further includes the following steps:
- T33 M-class cell monomer signals to (M+1)-level cell monomer
- T34 (M+1)-level cell monomer performs surface recognition after receiving the signal to obtain interface identification information of the interface of the M-level cell monomer transmitting signal, and (M+1)-level cell monomer will be M-level cell monomer
- the interface identification information of the interface of the transmitted signal and the interface identification information of the interface of the self-received signal are transmitted to the cell body.
- the interface of the plurality of lower cell monomers to transmit the interface of the different electrical signals according to the cell body or the superior cell monomer The identification information periodically returns its position information to the cell body; or the cell body or the cell monomer sequentially transmits the same or different electrical signals to the plurality of lower-level cell monomers, and the plurality of lower-level cell monomers are based on the received electrical signals.
- the timing sequentially returns its position information to the cell body.
- the cell monomer monitors the relative angle information between the two sub-modules in real time during the execution of the action, and determines whether the action is completed according to the detection result.
- the present invention also provides a modular robot control system for controlling an initial physical structure spliced by a plurality of modular units, the plurality of modular units including a modular unit communicable with a remote terminal, the modular robot Control system includes
- a storage module configured to store initial virtual configuration information of the initial physical structure
- a configuration generation module configured to generate an initial virtual configuration of the modular robot according to the initial virtual configuration information
- An action generation module configured to generate preset action control information
- the transmission module is configured to transmit the preset motion control information to the modular robot to perform according to the preset motion control information.
- the invention also provides a modular robot control system, the modular robot control system comprising:
- a modular robot assembled from a plurality of modular units having an initial physical structure
- a memory and one or more programs, wherein one or more of said programs are stored in said memory, said memory being in communication with a module unit, said program being operative to:
- the plurality of modular units comprise a cell body and at least one cell monomer, each docking portion having unique interface identification information, and the cell monomer defining the direct connection with the cell body is a primary cell monomer,
- Obtaining the initial virtual configuration information of the initial entity structure specifically includes the following steps:
- the cell body transmits a signal through the docking portion to the primary cell monomer to which it is attached;
- the primary cell monomer After receiving the signal, the primary cell monomer performs surface recognition to obtain interface identification information of the docking portion of the signal transmitted by the cell body, and the primary cell monomer interfaces the interface identification information of the docking portion of the signal transmitted by the cell body with its own receiving signal.
- the interface identification information of the part is transmitted to the cell body to obtain the position information of the primary cell monomer.
- the modular robot control method of the present invention comprises the following steps: T1: providing a plurality of modular units; T2: assembling a plurality of modular units into an initial physical structure; and T3: acquiring an initial virtual initial structure Configuration information; T4: generating an initial virtual configuration according to initial virtual configuration information; T5: setting an action frame to generate preset motion control information; and T6: transmitting preset motion control information to a modular robot, modular robot Perform motion according to preset motion control information.
- the control method of the modular robot of the present invention can enable the user to assemble the configuration arbitrarily and design control information for controlling the execution behavior of the assembly configuration, greatly improving the usability of the modular robot, and increasing the modular robot. Design space makes it suitable for more scenes.
- one or more of the rotation time, the rotation speed, the rotation angle and the rotation direction of the motion frame can be edited, and various parameters can be adjusted for the control action information, thereby enriching the design space of the modular robot.
- the position of each module unit can be accurately obtained by surface recognition, which is simple and fast, and has low hardware requirements.
- the control system of the modular robot of the present invention also has the above advantages.
- FIG. 1 is a flow chart showing a method of controlling a modular robot according to a first embodiment of the present invention.
- FIG. 2 is a schematic diagram showing a sub-flow of step T3 in the modular robot control method according to the first embodiment of the present invention.
- step T5 is a schematic diagram showing a sub-flow of step T5 in the modular robot control method according to the first embodiment of the present invention.
- Fig. 4 is a view showing the exploded structure of the angle measuring device of the first embodiment of the present invention.
- Fig. 5 is a perspective view showing the structure of a rotating shaft according to a first embodiment of the present invention.
- Fig. 6 is a perspective view showing the structure of a sensor according to a first embodiment of the present invention.
- Fig. 7 is a schematic view showing the measurement principle of the sensor of the first embodiment of the present invention.
- Figure 8 is a block diagram showing the structure of a modular robot control system in accordance with a second embodiment of the present invention.
- Figure 9 is a block diagram showing the structure of a modular robot control system in accordance with a third embodiment of the present invention.
- a first embodiment of the present invention further provides a modular robot control method, the modular robot comprising at least two modular units, each modular unit comprising two sub-modules that are relatively movable, such as two
- the sub-modules are relatively rotatable, preferably each modular unit is composed of two upper and lower hemispheres capable of relative rotational movement, each sub-module comprising at least one pair of joints, each of which is provided with an interface, each interface having a unique interface
- the identification information is connected between the module unit and the module unit through the docking portion.
- each sub-module includes at least two docking portions
- the two module units are connected by a respective docking portion, and a virtual connecting surface is formed at a connecting position of the two module units, and the two module units are based on the virtual connecting surface. Rotating, a plane in which at least one other docking portion on at least one of the two modular units is located intersects the virtual connecting surface.
- the configuration information includes, but is not limited to, one or more of module type information, location information, module quantity information, and initial angle information between two sub-modules
- the configuration information is information for defining a connection relationship between adjacent module units, wherein the location information is used to record interface identification information of two docking portions to which adjacent module units are connected, and interface identification information of each docking portion.
- the position information of each module unit represents its absolute position in a three-dimensional spatial configuration or a planar configuration; the module unit of the same category is provided with The same module type identifier, for example, the cell bodies all have the same module type identifier, the cell monomers have the same module type identifier, and the module type identifier of the cell body is inconsistent with the module type identifier of the cell monomer, when the cell list
- the cell monomers of each category have the same module type identifier, different
- the module type identifiers of other cell monomers are different, so that the module type information of the module unit can be known by identifying the module type identifier; the initial angle information between the two submodules refers to the relative relationship between the upper and lower submodules of the module unit.
- the number of module units refers to the number of module units.
- the process of identifying the interface identification information of the two docking portions connected between the two adjacent module units is a surface recognition process, and the position information of the module unit can be obtained by performing face recognition. It will be understood that the definitions herein apply equally to other embodiments of the present specification.
- the modular robot control method includes the following steps:
- T1 providing a plurality of modular units
- T2 assembling a plurality of modular units into an initial physical structure
- T3 obtaining initial virtual configuration information of the initial entity structure
- T4 generating an initial virtual configuration of the modular robot according to the initial virtual configuration information
- T5 setting an action frame to generate preset action control information
- T6 The preset motion control information is transmitted to the modular robot, and the modular robot performs the motion according to the preset motion control information.
- the plurality of module units provided may include at least one module unit that communicates with the remote terminal, thereby implementing communication between the modular robot and the remote terminal.
- the plurality of module units provided include at least one module unit that can perform the subsequent steps.
- step T2 a plurality of modular units are assembled into a modular robot, and the specific structure of the modular robot is an initial physical structure.
- the initial virtual configuration information may be uploaded to the remote terminal to obtain the initial virtual configuration information of the initial physical structure, and the at least one module unit uploads the initial physical structure of the assembled modular robot to the remote terminal.
- the remote terminal obtains the initial virtual configuration information of the initial entity structure; or at least one of the plurality of module units acquires the initial virtual configuration information of the initial entity structure and stores it instead of transmitting to the remote terminal.
- the initial virtual configuration information includes one or more of location information, module type information, module quantity information, initial angle information between the upper and lower sub-modules, and other information defining a connection relationship between adjacent module units.
- the module unit transmits its own module type information to the cell body by means of wireless transmission; after all the module units transmit their location information to the remote terminal, the remote terminal obtains the module quantity information of the initial entity structure; The initial angles of the upper and lower submodules are detected and their initial angle information is wirelessly transmitted to the remote terminal.
- a plurality of module units of an initial physical structure may include a plurality of identical or different modular units, and the plurality of modular units include at least one modular unit that can communicate with a remote terminal, and multiple modular units of the initial physical structure
- a plurality of modular units include a cell body and at least one cell monomer, and the cell body is used to communicate with the remote terminal, and the cell monomer directly defining the cell body is a primary cell monomer.
- the cell monomer linked to the primary cell monomer is a secondary cell monomer
- the cell monomer linked to the M-class cellular monomer is a (M+1)-order cell monomer, and M is an integer greater than or equal to 1.
- the obtaining the initial virtual configuration information of the initial entity structure specifically includes the following steps:
- T31 the cell body transmits a signal through the docking portion to the primary cell monomer connected thereto;
- the first-level cell monomer performs surface recognition after receiving the signal to obtain interface identification information of the docking part of the cell body sending signal, and the first-level cell monomer transmits the interface identification information of the interface of the cell body to the signal and the self-receiving signal thereof.
- the interface identification information of the docking portion is transmitted to the cell body to obtain the position information of the primary cell monomer;
- T33 M-level cellular monomer signals to (M+1)-level cellular monomer
- T34 (M+1)-level cell monomer performs surface recognition after receiving the signal to obtain interface identification information of the interface of the M-level cell monomer transmitting signal, and (M+1)-level cell monomer will be M-level cell monomer
- the interface identification information of the interface of the transmitted signal and the interface identification information of the interface of the self-received signal are transmitted to the cell body.
- the signal transmitted by the cell body to the primary cell monomer and the signal transmitted by the M-class cell monomer to the (M+1)-order cell monomer are preferably electrical signals or wireless signals.
- the step T33 and the step T34 may be omitted.
- one of the modular units is defined as a main modular unit, that is, the above-mentioned cellular main body, and the modular unit directly connected to the main modular unit is a primary cell unit.
- the modular unit linked to the primary cell monomer is a secondary cellular monomer
- the modular unit linked to the M-class cellular monomer is a (M+1)-order cellular monomer, and M is an integer greater than or equal to 1, and the above steps are also performed.
- T31 ⁇ T34 the multi-level cell monomers can directly transmit their respective location information directly to the remote terminal without being transmitted to the main module unit.
- the process of obtaining the location information of the multiple module units of the initial physical structure is: the module unit identifies the interface identification information of the interface of the adjacent module unit connected thereto, and according to the interface identification information of the interface of the adjacent module unit and The interface identification information of the docking part that itself is connected to the adjacent module unit obtains its location information.
- step T31 perform the following steps before or at the same time as step T31.
- Step T30 The cell body sends a broadcast signal to notify each cell monomer to prepare for face recognition.
- wireless communication can be performed between the module unit and the module unit, and the manner of wireless communication can be wifi communication, Bluetooth communication or zigbee communication, preferably zigbee communication.
- the cell body first broadcasts a signal to each cell monomer to enter the face recognition preparation state, and waits until each cell monomer receives an electrical signal to perform a face recognition action.
- each docking portion on the cell body sends a different electrical signal to the plurality of primary cell monomers
- the plurality of primary cell monomers are obtained according to the difference of the received electrical signals.
- the interface identification information of the docking portion of the cell body connected thereto, and each of the first-level cell monomers replies together with the interface identifier information of the docking portion of the cell body transmitting the electrical signal and the interface identifier information of the docking portion of the self-receiving electrical signal.
- the cell body and the cell body are calculated by algorithm to obtain the position information of the first-level cell monomer. After the plurality of first-level cell monomers perform the same action, the cell body obtains the position information of the plurality of primary cell monomers.
- each docking portion on the M-class cell monomer sends a different electrical signal to a plurality of (M+1)-level cell monomers, and a plurality of (M+1)-level cell monomers are The received electrical signal is different to obtain the interface identification information of the docking portion of the M-class cell monomer connected thereto, and each (M+1)-level cell monomer transmits the M-level cell monomer to the docking portion of the electrical signal.
- the interface identification information and the interface identification information of the interface of the interface for receiving the electrical signal are returned to the cell body, and the cell body calculates the position information of the (M+1)-level cell monomer by an algorithm, and the plurality of (M+1)-level cells After the monomer performs the same action, the cell body obtains positional information of a plurality of (M+1)-order cell monomers. After a series of face recognition, the cell body obtains the positional information of all the cell monomers to obtain the configuration information of the initial entity structure.
- the interface of the plurality of lower cell monomers to transmit the interface of the different electrical signals according to the cell body or the superior cell monomer.
- the identification information periodically returns its position information to the cell body; or the cell body or the cell monomer sequentially transmits the same or different electrical signals to the plurality of lower-level cell monomers, and the plurality of lower-level cell monomers are based on the received electrical signals.
- the timing sequentially returns its position information to the cell body.
- the cell body is provided with two docking portions, and the interface identification information is defined as 1 and 2, respectively, and the cell body simultaneously sends two different electrical signals to the two first-level cell monomers connected thereto, and the setting and docking portion
- the first-stage cell monomer connected to the first phase returns its position information, waits for 10 s (the specific time can be adjusted by itself), and the primary cell monomer connected to the docking part 2 returns its position information.
- Step T32a The cell body stops transmitting an electrical signal, and notifies the primary cell monomer directly connected to the cell body to transmit an electrical signal to the secondary cell monomer linked to the primary cell monomer. It is to be understood that, in the step S22a, the cell body is preferably notified of the primary cell monomer by means of a broadcast signal. It can be understood that, before the M-level cell monomer transmits the electrical signal, the cell body sequentially controls the M-level cell monomer to transmit the electrical signal to the plurality according to the interface identification information of the plurality of docking portions of the M-level cell monomer. M+1) cell monomer, the electrical signals sent to the plurality of (M+1) cell monomers may be the same or different, preferably sent by multiple docking stations of the M cell monomer Different electrical signals.
- the cell body individually numbers each cell monomer after receiving the position information transmitted from the cell monomer, and stores the position information of each cell monomer in association with the number.
- the cell body communicates with the remote terminal, the cell body transmits the location information of each cell cell and its number to the remote terminal.
- the remote terminal sends the action control information to the cell body, the cell body decomposes the control information according to different numbers and transmits the decomposed control information to each cell monomer according to the number.
- the remote terminal or the module unit storing the initial virtual configuration information in the step T3 generates the initial virtual configuration of the modular robot according to the initial virtual configuration information.
- the remote terminal generates an initial virtual configuration of the modular robot by means of three-dimensional simulation or three-dimensional modeling according to the obtained initial virtual configuration information.
- step T5 specifically includes the following steps:
- T51 controlling relative rotation between two sub-modules of one or more modular units to generate one or more motion frames
- T52 storing the one or more motion frames
- T53 Generate preset motion control information according to the one or more motion frames.
- controlling the relative rotation between the two sub-modules of one or more modular units may be performed in the initial physical structure or in the initial virtual configuration.
- the two sub-modules of a cell monomer can be controlled to rotate relative to each other in a modular robotic configuration, and the cell monomer can detect the relative rotation angle values of the two sub-modules and transmit to the cell body, and the cell body will The angle value is transmitted to the remote terminal together with the number of the cell monomer and/or the position information of the cell monomer, and the remote terminal determines the cell monomer based on the number of the cell monomer and/or the position information of the cell monomer.
- Identity retrieve the initial angle information of the two sub-modules of the cell unit, and calculate the relative angle information between the two sub-modules after the rotation, and will shift from the initial angular position to the current angular position.
- the process is saved as an action frame; the two sub-modules of another cell monomer are rotated, or the two sub-modules of the same cell cell are continuously rotated, and the same terminal is saved as another action frame after the same information transmission and calculation processing. Further, a plurality of motion frames are formed.
- the two sub-modules of one or more modular units can be selected to be rotated at a certain angle and saved as one motion frame in the initial virtual configuration of the modular robot generated by the remote terminal, and then another cell monomer or The same cell unit rotates at a certain angle to form another motion frame, thereby obtaining a plurality of motion frames.
- step T53 is specifically:
- Adding, deleting, or editing one or more motion frames to generate preset motion control information may be made in the remote terminal.
- one or more motion frames can be selected on the operation interface of the remote terminal, and one or more of the rotation angle, the rotation direction, the rotation time, and the rotation speed of the motion frame can be selected after selecting one of the motion frames.
- the parameters are edited, or the ordering of multiple motion frames can be edited, and finally the preset motion control information is generated.
- the cell body decomposes the preset motion control information according to the number of different cell monomers, and respectively decomposes according to different numbers. Part of the preset motion control information is transmitted to the corresponding cell monomer, and the cell unit performs the action after receiving some preset motion control information. It can be understood that the cell monomer monitors the relative angle information between the two sub-modules in real time during the execution of the action, and determines whether the action is completed according to the detection result.
- the cell monomer transmits a signal to the cell body, and the cell body transmits the signal to the remote terminal to inform the cell monomer that the action has been completed; or the cell monomer directly transmits the signal to the remote device. terminal.
- the modular robot control method further includes the following steps:
- T7 Store the initial virtual configuration, initial virtual configuration information, and preset motion control information. After generating the preset motion control information, the initial virtual configuration, the initial virtual configuration information, and the preset motion control information are stored in association with each other in the database, and then assembled according to the initial virtual configuration stored in the database, and the assembled The configuration is compared with the initial virtual configuration stored in the database and corrected. When the configuration information of the assembled configuration is consistent with the initial virtual configuration information stored in the database, the corresponding association can be directly retrieved from the database. Presetting the action control information to perform the action; or when the database has stored enough initial virtual configurations, the configuration information of the randomly assembled configuration is matched with the initial virtual configuration information in the database. When the configuration information of the randomly assembled configuration is the same as the initial virtual configuration information, the corresponding action control information may be directly retrieved from the database to perform the action.
- each cell unit is provided with an angle measuring device 101, which includes a rotating shaft 104 and a sensor 103.
- the rotating shaft 104 includes an opposite first end 1041 and a second end 1043.
- the first end 1041 of the rotating shaft 104 is connected to the sensor 103, and the second end 1043 of the rotating shaft 104 is connected to one of the submodules, and the sensor 103 is connected to another submodule, so that the rotation between the two submodules can be It is detected by the sensor 103.
- the cross-sectional shape of the first end 1041 of the rotating shaft 104 is preferably substantially "D-shaped", and the rotating shaft 104 and the sensor 103 are inserted into the sensor 103 when connected, which can play a foolproof effect, and when the rotating shaft 104 is removed, again Mounting the rotating shaft 104 also requires installation from the same angle.
- the second end 1043 of the rotating shaft 104 is preferably of a pointer type. When the rotating shaft 104 is connected to one of the sub-modules of the module unit, the anti-staying function is also played. When the rotating shaft 104 is removed, the rotating shaft 104 is installed again. Install at the same angle.
- the sub-module connected to the rotating shaft 104 and the sensor 103 are moderately maintained at the same angle, and the cell unit is disassembled and then reassembled without re-adjustment.
- the shapes of the first end 1041 and the second end 1043 of the rotating shaft 104 are not completely limited to the shape in the embodiment, and may be made into other foolproof structures to achieve a foolproof effect.
- the foolproof structure is a modification that is easily conceived by those skilled in the art, and the present embodiment will not be further illustrated.
- the sensor 103 includes an angle measuring circuit board 1031, a first potentiometer 1032 and a second potentiometer 1033.
- the first potentiometer 1032 and the second potentiometer 1033 are electrically connected in parallel, two The dead zone portions of the potentiometer are not covered by each other, the angle measuring circuit board 1031 is disposed between the first potentiometer 1032 and the second potentiometer 1033, and the first potentiometer 1032 and the second potentiometer 1033 are both connected to the angle measuring circuit board 1031.
- the first potentiometer 1032 and the second potentiometer 1033 are also electrically connected to the angle measuring circuit board 1031.
- the first potentiometer 1032 includes a first resistor 1034 and a first slider 1035
- the second potentiometer 1033 includes a second resistor 1036 and a second slider 1037.
- the end of the first slider 1035 slides over the first resistor 1034, the end of the second slider 1037 slides over the second resistor 1036, and the first slider 1035 and the second slider 1037 are fixedly connected by an insulating material. .
- the first slider 1035 and the second slider 1037 share the same rotating shaft, that is, the first slider 1035 and the second slider 1037 are both connected to the first end 1041 of the rotating shaft 104 and rotate around the rotating shaft 104.
- the dead portion of the first resistor 1034 is partially covered by the non-dead portion of the second resistor 1036, and the dead portion of the second resistor 1036 is covered by the non-dead portion of the first resistor 1034.
- the angle measuring circuit board 1031 integrates input and output ports of the first potentiometer 1032 and the second potentiometer 1033.
- the input and output ports include a port to which the resistor is connected to the voltage Vcc, a ground port, and an output port of the slider. It can be understood that the angle measuring circuit board 1031 can also be omitted.
- the first potentiometer 1032 and the second potentiometer 1033 are directly electrically connected to the main circuit board (not shown) of the cell, and the angle measurement is integrated on the main circuit board.
- a functional module of the circuit board 1031 A functional module of the circuit board 1031.
- the dead zone portion of the potentiometer defined in the embodiment of the present invention includes two sections: 1. an area that cannot be directly measured by a single potentiometer, that is, an area between two end points of the resistor, such as in FIG. Inferior arc AOD; 2. The area where the measurement accuracy is not high near the end portion of the single potentiometer, such as the inferior arc AOB and the inferior arc COD in Fig. 7, where the two critical endpoints B and C of the region with low measurement accuracy are correspondingly sliding The minimum voltage and maximum voltage output by the device. Then, the dead zone portion of the first potentiometer 1032 in FIG. 7 is defined as a poor arc BOC region.
- the center of the common shaft of the two sliders is marked as O
- the end of the first resistor 1034 connected to the voltage Vcc is labeled D
- the end of the first resistor 1034 is grounded as A
- the end of the second resistor 1036 is labeled G.
- Vmin and Vmax are Vmin and Vmax, respectively, wherein Vmin ⁇ Vmax is an output voltage range in which the first potentiometer 1032 measures the measurement accuracy of the rotation angle of the first slider 1035.
- Vmin ⁇ Vmax is an output voltage range in which the first potentiometer 1032 measures the measurement accuracy of the rotation angle of the first slider 1035.
- the DC voltage output of the first slider 1035 is Vmin
- the point of the first slider 1035 on the first resistor 1034 is B
- the point of the second slider 1037 on the second resistor 1036 is F
- the DC voltage output of the first slider 1035 is Vmax
- the point of the first slider 1035 on the first resistor 1034 is C
- k1 is the angular dividing coefficient of the first resistor 103411.
- the ray OBF is defined as the zero initial line of the angle measurement, that is, when the first slider 1035 and the second slider 1037 coincide with the OBF, the angle ⁇ measured at this time is defined as 0.
- the voltage value V1 measured by the first slider 1035 satisfies the following formula (3):
- the measured angle ⁇ is expressed by the following formula (4):
- the second slider 1037 is just inferior to the second resistor 1036. Slide on the EOF.
- the DC output voltage of the second slider 1037 is measured as V2.
- k2 is the angular dividing coefficient of the second resistor 103621.
- the dead zone portion of the first potentiometer 1032 is the inferior arc BOC region, and the non-dead portion of the second potentiometer 1033 is disposed to cover the inferior arc BOC region.
- the dead zone angle measuring method provided by the present invention is specifically:
- a second embodiment of the present invention further provides a modular robot control system 30 for controlling an initial physical structure spliced by a plurality of modular units, the modular robot control system 30 comprising:
- a storage module 31 configured to store initial virtual configuration information of the initial physical structure
- a configuration generating module 33 configured to generate an initial virtual configuration of the modular robot according to the initial virtual configuration information
- An action generating module 35 configured to generate preset action control information
- the transmission module 37 is configured to transmit the preset motion control information to the modular robot to perform according to the preset motion control information.
- the storage module 31 is connected with the modular robot to store initial virtual configuration information of the initial physical structure
- the configuration generation module 33 is connected with the storage module 31 to obtain initial virtual configuration information from the storage module 31 to generate an initial of the modular robot.
- the virtual configuration, the action generation module 35 is connected to the configuration generation module 33 to obtain an initial virtual configuration, and generates preset action control information according to the initial virtual configuration
- the transmission module 37 and the action generation module 35 and the modular robot are connected and transmitted.
- the module 37 acquires the preset motion control information from the motion generating module 35 and transmits it to the modular robot, and the modular robot performs the action according to the preset motion control information.
- a third embodiment of the present invention further provides a modular robot control system, the modular robot control system comprising:
- a modular robot 41 assembled from a plurality of modular units having an initial physical structure
- a memory 43 and one or more programs, wherein one or more of the programs are stored in the memory, the memory being in communication with a module unit, the program being configured to execute the following steps:
- the plurality of modular units include a cell body and at least one cell monomer, each docking portion having unique interface identification information, and defining a cell monomer directly connected to the cell body as a primary cell monomer, the obtaining
- the initial virtual configuration information of the initial entity structure specifically includes the following steps:
- the cell body transmits a signal through the docking portion to the primary cell monomer to which it is attached;
- the primary cell monomer After receiving the signal, the primary cell monomer performs surface recognition to obtain interface identification information of the docking portion of the signal transmitted by the cell body, and the primary cell monomer interfaces the interface identification information of the docking portion of the signal transmitted by the cell body with its own receiving signal.
- the interface identification information of the part is transmitted to the cell body to obtain the position information of the primary cell monomer.
- the modular robot control method of the present invention comprises the following steps: T1: providing a plurality of modular units; T2: assembling a plurality of modular units into an initial physical structure; and T3: acquiring an initial virtual initial structure Configuration information; T4: generating an initial virtual configuration according to initial virtual configuration information; T5: setting an action frame to generate preset motion control information; and T6: transmitting preset motion control information to a modular robot, modular robot Perform motion according to preset motion control information.
- the control method of the modular robot of the present invention can enable the user to assemble the configuration arbitrarily and design control information for controlling the execution behavior of the assembly configuration, greatly improving the usability of the modular robot, and increasing the modular robot. Design space makes it suitable for more scenes.
- one or more of the rotation time, the rotation speed, the rotation angle and the rotation direction of the motion frame can be edited, and various parameters can be adjusted for the control action information, thereby enriching the design space of the modular robot.
- the position of each module unit can be accurately obtained by surface recognition, which is simple and fast, and has low hardware requirements.
- the control system of the modular robot of the present invention also has the above advantages.
Landscapes
- Engineering & Computer Science (AREA)
- Robotics (AREA)
- Mechanical Engineering (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Orthopedic Medicine & Surgery (AREA)
- Automation & Control Theory (AREA)
- Manipulator (AREA)
Abstract
Provided are a modular robot control method and a system. The method comprises the following steps: T1: providing a plurality of modular units; T2: assembling a plurality of modular units into an initial physical structure; T3: obtaining initial virtual configuration information of the initial physical structure; T4: generating an initial virtual configuration on the basis of the initial virtual configuration information; T5: setting an action frame to generate preset action control information; and T6: transmitting the preset action control information to the modular robot, so that the modular robot performs motions according to the preset action control information. A user can conduct configuration assembling at will and design control information for controlling the assembled configuration to execute actions, and using convenience of the modular robot is greatly improved; and the design space of the modular robot is enlarged, and the modular robot is applicable to more scenes.
Description
本发明涉及模块化机器人领域,尤其涉及一种模块化机器人控制方法及系统。The invention relates to the field of modular robots, and in particular to a modular robot control method and system.
机器人已广泛用于生活及工业领域,如教学中用于锻炼学生的开拓思维能力,如自动化生产中用于焊接、喷涂、装配、搬运等作业。尽管机器人作为执行系统具有很大的灵活性和弹性,其可完成不同的工作任务,但现有的机器人往往针对特定的使用目的和场合,只有一种主要功能,自由度和构型都固定不变,缺乏功能的扩展性和构型的重构性。此外,针对每一领域和每项应用都开发特定的机器人所花费的代价很大,严重制约机器人的推广应用。因此,可重构机器人应运而生。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 used for specific purposes and occasions. There is only one main function, and the degrees of freedom and configuration are fixed. Change, lack of functional scalability and reconfigurability of configuration. In addition, the cost of developing a specific robot for each field and each application is very large, which seriously restricts the promotion and application of the robot. Therefore, reconfigurable robots came into being.
可重构机器人通常都是由主模块以及多个基础模块组合得到的,其中多个基础模块的外形结构都相同,都设置有连接面来实现组合,但是用户在组合模块机器人的过程中无法验证组合结构是否正确,给用户带来大量的重复组装工作,造成很差的使用体验感。Reconfigurable robots are usually obtained by combining a main module and a plurality of basic modules. The basic structures of the multiple basic modules are the same, and the connection faces are provided to realize the combination, but the user cannot verify in the process of combining the module robots. Whether the combined structure is correct or not, brings a lot of repetitive assembly work to the user, resulting in a poor experience.
【发明内容】[Summary of the Invention]
针对上述问题,本发明提供一种模块化机器人控制方法及系统。In view of the above problems, the present invention provides a modular robot control method and system.
本发明解决技术问题的方案是提供一种模块化机器人控制方法,所述模块化机器人控制方法包括以下步骤:The solution to solve the technical problem of the present invention is to provide a modular robot control method, which comprises the following steps:
T1:提供多个模块单元;T1: providing a plurality of modular units;
T2:组装多个模块单元为初始实体结构;T2: assembling a plurality of modular units into an initial physical structure;
T3:获取初始实体结构的初始虚拟构型信息;T3: obtaining initial virtual configuration information of the initial entity structure;
T4:根据初始虚拟构型信息生成初始虚拟构型;T4: generating an initial virtual configuration according to the initial virtual configuration information;
T5:设定动作帧以生成预设动作控制信息;及T5: setting an action frame to generate preset action control information; and
T6:将预设动作控制信息传输至模块化机器人,模块化机器人按照预设动作控制信息执行运动。T6: The preset motion control information is transmitted to the modular robot, and the modular robot performs the motion according to the preset motion control information.
优选地,所述模块单元包括两个可相对旋转的两个子模块,所述步骤T5具体包括以下步骤:Preferably, the module unit comprises two sub-modules that are relatively rotatable, and the step T5 specifically comprises the following steps:
T51:控制一个或多个模块单元的两个子模块之间相对旋转以生成一个或多个运动帧;T51: controlling relative rotation between two sub-modules of one or more modular units to generate one or more motion frames;
T52:存储所述一个或多个运动帧;及T52: storing the one or more motion frames; and
T53:根据所述一个或多个运动帧生成预设动作控制信息。T53: Generate preset motion control information according to the one or more motion frames.
优选地,在步骤T51中是控制初始实体结构中的一个或多个模块单元的两个子模块之间相对旋转或者是控制初始虚拟构型中的一个或多个模块单元的两个子模块之间相对旋转。Preferably, in step T51 is controlling relative rotation between two sub-modules of one or more modular units in the initial physical structure or controlling the relative between two sub-modules of one or more modular units in the initial virtual configuration Rotate.
优选地,所述步骤T53具体为:Preferably, the step T53 is specifically:
对一个或多个运动帧进行增加、删减或者编辑以生成预设动作控制信息。Adding, deleting, or editing one or more motion frames to generate preset motion control information.
优选地,编辑动作帧包括编辑转动时间、转动速度、转动角度和转动方向中的一种或多种。Preferably, the editing action frame includes one or more of an edit rotation time, a rotation speed, a rotation angle, and a rotation direction.
优选地,所述初始虚拟构型信息包括多个模块单元的模块种类信息、模块数量信息、位置信息和两个子模块之间的初始角度信息中的一种或多种。Preferably, the initial virtual configuration information includes one or more of module category information, module quantity information, location information, and initial angle information between the two sub-modules of the plurality of module units.
优选地,多个模块单元中可以包含多个相同或不同的模块单元,所述模块单元包括两个可相对运动的子模块,每个子模块包括至少一对接部,每个对接部具有唯一的接口标识信息,所述获取初始实体结构的多个模块单元的位置信息具体为:Preferably, a plurality of modular units may comprise a plurality of identical or different modular units, the modular units comprising two relatively movable submodules, each submodule comprising at least one pair of joints, each having a unique interface Identification information, where the location information of the multiple module units that obtain the initial entity structure is specifically:
模块单元识别与其连接的相邻模块单元的对接部的接口标识信息,并根据相邻模块单元的对接部的接口标识信息和其自身与相邻模块单元进行连接的对接部的接口标识信息得到其位置信息。The module unit identifies the interface identification information of the docking part of the adjacent module unit connected thereto, and obtains the interface identification information according to the interface identification information of the docking part of the adjacent module unit and the interface identification information of the docking part of the connection with the adjacent module unit. location information.
优选地,所述多个模块单元包括至少一可与远程终端进行通信的模块单元,当多个模块单元包括多个不同的模块单元时,所述多个模块单元包括一细胞主体和至少一细胞单体,界定与远程终端进行通信的模块单元为细胞主体,与细胞主体直接连接的细胞单体为一级细胞单体,所述获取初始实体结构的多个模块单元的位置信息包括以下步骤:Advantageously, said plurality of modular units comprise at least one modular unit communicable with a remote terminal, said plurality of modular units comprising a cellular body and at least one cell when the plurality of modular units comprises a plurality of different modular units The module unit that defines the communication with the remote terminal is a cell body, and the cell monomer directly connected to the cell body is a first-level cell unit, and the location information of the plurality of module units that acquire the initial physical structure includes the following steps:
T31:细胞主体通过对接部传输信号至与之连接的一级细胞单体;T31: the cell body transmits a signal through the docking portion to the primary cell monomer connected thereto;
T32:一级细胞单体接收到信号之后进行面识别以获得细胞主体发送信号的对接部的接口标识信息,一级细胞单体将细胞主体发送信号的对接部的接口标识信息和其自身接收信号的对接部的接口标识信息一并传输至细胞主体以获得一级细胞单体的位置信息。T32: The first-level cell monomer performs surface recognition after receiving the signal to obtain interface identification information of the docking part of the cell body sending signal, and the first-level cell monomer transmits the interface identification information of the interface of the cell body to the signal and the self-receiving signal thereof. The interface identification information of the docking portion is transmitted to the cell body to obtain the position information of the primary cell monomer.
优选地,界定与一级细胞单体连接的细胞单体为二级细胞单体,与M级细胞单体连接的细胞单体为(M+1)级细胞单体,M为大于等于1的整数,所述获取初始实体结构的多个模块单元的位置信息进一步包括以下步骤:Preferably, the cell monomer defined to be linked to the primary cell monomer is a secondary cell monomer, and the cell monomer linked to the M-class cellular monomer is a (M+1)-order cell monomer, and M is greater than or equal to 1. An integer, the location information of the multiple module units that obtain the initial entity structure further includes the following steps:
T33:M级细胞单体发出信号至(M+1)级细胞单体;T33: M-class cell monomer signals to (M+1)-level cell monomer;
T34:(M+1)级细胞单体接收到信号之后进行面识别以获得M级细胞单体发送信号的对接部的接口标识信息,(M+1)级细胞单体将M级细胞单体发送信号的对接部的接口标识信息和其自身接收信号的对接部的接口标识信息一并传输至细胞主体。T34: (M+1)-level cell monomer performs surface recognition after receiving the signal to obtain interface identification information of the interface of the M-level cell monomer transmitting signal, and (M+1)-level cell monomer will be M-level cell monomer The interface identification information of the interface of the transmitted signal and the interface identification information of the interface of the self-received signal are transmitted to the cell body.
优选地,细胞主体或细胞单体同时发送不同的电信号至多个下一级细胞单体时,多个下一级细胞单体根据细胞主体或者上级细胞单体传送不同电信号的对接部的接口标识信息分时序回复其位置信息至细胞主体;或者细胞主体或细胞单体分时序发送相同或不同的电信号至多个下一级细胞单体,多个下一级细胞单体根据接收电信号的时序依次回复其位置信息至细胞主体。Preferably, when the cell body or the cell monomer simultaneously transmits different electrical signals to the plurality of lower cell monomers, the interface of the plurality of lower cell monomers to transmit the interface of the different electrical signals according to the cell body or the superior cell monomer The identification information periodically returns its position information to the cell body; or the cell body or the cell monomer sequentially transmits the same or different electrical signals to the plurality of lower-level cell monomers, and the plurality of lower-level cell monomers are based on the received electrical signals. The timing sequentially returns its position information to the cell body.
优选地,所述细胞单体在执行动作的过程中实时监测其两个子模块之间的相对角度信息,并根据检测结果判断动作是否执行完成。Preferably, the cell monomer monitors the relative angle information between the two sub-modules in real time during the execution of the action, and determines whether the action is completed according to the detection result.
本发明还提供一种模块化机器人控制系统,其用于控制由多个模块单元拼接的初始实体结构,所述多个模块单元包括一可与远程终端进行通信的模块单元,所述模块化机器人控制系统包括The present invention also provides a modular robot control system for controlling an initial physical structure spliced by a plurality of modular units, the plurality of modular units including a modular unit communicable with a remote terminal, the modular robot Control system includes
储存模块,用于储存初始实体结构的初始虚拟构型信息;a storage module, configured to store initial virtual configuration information of the initial physical structure;
构型生成模块,用于根据初始虚拟构型信息生成模块化机器人的初始虚拟构型;a configuration generation module, configured to generate an initial virtual configuration of the modular robot according to the initial virtual configuration information;
动作生成模块,用于生成预设动作控制信息;及An action generation module, configured to generate preset action control information; and
传输模块,用于将预设动作控制信息传输至模块化机器人使其按照预设动作控制信息执行。The transmission module is configured to transmit the preset motion control information to the modular robot to perform according to the preset motion control information.
本发明还提供一种模块化机器人控制系统,所述模块化机器人控制系统包括:The invention also provides a modular robot control system, the modular robot control system comprising:
模块化机器人,其由多个模块单元组装而成,具有初始实体结构;a modular robot assembled from a plurality of modular units having an initial physical structure;
存储器,以及一个或多个程序,其中一个或多个所述程序被存储在所述存储器中,存储器与模块单元进行通信,所述程序用于以执行以下步骤指令:a memory, and one or more programs, wherein one or more of said programs are stored in said memory, said memory being in communication with a module unit, said program being operative to:
获取并储存初始实体结构的初始虚拟构型信息;Obtaining and storing initial virtual configuration information of the initial entity structure;
根据初始虚拟构型信息生成模块化机器人的初始虚拟构型;Generating an initial virtual configuration of the modular robot based on the initial virtual configuration information;
设定动作帧以生成预设动作控制信息;及Setting an action frame to generate preset action control information; and
将预设动作控制信息传输至模块化机器人。Transfer preset motion control information to the modular robot.
优选地,所述多个模块单元包括一细胞主体和至少一细胞单体,每个对接部具有唯一的接口标识信息,界定与细胞主体直接连接的细胞单体为一级细胞单体,所述获取初始实体结构的初始虚拟构型信息具体包括以下步骤:Preferably, the plurality of modular units comprise a cell body and at least one cell monomer, each docking portion having unique interface identification information, and the cell monomer defining the direct connection with the cell body is a primary cell monomer, Obtaining the initial virtual configuration information of the initial entity structure specifically includes the following steps:
细胞主体通过对接部传输信号至与之连接的一级细胞单体;The cell body transmits a signal through the docking portion to the primary cell monomer to which it is attached;
一级细胞单体接收到信号之后进行面识别以获得细胞主体发送信号的对接部的接口标识信息,一级细胞单体将细胞主体发送信号的对接部的接口标识信息和其自身接收信号的对接部的接口标识信息一并传输至细胞主体以获得一级细胞单体的位置信息。After receiving the signal, the primary cell monomer performs surface recognition to obtain interface identification information of the docking portion of the signal transmitted by the cell body, and the primary cell monomer interfaces the interface identification information of the docking portion of the signal transmitted by the cell body with its own receiving signal. The interface identification information of the part is transmitted to the cell body to obtain the position information of the primary cell monomer.
与现有技术相比,本发明的模块化机器人控制方法,其包括以下步骤:T1:提供多个模块单元;T2:组装多个模块单元为初始实体结构;T3:获取初始实体结构的初始虚拟构型信息;T4:根据初始虚拟构型信息生成初始虚拟构型;T5:设定动作帧以生成预设动作控制信息;及T6:将预设动作控制信息传输至模块化机器人,模块化机器人按照预设动作控制信息执行运动。本发明的模块化机器人的控制方法可以使用户随意地组装构型且设计控制该组装构型执行动作的控制信息,极大地提高了模块化机器人的使用方便性,而且增大了模块化机器人的设计空间使其适用于更多的场景。Compared with the prior art, the modular robot control method of the present invention comprises the following steps: T1: providing a plurality of modular units; T2: assembling a plurality of modular units into an initial physical structure; and T3: acquiring an initial virtual initial structure Configuration information; T4: generating an initial virtual configuration according to initial virtual configuration information; T5: setting an action frame to generate preset motion control information; and T6: transmitting preset motion control information to a modular robot, modular robot Perform motion according to preset motion control information. The control method of the modular robot of the present invention can enable the user to assemble the configuration arbitrarily and design control information for controlling the execution behavior of the assembly configuration, greatly improving the usability of the modular robot, and increasing the modular robot. Design space makes it suitable for more scenes.
另外的,可以编辑运动帧的转动时间、转动速度、转动角度和转动方向中的一种或多种,针对控制动作信息可进行多种参数的调整,更加丰富了模块化机器人的设计空间。In addition, one or more of the rotation time, the rotation speed, the rotation angle and the rotation direction of the motion frame can be edited, and various parameters can be adjusted for the control action information, thereby enriching the design space of the modular robot.
另外的,该方法中通过面识别可以精确获得每一个模块单元的位置,简单快速且硬件要求低。In addition, in the method, the position of each module unit can be accurately obtained by surface recognition, which is simple and fast, and has low hardware requirements.
本发明的模块化机器人的控制系统同样具有上述优点。The control system of the modular robot of the present invention also has the above advantages.
图1是本发明第一实施例的模块化机器人控制方法的流程示意图。1 is a flow chart showing a method of controlling a modular robot according to a first embodiment of the present invention.
图2是本发明第一实施例的模块化机器人控制方法中步骤T3的子流程示意图。2 is a schematic diagram showing a sub-flow of step T3 in the modular robot control method according to the first embodiment of the present invention.
图3是本发明第一实施例的模块化机器人控制方法中步骤T5的子流程示意图。3 is a schematic diagram showing a sub-flow of step T5 in the modular robot control method according to the first embodiment of the present invention.
图4是本发明第一实施例的角度测量装置的爆炸结构示意图。Fig. 4 is a view showing the exploded structure of the angle measuring device of the first embodiment of the present invention.
图5是本发明第一实施例的转动轴的立体结构示意图。Fig. 5 is a perspective view showing the structure of a rotating shaft according to a first embodiment of the present invention.
图6是本发明第一实施例的感测器的立体结构示意图。Fig. 6 is a perspective view showing the structure of a sensor according to a first embodiment of the present invention.
图7是本发明第一实施例的感测器的测量原理示意图。Fig. 7 is a schematic view showing the measurement principle of the sensor of the first embodiment of the present invention.
图8是本发明第二实施例的模块化机器人控制系统的模块结构示意图。Figure 8 is a block diagram showing the structure of a modular robot control system in accordance with a second embodiment of the present invention.
图9是本发明第三实施例的模块化机器人控制系统的模块结构示意图。Figure 9 is a block diagram showing the structure of a modular robot control system in accordance with a third embodiment of the present invention.
为了使本发明的目的,技术方案及优点更加清楚明白,以下结合附图及实施实例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。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.
第一实施例First embodiment
请参考图1,本发明的第一实施例还提供一种模块化机器人控制方法,所述模块化机器人包括至少两个模块单元,每个模块单元包括两个可相对运动的子模块,比如两个子模块可相对转动,优选为每个模块单元由两个可进行相对旋转运动的上下半球构成,每个子模块包括至少一对接部,每个对接部上设置有一接口,每个接口具有唯一的接口标识信息,模块单元与模块单元之间通过对接部连接。可以理解,当每个子模块包括至少二对接部时,两个模块单元通过各自的一个对接部连接,在两个模块单元的连接位置处形成一虚拟连接面,两个模块单元基于虚拟连接面可进行转动,两个模块单元中的至少一个模块单元上的至少另一个对接部所在的平面与该虚拟连接面相交。Referring to FIG. 1, a first embodiment of the present invention further provides a modular robot control method, the modular robot comprising at least two modular units, each modular unit comprising two sub-modules that are relatively movable, such as two The sub-modules are relatively rotatable, preferably each modular unit is composed of two upper and lower hemispheres capable of relative rotational movement, each sub-module comprising at least one pair of joints, each of which is provided with an interface, each interface having a unique interface The identification information is connected between the module unit and the module unit through the docking portion. It can be understood that when each sub-module includes at least two docking portions, the two module units are connected by a respective docking portion, and a virtual connecting surface is formed at a connecting position of the two module units, and the two module units are based on the virtual connecting surface. Rotating, a plane in which at least one other docking portion on at least one of the two modular units is located intersects the virtual connecting surface.
为了便于后续的说明和理解,在此做出以下定义,构型信息包括但不限于模块种类信息、位置信息、模块数量信息和两个子模块之间的初始角度信息中的一种或者多种,构型信息是用来定义相邻模块单元之间的连接关系的信息,其中位置信息用来记录相邻模块单元进行连接的两个对接部的接口标识信息,而每个对接部的接口标识信息即代表着该对接部在其所在的模块单元上的位置,故而每个模块单元的位置信息即代表着其在一个三维空间构型或者平面构型中的绝对位置;同一类别的模块单元设置有相同的模块种类标识,例如:细胞主体都具有相同的模块种类标识,细胞单体具有相同的模块种类标识,且细胞主体的模块种类标识与细胞单体的模块种类标识是不一致的,当细胞单体存在多个类别时,每个类别的细胞单体具有同样的模块种类标识,不同类别的细胞单体的模块种类标识不同,从而通过识别模块种类标识就可以得知模块单元的模块种类信息;两个子模块之间的初始角度信息指的是模块单元上下两个子模块之间的相对角度值;模块数量信息指的模块单元的数量。相邻两个模块单元之间识别其相互连接的两个对接部的接口标识信息的过程就是面识别的过程,通过进行面识别即可获得模块单元的位置信息。可以理解,此处的定义同样适用于本说明书的其他实施例。To facilitate the subsequent description and understanding, the following definitions are made herein, and the configuration information includes, but is not limited to, one or more of module type information, location information, module quantity information, and initial angle information between two sub-modules, The configuration information is information for defining a connection relationship between adjacent module units, wherein the location information is used to record interface identification information of two docking portions to which adjacent module units are connected, and interface identification information of each docking portion. That is, it represents the position of the docking part on the module unit where it is located, so the position information of each module unit represents its absolute position in a three-dimensional spatial configuration or a planar configuration; the module unit of the same category is provided with The same module type identifier, for example, the cell bodies all have the same module type identifier, the cell monomers have the same module type identifier, and the module type identifier of the cell body is inconsistent with the module type identifier of the cell monomer, when the cell list When there are multiple categories in a body, the cell monomers of each category have the same module type identifier, different The module type identifiers of other cell monomers are different, so that the module type information of the module unit can be known by identifying the module type identifier; the initial angle information between the two submodules refers to the relative relationship between the upper and lower submodules of the module unit. Angle value; the number of module units refers to the number of module units. The process of identifying the interface identification information of the two docking portions connected between the two adjacent module units is a surface recognition process, and the position information of the module unit can be obtained by performing face recognition. It will be understood that the definitions herein apply equally to other embodiments of the present specification.
所述模块化机器人控制方法包括以下步骤:The modular robot control method includes the following steps:
T1:提供多个模块单元;T1: providing a plurality of modular units;
T2:组装多个模块单元为初始实体结构;T2: assembling a plurality of modular units into an initial physical structure;
T3:获取初始实体结构的初始虚拟构型信息;T3: obtaining initial virtual configuration information of the initial entity structure;
T4:根据初始虚拟构型信息生成模块化机器人的初始虚拟构型;T4: generating an initial virtual configuration of the modular robot according to the initial virtual configuration information;
T5:设定动作帧以生成预设动作控制信息;及T5: setting an action frame to generate preset action control information; and
T6:将预设动作控制信息传输至模块化机器人,模块化机器人按照预设动作控制信息执行运动。T6: The preset motion control information is transmitted to the modular robot, and the modular robot performs the motion according to the preset motion control information.
可以理解,所述步骤S1中,提供的多个模块单元中可以包含至少一个与远程终端进行通信的模块单元,从而实现模块化机器人与远程终端之间的通信。另外,当模块化机器人无需与远程终端进行通信,其自身可进行后续步骤的操作时,则提供的多个模块单元中包含至少一可执行后续步骤的模块单元。It can be understood that, in the step S1, the plurality of module units provided may include at least one module unit that communicates with the remote terminal, thereby implementing communication between the modular robot and the remote terminal. In addition, when the modular robot does not need to communicate with the remote terminal and can perform the operations of the subsequent steps itself, the plurality of module units provided include at least one module unit that can perform the subsequent steps.
可以理解,在所述步骤T2中,将多个模块单元组装成为一模块化机器人,模块化机器人的具体结构为初始实体结构。It can be understood that, in the step T2, a plurality of modular units are assembled into a modular robot, and the specific structure of the modular robot is an initial physical structure.
可以理解,在所述步骤T3中,可以是上传初始实体结构至远程终端以获取初始实体结构的初始虚拟构型信息,至少一个模块单元将组装好的模块化机器人的初始实体结构上传至远程终端,远程终端获得该初始实体结构的初始虚拟构型信息;或者是多个模块单元中的至少一模块单元获取初始实体结构的初始虚拟构型信息后储存起来,而不是传输至远程终端。所述初始虚拟构型信息包括位置信息、模块种类信息、模块数量信息、上下两个子模块之间的初始角度信息和其他定义相邻模块单元之间连接关系的信息中的一种或多种。模块单元通过无线传输的方式将其自身的模块种类信息传输至细胞主体;在所有的模块单元将其位置信息传输至远程终端后,远程终端即获得初始实体结构的模块数量信息;模块单元对其上下两个子模块的初始角度进行检测并将其初始角度信息无线传输至远程终端。It can be understood that, in the step T3, the initial virtual configuration information may be uploaded to the remote terminal to obtain the initial virtual configuration information of the initial physical structure, and the at least one module unit uploads the initial physical structure of the assembled modular robot to the remote terminal. The remote terminal obtains the initial virtual configuration information of the initial entity structure; or at least one of the plurality of module units acquires the initial virtual configuration information of the initial entity structure and stores it instead of transmitting to the remote terminal. The initial virtual configuration information includes one or more of location information, module type information, module quantity information, initial angle information between the upper and lower sub-modules, and other information defining a connection relationship between adjacent module units. The module unit transmits its own module type information to the cell body by means of wireless transmission; after all the module units transmit their location information to the remote terminal, the remote terminal obtains the module quantity information of the initial entity structure; The initial angles of the upper and lower submodules are detected and their initial angle information is wirelessly transmitted to the remote terminal.
请参考图2,初始实体结构的多个模块单元中可以包含多个相同或不同的模块单元,多个模块单元包括至少一个可与远程终端通信的模块单元,当初始实体结构的多个模块单元包括多个不同的模块单元时,例如多个模块单元包括一个细胞主体和至少一细胞单体,细胞主体用于与远程终端通信,界定与细胞主体直接连接的细胞单体为一级细胞单体,与一级细胞单体连接的细胞单体为二级细胞单体,与M级细胞单体连接的细胞单体为(M+1)级细胞单体,M为大于等于1的整数。所述获取初始实体结构的初始虚拟构型信息具体包括以下步骤:Referring to FIG. 2, a plurality of module units of an initial physical structure may include a plurality of identical or different modular units, and the plurality of modular units include at least one modular unit that can communicate with a remote terminal, and multiple modular units of the initial physical structure When a plurality of different modular units are included, for example, a plurality of modular units include a cell body and at least one cell monomer, and the cell body is used to communicate with the remote terminal, and the cell monomer directly defining the cell body is a primary cell monomer. The cell monomer linked to the primary cell monomer is a secondary cell monomer, and the cell monomer linked to the M-class cellular monomer is a (M+1)-order cell monomer, and M is an integer greater than or equal to 1. The obtaining the initial virtual configuration information of the initial entity structure specifically includes the following steps:
T31:细胞主体通过对接部传输信号至与之连接的一级细胞单体;T31: the cell body transmits a signal through the docking portion to the primary cell monomer connected thereto;
T32:一级细胞单体接收到信号之后进行面识别以获得细胞主体发送信号的对接部的接口标识信息,一级细胞单体将细胞主体发送信号的对接部的接口标识信息和其自身接收信号的对接部的接口标识信息一并传输至细胞主体以获得一级细胞单体的位置信息;T32: The first-level cell monomer performs surface recognition after receiving the signal to obtain interface identification information of the docking part of the cell body sending signal, and the first-level cell monomer transmits the interface identification information of the interface of the cell body to the signal and the self-receiving signal thereof. The interface identification information of the docking portion is transmitted to the cell body to obtain the position information of the primary cell monomer;
T33:M级细胞单体发出信号至(M+1)级细胞单体;及T33: M-level cellular monomer signals to (M+1)-level cellular monomer;
T34:(M+1)级细胞单体接收到信号之后进行面识别以获得M级细胞单体发送信号的对接部的接口标识信息,(M+1)级细胞单体将M级细胞单体发送信号的对接部的接口标识信息和其自身接收信号的对接部的接口标识信息一并传输至细胞主体。T34: (M+1)-level cell monomer performs surface recognition after receiving the signal to obtain interface identification information of the interface of the M-level cell monomer transmitting signal, and (M+1)-level cell monomer will be M-level cell monomer The interface identification information of the interface of the transmitted signal and the interface identification information of the interface of the self-received signal are transmitted to the cell body.
可以理解,细胞主体传输至一级细胞单体的信号和M级细胞单体传输至(M+1)级细胞单体的信号优选为电信号,也可以是无线信号。当初始实体结构中只有细胞主体和一级细胞单体时,所述步骤T33和步骤T34可以省略。It is understood that the signal transmitted by the cell body to the primary cell monomer and the signal transmitted by the M-class cell monomer to the (M+1)-order cell monomer are preferably electrical signals or wireless signals. When only the cell body and the primary cell monomer are present in the initial solid structure, the step T33 and the step T34 may be omitted.
当初始实体结构的多个模块单元包括多个相同的模块单元时,界定其中一个模块单元为主模块单元,即上述的细胞主体,与主模块单元直接连接的模块单元为一级细胞单体,与一级细胞单体连接的模块单元为二级细胞单体,与M级细胞单体连接的模块单元为(M+1)级细胞单体,M为大于等于1的整数,同样执行上述步骤T31~T34。作为一种变形,多级细胞单体可以直接将各自的位置信息直接传输至远程终端,而不用再传输给主模块单元。When a plurality of modular units of the initial physical structure include a plurality of identical modular units, one of the modular units is defined as a main modular unit, that is, the above-mentioned cellular main body, and the modular unit directly connected to the main modular unit is a primary cell unit. The modular unit linked to the primary cell monomer is a secondary cellular monomer, and the modular unit linked to the M-class cellular monomer is a (M+1)-order cellular monomer, and M is an integer greater than or equal to 1, and the above steps are also performed. T31 ~ T34. As a variant, the multi-level cell monomers can directly transmit their respective location information directly to the remote terminal without being transmitted to the main module unit.
总而言之,获取初始实体结构的多个模块单元的位置信息的过程为:模块单元识别与其连接的相邻模块单元的对接部的接口标识信息,并根据相邻模块单元的对接部的接口标识信息和其自身与相邻模块单元进行连接的对接部的接口标识信息得 到其位置信息。In summary, the process of obtaining the location information of the multiple module units of the initial physical structure is: the module unit identifies the interface identification information of the interface of the adjacent module unit connected thereto, and according to the interface identification information of the interface of the adjacent module unit and The interface identification information of the docking part that itself is connected to the adjacent module unit obtains its location information.
另外,在执行步骤T31之前或者同时执行以下步骤In addition, perform the following steps before or at the same time as step T31.
步骤T30:细胞主体发出广播信号通知各个细胞单体准备进行面识别。可以理解,模块单元与模块单元之间可以进行无线通信,其无线通信的方式可以是wifi通信、蓝牙通信或者zigbee通信,优选为zigbee通信。细胞主体先广播信号通知每个细胞单体进入面识别准备状态,等到每个细胞单体接收到电信号之后即进行面识别动作。Step T30: The cell body sends a broadcast signal to notify each cell monomer to prepare for face recognition. It can be understood that wireless communication can be performed between the module unit and the module unit, and the manner of wireless communication can be wifi communication, Bluetooth communication or zigbee communication, preferably zigbee communication. The cell body first broadcasts a signal to each cell monomer to enter the face recognition preparation state, and waits until each cell monomer receives an electrical signal to perform a face recognition action.
在所述步骤T31中,细胞主体上的每个对接部发送不同的电信号至多个一级细胞单体,在步骤T32中,多个一级细胞单体根据接收到的电信号的不同来获得与之连接的细胞主体的对接部的接口标识信息,每个一级细胞单体将细胞主体传输电信号的对接部的接口标识信息和其自身接收电信号的对接部的接口标识信息一并回复给细胞主体,细胞主体通过算法计算得到该一级细胞单体的位置信息,多个一级细胞单体执行同样的动作后,细胞主体得到多个一级细胞单体的位置信息。同理,在步骤T33和T34中,M级细胞单体上的每个对接部发送不同的电信号至多个(M+1)级细胞单体,多个(M+1)级细胞单体根据接收到的电信号的不同来获得与之连接的M级细胞单体的对接部的接口标识信息,每个(M+1)级细胞单体将M级细胞单体传输电信号的对接部的接口标识信息和其自身接收电信号的对接部的接口标识信息回复给细胞主体,细胞主体通过算法计算得到该(M+1)级细胞单体的位置信息,多个(M+1)级细胞单体执行同样的动作后,细胞主体得到多个(M+1)级细胞单体的位置信息。经过一系列的面识别之后,细胞主体即获得所有细胞单体的位置信息从而获得初始实体结构的构型信息。In the step T31, each docking portion on the cell body sends a different electrical signal to the plurality of primary cell monomers, and in step T32, the plurality of primary cell monomers are obtained according to the difference of the received electrical signals. The interface identification information of the docking portion of the cell body connected thereto, and each of the first-level cell monomers replies together with the interface identifier information of the docking portion of the cell body transmitting the electrical signal and the interface identifier information of the docking portion of the self-receiving electrical signal. The cell body and the cell body are calculated by algorithm to obtain the position information of the first-level cell monomer. After the plurality of first-level cell monomers perform the same action, the cell body obtains the position information of the plurality of primary cell monomers. Similarly, in steps T33 and T34, each docking portion on the M-class cell monomer sends a different electrical signal to a plurality of (M+1)-level cell monomers, and a plurality of (M+1)-level cell monomers are The received electrical signal is different to obtain the interface identification information of the docking portion of the M-class cell monomer connected thereto, and each (M+1)-level cell monomer transmits the M-level cell monomer to the docking portion of the electrical signal. The interface identification information and the interface identification information of the interface of the interface for receiving the electrical signal are returned to the cell body, and the cell body calculates the position information of the (M+1)-level cell monomer by an algorithm, and the plurality of (M+1)-level cells After the monomer performs the same action, the cell body obtains positional information of a plurality of (M+1)-order cell monomers. After a series of face recognition, the cell body obtains the positional information of all the cell monomers to obtain the configuration information of the initial entity structure.
可以理解,细胞主体或细胞单体同时发送不同的电信号至多个下一级细胞单体时,多个下一级细胞单体根据细胞主体或者上级细胞单体传送不同电信号的对接部的接口标识信息分时序回复其位置信息至细胞主体;或者细胞主体或细胞单体分时序发送相同或不同的电信号至多个下一级细胞单体,多个下一级细胞单体根据接收电信号的时序依次回复其位置信息至细胞主体。例如:细胞主体上设置有两个对接部,接口标识信息分别定义为1和2,细胞主体同时发送两个不同的电信号至与之连接的两个一级细胞单体,设定与对接部1相连接的一级细胞单体先回复其位置信息,等待10s后(具体的时间可以自行调整),与对接部2相连接的一级细胞单体再回复其位置信息。It can be understood that when the cell body or the cell monomer simultaneously transmits different electrical signals to the plurality of lower cell monomers, the interface of the plurality of lower cell monomers to transmit the interface of the different electrical signals according to the cell body or the superior cell monomer. The identification information periodically returns its position information to the cell body; or the cell body or the cell monomer sequentially transmits the same or different electrical signals to the plurality of lower-level cell monomers, and the plurality of lower-level cell monomers are based on the received electrical signals. The timing sequentially returns its position information to the cell body. For example, the cell body is provided with two docking portions, and the interface identification information is defined as 1 and 2, respectively, and the cell body simultaneously sends two different electrical signals to the two first-level cell monomers connected thereto, and the setting and docking portion The first-stage cell monomer connected to the first phase returns its position information, waits for 10 s (the specific time can be adjusted by itself), and the primary cell monomer connected to the docking part 2 returns its position information.
另外,在所述步骤T32a和T33a之间进一步包括In addition, further included between the steps T32a and T33a
步骤T32a:细胞主体停止发送电信号,并通知与细胞主体直接连接的一级细胞单体发送电信号至与一级细胞单体连接的二级细胞单体。可以理解,在所述步骤S22a中,细胞主体优选是通过广播信号的形式通知一级细胞单体的。可以理解,在M级细胞单体发送电信号之前,细胞主体按照M级细胞单体的多个对接部的接口标识信息通过广播信号的方式分时序控制M级细胞单体发送电信号至多个(M+1)级细胞单体,该M级细胞单体发送至多个(M+1)级细胞单体的电信号可以是相同或者不同的,优选为M级细胞单体的多个对接部发送不同的电信号。Step T32a: The cell body stops transmitting an electrical signal, and notifies the primary cell monomer directly connected to the cell body to transmit an electrical signal to the secondary cell monomer linked to the primary cell monomer. It is to be understood that, in the step S22a, the cell body is preferably notified of the primary cell monomer by means of a broadcast signal. It can be understood that, before the M-level cell monomer transmits the electrical signal, the cell body sequentially controls the M-level cell monomer to transmit the electrical signal to the plurality according to the interface identification information of the plurality of docking portions of the M-level cell monomer. M+1) cell monomer, the electrical signals sent to the plurality of (M+1) cell monomers may be the same or different, preferably sent by multiple docking stations of the M cell monomer Different electrical signals.
另外,在所述步骤T32和T34中,细胞主体在接收细胞单体传输过来的位置信息后对各个细胞单体进行单独编号,并将每个细胞单体的位置信息与编号关联存储。在细胞主体与远程终端进行通信时,细胞主体将每个细胞单体的位置信息及其编号传输至远程终端。远程终端发送动作控制信息给细胞主体后, 细胞主体根据不同编号对控制信息进行分解并将分解后的控制信息按照编号对应地传输给各个细胞单体。Further, in the steps T32 and T34, the cell body individually numbers each cell monomer after receiving the position information transmitted from the cell monomer, and stores the position information of each cell monomer in association with the number. When the cell body communicates with the remote terminal, the cell body transmits the location information of each cell cell and its number to the remote terminal. After the remote terminal sends the action control information to the cell body, the cell body decomposes the control information according to different numbers and transmits the decomposed control information to each cell monomer according to the number.
可以理解,在所述步骤T4中,可以是远程终端或者步骤T3中存储有初始虚拟构型信息的模块单元根据初始虚拟构型信息生成模块化机器人的初始虚拟构型。其中远程终端根据获得的初始虚拟构型信息通过三维仿真或者三维建模等方式生成模块化机器人的初始虚拟构型。It can be understood that, in the step T4, the remote terminal or the module unit storing the initial virtual configuration information in the step T3 generates the initial virtual configuration of the modular robot according to the initial virtual configuration information. The remote terminal generates an initial virtual configuration of the modular robot by means of three-dimensional simulation or three-dimensional modeling according to the obtained initial virtual configuration information.
请参考图3,所述步骤T5具体包括以下步骤:Referring to FIG. 3, the step T5 specifically includes the following steps:
T51:控制一个或多个模块单元的两个子模块之间相对旋转以生成一个或多个运动帧;T51: controlling relative rotation between two sub-modules of one or more modular units to generate one or more motion frames;
T52:存储所述一个或多个运动帧;及T52: storing the one or more motion frames; and
T53:根据所述一个或多个运动帧生成预设动作控制信息。T53: Generate preset motion control information according to the one or more motion frames.
可以理解,在所述步骤T51和T52中,控制一个或多个模块单元的两个子模块之间相对旋转可以是在初始实体结构中执行的,也可以是在初始虚拟构型中执行的。例如,可以在模块化机器人实体构型上控制一个细胞单体的两个子模块相对转动一定角度,该细胞单体可以检测到两个子模块相对转动的角度值并传输至细胞主体,细胞主体将该角度值和该细胞单体的编号和/或该细胞单体的位置信息一并传输至远程终端,远程终端根据该细胞单体的编号和/或该细胞单体的位置信息确定该细胞单体的身份,并调取该细胞单体的两个子模块的初始角度信息再结合该转动角度值计算得到转动后两个子模块之间的相对角度信息,并将从初始角度位置转到当前角度位置的过程保存为一个动作帧;再转动另一个细胞单体的两个子模块,或者继续转动同一个细胞单体的两个子模块,经过同样的信息传输和计算处理,远程终端保存为另一个动作帧,进而形成多个运动帧。还例如:可以在远程终端生成的模块化机器人的初始虚拟构型中选定一个或多个模块单元的两个子模块转动一定的角度并保存为一个运动帧,再继续选择另一个细胞单体或同一个细胞单体转动一定的角度来形成另一个动作帧,从而得到多个运动帧。It can be understood that in the steps T51 and T52, controlling the relative rotation between the two sub-modules of one or more modular units may be performed in the initial physical structure or in the initial virtual configuration. For example, the two sub-modules of a cell monomer can be controlled to rotate relative to each other in a modular robotic configuration, and the cell monomer can detect the relative rotation angle values of the two sub-modules and transmit to the cell body, and the cell body will The angle value is transmitted to the remote terminal together with the number of the cell monomer and/or the position information of the cell monomer, and the remote terminal determines the cell monomer based on the number of the cell monomer and/or the position information of the cell monomer. Identity, and retrieve the initial angle information of the two sub-modules of the cell unit, and calculate the relative angle information between the two sub-modules after the rotation, and will shift from the initial angular position to the current angular position. The process is saved as an action frame; the two sub-modules of another cell monomer are rotated, or the two sub-modules of the same cell cell are continuously rotated, and the same terminal is saved as another action frame after the same information transmission and calculation processing. Further, a plurality of motion frames are formed. For example, the two sub-modules of one or more modular units can be selected to be rotated at a certain angle and saved as one motion frame in the initial virtual configuration of the modular robot generated by the remote terminal, and then another cell monomer or The same cell unit rotates at a certain angle to form another motion frame, thereby obtaining a plurality of motion frames.
可以理解,所述步骤T53具体为:It can be understood that the step T53 is specifically:
对一个或多个运动帧进行增加、删减或者编辑以生成预设动作控制信息。可以理解,在远程终端中可以针对每个动作帧的转动时间、转动速度、转动角度和转动方向中的一种或多种进行编辑。例如:在远程终端的操作界面上可以选定一个或多个运动帧,选择其中一个运动帧后,可以对该运动帧的转动角度、转动方向、转动时间、转动速度中的一种或多种参数进行编辑,或者还可以针对多个运动帧的排序进行编辑,最终生成预设动作控制信息。Adding, deleting, or editing one or more motion frames to generate preset motion control information. It will be appreciated that editing in one or more of the rotational time, rotational speed, rotational angle and rotational direction of each motion frame may be made in the remote terminal. For example, one or more motion frames can be selected on the operation interface of the remote terminal, and one or more of the rotation angle, the rotation direction, the rotation time, and the rotation speed of the motion frame can be selected after selecting one of the motion frames. The parameters are edited, or the ordering of multiple motion frames can be edited, and finally the preset motion control information is generated.
在所述步骤T6中,远程终端将预设动作控制信息传输至细胞主体后,细胞主体按照不同细胞单体的编号对该预设动作控制信息进行分解,并按照不同的编号分别将分解后的部分预设动作控制信息传输至对应的细胞单体,细胞单体接收到部分预设动作控制信息后执行动作。可以理解,所述细胞单体在执行动作的过程中实时监测其两个子模块之间的相对角度信息,并根据检测结果判断动作是否执行完成。优选的,当细胞单体判断动作执行完成后,细胞单体传输信号至细胞主体,细胞主体将该信号传输至远程终端以告知该细胞单体已完成动作;或者细胞单体直接传输信号至远程终端。In the step T6, after the remote terminal transmits the preset motion control information to the cell body, the cell body decomposes the preset motion control information according to the number of different cell monomers, and respectively decomposes according to different numbers. Part of the preset motion control information is transmitted to the corresponding cell monomer, and the cell unit performs the action after receiving some preset motion control information. It can be understood that the cell monomer monitors the relative angle information between the two sub-modules in real time during the execution of the action, and determines whether the action is completed according to the detection result. Preferably, when the cell monomer determining action is completed, the cell monomer transmits a signal to the cell body, and the cell body transmits the signal to the remote terminal to inform the cell monomer that the action has been completed; or the cell monomer directly transmits the signal to the remote device. terminal.
请再参考图1,另外,所述模块化机器人控制方法还包括以下步骤:Referring to FIG. 1 again, in addition, the modular robot control method further includes the following steps:
T7:存储该初始虚拟构型、初始虚拟构型信息及预设动作 控制信息。在生成预设动作控制信息之后,将初始虚拟构型、初始虚拟构型信息及预设动作控制信息关联存储到数据库中,以后可根据数据库中存储的初始虚拟构型进行组装,将组装后的构型与数据库中存储的初始虚拟构型进行比对并进行校正,当组装后构型的构型信息与数据库中存储的初始虚拟构型信息一致时,可以直接从数据库中调取对应关联的预设动作控制信息来执行动作;或者当数据库中存储了足够多的初始虚拟构型时,将随意组装后构型的构型信息与数据库中的初始虚拟构型信息去进行一一匹配,当随意组装后构型的构型信息与某一初始虚拟构型信息相同时,可以直接从数据库中调取对应关联的预设动作控制信息来执行动作。T7: Store the initial virtual configuration, initial virtual configuration information, and preset motion control information. After generating the preset motion control information, the initial virtual configuration, the initial virtual configuration information, and the preset motion control information are stored in association with each other in the database, and then assembled according to the initial virtual configuration stored in the database, and the assembled The configuration is compared with the initial virtual configuration stored in the database and corrected. When the configuration information of the assembled configuration is consistent with the initial virtual configuration information stored in the database, the corresponding association can be directly retrieved from the database. Presetting the action control information to perform the action; or when the database has stored enough initial virtual configurations, the configuration information of the randomly assembled configuration is matched with the initial virtual configuration information in the database. When the configuration information of the randomly assembled configuration is the same as the initial virtual configuration information, the corresponding action control information may be directly retrieved from the database to perform the action.
请一并参考图4和图5,每个细胞单体上设置有一角度测量装置101,其包括转动轴104和感测器103,转动轴104包括相对的第一端1041和第二端1043,转动轴104的第一端1041和感测器103连接,转动轴104的第二端1043与其中一个子模块连接,感测器103与另一个子模块连接,从而两个子模块之间的转动可以被感测器103检测到。转动轴104的第一端1041横截面形状优选大致呈“D字形”,转动轴104和感测器103连接时插入感测器103,能起到防呆作用,在转动轴104去掉时,再次安装转动轴104,还需要从同一个角度安装。转动轴104的第二端1043优选呈指针型,转动轴104和模块单元的其中一子模块连接时,也起到防呆作用,在转动轴104去掉时,再次安装转动轴104,还需要从同一个角度安装。从而使与转动轴104连接的子模块和感测器103适中保持同一个角度,细胞单体拆开后,再组装时不用重新调整。可以理解,转动轴104的第一端1041和第二端1043的形状并不是完全限定实施例中的形状,也可以做成其他防呆结构,达到防呆的效果即可。防呆结构是本领域技术人员很容易想到的变形,本实施例不再进一步举例进行说明。Referring to FIG. 4 and FIG. 5 together, each cell unit is provided with an angle measuring device 101, which includes a rotating shaft 104 and a sensor 103. The rotating shaft 104 includes an opposite first end 1041 and a second end 1043. The first end 1041 of the rotating shaft 104 is connected to the sensor 103, and the second end 1043 of the rotating shaft 104 is connected to one of the submodules, and the sensor 103 is connected to another submodule, so that the rotation between the two submodules can be It is detected by the sensor 103. The cross-sectional shape of the first end 1041 of the rotating shaft 104 is preferably substantially "D-shaped", and the rotating shaft 104 and the sensor 103 are inserted into the sensor 103 when connected, which can play a foolproof effect, and when the rotating shaft 104 is removed, again Mounting the rotating shaft 104 also requires installation from the same angle. The second end 1043 of the rotating shaft 104 is preferably of a pointer type. When the rotating shaft 104 is connected to one of the sub-modules of the module unit, the anti-staying function is also played. When the rotating shaft 104 is removed, the rotating shaft 104 is installed again. Install at the same angle. Therefore, the sub-module connected to the rotating shaft 104 and the sensor 103 are moderately maintained at the same angle, and the cell unit is disassembled and then reassembled without re-adjustment. It can be understood that the shapes of the first end 1041 and the second end 1043 of the rotating shaft 104 are not completely limited to the shape in the embodiment, and may be made into other foolproof structures to achieve a foolproof effect. The foolproof structure is a modification that is easily conceived by those skilled in the art, and the present embodiment will not be further illustrated.
请一并参考图6和图7,感测器103包括角度测量电路板1031、第一电位器1032和第二电位器1033,第一电位器1032和第二电位器1033电性并联,两个电位器的死区部分互不覆盖,角度测量电路板1031设置在第一电位器1032和第二电位器1033之间,第一电位器1032和第二电位器1033都和角度测量电路板1031连接,第一电位器1032和第二电位器1033还都和角度测量电路板1031电性连接。第一电位器1032包括第一电阻器1034和第一滑动器1035,第二电位器1033包括第二电阻器1036和第二滑动器1037。Referring to FIG. 6 and FIG. 7 together, the sensor 103 includes an angle measuring circuit board 1031, a first potentiometer 1032 and a second potentiometer 1033. The first potentiometer 1032 and the second potentiometer 1033 are electrically connected in parallel, two The dead zone portions of the potentiometer are not covered by each other, the angle measuring circuit board 1031 is disposed between the first potentiometer 1032 and the second potentiometer 1033, and the first potentiometer 1032 and the second potentiometer 1033 are both connected to the angle measuring circuit board 1031. The first potentiometer 1032 and the second potentiometer 1033 are also electrically connected to the angle measuring circuit board 1031. The first potentiometer 1032 includes a first resistor 1034 and a first slider 1035, and the second potentiometer 1033 includes a second resistor 1036 and a second slider 1037.
第一滑动器1035的端点在第一电阻器1034上滑动,第二滑动器1037的端点在第二电阻器1036上滑动,第一滑动器1035和第二滑动器1037之间通过绝缘材料固定连接。第一滑动器1035和第二滑动器1037共用同一转轴,即第一滑动器1035、第二滑动器1037都和转动轴104第一端1041连接,并以转动轴104为中心转动。第一电阻器1034的死区部分被第二电阻器1036的非死区部分覆盖,第二电阻器1036的死区部分被第一电阻器1034的非死区部分覆盖。The end of the first slider 1035 slides over the first resistor 1034, the end of the second slider 1037 slides over the second resistor 1036, and the first slider 1035 and the second slider 1037 are fixedly connected by an insulating material. . The first slider 1035 and the second slider 1037 share the same rotating shaft, that is, the first slider 1035 and the second slider 1037 are both connected to the first end 1041 of the rotating shaft 104 and rotate around the rotating shaft 104. The dead portion of the first resistor 1034 is partially covered by the non-dead portion of the second resistor 1036, and the dead portion of the second resistor 1036 is covered by the non-dead portion of the first resistor 1034.
角度测量电路板1031集成有第一电位器1032和第二电位器1033的输入输出端口。输入输出端口包括电阻器连接电压Vcc的端口、接地端口、以及滑动器的输出端口。可以理解,角度测量电路板1031也可以不设置,第一电位器1032和第二电位器1033直接与细胞单体的主电路板(图未示)电性连接,在主电路板上集成角度测量电路板1031的功能模块。The angle measuring circuit board 1031 integrates input and output ports of the first potentiometer 1032 and the second potentiometer 1033. The input and output ports include a port to which the resistor is connected to the voltage Vcc, a ground port, and an output port of the slider. It can be understood that the angle measuring circuit board 1031 can also be omitted. The first potentiometer 1032 and the second potentiometer 1033 are directly electrically connected to the main circuit board (not shown) of the cell, and the angle measurement is integrated on the main circuit board. A functional module of the circuit board 1031.
为了更加精确地测量,本发明实施例中定义电位器的死区 部分包括两段区域:1、单电位器无法直接测量的区域,也就是电阻器两个端点之间的区域,例如图7中劣弧AOD;2、单电位器两段靠近端点部分测量精度不高的区域,例如图7中劣弧AOB和劣弧COD,其中测量精度不高的区域的两个临界端点B和C对应滑动器输出的最小电压和最大电压。则图7中第一电位器1032的死区部分定义为劣弧BOC区域。For more accurate measurement, the dead zone portion of the potentiometer defined in the embodiment of the present invention includes two sections: 1. an area that cannot be directly measured by a single potentiometer, that is, an area between two end points of the resistor, such as in FIG. Inferior arc AOD; 2. The area where the measurement accuracy is not high near the end portion of the single potentiometer, such as the inferior arc AOB and the inferior arc COD in Fig. 7, where the two critical endpoints B and C of the region with low measurement accuracy are correspondingly sliding The minimum voltage and maximum voltage output by the device. Then, the dead zone portion of the first potentiometer 1032 in FIG. 7 is defined as a poor arc BOC region.
本发明的基于双电位器的无死区角度测量装置101的360度角度测量的原理是如下实现的:The principle of the 360 degree angle measurement of the dual potentiometer-based dead zone angle measuring device 101 of the present invention is achieved as follows:
标记两个滑动器共用转轴的中心为O,第一电阻器1034连接电压Vcc的一端标记为D,第一电阻器1034接地的一端标记为A,第二电阻器1036接地的一端标记为G。设选用第一电位器1032所输出的最小电压和最大电压分别为Vmin和Vmax,其中Vmin~Vmax是第一电位器1032测量第一滑动器1035转动角度测量精度较高的输出电压范围。设当第一滑动器1035的直流电压输出为Vmin时,第一滑动器1035在第一电阻器1034上的点为B,同时第二滑动器1037在第二电阻器1036上的点为F。设当第一滑动器1035的直流电压输出为Vmax时,第一滑动器1035在第一电阻器1034上的点为C,同时第二滑动器1037在第二电阻器1036上的点为E。The center of the common shaft of the two sliders is marked as O, the end of the first resistor 1034 connected to the voltage Vcc is labeled D, the end of the first resistor 1034 is grounded as A, and the end of the second resistor 1036 is labeled G. It is assumed that the minimum voltage and the maximum voltage output by the first potentiometer 1032 are Vmin and Vmax, respectively, wherein Vmin~Vmax is an output voltage range in which the first potentiometer 1032 measures the measurement accuracy of the rotation angle of the first slider 1035. It is assumed that when the DC voltage output of the first slider 1035 is Vmin, the point of the first slider 1035 on the first resistor 1034 is B, while the point of the second slider 1037 on the second resistor 1036 is F. It is assumed that when the DC voltage output of the first slider 1035 is Vmax, the point of the first slider 1035 on the first resistor 1034 is C, while the point of the second slider 1037 on the second resistor 1036 is E.
设∠AOB=φ0,C点对应的第一滑动器1035的直流电压输出为Vmax,则有:Let ∠AOB=φ0, the DC voltage output of the first slider 1035 corresponding to point C is Vmax, then:
其中,k1为第一电阻器103411的角度分压系数。Where k1 is the angular dividing coefficient of the first resistor 103411.
并且规定射线OBF为角度测量的零初始线,即当第一滑动器1035与第二滑动器1037与OBF重合时,规定此时测量的角度φ为0。当第一滑动器1035测得的电压值V1满足下式(3)时:And the ray OBF is defined as the zero initial line of the angle measurement, that is, when the first slider 1035 and the second slider 1037 coincide with the OBF, the angle φ measured at this time is defined as 0. When the voltage value V1 measured by the first slider 1035 satisfies the following formula (3):
V
min≤V
1≤V
max (3)
V min ≤V 1 ≤V max (3)
即第一滑动器1035在优弧BOC上滑动时,此时利用第一电阻器1034的电阻分压原理,测得的角度φ由下式(4)表示:That is, when the first slider 1035 slides on the superior arc BOC, at this time, using the resistance division principle of the first resistor 1034, the measured angle φ is expressed by the following formula (4):
当第一滑动器1035测得的电压值V1不满足式(3)时,即第一滑动器1035不在优弧BOC上滑动时,此时第二滑动器1037刚好在第二电阻器1036的劣弧EOF上滑动。测得第二滑动器1037的直流输出电压为V2,利用第二电阻器1036上的电阻分压原理,可以得到此时测得的角度φ由下式(5)表示:When the voltage value V1 measured by the first slider 1035 does not satisfy the formula (3), that is, when the first slider 1035 does not slide on the superior arc BOC, the second slider 1037 is just inferior to the second resistor 1036. Slide on the EOF. The DC output voltage of the second slider 1037 is measured as V2. By using the resistance division principle on the second resistor 1036, the angle φ measured at this time can be obtained by the following formula (5):
其中k2为第二电阻器103621的角度分压系数。Where k2 is the angular dividing coefficient of the second resistor 103621.
根据第二滑动器1037在E点处输出的电压VEOG,从而可获得下列公式:According to the voltage VEOG outputted by the second slider 1037 at point E, the following formula can be obtained:
根据第一电位器1032输出的最小电压和最大电压,第一电位器1032的死区部分为劣弧BOC区域,则设置第二电位器1033的非死区部分覆盖劣弧BOC区域。According to the minimum voltage and the maximum voltage output by the first potentiometer 1032, the dead zone portion of the first potentiometer 1032 is the inferior arc BOC region, and the non-dead portion of the second potentiometer 1033 is disposed to cover the inferior arc BOC region.
基于所述的无死区角度测量装置101,本发明提供的无死区角度测量方法,具体是:Based on the dead zone angle measuring device 101, the dead zone angle measuring method provided by the present invention is specifically:
(1)测量获得∠AOB和∠EOG;(1) Measurement obtained ∠AOB and ∠EOG;
(2)获取第一滑动器1035的输出电压V1,判断V1是否满足式(3);若满足,根据式(4)确定角度φ;若不满足,获取第二滑动器1037的输出电压V2,然后根据式(5)确定角度φ。(2) obtaining the output voltage V1 of the first slider 1035, determining whether V1 satisfies the formula (3); if satisfied, determining the angle φ according to the equation (4); if not, acquiring the output voltage V2 of the second slider 1037, The angle φ is then determined according to equation (5).
第二实施例Second embodiment
请参考图8,本发明的第二实施例还提供一种模块化机器人控制系统30,其用于控制由多个模块单元拼接的初始实体结构,所述模块化机器人控制系统30包括:Referring to FIG. 8, a second embodiment of the present invention further provides a modular robot control system 30 for controlling an initial physical structure spliced by a plurality of modular units, the modular robot control system 30 comprising:
储存模块31,用于储存初始实体结构的初始虚拟构型信息;a storage module 31, configured to store initial virtual configuration information of the initial physical structure;
构型生成模块33,用于根据初始虚拟构型信息生成模块化机器人的初始虚拟构型;a configuration generating module 33, configured to generate an initial virtual configuration of the modular robot according to the initial virtual configuration information;
动作生成模块35,用于生成预设动作控制信息;及An action generating module 35, configured to generate preset action control information; and
传输模块37,用于将预设动作控制信息传输至模块化机器人使其按照预设动作控制信息执行。The transmission module 37 is configured to transmit the preset motion control information to the modular robot to perform according to the preset motion control information.
其中储存模块31与模块化机器人连接以存储初始实体结构的初始虚拟构型信息,构型生成模块33与储存模块31连接以从储存模块31中获取初始虚拟构型信息从而生成模块化机器人的初始虚拟构型,动作生成模块35与构型生成模块33连接以获得初始虚拟构型,并根据初始虚拟构型生成预设动作控制信息,传输模块37和动作生成模块35及模块化机器人连接,传输模块37从动作生成模块35中获取到预设动作控制信息后传输至模块化机器人,模块化机器人按照该预设动作控制信息执行动作。The storage module 31 is connected with the modular robot to store initial virtual configuration information of the initial physical structure, and the configuration generation module 33 is connected with the storage module 31 to obtain initial virtual configuration information from the storage module 31 to generate an initial of the modular robot. The virtual configuration, the action generation module 35 is connected to the configuration generation module 33 to obtain an initial virtual configuration, and generates preset action control information according to the initial virtual configuration, and the transmission module 37 and the action generation module 35 and the modular robot are connected and transmitted. The module 37 acquires the preset motion control information from the motion generating module 35 and transmits it to the modular robot, and the modular robot performs the action according to the preset motion control information.
第三实施例Third embodiment
请参考图9,本发明的第三实施例还提供一种模块化机器人控制系统,所述模块化机器人控制系统包括:Referring to FIG. 9, a third embodiment of the present invention further provides a modular robot control system, the modular robot control system comprising:
模块化机器人41,其由多个模块单元组装而成,具有初始实体结构;a modular robot 41 assembled from a plurality of modular units having an initial physical structure;
存储器43,以及一个或多个程序,其中一个或多个所述程序被存储在所述存储器中,存储器与模块单元进行通信,所述程序用于以执行以下步骤指令:a memory 43, and one or more programs, wherein one or more of the programs are stored in the memory, the memory being in communication with a module unit, the program being configured to execute the following steps:
获取并储存初始实体结构的初始虚拟构型信息;Obtaining and storing initial virtual configuration information of the initial entity structure;
根据初始虚拟构型信息生成模块化机器人的初始虚拟构型;Generating an initial virtual configuration of the modular robot based on the initial virtual configuration information;
设定动作帧以生成预设动作控制信息;及Setting an action frame to generate preset action control information; and
将预设动作控制信息传输至模块化机器人。Transfer preset motion control information to the modular robot.
另外,所述多个模块单元包括一细胞主体和至少一细胞单体,每个对接部具有唯一的接口标识信息,界定与细胞主体直接连接的细胞单体为一级细胞单体,所述获取初始实体结构的初始虚拟构型信息具体包括以下步骤:In addition, the plurality of modular units include a cell body and at least one cell monomer, each docking portion having unique interface identification information, and defining a cell monomer directly connected to the cell body as a primary cell monomer, the obtaining The initial virtual configuration information of the initial entity structure specifically includes the following steps:
细胞主体通过对接部传输信号至与之连接的一级细胞单体;The cell body transmits a signal through the docking portion to the primary cell monomer to which it is attached;
一级细胞单体接收到信号之后进行面识别以获得细胞主体发送信号的对接部的接口标识信息,一级细胞单体将细胞主体发送信号的对接部的接口标识信息和其自身接收信号的对接部的接口标识信息一并传输至细胞主体以获得一级细胞单体的位置信息。After receiving the signal, the primary cell monomer performs surface recognition to obtain interface identification information of the docking portion of the signal transmitted by the cell body, and the primary cell monomer interfaces the interface identification information of the docking portion of the signal transmitted by the cell body with its own receiving signal. The interface identification information of the part is transmitted to the cell body to obtain the position information of the primary cell monomer.
与现有技术相比,本发明的模块化机器人控制方法,其包括以下步骤:T1:提供多个模块单元;T2:组装多个模块单元为初始实体结构;T3:获取初始实体结构的初始虚拟构型信息;T4:根据初始虚拟构型信息生成初始虚拟构型;T5:设定动作帧以生成预设动作控制信息;及T6:将预设动作控制信息传输至模块化机器人,模块化机器人按照预设动作控制信息执行运动。本发明的模块化机器人的控制方法可以使用户随意地组装构型且设计控制该组装构型执行动作的控制信息,极大地提高了模块化机器人的使用方便性,而且增大了模块化机器人的设计空间使其适用于更多的场景。Compared with the prior art, the modular robot control method of the present invention comprises the following steps: T1: providing a plurality of modular units; T2: assembling a plurality of modular units into an initial physical structure; and T3: acquiring an initial virtual initial structure Configuration information; T4: generating an initial virtual configuration according to initial virtual configuration information; T5: setting an action frame to generate preset motion control information; and T6: transmitting preset motion control information to a modular robot, modular robot Perform motion according to preset motion control information. The control method of the modular robot of the present invention can enable the user to assemble the configuration arbitrarily and design control information for controlling the execution behavior of the assembly configuration, greatly improving the usability of the modular robot, and increasing the modular robot. Design space makes it suitable for more scenes.
另外的,可以编辑运动帧的转动时间、转动速度、转动角度和转动方向中的一种或多种,针对控制动作信息可进行多种参数的调整,更加丰富了模块化机器人的设计空间。In addition, one or more of the rotation time, the rotation speed, the rotation angle and the rotation direction of the motion frame can be edited, and various parameters can be adjusted for the control action information, thereby enriching the design space of the modular robot.
另外的,该方法中通过面识别可以精确获得每一个模块单元的位置,简单快速且硬件要求低。In addition, in the method, the position of each module unit can be accurately obtained by surface recognition, which is simple and fast, and has low hardware requirements.
本发明的模块化机器人的控制系统同样具有上述优点。The control system of the modular robot of the present invention also has the above advantages.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的原则之内所作的任何修改,等同替换和改进等均应包含本发明的保护范围之内。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)
- 一种模块化机器人控制方法,其特征在于:所述模块化机器人控制方法包括以下步骤:A modular robot control method, characterized in that the modular robot control method comprises the following steps:T1:提供多个模块单元;T1: providing a plurality of modular units;T2:组装多个模块单元为初始实体结构;T2: assembling a plurality of modular units into an initial physical structure;T3:获取初始实体结构的初始虚拟构型信息;T3: obtaining initial virtual configuration information of the initial entity structure;T4:根据初始虚拟构型信息生成初始虚拟构型;T4: generating an initial virtual configuration according to the initial virtual configuration information;T5:设定动作帧以生成预设动作控制信息;及T5: setting an action frame to generate preset action control information; andT6:将预设动作控制信息传输至模块化机器人,模块化机器人按照预设动作控制信息执行运动。T6: The preset motion control information is transmitted to the modular robot, and the modular robot performs the motion according to the preset motion control information.
- 如权利要求1所述的模块化机器人控制方法,其特征在于:所述模块单元包括两个可相对旋转的两个子模块,所述步骤T5具体包括以下步骤:The modular robot control method according to claim 1, wherein the module unit comprises two sub-modules that are relatively rotatable, and the step T5 specifically comprises the following steps:T51:控制一个或多个模块单元的两个子模块之间相对旋转以生成一个或多个运动帧;T51: controlling relative rotation between two sub-modules of one or more modular units to generate one or more motion frames;T52:存储所述一个或多个运动帧;及T52: storing the one or more motion frames; andT53:根据所述一个或多个运动帧生成预设动作控制信息。T53: Generate preset motion control information according to the one or more motion frames.
- 如权利要求2所述的模块化机器人控制方法,其特征在于:在步骤T51中是控制初始实体结构中的一个或多个模块单元的两个子模块之间相对旋转或者是控制初始虚拟构型中的一个或多个模块单元的两个子模块之间相对旋转。The modular robot control method according to claim 2, wherein in step T51, the relative rotation between the two sub-modules of one or more modular units in the initial physical structure is controlled or the initial virtual configuration is controlled. Relative rotation between two sub-modules of one or more modular units.
- 如权利要求1所述的模块化机器人控制方法,其特征在于:所述步骤T53具体为:The modular robot control method according to claim 1, wherein the step T53 is specifically:对一个或多个运动帧进行增加、删减或者编辑以生成预设动作控制信息。Adding, deleting, or editing one or more motion frames to generate preset motion control information.
- 如权利要求4所述的模块化机器人控制方法,其特征在于:编辑动作帧包括编辑转动时间、转动速度、转动角度和转动方向中的一种或多种。The modular robot control method according to claim 4, wherein the editing action frame comprises one or more of editing a rotation time, a rotation speed, a rotation angle, and a rotation direction.
- 如权利要求1所述的模块化机器人控制方法,其特征在于:所述初始虚拟构型信息包括多个模块单元的模块种类信息、模块数量信息、位置信息和两个子模块之间的初始角度信息中的一种或多种。The modular robot control method according to claim 1, wherein the initial virtual configuration information comprises module type information, module quantity information, position information, and initial angle information between the two sub-modules of the plurality of module units. One or more of them.
- 如权利要求6所述的模块化机器人控制方法,其特征在于:多个模块单元中可以包含多个相同或不同的模块单元,所述模块单元包括两个可相对运动的子模块,每个子模块包括至少一对接部,每个对接部具有唯一的接口标识信息,所述获取初始实体结构的多个模块单元的位置信息具体为:The modular robot control method according to claim 6, wherein a plurality of modular units may include a plurality of identical or different modular units, and the modular unit includes two relatively movable submodules, each of the submodules. The device includes at least one pair of interfaces, each of which has unique interface identification information, where the location information of the plurality of module units that obtain the initial physical structure is specifically:模块单元识别与其连接的相邻模块单元的对接部的接口标识信息,并根据相邻模块单元的对接部的接口标识信息和其自身与相邻模块单元进行连接的对接部的接口标识信息得到其位置信息。The module unit identifies the interface identification information of the docking part of the adjacent module unit connected thereto, and obtains the interface identification information according to the interface identification information of the docking part of the adjacent module unit and the interface identification information of the docking part of the connection with the adjacent module unit. location information.
- 如权利要求7所述的模块化机器人控制方法,其特征在于:所述多个模块单元包括至少一可与远程终端进行通信的模块单元,当多个模块单元包括多个不同的模块单元时,所述多个模块单元包括一细胞主体和至少一细胞单体,界定与远程终端进行通信的模块单元为细 胞主体,与细胞主体直接连接的细胞单体为一级细胞单体,所述获取初始实体结构的多个模块单元的位置信息包括以下步骤:The modular robot control method according to claim 7, wherein said plurality of modular units comprise at least one modular unit communicable with a remote terminal, and when the plurality of modular units includes a plurality of different modular units, The plurality of modular units comprise a cell body and at least one cell monomer, the module unit defining communication with the remote terminal is a cell body, and the cell monomer directly connected to the cell body is a primary cell monomer, the initial acquisition The location information of the multiple module units of the physical structure includes the following steps:T31:细胞主体通过对接部传输信号至与之连接的一级细胞单体;T31: the cell body transmits a signal through the docking portion to the primary cell monomer connected thereto;T32:一级细胞单体接收到信号之后进行面识别以获得细胞主体发送信号的对接部的接口标识信息,一级细胞单体将细胞主体发送信号的对接部的接口标识信息和其自身接收信号的对接部的接口标识信息一并传输至细胞主体以获得一级细胞单体的位置信息。T32: The first-level cell monomer performs surface recognition after receiving the signal to obtain interface identification information of the docking part of the cell body sending signal, and the first-level cell monomer transmits the interface identification information of the interface of the cell body to the signal and the self-receiving signal thereof. The interface identification information of the docking portion is transmitted to the cell body to obtain the position information of the primary cell monomer.
- 如权利要求8所述的模块化机器人控制方法,其特征在于:界定与一级细胞单体连接的细胞单体为二级细胞单体,与M级细胞单体连接的细胞单体为(M+1)级细胞单体,M为大于等于1的整数,所述获取初始实体结构的多个模块单元的位置信息进一步包括以下步骤:The modular robot control method according to claim 8, wherein the cell monomer that is linked to the primary cell monomer is a secondary cell monomer, and the cell monomer that is linked to the M-class cellular monomer is (M). +1) a cell unit, M is an integer greater than or equal to 1, and the location information of the plurality of module units that acquire the initial physical structure further includes the following steps:T33:M级细胞单体发出信号至(M+1)级细胞单体;T33: M-class cell monomer signals to (M+1)-level cell monomer;T34:(M+1)级细胞单体接收到信号之后进行面识别以获得M级细胞单体发送信号的对接部的接口标识信息,(M+1)级细胞单体将M级细胞单体发送信号的对接部的接口标识信息和其自身接收信号的对接部的接口标识信息一并传输至细胞主体。T34: (M+1)-level cell monomer performs surface recognition after receiving the signal to obtain interface identification information of the interface of the M-level cell monomer transmitting signal, and (M+1)-level cell monomer will be M-level cell monomer The interface identification information of the interface of the transmitted signal and the interface identification information of the interface of the self-received signal are transmitted to the cell body.
- 如权利要求9所述的模块化机器人控制方法,其特征在于:细胞主体或细胞单体同时发送不同的电信号至多个下一级细胞单体时,多个下一级细胞单体根据细胞主体或者上级细胞单体传送不同电信号的对接部的接口标识信息分时序回复其位置信息至细胞主体;或者细胞主体或细胞单体分时序发送相同或不同的电信号至多个下一级细胞单体,多个下一级细胞单体根据接收电信号的时序依次回复其位置信息至细胞主体。The modular robot control method according to claim 9, wherein when the cell body or the cell monomer simultaneously transmits different electrical signals to the plurality of lower cell monomers, the plurality of lower cell monomers are based on the cell body. Or the interface identification information of the docking part of the superior cell monomer transmitting different electrical signals periodically returns its position information to the cell body; or the cell body or the cell monomer sequentially transmits the same or different electrical signals to the plurality of lower cell monomers. The plurality of lower-level cell monomers sequentially return their position information to the cell body according to the timing of receiving the electrical signal.
- 如权利要求6所述的模块化机器人控制方法,其特征在于:所述细胞单体在执行动作的过程中实时监测其两个子模块之间的相对角度信息,并根据检测结果判断动作是否执行完成。The modular robot control method according to claim 6, wherein the cell unit monitors the relative angle information between the two sub-modules in real time during the execution of the action, and determines whether the action is performed according to the detection result. .
- 一种模块化机器人控制系统,其用于控制由多个模块单元拼接的初始实体结构,其特征在于:所述模块化机器人控制系统包括A modular robot control system for controlling an initial physical structure spliced by a plurality of modular units, characterized in that the modular robotic control system comprises储存模块,用于储存初始实体结构的初始虚拟构型信息;a storage module, configured to store initial virtual configuration information of the initial physical structure;构型生成模块,用于根据初始虚拟构型信息生成模块化机器人的初始虚拟构型;a configuration generation module, configured to generate an initial virtual configuration of the modular robot according to the initial virtual configuration information;动作生成模块,用于生成预设动作控制信息;及An action generation module, configured to generate preset action control information; and传输模块,用于将预设动作控制信息传输至模块化机器人使其按照预设动作控制信息执行。The transmission module is configured to transmit the preset motion control information to the modular robot to perform according to the preset motion control information.
- 一种模块化机器人控制系统,其特征在于:所述模块化机器人控制系统包括:A modular robot control system, characterized in that the modular robot control system comprises:模块化机器人,其由多个模块单元组装而成,具有初始实体结构;a modular robot assembled from a plurality of modular units having an initial physical structure;存储器,以及一个或多个程序,其中一个或多个所述程序被存储在所述存储器中,存储器与模块单元进行 通信,所述程序用于以执行以下步骤指令:a memory, and one or more programs, wherein one or more of said programs are stored in said memory, said memory being in communication with a module unit for executing the following steps:获取并储存初始实体结构的初始虚拟构型信息;Obtaining and storing initial virtual configuration information of the initial entity structure;根据初始虚拟构型信息生成模块化机器人的初始虚拟构型;Generating an initial virtual configuration of the modular robot based on the initial virtual configuration information;设定动作帧以生成预设动作控制信息;及Setting an action frame to generate preset action control information; and将预设动作控制信息传输至模块化机器人。Transfer preset motion control information to the modular robot.
- 如权利要求13所述的模块化机器人控制系统,其特征在于:所述多个模块单元包括一细胞主体和至少一细胞单体,每个对接部具有唯一的接口标识信息,界定与细胞主体直接连接的细胞单体为一级细胞单体,所述获取初始实体结构的初始虚拟构型信息具体包括以下步骤:The modular robot control system according to claim 13, wherein said plurality of modular units comprise a cell body and at least one cell monomer, each docking portion having unique interface identification information, defined directly with the cell body The connected cellular monomer is a primary cellular monomer, and the obtaining initial virtual configuration information of the initial physical structure specifically includes the following steps:细胞主体通过对接部传输信号至与之连接的一级细胞单体;The cell body transmits a signal through the docking portion to the primary cell monomer to which it is attached;一级细胞单体接收到信号之后进行面识别以获得细胞主体发送信号的对接部的接口标识信息,一级细胞单体将细胞主体发送信号的对接部的接口标识信息和其自身接收信号的对接部的接口标识信息一并传输至细胞主体以获得一级细胞单体的位置信息。After receiving the signal, the primary cell monomer performs surface recognition to obtain interface identification information of the docking portion of the signal transmitted by the cell body, and the primary cell monomer interfaces the interface identification information of the docking portion of the signal transmitted by the cell body with its own receiving signal. The interface identification information of the part is transmitted to the cell body to obtain the position information of the primary cell monomer.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP18893239.6A EP3730254B1 (en) | 2017-12-19 | 2018-12-17 | Modular robot control method and system |
JP2020533658A JP7053067B2 (en) | 2017-12-19 | 2018-12-17 | Modulation robot control method and its system |
US16/905,904 US11325249B2 (en) | 2017-12-19 | 2020-06-18 | Modular robot control method and system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711377451.7 | 2017-12-19 | ||
CN201711377451.7A CN108356806B (en) | 2017-12-19 | 2017-12-19 | Modular robot control method and system |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/905,904 Continuation US11325249B2 (en) | 2017-12-19 | 2020-06-18 | Modular robot control method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019120150A1 true WO2019120150A1 (en) | 2019-06-27 |
Family
ID=63010315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/121436 WO2019120150A1 (en) | 2017-12-19 | 2018-12-17 | Modular robot control method and system |
Country Status (5)
Country | Link |
---|---|
US (1) | US11325249B2 (en) |
EP (1) | EP3730254B1 (en) |
JP (1) | JP7053067B2 (en) |
CN (1) | CN108356806B (en) |
WO (1) | WO2019120150A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4089490A4 (en) * | 2020-01-07 | 2024-02-28 | Beijing Keyi Technology Co., Ltd. | Robot control method, control system, and modular robot |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108356806B (en) | 2017-12-19 | 2020-12-18 | 北京可以科技有限公司 | Modular robot control method and system |
CN108189029B (en) * | 2017-12-19 | 2020-10-30 | 北京可以科技有限公司 | Control system of modular robot, modular robot system and method for controlling modular robot |
CN108326846B (en) * | 2017-12-19 | 2020-11-03 | 北京可以科技有限公司 | Modular robot and module unit position calculation method thereof |
US20220001292A1 (en) * | 2020-06-18 | 2022-01-06 | Saifeng Chen | Programmable toy building blocks system |
JP7540384B2 (en) | 2021-04-05 | 2024-08-27 | トヨタ自動車株式会社 | Collaborative robot system and its assembly set |
CN113305837B (en) * | 2021-05-25 | 2022-05-17 | 乐聚(深圳)机器人技术有限公司 | Method and device for determining deviation information of robot, processing equipment and medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030040249A1 (en) * | 2001-08-24 | 2003-02-27 | Xerox Corporation | Robotic toy modular system with distributed program |
CN104326031A (en) * | 2014-10-29 | 2015-02-04 | 北京可以科技有限公司 | Cell robot |
CN204315156U (en) * | 2014-09-19 | 2015-05-06 | 苏州博实机器人技术有限公司 | The dismantled and assembled serial manipulator of a kind of modular building block type |
GB2533314A (en) * | 2014-12-15 | 2016-06-22 | Indybo Ltd | Modular robotic system |
CN106272550A (en) * | 2016-08-17 | 2017-01-04 | 北京可以科技有限公司 | Configuration controls information processing method and device |
CN106945036A (en) * | 2017-03-21 | 2017-07-14 | 深圳泰坦创新科技有限公司 | Robot motion generation method and device |
CN107225565A (en) * | 2016-03-24 | 2017-10-03 | 发那科株式会社 | Robot system, mechanism unit and robot controller |
CN108326846A (en) * | 2017-12-19 | 2018-07-27 | 北京可以科技有限公司 | Modularization robot and its modular unit position calculating method |
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 (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3910134B2 (en) | 2002-10-30 | 2007-04-25 | ファナック株式会社 | Robot equipment |
US7747352B2 (en) * | 2004-04-20 | 2010-06-29 | Massachusetts Institute Of Technology | Physical modeling system for constructing and controlling articulated forms with motorized joints |
JP4569653B2 (en) | 2008-03-24 | 2010-10-27 | ソニー株式会社 | Robot control apparatus, robot control method, and robot control program |
US9472112B2 (en) * | 2009-07-24 | 2016-10-18 | Modular Robotics Incorporated | Educational construction modular unit |
DE102010062217B4 (en) * | 2010-01-22 | 2018-11-22 | Kinematics Gmbh | Modular system with movable modules |
CN102765087B (en) * | 2012-07-31 | 2014-08-20 | 东南大学 | Modular self-reconfigurable robot and method for controlling deformation thereof |
US9358687B2 (en) * | 2013-01-24 | 2016-06-07 | Mohammad Reza Emami | System, method and computer program for autonomously emulating robot manipulators of continuously-varying configurations |
WO2014137945A1 (en) * | 2013-03-04 | 2014-09-12 | Barobo, Inc. | Modular robot system |
US9956494B2 (en) * | 2013-03-15 | 2018-05-01 | Rnd By Us B.V. | Element comprising sensors for detecting grab motion or grab release motion for actuating inter-element holding or releasing |
JP6324716B2 (en) * | 2013-12-26 | 2018-05-16 | 株式会社ソニー・インタラクティブエンタテインメント | Block, block system, display method, and information processing method |
CN105171720B (en) * | 2015-10-12 | 2018-03-09 | 北京可以科技有限公司 | A kind of multi-degree-of-freemechanical mechanical arm based on cellular machineries people's monomer |
EP3216569A1 (en) * | 2016-03-07 | 2017-09-13 | Aldebaran Robotics | Modular manufacturing of a robot |
US10456699B2 (en) * | 2016-03-31 | 2019-10-29 | Shenzhen Bell Creative Sccience And Education Co., Ltd. | Modular assembly system |
CN107363808A (en) * | 2017-06-15 | 2017-11-21 | 华东理工大学 | A kind of modularization drive lacking spring-go robot cell's module |
EP3476548A1 (en) * | 2017-10-27 | 2019-05-01 | Creaholic SA | Hardware module for a robotic system, and mechanical coupling |
EP3476549A1 (en) * | 2017-10-27 | 2019-05-01 | Creaholic SA | Hardware module, robotic system, and method for operating the robotic system |
-
2017
- 2017-12-19 CN CN201711377451.7A patent/CN108356806B/en active Active
-
2018
- 2018-12-17 EP EP18893239.6A patent/EP3730254B1/en active Active
- 2018-12-17 JP JP2020533658A patent/JP7053067B2/en active Active
- 2018-12-17 WO PCT/CN2018/121436 patent/WO2019120150A1/en unknown
-
2020
- 2020-06-18 US US16/905,904 patent/US11325249B2/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030040249A1 (en) * | 2001-08-24 | 2003-02-27 | Xerox Corporation | Robotic toy modular system with distributed program |
CN204315156U (en) * | 2014-09-19 | 2015-05-06 | 苏州博实机器人技术有限公司 | The dismantled and assembled serial manipulator of a kind of modular building block type |
CN104326031A (en) * | 2014-10-29 | 2015-02-04 | 北京可以科技有限公司 | Cell robot |
GB2533314A (en) * | 2014-12-15 | 2016-06-22 | Indybo Ltd | Modular robotic system |
CN107225565A (en) * | 2016-03-24 | 2017-10-03 | 发那科株式会社 | Robot system, mechanism unit and robot controller |
CN106272550A (en) * | 2016-08-17 | 2017-01-04 | 北京可以科技有限公司 | Configuration controls information processing method and device |
CN106945036A (en) * | 2017-03-21 | 2017-07-14 | 深圳泰坦创新科技有限公司 | Robot motion generation method and device |
CN108326846A (en) * | 2017-12-19 | 2018-07-27 | 北京可以科技有限公司 | Modularization robot and its modular unit position calculating method |
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 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3730254A4 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4089490A4 (en) * | 2020-01-07 | 2024-02-28 | Beijing Keyi Technology Co., Ltd. | Robot control method, control system, and modular robot |
Also Published As
Publication number | Publication date |
---|---|
EP3730254B1 (en) | 2024-08-07 |
JP2021506604A (en) | 2021-02-22 |
EP3730254A1 (en) | 2020-10-28 |
US11325249B2 (en) | 2022-05-10 |
EP3730254A4 (en) | 2021-10-06 |
JP7053067B2 (en) | 2022-04-12 |
CN108356806B (en) | 2020-12-18 |
CN108356806A (en) | 2018-08-03 |
US20210347043A1 (en) | 2021-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019120150A1 (en) | Modular robot control method and system | |
WO2019120149A1 (en) | Modular robot and method for calculating position of module unit thereof | |
Gutiérrez et al. | Open e-puck range & bearing miniaturized board for local communication in swarm robotics | |
CN109543703B (en) | Sensor data processing method and device | |
CN108189029B (en) | Control system of modular robot, modular robot system and method for controlling modular robot | |
CN112261669A (en) | Network beam orientation control method and device, readable medium and electronic equipment | |
Yu et al. | A portable, 3D-printing enabled multi-vehicle platform for robotics research and education | |
WO2019120151A1 (en) | Prompt method and system for building modular apparatus | |
JP7457814B2 (en) | Robot control method, control system and modular robot | |
US11458620B2 (en) | Correction method and system for constructing modular robot and control method for modular robot | |
Khorbotly et al. | An RSS-based triangulation method for robot tracking in robotic swarms | |
Cagnoni et al. | Hybrid stereo sensor with omnidirectional vision capabilities: Overview and calibration procedures | |
Ding et al. | An adaptive localisation algorithm of mobile node in wireless sensor network | |
Dang et al. | Design of a new cost-effective head for a low-cost humanoid robot | |
Lynch | Multi-robot behaviors with bearing-only sensors and scale-free coordinates | |
Micea et al. | Distance measurement for indoor robotic collectives | |
Ma et al. | Wireless inter-vehicle communication among VEX robots | |
Hemond et al. | MICA: An Innovative approach to remote data acquisition | |
Shi et al. | An Efficient Multi-Robot 3D SLAM Algorithm | |
Miček et al. | Mobile sensor elements based on robotic platform YROBOT | |
Ma | SLAM research for port AGV based on 2D LIDAR | |
Lan et al. | Solving the Perspective-2-Point Problem for Flying-Camera Photo Composition | |
Xu et al. | M-DIVO: Multiple ToF RGB-D Cameras Enhanced Depth-Inertial-Visual Odometry | |
Zyskowski | A Networked Solution to Robotic Sound Source Localization | |
Nises | ROS-based implementation of a model car with a LiDAR and camera setup |
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: 18893239 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2020533658 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2018893239 Country of ref document: EP Effective date: 20200720 |