Final product: - Completely simulating reality fountain system - System report book Trang 4 THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness --- Ho Chi Minh City, De
MINISTRY OF EDUCATION AND TRAINING HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY FOR HIGH QUALITY TRAINING GRADUATION PROJECT ELECTRONICS AND ELECTRONIC ENGINEERING TECHNOLOGY DESIGN AND CONSTRUCTION OF FOUNTAIN SYSTEM ADVISOR : M.E NGUYEN TAN DOI STUDENTS: VO ANH KHOA LE HOANG HOP SKL010576 Ho Chi Minh City, December 2022 HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY FOR HIGH QUALITY TRAINING GRADUATION PROJECT DESIGN AND CONSTRUCTION OF FOUNTAIN SYSTEM Advisor: M.E NGUYEN TAN DOI Student name: VO ANH KHOA ID: 18142032 Student name: LE HOANG HOP ID: 18142024 Major: ELECTRICAL AND ELECTRONIC ENGINEERING TECHNOLOGY Ho Chi Minh City, December 2022 THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -Ho Chi Minh City, December 28, 2022 GRADUATION PROJECT ASSIGNMENT Student name: VO ANH KHOA Student ID: 18142032 Class: 18142CLA3 Phone number: 0938513252 Major: ELECTRICAL AND ELECTRONIC ENGINEERING TECHNOLOGY Student name: LE HOANG HOP Student ID: 18142024 Class: 18142CLA2 Phone number: 0965684440 Major: ELECTRICAL AND ELECTRONIC ENGINEERING TECHNOLOGY Advisor: M.E NGUYEN TAN DOI Phone number: 0983222159 Date of assignment: 26/09/2022 Date of submission: 28/12/2022 Project title: DESIGN AND CONSTRUCTION OF FOUNTAIN SYSTEM Initial materials provided by the advisor - Survey the reality fountain Learn the principle and setting variable frequency drive Learn Modbus communication Content of the project: - Design fountain model Construction system Programing PLC for controlling system Communication between PLC and VFD Design HMI interface Final product: - Completely simulating reality fountain system System report book CHAIR OF THE PROGRAM ADVISOR (Sign with full name) (Sign with full name) THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -Ho Chi Minh City, December 28, 2022 ADVISOR’S EVALUATION SHEET Student name: VO ANH KHOA Student ID: 18142032 Student name: LE HOANG HOP Student ID: 18142032 Major: ELECTRICAL AND ELECTRONIC ENGINEERING TECHNOLOGY Project title: DESIGN AND CONSTRUCTION OF FOUNTAIN SYSTEM Advisor: M.E NGUYEN TAN DOI EVALUATION Content of the project: Strengths: Weaknesses: Approval for oral defense? (Approved or denied) Overall evaluation: (Excellent, Good, Fair, Poor) Ho Chi Minh City, December 28, 2022 ADVISOR (Sign with full name) THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -Ho Chi Minh City, December 28, 2022 PRE-DEFENSE EVALUATION SHEET Student name: VO ANH KHOA Student ID: 18142032 Student name: LE HOANG HOP Student ID: 18142032 Major: ELECTRICAL AND ELECTRONIC ENGINEERING TECHNOLOGY Project title: DESIGN AND CONSTRUCTION OF FOUNTAIN SYSTEM Name of Reviewer: EVALUATION Content and workload of the project Strengths: Weaknesses: Approval for oral defense? (Approved or denied) Reviewer’ questions for project valuation Mark: …………… (in words: ) Ho Chi Minh City, December 28, 2022 REVIEWER (Sign with full name) ACKNOWLEDGEMENT When completing this graduation project, the group is also nearing the end of their study time at Ho Chi Minh City University of Technology and Education The time spent studying and researching at the University has helped the group understand and love this place more The school and teachers not only impart to the group professional knowledge but also educate us about ideals and ethics in life These are indispensable luggage for the life and career of the group later The group would like to express its deep gratitude to all the teachers who have enthusiastically guided and led the group to this day so that they can firmly walk on the path of study and work in the future The graduation project marked the completion of the group's years of hard work And this project also marks the maturity on the learning path of the group Through this, the team would like to thank family and friends who have always encouraged and created all conditions for the group to complete the course Finally, the group would like to express its deepest gratitude to Mr Nguyen Tan Doi with his enthusiasm for helping, creating favorable conditions and his correct and timely orientation, which helped the group a lot in the process of implementing the project From the bottom of our heart Thank you so much! ABSTRACT With the more condominium expansion, the more entertainments requirement for residents Not only cuisine serving, shopping but also the entertainment art must upgrade Besides that, large square and walking street are planning, so the demand of amusing plays an important role in residents’ life That is a big chance for automation companies, especially related art ones Therefore, the water music fountain was designed for needed which have noticed above Not just bringing unique, interested in spectators It is also considered that this is a big change in entertainment industrial But it too economic consuming to design or install a water music fountain in the place have small space Because of knowing this issue, our group choose "Applying variable frequency drive for fountain system" topic to support and resolve problem for person is living in the house place have not large area and medium incoming However, if our group want this problem is resolved in best optimally, we must solve each question such as what is water music fountain? how optimizing construction space? which control equipment suitable for system? To answer those question, our group had designed small simulation model of the fountain operation Firstly, our group have to determine the space area to construct a system and then design system in emulator software Secondly, select the wanted effect and purchase accordant electric equipment Finally, writing control program for system During experiment process, our group must test the accuracy working of variable frequency drive, data transfer speed of Modbus protocol Moreover, the electric board construction must as careful as possible because of the system have diversity about power supply, dynamic circuit, and control circuit ADDENDUM ACKNOWLEDGEMENT ABSTRACT CHAPTER I INTRODUCTION 1.1 The reason for choosing topic 1.2 Objectives and research methods 1.3 Limits of the topic CHAPTER II THEORETICAL BASIS 2.1 Overview of the fountain system 2.2 Variable frequency drive 2.3 Programable logic controller 2.4 Modbus communication 12 2.5 Three-phase pump 15 2.6 Solenoid valve 16 2.7 Fountain nozzle 21 2.8 TIA Portal software 24 2.9 Modbus Poll 27 CHAPTER III SYSTEM CALCULATE AND DESIGN 31 3.1 Mechanical design 31 3.2 Electrical design 34 3.3 Flowchart design 40 CHAPTER IV SYSTEM CONSTRUCTION 42 4.1 Mechanical construction 42 4.2 Electrical construction 43 4.3 VFD setting and communication 45 4.4 PLC programming 52 4.5 Human Machine Interface 56 CHAPTER V EXPERIMENTAL RESULT 59 5.1 Mechanical result 59 5.2 Electrical result 59 5.3 Control and monitor result 60 CHAPTER VI CONCLUSION AND RECOMMENDATIONS 63 6.1 Conclusion 63 6.2 Development 63 REFERENCES 64 Picture’s addendum Figure 2.2.1 Variable Frequency Drive’s structure [9] Figure 2.2.2 Voltage Source Inverter type [9] Figure 2.2.3 Current Source Inverter type [9] Figure 2.2.4 Pulse Width Modulation type [9] Figure 2.3.1 Programmable Logic Controller’s structure [10] Figure 2.4.1 Half Duplex system [11] Figure 2.4.2 Full Duplex system [11] Figure 2.6.1 Solenoid valve’s structure [12] Figure 2.6.2 Solenoid valve reality [12] Figure 2.6.3 De-energized mode [12] Figure 2.6.4 Energized mode [12] Figure 2.6.5 De-energized of direct acting type [12] Figure 2.6.6 Energized of direct acting type [12] Figure 2.6.7 De-energized of indirect acting type [12] Figure 2.6.8 Energized of indirect acting type [12] Figure 2.6.9 De-energized of semidirect acting type [12] Figure 2.6.10 Energized of semidirect acting type [12] Figure 2.6.11 AC voltage solenoid [12] Figure 2.6.12 DC voltage solenoid [12] Figure 2.6.13 Water flow direction [12] Figure 2.6.14 Installation regulation [12] Figure 2.7.1 Single fountain nozzle Figure 2.7.2 Effect single fountain nozzle Figure 2.7.3 Multi-fountain nozzle Figure 2.7.4 Effect multi-fountain nozzle Figure 2.7.5 Geyser jet nozzle Figure 2.7.6 Effect geyser jet nozzle Figure 2.7.7 Umbrella nozzle Figure 2.7.8 Effect umbrella nozzle Figure 2.8.1 Software interface Figure 2.8.2 Software interface Figure 2.8.3 WinCC interface Figure 2.8.4 Simatic start driver interface Figure 2.8.5 Sirius and Simocode interface Figure 2.8.6 Scout TIA interface Figure 2.9.1 Setup interface Figure 2.9.2 Control interface Figure 2.9.3 Connection interface Figure 2.9.4 Connection interface Figure 2.9.5 Modbus function interface Figure 2.9.6 Setup function interface Figure 2.9.7 Log data to a text file Figure 2.9.8 Log data direct into excel Figure 2.9.9 Display format interface Figure 2.9.10 Setup format interface Figure 3.1.1 Radius of two curves Figure 3.1.2 Distance between two nozzles Figure 3.1.3 Nozzle sample Figure 3.1.4 Nozzle parameters Figure 3.1.5 Nozzle position Figure 3.1.6 Frame parameters Figure 3.1.7 Iron V Figure 3.1.8 Mica material Figure 3.1.9 Wheels Figure 3.1.10 Water pipelines drawing Figure 3.1.11 Sewer pipelines drawing Figure 3.2.1 Control system block diagram Figure 3.2.2 Schneider MCB Figure 3.2.3 pole CB Figure 3.2.4 AC/DC adapter Figure 3.2.5 S7 1214c DC/DC/DC Figure 3.2.6 Pin diagram [1] Figure 3.2.7 Pin configuration of S7 1200 [1] Y06: Parity check Here we set as (None (1 stop bit for Modbus RTU)) [2][7] Figure 4.3.28 Figure 4.3.29 Y07: Stop bits Here we set as (1 bits) [2][7] Figure 4.3.30 Figure 4.3.31 Y10: Protocol selection Here we set as (Modbus RTU protocol) [2][7] Figure 4.3.32 Figure 4.3.33 51 | P a g e Y99: Loader Link Function Here we set as (Follow H30 data) [2][7] Figure 4.3.34 Figure 4.3.35 4.4 PLC programming First, we have to identify the devices on the software There are devices here, PLC S7 1214c DC/DC/DC and communication module CM 1241 (RS422/RS485) Figure 4.4.1 4.4.1 Program for communication Figure 4.4.2 52 | P a g e Set parameters for CM 1241 RS422/RS485 module similar to parameters Y04, Y05, Y06, Y07 of the VFDs Create a subroutine to write data to the VFDs including communication function and command execution function: Communication function Figure 4.4.3 Figure 4.4.4 Where [1]: REQ: Execution of the instruction upon a rising edge PORT: ID of the communications port BAUD: Baud rate selection PARITY: Parity selection MB_DB: A reference to the instance data block of the "MB_MASTER" or "MB_SLAVE" instructions DONE: Execution of instruction completed without error ERROR: Error: – No error detected, – Indicates that an error was detected STATUS: Port configuration error code Command execution function 53 | P a g e Figure 4.4.5 Where [1]: REQ: Request input – No request,1 – Request to transmit data to Modbus slave(s) MB_ADDR: Modbus RTU station address MODE: Mode selection specifies the type of request: Read, write, or diagnostics DATA_ADDR: Starting address in the slave DATA_LEN: Data length DATA_PTR: Points to the DB or bit memory address of the CPU for the data to be written or read DONE: 0: Transaction not completed, 1: Transaction completed without error BUSY: 0: No "MB_MASTER" transaction in progress, 1: "MB_MASTER" transaction in progress ERROR: 0: No error, 1: Error, the error code is indicated by the STATUS parameter STATUS: Execution condition code Each register address will be encoded for a different number as a decimal and we can calculate that number This is the layout table of the register areas corresponding to the Hex address of the Fuji Frenic Mini 54 | P a g e Figure 4.4.6 The registers receive control commands from the PLC Figure 4.4.7 Now we calculate the register address of frequency and operation command [7]: - Frequency Reference (code S05) = S (07hex) + 05 = 705 (hex) = 1797 (dec) PLC Frequency Set Address = 40001 + 1797 = 41798 (dec) - Operation Command (code S06) ca= S (07hex) + 06 = 706 (hex) = 1798 (dec) PLC Motor Control Address = 40001 + 1798 = 41799 (dec) Set 41799 = >>> Run Forward Set 41799 = >>> Stop 55 | P a g e We have to add 40001 because PLC's Modbus address starts at 40001 [1] We enter the parameters in the above block Figure 4.4.8 Figure 4.4.9 4.4.2 Program for controlling system Based on the drawn programming flowchart, the program is generated with three FC blocks, each FC block will contain a program to run the effect for the fountain, these programs are programmed in a time cycle Each time the solenoid valves will open and close, the VFDs will run at different frequencies, acceleration, and deceleration Figure 4.4.10 4.5 Human Machine Interface The controlling and monitoring interface will be implemented through the HMI simulation screen integrated in the TIA Portal software Include: 56 | P a g e - Login screen: This screen combines the information such as name topic and a button for login control screen Figure 4.5.1 - Buttons control each mode: tagging the data variable into button to active mode Figure 4.5.3 - Figure 4.5.2 Figure 4.5.4 Equipment working status display: Figure 4.5.5 Figure 4.5.6 In control and monitor screen, there are buttons for each mode of fountain and symbols of valves and pumps for operator can supervisor the system easily 57 | P a g e Figure 4.5.7 Figure 4.5.8 58 | P a g e CHAPTER V EXPERIMENTAL RESULT 5.1 Mechanical result Compared with the topic requirements and hardware design requirements, the model has achieved the initial criteria With the radius of the two halves curves of 400mm and 250mm, respectively, the size of the frame rack is made of iron with dimensions of 1200x1000x1000mm and the tank is constructed of mica material with a thickness of 5mm and a volume of 0.36m3 The amount of water is pumped up and returned to the tank cyclically The water pipe has a good thickness and is glued tightly to ensure that it can withstand the water pressure in the pipeline when the system is operating for a long time Figure 5.1.1 Figure 5.1.2 Figure 5.1.3 Figure 5.1.4 Personal opinion: The supporting structure and water pipes have met the pressure and volume of water pumped up from the storage tank However, the water pipe still vibrates strongly when the valve is closed suddenly because of the lack of water hammer tool 5.2 Electrical result The control panel is mounted on the side of the frame rack to facilitate the control and monitoring of the device, the electrical connections wires are constructed in plastic braces to increase the aesthetics of the control panel Besides, each different voltage 59 | P a g e level will have different colored wires to limit the confusion of voltage levels between the control circuit and the dynamic circuit to avoid damage to the device Figure 5.2.1 Figure 5.2.2 Personal opinion: The solenoid valves work properly according to the written programs, the intermediate relays work well, the power supply is stable for the whole system However, there are still some problems because the solenoid valve is still open, causing the water column to be uneven 5.3 Control and monitor result The result obtained when designing software is an operating system with limited abrupt changes between modes to ensure that pipes and valves are not subjected to large impacts from water The status lights show the correct mode is being performed, making it easy for the operator to observe and adjust In addition, the system responds to different rhythms in certain songs with great accuracy Figure 5.3.1 Figure 5.3.2 60 | P a g e Figure 5.3.3 Figure 5.3.4 Figure 5.3.5 Figure 5.3.6 Personal opinion: The lights indicate the operation status of the push button and the intermediate relays are working fine, the system runs according to the written program when pressing the mode 1-2-3 and stop buttons The signal transmission is stable without interruption, the inverter changes frequency smoothly However, the pump has not yet responded to the sudden change in frequency, so the effects are still not perfect The users can also operate on the HMI screen Besides, the operator can observe the working status of the device, the operating modes Figure 5.3.7 Figure 5.3.8 61 | P a g e Figure 5.3.9 Figure 5.3.10 Personal opinion: The HMI interface has a neat and simple design that makes it easy for users to control the programmed effects, monitor whether the devices are working or not However, there are still limitations on the monitoring parameters such as voltage, frequency 62 | P a g e CHAPTER VI CONCLUSION AND RECOMMENDATIONS 6.1 Conclusion In conclusion, after the process of implementing the model, our team has achieved the initial proposed criteria: - The supporting frame withstands all the force from the water supply and drainage system and the electrical equipment installed on the electrical panel - The system runs effects with continuously changing water columns - The signal transmission speed between PLC and VFDs achieves accuracy and continuity - Highly entertaining - Easy for users to access and operate However, there are still drawbacks: - Small substances can get stuck in the solenoid valve during operation, making this device unstable - The water column is sometimes uneven due to the influence of the air in the pipelines when opening and closing the valve 6.2 Development - Can develop the system by replacing the solenoid valve technology with linear valve in order to limit the number of inverters and pumps - Installing some more nozzles to create more different effects to increase the aesthetics of the system - Using remote monitoring and control software such as Web Server to be able to manage the operation of the system without approaching the system 63 | P a g e REFERENCES [1] SIMATIC S7 1200 Programmable Controller System Manual, 2012 [2] FUJI FRENIC-Mini User's Manual [3] FUJI FRENIC RS485 Manual [4] Profibus Connector Manual [5] Modbus Protocol Manual [6] support.industry.siemens.com/ [7] www.lciproductions.com/services/fountain-systems/ [8] plc247.com/siemens-s7-1200-modbus-rtu-fuji-frenic-vfd-tutorial/ [9] www.electricaltechnology.org/2021/11/vfd-variable-frequency-drive.html [10] steemit.com/technology/@smokhantas/explanation-about-plc [11] www.seeedstudio.com/blog/2021/03/18/how-rs485-works-and-how-toimplement-rs485-into-industrial-control-systems/ [12] tameson.com/solenoid-valve-types.html _THE END 64 | P a g e S K L 0