CN1949183A - AC electric source testing method when main machine board turn on - Google Patents

AC electric source testing method when main machine board turn on Download PDF

Info

Publication number
CN1949183A
CN1949183A CN 200510114017 CN200510114017A CN1949183A CN 1949183 A CN1949183 A CN 1949183A CN 200510114017 CN200510114017 CN 200510114017 CN 200510114017 A CN200510114017 A CN 200510114017A CN 1949183 A CN1949183 A CN 1949183A
Authority
CN
China
Prior art keywords
power supply
system power
relay
microprocessor
electric source
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.)
Granted
Application number
CN 200510114017
Other languages
Chinese (zh)
Other versions
CN100458723C (en
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.)
Lite On Technology Corp
Original Assignee
Lite On Technology Corp
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 Lite On Technology Corp filed Critical Lite On Technology Corp
Priority to CNB2005101140170A priority Critical patent/CN100458723C/en
Publication of CN1949183A publication Critical patent/CN1949183A/en
Application granted granted Critical
Publication of CN100458723C publication Critical patent/CN100458723C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Power Sources (AREA)

Abstract

The invention relates to main-board starting-up alternating current power supply testing method which can be used in main-board, microprocessor and relay. It includes the following steps: setting the micro processor system power supply on/off time; setting count down system power supply on/off time; judging relay current state; if it is on, closing the relay and continuing the first steps; if it is off, executing starting-up power supply testing program of the main-board.

Description

The method of mainboard starting AC electric source testing
Technical field
The present invention relates to a kind of mainboard power supply method of testing, the mainboard starting AC electric source testing method of general input-output unit (GPIO) on particularly a kind of utilization microprocessor and the motherboard.
Background technology
Motherboard need carry out long-time test repeatedly to the power supply test program (Power Sequence) of motherboard design in the development phase, see also Fig. 1, it is the structural representation of known mainboard starting AC electric source testing, comprises motherboard 1, external floppy disk drive (Floppy Drive) 2, external controller 3, communication port (COM Port) 4, IO interface 5, AC power 6, system power supply 7, central processing unit (CPU) 8 and start internal memory 9; At this type of power supply test program (PowerSequence), need to carry out at present by floppy disk 2, external controller 3 and communication port (COM Port) 4.Its executive mode is for working as motherboard 1 through simple start process, after making 3 power supplies of AC power 6 via controllers enter operating system for system power supply 7 and start, operating system in the floppy disk 2 and application program are loaded in the start internal memory 9 and carry out shutdown reciprocal and the program of record number of times, sending interruption (Interrupt) by central processing unit 8 then instructs to communication port 4 and carries out power operations with notification controller 3, outage back controller 3 itself is controlled on time next time by variable resistor, automatically start the operating system again behind the power up and continue to carry out automatic AC electric source testing program, wherein the loss of the alternating current in the Basic Input or Output System (BIOS) setting item (BIOS setup item) (AC Power Loss) is set as energising (Power ON).
The shortcoming of mainboard power supply method of testing more than commonly used can be listed below: (1) need provide the communication port 4 on external floppy disk 2, controller 3 and the motherboard 1, so take up space, its test duration is also longer; (2) when running into no peripherals IO interface (Super IO), this known method promptly can't be implemented; (3) the supported job platform of this known method can't be supported other environment only for DOS, also limits to the application of this known method; (4) carry out this known method and also need additionally write program to join its test procedure; (5) can't show that test zero count, setting and error code also increase the inconvenience in this known method test.
Summary of the invention
Main conception of the present invention is to provide a kind of method of mainboard starting AC electric source testing, be applied to motherboard, reach the relay that is electrically connected with the system power supply of this microprocessor, AC power and this motherboard with this motherboard microprocessor linked, the method for this start AC electric source testing comprises that step is as follows: the system power supply ON/OFF time of (a) setting this microprocessor; (b) countdown this system power supply ON/OFF time; (c) judge the current state of this relay; (d) this current state as this relay of step (c) is to open (ON) state, will close this relay, continues execution in step (b); And (e) as this current state of this relay of step (c) for closing (OFF) state, then carry out the start power supply test program of this motherboard.
According to conception of the present invention, wherein step (b) comprises that also step is as follows: (b1) this microprocessor reads and shows this system power supply ON/OFF time certainly; (b2) start and show countdowning of this system power supply ON/OFF time; (b3) inverse of judging this system power supply ON/OFF time that is carried out at this microprocessor is counted; (b4) this inverse counting as step (b3) is zero, execution in step (c); And (b5) non-vanishing as this inverse counting of step (b3), continue execution in step (b3).
According to conception of the present invention, step (b1) also comprises step; Utilize first display that is connected with this microprocessor to show this system power supply ON/OFF time.
According to conception of the present invention, step (b2) also comprises step; Utilize second display that is connected with this microprocessor to show this inverse counting of this system power supply ON/OFF time.
According to conception of the present invention, this microprocessor system of step (c) is connected with this relay, and continues to detect this current state of this relay.
According to conception of the present invention, has general input and output (GPIO) device that is connected with this microprocessor on this motherboard, and read-only memory device comprises Basic Input or Output System (BIOS) (BIOS), and step (e) also comprises following steps: (e1) open this relay; (e2) provide this AC power via the system power supply of this relay to this motherboard; (e3) test this system power supply of this motherboard; (e4) whether the test of determining step (e3) is finished; (e5) test is interrupted as step (e4), and this system power supply is adjusted in debug, finishes up to debug; And (e6) finish as step (e4) test, this Basic Input or Output System (BIOS) (BIOS) is ordered about this general input and output (GPIO) device and is sent a signal to this microprocessor, notifies this microprocessor to finish this system power supply and tests.
According to conception of the present invention, when this microprocessor when obtaining this signal and know that this power supply test program has been finished, resumes step (b) continues to carry out.
Effect of the present invention and purpose can be carried out more deep understanding by the following example and description of drawings.
Description of drawings
It is mainboard starting alternating current test structural representation commonly used Fig. 1;
Fig. 2 its for the mainboard starting AC electric source testing circuit block diagram of preferred embodiment of the present invention;
Fig. 3 its for the mainboard starting alternating current test method flow diagram of preferred embodiment of the present invention.
Wherein, description of reference numerals is as follows:
1 motherboard, 2 floppy disks
3 controllers, 4 communication port
5 IO interface, 6 AC power
7 system power supplies, 8 central processing units
9 internal memories
Embodiment
Mainboard starting AC electric source testing method of the present invention, can be understood fully by following embodiment explanation, make those skilled in the art can realize the present invention, right embodiments of the invention are not can be limited it by the following example to implement kenel.
See also Fig. 2, it is the mainboard starting AC electric source testing circuit block diagram of preferred embodiment of the present invention, comprises single-chip microcomputer 8051, relay, motherboard, AC power, system power supply, two seven-segment displaies, thumb-acting switch; General input and output (GPIO) device on single-chip microcomputer 8051 and thumb-acting switch, two seven-segment displaies, relay and the motherboards is connected, and relay then is connected with single-chip microcomputer 8051, AC power and system power supply, and system power supply links to each other with motherboard; Thumb-acting switch is used in single-chip microcomputer 8051 setting Single Chip Microcomputer (SCM) system electric power on/off time single-chip microcomputer, and electric capacity contains electric weight and need give the certain hour discharge empty set between shutdown and start in this time taking into account system power supply; Single-chip microcomputer 8051 central position in the AC electric source testing of for this reason starting shooting, be responsible for the stocking system electric power on/off time, the display system electric power on/off time is in a seven-segment display, and the number system electric power on/off time reciprocal, control the ON/OFF of relay simultaneously, also receive motherboard in addition and send a signal and finish smoothly with notice single-chip microcomputer 8051 these start AC electric source testings; The function of relay is just as the channel between AC power and system power supply, it only has under the state of opening (ON), AC power could be powered and be given the system power supply of motherboard, system power supply is powered to motherboard and is carried out boot program and AC electric source testing, when AC electric source testing is finished, send a signal by general input and output (GPIO) device on Basic Input or Output System (BIOS) (BIOS) the (not shown) driving host plate and give single-chip microcomputer 8051 to show notice.
Assembly that dotted line is contained among Fig. 2 and corresponding function thereof are the working range that single-chip microcomputer 8051 is controlled, its substituent that is to say the function of Fig. 1 middle controller, also get rid of simultaneously the needs of floppy disk and communication port, the person of replacing is the existence of general input and output (GPIO) mechanism and relay; Except that structural difference, the function difference of Fig. 2 and Fig. 1 still has 8051 pairs of times of (1) single-chip microcomputer that more accurate control is arranged, not only can read the start AC power ON/OFF time and show the inverse counting of this time, control time counting and the time of determining incident then take place, and can utilize relay that the ON/OFF of AC power is accurately controlled; (2) Basic Input or Output System (BIOS) (BIOS) is to the direct control of general input and output (GPIO) device, and this function is more important on the motherboard that does not possess peripherals IO interface (Super IO); (3) Basic Input or Output System (BIOS) (BIOS) especially can provide the mechanism of progressively debug by one step debug process (single-step diagnostic procedures) to the control of the alternating current loss of chipset to individual chip group and assembly; (4) circuit is to the isolation and the conversion of big voltage/small voltage, because of the existence of relay makes when motherboard shutdown and AC power (110V) when not powering, in the system power supply electric capacity retain surplus electricity still can power small voltage to the operation (3V, 5.5V, 12V) assembly, when the system power supply ON/OFF time expires, the surplus TV university of electric capacity causes and exhausts in principle, open relay this moment, make ac power supply give system power supply, circuit is isolated and conversion in big voltage/small voltage intercropping, guarantee circuit safety.
See also Fig. 3, it is for the mainboard starting alternating current test method flow diagram of preferred embodiment of the present invention; The method may further comprise the steps: (1) is set and the reading system electric power on/off time, in this step, utilizes thumb-acting switch can set required system power supply ON/OFF time single-chip microcomputer in single-chip microcomputer 8051, and single-chip microcomputer 8051 reads this time; Step (2) the display system electric power on/off time, in this step, single-chip microcomputer 8051 with the system power supply ON/OFF time showing that reads in a seven-segment display; (3) countdowning of start-up system electric power on/off time, in this step, intercropping was countdowned when single-chip microcomputer 8051 started its timer to the system power supply ON/OFF; (4) inverse of display system electric power on/off time counting, in this step, single-chip microcomputer 8051 is shown in another seven-segment display with counting reciprocal of real-time system power supply ON/OFF time; (5) inverse of judging the system power supply ON/OFF time is counted, and this step is the logic determines to real-time system electric power on/off time counting reciprocal; (6) counting as system power supply ON/OFF time inverse in the step (5) is not 0, then execution in step (5); (7) be 0 as the counting reciprocal of system power supply ON/OFF time in the step (5), then judge the current state (ON/OFF) of relay; (8) as present relay status for opening (ON), closed relay, and execution in step (3), the consideration of its closed relay is under the situation that AC power is not powered, and the surplus electricity of mainboard system can be used up and/or be discharged after shutdown fully; (9) be to close (OFF) as present relay status, then open relay; (10) provide the system power supply of motherboard through relay with AC power, in this step, relay is already opened, and AC power flows into the system power supply of motherboard automatically and powers to motherboard; (11) system power supply of Test Host plate in this step, is carried out the system power supply test procedure of each chipset and associated component on the motherboard; (12) judge whether the system power supply test is finished, in this step,, finish just be considered as test unless the power supply test of all chipsets and associated component all passes through; (13) test is not finished as step (11), enter the system power supply debug, in this step, the power supply test program rests on idle (idle) state, can utilize the artificial instrument that reaches to detect wrong place and carry out debug and correction, after debug and the correction, break away from idle (idle) state and also get back to step (11), can form one step debug mode (Single-step Diagnostics) basically; (14) test is finished as step (11), and the general input and output (GPIO) that utilize the Basic Input or Output System (BIOS) (BIOS) on the motherboard to order about on the motherboard are installed, and transmit signal and give microprocessor 8051, and the reporting system power supply test is finished; (15) resumes step (3).
In sum, the present invention provides kind of a mainboard starting AC electric source testing method really, this method is utilized external single-chip microcomputer 8051 and external relay, Basic Input or Output System (BIOS) on the motherboard forms a kind of method that does not need communication port and floppy disk to the control of the general input-output unit on the motherboard, so can save test takes up space, need not write extra program in addition can operate, can support the mainboard starting AC electric source testing of different work platform, can show with light emitting diode indicator by single-chip microcomputer 8051 for test mode, fully grasp testing progress, test duration also shortens for it, also be provided at simultaneously the one step debug mode (Single-stepDiagnostics) in the test procedure, can clear and definite isolating problem and progressively solution.
The present invention is thought by present technique personnel Ren Shi craftsman and is to modify as all, the scope of right neither disengaging claim institute desire protection.

Claims (8)

1, a kind of method of mainboard starting AC electric source testing, be applied to motherboard, reach the relay that is electrically connected with the system power supply of this microprocessor, AC power and this motherboard with this motherboard microprocessor linked, the method for this start AC electric source testing comprises that step is as follows:
(a) set and read system power supply ON/OFF time of this microprocessor;
(b) countdown this system power supply ON/OFF time;
(c) judge the current state of this relay;
(d) this current state as this relay of step (c) is an opening, will close this relay, continues execution in step (b); And
(e) this current state as this relay of step (c) is a closed condition, then carries out the start power supply test program of this motherboard.
2, the method for mainboard starting AC electric source testing as claimed in claim 1, wherein step (a) also comprises the steps:
(a1) show this system power supply ON/OFF time.
3, the method for mainboard starting AC electric source testing as claimed in claim 1, wherein step (b) is to comprise that step is as follows:
(b1) start countdowning of this system power supply ON/OFF time;
(b2) show countdowning of this system power supply ON/OFF time;
(b3) inverse of judging this system power supply ON/OFF time that is carried out at this microprocessor is counted;
(b4) this inverse counting as step (b3) is zero, execution in step (c); And
(b5) non-vanishing as this inverse counting of step (b3), continue execution in step (b3).
4, the method for mainboard starting AC electric source testing as claimed in claim 2, wherein step (b1) also comprises a step: utilize first display that is connected with this microprocessor to show this system power supply ON/OFF time.
5, the method for mainboard starting AC electric source testing as claimed in claim 2, wherein step (b2) also comprises a step: utilize second display that is connected with this microprocessor to show this inverse counting of this system power supply ON/OFF time.
6, the method for mainboard starting AC electric source testing as claimed in claim 1, wherein this microprocessor of step (c) is connected with this relay, and continues to detect this current state of this relay.
7, the method for mainboard starting AC electric source testing as claimed in claim 1, wherein has the general input-output unit that is connected with this microprocessor on this motherboard, and read-only memory device comprises Basic Input or Output System (BIOS), and step (e) also comprises following steps:
(e1) open this relay;
(e2) provide this AC power via the system power supply of this relay to this motherboard;
(e3) test this system power supply of this motherboard;
(e4) whether determining step (e3) test is finished;
(e5) test is interrupted as step (e4), and this system power supply is adjusted in debug, finishes up to debug; And
(e6) test is finished as step (e4), and this Basic Input or Output System (BIOS) is ordered about this general input-output unit and sent a signal to this microprocessor, notifies this microprocessor to finish this system power supply test.
8, the method for mainboard starting AC electric source testing as claimed in claim 7, wherein when this microprocessor when receiving this signal and confirm that this system power supply test procedure has been finished, resumes step (b) continue to be carried out.
CNB2005101140170A 2005-10-13 2005-10-13 AC electric source testing method when main machine board turn on Expired - Fee Related CN100458723C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101140170A CN100458723C (en) 2005-10-13 2005-10-13 AC electric source testing method when main machine board turn on

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101140170A CN100458723C (en) 2005-10-13 2005-10-13 AC electric source testing method when main machine board turn on

