Intelligent servo motor and drive device using multiple intelligent servo motors

By introducing the switching unit to set the public ID communication mode in the intelligent servo motor, the problem of long time-consuming and arduous tasks in setting the identification code in the multi-axis control device is solved, and the identification code reading and motion parameter rewriting without disconnection are realized, simplifying Intelligent servo motor identification code setting and motion parameter management.

CN112106292BActive Publication Date: 2024-08-23ROBOTSHOP JAPAN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201880093427.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-05-14
Publication Date
2024-08-23
Estimated Expiration
2038-05-14

AI Technical Summary

Technical Problem

In the existing multi-axis control device, the identification code setting of the intelligent servo motor needs to be set one by one, which is time-consuming and the task is heavy when the identification ID is uncertain or incorrectly installed. It is impossible to read the identification code and motion parameters without disconnecting the network. rewrite.

Method used

The intelligent servo motor adopts the switching part to set the public ID communication mode, and communicates through the individual setting mode or the public ID mode, allowing the main control part to call the identification ID and motion parameters, and the identification ID can be found or reassigned without resetting the firmware, and Servo motors with different identification IDs are processed in the same circuit.

Benefits of technology

It enables the identification ID and motion parameters of smart servo motors to be read and modified without disconnecting the network, simplifies the identification code setting process, reduces time and energy consumption, and supports the processing of servo motors with different identification IDs in the same circuit. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112106292B
    Figure CN112106292B
Patent Text Reader

Abstract

[Subject] Provide an intelligent servo motor that can communicate without using an identification ID and a drive device using the above-mentioned intelligent servo motor. [Solution] A main control unit (11) is connected to multiple intelligent servo motors (1‑1 to 1‑N) via a single communication path (13), and the main control unit (11) can communicate with each intelligent servo motor using an identification ID. If a switching unit provided in any intelligent servo motor (1‑u) is operated, the intelligent servo motor (1‑u) and the main control unit (11) can communicate using a public ID such as a symbol of "255". Through this communication, the main control unit (11) can read the identification ID assigned to the intelligent servo motor (1‑u).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an intelligent servomotor that stores motion parameters in advance and outputs rotation, and a driving device that drives a robot or other devices by forming a network with a plurality of the intelligent servomotors. Background Art

[0002] The invention related to a multi-axis control device using intelligent servo motors is described in the following Patent Document 1. The multi-axis control device is configured such that a main controller and a plurality of intelligent servo motors can communicate via a single bus.

[0003] Patent document 1 discloses a method for setting the identification code of an intelligent servo motor. In the identification code setting method, as described in paragraph

[0042] , each intelligent servo motor enters an identification code setting mode when receiving an identification code setting instruction from a main controller. In the identification code setting mode, all intelligent servo motors are reset to a pre-set identification code, such as Figure 4 As shown in A, the identification codes of all intelligent servo motors become "ID=0".

[0004] like Figure 4 As shown in B, the shaft of the first stage intelligent servo motor is rotated. If it is determined that the rotation angle of the shaft is greater than the set value, the identification code of the intelligent servo motor is set to "ID = 1", and the setting instruction signal is notified to other intelligent servo motors via the bus. Figure 4 As shown in C, the identification codes of all intelligent servo motors are rewritten as "ID=1".

[0005] Next, if Figure 4 As shown in D, the shaft of the second stage intelligent servo motor is rotated. If it is determined that the rotation angle of the shaft is greater than the set value, the identification code of the intelligent servo motor is set to "ID = 2". In this case, the setting instruction signal is also notified to other intelligent servo motors via the bus. Figure 4 As shown in E, the identification codes of all the intelligent servo motors after the third stage are rewritten to "ID=2." By repeating this setting operation in sequence, the identification codes of the plurality of intelligent servo motors are set in sequence.

[0006] Prior Art Literature

[0007] Patent Literature

[0008] Patent Document 1: Japanese Patent Application Publication No. 2017-63590 Summary of the invention

