The utility model content
The technical matters that the utility model will solve is to overcome the above-mentioned deficiency of prior art; A kind of proving installation of winding displacement socket is provided, and this device realizes that cost is low to the test of the winding displacement web member of multiple joint; Reliability, intelligent degree height, but file records test result.
For solving the problems of the technologies described above, the utility model provides following technical scheme:
A kind of proving installation of winding displacement socket comprises PC, CPLD module, at least two needle sockets, display alarm module; Said PC connects the CPLD module, and one connects the CPLD module input in said at least two needle sockets, and another connects CPLD module output terminal, and said display alarm module connects the CPLD module; Said PC is used to send test command; Said needle socket is used to connect measured piece; Said CPLD module is used to resolve the test command that PC is sent, and accomplishes the test to measured piece, and sends test result information to PC and display alarm module; Said display alarm module receives from the test result information of CPLD module and shows test results.
The proving installation of above-mentioned winding displacement socket also comprises supply module, is used to CPLD module and display alarm module for power supply.
In the proving installation of above-mentioned winding displacement socket, said PC and CPLD module are carried out two-way communication through RS232 communication serial ports.
In the proving installation of above-mentioned winding displacement socket, said display alarm module is a LED display alarm module.
In the proving installation of above-mentioned winding displacement socket, said needle socket is four, the test of the winding displacement web member that support is public to public, female to female, public to female.
Compared with prior art, the beneficial effect of the utility model:
In the proving installation of the winding displacement socket of the utility model, the CPLD module explains that it also selects the survey mode after receiving the test command that PC is sent through the RS232 serial ports, and selected p-wire number can be realized the test to multiple interfaces, saves cost; The CPLD module is sent test result information to PC after accomplishing the test to measured piece, PC file records test result, and test is accomplished by PC control, and intelligent degree is high, good reliability.
Embodiment
Below in conjunction with accompanying drawing and embodiment the utility model is further described.
The embodiment of the utility model is not limited to following examples, all belongs within the protection domain of the utility model in the various variations of making under the prerequisite that does not break away from the utility model aim.
As shown in Figure 1, the circuit structure block diagram of the preferred embodiment of the proving installation of the utility model winding displacement socket comprises PC 3, CPLD module 2, four needle sockets (11,12,13,14), display alarm module 4 and supply modules 5; Said PC 3 connects CPLD module 2; Said needle socket 11 connects CPLD module 2 first input ends; Said needle socket 13 connects CPLD module 2 first output terminals; Said needle socket 14 connects CPLD module 2 second input ends, and said needle socket 12 connects CPLD module 2 second output terminals, and said display alarm module 4 connects CPLD module 2; Said PC 3 is used to send test command; Said four needle sockets (11,12,13,14) are used to connect measured piece, the test of the winding displacement web member that support is public to public, female to female, public to female; Said CPLD module 2 is used to resolve the test command that PC 3 is sent, and accomplishes the test to measured piece, and sends test result information to PC 3 and display alarm module 4; Said display alarm module 4 receives from the test result information of CPLD module 2 and shows test results, and said supply module 5 is used to CPLD module 2 and 4 power supplies of display alarm module, makes its operate as normal.
In this preferred embodiment, said PC 3 is connected through RS232 communication serial ports with CPLD module 2 and carries out two-way communication; Said display alarm module 4 is a LED display alarm module.
CPLD module 2 adopts CPLD (CPLD) to realize the input and output of test signal in this preferred embodiment; Output terminal in the circuit has adopted the output pin of open collector (OC) or open-drain (OD); When in the winding displacement short-circuit line being arranged, also can protect the I/O pin of CPLD device not burnt.Because the I/O of CPLD device is a lot, realizes the connection of 4 interfaces easily, thereby realizes the test of multiple wiring and splicing spare.When the test measured piece, at first connect measured piece through needle socket (11,13) or needle socket (12,14), secondly PC 3 sends corresponding test command through RS232 communication serial ports to CPLD module 2; Afterwards; CPLD module 2 receives the test command that PC 3 is sent through RS232 communication serial ports, resolves it and also selects method of testing, selected p-wire number; Accomplish corresponding test action; Then, test result is passed to PC 3 through RS232 communication serial ports, and show test results through display alarm module 4.
Wherein, CPLD module 2 receives the test command that PC 3 is sent, and resolves it and also selects method of testing; Selected p-wire number, accomplishing corresponding test action specifically is to accomplish like this: CPLD module 2 explains that it also selects test mode after receiving the test command that PC 3 is sent through RS232 communication serial ports; Selected p-wire number, at output port, the data of the selected figure place of output scale-of-two; For example; Export the data of 1,000 0,000 0,000 0,000 0,000 0,000 0,000 0,000 0,000 0000 selected figure place, and 1 in the data are moved right one, up to moving to last position in each clock period; Whether and it is consistent with the data that first output terminal sends to compare the data of receiving through the first input end of needle socket (11,13) connection measured piece on the CPLD module 2; If all signals of test process are all consistent, then winding displacement is qualified, otherwise defective.Whether the data that also can send through the data received through second input end of needle socket (12,14) connection measured piece on the CPLD module 2 relatively and second output terminal consistent winding displacement qualification testing that carries out.
The confirming of the data of the selected figure place of above-mentioned scale-of-two is to confirm according to the specification of various winding displacement products, specifically confirms the figure place of binary data according to the line number of winding displacement.For example, winding displacement line number is 40, and the binary data of then confirming is 1,000 0,000 0,000 0,000 0,000 0,000 0,000 0,000 0,000 0000.
Fig. 2 is the method for testing process flow diagram of the utility model preferred embodiment, explains in detail as follows:
Step S1, whether detect has the test command signal, and CPLD module 2 detects the test command signal that whether has PC 3 to send through RS232 communication serial ports, if do not have, then continues to detect; If have, then jump to step S2.
Step S2; Resolve the test command signal and select test mode; CPLD module 2 explains that it also selects test mode after receiving the test command that PC 3 is sent through RS232 communication serial ports, the figure place of the binary data of specifically confirming to export according to the line number of winding displacement.For example, winding displacement line number is 40, and the binary data of then confirming is 1,000 0,000 0,000 0,000 0,000 0,000 0,000 0,000 0,000 0000.
Step S3 sends the test mode signal, and CPLD module 2 sends to first or second output terminal with the binary data of confirming among the step S2.
Step S4; Receive signal through measured piece and more consistent with the test mode signal; Among the step S3, CPLD module 2 is in the data of the selected figure place of first output terminal output scale-of-two, for example; Export the data of 1,000 0,000 0,000 0,000 0,000 0,000 0,000 0,000 0,000 0000 selected figure place; And in each clock period 1 in the data are moved right one, up to moving to last position, and the data exported of the data received of the first input end of CPLD module 2 and the first output terminal consistent winding displacement qualification testing that carries out whether relatively.
CPLD module 2 also can be exported the data of the selected figure place of above-mentioned scale-of-two at second output terminal, and whether the data that the data of receiving through second input end of CPLD module 2 relatively and second output terminal are exported the consistent winding displacement qualification testing that carries out.
Step S5; Test result is returned PC 3 and is shown through display alarm module 4, if among the step S4 all signals of test process relatively after unanimities all, then winding displacement is qualified; Otherwise it is defective; CPLD module 2 turns back to PC 3 with test result information through RS232 communication serial ports and preserves, and shows EOT through display alarm module 4.
In the proving installation of the winding displacement socket of the utility model, CPLD module 2 explains that it also selects test mode after receiving the test command that PC 3 is sent through the RS232 serial ports, and selected p-wire number can be realized the test to multiple interfaces, saves cost; After the test that CPLD module 2 is accomplished measured piece, send test result information to PC 3, PC 3 file records test results, test is accomplished by PC 3 controls, and intelligent degree is high, good reliability.
Combine accompanying drawing that the embodiment of the utility model is described in detail above; But the utility model is not limited to the foregoing description; In the ken that those of ordinary skills possessed, can also make various variations, these variations all belong within the protection domain of the utility model.