Publications (2)

Publication Number Publication Date
CN1949183A true CN1949183A (en) 2007-04-18
CN100458723C CN100458723C (en) 2009-02-04

Family

ID=38018707

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101140170A Expired - Fee Related CN100458723C (en) 2005-10-13 2005-10-13 AC electric source testing method when main machine board turn on

Country Status (1)

Country Link
CN (1) CN100458723C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375766A (en) * 2010-08-16 2012-03-14 鸿富锦精密工业(深圳)有限公司 On-off test device and method for electronic device
CN104459565A (en) * 2014-12-02 2015-03-25 广东威创视讯科技股份有限公司 Power source reliability testing equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05108389A (en) * 1991-10-18 1993-04-30 Fujitsu Ltd Method for testing power on/off sequence in non-stop type computer
CN1189757C (en) * 2001-01-15 2005-02-16 华硕电脑股份有限公司 Automatic tester and its method for motherboard
CN1391164A (en) * 2002-06-04 2003-01-15 威盛电子股份有限公司 On-off test method for motherboard of computer
CN2610406Y (en) * 2002-12-11 2004-04-07 技嘉科技股份有限公司 Opening and closedown testing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375766A (en) * 2010-08-16 2012-03-14 鸿富锦精密工业(深圳)有限公司 On-off test device and method for electronic device
CN102375766B (en) * 2010-08-16 2016-05-18 中山市云创知识产权服务有限公司 The on-off test device of electronic installation and method
CN104459565A (en) * 2014-12-02 2015-03-25 广东威创视讯科技股份有限公司 Power source reliability testing equipment

