CN109753390A - A kind of on-off testing system and method - Google Patents
A kind of on-off testing system and method Download PDFInfo
- Publication number
- CN109753390A CN109753390A CN201711081073.8A CN201711081073A CN109753390A CN 109753390 A CN109753390 A CN 109753390A CN 201711081073 A CN201711081073 A CN 201711081073A CN 109753390 A CN109753390 A CN 109753390A
- Authority
- CN
- China
- Prior art keywords
- module
- test
- computer equipment
- main control
- 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.)
- Pending
Links
Abstract
The present invention provides a kind of on-off testing system, including power module, main control module, setup module, relay module, AC-DC conversion module, detection module, display module and alarm module, setup module is for receiving test command;Relay module is for connecting AC power source;AC-DC conversion module is for inputting computer equipment after converting alternating current to direct current;Detection module is used in computer equipment failure, sends main control module for the fault message of computer equipment;Main control module generates test program, is also used to when receiving fault message, stop test program for parsing test command;Display module is also used to show test result when testing completion for showing test command;Alarm module is used to be prompted when testing completion by sound.It is possible thereby to comprehensive and authenticity the simulation test for carrying out switching on and shutting down test to computer equipment be realized, so that the method for testing open/close machine for computer equipment has better choice.
Description
Technical field
The present invention relates to the field of test technology more particularly to a kind of on-off testing system and methods.
Background technique
In computer production process, test is an important link, and all computer equipments must all pass through this
Link examines the performance issue of the equipment.The switching on and shutting down test of computer main board is also an important ring of computer equipment test
Section.The method of common measuring and calculation machine equipment switching on and shutting down performance is manually operated button and realizes switching on and shutting down, this survey
It is very low to try efficiency.In addition, there are also one is using can the switch circuit breaking power connection of timing realize, such test method without
When method knows whether mainboard is not keyed up during the test.
In addition, being to detect the power-up state of computer main board by detection module, and will test knot there are also a kind of test method
Fruit is sent to control module, and control module is used for after receiving test parameter according to testing result to control switch module
On-off, to control power supply or power-off of the AC power source to computer main board.
The on-off testing system occurred at present has had very big progress in terms of improving testing efficiency, but more
There are also a little deficiencies and improved space in terms of the test of kind mode switch machine and simulation computer equipment real use state.
Summary of the invention
For deficiency existing for existing treatment mechanism, the present invention provides a kind of on-off testing system and method.
On the one hand, the embodiment of the present invention provides a kind of on-off testing system, including power module, main control module, setting
Module, relay module, AC-DC conversion module, detection module, display module and alarm module,
The setup module is connected to the main control module, for receiving test command;
The relay module is connected to the main control module, for connecting AC power source;
The AC-DC conversion module, is connected to the relay module, defeated after direct current for converting alternating current to
Enter computer equipment;
The detection module is connected between the main control module and the computer equipment, in the computer
When equipment fault, the main control module is sent by the fault message of the computer equipment;
The main control module generates test program, is also used to receiving the failure letter for parsing the test command
When breath, stop the test program;
The display module is connected to the main control module, for showing the test command, is also used to complete in test
When, show test result;
The alarm module is connected to the main control module, for being prompted by sound when testing completion.
In on-off testing system provided by the invention, the test command includes test pattern, test mode and survey
Try number, the test pattern includes cut-off switch machine test pattern and button switch machine mode, the test mode include with
Machine time mode or setting time mode.
It is the cut-off switch machine test pattern in the test pattern in on-off testing system provided by the invention
When, after the test macro is started to work, the display module will carry out countdown to each time started and unused time
It has been shown that, and circulation is carried out to switching on and shutting down cycle-index and is shown;When the test program goes to open state, the master control mould
The block control relay module is normally closed, and the conductance for alternating current is made to lead to the AC-DC conversion module, by conversion output
The direct current is directly inputted to the mainboard end of the computer equipment;When the test program goes to off-mode, institute
It states main control module and controls the relay normally open, make the alternating current that can not be conducting to the AC-DC conversion module;If institute
It states computer equipment to break down, the GPIO mouth of the computer equipment exports low level to the detection module, the master control
Module stops the test program according to the fault message.
In on-off testing system provided by the invention, when the test pattern is the button switch machine mode,
The on-off testing system is connected with the button switch end of the computer equipment, after the test macro is started to work,
The display module will carry out countdown to each time started and unused time and show, and follow to switching on and shutting down cycle-index
Ring is shown;When the test program goes to open state, the main control module sends low pulse by the detection module
To the computer equipment, to control the computer equipment booting;It is described when the test program goes to off-mode
Main control module sends low pulse to the computer equipment, to control the computer equipment shutdown by the detection module;
If the computer equipment breaks down, the GPIO mouth of the computer equipment exports low level to the detection module, institute
It states main control module and the test program is stopped according to the fault message.
In on-off testing system provided by the invention, when the test mode is the random time mode, institute
It states main control module to be also used to after the computer equipment works on power, starts timer, counted by the timer
And reset, timer count value is accessed to generate the random switching on and shutting down time.
In on-off testing system provided by the invention, the setup module includes input unit and selecting unit,
The input unit is for receiving the test command from the end PC;
The selecting unit is used to provide multiple keys for user, makes the user by the multiple key to generate
State test command.
In on-off testing system provided by the invention, the power module includes power supply chip, first resistor R1,
Two resistance R2,3rd resistor R3, the 5th resistance R5, the 7th resistance R7, the 8th resistance R8, the 9th resistance R9, the tenth resistance R10,
First capacitor C1, third capacitor C3, the 4th capacitor C4, the 5th capacitor C5, the first inductance L1, wherein
The first pin, second pin and the third pin of the power supply chip connect voltage output via the first inductance L1
Hold VCC5;4th pin of the power supply chip meets the voltage output end VCC5 via the 5th resistance R5;The power supply
5th pin of chip is grounded via the tenth resistance R10;The 6th pin, the 8th pin, the 15th of the power supply chip
Pin, the 16th pin and the 17th pin ground connection;7th pin of the power supply chip is grounded via the 9th resistance R9;
9th pin of the power supply chip is grounded via the 4th capacitor C4;Tenth pin of the power supply chip is via described
Two resistance R2 meet input power VCC12;11st pin of the power supply chip and the 12nd pin connect the input power
VCC12;13rd pin of the power supply chip meets the input power VCC12 via the first resistor R1;The power supply
14th pin of chip is grounded;The first capacitor C1 mono- terminates the input power VCC12, other end ground connection;Described
13rd pin of the three resistance R3 and third capacitor C3 latter termination power supply chip in parallel, other end ground connection;It is described
8th resistance R8 mono- terminates the 7th pin of the power supply chip, another termination voltage output end VCC5;7th electricity
Resistance R7 mono- terminates the 5th pin of the power supply chip, another termination voltage output end VCC5;The 5th capacitor C5 mono-
End ground connection, another termination voltage output end VCC5.
Correspondingly, the embodiment of the present invention also provides a kind of method for testing open/close machine, comprising the following steps:
Step S1: receiving test command, and the test command includes test pattern, test mode and testing time, described
Test pattern includes cut-off switch machine test pattern and button switch machine mode, the test mode include random time mode or
Time mode is set;
Step S2: according to test command, test program is generated;
Step S3: after the test macro is started to work, when the display module will be to each time started and shutdown
Between carry out countdown and show, and circulation is carried out to switching on and shutting down cycle-index and is shown;
Wherein, further comprising the steps of when the test pattern is the cut-off switch machine test pattern:
Step S31: when the test program goes to open state, the main control module controls the relay module
It is normally closed, so that the conductance for alternating current is led to the AC-DC conversion module, the direct current by conversion output is directly inputted to
The mainboard end of the computer equipment;
Step S32: when the test program goes to off-mode, it is normal that the main control module controls the relay
It opens, makes the alternating current that can not be conducting to the AC-DC conversion module;
When the test pattern is the button switch machine mode, the on-off testing system is set with the computer
Standby button switch end is connected, and further comprising the steps of:
Step S31 ': when the test program goes to open state, the main control module passes through the detection module
Low pulse is sent to the computer equipment, to control the computer equipment booting;
Step S32 ': when the test program goes to off-mode, the main control module passes through the detection module
Low pulse is sent to the computer equipment, to control the computer equipment shutdown.
In method for testing open/close machine provided by the invention, further includes:
If the computer equipment breaks down, the GPIO mouth of the computer equipment exports low level to the detection
Module, the main control module stop the test program according to the fault message.
The implementation of the embodiments of the present invention has the following beneficial effects: on-off testing system provided by the invention and method are real
Showed the test of Moltimode switched machine, including analog true environment power cut-off state, that is, random time cut-off switch machine and
The test macro of Button switching on and shutting down, so that having better choice, Ke Yishi for the method for testing open/close machine of computer equipment
Comprehensive and authenticity the simulation test that switching on and shutting down test is now carried out to computer equipment, makes computer equipment manufacturer and survey
Examination personnel have more deep understanding to the stability and reliability of computer equipment.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
It is the schematic diagram for the on-off testing system that one embodiment of the invention provides shown in Fig. 1;
It is the circuit diagram of power module shown in FIG. 1 shown in Fig. 2;
It is the circuit diagram for the selecting unit that one embodiment of the invention provides shown in Fig. 3;
It is the circuit diagram of the key for the selecting unit that one embodiment of the invention provides shown in Fig. 4;
It is the circuit diagram of relay module shown in FIG. 1 shown in Fig. 5.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It is the schematic diagram for the on-off testing system that one embodiment of the invention provides shown in Fig. 1.As shown in Figure 1, the switch
Machine test macro include power module 10, main control module 20, setup module 30, relay module 40, AC-DC conversion module 50,
Detection module 60, display module 70 and alarm module 80,
The setup module is connected to the main control module, for receiving test command;
The relay module is connected to the main control module, for connecting AC power source;
The AC-DC conversion module, is connected to the relay module, defeated after direct current for converting alternating current to
Enter computer equipment;
The detection module is connected between the main control module and the computer equipment, in the computer
When equipment fault, the main control module is sent by the fault message of the computer equipment;
The main control module generates test program, is also used to receiving the failure letter for parsing the test command
When breath, stop the test program;
The display module is connected to the main control module, for showing the test command, is also used to complete in test
When, show test result;
The alarm module is connected to the main control module, for being prompted by sound when testing completion.
In an embodiment of the present invention, the test command includes test pattern, test mode and testing time, the survey
Die trial formula includes cut-off switch machine test pattern and button switch machine mode, and the test mode includes random time mode or sets
Set time mode.
In an embodiment of the present invention, the setup module includes input unit and selecting unit,
The input unit is for receiving the test command from the end PC;
The selecting unit is used to provide multiple keys for user, makes the user by the multiple key to generate
State test command.
Specifically, after this system electrification works, the mode of test can be arranged in tester by two ways.One
Kind is soft operation, and one kind operates to be hard.Wherein, soft operation, which needs to send test command via input unit by the end PC, is given to master
Chip is controlled, main control chip, which has parsed these orders, can just open test job.These orders include: test pattern, i.e. power-off is opened
Shutdown or Button switching on and shutting down;Random time mode or setting power-on time and power-off time, and the number of test etc..
And after these orders are parsed by main control chip, display module can show corresponding information, and tester's confirmation is errorless
Afterwards, confirmation order is retransmited, test macro will start to work.And operate firmly, the manipulation at the end PC is not needed, but passes through test
Key in equipment is tested which kind of to select to open, and obtains the information of power-on time, power-off time and testing time.Most
Eventually, information is tested as soft operation, can all be shown by display module.
It is the circuit diagram for the selecting unit that one embodiment of the invention provides shown in Fig. 3;It is one embodiment of the invention shown in Fig. 4
The circuit diagram of the key of the selecting unit of offer.Under hard operation mode, cut-off switch is selected by way of key switch
Machine and Button power on-off modes.Its core circuit is as shown in Figure 3.When not pressing lower switch, it is disconnected that Choose signal, which is height,
Establish shutdown mode by cable;After pressing lower switch, it is Button switching on and shutting down mode that Choose signal, which is low,.Further, it is grasping firmly
Under operation mode, the setting of switching on and shutting down time and testing time are realized by two groups of four switch keys.Its core circuit figure is such as
Shown in Fig. 4.Wherein, SW1 is used to selection mode, and SW2, SW3 and SW4 are used to that time and number is arranged.
Further, in an embodiment of the present invention, when the test pattern is the cut-off switch machine test pattern,
After the test macro is started to work, the display module will carry out countdown to each time started and unused time and show
Show, and circulation is carried out to switching on and shutting down cycle-index and is shown;When the test program goes to open state, the main control module
It is normally closed to control the relay module, the conductance for alternating current is made to lead to the AC-DC conversion module, by the institute of conversion output
State the mainboard end that direct current is directly inputted to the computer equipment;It is described when the test program goes to off-mode
Main control module controls the relay normally open, makes the alternating current that can not be conducting to the AC-DC conversion module;If described
Computer equipment breaks down, and the GPIO mouth of the computer equipment exports low level to the detection module, the master control mould
Root tuber stops the test program according to the fault message.
Cut-off switch machine is tested, after test macro is started to work, display module will be to each time started and pass
The machine time carries out countdown and shows, and carries out circulation to switching on and shutting down cycle-index and shows, this display be divided into two parts independently of
On display module.In addition, system will make relay normally closed when system goes to open state, conductance for alternating current is set to lead to friendship straight
Conversion module is flowed, then directly inputs mainboard end by conversion output DC power supply;When system goes to off-mode, system
It will make relay normally open, such alternating current can not be conducting to AC-DC conversion module, and computer equipment to be measured in this way is with regard to no-voltage
Input.During this switching on and shutting down, computer equipment is also in operation program, if computer equipment failure can not normal switch
Machine, the specific GPIO mouthfuls of output low level in computer equipment end is to test macro, will after test macro main control chip obtains this information
Shutdown switch machine test program, by locking, switching on and shutting down cycle-index is shown at this time, and display FAIL information, and by enabling bee
The device that rings realizes that long time of alarm is reminded.Finally, there is no abnormal, display module meeting if system completes entire behavioral test
Show SUCCESS, and with the sound of low ring to remind.
Further, in an embodiment of the present invention, described when the test pattern is the button switch machine mode
On-off testing system is connected with the button switch end of the computer equipment, described after the test macro is started to work
Display module will carry out countdown to each time started and unused time and show, and it is aobvious to carry out circulation to switching on and shutting down cycle-index
Show;When the test program goes to open state, the main control module sends low pulse to institute by the detection module
Computer equipment is stated, to control the computer equipment booting;When the test program goes to off-mode, the master control
Module sends low pulse to the computer equipment, to control the computer equipment shutdown by the detection module;If
The computer equipment breaks down, and the GPIO mouth of the computer equipment exports low level to the detection module, the master
It controls module and the test program is stopped according to the fault message.
Button switching on and shutting down are tested, test equipment can be connected with the Button switch terminals of computer equipment, work as system
After work, computer equipment is constantly in power-up state.With the test of cut-off switch machine, after test macro is started to work,
Display module will carry out countdown to each time started and unused time and show, and it is aobvious to carry out circulation to switching on and shutting down cycle-index
Show, this display is divided into two parts independently of on display module.Only when system goes to open state, system can send one
To computer equipment, computer equipment will booting for the low pulse of a 250ms;When system goes to off-mode, system will
The low pulse of a 250ms is retransmited to computer equipment, at this moment computer equipment will shut down.During this switching on and shutting down, meter
Calculate machine equipment also in operation program, if computer equipment failure can not normal switch machine, computer equipment end is GPIO mouthfuls specific
Low level is exported to test macro, after test macro main control chip obtains this information, shutdown switch machine test program will lock
Switching on and shutting down cycle-index is shown at this time, and display FAIL information, and realizes that long time of alarm is reminded by enabled buzzer.Most
Afterwards, if system completes entire behavioral test, there is no exception, display module can show SUCCESS, and with the sound of low ring
Sound is to remind.
Further, in an embodiment of the present invention, when the test mode is the random time mode, the master
Control module is also used to after the computer equipment works on power, and is started timer, is counted and answered by the timer
Position accesses timer count value to generate the random switching on and shutting down time.
Specifically, after system electrification work, start timer, by the continual counting of timer and reset, this
Count value is the switching on and shutting down Selecting time that user specifies, and count value is set as to may have access to variable, since timer is always in work
Make, then being just a kind of random time value for the numerical value that system is read, this has also just simulated true power-off environment.
It is the circuit diagram of power module shown in FIG. 1 shown in Fig. 2;This system input power use+12V Switching Power Supply supplies
Electricity, system operating voltage are+5V, therefore use TPS DC-DC scheme, and completion+12V arrives the conversion of+5V.Wherein core circuit figure
As shown in Figure 2.The power module includes power supply chip, first resistor R1, second resistance R2,3rd resistor R3, the 5th resistance
R5, the 7th resistance R7, the 8th resistance R8, the 9th resistance R9, the tenth resistance R10, first capacitor C1, third capacitor C3, the 4th electricity
Hold C4, the 5th capacitor C5, the first inductance L1, wherein
The first pin, second pin and the third pin of the power supply chip connect voltage output via the first inductance L1
Hold VCC5;4th pin of the power supply chip meets the voltage output end VCC5 via the 5th resistance R5;The power supply
5th pin of chip is grounded via the tenth resistance R10;The 6th pin, the 8th pin, the 15th of the power supply chip
Pin, the 16th pin and the 17th pin ground connection;7th pin of the power supply chip is grounded via the 9th resistance R9;
9th pin of the power supply chip is grounded via the 4th capacitor C4;Tenth pin of the power supply chip is via described
Two resistance R2 meet input power VCC12;11st pin of the power supply chip and the 12nd pin connect the input power
VCC12;13rd pin of the power supply chip meets the input power VCC12 via the first resistor R1;The power supply
14th pin of chip is grounded;The first capacitor C1 mono- terminates the input power VCC12, other end ground connection;Described
13rd pin of the three resistance R3 and third capacitor C3 latter termination power supply chip in parallel, other end ground connection;It is described
8th resistance R8 mono- terminates the 7th pin of the power supply chip, another termination voltage output end VCC5;7th electricity
Resistance R7 mono- terminates the 5th pin of the power supply chip, another termination voltage output end VCC5;The 5th capacitor C5 mono-
End ground connection, another termination voltage output end VCC5.
Specifically, in an embodiment of the present invention, because there are two kinds of operations, when soft operation ,+V5A can give master control
Module for power supply;When hard operation ,+VCC5 powers to main control module.Therefore, using need diode by duplex feeding route every
From to prevent circuit from perfusion phenomenon occur.
Specifically, in an embodiment of the present invention, in the test of cut-off switch machine, the turn-on and turn-off of AC electricity are relied primarily on
The enabled and closing of relay is to complete.Its core circuit is as shown in Figure 5.The firewire of AC electricity is divided into two and is coupled with relay
On PIN13 the and PIN16 foot of device, pass through the enabled foot PIN9 of control relay in this way, so that it may control cut-offfing for AC electricity.
The present invention includes: power module, main control module, input module, display module, relay module, AC-DC conversion
Module, detection module and alarm module, wherein real by RS232 serial ports as master control main module, input module using STC chip
The now communication between the end PC and main control chip, the display module that system is realized by 4 eight segment numeral pipes, relay module use
Relay come realize the on-off of 220V alternating current, AC-DC conversion module realized using AC/DC changeover switch, detection module it is logical
Cross after mainboard GPIO mouthfuls of output informations conversion realized to main control chip, alarm module is shown by display module and buzzer rings
Flute is realized.
On-off testing system provided by the invention and method realize Moltimode switched machine and test, including analog is true
Environment power cut-off state, that is, random time cut-off switch machine and Button switching on and shutting down test macro, so that being set for computer
Standby method for testing open/close machine has better choice, may be implemented to carry out the comprehensive and true of switching on and shutting down test to computer equipment
The simulation test of reality has computer equipment manufacturer and tester more to the stability and reliability of computer equipment
Deep understanding.
Correspondingly, the embodiment of the present invention also provides a kind of method for testing open/close machine, comprising the following steps:
Step S1: receiving test command, and the test command includes test pattern, test mode and testing time, described
Test pattern includes cut-off switch machine test pattern and button switch machine mode, the test mode include random time mode or
Time mode is set;
Step S2: according to test command, test program is generated;
Step S3: after the test macro is started to work, when the display module will be to each time started and shutdown
Between carry out countdown and show, and circulation is carried out to switching on and shutting down cycle-index and is shown;
Wherein, further comprising the steps of when the test pattern is the cut-off switch machine test pattern:
Step S31: when the test program goes to open state, the main control module controls the relay module
It is normally closed, so that the conductance for alternating current is led to the AC-DC conversion module, the direct current by conversion output is directly inputted to
The mainboard end of the computer equipment;
Step S32: when the test program goes to off-mode, it is normal that the main control module controls the relay
It opens, makes the alternating current that can not be conducting to the AC-DC conversion module;
When the test pattern is the button switch machine mode, the on-off testing system is set with the computer
Standby button switch end is connected, and further comprising the steps of:
Step S31 ': when the test program goes to open state, the main control module passes through the detection module
Low pulse is sent to the computer equipment, to control the computer equipment booting;
Step S32 ': when the test program goes to off-mode, the main control module passes through the detection module
Low pulse is sent to the computer equipment, to control the computer equipment shutdown.
In method for testing open/close machine provided by the invention, further includes:
If the computer equipment breaks down, the GPIO mouth of the computer equipment exports low level to the detection
Module, the main control module stop the test program according to the fault message.
Above disclosed is only a preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly
Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the present invention
Benefit requires made equivalent variations, still belongs to the scope covered by the invention.
Claims (9)
1. a kind of on-off testing system, which is characterized in that including power module, main control module, setup module, relay mould
Block, AC-DC conversion module, detection module, display module and alarm module,
The setup module is connected to the main control module, for receiving test command;
The relay module is connected to the main control module, for connecting AC power source;
The AC-DC conversion module, is connected to the relay module, after converting alternating current to direct current based on input
Calculate machine equipment;
The detection module is connected between the main control module and the computer equipment, in the computer equipment
When failure, the main control module is sent by the fault message of the computer equipment;
The main control module generates test program, is also used to receiving the fault message for parsing the test command
When, stop the test program;
The display module is connected to the main control module, for showing the test command, be also used to test complete when,
Show test result;
The alarm module is connected to the main control module, for being prompted by sound when testing completion.
2. on-off testing system according to claim 1, which is characterized in that the test command include test pattern,
Test mode and testing time, the test pattern include cut-off switch machine test pattern and button switch machine mode, the survey
Examination mode includes random time mode or setting time mode.
3. on-off testing system according to claim 2, which is characterized in that opened in the test pattern for the power-off
When shutdown test pattern, after the test macro is started to work, when the display module will be to each time started and shutdown
Between carry out countdown and show, and circulation is carried out to switching on and shutting down cycle-index and is shown;When the test program goes to open state
When, the main control module control relay module is normally closed, and the conductance for alternating current is made to lead to the AC-DC conversion module, passes through
The direct current for crossing conversion output is directly inputted to the mainboard end of the computer equipment;When the test program goes to pass
When machine state, the main control module controls the relay normally open, makes the alternating current that can not be conducting to the AC-DC conversion
Module;If the computer equipment breaks down, the GPIO mouth of the computer equipment exports low level to the detection mould
Block, the main control module stop the test program according to the fault message.
4. on-off testing system according to claim 2, which is characterized in that opened in the test pattern for the button
When shutdown mode, the on-off testing system is connected with the button switch end of the computer equipment, when the test macro
After start-up operation, the display module will carry out countdown to each time started and unused time and show, and follow to switching on and shutting down
Ring number carries out circulation and shows;When the test program goes to open state, the main control module passes through the detection mould
Block sends low pulse to the computer equipment, to control the computer equipment booting;When the test program goes to pass
When machine state, the main control module sends low pulse to the computer equipment by the detection module, by control it is described in terms of
Calculate machine equipment shutdown;If the computer equipment breaks down, the GPIO mouth of the computer equipment exports low level to institute
Detection module is stated, the main control module stops the test program according to the fault message.
5. on-off testing system according to claim 3 or 4, which is characterized in that the test mode be it is described with
When machine time mode, the main control module is also used to after the computer equipment works on power, and starts timer, by described
Timer is counted and is resetted, and accesses timer count value to generate the random switching on and shutting down time.
6. on-off testing system according to claim 1, which is characterized in that the setup module include input unit and
Selecting unit,
The input unit is for receiving the test command from the end PC;
The selecting unit is used to provide multiple keys for user, so that the user is passed through the multiple key to generate the survey
Examination order.
7. on-off testing system according to claim 1, which is characterized in that the power module include power supply chip,
First resistor R1, second resistance R2,3rd resistor R3, the 5th resistance R5, the 7th resistance R7, the 8th resistance R8, the 9th resistance R9,
Tenth resistance R10, first capacitor C1, third capacitor C3, the 4th capacitor C4, the 5th capacitor C5, the first inductance L1, wherein
The first pin, second pin and the third pin of the power supply chip connect voltage output end via the first inductance L1
VCC5;4th pin of the power supply chip meets the voltage output end VCC5 via the 5th resistance R5;The power supply core
5th pin of piece is grounded via the tenth resistance R10;6th pin of the power supply chip, the 8th pin, the 15th are drawn
Foot, the 16th pin and the 17th pin ground connection;7th pin of the power supply chip is grounded via the 9th resistance R9;Institute
The 9th pin for stating power supply chip is grounded via the 4th capacitor C4;Tenth pin of the power supply chip is via described second
Resistance R2 meets input power VCC12;11st pin of the power supply chip and the 12nd pin connect the input power
VCC12;13rd pin of the power supply chip meets the input power VCC12 via the first resistor R1;The power supply
14th pin of chip is grounded;The first capacitor C1 mono- terminates the input power VCC12, other end ground connection;Described
13rd pin of the three resistance R3 and third capacitor C3 latter termination power supply chip in parallel, other end ground connection;It is described
8th resistance R8 mono- terminates the 7th pin of the power supply chip, another termination voltage output end VCC5;7th electricity
Resistance R7 mono- terminates the 5th pin of the power supply chip, another termination voltage output end VCC5;The 5th capacitor C5 mono-
End ground connection, another termination voltage output end VCC5.
8. a kind of method for testing open/close machine, which comprises the following steps:
Step S1: test command is received, the test command includes test pattern, test mode and testing time, the test
Mode includes cut-off switch machine test pattern and button switch machine mode, and the test mode includes random time mode or setting
Time mode;
Step S2: according to test command, test program is generated;
Step S3: after the test macro is started to work, the display module will to each time started and unused time into
Row countdown is shown, and is carried out circulation to switching on and shutting down cycle-index and shown;
Wherein, further comprising the steps of when the test pattern is the cut-off switch machine test pattern:
Step S31: when the test program goes to open state, it is normal that the main control module controls the relay module
It closes, the conductance for alternating current is made to lead to the AC-DC conversion module, the direct current by conversion output is directly inputted to institute
State the mainboard end of computer equipment;
Step S32: when the test program goes to off-mode, the main control module controls the relay normally open, makes
The alternating current can not be conducting to the AC-DC conversion module;
When the test pattern is the button switch machine mode, the on-off testing system and the computer equipment
Button switch end is connected, and further comprising the steps of:
Step S31 ': when the test program goes to open state, the main control module is sent by the detection module
Low pulse is to the computer equipment, to control the computer equipment booting;
Step S32 ': when the test program goes to off-mode, the main control module is sent by the detection module
Low pulse is to the computer equipment, to control the computer equipment shutdown.
9. method for testing open/close machine according to claim 8, which is characterized in that further include:
If the computer equipment breaks down, the GPIO mouth of the computer equipment exports low level to the detection mould
Block, the main control module stop the test program according to the fault message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711081073.8A CN109753390A (en) | 2017-11-06 | 2017-11-06 | A kind of on-off testing system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711081073.8A CN109753390A (en) | 2017-11-06 | 2017-11-06 | A kind of on-off testing system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109753390A true CN109753390A (en) | 2019-05-14 |
Family
ID=66401145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711081073.8A Pending CN109753390A (en) | 2017-11-06 | 2017-11-06 | A kind of on-off testing system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109753390A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245039A (en) * | 2019-05-24 | 2019-09-17 | 深圳微步信息股份有限公司 | A kind of the fool proof test fixture and system of switching on and shutting down test |
CN111665412A (en) * | 2019-12-11 | 2020-09-15 | 重庆芯讯通无线科技有限公司 | Method and system for testing aging of module on/off |
CN111983437A (en) * | 2020-08-25 | 2020-11-24 | 深圳市旗开电子有限公司 | 5G module product GPIO port test circuit and test method |
-
2017
- 2017-11-06 CN CN201711081073.8A patent/CN109753390A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245039A (en) * | 2019-05-24 | 2019-09-17 | 深圳微步信息股份有限公司 | A kind of the fool proof test fixture and system of switching on and shutting down test |
CN111665412A (en) * | 2019-12-11 | 2020-09-15 | 重庆芯讯通无线科技有限公司 | Method and system for testing aging of module on/off |
CN111983437A (en) * | 2020-08-25 | 2020-11-24 | 深圳市旗开电子有限公司 | 5G module product GPIO port test circuit and test method |
CN111983437B (en) * | 2020-08-25 | 2023-09-08 | 深圳市旗开电子有限公司 | 5G module product GPIO port test circuit and test method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103869260B (en) | A kind of power detecting system and method | |
CN109753390A (en) | A kind of on-off testing system and method | |
CN107632219A (en) | A kind of automatic switching test system and its method of testing | |
CN206411199U (en) | Electronic equipment machine ageing tester | |
CN105576453B (en) | A kind of intelligent and safe wiring board and its control method | |
CN210775706U (en) | Feeder automation action logic testing device | |
CN106526457A (en) | Circuit board detection instrument and system | |
CN106324426B (en) | A kind of four wye voltage mutual inductor secondary polarity intelligent testers | |
CN109342867A (en) | On-off electric test device | |
CN110320463A (en) | A kind of device and method for realizing Devices to test intelligence Aging control | |
CN102393699A (en) | Household electricity intelligent centralized control method and control system and controller | |
CN104298125B (en) | Modularization CPCI distributing cabinets | |
CN106707868A (en) | Power control method and power control system for shared experiment instrument | |
CN107145806B (en) | A kind of coded lock based on microcomputer | |
CN103245931B (en) | Power information collecting device electric energy meter metrical pulse simulation system and output intent | |
CN107356882B (en) | A kind of PD power supply product ageing testing method | |
CN101924305A (en) | The master-slave mode socket device of tool sequential control | |
CN206075033U (en) | A kind of intelligent substation sequence debugging emulation equipment based on anti-misoperation locking | |
CN104237838A (en) | Metering working voltage drop automatic test platform and voltage drop modes | |
CN205318217U (en) | Intelligent acquisition terminal | |
CN206400061U (en) | A kind of circuit board detecting instrument and system | |
CN206270709U (en) | Building electromechanical equipment remote short messages control system based on Arduino | |
CN105467849B (en) | The monitoring method and system of intelligent air switch | |
CN205229797U (en) | A intelligent test appearance that is used for function test on cloud air conditioner line | |
CN105137330B (en) | The verification device and its operation method of multiple voltage domain digital circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190514 |
|
WD01 | Invention patent application deemed withdrawn after publication |