introduction
At present, with the rapid development of science and technology in my country, the clarion call of the poverty alleviation war has been sounded, and various small and medium-sized enterprises have sprung up like mushrooms covering the land, driving people out of poverty and becoming rich, but the amount of various industrial wastewater is also skyrocketing. According to relevant data, the investment in the construction of industrial sewage treatment projects in my country has exceeded hundreds of billions of yuan, of which about 30 billion yuan has been invested in industrial sewage treatment equipment. However, due to the backwardness of the sewage treatment automatic control system, if a reasonable plan is not quickly formulated and the high cost of sewage treatment is not solved as soon as possible, it will inevitably hinder the economic development of various regions. So how can we quickly and efficiently treat sewage, reduce environmental pollution, and truly turn waste into treasure?
In today's environment of rapid development of automation, informationization and intelligence, PLC technology is rushing to the forefront of science and technology with overwhelming force. Based on this background, all major secondary and technical colleges and universities have opened courses related to PLC programming and application of mechanical and electrical majors, especially the introduction of sequential function control instructions, which makes complex problems simple and intuitive. Therefore, using PLC sequential control function instructions to design sewage treatment systems is undoubtedly the most environmentally friendly, scientific and efficient choice. Based on this, this paper combines the teaching of PLC programming and application courses to guide students to design a sewage treatment system based on PLC control.
1 System composition design
1.1 System control requirements and overall structure
Figure 1 is a simulated sewage treatment mixing device. The operator turns on the power switch, the sewage inlet valve is energized, the relevant indicator lights up, and the sewage flows into the sewage treatment tank: when the sewage in the tank reaches the liquid level sensor SL1, SL1 is connected, the sewage inlet valve is closed and the sewage inlet indicator light goes out: the No. 1 decontaminant inlet valve is opened and the No. 1 decontaminant indicator light turns on, 30S later, the No. 1 decontaminant inlet valve is closed, the turbidity sensor SL3 is connected, and the sewage pollution situation is judged. If it is heavy sewage, the light and heavy sewage switch is turned on, the No. 2 decontaminant inlet valve is energized and opened, and the No. 2 decontaminant flows into the sewage treatment tank, and the No. 2 decontaminant indicator light turns on, and the No. 2 decontaminant inlet valve is closed after 20S. The stirring motor starts to work and the stirring motor indicator light is on. After 3 minutes, the stirring motor stops and the light goes out. The clean water discharge valve opens to release the decontaminated water. The clean water discharge indicator light is on. When the water is discharged to the liquid level sensor SL2, SL2 is connected, the clean water discharge system is closed and the clean water discharge indicator light is off, the sewage discharge system is opened and the sewage discharge indicator light is on, the sewage discharge system is closed after a delay of 2 minutes, and enters the next cycle.
1.2PLC selection and I/O address allocation
According to the design requirements, control requirements and school laboratory conditions, this paper selects Mitsubishi Fx2N-48MRPLC, which has 24 inputs and 24 (relay) outputs, but this example actually only needs 6 inputs and 17 outputs, and there is a margin for both inputs and outputs, which fully meets the requirements. The I/O address allocation of the sewage treatment system control device is shown in Table 1.
Figure 1 Simulated sewage treatment mixing device
2 Programming
The sewage treatment in the decontamination tank can be divided into 7 control processes according to the task requirements. There is a strict timing relationship between these control processes. Based on this, the state transition diagram SFC language can be used to describe the state programming of the sequential structure, and the SFC program can be converted into a step ladder program. Figure 2 is a step control state flow chart of the sewage treatment device. Based on this state flow chart, the SFC program ladder diagram is written, as shown in Figure 3.
2.1 Instructions for programming using SFC
S0 in the program is the initial state, and S20~S25 are the intermediate states of SFC. In this program, if you want to add or delete certain functions, you only need to add or delete a function block, and the relevant state relays will be automatically assigned.
The short horizontal line in the cross graphic indicates the transfer condition, and each condition must be marked. The long vertical line indicates the transfer direction, which is automatically generated by the system. If you want to jump to the transfer arrow, you need to edit it.
2.2 Some functional instructions
M8002: The PLC starts a scan cycle the moment it is powered on, activating the initial state of the program.
ZRST: Reset combination instruction, all the programs under control are cleared when the trigger signal comes.
3 Conclusion
After programming with Mitsubishi GXdeveloperv8.86 software, this paper simulated the operation with the help of GXSimluaor6cn simulation software and found that the expected functions can be fully realized. The hardware configuration design of Mitsubishi FX2N-48 programmable controller in this design is completely feasible in production, and because PLC has the advantages of high reliability, strong flexibility, low requirements for the working environment and good anti-interference performance, it can completely rescue operators from harsh on-site environments. In addition, in practical applications, if PLC is used to control sewage treatment equipment, not only is the capital investment less and the control accuracy high, but it is also easy to modify the programmable controller program at any time to change the working time and working status of the sewage treatment equipment to meet the needs of different levels of sewage treatment, which has a high promotion value.
Previous article:Research on Modbus multi-site polling in PLC Free Day
Next article:PTO instruction and its application in stepper motor control system
- Popular Resources
- Popular amplifiers
- \"PLC Comprehensive Development Tool-CoDeSys Basic Programming and Application Guide\"
- Design of automatic control system in aerated biological filter wastewater treatment process
- PLC control system of hydraulic opening and closing of water gate based on VC++
- Training simulator based on ControX2000, PLC and I/O expansion
- 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
- Serial LCD1602 using STM32-CUBE has pitfalls
- Classic experimental case of power amplifier (1) piezoelectric ceramic drive!
- Home heating effect tester
- Application of siwave in single board PI design
- Are the amplitudes of common-mode interference signals different? The results found online are different.
- What can China Space Day bring us?
- Data of intelligent pressure transmitter based on ADI's ADuC7061
- [Hua Diao Experience] 09 Series of tests on the hardware control pinpong library of Xingkong board (Part 2)
- September 29th Live Review: ON Semiconductor's Advanced Image Sensor Solutions for the Internet of Things (including video, speech...
- When it comes to setting up a development environment, do manufacturers need to put in more effort? Or do developers need more knowledge?