CN101819431B - Device for simultaneously controlling TxDIS signal by hardware and software - Google Patents

Device for simultaneously controlling TxDIS signal by hardware and software Download PDF

Info

Publication number
CN101819431B
CN101819431B CN2010101167988A CN201010116798A CN101819431B CN 101819431 B CN101819431 B CN 101819431B CN 2010101167988 A CN2010101167988 A CN 2010101167988A CN 201010116798 A CN201010116798 A CN 201010116798A CN 101819431 B CN101819431 B CN 101819431B
Authority
CN
China
Prior art keywords
chip microcomputer
txdis
door
software
pin
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.)
Expired - Fee Related
Application number
CN2010101167988A
Other languages
Chinese (zh)
Other versions
CN101819431A (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.)
Chengdu Superxon Information Technology Co ltd
Nine letter asset management Limited by Share Ltd.
Original Assignee
SUPERXON TECHNOLOGY (CHENGDU) 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 SUPERXON TECHNOLOGY (CHENGDU) Co Ltd filed Critical SUPERXON TECHNOLOGY (CHENGDU) Co Ltd
Priority to CN2010101167988A priority Critical patent/CN101819431B/en
Publication of CN101819431A publication Critical patent/CN101819431A/en
Application granted granted Critical
Publication of CN101819431B publication Critical patent/CN101819431B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Microcomputers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a device for simultaneously controlling a TxDIS signal by hardware and software, which is applicable to fiber transmission modules. The device comprises a singlechip, an OR-gate and a laser-driver chip, wherein the two input ends of the OR-gate are respectively connected with the singlechip and an upper computer, and the two output ends of the OR-gate are respectively fanned out to a TxDIS input pin of the singlechip and a TxDIS input pin of the laser-driver chip, so that the singlechip receives a SoftTxDIS signal transmitted by the software of an upper computer by a I2C bus to change the SoftTxDIS pin level of the singlechip, and reports the state of the TxDIS pin of the singlechip to the upper computer by the I2C bus. By adopting the technical scheme of the invention, the fast response of the SFF-8472 protocol to the TxDIS signal can be realized, and the state of the TxDIS pin fanned out to the laser-driver chip can be read back; meanwhile, because of the built-in PLA function of the invention, the components are reduced and the cost is reduced.

Description

