WO2019024570A1 - 一种数字舵机及其控制方法 - Google Patents

一种数字舵机及其控制方法 Download PDF

Info

Publication number
WO2019024570A1
WO2019024570A1 PCT/CN2018/087573 CN2018087573W WO2019024570A1 WO 2019024570 A1 WO2019024570 A1 WO 2019024570A1 CN 2018087573 W CN2018087573 W CN 2018087573W WO 2019024570 A1 WO2019024570 A1 WO 2019024570A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
motor
steering gear
information
brushless motor
Prior art date
Application number
PCT/CN2018/087573
Other languages
English (en)
French (fr)
Inventor
王振华
Original Assignee
南京阿凡达机器人科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 南京阿凡达机器人科技有限公司 filed Critical 南京阿凡达机器人科技有限公司
Publication of WO2019024570A1 publication Critical patent/WO2019024570A1/zh

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J19/00Accessories fitted to manipulators, e.g. for monitoring, for viewing; Safety devices combined with or specially adapted for use in connection with manipulators
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J17/00Joints
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1602Programme controls characterised by the control system, structure, architecture

Definitions

  • the invention relates to the field of automatic control technology, in particular to a digital steering gear and a control method thereof.
  • the traditional digital servos and analog steering gears basically use brushed motors, which determines that these two servos have the following disadvantages: the large torque servos are also very large, which brings more installation and structural layout. Many limitations; the small size of the steering gear is not enough torque, its application range is greatly reduced; in addition, the brush motor uses carbon brush to commutate, so this kind of steering machine will produce sparks when commutating, limiting the scope of use, and Short life, easy damage, increased maintenance costs, etc.
  • the control signal enters the signal modulation chip from the channel of the receiver to obtain the DC bias voltage. It has a reference circuit inside, which can generate a pulse width position modulation (PPM) signal with a period of 20ms.
  • PPM pulse width position modulation
  • the pulse width is usually 0.5ms--2.5ms, and the corresponding output shaft position is 0----180 degrees. Linear change.
  • the control pin is supplied with a certain pulse width (TTL level, 0V/5V), and its output shaft will remain at a corresponding angle, no matter how the external torque changes, until it is provided with a In addition to the pulse signal of the width, it changes the output angle to the new corresponding position.
  • the servo is a position servo driver, and the rotation range is generally not more than 180 degrees, which is suitable for those drivers that need to be constantly changing angles and can be maintained.
  • the joint control of the robot With the development of robot technology, the traditional servo technology can not meet the demand.
  • the humanoid robot requires the execution unit to not only rotate the angle, but also need to perform circular motion in some application scenarios.
  • the robot uses multiple joints.
  • the control and wiring of the entire system is cumbersome and poorly reliable. In this case, the digital steering gear came into being.
  • the analog servo needs to send it a 20-ms periodic PPM signal in order to allow it to rotate at a constant speed or to keep it in the specified position.
  • the digital servo only needs to send a PWM signal to keep the servo in the specified position.
  • Two types of digital steering gears are currently available on the market, which are divided into 180-degree steering gears and 360-degree steering gears according to the steering angle of the steering gear.
  • the 180 degree servo is compatible with the traditional analog steering gear. It can only rotate between 0 and 180 degrees. If it exceeds this range, the steering gear will be blocked. If it is light, the steering gear will be damaged, and the steering gear will be burned. Inside the motor.
  • the 360-degree steering gear rotates in a similar manner to an ordinary motor, and can rotate continuously, but only controls the direction and speed of its rotation, and cannot adjust the angle of rotation.
  • the digital steering gear has two major advantages over the traditional analog steering gear: 1. Because of the introduction of the digital steering gear into the CPU, the digital steering gear can pre-process the input signal according to the set parameters and then send the power pulse to the steering gear. motor. This means that the width of the power pulse can be adjusted according to the program operation of the microprocessor to adapt to different functional requirements and optimize the performance of the servo. Second, the digital servo can receive the frequency of 50Hz faster than the analog servo through the CPU.
  • the PWM external control signal can distinguish the position information of the PWM external control signal in a shorter time, calculate the proportional voltage of the PWM duty cycle and the voltage difference of the feedback potentiometer, to drive the motor action, and make the servo
  • the position of the rocker arm has changed recently. Therefore, the digital servo has a faster response speed than the analog servo, and it is faster and softer when accelerating and decelerating. At the same time, the digital servo provides higher precision and better fixed force.
  • the general digital steering gear solves the control problem of the conventional steering gear, but its rotation angle range is still only 180 degrees, and at the same time, for a digital steering gear, it is in the angle controllable mode (in positive Negative 90 degree adjustment or 0-180 degrees), or motor mode (360 degree rotation), the two are not well balanced, making it a lot of limitations in practical applications.
  • the technical problem to be solved by the present invention is to provide a digital steering gear and a control method thereof.
  • the digital steering gear and the control method thereof have both a standard control mode and an extended control mode, and have strong compatibility and wide applicability.
  • a digital steering gear comprising: a steering gear control unit; a motor drive module electrically connected to the steering gear control unit; a feedback unit electrically connected to the steering gear control unit; a brushless motor, and the motor drive module Electrical connection;
  • the steering control unit receives control information sent by the upper computer through the serial bus, and calculates motor control parameters according to the control information, the feedback information of the feedback unit, and a preset control algorithm, and controls the motor
  • the control PWM waveform signal corresponding to the parameter is output to the motor driving module; the motor driving module controls the brushless motor to perform a corresponding rotation according to the received control PWM waveform signal.
  • a PPM circuit For every motor installed in a conventional steering gear, a PPM circuit needs to be controlled separately, and each one must be connected to the upper computer control circuit. If more servos are used, the system wiring is more complicated and complicated, which is easy to cause signal interference and stability. difference.
  • the servo is connected by a serial bus and a host computer, which simplifies the connection with the upper computer, and when multiple rudders are connected to the same upper computer, there is no signal interference between each other, and the stability is high. .
  • the digital steering gear further includes: a speed reduction mechanism that interfaces with an output shaft of the brushless motor.
  • the servo control unit receives the control information sent by the host computer through the serial bus, and calculates the motor control parameter according to the control information, the feedback information of the feedback unit, and a preset control algorithm, and the motor control parameter is The corresponding control PWM waveform signal is output to the motor driving module, specifically: the servo control unit receives the control information sent by the upper computer through the serial bus, parses the control information, and obtains a control mode and a control parameter; The control mode, the control parameter, the feedback information of the feedback unit, and the preset control algorithm calculate a motor control parameter; and output a control PWM waveform signal corresponding to the motor control parameter to the motor drive module.
  • the steering control unit analyzes the control information to obtain a control mode and a control parameter, specifically: the steering control unit parses the control information to obtain the control parameter; and when the control parameter is When the rotation angle exceeds 360 degrees, the control mode is an extended control mode; when the rotation angle in the control parameter does not exceed 360 degrees, the control mode is a standard control mode.
  • the feedback information includes: motor speed information and motor position information of the brushless motor;
  • the feedback unit includes: a position sensor mounted on the brushless motor, and the position sensor and the steering gear The control unit is electrically connected, and the position sensor is configured to feed back the detected motor speed information and the motor position information of the brushless motor to the steering gear control unit.
  • the feedback information includes: a driving voltage and a driving current of the brushless motor; the feedback unit includes: an overvoltage and overcurrent protection circuit electrically connected to the steering control unit for detecting the brushless The drive voltage and drive current of the motor.
  • the servo control unit is further configured to stop outputting the control PWM waveform signal to the motor driving module when the driving voltage exceeds a preset voltage threshold or the driving current exceeds a preset current threshold.
  • the feedback information includes: an operating temperature of the brushless motor; the feedback unit includes: a temperature sensor electrically connected to the steering control unit for detecting an operating temperature of the brushless motor.
  • the servo control unit is further configured to stop outputting the control PWM waveform signal to the motor driving module when the operating temperature exceeds the preset temperature threshold.
  • the traditional servo has no feedback, such as temperature, load, voltage, current, etc., and after these protections are added, the servo is safer to use.
  • the present disclosure also provides a control method for a digital steering gear, comprising: parsing the control information to obtain a control mode and a control parameter when receiving control information sent by a host computer through a serial bus; according to the control mode, The control parameter, the obtained feedback information and the preset control algorithm are used to calculate the motor control parameter; the control PWM waveform signal corresponding to the motor control parameter is output to the motor drive module, and the brushless motor is controlled to perform the corresponding rotation.
  • parsing the control information to obtain the control mode and the control parameter is specifically: when receiving the control information sent by the upper computer, parsing the control information, and obtaining the a control parameter; when the rotation angle in the control parameter exceeds 360 degrees, the control mode is an extended control mode; when the rotation angle in the control parameter does not exceed 360 degrees, the control mode is a standard control mode.
  • control method of the digital steering gear further includes: when the control mode is the standard control mode, and receiving the rotation of the brushless motor sent by the position sensor, the current angle in the rotation angle information and the rotation angle in the control parameter When the same, the output control PWM waveform signal is stopped to the motor drive module, so that the brushless motor stops rotating.
  • control method of the digital steering gear further includes: when the control mode is the extended control mode, and receiving the angle between the current angle in the rotation angle information and the control parameter in the rotation of the brushless motor sent by the position sensor When the current number of turns in the rotation angle information is the same as the number of turns in the control parameter, the output control PWM waveform signal is stopped to the motor drive module, so that the brushless motor stops rotating.
  • control method of the digital steering gear further includes: when the running temperature of the obtained brushless motor rotates exceeds the preset temperature threshold, stopping outputting the control PWM waveform signal to the motor driving module, so that the brushless motor stops rotating.
  • control method of the digital steering gear further includes: stopping the output when the driving voltage of the obtained brushless motor rotates exceeds a preset voltage threshold, or when the obtained driving current when the brushless motor rotates exceeds a preset current threshold
  • the PWM waveform signal is controlled to the motor drive module to stop the brushless motor from rotating.
  • the digital steering gear and the control method thereof of the present disclosure have two control modes: a standard control mode and an extended control mode, which have strong compatibility and wide applicability. Because the serial communication bus is adopted, the servos of the present disclosure can be connected in parallel or in series in connection with the upper computer, so that the interface is simple, the system connection is greatly simplified, and the reliability of the system is improved. Thanks to the serial communication bus connection, it lays the foundation for modular design and modular production. Compared with the conventional steering gear, the digital steering gear of the present disclosure has a large output torque per unit volume (ie, steering gear torque/steering gear volume), and has a wide range of rotation angles and a wide application range.
  • a standard control mode ie, steering gear torque/steering gear volume
  • the digital steering gear of the present disclosure can arbitrarily stop the rotation angle of the motor in the range of 0°-340° according to the rotation angle value detected by the position sensor (ie, the standard control mode), and can also continuously rotate the motor by 360° (ie, Extended control mode) solves the problems of the existing conventional digital servos with small output torque per unit volume and the inability to form closed-loop control, unprotected circuits, complicated control signals and interface wiring, and many problems, such as low reliability. It is applied to the joint freedom control of mobile robots. It can also be used in the control of aircraft attitudes such as unmanned aerial vehicle propeller driving, control and aircraft models.
  • the digital steering gear provided by the invention adopts a brushless motor, which makes the digital steering gear provided by the present disclosure have strong loading capacity, large output torque, low running noise and long life. Long advantages.
  • the digital steering gear provided by the present disclosure integrates two working modes, and can receive any command sequence between the standard control mode and the extended control mode according to the serial bus interface receiving the command sequence. To expand its application range.
  • the digital steering gear provided by the present disclosure can control the brushless motor according to the feedback information of the current angle, the rotational speed, the driving voltage, the load current and the system temperature of the brushless motor. Not only the closed-loop control is formed inside the steering gear, which makes the control system improve the accuracy and reliability, and also makes the steering gear not damaged due to excessive temperature, excessive load and motor stall, which protects the brushless motor. effect.
  • the digital steering gear provided by the present disclosure communicates with the upper computer through the serial bus, so that one upper computer can and no more than 110 digital steering gears provided by the present disclosure.
  • Communication connection which greatly simplifies the upper computer control circuit and reduces the resource occupation of the upper computer; each servo can set different node addresses, multiple servos can be unified motion or can be controlled independently; this will reduce the complexity Wiring, so as to avoid signal interference caused by wiring cumbersome, poor stability defects.
  • Figure 1 is a block diagram of the digital steering gear of the present invention
  • FIG. 2 is a schematic structural view of a digital steering gear of the present invention
  • FIG. 3 is a block diagram of a preset control algorithm for a brushless motor of the present invention.
  • a digital steering gear of the present disclosure mainly includes:
  • Steering gear control unit motor drive module, electrically connected with steering gear control unit; feedback unit, electrically connected with steering gear control unit; brushless motor, electrically connected with motor drive module; speed reduction mechanism, docking with output shaft of brushless motor .
  • the steering gear control unit mainly includes:
  • the serial communication module is used for receiving the control information of the upper computer and the state feedback information of the servo (for example, normal operation, abnormal situation, etc.) to the upper computer, that is, the upper computer and the steering control unit adopt the serial bus. Way to communicate.
  • the CAN2.0 communication interface is also used in the present disclosure (RS232 or RS485 communication interface can also be used). It can support up to 110 nodes, which means that one host computer can connect up to 110 servos via CAN bus, and the communication between the servo and the host computer does not interfere with each other. Each servo can be set with different node IDs. When controlling, multiple servos can be moved in a unified manner or individually.
  • the steering gear control circuit is configured to output a corresponding control PWM waveform signal to the motor drive module according to the motor control parameter.
  • the main controller is configured to calculate the motor control parameter according to the control information sent by the host computer, the feedback information of the feedback unit, and the preset control algorithm, so that the servo control circuit outputs the corresponding control PWM waveform signal to the motor drive according to the motor control parameter. Module.
  • the preset control algorithm can adopt an existing control algorithm.
  • the preset control algorithm can be set to CLARKE, PARK transform, PI control algorithm and mode control algorithm, and the four algorithms are used to control the brushless motor.
  • Motor drive module used to control the brushless motor to perform corresponding rotation according to the received control PWM waveform signal.
  • the brushless motor adopts a non-inductive brushless motor because it has a strong load capacity per unit volume, large output torque, strong anti-interference ability, low noise generated by motor rotation, long motor life, etc.
  • its commutation can be controlled by software, and the cost is lower than that of the motor.
  • a hollow cup non-inductive brushless motor is employed.
  • Feedback unit used to detect feedback information for use by the main controller of the servo control unit.
  • the feedback information is determined according to the specific setting of the feedback unit. For example, if the position sensor is set, it is mounted on the brushless motor, and the position sensor is electrically connected with the steering control unit, and the position sensor is used for detecting the brushless motor. The motor speed information and motor position information are fed back to the steering gear control unit to achieve closed loop control. If the position sensor is set, the feedback information includes: motor position information of the brushless motor and motor speed information; the position information includes: rotation angle information of the brushless motor (for example: current angle, number of revolutions), steering, and the like.
  • Deceleration mechanism The deceleration device adopts a high-precision, multi-stage large reduction ratio reduction mechanism, which can increase the output torque of the motor by several hundred times. The purpose of converting the high speed and low torque output of the motor into low speed and high torque output is achieved.
  • the steering gear and the upper computer communicate through the serial bus, which simplifies the connection mode between the steering gear and the upper computer, and the communication between the multiple servos does not interfere with each other, and the stability is high. And the feedback information is introduced in the control process to make the control of the steering gear better.
  • a digital steering gear mainly includes:
  • Steering gear control unit motor drive module, electrically connected with steering gear control unit; feedback unit, electrically connected with steering gear control unit; brushless motor, electrically connected with motor drive module; speed reduction mechanism, docking with output shaft of brushless motor .
  • the feedback unit includes:
  • the position sensor is mounted on the brushless motor, and the position sensor is electrically connected to the steering gear control unit, and the position sensor is used to feed back the detected motor speed information and the motor position information of the brushless motor to the steering gear control unit at a set frequency.
  • the feedback information includes: motor speed information and motor position information of the brushless motor.
  • the feedback unit may further include: a temperature sensor electrically connected to the steering control unit for detecting an operating temperature of the brushless motor.
  • the temperature sensor is mainly set to confirm whether the servo is overheated. Based on the structure of the steering gear, the temperature sensor can be directly connected to the brushless motor, and the temperature sensor can be directly connected to the steering control unit to collect the temperature sensor. The temperature is used as an indicator for judging whether the brushless motor is overheated.
  • the feedback unit may further include: an overvoltage and overcurrent protection circuit electrically connected to the servo control unit for detecting a driving voltage and a driving current of the brushless motor.
  • the overvoltage and overcurrent protection circuit can be added to the feedback unit so that the motor will not be damaged due to factors such as excessive load.
  • the steering gear control unit 5 the overcurrent and overvoltage protection circuit 4, the position sensor 3, the brushless motor 2 and the speed reduction mechanism 1 (ie, the speed gear set and the output device) Layer stacking is connected to meet structural and space requirements.
  • the control method is:
  • the steering gear control unit receives the control information sent by the host computer through the serial bus, analyzes the control information, and obtains the control mode and control parameters.
  • the upper computer transmits the control information in the form of a command sequence, and obtains the control parameters after parsing, and can confirm the control mode according to the rotation angle of the control parameter that requires the brushless motor to rotate.
  • the control mode is the extended control mode; when the rotation angle in the control parameter does not exceed 360 degrees, the control mode is the standard control mode.
  • the steering gear control unit controls the brushless motor according to the control mode, the control parameters, the feedback information of the feedback unit, and the preset control algorithm.
  • the preset control algorithms include: servo control algorithms (eg, CLARKE, PARK transform, PI control algorithm) and mode control algorithms.
  • the feedback information includes: motor speed information of the brushless motor, motor position information, operating temperature, driving voltage and driving current.
  • the motor that drives the brushless electric rotation is calculated according to the steering control algorithm and the control parameters. Control parameters to rotate the brushless motor to the angle of rotation in the control parameters.
  • the steering gear control unit outputs the control PWM waveform signal corresponding to the motor control parameter to the motor drive module.
  • the output control PWM waveform signal is stopped to the motor drive module to stop the brushless motor.
  • the output control PWM waveform signal is stopped to The motor drives the module to stop the brushless motor from rotating.
  • the output control PWM waveform signal can also be stopped to the motor drive module, so that the brushless motor stops rotating.
  • the servo control unit reads the operating temperature, the driving current and the driving voltage at a preset frequency, when the operating temperature exceeds the preset temperature threshold, or the driving voltage exceeds the preset voltage threshold, or When the driving current exceeds the preset current threshold, the output control PWM waveform signal is stopped to the motor drive module, so that the brushless motor stops rotating.
  • the steering gear provided in this embodiment can control the brushless motor according to the feedback information of the motor speed information, the motor position information, the driving voltage, the driving current and the operating temperature of the brushless motor, and not only forms a closed loop control inside the steering gear.
  • the accuracy of the control system is improved and the reliability is enhanced.
  • the steering gear is not damaged by factors such as excessive temperature, excessive load and motor stall, which protects the brushless motor.
  • the chip TMS320F28069M can be used as the main controller of the steering control board.
  • the servo control board includes the motor drive module, serial communication module, sensor feedback circuit module (for example: position sensor, temperature sensor) and overvoltage. Overcurrent protection circuit, etc. Due to structural and space requirements, the steering gear control panel is fabricated in a layered overlay.
  • the internal flash memory of the chip TMS320F28069M is programmed with preset control algorithms and communication programs. It receives the control information of the host computer and feedback information such as operating temperature, driving voltage, driving current, motor position information, motor speed information, and calculates motor control parameters according to the control information and feedback information, and then outputs the control parameters to the motor driving circuit. Control the brushless motor to rotate to a certain angle according to the standard control mode or control the number of revolutions of the motor continuously in the extended control mode.
  • a method of controlling a digital steering gear includes the following steps:
  • the steering gear control unit receives the control information (such as the command sequence) sent by the host computer through the serial bus, analyzes it, and obtains control parameters (such as the steering direction, rotation speed and rotation angle of the steering gear), and It is resolved whether it is the standard control mode or the extended control mode, so that the servo can work according to the "instruction sequence" sent by the host computer.
  • the command sequence for controlling the servo action can refer to the following table 1:
  • command word can "command” the servos according to the sequence of instructions, can “command” the servos to return to their own running state, or can issue “parameters” to let the servos calibrate according to this "parameters” Wait)
  • the entire sequence of instructions can be understood as: the upper computer allows the steering gear to rotate the Analogism in the Dir direction at the Speed speed.
  • the steering gear control unit calculates the motor control parameters according to the preset feedback algorithm according to the obtained feedback information. For example, according to the feedback information, control mode and control parameters, according to Figure 3, CLARKE, PARK transform and PI control algorithm are used to calculate the motor control parameters.
  • the steering gear control unit sends the control PWM waveform signal corresponding to the motor control parameter to the motor drive module, so that the motor drive module controls the brushless motor to perform corresponding rotation according to the received PWM waveform (for example, according to the specified speed and direction) ).
  • a control method for a steering gear includes:
  • control information When receiving the control information sent by the host computer through the serial bus, the control information is parsed to obtain the control mode and the control parameters.
  • the control mode is the extended control mode; when the rotation angle in the control parameter does not exceed 360 degrees, the control mode is the standard control mode.
  • the feedback information includes: motor speed information of the brushless motor, motor position information, operating temperature, driving voltage and driving current.
  • the motor that drives the brushless electric rotation is calculated according to the steering control algorithm and the control parameters. Control parameters to rotate the brushless motor to the angle of rotation in the control parameters.
  • the brushless motor When the brushless motor rotates, it receives the rotation angle information of the brushless motor sent by the position sensor.
  • control mode is the standard control mode
  • the current angle in the received rotation angle information is the same as the rotation angle in the control parameter
  • the output control PWM waveform signal is stopped to The motor drives the module to stop the brushless motor from rotating.
  • the brushless motor is considered to be rotated.
  • the rotation angle in the control parameter is reached, therefore, the output control PWM waveform signal is stopped to the motor drive module, so that the brushless motor stops rotating.
  • the output control PWM waveform signal can also be stopped to the motor drive module, so that the brushless motor stops rotating.
  • the servo control unit reads the operating temperature, the driving current and the driving voltage at a preset frequency, when the operating temperature exceeds the preset temperature threshold, or the driving voltage exceeds the preset voltage threshold, or When the driving current exceeds the preset current threshold, the output control PWM waveform signal is stopped to the motor drive module, so that the brushless motor stops rotating.
  • the steering gear provided in this embodiment can control the brushless motor according to the feedback information of the motor speed information, the motor position information, the driving voltage, the driving current and the operating temperature of the brushless motor, and not only forms a closed loop control inside the steering gear.
  • the accuracy of the control system is improved and the reliability is enhanced.
  • the steering gear is not damaged by factors such as excessive temperature, excessive load and motor stall, which protects the brushless motor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)
  • Steering Control In Accordance With Driving Conditions (AREA)

