CN106569925A - On/off stability test module and on/off stability test method - Google Patents

On/off stability test module and on/off stability test method Download PDF

Info

Publication number
CN106569925A
CN106569925A CN201611004507.XA CN201611004507A CN106569925A CN 106569925 A CN106569925 A CN 106569925A CN 201611004507 A CN201611004507 A CN 201611004507A CN 106569925 A CN106569925 A CN 106569925A
Authority
CN
China
Prior art keywords
circuit
industrial computer
time
shutting down
switching
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
Application number
CN201611004507.XA
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.)
HUIZHOU DAYAWAN NORTH CHINA INDUSTRY CONTROL INDUSTRIAL Co Ltd
Original Assignee
HUIZHOU DAYAWAN NORTH CHINA INDUSTRY CONTROL INDUSTRIAL Co Ltd
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 HUIZHOU DAYAWAN NORTH CHINA INDUSTRY CONTROL INDUSTRIAL Co Ltd filed Critical HUIZHOU DAYAWAN NORTH CHINA INDUSTRY CONTROL INDUSTRIAL Co Ltd
Priority to CN201611004507.XA priority Critical patent/CN106569925A/en
Publication of CN106569925A publication Critical patent/CN106569925A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]

Abstract

The invention provides an on/off stability test module and an on/off stability test method. The test module comprises a main control circuit, and a level detection circuit, a 232 communication circuit and a relay circuit connected with the main control circuit, wherein the level detection circuit is connected with an ON/OFF key of an industrial computer mainboard; the communication circuit is connected with an RS-232 serial port of the industrial computer mainboard through a serial port connection line; the relay circuit is further connected with an alternating-current power supply and a power interface of the industrial computer mainboard; and the main control circuit controls power supply of the industrial computer mainboard by controlling the relay circuit. By use of an intelligent hardware circuit, the industrial computer mainboard can be subjected to multi-mode on/off stability testing without attended operation, so that the labor cost is greatly reduced, different test environments can be simulated, and the stability of the industrial computer mainboard can be repeatedly tested; and the test module and the test method are low in cost, simple in operation and high in practicality, and have the advantages of powerful functions, outstanding anti-interference capability, high stability and high universality.

Description

A kind of switching on and shutting down stability test module and its method of testing
Technical field
The present invention relates to industrial computer field tests, more particularly, to switching on and shutting down stability test module and its test Method.
Background technology
Industrial computer mainboard frequently encounters open and close machine repeatedly or the various complex situations of power-off illegally, researches and develops test phase, The machine of the open and close repeatedly stability of industrial computer and power-off illegally adaptability need to be tested, adopt manually survey at present The mode of examination, repeated switching and power-off illegally operation are carried out to industrial computer, its stability are tested, so that it is determined that the property of computer Can, to put into production there is provided guarantee information, but manually testing cost is of a relatively high, and efficiency value is relatively low, especially It is that, in the face of different test environments and burn-in test, artificial being even more is wasted time and energy.
The content of the invention
In view of this, the technical problem to be solved in the present invention is to provide a kind of unattended switching on and shutting down stability test mould Block and its method of testing.
To solve above-mentioned technical problem, the technical scheme that the present invention is provided is:A kind of switching on and shutting down stability test module, bag Include governor circuit, and the level circuit for detecting of connection governor circuit, 232 communicating circuits and relay circuit, the level is detectd Slowdown monitoring circuit is used to connect the ON/OFF keys of industrial computer mainboard, and the communicating circuit connects industrial computer master by serial port connecting wire The RS-232 serial ports of plate, the relay circuit is also connected with the power interface of alternating current power supply and industrial computer mainboard, governor circuit By power supply of the control relay circuit control to industrial computer mainboard.
Also include setting and the display circuit of state of the display test pattern of connection governor circuit, and be provided and selected The key circuit of test pattern.
A kind of switching on and shutting down stability test method, in being applied to switching on and shutting down stability test module, start is sent out automatically Send rs 232 serial interface signal program to copy in the startup item of industrial computer operating system, switching on and shutting down circulation pattern and power-off illegally control are set Molding formula, is tested industrial host computer by the different switching on and shutting down circulation pattern of selection or power-off illegally control model, Test result is fed back to into switching on and shutting down stability test module, and is shown in display screen.
The switching on and shutting down circulation pattern and power-off illegally control model of arranging is included from exchange electric-opening to triggering start The very first time, the second time of alternating current that reopens is cut to from alternating current, is received rs 232 serial interface signal and is judged start whether success The 3rd time, power-off illegally pattern enter the 4th time and the circulation start number of times first threshold of application software trial operation Parameter setting.
The switching on and shutting down circulation pattern includes that supreme electricity opens pattern, DOS certainly from the pattern that opens, WINDOWS incoming calls under WINDOWS Lower one or more opened certainly from the pattern that opens and DOS incoming calls without incoming call in pattern.
Switching on and shutting down stability test method according to claim 5, it is characterised in that:It is supreme under the WINDOWS Electricity opens pattern and comprises the following steps certainly:
S11. alternating current power supply is opened, the start of industrial computer mainboard is triggered by level circuit for detecting after the very first time;
S12. industrial computer works into operating system, rs 232 serial interface signal is sent automatically to 232 communicating circuits, if not having in the 3rd time Rs 232 serial interface signal then time out program is received, failure is shown;
Rs 232 serial interface signal is sent to governor circuit, the triggering industry of governor circuit control level circuit for detecting by S13.232 communicating circuits Computer main board shuts down;
S14. after the completion of shutting down, governor circuit detects the level of ON/OFF keys by level circuit for detecting, when detecting low level When, alternating current power supply is disconnected by relay circuit, return to step S11 after the second time of setting, if detecting high level, Time out program, shows failure.
Switching on and shutting down stability test method according to claim 5, it is characterised in that:The WINDOWS incoming calls are certainly The pattern of opening is comprised the following steps:
S21. alternating current power supply, industrial computer mainboard Auto Power On are opened;
S22. industrial computer works into operating system, rs 232 serial interface signal is sent automatically to 232 communicating circuits, if not having in the 3rd time Rs 232 serial interface signal then time out program is received, failure is shown;
Rs 232 serial interface signal is sent to governor circuit, the triggering industry of governor circuit control level circuit for detecting by S23.232 communicating circuits Computer main board shuts down;
S24. after the completion of shutting down, governor circuit detects the level of ON/OFF keys by level circuit for detecting, when detecting low level When, alternating current power supply is disconnected by relay circuit, return to step S21 after the second time of setting, if detecting high level, Time out program, shows failure.
Pattern is opened under the DOS certainly without incoming call to comprise the following steps:
S31. alternating current power supply is opened, the start of industrial computer mainboard is triggered by level circuit for detecting after the very first time;
S32. industrial computer works into operating system, rs 232 serial interface signal is sent automatically to 232 communicating circuits, if not having in the 3rd time Rs 232 serial interface signal then time out program is received, failure is shown;
Rs 232 serial interface signal is sent to governor circuit by S33.232 communicating circuits, and governor circuit receives rs 232 serial interface signal and judges to start shooting into Work(;
S34. industrial computer automatic shutdown, after the completion of shutdown, governor circuit disconnects alternating current power supply by relay circuit, in setting The second time after return to step S31.
The DOS incoming calls open pattern and comprise the following steps certainly:
S41. alternating current power supply, industrial computer mainboard Auto Power On are opened;
S42. industrial computer works into operating system, rs 232 serial interface signal is sent automatically to 232 communicating circuits, if not having in the 3rd time Rs 232 serial interface signal then time out program is received, failure is shown;
Rs 232 serial interface signal is sent to governor circuit by S43.232 communicating circuits, and governor circuit is received and pass through after rs 232 serial interface signal level Circuit for detecting triggering industrial computer mainboard shutdown;
S44. after the completion of shutting down, governor circuit disconnects alternating current power supply by relay circuit, returns after the second time of setting Step S41.
The power-off illegally control model is comprised the following steps:
S51. alternating current power supply, industrial computer mainboard Auto Power On are opened;
S52. start shooting postindustrial computer trial operation application software, record start number of times judges whether start number of times reaches the first threshold Value, is that stopping is tested and shows that test is completed, otherwise into step S42;
S53. industrial computer automatic shutdown, governor circuit disconnects alternating current power supply by relay circuit, in the second time of setting Return to step S41 afterwards.
Start sends the RS-232 serial ports that rs 232 serial interface signal program is the postindustrial computer main board of control start and opens from trend automatically Shutdown stability test module sends the instruction of serial ports character string.
Compared with prior art, the invention has the advantages that:
The present invention provides a kind of switching on and shutting down stability test module and its method of testing, by using Intelligent hardware circuit, carries out After being simply provided, can survey without the stability of the artificial switching on and shutting down with regard to realizing carrying out industrial computer mainboard various modes on duty Examination;Cost of labor, the different test environments of simulation are substantially reduced, the stability of industrial computer mainboard is tested repeatedly, while low cost It is honest and clean, simple to operate, practical.With powerful, capacity of resisting disturbance protrusion, stability, the advantage of highly versatile.
Description of the drawings
Fig. 1 is the switching on and shutting down stability test modular structure schematic diagram of the embodiment of the present invention 1.
Fig. 2 is the governor circuit circuit diagram of the switching on and shutting down stability test module of the embodiment of the present invention 1.
Fig. 3 is 232 communicating circuit circuit diagrams of the switching on and shutting down stability test module of the embodiment of the present invention 1.
Fig. 4 is the level circuit for detecting circuit diagram of the switching on and shutting down stability test module of the embodiment of the present invention 1.
Fig. 5 is the display circuit circuit diagram of the switching on and shutting down stability test module of the embodiment of the present invention 1.
Fig. 6 is the key circuit circuit diagram of the switching on and shutting down stability test module of the embodiment of the present invention 1.
Fig. 7 is the relay circuit circuit diagram of the switching on and shutting down stability test module of the embodiment of the present invention 1.
Fig. 8 is that supreme electricity opens model process figure certainly under switching on and shutting down stability test method WINDOWS of the embodiment of the present invention 2.
Fig. 9 is that switching on and shutting down stability test method WINDOWS of the embodiment of the present invention 3 incoming call opens model process figure certainly.
Figure 10 is to open model process figure certainly without incoming call under switching on and shutting down stability test method DOS of the embodiment of the present invention 4.
Figure 11 is that switching on and shutting down stability test method DOS of the embodiment of the present invention 5 incoming call opens model process figure certainly.
Figure 12 is the switching on and shutting down stability test method power-off illegally control model flow chart of the embodiment of the present invention 6.
Specific embodiment
For the ease of it will be appreciated by those skilled in the art that carrying out further to the present invention below in conjunction with accompanying drawing and embodiment Describe in detail.
Embodiment 1
As shown in Fig. 1~7, a kind of switching on and shutting down stability test module is connected between industrial host computer and alternating current power supply, bag Include governor circuit, and the level circuit for detecting of connection governor circuit, 232 communicating circuits, relay circuit, display circuit and press Key circuit, the level circuit for detecting is used to connect the ON/OFF keys of industrial computer mainboard, and the communicating circuit is connected by serial ports Wiring connects the RS-232 serial ports of industrial computer mainboard, and the relay circuit is also connected with alternating current power supply and industrial computer mainboard Power interface, governor circuit controls the power supply to industrial computer mainboard by control relay circuit, and display circuit is used to show The setting of test pattern and state, key circuit is used to that test pattern to be provided and selected.
Open industrial computer and Windows operating system is installed, start is sent rs 232 serial interface signal program automatically and copies behaviour to In making system start-up item.Start send automatically RS-232 serial ports that rs 232 serial interface signal program is the postindustrial computer main board of control start from Trend switching on and shutting down stability test module sends the instruction of serial ports character string.By level circuit for detecting and industrial computer mainboard ON/OFF keys are connected, and 232 communicating circuits are connected to the RS-232 serial ports of industrial computer mainboard by serial port connecting wire, tested The 220V attaching plugs of industrial computer mainboard are connected on the Three-hole socket of relay circuit, and the test jack of module is connected on In 220V supply sockets.To establishing by cable in module after machine, show that test pattern is arranged in LCD screen by display circuit, by pressing Key circuit is configured to each test pattern, and button can be increased or decreased selecting not by key circuit after being provided with Same test pattern, after Dietary behavior, sends instruction control relay and is turned on and off, so as to control exchange by governor circuit Whether is the access of power supply, and alternating current power supply adopts 220V alternating currents, is sent by governor circuit and is instructed, and control level circuit for detecting is touched Industrial computer mainboard startup and shutdown are sent out, after start, industrial computer sends Serial Port Information to 232 communicating circuits, 232 communications automatically Circuit sends Serial Port Information to governor circuit, and governor circuit is received and judge whether after Serial Port Information start normally.
Embodiment 2
As shown in Fig. 8~12, a kind of switching on and shutting down stability test method is automatic by start based on the hardware configuration in embodiment 1 Send rs 232 serial interface signal program to copy in the startup item of industrial computer operating system, switching on and shutting down circulation pattern and power-off illegally are set Control model, is surveyed by the different switching on and shutting down circulation pattern of selection or power-off illegally control model to industrial host computer Examination, by test result switching on and shutting down stability test module is fed back to, and is shown in display screen.Wherein, switching on and shutting down circulation is set Pattern and power-off illegally control model include from exchange electric-opening to the very first time of triggering start, from alternating current being cut to again The second time of alternating current is opened, is received rs 232 serial interface signal and is judged start whether successful 3rd time, the entrance of power-off illegally pattern 4th time of application software trial operation and the parameter setting of circulation start number of times first threshold.Wherein, switching on and shutting down cyclic module It is next from the pattern that opens and DOS without sending a telegram here under pattern, DOS from opening that formula opens pattern, WINDOWS incoming calls certainly including supreme electricity under WINDOWS Electricity is from one or more opened in pattern.
As shown in figure 8, the present embodiment selects supreme electricity under WINDOWS, and, from pattern is opened, its test process is:Select Supreme electricity is from pattern is opened under WINDOWS, clicks on and determines that button enters this pattern, first setting option into the pattern be " AcON2DcON TIME ", that is, arrange the very first time, is defaulted as 5S, and maximum can be arranged 999 seconds, can press by increasing or reducing Key is increased and decreased.This is provided that the time from exchange electric-opening to triggering ON/OFF key starts.After setting the time, press Determination key determines.Into next setting option " AC OFF2ON TIME ", that is, the second time was set, 5S is defaulted as, maximum can be arranged 999 seconds, this was provided that alternating current from being cut to time for reopening;Then 3rd time, i.e., 232 communication electricity are set Road receives the time of rs 232 serial interface signal, and the present embodiment is set to 5 minutes.After the setup, click on determination key to determine, into survey Examination.Governor circuit opens ac power switch to electricity on industrial computer mainboard by relay circuit;In the very first time of setting After arriving, main control chip sends trigger and starts shooting to industrial computer mainboard ON/OFF keys by level circuit for detecting, industrial computer Mainboard start enters operating system.Industrial computer mainboard is entered after operating system work, rs 232 serial interface signal is sent automatically and passes through serial ports 232 communicating circuits of switching on and shutting down stability test module are sent data to, 232 communicating circuits are to connect in 5 minutes in the 3rd time Receive industrial computer mainboard to have been enter into after the signal of operating system, industrial computer mainboard ON/OFF is triggered by level circuit for detecting Key shuts down.If not receiving rs 232 serial interface signal in 5 minutes, time out program, display screen shows start failure, if in normal situation Under, after the completion of off-mode, governor circuit detects the ON/OFF key 5V level of industrial computer mainboard by level circuit for detecting, if Detect as high level, then time out program, display screen shows shutdown failure;If detecting is low level, disconnected by relay circuit AC alternating current power supplys.After the second time of setting reaches, governor circuit opens ac power switch, on industrial computer mainboard Electricity.After the very first time of setting arrives, governor circuit sends trigger to industrial computer mainboard ON/ by signal detection circuit OFF keys are started shooting, and the start of industrial computer mainboard enters operating system, into loop test.
In test process, " SUCCESS 00000 " record switching on and shutting down number of success that LCD screen shows, the lower right corner " AC ON " is then record switching on and shutting down current state.AC ON represent opening alternating current power supply, and DC ON represent triggering start, and DC OK are represented Starting-up signal is received, DC OFF represent triggering shutdown, and AC OFF represent disconnection alternating current.If if start process serial ports goes out Existing problem, then show COM_ERR, if PS2 mainboard 5V signal detections go wrong, shows that PS2_ERR is every and mistake occurs The situation of mistake, module will stop, and no longer down test.
Embodiment 3
As shown in figure 9, the present embodiment difference from Example 2 is, the present embodiment selects WINDOWS incoming calls to open pattern certainly, Its test process is:Select WINDOWS incoming calls from the pattern that opens, click on and determine that button enters this pattern, into the first of the pattern Individual setting option is " AC OFF2ON TIME ", that is, arranged for the second time, is defaulted as 5S, and maximum can be arranged 999 seconds, and this sets What is put is alternating current from being cut to time for reopening;Then 3rd time, i.e. 232 communicating circuits are set and receive serial ports letter Number time, the present embodiment is set to 5 minutes.After the setup, click on determination key to determine, into test.Governor circuit leads to Cross relay circuit and open ac power switch to electricity on industrial computer mainboard;Industrial computer Auto Power On, industrial computer mainboard Start enters operating system.Industrial computer mainboard is entered after operating system work, rs 232 serial interface signal is sent automatically and is sent by serial ports To 232 communicating circuits of switching on and shutting down stability test module, 232 communicating circuits are to receive in 5 minutes in the 3rd time to data Industrial computer mainboard is had been enter into after the signal of operating system, is triggered industrial computer mainboard ON/OFF keys by level circuit for detecting and is closed Machine.If not receiving rs 232 serial interface signal in 5 minutes, time out program, display screen shows start failure, if under normal conditions, closes After the completion of machine state, governor circuit disconnects AC alternating current power supplys by relay circuit.After the second time of setting reaches, master control Circuit opens ac power switch, to electricity on industrial computer mainboard.Industrial computer Auto Power On, industrial computer mainboard start is entered Operating system, into loop test.
Embodiment 4
As shown in Figure 10, the present embodiment difference from Example 2 is that the present embodiment selects to open pattern certainly without incoming call under DOS, Its test process is:Select under DOS without incoming call from the pattern that opens, click on and determine that button enters this pattern, into the first of the pattern Individual setting option is " AcON2DcON TIME ", that is, arrange the very first time, is defaulted as 5S, and maximum can be arranged 999 seconds, can be by increasing Plus or reduce button increased and decreased.This is provided that the time from exchange electric-opening to triggering ON/OFF key starts.If After setting the time, determine by determination key.Into next setting option " AC OFF2ON TIME ", that is, the second time was set, is defaulted as 5S, maximum can be arranged 999 seconds, and this is provided that alternating current from being cut to time for reopening;When then arranging the 3rd Between, i.e. 232 communicating circuits receive the time of rs 232 serial interface signal, and the present embodiment is set to 5 minutes.After the setup, click on true Key determination is determined, into test.Governor circuit opens ac power switch to electricity on industrial computer mainboard by relay circuit; After the very first time of setting arrives, main control chip sends trigger to industrial computer mainboard ON/OFF keys by level circuit for detecting Start, industrial computer mainboard start enters operating system.Industrial computer mainboard is entered after operating system work, and serial ports is sent automatically Signal sends data to 232 communicating circuits of switching on and shutting down stability test module by serial ports, and 232 communicating circuits are at the 3rd Between receive industrial computer mainboard in i.e. 5 minutes and have been enter into after the signal of operating system, by the triggering industry of level circuit for detecting Computer main board ON/OFF keys shut down.If not receiving rs 232 serial interface signal in 5 minutes, time out program, display screen shows start failure, if Under normal conditions, after the completion of off-mode, governor circuit disconnects AC alternating current power supplys by relay circuit.The of setting After two times reached, governor circuit opens ac power switch, to electricity on industrial computer mainboard.Arrive in the very first time of setting Afterwards, governor circuit sends trigger and starts shooting to industrial computer mainboard ON/OFF keys by signal detection circuit, industrial computer master Plate start enters operating system, into loop test.
Embodiment 5
As shown in figure 11, the present embodiment difference from Example 2 is that the present embodiment selects WINDOWS incoming calls to open pattern certainly, Its test process is:Select WINDOWS incoming calls from the pattern that opens, click on and determine that button enters this pattern, into the first of the pattern Individual setting option is " AC OFF2ON TIME ", that is, arranged for the second time, is defaulted as 5S, and maximum can be arranged 999 seconds, and this sets What is put is alternating current from being cut to time for reopening;Then 3rd time, i.e. 232 communicating circuits are set and receive serial ports letter Number time, the present embodiment is set to 5 minutes.After the setup, click on determination key to determine, into test.Governor circuit leads to Cross relay circuit and open ac power switch to electricity on industrial computer mainboard;Industrial computer Auto Power On, industrial computer mainboard Start enters operating system.Industrial computer mainboard is entered after operating system work, rs 232 serial interface signal is sent automatically and is sent by serial ports To 232 communicating circuits of switching on and shutting down stability test module, 232 communicating circuits are to receive in 5 minutes in the 3rd time to data Industrial computer mainboard is had been enter into after the signal of operating system, is triggered industrial computer mainboard ON/OFF keys by level circuit for detecting and is closed Machine.If not receiving rs 232 serial interface signal in 5 minutes, time out program, display screen shows start failure, if under normal conditions, closes After the completion of machine state, governor circuit disconnects AC alternating current power supplys by relay circuit.After the second time of setting reaches, master control Circuit opens ac power switch, to electricity on industrial computer mainboard.Industrial computer Auto Power On, industrial computer mainboard start is entered Operating system, into loop test.
Embodiment 6
As shown in figure 12, the present embodiment difference from Example 2 is that the present embodiment selects power-off illegally control model, its Test process is:Power-off illegally control model is selected, is clicked on and is determined that button enters this pattern, first into the pattern is arranged Item is " AC OFF2ON TIME ", that is, arranged for the second time, is defaulted as 5S, and maximum can be arranged 999 seconds, and this is provided that Alternating current is from being cut to time for reopening;Then first threshold is set, i.e. circulation start number of times, the present embodiment is set to 500 times.After the setup, click on determination key to determine, into test.Governor circuit opens alternating current power supply by relay circuit Switch to electricity on industrial computer mainboard;Industrial computer Auto Power On, the automatic trial operation application software of industrial computer, record start time Number, judges whether start number of times reaches 500 times, is, stopping is tested and shows that test is completed, otherwise industrial computer automatic shutdown, After the completion of off-mode, governor circuit disconnects AC alternating current power supplys by relay circuit.It is main after the second time of setting reaches Control circuit opens ac power switch, to electricity on industrial computer mainboard.Industrial computer Auto Power On, the automatic trial operation of industrial computer Application software simultaneously records start number of times, into loop test.
Pattern in five in above-described embodiment 2~6, can take turns current test, or select one or more of which pattern as needed Tested.
It is above the wherein specific implementation of the present invention, its description is more concrete and detailed, but can not therefore manage Solution is the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from On the premise of present inventive concept, some deformations and improvement can also be made, these obvious alternative forms belong to this Bright protection domain.

Claims (10)

1. a kind of switching on and shutting down stability test module, it is characterised in that:Including governor circuit, and the level of connection governor circuit Circuit for detecting, 232 communicating circuits and relay circuit, the level circuit for detecting is used to connect the ON/OFF of industrial computer mainboard Key, the communicating circuit connects the RS-232 serial ports of industrial computer mainboard by serial port connecting wire, and the relay circuit also connects The power interface of alternating current power supply and industrial computer mainboard is connect, governor circuit is controlled to industrial computer master by control relay circuit The power supply of plate.
2. switching on and shutting down stability test module according to claim 1, it is characterised in that:Also include connection governor circuit Show the setting of test pattern and the display circuit of state, and the key circuit that test pattern is provided and selected.
3. a kind of switching on and shutting down stability test method, the switching on and shutting down stability test module being applied to described in claim 1 or 2 In, it is characterised in that:Start is sent rs 232 serial interface signal program automatically to copy in the startup item of industrial computer operating system, is arranged Switching on and shutting down circulation pattern and power-off illegally control model, by selecting different switching on and shutting down circulation patterns or power-off illegally control mould Formula is tested industrial host computer, and test result is fed back to into switching on and shutting down stability test module, and is shown in display screen Show.
4. switching on and shutting down stability test method according to claim 3, it is characterised in that:The setting switching on and shutting down cyclic module Formula and power-off illegally control model include from exchange electric-opening to the very first time of triggering start, are cut to from alternating current and open again Open alternating current the second time, receive rs 232 serial interface signal judge start whether successful 3rd time, power-off illegally pattern is entered should The 4th time and the parameter setting of circulation start number of times first threshold with software trial operation.
5. switching on and shutting down stability test method according to claim 4, it is characterised in that:The switching on and shutting down circulation pattern bag Include under WINDOWS it is supreme electricity from open pattern, WINDOWS incoming call from open under pattern, DOS without incoming call from open pattern and DOS incoming call from Open one or more in pattern.
6. switching on and shutting down stability test method according to claim 5, it is characterised in that:Supreme electricity under the WINDOWS Comprise the following steps from the pattern of opening:
S11. alternating current power supply is opened, the start of industrial computer mainboard is triggered by level circuit for detecting after the very first time;
S12. industrial computer works into operating system, rs 232 serial interface signal is sent automatically to 232 communicating circuits, if not having in the 3rd time Rs 232 serial interface signal then time out program is received, failure is shown;
Rs 232 serial interface signal is sent to governor circuit, the triggering industry of governor circuit control level circuit for detecting by S13.232 communicating circuits Computer main board shuts down;
S14. after the completion of shutting down, governor circuit detects the level of ON/OFF keys by level circuit for detecting, when detecting low level When, alternating current power supply is disconnected by relay circuit, return to step S11 after the second time of setting, if detecting high level, Time out program, shows failure.
7. switching on and shutting down stability test method according to claim 5, it is characterised in that:The WINDOWS incoming calls are opened certainly Pattern is comprised the following steps:
S21. alternating current power supply, industrial computer mainboard Auto Power On are opened;
S22. industrial computer works into operating system, rs 232 serial interface signal is sent automatically to 232 communicating circuits, if not having in the 3rd time Rs 232 serial interface signal then time out program is received, failure is shown;
Rs 232 serial interface signal is sent to governor circuit, the triggering industry of governor circuit control level circuit for detecting by S23.232 communicating circuits Computer main board shuts down;
S24. after the completion of shutting down, governor circuit detects the level of ON/OFF keys by level circuit for detecting, when detecting low level When, alternating current power supply is disconnected by relay circuit, return to step S21 after the second time of setting, if detecting high level, Time out program, shows failure.
8. switching on and shutting down stability test method according to claim 5, it is characterised in that:Open certainly without incoming call under the DOS Pattern is comprised the following steps:
S31. alternating current power supply is opened, the start of industrial computer mainboard is triggered by level circuit for detecting after the very first time;
S32. industrial computer works into operating system, rs 232 serial interface signal is sent automatically to 232 communicating circuits, if not having in the 3rd time Rs 232 serial interface signal then time out program is received, failure is shown;
Rs 232 serial interface signal is sent to governor circuit by S33.232 communicating circuits, and governor circuit receives rs 232 serial interface signal and judges to start shooting into Work(;
S34. industrial computer automatic shutdown, after the completion of shutdown, governor circuit disconnects alternating current power supply by relay circuit, in setting The second time after return to step S31.
9. switching on and shutting down stability test method according to claim 5, it is characterised in that:The DOS incoming calls open pattern certainly Comprise the following steps:
S41. alternating current power supply, industrial computer mainboard Auto Power On are opened;
S42. industrial computer works into operating system, rs 232 serial interface signal is sent automatically to 232 communicating circuits, if not having in the 3rd time Rs 232 serial interface signal then time out program is received, failure is shown;
Rs 232 serial interface signal is sent to governor circuit by S43.232 communicating circuits, and governor circuit is received and pass through after rs 232 serial interface signal level Circuit for detecting triggering industrial computer mainboard shutdown;
S44. after the completion of shutting down, governor circuit disconnects alternating current power supply by relay circuit, returns after the second time of setting Step S41.
10. switching on and shutting down stability test method according to claim 4, it is characterised in that:The power-off illegally controls mould Formula is comprised the following steps:
S51. alternating current power supply, industrial computer mainboard Auto Power On are opened;
S52. start shooting postindustrial computer trial operation application software, record start number of times judges whether start number of times reaches the first threshold Value, is that stopping is tested and shows that test is completed, otherwise into step S42;
S53. industrial computer automatic shutdown, governor circuit disconnects alternating current power supply by relay circuit, in the second time of setting Return to step S41 afterwards.
CN201611004507.XA 2016-11-15 2016-11-15 On/off stability test module and on/off stability test method Pending CN106569925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611004507.XA CN106569925A (en) 2016-11-15 2016-11-15 On/off stability test module and on/off stability test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611004507.XA CN106569925A (en) 2016-11-15 2016-11-15 On/off stability test module and on/off stability test method

Publications (1)

Publication Number Publication Date
CN106569925A true CN106569925A (en) 2017-04-19

Family

ID=58542302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611004507.XA Pending CN106569925A (en) 2016-11-15 2016-11-15 On/off stability test module and on/off stability test method

Country Status (1)

Country Link
CN (1) CN106569925A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109803139A (en) * 2019-01-07 2019-05-24 四川天邑康和通信股份有限公司 XPON terminal and set-top box Power Cycle test macro and test method
CN109800115A (en) * 2019-01-22 2019-05-24 山东华芯半导体有限公司 A kind of method of simple realization batch SSD power failure test
CN109828877A (en) * 2019-01-22 2019-05-31 山东华芯半导体有限公司 A kind of batch system disk SSD power failure test method based on mainboard
CN109840171A (en) * 2019-01-22 2019-06-04 山东华芯半导体有限公司 A kind of simple SSD power failure test method
CN110716835A (en) * 2019-10-14 2020-01-21 深圳忆联信息系统有限公司 Mobile mark automatic testing method and device and computer equipment
CN110955573A (en) * 2019-11-21 2020-04-03 芯发威达电子(上海)有限公司 Control method for computer mainboard test fixture
CN111831498A (en) * 2020-07-17 2020-10-27 浪潮商用机器有限公司 Power failure test method, device and equipment
CN113569228A (en) * 2021-07-27 2021-10-29 杭州信雅达科技有限公司 Detection apparatus for automatic start-up of cipher machine is shut down
CN113608947A (en) * 2021-08-11 2021-11-05 芯河半导体科技(无锡)有限公司 Test system for automatically restarting and checking stability of ONU (optical network Unit) after power failure
CN115425618A (en) * 2022-10-24 2022-12-02 东莞市森威电子有限公司 Automatic shutdown circuit of non-resilient switch
CN115587001A (en) * 2022-12-12 2023-01-10 深圳华北工控软件技术有限公司 Automatic startup and shutdown testing method and system
CN115909674A (en) * 2023-02-13 2023-04-04 成都秦川物联网科技股份有限公司 Alarm and gas meter linkage method based on intelligent gas and Internet of things system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040108518A1 (en) * 2002-03-29 2004-06-10 Seiko Epson Corporation Electronic device, method for driving the electronic device, electro-optical device, and electronic equipment
CN1670711A (en) * 2004-03-17 2005-09-21 联想(北京)有限公司 System for detecting mainboard power supply
CN102375766A (en) * 2010-08-16 2012-03-14 鸿富锦精密工业(深圳)有限公司 On-off test device and method for electronic device
CN102479120A (en) * 2010-11-22 2012-05-30 鸿富锦精密工业(深圳)有限公司 Startup/shutdown test system and startup/shutdown test method
US20120187969A1 (en) * 2011-01-25 2012-07-26 Hamilton Sundstrand Corporation Built-in test for an overvoltage protection circuit
CN203465715U (en) * 2013-09-09 2014-03-05 上海斐讯数据通信技术有限公司 Automatic startup and shutdown test system
CN205301910U (en) * 2016-01-07 2016-06-08 郑州捷安高科股份有限公司 Open power -off control device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040108518A1 (en) * 2002-03-29 2004-06-10 Seiko Epson Corporation Electronic device, method for driving the electronic device, electro-optical device, and electronic equipment
CN1670711A (en) * 2004-03-17 2005-09-21 联想(北京)有限公司 System for detecting mainboard power supply
CN102375766A (en) * 2010-08-16 2012-03-14 鸿富锦精密工业(深圳)有限公司 On-off test device and method for electronic device
CN102479120A (en) * 2010-11-22 2012-05-30 鸿富锦精密工业(深圳)有限公司 Startup/shutdown test system and startup/shutdown test method
US20120187969A1 (en) * 2011-01-25 2012-07-26 Hamilton Sundstrand Corporation Built-in test for an overvoltage protection circuit
CN203465715U (en) * 2013-09-09 2014-03-05 上海斐讯数据通信技术有限公司 Automatic startup and shutdown test system
CN205301910U (en) * 2016-01-07 2016-06-08 郑州捷安高科股份有限公司 Open power -off control device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109803139A (en) * 2019-01-07 2019-05-24 四川天邑康和通信股份有限公司 XPON terminal and set-top box Power Cycle test macro and test method
CN109800115A (en) * 2019-01-22 2019-05-24 山东华芯半导体有限公司 A kind of method of simple realization batch SSD power failure test
CN109828877A (en) * 2019-01-22 2019-05-31 山东华芯半导体有限公司 A kind of batch system disk SSD power failure test method based on mainboard
CN109840171A (en) * 2019-01-22 2019-06-04 山东华芯半导体有限公司 A kind of simple SSD power failure test method
CN110716835A (en) * 2019-10-14 2020-01-21 深圳忆联信息系统有限公司 Mobile mark automatic testing method and device and computer equipment
CN110716835B (en) * 2019-10-14 2024-04-02 深圳忆联信息系统有限公司 Mobile mark automatic test method, device and computer equipment
CN110955573B (en) * 2019-11-21 2023-06-30 芯发威达电子(上海)有限公司 Control method for computer motherboard test fixture
CN110955573A (en) * 2019-11-21 2020-04-03 芯发威达电子(上海)有限公司 Control method for computer mainboard test fixture
CN111831498A (en) * 2020-07-17 2020-10-27 浪潮商用机器有限公司 Power failure test method, device and equipment
CN111831498B (en) * 2020-07-17 2023-09-01 浪潮商用机器有限公司 Power-off test method, device and equipment
CN113569228A (en) * 2021-07-27 2021-10-29 杭州信雅达科技有限公司 Detection apparatus for automatic start-up of cipher machine is shut down
CN113608947A (en) * 2021-08-11 2021-11-05 芯河半导体科技(无锡)有限公司 Test system for automatically restarting and checking stability of ONU (optical network Unit) after power failure
CN115425618A (en) * 2022-10-24 2022-12-02 东莞市森威电子有限公司 Automatic shutdown circuit of non-resilient switch
CN115587001A (en) * 2022-12-12 2023-01-10 深圳华北工控软件技术有限公司 Automatic startup and shutdown testing method and system
CN115909674A (en) * 2023-02-13 2023-04-04 成都秦川物联网科技股份有限公司 Alarm and gas meter linkage method based on intelligent gas and Internet of things system

Similar Documents

Publication Publication Date Title
CN106569925A (en) On/off stability test module and on/off stability test method
CN104242463B (en) A kind of electric power remote monitoring and control system based on GPRS and monitoring method
CN105788227A (en) Electricity consumption information acquisition system fault diagnosis equipment
CN100478910C (en) Server and correlative method for providing hardware diagnostic information
CN101175285A (en) Automatic testing method and system for mobile phone software
CN101017451A (en) Method and system for controlling insertion and extraction of USB on television
CN105088648A (en) Washing machine control system and washing machine
CN110397109A (en) Method of controlling security, device, system and the excavator of complete automatically controlled excavator
CN102854423A (en) Method for testing starting reliability of equipment
CN205751223U (en) Power information acquisition system failure diagnosis apparatus
CN104240493A (en) Detection equipment and detection method for single-phase carrier module of intelligent meter
CN106507403A (en) The control method of wireless network module and control device
CN107169388A (en) Realize the automatization test system and method for testing of SIM card hot plug function
CN207566648U (en) A kind of elevator door loop detector of rear opening elevator
CN202694146U (en) Testing apparatus and testing system of air conditioner unit
CN102915265A (en) BMC (baseboard management controller) loop test method and system
CN104991846B (en) The switching system and method for a kind of working mode of mobile terminal
CN105048629B (en) The hard pressing plate anti-misoperation warning system of relay protection
CN206281921U (en) The positioner of failure in cabinet control loop
CN106776193B (en) The virtual measuring method of apparatus for monitoring power supply slave failure
CN109766227A (en) The test method of server test system and its switch
CN107947739A (en) A kind of photovoltaic panel fault location system and method based on switch matrix
CN207588113U (en) Network interface plug-in and pull-off device and network interface insert-pull detection system
CN207689589U (en) All-electronin interlocks hardware intelligent test system
CN202798004U (en) Intelligent compound switch

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination