CN108897001B - Distance measuring method and terminal - Google Patents

Distance measuring method and terminal Download PDF

Info

Publication number
CN108897001B
CN108897001B CN201810739574.9A CN201810739574A CN108897001B CN 108897001 B CN108897001 B CN 108897001B CN 201810739574 A CN201810739574 A CN 201810739574A CN 108897001 B CN108897001 B CN 108897001B
Authority
CN
China
Prior art keywords
display screen
infrared distance
distance sensor
display
infrared
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810739574.9A
Other languages
Chinese (zh)
Other versions
CN108897001A (en
Inventor
李国盛
熊裕聪
陈威
张嫄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810739574.9A priority Critical patent/CN108897001B/en
Publication of CN108897001A publication Critical patent/CN108897001A/en
Application granted granted Critical
Publication of CN108897001B publication Critical patent/CN108897001B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The disclosure relates to a distance measuring method and a terminal, and belongs to the technical field of electronics. The method comprises the following steps: the display driving IC outputs a control signal to the display screen, wherein the control signal is used for controlling the brightness of the display screen; when the level of the control signal is a target level, the display drive IC sends indication information to the infrared distance sensor, the target level is used for controlling the display screen to display black, and the indication information is used for indicating the infrared distance sensor to emit an infrared signal; the infrared distance sensor determines the distance between the infrared distance sensor and the shielding object according to the intensity of the infrared signal reflected by the shielding object. The display effect of the display screen is improved. The distance measurement method is used for measuring the distance of the shielding object under the scene that the infrared distance sensor is arranged below the display screen.

Description

Distance measuring method and terminal
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a distance measuring method and a terminal.
Background
The full-screen terminal is a terminal with a screen occupying rate close to 100%, and compared with a traditional terminal with a sensor arranged on the forehead of the terminal, the full-screen terminal needs to arrange the sensor at other parts of the terminal, so that the display screen can occupy a larger area on a panel.
In the related art, an infrared distance sensor among the sensors may be disposed below the display screen, so as to measure a distance between the infrared distance sensor and the blocking object. The infrared distance sensor transmits an infrared signal emitted by the display screen, the infrared signal is reflected by the shielding object and then received by the infrared distance sensor, and the infrared distance sensor calculates the distance between the infrared distance sensor and the shielding object according to the strength of the reflected infrared signal.
Because the current of the pixel above the infrared distance sensor can be changed when the infrared distance sensor transmits an infrared signal through the display screen, the brightness of the position where the infrared distance sensor is located and the brightness of the surrounding area form brightness difference, and the display effect of the display screen is poor.
Disclosure of Invention
The disclosure provides a distance measuring method and a terminal, which can solve the problem that in the related art, the display effect of a display screen is poor due to the fact that the brightness of the position where an infrared distance sensor is located and the brightness of the surrounding area form brightness difference, and the technical scheme is as follows:
according to a first aspect of the present disclosure, there is provided a distance measurement method applied to a terminal having a display driver IC (Integrated Circuit), a display screen, and an infrared distance sensor disposed below the display screen, the method including:
the display driving IC outputs a control signal to the display screen, and the control signal is used for controlling the brightness of the display screen;
when the level of the control signal is a target level, the display drive IC sends indication information to the infrared distance sensor, the target level is used for controlling the display screen to display black, and the indication information is used for indicating the infrared distance sensor to emit an infrared signal;
the infrared distance sensor determines the distance between the infrared distance sensor and the shielding object according to the intensity of the infrared signal reflected by the shielding object.
Optionally, the outputting the control signal to the display screen by the display driver IC includes:
the display driving IC outputs a group of target control signals to the display screen every other preset period, the target control signals comprise target levels, and the duration of the target levels is greater than or equal to the duration required by the infrared distance sensor to emit infrared signals;
the preset period comprises m duty cycle periods used for displaying n frames of images, the duty cycle periods are signal periods of the control signals, and n and m are positive integers.
Optionally, the outputting, by the display driver IC, a set of target control signals to the display screen every preset period includes:
the display driving IC outputs a target control signal in a kth duty cycle;
and the kth duty cycle is one duty cycle of the ith preset cycle, and i is a positive integer.
Optionally, the plurality of infrared distance sensors are uniformly distributed in different areas of the display screen along the vertical direction;
when the control signal is at the target level, the display driving IC sends instruction information to the infrared distance sensor, including:
when the target control signal moves downwards from the top of the display screen for a time period greater than or equal to T1+ (T1-1). times.t 2, the display driving IC sends indication information to the infrared distance sensor at the T1 th duty cycle;
wherein t1 is used to indicate the time period for the target control signal to move from the top of the display screen to the first infrared distance sensor, and t2 is
Figure BDA0001722902440000021
p is the number of infrared distance sensors, v is for displaying one frame image
Figure BDA0001722902440000022
Each of T1 and v is a positive integer for each duty cycle.
According to a second aspect of the present disclosure, there is provided a terminal including a display driving IC, a display screen, and an infrared distance sensor, the infrared distance sensor being disposed below the display screen,
a display driver IC for outputting a control signal for controlling the brightness of the display screen to the display screen;
the display driving IC is further used for sending indication information to the infrared distance sensor when the level of the control signal is a target level, the target level is used for controlling the display screen to display black, and the indication information is used for indicating the infrared distance sensor to emit an infrared signal;
and the infrared distance sensor is used for determining the distance between the infrared distance sensor and the shielding object according to the intensity of the infrared signal reflected by the shielding object.
Optionally, the display driver IC is further configured to output a set of target control signals to the display screen every preset period, where the target control signals include a target level, and a duration of the target level is greater than or equal to a duration required by the infrared distance sensor to emit an infrared signal;
the preset period comprises m duty cycle periods used for displaying n frames of images, the duty cycle periods are signal periods of the control signals, and n and m are positive integers.
Optionally, the display driver IC is further configured to output a target control signal in a kth duty cycle;
and the kth duty cycle is one duty cycle of the ith preset cycle, and i is a positive integer.
Optionally, the plurality of infrared distance sensors are uniformly distributed in different areas of the display screen along the vertical direction.
Optionally, the display driver IC is further configured to send indication information to the infrared distance sensor at the T1 th duty cycle when the target control signal moves downward from the top of the display screen for a time period greater than or equal to T1+ (T1-1) × T2;
wherein t1 is used to indicate the time period for the target control signal to move from the top of the display screen to the first infrared distance sensor, and t2 is
Figure BDA0001722902440000031
p is the number of infrared distance sensors, v is for displaying one frame image
Figure BDA0001722902440000032
Each of T1 and v is a positive integer for each duty cycle.
Optionally, the number of the pixel points above different infrared distance sensors is the same or different.
The technical scheme provided by the disclosure at least comprises the following beneficial effects:
and the display drive IC outputs a control signal to the display screen, and when the level of the control signal is a target level, the display drive IC sends indication information to the infrared distance sensor so that the infrared distance sensor emits an infrared signal. Because the infrared distance sensor emits infrared signals when the display screen displays black, the brightness of the position where the infrared distance sensor is located and the brightness of the surrounding area do not form brightness difference, and compared with the background technology, the display effect of the display screen is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure, the drawings that are needed in the description of the embodiments will be briefly described below, it is obvious that the drawings in the description below are only some embodiments of the present disclosure, and that other drawings may be obtained by those skilled in the art without inventive effort.
FIG. 1 is a schematic diagram illustrating an implementation environment involved with a distance measurement method provided in some embodiments of the present disclosure;
FIG. 2 is a schematic diagram illustrating an implementation environment involved with a distance measurement method provided in some embodiments of the present disclosure;
FIG. 3 shows a timing diagram showing control signals output by the driver IC;
FIG. 4 is a schematic diagram of the control signals displayed on the display screen by the timing diagram in block 200 of FIG. 3;
FIG. 5 shows a timing diagram showing control signals output by the driver IC;
FIG. 6 is a schematic diagram of the control signals displayed on the display screen in the timing diagram of block 300 of FIG. 5;
FIG. 7 is a flow chart illustrating a method of distance measurement according to an exemplary embodiment;
FIG. 8 is a flow chart illustrating another distance measurement method in accordance with an exemplary embodiment;
FIG. 9 shows a schematic view of an infrared distance sensor positioned below a display screen;
FIG. 10 shows a schematic diagram of a pixel A drive circuit;
FIG. 11 is a flow chart illustrating another distance measurement method in accordance with an exemplary embodiment;
fig. 12 shows a schematic view of a plurality of infrared distance sensors disposed below a display screen.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more clear, the present disclosure will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In the embodiment of the present disclosure, one infrared distance sensor may be disposed below the display screen, or a plurality of infrared distance sensors may be disposed below the display screen. The display screen may be an OLED (Organic Light-Emitting Diode) display screen, an AMOLED (Active-matrix Organic Light-Emitting Diode) display screen, or a micro OLED (micro Organic Light-Emitting Diode) display screen. Referring to fig. 1, a schematic diagram of an implementation environment related to a distance measurement method provided in some embodiments of the present disclosure is shown. The implementation environment may include: a display driver IC110, a display screen 120, and an infrared distance sensor 130. The infrared distance sensor 130 is disposed below the display screen 120. The display driving IC110 is electrically connected to the display screen 120 and the infrared distance sensor 130, respectively.
Referring to fig. 2, a schematic diagram of an implementation environment related to a distance measurement method provided in some embodiments of the present disclosure is shown. The implementation environment may include: a display driver IC110, a display screen 120, and a plurality of infrared distance sensors 130. The plurality of infrared distance sensors 130 are uniformly distributed in different regions of the display screen 120 in the vertical direction. The display driving IC110 is electrically connected to the display screen 120 and the plurality of infrared distance sensors 130, respectively.
In the related art, the display driving IC adjusts the luminance value of the display panel by controlling a control signal output to the display panel within one duty cycle. The control signal is used for controlling the brightness of the display screen, the duty cycle is a signal cycle of the control signal, and the level of the control signal of one duty cycle may include a high level and a low level, or the level of the control signal of one duty cycle may be a high level. The high level is used for controlling the display screen to display black, and the low level is used for controlling the display screen to display brightness. Assuming that the display driving IC only outputs a low level in one duty cycle and the luminance value of the display panel is 100nit (nit), if the luminance value that the display panel needs to display is 60nit, the ratio of the high level to the low level in one duty cycle that the display driving IC outputs to the display panel is 40:60, i.e. 2: 3. It should be noted that the low level may control the display screen to display black, and the high level may control the display screen to have brightness. The embodiments of the present disclosure are not limited thereto.
Assuming that the display panel needs to output control signals of 4 duty cycles to the display panel during the process of displaying one frame of image, the control signals are sequentially shifted from the top of the display panel to the bottom, and fig. 3 shows a timing diagram of the control signals output by the display driver IC. The abscissa represents the display progress of each frame of image, the ordinate represents the level value of the control signal output by the display driver IC to the display screen, and when the level value of the control signal output by the display driver IC to the display screen is 1, the ordinate represents that the control signal output by the display driver IC to the display screen is at a high level. When the level value of the control signal output to the display panel by the display drive IC is 0, it indicates that the control signal output to the display panel by the display drive IC is at a low level. Fig. 4 shows a schematic diagram of the control signals displayed on the display screen by the timing diagram in block 200 of fig. 3.
Referring to fig. 3, the first half of each duty cycle is low and the second half is high. Wherein the first half of the first duty cycle in fig. 3 corresponds to 001 in fig. 4, and the second half of the first duty cycle corresponds to 002 in fig. 4. The control signal of the first duty cycle is moved from the top of the display screen to the bottom of the display screen. The first half of the fourth duty cycle in fig. 3 corresponds to 003 in fig. 4, and the second half of the fourth duty cycle corresponds to 004 in fig. 4. The control signal for the fourth duty cycle is displayed on the top of the display screen.
Fig. 6 shows a schematic diagram of the control signals displayed on the display screen by the timing diagram in block 300 of fig. 5. As can be seen from fig. 6, the fourth duty cycle in fig. 3 moves down from the top of the display screen.
The disclosed embodiment provides a distance measuring method, which is applied to a terminal having a display driver IC, a display screen and an infrared distance sensor, such as the terminal shown in fig. 1 or fig. 2, wherein the infrared distance sensor is arranged below the display screen, and one or more infrared distance sensors are arranged below the display screen, as shown in fig. 7, the method includes:
in step 101, the display driver IC outputs a control signal for controlling the luminance of the display panel to the display panel.
In the embodiment of the present disclosure, the display driver IC may determine the control signal output to the display screen according to the brightness value that needs to be displayed by the display screen. The control signal is a pulse signal having a duty cycle.
In step 102, when the level of the control signal is a target level, the display driving IC sends indication information to the infrared distance sensor, the target level is used for controlling the display screen to display black, and the indication information is used for indicating the infrared distance sensor to emit an infrared signal.
For example, the target level may be a high level, and the high level is used for controlling the display screen to display black.
The indication information is used for indicating the infrared distance sensor to emit an infrared signal.
In step 103, the infrared distance sensor determines the distance to the obstruction according to the intensity of the infrared signal reflected by the obstruction.
In the embodiment of the disclosure, after an infrared signal emitted by the infrared distance sensor touches a shielding object, the infrared signal is reflected back, and after the infrared distance sensor receives the reflected infrared signal, the distance between the infrared distance sensor and the shielding object is determined according to the intensity of the infrared signal. If the reflected infrared signal is stronger, the fact that the shelter is closer to the infrared distance sensor is explained. If the reflected infrared signal is weaker, the shelter is far away from the infrared distance sensor.
To sum up, in the distance measuring method provided by the embodiment of the present disclosure, the display driver IC outputs the control signal to the display screen, and when the level of the control signal is the target level, the display driver IC sends the indication information to the infrared distance sensor, so that the infrared distance sensor emits the infrared signal. Because the infrared distance sensor emits the infrared signal when the display screen displays black, the brightness of the position where the infrared distance sensor is located and the brightness of the surrounding area do not form brightness difference, and compared with the background technology, the display effect of the display screen is improved.
In the embodiment of the present disclosure, one infrared distance sensor may be disposed below the display screen, or a plurality of infrared distance sensors may be disposed below the display screen. Now, taking an infrared distance sensor arranged below a display screen as an example, a distance measurement method provided by the embodiment of the present disclosure is described, as shown in fig. 8, the method may include:
in step 201, the display driver IC outputs a set of target control signals to the display screen every preset period.
The target control signal may include a target level having a duration greater than or equal to a duration required for the infrared distance sensor to emit the infrared signal. For example, the target level may be a high level, which is used to control the display screen to display black.
Wherein the preset period may include m duty cycles for displaying n frames of images. The duty cycle is a signal period of the control signal. The level of the control signal in one duty cycle may include a low level and a high level, may include only a low level, and may include only a high level. In the embodiment of the present disclosure, m may be 4 or 8. The display driving IC may adjust the number of duty cycles in one frame image by adjusting the durations of the high level and the low level in one duty cycle. The number of duty cycles included in displaying one frame of image is not limited in the embodiments of the present disclosure.
For example, assuming that n is 6 and displaying one frame image includes 4 duty cycles, displaying 6 frame images may be a preset cycle, and displaying 6 frame images includes 24 duty cycles, i.e., m is 24.
Step 201 may include: the display driving IC may output the target control signal at the kth duty cycle.
Wherein the kth duty cycle is one duty cycle of the ith preset cycle.
For example, assuming that i is 1 and k is 3, the display driver IC outputs control signals of a plurality of duty cycles to the display screen, where the first half of each duty cycle is at a low level and the second half of each duty cycle is at a target level (i.e., a high level), the display driver IC may output the target control signal in the 3 rd duty cycle of the 1 st preset cycle. The target control signal is the second half of the 3 rd duty cycle.
Fig. 9 shows a schematic diagram of an infrared distance sensor arranged below the display screen, and as shown in fig. 9, assuming that the display screen comprises 6 rows of pixels, the infrared distance sensor is arranged below the pixels 005 in the first row of pixels. The first half of the duty cycle output by the display driver IC to the display screen is at a low level and the second half is at a high level. The low level is used for controlling the display screen to display brightness, and the high level is used for controlling the display screen to display black. When the first half of the first duty cycle is shifted to the first row of pixels, the first row of pixels is displayed with brightness.
When the first half of the first duty cycle moves down to the second row of pixels and the second half of the first duty cycle moves to the first row of pixels, the second row of pixels displays brightness and the first row of pixels displays black.
When the first half of the first duty cycle is moved down to the third row of pixels, the second half of the first duty cycle is moved to the second row of pixels, and the first half of the second duty cycle is moved to the first row of pixels, the third row of pixels displays brightness, the second row of pixels displays black, and the first row of pixels has brightness.
In the embodiment of the present disclosure, the display drive IC may adjust the width of the target control signal displayed on the display screen by controlling the duration of the high level output in each duty cycle, thereby ensuring that the infrared distance sensor has enough time to emit the infrared signal.
It should be noted that an infrared distance sensor may be disposed below the j rows of pixels, and j may be a positive integer. For example, if one infrared distance sensor is disposed below two rows of pixels, the display driver IC may control the duration of the output target control signal by the display driver IC so that the two rows of pixels each display black to ensure that the infrared distance sensors disposed below the two rows of pixels have sufficient time to emit infrared signals.
In step 202, when the level of the control signal is the target level, the display drive IC transmits the instruction information to the infrared distance sensor.
The control signal may be a target control signal. Taking the position of the infrared distance sensor 130 shown in fig. 1 as an example, when the duration of the downward movement of the target control signal from the top of the display screen is greater than or equal to the preset duration, the display driver IC sends indication information to the infrared distance sensor 130, so that the infrared distance sensor emits an infrared signal within the duration of the target control signal. The preset time duration may be a time duration for the target control signal to move from the top of the display screen to the position where the infrared distance sensor 130 is located.
As shown in fig. 9, assuming that the infrared distance sensor is disposed below the pixels 005 in the first row of pixels, when the target control signal output by the display driving IC moves to the first row of pixels, which do not emit light under the action of the target control signal, that is, the first row of pixels display black, the display driving IC sends indication information to the infrared distance sensor to cause the infrared distance sensor disposed below the pixels 005 in the first row of pixels to emit an infrared signal. The infrared distance sensor transmits infrared signals after receiving the indication information, and meanwhile, the infrared distance sensor can adjust parameters such as the transmission time, the transmission period, the transmission duration, the pulse number and the gain of the infrared signals. Since the infrared distance sensor emits infrared signals when the first row of pixels display black, the current of the pixels 005 in the first row of pixels is not affected, and thus, the brightness of the position where the infrared distance sensor is located (i.e., the position where the pixels 005 in the first row of pixels are located) and the brightness of the area around the pixels 005 in the first row of pixels do not form a brightness difference, and compared with the background art, the display effect of the display screen is improved.
Fig. 10 shows a schematic diagram of a pixel a driving circuit, which includes a power source terminal VDD, a data signal line V, a control signal line S1, a switching Transistor T2, a switching Transistor T3, a switching Transistor T4, a switching Transistor T5, a DTFT (Drive Thin Film Transistor), a capacitor C1, and a pixel (which may be a diode) a, see fig. 10. The gate of the switching transistor T5 is connected to the display driving IC110, the source of the switching transistor T5 is connected to the power source terminal VDD, and the drain of the switching transistor T5 is connected to the source of DTFT. The gate of the switching transistor T2 is connected to the control signal line S1, the source of the switching transistor T2 is connected to the data signal line V, and the drain of the switching transistor T2 is connected to the gate of the DTFT. The gate of the switching transistor T3 is connected to the control signal line S1, the source of the switching transistor T3 is grounded, and the drain of the switching transistor T3 is connected to the source of the switching transistor T4. The gate of the switching transistor T4 is connected to the control signal line S1, the source of the switching transistor T4 is connected to the drain of the switching transistor T3, and the drain of the switching transistor T4 is connected to the drain of the switching transistor T2. One end of the capacitor C1 is connected to the drain of the switching transistor T3, and the other end is connected to the drain of the switching transistor T5. The gate of the DTFT is connected to the drain of the switching transistor T2, the source of the DTFT is connected to the drain of the switching transistor T5, and the drain of the DTFT is connected to the anode of the diode. The positive electrode of the pixel a is connected to the drain of the DTFT, and the negative electrode is grounded.
When the IC outputs the target control signal to the switching transistor, the switching transistor TI is turned off by the target control signal supplied from the IC, the switching transistor T5 stops receiving the voltage signal supplied from the power supply terminal, and the pixel a cannot receive the voltage signal supplied from the power supply terminal at this time, so that the pixel a does not emit light and displays black.
In step 203, the infrared distance sensor determines the distance to the obstruction according to the intensity of the infrared signal reflected by the obstruction.
In the embodiment of the disclosure, after an infrared signal emitted by the infrared distance sensor touches a shielding object, the infrared signal is reflected back, and after the infrared distance sensor receives the reflected infrared signal, the distance between the infrared distance sensor and the shielding object is determined according to the intensity of the infrared signal. If the reflected infrared signal is stronger, the fact that the shelter is closer to the infrared distance sensor is explained. If the reflected infrared signal is weaker, the infrared distance sensor is far away from the shelter.
To sum up, in the distance measurement method provided by the embodiment of the present disclosure, the display driver IC outputs the control signal to the display screen, and when the level of the control signal is the target level, the display driver IC sends the indication information to the infrared distance sensor, so that the infrared distance sensor emits the infrared signal. Because the infrared distance sensor emits the infrared signal when the display screen displays black, the brightness of the position where the infrared distance sensor is located and the brightness of the surrounding area do not form brightness difference, and compared with the background technology, the display effect of the display screen is improved.
When a plurality of infrared distance sensors are disposed below the display screen, referring to fig. 2, when the plurality of infrared distance sensors 130 are uniformly distributed in different regions of the display screen 120 in a vertical direction, as shown in fig. 11, the method may include:
in step 301, the display driver IC outputs a set of target control signals to the display screen every predetermined period.
Step 201 may be referred to as step 301, and details thereof are not described in this disclosure.
In step 302, when the length of time that the target control signal moves down from the top of the display screen is greater than or equal to T1+ (T1-1) × T2, the display driving IC transmits indication information to the infrared distance sensor at the T1 th duty cycle.
Where t1 is the time taken for the target control signal to move from the top of the display screen to the first infrared distance sensor, and t2 is
Figure BDA0001722902440000101
p is the number of infrared distance sensors, v is for displaying one frame image
Figure BDA0001722902440000102
A duty cycle. Both T1 and v are positive integers.
Because infrared distance sensor from the top down distributes in the different regions of display screen along vertical direction, then IC can be when target control signal moves down to the position that infrared distance sensor belongs to from the top of display screen, send instruction information to the infrared distance sensor of this position department, thereby make the display screen in the in-process that shows a frame of image, along a plurality of infrared distance sensor of vertical direction evenly distributed in the different regions of display screen, all can launch infrared signal, therefore increased infrared distance sensor's the length of time of launching infrared signal, the degree of accuracy of distance determination has been improved.
Fig. 12 shows a schematic view of a plurality of infrared distance sensors disposed below a display screen. As shown in fig. 12, one infrared distance sensor is disposed below each of the pixels 005 in the first row of pixels, the pixels 005 in the third row of pixels, the pixels 005 in the fifth row of pixels, and the pixels 005 in the seventh row of pixels, and the plurality of infrared distance sensors are distributed in different areas of the display screen in the vertical direction, for example, if v is 4 and p is 4, then t2 is 1, and the length of time that the target control signal moves downward from the top of the display screen is t 3.
When T1 is 1, if T3> T1 indicates that the target control signal has moved to the position where the 1 st infrared distance sensor 130 in fig. 12 (i.e., the infrared distance sensor below the pixel 005 in the first row of pixels) is located, the display drive IC may send indication information to the infrared distance sensor at the 1 st duty cycle to cause the 1 st infrared distance sensor on the display screen to emit an infrared signal.
When T1 is 2, if T3> T1+ T2, that is, T3> T1+1, indicates that the target control signal has moved to the position where the 2 nd infrared distance sensor 130 in fig. 12 (i.e., the infrared distance sensor below the pixel 005 in the third row of pixels) is located, the display drive IC may send indication information to the infrared distance sensor at the 2 nd duty cycle to make the 2 nd infrared distance sensor on the display screen emit an infrared signal.
When T1 is 3, if T3> T1+ T2, that is, T3> T1+2, which indicates that the target control signal has moved to the position where the 3 rd infrared distance sensor 130 (that is, the infrared distance sensor below the pixel 005 in the fifth row of pixels) in fig. 12 is located, the display driving IC sends indication information to the infrared distance sensor at the 3 rd duty cycle, so that the 3 rd infrared distance sensor on the display screen emits an infrared signal.
When T1 is 4, if T3> T1+ T2, that is, T3> T1+3, which indicates that the target control signal has moved to the position where the 4 th infrared distance sensor 130 in fig. 12 (that is, the infrared distance sensor below the pixel 005 in the seventh row of pixels) is located, the display driving IC sends indication information to the infrared distance sensor at the 4 th duty cycle, so that the 4 th infrared distance sensor on the display screen emits an infrared signal.
In step 303, the infrared distance sensor determines the distance to the obstruction according to the intensity of the infrared signal reflected by the obstruction.
Since infrared signals are emitted through the infrared distance sensors in different areas under the display screen, each infrared distance sensor can send the determined distance to the processor, so that the processor determines the distance between the processor and the shelter according to the average value of the distances, and the accuracy of distance determination is improved.
It should be noted that the number of the pixel points above different infrared distance sensors may be the same or different, and this is not limited in the embodiments of the present disclosure.
It should be noted that, the order of the steps of the distance measurement method provided in the embodiment of the present disclosure may be appropriately adjusted, and the steps may also be increased or decreased according to the circumstances, and any method that can be easily conceived by a person skilled in the art within the technical scope of the present disclosure is included in the protection scope of the present disclosure, and therefore, the details are not described again.
To sum up, in the distance measurement method provided by the embodiment of the present disclosure, the display driver IC outputs the control signal to the display screen, and when the level of the control signal is the target level, the display driver IC sends the indication information to the infrared distance sensor, so that the infrared distance sensor emits the infrared signal. Because the infrared distance sensor emits the infrared signal when the display screen displays black, the brightness of the position where the infrared distance sensor is located and the brightness of the surrounding area do not form brightness difference, and compared with the background technology, the display effect of the display screen is improved.
The disclosed embodiment provides a terminal, as shown in fig. 1 or fig. 2, including a display driver IC110, a display screen 120, and an infrared distance sensor 130, the infrared distance sensor 130 being disposed below the display screen 110.
The IC110 is configured to output a control signal to the display screen 120, where the control signal is used to control the brightness of the display screen 120.
The display driver IC110 is further configured to send indication information to the infrared distance sensor 130 when the level of the control signal is a target level, the target level is used to control the display screen 120 to display black, and the indication information is used to indicate the infrared distance sensor 130 to emit an infrared signal.
And the infrared distance sensor 130 is used for determining the distance between the shielding object and the infrared distance sensor according to the intensity of the infrared signal reflected by the shielding object.
Optionally, the display driver IC110 is further configured to output a set of target control signals to the display screen 120 every preset period, where the target control signals include a target level, and a duration of the target level is greater than or equal to a duration required by the infrared distance sensor 130 to emit an infrared signal.
The preset period comprises m duty cycle periods used for displaying n frames of images, the duty cycle periods are signal periods of the control signals, and n and m are positive integers.
Optionally, the display driver IC110 is further configured to output the target control signal in the kth duty cycle.
And the kth duty cycle is one duty cycle of the ith preset cycle, and i is a positive integer.
Alternatively, as shown in fig. 2, the plurality of infrared distance sensors 130 are uniformly distributed in different regions of the display screen 120 in the vertical direction.
Optionally, the display driver IC110 is further configured to send indication information to the infrared distance sensor 130 at the T1 th duty cycle when the target control signal moves downward from the top of the display screen 120 for a time period greater than or equal to T1+ (T1-1) × T2.
Where t1 is the time period for the target control signal to move from the top of the display screen 120 to the first infrared distance sensor 130, and t2 is
Figure BDA0001722902440000121
p is the number of infrared distance sensors 130, v is for displaying one frame image
Figure BDA0001722902440000122
Each of T1 and v is a positive integer for each duty cycle.
Optionally, the number of pixels above different infrared distance sensors 130 is the same or different.
To sum up, in the terminal provided by the embodiment of the present disclosure, the display driver IC outputs the control signal to the display screen, and when the level of the control signal is the target level, the display driver IC sends the indication information to the infrared distance sensor, so that the infrared distance sensor emits the infrared signal. Because the infrared distance sensor emits the infrared signal when the display screen displays black, the brightness of the position where the infrared distance sensor is located and the brightness of the surrounding area do not form brightness difference, and compared with the background technology, the display effect of the display screen is improved.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (7)

1. A distance measuring method applied to a terminal having a display drive integrated circuit IC, a display screen, and an infrared distance sensor disposed below the display screen, the method comprising:
the display driving integrated circuit IC outputs a control signal to the display screen, and the control signal is used for controlling the brightness of the display screen;
when the time length of the target control signal moving downwards from the top of the display screen is greater than or equal to T1+ (T1-1) × T2, the display driving integrated circuit IC sends indication information to the infrared distance sensor at the T1 th duty cycle, the target control signal comprises a target level, the target level is used for controlling the display screen to display black, and the indication information is used for indicating the infrared distance sensor to emit an infrared signal;
the infrared distance sensor determines the distance between the infrared distance sensor and a shelter according to the intensity of the infrared signal reflected by the shelter;
wherein a plurality of the infrared distance sensors are uniformly distributed in different regions of the display screen in a vertical direction, t1 is used for indicating the time length for the target control signal to move from the top of the display screen to the first infrared distance sensor, and t2 is
Figure FDA0003745892970000011
p is the number of infrared distance sensors, v is for displaying one frame image
Figure FDA0003745892970000012
And each of the T1 and the v is a positive integer.
2. The method of claim 1, wherein the display driver IC outputs a control signal to the display panel, comprising:
the display driving integrated circuit IC outputs a group of target control signals to the display screen every other preset period, the target control signals comprise the target level, and the duration of the target level is greater than or equal to the duration required by the infrared distance sensor to emit the infrared signals;
the preset period comprises m duty cycle periods used for displaying n frames of images, the duty cycle periods are signal periods of the control signals, and n and m are positive integers.
3. The method of claim 2, wherein the display driving IC outputs a set of target control signals to the display screen every predetermined period, comprising:
the display driving integrated circuit IC outputs the target control signal in a kth duty cycle;
wherein the kth duty cycle is one duty cycle of an ith preset cycle, and i is a positive integer.
4. A terminal, comprising a display driver IC, a display screen, and an infrared distance sensor disposed below the display screen,
the display driving IC is used for outputting a control signal to the display screen, and the control signal is used for controlling the brightness of the display screen;
the display driving IC is further configured to send indication information to the infrared distance sensor at a T1 th duty cycle when a target control signal moves downwards from the top of the display screen for a time period greater than or equal to T1+ (T1-1) × T2, where the target control signal includes a target level, the target level is used for controlling the display screen to display black, and the indication information is used for indicating the infrared distance sensor to emit an infrared signal;
the infrared distance sensor is used for determining the distance between the infrared distance sensor and a sheltering object according to the intensity of the infrared signal reflected by the sheltering object;
wherein a plurality of the infrared distance sensors are uniformly distributed in different regions of the display screen in a vertical direction, t1 is used for indicating the time length for the target control signal to move from the top of the display screen to the first infrared distance sensor, and t2 is
Figure FDA0003745892970000021
p is the number of infrared distance sensors, v is for displaying one frame image
Figure FDA0003745892970000022
And each of the T1 and the v is a positive integer.
5. The terminal of claim 4,
the display drive IC is further used for outputting a group of target control signals to the display screen at intervals of a preset period, the target control signals comprise the target level, and the duration of the target level is greater than or equal to the duration required by the infrared distance sensor to emit the infrared signals;
the preset period comprises m duty cycle periods used for displaying n frames of images, the duty cycle periods are signal periods of the control signals, and n and m are positive integers.
6. The terminal of claim 5,
the display driving IC is further used for outputting the target control signal in the kth duty cycle;
wherein the kth duty cycle is one duty cycle of an ith preset cycle, and i is a positive integer.
7. The terminal of claim 4, wherein the number of pixels located above different ones of the infrared distance sensors is the same or different.
CN201810739574.9A 2018-07-06 2018-07-06 Distance measuring method and terminal Active CN108897001B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810739574.9A CN108897001B (en) 2018-07-06 2018-07-06 Distance measuring method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810739574.9A CN108897001B (en) 2018-07-06 2018-07-06 Distance measuring method and terminal

Publications (2)

Publication Number Publication Date
CN108897001A CN108897001A (en) 2018-11-27
CN108897001B true CN108897001B (en) 2022-09-02

Family

ID=64348150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810739574.9A Active CN108897001B (en) 2018-07-06 2018-07-06 Distance measuring method and terminal

Country Status (1)

Country Link
CN (1) CN108897001B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134034A (en) * 2019-03-26 2019-08-16 华为技术有限公司 A kind of optical sensor condition control method and electronic equipment
CN113853644A (en) * 2019-05-14 2021-12-28 ams国际有限公司 Optical proximity sensing with reduced pixel distortion
CN112447132B (en) * 2019-08-27 2022-04-08 北京小米移动软件有限公司 Terminal device, display control method, display control device, and computer-readable storage medium
CN111263082B (en) * 2020-03-16 2021-12-14 维沃移动通信(杭州)有限公司 Exposure data acquisition method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010016120A1 (en) * 2008-08-06 2010-02-11 株式会社ニコンビジョン Range finder
CN204155455U (en) * 2014-11-17 2015-02-11 深圳市林润实业有限公司 A kind of pedestrian's street crossing transponder
CN107181868A (en) * 2017-06-05 2017-09-19 青岛海信移动通信技术股份有限公司 It is a kind of to control mobile terminal to go out the method and device of screen

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005181562A (en) * 2003-12-18 2005-07-07 Pioneer Electronic Corp Dimmer controller, its method, its program, recording medium recording the program, and display controller
US8248488B2 (en) * 2008-12-26 2012-08-21 Panasonic Corporation Display device and imaging apparatus using the same
US9024530B2 (en) * 2012-11-13 2015-05-05 Apple Inc. Synchronized ambient light sensor and display
US9240162B2 (en) * 2012-12-31 2016-01-19 Lg Display Co., Ltd. Transparent display apparatus and method for controlling the same
CN105374339A (en) * 2015-11-19 2016-03-02 广东小天才科技有限公司 Intelligent terminal display screen brightness automatic adjustment method and system
CN105549927B (en) * 2015-12-01 2019-03-08 魅族科技(中国)有限公司 A kind of display methods and terminal
CN107545720A (en) * 2016-06-29 2018-01-05 北京小米移动软件有限公司 Infrared signal processing method and processing device, electronic equipment
CN106379553A (en) * 2016-09-23 2017-02-08 美迪斯智能装备有限公司 Non-contact safety device for walking on boarding bridge
CN107808606B (en) * 2017-11-22 2020-11-13 Oppo广东移动通信有限公司 Display screen assembly and electronic equipment
CN107945733B (en) * 2017-11-22 2019-10-25 Oppo广东移动通信有限公司 Brightness of display screen method of adjustment, device, storage medium and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010016120A1 (en) * 2008-08-06 2010-02-11 株式会社ニコンビジョン Range finder
CN204155455U (en) * 2014-11-17 2015-02-11 深圳市林润实业有限公司 A kind of pedestrian's street crossing transponder
CN107181868A (en) * 2017-06-05 2017-09-19 青岛海信移动通信技术股份有限公司 It is a kind of to control mobile terminal to go out the method and device of screen

Also Published As

Publication number Publication date
CN108897001A (en) 2018-11-27

Similar Documents

Publication Publication Date Title
CN108897001B (en) Distance measuring method and terminal
CN111028757B (en) Display device and driving method thereof
US10665165B2 (en) Organic light-emitting display panel, organic light-emitting display apparatus, and driving method of organic light-emitting display panel
CN109599060B (en) Pixel compensation method, pixel compensation system and display device
JP5246433B2 (en) Display device
US8723847B2 (en) Display device and electronic product
US10997897B2 (en) Driving method for display panel and display device
US8212798B2 (en) Display device and electronic product
US20110164010A1 (en) Display apparatus, light detection method and electronic apparatus
US20200265786A1 (en) Pixel drive circuit, display device and driving method
KR102028504B1 (en) Organic light-emtting diode display device incuding compensation circuit
JP2014109778A (en) Organic light-emitting display and driving method thereof
KR20110031101A (en) Display
WO2004047058A2 (en) Method of improving the output uniformity of a display device
CN109166553B (en) Liquid crystal display device and driving method thereof
KR20080100124A (en) Method for uneven light emission correction of organic el panel and display correction circuit of organic el panel
KR102369835B1 (en) Display apparaus and display method
CN110085173B (en) Driving method of display panel, driving chip and display device
KR20140018114A (en) Display apparatus and image control method thereof
US10535305B2 (en) AMOLED display panel with function of temperature compensation and display device thereof
CN113380173A (en) Display compensation method and device of display panel, display device and medium
CN115485654A (en) Compensation driving for long horizontal blanking
KR20100055347A (en) Display device
KR20170135378A (en) Organic light emitting display device and its driving method
CN114694579B (en) Display panel and display device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant