CN218215919U - Intelligent power on and power off testing device based on serial port text real-time detection fault - Google Patents

Intelligent power on and power off testing device based on serial port text real-time detection fault Download PDF

Info

Publication number
CN218215919U
CN218215919U CN202221798608.XU CN202221798608U CN218215919U CN 218215919 U CN218215919 U CN 218215919U CN 202221798608 U CN202221798608 U CN 202221798608U CN 218215919 U CN218215919 U CN 218215919U
Authority
CN
China
Prior art keywords
serial port
tested
equipment
power
socket
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.)
Active
Application number
CN202221798608.XU
Other languages
Chinese (zh)
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.)
CETC 52 Research Institute
Original Assignee
CETC 52 Research Institute
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 CETC 52 Research Institute filed Critical CETC 52 Research Institute
Priority to CN202221798608.XU priority Critical patent/CN218215919U/en
Application granted granted Critical
Publication of CN218215919U publication Critical patent/CN218215919U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

The utility model discloses an intelligence break-make electricity testing arrangement based on serial ports text real-time detection trouble, including wiring board, relay control panel and test terminal, wherein: the patch board is provided with at least one socket, and the socket is used for connecting equipment to be tested. The device realizes the electrification of the equipment to be tested through the electric connection operation among the test terminal, the relay patch board and the equipment to be tested, and detects the serial port text information output by the equipment to be tested in real time through the test terminal to judge whether the equipment to be tested has a fault or not, and does not cut off the power when the equipment to be tested has the fault, so that a fault site is kept until an operator finds the fault; the electric connection operation between test terminal, relay plug board and the equipment to be tested in this device is convenient feasible, need not to tear open the machine with the equipment to be tested and takes out stitches, lead wire wiring operation, simplifies the test procedure, improves work efficiency.

Description