Also Published As

Publication number Publication date
CN100458723C (en) 2009-02-04

Similar Documents

Publication Publication Date Title
US7312605B2 (en) AC power supply testing module and method for booting a main board
CN107193713B (en) FPGA and method for realizing mainboard management control
JP2017224272A (en) Hardware failure recovery system
CN201382850Y (en) Test device for liquid crystal display module
CN101901178A (en) Computer system on-off test device and method
CN102255774A (en) Test system and test method for switch-on and switch-off of communication device as well as fault location method
CN101727368A (en) On/off test method and on/off test system
CN111831488B (en) TCMS-MPU control unit with safety level design
CN109391320A (en) network switch system
CN101770273A (en) Method for realizing energy saving of system with a plurality of central processing units of server and device therefor
CN102737721A (en) Hard disk array on-off testing device and method
TW201241618A (en) Apparatus and method for testing turn on/off of hard disk array
CN106909479A (en) A kind of test device for computer opening/closing
CN100458723C (en) AC electric source testing method when main machine board turn on
US8250409B2 (en) Boot test apparatus and method of computer system
CN201037905Y (en) Minitype steam turbine digital electro-hydraulic controller
CN1220942C (en) Test card for computer
CN109918250A (en) A kind of method, apparatus and readable storage medium storing program for executing of server power supply timing sequence test
CN101196842A (en) Electric power loop test method
CN102902264B (en) Method for testing power window controller
CN108304290A (en) Server power-up state monitors system and method, computer storage and equipment
CN101996119A (en) Temperature automatic measurement system and measurement method
CN109885437A (en) Baseboard management controller BMC, terminal and power-up state diagnotic module, method
KR20090037223A (en) Method and system for power-on self testing after system off, and booting method the same
CN202443330U (en) Combination control unit detector

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090204

Termination date: 20131013