A kind of jumping fiber length calculation method and hand-held jumping fiber length calculator
Technical field
The present invention relates to the optical fiber technology field, especially a kind of jumping fiber length calculation method and hand-held jumping fiber length calculator, be applicable to (the Optical fiber Distribution Frame of fibre distribution frame in the communications industry, abbreviation ODF), the jumping fiber length computation of main distribution frame for fiber (Optical fiber Main Distribution Frame is called for short OMDF) when jumping fiber.
Background technology
At present in the communications industry, FTTx (optical fiber access) is desirable broadband access method, along with the continuous growth of people to the broadband services demand, and the further maturation of optical fiber access technology and the continuous reduction of construction cost, FTTx is more and more had an optimistic view of by common carrier, by the user, is accepted.Main distribution frame for fiber and fibre distribution frame are also along with the fast development of FTTx a large amount of use in communicating by letter, main distribution frame for fiber (be called for short light always join) is: a side connects optical communication equipment, opposite side connects the outside line optical cable, the distribution that communicates route by jumping fiber connects, and has the distributing connection equipment of Link failure detection or the online test port detected.Because the distance between each communication facilities is different, so jumping fiber length is also different in size, for the practical application that coordinates light always to join, needs a kind of hand-held of design, the convenient jumping fiber counter calculated, so that draw fast needed jumping fiber length.
Summary of the invention
Technical matters to be solved by this invention is: overcome the deficiency in the above-mentioned background technology, a kind of hand-held jumping fiber length calculator is provided, this counter should be able to calculate the length of jumping fiber between main distribution frame for fiber rapidly, and has easy to usely, and result is characteristics accurately.
For realizing above purpose, the present invention has adopted following technical scheme: a kind of jumping fiber length calculation method, and it is characterized in that: the method comprises the following steps:
A, manual observation, obtain the A port that needs jumping fiber to connect and port numbers, reel number, group number and the light of B port and always join the frame numbering;
B, always join with the light of A port the light that frame numbering deducts the B port and always join the frame numbering, take absolute value, obtain JiaNum;
C, deduct the group number of B port by the group number of A port, take absolute value, obtain NM;
D, by the A port that obtains and port numbers, the reel number of B port, and above-mentioned the calculating JiaNum and the following jumping fiber length computation of the NM substitution formula that obtain obtain the length of jumping fiber:
ChangDu=1900+(840×JiaNum)+(NM ×224)+[(SSoutnum-1)×22]-[(SSLieoutnum-1)×22]+[(SSinnum-1)×26]-[(SSLieinnum-1)×26];
Wherein, ChangDu: jumping fiber length;
1900: fundamental length;
The reel number of SSoutnum:A port;
The port numbers of SSLieoutnum:A port;
The reel number of SSinnum:B port;
The port numbers of SSLieinnum:B port.
Hand-held jumping fiber length calculator, it is characterized in that: described jumping fiber counter is comprised of housing and the operating circuit that is arranged in housing, described operating circuit comprise one-chip computer module, the Graphics Processing result of touch screen module, the deal with data of input jumping fiber parameter LCD display, the power module of operating voltage is provided; The output terminal of described power module connects respectively described one-chip computer module and display module, the signal output part of described touch screen module is connected the jumping fiber data with transfer operation personnel input with the signal input part of one-chip computer module, the signal output part of described one-chip computer module is connected to show result of calculation with the signal input part of display module; In described one-chip computer module, burning has the program of jumping fiber length computation formula, and this jumping fiber length computation formula is: ChangDu=1900+ (840 * JiaNum)+(NM * 224)+[(SSoutnum-1) * 22]-[(SSLieoutnum-1) * 22]+[(SSinnum-1) * 26]-[(SSLieinnum-1) * 26];
Wherein, ChangDu: jumping fiber length;
1900: fundamental length;
JiaNum: the A port that needs jumping fiber to connect and the light of B port are always joined the poor of frame numbering, take absolute value;
The group number of NM:A port and B port poor, take absolute value;
The reel number of SSoutnum:A port;
The port numbers of SSLieoutnum:A port;
The reel number of SSinnum:B port;
The port numbers of SSLieinnum:B port.
Described power module is comprised of lithium battery, management of charging and discharging circuit and voltage conversion circuit;
Described management of charging and discharging circuit comprises the light emitting diode D6 of charging management chip U3, indicating operating status, the VCC pin of charging management chip and COMP pin are connected with the positive pole of charger voltage output terminal, the BAT pin is connected with lithium battery anode with the output voltage to lithium battery samples, cathode of lithium battery ground connection, STAT pin resistance in series R11, ground connection after light emitting diode D6, the CC pin is connected with the base stage of PNP transistor Q3, the SNS pin is connected with the emitter of PNP transistor Q3, TS pin and thermo-sensitive resistor R12, R13 connects, the emitter resistance in series R9 of PNP transistor Q3, after R10, with the positive pole of charger voltage output terminal, be connected, the collector of PNP transistor Q3 is connected with lithium battery anode,
Described voltage conversion circuit comprises a low pressure difference linear voltage regulator U4, and the Vin pin of this low pressure difference linear voltage regulator is connected with lithium battery anode, and the Vout pin is powered to one-chip computer module.
In described one-chip computer module, single-chip microcomputer U2 is connected with LCD display by Wiring port J4, wherein, the base stage of the PD4 pin connecting triode Q1 of single-chip microcomputer, the collector of triode Q1 is connected with No. 20 pins of Wiring port J4, the PB0-PB7 pin of single-chip microcomputer sequentially is connected with the 7-14 pin of Wiring port J4, and the PC5-PC7 pin of single-chip microcomputer sequentially docks with the 4-6 pin of Wiring port J4.
Described touch screen module comprises that a touch-screen U6 and touch-screen drive chip U5, the X+ pin of described touch-screen, X-pin, Y+ pin, Y-pin drive X+ pin, X-pin, Y+ pin, Y-pin on chip to be connected with touch-screen respectively, touch-screen drive chip the DCLK pin ,/CS pin, DIN pin, BUSY pin, DOUT pin sequentially be connected with the PC0-PC4 pin of single-chip microcomputer, touch-screen driving chip /the PEN pin is connected with the PD2 pin of single-chip microcomputer.
Principle of work of the present invention is as follows: the present invention adopts lithium battery power supply, lithium battery carries out management of charging and discharging by the management of charging and discharging circuit, the management of charging and discharging main circuit will be realized controlling by the management of charging and discharging chip, has automatically the characteristics such as charging again, minimum current termination charging, low-power consumption sleep; Charge-discharge modules utilizes thermo-sensitive resistor continuous detecting battery temperature, when battery temperature exceeds setting range, closes lithium cell charging, and charged state identification is indicated by light emitting diode; Use low pressure difference linear voltage regulator in voltage conversion circuit, make stable output at 3.3V; Form filtering circuit by electric capacity, inductance, make output voltage more stable; Operating personnel input the parameters of jumping fiber by touch-screen, calculate suitable jumping fiber length through single-chip microcomputer according to the program (writing by jumping fiber length computation formula) of setting, result of calculation is presented on LCD display, operating personnel can make according to result of calculation the jumping fiber of respective length again.
The invention has the beneficial effects as follows: the present invention utilizes jumping fiber length computation formula to design the jumping fiber length calculator, operating personnel can be according to actual conditions, after determining the jumping fiber parameter between each equipment, in touch-screen input related data, can draw suitable jumping fiber length in LCD display, easy to use, result is accurate, can greatly increase work efficiency.
The accompanying drawing explanation
Fig. 1 is theory diagram of the present invention.
Fig. 2 is circuit theory diagrams of the present invention.
Fig. 3 is the circuit theory diagrams of management of charging and discharging circuit in Fig. 1.
Fig. 4 is the circuit theory diagrams of voltage conversion circuit in Fig. 1.
Fig. 5 is the circuit theory diagrams of one-chip computer module in Fig. 1.
Fig. 6 is the circuit theory diagrams of touch screen module in Fig. 1.
Fig. 7 is the syndeton schematic diagram of jumping fiber.
Embodiment
Below in conjunction with Figure of description, the invention will be further described, but the present invention is not limited to following examples.
As shown in Figure 1, hand-held jumping fiber length calculator of the present invention is comprised of housing and the operating circuit that is arranged in housing, described operating circuit comprise one-chip computer module A1, the Graphics Processing result of touch screen module A4, the deal with data of input jumping fiber parameter LCD display A5, the power module A6 of operating voltage is provided; The output terminal of described power module connects respectively described one-chip computer module and display module, the signal output part of described touch screen module is connected the jumping fiber data with transfer operation personnel input with the signal input part of one-chip computer module, the signal output part of described one-chip computer module is connected to show result of calculation with the signal input part of display module.
Described power module is comprised of lithium battery (omit and do not draw), management of charging and discharging circuit A2 and voltage conversion circuit A3, described management of charging and discharging circuit comprises the light emitting diode D6 of charging management chip U3 (can select BQ2057C), indicating operating status, the VCC pin of charging management chip and COMP pin are connected with the positive pole of charger voltage output terminal, the BAT pin is connected with lithium battery anode with the output voltage to lithium battery samples, cathode of lithium battery ground connection, STAT pin resistance in series R11, ground connection after light emitting diode D6, the CC pin is connected with the transistorized base stage of PNP, the SNS pin is connected with the emitter of PNP transistor Q3, TS pin and thermo-sensitive resistor R12, (or the temperature sensor carried with lithium battery is connected in the R13 connection, routine techniques), the transistorized emitter resistance in series of PNP R9, after R10, with the positive pole of charger voltage output terminal, be connected, the transistorized collector of PNP is connected with lithium battery anode, described voltage conversion circuit comprises a low pressure difference linear voltage regulator U4 (can select LP2985), and the Vin pin of this low pressure difference linear voltage regulator is connected with lithium battery anode, and the Vout pin is powered to one-chip computer module.When charging management chip U3 detects cell voltage lower than 4.2V, can point out charging, or automatically control PNP transistor Q3 conducting, battery is charged; When cell voltage is 4.2V, charging management chip U3 controls the cut-off of PNP transistor, stops charging.
In described one-chip computer module, single-chip microcomputer U2 (can select ATMEGAL16L) is connected with LCD display by Wiring port J4, wherein, the base stage of the PD4 pin connecting triode Q1 of single-chip microcomputer, the collector of triode Q1 is connected with No. 20 pins of Wiring port J4, the PB0-PB7 pin of single-chip microcomputer sequentially is connected with the 7-14 pin of Wiring port J4, and the PC5-PC7 pin of single-chip microcomputer sequentially docks (conventional connected mode) with the 4-6 pin of Wiring port J4.
Described touch screen module comprises that a touch-screen U6 (selecting resistive touch screen) and touch-screen drive chip U5 (selecting ADS7843), the X+ pin of described touch-screen, X-pin, Y+ pin, Y-pin drive X+ pin, X-pin, Y+ pin, Y-pin on chip to be connected with touch-screen respectively, touch-screen drive chip the DCLK pin ,/CS pin, DIN pin, BUSY pin, DOUT pin sequentially be connected with the PC0-PC4 pin of single-chip microcomputer, touch-screen driving chip /the PEN pin is connected (conventional connected mode) with the PD2 pin of single-chip microcomputer.
Also have in figure, stablize the three-terminal voltage regulator U1 (can select LM431) of single-chip microcomputer operating voltage.
Be applicable to a kind of jumping fiber length calculation method of above-mentioned hand-held jumping fiber length calculator, comprise the following steps:
A, manual observation, obtain the A port that needs jumping fiber to connect and port numbers, reel number, group number and the light of B port and always join the frame numbering;
Each row's light is always joined in frame has several light always to join frame, and (or from right to left) sequentially numbers 1-n from left to right; Each light is always joined in frame 9 groups of integrated disks, and the group number of every group of integrated disk is sequentially 1-9 from top to bottom; 6 integrated disks are arranged in every group of integrated disk, and the reel number of each integrated disk is sequentially 1-6 from top to bottom; Each integrated disk has several ports, and by serial number from left to right, the port numbers of high order end is 1 (integrated disk had in Fig. 7 has 12 ports, and port numbers is sequentially 1-12);
B, always join with the light of A port the light that frame numbering deducts the B port and always join the frame numbering, take absolute value, obtain JiaNum;
When same light is always joined in frame jumping fiber, the light of A port is always joined frame numbering and the light of B port and is always joined frame and number identically, and subtracting each other rear JiaNum is 0; When two adjacent light are always joined between frame jumping fiber, the light of A port and B port is always joined after the frame numbering is subtracted each other and is taken absolute value, and JiaNum is 1; Always join frame and m light while always joining between frame jumping fiber at n light, JiaNum takes absolute value after n-m;
C, deduct the group number of B port by the group number of A port, take absolute value, obtain NM;
D, by the A port that obtains and port numbers, the reel number of B port, and above-mentioned the calculating JiaNum and the following jumping fiber length computation of the NM substitution formula that obtain obtain the length of jumping fiber:
ChangDu=1900+(840×JiaNum)+(NM ×224)+[(SSoutnum-1)×22]-[(SSLieoutnum-1)×22]+[(SSinnum-1)×26]-[(SSLieinnum-1)×26];
Wherein, ChangDu: jumping fiber length;
1900: fundamental length;
The reel number of SSoutnum:A port;
The port numbers of SSLieoutnum:A port;
The reel number of SSinnum:B port;
The port numbers of SSLieinnum:B port.
Below illustrate described jumping fiber length computation formula: as shown in Figure 7, calculate the 4th port of 3rd group 2nd dish of jumping fiber in a frame, jump to the jumping fiber length of the 8th port of the 5th group of the 3rd dish; : JiaNum=0, NM=|3-5|=2, Ssoutnum=2, SSLieoutnum=4, Ssinnum=3, SSLieinnum=8, the substitution formula:
ChangDu=1900+(840×JiaNum)+(NM ×224)+((SSoutnum-1)×22)-((SSLieoutnum-1)×22)+((SSinnum-1)×26)-((SSLieinnum-1)×26)=1900+(840×0)+(2×224)+((2-1)×22)-((4-1)×22)+((3-1)×26)-((8-1)×26)=2174mm。
The calculating process of above-mentioned formula can realize by software, and software is write in the single-chip microcomputer that rear burning advances above-mentioned hand-held jumping fiber length calculator by the ordinary procedure personnel.Single-chip microcomputer receives the laggard row operation of each parameter of manually being inputted at touch-screen by operating personnel, then result is presented on LCD display.