Intelligent power on and power off testing device based on serial port text real-time detection fault
Technical Field
The utility model belongs to the failure test field, concretely relates to intelligence break-make electricity testing arrangement based on serial ports text real-time detection trouble.
Background
In the development stage, a plurality of embedded modules or integrated complete equipment occasionally have some functional fault phenomena after the equipment is powered on, and the occurrence of the fault phenomena has certain relevance with the power on and power off of the equipment.
In the prior art, the relay is generally controlled by a test terminal to realize the power on and off of the device to be tested, network test data is sent to the device to be tested after the device to be tested is powered on, a confirmation signal is replied when the device to be tested receives the sent data after the device to be tested is normally started, and whether the device to be tested is normally started is judged by whether the reply confirmation signal is received. However, the scheme cannot judge whether a functional fault occurs after the device to be tested is normally started, and further influences an operator to find the fault. In addition, in the process of testing the equipment to be tested in the prior art, the anode and cathode power supply lines of the equipment to be tested need to be detached and led out to be connected to the relay, the wire detaching and wiring operation is needed, and the using mode is not convenient enough.
SUMMERY OF THE UTILITY MODEL
The utility model aims to solve the problem of proposing in the background art, propose the intelligent break-make electricity testing arrangement based on serial ports text real-time detection trouble.
In order to achieve the above purpose, the utility model adopts the technical proposal that:
the utility model provides an intelligence break-make electricity testing arrangement based on serial ports text real-time detection trouble, including wiring board, relay control panel and test terminal, wherein:
the patch board is provided with at least one socket, and the socket is used for connecting the equipment to be tested.
The relay control panel, including relay and the first serial ports of being connected with test terminal, the electrically conductive connecting wire in the wiring board is connected with the socket through the relay, and under relay contact closed state, the electrically conductive connecting wire of socket and wiring board is closed, and under relay contact off-state, the electrically conductive connecting wire disconnection of socket and wiring board.
The test terminal comprises a trigger unit for triggering the relay contact to be closed or disconnected and a fault judgment unit for receiving a serial port text output by the equipment to be tested, the equipment to be tested comprises a second serial port, the trigger unit is connected with the relay control board through the first serial port, and the judgment unit is connected with the equipment to be tested through the second serial port.
Preferably, the first serial port and the second serial port are both RS232 serial ports.
Preferably, the relay control panel is externally connected with a first power supply.
Preferably, a first plug is arranged on the patch board, and a second power supply is externally connected through the first plug.
Preferably, the device to be tested is provided with a second plug matched with the socket.
Preferably, the test terminal further comprises a setting unit for presetting the test parameters.
Compared with the prior art, the beneficial effects of the utility model are that:
1. the device realizes the electrification of the equipment to be tested through the electric connection operation among the test terminal, the relay patch board and the equipment to be tested, and detects the serial port text information output by the equipment to be tested in real time through the test terminal to judge whether the equipment to be tested has a fault or not, and does not cut off the power when the equipment to be tested has the fault, so that a fault site is kept until an operator finds the fault;
2. the electric connection operation between the test terminal, the relay plug board and the equipment to be tested in the device is convenient and feasible, the equipment to be tested does not need to be dismantled and disconnected, and lead wiring operation is not needed, the test procedure is simplified, and the working efficiency is improved.
Drawings
FIG. 1 is a block diagram of the intelligent power on/off test device for real-time fault detection based on serial port text;
fig. 2 is the utility model discloses intelligence break-make electricity testing arrangement's flow chart based on serial ports text real-time detection trouble.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
As shown in figure 1, intelligence power on-off testing arrangement based on serial ports text real-time detection trouble, including wiring board, relay control panel and test terminal, wherein:
the patch board is provided with at least one socket, and the socket is used for connecting the equipment to be tested.
The relay control panel, including relay and the first serial ports of being connected with test terminal, the electrically conductive connecting wire in the wiring board is connected with the socket through the relay, and under relay contact closed state, the electrically conductive connecting wire of socket and wiring board is closed, and under relay contact off-state, the electrically conductive connecting wire disconnection of socket and wiring board.
The test terminal comprises a trigger unit for triggering the relay contact to be closed or disconnected and a fault judgment unit for receiving a serial port text output by the equipment to be tested, the equipment to be tested comprises a second serial port, the trigger unit is connected with the relay control board through the first serial port, and the judgment unit is connected with the equipment to be tested through the second serial port.
In one embodiment, the first serial port and the second serial port are both RS232 serial ports.
In one embodiment, the relay control board is externally connected with a first power supply.
Specifically, the first power supply is a 12V power adapter.
In one embodiment, the patch board is provided with a first plug, and a second power supply is externally connected through the first plug.
Specifically, the patch board is provided with a 220V/10A three-hole first plug, and the second power supply is 220V alternating current.
In one embodiment, the device under test is provided with a second plug which is matched with the socket.
In one embodiment, the test terminal further comprises a setting unit for presetting the test parameters.
Specifically, the test parameters include an error character of the serial text, a serial number of the first serial port, a serial number of the second serial port, a total number of power-on and power-off cycles of the device to be tested, a waiting time before detection after the device to be tested is powered on, a single detection time of the device to be tested, and a holding time after the device to be tested is powered off.
The relay control panel and the patch board are spliced and assembled into a whole and have a structural part shell with unified encapsulation, the external interface of the whole structural part shell only shows a socket on the patch board and a first serial port outside the relay control panel, and a first plug and a first power supply which are used for supplying power to the relay control panel are arranged on the patch board. The test terminal can be served by a notebook or a PC with a serial port function, and a deployment software environment and a control script are installed on the corresponding notebook or PC. As shown in fig. 1, dc represents direct current and AC represents alternating current.
When the socket is used, a second plug of equipment to be tested is inserted into a socket in the patch board, a first plug of the patch board is connected with 220V alternating current of a second power supply, a relay control panel is powered by a 12V power adapter of the first power supply, a trigger unit of a test terminal is connected to a first serial port of the relay control panel through a serial port line, and a serial port instruction is input to control the on/off of a relay contact (the contact of the relay is in a normally open or normally closed state, namely, the contact is simply understood as that the switch is normally open or normally closed, so that a signal is connected or disconnected, namely, the contact of the relay) of the relay contact (the first power supply is always powered, the relay contact is always in a powered state, and the trigger unit of the test terminal controls the on/off of the relay contact by inputting the serial port instruction to the first serial port), and when the relay contact is in the closed state, a conductive connecting line between the socket and the patch board is closed, namely, the socket is in the powered state; when the relay contact is in a disconnected state, the conducting wire of the socket and the patch board is disconnected, namely the socket is in a power-off state, and therefore the on-off of the equipment to be tested is controlled. The whole power-on and power-off process does not need to perform dismantling and disconnecting and lead wiring operations on the equipment to be tested, so that the operation is convenient and fast, and the working efficiency is improved. The device to be tested outputs the serial port text information through the second serial port, and the judging unit of the testing terminal judges whether the device to be tested breaks down or not by detecting the serial port text information. Before detection, firstly, an error keyword of the serial port text information is set in a script of the test terminal through a setting unit, and a judgment unit of the test terminal compares the error keyword with the obtained serial port text information. The judging unit compares the serial port text with the error characters as follows:
when the serial port text has wrong characters, the judging unit generates an interrupt instruction;
when the serial port text has no error characters, the judging unit does not generate an interruption instruction and continues to receive the next serial port text output by the device to be tested.
The operation steps of the intelligent power-on and power-off test device for detecting faults in real time based on the serial port text are as follows, as shown in fig. 2:
step 1, firstly, setting test parameters in a control script of a test terminal through a setting unit, wherein the test parameters comprise a serial port number (namely the serial port number of a first serial port) of a test terminal electric connection patch board, a serial port number (namely the serial port number of a second serial port) of a test terminal electric connection device to be tested, the total number of power-on and power-off cycles of the device to be tested, the waiting time before detection after the device to be tested is powered on, the single detection time of the device to be tested, the holding time after the device to be tested is powered off, and error keywords of serial port text information (the test parameters are set according to an actual application scene);
step 2, inserting a second plug of the equipment to be tested into a socket in the patch board, connecting a first plug of the patch board with a second power supply, supplying power to a relay control panel through the first power supply, connecting a trigger unit of a test terminal to a first serial port through a serial port line, inputting a serial port instruction to control the closing of a relay contact, and further controlling the socket on the patch board to be electrified so as to control the electrification of the equipment to be tested;
step 3, connecting the second serial port of the device to be tested to the test terminal, and after the waiting time before the detection of the device to be tested after the power-on of the device to be tested is set in the test parameters, continuously acquiring serial port text information output by the second serial port of the device to be tested by a judgment unit of the test terminal, and detecting whether error keywords of the serial port text information set in the test parameters appear or not in real time, wherein the method specifically comprises the following steps:
the method comprises the steps that a judging unit of a test terminal acquires serial port text information output by a second serial port on equipment to be tested at the current moment, the serial port text information is spliced with the serial port text information acquired before to form complete and continuous serial port text information till the current moment, and the judging unit of the test terminal matches the complete and continuous serial port text information with error keywords of the serial port text information set in test parameters. Meanwhile, the serial port text information is printed and displayed on an operation window interface of the test terminal, so that the serial port text information is convenient for an operator to check, and the serial port text information is stored as a text file named at the acquisition moment so as to be convenient for the operator to analyze at a later stage;
step 4, when the serial port text information has wrong keywords, displaying a fault on an operation window interface of the test terminal, when an operator finds that the fault occurs, the test terminal does not control the power-off of the equipment to be tested any more and further keeps a fault site, generating an interrupt instruction by a judgment unit of the test terminal, and stopping a subsequent test flow;
when no wrong keyword appears in the serial port text information, the judging unit of the test terminal does not generate an interruption instruction, and continues to acquire the next serial port text information for detection, namely, the step 3 is skipped to, the acquired serial port text information is spliced and then detected, until the single detection time length of the equipment to be tested set in the test parameters is reached, the triggering unit of the test terminal controls the disconnection of a relay contact through the first serial port, so that the socket of the patch board is controlled to be powered off, and the equipment to be tested is powered off;
and 5, after waiting for the holding time after the power failure of the equipment to be tested, which is set in the test parameters, electrifying the equipment to be tested again, namely skipping to the step 2 to continue the test, ending and quitting the test when the total times of the power on and off circulation of the equipment to be tested, which is set in the test parameters, are reached, and storing the whole test process as a log file by the test terminal, so that the analysis by an operator is facilitated.
The device realizes the electrification of the equipment to be tested through the electric connection operation among the test terminal, the relay patch board and the equipment to be tested, and the serial port text information output by the equipment to be tested is detected in real time through the test terminal to judge whether the equipment to be tested has a fault or not, and the power is not cut off when the equipment to be tested has the fault, so that the fault site is kept until an operator finds the fault; the electric connection operation between the test terminal, the relay plug board and the equipment to be tested in the device is convenient and feasible, the equipment to be tested does not need to be dismantled and disconnected, and lead wiring operation is not needed, the test procedure is simplified, and the working efficiency is improved.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express the more specific and detailed embodiments described in the present application, but should not be understood as the limitation of the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (6)

