"How to realize a fully closed-loop system consisting of PLC + servo controller + servo motor (supporting equipment) + encoder (external equipment end)? My method is to have PLC give unlimited pulses to the servo. When the required process position is reached (the external encoder is connected to the PLC), the PLC stops the pulse output. However, the actual stop position is not accurate enough. This is probably because the stop signal after reaching the position will cause errors due to the deceleration and parking of the servo!!"
1. In the discussion of the original poster, it is believed that the "full closed-loop system composed of PLC + servo controller + servo motor (supporting equipment) + encoder (external equipment end)" is a system in which the operation of the motor is controlled by the pulses sent by the PLC. The motor starts to rotate when the PLC sends pulses. The faster the PLC sends pulses, the faster the motor rotates, etc.;
2. The original poster’s understanding is wrong. It is not only the original poster’s fault, but many “experts” also think so.
3. "Fully closed-loop system consisting of PLC + servo controller + servo motor (supporting equipment) + encoder (external equipment end)", the motor operation mode is:
Start → accelerate → keep constant speed → decelerate → stop;
4. The motor's "start, accelerate, keep constant speed, decelerate, stop" instructions are issued by comparing the number of command pulses with the number of encoder feedback pulses:
1) The number of command pulses > the number of encoder feedback pulses, and the motor starts;
2) Command pulse number = encoder feedback pulse number, the motor stops;
3) The number of command pulses >> the number of encoder feedback pulses, and the motor accelerates to the upper speed limit and moves at a constant speed;
4) The number of command pulses ≥ the number of encoder feedback pulses, and the motor decelerates to stop;
5. PLC does not send pulses. The number of command pulses is just a number calculated by the user based on the displacement and pulse equivalent, and the command pulse number is entered into the command pulse counter (or comparison counter);
6. The encoder feedback pulse reaches the encoder feedback pulse counter (or reaches the down count end of the comparison counter);
7. The command pulse counter and encoder feedback pulse counter are two counters of PLC. The numbers of the two counters are compared, and the motor's "start, accelerate, constant speed, decelerate, stop" instructions are generated according to the comparison results. These instructions are the instructions for the inverter (driver) to drive the motor to work;
8. Therefore, during the servo motion process, the PLC does not send pulses. The PLC counter and comparator only generate "start, accelerate, constant speed, decelerate, stop" instructions;
9. Therefore, during the servo motion process, the motor's motion "start, acceleration, constant speed, deceleration, and parking" is controlled by the inverter output;
10. The original poster said that after the PLC stops sending pulses, the motor decelerates and stops, so it cannot stop accurately. This is an illusion. In fact:
1) When the command pulse number ≥ encoder feedback pulse number, the motor decelerates to stop;
2) When stopping, the number of command pulses = the number of encoder feedback pulses;
11. Due to the "servo" control mode, the single pulse stepping control of the servo motor cannot be performed. If you don't believe it, input a command pulse and see how the motor will move? ? ? Will it move the displacement of a command pulse? ? ?
12. Of course, when the command pulse number = encoder feedback pulse number, the motor and its workpiece will not stop immediately due to inertia, so it cannot stop accurately;
13. Since the vehicle will not stop immediately due to inertia, the solution is:
1) Slow down before parking;
2) When parking, braking measures can be used;
14. This method of using an encoder to detect the angular displacement of the motor to control the position of the workpiece is defective because the relationship between the position of the workpiece and the angular displacement of the motor is often uncertain, such as the error caused by the gap in the mechanical transmission;
15. From this perspective, encoder control is not as accurate as position switch command control!
Previous article:Use sensorless vector control with BLDC and PMS motors to provide precise motion control
Next article:Summary and Prospects of Industrial Internet Technology Development
- 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!
- 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
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Do you know these advanced uses of embedded C?
- Which DDS chip can produce 1M sawtooth wave?
- C28x chip CCS7.2 accurately calculates the code running time setting
- CircuitPython Day
- Is there any problem with this anti-reverse circuit?
- Today at 10:00am, R&S will host a prize-winning live broadcast [HDMI 1.4b/2.1 interface test] (entry starts at 9:50am)
- STM32H743 development board transplants micropython and expands 32M SQPI flash and 32M SDRAM
- How big is our misunderstanding of green oil? Let’s analyze it with real cases!
- Application and design overview of power line communication analog front end AFE031
- DLP Dynamic Floor Projection Technology for Automotive Exterior Lighting