A kind of polycore cable automatic test approach and device
Technical field
The invention belongs to measurement mechanism or equipment class.The technical field that relates to comprises polycore cable measuring technology, electronic technology, computer automation testing technology etc.
Background technology
Polycore cable is the signal transmission that is widely used or the important carrier of power transfer.In order to guarantee the reliability of system, when assembling or maintenance cable, must carry out strict test to cable.Compare with the popularity of its application, the method for testing that falls behind receives numerous technician's concern day by day.For a long time, people use multimeter manual test cable always, but this method is not only time-consuming but also require great effort, and accuracy is also poor.Though some automatic testing equipments have been arranged now, mainly there are the following problems for they: (1) adopts integral structure, has limited the usable range of tester.The cable only suitable which state of the art of this class testing device can change (is that tested cable can be movable, two ends can be advantageously connected on the tester) test, the cable that cannot change for state of the art (is that tested cable has been fixed on the workplace, cable two ends distance is far away again, can not be directly connected on the tester), for example pre-buried cable, the naval vessel cable, aircraft cable etc., then need special transit cable that tested cable is connected on the proving installation, different along with tested cable model and length, need to be equipped with a large amount of transit cables, make testing efficiency and reliability reduce greatly, and increased cost.(2) though adopt the branch body structure, the method that needs to be equipped with telecommunication cable or adopt wireless telecommunications.For the cable automatic testing equipment that needs communication cable, when tested cable is longer, also need long telecommunication cable, obviously use very inconvenient; For the method for wireless telecommunications, be subject to the restriction of environment for use, poor anti jamming capability own can be disturbed other communication apparatus of workplace in addition.
Patent " a kind of cable test device and method " (02136551.2) proposes a kind of cable test device of using the JTAG device, its JTAG device A, cable plug A, JTAG device B, cable plug B are installed in the cable test module 2, belong to the cable test device of integral structure.State of the art such as inapplicable pre-buried cable, naval vessel cable, aircraft cable cannot change the test of cable.
What patent " cable tester " (99245623.1) adopted also is integral structure, the cable multi-tap that is connected with tested cable is contained on the same test fixture plate, and state of the art such as also inapplicable pre-buried cable, naval vessel cable, aircraft cable cannot change the test of cable.
Patent " multiple purpose communications cable tester " (96246025.7) proposes the cable tester of one fen body structure, and it is made up of the plane formula relay network and the microsystem thereof at far away, nearly two ends.It needs special telecommunication cable, and the length of telecommunication cable then depends on the length of tested cable, and is for the tested cable of length variations wider range, just very inconvenient during use.
Technical scheme
The present invention seeks to disclose a kind of polycore cable automatic test approach and device, the technical matters that solves is: design a kind of polycore cable auto testing instrument that state of the art such as pre-buried cable, naval vessel cable, aircraft cable cannot change cable that is suitable for, solve this class cable testing equipment complex structure, problem that testing efficiency is low.
The present invention adopts master and slave formula to divide body structure, is made up of main tester (10) and assisted tester (11), and its method of testing is
Step 1: main tester (10) and assisted tester (11) are connected respectively to tested cable two ends, import cable data, promptly import the heart yearn number of tested cable;
Step 2: assisted tester (11) is the locking pair of channels earlier, main tester (10) starts scanning algorithm, mode with communication is carried out the scanning of all passages successively, and will guarantee that main tester (10) can finish the scanning of all passages the locking time of assisted tester this moment (11).
Step 3: judge whether to find telecommunication cable.If find then confirm, and forward the communication measurement mode to by communication mode; If do not find, then assisted tester (11) at first judges whether all tested mistake of all passages, as not, lock with regard to choosing new pair of channels, and repeating step 2, otherwise, then finish test.
Step 4: main tester (10) is told assisted tester (11) the core wire size that next root will be tested in the mode of communication, after both sides confirm, wherein an order wire applies pumping signal for tested heart yearn as concentric line by the stimulating module (303) of assisted tester (11).
Step 5: main tester (10) is measured the electrical quantity of heart yearn by parameter measurement module (203).
Step 6: judge whether all heart yearns were all tested,, then return step 4 as not.
Step 7: end of test (EOT) provides measurement result.
Device of the present invention is:
Comprise two parts: main tester (10) and assisted tester (11), main tester (10) and assisted tester (11) adopt master and slave formula to divide body structure; Between main tester (10) and the assisted tester (11), rely on two good heart yearns of the interior conducting of tested cable as order wire, these two order wires can rely on algorithm to be caught automatically by main tester and assisted tester, when capturing these two order wires, main tester is just automatically finished the test assignment of cable (13) with assisted tester in the mode of communicating by letter.
Main tester (10) mainly comprises master controller (101) and main test adapter (102).The core component of master controller (101) is a dsp chip, relies on the high-speed computation speed of DSP and powerful peripheral circuit function, and the whole test of cable is controlled.Main test adapter has in (102): programmed switch modules A (201), communication module A (202), parameter measurement module (203), cable interface A parts such as (204).
Assisted tester (11) mainly comprises subcontrol (110) and subtest adapter (111).The core component of subcontrol also is a dsp chip.Have in the subtest adapter: programmed switch module B (301), communication module B (302), stimulating module (303), cable interface B parts such as (304).
Communication module A (202) and communication module B (302) realize the communication function between main tester and the assisted tester, programmed switch modules A (201) and programmed switch module B (301) are used for selecting the heart yearn of tested cable, stimulating module is used for applying pumping signal to tested heart yearn, the parameter measurement module realizes the measurement of cable data by measuring pumping signal on the heart yearn, and cable interface A and cable interface B can connect the following cable of 256 cores.
Description of drawings
Fig. 1 is a schematic block diagram of the present invention.
Fig. 2 is the schematic block diagram of main test adapter.
Fig. 3 is the schematic block diagram of subtest adapter.
Fig. 4 is the schematic flow sheet of method of testing of the present invention.
Specific implementation
Provide specific embodiment below in conjunction with accompanying drawing, and further specify purpose of the present invention and characteristics.
In Fig. 1,10 is main tester, and main tester is made up of master controller 101 and main test adapter 102.The core component of master controller 101 is dsp chips, and main test adapter 102 is made up of parts such as programmed switch modules A, communication module A, parameter measurement module, cable interface A.
In Fig. 1,11 is assisted tester, and assisted tester is made up of subcontrol 110 and subtest adapter 111.The core devices of subcontrol 110 also is a dsp chip, and subtest adapter 111 is made up of parts such as programmed switch module B, communication module B, stimulating module, cable interface B.
In Fig. 2, main test adapter 102 is made up of parts such as programmed switch modules A 201, communication module A 202, parameter measurement module 203, cable interface A 204.The programmed switch modules A can adopt relay array, and communication module A can adopt semiduplex RS485 communication mode, and the parameter measurement module can adopt voltage method on the A/D measurement standard resistance, and cable interface A connects an end of tested cable.
In Fig. 3, subtest adapter 111 is made up of parts such as programmed switch module B 301, communication module B302, stimulating module 303, cable interface B 304.Programmed switch module B can adopt relay array, and communication module B can adopt semiduplex RS485 communication mode, and stimulating module can adopt constant current source, and cable interface B connects the other end of tested cable.
During test, an end of tested polycore cable 13 is connected on the cable interface A of main test adapter 102, and the other end is connected on the cable interface B of subtest adapter 111.When beginning test, assisted tester 11 is the locking pair of channels earlier, and main tester 10 carries out the scanning of all passages successively in the mode of communication, and will guarantee that main tester 10 can finish the scanning of all passages the locking time of assisted tester 11 this moment.In case find telecommunication cable, just finish scanning.Deny the person, assisted tester 11 switches to down a pair of passage, and main tester 10 carries out the scanning of all passages successively in the mode of communication again, till finding telecommunication cable.After capturing order wire, main tester 10 is just automatically finished whole test assignment in the mode of communicating by letter with assisted tester 11.Fig. 4 is the process flow diagram of method of testing.
Useful effect
Adopt the cable tester of the method for the invention, have the following advantages: (1) adopts master and slave formula to divide body structure, between main tester and the assisted tester, rely on two good heart yearns of the inner conducting of tested cable, need not special telecommunication cable and transit cable as telecommunication cable.(2) test process automation has improved testing efficiency, has reduced testing expense.(3) simple in structure, volume is little, be easy to carry about with one, reliability height, easy to maintenance.(4) range of application is wide, the test of the immutable cables of state of the art such as the pre-buried cable of particularly suitable, naval vessel cable, aircraft cable.
The present invention utilizes principal and subordinate's machine of separate type to catch out two good heart yearns of conduction status in the tested cable as the communication media between the host and slave processors with measure concentric line.Cancellation connection and public-measurement line, the convenient use.
The present invention designs the dynamic deferred of cable core welding position location, regularly switching, Control on Communication, the preferred scanning software of circuit, and the best a pair of cable of motion capture performance is as communication line and measure concentric line.This technology can realize that the separate type tester does not need common cable, has great convenience for the user.
The present invention is scanning communicating circuit and the resistance measuring circuit that common port designs program-controlled incision, realizes the technical requirement of dynamic scan, kinetic measurement and dynamic data exchange.
The present invention sets up the two-part communication of separate type cable tester with RS-485.RS-485 also can guarantee proper communication when the communication media poor-performing.
The present invention selects novel analog switch (conducting resistance 1 Ω) design sweep circuit for use, and analog switch can improve sweep velocity, improves measuring accuracy, and lowering apparatus weight reaches portable requirement.
The invention provides liquid crystal display, show measurement result, comprise short circuit, open circuit and the cable conducting resistance.The database of cable type, title, numbering, structure is provided.When measuring, cable can select at any time.
The present invention designs and adopts principal and subordinate's machine separate type, has reduced the length of transit cable, reduces the failure rate of testing apparatus, and weight reduction reduces system cost.
The present invention adopts and carries out the seizure of connection based on the scanning algorithm of communication, and the realization polycore cable has been cancelled general test device talk line and public-measurement line from communication test, and convenient the use expanded application.
Embodiment of the invention technical indicator is as follows:
1) cable tester maximum cable core number: 256 cores
2) conducting resistance measurement range: 0.5 Ω~10K Ω
3) measuring speed: 256 core cables, the test duration was not less than 20 seconds (comprising the tie-time)
4) weight: be not more than 2Kg
5) alternating current 220V ± 10%, direct current 9V
6) computer interface: RS-232
7) measuring accuracy: 0.5% (autoscan mode), 1% (concentric line mode) cable interface: various aviation plugs and common connector