The present disclosure relates to test technologies of electronic devices, and particularly to a testing signal generation device and method for testing performance of disc drives.
In a typical method for testing the performance of a disc drive, a remote controller of the disc drive is manually operated to control the disc drive to work in different modes to make a display connected to the disc drive to display different information. For example, an operator can press a stop button, a playback button, a fast-forward button, or a rewind button of the remote controller to control the disc drive to execute corresponding functions. Then, the operator can manually determine whether the disc drive works normally according to the information displayed on the display.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. Modules may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage system. Embodiments of the present disclosure will be described with reference to the drawings.
The signal generating unit 11 generates an activate signal to activate the display device 22 to display the data read from the optical disc, and generates a plurality of pulse signals to control the disc drive 21 to work in predetermined working modes, such as a stop mode, a playback mode, a fast-forward mode, and a rewind mode. The signal generating unit 11 can generate the plurality of pulse signals at regular intervals or irregular intervals. For example, when the testing signal generation device 10 is turned on, the signal generating unit 11 first generates the activate signal, then generates a first pulse signal after a first predetermined time duration, and then generates a second pulse signal after a second predetermined time duration. The activate signal and the plurality of pulse signals are pulse width modulation (PWM) signals generated at intervals. In at least one embodiment, a duty cycle of the PWM signals is 50%.
The signal converting unit 12 coverts the activate signal into a controlling signal and converts the plurality of pulse signals into a plurality of test signals. In at least one embodiment, the controlling signal and the test signals are infrared light signals.
The signal transmitting unit 13 transmits the controlling signal to the display device 22 to control the display device 22 to receive the data from the disc drive 21, and then transmits the test signals to the disc drive 21 at intervals to control the disc drive 21 to read the data from the optical disc within the disc drive 21.
As described above, the testing signal generation device 10 can automatically generate the test signals to test the disc drive 21, which is convenient, and facilitates the user to test the performance of the disc drive 21.
In step 201, the signal generating unit generates an activate signal to activate the display device to display data.
In step 202, the signal converting unit converts the activate signal into a controlling signal. In the embodiment, the controlling signal is an infrared light signal.
In step 203, the signal transmitting unit transmits the controlling signal to the display device to control the display device to receive data from the disc drive.
In step 204, the signal generating unit generates a plurality of pulse signals at regular intervals or at irregular intervals.
In step 205, the signal converting unit converts the plurality of pulse signals into a plurality of test signals. In the embodiment, the test signals are infrared light signals.
In step 206, the signal transmitting unit transmits the plurality of test signals to the disc drive at intervals to control the disc drive to read data from an optical disc within the disc drive, and transmits the data read from the optical disc to the display device. Then, the read data is displayed via the display device.
Although the present disclosure has been specifically described on the basis of the exemplary embodiment thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope the disclosure. Embodiments described herein are examples, and are not intended to limit the following claims.
Number | Date | Country | Kind |
---|---|---|---|
2013102062972 | May 2013 | CN | national |