[0045] In order to make the above-mentioned features and advantages of the embodiments of the present invention more obvious and understandable, detailed descriptions are given below in conjunction with specific implementations.
[0046] Please refer to figure 1 , Is a schematic diagram of a miniature projector provided in Embodiment 1 of the present invention, and may include:
[0047] The input power identification unit 101 is used to identify the output power of the input power adapter;
[0048] The brightness setting unit 102 is configured to set the brightness of the micro projector according to the output power of the power adapter recognized by the input power recognition unit 101;
[0049] The brightness adjustment unit 103 is configured to adjust the brightness output by the micro projector to the brightness set by the brightness setting unit 102.
[0050] It can be seen that in the embodiment of the present invention, the micro projector can identify the output power of the power adapter, set the brightness according to the output power of the power adapter, and adjust the brightness to the set brightness and output. Therefore, regardless of the output power of the power adapter used by the user, the micro projector can automatically adjust the brightness according to the power of the power adapter, which can not only prevent the performance of the micro projector from being affected due to insufficient output power of the power adapter, but also avoid the power adapter from being overpowered. Safety problems occur during load work, and at the same time, if the output power of the power adapter used by the user does not match the brightness of the micro projector, the user does not need to equip the micro projector with a special power adapter, saving the cost of use.
[0051] Please refer to figure 2 , Is a schematic diagram of a miniature projector provided in the second embodiment of the present invention, which may include:
[0052] The access unit 201 of the power adapter is used to provide power for the micro projector;
[0053] The input power identification unit 101 is used to identify the output power of the power adapter;
[0054] Assume that the output part of the 65-watt power adapter has a grounding resistance, and the output part of the 90-watt power adapter is floating or connected to a high level. When the input power recognition unit 101 detects that the output pin of the power adapter is low, it recognizes that the power of the power adapter is 65 watts. When the input power recognition unit 101 detects that the output pin of the power adapter is floating or high power In normal state, it is recognized that the power of the power adapter is 90 watts.
[0055] The brightness setting unit 102 is used to set the brightness of the light emitting diode of the micro projector according to the output power of the power adapter;
[0056] The brightness of the micro-projector is achieved by turning on three light-emitting diodes of red, green and blue at high frequencies at the same time or separately. By controlling the register of each light-emitting diode, the display brightness of the light-emitting diode can be controlled, that is, after the value of the register of each light-emitting diode is set, the display brightness of the light-emitting diode is fixed. In the embodiment of the present invention, the brightness setting unit 102 is pre-configured with a correspondence table. In the correspondence table, the first set of values of the register corresponds to the first output power, and the second set of values of the register corresponds to the second output power. Provide the brightness of two light-emitting diodes by setting the value of this register. Still taking a power adapter with an output power of 90 watts and a power adapter with an output power of 65 watts as examples, suppose that in the correspondence table, the first set of values in the register corresponds to 90 watts, and the second set of values in the register corresponds to 65 watts. When the identified power adapter is a power adapter with an output power of 90 watts, the brightness setting unit 102 searches the corresponding table and selects the first set of values. When the identified power adapter is a power adapter with an output power of 65 watts, The brightness setting unit 102 looks up the correspondence table and selects the second set of values. For example: assuming that the first set of values of the register are 40, 26, 45, and each register in the register corresponds to the red, green, and blue LEDs, the output brightness of the micro projector is 90 lumens.
[0057] The brightness setting unit 102 can also set the brightness of the light emitting diode in the following manner. The brightness setting unit 102 selects the first set of registers or the second set of registers according to the identified output power. The value of the first set of registers is used to make the display brightness of the light emitting diode in the first state, and the value of the second set of registers is used to make The display brightness of the light emitting diode is in the second state. The brightness setting unit 102 turns on the light-emitting diodes according to different selected registers.
[0058] The brightness adjustment unit 103 is configured to adjust the output brightness of the micro projector to the brightness set by the brightness setting unit 102 and output.
[0059] When the power of the power adapter is 90 watts, the display brightness of the light-emitting diode set by the brightness setting unit 102 is relatively high, and the brightness adjustment unit 103 adjusts the brightness of the micro projector to high lumens (for example, 100 lumens) and outputs. When the power of the power adapter is 65 watts, the display brightness of the light emitting diode set by the brightness setting unit 102 is low, and the brightness adjustment unit 103 adjusts the brightness of the micro projector to a low lumens (for example: 75 lumens) and outputs.
[0060] In the second embodiment of the present invention, the input power source identification unit 101 may include:
[0061] The detection unit 202 is used to detect the output pin of the power adapter;
[0062] The input power identification sub-unit 203 is used to identify that the output power of the power adapter is the first value (for example: 65 watts) when the detection unit 202 detects that the output pin of the power adapter is low, and when the detection unit 202 detects When the output pin of the power adapter is floating or high, it is recognized that the power of the power adapter is the second value (for example, 90 watts).
[0063] The brightness setting unit 102 may include:
[0064] The register value setting unit 204 is configured to set the value of the register of the light emitting diode according to the output power recognized by the recognition unit 101;
[0065] The brightness setting subunit 205 is used to set the brightness of the micro projector according to the value set by the register value setting unit.
[0066] Alternatively, the brightness setting unit 102 may include:
[0067] The switch unit (not shown) is used to select the first set of registers or the second set of registers according to the output power recognized by the input power source identification unit, and the value of the first set of registers is used to make the display brightness of the light emitting diode In the first state, the value of the second set of registers is used to make the display brightness of the light emitting diode in the second state;
[0068] The conduction unit (not shown in the figure) is configured to conduct the light emitting diode according to the first group of registers or the second group of registers selected by the switch unit.
[0069] The brightness adjustment unit 103 may include:
[0070] The first brightness adjustment unit 206 is configured to adjust the brightness output by the micro projector to high lumens according to the brightness of the light emitting diode set by the brightness setting unit 102;
[0071] The second brightness adjustment unit 207 is configured to adjust the brightness output by the micro projector to a low lumen according to the brightness of the light emitting diode set by the brightness setting unit 102.
[0072] The third embodiment of the present invention also provides a portable device, the portable device includes a micro projector, and the portable device includes:
[0073] Input power identification unit for identifying the output power of the power adapter;
[0074] A brightness setting unit, configured to set the brightness of the micro projector according to the output power of the power adapter identified by the input power identification unit;
[0075] The brightness adjustment unit is configured to adjust the brightness output by the micro projector to the brightness set by the brightness setting unit.
[0076] It can be seen that in the embodiment of the present invention, the micro projector can identify the output power of the power adapter, set the brightness according to the output power of the power adapter, and adjust the brightness to the set brightness and output. Therefore, regardless of the output power of the power adapter used by the user, the micro projector can automatically adjust the brightness according to the power of the power adapter, which can not only prevent the performance of the micro projector from being affected due to insufficient output power of the power adapter, but also avoid the power adapter from being overpowered. Safety problems occur during load work, and at the same time, if the output power of the power adapter used by the user does not match the brightness of the micro projector, the user does not need to equip the micro projector with a special power adapter, saving the cost of use.
[0077] Please refer to image 3 , Is a flowchart of a method for adjusting brightness of a micro projector provided in the fourth embodiment of the present invention, which may include the following steps:
[0078] Step 301: Identify the output power of the input power adapter;
[0079] Step 302: Set the brightness according to the output power of the power adapter;
[0080] Step 303: Adjust the output brightness to the set brightness.
[0081] It can be seen that in the embodiment of the present invention, the micro projector can identify the output power of the power adapter, set the brightness according to the output power of the power adapter, and adjust the brightness to the set brightness and output. Therefore, regardless of the output power of the power adapter used by the user, the micro projector can automatically adjust the brightness according to the output power of the power adapter, which can not only prevent the performance of the micro projector from being affected due to insufficient output power of the power adapter, but also avoid the power adapter due to insufficient output power. Overload work causes safety problems. At the same time, if the output power of the power adapter used by the user does not match the brightness of the micro projector, the user does not need to equip the micro projector with a special power adapter, saving the cost of use.
[0082] Please refer to Figure 4 , Is a flowchart of a method for adjusting brightness of a micro projector provided in the fifth embodiment of the present invention, which may include the following steps:
[0083] Step 401: The micro projector detects the output pin of the input power adapter;
[0084] Step 402: When it is detected that the output pin of the power adapter is low, the micro projector recognizes that the power of the power adapter is the first value (for example: 65 watts), and when it is detected that the output pin of the power adapter is floating or high At the level, the micro projector recognizes that the power of the power adapter is the second value (for example: 90 watts);
[0085] Step 403: the micro projector sets the value of the LED register;
[0086] Step 404: The micro projector sets the brightness of the light emitting diode according to the set value;
[0087] Step 405: According to the brightness of the light emitting diode, the micro projector adjusts the output brightness to high lumen and outputs it, or the micro projector adjusts the output brightness to low lumen and outputs it.
[0088] It should be pointed out that the micro projector can also set the brightness of the light-emitting diode in the following ways:
[0089] 1. Select the first set of registers or the second set of registers according to the identified output power. The value of the first set of registers is used to make the display brightness of the light emitting diode in the first state, and the value of the second set of registers is used to make the The display brightness is in the second state;
[0090] 2. Turn on the light-emitting diodes according to the selected first group of registers or second group of registers.
[0091] Finally, it should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities Or there is any such actual relationship or sequence between operations. Moreover, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes those that are not explicitly listed Other elements of, or also include elements inherent to this process, method, article or equipment. Without more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other same elements in the process, method, article, or equipment including the element.
[0092] Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus the necessary hardware platform. Of course, it can also be implemented entirely by hardware, but in many cases the former is better. 的实施方式。 Based on this understanding, all or part of the contribution of the technical solution of the present invention to the background technology can be embodied in the form of a software product, and the computer software product can be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc. , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute the method described in each embodiment or some parts of the embodiment of the present invention.
[0093] The present invention is described in detail above, and specific examples are used in this article to illustrate the principle and implementation of the present invention. The description of the above examples is only used to help understand the method and core idea of the present invention; at the same time, for the field According to the idea of the present invention, the general technical personnel of the present invention will have changes in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as a limitation of the present invention.