[0009] Problems to be solved by the invention

[0010] According to the method for setting identification codes in a multi-axis control device described in Patent Document 1, when the identification code setting mode is entered, all intelligent servo motors are reset to the identification codes set in advance. Then, in order to set the identification codes of the intelligent servo motors, the resetting operation of rotating the shaft must be performed on each intelligent servo motor in turn, so it takes a lot of effort and time to set the identification codes for all the intelligent servo motors.

[0011] For example, in a device such as a robot equipped with multiple intelligent servo motors, it is sometimes necessary to confirm the identification ID or motion parameters of one or more intelligent servo motors when the identification code of a certain intelligent servo motor is uncertain or an intelligent servo motor with a specified identification code is installed in a wrong position. In such a case, if the method described in Patent Document 1 is used, the identification mode must be re-set for all intelligent servo motors.

[0012] Alternatively, when it is uncertain how a certain intelligent servo motor is set, the intelligent servo motor needs to be disconnected from the network, which is a heavy workload.

[0013] The present invention is made to solve the above-mentioned previous problems, and its purpose is to provide an intelligent servo motor and a driving device using multiple intelligent servo motors. The intelligent servo motor does not need to be disconnected from the connected network. In addition, even if the settings of each intelligent servo motor are not reset, the intelligent servo motor can communicate with the main control unit and read the identification code, etc.

[0014] Solutions to Solve Problems

[0015] The present invention is an intelligent servo motor, which is provided with a motor, a motor driver for driving the motor, a detection unit for detecting the rotation of the motor, and a motor controller for obtaining the detection output from the detection unit and controlling the motor driver, and is characterized in that:

[0016] The intelligent servo motor is provided with a switching unit capable of performing operations.

[0017] When the switching signal is received from the switching unit, a public ID communication mode using a public ID other than the identification ID assigned in advance is set in the motor controller.

[0018] In the intelligent servo motor of the present invention, it is preferable that, when a switching signal is received from the switching unit, the public ID communication mode is set to continue for a predetermined time.

[0019] The intelligent servo motor of the present invention can be switched to an individual setting mode for performing individual setting of the motor controller other than the public ID communication mode according to a switching signal from the switching unit.

[0020] Furthermore, in the intelligent servo motor of the present invention, it is preferable that a button is provided in the switching section, and the setting of the public ID communication mode and the individual setting mode are switched by making the duration of pressing the button different.

[0021] Next, the present invention is a driving device, which is provided with a main control unit and a plurality of intelligent servo motors as described in any one of the above, characterized in that:

[0022] The main control unit can communicate with each of the plurality of intelligent servo motors.

[0023] When any of the intelligent servo motors is set to the public ID communication mode, communication using the public ID is performed between the main control unit and the intelligent servo motor.

[0024] In the driving device of the present invention, the connection between the main control unit and the plurality of intelligent servomotors is a daisy chain connection using a single communication path.

[0025] The driving device of the present invention can call the identification ID pre-assigned to the intelligent servo motor from the intelligent servo motor set to the public ID communication mode through the above-mentioned main control unit.

[0026] In addition, the driving device of the present invention can rewrite the motion parameters of the above-mentioned intelligent servo motor set in the public ID communication mode through instructions from the above-mentioned main control unit.

[0027] Effects of the Invention

[0028] The intelligent servo motor of the present invention can be accessed by operating the switching unit using a public ID that is an ID other than the identification ID and uses a predetermined symbol. By using the public ID to access the intelligent servo motor, the identification ID can be called from the intelligent servo motor or parameters stored in the intelligent servo motor can be rewritten.

[0029] In a drive device capable of communicating between a main control unit and a plurality of intelligent servo motors, by setting any one or more intelligent servo motors to a common ID communication mode, the identification ID and the like can be called from the intelligent servo motor to the main control unit.

