Electronic equipment, control method thereof and infrared module
By setting an infrared module under the transparent cover plate and adjusting the infrared ray exit direction using the adjustment device, the problem of limited field of view of the infrared module is solved, achieving a larger field of view and a better user experience.
Patent Information
- Application Number
- CN202510267072.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2043-03-31
AI Technical Summary
When the infrared module of the electronic device is set on the top of the fuselage, the emission direction is fixed, resulting in limited vision and affecting normal use.
The infrared module is arranged under the transparent cover plate, and the adjustment device is used to respond to the control of the processor to adjust the exit direction of the infrared ray to overcome the influence of the inclination angle of the electronic device on the emission distance.
The emission field of infrared modules is increased, the impact of electronic equipment attitude on infrared functions is reduced, and the user experience is improved.
Smart Images

Figure CN120263885A_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202310379735.9, and the original application date is March 31, 2023. The entire content of the original application is incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technologies, and in particular, to an electronic device, a control method thereof, and an infrared module. Background Art
[0003] Some electronic devices are built-in with infrared functions and can directly control and associate these related devices by using the electronic device as a remote control. Usually, the infrared module of the electronic device is set at 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 and conduct the infrared rays emitted by the infrared emitter through a light guide column. The size of the hole is limited by the body space of the electronic device, resulting in a limited infrared emission field of view (FOV), which affects the user's use of the infrared function. Summary of the Invention
[0004] Embodiments of this application provide an electronic device, a control method thereof, and an infrared module to improve the problem that when the infrared module is configured at the top of the electronic device body, the emission direction of the infrared module is fixed, the field of view is small, and the normal use is affected.
[0005] To achieve the above object, the solutions adopted in the embodiments of this application are as follows:
[0006] In a first aspect, embodiments of this application provide an electronic device, which includes a middle frame, a housing, a processor, and an infrared module. The housing covers the middle frame, the processor and the infrared module are disposed in the accommodation space formed by the housing and the middle frame. The housing includes a transparent cover plate, and the infrared module is disposed under the transparent cover plate. In this way, problems such as limited FOV caused by opening holes in the middle frame and using light guide columns can be avoided by setting the infrared module under the transparent cover plate without the need to set a light guide column, and the FOV of infrared emission is larger. The processor is configured to adjust the emission direction of the infrared rays emitted by the infrared module relative to the transparent cover plate in response to the inclination of the electronic device in the pitch direction. In this way, the influence of the inclination angle of the electronic device on the infrared emission distance can also be overcome. For example, when the electronic device pitches at a certain angle, the emission direction of the infrared rays can be adjusted downward or moved downward to overcome problems such as limited emission distance caused by the electronic device tilting upward or downward.
[0007] In a 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 configured to respond to the control of the processor to adjust the inclination of the first bracket, driving the position of the infrared emitter mounted on the first bracket to change, so as to adjust the emission direction of the infrared rays emitted by the infrared emitter relative to the transparent cover plate.
[0008] In a possible implementation, the infrared module further includes a second bracket, and the adjusting device includes 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 adjusting device is disposed on the base and is connected to the first bracket. The first adjusting device is configured to respond to the control of the processor to drive the first bracket to offset in the first direction or the second direction, thereby driving the emission direction of the infrared rays emitted by the infrared emitter relative to the transparent cover plate to offset in the first direction or the second direction. Wherein, the first direction is the reverse direction of the pitching direction of the electronic device, and the second direction is the forward direction of the pitching direction of the electronic device, so as to reduce the influence of the upward or downward pitching of the electronic device on the infrared emission.
[0009] In a possible implementation, the first adjusting device includes a first coil and a first magnetic member. When the first coil is energized, it attracts or repels the first magnetic member. Wherein, the first coil is disposed on the base, and the first magnetic member is disposed on the first bracket; alternatively, the first magnetic member is disposed on the base, and the first coil is disposed 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 adjusting device can apply a force to the first bracket, driving the first bracket to offset in the first direction or the second direction, thereby driving the emission direction of the infrared rays emitted by the infrared emitter relative to the transparent cover plate to offset in the first direction or the second direction.
[0010] In a possible implementation, the adjusting device further includes an infrared driving circuit. The infrared driving circuit is electrically connected to the processor. The infrared driving circuit includes a first output terminal, and the first output terminal is connected to the first coil. The processor is configured to respond to the inclination angle of the electronic device to control the infrared driving circuit to adjust the magnitude and / or direction of the current of the signal output to the first coil.
[0011] In a possible implementation, the adjusting device further includes a second adjusting device. The second adjusting device is disposed on the base and is connected to the first bracket. The second adjusting device is configured to respond to the control of the processor to drive the first bracket to offset in the second direction or the first direction, thereby driving the emission direction of the infrared rays emitted by the infrared emitter relative to the transparent cover plate to offset in the second direction or the first direction.
[0012] In a possible implementation, the first adjusting device and the second adjusting device are located on both sides of the support column. Both the first adjusting device and the second adjusting device can adjust the emission direction of the infrared rays emitted by the infrared emitter relative to the transparent cover plate. By setting the first adjusting device and the second adjusting device, both the first adjusting device and the second adjusting device can operate independently or together, which can increase the reliability of the infrared module of the electronic device.
[0013] In a possible implementation, the second adjusting device includes a second coil and a second magnetic member. When the second coil is energized, it attracts or repels the second magnetic member. Among them, 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.
[0014] In a possible implementation, the infrared driving circuit further includes a second output terminal, and the second output terminal is connected to the second coil. The processor is used to control the infrared driving circuit to adjust the magnitude or direction of the current of the signal output to the second coil according to the pitch angle.
[0015] In a possible implementation, the electronic device further includes 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. Arranging the infrared module near the camera module can save the internal space of the electronic device.
[0016] In a possible implementation, the electronic device further includes a sensor, and the sensor is connected to the processor. The sensor is used to detect the tilt of the electronic device.
[0017] In a second aspect, an embodiment of the present application provides an infrared module, which includes: a first bracket, a second bracket, a first adjusting 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 one end of the support column away from the base is connected to the first bracket; the first adjusting device includes a first magnetic member and a first coil. Among them, 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 deflect in the first direction or the second direction, so as to drive the emission direction of the infrared rays emitted by the infrared emitter to deflect in the first direction or the second direction, where the second direction is opposite to the first direction.
[0018] The infrared module provided by the embodiment of the present application includes a first adjusting device. The first adjusting device can drive the first bracket to offset in the first direction or the second direction, thereby driving the emission direction of the infrared emitter mounted on the first bracket to offset 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 part is used to drive the second bracket to change the emission direction of the infrared rays emitted by the infrared emitter. 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 beneficial to the miniaturization design of the infrared module.
[0019] In a possible implementation manner, the infrared module further includes a second adjusting device; the second adjusting device includes a second magnetic part and a second coil. Among them, the second coil is arranged on the base, and the second magnetic part is arranged on the first bracket; alternatively, the second magnetic part 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 part; driving the second bracket to offset in the second direction or the first direction, thereby driving the emission direction of the infrared rays emitted by the infrared emitter to offset in the second direction or the first direction. By jointly adjusting the emission direction of the infrared emitter through the first adjusting device and the second adjusting device, compared with being driven by a single adjusting device, on the one hand, the stability can be increased. On the other hand, even if one of the adjusting devices fails, the other adjusting device can still drive the emission direction of the infrared rays emitted by the infrared emitter to be adjusted, improving the reliability.
[0020] In a possible implementation manner, the first adjusting device and the second adjusting device are distributed on both sides of the support column.
[0021] In a possible implementation manner, the second bracket is movably connected to the support column.
[0022] In a possible implementation manner, the second bracket is rotatably connected to the support column.
[0023] In a third aspect, the embodiment of the present application further provides a control method for an electronic device, including a middle frame, a housing, a processor, and an infrared module. The housing covers the middle frame, the processor and the infrared module are arranged in the accommodation space formed by the housing and the middle frame. The housing includes a transparent cover plate, and the infrared module is arranged under the transparent cover plate. The method includes: detecting the tilt of the electronic device in the pitch direction; in response to the tilt of the electronic device in the pitch direction, adjusting the emission direction of the infrared rays of the infrared module relative to the transparent cover plate.
[0024] In a possible implementation, there are a first bracket, a second bracket, a first adjusting 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 one end of the support column away from the base is connected to the first bracket. The first adjusting device includes a first coil and a first magnetic member. Among them, 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 arranged on the base, and the first coil is arranged on the first bracket. Responding 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 plate includes: responding to the tilt of the electronic device, adjusting the magnitude and / or direction of the current output to the first coil.
[0025] In a fourth aspect, an embodiment of the present application further provides a storage medium storing a computer program, which when executed by a processor, implements the steps of the method provided in any implementation of the third aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1A Schematic diagram of an electronic device provided by an embodiment of the present application;
[0027] Figure 1B Schematic diagram of an infrared module provided by an embodiment of the present application;
[0028] Figure 2 Schematic diagram of an electronic device in the present application controlling a controlled object;
[0029] Figure 3 Schematic diagram of an electronic device provided by an embodiment of the present application;
[0030] Figure 4 Another schematic diagram of an electronic device provided by an embodiment of the present application;
[0031] Figure 5 Schematic diagram of another electronic device provided by an embodiment of the present application;
[0032] Figure 6 Schematic diagram of the usage scenario of the electronic device;
[0033] Figure 7 Schematic diagram of the coordinate system of the electronic device;
[0034] Figure 8 Schematic diagram of the electronic device emitting infrared rays in one posture;
[0035] Figure 9 Schematic diagram of the electronic device emitting infrared rays in another posture;
[0036] Figure 10 Schematic diagram of adjusting the infrared ray emission direction provided by an embodiment of the present application;
[0037] Figure 11 Schematic diagram of an infrared module provided by an embodiment of the present application;
[0038] Figure 12 Schematic diagram of the working scenario of the infrared module provided by an embodiment of the present application;
[0039] Figure 13 Schematic diagram of a working state of the infrared module provided by an embodiment of the present application;
[0040] Figure 14 Schematic diagram of another working state of the infrared module provided by an embodiment of the present application;
[0041] Figure 15 Another schematic diagram of the infrared module provided by an embodiment of the present application;
[0042] Figure 16 Another schematic diagram of the infrared module provided by an embodiment of the present application;
[0043] Figure 17 Schematic diagram of a magnetic field generated by an energized coil;
[0044] Figure 18A Schematic diagram of an electronic device provided by an embodiment of the present application;
[0045] Figure 18B Schematic diagram of another electronic device provided by an embodiment of the present application;
[0046] Figure 19 Schematic diagram of the control system of the infrared module provided by an embodiment of the present application;
[0047] Figure 20 Schematic diagram of the flow of the control method of the electronic device provided by an embodiment of the present application;
[0048] Figure 21 Another schematic diagram of the working scenario of the infrared module provided by an embodiment of the present application. Detailed implementation manners
[0049] Next, the technical solutions in the embodiments of the present application will be described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments.
[0050] Hereinafter, the terms "first", "second", etc. are only used for convenience of description and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first", "second", etc. may explicitly or implicitly include one or more of such features. In the description of this application, unless otherwise specified, the meaning of "a plurality" is two or more. For example, a plurality of processing units means two or more processing units.
[0051] In addition, in the embodiments of this application, the "upper", "lower", "left", and "right" are not limited to being defined by the orientation of the components in the relative drawings. It should be understood that these directional terms may be relative concepts, which are used for relative description and clarification and may change accordingly with the change of the orientation of the components in the drawings. In the drawings, for clarity, the thickness of the layers and regions is exaggerated, and the dimensional proportional relationship between the various parts in the drawings does not reflect the actual dimensional proportional relationship.
[0052] In the embodiments of this application, unless otherwise clearly specified and limited, the term "connection" should be understood in a broad sense. For example, "connection" may be a fixed connection, a detachable connection, or integrated; it may be directly connected or indirectly connected through an intermediate medium. In addition, the term "electrical connection" may be a direct electrical connection or an indirect electrical connection through an intermediate medium.
[0053] In the embodiments of this application, the term "module" is usually a functional structure divided logically, and this "module" may be implemented by pure hardware or a combination of software and hardware. In the embodiments of this application, "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, B exists alone, and both A and B exist simultaneously.
[0054] In the embodiments of this application, words such as "exemplary" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Exactly speaking, using words such as "exemplary" or "for example" is intended to present relevant concepts in a specific way.
[0055] Infrared, also known as infrared ray, is an electromagnetic wave in the infrared band with a wavelength range of 0.76 - 1000 micrometers, which is between visible light and microwaves. Infrared ray is an electromagnetic wave with wide applications and has extensive applications in the fields of security monitoring, healthcare, wireless control, etc.
[0056] For example, an electronic device such as a smartphone is provided with an infrared function, which can be used to sense the call status of the user. For example, when the user picks up the phone to answer a call, the infrared function detects that the phone is close to the ear, and the screen of the phone can be turned off to avoid accidental touch; or the 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.
[0057] In addition to being used for monitoring, the infrared can also be used for data transmission, or controlling associated devices, etc. For example, devices such as TVs and air conditioners that support infrared control. If some mobile phones are built-in with 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.
[0058] Like a remote control, usually the infrared module of an electronic device such as a mobile phone is set at the top of the body as Figure 1A shown, which is convenient for use. However, due to the limited space at the top of the electronic device such as a mobile phone, it is usually necessary to open a hole in the middle frame. Refer to Figure 1B , and the infrared rays emitted by the infrared emitter are conducted out through a light guide column. The size of the hole is limited by the body space of the electronic device. Usually, the size of the opening is about 1.6 mm, which will result in a limited field of view (FOV) of the infrared emission, affecting the user's use of the infrared function.
[0059] Since the infrared rays do not have the ability to pass through obstacles to control the controlled object like radio remote control, when using the infrared rays to control the controlled object, usually the infrared emitter needs to be aligned with the controlled object. However, when controlling a distant object, a smaller FOV will result in misalignment. As Figure 2 shown, when the user uses the electronic device, if the infrared emitter cannot be aligned with the controlled object due to the change of the holding angle, the controlled object may not be able to be controlled, affecting the user experience.
[0060] Here, the limited FOV of the infrared rays emitted by the infrared emitter is due to the limitation of the size of the opening in the middle frame and the light guide column, etc. The infrared rays emitted by the infrared emitter can only be conducted through the light guide column set in the opening of the middle frame. Since the opening in the middle frame is small, the width (diameter) of the light guide column is limited, resulting in a limited FOV of the infrared rays emitted by the infrared emitter.
[0061] Therefore, the embodiment of the present application provides a solution to improve the FOV of the infrared rays, which is applied to electronic devices such as mobile phones and tablet computers. Taking the electronic device as a mobile phone as an example below, Figure 3 shows a schematic structural diagram of an electronic device provided by the embodiment of the present application.
[0062] Please refer to 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, a headphone jack 270D, sensors 280, buttons 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.
[0063] Among them, the above sensors 280 may include sensors such as a pressure sensor, a gyroscope sensor, a gravity sensor, a barometric 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.
[0064] It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In some other embodiments, the electronic device may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0065] 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), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0066] The controller may be the nerve center and command center of the electronic device. The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
[0067] A memory may also be provided in the processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory may hold the instructions or data that the processor 210 has just used or recycled. If the processor 210 needs to use the instruction or data again, it can be directly retrieved from the memory. This avoids repeated accesses and reduces the waiting time of the processor 210, thus improving the efficiency of the system.
[0068] 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, etc.
[0069] It can be understood that the interface connection relationships between the modules illustrated in this embodiment are only illustrative and do not constitute a limitation on the structure 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.
[0070] The charging management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. While charging the battery 242, the charging management module 240 can also supply power to the electronic device through the power management module 241.
[0071] 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 inputs 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, etc. In some embodiments, the power management module 241 and the charging management module 240 may also be provided in the same device.
[0072] The wireless communication function of the electronic device can be implemented by Antenna 1, Antenna 2, Mobile Communication Module 250, Wireless Communication Module 260, Modulation and Demodulation Processor, Baseband Processor, etc. In some embodiments, Antenna 1 of the electronic device is coupled to Mobile Communication Module 250, and Antenna 2 is coupled to Wireless Communication Module 260, enabling the electronic device to communicate with the network and other devices through wireless communication technologies.
[0073] 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 multiplexed to improve the utilization rate of the antennas. For example, Antenna 1 can be multiplexed 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.
[0074] Mobile Communication Module 250 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the electronic device. Mobile Communication Module 250 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. Mobile Communication Module 250 can receive electromagnetic waves by Antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit them to the Modulation and Demodulation Processor for demodulation.
[0075] Mobile Communication Module 250 can also amplify the signal modulated by the Modulation and Demodulation Processor and convert it into electromagnetic waves through Antenna 1 for radiation. In some embodiments, at least some functional modules of Mobile Communication Module 250 can be disposed in Processor 210. In some embodiments, at least some functional modules of Mobile Communication Module 250 and at least some modules of Processor 210 can be disposed in the same device.
[0076] Wireless Communication Module 260 can provide solutions for wireless communications such as WLAN (e.g., (wireless fidelity, Wi-Fi) network), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared Technology (IR), etc. applied to the electronic device.
[0077] 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, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 260 may also receive the signals to be sent from the processor 210, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 2 for radiation.
[0078] The electronic device realizes the display function through the GPU, the display screen 294, the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 294 and the application processor. The GPU is used to execute mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change the display information.
[0079] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel.
[0080] The electronic device can realize the shooting function through the ISP, the camera 293, the video codec, the GPU, the display screen 294, the application processor, etc. The ISP is used to process the data fed back by the camera 293. The camera 293 is used to capture static images or videos. In some embodiments, the electronic device may include one or N cameras 293, where N is a positive integer greater than 1.
[0081] The external memory interface 220 may be used to connect to 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 realize the data storage function. For example, files such as music and videos are saved in the external memory card.
[0082] The internal memory 221 may be used to store computer-executable program codes, and the executable program codes 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 the embodiments 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.
[0083] Among them, the storage program area can store the operating system, application programs required for at least one function (such as the sound playback function, image playback function, etc.), and so on. The storage data area can store the data created during the use of the electronic device (such as audio data, phone book, etc.), and so on. 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.
[0084] The electronic device can implement audio functions through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor, etc. For example, music playback, recording, etc.
[0085] The keys 290 include a power-on key, volume keys, etc. The keys 290 can be mechanical keys or touch keys. 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 change, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 295 is used to connect the SIM card. The SIM card can be in contact with and separated from the electronic device by being inserted into or removed from the SIM card interface 295. 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.
[0086] The electronic device further includes an infrared module 300, and the infrared module 300 can include an infrared emitter and a receiver, where the infrared emitter is used to emit infrared light and the infrared receiver is used to receive infrared light.
[0087] The above-mentioned electronic device further includes Figure 4 the middle frame 296 and the housing 297 as shown. The display screen 294 and the housing 297 are respectively located on both sides of the middle frame 296, and the back of the display screen 294 faces the housing 297, and the display screen 294 and the housing 297 can be connected through the middle frame 296. The electronic device further includes a main board, 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 main board, and the main board is accommodated in the accommodation space formed by the middle frame 296, the display screen 294 and the housing 297. Among them, the housing 297 includes a transparent cover plate 298, and the camera 293, the infrared module 300, etc. are arranged under the transparent cover plate 298.
[0088] Setting the infrared module at the top of the electronic device will require opening holes in the middle frame due to space limitations, and emitting infrared rays outward through a light guide column. The FOV for guiding infrared rays is small. In the solution provided by the embodiments of the present application, the infrared module 300 is set under the transparent cover plate 298, without the need for opening holes, reducing occlusion. In addition, the infrared rays can be emitted outward through the transparent cover plate 298, and power loss caused by the light guide column conducting infrared rays can also be avoided.
[0089] Exemplarily, in combination with Figure 5 , the housing 297 can be covered on the middle frame 296. The housing 297 includes a transparent cover plate 298. The camera module 193 and the infrared module 300 of the electronic device are set below the transparent cover plate 298, or are set in the space formed between the transparent cover plate 298 and the middle frame 296.
[0090] The infrared module 300 is set under the transparent cover plate 298, so that the infrared light emitted by the infrared module 300 can be diverged outward through the transparent cover plate 298. Since the area of the transparent cover plate 298 is much larger than the areas of the infrared module 300 and the camera module 193, and the transparent cover plate 298 can transmit light, setting the infrared module 300 under the transparent cover plate 298 will not cause occlusion, avoiding the problem of the FOV limitation of the infrared light emitted by the infrared module 300 due to the opening in the middle frame and the light guide column in the foregoing solution, and preventing the infrared function of the electronic device from affecting the user experience due to the limited FOV of the infrared rays.
[0091] In a possible implementation manner, the transparent cover plate 298 includes a first region 2981 and a second region 2982. The camera module 193 is aligned with the first region 2981, and the infrared module 300 is aligned with the second region 2982. An infrared ink layer can be coated on the second region 2982, and the infrared ink layer can only pass through infrared rays and filter out light of other wavelengths.
[0092] The above-mentioned transparent cover plate 298 can be a transparent decorative cover plate for the camera module 193, also known as a Decorate Film (DECO for short). The DECO can be made of organic materials or tempered glass and other materials. Setting the infrared module 300 under the DECO of the camera module 193 can save the internal space of the electronic device. In order to avoid the mutual influence of light between the infrared module 300 and the camera module 193, a foam can be set between the infrared module 300 and the second region 2982 to prevent infrared rays from leaking.
[0093] Although setting the infrared module 300 under the transparent cover plate 298 can increase the FOV of the infrared rays of the electronic device, however, due to the user's usage habits, refer to Figure 6, when a user uses an electronic device, the body of the electronic device usually does not present a horizontal or vertical state, but has a certain inclination angle to facilitate the user to view the content displayed on the display screen 294.
[0094] Combined with Figure 7 , if the electronic device is placed in an XYZ inertial coordinate system, where 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 and points forward in the body reference plane of the electronic device, and the Y-axis is perpendicular to the X-axis and points to the right of the electronic device in the body reference plane of the electronic device. The angle of rotation of the electronic device around the X-axis is called the roll angle, the angle of rotation of the electronic device around the Y-axis is called the pitch angle, and the angle of rotation of the electronic device around the Z-axis is called the yaw angle.
[0095] When the infrared module 300 of the electronic device is arranged under the transparent cover plate on the housing of the electronic device, the center line of the FOV of the infrared ray is perpendicular to the plane where the housing is located. When the electronic device has a certain inclination angle, it has an impact on the reach range of the infrared ray emitted by the infrared module of the electronic device, or rather, it has an impact on controlling a controlled object at a long distance.
[0096] For example, referring to Figure 8 and Figure 9 , when the plane where the housing 297 of the electronic device is perpendicular to the horizontal plane and the emission direction of the infrared ray ( Figure 8 the A0 direction shown) is emitted in the horizontal direction, the distance that can be reached in the horizontal direction is the farthest, and a controlled object at a relatively long distance can be controlled. When the electronic device has a certain inclination angle, for example, when the pitch angle is α, since the housing 297 of the electronic device is inclined towards the horizontal plane, and the emission direction of the infrared ray ( Figure 9 the A1 direction shown) is perpendicular to the plane where the housing 297 is located, this will cause the central direction of the infrared ray emitted by the infrared module 300 to also shift downward, and the distance that the infrared ray can reach in the horizontal direction is shortened, which may cause the inability to align a controlled object at a relatively long distance.
[0097] Combined with Figure 8 and Figure 9It can be known that if you want to make the emission distance of infrared rays the farthest in the horizontal direction, the infrared rays need to be emitted horizontally. However, in this case, the electronic device needs to be kept perpendicular to the horizontal plane, which does not conform to the user's usage habits. When the infrared module 300 is arranged under the transparent cover plate 298 of the housing 297, when using the infrared function of the terminal, the distance that the infrared rays 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 distance that the infrared rays can reach in the horizontal direction to be shortened. Therefore, when using the infrared ray function of the electronic device, the user may need to adjust the posture of the electronic device so that the distance that the infrared rays can reach in the horizontal direction is farther, and a better control range can be obtained when using the infrared rays to control the controlled object.
[0098] For this reason, the embodiments of the present application provide a solution that can adjust the emission angle of the infrared rays according to the pitch angle of the electronic device. For example, as Figure 10 shown, when the electronic device presents a certain pitch angle, resulting in the plane of the housing 297 tilting downward obliquely, the emission direction of the infrared rays also tilts downward (for example, Figure 10 the A1 direction in ), the electronic device provided by the embodiments 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 being emitted along the horizontal direction or close to the horizontal direction (such as Figure 10 the A2 direction in ), so that the infrared rays can control the controlled object at a farther distance.
[0099] Exemplarily, the embodiments of the present application provide an infrared module 300 that can adjust the emission angle of the infrared rays. Refer to Figure 11 , Figure 11 shows a schematic structural diagram of the infrared module 300 provided by the embodiments of the present application. The infrared module 300 includes a first bracket 310, a second bracket 320, an infrared emitter 330, and an adjusting device.
[0100] Among them, the second bracket 320 includes a base 321 and a support column 322 connected to the base 321. One 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 adjusting device includes a first adjusting device 341. The first adjusting device 341 is arranged on the base 321, and the first adjusting device 341 is connected to the first bracket 310. The first adjusting device 341 is used to drive the first bracket 310 to deflect or rotate in the first direction or the second direction, so as to drive the outgoing direction of the infrared rays emitted by the infrared emitter 330 installed on the first bracket 310 to deflect 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 emission direction of the infrared rays emitted by the infrared emitter 330 of the infrared module 300 can also rotate around the Y axis by a certain angle, so as to avoid the influence of the posture of the electronic device on the infrared function.
[0101] For example, refer to Figure 12 When the electronic device rotates an angle β clockwise (i.e., in the first direction) around the Y axis from the vertical state, that is, the state perpendicular to the horizontal plane (pitch angle is 90°), the pitch angle at this time is α, and α + β = 90°. If the emission direction of the infrared rays is not adjusted, then the outgoing direction of the infrared rays is obliquely downward at an angle of β with the horizontal plane. This will shorten the distance that the infrared rays can reach. The electronic device provided in the embodiment of the present application can adjust the outgoing direction of the infrared rays. For example, rotate the outgoing direction of the infrared rays counterclockwise (i.e., in the second direction) around the Y axis by an angle β. In this way, the outgoing direction of the infrared rays can be restored to be emitted along the horizontal direction. The infrared rays emitted along the horizontal direction can reach a farther distance than the infrared rays emitted obliquely downward, so that the range within which the electronic device can effectively control the controlled device using infrared rays is increased.
[0102] Exemplarily, refer to Figure 13 , when the first adjusting device 341 applies a force to the first bracket 310 in the direction away from the second bracket 320, the first bracket 310 deflects or rotates in the first direction (i.e., the clockwise direction around the Y axis). In this case, the outgoing direction of the infrared rays emitted by the infrared emitter 330 also deflects or rotates in the first direction along with the first bracket 310.
[0103] Exemplarily, refer to Figure 14, when the first adjusting device 341 applies a force on the first bracket 310 towards the second bracket 320, the first bracket 310 deflects or rotates in the second direction (i.e., the counterclockwise direction around the Y axis). In this case, the emission direction of the infrared rays emitted by the infrared emitter 330 also deflects or rotates in the second direction along with the first bracket 310.
[0104] In a possible implementation, the first bracket 310 is movably connected to the support column 322, so that the first adjusting device 341 can drive the first bracket 310 to deflect in the first direction or the second direction.
[0105] Alternatively, the first bracket 310 can be rotatably connected to the support column 322, so that the first adjusting device 341 can drive the first bracket 310 to rotate in the first direction or the second direction. Exemplarily, the first bracket 310 can be connected to the support column 322 by a rotating shaft connection, a ball head connection, etc.
[0106] 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 selected to be made of an elastic material, so that when the first adjusting device 341 applies a force on the first bracket 310, the support column 322 can undergo elastic deformation, causing the first bracket 310 to deflect or rotate in the first direction or the second direction.
[0107] Exemplarily, in a possible implementation, refer to Figure 15 , the adjusting device can 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 support column 322. The second adjusting device 342 is disposed on the base 321 of the second bracket 320 and is connected to the first bracket 310.
[0108] 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 on the first bracket 310 in the direction away from the second bracket 320 or in the direction towards the second bracket 320, driving the first bracket 310 to deflect or rotate in the second direction or the first direction.
[0109] In a possible implementation manner, both the first adjusting device 341 and the second adjusting device 342 include two working states, that is, applying a force on the first bracket 310 in the direction close to the second bracket 320 or applying a force on the first bracket 310 in the direction away from the second bracket 320.
[0110] For example, when the first adjusting device 341 applies a force to the first bracket 310 in the direction approaching the second bracket 320, the first bracket 310 deflects or rotates in the second direction; when the first adjusting device 341 applies a force to the first bracket 310 in the direction away from the second bracket 320, the first bracket 310 deflects or rotates in the first direction.
[0111] Since the second adjusting device 342 and the first adjusting device 341 are distributed on both sides of the support column 322, the forces in the same direction applied by them to the first bracket 310 will produce opposite effects.
[0112] For example, when the second adjusting device 342 applies a force to the first bracket 310 in the direction approaching the second bracket 320, the first bracket 310 deflects or rotates in the first direction; when the second adjusting device 342 applies a force to the first bracket 310 in the direction away from the second bracket 320, the first bracket 310 deflects or rotates in the second direction.
[0113] In such a case, when the first bracket 310 deflects or rotates in the first direction or the second direction, it is simultaneously driven by the first adjusting device 341 and the second adjusting device 342, and deflects or rotates under the combined action of the first adjusting device 341 and the second adjusting device 342.
[0114] In the above example, the first adjusting device 341 can apply a force to the first bracket 310 towards 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 towards 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 deflect in the first direction or the second direction, thereby driving the emission direction of the infrared emitter 330 to deflect or rotate. 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 deflect in the first direction or the second direction, thereby driving the emission angle of the infrared emitter 330 to deflect or rotate.
[0115] Alternatively, in some other possible examples, the first adjusting device 341 and the second adjusting device 342 can respectively apply a force in only one direction to the first bracket 310. For example, the first adjusting device 341 applies a force to the first bracket 310 in the direction towards the second bracket 320, and the second adjusting device 342 applies a force to the first bracket 310 in the direction away from the second bracket 320; or the first adjusting device 341 applies a force to the first bracket 310 in the direction away from the second bracket 320, and the second adjusting device 342 applies a force to the first bracket 310 in the direction towards the second bracket 320. In this case, the first adjusting device 341 and the second adjusting device 342 can respectively only drive the first bracket 310 to rotate in the first direction or the second direction. It is necessary for the first adjusting device 341 and the second adjusting device 342 to act together to enable the first bracket 310 to have the ability to rotate or shift in different directions. The first adjusting device 341 and the second adjusting device 342 are used to drive the first bracket 310 to shift or rotate, so as to drive the infrared emitter 330 mounted on the first bracket 310 to shift or rotate the emission direction of the infrared ray.
[0116] Exemplarily, in a possible implementation manner, the first adjusting device 341 and the second adjusting device 342 can be telescopic rods. The telescopic rod can include a fixed part and a movable part. 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. The movable part can be telescopic. When the movable part extends, a force in the direction away from the second bracket 320 is applied to the first bracket 310. When the movable part retracts, a force in the direction towards the second bracket 320 is applied to the first bracket 310.
[0117] Alternatively, in another possible implementation manner, the first adjusting device 341 and the second adjusting device 342 can be voice coil motors or drive motors with the same function. The voice coil motor or the drive motor is connected to the first bracket 310 through a transmission mechanism. When the voice coil motor or the drive motor rotates forward, a force in the direction away from the second bracket 320 is applied to the first bracket 310 through the transmission mechanism. When the voice coil motor or the drive motor rotates in reverse, a force in the direction towards the second bracket 320 is applied to the first bracket 310 through the drive mechanism, so as to drive the first bracket 310 to shift or rotate in the first direction or the second direction, and drive the emission direction of the infrared emitter 330 to rotate in the first direction or the second direction.
[0118] However, due to the limited space of the electronic device, the telescopic rod, the voice coil motor, etc. 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 manner, which can reduce the occupied space of the first adjusting device 341 and the second adjusting device 342 and can also reduce the cost.
[0119] Exemplarily, referring to Figure 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 there is an electric current passing through the first coil 3411, a magnetic field will be generated, thereby attracting the first magnetic member 3412. Among them, one of the first coil 3411 and the first magnetic member 3412 can be disposed on the second bracket 320, and the other can be disposed on the first bracket 310. For example, the first coil 3411 is disposed on the base 321 of the second bracket 320, and the first magnetic member 3412 can be installed at a corresponding position on the first bracket 310, so that the first coil 3411 and the first magnetic member 3412 can be disposed opposite to each other. When the first coil 3411 is powered on, it can attract the first magnetic member 3412. The first magnetic member 3412 is installed on the first bracket 310. Therefore, when the first magnetic member 3412 is attracted by the first coil 3411, the first magnetic member 3412 can apply a force toward the second bracket 320 to the first bracket 310, driving the first bracket 310 to deflect or rotate in the first direction, and driving the emission direction of the infrared emitter 330 to also rotate in the first direction.
[0120] Or, the first coil 3411 is disposed on the base 321 of the second bracket 320, and the first magnetic member 3412 is installed at a corresponding position on the first bracket 310, so that the first coil 3411 and the first magnetic member 3412 can be disposed opposite to each other, so that when the first coil 3411 is powered on, it can attract the first magnetic member 3412. Since the first magnetic member 3412 is fixedly installed on the second bracket 320, the reaction force of the first magnetic member 3412 on the first coil 3411 can drive the first bracket 310 to deflect or rotate in the first direction, driving the emission direction of the infrared emitter 330 to also rotate in the first direction.
[0121] It can be seen from the above that the coil can be disposed on the second bracket 320, and at the same time, the magnetic member is disposed on the first bracket 310, or the coil can be disposed on the first bracket 310, and at the same time, the magnetic member is disposed on the second bracket 320. For the convenience of description, in the subsequent examples of the present application, the coil is disposed on the second bracket 320 and the magnetic member is disposed on the first bracket 310 as an example.
[0122] Continuing with the first adjusting device 341 as an example, the first magnetic member 3412 can be an iron sheet, fixedly arranged on one side of the first bracket 310 facing the second bracket 320, or the first magnetic member 3412 can also be a sheet-like structure made of ferromagnetic materials such as iron, steel, nickel, and cobalt.
[0123] 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 there is a current passing through the second coil 3421, a magnetic field will be 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.
[0124] Exemplarily, the reason why the first adjusting device 341 and / or the second adjusting device 342 drive the first bracket 310 to shift or rotate is due to the force between the energized coil and the magnetic member. According to the right-hand screw rule, the greater the current passing through the coil and the more turns of the coil, the stronger the formed magnetic field. 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.
[0125] 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 turns of the windings of the first coil 3411 and the second coil 3421 is fixed, B is determined by the current intensity flowing through the coil. I is the intensity of the induced current on the magnetic member, 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 generated magnetic field strength, the greater the induced current I generated on the magnetic member, and thus the greater the electromagnetic force F and the greater the force attracting the magnetic member.
[0126] In some possible implementation manners, an iron core can also be inserted into the first coil 3411 and the second coil 3421. After adding the iron core, the magnetic field strength generated when the first coil 3411 and the second coil 3421 are energized can be enhanced.
[0127] In addition, referring to Figure 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, then the direction of the generated magnetic field will also change in the opposite direction.
[0128] Therefore, in combination with the foregoing examples, both the first adjusting device 341 and the second adjusting device 342 can apply a force to the first bracket 310 in the direction of approaching the second bracket 320 or in the direction of moving away from the second bracket 320. In this case, it can be achieved by changing the direction of the current flowing through the first coil 3411 and the second coil 3421 and adjusting the magnitude of the current.
[0129] In a possible implementation manner, the first adjusting device 341 can only apply a force to the first bracket 310 in the direction of approaching the second bracket 320, and the second adjusting device 342 can only apply a force to the first bracket 310 in the direction of moving away from the second bracket 320. Or, the first adjusting device 341 can only apply a force to the first bracket 310 in the direction of moving away from the second bracket 320, and the second adjusting device 342 can only apply a force to the first bracket 310 in the direction of approaching the second bracket 320. In this case, it can be achieved by changing the magnitude of the current flowing through the first coil 3411 and the second coil 3421. For example, if the magnitude of the current flowing through the first coil 3411 is relatively large, and the magnitude of the current flowing through the second coil 3421 is relatively small or zero, then the force applied by the first adjusting device 341 is relatively large, which is reflected in that the first bracket 310 deflects or rotates in the first direction under the force applied by the first adjusting device 341; conversely, if the magnitude of the current flowing through the second coil 3421 is relatively large, and the magnitude of the current flowing through the first coil 3411 is relatively small or zero, then the force applied by the second adjusting device 342 is relatively large, which is reflected in that the first bracket 310 deflects or rotates in the second direction under the force applied by the second adjusting device 342.
[0130] Based on the infrared module 300 provided in the above examples, when a user uses an electronic device, the direction in which the infrared module 300 emits infrared rays can be changed, so that the influence of the posture of the electronic device on the effective range of the infrared function of the electronic device can be reduced.
[0131] Exemplarily, an infrared driving circuit can be provided on the main board of the electronic device. The infrared driving circuit includes a first output terminal P1 and a second output terminal P2, where 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.
[0132] 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.
[0133] Combined with the foregoing examples, the impact of the attitude change of the electronic device on the infrared function of the user clock is mainly reflected in that the pitch angle of the electronic device causes the arrival distance of the infrared ray to shorten. Especially when the pitch angle of the electronic device is positive and the back cover of the electronic device is inclined towards the ground, the emission angle of the infrared ray also faces the ground, which will cause the infrared ray to be unable to reach a relatively far controlled object.
[0134] In the solution provided by the embodiment of the present application, the infrared module 300 can be disposed under the transparent cover plate 298 of the cover plate of the electronic device. The emission angle of the infrared emitter 330 can be deflected under the drive of the first adjusting device 341 and the second adjusting device 342. Since the infrared ray module is mainly affected by the pitch angle of the electronic device, the adjustment of the infrared emitter 330 by the first adjusting device 341 and the second adjusting 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.
[0135] Exemplarily, in a possible implementation manner, refer to Figure 18A , the connection line of 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 foregoing example. Thus, 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, and being able to offset or reduce the influence of the pitch angle of the electronic device on the emission direction and arrival distance of the infrared emitter 330.
[0136] In a possible implementation manner, the adjusting device further 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 instruction, so as to drive the emission direction of the infrared ray emitted by the infrared module 300 to shift or rotate.
[0137] For example, the electronic device includes a touch screen. The processor 210 can respond to the touch operation of the user on the touch screen, control the infrared driving circuit 343 to adjust the current direction, magnitude, etc. output to the first coil 3411 and the second coil 3421, so as to drive the emission angle of the infrared ray emitted by the infrared module 300 to shift or rotate.
[0138] Alternatively, the electronic device includes physical buttons, knobs, etc. The processor 210 can respond to the user's operations on the physical buttons, knobs, etc., and control the infrared drive circuit 343 to adjust the current direction, magnitude, etc. output to the first coil 3411 and the second coil 3421, so as to drive the emission angle of the infrared rays emitted by the infrared module 300 to shift or rotate.
[0139] Alternatively, the electronic device includes a voice control module. The processor 210 can respond to the voice control instructions issued by the user, and control the infrared drive circuit 343 to adjust the current direction, magnitude, etc. output to the first coil 3411 and the second coil 3421, so as to drive the emission angle of the infrared rays emitted by the infrared module 300 to shift or rotate.
[0140] Exemplarily, the electronic device provided in the embodiment of the present application arranges the infrared module 300 under the transparent cover plate. The infrared module 300 is aligned with the second area of the transparent cover plate to expand the FOV of the infrared emission of the infrared module 300. Since the emission direction of the infrared rays emitted by the infrared module 300 can move in the first direction and the second direction, it can be understood that, referring to Figure 18B , the size of the second area 2982 of the transparent cover plate 298 should ensure that when the emission direction of the infrared rays emitted by the infrared module 300 reaches the extreme value range of the first direction and the second direction, it will still not be blocked.
[0141] Although the above examples can adjust the emission direction of the infrared rays emitted by the infrared module 300 and can overcome the influence of the attitude of the electronic device on the arrival distance and effective range of the infrared rays, for the user, the process of using the infrared ray function by the user is more complicated. The user issues instructions to adjust the emission direction of the infrared rays, which increases the user's usage difficulty on the one hand. On the other hand, there may still be a situation where the controlled object cannot be aligned after multiple adjustments, that is, there are situations such as incorrect adjustment direction or insufficient adjustment, which affects the user's usage experience.
[0142] Therefore, the electronic device provided in the embodiment of the present application can automatically adjust the emission direction of the 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 variety of sensors such as a gyroscope, a gravity sensor, and an acceleration sensor, which can be used to detect the attitude data of the electronic device, such as attitude 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 the emission direction of the infrared rays emitted by the infrared module 300 needs to be adjusted according to the pitch angle of the electronic device, and control the infrared drive circuit 343 to adjust the current magnitude output to the first coil 3411 and the second coil 3421, so as to adjust the emission direction of the infrared rays.
[0143] Exemplarily, referring to Figure 19 , Figure 19The figure shows a schematic diagram of the control system of the infrared module 300 provided by the embodiments 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.
[0144] 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 attitude 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 attitude data detected by the sensor.
[0145] 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.
[0146] 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 magnitudes output from the first output terminal P1 and the second output terminal P2, and further control the emission angle of the infrared rays emitted by the infrared module 300.
[0147] Exemplarily, refer to Figure 20 , Figure 20 The figure shows a schematic flowchart of the control method of the infrared module provided by the embodiments of the present application, including:
[0148] S510: Obtain an instruction to start the infrared.
[0149] S520: Detect the tilt of the electronic device in the pitch direction.
[0150] When the user enables the infrared function of the electronic device, detect the tilt of the electronic device. Exemplarily, the sensors set on the electronic device can be used to detect the tilt state of the electronic device.
[0151] 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 plate.
[0152] Exemplarily, when the infrared rays emitted by the infrared module are not adjusted with respect to the emission direction of the transparent cover plate, the emission direction of the infrared rays is perpendicular to the transparent cover plate and emitted outward. 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 tilting upward and downward will cause the reachable distance of the infrared rays to become shorter, affecting the control range of the infrared rays. The solution provided in the embodiments of the present application adjusts the emission direction of the infrared rays emitted by the infrared module with respect 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 with respect to the transparent cover plate is adjusted to move upward, so as to ensure that the infrared rays can be emitted along the horizontal direction as much as possible, and the control range is larger.
[0153] Exemplarily, when the attitude of the electronic device changes, for example, when a certain pitch angle is presented, the emission direction of the infrared module also changes. For example, it changes from being emitted along the horizontal direction to being emitted along an obliquely upward direction or an obliquely downward direction, which will cause the reachable distance of the infrared rays to shorten and the effective control range to shrink. 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 along the horizontal direction as much as possible or close to the horizontal direction.
[0154] Exemplarily, in combination with Figure 12 , when the pitch angle of the electronic device is α, α < 90°, before the emission direction is adjusted (as shown by 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°. 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 previous example, by an angle β.
[0155] Exemplarily, when the pitch angle of the electronic device is α, α = 90°, the housing plane of the electronic device is perpendicular to the horizontal plane, and the emission direction of the infrared rays emitted by the infrared module is along the horizontal direction. Therefore, there is no need to adjust the emission direction.
[0156] Exemplarily, in combination with Figure 21 , when the pitch angle of the electronic device is α, 180° > α > 90°, before the emission direction is adjusted (as shown by 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°. 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 previous example, by an angle β.
[0157] Among them, a pitch angle of 0 to 90° can correspond to the posture of the user standing or sitting and using the electronic device, and a pitch angle of 90° to 180° can correspond to the posture of the user lying down and using the electronic device. In the case where the pitch angle is less than 0 degrees or greater than 180°, it can be adjusted correspondingly according to the solutions introduced in the foregoing examples.
[0158] Exemplarily, the processor can respond to the tilt of the electronic device in the pitch direction and control the infrared drive circuit to adjust the magnitude and / or direction of the current in the coil, so as to adjust the emission direction of the infrared rays of 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, so as to adjust the emission direction of the infrared module by the foregoing angle adjustment amount.
[0159] After adjusting the emission direction of the infrared module by the foregoing angle adjustment amount, the emission direction of the infrared module reaches the target position, and the infrared function is started, and the infrared rays are emitted along the horizontal direction or close to the horizontal direction, so that a longer control distance can be obtained.
[0160] Exemplarily, since the pitch angle of the electronic device may also change during the user's use of the infrared function, during the user's use of the infrared function, the emission direction of the infrared module can also be adjusted in real time, not limited to adjusting the emission direction when starting the infrared function.
[0161] In the foregoing 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 deviate or rotate along the first direction (clockwise around the Y axis) or the second direction (counterclockwise around the Y axis). In some other possible cases, the heading angle, roll angle, etc. of the electronic device may also affect the infrared function. In this case, multiple adjustment devices can also be added to adjust the emission direction of the infrared rays in the direction of the roll angle or heading angle of the electronic device.
[0162] The steps of the method described in connection with the disclosure of the present application can be implemented in hardware 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), flash memory, erasable programmable ROM (EPROM), electrically EPROM (EEPROM), registers, hard disk, removable hard disk, CD-ROM, or any other form of storage medium well 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 a part of the processor. The processor and the storage medium can be located in an ASIC.
[0163] Those skilled in the art should be able to realize that in one or more of the above examples, the functions described in the present application can be implemented by hardware, software, firmware, or any combination thereof. When implemented in 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. The computer-readable medium includes computer storage media and communication media, where the communication media includes any medium that facilitates the transfer of a computer program from one place to another. The storage medium can be any available medium accessible by a general-purpose or special-purpose computer.
[0164] Finally, it should be noted that the above are only specific embodiments 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 covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. An electronic device, characterized in that, The electronic device includes a middle frame, a housing, a processor, an infrared module, and a camera module. The infrared module is used to emit infrared rays to control a controlled object. The housing covers the middle frame, and the processor and the infrared module are disposed in an accommodation space formed by the housing and the middle frame. The housing includes a cover plate, and the infrared module and the camera module are disposed between the cover plate and the middle frame. The cover plate includes a first region and a second region. The camera module is aligned with the first region, and the infrared module is aligned with the second region.
2. The electronic device according to claim 1, wherein The camera module is a rear camera module.
3. The electronic device according to claim 1 or 2, characterized in that The second region is coated with an infrared ink layer.
4. The electronic device according to claim 3, wherein The infrared ink layer is used to pass infrared rays and filter out light of other wavelengths.
5. The electronic device according to claim 1 or 2, characterized in that The emitting infrared rays to control the controlled object includes: emitting the infrared rays to implement a remote control function.
6. The electronic device according to claim 1 or 2, characterized in that, A foam is disposed between the infrared module and the second region.
7. The electronic device according to claim 1 or 2, characterized in that, The infrared rays are emitted outward through the cover plate.
8. The electronic device according to any one of claims 1 to 7, characterized in that, It further includes a processor, and the processor is used to adjust the emission direction of the 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.
9. The electronic device according to any one of claims 1 to 8, characterized in that, 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 tilt 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.
10. The electronic device according to claim 9, wherein The infrared module further includes a second bracket, and the adjusting device includes 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 adjusting device is disposed on the base, and the first adjusting device is connected to the first bracket. The first adjusting device is used to drive the first bracket to offset in a first direction or a second direction in response to the control of the processor, so as to drive the emission direction of the infrared rays emitted by the infrared emitter relative to the transparent cover plate to offset in the first direction or the second direction. The first direction is the reverse 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.
11. The electronic device according to claim 10, wherein The first adjusting device includes a first coil and a first magnetic member. When the first coil is energized, it attracts or repels the first magnetic member. Wherein, the first coil is disposed on the base, and the first magnetic member is disposed on the first bracket. Or, the first magnetic member is disposed on the base, and the first coil is disposed on the first bracket.
12. The electronic device according to claim 11, wherein The adjusting device further includes an infrared driving circuit. The infrared driving circuit is electrically connected to the processor. The infrared driving circuit includes a first output terminal, and the first output terminal is connected to the first coil. The processor is used to control the infrared driving circuit to adjust the magnitude and / or direction of the current of the signal output to the first coil in response to the tilt angle of the electronic device.
13. The electronic device according to claim 12, wherein The adjusting device further includes a second adjusting device, which is arranged on the base, and the second adjusting device is connected to the first bracket. The second adjusting device is configured to drive the first bracket to offset in the second direction or the first direction in response to the control of the processor, so as to drive the infrared rays emitted by the infrared emitter to offset in the second direction or the first direction relative to the exit direction of the transparent cover plate.
14. The electronic device according to claim 13, wherein The first adjusting device and the second adjusting device are located on both sides of the support column.
15. The electronic device according to claim 13 or 14, characterized in that, The second adjusting device includes a second coil and a second magnetic member. 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 arranged on the base, and the second coil is arranged on the first bracket.
16. The electronic device according to claim 15, characterized in that, The infrared driving circuit further includes a second output terminal, and the second output terminal is connected to the second coil. The processor is configured to control the infrared driving circuit to adjust the magnitude and / or direction of the current of the signal output to the first coil in response to the tilt angle of the electronic device.
17. The electronic device according to any one of claims 1 to 2, characterized in that, The electronic device further includes 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.
18. The electronic device according to any one of claims 1 to 17, characterized in that, The electronic device further includes a sensor, and the sensor is connected to the processor. The sensor is configured to detect the tilt of the electronic device.
19. An infrared module, characterized in that, The infrared module includes: a first bracket, a second bracket, a first adjusting 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. One end of the support column away from the base is connected to the first bracket; The first adjusting device includes 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; alternatively, 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 offset in the first direction or the second direction, so as to drive the exit direction of the infrared rays emitted by the infrared emitter to offset in the first direction or the second direction. The second direction is opposite to the first direction.
20. The infrared module according to claim 19, wherein, The infrared module further includes a second adjusting device; The second adjusting device includes 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; alternatively, 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; driving the second bracket to offset in the second direction or the first direction, so as to drive the exit direction of the infrared rays emitted by the infrared emitter to offset in the second direction or the first direction.
21. The infrared module according to claim 20, wherein, The first adjusting device and the second adjusting device are distributed on both sides of the support column.
22. The infrared module according to any one of claims 19 to 21, characterized in that, The second bracket is movably connected to the support column.
23. The infrared module according to any one of claims 19 to 22, characterized in that, The second bracket is rotatably connected to the support column.
24. A control method for an electronic device, characterized in that, The electronic device includes a middle frame, a housing, a processor, and an infrared module. The housing covers the middle frame. The processor and the infrared module are disposed in the accommodation space formed by the housing and the middle frame. The housing includes a transparent cover plate. The infrared module is disposed under the transparent cover plate. The method includes: Detecting the tilt of the electronic device in the pitch direction; 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 plate.
25. The control method according to claim 24, wherein The infrared module includes: a first bracket, a second bracket, a first adjusting 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. One end of the support column away from the base is connected to the first bracket. The first adjusting device includes a first coil and a first magnetic member. Among them, the first coil is disposed on the base, and the first magnetic member is disposed on the first bracket; or, the first magnetic member is disposed on the base, and the first coil is disposed on the first bracket. Responding to the tilt of the electronic device, adjusting the emission direction of the infrared rays emitted by the infrared module relative to the transparent cover plate includes: In response to the tilt of the electronic device in the pitch direction, adjusting the magnitude and / or direction of the current output to the first coil.
26. A storage medium, characterized in that, The storage medium stores a computer program, which when executed by a processor, implements the steps of the method as described in claim 24 or 25.
Citation Information
Patent Citations
Camera component and electronic device having same
CN107864323A
Iris identification assembly for electronic device, and electronic device
CN108062524A
Iris recognition assembly for electronic device and electronic device with the same
CN108090437A
Camera assembly and electronic equipment
CN110049214A
Camera, electronic equipment and identity authentication method
CN111103922A