Abstract

一种数字舵机及其控制方法,该数字舵机包括:舵机控制单元(5)、电机驱动模块、反馈单元、无刷电机(2)、减速机构(1)等,该数字舵机控制方法通过串行总线接收到的上位机发送的控制信息、反馈单元的反馈信息和预设控制算法计算电机控制参数,根据电机控制参数对应的控制PWM波形信号控制无刷电机(2)执行相应的转动。数字舵机及其控制方法具有标准控制模式和扩展控制模式,且采用串行通讯总线。

Description

一种数字舵机及其控制方法
本申请要求2017年07月31日提交的申请号为:201710646476.6、发明名称为“一种扩展型数码舵机及其工作方法”的中国专利申请的优先权,其全部内容合并在此。
技术领域
本发明涉及自动化控制技术领域,具体是一种数字舵机及其控制方法。
背景技术
随着自动化设备应用的飞速发展,控制领域对舵机的需求越来越广泛,越来越多的应用场合对舵机的体积、扭矩、控制方式、结构兼容性等都提出了更高的要求。传统的数字舵机和模拟舵机基本上都是采用有刷电机,这就决定了这两种舵机有如下缺点:扭矩大的舵机其体积也很大,给安装和结构布局带来更多的局限性;而体积小的舵机其扭矩却不够,其应用范围大打折扣;另外有刷电机采用碳刷换相,所以这类舵机换相时会产生火花,限制了使用范围,而且寿命短、容易损坏,增加了维护成本等。
模拟舵机的电子电路中无MCU微控制器,控制信号由接收机的通道进入信号调制芯片,获得直流偏置电压。它内部有一个基准电路,能产生周期为20ms的脉宽位置调制(PPM)信号,其中脉冲宽度通常为0.5ms--2.5ms,相对应输出轴的位置为0----180度,呈线性变化。也就是说,给控制引脚提供一定的脉宽(TTL电平,0V/5V),它的输出轴就会保持在一个相对应的角度上,无论外界转矩怎样改变,直到给它提供一个另外宽度的脉冲信号它才会改变输出角度到新的对应的位置上。
由此可见,舵机是一种位置伺服的驱动器,转动范围一般不能超过180度,适用于那些需要角度不断变化并可以保持的驱动当中。比方说机器人的关节控制等。随着机器人技术的发展,传统的舵机技术逐渐满足不了需求,如人形机器人要求执行单元不但能做角度转动,在某些应用场景下还需要做圆周运动等;同时,机器人多关节用到多个舵机的情况下,使 得整个系统的控制及布线显得繁琐且可靠性差。在这种情况,数码舵机应运而生。
模拟舵机需要给它不停的发送20ms周期的PPM信号,才能让它匀速转动或者让它保持在规定的位置,数字舵机只需要发送一次PWM信号就能让舵机保持在规定的位置。目前市面上出现了两种类型的数字舵机,按照舵机的转动角度分为180度舵机和360度舵机。其中180度舵机兼容传统模拟舵机,它只能在0度到180度之间转动,超过这个范围,舵机就会出现堵转,轻则损坏舵机减速齿轮,重则烧坏舵机里面的电机。而360度舵机转动的方式和普通的电机类似,可以连续的转动,不过只能控制它转动的方向和速度,不能调节转动角度。数字舵机相对于传统模拟舵机有两大优势:一、因为数字舵机引入CPU的关系,数字舵机可以对输入的信号根据设定的参数进行预处理后再将动力脉冲发送到舵机马达。这意味着动力脉冲的宽度,可以根据微处理器的程序运算而调整,以适应不同的功能要求,并优化舵机的性能;二、数字舵机可以通过CPU接收比模拟舵机50Hz频率更快的PWM外部控制信号,就可以在更短的时间内分辨出PWM外部控制信号的位置信息,计算出PWM占空比的正比电压和反馈电位器的电压差值,去驱动电机动作,做舵机摇臂位置最新改变。所以说数字舵机的反应速度比模拟舵机快,加速和减速时也更迅速、更柔和;同时数字舵机提供更高的精度和更好的固定力量。
从上文可以看到,一般的数字舵机,虽然解决了传统舵机的控制问题,但其转动角度范围仍然只有180度,同时对于一台数字舵机要么是在角度可控模式(在正负90度调节或是0-180度),要么就是电机模式(360度旋转),二者没有得到很好的兼顾,使其在实际应用中受到很大的局限性。
发明内容
本发明要解决的技术问题是提供一种数字舵机及其控制方法,该数字舵机及其控制方法同时具备标准控制模式和扩展控制模式,兼容性强,适用性广。
为实现上述发明目的,本发明采用以下技术方案:
一种数字舵机,包括:舵机控制单元;电机驱动模块,与所述舵机控制单元电连接;反馈单元,与所述舵机控制单元电连接;无刷电机,与所述电机驱动模块电连接;所述舵机控制单元通过串行总线接收上位机发送的控制信息,并根据所述控制信息、所述反馈单元的反馈信息和预设控制算法计算电机控制参数,将所述电机控制参数对应的控制PWM波形信号输出至所述电机驱动模块;所述电机驱动模块,根据接收到的控制PWM波形信号控制所述无刷电机执行相应的转动。
传统舵机每装一个电机都需要一路PPM电路单独控制,且每一个都要连接到上位机控制电路上,如果使用的舵机多则系统布线比较复杂、繁多,易造成信号干扰,稳定性较差。在上述技术方案中让舵机采用串行总线和上位机通讯连接,简化了与上位机的连接,且多个舵连到同一个上位机时,相互之间不会存在信号干扰,稳定性高。
进一步,数字舵机还包括:减速机构,与所述无刷电机的输出轴对接。
进一步,所述舵机控制单元通过串行总线接收上位机发送的控制信息,并根据所述控制信息、所述反馈单元的反馈信息和预设控制算法计算电机控制参数,将所述电机控制参数对应的控制PWM波形信号输出至所述电机驱动模块具体为:所述舵机控制单元,通过串行总线接收上位机发送的控制信息,解析所述控制信息,得到控制模式和控制参数;并根据所述控制模式、控制参数、所述反馈单元的反馈信息和预设控制算法计算电机控制参数;将所述电机控制参数对应的控制PWM波形信号输出至所述电机驱动模块。
进一步,所述舵机控制单元,解析所述控制信息,得到控制模式和控制参数具体为:所述舵机控制单元,解析所述控制信息,得到所述控制参数;当所述控制参数中的转动角度超过360度时,所述控制模式为扩展控制模式;当所述控制参数中的转动角度不超过360度时,所述控制模式为标准控制模式。
进一步,所述反馈信息包括:所述无刷电机的电机转速信息和电机位 置信息;所述反馈单元包括:位置传感器,安装于所述无刷电机上,且所述位置传感器与所述舵机控制单元电连接,所述位置传感器用于将检测到的所述无刷电机的电机转速信息和电机位置信息反馈给所述舵机控制单元。
进一步,所述反馈信息包括:所述无刷电机的驱动电压和驱动电流;所述反馈单元包括:过压过流保护电路,与所述舵机控制单元电连接,用于检测所述无刷电机的驱动电压和驱动电流。
进一步,所述舵机控制单元,进一步用于当所述驱动电压超过预设电压阈值或所述驱动电流超过预设电流阈值时,停止输出控制PWM波形信号至电机驱动模块。
进一步,所述反馈信息包括:所述无刷电机的运行温度;所述反馈单元包括:温度传感器,与所述舵机控制单元电连接,用于检测所述无刷电机的运行温度。
进一步,所述舵机控制单元,进一步用于当所述运行温度超过预设温度阈值时,停止输出控制PWM波形信号至电机驱动模块。
传统舵机无温度、负载、电压、电流等反馈和保护,增加了这些保护之后,舵机使用更加安全。
本公开还提供一种数字舵机的控制方法,包括:当接收到上位机通过串行总线发送的控制信息时,解析所述控制信息,得到控制模式和控制参数;根据所述控制模式、所述控制参数、获取的反馈信息和预设控制算法,计算得到电机控制参数;将所述电机控制参数对应的控制PWM波形信号输出至电机驱动模块,控制无刷电机执行相应的转动。
进一步,所述当接收到上位机发送的控制信息时,解析所述控制信息,得到控制模式和控制参数具体为:当接收到上位机发送的控制信息时,解析所述控制信息,得到所述控制参数;当所述控制参数中的转动角度超过360度时,所述控制模式为扩展控制模式;当所述控制参数中的转动角度不超过360度时,所述控制模式为标准控制模式。
进一步,数字舵机的控制方法,还包括:当所述控制模式为标准控制 模式、且接收到位置传感器发送的无刷电机转动时转动角度信息中的当前角度与所述控制参数中的转动角度相同时,停止输出控制PWM波形信号至电机驱动模块,使所述无刷电机停止转动。
进一步,数字舵机的控制方法,还包括:当所述控制模式为扩展控制模式时,且接收到位置传感器发送的无刷电机转动时转动角度信息中的当前角度与所述控制参数中的角度相同、所述转动角度信息中的当前圈数与所述控制参数中的圈数相同时,停止输出控制PWM波形信号至电机驱动模块,使所述无刷电机停止转动。
进一步,数字舵机的控制方法,还包括:当获取的无刷电机转动时的运行温度超过预设温度阈值时,停止输出控制PWM波形信号至电机驱动模块,使所述无刷电机停止转动。
进一步,数字舵机的控制方法,还包括:当获取的无刷电机转动时的驱动电压超过预设电压阈值,或,获取的无刷电机转动时的驱动电流超过预设电流阈值时,停止输出控制PWM波形信号至电机驱动模块,使所述无刷电机停止转动。
本公开的一种数字舵机及其控制方法,具有两种控制模式:标准控制模式和扩展控制模式,兼容性强,适用性广。因采用串行通讯总线,所以本公开的舵机在与上位机连接中可并联也可串联,使得接口简单,系统连线大大简化,提高了系统的可靠性。因为采用串行通讯总线连接,为模块化设计和模块化生产奠定了基础。与传统舵机相比,本公开的数字舵机单位体积的输出扭矩(即舵机扭矩/舵机体积)很大,并且转动角度范围广,应用范围广。
本公开的数字舵机,根据位置传感器检测到的转动角度值使电机的转动角度在0°-340°范围内任意停止(即标准控制模式),也可以使电机连续转动多个360°(即扩展控制模式),解决了现有传统的数字舵机单位体积输出扭矩小的技术问题以及无法形成闭环控制、无保护电路、控制信号和接口连线复杂、繁多、可靠性低等问题,可广泛应用于移动机器人关节自由度控制,也可以用在无人机螺旋桨驱动、控制以及航模等飞行器姿态的 操控控制。
本公开的一种数字舵机及其控制方法,具有以下有益效果:
1、与传统舵机采用有刷电机相比,本发明提供的数字舵机采用无刷电机,这就使得本公开提供的数字舵机具有带载能力强,输出扭矩大,运行噪音低,寿命长等优点。
2、与传统舵机和现有技术相比,本公开提供的数字舵机集两种工作模式于一身,根据串行总线接口收到指令序列可以在标准控制模式和扩展控制模式之间任意切换,使其应用范围扩大。
3、与传统舵机和现有技术相比,本公开提供的数字舵机可根据无刷电机当前角度、转速、驱动电压、负载电流和系统温度在内的反馈信息进行无刷电机的控制,不仅在舵机内部形成了闭环控制,使得控制系统精度提高,可靠性增强,还使得舵机不至于因温度过高、负载过大和电机堵转等因素受到损坏,起到了对无刷电机的保护作用。
4、与传统舵机和现有技术相比,本公开提供的数字舵机通过串行总线与上位机进行通讯连接,使得一台上位机可以和不超过110个的本公开提供的数字舵机通讯连接,其大大简化了上位机控制电路,降低了上位机的资源占用;每个舵机可以设定不同的节点地址,多个舵机可以统一运动也可以单个独立控制;这样就会减少繁杂的布线,从而避免因布线繁琐所造成的信号干扰,稳定性差的缺陷。
附图说明
图1为本发明数字舵机原理框图;
图2为本发明数字舵机结构示意图;
图3为本发明无刷电机预设控制算法框图。
具体实施方式
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对照附图说明本发明的具体实施方式。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性 劳动的前提下,还可以根据这些附图获得其他的附图,并获得其他的实施方式。
下面结合附图,对本发明提出的一种数字舵机及其控制方法进行详细说明。在本发明的描述中,需要理解的是,术语“左侧”、“右侧”、“上部”、“下部”、“底部”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,“第一”、“第二”等并不表示零部件的重要程度,因此不能理解为对本发明的限制。本实施例中采用的具体尺寸只是为了举例说明技术方案,并不限制本发明的保护范围。
本公开的一种数字舵机,其主要包括:
舵机控制单元;电机驱动模块,与舵机控制单元电连接;反馈单元,与舵机控制单元电连接;无刷电机,与电机驱动模块电连接;减速机构,与无刷电机的输出轴对接。
舵机控制单元主要包括:
1、电源管理模块,用于供电。
2、串行通讯模块,用于接收上位机的控制信息以及发送舵机的状态反馈信息(例如:正常运行、出现异常情况等)给上位机,即上位机与舵机控制单元采用串行总线方式进行通讯。在本公开中采用CAN2.0通讯接口(也可采用RS232或者RS485通讯接口)。可支持多达110个节点,也就是说一个上位机可以通过CAN总线连接多达110个舵机,舵机与上位机之间的通讯互不干扰。每个舵机可以设定不同的节点ID,在控制时,使多个舵机可以统一运动也可以单个独立控制其运动。
3、舵机控制电路,用于根据电机控制参数输出对应的控制PWM波形信号至电机驱动模块。
4、主控制器,用于根据上位机发送的控制信息、反馈单元的反馈信息和预设控制算法计算电机控制参数,让舵机控制电路根据电机控制参数输出对应的控制PWM波形信号至电机驱动模块。
预设控制算法可以采用现有的控制算法,例如:预设控制算法可以设 置为CLARKE、PARK变换、PI控制算法和模式控制算法,通过这四种算法对无刷电机进行控制。
电机驱动模块:用于根据接收到的控制PWM波形信号控制无刷电机执行相应的转动。
无刷电机:本实施例中,无刷电机采用无感无刷电机,因为其具有单位体积内带载能力强,输出扭矩大,抗干扰能力强,电机转动产生的噪音小,电机寿命长等优点,另外,其换相可以通过软件进行控制,成本较有感电机低廉。优选地,采用空心杯无感无刷电机。
反馈单元:用于检测反馈信息,供舵机主控单元(的主控制器)使用。反馈信息根据反馈单元的具体设置情况决定,例如:若设置位置传感器,将其安装于无刷电机上,且位置传感器与舵机控制单元电连接,位置传感器用于将检测到的无刷电机的电机转速信息和电机位置信息反馈给舵机控制单元,实现闭环控制。若设置了位置传感器,那反馈信息包括:无刷电机的电机位置信息、电机转速信息;位置信息包括:无刷电机的转动角度信息(例如:当前角度、旋转的圈数)、转向等。
减速机构:减速装置采用高精度、多级大减速比的减速机构,可将电机输出扭矩增加几百倍。达到将电机的高转速、低扭矩输出转化为低转速、高扭矩输出的目的。
本实施例中,舵机和上位机通过串行总线进行通讯,简化了舵机与上位机的连接方式,多个舵机之间的通讯不会互相干扰,稳定性较高。且在控制过程中引入反馈信息,使舵机的控制更好。
在本公开的另一个实施例中,如图1所示,一种数字舵机,其主要包括:
舵机控制单元;电机驱动模块,与舵机控制单元电连接;反馈单元,与舵机控制单元电连接;无刷电机,与电机驱动模块电连接;减速机构,与无刷电机的输出轴对接。
反馈单元包括:
位置传感器,安装于无刷电机上,且位置传感器与舵机控制单元电连 接,位置传感器用于将检测到的无刷电机的电机转速信息和电机位置信息以设置的频率反馈给舵机控制单元。反馈信息包括:无刷电机的电机转速信息和电机位置信息。
与传统的根据限位机械来检测电机的转动角度相比,本实施例利用位置传感器来检测无刷电机的转动角度,并将其反馈给舵机控制单元,形成闭环控制,使舵机控制单元可以实现对无刷电机的标准控制(例如:0-340度范围内的任意角度转动),同时也可以实现对无刷电机的扩展控制(转N圈又几度,例如:转3圈又30度=3*360+30=1110度),控制方式更多样化。
反馈单元还可以包括:温度传感器,与舵机控制单元电连接,用于检测无刷电机的运行温度。
温度传感器的设置主要是为了确认舵机是不是过热,基于舵机的结构,可以不将温度传感器安装于无刷电机,直接将温度传感器与舵机控制单元电连接,从而将温度传感器采集到的温度作为判断无刷电机是否过热的指标。
反馈单元还可以包括:过压过流保护电路,与舵机控制单元电连接,用于检测无刷电机的驱动电压和驱动电流。
考虑到过压或过流也会对无刷电机造成损坏,因此,可以将过压过流保护电路加入反馈单元,使电机不会因为负载过大等因素造成损坏。
舵机部分结构的具体安装位置可以参考图2:舵机控制单元5、过流过压保护电路4,位置传感器3,无刷电机2和减速机构1(即速齿轮组及输出装置)采用分层叠加的方式连接,以满足结构和空间的需求。
控制方式为:
1、舵机控制单元通过串行总线接收上位机发送的控制信息,解析控制信息,得到控制模式和控制参数。上位机以指令序列的方式发送控制信息,解析后得到控制参数,可以根据控制参数中需要无刷电机转动的转动角度来确认控制模式。
当控制参数中的转动角度超过360度时,控制模式为扩展控制模式; 当控制参数中的转动角度不超过360度时,控制模式为标准控制模式。
2、舵机控制单元根据控制模式、控制参数、反馈单元的反馈信息和预设控制算法对无刷电机进行控制。预设控制算法包括:舵机控制算法(例如:CLARKE、PARK变换、PI控制算法)和模式控制算法。反馈信息包括:无刷电机的电机转速信息、电机位置信息、运行温度、驱动电压和驱动电流。在计算电机控制参数时,需要对上述各信息综合考虑。
例如:若运行温度不超过预设温度阈值、驱动电压不超过预设电压阈值、且驱动电流也不超过预设电流阈值,则根据舵机控制算法和控制参数计算得到驱动无刷电动转动的电机控制参数,使无刷电机旋转到控制参数中的转动角度为止。
3、舵机控制单元将电机控制参数对应的控制PWM波形信号输出至电机驱动模块。
需要注意的是,在根据位置传感器判断无刷电机停止时不同控制模式的计算方式不同。
当控制模式为标准控制模式、且位置传感器反馈的电机位置信息中转动角度信息中的当前角度与控制参数中的转动角度相同时,停止输出控制PWM波形信号至电机驱动模块,使无刷电机停止转动。
当控制模式为扩展控制模式时,且转动角度信息中的当前角度与控制参数中的角度相同、转动角度信息中的当前圈数与控制参数中的圈数相同时,停止输出控制PWM波形信号至电机驱动模块,使无刷电机停止转动。当然,若根据反馈的电机转速信息发现无刷电机堵转时,也可以停止输出控制PWM波形信号至电机驱动模块,使无刷电机停止转动。
另外,在无刷电机转动时,舵机控制单元会以预设频率读取运行温度、驱动电流和驱动电压,当运行温度超过预设温度阈值,或,驱动电压超过预设电压阈值,或,驱动电流超过预设电流阈值时,停止输出控制PWM波形信号至电机驱动模块,使无刷电机停止转动。
本实施例提供的舵机可根据无刷电机的电机转速信息、电机位置信息、驱动电压、驱动电流和运行温度在内的反馈信息进行无刷电机的控制, 不仅在舵机内部形成了闭环控制,使得控制系统精度提高,可靠性增强,还使得舵机不至于因温度过高、负载过大和电机堵转等因素受到损坏,起到了对无刷电机的保护作用。
在实际使用时,可以采用芯片TMS320F28069M作为舵机控制板的主控制器,舵机控制板上包含电机驱动模块、串行通讯模块、传感器反馈电路模块(例如:位置传感器、温度传感器)以及过压过流保护电路等。由于结构和空间需求,舵机控制板采用分层叠加的方式制作。另外芯片TMS320F28069M内部FLASH中烧写有预设控制算法及通讯程序等。其接收上位机的控制信息以及运行温度、驱动电压、驱动电流、电机位置信息、电机转速信息等反馈信息,并根据控制信息和反馈信息计算电机控制参数,然后将控制参数输出至电机驱动电路,控制无刷电机按标准控制模式转动到某一角度或者按扩展控制模式控制电机连续转动多少圈又多少度。
一种数字舵机的控制方法,包括以下步骤:
1)舵机控制单元收到上位机通过串行总线发来的控制信息(比如:指令序列),对其解析,得到控制参数(如:舵机的转动方向、转动速度和转动角度),并解析出是标准控制模式还是扩展控制模式,从而使舵机可以根据上位机发来的“指令序列”工作。控制舵机动作的指令序列可以参考下表一:
表一
Figure PCTCN2018087573-appb-000001
Command------命令字(可以“命令”舵机按指令序列动作,可以“命令”舵机返回自身的运行状态,也可以下发“参数”让舵机按此“参数”进行校准等)
Dir----命令电机转动方向(正传或反转)
Analog-----转动角度(0—340度或者XXX圈又XXX度)
Speed------让电机以speed转/min转动。
Crc-------Byte1到Byte8的校验和。
整个指令序列可以理解为:上位机让舵机以Speed速度按Dir方向转动Analog度。
2)舵机控制单元根据获取的反馈信息,依照预设控制算法计算电机控制参数。例如:根据反馈信息、控制模式和控制参数,依照图三进行CLARKE、PARK变换和PI控制算法等计算电机控制参数。
4)舵机控制单元将电机控制参数对应的控制PWM波形信号发送给电机驱动模块,使电机驱动模块根据接收到PWM波形,控制无刷电机执行相应的转动(例如:按照指定的速度、方向转动)。
在本公开的另一个实施例中,一种舵机的控制方法,包括:
1)当接收到上位机通过串行总线发送的控制信息时,解析控制信息,得到控制模式和控制参数。
控制模式的具体判断方式为:
当控制参数中的转动角度超过360度时,控制模式为扩展控制模式;当控制参数中的转动角度不超过360度时,控制模式为标准控制模式。
2)根据控制模式、控制参数、获取的反馈信息和预设控制算法,计算得到电机控制参数。
3)将电机控制参数对应的控制PWM波形信号输出至电机驱动模块,控制无刷电机执行相应的转动。
反馈信息包括:无刷电机的电机转速信息、电机位置信息、运行温度、驱动电压和驱动电流。在计算电机控制参数时,需要对上述各信息综合考虑。
例如:若运行温度不超过预设温度阈值、驱动电压不超过预设电压阈值、且驱动电流也不超过预设电流阈值,则根据舵机控制算法和控制参数计算得到驱动无刷电动转动的电机控制参数,使无刷电机旋转到控制参数中的转动角度为止。
在控制无刷电机旋转到控制参数中的转动角度时,不同的控制模式,会有不同的计算方式。
例如:
当无刷电机转动时,接收位置传感器发送的无刷电机的转动角度信息。
当控制模式为标准控制模式、且接收的转动角度信息中的当前角度与控制参数中的转动角度相同时,认为无刷电机旋转到了控制参数中的转动角度,因此,停止输出控制PWM波形信号至电机驱动模块,使无刷电机停止转动。
当控制模式为扩展控制模式时,且接收的转动角度信息中的当前角度与控制参数中的角度相同、转动角度信息中的当前圈数与控制参数中的圈数相同时,认为无刷电机旋转到了控制参数中的转动角度,因此,停止输出控制PWM波形信号至电机驱动模块,使无刷电机停止转动。
当然,若根据反馈的电机转速信息发现无刷电机堵转时,也可以停止输出控制PWM波形信号至电机驱动模块,使无刷电机停止转动。
另外,在无刷电机转动时,舵机控制单元会以预设频率读取运行温度、驱动电流和驱动电压,当运行温度超过预设温度阈值,或,驱动电压超过预设电压阈值,或,驱动电流超过预设电流阈值时,停止输出控制PWM波形信号至电机驱动模块,使无刷电机停止转动。
本实施例提供的舵机可根据无刷电机的电机转速信息、电机位置信息、驱动电压、驱动电流和运行温度在内的反馈信息进行无刷电机的控制,不仅在舵机内部形成了闭环控制,使得控制系统精度提高,可靠性增强,还使得舵机不至于因温度过高、负载过大和电机堵转等因素受到损坏,起到了对无刷电机的保护作用。
基于对本发明优选实施方式的描述,应该清楚,由所附的权利要求书所限定的本发明并不仅仅局限于上面说明书中所阐述的特定细节,未脱离本发明宗旨或范围的对本发明的许多显而易见的改变同样可能达到本发明的目的,这些改变也应视为本发明的保护范围。

