Mechanical arm control device, control circuit and joint motor control circuit
By realizing cascade communication of joint motor control circuits in the service robot's manipulator control circuit, using EtherCAT and CAN bus protocols, and built-in sensor signal processing, it solves the problem of difficulty in miniaturization and complex data transmission of joint motor control circuits in the existing technology. solve the problem and improve the integration and control efficiency of the robotic arm.
Patent Information
- Application Number
- CN202420072768.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-11
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2034-01-11
AI Technical Summary
The existing mechanical arm control technology of service robots fails to realize the cascading of each joint motor control circuit, making it difficult to miniaturize, lightweight and reduce the cost of the joint motor control circuit, and the data transmission complexity is high, which affects the integration and quality of the mechanical arm. Control efficiency.
By introducing the cascade communication bus circuit and the cascade communication pins of the microprocessor chip into the robot arm control circuit, the cascade communication bus circuit is directly electrically connected to form a cascade link of the joint motor control circuit, using EtherCAT and CAN buses. Protocol for communication, and built-in BISSC encoder and other sensor signal processing, reducing the need for external control chips.
The cascade of motor control circuits for each joint is realized, which improves the integration of the robotic arm, reduces the cost and complexity, enhances the reliability and efficiency of data communication, and promotes the miniaturization and lightweight of the robotic arm.
Smart Images

