# Patent

## Title
Apparatus and method for inspecting material of an object

## Abstract

A material inspection apparatus includes a light source, a light receiver, a light converter, and a processing unit. The light source is configured to emit light to a surface of an object to be inspected. The light receiver is configured to receive light reflected from the surface of the object. The light converter is configured to convert the light received by the light receiver into an electric current. The processing unit is configured to determine, according to the electric current, a material of the surface of the object.

## Background
FIELD
The subject matter herein generally relates to an apparatus for determining a material of a surface of an object and a method thereof.
BACKGROUND
Generally, power supplies are used for supplying electric power to electronic devices such as computers or servers.



BRIEF DESCRIPTION OF THE DRAWINGS
Implementations of the present technology will now be described, by way of example only, with reference to the attached figures.
FIG. 1 is a block diagram of an embodiment of a material inspection apparatus.
FIG. 2 is a flowchart of an embodiment of a method for inspecting a surface of an object.



DETAILED DESCRIPTION
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures and components have not been described in detail so as not to obscure the related relevant feature being described. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features. The description is not to be considered as limiting the scope of the embodiments described herein.
The term “comprising” means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in a so-described combination, group, series and the like.
FIG. 1 illustrates an embodiment of a material inspection apparatus 100. The material inspection apparatus 100 can include a light source 10, a light receiver 11, a light converter 12, a storage unit 14, and a processing unit 15. The light source 10 can emit light at a predetermined angle to a surface of an object to be inspected. In at least one embodiment, the predetermined angle can be between zero and eighty degrees. The light receiver 11 can receive light reflected from the surface of the object. The light converter 12 can convert the light received by the light receiver 11 into an electric current.
The storage unit 14 can store a reference table listing a plurality of light intensities of the light emitted by the light source 10, a corresponding plurality of electric currents, and a corresponding plurality of materials. Each of the plurality of electric currents corresponds to a corresponding light intensity of the light emitted by the light source 10 at the predetermined angle. The processing unit 15 can determine the material of the surface of the object according to the electric current corresponding to the light received by the light receiver 11. The storage unit 14 can be a permanent storage unit of the material inspection apparatus 100 or be a removable storage unit, such as a removable media card, a universal serial bus drive, or other storage device. The processing unit 15 can be a central processing unit, a microprocessor, or other data processing chip.
In at least one embodiment, the processing unit 15 can display a result according to the reference table. The result can be the material of the surface of the object. In at least one embodiment, the result is displayed on a display device (not shown).
FIG. 2 illustrates a flowchart of an exemplary method for inspecting a surface of an object. The example method is provided by way of example, as there are a variety of ways to carry out the method. The method described below can be carried out using the configurations illustrated in FIG. 1, for example, and various elements of the figure are referenced in explaining the example method. Each block shown in FIG. 2 represents one or more processes, methods, or subroutines carried out in the example method. Furthermore, the illustrated order of blocks is by example only, and the order of the blocks can be changed. Additional blocks can be added or fewer blocks can be utilized, without departing from this disclosure. The example method can begin at block 1.
At block 1, a processing device can control a light source to emit light to a surface of an object to be inspected. In at least one embodiment, the light source can emit light at a predetermined angle to the surface of an object to be inspected. In at least one embodiment, the predetermined angle can be between zero and eighty degrees.
At block 2, a light receiver can receive reflected light from the surface of the object, and a light converter can convert the light received by the light receiver into an electric current.
At block 3, the processing unit can determine a result according to a value of the electric current. The result can be a material of the surface of the object. A storage unit can store a reference table listing a plurality of light intensities of the light emitted by the light source, a corresponding plurality of electric currents, and a corresponding plurality of materials. Each of the plurality of electric currents corresponds to a corresponding light intensity of the light emitted by the light source at the predetermined angle. The processing unit can determine the material of the surface of the object according to the electric current corresponding to the light received by the light receiver.
At block 4, the processing unit can display the result on a display.
The embodiments shown and described above are only examples. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in the detail, including in matters of shape, size and arrangement of the parts within the principles of the present disclosure up to, and including, the full extent established by the broad general meaning of the terms used in the claims.

## Claims

1. An apparatus for inspecting material of an object comprising:
a light source configured to emit light to a surface of the object to be inspected;
a light receiver configured to receive light reflected from the surface of the object;
a light converter configured to convert the light received by the light receiver into an electric current;
a processor coupled to the light source; and
a non-transitory storage unit coupled to the processor and the processor configured to: determine, according to the electric current and a reference table, the material of the surface of the object, wherein the storage unit stores the reference table listing a plurality of light intensities of the light emitted by the light source, a corresponding plurality of materials, and a corresponding plurality of electric currents, the plurality of light intensities and the corresponding plurality of electric currents correspond to the light emitted by the light source at a predetermined angle.

2. The apparatus for inspecting material of an object as in claim 1, wherein the processor determines the material of the surface of the object according to the electric current converted from light emitted at the predetermined angle by the light source.

3. A method for inspecting material of an object applied in the apparatus for inspecting material of an object of claim 1, the method comprising:
controlling, by the processor, the light source to emit light to the surface of the object to be inspected;
receiving, by the light receiver, light reflected from the surface of the object to be inspected;
converting, by the light converter, the light received by the light receiver into an electric current; and
determining, by the processor, the material of the surface of the object according to the reference table, wherein the storage unit stores the reference table listing the plurality of light intensities of the light emitted by the light source, the corresponding plurality of materials, and the corresponding plurality of electric currents, the plurality of light intensities and the corresponding plurality of electric currents correspond to the light emitted by the light source at the predetermined angle.

4. The apparatus for inspecting material of an object as in claim 2, wherein the processor controls the light source to emit light at the predetermined angle.

5. The method for inspecting material of an object as in claim 3 comprising displaying, by the processor, a result, the result being the material of the surface of the object.

6. The method for inspecting material of an object as in claim 3, wherein the light source emits the light at the predetermined angle and at a predetermined intensity to the surface of the object.