[0030] In the above-mentioned drive device, the identification ID of any intelligent servo motor can be searched without resetting the firmware in the main control unit. In addition, even if an intelligent servo motor other than an intelligent servo motor set to a public ID communication mode is connected to the same circuit, the identification ID of the intelligent servo motor set to the public ID communication mode can be searched. Furthermore, even if the identification IDs of each intelligent servo motor connected to the circuit are uncertain, the public ID can be used to access the intelligent servo motor, reallocate the identification ID, or set motion parameters, etc. In addition, even if intelligent servo motors with the same identification ID are connected to the same circuit, the identification ID of the intelligent servo motor can be changed to a different identification ID to perform various responses. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 is a circuit block diagram of an intelligent servo motor according to an embodiment of the present invention,

[0032] Figure 2 This is a circuit block diagram of a drive device that uses a main control unit and multiple intelligent servo motors.

[0033] Figure 3 is a flowchart showing the operation of setting the intelligent servo motor to the public ID communication mode,

[0034] Figure 4 This is a flowchart for when the ID recognition action is called from the intelligent servo motor in the drive device. DETAILED DESCRIPTION

[0035] exist Figure 1 Detailed Description of the Invention An intelligent servo motor 1 according to an embodiment of the present invention is shown in FIG.

[0036] The intelligent servo motor 1 has a motor 2. The motor 2 is a DC motor. The rotating shaft of the motor 2 is connected to a speed reduction mechanism 3, and the rotation of the rotating shaft of the motor 2 is decelerated and taken out as a rotation output. An encoder 4 is connected to the rotating shaft of the motor 2 as a detection unit. The encoder 4 is an optical detection type or an electromagnetic detection type, and can obtain a pulse signal synchronized with the rotation of the rotating shaft of the motor 2.

[0037] The intelligent servo motor 1 is provided with a motor controller 5, and the motor controller 5 controls the motor driver 6. The pulse output from the encoder 4 is transmitted to the motor controller 5. The motor controller 5 is mainly composed of a calculation unit and a memory, and the memory stores motion parameters such as the number of operating pulses (rotation angle of the motor 2), the operating pulse speed (rotation speed of the motor 2), and the acceleration and deceleration rate. The calculation unit refers to the rotation output of the motor 2 obtained from the encoder 4, and outputs a drive pulse to the motor driver 6 according to the above motion parameters. The motor driver 6 transmits a DC output corresponding to the pulse amplitude of the above drive pulse to the motor 2.

[0038] The intelligent servo motor 1 is provided with an input / output unit 7 . Figure 2 The drive instruction signal transmitted via the communication path 13 extending from the main control unit 11 is input to the input / output unit 7 and output.

[0039] The intelligent servo motor 1 is provided with a switching unit 8 and a display unit 9. The switching unit 8 of the intelligent servo motor 1 of the embodiment is composed of a button and a mechanism switch operated by the button. In addition, the switching unit 8 can also be composed of a rotary switch or a touch switch that detects a change in electrostatic capacitance or a change in resistance value. When the switching unit 8 is operated, a switching signal is transmitted to the motor controller 5. The display unit 9 is composed of a plurality of LEDs with different luminous colors. The display unit 9 is lit according to the instruction from the motor controller 5.

[0040] exist Figure 2 FIG. 1 shows a driving device 10 according to an embodiment of the present invention. The driving device 10 includes a plurality of intelligent servo motors 1. Figure 2 In the embodiment, N (N is an integer) intelligent servo motors 1 are used. Each intelligent servo motor is represented by a symbol 1-1, 1-2, 1-3, ... 1-N-1, 1-N. All intelligent servo motors have the same size and specification. If they can be controlled through the same communication path 13, intelligent servo motors of different sizes or specifications can also be used in combination.

[0041] The driving device 10 includes a main control unit 11 . The main control unit 11 is composed of a CPU, a memory, etc. The main control unit 11 and the N intelligent servo motors 1 are connected via a single communication path (bus) 13 . Figure 2 The connection structure shown is a so-called daisy chain connection, and N intelligent servo motors 1 are connected in series on a communication path (bus) 13 extending from a main control unit 11. The main control unit 11 outputs a drive instruction signal based on an installed program. The drive instruction signal is transmitted to each motor controller 5 via the communication path 13 and the input / output unit 7 of all intelligent servo motors 1.