Claims (15)

  1. 一种数字舵机,其特征在于,包括:
    舵机控制单元;
    电机驱动模块,与所述舵机控制单元电连接;
    反馈单元,与所述舵机控制单元电连接;
    无刷电机,与所述电机驱动模块电连接;
    所述舵机控制单元通过串行总线接收上位机发送的控制信息,并根据所述控制信息、所述反馈单元的反馈信息和预设控制算法计算电机控制参数,将所述电机控制参数对应的控制PWM波形信号输出至所述电机驱动模块;
    所述电机驱动模块,根据接收到的控制PWM波形信号控制所述无刷电机执行相应的转动。
  2. 如权利要求1所述的数字舵机,其特征在于,所述舵机控制单元通过串行总线接收上位机发送的控制信息,并根据所述控制信息、所述反馈单元的反馈信息和预设控制算法计算电机控制参数,将所述电机控制参数对应的控制PWM波形信号输出至所述电机驱动模块具体为:
    所述舵机控制单元,通过串行总线接收上位机发送的控制信息,解析所述控制信息,得到控制模式和控制参数;
    并根据所述控制模式、控制参数、所述反馈单元的反馈信息和预设控制算法计算电机控制参数;
    将所述电机控制参数对应的控制PWM波形信号输出至所述电机驱动模块。
  3. 如权利要求2所述的数字舵机,其特征在于,所述舵机控制单元,解析所述控制信息,得到控制模式和控制参数具体为:
    所述舵机控制单元,解析所述控制信息,得到所述控制参数;当所述控制参数中的转动角度超过360度时,所述控制模式为扩展控制模式; 当所述控制参数中的转动角度不超过360度时,所述控制模式为标准控制模式。
  4. 如权利要求1所述的数字舵机,其特征在于:
    所述反馈信息包括:所述无刷电机的电机转速信息和电机位置信息;
    所述反馈单元包括:
    位置传感器,安装于所述无刷电机上,且所述位置传感器与所述舵机控制单元电连接,所述位置传感器用于将检测到的所述无刷电机的电机转速信息和电机位置信息反馈给所述舵机控制单元。
  5. 如权利要求1所述的数字舵机,其特征在于:
    所述反馈信息包括:所述无刷电机的运行温度;
    所述反馈单元包括:
    温度传感器,与所述舵机控制单元电连接,用于检测所述无刷电机的运行温度。
  6. 如权利要求5所述的数字舵机,其特征在于:
    所述舵机控制单元,进一步用于当所述运行温度超过预设温度阈值时,停止输出控制PWM波形信号至电机驱动模块。
  7. 如权利要求1所述的数字舵机,其特征在于:
    所述反馈信息包括:所述无刷电机的驱动电压和驱动电流;
    所述反馈单元包括:
    过压过流保护电路,与所述舵机控制单元电连接,用于检测所述无刷电机的驱动电压和驱动电流。
  8. 如权利要求7所述的数字舵机,其特征在于:
    所述舵机控制单元,进一步用于当所述驱动电压超过预设电压阈值 或所述驱动电流超过预设电流阈值时,停止输出控制PWM波形信号至电机驱动模块。
  9. 如权利要求1所述的数字舵机,其特征在于,还包括:
    减速机构,与所述无刷电机的输出轴对接。
  10. 一种数字舵机的控制方法,其特征在于,包括:
    当接收到上位机通过串行总线发送的控制信息时,解析所述控制信息,得到控制模式和控制参数;
    根据所述控制模式、所述控制参数、获取的反馈信息和预设控制算法,计算得到电机控制参数;
    将所述电机控制参数对应的控制PWM波形信号输出至电机驱动模块,控制无刷电机执行相应的转动。
  11. 如权利要求10所述的数字舵机的控制方法,其特征在于,所述当接收到上位机发送的控制信息时,解析所述控制信息,得到控制模式和控制参数具体为:
    当接收到上位机发送的控制信息时,解析所述控制信息,得到所述控制参数;
    当所述控制参数中的转动角度超过360度时,所述控制模式为扩展控制模式;
    当所述控制参数中的转动角度不超过360度时,所述控制模式为标准控制模式。
  12. 如权利要求10所述的数字舵机的控制方法,其特征在于,还包括:
    当所述控制模式为标准控制模式、且接收到位置传感器发送的无刷电机转动时转动角度信息中的当前角度与所述控制参数中的转动角度相 同时,停止输出控制PWM波形信号至电机驱动模块,使所述无刷电机停止转动。
  13. 如权利要求10所述的数字舵机的控制方法,其特征在于,还包括:
    当所述控制模式为扩展控制模式时,且接收到位置传感器发送的无刷电机转动时转动角度信息中的当前角度与所述控制参数中的角度相同、所述转动角度信息中的当前圈数与所述控制参数中的圈数相同时,停止输出控制PWM波形信号至电机驱动模块,使所述无刷电机停止转动。
  14. 如权利要求10所述的数字舵机的控制方法,其特征在于,还包括:
    当获取的无刷电机转动时的运行温度超过预设温度阈值时,停止输出控制PWM波形信号至电机驱动模块,使所述无刷电机停止转动。
  15. 如权利要求10所述的数字舵机的控制方法,其特征在于,还包括:
    当获取的无刷电机转动时的驱动电压超过预设电压阈值,或,获取的无刷电机转动时的驱动电流超过预设电流阈值时,停止输出控制PWM波形信号至电机驱动模块,使所述无刷电机停止转动。
