Share this

PLC-based variable frequency drive liquid level design

2026-04-06 02:23:37 · · #1
Abstract : In this system, to achieve full energy utilization and meet production needs, motor speed regulation is required. Considering the characteristics of motor starting, running, speed regulation, and braking, an ABB frequency converter is used. The system uses a PLC to complete data acquisition and control tasks for the frequency converter, motor, and other equipment. Based on the S7 200 PLC programming software, a modular programming method is adopted, with extensive code reuse to reduce software development and maintenance. The PLC software design is used to realize frequency converter parameter setting, fault diagnosis, and motor starting and stopping. Keywords : PLC, frequency converter, variable frequency speed regulation. With the development of power electronics technology and industrial automatic control technology, AC variable frequency speed regulation systems have been widely used in the field of industrial motor drives. In addition, due to the powerful functions, ease of use, and high reliability of PLCs, they are often used for field data acquisition and equipment control. This design utilizes a frequency converter and PLC to control the water level of a water tank. Frequency converter technology is a comprehensive technology, based on control technology, electronic power technology, microelectronics technology, and computer technology. Compared to traditional AC drive systems, using a frequency converter to control the speed of an AC motor offers many advantages, such as energy saving, ease of speed control of existing motors, efficient continuous speed control over a wide range, and precise speed control. It facilitates forward and reverse switching of the motor, allows for high-capacity start-stop operation, electric braking, and high-speed motor drive. It also boasts comprehensive protection functions: the frequency converter has strong protection capabilities, detecting various faults during operation and displaying the fault type (such as instantaneous voltage drop in the power grid, phase loss in the power grid, DC overvoltage, power module overheating, motor short circuit, etc.), and immediately blocking the output voltage. This "self-protection" function not only protects the frequency converter but also protects the motor from damage. PLC characteristics: First, high reliability and strong anti-interference ability, with a mean time between failures (MTBF) of hundreds of thousands of hours. Furthermore, PLCs employ numerous hardware and software anti-interference measures. Second, simple programming and ease of use. Most PLCs currently use ladder diagram programming with relay control, which is easily accepted by operators. Some PLCs are also designed with specific problems, such as step ladder instructions, which further simplifies programming. Third, they are easy to design and install, and require less maintenance. Fourth, they are suitable for harsh industrial environments, and are encapsulated, making them suitable for various applications involving vibration, corrosion, and toxic gases. Fifth, they are easy to connect to external equipment, and use detachable terminal blocks with a unified wiring method to provide different terminal functions suitable for various electrical specifications. Sixth, they are feature-rich, versatile, small in size, low in energy consumption, and have a high performance-price ratio. When designing a PLC system, the following basic principles should be followed to ensure the stability of the system: (1) Meet the control requirements of the controlled object to the greatest extent possible; (2) Keep the system structure as simple as possible; (3) Ensure the system is stable and reliable; (4) Allow the control system to be easily expanded and upgraded; (5) Ensure a user-friendly human-machine interface. In this system, to achieve full energy utilization and meet production needs, motor speed regulation is required. Considering the characteristics of motor starting, running, speed regulation, and braking, an ABB ACS800 frequency converter from ABB is used. The system utilizes an S7-200 series PLC to complete data acquisition and control of the frequency converter, motor, and other equipment. The programming software based on the S7-200 PLC employs a modular programming approach, extensively utilizing code reuse to reduce software development and maintenance. The system leverages the PLC software design to achieve frequency converter parameter setting, fault diagnosis, and motor start-up and shutdown. 1. Control Requirements of this Design : 1) The system requires users to intuitively understand the working status of the field equipment and changes in water level; 2) Users must be able to remotely control the start and stop of the frequency converter; 3) Users can set the water level to control the start and stop of the frequency converter; 4) Fault information of the frequency converter and other equipment should be reflected on the remote PLC in a timely manner; 5) The system should have alarm functions for excessively high and low water levels, and provide user notifications. 2. Control Structure of this Design : Since there is one motor as the controlled object on site, a single PLC can be used to control this single object. As long as a high-performance PLC is appropriately selected, it can fully handle this function. The system control structure is shown in Figure 1. [IMG=System Control Structure]/uploadpic/THESIS/2007/12/2007120310142995987S.jpg[/IMG] The PLC collects information from sensors, monitors the motor, and the frequency converter, among other related objects. In this system, a single frequency converter is used to regulate and control the frequency of the motor. The analog signal output by the PLC is used as the input signal of the control terminal of the frequency converter to control the speed of the motor and to feed back its own working status signal to the PLC. When a fault occurs, it can send an alarm signal to the PLC. Since the variable frequency speed regulation is achieved by changing the stator power supply frequency of the motor to change the synchronous speed, the limited slip power can be maintained from high speed to low speed during the speed regulation process, so it has high efficiency, wide range and high precision speed regulation performance. 3 Equipment selection (1) Selection of PLC and its expansion module: At present, there are a wide variety of large, medium and small PLCs, from small ones as replacements for a small number of relay devices to large ones as the host computer in a distributed system, which can almost meet the needs of various industrial control. In addition, new PLC products are constantly emerging. So, how to choose a suitable PLC? This system has one motor, one liquid level sensor, one frequency converter and five relays, with a total of eighteen I/O points, which constitute the controlled object. After comprehensively analyzing the characteristics of various PLCs, the Siemens S7 series PLC was finally selected. The CPU226 integrates 24 inputs and 16 outputs, totaling 40 digital I/O points, which fully meets control requirements. This PLC can connect to 7 expansion modules, expanding to a maximum of 248 digital I/O points or 35 analog I/O points. It has 26KB of program and data storage space, 6 independent 30kHz high-speed counters, 2 independent 20kHz high-speed pulse outputs, and a PID controller. It has 2 RS485 communication/programming ports with PPI, MPI, and free-mode communication capabilities. The I/O terminal blocks can be easily disassembled. Designed for demanding control systems, it offers more input/output points, stronger module expansion capabilities, faster operating speed, and more powerful internal integrated special functions. Based on the above analysis and referring to the Siemens S7-200 product catalog, a CPU226 PLC as the main unit and an EM235 analog expansion module are selected. (2) Selection of frequency converter module: At present, there are various frequency converters on the market. This design adopts ABB's ABB ACS800 frequency converter. The biggest advantage of the ACS800 series drive products is that they use the same control technology in the whole power range, such as start-up wizard, custom programming, DTC control, general spare parts, general interface technology, and general software tools for selection, debugging and maintenance. It includes a start-up guide program, making debugging easy; custom programming: built-in programmable module, just like PLC, allowing you to play freely; small size: built-in filter, chopper and reactor, excellent performance. 4 System control flow : (1) Preparatory work before program design: understand the system overview, form an overall concept, be familiar with the controlled object, compile a high-quality program, and make full use of the hardware and software tools at hand. (2) Program block diagram design: The main work in this step is to determine the basic structure of the application program according to the overall requirements of the software design specification and the specific requirements of the control system, draw the program structure block diagram according to the program design standard, and then draw the detailed functional block diagram of each functional unit according to the process requirements. (3) Program writing: Program writing is to write the control program line by line according to the designed block diagram. This is the core part of the entire program design work. (4) Program testing and debugging: Program testing and debugging are different. The purpose of software testing is to find as many errors in the software as possible. The task of software debugging is to further diagnose and correct the errors in the software. (5) Writing program manual: The program manual is a comprehensive description of the program and a summary of the entire program design work. The following is the system design flowchart: [IMG=PLC water level control flowchart]/uploadpic/THESIS/2007/12/2007120310162251718T.jpg[/IMG] Figure 2 PLC water level control flowchart 5 Program structure : This program is divided into three parts: main program, various subroutines, and interrupt program. Logic operations and alarm handling are placed in the main program. Some system initialization work and liquid level display are completed in the subroutines to save time. The timer interrupt function is used to realize the timed sampling and output control of PID control. In this system, only proportional-integral (PI) control is used, and the gain and time constant are determined as follows: gain Kc = 0.25; sampling time Ts = 0.1s; integral time Ti = 30s; derivative time Td = 0s. 6. PLC Programming Software The software used in this design is STEP7-Micro/WIN. This software mainly assists users in developing application programs. Besides having functions related to program creation, it also has some document management tools and allows direct setting of PLC operating modes, parameters, and operation monitoring. The software can work in both online and offline modes. Online mode means directly connecting to the PLC, allowing communication between the two, such as uploading or downloading user programs and configuration data. Offline mode means not directly connecting to the PLC; all programs and parameters are temporarily stored on disk and downloaded to the PLC after connecting online.
Read next

CATDOLL Momoko Soft Silicone Head

You can choose the skin tone, eye color, and wig, or upgrade to implanted hair. Soft silicone heads come with a functio...

Articles 2026-02-22
CATDOLL Yuan Soft Silicone Head

CATDOLL Yuan Soft Silicone Head

Articles
2026-02-22
CATDOLL 123CM Milana TPE

CATDOLL 123CM Milana TPE

Articles
2026-02-22