Stepper motors are often used for positioning control. The number of pulses output by the PLC can control the angle of rotation (relatively speaking, it can be the distance), and the frequency of the pulses controls the speed of the stepper motor. However, it is simple, economical, and easy to control when used in situations where the control accuracy is not very high; for situations where the control accuracy is very high, a servo control system must be used.
Stepper system = stepper driver + stepper motor. The stepper motor is driven by the stepper driver, which is equivalent to the driving power supply, and it is controlled by external pulse signals and direction signals (the example here is the Siemens PLC output pulse), thereby controlling the rotation angle and speed of the stepper motor.
Stepper driver + stepper motor + Siemens PLC (CPU 222 CN)
Related definitions
1. Driver: The medium used for PLC to control the stepper motor. It is responsible for amplifying the pulse signal given by the PLC and transmitting it to the stepper motor, so that the motor runs according to the parameters given by the PLC and the driver.
Control Process
2. Step angle: The angle that each pulse causes the stepper motor to rotate. The most common angle is 1.8°, which generally cannot be changed.
For example: Without setting the subdivision, how many pulses does the PLC need to send to control a stepper motor with a step angle of 1.8° to rotate one circle (360°)?
Answer: 360°/X=1.8°/1, so X=200 pulses.
3. Subdivision: In actual applications, it is found that if the step angle is large, the angle of each rotation will be large, which will cause vibration and the corresponding control error will also become larger. Therefore, the subdivision function is introduced. That is, the step angle is divided into several more points through the DIP switch of the driver to make the motor rotate more smoothly.
For example: if the step angle is 1.8° and is set to 10 subdivisions, then each time the PLC sends a pulse, the motor only rotates 0.18°. How many pulses does the PLC need to send for the stepper motor to rotate one circle (360°)?
Answer: 360°/X=0.18°/1, so X=2000 pulses.
Summary: The larger the step angle, the fewer pulses; the smaller the step angle, the more pulses.
Introduction to stepper system hardware (taking the PFEID stepper motor as an example)
1. Stepper driver
PFEID Driver Description
There are generally two types of direction control for stepper motors:
A) Pulse + Direction: When a pulse is generated by PUL, the motor will rotate, and the direction is determined by DIR.
B) Forward pulse + reverse pulse: When PUL generates a pulse, it rotates forward; when DIR generates a pulse, it rotates reversely. However, PUL and DIR cannot generate pulses at the same time.
2. Stepper motor
When the AB two-phase windings are swapped, the motor can run in the reverse direction.
Stepper motor parameters
Wiring diagram with PLC
The signal voltage of the stepper motor is 5V, and the voltage used by Siemens PLC is 24V, so to connect to the driver, a 1.2K, 1/4W resistor needs to be connected in series, as shown in the red part of the figure.
Siemens PLC (CPU222) can output two types of high-speed pulses:
1. PTO (duty cycle 50%)
2. PWM (duty cycle can be changed)
The above two high-speed pulse output instructions can be used to control the stepper driver, and then control the stepper motor, and then control the movement and speed of some specific equipment.
Previous article:What is the reason why the machine cannot be stopped even with emergency stop?
Next article:How to quickly implement computer vision tasks through PaddleHub
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- Naming method of TMS320 chip
- I am a newbie, please give me detailed answers
- Analog IC market was crowded with competitors in 2005
- What can a robot do?
- Good information on clock division
- Disassemble and see what's inside the Mercedes-Benz computer board that's been soaked in water!
- Hardware design considerations for HuaDa MCU HC32F003/005 Add library program steps in MDK
- Satellite Temperature Sensing Reference Design
- Good luck to the start of 2022, set a flag and grab a building to get a gift~ Break the magic of "set it up and it will fall down"
- "Deciphering the MCU" legend!