A kind of light delivery module that is used for realizes that software and hardware controls the device of TxDIS signal simultaneously
Technical field
The present invention relates to the optical communication technology field, relate in particular to a kind of device that light delivery module realization software and hardware is controlled the TxDIS signal simultaneously that is used for.
Background technology
At present, needed integrated module of optical transceiver kind is more and more in the diverse network, requires also increasingly high.In order to satisfy the ever-increasing demand of system, light delivery module just constantly moves towards standardization, miniaturization, intelligent development.Utilize intelligentized light delivery module, network management unit can be monitored temperature, supply voltage, the laser bias current of transceiver module in real time and transmitted and received luminous power.The measurement of these parameters can help administrative unit to find out the position of breaking down in the optical fiber link, simplifies maintenance work, improves the reliability of system.
In SFF-8472MSA, standard the detailed content of numerical diagnostic function and relevant SFF-8472.This regulation and stipulation, detecting and digitizing parameter signal on the circuit board of inside modules then, provide the result of process demarcation or digitized measurement result are provided and the demarcation parameter.These information are stored in the internal storage structure of standard, so that read through two cable serial line interfaces.
Based on the TxDis signal of SFF-8472 agreement, be used to control enabling of light delivery module transmitting terminal, the agreement regulation, transmitting terminal enables to be controlled by software and hardware respectively, and transmitting terminal is defaulted as enabled.The 6th of A2 [110] software control position that enables for transmitting terminal, if the software control function is under an embargo, the not effect of this position.If be not under an embargo, when it is written into " 1 ", transmitting terminal is turned off, and writes " 0 ", and transmitting terminal software enables, final enabling be and hardware-enabled " or " the result.This default conditions are " 0 ".Agreement also stipulates, when hardware controls, when light output reduces 10% above the time, representes that transmitting terminal is turned off, and this time must be controlled in the 10us, and software gets final product at 100ms.Equally, when hardware controls, when light output was increased to more than 90%, the expression transmitting terminal was unlocked, and this time also must be controlled in the 1ms, and software gets final product at 100ms.Can find out that agreement is very harsh to the time requirement of hardware controls.
Fig. 1 is the structural representation that the realization software and hardware is controlled the TxDIS telltale simultaneously in the prior art.As shown in Figure 1, usually, the method that realizes this function is to turn-off the TxDis signal through I/O way of interrupt hardware, controls the I/O signal of input through the mode of software programming, reaches the purpose of software control.If realize the requirement of the quick response of agreement regulation, this I/O interrupts being arranged to limit priority so, otherwise possibility response in the forfeiture shortest time when carrying out the service routine of limit priority because priority is not high; But often I/O interrupts in SCM system, being not easy to be made into limit priority, must realize interrupt nesting, and complicated risk is bigger but interrupt nesting is programmed, and causes storehouse to overflow easily, causes program crashing.
Summary of the invention
The objective of the invention is to propose a kind of device that light delivery module realization software and hardware is controlled the TxDIS signal simultaneously that is used for; Realized that not only the SFF-8472 agreement responds the TxDIS signal fast; The state that can also retaking of a year or grade be fanned out to laser-driven chip; And reduced device through built-in PLA function, reduced cost.
For reaching this purpose, the present invention adopts following technical scheme:
A kind of light delivery module that is used for realizes that software and hardware controls the device of TxDIS signal simultaneously; Be applicable in the light delivery module; Comprise single-chip microcomputer or door and laser driver chip; Or two inputs of door are connected respectively to single-chip microcomputer and host computer; Or the output of door is fanned out to the TxDIS input pin of single-chip microcomputer and the TxDIS input pin of laser driver chip respectively, is used for the SoftTxDIS signal change single-chip microcomputer SoftTxDIS pin level that single-chip microcomputer reception upper computer software issues through the I2C bus, and single-chip microcomputer reports single-chip microcomputer TxDIS pin status through the I2C bus to host computer.
Said single-chip microcomputer comprises programmable logic array; Said or door is formed by said programmable logic array setting; Or two inputs of door are connected respectively to the input pin of HardTxDIS of PLADIN register input and the host computer of single-chip microcomputer; Or the output of door is fanned out to the TxDIS input pin of single-chip microcomputer and the TxDIS input pin of laser driver chip respectively; Be used for single-chip microcomputer and receive the SoftTxDIS signal that upper computer software issues through the I2C bus, single-chip microcomputer removes to change SoftTxDIS pin level said programmable logic array or door through the PLADIN register is set again, realizes software control; Single-chip microcomputer receives the HardTxDIS input pin of host computer, realizes hardware controls.
Said single-chip microcomputer is the ADuc7020 microcontroller.
Said single-chip microcomputer and said or door setting alone; Or two inputs of door are connected respectively to the SoftTxDIS pin of single-chip microcomputer and the HardTxDIS input pin of host computer; Or the output of door is fanned out to the TxDIS input pin of single-chip microcomputer and the TxDIS input pin of laser driver chip respectively; Be used for single-chip microcomputer and receive the SoftTxDIS signal change single-chip microcomputer SoftTxDIS pin level that upper computer software issues through the I2C bus; Realize software control, single-chip microcomputer receives the HardTxDIS input pin of host computer, realizes hardware controls.
Said single-chip microcomputer is the Mega88 microcontroller.
Said or door is the single or door chip of SN74LVC1G32.
Adopt technical scheme of the present invention, had following beneficial effect:
1, convenient and simple, with low cost, programming easily, be easy to expansion.The present invention utilization have embedded programmable logic array (in the time of programmable logic array, PLA) microprocessor, can practice thrift one or the space; Reduced cost like this, and in programming, realized being very easy to, convenient and simple; Simultaneously; The present invention also is easy to expand to through I/O and realizes the mode of response fast, and without interrupt nesting, has reduced the complexity and the risk of programming.
2, efficient is high, risk is less.Because the interrupt priority level of hardware and software control mode is the highest,, improved efficient like this so the speed of response is fast; Simultaneously, according to the requirement of SFF-8472, because quick response of the present invention to the response time strictness; Reduced the risk of makeing mistakes, security has had guarantee.Avoided using the mode of I/O interrupt nesting, and the storehouse that causes overflows, and causes program crashing.
Description of drawings
Fig. 1 is the structural representation that the realization software and hardware is controlled the TxDIS telltale simultaneously in the prior art.
Fig. 2 is used for the structural representation that light delivery module realization software and hardware is controlled the TxDIS telltale simultaneously in the specific embodiment of the invention one.
Fig. 3 is used for the structural representation that light delivery module realization software and hardware is controlled the TxDIS telltale simultaneously in the specific embodiment of the invention two.
Embodiment
Further specify technical scheme of the present invention below in conjunction with accompanying drawing and through embodiment.
The main thought of technical scheme of the present invention is the microcontroller (MCU) that adopts as ADuc7020, its concrete PLA function, so its hardware controls and software control can through PLA be configured to through one or; Or the output of door is fanned out to the TxDIS input pin of laser driver chip, because be or door, but not I/O interrupts; Like this; Its response time can be in official hour, and MCU its state that also can read back through the pin that is fanned out to laser driver chip reports host computer; Perhaps adopt MCU, do not have the PLA function as Mega88, can be external one or; Its hardware controls and software control can be imported through this or door; Or the output of the door TxDIS input pin that is fanned out to laser driver chip respectively with turn back to MCU, let the MCU state of TxDIS that can read back, owing to adopted mode external or door; Its response is irrelevant with MCU, and the response time can be at the appointed time.
Fig. 2 is used for the structural representation that light delivery module realization software and hardware is controlled the TxDIS telltale simultaneously in the specific embodiment of the invention one.As shown in Figure 2; This device in the embodiment one comprises single-chip microcomputer and laser driver chip; That single-chip microcomputer adopts is ADuc7020MCU, and this single-chip microcomputer is embedded with PLA, can through be provided with PLA be one or; Or two inputs of door are connected respectively to the input pin of HardTxDIS of PLADIN register input and the host computer of single-chip microcomputer, or output be fanned out to the TxDIS input pin of single-chip microcomputer and the TxDIS input pin of laser driver chip respectively.
Wherein single-chip microcomputer receives the SoftTxDIS signal that upper computer software issues through the I2C bus; Single-chip microcomputer removes to change PLA's or door SoftTxDIS pin level through the PLADIN register is set again; Realize the purpose of software control; Single-chip microcomputer receives the HardTxDIS input pin of host computer, realizes the purpose of hardware controls.Single-chip microcomputer reports single-chip microcomputer TxDIS pin status through the I2C bus to host computer.
The SFF-8472 agreement is relatively stricter to the requirement of sequential, and the time of regulation TxDIS response is very fast, owing to adopt or this method of door, has avoided using on the software risk of interrupt nesting.
In this process; When software is realized; At first to dispose the form that the HardTxDIS pin configuration becomes the PLA input; Then the input of this input pin and the PLADIN register of corresponding modular unit mutually or, the PLADIN register is as the function of SoftTxDIS, or the output of door is fanned out to the input of laser driver.Because the SoftTxDIS signal is sent by upper computer software; The mode that it issues through the I2C bus changes its zone bit; Thereby reach the purpose of software control, and the I2C bus mode also is that interrupt priority level is the highest, so can not have influence on the response time of TxDIS yet.PLADIN upgrades according to the change of SoftTxDIS zone bit; The code of this part is put in the time interruption; The time priority of interrupt is lower than limit priority, but it can influence once by every 50ms, so also can not exceed the SFF-8472 agreement to the software control official hour.
Fig. 3 is used for the structural representation that light delivery module realization software and hardware is controlled the TxDIS telltale simultaneously in the specific embodiment of the invention two.This device in the embodiment two comprises single-chip microcomputer or door and laser driver chip; Single-chip microcomputer is the Mega88 microcontroller; This single-chip microcomputer does not have embedded PLA, single-chip microcomputer with or door be provided with alone, or door is the single or door chip of SN74LVC1G32; Or the door two inputs be connected respectively to the SoftTxDIS pin of single-chip microcomputer and the HardTxDIS input pin of host computer, or output be fanned out to the TxDIS input pin of single-chip microcomputer and the TxDIS input pin of laser driver chip respectively.
Wherein, single-chip microcomputer receives the SoftTxDIS signal change single-chip microcomputer TxDIS pin level that upper computer software issues through the I2C bus, realizes software control, and single-chip microcomputer receives the HardTxDIS input pin of host computer, realizes hardware controls.Single-chip microcomputer reports single-chip microcomputer TxDIS pin status through the I2C bus to host computer.
Because adopted mode external or door, its response is irrelevant with MCU, the response time can be at the appointed time.
Very simple on software is realized, the Mega88 microcontroller only need be controlled the SoftTxDIS pin and get final product because HardTxDIS directly through or export, without Mega88.Mega88 receives the SoftTxDIS signal that upper computer software issues through the I2C bus; Reach the purpose of software control; And I2C is sent by upper computer software owing to the SoftTxDIS signal, and the mode that it issues through the I2C bus changes its zone bit, thereby reaches the purpose of software control.And the I2C bus mode is that interrupt priority level is the highest, so also can not have influence on the response time of TxDIS.
The above; Be merely the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with this technological people in the technical scope that the present invention disclosed; The variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (6)

