This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:hardware2:actuators_motors [2023/11/14 15:29] – pczekalski | en:iot-open:hardware2:actuators_motors [2023/11/23 11:26] (current) – pczekalski | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ==== Actuators ==== | + | ====== Actuators |
| + | {{: | ||
| Actuators are devices that can do a physical action to the surrounding world. Most actuators are based on one of the forms of electric motors, sometimes directly, sometimes using a gearbox and advanced control logic.\\ | Actuators are devices that can do a physical action to the surrounding world. Most actuators are based on one of the forms of electric motors, sometimes directly, sometimes using a gearbox and advanced control logic.\\ | ||
| An electric motor is an electromechanical device which can turn electrical energy into mechanical energy. The motor turns because the electricity in its winding generates a magnetic field that inducts the mechanical force between the winding and the magnet. Electric motors are made in many variants, of which the simplest is the permanent-magnet DC motor. | An electric motor is an electromechanical device which can turn electrical energy into mechanical energy. The motor turns because the electricity in its winding generates a magnetic field that inducts the mechanical force between the winding and the magnet. Electric motors are made in many variants, of which the simplest is the permanent-magnet DC motor. | ||
| - | === DC Motor (One Direction) | + | == DC Motor (One Direction) == |
| DC motor is a device which converts direct current into mechanical rotation. DC motor consists of permanent magnets in the stator and coils in the rotor. Applying the current to coils creates an electromagnetic field, and the rotor tries to align itself to the magnetic field. Each coil is connected to a commutator, which supplies coils with current, thus ensuring continuous rotation. Some motors have a tachometer functionality as the loopback signal that generates a pulse train of frequency proportional to the rotation speed. Tacho signal can be connected to a digital or interrupt input of a microcontroller, | DC motor is a device which converts direct current into mechanical rotation. DC motor consists of permanent magnets in the stator and coils in the rotor. Applying the current to coils creates an electromagnetic field, and the rotor tries to align itself to the magnetic field. Each coil is connected to a commutator, which supplies coils with current, thus ensuring continuous rotation. Some motors have a tachometer functionality as the loopback signal that generates a pulse train of frequency proportional to the rotation speed. Tacho signal can be connected to a digital or interrupt input of a microcontroller, | ||
| Line 34: | Line 34: | ||
| - | === DC Motor With H-Bridge | + | == DC Motor With H-Bridge == |
| The H-bridge has earned its name because it resembles the capital ' | The H-bridge has earned its name because it resembles the capital ' | ||
| Line 44: | Line 44: | ||
| </ | </ | ||
| - | When all switches are turned off, the motor is in free movement. It is not always acceptable, so two solutions can be implemented. If both positive or negative switches are turned on at the top or the bottom, then the motor coil is shorted, not allowing it to have a free rotation – it is slowed down faster. The fastest option to stop the motor is to turn the H-bridge in the opposite direction for a while. | + | When all switches are turned off, the motor is in free movement. It is not always acceptable, so two solutions can be implemented. If both positive or negative switches are turned on at the top or the bottom, then the motor coil is shorted, not allowing it to have a free rotation – it is slowed down faster. The fastest option to stop the motor is to turn the H-bridge in the opposite direction for a while. |
| + | |||
| + | <note warning>Neither of these braking mechanisms is good for the H-bridge or the power source because of excessive current appearance. This action is unacceptable without a particular reason because it can damage the switches or the power source.</ | ||
| + | |||
| + | The motor management can be reflected in the table {{ref> | ||
| <table hbridgetable> | <table hbridgetable> | ||
| Line 113: | Line 117: | ||
| </ | </ | ||
| - | === Stepper Motor === | + | == Stepper Motor == |
| A certain angle or step can move stepper motors. The full rotation of the motor is divided into small, equal steps. Stepper motor has many individually controlled electromagnets; | A certain angle or step can move stepper motors. The full rotation of the motor is divided into small, equal steps. Stepper motor has many individually controlled electromagnets; | ||
| An example of use can be found in the source ((https:// | An example of use can be found in the source ((https:// | ||
| Line 122: | Line 126: | ||
| </ | </ | ||
| - | < | + | < |
| {{ : | {{ : | ||
| < | < | ||
| Line 156: | Line 160: | ||
| </ | </ | ||
| - | === Servomotor | + | == Servomotor == |
| The servomotor includes the internal closed-loop position feedback mechanism that precisely controls its position angle. To set the angle, the PWM technique is used. Additionally, | The servomotor includes the internal closed-loop position feedback mechanism that precisely controls its position angle. To set the angle, the PWM technique is used. Additionally, | ||
| Line 168: | Line 172: | ||
| <figure servomotor> | <figure servomotor> | ||
| - | {{ : | + | {{ : |
| < | < | ||
| </ | </ | ||
| Just like other motors, servomotors have different parameters, where the most important one is the time of performance – the time necessary to change the position to the defined position. The best enthusiast-level servomotors do a 60° turn in 0.09 s. There are three types of servomotors: | Just like other motors, servomotors have different parameters, where the most important one is the time of performance – the time necessary to change the position to the defined position. The best enthusiast-level servomotors do a 60° turn in 0.09 s. There are three types of servomotors: | ||
| - | * **positional | + | * **Positional |
| - | * **continuous | + | * **Continuous |
| - | * **linear | + | * **Linear |
| Unfortunately, | Unfortunately, | ||
| - | Sample standard servo is present in figure {{ref> | + | Sample standard servo is present in figure {{ref> |
| <figure stdservo1> | <figure stdservo1> | ||