Electronic device and control method thereof, infrared module
By setting an infrared module under a transparent cover and using an adjustment device to adjust the direction of the infrared rays, the problem of limited field of view (FOV) of the infrared module was solved, achieving infrared control with a larger field of view and a longer distance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2026-03-31
AI Technical Summary
When the infrared module of an electronic device is placed on the top of the device, the limited space results in a limited field of view (FOV) for infrared emission, which affects the user's use of infrared functions.
The infrared module is placed under a transparent cover, and the emission direction of the infrared module is adjusted by an adjustment device to overcome the influence of the tilt angle of the electronic device on the infrared emission distance. For example, when the electronic device is tilted at a certain angle, the emission direction of the infrared rays is adjusted downward or downward.
It increases the emission field of the infrared module, reduces power loss caused by the light guide column, and improves the control range of infrared rays and user experience.
Smart Images

Figure CN120263885B_ABST
Abstract
Description
[0001] This application is a divisional application. The original application has the application number 202310379735.9 and the original application date is March 31, 2023. The entire contents of the original application are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technology, and in particular to an electronic device and its control method, and an infrared module. Background Technology
[0003] Some electronic devices have built-in infrared functionality, allowing direct control and connection to related devices, effectively turning the device into a remote control. Typically, the infrared module is located on the top of the device for easy access. However, since the infrared module's emission direction is fixed, and the top space of the electronic device is limited, an opening usually needs to be made in the frame to guide the infrared light emitted by the transmitter through a light guide column. The size of this opening is limited by the device's internal space, resulting in a limited field of view (FOV) for the infrared signal, thus affecting the user experience of the infrared function. Summary of the Invention
[0004] This application provides an electronic device and its control method, as well as an infrared module, to improve the problem that when an electronic device has an infrared module mounted on the top of its body, the infrared module has a fixed emission direction, resulting in a small field of view and affecting normal use.
[0005] To achieve the above objectives, the embodiments of this application adopt the following solutions:
[0006] In a first aspect, embodiments of this application provide an electronic device, which includes a mid-frame, a housing, a processor, and an infrared module. The housing covers the mid-frame, and the processor and infrared module are disposed within the accommodating space formed by the housing and the mid-frame. The housing includes a transparent cover plate, and the infrared module is disposed under the transparent cover plate. This avoids the problems of limited field of view (FOV) caused by the mid-frame openings and light guides when the infrared module is placed at the top of the electronic device. By placing the infrared module under the transparent cover plate, there is no need to set up a light guide plate, resulting in a larger FOV for infrared emission. 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. This can also overcome the influence of the tilt angle of the electronic device on the infrared emission distance. For example, when the electronic device is tilted at a certain angle, the emission direction of the infrared rays can be adjusted downward or downward to overcome the problem of limited emission distance caused by the upward or downward tilt of the electronic device.
[0007] In one possible implementation, the infrared module includes an adjustment device, a first bracket, and an infrared transmitter. The infrared transmitter is mounted on the first bracket, and the adjustment device is electrically connected to the processor. The adjustment device is used to adjust the tilt of the first bracket in response to the control of the processor, thereby changing the position of the infrared transmitter mounted on the first bracket to adjust the emission direction of the infrared rays emitted by the infrared transmitter relative to the transparent cover plate.
[0008] In one possible implementation, the infrared module further includes a second bracket, and the adjustment device includes a first adjustment device. The second bracket includes a base and a support column connected to the base. The end of the support column away from the base is connected to the first bracket. The first adjustment device is disposed on the base and connected to the first bracket. The first adjustment device is used to drive the first bracket to shift in a first direction or a second direction in response to the control of the processor, thereby causing the infrared rays emitted by the infrared emitter to shift in the first direction or the second direction relative to the emission direction of the transparent cover. The first direction is the opposite of the pitch direction of the electronic device, and the second direction is the positive direction of the pitch direction of the electronic device. This can reduce the impact of the electronic device's tilt on infrared emission.
[0009] In one possible implementation, the first adjustment device includes a first coil and a first magnetic element. When the first coil is energized, it attracts or repels the first magnetic element. The first coil is disposed on the base, and the first magnetic element is disposed on the first support. Alternatively, the first magnetic element is disposed on the base, and the first coil is disposed on the first support. Thus, when the first coil is energized, through the interaction between the first coil and the first magnetic element, the first adjustment device can apply a force to the first support, causing the first support to shift in a first direction or a second direction, thereby causing the infrared rays emitted by the infrared emitter to shift relative to the emission direction of the transparent cover plate in the first direction or the second direction.
[0010] In one possible implementation, the adjustment device further includes an infrared driving circuit electrically connected to the processor. The infrared driving circuit includes a first output terminal connected to a 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.
[0011] In one possible implementation, the adjustment device further includes a second adjustment device disposed on the base and connected to the first bracket. The second adjustment device is used to drive the first bracket to shift in a second direction or a first direction in response to the control of the processor, thereby causing the infrared rays emitted by the infrared emitter to shift in a second direction or a first direction relative to the emission direction of the transparent cover.
[0012] In one possible implementation, the first adjustment device and the second adjustment device are located on both sides of the support column. Both the first adjustment device and the second adjustment device can adjust the emission direction of the infrared rays emitted by the infrared emitter relative to the transparent cover. By setting the first adjustment device and the second adjustment device, both the first adjustment device and the second adjustment device can operate independently or together, which can increase the reliability of the infrared module of the electronic device.
[0013] In one possible implementation, the second adjustment device includes a second coil and a second magnetic element, which attract or repel the second magnetic element when the second coil is energized; wherein the second coil is disposed on the base and the second magnetic element is disposed on the first support; or, the second magnetic element is disposed on the base and the second coil is disposed on the first support.
[0014] In one possible implementation, the infrared driving circuit further includes a second output terminal connected to a second coil, and 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 one possible implementation, the electronic device further includes a camera module disposed under a transparent cover. The transparent cover includes a first region and a second region, with the camera module aligned with the first region and the infrared module aligned with the second region. Placing the infrared module near the camera module can save internal space in the electronic device.
[0016] In one possible implementation, the electronic device also includes a sensor connected to the processor, which is used to detect the tilt of the electronic device.
[0017] Secondly, embodiments of this application provide an infrared module, which includes: a first bracket, a second bracket, a first adjustment device, and an infrared emitter; the infrared emitter is mounted on the first bracket, the second bracket includes a base and a support column connected to the base, and the end of the support column away from the base is connected to the first bracket; the first adjustment device includes a first magnetic element and a first coil, wherein the first coil is disposed on the base and the first magnetic element is disposed on the first bracket; or, the first magnetic element is disposed on the base and the first coil is disposed on the first bracket; when the first coil is energized, it attracts or repels the first magnetic element, driving the first bracket to shift in a first direction or a second direction, thereby causing the emission direction of the infrared rays emitted by the infrared emitter to shift in the first direction or the second direction, wherein the second direction is opposite to the first direction.
[0018] The infrared module provided in this application includes a first adjustment device. The first adjustment device can drive a first bracket to shift in a first direction or a second direction, thereby causing the emission direction of the infrared emitter mounted on the first bracket to shift in the first direction or the second direction. This allows for a better infrared field of view by adjusting the emission direction. Utilizing the interaction between an energized coil and a magnetic component to drive a second bracket and change the emission direction of the infrared rays emitted by the infrared emitter not only provides a better field of view but also, the combination of the energized coil and magnetic component occupies little space, which is beneficial for the miniaturization design of the infrared module.
[0019] In one possible implementation, the infrared module further includes a second adjustment device; the second adjustment device includes a second magnetic element and a second coil, wherein the second coil is disposed on the base and the second magnetic element is disposed on the first bracket; or, the second magnetic element is disposed on the base and the second coil is disposed on the first bracket; when the second coil is energized, it attracts or repels the second magnetic element; driving the second bracket to shift in a second direction or a first direction, thereby causing the emission direction of the infrared rays emitted by the infrared emitter to shift in the second direction or the first direction. By using the first and second adjustment devices together to adjust the emission direction of the infrared emitter, compared to driving with a single adjustment device, stability is increased; furthermore, even if one adjustment device fails, the other adjustment device can still drive the infrared emitter to adjust the emission direction of the infrared rays, improving reliability.
[0020] In one possible implementation, the first adjustment device and the second adjustment device are distributed on both sides of the support column.
[0021] In one possible implementation, the second bracket is movably connected to the support column.
[0022] In one possible implementation, the second bracket is rotatably connected to the support column.
[0023] Thirdly, embodiments of this application also provide a control method for an electronic device, including a mid-frame, a housing, a processor, and an infrared module. The housing covers the mid-frame, and the processor and infrared module are disposed within a receiving space formed by the housing and the mid-frame. The housing includes a transparent cover plate, and the infrared module is disposed under the transparent cover plate. The method includes: detecting the tilt of the electronic device in the pitch direction; and adjusting the emission direction of infrared rays emitted by the infrared module relative to the transparent cover plate in response to the tilt of the electronic device in the pitch direction.
[0024] In one possible implementation, the device comprises a first bracket, a second bracket, a first adjustment device, and an infrared emitter; the infrared emitter is mounted on the first bracket, the second bracket includes a base and a support column connected to the base, the end of the support column away from the base is connected to the first bracket, and the first adjustment device includes a first coil and a first magnetic element, wherein the first coil is disposed on the base and the first magnetic element is disposed on the first bracket; or, the first magnetic element is disposed on the base and the first coil is disposed on the first bracket, and adjusting 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 includes: adjusting the magnitude and / or direction of the current output to the first coil in response to the tilt of the electronic device.
[0025] Fourthly, embodiments of this application also provide a storage medium storing a computer program that, when executed by a processor, implements the steps of the method provided in any implementation of the third aspect. Attached Figure Description
[0026] Figure 1A A schematic diagram of an electronic device provided in an embodiment of this application;
[0027] Figure 1B A schematic diagram of an infrared module provided in an embodiment of this application;
[0028] Figure 2 This is a schematic diagram of an electronic device controlling a controlled object, provided in an embodiment of this application.
[0029] Figure 3 A schematic diagram of an electronic device provided in an embodiment of this application;
[0030] Figure 4 Another schematic diagram of the electronic device provided in the embodiments of this application;
[0031] Figure 5 A schematic diagram of another electronic device provided in an embodiment of this application;
[0032] Figure 6 A schematic diagram illustrating the usage scenarios of electronic devices;
[0033] Figure 7 This is a schematic diagram of the coordinate system of an electronic device;
[0034] Figure 8 A schematic diagram of an electronic device emitting infrared light in one orientation.
[0035] Figure 9 A schematic diagram illustrating an electronic device emitting infrared light in a different manner;
[0036] Figure 10 A schematic diagram of infrared emission direction adjustment is provided for embodiments of this application;
[0037] Figure 11 A schematic diagram of an infrared module provided in an embodiment of this application;
[0038] Figure 12 This is a schematic diagram of the working scenario of the infrared module provided in the embodiments of this application;
[0039] Figure 13 This is a schematic diagram of the working state of an infrared module provided in an embodiment of this application;
[0040] Figure 14 This is a schematic diagram of another working state of the infrared module provided in the embodiments of this application;
[0041] Figure 15 This is a schematic diagram of another infrared module provided in an embodiment of this application;
[0042] Figure 16 This is a schematic diagram of another infrared module provided in an embodiment of this application;
[0043] Figure 17 A schematic diagram of a energized coil generating a magnetic field;
[0044] Figure 18A A schematic diagram of an electronic device provided in an embodiment of this application;
[0045] Figure 18B A schematic diagram of another electronic device provided in an embodiment of this application;
[0046] Figure 19 A schematic diagram of the infrared module control system provided in an embodiment of this application;
[0047] Figure 20 A flowchart illustrating the control method for an electronic device provided in an embodiment of this application;
[0048] Figure 21 This is a schematic diagram of another working scenario for the infrared module provided in the embodiments of this application. Detailed Implementation
[0049] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0050] Hereinafter, the terms "first," "second," etc., are used for descriptive convenience only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first," "second," etc., may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "multiple" means two or more. For example, multiple processing units refer to two or more processing units.
[0051] Furthermore, in the embodiments of this application, "upper," "lower," "left," and "right" are not limited to the orientation of the components schematically placed in the accompanying drawings. It should be understood that these directional terms can be relative concepts, used for relative description and clarification, and can change accordingly depending on the orientation of the components in the accompanying drawings. In the accompanying drawings, for clarity, the thickness of layers and regions is exaggerated, and the dimensional proportions between the parts in the drawings do not reflect the actual dimensional proportions.
[0052] In the embodiments of this application, unless otherwise explicitly specified and limited, the term "connection" should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral part; it can be a direct connection or an indirect connection through an intermediate medium. In addition, the term "electrical connection" can be a direct electrical connection or an indirect electrical connection through an intermediate medium.
[0053] In this application, the term "module" typically refers to a logically divided functional structure. A "module" can be implemented purely in hardware, or a combination of hardware and software. In this application, "and / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, B existing alone, or both A and B existing simultaneously.
[0054] In this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being better or more advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0055] Infrared radiation, also known as infrared light, is an electromagnetic wave with a wavelength range of 0.76-1000 micrometers, falling between visible light and microwaves. It is a widely used electromagnetic wave with applications in security monitoring, healthcare, and wireless control.
[0056] For example, smartphones and other electronic devices are equipped with infrared functions, which can be used to sense the user's call status. For instance, when a user picks up the phone to answer a call, the infrared function detects that the phone is close to the ear and can turn off the phone screen to prevent accidental touches. Alternatively, infrared can also be used to sense the external environment. Usually, there are infrared sensors on the top or bottom of the phone to monitor the ambient brightness, and thus adjust the brightness, color, and other settings of the phone screen according to the ambient light.
[0057] Besides monitoring, infrared light can also be used to transmit data or control related devices, such as televisions, air conditioners, and other devices that support infrared control. If some mobile phones have built-in infrared functionality, then these devices can be directly controlled and connected through the mobile phone, which can be used as a remote control.
[0058] Similar to remote controls, the infrared module of electronic devices such as mobile phones is usually located on the top of the device. Figure 1A As shown, this is for ease of use; however, due to the limited space at the top of electronic devices such as mobile phones, it is usually necessary to create a hole in the middle frame. (See [reference]). Figure 1B The infrared light emitted by the infrared emitter is conducted out through the light guide column. However, the size of the hole is limited by the space of the electronic device body, and the opening size is usually around 1.6mm. This results in a limited field of view (FOV) for infrared emission, which affects the user's use of infrared functions.
[0059] Because infrared light lacks the ability to penetrate obstacles to control objects like radio remote control, controlling objects using infrared light typically requires the infrared transmitter to be aimed directly at the object. However, when controlling distant objects, the small field of view (FOV) can lead to misalignment. Figure 2 As shown, when a user uses an electronic device, if the infrared transmitter cannot be aligned with the controlled object due to changes in the hand-held angle, the user may be unable to control the controlled object, thus affecting the user experience.
[0060] The limited field of view (FOV) of the infrared emitter is due to the size of the opening in the middle frame and the limitations imposed by the light guide column. The infrared light emitted by the infrared emitter can only be transmitted through the light guide column set in the opening in the middle frame. Because the opening in the middle frame is small and the width (diameter) of the light guide column is limited, the FOV of the infrared emitter is limited.
[0061] Therefore, this application provides a solution to improve the infrared field of view (FOV), which is applied to electronic devices such as mobile phones and tablets. The following description uses a mobile phone as an example. Figure 3 A schematic diagram of the structure of an electronic device provided in this application is shown.
[0062] Please see Figure 3The 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, a sensor 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.
[0063] The aforementioned sensor 280 may include pressure sensors, gyroscope sensors, gravity sensors, air pressure sensors, magnetic sensors, acceleration sensors, distance sensors, proximity sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, and bone conduction sensors, etc.
[0064] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0065] Processor 210 may include one or more processing units, such as application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.
[0066] A controller can be the nerve center and command center of an electronic device. Based on the instruction opcode and timing signals, the controller generates operation control signals to control the fetching and execution of instructions.
[0067] The processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0068] In some embodiments, the processor 210 may include one or more interfaces. 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 is understood that the interface connection relationships between the modules illustrated in this embodiment are merely illustrative and do not constitute a structural limitation on the electronic device. In other embodiments, the electronic device may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0070] The charging management module 240 receives charging input from a charger, which can 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 via the power management module 241.
[0071] The power management module 241 connects the battery 242, the charging management module 240, and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, internal memory 221, external memory, display 294, camera 293, and wireless communication module 260, etc. In some embodiments, the power management module 241 and the charging management module 240 may also be housed in the same device.
[0072] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor, and baseband processor. 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 networks and other devices through wireless communication technology.
[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 one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0074] The mobile communication module 250 can provide solutions for wireless communication applications in electronic devices, including 2G / 3G / 4G / 5G. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation.
[0075] The mobile communication module 250 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 250 can be housed in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 and at least some modules of the processor 210 can be housed in the same device.
[0076] The wireless communication module 260 can provide solutions for wireless communication applications in electronic devices, including WLAN (such as wireless fidelity, Wi-Fi) networks, Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, and other wireless communication technologies.
[0077] The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signal, and sends the processed signal to processor 210. The wireless communication module 260 can also receive signals to be transmitted from processor 210, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0078] Electronic devices implement display functions through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or modify 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 implement shooting functions through an ISP, camera 293, video codec, GPU, display 294, and application processor. The ISP is used to process data fed back by the camera 293. The camera 293 is used to capture still images or videos. In some embodiments, the electronic device may include one or N cameras 293, where N is a positive integer greater than 1.
[0081] The external storage interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 210 through the external storage interface 220 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0082] Internal memory 221 can be used to store computer executable program code, which includes instructions. Processor 210 executes various functional applications and data processing of the electronic device by running the instructions stored in internal memory 221. For example, in this embodiment, processor 210 can execute instructions stored in internal memory 221, which may include a program storage area and a data storage area.
[0083] The program storage area can store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.). The data storage area can store data created during the use of the electronic device (such as audio data, phonebook, etc.). Furthermore, the internal memory 221 can include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0084] Electronic devices can implement audio functions through audio modules 270, speakers 270A, receivers 270B, microphones 270C, headphone jacks 270D, and application processors. Examples include music playback and recording.
[0085] Buttons 290 include a power button, volume buttons, etc. Buttons 290 can be mechanical buttons or touch-sensitive buttons. Motor 291 can generate vibration alerts. Motor 291 can be used for incoming call vibration alerts or for touch vibration feedback. Indicator 292 can be an indicator light, used to indicate charging status, battery level changes, messages, missed calls, notifications, etc. SIM card interface 295 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 295 to achieve contact and separation with the electronic device. The electronic device can support one or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
[0086] The electronic device also includes an infrared module 300, which may include an infrared transmitter and a receiver, wherein the infrared transmitter is used to emit infrared light and the infrared receiver is used to receive infrared light.
[0087] The aforementioned electronic devices also include, for example Figure 4 The diagram shows a mid-frame 296 and a housing 297. A display screen 294 and a housing 297 are located on either side of the mid-frame 296, with the back of the display screen 294 facing the housing 297. The display screen 294 and the housing 297 can be connected via the mid-frame 296. The electronic device also includes a motherboard, a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, a camera 293, and other components or functional modules mounted on the motherboard. The motherboard is housed within the space formed by the mid-frame 296, the display screen 294, and the housing 297. The housing 297 includes a transparent cover 298, under which the camera 293, an infrared module 300, and other components are disposed.
[0088] Placing the infrared module on the top of an electronic device would require openings in the frame due to space constraints, and infrared rays would be emitted outwards through light guides. However, the field of view (FOV) of the infrared rays is small. The solution provided in this application embodiment places the infrared module 300 under the transparent cover plate 298, eliminating the need for openings and reducing obstruction. Furthermore, the infrared rays can be emitted outwards through the transparent cover plate 298, which also avoids power loss caused by the light guides transmitting infrared rays.
[0089] For example, in combination 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 infrared module 300 of the electronic device are disposed below the transparent cover plate 298, or in other words, disposed in the space formed between the transparent cover plate 298 and the middle frame 296.
[0090] The infrared module 300 is positioned under the transparent cover plate 298, allowing the infrared light emitted by the infrared module 300 to diffuse outwards through the transparent cover plate 298. Since the area of the transparent cover plate 298 is much larger than that of the infrared module 300 and the camera module 193, and the transparent cover plate 298 is light-transmitting, there is no obstruction when the infrared module 300 is positioned under the transparent cover plate 298. This avoids the FOV limitation problem of the mid-frame opening and light guide column on the infrared light emitted by the infrared module 300 in the aforementioned solutions, ensuring that the infrared function of the electronic device is not affected by the FOV limitation of infrared light, thus not impacting the user experience.
[0091] In one possible implementation, the transparent cover 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, which can allow only infrared light to pass through while filtering out other wavelengths of light.
[0092] The aforementioned transparent cover 298 can be a transparent decorative cover for the camera module 193, also known as a decorative film (DECO). The DECO can be made of materials such as organic materials or tempered glass. Placing the infrared module 300 under the DECO of the camera module 193 saves internal space in the electronic device. To prevent light interference between the infrared module 300 and the camera module 193, foam can be placed between the infrared module 300 and the second area 2982 to prevent infrared leakage.
[0093] Although placing the infrared module 300 under the transparent cover 298 can increase the FOV of the electronic device's infrared radiation, due to user habits, see [reference needed]. Figure 6When users use electronic devices, the device body is usually not in a horizontal or vertical position, but at a certain angle to facilitate users to view the content displayed on the screen 294.
[0094] Combination Figure 7 If an electronic device is placed in an XYZ inertial coordinate system, where the Z-axis is perpendicular to the device's display screen and points upwards, the X-axis lies in the device's reference plane, parallel to the device's axis and pointing forward, and the Y-axis lies in the device's reference plane, perpendicular to the X-axis and pointing to the right of the device, then the angle of rotation of the electronic device around the X-axis is called the roll angle, the angle of rotation around the Y-axis is called the pitch angle, and the angle of rotation around the Z-axis is called the yaw angle.
[0095] When the infrared module 300 of the electronic device is placed under the transparent cover on the housing of the electronic device, the center line of the infrared field of view is perpendicular to the plane of the housing. When the electronic device is tilted at a certain angle, it will affect the range of infrared rays emitted by the infrared module of the electronic device, or in other words, it will affect the control of the remote controlled object.
[0096] For example, see Figure 8 and Figure 9 When the plane containing the casing 297 of the electronic device is perpendicular to the horizontal plane, the direction of infrared emission is ( Figure 8 When the infrared radiation (direction A0 shown) is emitted horizontally, it can reach the farthest horizontal distance, enabling control of distant objects. However, when the electronic device is tilted at a certain angle, such as a pitch angle of α, because the casing 297 of the electronic device is angled towards the horizontal plane, the direction of infrared radiation emission ( Figure 9 The direction shown (A1 direction) is perpendicular to the plane where the housing 297 is located. This causes the center direction of the infrared rays emitted by the infrared module 300 to also shift downward, shortening the distance that the infrared rays can reach in the horizontal direction. This may result in the inability to align with the controlled object at a greater distance.
[0097] Combination Figure 8 and Figure 9It is known that to maximize the horizontal transmission distance of infrared rays, 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 user habits. By placing the infrared module 300 under the transparent cover 298 of the housing 297, the horizontal distance that the infrared rays can reach when using the terminal's infrared function is greatly affected by the pitch angle of the electronic device. Due to user habits, the electronic device is usually tilted at a certain angle when using it, and this pitch angle will shorten the horizontal distance that the infrared rays can reach. Therefore, when using the infrared function of the electronic device, the user may need to adjust the posture of the electronic device to make the horizontal distance that the infrared rays can reach further, so as to obtain a better control range when using infrared to control the controlled object.
[0098] Therefore, this application provides a solution that adjusts the infrared emission angle according to the pitch angle of the electronic device, for example, as... Figure 10 As shown, when the electronic device is at a certain pitch angle, causing the plane of the housing 297 to tilt downwards, the direction of infrared emission is also tilted downwards (e.g., Figure 10 In the A1 direction (as described in the embodiments of this application), the electronic device provided can adjust the infrared emission angle so that the infrared emission angle can overcome the influence of the electronic device's pitch angle and still maintain emission along the horizontal direction or close to the horizontal direction (e.g., direction A1). Figure 10 The infrared beam is emitted in the A2 direction, which allows infrared light to control objects at a greater distance.
[0099] For example, this application provides an infrared module 300 that can adjust the infrared emission angle, see reference. Figure 11 , Figure 11 The diagram shows the structure of an infrared module 300 provided in an embodiment of this application. The infrared module 300 includes a first bracket 310, a second bracket 320, an infrared transmitter 330, and an adjustment device.
[0100] The second bracket 320 includes a base 321 and a support column 322 connected to the base 321. The end of the support column 322 away from the base 321 is connected to the first bracket 310. An infrared emitter 330 is mounted on the first bracket 310 and can emit infrared rays toward the side away from the second bracket 320. The adjustment device includes a first adjustment device 341, which is mounted on the base 321 and connected to the first bracket 310. The first adjustment device 341 is used to drive the first bracket 310 to shift or rotate in a first direction or a second direction, thereby causing the infrared emission direction of the infrared emitter 330 mounted on the first bracket 310 to shift or rotate in the first direction or the second direction. For example, the first direction here can refer to the counterclockwise direction around the Y-axis in the aforementioned XYZ coordinate system, and the second direction can refer to the clockwise direction around the Y-axis in the aforementioned XYZ coordinate system. When the electronic device rotates around the Y-axis to generate a pitch angle, the emission direction of the infrared emitter 330 of the infrared module 300 can also rotate around the Y-axis by a certain angle, thereby avoiding the influence of the electronic device's posture on the infrared function.
[0101] For example, see Figure 12 When the electronic device rotates clockwise (towards the first direction) by an angle β around the Y-axis from a vertical position (i.e., perpendicular to the horizontal plane, with a pitch angle of 90°), the pitch angle becomes α, and α + β = 90°. If the infrared emission direction is not adjusted, the infrared emission direction will be obliquely downwards at an angle β with the horizontal plane. This will shorten the distance that the infrared rays can reach. The electronic device provided in this application embodiment can adjust the infrared emission direction. For example, by rotating the infrared emission direction counterclockwise (towards the second direction) by an angle β around the Y-axis, the infrared emission direction can be restored to being emitted in the horizontal direction. The distance that infrared rays emitted in the horizontal direction can reach is farther than that that emitted obliquely downwards, thus increasing the range at which the electronic device can effectively control the controlled device using infrared rays.
[0102] For example, see Figure 13 When the first adjustment device 341 applies a force to the first bracket 310 away from the direction of the second bracket 320, the first bracket 310 shifts or rotates in the first direction (that is, clockwise around the Y-axis). In this case, the emission direction of infrared rays emitted by the infrared emitter 330 also shifts or rotates in the first direction along with the first bracket 310.
[0103] For example, see Figure 14When the first adjustment device 341 applies a force to the first bracket 310 in the direction of the second bracket 320, the first bracket 310 shifts or rotates in the second direction (that is, counterclockwise around the Y-axis). In this case, the emission direction of infrared rays emitted by the infrared emitter 330 also shifts or rotates in the second direction along with the first bracket 310.
[0104] In one possible implementation, the first bracket 310 is movably connected to the support column 322, so that the first adjustment device 341 can drive the first bracket 310 to offset in a first direction or a 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. For example, the first bracket 310 can be connected to the support column 322 by a rotating shaft, ball joint, 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 made of an elastic material. When the first adjusting device 341 applies a force to the first bracket 310, it can cause the support column 322 to undergo elastic deformation, so that the first bracket 310 shifts or rotates in the first direction or the second direction.
[0107] For example, in one possible implementation, see [link to relevant documentation]. Figure 15 The adjustment device may also include a second adjustment device 342, which is distributed on both sides of the support column 322 along with the first adjustment device 341. The second adjustment device 342 is mounted 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 adjustment device 342 are the same as those of the first adjustment device 341. The second adjustment device 342 can also apply a force to the first support 310 in a direction away from the second support 320 or in the direction towards the second support 320, driving the first support 310 to shift or rotate in the second direction or the first direction.
[0109] In one possible implementation, both the first adjustment device 341 and the second adjustment device 342 include two operating states: applying a force to the first support 310 in a direction close to the second support 320 or applying a force to the first support 310 in a direction away from the second support 320.
[0110] For example, when the first adjusting device 341 applies a force to the first support 310 in a direction close to the second support 320, the first support 310 shifts or rotates in a second direction; when the first adjusting device 341 applies a force to the first support 310 in a direction away from the second support 320, the first support 310 shifts or rotates in a first direction.
[0111] Since the second adjustment device 342 and the first adjustment device 341 are distributed on both sides of the support column 322, the forces they apply to the first bracket 310 in the same direction will have opposite effects.
[0112] For example, when the second adjusting device 342 applies a force to the first support 310 in a direction close to the second support 320, the first support 310 shifts or rotates in a first direction; when the second adjusting device 342 applies a force to the first support 310 in a direction away from the second support 320, the first support 310 shifts or rotates in a second direction.
[0113] In this situation, when the first support 310 shifts or rotates in the first or second direction, it is simultaneously driven by the first adjusting device 341 and the second adjusting device 342, and shifts 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 toward or away from the second bracket 320, and the second adjusting device 342 can apply a force to the first bracket 310 away from or toward the second bracket 320. This 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 a first direction or a second direction, thereby causing the infrared emitter 330 to deflect or rotate in the direction of emitting infrared rays. If one of the first adjusting device 341 and the second adjusting device 342 malfunctions, the other can drive the first bracket 310 to rotate or deflect in the first direction or the second direction, thereby causing the infrared emitter 330 to deflect or rotate in the direction of emitting infrared rays.
[0115] Alternatively, in some other possible examples, the first adjusting device 341 and the second adjusting device 342 can each apply a force to the first support 310 in only one direction. For example, the first adjusting device 341 applies a force to the first support 310 toward the second support 320, and the second adjusting device 342 applies a force to the first support 310 away from the second support 320; or the first adjusting device 341 applies a force to the first support 310 away from the second support 320, and the second adjusting device 342 applies a force to the first support 310 toward the second support 320. In this case, the first adjusting device 341 and the second adjusting device 342 can only drive the first support 310 to rotate in the first direction or the second direction, respectively. The first adjusting device 341 and the second adjusting device 342 must work together to enable the first support 310 to have the ability to rotate or deflect in different directions. The first adjusting device 341 and the second adjusting device 342 are used to drive the first support 310 to deflect or rotate, thereby causing the infrared emitter 330 mounted on the first support 310 to deflect or rotate in the direction of emitting infrared rays.
[0116] For example, in one possible implementation, the first adjusting device 341 and the second adjusting device 342 can be telescopic rods, wherein the telescopic rods can include a fixed part and a movable part, wherein the fixed part is mounted on the base 321 of the second bracket 320, one end of the movable part is connected to the fixed part, and the other end of the movable part is connected to the first bracket 310. The movable part can extend and retract. When the movable part extends, it applies a force to the first bracket 310 away from the second bracket 320. When the movable part retracts, it applies a force to the first bracket 310 toward the second bracket 320.
[0117] Alternatively, in another possible implementation, the first adjustment device 341 and the second adjustment device 342 can be a voice coil motor or a drive motor with the same function. The voice coil motor or drive motor is connected to the first bracket 310 through a transmission mechanism. When the voice coil motor or drive motor rotates in the forward direction, it applies a force to the first bracket 310 away from the second bracket 320 through the transmission mechanism. When the voice coil motor or drive motor rotates in the reverse direction, it applies a force to the first bracket 310 towards the second bracket 320 through the drive mechanism, thereby driving the first bracket 310 to shift or rotate in the first or second direction, and causing the infrared emitter 330 to rotate in the first or second direction.
[0118] However, due to the limited space of electronic devices, the large space occupied by telescopic rods, voice coil motors, etc. as the first adjustment device 341 and the second adjustment device 342, and their high cost, this application provides another implementation method that can reduce the space occupied by the first adjustment device 341 and the second adjustment device 342 while also reducing costs.
[0119] For example, see 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 element 3412. When current flows through the first coil 3411, a magnetic field is generated, thereby attracting the first magnetic element 3412. In this configuration, one of the first coil 3411 and the first magnetic element 3412 can be disposed in the second bracket 320 and the other in the first bracket 310. For example, the first coil 3411 can be disposed on the base 321 of the second bracket 320, and the first magnetic element 3412 can be installed at the corresponding position in the first bracket 310, so that the first coil 3411 and the first magnetic element 3412 can be disposed opposite to each other. When the first coil 3411 is energized, it can attract the first magnetic element 3412. The first magnetic element 3412 is installed on the first bracket 310. Therefore, when the first magnetic element 3412 is attracted by the first coil 3411, the first magnetic element 3412 can apply a force to the first bracket 310 in the direction of the second bracket 320, driving the first bracket 310 to shift or rotate in the first direction, and causing the emission direction of the infrared emitter 330 to also rotate in the first direction.
[0120] Alternatively, the first coil 3411 is disposed on the base 321 of the second bracket 320, and the first magnetic element 3412 is installed at the corresponding position of the first bracket 310, so that the first coil 3411 and the first magnetic element 3412 can be disposed opposite to each other. Thus, when the first coil 3411 is energized, it can attract the first magnetic element 3412. Since the first magnetic element 3412 is fixedly installed on the second bracket 320, the reaction force of the first magnetic element 3412 on the first coil 3411 can drive the first bracket 310 to shift or rotate in the first direction, thereby causing the emission direction of the infrared emitter 330 to also rotate in the first direction.
[0121] As can be seen from the above, the coil can be set on the second bracket 320, and the magnetic element can be set on the first bracket 310, or the coil can be set on the first bracket 310, and the magnetic element can be set on the second bracket 320. For ease of explanation, in the following examples of this application, the coil is set on the second bracket 320 and the magnetic element is set on the first bracket 310.
[0122] Taking the first adjustment device 341 as an example, the first magnetic element 3412 can be an iron sheet, which is fixedly installed on the side of the first bracket 310 facing the second bracket 320. Alternatively, the first magnetic element 3412 can also be a sheet structure made of ferromagnetic materials such as iron, steel, nickel, and cobalt.
[0123] The second adjustment device 342 has the same structure as the first adjustment device 341. The second adjustment device 342 includes a second coil 3421 and a second magnetic element 3422. The second coil 3421 is disposed on the base 321 of the second bracket 320, and the second magnetic element 3422 is disposed on the first bracket 310. When current passes through the second coil 3421, a magnetic field is generated, which attracts the second magnetic element 3422 and drives the first bracket 310 to rotate in the second direction, thereby causing the infrared emitter 330 to shift or rotate in the second direction.
[0124] For example, the first adjustment device 341 and / or the second adjustment device 342 drive the first support 310 to deflect or rotate because of the force between the energized coil and the magnetic component. According to the right-hand rule, the greater the current flowing through the coil and the more turns the coil has, the stronger the magnetic field formed. Therefore, the first adjustment device 341 and / or the second adjustment device 342 can adjust the magnitude of the force applied to the first support 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 support 310 satisfies: F = BIL, where B is the magnetic field strength. After the number of turns of the first coil 3411 and the second coil 3421 are fixed, B is determined by the current intensity flowing through the coil. I is the intensity of the induced current on the magnetic component, and L is the conductor length in the magnetic field. Taking the first coil 3411 as an example, the larger the current in the first coil 3411, the larger the magnetic field strength generated, and the larger the induced current I generated on the magnetic component. Therefore, the electromagnetic force F is also larger, and the force attracting the magnetic component is greater.
[0126] In some possible implementations, an iron core can be inserted into the first coil 3411 and the second coil 3421. Adding the iron core can enhance the strength of the magnetic field generated by the first coil 3411 and the second coil 3421 when energized.
[0127] In addition, see Figure 17 According to the right-hand screw rule, the direction of the magnetic field generated by a current-carrying coil is related to the direction of the current. If the current through the coil is reversed, then the direction of the magnetic field will also change in the opposite direction.
[0128] Therefore, in conjunction with the aforementioned example, both the first adjustment device 341 and the second adjustment device 342 can apply a force to the first support 310 in a direction close to or away from the second support 320. In this case, this can be achieved by changing the direction of the current flowing through the first coil 3411 and the second coil 3421 and adjusting the magnitude of the current.
[0129] In one possible implementation, the first adjusting device 341 can only apply a force to the first support 310 in the direction closer to the second support 320, and the second adjusting device 342 can only apply a force to the first support 310 in the direction away from the second support 320. Alternatively, the first adjusting device 341 can only apply a force to the first support 310 in the direction away from the second support 320, and the second adjusting device 342 can only apply a force to the first support 310 in the direction closer to the second support 320. In this case, the effect 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 current flowing through the first coil 3411 is larger and the current flowing through the second coil 3421 is smaller or zero, then the force applied by the first adjusting device 341 is larger, which manifests as the first support 310 shifting or rotating in the first direction under the force applied by the first adjusting device 341; conversely, if the current flowing through the second coil 3421 is larger and the current flowing through the first coil 3411 is smaller or zero, then the force applied by the second adjusting device 342 is larger, which manifests as the first support 310 shifting or rotating 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 example, when the user uses the electronic device, the direction in which the infrared module 300 emits infrared rays can be changed, which can reduce the impact of the electronic device's posture on the effective range of the electronic device's infrared function.
[0131] For example, an infrared driving circuit may be provided on the motherboard of an electronic device. The infrared driving circuit includes a first output terminal P1 and a second output terminal P2, wherein the first output terminal P1 is electrically connected to the first coil 3411 and the second output terminal P2 is electrically connected to the second coil 3421.
[0132] The processor 210 of the electronic device can control the infrared drive 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 light.
[0133] Based on the aforementioned examples, the impact of changes in the attitude of electronic devices on the infrared function of the user clock is mainly reflected in the fact that the pitch angle of the electronic device leads to a shorter infrared distance. In particular, when the pitch angle of the electronic device is positive and the back cover of the electronic device is tilted towards the ground, the infrared emission angle is also towards the ground, which will cause the infrared light to be unable to reach the controlled object at a distance.
[0134] In the solution provided in this application embodiment, 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 adjustment device 341 and the second adjustment device 342. Since the infrared module is mainly affected by the pitch angle of the electronic device, the adjustment of the infrared emitter 330 by the first adjustment device 341 and the second adjustment device 342 is mainly to counteract or reduce the influence of the pitch angle of the electronic device on the emission angle of the infrared emitter 330.
[0135] For example, in one possible implementation, see [link to relevant documentation]. Figure 18A The line connecting the first adjustment device 341 and the second adjustment device 342 is parallel to the axis of the electronic device body, or parallel to the X-axis mentioned in the previous example. Thus, when the first adjustment device 341 and the second adjustment device 342 apply force to the first bracket 310, the first bracket 310 can rotate or deflect in the first direction (clockwise around the Y-axis), or the first bracket 310 can rotate or deflect in the second direction (counterclockwise around the Y-axis), causing the infrared emitter 330 to rotate. This allows the infrared emission direction to rotate or deflect along the second direction or the first direction, keeping the infrared emission direction along or close to the horizontal direction. This can counteract 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 one possible implementation, the adjustment 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 instructions, thereby driving the infrared module 300 to shift or rotate the emission direction of the infrared rays emitted.
[0137] For example, an electronic device includes a touch screen, and the processor 210 can respond to the user's touch operation on the touch screen by controlling the infrared driving circuit 343 to adjust the direction and magnitude of the current output to the first coil 3411 and the second coil 3421, thereby driving the infrared module 300 to shift or rotate the emission angle of the infrared rays emitted.
[0138] Alternatively, the electronic device may include physical buttons, knobs, etc. The processor 210 may respond to the user's operation of the physical buttons, knobs, etc., and control the infrared drive circuit 343 to adjust the direction and magnitude of the current output to the first coil 3411 and the second coil 3421, thereby driving the infrared module 300 to shift or rotate the emission angle of the infrared rays emitted.
[0139] Alternatively, the electronic device includes a voice control module, and the processor 210 can respond to the voice control command issued by the user to control the infrared drive circuit 343 to adjust the direction and magnitude of the current output to the first coil 3411 and the second coil 3421, thereby driving the infrared module 300 to shift or rotate the emission angle of the infrared rays emitted.
[0140] For example, the electronic device provided in this application embodiment has an infrared module 300 disposed under a transparent cover, with the infrared module 300 aligned with the second region of the transparent cover to expand the field of view (FOV) of the infrared emitted by the infrared module 300. Since the emission direction of the infrared rays emitted by the infrared module 300 can move in the first and second directions, it can be understood that... (Refer to...) Figure 18B The size of the second region 2982 of the transparent cover 298 should ensure that the infrared rays emitted by the infrared module 300 are not blocked when the emission direction reaches the extreme range of the first and second directions.
[0141] While the above example can adjust the direction of infrared emission from the infrared module 300 and overcome the influence of the electronic device's posture on the infrared distance and effective range, it makes the process of using the infrared function more complicated for users. The user has to issue commands to adjust the direction of infrared emission, which increases the difficulty of use. In addition, there may be situations where multiple adjustments still fail to align with the controlled object, indicating that the adjustment direction is incorrect or incomplete, thus affecting the user experience.
[0142] Therefore, the electronic device provided in this application embodiment can automatically adjust the infrared emission direction of the infrared module 300 according to the pitch angle of the electronic device. For example, 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 tilt angle and other attitude data. The processor 210 can determine the pitch angle of the electronic device according to the data detected by the sensor 280, determine the angle that needs to be adjusted for the infrared emission direction of the infrared module 300 according to the pitch angle of the electronic device, and control the infrared driving circuit 343 to adjust the current output to the first coil 3411 and the second coil 3421, thereby adjusting the infrared emission direction.
[0143] For example, see Figure 19 , Figure 19A schematic diagram of the control system of the infrared module 300 provided in the embodiment of this application is shown, including a processor 210, an infrared driving circuit 343, a first coil 3411, a second coil 3421, and a sensor 280.
[0144] The sensor 280 is connected to the processor 210. The sensor 280 may include a gyroscope, a gravity sensor, an accelerometer, 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 based on the attitude data detected by the sensor.
[0145] The processor 210 is connected to the infrared driving circuit 343, which 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 drive circuit 343 according to the pitch angle of the electronic device, so as to control the infrared drive circuit 343 to adjust the signal magnitude of the first output terminal P1 and the second output terminal P2, thereby controlling the emission angle of the infrared module 300 emitting infrared rays.
[0147] For example, see Figure 20 , Figure 20 A flowchart illustrating the control method for an infrared module provided in an embodiment of this application is shown, including:
[0148] S510: Obtain the command to start infrared.
[0149] S520: Detects the tilt of electronic equipment in the pitch direction.
[0150] When a user enables the infrared function of an electronic device, the tilt of the electronic device is detected. For example, a sensor installed in 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 light emitted by the infrared module relative to the transparent cover.
[0152] For example, without adjusting the emission direction of the infrared rays emitted by the infrared module relative to the transparent cover, the infrared rays are emitted outward perpendicular to the transparent cover. When the electronic device is tilted, the emission direction of the infrared rays also changes with the tilt of the electronic device. For example, when the electronic device is tilted downward, the emission direction of the infrared rays will also tilt downward; when the electronic device is tilted upward, the emission direction of the infrared rays will also tilt upward. Both upward and downward tilting will cause the distance that the infrared rays can reach to be shortened, affecting the control range of the infrared rays. The solution provided in this application adjusts the emission direction of the infrared rays emitted by the infrared module relative to the transparent cover in response to the tilt of the electronic device. For example, when the electronic device is tilted downward, the emission direction of the infrared rays relative to the transparent cover is adjusted to move upward, so as to ensure that the infrared rays can be emitted in the horizontal direction as much as possible, and the control range is larger.
[0153] For example, when the posture of an electronic device changes, such as when it presents a certain pitch angle, the emission direction of the infrared module also changes, for example, from emission in the horizontal direction to emission in the upward or downward direction. This will cause the infrared light to reach a shorter distance and the effective control range to shrink. In order to overcome the influence of the pitch angle of the electronic device on the emission direction of the infrared module, it is necessary to adjust the emission direction of the infrared module so that the infrared light is emitted as horizontally as possible or close to the horizontal direction.
[0154] For example, in combination Figure 12 When the pitch angle of the electronic device is α, and α < 90°, before adjusting the emission direction (as shown in 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, the emission direction of the infrared module needs to be rotated counterclockwise along the Y-axis, that is, the second direction mentioned in the previous example, by an angle β.
[0155] For example, when the pitch angle of the electronic device is α, where α = 90°, the plane of the electronic device's casing is perpendicular to the horizontal plane, and the infrared module emits infrared rays in the horizontal direction, so there is no need to adjust the emission direction.
[0156] For example, in combination Figure 21 When the pitch angle of the electronic device is α, and 180°>α>90°, before adjusting the emission direction (as shown in 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, the emission direction of the infrared module needs to be rotated clockwise along the Y-axis, that is, the first direction mentioned in the previous example is rotated by an angle β.
[0157] The pitch angle of 0 to 90° corresponds to the user's posture when standing or sitting while using the electronic device, and the pitch angle of 90° to 180° corresponds to the user's posture when lying down while using the electronic device. When the pitch angle is less than 0 degrees or greater than 180°, it can be adjusted according to the scheme described in the previous example.
[0158] For example, the processor can control the infrared drive circuit to adjust the current magnitude and / or direction of the coil in response to the tilt of the electronic device in the pitch direction, thereby adjusting the emission direction of the infrared radiation emitted by the infrared module. After determining the angle adjustment amount, the processor controls the infrared drive circuit to adjust the current magnitude and / or direction of the first coil and the second coil to adjust the emission direction of the infrared module to the aforementioned angle adjustment amount.
[0159] After adjusting the infrared module's emission direction by the aforementioned angle adjustment amount, the infrared module's emission direction reaches the target position, activating the infrared function. The infrared light is then emitted horizontally or close to horizontally, thereby achieving a longer control distance.
[0160] For example, since the pitch angle of the electronic device may change when the user uses the infrared function, the user can also adjust the emission direction of the infrared module in real time when using the infrared function, and is not limited to adjusting the emission direction when the infrared function is activated.
[0161] The aforementioned example only mentions the effect of pitch angle on infrared function. Therefore, the first adjustment device and the second adjustment device can adjust the infrared emission direction to offset 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 be added to adjust the infrared emission direction in the direction of the roll angle or heading angle of the electronic device.
[0162] The steps of the method described in conjunction with the disclosure of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can reside in an ASIC.
[0163] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this application can be implemented using 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 code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.
[0164] Finally, it should be noted that the above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. An electronic device, comprising: The electronic device comprises a middle frame, a shell, a processor, an infrared module and a camera module, the infrared module is used for emitting infrared rays to control a controlled object; The shell is covered on the middle frame, and the processor and the infrared module are arranged in a containing space formed by the shell and the middle frame; The shell comprises a cover plate, and the infrared module and the camera module are arranged between the cover plate and the middle frame; The cover plate comprises 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; The infrared module comprises an adjusting device, a first support, a second support and an infrared emitter, and the infrared emitter is mounted on the first support; The second support comprises a base and a supporting column connected with the base, and one end of the supporting column away from the base is connected with the first support; The adjusting device comprises a first adjusting device, the first adjusting device comprises a first coil and a first magnetic member, and the first coil attracts or repels the first magnetic member when electrified, wherein the first coil is arranged on the base, and the first magnetic member is arranged on the first support; or the first magnetic member is arranged on the base, and the first coil is arranged on the first support.
2. The electronic device of claim 1, wherein, The camera module is a rear camera module.
3. The electronic device of claim 1 or 2, wherein, The second region is coated with an infrared ink layer.
4. The electronic device of claim 3, wherein, The infrared ink layer is used to filter out light of other wavelengths through infrared rays.
5. The electronic device of claim 1 or 2, wherein, The infrared rays are used to control the controlled object, including emitting the infrared rays to realize remote control function.
6. The electronic device of claim 1 or 2, wherein, The infrared module and the second region are provided with a foam.
7. The electronic device of claim 1 or 2, wherein, The infrared rays are emitted outward through the cover plate.
8. The electronic device of claim 1 or 2, wherein, Further comprising a processor, the processor is used for adjusting the emission direction of the infrared rays emitted by the infrared emitter relative to the cover plate in response to the inclination of the electronic device in the pitch direction.
9. The electronic device of claim 1 or 2, wherein, The adjusting device is electrically connected with the processor; The adjusting device is used for adjusting the inclination of the first support to adjust the emission direction of the infrared rays emitted by the infrared emitter relative to the cover plate in response to the control of the processor.
10. The electronic device of claim 9, wherein The first adjusting device is used for driving the first support to offset towards 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 cover plate to offset towards 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 of claim 10, wherein, The adjusting device further comprises an infrared driving circuit, the infrared driving circuit is electrically connected with the processor, the infrared driving circuit comprises a first output end, the first output end is connected with the first coil, and the processor is used for controlling the current size and / or direction of the signal output to the first coil by the infrared driving circuit in response to the inclination angle of the electronic device.
12. The electronic device of claim 11, wherein, The adjusting device further comprises a second adjusting device arranged on the base, the second adjusting device being connected with the first support, and the second adjusting device being used to drive the first support to deviate towards the second direction or the first 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 to deviate towards the second direction or the first direction.
13. The electronic device of claim 12, wherein, The first adjusting device and the second adjusting device are located on both sides of the support column.
14. The electronic device of claim 12 or 13, wherein, The second adjusting device comprises a second coil and a second magnetic member, and the second coil attracts or repels the second magnetic member when energized. The second coil is arranged on the base, and the second magnetic member is arranged on the first support. Alternatively, the second magnetic member is arranged on the base, and the second coil is arranged on the first support.
15. The electronic device of claim 14, wherein, The infrared driving circuit further comprises a second output end connected with the second coil, and the processor is used to control the current size and / or direction of the signal output to the first coil by the infrared driving circuit in response to the inclination angle of the electronic device.
16. The electronic device of claim 1 or 2, wherein, The electronic device further comprises a sensor connected with the processor, and the sensor is used to detect the inclination of the electronic device.
17. An infrared module, characterized by The infrared module comprises a first support, a second support, a first adjusting device, and an infrared emitter. The infrared emitter is mounted on the first support, the second support comprises a base and a support column connected with the base, and one end of the support column away from the base is connected with the first support. The first adjusting device comprises a first magnetic member and a first coil, wherein the first coil is arranged on the base, and the first magnetic member is arranged on the first support; or the first magnetic member is arranged on the base, and the first coil is arranged on the first support. When the first coil is energized, the first magnetic member is attracted or repelled, and the first support is driven to deviate towards the first direction or the second direction, so as to drive the emission direction of the infrared rays emitted by the infrared emitter to deviate towards the first direction or the second direction.
18. The infrared module of claim 17, wherein: The infrared module further comprises a second adjusting device. The second adjusting device comprises a second magnetic member and a second coil, wherein the second coil is arranged on the base, and the second magnetic member is arranged on the first support; or the second magnetic member is arranged on the base, and the second coil is arranged on the first support. When the second coil is energized, the second magnetic member is attracted or repelled, and the second support is driven to deviate towards the second direction or the first direction, so as to drive the emission direction of the infrared rays emitted by the infrared emitter to deviate towards the second direction or the first direction.
19. The infrared module of claim 18, wherein, The first adjusting device and the second adjusting device are distributed on both sides of the support column.
20. The infrared module of any of claims 17-19, wherein the infrared module is configured to be mounted to a housing of a portable electronic device. The second support is movably connected with the support column.
21. The infrared module of any of claims 17-19, wherein the infrared module is configured to be mounted to a housing of a portable electronic device. The second support is rotatably connected with the support column.
22. A control method of an electronic device, characterized by, The electronic device includes a middle frame, a shell, a processor and an infrared module, the shell is covered on the middle frame, the processor and the infrared module are arranged in a containing space formed by the shell and the middle frame, the shell includes a cover plate, the infrared module is arranged below the cover plate, the infrared module includes a first support, a second support, a first adjusting device and an infrared emitter, the infrared emitter is mounted on the first support, the second support includes a base and a support column connected with the base, one end of the support column away from the base is connected with the first support, the first adjusting device includes a first coil and a first magnetic piece, wherein the first coil is arranged on the base, and the first magnetic piece is arranged on the first support; or the first magnetic piece is arranged on the base, and the first coil is arranged on the first support, and the method comprises: detecting the inclination of the electronic device in the pitch direction; in response to the inclination of the electronic device in the pitch direction, adjusting the current size and / or direction output to the first coil.
23. A storage medium characterized by The storage medium stores a computer program, when the computer program is executed by the processor, the steps of the method as claimed in claim 22 are realized.
Citation Information
Patent Citations
Type smart jack that infrared launch angle is adjustable
CN205960342U
Optical device module and terminal
CN209046690U