Abstract : This paper studies a servo control system, taking a servo motor as the controlled object, a controller as the core, and a power electronic power conversion device as the actuator. Based on automatic control theory, an automatic control system for electric drives is constructed. Precise speed control of the servo motor is achieved by utilizing the digital and analog output control of a Siemens 300 PLC and the servo controller. This improves the reliability and accuracy of the system control and meets the needs of industrial production.
Keywords : PLC, servo; control system;
Intermediate Classification Number : TP 9 Document Identification Code: B
0 Introduction
From the late 1970s to the early 1980s, with the development of microprocessor technology, high-power, high-performance semiconductor power device technology, and the manufacturing process of permanent magnet materials for motors, as well as their increasingly higher performance-price ratio, AC servo technology—AC servo motors and AC servo control systems—gradually became the dominant products. AC servo drive technology has become one of the fundamental technologies for achieving automation in the industrial field and will gradually replace DC servo systems.
The rapid development of science today has blurred the lines between disciplines, leading to mutual influence and penetration. From a developmental perspective, applying modern control theories such as neural networks, fuzzy control, and sliding mode variable structure control to servo motor speed control technology is of paramount importance and holds broad promise. This can be considered one of the development directions for servo motor speed control technology. Furthermore, other new technologies in the control field, such as fieldbus, adaptive control, and genetic algorithms, will also be introduced into the AC drive field, significantly impacting servo motor speed control technology.
The S7-300, WinCC, is a PLC and configuration tool developed by an internationally renowned automation company, specifically designed to meet the needs of industrial automation applications. Servo systems are used in highly automated industries, characterized by high reliability requirements, numerous and complex monitoring devices and objects, and high real-time performance demands. With the increasing maturity of servo technology and remote control, and the growing demand for information technology, fieldbus-based control systems will provide a better option for power industry automation systems. Currently, the main challenges hindering the industrial application of PLC-based servo control systems include: increased initial investment due to the availability of intelligent devices supporting PLC-based servo control systems; changes in system architecture and how to construct a PLC-based servo control system; communication reliability; and limitations in equipment selection.
1. Composition and Structure of AC Servo Motor
Servo motors enable highly accurate speed and position control, converting voltage signals into torque and speed to drive the controlled object. The rotor speed of a servo motor is controlled by the input signal and can respond quickly. In automatic control systems, they are used as actuators and possess characteristics such as a small electromechanical time constant, high linearity, and low starting voltage. They can convert received electrical signals into angular displacement or angular velocity output on the motor shaft. Servo motors are broadly classified into DC and AC servo motors. Their main characteristic is that they do not rotate when the signal voltage is zero, and their speed decreases uniformly as the torque increases.
The structure of an AC servo motor can be mainly divided into two parts: the stator and the rotor. The structure of the stator is basically the same as that of a rotary transformer. Two-phase windings with a spatial electrical angle of 90° are also placed in the stator core, as shown in Figure 1. L1-L2 are called the excitation windings, and k1-k2 are called the control windings. Therefore, an AC servo motor is a two-phase AC motor.
Figure 1 Two-phase winding distribution diagram
The commonly used rotor structures are squirrel-cage rotors and non-magnetic cup-shaped rotors. The structure of a squirrel-cage AC servo motor is shown in Figure 2. Its rotor consists of a shaft, a rotor core, and rotor windings. The rotor core is made of stacked silicon steel sheets, each stamped into a toothed and slotted shape, as shown in Figure 3. These sheets are then stacked to press the shaft into the shaft hole. A conductor bar is placed in each slot of the core, and all conductor bars are connected at both ends by two short-circuit rings, which constitutes the rotor windings.
Figure 2. Squirrel-cage rotor AC servo motor
Figure 3 Rotor laminations
2 Control System Design
2.1 System Hardware Design
The PLC controller is the main controller of the system. The servo drive can be easily connected to the PLC control network via its built-in communication module. A ladder diagram program is designed using the S7-300 programming software Step7 and downloaded to the PLC controller, enabling remote control of the servo drive based on the S7-300, thereby achieving motor speed regulation. The computer is used for system configuration, monitoring, and programming. A PPI cable handles communication between the PLC controller and the computer. The PLC controller performs sequential and drive control, transmitting controller commands to the servo drive via a dedicated servo drive line, while also receiving servo drive status and providing real-time feedback. The control program transmits the speed setpoint command information to the PLC controller in control word data format, achieving automatic control of the servo drive. Figure 4 shows the block diagram of the servo motor control system.
Figure 4. Block diagram of servo motor control system
2.2 Control Circuit
The PLC serves as the main controller of this system. The PLC is connected to a servo driver via a special cable; the driver is then connected to a servo motor; the servo motor sends a feedback signal to the PLC through the servo driver, and this feedback signal is connected to the PLC's analog input. This facilitates more precise and faster control. The user program controls the PLC's actions, which in turn trigger the servo driver's response, thereby controlling the motor speed. The encoder is connected to a 24V DC power supply. The servo driver is connected to a 220V AC power supply. The industrial control computer is connected to the PLC via a PPI cable, allowing the user to observe the control system's operation through configuration software. This enables remote control of the motor speed regulation system.
2.3 System Composition
The Siemens S7-300 series PLC features a modular design, allowing for extensive combination and expansion of individual modules. Its system composition includes a power supply module (PS), a central processing unit (CPU), a signal module (SM), and function modules (FM). It connects directly to the programmer (PG), operator panel (OP), and other S7 PLCs via a PPI network interface.
● Load power supply module (PS): Used to connect Siemens S7-300 to a 120/230V AC power supply or a 24/48/60/110V DC power supply.
● Central Processing Unit (CPU): Different CPUs have different performance characteristics and are generally selected based on industrial needs.
● Signal Module (SM): Used for digital and analog input/output.
● Functional Module (FM): Used for high-speed calculation, positioning operations (open-loop and closed-loop positioning), and closed-loop control.
3 System Simulation
In WinCC, a dialog box is set for the speed input value, allowing a 4-digit value to be entered. The data attributes in this dialog box are then set to the corresponding integer variable data in the PLC (e.g., AIW0). The purpose is that after entering a value in the dialog box, the motor should reach the corresponding speed. The PLC outputs an analog signal of 0-10V, corresponding to an integer value of 0-32000; while the servo motor's analog input is 0-10V, corresponding to a speed of 0-6500 RPM. Since these values are theoretical, and the ultimate goal is for the input value to correspond to the speed, the analog signal is only used as an intermediate reference. The key considerations are the input value, the integer value, and the actual speed. Direct testing data is shown in Table 1.
Table 1 Direct Measured Values
Input value | Integral values | actual speed |
1500 | 1500 | 210 |
2000 | 2000 | 330 |
3000 | 3000 | 600 |
5000 | 5000 | 1048 |
As shown in Table 1, the input value differs significantly from the actual rotational speed. The only solution is to convert the input value into an integer value that corresponds to the actual rotational speed through calculation. However, it is necessary to first find the values corresponding to the highest and lowest rotational speeds. Experiments revealed the corresponding relationship, as shown in Table 2.
Table 2. Measured Values
Integral values | actual speed |
2521 | 450 |
31769 | 6500 |
The analog output of the PLC and the speed output of the servo motor are both linear. Based on the data in Table 2, a system of linear equations can be listed to calculate the relationship between the input value and the integer value.
5. Conclusion
Siemens PLCs boast advantages such as comprehensive functionality, modular programming, simplicity, and reliability. Furthermore, their configuration screens facilitate easy debugging by on-site operators. Configuration software, as a user-customizable platform tool, leverages its excellent communication capabilities and human-machine interface to develop a user-friendly interface on a PC, enabling real-time monitoring and providing system fault alarms and report printing. The S7-300 servo motor speed control system described in this article fully utilizes these features of Siemens PLCs.