Optical sensor and optical sensor deflection angle calculation method
By adjusting the deflection angle between the optical sensor and the display screen, the problem of molar patterns in under-screen optical fingerprint technology is solved, and the accuracy of fingerprint recognition is improved.
Patent Information
- Application Number
- PCT/CN2023/112214
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-08-10
- Publication Date
- 2025-02-13
AI Technical Summary
In the under-screen optical fingerprint technology, the light leakage inside the display screen and the reflected light reflected in the fingers are not matched due to the mismatch of frequency domain distribution, resulting in the appearance of molar patterns, affecting the performance of fingerprint recognition.
By adjusting the deflection angle between the optical sensor and the display screen, the frequency distribution of the screen structure in the frequency domain is changed, thereby reducing the risk of molar patterns. The specific method includes determining a plurality of frequency points based on the frequency domain amplitude image of the screen structure of the display screen, and calculating a deflection angle of the first direction of the optical sensor with respect to the first direction of the display screen based on these frequency points.
By adjusting the deflection angle, the probability of molar patterns can be effectively reduced and the accuracy of fingerprint recognition can be improved.
Smart Images

Figure CN2023112214_13022025_PF_FP_ABST
Abstract
Description
Optical sensor and method for calculating optical sensor deflection angle Technical Field
[0001] Embodiments of the present invention relate to the field of electronic technology, and in particular to an optical sensor and a method for calculating a deflection angle of the optical sensor. Background Art
[0002] Under-screen optical fingerprint is to place an optical sensor under the display screen. The optical sensor can collect the fingerprint image pressed on the top of the display screen for identification and judgment. In actual application, the light received by the optical sensor can be mainly divided into two parts: light leakage from the inside of the display screen, which still exists even without finger pressing; and light reflected from the finger, which only exists when the fingerprint is pressed. Because the above two parts of light will pass through the display pixel layer inside the display screen, they will both carry its pattern information.
[0003] Assuming the display pixel size is T0, the pattern information of the pixel layer inside the display (referred to as the screen structure) mainly includes the period T0 / 2, At frequency points such as T0 / 4, some frequency components do not satisfy the Nyquist sampling theorem, and high-frequency components are aliased due to undersampling to form abnormal low-frequency components, which are called moiré patterns. Moiré patterns will affect the performance of fingerprint recognition.
[0004] Summary of the Invention
[0005] In view of this, embodiments of the present invention provide an optical sensor and a method for calculating a deflection angle of the optical sensor to at least partially solve the above-mentioned problem.
[0006] According to a first aspect of an embodiment of the present invention, an optical sensor is provided for use in an electronic device having a display screen, wherein: the optical sensor is disposed below the display screen; the optical sensor has a first direction, the first direction of the optical sensor being a direction parallel to a specific side of the optical sensor, wherein the specific side of the optical sensor is any side of the optical sensor; the display screen has a first direction, the first direction of the display screen being a direction parallel to the specific side of the display screen, wherein the specific side of the display screen is any side of the display screen; and the pixel size of the display screen in the first direction of the display screen is T X The pixel size of the display screen in the second direction of the display screen is T Y , the first direction of the display screen is perpendicular to the second direction of the display screen; the angle setting range of the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen is or or or
[0007] In another implementation of the present invention, the first direction of the display screen is a horizontal direction of the display screen, and the horizontal direction of the display screen is a direction in which the display screen is parallel to the ground when the electronic device is placed vertically.
[0008] In another implementation of the present invention, the deflection angle is or or or
[0009] In another implementation of the present invention, when T in the first direction of the display screen X T in the second direction of the display screen Y When they are equal, the deflection angle is set within a range of or
[0010] In another implementation of the present invention, when T in the first direction of the display screen X T in the second direction of the display screen Y When they are equal, the deflection angle is in an angle setting range of [24°, 38°] or [4°, 13°].
[0011] In another implementation of the present invention, the deflection angle is 31° or 8°.
[0012] In another implementation of the present invention, a deflection angle between the optical sensor and the display screen is used to reduce moire fringes.
[0013] According to a second aspect of an embodiment of the present invention, an electronic device is provided, comprising: a display screen and an optical sensor, wherein the optical sensor is arranged below the display screen, a fingerprint detection area of the optical sensor is located within a display area of the display screen, and the optical sensor is the optical sensor described in any one of the first aspects to reduce moiré fringes.
[0014] According to a third aspect of an embodiment of the present invention, a method for calculating a deflection angle of an optical sensor is provided, comprising:
[0015] Determine a first direction of the optical sensor, wherein the first direction of the optical sensor is a direction parallel to a specific side of the optical sensor, wherein the specific side of the optical sensor is any side of the optical sensor; determine a first direction of the display screen, wherein the first direction of the display screen is a direction parallel to a specific side of the display screen, wherein the specific side of the display screen is any side of the display screen; the display screen pixel size of the display screen in the first direction of the display screen is T XThe pixel size of the display screen in the second direction of the display screen is T Y , the first direction of the display screen is perpendicular to the second direction of the display screen; multiple frequency points of the screen structure of the display screen are determined according to the frequency domain amplitude image of the screen structure, wherein the optical sensor is used to be set to have a deflection angle relative to the display screen; and the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen is determined according to the multiple frequency points.
[0016] In another implementation of the present invention, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen based on the multiple frequency points includes: when the multiple frequency points do not coincide with the first direction of the display screen and / or the second direction of the display screen, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen.
[0017] In another implementation of the present invention, when the multiple frequency points do not coincide with the first direction of the display screen and / or the second direction of the display screen, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen further includes: determining a low-frequency aliasing region based on a sampling period of the optical sensor, wherein the low-frequency aliasing region moves along the first direction of the display screen and / or the second direction of the display screen; and determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen based on the low-frequency aliasing region and the multiple frequency points.
[0018] In another implementation of the present invention, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen based on the low-frequency aliasing area and the multiple frequency points further includes: when the low-frequency aliasing area coincides with N of the frequency points, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen, where N is less than or equal to a first threshold.
[0019] In another implementation of the present invention, when the multiple frequency points do not coincide with the first direction of the display screen and / or the second direction of the display screen, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen includes: the multiple frequency points respectively include, the period is The first frequency point of The second frequency point of The third frequency point, the period is T Y / 2, with a period of T Y The fifth frequency point of / 4 has a period of The sixth frequency point, the period is T X / 2, with a period of TX / 4 eighth frequency point; when the multiple frequency points do not coincide with the first direction of the display screen or the second direction of the display screen, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen according to the multiple frequency points, wherein the angle setting range of the deflection angle is or or or
[0020] According to a fourth aspect of an embodiment of the present invention, an electronic device is provided, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the method described in the third aspect.
[0021] According to a fifth aspect of an embodiment of the present invention, a computer storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in the third aspect is implemented.
[0022] In the embodiment of the present invention, the optical sensor has a first direction, which is parallel to a specific side of the optical sensor; the display screen has a first direction, which is parallel to a specific side of the display screen; the pixel size of the display screen in the first direction of the display screen is T X The pixel size of the display screen in the second direction of the display screen is T Y , the first direction of the display screen is perpendicular to the second direction of the display screen; the optical sensor is configured to have a deflection angle relative to the display screen, and the deflection angle range of the first direction of the optical sensor relative to the first direction of the display screen is or or or Through the above method, the deflection angle between the optical sensor and the display screen can be adjusted to change the frequency distribution of the screen structure in the frequency domain and reduce the risk of moiré. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0024] 1A and 2A are schematic diagrams of an optical sensor according to an embodiment of the present invention.
[0025] FIG3A is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
[0026] FIG. 1B is a flowchart of a method for calculating a deflection angle of an optical sensor according to an embodiment of the present invention.
[0027] [Corrected 23.08.2023 according to Rule 91] Figures 2B to 15B are schematic diagrams of a method for calculating the deflection angle of an optical sensor according to an embodiment of the present invention.
[0028] [Corrected 23.08.2023 in accordance with Article 91] DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and detailedly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments in the embodiments of the present invention should fall within the scope of protection of the embodiments of the present invention.
[0030] It should be understood that the terms "first," "second," and "third," etc. in the claims, specification, and drawings of this disclosure are used to distinguish different objects rather than to describe a specific order. The terms "include" and "comprising" used in the specification and claims of this disclosure indicate the presence of the described features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or combinations thereof.
[0031] It should also be understood that the terminology used in this disclosure is for the purpose of describing specific embodiments only and is not intended to limit the disclosure. As used in this disclosure and the claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise. It should be further understood that the term "and / or" as used in this disclosure and the claims refers to any and all possible combinations of one or more of the associated listed items, including and including these combinations.
[0032] Figure 1A is a schematic block diagram of an optical sensor according to an embodiment of the present invention. The solution of the embodiment of the present invention can be applied to electronic devices with display screens, including but not limited to: terminal devices with communication functions or electronic devices with interactive behavior capabilities.
[0033] The optical sensor of this embodiment is applied to an electronic device with a display screen and is characterized by:
[0034] The optical sensor is arranged below the display screen;
[0035] The optical sensor has a first direction, which may be a direction parallel to a specific side of the optical sensor, and the specific side of the optical sensor may be any side of the optical sensor; the display screen has a first direction, which may be a direction parallel to a specific side of the display screen, and the specific side of the display screen may be any side of the display screen;
[0036] The pixel size of the display screen is T in the first direction of the display screen. X The pixel size of the display screen in the second direction of the display screen is T Y , the first direction of the display screen is perpendicular to the second direction of the display screen;
[0037] The angle setting range of the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen is or or or
[0038] In the solution of the embodiment of the present invention, the optical sensor is configured to have a deflection angle relative to the display screen, that is, the angle setting range of the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen is or or or Through the above method, the deflection angle between the optical sensor and the display screen can be adjusted to change the frequency distribution of the screen structure in the frequency domain and reduce the risk of moiré.
[0039] In other examples, the first direction of the display screen is a horizontal direction of the display screen, and the horizontal direction of the display screen is a direction in which the display screen is parallel to the ground when the electronic device is placed vertically.
[0040] In other examples, the deflection angle is or or or
[0041] It should be noted that the smaller the value range of the deflection angle here is, the higher the effect of reducing moiré patterns is.
[0042] In other examples, when the T in the first direction of the display screen X T in the second direction of the display screen Y When they are equal, the deflection angle is set within a range of or
[0043] In other examples, when the T in the first direction of the display screen X T in the second direction of the display screen Y When they are equal, the deflection angle is in an angle setting range of [24°, 38°] or [4°, 13°].
[0044] It should be noted that the smaller the value range of the deflection angle here is, the higher the effect of reducing moiré patterns is.
[0045] In other examples, the deflection angle is 31° or 8°.
[0046] It should be noted that the deflection angle here can achieve a better effect of reducing moiré.
[0047] In other examples, the deflection angle between the optical sensor and the display screen is used to reduce moiré fringes.
[0048] In other examples, as shown in Figure 2A, the optical sensor can be set in an optical module, the optical module has a first direction, the first direction of the optical module is a direction parallel to a specific edge of the optical module, the specific edge of the optical module is any edge of the optical module, and the first direction of the optical sensor has a second deflection angle relative to the first direction of the optical module.
[0049] It should be noted that the second deflection angle here is used to represent the positional relationship of the optical sensor relative to the optical module.
[0050] In some other embodiments, the second deflection angle may also be 0°, that is, the first direction of the optical sensor is the same as the first direction of the optical module. In this case, the relative positional relationship between the optical sensor and the optical module remains unchanged, and the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen is the deflection angle of the first direction of the optical module relative to the first direction of the display screen.
[0051] Figure 3A shows a schematic diagram of the structure of an electronic device according to another embodiment of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the electronic device. As shown in Figure 3A, the electronic device may include: a display screen and an optical sensor, wherein the optical sensor is disposed below the display screen, and the fingerprint detection area of the optical sensor is located within the display area of the display screen.
[0052] FIG1B shows an exemplary process of a method for calculating the deflection angle of an optical sensor according to an embodiment of the present invention. The method for calculating the deflection angle of an optical sensor according to this embodiment includes:
[0053] S210: Determine a first direction of the optical sensor, where the first direction of the optical sensor is a direction parallel to a specific side of the optical sensor, and the specific side of the optical sensor is any side of the optical sensor.
[0054] S220: Determine a first direction of the display screen, where the first direction of the display screen is a direction parallel to a specific edge of the display screen, and the specific edge of the display screen is any edge of the display screen.
[0055] S230: The pixel size of the display screen is T in the first direction of the display screen. X The pixel size of the display screen in the second direction of the display screen is T Y , the first direction of the display screen is perpendicular to the second direction of the display screen.
[0056] S240: Determine a plurality of frequency points of the screen structure of the display screen according to the frequency domain amplitude image of the screen structure, wherein the optical sensor is configured to have a deflection angle relative to the display screen.
[0057] S250: Determine a deflection angle of a first direction of the optical sensor relative to a first direction of the display screen according to the multiple frequency points.
[0058] It should be noted that since the pattern information of the pixel layer displayed inside the screen (referred to as the screen structure) contains multiple frequency points, some frequency components do not satisfy the Nyquist sampling theorem. The high-frequency components will be mixed due to undersampling to form abnormal low-frequency components, which are called moiré patterns, as shown in Figure 2B.
[0059] It should be noted that the pixel size of the display screen in the first direction of the display screen is T X , T in the second direction of the display screen Y , the first direction of the display screen is perpendicular to the second direction of the display screen, that is, a rectangular coordinate system can be established with the first direction of the display screen as the X axis and the second direction of the display screen as the Y axis, then the pixel size of the display screen on the X axis is TX , T on the Y axis Y .
[0060] For example, adjusting the deflection angle between the optical sensor and the display from 15° to 31°, as shown in Figure 3B, shows that moiré patterns are abnormal low-frequency patterns caused by undersampling of high-frequency components in the display structure. This allows us to obtain an ideal image of the display structure and calculate its frequency domain amplitude image, as shown in Figure 4B.
[0061] Adjusting the deflection angle between the optical sensor and the display to 15° will rotate the corresponding screen structure image and its frequency domain amplitude image by 15°, as shown in Figure 5B. In practical applications, lens distortion may exist. When barrel distortion exists, the frequency domain points of the screen structure will spread to the high frequency band. When pincushion distortion exists, the frequency domain points of the screen structure will spread to the low frequency band, as shown in Figures 6B and 7B.
[0062] In practical applications, the light path may have a certain blurring effect on the screen structure. For example, when the T X T in the second direction of the display screen Y When the light is equal, the light will diffuse in the display screen, and the lens's modulation transfer function (MTF) for high frequency or ultra-high frequency parts will deteriorate, resulting in the screen structure collected by the optical sensor mainly containing a period of Equal frequency points, where T0 is the pixel size of the display screen, and other higher frequency points can be ignored. It should be noted that when T in the first direction of the display screen X T in the second direction of the display Y When T0 and T X or T Y In addition, the sampling period of the optical sensor is T s (Optical sensor pixel size × lens zoom factor) cannot be infinitely small. When the frequency component of the screen structure is close to the sampling period T of the optical sensor, s When the frequency component is an integer multiple of , this frequency component will be mixed into an abnormally low-frequency component due to undersampling. MTF here refers to the modulation transfer function, a method for testing imaging systems. The modulation transfer function can describe the imaging system's transfer characteristics to spatial frequency, that is, how much spatial frequency information the imaging system can resolve.
[0063] Taking barrel distortion as an example, the frequency domain amplitude image of the screen structure is rotated by 15° and 31° respectively, as shown in Figure 8B. The small dots represent the frequency points of the screen structure (the small dots here do not include the coordinates of the origin of the rectangular coordinate system), where point A represents the period of The frequency point of point B indicates the period is The frequency point, point C represents the period Point D represents the frequency point with a period of T0 / 2, and point E represents the frequency point with a period of T0 / 4. The small triangle represents the frequency energy diffusion to the high frequency band due to barrel distortion, and the hollow circle represents the sampling period T of the optical sensor. s In the low-frequency aliasing area near the center, the radius of the hollow circle remains unchanged when it moves on the X-axis or Y-axis. s The radius of the low-frequency aliasing area (hollow circle) can be determined. The hollow circle slides on the X-axis or Y-axis to represent the sampling period T of the optical sensor. s If the small dot or triangle overlaps with the hollow circle, it means there is a probability of moiré.
[0064] In order to suppress moiré, in addition to increasing the spatial sampling rate of the optical sensor, a common practice is to set the angle between the rotating optical sensor and the display screen (this angle is referred to as the deflection angle) to around 15°. Specifically, when the deflection angle is 15°, when the hollow circle is close to point C or point D, that is, the sampling period T of the optical sensor s Display pixel size T0 times or times, there is a probability that moiré patterns will exist.
[0065] When the deflection angle is 31°, the hollow circle can pass through the midpoint M of the two frequency points B and C. Only when the hollow circle is close to point A, that is, the sampling period T of the optical sensor s Display pixel size T0 When the number of points is greater than , there is a probability that moiré will exist. In order to make the hollow circle pass through point M, the deflection angle can be calculated.
[0066] Specifically, the sampling period T of the optical sensor s Generally less than or equal to 50um, T s =30um as an example, when the deflection angle is 15°, the display pixel size T0 is and 2T s = 60um, there is a probability of moiré. When the deflection angle is 31°, the display pixel size T0 is There is a probability of moiré patterns near the deflection angle. Currently, display pixel sizes are typically around 100 μm, so the risk of moiré patterns at a deflection angle of 31° is much lower than at a deflection angle of 15°. For a display with a pixel size of 96 μm, the images after low-pass filtering for deflection angles of 15° and 31° are shown in Figure 10B. Clearly, there are abnormal low-frequency patterns at a deflection angle of 15°, while there are none at a deflection angle of 31°. Figure 10B includes Figure 10B(a) and Figure 10B(b), where Figure 10B(a) is for a deflection angle of 15°, and Figure 10B(b) is for a deflection angle of 31°.
[0067] It should be noted that, as shown in FIG9B , the optical sensor can be rotated 90° in sequence while ensuring that the deflection angle between the first direction of the optical sensor and the first direction of the display screen is 31°. The rotation direction is not limited here and can be clockwise or counterclockwise, and the moiré processing effect is the same.
[0068] The frequency domain amplitude images of the screen structure are rotated by 15° and 8°, respectively, as shown in Figure 11B. The hollow circle can pass through the midpoint M of the two frequency points C and E. Only when the hollow circle is close to point D, that is, the sampling period T of the optical sensor s Display pixel size T0 When the number of points is greater than , there is a probability that moiré will exist. In order to make the hollow circle pass through point M, the deflection angle can be calculated.
[0069] It should be noted that, as shown in FIG12B , the optical sensor can be rotated 90° in sequence on the basis of ensuring that the deflection angle between the first direction of the optical sensor and the first direction of the display screen is 8°. The rotation direction here is not limited, and it can be clockwise or counterclockwise, and the moiré processing effect is the same.
[0070] In one possible implementation, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen based on the multiple frequency points includes: when the multiple frequency points do not coincide with the first direction of the display screen and / or the second direction of the display screen, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen.
[0071] In the above embodiment, by determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen when the multiple frequency points do not coincide with the first direction of the display screen and / or the second direction of the display screen, the probability of moiré patterns appearing can be effectively reduced, thereby improving the accuracy of fingerprint recognition.
[0072] In a possible implementation, when the multiple frequency points do not coincide with the first direction of the display screen and / or the second direction of the display screen, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen further includes: determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen according to the sampling period T of the optical sensor. s Determine a low-frequency aliasing region, wherein the low-frequency aliasing region moves along a first direction of the display screen and / or a second direction of the display screen; and determine a deflection angle of the first direction of the optical sensor relative to the first direction of the display screen based on the low-frequency aliasing region and the multiple frequency points.
[0073] Specifically, in some embodiments, the low-frequency aliasing area may be a circular area, which may be determined based on the sampling period T of the optical sensor. s The radius of the circular low-frequency aliasing area is determined, thereby obtaining the low-frequency aliasing area.
[0074] In a possible implementation, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen based on the low-frequency aliasing region and the multiple frequency points further includes: when the low-frequency aliasing region coincides with N of the frequency points, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen, where N is less than or equal to a first threshold.
[0075] It should be noted that the first threshold here can be set according to actual needs. For example, the value of N can be 1 or 0. In the above embodiment, further considering the relationship between the low-frequency aliasing region and the occurrence of moiré patterns, when the low-frequency aliasing region overlaps with as few frequency points as possible, determining the deflection angle of the optical sensor relative to the display screen can further effectively reduce the probability of moiré patterns appearing, thereby improving the accuracy of fingerprint recognition.
[0076] In a possible implementation, when the multiple frequency points do not coincide with the first direction of the display screen or the second direction of the display screen, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen includes: the multiple frequency points respectively include, the period is The first frequency point of The second frequency point of The third frequency point, the period is T Y / 2, with a period of T Y The fifth frequency point of / 4 has a period of The sixth frequency point, the period is T X / 2, with a period of T X / 4 eighth frequency point; when the multiple frequency points do not coincide with the first direction of the display screen or the second direction of the display screen, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen according to the multiple frequency points, wherein the angle setting range of the deflection angle is or or or
[0077] It should be noted that, as shown in FIG13B and FIG14B, the pixel size of the display screen in the first direction of the display screen is T X , T in the second direction of the display screen Y The first direction of the display screen is perpendicular to the second direction of the display screen, that is, a rectangular coordinate system is established with the first direction of the display screen as the X axis and the second direction of the display screen as the Y axis. The pixel size of the display screen in the X axis direction is T X , in the Y-axis direction is T Y The pixel size of the display screen may be consistent in the X-axis and Y-axis directions, or the pixel size of the display screen may be inconsistent in the X-axis and Y-axis directions.
[0078] The frequency points of the screen structure are represented by small dots, where point A (the first frequency point) represents the period. The frequency point of point B (the second frequency point) indicates a period of The frequency point of point C (the third frequency point) indicates that the period is The frequency point of point D (the fourth frequency point) indicates a period of T Y / 2 frequency point, point E (the 25th frequency point) indicates a period of T Y / 4 frequency point, F point (the sixth frequency point) indicates a period of The frequency point G (the seventh frequency point) indicates a period of T X / 2 frequency point, H point (eighth frequency point) indicates a period of T X / 4 frequency.
[0079] Taking point E as the reference point, the deflection angle is ∠MOE, and the deflection angle can be calculated separately Deflection angle Taking point H as the reference point, the deflection angle is ∠MOH, and the deflection angle can be calculated separately Deflection angle Among them, ∠MOE and ∠MOH are complementary angles.
[0080] Specifically, according to the frequency, T X and T Y Determine the deflection angle. Taking deflection angle A as an example,
[0081] According to the frequency of A frequency point and T X Calculate the projection A of frequency point A to line OH X =1 / T X , the projection of frequency point A to line OE Y =1 / T Y , the projection of frequency C to line OE Y =3 / T Y , the projection D of the frequency point to the line OE Y =2 / T Y , the projection of frequency point B to line OH BY=2 / T X ;
[0082] Since point M is the midpoint between frequency points C and B, the projection point of point M on line OE is M. Y point, M point and M Y The distance between the points is M_MY=1.5 / T X , O point (the origin of the rectangular coordinate system) and M Y The distance between the points is O_MY=2.5 / T Y , then the deflection angle is
[0083] It should be noted that, as shown in FIG15B , the optical sensor can be rotated 90° in sequence on the basis of ensuring that the deflection angle between the first direction of the optical sensor and the first direction of the display screen is A / B / C / D. The rotation direction here is not limited and can be clockwise or counterclockwise, and the moiré processing effect is the same.
[0084] The angle setting range for determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen according to the multiple frequency points may be:
[0085] Preferred or
[0086] Preferred or
[0087] Preferred or
[0088] Preferred
[0089] [Corrected 23.08.2023 according to Rule 91] An electronic device according to another embodiment of the present invention may include: a processor, a communication interface, a memory storing a program, and a communication bus.
[0090] [Corrected 23.08.2023 in accordance with Rule 91] The processor, communication interface, and memory communicate with each other via a communication bus. The communication interface is used to communicate with other electronic devices or servers. The processor is used to execute a program, specifically, the steps of the above-mentioned method embodiments. Specifically, the program may include program code, which includes computer operating instructions.
[0091] [Corrected 23 August 2023 in accordance with Rule 91] A processor may be a CPU, an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement an embodiment of the present invention. The one or more processors included in a smart device may be processors of the same type, such as one or more CPUs, or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0092] [Corrected 23.08.2023 according to Rule 91] Memory for storing programs. The memory may include high-speed RAM memory and may also include non-volatile memory, such as at least one disk storage.
[0093] [Corrected 23.08.2023 according to Rule 91] The program can be specifically used to cause the processor to perform the following operations: determining a first direction of the optical sensor, wherein the first direction of the optical sensor is a direction parallel to a specific side of the optical sensor, wherein the specific side of the optical sensor is any side of the optical sensor; determining a first direction of the display screen, wherein the first direction of the display screen is a direction parallel to a specific side of the display screen, wherein the specific side of the display screen is any side of the display screen; and the pixel size of the display screen in the first direction of the display screen is T X , T in the second direction of the display screen Y , the first direction of the display screen is perpendicular to the second direction of the display screen; determining multiple frequency points of the screen structure of the display screen in the rectangular coordinate system; and determining the deflection angle of the optical sensor relative to the display screen based on the multiple frequency points.
[0094] The above embodiments are only used to illustrate the embodiments of the present invention, and are not intended to limit the embodiments of the present invention. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present invention. Therefore, all equivalent technical solutions also fall within the scope of the embodiments of the present invention, and the scope of patent protection of the embodiments of the present invention should be defined by the claims. The systems, devices, modules or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions.
[0095] For the convenience of description, the above device is described as being divided into various units according to their functions. Of course, when implementing the present invention, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0096] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0097] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0098] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0099] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0100] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-permanent storage in a computer-readable medium, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0101] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0102] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0103] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0104] The present invention may be described in the general context of computer-executable instructions, such as program modules, executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. The present invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media, including storage devices.
[0105] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.
Claims
1. An optical sensor, applied to an electronic device with a display screen, characterized in that: The optical sensor is arranged below the display screen; The optical sensor has a first direction, which is a direction parallel to a specific side of the optical sensor, and the specific side of the optical sensor is any side of the optical sensor; the display screen has a first direction, which is a direction parallel to a specific side of the display screen, and the specific side of the display screen is any side of the display screen; The pixel size of the display screen of the display screen is T in the first direction of the display screen. X The pixel size of the display screen of the display screen is T in the second direction of the display screen. Y , the first direction of the display screen is perpendicular to the second direction of the display screen; The deflection angle range of the first direction of the optical sensor relative to the first direction of the display screen is or or or 2. The optical sensor according to claim 1, characterized in that The first direction of the display screen is a horizontal direction of the display screen, and the horizontal direction of the display screen is a direction in which the display screen is parallel to the ground when the electronic device is placed vertically.
3. The optical sensor according to claim 1, characterized in that The deflection angle is or or or 4. The optical sensor according to claim 3, characterized in that When the T X T in the second direction of the display screen Y When they are equal, the angle setting range of the deflection angle is or 5. The optical sensor according to claim 1, characterized in that When the T X T in the second direction of the display screen Y When they are equal, the angle setting range of the deflection angle is [24°, 38°] or [4°, 13°].
6. The optical sensor according to claim 5, characterized in that The deflection angle is 31° or 8°.
7. The optical sensor according to claim 1, characterized in that The deflection angle between the optical sensor and the display screen is used to reduce moire fringes.
8. An electronic device, characterized in that: It comprises a display screen and an optical sensor, wherein the optical sensor is arranged below the display screen, a fingerprint detection area of the optical sensor is located in a display area of the display screen, and the optical sensor is an optical sensor as described in any one of claims 1 to 7 to reduce moiré fringes.
9. A method for calculating the deflection angle of an optical sensor, comprising: Determine a first direction of the optical sensor, wherein the first direction of the optical sensor is a direction parallel to a specific side of the optical sensor, and the specific side of the optical sensor is any side of the optical sensor; Determine a first direction of the display screen, wherein the first direction of the display screen is a direction parallel to a specific side of the display screen, and the specific side of the display screen is any side of the display screen; The pixel size of the display screen of the display screen is T in the first direction of the display screen. X The pixel size of the display screen of the display screen in the second direction of the display screen is T Y , the first direction of the display screen is perpendicular to the second direction of the display screen; Determine multiple frequency points of the screen structure of the display screen according to the frequency domain amplitude image of the screen structure, wherein the optical sensor is configured to have a deflection angle relative to the display screen; A deflection angle of a first direction of the optical sensor relative to a first direction of the display screen is determined according to the multiple frequency points.
10. The method for determining the deflection angle according to claim 9, characterized in that: The determining, according to the multiple frequency points, a deflection angle of the first direction of the optical sensor relative to the first direction of the display screen comprises: When the multiple frequency points do not coincide with the first direction of the display screen and / or the second direction of the display screen, a deflection angle of the first direction of the optical sensor relative to the first direction of the display screen is determined.
11. The method for determining the deflection angle according to claim 10, characterized in that: When the multiple frequency points do not coincide with the first direction of the display screen and / or the second direction of the display screen, determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen further comprises: Determine a low-frequency aliasing area according to a sampling period of the optical sensor, wherein the low-frequency aliasing area moves along a first direction of the display screen and / or a second direction of the display screen; A deflection angle of a first direction of the optical sensor relative to a first direction of the display screen is determined according to the low-frequency aliasing area and the multiple frequency points.
12. The method for determining the deflection angle according to claim 11, characterized in that: Determining the deflection angle of the first direction of the optical sensor relative to the first direction of the display screen according to the low-frequency aliasing area and the multiple frequency points further includes: When the low-frequency aliasing area coincides with N frequency points, a deflection angle of the first direction of the optical sensor relative to the first direction of the display screen is determined, and N is less than or equal to a first threshold.
13. The method for determining the deflection angle according to claim 12, characterized in that: When the multiple frequency points do not coincide with the first direction of the display screen and / or the second direction of the display screen, determining a deflection angle of the first direction of the optical sensor relative to the first direction of the display screen includes: The multiple frequency points include: The first frequency point of The second frequency point of The third frequency point, period is T Y / 2, with a period of T Y / 4, the fifth frequency point, the period is The sixth frequency point, with a period of T X / 2, with a period of T X / 4 eighth frequency point; When the low-frequency aliasing area coincides with N frequency points, and N is less than or equal to a first threshold, a deflection angle of the first direction of the optical sensor relative to the first direction of the display screen is determined according to the multiple frequency points, wherein the angle setting range of the deflection angle is or or or 14. An electronic device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the method as described in any one of claims 9-13.
15. A computer storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 9 to 13 is implemented.
Citation Information
Patent Citations
Fingerprint identification device and electronic equipment
CN111788575A
Fingerprint identification method and device and electronic equipment
CN112132072A
Optical fingerprint device and electronic equipment
CN210119790U
Fingerprint module and electronic equipment
CN212675566U
Virtual object hand-off and manipulation
US20180047202A1