1. The utility model provides an intelligence break-make electricity testing arrangement based on serial ports text real-time detection trouble which characterized in that: the intelligent power on and power off testing device based on the serial port text real-time detection fault comprises a patch board, a relay control board and a testing terminal, wherein:
the patch board is provided with at least one socket, and the socket is used for connecting equipment to be tested;
the relay control board comprises a relay and a first serial port connected with a test terminal, a conductive connecting wire in the patch board is connected with a socket through the relay, the socket is closed with the conductive connecting wire of the patch board in a relay contact closed state, and the socket is disconnected with the conductive connecting wire of the patch board in a relay contact open state;
the test terminal comprises a trigger unit and a fault judgment unit, wherein the trigger unit triggers the relay contact to be closed or disconnected, the fault judgment unit receives a serial port text output by the equipment to be tested, the equipment to be tested comprises a second serial port, the trigger unit is connected with the relay control panel through the first serial port, and the judgment unit is connected with the equipment to be tested through the second serial port.
2. The intelligent power-on and power-off testing device based on the real-time detection of the faults of the serial port text as claimed in claim 1, characterized in that: the first serial port and the second serial port are both RS232 serial ports.
3. The intelligent power-on and power-off test device for detecting faults in real time based on the serial port text as claimed in claim 1, wherein: the relay control panel is externally connected with a first power supply.
4. The intelligent power-on and power-off test device for detecting faults in real time based on the serial port text as claimed in claim 1, wherein: the patch board is provided with a first plug, and a second power supply is externally connected with the first plug.
5. The intelligent power-on and power-off test device for detecting faults in real time based on the serial port text as claimed in claim 1, wherein: and a second plug matched with the socket is arranged on the equipment to be tested.
6. The intelligent power-on and power-off test device for detecting faults in real time based on the serial port text as claimed in claim 1, wherein: the test terminal also comprises a setting unit for presetting test parameters.
CN202221798608.XU 2022-07-12 2022-07-12 Intelligent power on and power off testing device based on serial port text real-time detection fault Active CN218215919U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202221798608.XU CN218215919U (en) 2022-07-12 2022-07-12 Intelligent power on and power off testing device based on serial port text real-time detection fault

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202221798608.XU CN218215919U (en) 2022-07-12 2022-07-12 Intelligent power on and power off testing device based on serial port text real-time detection fault

