CN114141005B - Power control method and device, control circuit and electronic equipment - Google Patents

Power control method and device, control circuit and electronic equipment Download PDF

Info

Publication number
CN114141005B
CN114141005B CN202111464438.1A CN202111464438A CN114141005B CN 114141005 B CN114141005 B CN 114141005B CN 202111464438 A CN202111464438 A CN 202111464438A CN 114141005 B CN114141005 B CN 114141005B
Authority
CN
China
Prior art keywords
infrared
photosensitive element
processor
light
electrically connected
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.)
Active
Application number
CN202111464438.1A
Other languages
Chinese (zh)
Other versions
CN114141005A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111464438.1A priority Critical patent/CN114141005B/en
Publication of CN114141005A publication Critical patent/CN114141005A/en
Application granted granted Critical
Publication of CN114141005B publication Critical patent/CN114141005B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application discloses a power control method, a device, a control circuit and electronic equipment, wherein the electronic equipment comprises a shell, a light guide piece, an infrared emission device, a photosensitive element and a processor; the shell is internally provided with an accommodating space, and a light guide hole communicated with the accommodating space is formed in the shell; the light guide piece is at least partially positioned in the light guide hole; the infrared emission device and the processor are arranged in the accommodating space, and infrared light emitted by the infrared emission device can be conducted to the outside of the shell through the light guide piece; the photosensitive element is arranged on the light guide member; the photosensitive element and the infrared emission device are connected with the processor; and the processor controls the infrared emission device to increase the emission power under the condition that the photosensitive element detects that the light intensity of the infrared light is lower than a preset value.

Description

Power control method and device, control circuit and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a power control method, a device, a control circuit and electronic equipment.
Background
With the development of technology, the infrared remote control function has become one of the standard functions of electronic devices such as mobile phones, and users can directly control intelligent household appliances such as televisions and air conditioners by controlling the electronic devices such as the mobile phones. However, due to the influence of manufacturing process and use loss, such as loosening of the assembly of the shell, abrasion or scratch of the light emitting surface, etc., the transmission efficiency of the infrared signal is obviously reduced, and the infrared remote control function of the electronic equipment is further affected.
As can be seen, in the related art, the infrared remote control function of the electronic device has an unstable problem.
Disclosure of Invention
An object of the embodiment of the application is to provide a power control method, a device, a control circuit and an electronic device, which can solve the problem that an infrared remote control function of the electronic device is unstable in the related art.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, embodiments of the present application provide an electronic device, including a housing, a light guide, an infrared emitting device, a photosensitive element, and a processor;
the shell is internally provided with an accommodating space, and a light guide hole communicated with the accommodating space is formed in the shell;
the light guide piece is at least partially positioned in the light guide hole;
the infrared emission device and the processor are arranged in the accommodating space, and infrared light emitted by the infrared emission device can be conducted to the outside of the shell through the light guide piece;
the photosensitive element is arranged on the light guide member;
the photosensitive element and the infrared emission device are connected with the processor;
and the processor controls the infrared emission device to increase the emission power under the condition that the photosensitive element detects that the light intensity of the infrared light is lower than a preset value.
In a second aspect, an embodiment of the present application provides a control circuit applied to the electronic device according to the first aspect, where the control circuit includes the infrared emitting device, the photosensitive element, the processor, a power adjustment circuit, a first protection resistor, an analog-to-digital converter, and a logic processing circuit;
the processor is electrically connected with the infrared emission device through the power adjustment circuit;
the first end of the photosensitive element is electrically connected with the first end of the first protection resistor, the second end of the first protection resistor is electrically connected with the first voltage output end of the electronic equipment, and the second end of the photosensitive element is grounded;
the first input end of the analog-to-digital converter is electrically connected with the first end of the photosensitive element, the second input end of the analog-to-digital converter is electrically connected with the second voltage output end of the electronic device, the output end of the analog-to-digital converter is electrically connected with the first end of the logic processing circuit, and the second end of the logic processing circuit is electrically connected with the processor;
and the processor controls the infrared emission device to increase the emission power under the condition that the photosensitive element detects that the light intensity of infrared light emitted by the infrared emission device is lower than a preset value.
In a third aspect, an embodiment of the present application provides a power control method applied to the control circuit according to the second aspect, where the control circuit includes a photosensitive element, an infrared emitting device, and a power adjustment circuit, and the method includes:
detecting the light intensity of infrared light emitted by the infrared emission device based on the photosensitive element;
and under the condition that the light intensity is lower than a preset value, increasing the transmitting power of the infrared transmitting device through the power adjusting circuit. ,
in a fourth aspect, embodiments of the present application provide a power control device including a control circuit as described in the second aspect, the control circuit including a photosensitive element, an infrared emitting device, and a power adjustment circuit, the device including:
a detection module for detecting the light intensity of the infrared light emitted by the infrared emission device based on the photosensitive element;
and the control module is used for increasing the transmitting power of the infrared transmitting device through the power adjusting circuit under the condition that the light intensity is lower than a preset value.
In a fifth aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction when executed by the processor implementing the steps of the method according to the third aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the third aspect.
In a seventh aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the third aspect.
In this application embodiment, detect the light intensity of infrared light that infrared emitter launched through the photosensitive element that locates on the light guide spare to judge whether the light intensity of infrared light that electronic equipment launched can satisfy the infrared remote control function of intelligent household electrical appliances such as TV, air conditioner. For example, it may be set that the light intensity of the infrared light detected by the photosensitive element is lower than a preset value, which indicates that the light intensity of the infrared light emitted by the electronic device cannot meet the infrared remote control function of intelligent home appliances such as televisions and air conditioners. Therefore, when the light intensity of the infrared light detected by the photosensitive element is lower than a preset value, namely, when the light intensity of the infrared light emitted by the electronic equipment cannot meet the infrared remote control function of intelligent household appliances such as televisions and air conditioners, the infrared emission power can be increased through processing and controlling the infrared emission device, namely, the light intensity of the infrared light emitted by the electronic equipment is increased, so that the light intensity of the infrared light emitted by the electronic equipment can meet the infrared remote control function of the intelligent household appliances such as televisions and air conditioners, and the purpose of improving the stability of the infrared remote control function of the electronic equipment is achieved.
Drawings
Fig. 1 is one of schematic structural diagrams of an electronic device provided in an embodiment of the present application;
FIG. 2 is a second schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 3 is one of the circuit block diagrams of the electronic device provided by the embodiments of the present application;
FIG. 4 is a second circuit block diagram of an electronic device provided in an embodiment of the present application;
FIG. 5 is a third circuit block diagram of an electronic device provided by an embodiment of the present application;
FIG. 6 is a flow chart of a power control method provided by an embodiment of the present application;
fig. 7 is a block diagram of a power control apparatus provided in an embodiment of the present application;
FIG. 8 is a block diagram of an electronic device provided in an embodiment of the present application;
fig. 9 is a block diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
As shown in fig. 1 to 5, an embodiment of the present application provides an electronic device including a housing 10, a light guide 20, and infrared emission means 30, a photosensitive element 51, and a processor 40;
the inside of the shell 10 is provided with an accommodating space, and the shell 10 is provided with a light guide hole communicated with the accommodating space;
the light guide 20 is at least partially positioned in the light guide hole;
the infrared emission device 30 and the processor 40 are arranged in the accommodating space, and infrared light emitted by the infrared emission device 30 can be conducted to the outside of the shell 10 through the light guide 20;
the photosensitive element 51 is arranged on the light guide 20;
the photosensitive element 51 and the infrared emission device 30 are connected with the processor 40;
wherein, in case the light intensity of the infrared light detected by the light sensitive element 51 is lower than a preset value, the processor 40 controls the infrared emitting device 30 to increase the emission power.
The light intensity of the infrared light detected by the light sensor 51, or the light intensity of the infrared light detected by the light sensor 51, may be understood as the light intensity of the infrared light transmitted to the light guide 20, or the light intensity of the infrared light emitted via the light guide 20. Also, the light intensity may be understood as the luminous intensity of the infrared emitting device 30 in a given direction.
In the present embodiment, the light intensity of the infrared light emitted from the infrared emitting device 30 is detected by the photosensor 51 provided on the light guide 20, so as to determine whether the light intensity of the infrared light emitted from the electronic device satisfies the infrared remote control function of the intelligent home appliance such as a television, an air conditioner, and the like. For example, it may be set that the light intensity of the infrared light detected by the photosensitive element 51 is lower than a preset value, which indicates that the light intensity of the infrared light emitted by the electronic device cannot satisfy the infrared remote control function of the intelligent home appliances such as a television, an air conditioner, and the like. Therefore, when the light intensity of the infrared light detected by the photosensitive element 51 is lower than the preset value, that is, when the light intensity of the infrared light emitted by the electronic device cannot meet the infrared remote control function of the intelligent household appliance such as the television and the air conditioner, the infrared emission device 30 can be controlled to increase the emission power through processing, that is, the light intensity of the infrared light emitted by the electronic device is increased, so that the light intensity of the infrared light emitted by the electronic device can meet the infrared remote control function of the intelligent household appliance such as the television and the air conditioner, and the purpose of improving the stability of the infrared remote control function of the electronic device is achieved.
The photosensitive element 51 may be a resistor having a photoconductive effect, for example, under the irradiation of light with a specific wavelength, a carrier generated by the irradiation of light may participate in the conduction, so that the resistance value thereof is rapidly reduced. And the stronger the illumination, the lower the resistance, namely has the function that the resistance can be rapidly reduced along with the increase of the illumination intensity.
In the present application, the photosensitive element 51 may be made of a special material that is sensitive to infrared light, so that the resistance value of the photosensitive element 51 may vary with the light intensity of the infrared light irradiated onto the photosensitive element 51 when the photosensitive element 51 is irradiated with the infrared light; that is, when the light intensity of the infrared light increases, the resistance value of the photosensor 51 becomes small; and when the light intensity of the infrared light decreases, the resistance of the photosensitive element 51 increases. Therefore, detection of the light intensity of the infrared light irradiated onto the photosensitive element 51 can be achieved by detecting a change in the resistance value of the photosensitive element 51.
In some embodiments, the light guide holes provided in the housing 10 may be understood as openings provided in the housing. For example, in the case that the electronic device is a mobile phone, in order to facilitate the user to hold the mobile phone to execute the corresponding infrared remote control function, the open hole or the light guide hole can be formed in the top edge frame of the mobile phone, so that the user can hold the mobile phone like holding a remote control, further execute the corresponding infrared remote control function, and improve the operation experience of the user.
In other embodiments, the light guide 20 may be a light guide column with good light guide performance, and one end of the light guide column is disposed in the opening and forms a light emitting surface in the opening; the other end of the light guide column may be disposed opposite to the infrared emission device 30, and form a light incident surface for receiving infrared light. In addition, other light guiding structures may be disposed between the light emitting surface of the light guiding member 20 and the infrared light 30, and the light guiding structures do not have to be disposed opposite to the openings.
Further, the infrared emission device 30 may be disposed opposite to the light guide hole, so as to shorten the conduction distance from the infrared light emitted by the infrared emission device 30 to the outside of the electronic device, improve the conduction efficiency of the infrared light, and further achieve the purpose of improving the structural compactness of the electronic device.
Optionally, the light guide 20 includes a light incident surface and a light emergent surface, and the photosensitive element 51 may be disposed on the light incident surface of the light guide 20 or may be disposed on the light emergent surface of the light guide 20.
Specifically, in the case where the photosensor 51 is provided on the light-emitting surface of the light guide 20, the photosensor 51 can realize detection of the light intensity of the infrared light emitted from the light guide 20; in the case where the photosensor 51 is disposed on the light incident surface of the light guide 20, the photosensor 51 can detect the light intensity of the infrared light emitted from the light guide 20.
The location of the photosensitive element 51 on the light guide 20 may be determined according to practical design requirements, such as assembly design requirements, etc.
In addition, to further improve the detection effect of the photosensitive element 51, the photosensitive element 51 may be an annular photosensitive resistor, and the annular photosensitive resistor may be disposed in an edge area of the light emitting surface or the light entering surface of the light guide 20.
The photosensitive element 51 may be disposed on the light guide 20 through conductive silver paste, and the photosensitive element 51 may be connected with a detection circuit on a motherboard of the electronic device, so as to achieve the purpose of improving a detection result of the photosensitive element 51.
As shown in fig. 1 and 2, the electronic device further includes a circuit board 61, a middle frame 62, and a glass cover 63, the circuit board 61 may be disposed on the middle frame 62, and the middle frame 62 is connected with the housing 10; the glass cover 63 may cover the outer side of the housing 10 to protect the light guide 20.
As shown in fig. 3 to 5, the embodiment of the present application further provides a control circuit, which may be applied to the above-mentioned electronic device, and which includes an infrared emitting device 30, a photosensitive element 51, a processor 40, a first protection resistor 52, a power adjusting circuit 70, an analog-to-digital converter 80, and a logic processing circuit 90;
processor 40 is electrically connected to infrared emission device 30 through power adjustment circuit 70;
a first end of the photosensitive element 51 is electrically connected to a first end of the first protection resistor 52, a second end of the first protection resistor is electrically connected to a first voltage output terminal 53 of the electronic device, and a second end of the photosensitive element 51 is grounded;
a first input of the analog-to-digital converter 80 is electrically connected to the first end of the photosensitive element 51, a second input of the analog-to-digital converter 80 is electrically connected to the second voltage output 54 of the electronic device, an output of the analog-to-digital converter 80 is electrically connected to a first end of the logic processing circuit 90, and a second end of the logic processing circuit 90 is electrically connected to the processor 40;
wherein, in case the photosensitive element 51 detects that the light intensity of the infrared light emitted by the infrared emitting device 30 is lower than a preset value, the processor 40 controls the infrared emitting device 30 to increase the emission power.
Specifically, processor 40 may control infrared emitting device 30 to increase the transmit power via power adjustment circuit 70.
Wherein the power adjustment circuit 70 includes an infrared emitting device 30 and other adjustment devices.
The first input end of the analog-to-digital converter 80 may obtain the voltage of the photosensitive element 51, the first input end of the analog-to-digital converter 80 may obtain the voltage of the second voltage output end 54, and the output end of the analog-to-digital converter 80 may transmit the voltage of the photosensitive element 51 obtained by the first input end and the voltage of the second voltage output end 54 obtained by the second input end to the logic processing circuit 90;
the logic processing circuit 90 is configured to compare the voltage of the photosensitive element 51 acquired by the first input end with the voltage of the second voltage output end 54 acquired by the second input end, determine that the light intensity of the infrared light emitted by the infrared emitting device 30 is lower than a preset value when the comparison result indicates that the voltage of the photosensitive element 51 acquired by the first input end is greater than the voltage of the second voltage output end 54 acquired by the second input end, and trigger the processor 40 to generate first information, where the first information is used to instruct the processor 40 to control the infrared emitting device 30 to increase the emission power, so that the light intensity of the infrared light emitted by the electronic device can meet the infrared remote control function of intelligent household appliances such as televisions and air conditioners, and further achieve the purpose of improving the stability of the infrared remote control function of the electronic device.
The first voltage output terminal 53 and the second voltage output terminal 54 may be voltage output ports on the electronic device, such as output ports of a power supply circuit on a motherboard of the electronic device.
In one example, the second voltage output 54 may also be an output of a battery on the electronic device, such as a positive output of the battery. Where the second voltage output 54 is the positive output of the battery, the negative electrode of the battery is grounded.
The first protection resistor 52 plays a role of protecting the photosensitive element 51 and preventing the photosensitive element 51 from being burnt out under the condition of overlarge resistance change.
For example, when the infrared light emitted from the infrared emitting device 30 irradiates the photosensitive element 51, the obtained voltage signal may be converted into a digital signal by the analog-to-digital converter 80, and transmitted to the logic processing circuit 90 to perform analysis and judgment, and judge whether the interrupt control command needs to be sent to the processor 40. And under the condition that an interrupt control instruction needs to be sent to the processor 40, that is, the analysis result of the logic processing circuit 90 indicates that the voltage of the photosensitive element 51 acquired by the first input end is greater than the voltage of the second voltage output end 54 acquired by the second input end, the processor 40 can generate first information based on the interrupt control instruction so as to realize adjustment of the transmitting power of the infrared transmitting device 30, that is, control the infrared transmitting device 30 to increase the transmitting power, so that the light intensity of infrared light emitted by the electronic equipment can meet the infrared remote control function of intelligent household appliances such as televisions, air conditioners and the like, and further the purpose of improving the stability of the infrared remote control function of the electronic equipment is achieved.
Optionally, as shown in fig. 3, the power adjustment circuit 70 includes a first MOS transistor 71, a source of the first MOS transistor 71 is electrically connected to the first end of the infrared emission device 30, a drain of the first MOS transistor 71 is grounded, a gate of the first MOS transistor 71 is electrically connected to the processor 40, and a second end of the infrared emission device 30 is electrically connected to the third voltage output end 55 of the electronic device.
The third voltage output terminal 55 may be a voltage output port on the electronic device, such as an output port of a power supply circuit on a motherboard of the electronic device.
In this embodiment, the processor 40 may output a pulse width adjustment signal to adjust the resistance of the first MOS transistor 71, thereby adjusting the current of the path of the infrared emission device 30, and achieving the purpose of adjusting the emission power of the infrared emission device 30.
Optionally, the power adjustment circuit further includes a second protection resistor 72, where the second protection resistor 72 is connected in series with the infrared emission device 30 to achieve the purpose of protecting the infrared emission device 30.
When the light intensity of the infrared light detected by the photosensitive element 51 is lower than the preset value, that is, when the light intensity of the infrared light emitted by the electronic device cannot meet the infrared remote control function of the intelligent household appliance such as the television and the air conditioner, the processor 40 can output a pulse width adjustment signal to reduce the resistance of the first MOS tube 71 so as to increase the current of the channel where the infrared emission device 30 is located, thereby achieving the purpose of increasing the emission power of the infrared emission device 30, so that the light intensity of the infrared light emitted by the electronic device can meet the infrared remote control function of the intelligent household appliance such as the television and the air conditioner.
Further, as shown in fig. 4, the power adjustment circuit further includes a first voltage management unit 73 electrically connected to the processor 40, and the processor 40 may adjust the output voltage of the infrared emitting device 30 through the first voltage management unit 73. For example, when the light intensity of the infrared light detected by the photosensitive element 51 is lower than the preset value, the output voltage of the infrared emission device 30 may be changed by the first voltage management unit 73 to increase the current of the path where the infrared emission device 30 is located, so as to achieve the purpose of increasing the emission power of the infrared emission device 30.
In other embodiments, as shown in fig. 5, the power adjustment circuit further includes a second MOS transistor 74 and a second voltage management unit 75 electrically connected to the processor 40, wherein a source of the second MOS transistor 74 is electrically connected to the third voltage output terminal 55, a drain of the second MOS transistor 74 is electrically connected to the second terminal of the infrared emitting device 30, and a gate of the second MOS transistor 74 is electrically connected to the second voltage management unit 75.
Thus, the output voltage of the second voltage management unit 75 can be adjusted by the processor 40, and the resistance value of the second MOS tube 74 can be adjusted by the output voltage of the second voltage management unit 75, so as to realize the adjustment of the current of the path where the infrared emission device 30 is located, thereby achieving the purpose of adjusting the emission power of the infrared emission device 30. For example, when the light intensity of the infrared light detected by the photosensitive element 51 is lower than the preset value, the output voltage of the second voltage management unit 75 may be increased to decrease the resistance value of the second MOS transistor 74, that is, increase the current of the path where the infrared emission device 30 is located, so as to achieve the purpose of increasing the emission power of the infrared emission device 30.
Accordingly, in the case where the emission power of the infrared emission device 30 needs to be reduced, the output voltage of the second voltage management unit 75 may be reduced to increase the resistance value of the second MOS transistor 74, so as to achieve the purpose of reducing the current of the path where the infrared emission device 30 is located.
In an actual application scenario, an infrared remote control application of the electronic device is started, a remote control circuit is executed to control an initialization action, and the voltage of the photosensitive element 51 is detected every 5 seconds.
After the initialization is completed, if the voltage of the photosensitive element 51 acquired by the first input end is detected to be less than or equal to the voltage of the second voltage output end 54 acquired by the second input end, it is determined that the transmitting power of the infrared transmitting device 30 can meet the requirement of the effective control distance at this time, and the logic control circuit 90 does not feed back any interruption to the processor 40; if it is detected that the voltage of the photosensitive element 51 acquired by the first input end is greater than the voltage of the second voltage output end 54 acquired by the second input end, it is determined that the light intensity of the infrared light emitted by the infrared light 30 at this time cannot support the effective control distance, that is, the emission power of the infrared emission device 30 needs to be raised.
Specifically, in the case where it is detected that the voltage of the photosensitive element 51 obtained at the first input terminal is greater than the voltage of the second voltage output terminal 54 obtained at the second input terminal, the logic control circuit 90 triggers a control interrupt to the processor 40, and the processor 40 performs an action of adjusting the pulse width adjustment signal.
For example, the duty cycle time of the duty cycle of the pulse width adjustment signal may be gradually adjusted according to an adjustment amplitude of 1%; in the adjustment process, the detection time of the voltage of the photosensitive element 51 may be adjusted to 20 ms/each time, and as the duty ratio of the pulse width adjustment signal is raised, the first MOS tube 71 is gradually opened, the on-resistance of the first MOS tube 71 is gradually reduced, the emission power of the infrared emission device 30 is gradually increased, and the light intensity of the infrared light emitted by the infrared emission device 30 is gradually increased.
As the light intensity of the infrared light emitted by the infrared emission device 30 is gradually increased, the resistance value of the photosensitive element 51 is gradually reduced, and when the voltage of the photosensitive element 51 acquired by the first input end is detected to be smaller than or equal to the voltage of the second voltage output end 54 acquired by the second input end, it is determined that the light intensity of the infrared light emitted by the infrared emission device 30 can meet the requirement of effective control distance; at this point, an interrupt is triggered to the processor 40 to cause the processor 40 to cease the duty cycle action of adjusting the pulse width adjustment signal and save the current duty cycle as the default initialization duty cycle for the infrared remote control application.
In addition, the adjustment flow can be repeated along with the state change of the electronic equipment, and a self-adaptive design scheme is formed, so that the aim of improving the infrared remote control experience of a user is fulfilled.
It should be noted that the above detection parameters (detection time interval, preset voltage, preset value) and adjustment range may be set based on actual requirements, and are not limited herein.
Referring to fig. 6, fig. 6 is a flowchart of a power control method according to an embodiment of the present application, where the power control method may be applied to the control circuit described above, and the control circuit includes a photosensitive element, an infrared emitting device, and a power adjustment circuit, and as shown in fig. 1, the power control method includes the following steps:
step 601, detecting the light intensity of infrared light emitted by the infrared emitting device based on the photosensitive element.
Step 602, increasing the emission power of the infrared emission device through the power adjustment circuit under the condition that the light intensity is lower than a preset value.
In this embodiment, when the light intensity of the infrared light detected by the photosensitive element is lower than a preset value, that is, when the light intensity of the infrared light emitted by the electronic device cannot meet the infrared remote control function of the intelligent household appliance such as the television and the air conditioner, the emission power of the infrared emitting device can be increased through the power adjusting circuit, that is, the light intensity of the infrared light emitted by the electronic device is increased, so that the light intensity of the infrared light emitted by the electronic device can meet the infrared remote control function of the intelligent household appliance such as the television and the air conditioner, and the purpose of improving the stability of the infrared remote control function of the electronic device is achieved.
It should be noted that, the power control method provided in the embodiment of the present application may also implement the related control flow of the electronic device and achieve the corresponding effect, which is not described herein again.
According to the power control method, the light intensity of infrared light emitted by the infrared emission device is detected based on the photosensitive element; and under the condition that the light intensity is lower than a preset value, increasing the transmitting power of the infrared transmitting device through the power adjusting circuit. Therefore, the purpose of improving the stability of the infrared remote control function of the electronic equipment can be achieved.
It should be noted that, in the power control method provided in the embodiment of the present application, the execution body may be a power control device, or a control module in the power control device for executing the power control method. In the embodiment of the present application, a power control device executes a power control method as an example, and the power control device provided in the embodiment of the present application is described.
Referring to fig. 7, fig. 7 is a block diagram of a power control device according to an embodiment of the present application, the power control device includes the control circuit, the control circuit includes a photosensitive element, an infrared emitting device, and a power adjustment circuit, and as shown in fig. 7, the photographing device 700 includes:
a detection module 701, configured to detect light intensity of infrared light emitted by the infrared emission device based on the photosensitive element;
and the control module 702 is used for increasing the transmitting power of the infrared transmitting device through the power adjusting circuit under the condition that the light intensity is lower than a preset value.
The power control device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The power control device in the embodiments of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The power control device provided in this embodiment of the present application can implement each process implemented by the method embodiment of fig. 6, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 8, the embodiment of the present application further provides an electronic device 800, including a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and capable of running on the processor 801, where the program or the instruction implements each process of the above-mentioned power control method embodiment when executed by the processor 801, and the process can achieve the same technical effect, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Referring to fig. 9, fig. 9 is a block diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 9, the electronic device 900 includes, but is not limited to: radio frequency unit 901, network module 902, audio output unit 903, input unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, and processor 910.
Those skilled in the art will appreciate that the electronic device 900 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 910 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the processor 910 is configured to detect, based on the photosensitive element, a light intensity of infrared light emitted by the infrared emitting device; and the power adjusting circuit is used for increasing the transmitting power of the infrared transmitting device under the condition that the light intensity is lower than a preset value.
It should be appreciated that in embodiments of the present application, the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, with the graphics processor 9041 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel 9071 and other input devices 9072. Touch panel 9071, also referred to as a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 909 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 910 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the processes of the foregoing power control method embodiment are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so as to implement each process of the above power control method embodiment, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. An electronic device is characterized by comprising a shell, a light guide piece, an infrared emission device, a photosensitive element and a processor;
the shell is internally provided with an accommodating space, and a light guide hole communicated with the accommodating space is formed in the shell;
the light guide piece is at least partially positioned in the light guide hole;
the infrared emission device and the processor are arranged in the accommodating space, and infrared light emitted by the infrared emission device can be conducted to the outside of the shell through the light guide piece;
the photosensitive element is arranged on the light guide member;
the photosensitive element and the infrared emission device are connected with the processor;
the photosensitive element is a resistor with photoconductive effect, and the processor controls the infrared emission device to increase the emission power under the condition that the photosensitive element detects that the light intensity of the infrared light is lower than a preset value.
2. The electronic device of claim 1, wherein the light guide member comprises a light incident surface and a light emergent surface, and the photosensitive element is disposed on the light emergent surface or the light incident surface.
3. The electronic device of claim 2, wherein the photosensitive element is a ring-shaped photoresistor, and the ring-shaped photoresistor is disposed at an edge region of the light-emitting surface or the light-entering surface.
4. A control circuit applied to the electronic device as claimed in any one of claims 1 to 3, and comprising the infrared emitting device, the photosensitive element, the processor, a power adjustment circuit, a first protection resistor, an analog-to-digital converter, and a logic processing circuit;
the processor is electrically connected with the infrared emission device through the power adjustment circuit;
the first end of the photosensitive element is electrically connected with the first end of the first protection resistor, the second end of the first protection resistor is electrically connected with the first voltage output end of the electronic equipment, and the second end of the photosensitive element is grounded;
the first input end of the analog-to-digital converter is electrically connected with the first end of the photosensitive element, the second input end of the analog-to-digital converter is electrically connected with the second voltage output end of the electronic device, the output end of the analog-to-digital converter is electrically connected with the first end of the logic processing circuit, and the second end of the logic processing circuit is electrically connected with the processor;
and the processor controls the infrared emission device to increase the emission power under the condition that the photosensitive element detects that the light intensity of infrared light emitted by the infrared emission device is lower than a preset value.
5. The control circuit of claim 4, wherein the power adjustment circuit comprises a first MOS transistor, a source of the first MOS transistor is electrically connected to a first end of the infrared emission device, a drain of the first MOS transistor is grounded, a gate of the first MOS transistor is electrically connected to the processor, and a second end of the infrared emission device is electrically connected to a third voltage output of the electronic device;
the processor adjusts the resistance value of the first MOS tube by outputting a pulse width adjusting signal.
6. The control circuit of claim 5, wherein the power adjustment circuit further comprises a first voltage management unit electrically connected to the processor, the processor adjusting the output voltage of the infrared emitting device via the first voltage management unit.
7. The control circuit of claim 5, wherein the power adjustment circuit further comprises a second MOS transistor and a second voltage management unit electrically connected to the processor, a source of the second MOS transistor is electrically connected to the third voltage output terminal, a drain of the second MOS transistor is electrically connected to the second terminal of the infrared emission device, and a gate of the second MOS transistor is electrically connected to the second voltage management unit;
the processor adjusts the resistance value of the second MOS tube through adjusting the output voltage of the second voltage management unit and the output voltage of the second voltage management unit.
8. A power control method applied to the control circuit of any one of claims 4 to 7, the control circuit including a photosensitive element, an infrared emitting device, and a power adjustment circuit, the method comprising:
detecting the light intensity of infrared light emitted by the infrared emission device based on the photosensitive element;
and under the condition that the light intensity is lower than a preset value, increasing the transmitting power of the infrared transmitting device through the power adjusting circuit.
9. A power control device comprising a control circuit according to any one of claims 4 to 7, the control circuit comprising a photosensitive element, an infrared emitting device and a power adjustment circuit, the device comprising:
a detection module for detecting the light intensity of the infrared light emitted by the infrared emission device based on the photosensitive element;
and the control module is used for increasing the transmitting power of the infrared transmitting device through the power adjusting circuit under the condition that the light intensity is lower than a preset value.
10. A readable storage medium, wherein a program or instructions is stored on the readable storage medium, which when executed by a processor, implement the steps of the power control method of claim 8.
CN202111464438.1A 2021-12-03 2021-12-03 Power control method and device, control circuit and electronic equipment Active CN114141005B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111464438.1A CN114141005B (en) 2021-12-03 2021-12-03 Power control method and device, control circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111464438.1A CN114141005B (en) 2021-12-03 2021-12-03 Power control method and device, control circuit and electronic equipment

Publications (2)

Publication Number Publication Date
CN114141005A CN114141005A (en) 2022-03-04
CN114141005B true CN114141005B (en) 2023-05-12

Family

ID=80387471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111464438.1A Active CN114141005B (en) 2021-12-03 2021-12-03 Power control method and device, control circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN114141005B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005136772A (en) * 2003-10-31 2005-05-26 Fujitsu Ltd Transmission optical power control method, optical communication system and light transmission device
JP2008288828A (en) * 2007-05-17 2008-11-27 Mitsubishi Electric Corp Remote control transmitter
JP2010239556A (en) * 2009-03-31 2010-10-21 Fujitsu Ltd Optical output controller, and optical output control method
CN106304304A (en) * 2016-08-16 2017-01-04 江苏本能科技有限公司 Rfid transmissions Poewr control method and device
CN207133971U (en) * 2017-08-14 2018-03-23 杭州海康威视数字技术股份有限公司 A kind of remote control transmitter
CN107911554A (en) * 2017-11-22 2018-04-13 广东欧珀移动通信有限公司 The control method of electronic device and electronic device
CN112367548A (en) * 2020-10-23 2021-02-12 广东长虹电子有限公司 Electronic element for realizing integration of IR remote control and infrared light reflection induction
CN112751617A (en) * 2019-10-31 2021-05-04 Oppo广东移动通信有限公司 Electronic setting, control method and device thereof, and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201001240A (en) * 2008-06-19 2010-01-01 Sysgration Ltd Transmission power-adjustable wireless power-saving input apparatus and method
CN205510059U (en) * 2016-02-03 2016-08-24 河南辉煌科技股份有限公司 System for automatically regulated laser emission power
CN205680274U (en) * 2016-06-14 2016-11-09 北京振中电子技术有限公司 The infrared copy meter equipment adjusting with power
CN106550441A (en) * 2016-10-31 2017-03-29 上海斐讯数据通信技术有限公司 A kind of control method and device of radio transmitted power
CN106888056A (en) * 2017-03-29 2017-06-23 西安易朴通讯技术有限公司 The power regulating method and device of visible light communication
CN209199326U (en) * 2018-11-22 2019-08-02 深圳和而泰小家电智能科技有限公司 Infrared transmitting circuit and infrared launcher
CN109699065A (en) * 2019-01-31 2019-04-30 北京小米移动软件有限公司 Power regulating method, device, intelligent switch and storage medium
CN209676215U (en) * 2019-06-05 2019-11-22 江西仙峰广电设备有限公司 A kind of full broadband fm transmitter system with automatic growth control
CN110139262B (en) * 2019-06-10 2022-06-14 Oppo广东移动通信有限公司 Bluetooth communication control method and related product
CN210183605U (en) * 2019-06-11 2020-03-24 广州市欧谱莱电子科技有限公司 Infrared LED drive circuit
CN110968143B (en) * 2019-12-20 2022-01-11 深圳市银星智能科技股份有限公司 Photoelectric adjusting circuit and robot
CN113364903A (en) * 2021-06-03 2021-09-07 维沃移动通信有限公司 Electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005136772A (en) * 2003-10-31 2005-05-26 Fujitsu Ltd Transmission optical power control method, optical communication system and light transmission device
JP2008288828A (en) * 2007-05-17 2008-11-27 Mitsubishi Electric Corp Remote control transmitter
JP2010239556A (en) * 2009-03-31 2010-10-21 Fujitsu Ltd Optical output controller, and optical output control method
CN106304304A (en) * 2016-08-16 2017-01-04 江苏本能科技有限公司 Rfid transmissions Poewr control method and device
CN207133971U (en) * 2017-08-14 2018-03-23 杭州海康威视数字技术股份有限公司 A kind of remote control transmitter
CN107911554A (en) * 2017-11-22 2018-04-13 广东欧珀移动通信有限公司 The control method of electronic device and electronic device
CN112751617A (en) * 2019-10-31 2021-05-04 Oppo广东移动通信有限公司 Electronic setting, control method and device thereof, and storage medium
CN112367548A (en) * 2020-10-23 2021-02-12 广东长虹电子有限公司 Electronic element for realizing integration of IR remote control and infrared light reflection induction

