Summary of the invention
Technical problem to be solved in the utility model is to improve waste water control unit operation efficient, reduces the operation rate, improves effluent quality, and by overcoming the Long-distance Control that the communication distance restriction realizes real meaning.After control module and computing machine (server) networking, can implement the centralized dispatching management to each website in administrative center; This control module also can break away from the network unit operation according to the parameter that programming the time sets.
Sewage disposal PLC process automatic control system of the present utility model is made up of a plurality of measuring control points of server, on line type UPS, RS232/RS485 converter, a plurality of PLC control module and the control of each PLC control module.Wherein server is made up of IPC (industrial computer), is used to the state that moves TT﹠C software, downloading control parameter, storing history data and alert data, show each measuring control point, supervises sorrowful each PLC control module ruuning situation; Server also can be used as the programmable device of PLC control module simultaneously; On line type UPS is used to the system failure that prevents that power supply flickering, outage from causing for IPC provides stable electric power supply; The RS232/RS485 converter can be the RS485 level with the RS232 level conversion of standard, is used to prolong the communication distance of server to the PLC control module; The PLC control module is used for the sensor at wastewater treatment scene, execution unit are implemented observing and controlling, mainly comprises parts such as power supply, cpu logic control, the input of simulation/switching value, power drive.On line type UPS is connected with server, server is connected with the RS232/RS485 converter simultaneously, described system comprises that also one 1 commentaries on classics XRS485 hubs can prolong communication distance once more, also realize the multi-computer communication of server and PLC control module with star-star structure, also can eliminate because the common mode interference that the earth potential difference is brought, this hub one end is connected with the RS232/RS485 converter, and the other end is connected with a plurality of PLC control modules, and simultaneously a plurality of PLC control modules connect a plurality of measuring control points of control.When described system only connected a PLC control module, the PLC control module can be directly connected to the RS232/RS485 converter.
In addition, sewage disposal PLC process automatic control system of the present utility model, by server, on line type UPS, the TCP/IP-RS485 protocol converter, a plurality of measuring control points of a plurality of PLC control modules and the control of each PLC control module are formed, this system also comprises two switches, on line type UPS is connected with server, server and wherein a switch simultaneously, this switch other end connects the LAN LAN (Local Area Network), the LAN LAN (Local Area Network) connects the TCP/IP-RS485 protocol converter, the TCP/IP-RS485 protocol converter connects another switch simultaneously, this switch other end connects a plurality of PLC control modules, thereby no longer be confined to the communication distance restriction of RS485, simultaneously a plurality of PLC control modules connect a plurality of measuring control points of control, and measuring control point is the sensor and the execution unit at wastewater treatment scene.Server of the present utility model is connected with a printer simultaneously, and printer can be used for the hard copy of various literary composition retainings as system's basic configuration.
Sewage disposal PLC process automatic control system of the present utility model has network savvy, can measure input analog amount parameters such as the voltage of the various sensors that adopt in the sewage disposal process, electric currents; Measurement data is sent to server in real time to be shown and prints; Can detect various input switch amounts in the sewage disposal process; Data in real time is sent to server to be shown and prints; Can be used to drive on-the-spot electric current (voltage) load by outputting standard electric current (voltage) signal; Have the relay output interface, can drive on-the-spot alternating current-direct current load; Have the program download function, can be according to different TT﹠C requirements to PLC process automatic control unit field programming, thereby advance on possessing skills and very strong practicality, technique effect that may bring and remarkable in economical benefits have vast market prospect.
Description of drawings
Fig. 1 represents PLC control module 485 network diagram;
Fig. 2 represents PLC control module LAN-485 network diagram;
Fig. 3 represents PLC process automatic control unit hardware composition diagram;
Fig. 4 represents that PLC process automatic control unit is used for the waste water control automatic monitoring system figure of middle and small scale sewage biochemical treatment factory;
Fig. 5 represents main frame and a PLC process automatic control unit connection layout;
Fig. 6 represents main frame and Duo Tai PLC process automatic control unit connection layout;
Fig. 7 represents PLC process automatic control unit simulating signal distribution diagram;
Fig. 8 represents PLC process automatic control unit digital signal distribution diagram;
Fig. 9 represents to start corresponding project automatic setting Parameter Map;
Figure 10 is illustrated in keyboard input parameter figure in the integrated debugging environment.
Mark among the figure:
1: server; The 2:RS232/RS485 converter; 3:1 changes X RS485 hub; 4:PLC control module 1; 5:PLC control module 2; N:PLC control module N; 6:U.P.S.; 7: printer; 8: switch; The 9:LAN LAN (Local Area Network); The 10:TCP/TP-RS485 converter.
Specific embodiment
With reference to the accompanying drawings, the sewage disposal PLC process automatic control system that in conjunction with the embodiments the utility model is provided is described in detail.
As shown in Figure 1, sewage disposal PLC process automatic control system is made up of a plurality of measuring control points of server 1, on line type UPS 6, RS232/RS485 converter 2, a plurality of PLC control module and the control of each PLC control module.Wherein server 1 is made up of IPC (industrial computer), is used to the state that moves TT﹠C software, downloading control parameter, storing history data and alert data, show each measuring control point, supervises sorrowful each PLC control module ruuning situation; Server also can be used as the programmable device of PLC control module simultaneously.On line type UPS 6 provides stable electric power supply for IPC, be used to prevent power supply flickering, the system failure of cutting off the power supply and causing, on line type UPS 6 is connected with server 1, server 1 is connected with RS232/RS485 converter 2 simultaneously, RS232/RS485 converter 2 can be the RS485 level with the RS232 level conversion of standard, is used to prolong the communication distance of server 1 to the PLC control module.This system comprises that also one 1 commentaries on classics XRS485 hubs 3 can prolong communication distance once more, also realize the multi-computer communication of server and PLC control module with star-star structure, also can eliminate because the common mode interference that the earth potential difference is brought, these hub 3 one ends are connected with RS232/RS485 converter 2, and the other end is connected with a plurality of PLC control modules.The PLC control module is used for the sensor at wastewater treatment scene, execution unit are implemented observing and controlling, mainly comprises parts such as power supply, cpu logic control, the input of simulation/switching value, power drive, and simultaneously a plurality of PLC control modules connect a plurality of measuring control points of control.When described system only connected a PLC control module, the PLC control module can be directly connected to RS232/RS485 converter 2.
As shown in Figure 2, sewage disposal PLC process automatic control system, by server 1, on line type UPS 6, TCP/IP-RS485 protocol converter 10, a plurality of measuring control points of a plurality of PLC control modules and the control of each PLC control module are formed, this system also comprises two switches 8, on line type UPS 6 is connected with server 1, server 1 and wherein a switch 8 simultaneously, this switch other end connects LAN LAN (Local Area Network) 9, LAN LAN (Local Area Network) 9 connects TCP/IP-RS485 protocol converter 10, TCP/IP-RS485 protocol converter 10 connects another switch 8 simultaneously, this switch other end connects a plurality of PLC control modules, thereby no longer be confined to the communication distance restriction of RS485, simultaneously a plurality of PLC control modules connect a plurality of measuring control points of control, and measuring control point is the sensor and the execution unit at wastewater treatment scene.Server 1 is connected with a printer 7 simultaneously, and printer 7 can be used for the hard copy of various literary composition retainings as system's basic configuration.
PLC (programmable controller) is to be core by central processing unit, combines computing machine and a kind of industrial control unit (ICU) of growing up of advanced technologies such as control automatically.It is made up of main frame (CPU+ROM+RAM), input/output interface, power supply, expansion interface and external apparatus interface.Wherein main frame is that core is formed by the microcontroller of technical grade usually.
According to the on-the-spot actual demand of control, can develop the higher PLC of embedded system composition price ratio.Also can use the PLC of the standard configuration of numerous manufacturer production, but cost is higher.Consider that this project is in the prototyping stage at present, the new problem that in actual engineering system is used, may occur, actual demand at present can not be definite fully, can not form to produce in batches.We select the latter, promptly select the matured product of famous manufacturer production for use.Though price is higher, some function does not obtain embodying, and system extension, maintenance, upgrading are all more convenient.Treat practical engineering application a period of time, demand is definite fully, can develop the PLC that micro controller system is formed, and is used for the production cost of sewage disposal PLC with reduction.
At present temporarily determine to select for use the SIMATIC S7-200 series of PLC of SIEMENS company, this serial PLC has abundant instruction set and abundant expansion module, and constructing communication network is convenient.The quality of product and safety obtain the authentication of VDE, UL, CSA, FM and ISO9001.The host machine part of this series of PLC of SIEMENS company is made up of the 80C51 Series of MCU, and dozens of manufacturer production 80C51 series of products are arranged in the world, and it will be very favourable when next step development embedded system microcontroller being selected.
The tentative CPU224 with SIMATIC S7-200 series of PLC process automatic control unit hardware system is a core component, adds that analog quantity expansion module EM235 forms.Then this hardware system has 14 inputs/10 outputs totally 24 digital quantity I/O points, has 4 inputs/1 output totally 5 analog quantity I/O points.Its hardware is formed as shown in Figure 3.
Its repeat circuit output and current signal output are used to drive on-the-spot solenoid valve, topworkies such as proportioning pump, motor, and light is used for measuring switch amount and analog quantity every input and simulating signal input.
This Hardware Design has excellent extensibility, maximum 7 modules of expansion that allow, and its digital quantity I/O point maximum can reach 160, and analog quantity I/O point maximum can reach 35.Can carry out quick configuration to hardware according to on-the-spot actual demand, use very flexible.
Main frame carries out communication with a PLC: promptly the A+ of RS485 converter (DATA+) is connected with the 3rd pin of PLC9 pin port, and B-(DATA-) is connected with the 8th pin of PLC9 pin port, as shown in Figure 5.
Main frame carries out communication with Duo Tai PLC: promptly the 3rd pin of all PLC9 pin ports is connected on the A+ of RS485 converter (DATA+) and the bus, and the 8th pin of all PLC9 pin ports is connected on B-(DATA-) and the bus, as shown in Figure 6.Many PLC carry out communication and also can link to each other with main frame by 485 hubs.
PLC process automatic control unit model machine signal wire connects shown in Fig. 7 and 8.
PLC process automatic control unit is surveyed to determine whether network is unimpeded the communication port data stream in operational process automatically, if do not detect the data stream of port within 10 seconds, PLC process automatic control unit then changes the unit operation mode according to Set For Current over to by the networking operation mode automatically.
PLC process automatic control unit has 4 kinds of mode of operations, and decision is operated under that a kind of pattern according to the parameter of host setting.4 kinds of mode of operations and parameter corresponding relation such as table 1.
Table 1 mode of operation and parameter corresponding relation
Parameter |
Mode of operation |
1 |
PH value control |
2 |
The control of DO value |
3 |
Proportional control |
4 |
Temperature control |
The mode of operation amending method has two kinds:
(1) move corresponding monitoring software at main frame, as " pH value control ", then PLC is with automatic stored parameter " 1 ".As Fig. 9.
(2) in main frame operation " sewage disposal process PLC intelligent cell integrated debugging environment ", the input relevant parameters gets final product in modification parameter one is blocked, as Figure 10.