[0042] Next, refer to Figure 3 The flowchart shown explains the operation of the intelligent servo motor 1 .

[0043] Figure 1 The intelligent servo motor 1 shown has a pre-assigned identification ID stored in a memory built into the motor controller 5. In addition, the memory stores motion parameters such as the number of operating pulses (rotation angle of the motor 2), the operating pulse speed (rotation speed of the motor 2), and the acceleration and deceleration rate. Figure 2The communication path 13 shown supplies power from the main control unit 11 to the input / output unit 7 of the intelligent servo motor 1, and transmits a drive instruction signal from the main control unit 11 to the target intelligent servo motor 1. In the motor controller 5, the identification ID included in the drive instruction signal is checked with the identification ID assigned to the intelligent servo motor 1, and if they are consistent, the drive instruction signal from the main control unit 11 is received. Based on the drive instruction signal, the motor controller 5 transmits a drive pulse to the motor driver 6 based on the above-mentioned motion parameters stored in advance, so as to operate the motor 2.

[0044] Furthermore, the main control unit 11 can also access the motor controller 5 using the identification ID to rewrite the motion parameters and the like stored in the motor controller 5 of the intelligent servo motor 1 .

[0045] Intelligent servo motor 1 through operation Figure 1 The switching unit 8 shown can switch the processing operation of the motor controller 5 to the "public ID communication mode" or to the "individual setting mode".

[0046] like Figure 3 As shown in the flowchart of, in ST1 (step 1), while the motor 2 is stopped, if it is determined in ST2 that a switching operation has been performed on the switching unit 8, the process proceeds to ST3, and the motor controller 5 determines what kind of operation has been performed on the switching unit 8. In ST3, if it is determined that the operation on the switching unit 8 is a "switching operation that enables public ID communication", the process proceeds to the "public ID communication mode" of ST4. In ST3, if it is determined that the operation on the switching unit 8 is a "switching operation for individually setting the motor controller 5", the process proceeds to the "individual setting mode" of ST5.

[0047] The switching unit 8 has a button. The "switching operation that enables public ID communication" in ST3 is, for example, a long-pressing operation of pressing the button for a predetermined time or longer, and the predetermined time is about 3 to 5 seconds. When the button is pressed for less than the predetermined time, ST3 determines that it is a "switching operation for individually setting the motor controller 5". That is, according to the difference in the duration of pressing the button, either the "public ID communication mode" or the "individual setting mode" is set.

[0048] The "Individual Setting Mode" of ST5 is for Figure 2The network of the daisy chain or the like shown is set in a mode of the action conditions of each intelligent servo motor 1 required when the intelligent servo motor 1 is driven individually by PWM. When the intelligent servo motor 1 is driven individually by PWM, it is necessary to set the angle range of the rotation output of the motor 2 individually to, for example, ±45 degrees, ±90 degrees, ±180 degrees, ±360 degrees, etc., relative to the range of change of the pulse width of the PWM drive signal. After the button of the switching unit 8 is pressed once for less than the above-mentioned prescribed time and the "individual setting mode" of ST5 is set, if the button is further pressed once or more times, the angle range of the rotation output is set to ±45 degrees, ±90 degrees, ±180 degrees, ±360 degrees, etc. in the motor controller 5 according to the number of presses. In the display unit 9, the number of LEDs that light up or the light color of the LEDs changes according to the setting of the angle range.

[0049] In addition, in forming Figure 2 In the case of the network connected in a daisy chain as shown, it is not necessary to individually set the angle range of the rotation output by the above-mentioned "individual setting mode". When building a network, the identification ID assigned to each intelligent servo motor 1 can be used to individually access each intelligent servo motor 1-1, 1-2, ... 1-N from the main control unit 11, and the motion parameters stored in the motor controller 5 of each intelligent servo motor can be installed or rewritten by the command from the main control unit 11.

