In the Off-The-Shelf industrial monitor system, commonly used information transmission mode is as follows, digital microwave, digital transmission radio station, wired optic fibre, have wire cables etc., digital microwave and digital transmission radio station will be the transmission distance and restriction that the frequency will be permitted, and wired optic fibre and the intersection of network and the intersection of cost and great to have wire cable, fit for controll point, disperse and transmit under the far situation using very much.
To control target disperse and every control among the node lacking organic connectioning, controlling information volume to be relatively less, the real-time nature requires that relatively low grade characteristic, CDMA 1X has offered a very good information transmission mode. CDMA 1X like to refer to the first stage (speed is higher than IS-95, lower than 2MB/s) of CDMA 2000 ,Can support the data transmission of 308kb/s, the part of the network introduces packet switch, can support to move IP business, it is a kind of new bearer service coming out in development in existing CDMA IS-95 system, the purpose is the formal data traffic of offering to CDMA user dividing into groups. Because CDMA 1X has adopted reverse coherent demodulation, new technologies such as power-controlling of fast forward direction, transmission diversity, Turbo code,etc., its capacity ratio IS-95 is greatly improved, according to analysis result of the theory, are used for conveying the speech business, the total capacity of CDMA 1X system is 2 times that of IS-95 system, used for conveying the data traffic, the total capacity of CDMA 1X system is 3.2 times that of IS-95 system, the bandwidth reachable 300kb/s of CDMA 1X theory, take spaciously to make an appointment about 100kb/s (transmit two-wayly and symmetrically) in present real application ,Offer TCP/IP to connect on this signal channel, can be used in application such as Internet connecting, data transmission. 2 wireless Communication based on CDMA 1X
2.1 Scheme of network connection
The wireless data transmission system is generally made up of data traffic centre, Communication network and data terminal, consider factors such as the data bulk of the business, safety, reliability, network state and cost,etc. synthetically, adopt the following network connection ways: The Communication server fixes IP or stationary domain name and inserts Internet, CDMA data terminal unit (DTU) with the public network Behind the power up, set up connection with Communication server voluntarily, if Communication server there is no fixed IP, can get the stationary domain name, it is stable that this scheme has low cost, Communication quality, the safety is moderate, characteristic of running reliably etc. through installing the shell software of peanut. 2.2 Wireless data transmission principle
According to the above-mentioned network connection scheme, the machine format up run transmits the principle as follows:
( 1) The lower-position unit passes the data to DTU through RS232 serial port;
( 2) DTU types the data into TCP/IP to wrap up, sends to The wireless network;
( 3) TCP/IP data packet passes the systematic packet data service node, transmit at Internet and go a designated data service centre that look for at Internet ’ Communication server) ;
( 4) The Communication server passes the data to the upper computer and stores to the historical database.
Machine format to fall and transmit it contrary to above-mentioned course, no longer go into details, the structure chart of system Communication is shown as in Fig. 1.
3 system design
3.1 The upper computer designs
The upper computer includes two parts of real-time monitor system and historical database. The real-time monitor system chooses InTouch systems of Wonderware Company, mainly realize the following functions: Systems management function; Data processing function: Including reporting the function regularly in data inquiry function, storage function of the data, data; Alarm function: Set feature service including handling the function, reporting an emergency and asking for help or increased vigilance in real time response function, linkage of reporting an emergency and asking for help or increased vigilance, reports an emergency and asks for help or increased vigilance and confirms the function, storage function of reporting an emergency and asking for help or increased vigilancing, operate control function, the historical database chooses Industrial SQL Server of Wonderware Company, mainly realize the following functions: Data statistics, report form function, historical data inquiry function, historical data curve chart, printing the function. 3.2 The lower-position unit designs
The lower-position unit chooses ABB AC31 series PLC, including CPU module and I/O module, CPU receives one or more appointed operation control commands of the Apparatus of control center, carry out corresponding operation control actions through the relevant apparatuses of I/O pair of module, and return and operate the result to the control center, the lower-position unit mainly realizes the following functions:
Data acquisition function, data inquiry function, report the function regularly, operate control function. 3.3 CDMA data transmission break
CDMA the intersection of data and transmission break choose the intersection of Shenzhen and great the intersection of electricity and technological the intersection of CDMA H7710 DTU and terminal to have the following characteristic this of Development Co., Ltd.:
( 1) H7710 DTU offers RS232/422/485 interface directly, offers transparent, full duplex, even data transmission channel for users’ der Datenaufbereiter. ( 2) Ordinary GPRS/CDMA Modem usually needs affixing to PC and dialing up on the telephone fictitiously, carries on data receiving and dispatching and protocol conversion with the resources of the PC, H7710 DTU built-in automatic network connected sum agreement puocessing module, do not need backstage supporter’s computer to support. ( 3) H7710 DTU can realize some - one, some - multi-point, the centre - data transmission of multi-point peer, transmission delay is generally smaller than 1s. ( 4) H7710 DTU can be affixed to GPRS or CDMA network automatically when beginning, and the data centre with you sets up the Communication link, receive and dispatch the data of user’s der Datenaufbereiter at any time. ( 5) H7000 mobile data Communication needn’t depend on the data interface unit of the operator switching center, cover the fictitious mobile data Communication private network of the whole of China through the construction whenever and wherever possible of Internet network. CDMA H7710 DTU must presume the parameter of meeting accident before inuse: CDMA 1X network lands user name and password, fixed IP address and domain name of the port or Communication server, online working way of DTU of Communication interface parameter, Communication server,etc.. 3.4 Design and realizing of the Communication server
The Communication server is a pivot of the overall system, mainly realize the data transmission between different agreements, the design of the Communication server is because of OPC standard, OPC can be interpreted as the connected sum embedding of the target of proceeding control (OLC for Process Control is a kind of technology used for application program interface that is developed under Microsoft’s operating system, because of Client/Server mode, in order to realize the Communication of the overall system, needs to hold 3 pieces of software on the Communication server; OPClink of Wonderware Company, IOServer of IOServer Company, CDMA Server. The management between working phase and every software of the Communication server is shown as in Fig. 2.
Tell the functions and application of 3 pieces of Communication software on the Communication server separately as follows.
OPClink application software of work under the intersection of Windows and platform, main function to come, realize the intersection of OPC and server and the intersection of InTouch and the intersection of will and data transmission of sword Wu through protocol conversion. OPCLink all rightly and now or long run OPC server end software (IOServer, RSLinx) Connect, he converts the order of InTouch to OPC agreement then sends to OPC server end software, and read data fetch from OPC server end software, return to InTouch. Likewise, OPCLink can be connected to long run InTouch now too.
The function of IOServer is the data transmission that is realized among different agreements, IOServer supports the following 14 agreements: Modbus agreement, AB agreement, ASCII agreement, Courier agreement, DNP agreement, GE agreement, HR6000 agreement, IEC103 agreement, KingFisher agreement, LoopBack agreement, Melsec agreement, Omron agreement, TI505 agreement, UCA2 agreement. In this system, what ABB PLC adopted is Modbus agreement, IOServer reads the data of ABB PLC from CDMA Server, and convert to TCP/IP agreement, convey to OPCLink.
The disposition of IOServer mainly includes 3 following parts:
( 1) Board (interface is disposed) : IOServer supports many kinds of interface, among them the most frequently used one is TCP/IP and serial port, while disposing the interface, need to define the agreement of the interface unit;
( 2) OPC Explorer: Offer the platform of built-in testing, can also observe and monitor the data.
( 3) OPC Gateway: Allow the data transmission between every OPC server based on different agreements, and the data transmission between IOServer and a certain control unit. 3.4.3 CDMA Server
In this system, uses VisualC ++6.0 to write CDMA Server software, CDMA Server is regarded as the Communication pivot of the overall system, include two parts of functions: Carry on the Communication with IOServer, carry on the Communication with DTU.
The Communication of CDMA Server and IOServer is based on SOCKET programming, adopts TCP/IP agreement to transmit, needs to set up port and IP address, IOServer sets up Communication through this port and IP address and CDMA Server.
The Communication between CDMA Server and DTU uses and develops the dynamic storehouse wcomm_dll.dll in the bag, this file includes and all required API functions of DTU communication, start, data transmission, die Datenannahme including being served, closing to serve etc..
It is user’s routine interfaces based on development tool kit that the Communication of OPC Server and DTU is designed, namely the dynamic linking storehouse cdmagprs.dll, this storehouse includes all required API functions of communicating with DTU, for example:
start_gprs_server: This function is used for starting the bottom layer to serve, after serve and start and DTU communication, after starting this service, there should be a function of the response message at the main window, so that and the bottom layer serves the communication.
stop_gprs_server: Stop serving;
do_read_proc: Read the data. Bottom layer serve, receive behind the data that DTU send, will to start, serve window file of DSC that appoint in the function, the intersection of news and response function in the window this should call read the intersection of data and function send DBU data read-out that come over immediately;
do_send_user_data: To DTU transmission data;
da_close_one_user: Close a DTU terminal station, make it roll off the production line;
do_close_all_user: Close all online DTU terminal stations, carry out this API before the general stop service.
Because Windows drives on the basis of news, after the bottom layer serves the data which receives distal DTU, will send one news to window to start function, so we can define one the intersection of news and response function come processing center and data transmission of DTU in procedure, in the response function of news, transmit data come through transferring die Datenannahme function and data transmission function in the dynamic linking storehouse, after data transmission finishes, the call closes and serves the function to finish the communication.
4 experiments and result analysis
The experimental procedure is as follows:
( 1) Set up DTU specification:
DTU identity heading code: 139 ********
Online report interval: 40s
Local Communication port: 5001
Maximum transmits Bao Chang: 1000B
Main DSC IP address: 220.127.116.11
( 2) Add users on CDMA Server, as shown in Fig. 3, among them set up unanimity on the terminal mouth and DTU, it is 5001. The gateway exports ports, namely CDMA Server and IOServer connecting port is set up as 5002.
( 3) Add port and Apparatus on IOServer, as shown in Fig. 4, in this system, because IOServer and CDMA Server are mounted on the same machine, so the IP address is set as 127.0.0.1, the port number corresponds to port that CDMA Server offers, namely 5002.
Through the above-mentioned step, have already set up Communication between IOServer and DTU, has continued only needing to dispose concrete Group and Item on IOServer and OPCLink, no longer go into details here.
This system has already been applied to the actual project, compared with wired data collecting system, this system has the following advantages:
( 1) Have reduced construction cost and maintenance cost of the Communication line;
( 2) Having improved the systematic flexibility, controling range is not limited by the region, the nodal control goal can be expanded arbitrarily.
( 3) The Communication line is more steady, not incident Communication trouble, even if go wrong, also can find and get rid of rapidly.
Believe high-speed development and issue of 3G license plate of wireless Communication with CDMA, will lead the trend of The wireless communication, and the long-range monitor system based on CDMA wireless communication, there is more extensively employing.