Publications (1)

Publication Number Publication Date
CN218215919U true CN218215919U (en) 2023-01-03

Family

ID=84650396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202221798608.XU Active CN218215919U (en) 2022-07-12 2022-07-12 Intelligent power on and power off testing device based on serial port text real-time detection fault

Country Status (1)

Country Link
CN (1) CN218215919U (en)

Similar Documents

Publication Publication Date Title
CN100369410C (en) Method and apparatus for supplying power to external device via Ethernet
CN104932358A (en) Large and medium-sized satellite general emission console based on PXI framework
CN104268041B (en) A kind of Vehicular display device equipment frequently switches on machine automatic closed loop test method
CN111864577B (en) Intelligent electrical cabinet
CN109613348A (en) A kind of high-voltaghe compartment tooling automatic detection device
CN109546741B (en) Self-checking system of storage battery remote maintenance equipment
CN105807155A (en) Testing device and method for power cut and starting of electric devices
CN111398861A (en) 2M cable fault detection circuit
CN107169388A (en) Realize the automatization test system and method for testing of SIM card hot plug function
CN114421581B (en) Control circuit, method and device for backup battery unit and storage system
CN110905733B (en) Become oar cabinet test system
CN218215919U (en) Intelligent power on and power off testing device based on serial port text real-time detection fault
CN104898070B (en) Power supply test method and device
CN109061456A (en) A kind of detection device and detection system
CN207588113U (en) Network interface plug-in and pull-off device and network interface insert-pull detection system
CN106526498A (en) Uninterrupted Power Supply (UPS) self-inspection method and UPS self-inspection circuit
CN207780200U (en) The test system of battery management module
CN107102234B (en) Detection device and method for voltage sampling wire harness of battery module
CN105425149B (en) A kind of AC machine drive system detection device
CN108874601A (en) A kind of method for testing open/close machine and system of mobile terminal
CN105811371B (en) DC motor control system method for diagnosing faults and device
CN115208807A (en) POE switch test system and method
CN113376433A (en) Remote diagnosis and debugging system for alternating-current charging pile and implementation method thereof
CN110943891A (en) Detection apparatus for be used for switch port broadcast storm
CN112688131A (en) Socket with electric quantity counting function and electric quantity management method thereof

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant