1. Technical Field
The disclosure generally relates to test apparatuses, and particularly to a power-on test apparatus and system for an electronic device.
2. Description of Related Art
A power key of electronic devices, such as a personal computer, a tablet computer, or a server, for example, is electronically connected to a power supply-ON (PS-ON) pin of a motherboard via one wire and a ground pin of the motherboard via a connection. When the electronic device is not powered and the power key is pressed, the power key electronically connects the PS-ON pin to the ground pin. Accordingly, a power supply module of the motherboard detects that the input into the PS-ON pin is low (e.g. logic 0), and powers on the electronic device.
A typical way to test a power-on/power-off performance of the electronic device, is to transmit a command to the power supply module to activate the power supply to power the electronic device. However, the aforementioned process cannot simulate a user pressing the power button to transmit a signal to the power supply module, and thus has an unsatisfactory testing effect.
Therefore, there is room for improvement within the art.
Many aspects of the embodiments can be better understood with reference to the drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the disclosure.
The test apparatus 10 includes a housing 11 (shown in
The setting module 12 includes a plurality of input keys 121 electronically connected to the controller 13. The input keys 121 are spaced on the first panel 111. Manipulation of combinations of the input keys 121 can input a predetermined number of power-on events, and a predetermined power-off period of time. For example, the keys 121 include a menu key, a save key, a page up (addition) key, and a page down (subtraction) key, allowing a user to input the predetermined number of power-on events and the predetermined power-off period of time.
The controller 13 is electronically connected to the activation module 14, the USB connector 15, the display 16, the storage device 17, and the power supply 18. The controller 13 controls a number of times of activation and activation durations of the activation module 14 according to the predetermined number of power-on events and the predetermined power-off period of time, thereby controlling a number of power-on times and power-off durations of the electronic device 30. In other words, the controller 13 controls the activation module 14 to enable the pin PS-ON according to the predetermined number of power-on events.
In the exemplary embodiment, the electronic switch Q1 is an N-channel metal-oxide-semiconductor field-effect transistor (MOSFET), a gate G of the N-channel MOSFET is electronically connected to the controller 13 via the first voltage dividing resistor R1, a source S of the N-channel MOSFET is grounded, and a drain D of the N-channel MOSFET is electronically connected to the relay K1. The second voltage dividing resistor R2 is connected between ground and a node between the first voltage dividing resistor R1 and the gate G of the N-channel MOSFET. The relay K1 is an electromagnetic relay, which includes a coil L, two control terminals land 2, and two connecting terminals 3 and 4. The drain D of the N-channel MOSFET electronically connects the coil L to the power supply 18 via the two control terminals 1 and 2. The two connecting terminals 3 and 4 are connected when a current flows through the coil L. The two connecting terminals 3 and 4 are disconnected when no current flows through the coil L. An anode of the diode D1 is electronically connected to the control terminal 1, a cathode of the diode D1 is electronically connected to the control terminal 2. The diode D1 discharges the coil L when the electronic switch Q1 is switched off.
The first electronic switch Q1 can be an NPN type bipolar junction transistor (BJT) comprising a base, emitter, and collector corresponding to the gate G, the source S and the drain D of the N-channel MOSFET, respectively.
In one embodiment, the pin PS-ON is activated by a low level voltage (logic 0). One of the two connecting terminals 3 and 4 (e.g. the connecting terminal 3 shown in
In another embodiment, the activation module 14 further includes a second cable 143 (shown in
In another embodiment, the pin PS-ON can be activated by a high level voltage (logic 1). At this time, one of the two connecting terminals 3 and 4 is electronically connected to the pin PS-ON via the first cable 141, the remaining terminal is electronically connected to the power supply 18 via a pull-up resistor (not shown). When the two connecting terminals 3 and 4 become connected, the pin PS-ON is sent high (+5V) and is thereby enabled.
The USB connector 15 is positioned on the second panel 113. The USB connector 15 is electronically connected to the electronic device 30 via a USB cable (not shown). The connector 15 electrically connects the controller 13 to the electronic device 30 to provide input/output processing, through a physical connection. The display 16 is positioned on the first panel 111, and displays testing results of the electronic device 30, the predetermined number of power-on events, the predetermined power-off period of time, and actual number of power-on and power-off events. The storage device 17 receives and stores the predetermined number of power-on events and the predetermined power-off period of time from the input module 12 via the controller 13, and records the actual number of power-on and power-off events of the electronic device 30.
When the electronic device 30 has been powered on or has been powered off, the electronic device 30 outputs a power-on confirmation signal or a power-off confirmation signal accordingly. The USB connector 15 receives the power-on confirmation signal and the power-off confirmation signal, which are transmitted to the controller 13. In the exemplary embodiment, when electronic device 30 is powered on and has continued for a predetermined power-on period of time, the electronic device 30 automatically loads a shut down program, to be powered off. The predetermined power-on period of time can be set by programming the electronic device 30, or by inputs from the input module 12, to be transmitted to the electronic device 30 via the controller 13.
In use, the working process of the system 100 can be carried out by, but is not limited to, the following steps. The controller 13 controls the electronic device 30 to be powered on via the activation module 14. After the electronic device 30 is powered on, the electronic device 30 outputs a power-on confirmation signal to the controller 13, the storage device 17 increments the number of power-on events by one. After reaching the predetermined power-on period of time, the electronic device 30 automatically loads a shut down program and transmits a power-off confirmation signal to the controller 13. After the controller 13 receives the power-off confirmation signal and has reached the predetermined power-off period of time, the test apparatus 10 repeats the aforementioned process until the number of power-on events has reached the predetermined number, the test apparatus 10 then finishes the power-on testing of the electronic device 30. If the controller 13 has not received a power-on confirmation signal or a power-off confirmation signal within a certain period of time, the controller 13 determines that the electronic device 30 does not pass the test, and displays the test results.
In the power-on test system 10 for testing the electronic device 30 of the disclosure, the activation module 14 activates the pin PS-ON of the electronic device 30, and a power supply module of the electronic device 30 powers on the electronic device 30 when the power supply module detects that the pin PS-ON is enabled. The activation module 14 thus simulates a power key of the electronic device 30 to activate the pin PS-ON, which provides more accurate test results from the electronic device 30.
It is believed that the exemplary embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages, the examples hereinbefore described merely being preferred or exemplary embodiments of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201210070014.1 | Mar 2012 | CN | national |