Also Published As

Publication number Publication date
CN114141005A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN111179861B (en) Brightness calibration method and device, storage medium and terminal
CN107257415B (en) Control method and device of proximity sensor, storage medium and mobile terminal
US7420541B2 (en) Wireless mouse
CN105933519B (en) A kind of screen luminance adjustment method, device and mobile terminal
US9423862B2 (en) Device and method for controlling a display in wireless terminal
KR101735987B1 (en) Backlicht brightness control method and device
CN112484850B (en) Light intensity detection module, screen component and mobile terminal
CN106850983B (en) screen-off control method and device, terminal and storage medium
CN108833625B (en) Sensor control circuit and electronic device
WO2019015417A1 (en) Proximity sensor control method and device, storage medium and mobile terminal
CN110299943A (en) Data transfer control method and Related product
CN109088961B (en) Sensor control circuit and electronic device
US9330609B2 (en) Luminance adjusting method for display screen of electronic device
CN106161728B (en) Sensing device, electronic equipment and detection method
CN107967418B (en) Face recognition method and mobile terminal
CN110930964B (en) Display screen brightness adjusting method and device, storage medium and terminal
KR20120074648A (en) Method and apparatus for touch input for electronic device
CN110580879B (en) Terminal device and display screen control method
CN107124902A (en) Display backlight control method, device and terminal
WO2019201130A1 (en) Mobile terminal and infrared detection method
CN114141005B (en) Power control method and device, control circuit and electronic equipment
WO2023066123A1 (en) Terminal power-saving display method and apparatus, and electronic device
WO2021259255A1 (en) Method for controlling antenna power of mobile terminal and mobile terminal
CN107181868B (en) Method and device for controlling screen turn-off of mobile terminal
CN106097699B (en) Light control device and light control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant