The optical network terminal that has serial port circuit type handoff functionality
Technical field
The utility model belongs to the passive optical-fiber network apparatus field; Relate to the intelligent grid optical network terminal; Realize up in the EPON network of RS232 interface business and RS485 business; And can realize the method switched between OLT end telemanagement RS232 interface and the RS485 interface through OAM, be a kind of implementation that the electricity meter-reading intelligent network is supported dissimilar to check meter, monitor terminal is realized transfer of data that satisfies flexibly, easily.
Background technology
The Ethernet passive optical-fiber network, the English EPON that is called for short is a kind of the employing a little to the single fiber bi-directional Optical Access Network of multipoint configuration, has that cost is low, the life-span is grown, distance and a bandwidth advantages of higher.Because the advantage of EPON system self, become in recent years that Fiber to the home, English Fiber-To-The-Home, the first-selection of being called for short in the optical communication technology field.In the construction field field of FTTB, become the one preferred technique scheme already; And in the intellectualized reconstruction technical scheme of national grid, generally adopted the EPON system as the network carrier solution.
, constitute by the electric power optical network unit that is arranged on sub-district power distribution room or ring main unit based on the electricity meter-reading intelligent network connection device of EPON technology with the electricity meter-reading administrative center of local side optical line terminal that is arranged on transformer station and far-end.
But exist based on the RS232 interface with based on the equipment of two types RS485 interfaces as checking meter in the electricity meter-reading intelligent network, supervisory control system terminal equipment, this will seek survival support the RS232 business in the EPON network up with support RS485 business up optical network unit in the EPON system to satisfy two types of terminal equipments to upload data to the administrative center that checks meter.If use two kinds to support the optical network unit of dissimilar interfaces to satisfy the needs of these two types of interface equipments; The difficulty that intelligent network system builds of checking meter must increase electric power; And bring more cost expenses for follow-up network operation work, increased the complexity of work.Therefore need a kind of can realize RS232 professional with RS485 professional mutual switching can prevent again the optical network unit of the interference that mutual circuit brings satisfy dissimilarly check meter, the supervisory control system terminal equipment is uploaded data through the EPON system demand.
Summary of the invention
The purpose of the utility model be in order to solve because check meter, supervisory control system terminal device interface type of service difference causes the electricity meter-reading intelligent network satisfying the not convenient technical problem that causes when all types of equipment are uploaded data; Designed a kind of optical network terminal that has serial port circuit type handoff functionality; No matter check meter, the support of supervisory control system terminal equipment be RS232 business and the professional switching of RS485 that RS232 interface or RS485 interface can be realized the intelligent grid optical network unit through the long-range transmitting order to lower levels of OLT; With coupling check meter, the interface type of supervisory control system terminal equipment, make check meter, the data of supervisory control system terminal equipment can be correct is uploaded to the far-end administrative center that checks meter.
The utility model for realizing the technical scheme that goal of the invention adopts is; The optical network terminal that has serial port circuit type handoff functionality; Comprise in the structure have the terminal interface that inserts subscriber equipment and with fiber buss on connectivity port and the circuit that is connected with terminal interface and connectivity port; Comprise optical signal transceiver modular circuit, CPU, hardware logic modular circuit and serial port circuit module in the said circuit structure; Comprise the RS232 serial port circuit and the RS485 serial port circuit that are connected on the hardware logic modular circuit in the above-mentioned serial port circuit module; Between the input of terminal interface and above two serial port circuits, set up controlled relay commutation circuit, the controlled end of relay commutation circuit connects the logic output terminal of logic module circuit.
The circuit theory of the utility model is; Intelligent grid optical network unit acquiescence uses that the RS232 type of service is used for supporting to check meter, the supervisory control system terminal equipment is uploaded data to the far-end administrative center that checks meter; If check meter, the interface type of supervisory control system terminal equipment support is RS485; Then the far-end administrative center that checks meter can not receive the data of intelligent grid optical network unit; The type of service that the intelligent grid optical network unit then is described with check meter, the interface type of supervisory control system terminal equipment do not match; Administrative center can give the intelligent grid optical network unit through the OLT transmitting order to lower levels so check meter, and make the type of service of intelligent grid optical network unit switch to the RS485 business so that check meter, the data of supervisory control system terminal equipment are correct is uploaded to the far-end administrative center that checks meter.
The beneficial effect of the utility model is; Provide a kind of RS232 that can support professional, can support the solution of the intelligent grid optical network unit that RS485 is professional again, a kind of intelligent grid optical network unit can be supported the checking meter of different interface type, the needs that the supervisory control system terminal equipment is uploaded data; A kind of convenient, flexible networking plan is provided for the electricity meter-reading intelligent network; Satisfy dissimilarly check meter, the application demand of supervisory control system terminal equipment, also reduced equipment making merchant's product form simultaneously, be beneficial to large-scale production to reduce production costs; Reduce the construction cost of electricity meter-reading intelligent network, be convenient to the popularization and the development of electricity meter-reading intelligent network.
Below in conjunction with accompanying drawing the utility model is elaborated.
Description of drawings
Fig. 1 is the schematic block circuit diagram of the utility model.
Fig. 2 is the specific embodiment circuit theory diagrams.
In the accompanying drawing, 1 GC group connector interface, the 2nd, relay commutation circuit, the 3rd, RS232 serial port circuit, the 4th, RS485 serial port circuit, the 5th, signal isolation circuit, the 6th, hardware logic modular circuit, the 7th, optical signal transceiver module.
Embodiment
Referring to Fig. 1; The optical network terminal that has serial port circuit type handoff functionality; Comprise in the structure have the terminal interface that inserts subscriber equipment and with fiber buss on connectivity port and the circuit that is connected with terminal interface 1 and connectivity port; Comprise optical signal transceiver modular circuit 7, CPU, hardware logic modular circuit 6 and serial port circuit module in the said circuit structure; Comprise the RS232 serial port circuit 3 and RS485 serial port circuit 4 that are connected on the hardware logic modular circuit 6 in the above-mentioned serial port circuit module; Between the input of terminal interface 1 and above two serial port circuits, set up controlled relay commutation circuit 2, the controlled end of relay commutation circuit 2 connects the logic output terminal of logic module circuit 6.
Between hardware logic modular circuit 6 and two serial port circuits, also have additional signal isolation circuit 5.Above-mentioned signal isolation circuit 5 has been used digital isolator U1 and peripheral circuit, and digital isolator U1 is connected with hardware logic electric circuit, and hardware logic electric circuit is realized and being connected of CPU by serial communication interface and pulse modulation interface.When the use of digital isolator is used to prevent RS232 business or RS485 vocational work, seals in other clutters and cause circuit to disturb.
Referring to Fig. 2; Comprise a controlled gating circuit switch of forming by relay K, triode Q, diode D and resistance R element in above-mentioned relay commutation circuit 2 structures; The base stage of triode Q is connected the logic output terminal of hardware logic modular circuit 6; Collector electrode is connected between the input of terminal interface 1 and two serial port circuits through the switch of relay K, the switch of relay K through contact adhesive conversion, switch two interface circuits respectively and be connected to main circuit.
The FPGA control chip that adopts in the above-mentioned hardware logic modular circuit 6 is the XC3S50AN-4TQG144C that XILINX company produces.FPGA control chip CPLD is connected with CPU by serial communication interface and pulse modulation interface, and the output signal end of FPGA control chip CPLD connects the controlled end of relay commutation circuit 2 through data line.
The digital isolator U1 that uses in the above-mentioned signal isolation circuit 5 is the ADUM3211BRZ-RL7 that ANALOG company produces.
The operation principle of the utility model is: the main circuit of optical network terminal, and can insert and support the checking meter of RS232 interface, supervisory control system terminal equipment, also can be connected with supporting the checking meter of RS485 interface, supervisory control system terminal equipment.The serial ports of optical network terminal acquiescence is RS232; From check meter, the data of supervisory control system terminal equipment through serial ports RS232 to up circuit transmission data: if this equipment uses is that RS232 is professional; These group data can be passed through terminal interface 1, relay commutation circuit 2, RS232 serial port circuit 3, signal isolation circuit 5, hardware logic electric circuit 6 successively and transferred to CPU so, after CPU handles by optical signal transceiver module 7 by optical fiber cable, be uploaded to remote meter reading, supervision and management center; If what this equipment used is that RS485 is professional; These group data can not be uploaded through RS232 serial port circuit 3 so, and remote monitoring center is not received this group data, and then inverse signal is to optical network terminal; Send by the CPU of optical network terminal and to control signal to hardware logic modular circuit 6; Hardware logic modular circuit 6 output logics control signal to the controlled end of relay commutation circuit 2, and RS485 serial port circuit 4 is inserted main circuit, accomplish data upload.