Electronic equipment, control method thereof and infrared module
By arranging the infrared module under the transparent cover of the electronic device and using the adjustment device to adjust its emission direction, the problem of the limited field of view of the infrared module is solved, and the use effect and user experience of the infrared function are improved.
Patent Information
- Application Number
- CN202310379735.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-01
AI Technical Summary
Infrared modules in electronic devices have a fixed emission direction, resulting in a limited field of view, which affects the normal use of infrared functions by users. Especially when the electronic device is tilted at an angle, the emission distance is limited.
Set the infrared module under the transparent cover, adjust the emission direction of the infrared emitter through an adjustment device (such as a coil and magnetic parts), and use the processor to detect the tilt angle of the electronic device and adjust the emission direction of the infrared ray to overcome the problems of the electronic device. The effect of pitch angle on infrared emission distance.
It expands the field of view of the infrared module, reduces the impact of the posture of the electronic device on the infrared function, improves the ability to control distant controlled objects, and enhances the user experience.
Smart Images

Figure CN118740965A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to an electronic device and a control method thereof, and an infrared module. Background Art
[0002] Some electronic devices have built-in infrared functions, which can be used to directly control and associate these related devices through electronic devices, and use electronic devices as remote controls. Usually, the infrared module of electronic devices is set on the top of the fuselage for easy use. However, since the emission direction of the infrared module is fixed and the top space of the electronic device is limited, it is usually necessary to open a hole in the middle frame to transmit the infrared light emitted by the infrared transmitter through the light guide. The size of the hole is limited by the space of the electronic device body, which will result in a limited field of view (FOV) of infrared emission, affecting the user's use of the infrared function. Summary of the invention
[0003] The embodiments of the present application provide an electronic device and a control method thereof, and an infrared module, which are used to improve the problem that the infrared module of the electronic device is configured on the top of the body, the emission direction of the infrared module is fixed, the field of view is small, and normal use is affected.
[0004] In order to achieve the above purpose, the solution adopted by the embodiment of the present application is as follows:
[0005] 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 plate, and the infrared module is arranged under the transparent cover plate. In this way, it is possible to avoid setting the infrared module at the top of the electronic device body, and the problem of FOV being limited due to the influence of the middle frame opening, the light guide column, etc. The infrared module is set under the transparent cover plate, and 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 plate in response to the tilt of the electronic device in the pitch direction. In this way, the influence of the tilt angle of the electronic device on the infrared emission distance can be overcome. 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, thereby overcoming the problem of limited emission distance caused by the electronic device pitching up or down.
[0006] In one possible implementation, the infrared module includes an adjusting device, a first bracket and an infrared emitter, the infrared emitter is mounted on the first bracket, and the adjusting 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, 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.
[0007] In a 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 in the first direction or the second direction in response to the control of the processor, thereby driving the infrared light emitted by the infrared emitter to shift in the first direction or the second direction relative to the emission direction of the transparent cover plate; wherein the first direction is the opposite direction of the pitch direction of the electronic device, and the second direction is the positive direction of the pitch direction of the electronic device, so as to reduce the influence of the upward or downward pitch of the electronic device on the infrared emission.
[0008] In a possible implementation, the first adjustment device includes a first coil and a first magnetic member, and when the first coil is energized, the first magnetic member is attracted or repelled; 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, so that when the first coil is energized, through the interaction between the first coil and the first magnetic member, the first adjustment device can exert a force on 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.
[0009] 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 terminal, 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.
[0010] In a possible implementation, the adjustment device also includes a second adjustment device, which is disposed 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 light emitted by the infrared emitter to shift toward the second direction or the first direction relative to the emission direction of the transparent cover.
[0011] In a possible implementation, the first adjustment device and the second adjustment device are located on both sides of the support column. The first adjustment device and the second adjustment device can both adjust the emission direction of the infrared light emitted by the infrared emitter relative to the transparent cover plate. By providing the first adjustment device and the second adjustment device, the first adjustment device and the second adjustment device can both operate independently or together, thereby increasing the reliability of the infrared module of the electronic device.
[0012] 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 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.
[0013] In a possible implementation, the infrared driving circuit also includes a second output terminal connected to the second coil, and the processor is used to control the infrared driving circuit to adjust the current size or direction of the signal output to the second coil according to the pitch angle.
[0014] In a possible implementation, the electronic device further includes a camera module, which is disposed under a transparent cover; the transparent cover 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. The infrared module is disposed near the camera module to save internal space of the electronic device.
[0015] In a possible implementation, the electronic device further includes a sensor, which is connected to the processor and is used to detect the tilt of the electronic device.
[0016] 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, drives the first bracket to shift in the first direction or the second direction, thereby driving the emission direction of the infrared ray emitted by the infrared emitter to shift in the first direction or the second direction, wherein the second direction is opposite to the first direction.
[0017] 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 the first direction or the second direction, thereby driving the emission direction of the infrared emitter installed on the first bracket to shift in the first direction or the second direction, so that a better infrared field of view can be obtained by adjusting the emission direction. The interaction between the energized coil and the magnetic part is used to drive the second bracket to drive the infrared emitter to change the emission direction of the infrared rays. 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 part occupies a small space, which is conducive to the miniaturization design of the infrared module.
[0018] In a 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, the second magnetic member is attracted or repelled; the second bracket is driven to deviate toward the second direction or the first direction, thereby driving the emission direction of the infrared rays emitted by the infrared emitter to deviate toward the second direction or the first direction. By jointly adjusting the emission direction of the infrared emitter through the first adjustment device and the second adjustment device, compared with a single adjustment device driving, on the one hand, stability can be increased; on the other hand, even if one of the adjustment devices fails, the other adjustment device can still drive the emission direction of the infrared rays emitted by the infrared emitter to be adjusted, thereby improving reliability.
[0019] In a possible implementation, the first adjustment device and the second adjustment device are distributed on both sides of the support column.
[0020] In a possible implementation, the second bracket is movably connected to the support column.
[0021] In a possible implementation, the second bracket is rotatably connected to the support column.
[0022] 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 plate, and the infrared module being arranged under the transparent cover plate, the method comprising: detecting the tilt of the electronic device in a pitch direction; 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 plate.
[0023] In a possible implementation, 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, 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.
[0024] In a fourth aspect, an embodiment of the present application further provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method provided in any implementation manner of the third aspect are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1A A schematic diagram of an electronic device provided in an embodiment of the present application;
[0026] Figure 1B A schematic diagram of an infrared module provided in an embodiment of the present application;
[0027] Figure 2 A schematic diagram of an electronic device controlling a controlled object provided by an embodiment of the present application;
[0028] Figure 3 A schematic diagram of an electronic device provided in an embodiment of the present application;
[0029] Figure 4 Another schematic diagram of an electronic device provided in an embodiment of the present application;
[0030] Figure 5 A schematic diagram of another electronic device provided in an embodiment of the present application;
[0031] Figure 6 A schematic diagram of a usage scenario of an electronic device;
[0032] Figure 7 A schematic diagram of a coordinate system for an electronic device;
[0033] Figure 8 A schematic diagram of an electronic device emitting infrared light in a certain posture;
[0034] Fig. 9 A schematic diagram of an electronic device emitting infrared rays in another posture;
[0035] Fig.10 A schematic diagram of adjusting the infrared emission direction is provided for an embodiment of the present application;
[0036] Fig.11 A schematic diagram of an infrared module provided in an embodiment of the present application;
[0037] Fig.12 A schematic diagram of a working scenario of the infrared module provided in an embodiment of the present application;
[0038] Fig.13 A schematic diagram of a working state of the infrared module provided in an embodiment of the present application;
[0039] Fig.14 A schematic diagram of another working state of the infrared module provided in an embodiment of the present application;
[0040] Fig.15 A schematic diagram of another infrared module provided in an embodiment of the present application;
[0041] Fig.16A schematic diagram of another infrared module provided in an embodiment of the present application;
[0042] Fig.17 Schematic diagram of generating magnetic field for a coil with current;
[0043] Fig.18A A schematic diagram of an electronic device provided in an embodiment of the present application;
[0044] Fig.18B A schematic diagram of another electronic device provided in an embodiment of the present application;
[0045] Fig.19 A schematic diagram of an infrared module control system provided in an embodiment of the present application;
[0046] Fig. 20 A schematic diagram of a flow chart of a control method of an electronic device provided in an embodiment of the present application;
[0047] Fig.21 A schematic diagram of another working scenario of the infrared module provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] 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 of the embodiments.
[0049] In the following, the terms "first", "second", etc. are used only for convenience of description and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. 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, a plurality of processing units refers to two or more processing units.
[0050] In addition, 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 placed in the drawings. It should be understood that these directional terms can be relative concepts, which are used for description and clarification relative to the components, and can change accordingly according to the change in the orientation of the components placed in the drawings. In the drawings, for the sake of clarity, the thickness of the layers and regions is exaggerated, and the size ratio relationship between the parts in the drawings does not reflect the actual size ratio relationship.
[0051] In the embodiments of the present application, unless otherwise clearly specified and limited, the term "connection" should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection or an indirect connection through an intermediate medium. In addition, the term "electrical connection" can be a direct electrical connection or an indirect electrical connection through an intermediate medium.
[0052] In the embodiments of the present application, the term "module" is generally a functional structure divided according to logic, and the "module" can be implemented by pure hardware, or by a combination of software and hardware. In the embodiments of the present application, "and / or" describes the association relationship of 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.
[0053] In the embodiments of the present 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 the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0054] 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, which is widely used in security monitoring, medical care, wireless control and other fields.
[0055] 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 and color of the phone screen can be adjusted according to the ambient brightness.
[0056] In addition to monitoring, infrared can also be used to transmit data or control associated equipment, etc. For example, 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.
[0057] Like remote controls, infrared modules of mobile phones and other electronic devices are usually installed on the top of the body. Figure 1A As shown, it is easy to 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. Figure 1BThe infrared light emitted by the infrared transmitter is transmitted through the light guide column, and the size of the hole is limited by the space of the electronic device body. Usually, the hole size is about 1.6mm, which will result in a limited field of view (FOV) of infrared emission, affecting the user's use of the infrared function.
[0058] Since infrared rays do not have the ability to pass through obstacles to control the controlled object like radio remote control, when using infrared rays to control the controlled object, the infrared transmitter usually needs to be aimed at the controlled object. However, when controlling a distant object, the smaller FOV will make it impossible to aim, such as Figure 2 As shown, when a user uses an electronic device, if the infrared transmitter cannot be aimed at a controlled object due to a change in the holding angle, the controlled object may not be controlled, affecting the user experience.
[0059] 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.
[0060] To this end, the 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 the electronic device as an example of a mobile phone. Figure 3 A structural schematic diagram of an electronic device provided by the implementation of the present application is shown.
[0061] See also Figure 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.
[0062] 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.
[0063] It is to 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 in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0064] 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 processor (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), etc. Different processing units may be independent devices or integrated into one or more processors.
[0065] The controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0066] The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0067] In some embodiments, the processor 210 may include one or more interfaces. The interface 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, etc.
[0068] It is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation of the electronic device. In other embodiments, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0069] 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 the charging management module 240 charges the battery 242, it can also power the electronic device through the power management module 241.
[0070] 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 supplies power to the processor 210, the internal memory 221, the external memory, the display screen 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 set in the same device.
[0071] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor and baseband processor, etc. In some embodiments, the antenna 1 of the electronic device is coupled with the mobile communication module 250, and the antenna 2 is coupled with the wireless communication module 260, so that the electronic device can communicate with the network and other devices through wireless communication technology.
[0072] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0073] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to electronic devices. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
[0074] The mobile communication module 250 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation through 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.
[0075] The wireless communication module 260 can provide wireless communication solutions for electronic devices including WLAN (such as (wirelessfidelity, Wi-Fi) network), Bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), nearfield communication technology (nearfield communication, NFC), infrared technology (infrared, IR), etc.
[0076] The wireless communication module 260 may be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 260 may also receive signals to be sent from the processor 210, modulate the frequencies of the signals, amplify the signals, and convert the signals into electromagnetic waves for radiation via the antenna 2.
[0077] The electronic device implements the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
[0078] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel.
[0079] The electronic device can realize the shooting function through ISP, camera 293, video codec, GPU, display screen 294 and application processor. ISP is used to process the data fed back by camera 293. Camera 293 is used to capture static images or videos. In some embodiments, the electronic device may include 1 or N cameras 293, where N is a positive integer greater than 1.
[0080] 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 through the external memory interface 220 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
[0081] The internal memory 221 may be used to store computer executable program codes, which include 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 may execute the instructions stored in the internal memory 221, and the internal memory 221 may include a program storage area and a data storage area.
[0082] The program storage area may store an operating system, an application required for at least one 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.
[0083] The electronic device can implement audio functions such as music playing and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor.
[0084] The button 290 includes 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 incoming call vibration prompts, and can also be used 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.
[0085] 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.
[0086] The electronic equipment also includes Figure 4 The middle frame 296 and the shell 297 are shown. The display screen 294 and the shell 297 are respectively located on both sides of the middle frame 296, and the back of the display screen 294 faces the shell 297. The display screen 294 and the shell 297 can be connected through the middle frame 296. The electronic device also includes a mainboard, 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 devices or functional modules are arranged on the mainboard, and the mainboard is accommodated in the accommodation space formed by the middle frame 296, the display screen 294 and the shell 297. Among them, the shell 297 includes a transparent cover plate 298, and the camera 293, the infrared module 300 and the like are arranged under the transparent cover plate 298.
[0087] 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 a light guide column. 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 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 column transmitting the infrared rays can also be avoided.
[0088] Exemplary, combined Figure 5 The shell 297 can be covered on the middle frame 296, and the shell 297 includes a transparent cover plate 298. The camera module 193 and the infrared module 300 of the electronic device are arranged below the transparent cover plate 298, or in the space formed between the transparent cover plate 298 and the middle frame 296.
[0089] 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 FOV of the infrared light emitted by the infrared module 300 being limited by the middle frame opening and the light guide column 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.
[0090] In a possible implementation, the transparent cover plate 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. An infrared ink layer may be coated on the second area 2982, and the infrared ink layer may only pass infrared rays and filter out other wavelengths of light.
[0091] The transparent cover plate 298 may be a transparent decorative cover plate of the camera module 193, also known as a decorative film (DECO for short). DECO may be made of organic materials or tempered glass, etc. Placing the infrared module 300 under the DECO of the camera module 193 may save the internal space of the electronic device. In order to avoid mutual influence of light between the infrared module 300 and the camera module 193, foam may be arranged between the infrared module 300 and the second area 2982 to prevent infrared leakage.
[0092] Although the infrared module 300 is arranged under the transparent cover 298, the infrared FOV of the electronic device can be increased. However, due to the user's usage habits, the infrared module 300 is not necessarily visible. Figure 6 When a user uses an 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.
[0093] Combination Figure 7 If an electronic device is placed in an XYZ inertial coordinate system, the Z axis is perpendicular to the display screen of the electronic device and points upward, the X axis is parallel to the axis of the body of the electronic device in the body reference plane of the electronic device and points to the front of the electronic device, and the Y axis is perpendicular to the X axis in the body reference plane of the electronic device and points to the right of the electronic device. The angle of rotation of the electronic device around the X axis is called the roll angle (roll), the angle of rotation of the electronic device around the Y axis is called the pitch angle (pitch), and the angle of rotation of the electronic device around the Z axis is called the heading angle (yaw).
[0094] When the infrared module 300 of the electronic device is arranged under the transparent cover on the shell of the electronic device, the center line of the FOV of the infrared light is perpendicular to the plane where the shell is located. When the electronic device presents a certain inclination angle, it will affect the reaching range of the infrared light 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.
[0095] For example, see Figure 8 and Fig. 9 , when the plane where the housing 297 of the electronic device is located is perpendicular to the horizontal plane, the emission direction of the infrared ray ( Figure 8 When the infrared ray is emitted in the horizontal direction (in the A0 direction shown in the figure), the distance that can be reached in the horizontal direction is the farthest, and the controlled object that is far away can be controlled. When the electronic device presents a certain inclination angle, for example, the pitch angle is α, because the housing 297 of the electronic device is tilted toward the horizontal plane, the emission direction of the infrared ray ( Fig. 9 The A1 direction shown is perpendicular to the plane where the shell 297 is located, which will cause the central direction of the infrared module 300 emitting infrared rays to shift downward, shortening the distance that the infrared rays can reach in the horizontal direction, which may make it impossible to aim at a controlled object that is far away.
[0096] Combination Figure 8 and Fig. 9 It can be seen that if one wants to make the infrared ray emission distance in the horizontal direction as far as possible, 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, when using the electronic device, the electronic device usually presents a certain pitch angle, and this pitch angle will cause the infrared ray to reach The distance in the horizontal direction is 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 when using infrared rays to control the controlled object, a better control range can be obtained.
[0097] To this end, the 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, Fig.10 As shown, when the electronic device presents a certain pitch angle, causing the plane of the housing 297 to tilt downward, the emission direction of the infrared rays is also tilted downward (for example, Fig.10 The electronic device provided in the embodiment of the present application can adjust the emission angle of infrared rays so that the emission angle of infrared rays can overcome the influence of the pitch angle of the electronic device and still maintain emission in the horizontal direction or close to the horizontal direction (such as Fig.10The infrared ray can control the controlled object at a longer distance.
[0098] For example, the present application embodiment provides an infrared module 300, which can adjust the emission angle of infrared rays. Fig.11 , Fig.11 A schematic structural diagram of an infrared module 300 provided in an embodiment of the present application is shown. The infrared module 300 includes a first bracket 310, a second bracket 320, an infrared emitter 330 and an adjustment device.
[0099] 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, the infrared emitter 330 is installed on the first bracket 310, and 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. Exemplarily, 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 infrared emitter 330 of the infrared module 300 can also rotate a certain angle around the Y axis to emit infrared rays, thereby avoiding the posture of the electronic device from affecting the infrared function.
[0100] For example, see Fig.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 a 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, thereby increasing the range in which the electronic device can effectively control the controlled device using infrared rays.
[0101] For example, see Fig.13When the first adjusting device 341 applies a force to the first bracket 310 away from the second bracket 320, the first bracket 310 shifts or rotates in 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 in the first direction along with the first bracket 310.
[0102] For example, see Fig.14 When the first adjusting device 341 applies a force to the first bracket 310 in the direction toward the second bracket 320, the first bracket 310 shifts or rotates in 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 in the second direction along with the first bracket 310.
[0103] 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 deviate along the first direction or the second direction.
[0104] 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.
[0105] 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, so that the first bracket 310 is offset or rotated in the first direction or the second direction.
[0106] For example, in one possible implementation, see Fig.15 The adjusting device may further include a second adjusting device 342 , the second adjusting device 342 and the first adjusting device 341 are distributed on both sides of the supporting column 322 , the second adjusting device 342 is arranged on the base 321 of the second bracket 320 , and the second adjusting device 342 is connected to the first bracket 310 .
[0107] 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 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.
[0108] 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 .
[0109] 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 in 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 in the first direction.
[0110] Since the second adjusting device 342 and the first adjusting device 341 are distributed on both sides of the supporting column 322 , the forces in the same direction applied by them to the first bracket 310 will produce opposite effects.
[0111] 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.
[0112] 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 adjusting device 341 and the second adjusting device 342 at the same time, and deviates or rotates under the joint action of the first adjusting device 341 and the second adjusting device 342.
[0113] In the above example, the first adjusting device 341 can apply a force to the first bracket 310 toward the second bracket 320 or away from the second bracket 320, and the second adjusting device 342 can apply a force to the first bracket 310 away from the second bracket 320 or toward the second bracket 320, which means that the first adjusting device 341 and the second adjusting device 342 can independently drive the first bracket 310 to rotate or deviate in the first direction or the second direction, thereby driving the infrared emitter 330 to deviate or rotate the emission direction of infrared rays. When one of the first adjusting device 341 and the second adjusting device 342 fails, the other can drive the first bracket 310 to rotate or deviate in the first direction or the second direction, thereby driving the infrared emitter 330 to deviate or rotate the emission angle of infrared rays.
[0114] Alternatively, in some other possible examples, the first adjusting device 341 and the second adjusting device 342 can only apply a force in one direction to the first bracket 310, for example, the first adjusting device 341 applies a force to the first bracket 310 in a direction toward the second bracket 320, and the second adjusting device 342 applies a force to the first bracket 310 in a direction away from the second bracket 320; or the first adjusting device 341 applies a force to the first bracket 310 in a direction away from the second bracket 320, and the second adjusting device 342 applies a force to the first bracket 310 in a direction toward the second bracket 320. In this case, the first adjusting device 341 and the second adjusting device 342 can only drive the first bracket 310 to rotate in the first direction or the second direction, respectively. The first adjusting device 341 and the second adjusting device 342 must work together to enable the first bracket 310 to have the ability to rotate or deflect in different directions. The first adjusting device 341 and the second adjusting 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.
[0115] Exemplarily, in one possible implementation, the first adjusting device 341 and the second adjusting 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.
[0116] Alternatively, in another possible implementation, the first adjusting device 341 and the second adjusting device 342 may be voice coil motors or drive motors with the same function, and the voice coil motor or the drive motor is connected to the first bracket 310 via a transmission mechanism. When the voice coil motor or the drive motor rotates forward, a force in a direction away from the second bracket 320 is applied to the first bracket 310 via the transmission mechanism. When the voice coil motor or the drive motor rotates reversely, a force in a direction toward the second bracket 320 is applied to the first bracket 310 via the drive mechanism, thereby driving the first bracket 310 to deviate or rotate in the first direction or the second direction, thereby driving the emission direction of the infrared emitter 330 to rotate in the first direction or the second direction.
[0117] However, since the space of the electronic device is limited, the telescopic rod, voice coil motor, etc. used as the first adjusting device 341 and the second adjusting device 342 occupy a large space and have a high cost, therefore, the embodiment of the present application provides another implementation method, which can reduce the space occupied by the first adjusting device 341 and the second adjusting device 342 while also reducing the cost.
[0118] For example, see Fig.16 Taking the first adjusting device 341 as an example, the first adjusting 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 component 3412 can be set in the second bracket 320, and the other can be set in 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 component 3412 can be installed at the corresponding position of the first bracket 310, so that the first coil 3411 and the first magnetic component 3412 can be arranged relatively to each other. When the first coil 3411 is energized, it can attract the first magnetic component 3412. The first magnetic component 3412 is installed on the first bracket 310. Therefore, when the first magnetic component 3412 is attracted by the first coil 3411, the first magnetic component 3412 can apply a force to the first bracket 310 in the direction of the second bracket 320, drive the first bracket 310 to deviate or rotate in the first direction, and drive the emission direction of the infrared emitter 330 to rotate in the first direction.
[0119] 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, thereby driving the emission direction of the infrared emitter 330 to rotate in the first direction.
[0120] It can be seen from the above content that the coil can be set on the second bracket 320 and the magnetic component is set on the first bracket 310, or the coil can be set on the first bracket 310 and the magnetic component 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 component is set on the first bracket 310.
[0121] Continuing with the first adjustment device 341 as an example, the first magnetic member 3412 may be an iron sheet fixedly disposed on the side of the first bracket 310 facing the second bracket 320, or the first magnetic member 3412 may also be a sheet structure made of ferromagnetic materials such as iron, steel, nickel, and cobalt.
[0122] 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 to attract the second magnetic member 3422, driving 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.
[0123] Exemplarily, the first adjusting device 341 and / or the second adjusting device 342 drives the first bracket 310 to deflect or rotate because of the force between the energized coil and the magnetic member. According to the right-hand screw rule, the greater the current of the coil and the more turns of the coil, the stronger the magnetic field formed. Therefore, the first adjusting device 341 and / or the second adjusting device 342 can adjust the magnitude of the force applied to the first bracket 310 by adjusting the magnitude of the coil current.
[0124] The force F applied by the first adjusting device 341 and the second adjusting device 342 to the first bracket 310 satisfies: F=BIL, where B is the magnetic field strength. After the number of winding turns of the first coil 3411 and the second coil 3421 is fixed, B is determined by the current strength flowing through the coils, I is the strength of the induced current on the magnetic part, and L is the length of the conductor in the magnetic field. Taking the first coil 3411 as an example, the greater the current of the first coil 3411, the greater the magnetic field strength generated, the greater the induced current I generated on the magnetic part, and thus the greater the electromagnetic force F, and the greater the force that attracts the magnetic part.
[0125] In some possible implementations, an iron core may be inserted into the first coil 3411 and the second coil 3421. After the iron core is added, the strength of the magnetic field generated by the first coil 3411 and the second coil 3421 when power is supplied may be enhanced.
[0126] In addition, see Fig.17 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 magnetic field will also change in the opposite direction.
[0127] Therefore, in combination with the aforementioned example, both the first adjusting device 341 and the second adjusting device 342 can 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.
[0128] In one possible implementation, the first adjusting device 341 can only apply a force to the first bracket 310 in a direction toward the second bracket 320, and the second adjusting device 342 can only apply a force to the first bracket 310 in a direction away from the second bracket 320, or the first adjusting device 341 can only apply a force to the first bracket 310 in a direction away from the second bracket 320, and the second adjusting 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 0, 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 0, 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.
[0129] 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 influence of the posture of the electronic device on the effective range of the infrared function of the electronic device.
[0130] 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.
[0131] 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.
[0132] Combined with the above examples, 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 arrival distance of the infrared light to be shortened, 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 emission angle of the infrared light is also toward the ground, which will cause the infrared light to be unable to reach the controlled object that is farther away.
[0133] 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.
[0134] For example, in one possible implementation, see Fig.18A , 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 above 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 transmitter 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 transmitter 330.
[0135] 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.
[0136] For example, the electronic device includes a touch screen, and the processor 210 can control the infrared driving circuit 343 to adjust the direction and size 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.
[0137] Alternatively, the electronic device includes physical buttons, knobs, etc., and the processor 210 can control the infrared driving circuit 343 to adjust the direction and size 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.
[0138] Alternatively, the electronic device includes a voice control module, and the processor 210 can respond to the voice control instructions issued by the user to 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, thereby driving the infrared module 300 to emit infrared rays at an offset or rotation angle.
[0139] Exemplarily, 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 that referring to Fig.18B The size of the second area 2982 of the transparent cover plate 298 should ensure that the infrared light emitted by the infrared module 300 will not be blocked when the emission direction reaches the extreme range of the first direction and the second direction.
[0140] 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, the process of using the infrared function is more complicated for the user. 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 fail to aim at the controlled object after multiple adjustments, that is, there are situations where the adjustment direction is wrong or the adjustment is not in place, etc., which affects the user's experience.
[0141] To this end, the electronic device provided in the embodiment of the present application can automatically adjust the emission direction of infrared rays 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 posture data such as the tilt angle. The processor 210 can determine the pitch angle of the electronic device according to the data detected by the sensor 280, determine the angle that needs to be adjusted for the emission direction of infrared rays emitted by the infrared module 300 according to the pitch angle of the electronic device, and control the infrared drive 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 rays.
[0142] For example, see Fig.19 , Fig.19A schematic diagram of a control system of an infrared module 300 provided in an embodiment of the present application is shown, including a processor 210 , an infrared driving circuit 343 , a first coil 3411 , a second coil 3421 and a sensor 280 .
[0143] Among them, the sensor 280 is connected to the processor 210, and 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, and the processor 210 can determine the pitch angle of the electronic device according to the posture data detected by the sensor.
[0144] 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 .
[0145] 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.
[0146] For example, see Fig. 20 , Fig. 20 A flow chart of a control method of an infrared module provided in an embodiment of the present application is shown, including:
[0147] S510: Obtain an instruction for starting infrared.
[0148] S520: Detect the tilt of the electronic device in the pitch direction.
[0149] When the user activates the infrared function of the electronic device, the tilt of the electronic device is detected. Exemplarily, a sensor provided in the electronic device can be used to detect the tilt state of the electronic device.
[0150] S530: In response to the tilt of the electronic device in the pitch direction, adjusting the emission direction of the infrared rays emitted by the infrared module relative to the transparent cover.
[0151] Exemplarily, when the emission direction of infrared rays emitted by the infrared module relative to the transparent cover plate is not adjusted, the emission direction of the infrared rays is emitted outward perpendicular to the transparent cover plate. When the electronic device is tilted, the emission direction of the infrared rays will also change as the electronic device is tilted. 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 shorten the distance that the infrared rays can reach, affecting the control range of the infrared rays. The solution provided in the embodiment of the present application adjusts the emission direction of infrared rays emitted by the infrared module relative to the transparent cover plate 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 plate is adjusted to move upward. This ensures that the infrared rays can be emitted in a horizontal direction as much as possible, and the control range is larger.
[0152] 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 reaching distance of the infrared rays and reduce the effective control range. In order 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.
[0153] Exemplary, combined Fig.12 When the pitch angle of the electronic device is α, α<90°, before the emission direction is adjusted (as shown in the A1 direction 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°. Therefore, it is necessary to rotate the emission direction of the infrared module counterclockwise along the Y axis, that is, the second direction mentioned in the above example, by an angle β.
[0154] Exemplarily, 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 infrared module emits infrared rays in a horizontal direction, so there is no need to adjust the emission direction.
[0155] Exemplary, combined Fig.21 When the pitch angle of the electronic device is α, 180°>α>90°, before the emission direction is adjusted (as shown in the A1 direction 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°. Therefore, it is necessary to rotate the emission direction of the infrared module clockwise along the Y axis, that is, the first direction mentioned in the above example, by an angle β.
[0156] Among them, a pitch angle of 0 to 90° can correspond to the posture of a user standing or sitting to use an electronic device, and a pitch angle of 90° to 180° can correspond to the posture of a user lying down to use an electronic device. When the pitch angle is less than 0 degrees or greater than 180°, it can be adjusted accordingly according to the scheme introduced in the above example.
[0157] Exemplarily, the processor can control the infrared drive circuit to adjust the current size and / or direction of the coil in response to the tilt of the electronic device in the pitch direction, thereby adjusting the emission direction of the infrared light emitted by the infrared module. After determining the angle adjustment amount, the processor controls the infrared drive circuit to adjust the current size and / or direction of the first coil and the second coil to adjust the emission direction of the infrared module by the aforementioned angle adjustment amount.
[0158] 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, and the infrared rays are emitted in a horizontal direction or close to a horizontal direction, thereby obtaining a longer control distance.
[0159] 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.
[0160] In the above examples, only the effect 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 shift or rotate 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.
[0161] 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, and the software modules can be stored in a random access memory (RAM), a flash memory, an erasable programmable ROM (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk, a mobile hard disk, a CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to a 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 a component of the processor. The processor and the storage medium can be located in an ASIC.
[0162] Those skilled in the art should be aware that in one or more of the above examples, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can 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 media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0163] Finally, it should be noted that the above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope 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
Cited By
Electronic device, and control method therefor and infrared module thereof
EP4657836A1
