Electronic device, and control method therefor and infrared module thereof
By arranging an infrared module under the transparent cover of the electronic device and using an adjustment device to adjust its emission direction, the problem of limited infrared field of view is solved, achieving a larger field of view and a better user experience.
Patent Information
- Application Number
- PCT/CN2024/074537
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2024-01-29
- Publication Date
- 2024-10-03
AI Technical Summary
The fixed emission direction and limited space of infrared modules in electronic equipment result in limited infrared field of view (FOV), affecting the normal use of infrared functions by users.
Set the infrared module under the transparent cover, use the adjustment device to control the position and direction of the infrared emitter through the processor, adjust the infrared emission direction to overcome the influence of the tilt angle of the electronic device, increase the infrared field of view, and pass the energized coil The combination with magnetic parts enables miniaturization design.
It effectively increases the infrared field of view, reduces the impact of the posture of the electronic device on the infrared function, improves the infrared control range and user experience, and at the same time achieves the reliability and miniaturization design of the infrared module.
Smart Images

Figure CN2024074537_03102024_PF_FP_ABST
Abstract
Description
Electronic device and control method thereof, infrared module
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on March 31, 2023, with application number 202310379735.9 and application name “Electronic device, control method thereof, infrared module”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminal technology, and in particular to an electronic device, a control method thereof, and an infrared module. Background Art
[0003] Some electronic devices have built-in infrared functionality, allowing them to directly control and link related devices, acting as remote controls. Typically, the infrared module of an electronic device is mounted on top of the device for ease of use. However, because the infrared module's emission direction is fixed and the top space of the electronic device is limited, a hole is usually required in the midframe to transmit the infrared light from the infrared emitter through a light guide. However, the size of the hole is limited by the space within the electronic device, resulting in a limited field of view (FOV) for infrared emission, hindering the user's ability to use the infrared function.
[0004] Summary of the Invention
[0005] The embodiments of the present application provide an electronic device, a control method thereof, and an infrared module, which are used to improve the problem that the infrared module is configured on the top of the electronic device, the emission direction of the infrared module is fixed, the field of view is small, and normal use is affected.
[0006] In order to achieve the above objectives, the solution adopted in the embodiment of the present application is as follows:
[0007] In the first aspect, an embodiment of the present application provides an electronic device, which includes a middle frame, a shell, a processor and an infrared module. The shell is covered on the middle frame, and the processor and the infrared module are arranged in a accommodating space formed by the shell and the middle frame. The shell includes a transparent cover, and the infrared module is arranged under the transparent cover. This can avoid the problem of setting the infrared module at the top of the electronic device body, which is affected by the opening of the middle frame, the light guide column, etc. and causing the FOV to be limited. By setting the infrared module under the transparent cover, there is no need to set the light guide column, and the FOV of infrared emission is larger; the processor is used to adjust the emission direction of infrared rays emitted by the infrared module relative to the transparent cover in response to the tilt of the electronic device in the pitch direction. This can also overcome the influence of the tilt angle of the electronic device on the infrared emission distance. For example, when the electronic device is pitched at a certain angle, the emission direction of the infrared rays can be adjusted to move downward or downward, overcoming the problem of limited emission distance caused by the electronic device pitching up or down.
[0008] In one possible implementation, the infrared module includes an adjustment device, a first bracket, and an infrared emitter. The infrared emitter is mounted on the first bracket, and the adjustment device is electrically connected to the processor. The adjustment device is used to adjust the inclination of the first bracket in response to the control of the processor, thereby driving the position of the infrared emitter mounted on the first bracket to change, so as to adjust the emission direction of infrared rays emitted by the infrared emitter relative to the transparent cover.
[0009] In one possible implementation, the infrared module also includes a second bracket, and the adjustment device includes a first adjustment device; the second bracket includes a base and a support column connected to the base, the end of the support column away from the base is connected to the first bracket, the first adjustment device is arranged on the base, and the first adjustment device is connected to the first bracket; the first adjustment device is used to drive the first bracket to shift toward the first direction or the second direction in response to the control of the processor, thereby driving the infrared rays emitted by the infrared emitter to shift toward the first direction or the second direction relative to the emission direction of the transparent cover; wherein the first direction is the opposite direction of the pitch direction of the electronic device, and the second direction is the forward direction of the pitch direction of the electronic device, which can reduce the impact of the upward or downward pitch of the electronic device on the infrared emission.
[0010] In one possible implementation, the first adjustment device includes a first coil and a first magnetic member, which attracts or repels the first magnetic member when the first coil is energized; wherein, the first coil is arranged on the base, and the first magnetic member is arranged on the first bracket; or, the first magnetic member is arranged on the base, and the first coil is arranged on the first bracket. In this way, when the first coil is energized, through the interaction between the first coil and the first magnetic member, the first adjustment device can apply a force to the first bracket, driving the first bracket to deviate in the first direction or the second direction, thereby driving the infrared rays emitted by the infrared emitter to deviate in the first direction or the second direction relative to the emission direction of the transparent cover.
[0011] In one possible implementation, the adjustment device also includes an infrared drive circuit, which is electrically connected to the processor. The infrared drive circuit includes a first output end, which is connected to the first coil. The processor is used to control the infrared drive circuit to adjust the current size and / or direction of the signal output to the first coil in response to the tilt angle of the electronic device.
[0012] In one possible implementation, the adjustment device also includes a second adjustment device, which is arranged on the base and connected to the first bracket. The second adjustment device is used to drive the first bracket to shift toward the second direction or the first direction in response to the control of the processor, thereby driving the infrared rays emitted by the infrared emitter to shift toward the second direction or the first direction relative to the exit direction of the transparent cover.
[0013] In one possible implementation, the first and second adjustment devices are located on either side of the support column. Both the first and second adjustment devices can adjust the direction of infrared light emitted by the infrared emitter relative to the transparent cover. By providing the first and second adjustment devices, the first and second adjustment devices can operate independently or together, thereby increasing the reliability of the infrared module of the electronic device.
[0014] In one possible implementation, the second adjustment device includes a second coil and a second magnetic member, which attracts or repels the second magnetic member when the second coil is energized; wherein the second coil is arranged on the base, and the second magnetic member is arranged on the first bracket; or, the second magnetic member is arranged on the base, and the second coil is arranged on the first bracket.
[0015] In one possible implementation, the infrared driving circuit further includes a second output terminal connected to the second coil, and the processor is configured to control the infrared driving circuit to adjust the current magnitude or direction of the signal output to the second coil according to the pitch angle.
[0016] In one possible implementation, the electronic device further includes a camera module, which is disposed beneath a transparent cover plate. The transparent cover plate includes a first area and a second area, with the camera module aligned with the first area and the infrared module aligned with the second area. Placing the infrared module near the camera module can conserve internal space in the electronic device.
[0017] In a possible implementation, the electronic device further includes a sensor, which is connected to the processor and is configured to detect a tilt of the electronic device.
[0018] In the second aspect, an embodiment of the present application provides an infrared module, which includes: a first bracket, a second bracket, a first adjustment device and an infrared emitter; the infrared emitter is installed on the first bracket, the second bracket includes a base and a support column connected to the base, and the end of the support column away from the base is connected to the first bracket; the first adjustment device includes a first magnetic part and a first coil, wherein the first coil is arranged on the base and the first magnetic part is arranged on the first bracket; or, the first magnetic part is arranged on the base and the first coil is arranged on the first bracket; when the first coil is energized, it attracts or repels the first magnetic part, driving the first bracket to shift toward the first direction or the second direction, thereby driving the emission direction of the infrared ray emitted by the infrared emitter to shift toward the first direction or the second direction, wherein the second direction is opposite to the first direction.
[0019] The infrared module provided in the embodiment of the present application includes a first adjustment device, which can drive the first bracket to shift in a first direction or a second direction, thereby causing the emission direction of the infrared emitter mounted on the first bracket to shift in the first direction or the second direction. In this way, a better infrared field of view can be obtained by adjusting the emission direction. The interaction between the energized coil and the magnetic component is used to drive the second bracket to drive the infrared emitter to change the emission direction of the infrared light. On the one hand, a better field of view can be obtained. On the other hand, the combination of the energized coil and the magnetic component occupies a small space, which is conducive to the miniaturization design of the infrared module.
[0020] In one possible implementation, the infrared module further includes a second adjustment device; the second adjustment device includes a second magnetic member and a second coil, wherein the second coil is disposed on the base and the second magnetic member is disposed on the first bracket; or the second magnetic member is disposed on the base and the second coil is disposed on the first bracket; when the second coil is energized, it attracts or repels the second magnetic member; and the second bracket is driven to deflect toward the second direction or the first direction, thereby causing the emission direction of the infrared rays emitted by the infrared emitter to deflect toward the second direction or the first direction. The combined action of the first and second adjustment devices to adjust the emission direction of the infrared emitter can, compared to a single adjustment device, increase stability on the one hand, and, on the other hand, even if one of the adjustment devices fails, the other adjustment device can still drive the adjustment of the emission direction of the infrared rays emitted by the infrared emitter, thereby improving reliability.
[0021] In a possible implementation, the first adjustment device and the second adjustment device are distributed on both sides of the support column.
[0022] In a possible implementation, the second bracket is movably connected to the support column.
[0023] In a possible implementation, the second bracket is rotatably connected to the support column.
[0024] In a third aspect, an embodiment of the present application also provides a control method for an electronic device, comprising a middle frame, a shell, a processor and an infrared module, the shell covering the middle frame, the processor and the infrared module being arranged in a accommodating space formed by the shell and the middle frame, the shell comprising a transparent cover, and the infrared module being arranged under the transparent cover, the method comprising: detecting the tilt of the electronic device in the pitch direction; and adjusting the emission direction of infrared rays emitted by the infrared module relative to the transparent cover in response to the tilt of the electronic device in the pitch direction.
[0025] In one possible implementation, there is a first bracket, a second bracket, a first adjustment device and an infrared emitter; the infrared emitter is installed on the first bracket, the second bracket includes a base and a support column connected to the base, the end of the support column away from the base is connected to the first bracket, the first adjustment device includes a first coil and a first magnetic member, wherein the first coil is arranged on the base and the first magnetic member is arranged on the first bracket; or the first magnetic member is arranged on the base and the first coil is arranged on the first bracket, and in response to the tilt of the electronic device in the pitch direction, adjusting the emission direction of infrared rays emitted by the infrared module relative to the transparent cover includes: in response to the tilt of the electronic device, adjusting the magnitude and / or direction of the current output to the first coil.
[0026] In a fourth aspect, an embodiment of the present application further provides a storage medium storing a computer program. When the computer program is executed by a processor, the steps of the method provided in any implementation of the third aspect are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] FIG1A is a schematic diagram of an electronic device provided in an embodiment of the present application;
[0028] FIG1B is a schematic diagram of an infrared module provided in an embodiment of the present application;
[0029] FIG2 is a schematic diagram of an electronic device controlling a controlled object according to an embodiment of the present application;
[0030] FIG3 is a schematic diagram of an electronic device provided in an embodiment of the present application;
[0031] FIG4 is another schematic diagram of an electronic device provided in an embodiment of the present application;
[0032] FIG5 is a schematic diagram of another electronic device provided in an embodiment of the present application;
[0033] FIG6 is a schematic diagram of a usage scenario of an electronic device;
[0034] FIG7 is a schematic diagram of a coordinate system of an electronic device;
[0035] FIG8 is a schematic diagram of an electronic device emitting infrared rays in a certain posture;
[0036] FIG9 is a schematic diagram of an electronic device emitting infrared rays in another posture;
[0037] FIG10 is a schematic diagram of adjusting the infrared emission direction according to an embodiment of the present application;
[0038] FIG11 is a schematic diagram of an infrared module provided in an embodiment of the present application;
[0039] FIG12 is a schematic diagram of a working scenario of an infrared module provided in an embodiment of the present application;
[0040] FIG13 is a schematic diagram of a working state of an infrared module provided in an embodiment of the present application;
[0041] FIG14 is a schematic diagram of another working state of the infrared module provided in an embodiment of the present application;
[0042] FIG15 is a schematic diagram of another infrared module provided in an embodiment of the present application;
[0043] FIG16 is a schematic diagram of another infrared module provided in an embodiment of the present application;
[0044] FIG17 is a schematic diagram of a magnetic field generated by an energized coil;
[0045] FIG18A is a schematic diagram of an electronic device provided in an embodiment of the present application;
[0046] FIG18B is a schematic diagram of another electronic device provided in an embodiment of the present application;
[0047] FIG19 is a schematic diagram of an infrared module control system provided in an embodiment of the present application;
[0048] FIG20 is a schematic flow chart of a method for controlling an electronic device according to an embodiment of the present application;
[0049] FIG21 is a schematic diagram of another working scenario of the infrared module provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0051] In the following, the terms "first," "second," etc., are used for descriptive convenience only and should not be understood as indicating or implying relative importance or implicitly specifying the number of the technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more. For example, "plurality of processing units" refers to two or more processing units.
[0052] Furthermore, in the embodiments of the present application, "upper," "lower," "left," and "right" are not limited to being defined relative to the orientation of the components schematically shown in the drawings. It should be understood that these directional terms can be relative concepts. They are used for relative description and clarification, and may change accordingly based on changes in the orientation of the components in the drawings. In the drawings, the thickness of layers and regions is exaggerated for clarity, and the dimensional ratios between the components in the drawings do not reflect the actual dimensional ratios.
[0053] In the embodiments of this application, unless otherwise specified or limited, the term "connection" should be understood in a broad sense. For example, "connection" can mean fixed connection, detachable connection, or integration; it can mean direct connection or indirect connection through an intermediate medium. In addition, the term "electrical connection" can mean direct electrical connection or indirect electrical connection through an intermediate medium.
[0054] In the embodiments of the present application, the term "module" generally refers to a functional structure divided according to logic. The "module" can be implemented by pure hardware or a combination of hardware and software. In the embodiments of the present application, "and / or" describes the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, B exists alone, and A and B exist at the same time.
[0055] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0056] Infrared, also known as infrared, is an electromagnetic wave in the infrared band, between visible light and microwaves, with a wavelength range of 0.76-1000 microns. Infrared is a widely used electromagnetic wave, with extensive applications in security monitoring, healthcare, wireless control and other fields.
[0057] For example, electronic devices such as smartphones are equipped with infrared functions, which can be used to sense the user's call status. For example, when a user picks up the phone to answer a call, the infrared function detects that the phone is close to the ear and can turn off the phone's screen to avoid accidental touches; or infrared can also be used to sense the external environment. Usually, an infrared sensor is set at the top or bottom of the phone to monitor the ambient brightness, so that the brightness, color, etc. of the phone screen can be adjusted according to the ambient brightness.
[0058] In addition to monitoring, infrared can also be used to transmit data or control associated devices, such as televisions, air conditioners and other devices that support infrared control. If some mobile phones have built-in infrared functions, then these devices can be directly controlled and associated through the mobile phone, and the mobile phone can be used as a remote control.
[0059] Like remote controls, the infrared module of electronic devices such as mobile phones is usually installed on the top of the body, as shown in Figure 1A, for easy use. However, due to the limited space on the top of electronic devices such as mobile phones, it is usually necessary to open a hole in the middle frame, see Figure 1B, to transmit the infrared light emitted by the infrared emitter through a light guide. The size of the hole is limited by the space in the electronic device body and is usually around 1.6mm. This will result in a limited field of view (FOV) of the infrared emission, affecting the user's use of the infrared function.
[0060] Because infrared rays cannot pass through obstacles to control the controlled object like a radio remote control, controlling the controlled object using infrared rays usually requires the infrared emitter to be aimed at the controlled object. However, when controlling distant objects, the smaller FOV can make it impossible to aim at the controlled object. As shown in Figure 2, when a user uses an electronic device, if the infrared emitter cannot be aimed at the controlled object due to a change in the holding angle, the controlled object may not be controlled, affecting the user experience.
[0061] Here, the FOV of the infrared emitter emitting infrared rays is limited because of the size of the middle frame opening and the light guide column. The infrared rays emitted by the infrared emitter can only be transmitted through the light guide column set in the middle frame opening. Since the middle frame opening is small, the width (diameter) of the light guide column is limited, resulting in the FOV of the infrared emitter emitting infrared rays being limited.
[0062] To this end, an embodiment of the present application provides a solution for improving infrared FOV, which is applied to electronic devices such as mobile phones, tablet computers and other electronic devices. The following takes a mobile phone as an example. Figure 3 shows a structural schematic diagram of an electronic device provided by the embodiment of the present application.
[0063] 3 , the electronic device may include: a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.
[0064] Among them, the above-mentioned sensor 280 may include a pressure sensor, a gyroscope sensor, a gravity sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor and a bone conduction sensor.
[0065] It should be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown, or may combine or separate certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0066] The processor 210 may include one or more processing units. For example, the processor 210 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.
[0067] The controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0068] Processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 210 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 210. If processor 210 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 210 latency, and thus improves system efficiency.
[0069] In some embodiments, the processor 210 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0070] It is understood that the interface connection relationship between the modules illustrated in this embodiment is only for illustrative purposes and does not constitute a structural limitation on the electronic device. In other embodiments, the electronic device may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0071] The charging management module 240 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. While charging the battery 242, the charging management module 240 can also power the electronic device through the power management module 241.
[0072] The power management module 241 is used to connect the battery 242, the charging management module 240, and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240 and provides power to the processor 210, the internal memory 221, the external memory, the display 294, the camera 293, and the wireless communication module 260. In some embodiments, the power management module 241 and the charging management module 240 can also be provided in the same device.
[0073] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, a modem processor, and a baseband processor. In some embodiments, antenna 1 and mobile communication module 250 of the electronic device are coupled, and antenna 2 and wireless communication module 260 are coupled, so that the electronic device can communicate with the network and other devices through wireless communication technology.
[0074] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0075] Mobile communication module 250 can provide wireless communication solutions for electronic devices, including 2G / 3G / 4G / 5G. It can include at least one filter, switch, power amplifier, and low-noise amplifier (LNA). Mobile communication module 250 receives electromagnetic waves from antenna 1, filters and amplifies the received electromagnetic waves, and transmits them to the modem processor for demodulation.
[0076] The mobile communication module 250 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 250 can be set in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 can be set in the same device as at least some modules of the processor 210.
[0077] The wireless communication module 260 can provide wireless communication solutions for electronic devices, including WLAN (such as wireless fidelity, Wi-Fi network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.
[0078] Wireless communication module 260 can be one or more devices that integrate at least one communication processing module. Wireless communication module 260 receives electromagnetic waves via antenna 2, frequency-modulates and filters the electromagnetic wave signals, and transmits the processed signals to processor 210. Wireless communication module 260 can also receive signals to be transmitted from processor 210, frequency-modulate and amplify them, and then convert them into electromagnetic waves for radiation via antenna 2.
[0079] The electronic device implements display functionality through a GPU, display screen 294, and an application processor. A GPU is a microprocessor for image processing that connects display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or modify display information.
[0080] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel.
[0081] The electronic device can implement a camera function using an ISP, a camera 293, a video codec, a GPU, a display 294, and an application processor. The ISP is responsible for processing data fed back by the camera 293. The camera 293 is responsible for capturing still images or videos. In some embodiments, the electronic device may include one or N cameras 293, where N is a positive integer greater than one.
[0082] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 210 via the external memory interface 220 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0083] The internal memory 221 can be used to store computer executable program code, which includes instructions. The processor 210 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 221. For example, in an embodiment of the present application, the processor 210 can execute instructions stored in the internal memory 221, and the internal memory 221 can include a program storage area and a data storage area.
[0084] The program storage area may store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 221 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0085] The electronic device can implement audio functions such as music playback and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor.
[0086] The buttons 290 include a power button, a volume button, etc. The button 290 can be a mechanical button. It can also be a touch button. The motor 291 can generate a vibration prompt. The motor 291 can be used for an incoming call vibration prompt, or for touch vibration feedback. The indicator 292 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 295 is used to connect the SIM card. The SIM card can be inserted into the SIM card interface 295, or pulled out from the SIM card interface 295 to achieve contact and separation with the electronic device. The electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
[0087] The electronic device further includes an infrared module 300 , which may include an infrared transmitter and a receiver, wherein the infrared transmitter is used to transmit infrared light, and the infrared receiver is used to receive infrared light.
[0088] The electronic device also includes a middle frame 296 and a housing 297 as shown in FIG4 . The display screen 294 and the housing 297 are located on either side of the middle frame 296, with the back of the display screen 294 facing the housing 297. The display screen 294 and the housing 297 can be connected via the middle frame 296. The electronic device also includes a motherboard, a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, a camera 293, and other components or functional modules disposed on the motherboard. The motherboard is housed within the accommodation space formed by the middle frame 296, the display screen 294, and the housing 297. The housing 297 includes a transparent cover 298, beneath which the camera 293, the infrared module 300, and other components are disposed.
[0089] Setting the infrared module on the top of the electronic device will require opening a hole in the middle frame due to space limitations, and emitting infrared rays outward through the light guide. The FOV of the infrared rays is small. The solution provided in the embodiment of the present application sets the infrared module 300 under the transparent cover 298, without the need for opening a hole, thereby reducing obstruction. In addition, the infrared rays can be emitted outward through the transparent cover 298, and the power loss caused by the light guide conducting the infrared rays can also be avoided.
[0090] For example, in combination with Figure 5, the shell 297 can be covered on the middle frame 296, and the shell 297 includes a transparent cover 298. The camera module 193 and the infrared module 300 of the electronic device are arranged below the transparent cover 298, or in the space formed between the transparent cover 298 and the middle frame 296.
[0091] The infrared module 300 is arranged under the transparent cover 298, so that the infrared light emitted by the infrared module 300 can radiate outward through the transparent cover 298. Since the area of the transparent cover 298 is much larger than the area of the infrared module 300 and the camera module 193, and the transparent cover 298 can transmit light, the infrared module 300 is arranged below the transparent cover 298 without any obstruction, thereby avoiding the problem of the middle frame opening and the light guide column limiting the FOV of the infrared light emitted by the infrared module 300 in the aforementioned solution, so that the infrared function of the electronic device will not affect the user experience due to the limited FOV of the infrared light.
[0092] In one possible implementation, the transparent cover 298 includes a first area 2981 and a second area 2982. The camera module 193 is aligned with the first area 2981, and the infrared module 300 is aligned with the second area 2982. The second area 2982 may be coated with an infrared ink layer that only transmits infrared light and filters out light of other wavelengths.
[0093] The transparent cover 298 described above can be a transparent decorative cover for the camera module 193, also known as a decorative film (DECO). The DECO can be made of materials such as organic materials or tempered glass. Placing the infrared module 300 under the DECO of the camera module 193 can save internal space in the electronic device. To prevent light interference between the infrared module 300 and the camera module 193, foam can be placed between the infrared module 300 and the second area 2982 to prevent infrared leakage.
[0094] Although placing the infrared module 300 under the transparent cover 298 can increase the infrared FOV of the electronic device, due to the user's usage habits, referring to FIG6 , when the user uses the electronic device, the body of the electronic device is usually not in a horizontal or vertical state, but rather in a certain inclination angle to facilitate the user to browse the content displayed on the display screen 294.
[0095] Referring to Figure 7, if an electronic device is placed in an XYZ inertial coordinate system, with the Z axis pointing upward and perpendicular to the display screen, the X axis pointing forward and parallel to the axis of the device within the reference plane of the device, and the Y axis pointing to the right of the device, the angle of rotation of the device around the X axis is called the roll angle, the angle of rotation around the Y axis is called the pitch angle, and the angle of rotation around the Z axis is called the yaw angle.
[0096] When the infrared module 300 of the electronic device is set under the transparent cover on the shell of the electronic device, the center line of the FOV of the infrared ray is perpendicular to the plane of the shell. When the electronic device presents a certain inclination angle, it will affect the reach of the infrared ray emitted by the infrared module of the electronic device, or in other words, it will affect the control of the controlled object at a long distance.
[0097] For example, referring to Figures 8 and 9, when the plane of the electronic device's housing 297 is perpendicular to the horizontal plane and the infrared ray emission direction (direction A0 shown in Figure 8) is horizontal, the maximum horizontal distance can be reached, enabling control of objects that are farther away. However, when the electronic device exhibits a certain inclination angle, such as a pitch angle of α, because the electronic device's housing 297 is tilted toward the horizontal plane and the infrared ray emission direction (direction A1 shown in Figure 9) is perpendicular to the plane of the housing 297, the center direction of the infrared ray emitted by the infrared module 300 also shifts downward, shortening the horizontal distance that the infrared ray can reach. This may make it impossible to aim at controlled objects that are farther away.
[0098] From Figures 8 and 9, it can be seen that if you want to make the infrared ray emission distance in the horizontal direction the farthest, the infrared ray needs to be emitted in the horizontal direction. However, in this case, the electronic device needs to be kept perpendicular to the horizontal plane, which is not in line with the user's usage habits. The infrared module 300 is set under the transparent cover 298 of the shell 297. When using the infrared function of the terminal, the distance that the infrared ray can reach in the horizontal direction is greatly affected by the pitch angle of the electronic device. Due to the user's usage habits, the electronic device usually presents a certain pitch angle when using the electronic device, and this pitch angle will cause the distance that the infrared ray can reach in the horizontal direction to be shortened. Therefore, when using the infrared function of the electronic device, the user may need to adjust the posture of the electronic device so that the infrared ray can reach a farther distance in the horizontal direction, so that a better control range can be obtained when using infrared rays to control the controlled object.
[0099] To this end, an embodiment of the present application provides a solution that can adjust the emission angle of infrared rays according to the pitch angle of the electronic device. For example, as shown in Figure 10, when the electronic device presents a certain pitch angle, causing the plane of the shell 297 to be tilted downward, the emission direction of the infrared rays is also tilted downward (for example, the A1 direction in Figure 10). The electronic device provided by the embodiment of the present application can adjust the emission angle of the infrared rays so that the emission angle of the infrared rays can overcome the influence of the pitch angle of the electronic device and still maintain the state of emitting in the horizontal direction or close to the horizontal direction (such as the A2 direction in Figure 10), so that the infrared rays can control the controlled objects at a farther distance.
[0100] Illustratively, an embodiment of the present application provides an infrared module 300 that can adjust the emission angle of infrared rays. Referring to FIG11 , FIG11 shows a schematic structural diagram of the infrared module 300 provided in an embodiment of the present application. The infrared module 300 includes a first bracket 310, a second bracket 320, an infrared emitter 330, and an adjustment device.
[0101] Among them, the second bracket 320 includes a base 321 and a support column 322 connected to the base 321, the end of the support column 322 away from the base 321 is connected to the first bracket 310, and the infrared emitter 330 is installed on the first bracket 310. The infrared emitter 330 can emit infrared rays toward the side away from the second bracket 320. Among them, the adjustment device includes a first adjustment device 341, the first adjustment device 341 is arranged on the base 321, and the first adjustment device 341 is connected to the first bracket 310. The first adjustment device 341 is used to drive the first bracket 310 to shift or rotate in the first direction or the second direction, thereby driving the infrared emitter 330 installed on the first bracket 310 to shift or rotate in the first direction or the second direction. For example, the first direction here can refer to the counterclockwise direction around the Y axis in the aforementioned XYZ coordinate system, and the second direction can refer to the clockwise direction around the Y axis in the aforementioned XYZ coordinate system. When the electronic device rotates around the Y axis to generate a pitch angle, the emission direction of the infrared ray emitted by the infrared emitter 330 of the infrared module 300 can also be rotated around the Y axis by a certain angle, thereby avoiding the posture of the electronic device affecting the infrared function.
[0102] For example, referring to Figure 12, when the electronic device is rotated from a vertical state, that is, a state perpendicular to the horizontal plane (the pitch angle is 90°), around the Y axis clockwise (that is, toward the first direction) by an angle β, the pitch angle at this time is α, α+β=90°. If the emission direction of the infrared ray is not adjusted, then the emission direction of the infrared ray is obliquely downward in the direction with an angle β with the horizontal plane, which will shorten the distance that the infrared ray can reach. The electronic device provided in the embodiment of the present application can adjust the emission direction of the infrared ray, for example, rotate the emission direction of the infrared ray counterclockwise around the Y axis (that is, toward the second direction) by an angle β, so that the emission direction of the infrared ray can be restored to be emitted in the horizontal direction. The infrared ray emitted in the horizontal direction can reach a farther distance than the infrared ray emitted obliquely downward, so that the electronic device can effectively control the controlled device using infrared rays. The range is increased.
[0103] For example, referring to Figure 13, when the first adjustment device 341 applies a force to the first bracket 310 away from the second bracket 320, the first bracket 310 shifts or rotates toward the first direction (i.e., clockwise around the Y-axis). In this case, the emission direction of the infrared ray emitted by the infrared emitter 330 also shifts or rotates toward the first direction as the first bracket 310 shifts or rotates.
[0104] For example, referring to Figure 14, when the first adjustment device 341 applies a force to the first bracket 310 toward the second bracket 320, the first bracket 310 shifts or rotates toward the second direction (i.e., counterclockwise around the Y-axis). In this case, the emission direction of the infrared ray emitted by the infrared emitter 330 also shifts or rotates toward the second direction along with the first bracket 310.
[0105] In a possible implementation, the first bracket 310 is movably connected to the support column 322 , so that the first adjustment device 341 can drive the first bracket 310 to deflect in the first direction or the second direction.
[0106] Alternatively, the first bracket 310 can be rotatably connected to the support column 322, so that the first adjustment device 341 can drive the first bracket 310 to rotate along the first direction or the second direction. For example, the first bracket 310 can be connected to the support column 322 by a rotating shaft, a ball head, etc.
[0107] Of course, the first bracket 310 can also be fixedly connected to the support column 322. In this case, the support column 322 can be made of elastic material, so that when the first adjustment device 341 applies force to the first bracket 310, the support column 322 can be elastically deformed, causing the first bracket 310 to shift or rotate in the first direction or the second direction.
[0108] For example, in one possible implementation, referring to FIG15 , the adjusting device may further include a second adjusting device 342 , the second adjusting device 342 and the first adjusting device 341 being distributed on both sides of the support column 322 , the second adjusting device 342 being arranged on the base 321 of the second bracket 320 , and the second adjusting device 342 being connected to the first bracket 310 .
[0109] The structure and principle of the second adjusting device 342 are the same as those of the first adjusting device 341. The second adjusting device 342 can also apply a force to the first bracket 310 in a direction away from the second bracket 320 or a force in a direction toward the second bracket 320, driving the first bracket 310 to deviate or rotate in the second direction or the first direction.
[0110] In a possible implementation, the first adjustment device 341 and the second adjustment device 342 both include two working states, namely applying a force to the first bracket 310 in a direction close to the second bracket 320 or applying a force to the first bracket 310 in a direction away from the second bracket 320 .
[0111] For example, when the first adjusting device 341 applies a force to the first bracket 310 in a direction close to the second bracket 320, the first bracket 310 deviates or rotates toward the second direction; when the first adjusting device 341 applies a force to the first bracket 310 in a direction away from the second bracket 320, the first bracket 310 deviates or rotates toward the first direction.
[0112] Since the second adjusting device 342 and the first adjusting device 341 are distributed on both sides of the supporting column 322 , the forces exerted on the first bracket 310 in the same direction by them will produce opposite effects.
[0113] For example, when the second adjusting device 342 applies a force to the first bracket 310 in a direction close to the second bracket 320, the first bracket 310 deviates or rotates in a first direction; when the second adjusting device 342 applies a force to the first bracket 310 in a direction away from the second bracket 320, the first bracket 310 deviates or rotates in a second direction.
[0114] In this case, when the first bracket 310 deviates or rotates in the first direction or the second direction, it is driven by the first adjustment device 341 and the second adjustment device 342 at the same time, and deviates or rotates under the joint action of the first adjustment device 341 and the second adjustment device 342.
[0115] In the above example, the first adjustment device 341 can apply a force to the first bracket 310 toward or away from the second bracket 320, and the second adjustment device 342 can apply a force to the first bracket 310 away from or toward the second bracket 320. This means that the first adjustment device 341 and the second adjustment device 342 can independently drive the first bracket 310 to rotate or deflect in the first direction or the second direction, thereby causing the infrared emitter 330 to deflect or rotate the direction of infrared light. If one of the first adjustment device 341 and the second adjustment device 342 fails, the other adjustment device can drive the first bracket 310 to rotate or deflect in the first direction or the second direction, thereby causing the infrared emitter 330 to deflect or rotate the emission angle of infrared light.
[0116] Alternatively, in some other possible examples, the first adjustment device 341 and the second adjustment device 342 can only apply a force in one direction to the first bracket 310, for example, the first adjustment device 341 applies a force to the first bracket 310 in a direction toward the second bracket 320, and the second adjustment device 342 applies a force to the first bracket 310 in a direction away from the second bracket 320; or the first adjustment device 341 applies a force to the first bracket 310 in a direction away from the second bracket 320, and the second adjustment device 342 applies a force to the first bracket 310 in a direction toward the second bracket 320. In this case, the first adjustment device 341 and the second adjustment device 342 can only drive the first bracket 310 to rotate in the first direction or the second direction, respectively. The first adjustment device 341 and the second adjustment device 342 must work together to enable the first bracket 310 to have the ability to rotate or deflect in different directions. The first adjustment device 341 and the second adjustment device 342 are used to drive the first bracket 310 to deflect or rotate, thereby driving the infrared emitter 330 installed on the first bracket 310 to deflect or rotate the emission direction of infrared rays.
[0117] Exemplarily, in one possible implementation, the first adjustment device 341 and the second adjustment device 342 may be telescopic rods, wherein the telescopic rods may include a fixed part and a movable part, wherein the fixed part is mounted on the base 321 of the second bracket 320, one end of the movable part is connected to the fixed part, and the other end of the movable part is connected to the first bracket 310, and the movable part can be telescopic. When the movable part is extended, a force is applied to the first bracket 310 in a direction away from the second bracket 320, and when the movable part is retracted, a force is applied to the first bracket 310 in a direction toward the second bracket 320.
[0118] Alternatively, in another possible implementation, the first adjustment device 341 and the second adjustment device 342 can be voice coil motors or drive motors with the same function. The voice coil motor or drive motor is connected to the first bracket 310 through a transmission mechanism. When the voice coil motor or drive motor rotates forward, a force is applied to the first bracket 310 in a direction away from the second bracket 320 through the transmission mechanism. When the voice coil motor or drive motor rotates backward, a force is applied to the first bracket 310 in a direction toward the second bracket 320 through the drive mechanism, thereby driving the first bracket 310 to deviate or rotate toward the first direction or the second direction, driving the emission direction of the infrared emitter 330 to rotate toward the first direction or the second direction.
[0119] However, due to the limited space of the electronic device, the telescopic rod, voice coil motor, etc. used as the first adjustment device 341 and the second adjustment device 342 occupy a large space and are relatively expensive. Therefore, the embodiment of the present application provides another implementation method, which can reduce the space occupied by the first adjustment device 341 and the second adjustment device 342 while also reducing costs.
[0120] Exemplarily, referring to FIG. 16 , taking the first adjustment device 341 as an example, the first adjustment device 341 includes a first coil 3411 and a first magnetic member 3412 . When current passes through the first coil 3411 , a magnetic field is generated, thereby attracting the first magnetic member 3412 . Among them, one of the first coil 3411 and the first magnetic part 3412 can be set on the second bracket 320, and the other is set on the first bracket 310. For example, the first coil 3411 is set on the base 321 of the second bracket 320, and the first magnetic part 3412 can be installed at the corresponding position of the first bracket 310, so that the first coil 3411 and the first magnetic part 3412 can be set relative to each other. When the first coil 3411 is energized, it can attract the first magnetic part 3412. The first magnetic part 3412 is installed on the first bracket 310. Therefore, when the first magnetic part 3412 is attracted by the first coil 3411, the first magnetic part 3412 can apply a force to the first bracket 310 toward the second bracket 320, driving the first bracket 310 to deviate or rotate in the first direction, and driving the emission direction of the infrared emitter 330 to rotate toward the first direction.
[0121] Alternatively, the first coil 3411 is arranged on the base 321 of the second bracket 320, and the first magnetic part 3412 is installed at the corresponding position of the first bracket 310, so that the first coil 3411 and the first magnetic part 3412 can be arranged relative to each other, so that when the first coil 3411 is energized, it can attract the first magnetic part 3412. Since the first magnetic part 3412 is fixedly installed on the second bracket 320, the reaction force of the first magnetic part 3412 on the first coil 3411 can drive the first bracket 310 to deviate or rotate in the first direction, driving the emission direction of the infrared emitter 330 to rotate in the first direction.
[0122] It can be seen from the above content that the coil can be set on the second bracket 320, and the magnetic part is set on the first bracket 310, or the coil can be set on the first bracket 310, and the magnetic part is set on the second bracket 320. For the sake of convenience, in the subsequent examples of this application, the coil is set on the second bracket 320 and the magnetic part is set on the first bracket 310.
[0123] Continuing with the first adjustment device 341 as an example, the first magnetic part 3412 can be an iron sheet fixedly arranged on the side of the first bracket 310 facing the second bracket 320, or the first magnetic part 3412 can also be a sheet structure made of ferromagnetic materials such as iron, steel, nickel, and cobalt.
[0124] The second adjusting device 342 has the same structure as the first adjusting device 341. The second adjusting device 342 includes a second coil 3421 and a second magnetic member 3422. The second coil 3421 is arranged on the base 321 of the second bracket 320, and the second magnetic member 3422 is arranged on the first bracket 310. When current passes through the second coil 3421, a magnetic field is generated, which attracts the second magnetic member 3422 and drives the first bracket 310 to rotate in the second direction, thereby driving the emission direction of the infrared emitter 330 to shift or rotate in the second direction.
[0125] For example, the first adjustment device 341 and / or the second adjustment device 342 drive the first bracket 310 to deflect or rotate due to the force between the energized coil and the magnetic member. According to the right-hand screw rule, the greater the current flowing through the coil and the greater the number of coil turns, the stronger the magnetic field formed. Therefore, the first adjustment device 341 and / or the second adjustment device 342 can adjust the magnitude of the force applied to the first bracket 310 by adjusting the coil current.
[0126] The force F applied by the first and second adjustment devices 341, 342 to the first bracket 310 satisfies the following equation: F = BIL, where B represents the magnetic field strength. When the number of turns of the first and second coils 3411, 3421 is fixed, B is determined by the current flowing through the coils. I represents the intensity of the induced current on the magnetic component, and L represents the length of the conductor in the magnetic field. Taking the first coil 3411 as an example, a greater current flowing through the first coil 3411 generates a greater magnetic field strength, a greater induced current I on the magnetic component, and, consequently, a greater electromagnetic force F, resulting in a greater attraction to the magnetic component.
[0127] In some possible implementations, an iron core may be inserted into the first coil 3411 and the second coil 3421 . The addition of the iron core may enhance the strength of the magnetic field generated by the first coil 3411 and the second coil 3421 when energized.
[0128] In addition, referring to FIG17 , according to the right-hand screw rule, the direction of the magnetic field generated by the energized coil is related to the direction of the current. If the current passing through the coil is reversed, the direction of the generated magnetic field will also change in the opposite direction.
[0129] Therefore, in combination with the above example, the first adjustment device 341 and the second adjustment device 342 can both apply a force to the first bracket 310 in a direction close to the second bracket 320 or in a direction away from the second bracket 320. In this case, this can be achieved by changing the direction of the current flowing through the first coil 3411 and the second coil 3421 and adjusting the current magnitude.
[0130] In one possible implementation, the first adjustment device 341 can only apply a force to the first bracket 310 in a direction toward the second bracket 320, and the second adjustment device 342 can only apply a force to the first bracket 310 in a direction away from the second bracket 320, or the first adjustment device 341 can only apply a force to the first bracket 310 in a direction away from the second bracket 320, and the second adjustment device 342 can only apply a force to the first bracket 310 in a direction toward the second bracket 320. In this case, the current flowing through the first coil 3411 and the second coil 3421 can be changed to achieve the desired effect. For example, if the current flowing through the first coil 3411 is larger and the current flowing through the second coil 3421 is smaller or zero, then the force applied by the first adjusting device 341 is larger, which is reflected in that the first bracket 310 is offset or rotated in the first direction under the force applied by the first adjusting device 341; conversely, if the current flowing through the second coil 3421 is larger and the current flowing through the first coil 3411 is smaller or zero, then the force applied by the second adjusting device 342 is larger, which is reflected in that the first bracket 310 is offset or rotated in the second direction under the force applied by the second adjusting device 342.
[0131] Based on the infrared module 300 provided in the above example, when a user uses an electronic device, the direction in which the infrared module 300 emits infrared rays can be changed, thereby reducing the impact of the posture of the electronic device on the effective range of the infrared function of the electronic device.
[0132] Exemplarily, an infrared driving circuit may be provided on the main board of the electronic device, and the infrared driving circuit includes a first output terminal P1 and a second output terminal P2, wherein the first output terminal P1 is electrically connected to the first coil 3411, and the second output terminal P2 is electrically connected to the second coil 3421.
[0133] The processor 210 of the electronic device can control the infrared driving circuit to adjust the direction and magnitude of the current output to the first coil 3411 and the second coil 3421, thereby changing the emission angle of the infrared rays.
[0134] Combined with the above example, the impact of the posture change of the electronic device on the infrared function of the user clock is mainly reflected in the fact that the pitch angle of the electronic device causes the infrared light to reach a shorter distance. Especially when the pitch angle of the electronic device is positive and the back cover of the electronic device is tilted toward the ground, the infrared light emission angle is also toward the ground, which will cause the infrared light to be unable to reach the controlled object that is farther away.
[0135] In the solution provided in the embodiment of the present application, the infrared module 300 can be arranged under the transparent cover 298 of the cover of the electronic device, and the emission angle of the infrared emitter 330 can be deflected under the drive of the first adjustment device 341 and the second adjustment device 342. Since the infrared module is mainly affected by the pitch angle of the electronic device, the adjustment of the infrared emitter 330 by the first adjustment device 341 and the second adjustment device 342 is mainly to offset or reduce the influence of the pitch angle of the electronic device on the emission angle of the infrared emitter 330.
[0136] For example, in one possible implementation, referring to FIG18A , the line connecting the first adjusting device 341 and the second adjusting device 342 is parallel to the body axis of the electronic device, or parallel to the X-axis mentioned in the aforementioned example, so that when the first adjusting device 341 and the second adjusting device 342 apply a force to the first bracket 310, the first bracket 310 can rotate or shift in the first direction (clockwise around the Y-axis), or the first bracket 310 can rotate or shift in the second direction (counterclockwise around the Y-axis), driving the infrared emitter 330 to rotate, so that the emission direction of the infrared ray can also rotate or shift along the second direction or the first direction, keeping the emission direction of the infrared ray along the horizontal direction or close to the horizontal direction, which can offset or reduce the influence of the pitch angle of the electronic device on the emission direction and reaching distance of the infrared emitter 330.
[0137] In one possible implementation, the adjustment device also includes an infrared driving circuit 343. The processor 210 can control the infrared driving circuit 343 to adjust the magnitude or direction of the current of the first coil 3411 and the second coil 3421 according to the user's instructions, thereby driving the infrared module 300 to emit infrared rays in an offset or rotation direction.
[0138] For example, the electronic device includes a touch screen, and the processor 210 can control the infrared driving circuit 343 to adjust the direction, size, etc. of the current output to the first coil 3411 and the second coil 3421 in response to the user's touch operation on the touch screen, thereby driving the infrared module 300 to emit infrared rays at an offset or rotation angle.
[0139] Alternatively, the electronic device includes physical buttons, knobs, etc., and the processor 210 can control the infrared driving circuit 343 to adjust the direction, size, etc. of the current output to the first coil 3411 and the second coil 3421 in response to the user's operation of the physical buttons, knobs, etc., thereby driving the infrared module 300 to emit infrared rays at an offset or rotation angle.
[0140] Alternatively, the electronic device includes a voice control module, and the processor 210 can control the infrared driving circuit 343 to adjust the direction, magnitude, etc. of the current output to the first coil 3411 and the second coil 3421 in response to the voice control instructions issued by the user, thereby driving the infrared module 300 to emit infrared rays at an offset or rotation angle.
[0141] Illustratively, the electronic device provided in the embodiment of the present application sets the infrared module 300 under the transparent cover, and the infrared module 300 is aligned with the second area of the transparent cover to expand the FOV of the infrared module 300 emitting infrared. Since the emission direction of the infrared ray emitted by the infrared module 300 can move in the first direction and the second direction, it can be understood, referring to Figure 18B, that the size of the second area 2982 of the transparent cover 298 should ensure that the emission direction of the infrared ray emitted by the infrared module 300 will not be blocked when it reaches the extreme range of the first direction and the second direction.
[0142] Although the above example can adjust the emission direction of infrared rays emitted by the infrared module 300 and overcome the influence of the electronic device posture on the infrared reaching distance and effective range, for the user, the process of using the infrared function is more complicated. The user issues instructions to adjust the emission direction of the infrared rays. On the one hand, it increases the difficulty of use for the user. On the other hand, it may still be impossible to aim at the controlled object after multiple adjustments, that is, the adjustment direction is wrong or the adjustment is not in place, which affects the user's experience.
[0143] To this end, the electronic device provided in the embodiment of the present application can automatically adjust the emission direction of the infrared ray of the infrared module 300 according to the pitch angle of the electronic device. Exemplarily, the sensor 280 of the electronic device includes a gyroscope, a gravity sensor, an acceleration sensor and other sensors, which can be used to detect the posture data of the electronic device, such as the posture data such as the tilt angle. The processor 210 can determine the pitch angle of the electronic device based on the data detected by the sensor 280, determine the angle that needs to be adjusted for the emission direction of the infrared ray emitted by the infrared module 300 based on the pitch angle of the electronic device, and control the infrared driving circuit 343 to adjust the current output to the first coil 3411 and the second coil 3421, thereby adjusting the emission direction of the infrared ray.
[0144] For example, refer to Figure 19, which shows a schematic diagram of the control system of the infrared module 300 provided in an embodiment of the present application, including a processor 210, an infrared driving circuit 343, a first coil 3411, a second coil 3421 and a sensor 280.
[0145] Among them, the sensor 280 is connected to the processor 210. The sensor 280 may include a gyroscope, a gravity sensor, an acceleration sensor, etc. The posture data detected by the sensor 280 is sent to the processor 210. The processor 210 can determine the pitch angle of the electronic device based on the posture data detected by the sensor.
[0146] The processor 210 is connected to the infrared driving circuit 343 . The infrared driving circuit 343 includes a first output terminal P1 and a second output terminal P2 . The first output terminal P1 is connected to the first coil 3411 , and the second output terminal P2 is connected to the second coil 3421 .
[0147] The processor 210 sends a control signal to the infrared driving circuit 343 according to the pitch angle of the electronic device to control the infrared driving circuit 343 to adjust the signal size output by the first output terminal P1 and the second output terminal P2, thereby controlling the emission angle of the infrared module 300 to emit infrared rays.
[0148] For example, referring to FIG. 20 , FIG. 20 shows a flow chart of a control method for an infrared module provided in an embodiment of the present application, including:
[0149] S510: Obtain an instruction to start infrared.
[0150] S520: Detecting the tilt of the electronic device in the pitch direction.
[0151] When the user activates the infrared function of the electronic device, the tilt of the electronic device is detected. For example, a sensor provided in the electronic device can be used to detect the tilt state of the electronic device.
[0152] S530: In response to the tilt of the electronic device in the pitch direction, adjust the emission direction of the infrared rays emitted by the infrared module relative to the transparent cover.
[0153] For example, when the emission direction of the infrared rays emitted by the infrared module relative to the transparent cover is not adjusted, the emission direction of the infrared rays is emitted outward perpendicular to the transparent cover. When the electronic device is tilted, the emission direction of the infrared rays will also change with the tilt of the electronic device. For example, when the electronic device is tilted downward, the emission direction of the infrared rays will also tilt downward; when the electronic device is tilted upward, the emission direction of the infrared rays will also tilt upward. Both upward and downward tilting will cause the distance that the infrared rays can reach to become shorter, affecting the control range of the infrared rays. The solution provided in the embodiment of the present application adjusts the emission direction of the infrared rays emitted by the infrared module relative to the transparent cover in response to the tilt of the electronic device. For example, when the electronic device is tilted downward, the emission direction of the infrared rays relative to the transparent cover is adjusted to move upward, so as to try to ensure that the infrared rays can be emitted in the horizontal direction, and the control range is larger.
[0154] For example, when the posture of the electronic device changes, for example, when it presents a certain pitch angle, the emission direction of the infrared module also changes, for example, from emitting in the horizontal direction to emitting in the oblique upward direction or in the oblique downward direction, which will shorten the infrared reaching distance and reduce the effective control range. To overcome the influence of the pitch angle of the electronic device on the emission direction of the infrared module, it is necessary to adjust the emission direction of the infrared module so that the infrared rays are emitted as horizontally as possible or as close to the horizontal direction as possible.
[0155] For example, in combination with Figure 12, when the pitch angle of the electronic device is α, α<90°, before the emission direction is adjusted (as shown in the direction A1 in the figure), the angle between the emission direction of the infrared module and the horizontal plane is -β (positive above the horizontal plane and negative below the horizontal plane), where α+β=90°, so the emission direction of the infrared module needs to be rotated counterclockwise along the Y-axis, that is, the second direction mentioned in the above example. Rotation angle β.
[0156] For example, when the pitch angle of the electronic device is α, α=90°, the shell plane of the electronic device is perpendicular to the horizontal plane, and the emission direction of the infrared module emitting infrared rays is along the horizontal direction, so there is no need to adjust the emission direction.
[0157] For example, in combination with Figure 21, when the pitch angle of the electronic device is α, 180°>α>90°, before the emission direction is adjusted (as shown in the direction A1 in the figure), the angle between the emission direction of the infrared module and the horizontal plane is β (positive above the horizontal plane and negative below the horizontal plane), where α-β=90°, so the emission direction of the infrared module needs to be rotated clockwise along the Y axis, that is, the first direction mentioned in the above example is rotated by angle β.
[0158] Among them, a pitch angle of 0 to 90 degrees can correspond to the posture of the user standing or sitting to use the electronic device, and a pitch angle of 90 degrees to 180 degrees can correspond to the posture of the user lying down to use the electronic device. When the pitch angle is less than 0 degrees or greater than 180 degrees, it can be adjusted accordingly according to the solution introduced in the above example.
[0159] For example, the processor may control the infrared drive circuit to adjust the magnitude and / or direction of the current in the coil in response to the tilt of the electronic device in the pitch direction, thereby adjusting the emission direction of infrared light emitted by the infrared module. After determining the angle adjustment amount, the processor controls the infrared drive circuit to adjust the magnitude and / or direction of the current in the first coil and the second coil to adjust the emission direction of the infrared module by the aforementioned angle adjustment amount.
[0160] After adjusting the emission direction of the infrared module by the aforementioned angle adjustment amount, the emission direction of the infrared module reaches the target position, and the infrared function is activated. The infrared rays are emitted in the horizontal direction or close to the horizontal direction, thereby obtaining a longer control distance.
[0161] For example, since the pitch angle of the electronic device may change when the user uses the infrared function, the user can also adjust the emission direction of the infrared module in real time when using the infrared function, and is not limited to adjusting the emission direction when the infrared function is activated.
[0162] In the above examples, only the influence of the pitch angle on the infrared function is mentioned. Therefore, the first adjustment device and the second adjustment device can adjust the infrared emission direction to be offset or rotated along the first direction (clockwise around the Y axis) or the second direction (counterclockwise around the Y axis). In some other possible situations, the heading angle, roll angle, etc. of the electronic device may also affect the infrared function. In this case, multiple adjustment devices can be added to adjust the infrared emission direction in the direction of the roll angle or heading angle of the electronic device.
[0163] The steps of the method described in conjunction with the disclosure of the present application can be implemented in a hardware manner or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, which can be stored in a random access memory (RAM), a flash memory, an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk, a mobile hard disk, a read-only compact disc (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC.
[0164] Those skilled in the art will appreciate that, in one or more of the examples above, the functions described herein may be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions may be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transmission of a computer program from one place to another. The storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0165] Finally, it should be noted that the above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. An electronic device, characterized in that: The electronic device comprises a middle frame, a shell, a processor and an infrared module, the shell covers the middle frame, the processor and the infrared module are arranged in a receiving space formed by the shell and the middle frame, the shell comprises a transparent cover plate, and the infrared module is arranged under the transparent cover plate; The processor is used to adjust the emission direction of the infrared rays emitted by the infrared module relative to the transparent cover in response to the tilt of the electronic device in the pitch direction.
2. The electronic device according to claim 1, characterized in that: The infrared module includes an adjustment device, a first bracket and an infrared emitter, the infrared emitter is mounted on the first bracket, and the adjustment device is electrically connected to the processor; The adjusting device is used to adjust the inclination of the first bracket in response to the control of the processor, so as to adjust the emission direction of the infrared rays emitted by the infrared emitter relative to the transparent cover plate.
3. The electronic device according to claim 2, characterized in that: The infrared module further comprises a second bracket, and the adjusting device comprises a first adjusting device; The second bracket includes a base and a support column connected to the base, one end of the support column away from the base is connected to the first bracket, the first adjustment device is arranged on the base, and the first adjustment device is connected to the first bracket; The first adjusting device is used to drive the first bracket to deviate toward a first direction or a second direction in response to the control of the processor, thereby driving the infrared light emitted by the infrared emitter to deviate toward the first direction or the second direction relative to the emission direction of the transparent cover plate; The first direction is opposite to the pitch direction of the electronic device, and the second direction is forward to the pitch direction of the electronic device.
4. The electronic device according to claim 3, characterized in that: The first regulating device comprises a first coil and a first magnetic member, and when the first coil is energized, it attracts or repels the first magnetic member; Wherein, the first coil is arranged on the base, and the first magnetic member is arranged on the first bracket; Alternatively, the first magnetic member is disposed on the base, and the first coil is disposed on the first bracket.
5. The electronic device according to claim 4, characterized in that: The adjustment device also includes an infrared drive circuit, which is electrically connected to the processor. The infrared drive circuit includes a first output end, which is connected to the first coil. The processor is used to control the infrared drive circuit to adjust the current size and / or direction of the signal output to the first coil in response to the tilt angle of the electronic device.
6. The electronic device according to claim 5, characterized in that: The adjusting device also includes a second adjusting device, which is arranged on the base and connected to the first bracket. The second adjusting device is used to drive the first bracket to shift toward the second direction or the first direction in response to the control of the processor, thereby driving the infrared rays emitted by the infrared emitter to shift toward the second direction or the first direction relative to the exit direction of the transparent cover.
7. The electronic device according to claim 6, characterized in that: The first adjusting device and the second adjusting device are located on both sides of the supporting column.
8. The electronic device according to claim 6 or 7, characterized in that: The second regulating device comprises a second coil and a second magnetic member, and when the second coil is energized, it attracts or repels the second magnetic member; Wherein, the second coil is arranged on the base, and the second magnetic member is arranged on the first bracket; Alternatively, the second magnetic member is disposed on the base, and the second coil is disposed on the first bracket.
9. The electronic device according to claim 8, characterized in that: The infrared driving circuit also includes a second output terminal, which is connected to the second coil. The processor is used to control the infrared driving circuit to adjust the current size and / or direction of the signal output to the first coil in response to the tilt angle of the electronic device.
10. The electronic device according to any one of claims 1 to 9, characterized in that: The electronic device further comprises a camera module, and the camera module is arranged under the transparent cover plate; The transparent cover plate includes a first area and a second area, the camera module is aligned with the first area, and the infrared module is aligned with the second area.
11. The electronic device according to any one of claims 1 to 10, characterized in that: The electronic device further includes a sensor, which is connected to the processor and is used to detect the tilt of the electronic device.
12. An infrared module, characterized in that: The infrared module comprises: a first bracket, a second bracket, a first adjustment device and an infrared emitter; The infrared emitter is mounted on the first bracket, the second bracket includes a base and a support column connected to the base, and one end of the support column away from the base is connected to the first bracket; The first adjusting device comprises a first magnetic member and a first coil, wherein the first coil is arranged on the base, and the first magnetic member is arranged on the first bracket; or, the first magnetic member is arranged on the base, and the first coil is arranged on the first bracket; When the first coil is energized, it attracts or repels the first magnetic member, driving the first bracket to deviate toward a first direction or a second direction, thereby causing the emission direction of the infrared rays emitted by the infrared transmitter to deviate toward the first direction or the second direction, and the second direction is opposite to the first direction.
13. The infrared module according to claim 12, characterized in that: The infrared module also includes a second adjustment device; The second adjusting device comprises a second magnetic member and a second coil, wherein the second coil is arranged on the base, and the second magnetic member is arranged on the first bracket; or the second magnetic member is arranged on the base, and the second coil is arranged on the first bracket; When the second coil is energized, it attracts or repels the second magnetic member; the second bracket is driven to deviate toward the second direction or the first direction, thereby causing the emission direction of the infrared rays emitted by the infrared transmitter to deviate toward the second direction or the first direction.
14. The infrared module according to claim 13, characterized in that: The first adjusting device and the second adjusting device are distributed on both sides of the supporting column.
15. The infrared module according to any one of claims 12 to 14, characterized in that: The second bracket is movably connected to the supporting column.
16. The infrared module according to any one of claims 12 to 15, characterized in that: The second bracket is rotatably connected to the support column.
17. A method for controlling an electronic device, characterized in that: The electronic device comprises a middle frame, a shell, a processor and an infrared module, the shell covers the middle frame, the processor and the infrared module are arranged in a receiving space formed by the shell and the middle frame, the shell comprises a transparent cover plate, and the infrared module is arranged under the transparent cover plate, and the method comprises: Detecting the tilt of the electronic device in a pitch direction; In response to the tilt of the electronic device in the pitch direction, the infrared light emitted by the infrared module is adjusted relative to the emission direction sensor of the transparent cover.
18. The control method according to claim 17, characterized in that: The infrared module includes: a first bracket, a second bracket, a first adjustment device and an infrared transmitter; the infrared transmitter is installed on the first bracket, the second bracket includes a base and a support column connected to the base, and the end of the support column away from the base is connected to the first bracket, the first adjustment device includes a first coil and a first magnetic member, wherein the first coil is arranged on the base, and the first magnetic member is arranged on the first bracket; or, the first magnetic member is arranged on the base, and the first coil is arranged on the first bracket, and the adjusting of the emission direction of the infrared rays emitted by the infrared module relative to the transparent cover in response to the tilt of the electronic device includes: In response to the tilt of the electronic device in the pitch direction, the magnitude and / or direction of the current output to the first coil is adjusted.
19. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to claim 17 or 18 are implemented.
Citation Information
Patent Citations
A mobile terminal
CN109040369A
Camera assembly and electronic equipment
CN110049214A
Optical member tilting device, camera device, and electronic apparatus
CN113014749A
Turnover assembly, camera module and electronic equipment
CN216437329U
Camera modules and electronic devices
JP7183462B1