1. one kind is used for the device that light delivery module realization software and hardware is controlled the TxDIS signal simultaneously; It is characterized in that; Comprise single-chip microcomputer or door and laser driver chip; Or two inputs of door are connected respectively to single-chip microcomputer and host computer; Or the output of door is fanned out to the TxDIS input pin of single-chip microcomputer and the TxDIS input pin of laser driver chip respectively, is used for the SoftTxDIS signal change single-chip microcomputer SoftTxDIS pin level that single-chip microcomputer reception upper computer software issues through the I2C bus, and single-chip microcomputer reports single-chip microcomputer TxDIS pin status through the I2C bus to host computer.
2. a kind of device that light delivery module realization software and hardware is controlled the TxDIS signal simultaneously that is used for according to claim 1; It is characterized in that; Said single-chip microcomputer comprises programmable logic array; Said or door is formed by said programmable logic array setting; Or two inputs of door are connected respectively to the input pin of HardTxDIS of PLADIN register input and the host computer of single-chip microcomputer, or the output of door is fanned out to the TxDIS input pin of single-chip microcomputer and the TxDIS input pin of laser driver chip respectively, are used for the SoftTxDIS signal that single-chip microcomputer reception upper computer software issues through the I2C bus; Single-chip microcomputer removes to change SoftTxDIS pin level said programmable logic array or door through the PLADIN register is set again; Realize software control, single-chip microcomputer receives the HardTxDIS input pin of host computer, realizes hardware controls.
3. a kind of device that light delivery module realization software and hardware is controlled the TxDIS signal simultaneously that is used for according to claim 2 is characterized in that said single-chip microcomputer is the ADuc7020 microcontroller.
4. a kind of device that light delivery module realization software and hardware is controlled the TxDIS signal simultaneously that is used for according to claim 1; It is characterized in that; Said single-chip microcomputer and said or door setting alone; Or two inputs of door are connected respectively to the SoftTxDIS pin of single-chip microcomputer and the HardTxDIS input pin of host computer; Or the output of door is fanned out to the TxDIS input pin of single-chip microcomputer and the TxDIS input pin of laser driver chip respectively, is used for single-chip microcomputer and receives the SoftTxDIS signal change single-chip microcomputer SoftTxDIS pin level that upper computer software issues through the I2C bus, the realization software control; Single-chip microcomputer receives the HardTxDIS input pin of host computer, realizes hardware controls.
5. a kind of device that light delivery module realization software and hardware is controlled the TxDIS signal simultaneously that is used for according to claim 4 is characterized in that said single-chip microcomputer is the Mega88 microcontroller.
6. according to claim 4 or 5 described a kind of devices that light delivery module realization software and hardware is controlled the TxDIS signal simultaneously that are used for, it is characterized in that said or door is the single or door chip of SN74LVC1G32.
CN2010101167988A 2010-03-03 2010-03-03 Device for simultaneously controlling TxDIS signal by hardware and software Expired - Fee Related CN101819431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101167988A CN101819431B (en) 2010-03-03 2010-03-03 Device for simultaneously controlling TxDIS signal by hardware and software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101167988A CN101819431B (en) 2010-03-03 2010-03-03 Device for simultaneously controlling TxDIS signal by hardware and software

Publications (2)

Publication Number Publication Date
CN101819431A CN101819431A (en) 2010-09-01
CN101819431B true CN101819431B (en) 2012-07-04

Family

ID=42654559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101167988A Expired - Fee Related CN101819431B (en) 2010-03-03 2010-03-03 Device for simultaneously controlling TxDIS signal by hardware and software

Country Status (1)

Country Link
CN (1) CN101819431B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1500320A (en) * 2001-02-05 2004-05-26 Integrated memory controller circuit for fiber optics transceiver
CN101409589A (en) * 2007-10-08 2009-04-15 深圳新飞通光电子技术有限公司 Drive circuit for laser

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005004698A (en) * 2003-06-16 2005-01-06 Sumitomo Electric Ind Ltd Optical module and host system equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1500320A (en) * 2001-02-05 2004-05-26 Integrated memory controller circuit for fiber optics transceiver
CN101409589A (en) * 2007-10-08 2009-04-15 深圳新飞通光电子技术有限公司 Drive circuit for laser

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JP特开2005-4698A 2005.01.06
程社成.带数字诊断功能的小封装光模块研究.《无线电电子学》.2006,说明书第12,35-36,38,43-46,49-52页. *

Also Published As

Publication number Publication date
CN101819431A (en) 2010-09-01