PCT/CN2018/087573 2017-07-31 2018-05-18 一种数字舵机及其控制方法 WO2019024570A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710646476.6A CN107253214A (zh) 2017-07-31 2017-07-31 一种扩展型数码舵机及其工作方法
CN201710646476.6 2017-07-31

Publications (1)

Publication Number Publication Date
WO2019024570A1 true WO2019024570A1 (zh) 2019-02-07

Family

ID=60025618

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/087573 WO2019024570A1 (zh) 2017-07-31 2018-05-18 一种数字舵机及其控制方法

Country Status (2)

Country Link
CN (1) CN107253214A (zh)
WO (1) WO2019024570A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107253214A (zh) * 2017-07-31 2017-10-17 南京阿凡达机器人科技有限公司 一种扩展型数码舵机及其工作方法
CN108052039A (zh) * 2017-12-15 2018-05-18 佛山三维二次方科技有限公司 无人机舵机控制系统
CN109029548A (zh) * 2018-04-24 2018-12-18 天津大学 一种实时精确反馈运行电流和输出力矩的舵机系统及方法
CN108762148B (zh) * 2018-05-31 2019-12-10 杭州海灵智电科技有限公司 一种舵机模式切换及偏差调节的控制方法
CN109308080A (zh) * 2018-09-06 2019-02-05 深圳市天博智科技有限公司 舵机控制方法、系统、装置和存储介质
CN110932612B (zh) * 2019-11-07 2023-05-26 上海航天控制技术研究所 差分式高性能无刷电机驱动器及驱动方法
CN111216123A (zh) * 2019-11-29 2020-06-02 深圳勇艺达机器人有限公司 一种仿人型机器人手臂控制及故障诊断系统
CN113894797B (zh) * 2021-11-25 2023-05-02 乐聚(深圳)机器人技术有限公司 基于动态电流检测的机器人保护控制方法、装置、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004012852A (ja) * 2002-06-07 2004-01-15 Yamaha Corp 演奏装置
CN102854814A (zh) * 2012-04-28 2013-01-02 中国航天科技集团公司烽火机械厂 一种数字舵机控制器
CN202754140U (zh) * 2012-08-02 2013-02-27 上海未来伙伴机器人有限公司 数字舵机
CN103753535A (zh) * 2014-01-08 2014-04-30 深圳市优必选科技有限公司 一种机器人单总线模块化数字舵机控制装置及控制方法
CN104407625A (zh) * 2014-09-26 2015-03-11 北京博创尚和科技有限公司 一种数字舵机
CN107253214A (zh) * 2017-07-31 2017-10-17 南京阿凡达机器人科技有限公司 一种扩展型数码舵机及其工作方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE455978B (sv) * 1980-12-19 1988-08-22 Ellemtel Utvecklings Ab Pulsbreddsmodulerad effektforsterkare for att i beroende av en styrande insignal omvandla en likspenning till en lagfrekvent utsignal
CN101271348B (zh) * 2008-02-25 2010-09-15 湖北汉丹机电有限公司 数字化舵机
CN202863758U (zh) * 2012-07-30 2013-04-10 深圳市鸣鑫航空科技有限公司 带角度反馈信息的舵机
CN204308952U (zh) * 2014-10-30 2015-05-06 惠州市工藤科技有限公司 一种机器人数字舵机的控制装置
CN106655639A (zh) * 2016-11-18 2017-05-10 江南工业集团有限公司 一种电动舵机驱动装置
CN208196846U (zh) * 2017-07-31 2018-12-07 南京阿凡达机器人科技有限公司 一种扩展型数码舵机

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004012852A (ja) * 2002-06-07 2004-01-15 Yamaha Corp 演奏装置
CN102854814A (zh) * 2012-04-28 2013-01-02 中国航天科技集团公司烽火机械厂 一种数字舵机控制器
CN202754140U (zh) * 2012-08-02 2013-02-27 上海未来伙伴机器人有限公司 数字舵机
CN103753535A (zh) * 2014-01-08 2014-04-30 深圳市优必选科技有限公司 一种机器人单总线模块化数字舵机控制装置及控制方法
CN104407625A (zh) * 2014-09-26 2015-03-11 北京博创尚和科技有限公司 一种数字舵机
CN107253214A (zh) * 2017-07-31 2017-10-17 南京阿凡达机器人科技有限公司 一种扩展型数码舵机及其工作方法