[0050] Next, if the "public ID communication mode" of ST4 is set by long pressing the button, the motor controller 5 can communicate with the main control unit 11 using the "public ID" instead of the identification ID assigned to the intelligent servo motor 1. The "public ID" is a predetermined code other than the identification ID assigned to each intelligent servo motor 1. The intelligent servo motor 1 set to the "public ID communication mode" and the main control unit 11 can communicate using the "public ID".

[0051] For example, when the motor controller 5 is a 16-bit processor, the "public ID" is set to the symbol "255". That is, if the "public ID communication mode" of ST4 is switched, no matter what the value of the assigned identification ID is, the identification ID is not used, and the symbol "255" is used to enable communication between the main control unit 11 and the intelligent servo motor 1 set in the "public ID communication mode".

[0052] If the "public ID communication mode" is set by long pressing the button, the "public ID communication mode" lasts for a specified time. The duration of the "public ID communication mode" is set to the time required for mutual communication of data such as identification ID from the intelligent servo motor 1 to the main control unit 11, and it is not too long. For example, the duration is "10 seconds". While the "public ID communication mode" lasts, the LED of a predetermined color is continuously lit in the display unit 9 according to a predetermined number. In addition, even during the duration, the "public ID communication mode" can be stopped by pressing the button of the switching unit 8 once.

[0053] Next, refer to Figure 4 The flowchart shown is Figure 2 The control operation of the drive device 10 shown will be described.

[0054] In the daisy-chain connected drive device 10, an identification ID is assigned to each intelligent servo motor 1. Figure 2 In the illustrated embodiment, the identification ID of the intelligent servo motor 1 - 1 is “001”, the identification ID of the intelligent servo motor 1 - 2 is “002”, and the identification ID of the intelligent servo motor 1 -N is “N”.

[0055] exist Figure 4 In ST11 of the flowchart shown, when all the intelligent servo motors 1 are not set to the "public ID communication mode", normal control is performed in ST14. In the normal control of ST14, the main control unit 11 transmits the drive instruction signal including the identification ID and the action instruction to all the intelligent servo motors 1 via a single communication path (bus) 13. In the motor controllers 5 of all the intelligent servo motors 1, the individually assigned identification ID is checked against the identification ID included in the drive instruction signal. The intelligent servo motor 1 with the same identification ID interprets the action instruction following the identification ID in the drive instruction signal, and controls the motor driver 6 according to the motion parameters stored in the motor controller 5 to drive the motor 2.

[0056] like Figure 2 The driving device 10 shown is mounted on a robot or other devices, and the robot or other devices perform operations corresponding to the rotation angles or rotation speeds of the rotation outputs of the respective intelligent servomotors 1 .

[0057] like Figure 2 If any of the smart servo motors 1 shown is set to the "public ID communication mode", the main control unit 11 transfers to ST12. The "public ID communication mode" is set by pressing and holding the button of the switching unit 8 of any of the smart servo motors 1 as needed. For example, when you want to confirm Figure 2When the identification ID of a specific intelligent servo motor 1 - u among the plurality of intelligent servo motors shown is obtained, the button of the switching unit 8 is long pressed to switch the intelligent servo motor 1 - u to the "public ID communication mode".

[0058] In ST11, if the intelligent servo motor 1-u is switched to the "public ID communication mode", in ST12, the main control unit 11 and the intelligent servo motor 1-u can communicate using a public ID formed by a symbol such as "255". This communication lasts for a specified time such as 10 seconds. Through this communication, the main control unit 11 can call and confirm the identification ID assigned to the intelligent servo motor 1-u. In addition, the main control unit 11 can also call and confirm the motion parameters stored in the motor controller 5 of the intelligent servo motor 1-u.