Similar Documents

Publication Publication Date Title
CN101916959B (en) Laser switching-off device and switching-off method thereof
CN104765321A (en) Motion controller being compatible with various field bus protocols
CN100383544C (en) Method and apparatus for real-time monitoring level signal
CN203858627U (en) Portable RFID (radio frequency identification) equipment
CN101149722A (en) Method for executing CPU access to XFP optical module
CN101866304A (en) Server capable of detecting state of voltage regulator
US10211924B2 (en) Optical transmission device and optical transceiver module
CN104238517A (en) PROFIBUS-DPV1 main communication station and method
CN110096291A (en) Power management chip upgrades circuit, method and the network equipment
CN202583795U (en) Hot-plug PLC multi-interface communication module
CN104270203A (en) SFF double-light-emitting module with DDM function and optical communication system
CN101819431B (en) Device for simultaneously controlling TxDIS signal by hardware and software
CN106533267A (en) Motor soft start DSP control panel integrating PROFIBUS protocol
CN108345558B (en) RS485 centralized configuration unit supporting multiple protocols
KR100718894B1 (en) Micro-control Apparatus for Circular Knitting Machines
CN201616012U (en) Main controller device used for high-voltage frequency converter modular design
CN101881966B (en) Stereo garage controller extension unit
CN201421628Y (en) Door access controller
CN204065816U (en) A kind of PROFIBUS-DPV1 communication main station
CN204965140U (en) Simple and easy controller that can be used to digit control machine tool human -computer interaction
CN112714105A (en) Embedded OPC UA protocol conversion system
CN202587019U (en) Hot-plug Ethernet communication module
CN102087144A (en) Foundation field bus (FF) H1 temperature measuring device
CN2845323Y (en) Network timing controller
Hao et al. Development for protocol conversion gateway of industrial field bus

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
C56 Change in the name or address of the patentee

Owner name: SICHUAN SUPERXON INFORMATION TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: SUPERXON TECHNOLOGY (CHENGDU) CO., LTD.

CP03 Change of name, title or address

Address after: 7, No. 216, No. 610000 South City Road, Chengdu hi tech Zone, Sichuan, 101, 201

Patentee after: SICHUAN SUPERXON INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 7, No. 216, No. 610041 South City Road, Chengdu hi tech Zone, Sichuan, 101, 201

Patentee before: Superxon (Chengdu) Technology Ltd.

C41 Transfer of patent application or patent right or utility model
C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: 610041 D, 7, Tianfu Software Park, 599 century South Road, Chengdu hi tech Zone, Sichuan, 201

Patentee after: Nine letter asset management Limited by Share Ltd.

Address before: 7, No. 216, No. 610000 South City Road, Chengdu hi tech Zone, Sichuan, 101, 201

Patentee before: SICHUAN SUPERXON INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right

Effective date of registration: 20160519

Address after: 610041 D, 7, Tianfu Software Park, 599 century South Road, Chengdu hi tech Zone, Sichuan, 201

Patentee after: CHENGDU SUPERXON INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 610041 D, 7, Tianfu Software Park, 599 century South Road, Chengdu hi tech Zone, Sichuan, 201

Patentee before: Nine letter asset management Limited by Share Ltd.

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: 20120704

Termination date: 20180303