伺服电机、步进电机和直流电机简介

Arduino - Motor Arduino - 电机

参考:

Arduino控制舵机

舵机抖动的解决方法

Arduino控制MG995/MG996 360舵机连续旋转

We are going to learn:
我们将学习:

  • 哪些类型的电机可与 Arduino 配合使用
  • 不同类型的电机有哪些区别
  • 如何控制各类电机

Motor Types 电机类型

Arduino 广泛使用三种类型的电机:

  • Servo motor 伺服电机
  • Stepper motor 步进电机
  • DC motor 直流电动机

在这里插入图片描述

伺服电机包括两种主要类型:180° 伺服电机和 360° 伺服电机。事实上,大多数人对伺服电机的理解是180°伺服电机

360° 伺服电机与直流电机类似,只是不需要硬件驱动器。

180°伺服电机

Characteristics 特性

  • 旋转范围:限制在 0° 和 180° 之间
  • 旋转方向:顺时针、逆时针
  • 旋转位置:可控制旋转到 0° 至 180° 之间的特定角度
  • 转速:可控,但不平稳
  • 额外的硬件驱动程序:不需要。只需通过 Arduino 引脚直接控制
  • 额外电源:需要
  • 如何控制:简单,使用 PWM 信号即可

Application 应用

  • 任何只需旋转 0° 至 180° 角度的应用

Servo motor 伺服电机教程

Stepper motor 步进电机

Characteristics 特性

  • Rotation is unlimited 旋转是无限的
  • Rotating direction: clockwise, counter-clockwise
    旋转方向:顺时针、逆时针
  • Rotating position: can be controlled to precisely rotate to any angle position.
    旋转位置:可控制精确旋转至任意角度位置。
  • Rotating speed: can be controlled precisely. Furthermore, acceleration and deacceleration can be controlled precisely
    转速:可精确控制。此外,可以精确控制加速和减速
  • Extra hardware driver: required
    额外的硬件驱动程序:必需
  • Extra power supply: required
    额外电源:需要
  • How to control: complicated, beginners should use the library
    如何控制:复杂,初学者应该使用库

Application 应用

  • Automation and robotics 自动化和机器人技术

  • Printers, 3D printer, CNC, X-Y plotter,
    打印机、3D打印机、CNC、X-Y绘图仪、

Cocktail Machine 鸡尾酒机

Stepper Motor Tutorial 步进电机教程

DC motor 直流电动机

Characteristics 特性

  • Rotation is unlimited 旋转是无限的
  • Rotating direction: clockwise, counter-clockwise
    旋转方向:顺时针、逆时针
  • Rotating position: very difficult to precisely rotate to a specific angle
    旋转位置:很难精确旋转到特定角度
  • Rotating speed: easy to control how fast, but very difficult to precisely control to a specific speed value.
    转速:容易控制多快,但很难精确控制到特定的速度值。
  • Extra hardware driver: required.
    额外的硬件驱动程序:必需。
  • Extra power supply: required
    额外电源:需要
  • How to control: easy, just use high-voltage PWM signal
    如何控制:简单,只需使用高压PWM信号

※ NOTE THAT: ※ 注意事项:

  • To control the position of DC motor, we need extra hardware, called encoder, and then use a closed-loop control method such as PID control method. This is very difficult for beginners.
    为了控制直流电机的位置,我们需要额外的硬件,称为编码器,然后使用闭环控制方法,例如PID控制方法。这对初学者来说非常困难。
  • For speed control, we can easily control how fast it is, such as slow, medium, fast, very fast, how many percent of full speed. However, To control how many rounds per second, we need extra hardware, called encoder, and then use a closed-loop control method such as PID control method. This is very difficult for beginners.
    对于速度控制,我们可以很容易地控制它的速度,例如慢速、中速、快速、非常快、全速的百分之几。但是,为了控制每秒的轮数,我们需要额外的硬件,称为编码器,然后使用闭环控制方法,例如 PID 控制方法。这对初学者来说非常困难。
  • Some DC motors on the market has a built-in encoder
    市场上的一些直流电机具有内置编码器

Application 应用

  • Used to control something that needs to rotate continuously but the value of speed does not need to be specified. For example fan, pump, RC car, drill …
    用于控制需要连续旋转但不需要指定速度值的东西。例如风扇、泵、遥控车、钻头…

※ NOTE THAT: ※ 注意事项:

There are two main DC motor types: the brushed DC motors and brushless DC motors. The brushed DC motor is widely used in DIY projects
直流电机主要有两种类型:有刷直流电机和无刷直流电机。有刷直流电机广泛应用于DIY项目

DC motor Tutorial 直流电机教程

Arduino - DC Motor tutorial
Arduino - 直流电机教程

Motor selection guide 电机选型指南

Choosing a motor for a project depending on many factors, such as carried weight, power supply, application’s characteristics…
为项目选择电机取决于许多因素,例如承载重量、电源、应用特性…

  • If your project needs to rotate to angle position in between 0° and 180°, find a suitable 180° servo motor
    如果您的项目需要旋转到0°到180°之间的角度位置,请找到合适的180°伺服电机
  • If your project needs to precisely rotate to any position, find a suitable stepper motor
    如果您的项目需要精确旋转到任何位置,请找到合适的步进电机
  • If your project needs to precisely rotate continuously without any position, find a suitable DC motor or 360° servo motor
    如果您的项目需要在没有任何位置的情况下精确连续旋转,请找到合适的直流电机或360°伺服电机

Buy Motor 购买电机

180° Servo motor SG90 Buy on Amazon 180°伺服电机SG90在亚马逊上购买
180° Servo motor MG996R Buy on Amazon 180°伺服电机MG996R 在亚马逊上购买
360° Servo motor FS90R Buy on Amazon 360°伺服电机FS90R 在亚马逊上购买
Stepper motor Buy on Amazon 步进电机 在亚马逊上购买
DC motor Buy on Amazon 直流电机 在亚马逊上购买
DC motor with encoder Buy on Amazon 带编码器的直流电机 在亚马逊上购买
Stepper & DC motor hardware driver Buy on Amazon 步进&DC电机硬件驱动程序 在亚马逊上购买

See Also

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

蔚蓝慕

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值