Also Published As

Publication number Publication date
CN107253214A (zh) 2017-10-17

Similar Documents

Publication Publication Date Title
WO2019024570A1 (zh) 一种数字舵机及其控制方法
CN103753535A (zh) 一种机器人单总线模块化数字舵机控制装置及控制方法
CN208196846U (zh) 一种扩展型数码舵机
WO2021082609A1 (zh) 一种农业机械自动转向装置
CN113007015A (zh) 一种风电机组双驱电动变桨控制系统及控制方法
CN109921694A (zh) 一种舵机控制器
CN111605609A (zh) 一种基于电机与转向器的农机用转向系统及其控制方法
WO2012164740A1 (ja) 多軸モータ駆動システム及び多軸モータ駆動装置
CN106828903B (zh) 一种支架结构及无人机
CN106208827A (zh) 一种机器人轮毂直流无刷电机控制器及其控制方法
CN209497405U (zh) 一种agv伺服电机驱动控制系统
CN208592849U (zh) 一种基于空心驱动器的七轴关节机器人
US11548132B2 (en) Power tool
CN105846610A (zh) 连续旋转的高角位置精度的数字电机
CN102255592A (zh) 直流电机转动位置精确定位方法和相关定位装置
KR20190094932A (ko) 액추에이터모듈
CN203726493U (zh) 一种机器人单总线模块化数字舵机控制装置
CN204696967U (zh) 双芯片无刷直流电机驱动控制系统
CN203984286U (zh) 一种电机位置传感器零位自动学习系统
CN202543584U (zh) 紧凑型工业缝纫机伺服控制装置
CN205754082U (zh) 带双机位置环同步控制的数字式正弦波交流伺服驱动器
KR200284495Y1 (ko) 로봇용 서보모터 구동모듈
CN212137570U (zh) 一种真空多轴电机运动控制系统
CN209447043U (zh) 一种单独调节转向的转板设备
CN202841025U (zh) 一种正反转变频系统

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: 18841230

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18841230

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18841230

Country of ref document: EP

Kind code of ref document: A1