Figure CN221872005U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of service robots, in particular to a joint motor control device, a control circuit and a joint motor control circuit of a mechanical arm. Background Art
[0002] A service robot is a semi-autonomous or fully autonomous robot that can perform service tasks that are beneficial to humans, for example, some robots that are close to people's lives.
[0003] The mechanical arm of the service robot is one of the components of the service robot. A mechanical arm usually includes a plurality of joint parts, and the joint parts control the joint motors through corresponding joint motor control circuits.
[0004] The existing service robot's robotic arm control is a cascade connection between several robotic arm control circuits. For example, if the service robot has two robotic arms, the cascade connection is to cascade the two robotic arm control circuits. This cascade connection only realizes the signal transmission and reception between the robotic arm control circuits, but fails to realize the cascade connection of each joint motor control circuit. Summary of the invention
[0005] The utility model provides a mechanical arm control device, a control circuit and a joint motor control circuit to realize the cascade connection of each joint motor control circuit.
[0006] The utility model provides a robot arm control device in a first aspect, the robot arm control device comprising: a robot arm control circuit, and at least one joint motor control circuit cascaded in sequence, wherein the at least one joint motor control circuit cascaded in sequence forms a link,
[0007] In the link, the first-stage joint motor control circuit is electrically connected to the robotic arm control circuit.
[0008] The control circuit comprises:
[0009] A microprocessor chip, wherein the microprocessor chip has cascade communication pins,
[0010] A cascade communication bus circuit is electrically connected between the cascade control circuit and the cascade communication pin.
[0011] Preferably, there are multiple links, and the first-level joint motor control circuit is electrically connected to the robot arm control circuit in each link.
[0012] Preferably, the cascade communication pin includes at least one of a first cascade communication pin and a second cascade communication pin.
[0013] Preferably, the cascade communication bus circuit comprises: at least one of a first cascade communication bus circuit and a second cascade communication bus circuit,
[0014] in,
[0015] The first cascade communication bus circuit is electrically connected to the first cascade communication pin,
[0016] The second cascade communication bus circuit is electrically connected to the second cascade communication pin,
[0017] The first cascade communication bus circuit and the second cascade communication bus circuit support different communication protocols.
[0018] Preferably, the first cascade communication pin and the second cascade communication pin both include a receiving pin and a transmitting pin.
[0019] Preferably, the first cascade communication bus circuit and the second cascade communication bus circuit both include:
[0020] A bus receiving circuit, the bus receiving circuit being electrically connected between the bus transmitting circuit and a receiving pin in the previous control circuit, the receiving pin and the bus receiving circuit supporting the same communication protocol,
[0021] A bus transmitting circuit is electrically connected between the transmitting pin and a bus receiving circuit in a next control circuit, and the communication protocol supported by the bus transmitting circuit is the same as that supported by the transmitting pin.
[0022] Preferably, in the link, the final joint motor control circuit is electrically connected to the robotic arm control circuit.
[0023] Preferably, the first cascade communication bus circuit is an industrial field bus CAN bus circuit,
[0024] Preferably, the second cascade communication bus circuit is an Ethernet control automation technology EtherCAT bus circuit,
[0025] Preferably, the first-stage joint motor control circuit is electrically connected to the robot arm control circuit via at least one of an EtherCAT bus circuit and a CAN bus circuit.
[0026] Preferably, the final joint motor control circuit is electrically connected to the robot arm control circuit via at least one of an EtherCAT bus circuit and a CAN bus circuit.
[0027] Preferably, in the link, two adjacent joint motor control circuits are electrically connected via at least one of an EtherCAT bus circuit and a CAN bus circuit;
[0028] Preferably, the microprocessor chip in the joint motor control circuit further has: a communication pin at this level,
[0029] Preferably, the joint motor control circuit further includes:
[0030] The communication bus circuit at this level is electrically connected between the sensor for collecting the rotation information of the joint motor and the communication pin at this level.
[0031] Preferably, the first-stage joint motor control circuit is electrically connected to the robot arm control circuit via at least one of an EtherCAT bus circuit and a CAN bus circuit, including:
[0032] The bus receiving circuit in the first-stage joint motor control circuit is electrically connected to the bus sending circuit in the robot arm control circuit, and the bus receiving circuit supports the same communication protocol as the bus sending circuit.
[0033] Preferably, the final joint motor control circuit is electrically connected to the robot arm control circuit via at least one of an EtherCAT bus circuit and a CAN bus circuit, including:
[0034] The bus transmitting circuit in the final joint motor control circuit is electrically connected to the bus receiving circuit in the robotic arm control circuit, and the bus receiving circuit supports the same communication protocol as the bus transmitting circuit.
[0035] Preferably, the two adjacent joint motor control circuits are electrically connected via at least one of an EtherCAT bus circuit and a CAN bus circuit, including:
[0036] For the first-stage joint motor control circuit and its adjacent next-stage joint motor control circuit, the bus sending circuit in the first-stage joint motor control circuit is at least one of a CAN bus receiving circuit and an EtherCAT bus receiving circuit, and the bus receiving circuit in the next-stage joint motor control circuit supports the same communication protocol as the bus sending circuit in the first-stage joint motor control circuit.
[0037] For the current joint motor control circuit and the next joint motor control circuit in two adjacent joint motor control circuits except the first joint motor control circuit,
[0038] The bus receiving circuit in this joint motor control circuit supports the same communication protocol as the bus sending circuit in the previous joint motor control circuit.
[0039] The bus sending circuit in the joint motor control circuit is at least one of a CAN bus receiving circuit and an EtherCAT bus receiving circuit.
[0040] The bus receiving circuit in the next joint motor control circuit supports the same communication protocol as the bus sending circuit in the current joint motor control circuit.
[0041] The bus sending circuit in the next joint motor control circuit is at least one of a CAN bus receiving circuit and an EtherCAT bus receiving circuit;
[0042] Preferably, the communication pins at this level include: a first communication pin at this level, and a second communication pin at this level,
[0043] Preferably, the communication bus circuit at this level includes:
[0044] A first level communication bus circuit, wherein the first level communication bus circuit is electrically connected between the motor encoder and the first level communication pin,
[0045] The second-level communication bus circuit is electrically connected between the reducer encoder and the second-level communication pin.
[0046] Preferably, the motor encoder and reducer encoder are both bidirectional synchronous serial protocol BISSC encoders.
[0047] The communication pins at this level also include: a third communication pin at this level,
[0048] The communication bus circuit at this level also includes:
[0049] A third level communication bus circuit, wherein the third level communication bus circuit is electrically connected between the torque sensor and the third level communication pin
[0050] The microprocessor chip also has a sampling signal input pin,
[0051] The joint motor control circuit also includes:
[0052] A sampling circuit is electrically connected to a sampling signal input pin.
[0053] Preferably, the microprocessor chip also has a control signal output pin.
[0054] Preferably, the joint motor control circuit further includes:
[0055] A drive circuit, the drive circuit being electrically connected to the control signal output pin;
[0056] Preferably, the sampling signal input pin includes: a first sampling signal input pin, a second sampling signal input pin, and a third sampling signal input pin.
[0057] Preferably, the sampling circuit comprises:
[0058] A current sampling circuit, wherein the current sampling circuit is electrically connected to the first sampling signal input pin,
[0059] a motor temperature sampling circuit, wherein the motor temperature sampling circuit is electrically connected to the second sampling signal input pin,
[0060] An onboard temperature sampling circuit is electrically connected to the third sampling signal input pin.
[0061] Preferably, the first current-level communication bus circuit and the second current-level communication bus circuit are RS422 communication bus circuits.
[0062] Preferably, the third level communication bus circuit is an RS485 communication bus circuit.
[0063] Preferably, the communication mode of the communication pins at this level is a master-slave half-duplex communication mode.
[0064] A second aspect of the present invention provides a robot arm control circuit, the robot arm control circuit comprising:
[0065] A microprocessor chip, wherein the microprocessor chip has cascade communication pins,
[0066] A cascade communication bus circuit is electrically connected between the cascaded joint motor control circuit and the cascade communication pin.
[0067] The third aspect of the utility model provides a joint motor control circuit of a robotic arm, the joint motor control circuit comprising:
[0068] A microprocessor chip, wherein the microprocessor chip has a cascade communication pin and a current level communication pin,
[0069] a cascade communication bus circuit, the cascade communication bus circuit being electrically connected between the cascade control circuit and the cascade communication pin,
[0070] The communication pin of this level and the communication bus circuit of this level are electrically connected between the sensor for collecting the rotation information of the joint motor and the communication pin of this level.
[0071] The utility model provides a robot arm control device, which, through the direct electrical connection between the cascade communication bus circuit in the control circuit and the cascade communication pin of the microprocessor chip, not only enables the joint motor control circuits to be connected in series in sequence to form a cascade, but also facilitates the miniaturization, lightness and low cost of the joint motor control circuits, thereby facilitating improving the integration of the robot arm. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1aA schematic diagram of a robotic arm control device according to an embodiment of the present application.
[0073] Figure 1b A schematic diagram of the electrical connection between multiple links and the robot arm control circuit.
[0074] Figure 2 A schematic diagram of a joint motor control circuit according to an embodiment of the present application.
[0075] Figure 3 A schematic diagram of the connection between the BISSC encoder and the communication pins of the microprocessor chip in the embodiment of the present application.
[0076] Figure 4a A schematic diagram of a cascade interface according to an embodiment of the present application.
[0077] Figure 4b A schematic diagram of cascading the control circuits in the embodiment of the present application through a cascade bus circuit.
[0078] Figure 5 Another schematic diagram of the cascade of the embodiment of the present application.
[0079] Figure 6 This is another schematic diagram of the cascade of the embodiment of the present application.
[0080] Figure 7 A schematic diagram of the connection between the sampling circuit, the driving circuit and the microprocessor chip in the joint motor control circuit of the embodiment of the present application. DETAILED DESCRIPTION
[0081] In order to make the objectives, technical means and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings.
[0082] The applicant has found that the technical bottleneck in the cascade of joint motor control circuits is that, on the one hand, the joint motor control circuit itself is not miniaturized enough. For example, the encoded signal collected by the encoder used to collect joint motor rotation information usually supports the bidirectional synchronous serial protocol (BISSC). Generally, a programmable logic device such as a complex programmable logic device (CPLD) or a field programmable gate array (FPGA) is required as a BISSC chip for supporting the BISSC protocol to complete the BISSC protocol conversion of the joint motor control circuit. This makes the joint motor control circuit difficult to miniaturize and lightweight due to its high complexity, and also leads to high cost. On the other hand, the amount of data required to be transmitted between the cascaded joint motor control circuits is large. In order to support the output transmission of large amounts of data, it is necessary to add a communication interface circuit, which further makes the joint motor control circuit difficult to miniaturize and lightweight due to its high complexity.
[0083] In view of this, the present application improves the hardware framework of the control circuit to maximize the integration of the control circuit and realizes the cascading of the joint motor control circuit.
[0084] See also Figure 1a As shown, Figure 1a This is a schematic diagram of a robot arm control device according to an embodiment of the present application. The robot arm control device includes:
[0085] A robotic arm control circuit, and at least one joint motor control circuit cascaded in sequence, wherein the more than one joint motor control circuit cascaded in sequence forms a series link, for example, joint motor control circuit 1, joint motor control circuit 2, ... joint motor control circuit n in the figure form a link, and among the at least one joint motor control circuit cascaded in sequence, the first joint motor control circuit in the series link is the first-stage joint motor control circuit, and the last joint motor control circuit in the series link is the last-stage joint motor control circuit, the first-stage joint motor control circuit is electrically connected to the robotic arm control circuit, and the last-stage joint motor control circuit may or may not be electrically connected to the robotic arm control circuit, depending on the control needs.
[0086] The number of links can be more than one. The first-level joint motor control circuit in each link is electrically connected to the robotic arm control circuit. The last-level joint motor control circuit in any link may or may not be electrically connected to the robotic arm control circuit, depending on the control needs.
[0087] The joint motor control circuit comprises:
[0088] A microprocessor chip, wherein the microprocessor chip has a cascade communication pin and a current level communication pin, wherein the cascade communication pin is used to provide a communication interface to the cascaded control circuit, and the current level communication pin is used to provide a communication interface to the peripheral circuit in the joint motor control circuit,
[0089] A cascade communication bus circuit, wherein the cascade communication bus circuit is electrically connected between the cascade control circuit and the cascade communication pin to transmit information between the joint motor control circuit and the cascade control circuit.
[0090] As an example, the cascade communication bus circuit includes a bus receiving circuit and a bus transmitting circuit, wherein the bus receiving circuit is electrically connected between the bus transmitting circuit and the receiving pin in the previous control circuit, and the bus transmitting circuit is electrically connected between the transmitting pin and the bus receiving circuit in the next control circuit.
[0091] The communication protocols supported by the bus receiving circuit and the bus transmitting circuit can be the same or different, which is conducive to improving the flexibility and adaptability of the cascade;
[0092] The communication bus circuit at this level is electrically connected between the sensor for collecting the rotation information of the joint motor and the communication pin at this level to realize the signal transmission between the microprocessor chip and the sensor in the joint motor control circuit.
[0093] See also Figure 1b As shown, Figure 1b A schematic diagram of multiple links electrically connected to a robotic arm control circuit. The robotic arm control circuit includes:
[0094] A microprocessor chip, wherein the microprocessor chip has cascade communication pins,
[0095] A cascade communication bus circuit is electrically connected between the cascaded joint motor control circuit and the cascade communication pin.
[0096] As an example, the first-stage joint motor control circuit in each link is electrically connected to a cascade communication bus circuit in the robot arm control circuit, for example, link 1 is electrically connected to cascade communication bus circuit 1, link 2 is electrically connected to cascade communication bus circuit 2, ..., link M is electrically connected to cascade communication bus circuit M, and the number of joint motor control circuits included in each link can be different or the same, for example, the number of joint motor control circuits included in link 1 is I, the number of joint motor control circuits included in link 2 is J, and the number of joint motor control circuits included in link M is N. The final-stage joint motor control circuit in each link may be electrically connected to the robot arm control circuit, or may not be electrically connected to the robot arm control circuit, depending on the control needs.
[0097] In the embodiment of the present application, the direct electrical connection between the cascade communication bus circuit and the cascade communication pins of the microprocessor chip is equivalent to making the communication bus circuit controller built into the microprocessor chip, compared to the electrical connection between the cascade communication bus circuit and the microprocessor chip through a communication bus circuit controller external to the microprocessor chip. This is beneficial to improving reliability, miniaturization, lightweight and low cost of the robot arm control device, and is also beneficial to realizing the cascade between joint motor control circuits and the cascade between joint motor control circuits and robot arm control circuits.
[0098] To facilitate the understanding of the present application, the circuit architecture of a cascaded joint motor control circuit with multiple control functions is used as an example for explanation below. It should be understood that the control function can be modified according to specific application requirements and is not limited to this embodiment.
[0099] See also Figure 2 As shown, Figure 2 This is a schematic diagram of a joint motor control circuit according to an embodiment of the present application. The circuit includes:
[0100] A microprocessor chip, the microprocessor chip having a cascade communication pin, a current level communication pin, a sampling signal input pin, and a control signal output pin,
[0101] in,
[0102] The sampling signal input pin is used to input the sampling signal from the sampling circuit into the microprocessor chip so that the microprocessor chip can perform analog-to-digital conversion on the sampling signal from the sampling circuit.
[0103] The control signal output pin is used by the microprocessor chip to output a control signal to the drive circuit to control the working state of the joint motor, for example, to control the target torque size of the joint, the torque maintenance time, etc., so as to perform joint movement operations.
[0104] As an example, the communication bus circuit at this level includes:
[0105] A first-level communication bus circuit is electrically connected between the motor encoder and the first-level communication pin to transmit signals between the microprocessor chip and the motor encoder.
[0106] The second level communication bus circuit is electrically connected between the reducer encoder and the second level communication pin to transmit signals between the microprocessor chip and the reduction encoder.
[0107] The third level communication bus circuit is electrically connected between the torque sensor and the third level communication pin to transmit signals between the microprocessor chip and the torsion sensor for measuring torque.
[0108] The communication protocols supported by the first-level communication bus circuit, the second-level communication bus circuit, and the third-level communication bus circuit may be the same or different.
[0109] In this embodiment, the motor encoder and the reducer encoder are BISSC encoders. Since the input and output signals of the BISSC encoder are differential signals, this is conducive to improving the reliability of the transmitted signal; the first communication bus circuit and the second communication bus circuit are RS422 communication bus circuits to complete the level conversion from the COM level to the corresponding level of RS422, and the microprocessor chip communicates in a master-slave half-duplex mode, so that there is no need for a dedicated BISSC control chip and its components. Compared with the SPI serial peripheral interface (SPI) required for the microprocessor chip to access the BISSC control chip, it is equivalent to building the BISSC control chip and its components into the microprocessor chip. For example, the BISSC control chip 1 of the motor BISSC encoder and the BISSC control chip 2 of the reducer BISSC encoder are both built into the microprocessor chip, which greatly reduces the complexity of the joint motor control circuit, thereby facilitating miniaturization, light weight, low cost and cascading. It should be understood that the microprocessor chip communicates in a master-slave half-duplex mode according to the BISSC protocol, which can be realized by implanting the code of the microprocessor chip, which is an existing mature technology for those skilled in the art.
[0110] See also Figure 3 As shown, Figure 3 A schematic diagram of the connection between the BISSC encoder and the communication pins of the microprocessor chip. The communication pins of the current level include differential clock signal pins MA+ and MA- for outputting clock signals, and differential encoding signal pins SLO+ and SLO- for inputting encoding signals.
[0111] In this embodiment, the third level communication bus circuit is an RS485 communication bus circuit to complete the level conversion from COM level to RS485 corresponding level, and the RS485 communication bus circuit is connected to the UART communication interface of the microprocessor chip.
[0112] As an example, the cascade communication bus circuit includes a first cascade communication bus circuit and a second cascade communication bus circuit, wherein the communication protocols supported by the first cascade communication bus circuit and the second cascade communication bus circuit may be the same or different, so as to improve the flexibility and adaptability of the cascade.
[0113] In this embodiment, the first cascade communication bus circuit and the second cascade communication bus circuit support different communication protocols. One supports the industrial field bus CAN protocol, i.e., the CAN bus circuit, and the other supports the Ethernet control automation technology (EtherCAT) protocol, i.e., the EtherCAT bus circuit. Since both the CAN bus circuit and the EtherCAT bus circuit support high-speed data transmission, this is conducive to improving the data transmission speed of large amounts of data between the cascade control circuits.
[0114] In this embodiment, the CAN bus circuit includes two CAN bus circuits, one of which is a bus sending circuit for sending information to the next cascade control circuit, and the bus sending circuit is electrically connected to the sending pin of the microprocessor chip, such as Figure 3 The CAN_TX pin in the CAN is another bus receiving circuit for receiving information from the previous cascade control circuit. The bus receiving circuit is electrically connected to the receiving pin of the microprocessor chip, such as Figure 3 Similarly, the EtherCAT bus circuit has two EtherCAT bus circuits, one of which is a bus transmission circuit for transmitting information to the next cascade control circuit, and the bus transmission circuit is electrically connected to the transmission pin of the microprocessor chip, such as Figure 3 The TXP and TXM pins in the circuit are used for receiving information from the previous cascade control circuit. Figure 3 The RXP and RXM pins in the .
[0115] What should be understood is that, for the first-stage joint motor control circuit, since the previous cascade control circuit is a robotic arm control circuit, the bus receiving circuit in the first-stage joint motor control circuit is electrically connected to the bus sending circuit in the robotic arm control circuit to receive information such as the target torque size and torque maintenance time of the joint motor of the relevant joint part calculated by the robotic arm control circuit based on the posture information; similarly, for the last-stage joint motor control circuit cascaded with the robotic arm control circuit, since the next cascade control circuit is a robotic arm control circuit, the bus sending circuit in the last-stage joint motor control circuit is electrically connected to the bus receiving circuit in the robotic arm control circuit.
[0116] It should be understood that when cascading, the above-mentioned CAN bus circuit and EtherCAT bus circuit can be used selectively. As an example, when the amount of data to be transmitted is large and a fast communication speed is required, for example, the amount of data to be transmitted is greater than the set data volume threshold, then the EtherCAT bus circuit is used to improve the response time of the motor control; when the amount of data to be transmitted is small and there is no need for a fast communication speed, the amount of data to be transmitted is not greater than the set data volume threshold, and the CAN bus circuit can be used for transmission. The above-mentioned CAN bus circuit and EtherCAT bus circuit can also be used in their entirety, and the selection of the communication bus circuit can be realized by implanting the code of the microprocessor chip, which is an existing mature technology for those skilled in the art.
[0117] See also Figure 4a As shown, Figure 4aA schematic diagram of the cascade of the embodiment of the present application. In view of the large amount of data between the first-level joint motor control circuit 1 and the robotic arm control circuit, the first-level joint motor control circuit 1 and the robotic arm control circuit are cascaded via the EtherCAT bus circuit, that is, the EtherCAT bus receiving circuit in the first-level joint motor control circuit 1 is electrically connected to the EtherCAT bus sending circuit in the robotic arm control circuit, and for each joint motor control circuit, two adjacent cascaded joint motor control circuits can be electrically connected via at least one of the EtherCAT transceiver bus and the CAN transceiver bus, such as Figure 4b As shown, that is:
[0118] For the first-stage joint motor control circuit and its adjacent next-stage joint motor control circuit, the bus sending circuit in the first-stage joint motor control circuit is at least one of a CAN bus receiving circuit and an EtherCAT bus receiving circuit, and the bus receiving circuit in the next-stage joint motor control circuit supports the same communication protocol as the bus sending circuit in the first-stage joint motor control circuit.
[0119] For the current joint motor control circuit and the next joint motor control circuit in two adjacent joint motor control circuits except the first joint motor control circuit,
[0120] The bus receiving circuit in this joint motor control circuit supports the same communication protocol as the bus sending circuit in the previous joint motor control circuit.
[0121] The bus sending circuit in the joint motor control circuit is at least one of a CAN bus receiving circuit and an EtherCAT bus receiving circuit.
[0122] The bus receiving circuit in the next joint motor control circuit supports the same communication protocol as the bus sending circuit in the current joint motor control circuit.
[0123] The bus sending circuit in the next joint motor control circuit is at least one of a CAN bus receiving circuit and an EtherCAT bus receiving circuit.
[0124] See also Figure 5 As shown, Figure 5Another schematic diagram of the cascade of the embodiment of the present application. The EtherCAT bus receiving circuit in the first-stage joint motor control circuit 1 is electrically connected to the EtherCAT bus sending circuit in the manipulator control circuit. For each joint motor control circuit, two adjacent cascaded joint motor control circuits can be electrically connected via a CAN transceiver bus, that is, for the current joint motor control circuit and the next joint motor control circuit in two adjacent joint motor control circuits, the CAN bus receiving circuit in the current joint motor control circuit is electrically connected to the CAN bus sending circuit in the previous joint motor control circuit, the CAN bus sending circuit in the current joint motor control circuit is electrically connected to the CAN bus receiving circuit in the next joint motor control circuit, and the bus sending circuit in the next joint motor control circuit is a CAN bus receiving circuit. The final-stage joint motor control circuit N is not cascaded with the manipulator control circuit.
[0125] See also Figure 6 As shown, Figure 6 Another schematic diagram of the cascade of the embodiment of the present application. The EtherCAT bus receiving circuit in the first-stage joint motor control circuit 1 is electrically connected to the EtherCAT bus sending circuit in the robotic arm control circuit, and the EtherCAT bus sending circuit in the final-stage joint motor control circuit N is electrically connected to the EtherCAT bus receiving circuit in the robotic arm control circuit. For each cascade joint motor control circuit, two adjacent cascade joint motor control circuits can be electrically connected via the EtherCAT transceiver bus, that is, for the current joint motor control circuit and the next joint motor control circuit in two adjacent joint motor control circuits, the EtherCAT bus receiving circuit in the current joint motor control circuit is electrically connected to the EtherCAT bus sending circuit in the previous joint motor control circuit, the EtherCAT bus sending circuit in the current joint motor control circuit is electrically connected to the EtherCAT bus receiving circuit in the next joint motor control circuit, and the bus sending circuit in the next joint motor control circuit is the EtherCAT bus receiving circuit.
[0126] It should be understood that the joint motor control circuit and the robot arm control circuit may also be electrically connected via the CAN bus, or may be electrically connected via the CAN bus and the EtherCAT bus at the same time.
[0127] As an example, the sampling circuit includes:
[0128] A current sampling circuit, wherein the current sampling circuit is electrically connected to the first sampling signal input pin to monitor the working current of the joint motor.
[0129] A motor temperature sampling circuit, wherein the motor temperature sampling circuit is electrically connected to the second sampling signal input pin to monitor the temperature of the joint motor.
[0130] An onboard temperature sampling circuit is electrically connected to the third sampling signal input pin to monitor the temperature of the circuit board where the joint motor control circuit itself is located, thereby detecting whether the joint motor control circuit is abnormal.
[0131] It should be understood that the sampling circuit can be selected according to needs.
[0132] As an example, the control signal includes a pulse width modulation (PWM) signal and a time signal, wherein the PWM signal is used to control the rotation amount of the joint motor, and the time signal is used to control the duration of maintaining the current control signal effective. The control signal output pin includes a PWM signal output pin, for example, Figure 2 PWM pins in, and time signal output pins, such as Figure 2 The TIM pin in.
[0133] Take the joint motor as a three-phase motor as an example. Figure 7 As shown, Figure 7 The figure is a schematic diagram of the connection between the sampling circuit, the driving circuit and the microprocessor chip in the joint motor control circuit. The control signal output pins in the microprocessor chip include three-phase control signal pins, such as Figure 7 Among the PWM U, PWM V, and PWM W pins, each phase control signal pin includes a positive phase control pin and a negative phase control pin to output a differential control signal, such as Figure 7 PWM U+ and PWM U- are one-phase control signal pins, PWMV+ and PWM V- are another phase control signal pins, PWM W+ and PWM W- are another phase control signal pins, each phase control signal pin is electrically connected to the three-phase drive circuit, the current sampling circuit is a three-phase current sampling circuit, and each phase current sampling signal from the three-phase current sampling circuit is electrically connected to the first sampling signal input pin of the microprocessor chip, wherein the first sampling signal input pin includes the three-phase sampling signal input pins, such as ADC U, ADC V, and ADC W pins in FIG. 7 , and the onboard temperature sampling circuit includes a reverse temperature control (NTC) resistor, one end of which is electrically connected to the second sampling signal input pin of the microprocessor chip, such as Figure 7 The ADC NTC pin in the motor temperature sampling circuit inputs the sampling signal to the third sampling signal input pin of the microprocessor chip, such as Figure 7 ADC MOTOR pin in.
[0134] It should be understood that for the microprocessor chip in any joint motor control circuit, it performs corresponding processing logic based on the signal from the sensor, the signal from the sampling circuit, and the information from the previous cascade control circuit. For example, according to the signal from the sensor and / or the information from the previous control circuit, the duty cycle and phase of the PWM signal output by the microprocessor chip are adjusted in real time to adjust the control signal to complete closed-loop control, so that the joint motor control circuit performs motion control on the joint motor, determines whether the joint motor is working abnormally based on the sampled motor temperature, and forwards relevant information to the next joint motor control circuit. All of this can be achieved by implanting the code in the microprocessor chip. For those skilled in the art, this is an existing mature technology, and the present application is not intended to improve this.
[0135] Similarly, for the microprocessor chip in the robot arm control circuit, it calculates the target torque size, torque control time and other information of the relevant joint motors based on the posture information, and sends it to the first-level joint motor control circuit, and / or receives information from the final-level joint motor control circuit and performs corresponding processing. All of this can be achieved by implanting the code in the microprocessor chip. For those skilled in the art, this is an existing mature technology, and the present application is not intended to improve this.
[0136] This embodiment improves the hardware architecture of the robotic arm control device, making the robotic arm control device miniaturized, lightweight, and low-cost, which is conducive to cascading, and is conducive to improving the reliability of the cascade, and is conducive to high-speed data communication between the joint motor control circuits and between the joint motor control circuits and the robotic arm control circuits.
[0137] As for the apparatus / network-side device / storage medium embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0138] In this article, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0139] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of protection of the present invention.
Claims
1. A robot arm control device, characterized in that: The robot arm control device comprises: a robot arm control circuit, and at least one joint motor control circuit cascaded in sequence, wherein the at least one joint motor control circuit cascaded in sequence forms a link. In the link, the first-stage joint motor control circuit is electrically connected to the robotic arm control circuit. The control circuit comprises: A microprocessor chip, wherein the microprocessor chip has cascade communication pins, A cascade communication bus circuit is electrically connected between the cascade control circuit and the cascade communication pin.
2. The robot arm control device according to claim 1, characterized in that: There are multiple links, and the first-level joint motor control circuit is electrically connected to the robot arm control circuit in each link. The cascade communication pin includes at least one of a first cascade communication pin and a second cascade communication pin, The cascade communication bus circuit comprises: at least one of a first cascade communication bus circuit and a second cascade communication bus circuit, in, The first cascade communication bus circuit is electrically connected to the first cascade communication pin, The second cascade communication bus circuit is electrically connected to the second cascade communication pin, The first cascade communication bus circuit and the second cascade communication bus circuit support different communication protocols.
3. The robot arm control device according to claim 2, characterized in that: The first cascade communication pin and the second cascade communication pin both include a receiving pin and a sending pin, The first cascade communication bus circuit and the second cascade communication bus circuit both include: A bus receiving circuit, the bus receiving circuit being electrically connected between the bus transmitting circuit and a receiving pin in the previous control circuit, the receiving pin and the bus receiving circuit supporting the same communication protocol, A bus transmitting circuit is electrically connected between the transmitting pin and a bus receiving circuit in a next control circuit, and the communication protocol supported by the bus transmitting circuit is the same as that supported by the transmitting pin.
4. The robot arm control device according to any one of claims 2 to 3, characterized in that: In the link, the final joint motor control circuit is electrically connected to the robotic arm control circuit. The first cascade communication bus circuit is an industrial field bus CAN bus circuit, The second cascade communication bus circuit is an Ethernet control automation technology EtherCAT bus circuit, The first-stage joint motor control circuit is electrically connected to the robot arm control circuit via at least one of an EtherCAT bus circuit and a CAN bus circuit. The final joint motor control circuit is electrically connected to the robot arm control circuit via at least one of an EtherCAT bus circuit and a CAN bus circuit. In the link, two adjacent joint motor control circuits are electrically connected via at least one of an EtherCAT bus circuit and a CAN bus circuit; The microprocessor chip in the joint motor control circuit also has: a communication pin at this level, The joint motor control circuit also includes: The communication bus circuit at this level is electrically connected between the sensor for collecting the rotation information of the joint motor and the communication pin at this level.
5. The robot arm control device according to claim 4, characterized in that: The first-stage joint motor control circuit is electrically connected to the robot arm control circuit via at least one of an EtherCAT bus circuit and a CAN bus circuit, including: The bus receiving circuit in the first-stage joint motor control circuit is electrically connected to the bus sending circuit in the robot arm control circuit, and the bus receiving circuit supports the same communication protocol as the bus sending circuit. The final joint motor control circuit is electrically connected to the robot arm control circuit via at least one of an EtherCAT bus circuit and a CAN bus circuit, including: The bus transmitting circuit in the final joint motor control circuit is electrically connected to the bus receiving circuit in the robot arm control circuit, and the bus receiving circuit supports the same communication protocol as the bus transmitting circuit. The two adjacent joint motor control circuits are electrically connected via at least one of an EtherCAT bus circuit and a CAN bus circuit, including: For the first-stage joint motor control circuit and its adjacent next-stage joint motor control circuit, the bus sending circuit in the first-stage joint motor control circuit is at least one of a CAN bus receiving circuit and an EtherCAT bus receiving circuit, and the bus receiving circuit in the next-stage joint motor control circuit supports the same communication protocol as the bus sending circuit in the first-stage joint motor control circuit. For the current joint motor control circuit and the next joint motor control circuit in two adjacent joint motor control circuits except the first joint motor control circuit, The bus receiving circuit in this joint motor control circuit supports the same communication protocol as the bus sending circuit in the previous joint motor control circuit. The bus sending circuit in the joint motor control circuit is at least one of a CAN bus receiving circuit and an EtherCAT bus receiving circuit. The bus receiving circuit in the next joint motor control circuit supports the same communication protocol as the bus sending circuit in the current joint motor control circuit. The bus sending circuit in the next joint motor control circuit is at least one of a CAN bus receiving circuit and an EtherCAT bus receiving circuit; The communication pins at this level include: a first communication pin at this level, and a second communication pin at this level, The communication bus circuit at this level comprises: A first level communication bus circuit, wherein the first level communication bus circuit is electrically connected between the motor encoder and the first level communication pin, The second-level communication bus circuit is electrically connected between the reducer encoder and the second-level communication pin.
6. The robot arm control device according to claim 5, characterized in that: The motor encoder and reducer encoder are both bidirectional synchronous serial protocol BISSC encoders. The communication pins at this level also include: a third communication pin at this level, The communication bus circuit at this level also includes: A third level communication bus circuit, wherein the third level communication bus circuit is electrically connected between the torque sensor and the third level communication pin The microprocessor chip also has a sampling signal input pin, The joint motor control circuit also includes: A sampling circuit is electrically connected to a sampling signal input pin.
7. The robot arm control device according to claim 6, characterized in that: The microprocessor chip also has a control signal output pin. The joint motor control circuit also includes: A drive circuit, the drive circuit being electrically connected to the control signal output pin; The sampling signal input pins include: a first sampling signal input pin, a second sampling signal input pin, and a third sampling signal input pin. The sampling circuit comprises: A current sampling circuit, wherein the current sampling circuit is electrically connected to the first sampling signal input pin, a motor temperature sampling circuit, wherein the motor temperature sampling circuit is electrically connected to the second sampling signal input pin, An onboard temperature sampling circuit is electrically connected to the third sampling signal input pin.
8. The robot arm control device according to claim 7, characterized in that: The first level communication bus circuit and the second level communication bus circuit are RS422 communication bus circuits. The third level communication bus circuit is an RS485 communication bus circuit. The communication mode of the communication pins at this level is a master-slave half-duplex communication mode.
9. A robot arm control circuit, characterized in that: The robot arm control circuit comprises: A microprocessor chip, wherein the microprocessor chip has cascade communication pins, A cascade communication bus circuit is electrically connected between the cascaded joint motor control circuit and the cascade communication pin.
10. A joint motor control circuit for a robotic arm, characterized in that: The joint motor control circuit comprises: A microprocessor chip, wherein the microprocessor chip has a cascade communication pin and a current level communication pin, a cascade communication bus circuit, the cascade communication bus circuit being electrically connected between the cascade control circuit and the cascade communication pin, The communication pin of this level and the communication bus circuit of this level are electrically connected between the sensor for collecting the rotation information of the joint motor and the communication pin of this level.