[0059] Thus, when a plurality of intelligent servo motors 1 are assembled in a robot or other device, when it is necessary to confirm whether an intelligent servo motor 1 with a specified identification ID is assembled to the optimal position, or when it is necessary to confirm the identification ID of a specific intelligent servo motor 1-u because the robot or other device does not perform the initially planned action, the identification ID can be easily confirmed in a short time without accessing other intelligent servo motors 1.

[0060] In addition, when the identification ID or motion parameter settings of any intelligent servo motor 1 are unclear, there is no need to disconnect the intelligent servo motor 1 from the daisy chain network. The identification ID of the intelligent servo motor 1 or the motion parameter settings of the intelligent servo motor 1 can be confirmed by simply operating the switching unit 9 of the intelligent servo motor 1 and setting the intelligent servo motor 1 to the "public ID communication mode".

[0061] In addition, by setting the "public ID communication mode", multiple intelligent servo motors 1 can be accessed simultaneously. For example, when the motion parameters of multiple intelligent servo motors 1 with identification IDs such as "004", "008", and "009" are to be rewritten to the same value, instead of using the respective identification IDs, the motion parameters of multiple symmetrical intelligent servo motors 1 can be rewritten simultaneously by long pressing the button of the switching unit 8 of the symmetrical intelligent servo motor 1 and setting it to the "public ID communication mode".

[0062] in addition, Figure 2 The driving device 1 shown is a so-called daisy chain connection in which the main control unit 11 and a plurality of intelligent servo motors are connected via a single communication path 13, but the driving device 1 of the present invention may also connect the main control unit 11 and each intelligent servo motor in parallel. If the intelligent servo motor of the embodiment is used, any intelligent servo motor can be set to the "public ID communication mode" regardless of the communication path between the main control unit, thereby quickly accessing the intelligent servo motor without using an identification ID.

[0063] Description of Reference Numerals

[0064] 1 Intelligent servo motor

[0065] 2 Motor

[0066] 3. Speed ​​reduction mechanism

[0067] 4 Encoder (detection unit)

[0068] 5 Motor Controller

[0069] 6 Motor Driver

[0070] 7 Input and output section

[0071] 8 Switching unit

[0072] 9 Display

[0073] 10. Drive device

[0074] 11 Main control unit

[0075] 13 Communication Path

Claims

1. A driving device, comprising a main control unit and a plurality of intelligent servo motors, Each of the intelligent servo motors is provided with a motor, a motor driver for driving the motor, a detection unit for detecting the rotation of the motor, a motor controller for obtaining the detection output from the detection unit and controlling the motor driver, and an operable switching unit, and is characterized in that: The main control unit can communicate with each of the plurality of intelligent servo motors using different identification IDs assigned to different intelligent servo motors, and can also communicate with any intelligent servo motor using a public ID different from the identification ID. The motor controller of each of the above-mentioned intelligent servo motors can set the public ID communication mode when detecting the signal change generated by the switching operation of the above-mentioned switching unit. When any intelligent servo motor is set to the above-mentioned public ID communication mode, the above-mentioned main control unit uses the above-mentioned public ID to communicate only with the intelligent servo motor set to the above-mentioned public ID communication mode, and the above-mentioned main control unit can call the above-mentioned identification ID from the intelligent servo motor set to the above-mentioned public ID communication mode.

2. The driving device according to claim 1, wherein: The main control unit and the plurality of intelligent servo motors are connected in a daisy chain manner using a single communication path.

3. The driving device according to claim 1, wherein: The motion parameters of the intelligent servo motor set in the public ID communication mode can be rewritten by a command from the main control unit.

4. The driving device according to claim 1, wherein: When the switching signal is received from the switching unit, the public ID communication mode is set to continue for a predetermined time.

5. The driving device according to claim 1, wherein: In accordance with a switching signal from the switching unit, the mode can be switched to an individual setting mode for performing individual setting of the motor controller other than the common ID communication mode.

6. The driving device according to claim 5, wherein: The switch unit is provided with a button, and the setting of the public ID communication mode and the individual setting mode are switched by varying the duration of pressing the button.