CN1983998A - Serial telecommunication server for monitoring equipment state by Ethernet - Google Patents

Serial telecommunication server for monitoring equipment state by Ethernet Download PDF

Info

Publication number
CN1983998A
CN1983998A CN 200510111410 CN200510111410A CN1983998A CN 1983998 A CN1983998 A CN 1983998A CN 200510111410 CN200510111410 CN 200510111410 CN 200510111410 A CN200510111410 A CN 200510111410A CN 1983998 A CN1983998 A CN 1983998A
Authority
CN
China
Prior art keywords
equipment
serial
telecommunication server
equipment state
monitored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200510111410
Other languages
Chinese (zh)
Other versions
CN100421404C (en
Inventor
叶英德
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Mitsubishi Elevator Co Ltd
Original Assignee
Shanghai Mitsubishi Elevator Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Mitsubishi Elevator Co Ltd filed Critical Shanghai Mitsubishi Elevator Co Ltd
Priority to CNB2005101114104A priority Critical patent/CN100421404C/en
Publication of CN1983998A publication Critical patent/CN1983998A/en
Application granted granted Critical
Publication of CN100421404C publication Critical patent/CN100421404C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This invention discloses a serial communications server which uses the Ethernet to monitor the equipment condition. This server is composed of the central processing unit and the external circuit. The external circuit includes: 2-way serial communication port UART0, UART1. Connected respectively with the port RS232 of the monitored equipment, these two ports have the serial communication with the monitored equipment. 16 Switch input circuit were connected with the monitored equipment and used to collect the switch signal of the equipment. The control program of the serial communications server is composed of the core system and the App system, the core system operates in the MODE0 mode; it has the basically control function and can complete the Remote Update of the App system. The App system operates in the MODE1 mode, and has the serial communication, I/O processing, and the data processing functions. This invention can collect the equipment's Switch Signal and has the high input impedance. At the same time, the installation and maintenance of network is convenient, and the requirement of the network is low.

Description

The serial telecommunication server that adopts Ethernet that equipment state is monitored
Technical field
The present invention relates to a kind of equipment running status and monitor communication system, particularly relate to a kind of serial telecommunication server that adopts Ethernet that equipment state is monitored.
Background technology
Though common equipment except himself automaticity of process industry how, all be the isolated island that works alone.On the one hand, manually be difficult to a lot of equipment running status distributed more widely are monitored, and running status is made long record, therefore also be difficult to obtain statistical data analysis accurately.On the other hand, equipment operation desired data information also is difficult to processing such as back up from outside input or slave unit output.In order to solve the problem of these two aspects, industry provides following solution.
Realize and the serial communication of equipment that with multi-serial-port card or many serial servers these two kinds of schemes do not have the ability that realizes the equipment state supervision by switch acquisition, therefore need other device to realize corresponding function.In addition, these two kinds of schemes also have other defect:
For the scheme of using multi-serial-port card, the PC that multi-serial-port card is installed need be provided near equipment, and need the communication process software be installed on this PC, could realize the serial communication processing and be connected with the communication of host computer.Therefore, adopt this scheme to realize and the serial communication of equipment that the reliability of PC work directly influences the reliability of communication, when particularly these PC also need to move other application programs simultaneously, cause that whole system is installed, maintenance workload is very big.
For many serial servers scheme, because many serial servers are only finished the bridge joint of serial communication between equipment and the host computer, the application layer protocol of communication correspondence is handled and can only be carried out at host computer, like this, even equipment can pass through serial ports output equipment state information, need that also these information are sent to host computer and handle, the feedback information after will being handled by host computer is again given equipment.In this pattern, require whole network not interrupt in the equipment state monitoring process, big to network bandwidth consumption to the network requirement height, the equipment that is monitored can influence whole network operating efficiency for a long time.
The switching value that also has a kind of PLC of employing mode collecting device, the surveillance equipment state.The limitation of PLC is can not to provide usually the serial communication interface with equipment, and can not local cache to the switching value that collects, need send to host computer in real time, and is higher to the reliability requirement of network; The input impedance of input not high (K level), if approaching by the output impedance of collecting device switching value with it, the original control circuit operate as normal of the equipment that can influence.
Summary of the invention
Technical problem to be solved by this invention provides a kind of serial telecommunication server that adopts Ethernet that equipment state is monitored, but the switching value of its collecting device, the input impedance height, convenient for installation and maintenance, low to network requirement.
For solving the problems of the technologies described above, the serial telecommunication server that the present invention adopts Ethernet that equipment state is monitored is made up of CPU and peripheral circuit, and CPU and peripheral circuit are by Enet interface switching signal;
Peripheral circuit comprises: 2 tunnel COM port UART0, UART1, and this port UART0, UART1 are connected with the RS232 port that is monitored equipment respectively, realize and be monitored the serial communication of equipment; 16 way switch amount input circuits are connected with the equipment of being monitored respectively, are used for the switching value signal of collecting device;
Described serial telecommunication server system control program is made up of Core system and App system, two kinds of operational modes of corresponding MODE0 and MODE1; The Core system operates in the MODE0 pattern, has basic control function (mode switch, ethernet communication), and can finish the remote update of App system; The App system operates in the MODE1 pattern, carries out serial communication, I/O processing, data processing function; In the time point in office, have only one of them system of Core or App to be in running status;
In the App system, set up 3 channel C HANNEL0, CHANNEL1, CHANNEL2, control 2 tunnel COM port UART0, UART1 respectively and 16 way switch amount input circuits carry out the processing of signals collecting; Described 3 passages are finished the parallel processing to 2 tunnel COM port UART0, UART1 and 16 way switch amount input circuits according to the different priorities concurrent working of setting, and realize equipment monitor and equipment serial communication function simultaneously; Channel C HANNEL0 sets up virtual serial communication link between equipment and application server; Channel C HANNEL1, CHANNEL2 realize that equipment state monitors, channel C HANNEL1 obtains equipment state by the switching value input circuit, channel C HANNEL2 obtains equipment state by COM port, to different equipment, needs corresponding protocols to handle code at channel C HANNEL2.
The invention has the beneficial effects as follows: 1, integrated, integrated 16 way switch amount input circuits and 2 tunnel COM port in described serial telecommunication server can satisfy equipment state substantially and monitor demand with serial communication.2, safety, high impedance have guaranteed that equipment normally moves.3, adaptive capacity is strong, but system control program operational factor Remote configuration, and application program (App) system also can remote update.
4, to network require low, change local judgement and communications protocol local parsing by signal, and carrying out code book ground buffer memory, serial telecommunication server of the present invention can break away from host computer work, related data is sent to host computer at offered load during lower or network recovery.
Description of drawings
The present invention is further detailed explanation below in conjunction with the drawings and specific embodiments:
Fig. 1 is the serial telecommunication server theory diagram that the present invention adopts Ethernet that equipment state is monitored;
Fig. 2 is a road circuit theory diagrams in the 16 way switch amount input circuits among Fig. 1;
Fig. 3 is the serial telecommunication server control program block diagram that the present invention adopts Ethernet that equipment state is monitored.
Embodiment
As shown in Figure 1, the serial telecommunication server that the present invention adopts Ethernet that equipment state is monitored is made up of CPU and peripheral circuit.CPU and peripheral circuit are by Enet interface switching signal.CPU adopts " eZ80F91 EnetModule " module of ZILOG Corporation (u s company), this module is central processing unit with eZ80F91, also comprise the inner Flash of 256KB, the outside Flash of 1024KB, the 16KB internal SRAM, the 512KB external SRAM, a clock circuit, an Ethernet interface.
Peripheral circuit comprises: 2 tunnel COM port UART0, UART1, and this COM port UART0, UART1 are connected with the RS232 port that is monitored equipment respectively, realize and be monitored the serial communication of equipment; 16 way switch amount input circuits are used for the switching value signal of collecting device; The ZDI port is realized writing of serial telecommunication server system control program of the present invention; Power circuit provides described serial telecommunication server required power supply.2 MAX3245 serial port drive chips constitute 2 tunnel COM port UART0, UART1, finish the driving conversion of RS232 port level and described serial port drive chip logic level, and coherent signal is connected to the Enet interface, is input to the CPU among Fig. 1.The Enet interface is made up of the winding plug-in unit on CPU and the peripheral circuit.
Shown in Figure 2 is road circuit theory diagrams in the 16 way switch amount input circuits among Fig. 1, and each way switch amount input circuit structure is identical in the present invention, therefore, has only provided the wherein circuit diagram of a way switch amount input circuit.Facility switching amount signal is connected to the Enet interface through described 16 way switch amount input circuits, is input to the CPU among Fig. 1.Optocoupler module U1 in the switching value input circuit realizes the circuit isolation, has completely cut off to be monitored influencing each other between circuitry and the serial telecommunication server internal circuit of the present invention.At the input of optocoupler module U1, be the center with CMOS triode TR1, be monitored between circuitry and the optocoupler module U1, set up the input circuit of high impedance, equivalent resistance is near 1050 kilo-ohms.This input impedance can not exert an influence to being monitored circuitry in most cases, has guaranteed the safety of equipment operation.CMOS triode TR1 adopts 2SK1062 (a kind of chip that comprises multichannel CMOS triode), it is except the high-impedance behavior with common CMOS triode, also has bigger conducting voltage scope, add the dividing potential drop effect of triode TR1 input pickup resistance circuit (resistance R 61, R62, R59), can guarantee to collect the equipment state signal of 9.5VDC-24VDC.Because switching value input circuit of the present invention has bigger input impedance, under the controlled situation of signal surge, can be under equipment state signal voltage 48V situation operate as normal.
The present invention adopts Ethernet the serial telecommunication server system control program that equipment state monitors to be formed (combining Fig. 3) by kernel program system (Core) with application program system (App), two kinds of operational modes of corresponding MODE0 and MODE1.The Core system operates in the MODE0 pattern, has basic control function (mode switch, ethernet communication), and can finish the remote update of App system.The App system operates in the MODE1 pattern, carries out functions such as serial communication, I/O processing, data processing.In the time point in office, have only one of them system of Core or App to be in running status.The Core system can only write by the ZDI port, and the App system can carry out remote update as required, like this, has greatly made things convenient for work such as system control program upgrading, maintenance.In the App system, set up 3 channel C HANNEL0, CHANNEL1, CHANNEL2, control 2 tunnel COM port UART0, UART1 respectively and 16 way switch amount input circuits carry out the work of treatment of signals collecting.Described 3 passages are finished the parallel processing to 2 tunnel COM port UART0, UART1 and 16 way switch amount input circuits according to the different priorities concurrent working of setting, and realize equipment monitor and equipment serial communication function simultaneously.Channel C HANNEL0 has set up virtual serial communication link between the application server (this application server comprises functions such as the management of host computer ethernet communication, data processing) of equipment and host computer, channel C HANNEL1, CHANNEL2 realize that equipment state monitors.Channel C HANNEL1 obtains equipment state by the switching value input circuit, and channel C HANNEL2 obtains equipment state by COM port, to different equipment, needs corresponding protocols to handle code at channel C HANNEL2.Channel C HANNEL1, CHANNEL2 have local processing capacity, only when the equipment state signal changes, just vicissitudinous quantity of state is kept in the local cache, preserve corresponding system time simultaneously, like this, even host computer, network cisco unity malfunction, equipment state follow-up work can also normally be carried out.When system time starts at serial telecommunication server of the present invention, finish with host computer synchronously, and regular update.When if serial telecommunication server of the present invention starts, owing to reasons such as host computer or network failures, system time can't be synchronous with host computer, set up when next communication is connected at serial telecommunication server of the present invention and host computer, host computer will carry out time bias to the data that are kept in the local cache.Under the MODE0 pattern, can upgrade parameters such as the IP address of system control program, host computer IP addresses, under the MODE1 pattern, except MODE0 pattern corresponding parameters, can also upgrade COM port UART parameter, switching value input circuit I/O processing parameter etc., relevant parameter all is kept among the Flash of CPU, can not lose.Because the App system can upgrade by network remote, therefore, the mode of operation of described 3 channel C HANNEL0, CHANNEL1, CHANNEL2 can be switched arbitrarily, for example, in CHANNEL0, add corresponding communications protocol and handle code, also can realize that equipment state monitors by this passage, corresponding processing method also can on-demand.Exist under the multifarious environment at an equipment, long-range App system update has greatly reduced the workload of initial installation, debugging, has also made things convenient for system extension, the maintenance work of postorder.
The present invention can monitor the equipment state networking, provides the service of networking serial communication for equipment simultaneously.The present invention is added on traditional equipment, can realize the telemonitoring of equipment, the long record of device status data, statistical analysis; The required program of equipment operation, the far call of parameter, renewal, backup be can realize, equipment operation time, the fail safe that improves related data reduced.

Claims (7)

1, a kind of Ethernet that adopts is characterized in that the serial telecommunication server that equipment state monitors: be made up of CPU and peripheral circuit, CPU and peripheral circuit are by Enet interface switching signal;
Peripheral circuit comprises: 2 tunnel COM port UART0, UART1, and this port UART0, UART1 are connected with the RS232 port that is monitored equipment respectively, realize and be monitored the serial communication of equipment; 16 way switch amount input circuits are connected with the equipment of being monitored respectively, are used for the switching value signal of collecting device;
Described serial telecommunication server system control program is made up of Core system and App system, two kinds of operational modes of corresponding MODE0 and MODE1; The Core system operates in the MODE0 pattern, has basic control function, and can finish the remote update of App system; The App system operates in the MODE1 pattern, carries out serial communication, I/O processing, data processing function; In the time point in office, have only one of them system of Core or App to be in running status;
In the App system, set up 3 channel C HANNEL0, CHANNEL1, CHANNEL2, according to the different priorities concurrent working of setting, control respectively that 2 tunnel COM port UART0, UART1 and 16 way switch amount input circuits are parallel to carry out the processing of signals collecting, realize equipment monitor and equipment serial communication function simultaneously;
Channel C HANNEL0 sets up virtual serial communication link between equipment and application server; Channel C HANNEL1, CHANNEL2 realize that equipment state monitors, channel C HANNEL1 obtains equipment state by the switching value input circuit, channel C HANNEL2 obtains equipment state by COM port, to different equipment, needs corresponding protocols to handle code at channel C HANNEL2.
2, employing Ethernet as claimed in claim 1 serial telecommunication server that equipment state is monitored, it is characterized in that: described 2 tunnel COM port UART0, UART1 are made of 2 MAX3245 serial port drive chips, finish the driving conversion of RS232 port level and described serial port drive chip logic level.
3, employing Ethernet as claimed in claim 1 serial telecommunication server that equipment state is monitored, it is characterized in that: described switching value input circuit comprises the optocoupler module, the CMOS triode that is connected with the optocoupler module input, resistor voltage divider circuit with this triode input is connected has the equivalent input impedance greater than 1000 kilo-ohms.
4, employing Ethernet as claimed in claim 1 serial telecommunication server that equipment state is monitored, it is characterized in that: described channel C HANNEL1, CHANNEL2 have local processing capacity, only when the equipment state signal changes, just vicissitudinous quantity of state is kept in the local cache of described serial telecommunication server, preserves corresponding system time simultaneously.
5, employing Ethernet as claimed in claim 4 is characterized in that the serial telecommunication server that equipment state monitors: when described system time starts at described serial telecommunication server, finish with host computer synchronously, and regular update; When if described serial telecommunication server starts, owing to host computer or network failure reason, system time can't be synchronous with host computer, set up when next communication is connected at described serial telecommunication server and host computer, host computer will carry out time bias to the data in the local cache that is kept at described serial telecommunication server.
6, employing Ethernet as claimed in claim 1 is characterized in that the serial telecommunication server that equipment state monitors: under the MODE0 pattern, can IP address, the host computer IP address argument of system control program be upgraded; Under the MODE1 pattern, corresponding parameters under the renewable MODE0 pattern can also be upgraded COM port UART parameter, switching value input circuit I/O processing parameter, and relevant parameter all is kept among the Flash of CPU.
7, employing Ethernet as claimed in claim 1 serial telecommunication server that equipment state is monitored, it is characterized in that: 3 channel C HANNEL0, CHANNEL1 of described App system, the mode of operation of CHANNEL2 can be switched arbitrarily, and corresponding processing method also can on-demand.
CNB2005101114104A 2005-12-13 2005-12-13 Serial telecommunication server for monitoring equipment state by Ethernet Expired - Fee Related CN100421404C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101114104A CN100421404C (en) 2005-12-13 2005-12-13 Serial telecommunication server for monitoring equipment state by Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101114104A CN100421404C (en) 2005-12-13 2005-12-13 Serial telecommunication server for monitoring equipment state by Ethernet

Publications (2)

Publication Number Publication Date
CN1983998A true CN1983998A (en) 2007-06-20
CN100421404C CN100421404C (en) 2008-09-24

Family

ID=38166251

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101114104A Expired - Fee Related CN100421404C (en) 2005-12-13 2005-12-13 Serial telecommunication server for monitoring equipment state by Ethernet

Country Status (1)

Country Link
CN (1) CN100421404C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255784A (en) * 2010-05-21 2011-11-23 四零四科技股份有限公司 Field bus gateway using virtual serial field bus port and data transfer method thereof
CN101369927B (en) * 2008-09-23 2012-01-25 沈阳理工大学 Universal remote automatic data acquisition system
CN106572184A (en) * 2016-11-09 2017-04-19 深圳云联讯数据科技有限公司 Serial port equipment communication method and system
CN106980301A (en) * 2017-03-08 2017-07-25 北京数码大方科技股份有限公司 Communication means and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4313872B2 (en) * 1999-01-19 2009-08-12 株式会社東芝 Plant control apparatus and plant control system
CN2371733Y (en) * 1999-05-10 2000-03-29 张明亮 Remote group network monitoring controlling measuring device for fire control
CN2687970Y (en) * 2004-01-15 2005-03-23 中国矿业大学 Mining essential-safety type network intelligent monitoring device
JP4063226B2 (en) * 2004-01-22 2008-03-19 セイコーエプソン株式会社 Network device connected to the network, and network device management system
CN2681183Y (en) * 2004-03-19 2005-02-23 浙江大学 Motion control card based on RS-232 serial communication

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369927B (en) * 2008-09-23 2012-01-25 沈阳理工大学 Universal remote automatic data acquisition system
CN102255784A (en) * 2010-05-21 2011-11-23 四零四科技股份有限公司 Field bus gateway using virtual serial field bus port and data transfer method thereof
CN106572184A (en) * 2016-11-09 2017-04-19 深圳云联讯数据科技有限公司 Serial port equipment communication method and system
CN106572184B (en) * 2016-11-09 2019-05-31 深圳华远云联数据科技有限公司 A kind of serial equipment means of communication and system
CN106980301A (en) * 2017-03-08 2017-07-25 北京数码大方科技股份有限公司 Communication means and device

Also Published As

Publication number Publication date
CN100421404C (en) 2008-09-24

Similar Documents

Publication Publication Date Title
CN100336345C (en) Biprimary controlled network equipment and its master back-up switching method
CN102281254A (en) Design system and method of server serial port
CN100375440C (en) Network connectivity backup system
CN102081568B (en) Multi-motherboard server system
CN100465907C (en) Apparatus and method of CMOS parameter setting and maintaining
CN106774038B (en) Environment monitoring or monitoring data acquisition and transmission instrument
CN106066821A (en) The intelligent case management system of VPX equipment
CN100421404C (en) Serial telecommunication server for monitoring equipment state by Ethernet
CN107807630A (en) A kind of method for handover control of master/slave device, its handover control system and device
CN102340517A (en) Server system with mainboards
CN104639358B (en) batch network port switching method and switching system
CN203554493U (en) Server remote management interface system
CN202433033U (en) Monitoring system for seismograph station
CN110096114B (en) System and method for managing multiple ARM server nodes
CN203930476U (en) A kind of engine room orders transmission peculiar to vessel and actuating unit
CN104570874A (en) Embedded terminal
CN102195800A (en) Method for setting network address of server
CN214042304U (en) Main board circuit for remotely updating BIOS chip on line based on server
CN107395478A (en) A kind of network control system and network communication module for high speed cigarette packaging facilities
CN201820117U (en) Network controller
CN103336755B (en) Program control multimode serial port distributor
CN104348756A (en) Switch system
CN207099099U (en) A kind of ARCNET modules for high speed cigarette packaging facilities
CN105278651A (en) Redundancy control system
CN203376746U (en) Novel program control multi-mode serial port distributor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080924

Termination date: 20201213