CN111103925B - Distance sensing method and system, distance sensing sensor and electronic equipment - Google Patents

Distance sensing method and system, distance sensing sensor and electronic equipment Download PDF

Info

Publication number
CN111103925B
CN111103925B CN201811269911.9A CN201811269911A CN111103925B CN 111103925 B CN111103925 B CN 111103925B CN 201811269911 A CN201811269911 A CN 201811269911A CN 111103925 B CN111103925 B CN 111103925B
Authority
CN
China
Prior art keywords
sound wave
energy
distance
reflected sound
receiving
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
CN201811269911.9A
Other languages
Chinese (zh)
Other versions
CN111103925A (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 CN201811269911.9A priority Critical patent/CN111103925B/en
Publication of CN111103925A publication Critical patent/CN111103925A/en
Application granted granted Critical
Publication of CN111103925B publication Critical patent/CN111103925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1626Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

The disclosure relates to a distance sensing method, a distance sensing system, a distance sensing sensor and an electronic device. The distance sensing method comprises the steps of emitting detection sound waves through a gap between a screen of the electronic equipment and a middle frame, receiving first reflection sound waves returned by the detection sound waves when encountering a target obstacle through the gap, and calculating the distance between the target obstacle and a distance sensing sensor according to the emitting time of the detection sound waves and the receiving time of the first reflection sound waves. The method avoids the loss of the detected object in the transmission process by using the detection aiming at the sound wave, and improves the accuracy of distance calculation. The structure utilizes the gap between the screen of the electronic equipment and the middle frame, and the screen occupation ratio of the electronic equipment is improved.

Description

Distance sensing method and system, distance sensing sensor and electronic equipment
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a distance sensing method and system, a distance sensing sensor, and an electronic device.
Background
The full-screen has become one of the inevitable trends in the development of future mobile devices. In the related art, the installation of parts such as a photosensitive module occupies the display area of a screen, and the screen occupation ratio and the whole display effect are reduced. Therefore, how to install the photosensitive module so as to avoid occupying the screen area becomes the hot spot problem in the field of the full-screen electronic equipment.
Disclosure of Invention
In order to solve the problems in the related art, the present disclosure provides a distance sensing method, a distance sensing system, a distance sensing sensor, and an electronic device.
According to a first aspect of embodiments of the present disclosure, there is provided a distance sensing method, the method including:
emitting a detection sound wave;
receiving a first reflected sound wave returned after the detected sound wave meets a target obstacle;
acquiring the emitting time T1 of the detection sound wave and the receiving time T2 of the first reflected sound wave; and calculating the distance L between the target obstacle and the distance induction sensor according to the sending time T1 and the receiving time T2.
Optionally, calculating a distance L between the target obstacle and the distance sensing sensor according to the sending time T1 and the receiving time T2 includes:
receiving a second reflected sound wave returned after the detection sound wave encounters an interference obstacle;
acquiring the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave, and calculating a weight coefficient A of the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave through a weight formula;
and judging whether the weight energy A is larger than a preset threshold value M or not, and when A is larger than M, calculating the distance L between the target obstacle and the distance induction sensor according to the sending time T1 and the receiving time T2.
Optionally, the weight formula includes a ═ w1 × N1+ w2 × N2)/(N1+ N2, where w1 is a first coefficient of the energy N1 of the first reflected sound wave, w2 is a second coefficient of the energy N2 of the second reflected sound wave, and w1 is greater than w2, so as to reduce interference of the interference obstacle weight coefficient a.
Optionally, the detection acoustic wave comprises a narrowband signal.
According to a second aspect of the present disclosure there is provided a distance sensing system, the system comprising:
a transmitting unit that transmits a detection sound wave;
the receiving unit is used for receiving a first reflected sound wave returned after the detected sound wave meets a target obstacle;
a processing unit that acquires an emission timing T1 of the detection sound wave and a reception timing T2 of the first reflected sound wave; and calculating the distance L between the target obstacle and the distance induction sensor according to the sending time T1 and the receiving time T2.
Optionally, the processing unit includes:
the receiving module is used for receiving a second reflected sound wave returned after the detection sound wave encounters an interference obstacle;
the calculating module is used for acquiring the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave, and calculating a weight coefficient A of the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave through a weight formula;
and the judging module is used for judging whether the weight energy A is greater than a preset threshold value M or not, and when A is greater than M, calculating the distance L between the target obstacle and the distance induction sensor according to the sending time T1 and the receiving time T2.
Optionally, the weight formula includes a ═ w1 × N1+ w2 × N2)/(N1+ N2, where w1 is a first coefficient of the energy N1 of the first reflected sound wave, w2 is a second coefficient of the energy N2 of the second reflected sound wave, and w1 is greater than w2, so as to reduce interference of the interference obstacle weight coefficient a.
Optionally, the detection acoustic wave comprises a narrowband signal.
According to a third aspect of the present disclosure there is provided a distance-sensing sensor comprising:
the sound wave transmitting module is used for transmitting detection sound waves;
the sound wave receiving module is used for receiving a first reflected sound wave returned after the detection sound wave meets a target obstacle;
the timing module is respectively connected with the sound wave transmitting module and the sound wave receiving module so as to record and synchronously record the action time of the sound wave transmitting module and the sound wave receiving module;
the chip main body is connected with the timing module to obtain the sending time T1 of the detection sound wave and the receiving time T2 of the first reflection sound wave; calculating the distance L between the target obstacle and the distance induction sensor according to the sending time T1 and the receiving time T2;
the sound wave transmitting module and the sound wave receiving module are assembled on the chip main body and are adjacently arranged to reduce space occupation.
Optionally, the chip main body includes:
the first functional body is used for receiving a second reflected sound wave returned after the detection sound wave encounters an interference obstacle;
a second functional entity for acquiring the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave, and calculating the weight coefficient A of the first reflected sound wave and the second reflected sound wave according to the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave through a weight formula;
and the third functional subject is used for judging whether the weight energy A is greater than a preset threshold value M or not, and when A is greater than M, calculating the distance L between the target obstacle and the distance induction sensor according to the sending time T1 and the receiving time T2.
Optionally, the weight formula includes a ═ w1 × N1+ w2 × N2)/(N1+ N2, where w1 is a first coefficient of the energy N1 of the first reflected sound wave, w2 is a second coefficient of the energy N2 of the second reflected sound wave, and w1 is greater than w2, so as to reduce interference of the interference obstacle weight coefficient a.
Optionally, the detection acoustic wave comprises a narrowband signal.
According to a fourth aspect of the present disclosure, an electronic device is provided, which includes a main body, a middle frame, a screen assembly, and the above distance-sensing sensor; the touch layer of the screen assembly comprises a main body area and an edge area formed by extending from the main body area, the display layer of the screen assembly is matched with the main body area to realize a display function, and the middle frame is matched with the edge area to realize the installation of the screen assembly;
the distance induction sensor is arranged on the main body corresponding to the edge area, so that the sound wave transmitting module and the sound wave receiving module transmit or receive sound waves through the edge area.
Optionally, the edge region is formed extending from either side of the main body region.
Optionally, the main body region includes a first side near the top of the electronic device, and the edge region is formed by extending from the first side.
Optionally, the width of the edge region ranges from 1mm to 3 mm.
According to a fifth aspect of the present disclosure, a computer-readable storage medium is proposed, on which computer instructions are stored, which instructions, when executed by a processor, implement the steps of the distance sensing method described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the distance between the target barrier and the distance induction sensor is calculated according to the emitting time of the detection sound wave and the receiving time of the first reflection sound wave. The method avoids the loss of the detected object in the transmission process by using the detection aiming at the sound wave, and improves the accuracy of distance calculation. The structure utilizes the gap between the screen of the electronic equipment and the middle frame, and the screen occupation ratio of the electronic equipment 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
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.
FIG. 1 is a schematic diagram of a mobile phone according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a chip body according to an exemplary embodiment of the disclosure;
FIG. 3 is a schematic diagram of a handset in another exemplary embodiment of the disclosure;
FIG. 4 is a flow chart of a method of distance sensing in an exemplary embodiment of the present disclosure;
FIG. 5 is a flow chart of a method of distance sensing in another exemplary embodiment of the present disclosure;
FIG. 6 is a block diagram of a distance sensing system in an exemplary embodiment of the present disclosure;
fig. 7 is a block diagram of a processing unit in an exemplary embodiment of the disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The electronic device referred in the present disclosure may be a mobile phone, a tablet computer, etc., and the present disclosure does not limit this, and the description and illustration will now be described and explained by taking a mobile phone as an example:
fig. 1 is a schematic structural diagram of a mobile phone in an exemplary embodiment of the present disclosure. As shown in fig. 1, the mobile phone 1 may include a main body 11, a middle frame 12, a screen assembly 13, and a distance sensing sensor 14. The touch layer 131 of the screen assembly 13 includes a main area 1311 and an edge area 1312 formed by extending from the main area 1311, the display layer 132 of the screen assembly 13 cooperates with the main area 1311 to implement a display function, and the middle frame 12 cooperates with the edge area 1312 to implement installation of the screen assembly 13.
The distance sensor 14 is mounted on the main body 11 corresponding to the edge region 1312, and includes an acoustic wave emitting module 141, an acoustic wave receiving module 142, a timing module 144 and a chip main body 143. The acoustic wave emitting module 141 is configured to emit a detection acoustic wave. The sound wave receiving module 142 is configured to receive a first reflected sound wave returned after the detection sound wave encounters the target obstacle 2. The timing module 144 is connected to the sound wave emitting module 141 and the sound wave receiving module 142 respectively, so as to record and record the action time of the sound wave emitting module 141 and the sound wave receiving module 142 synchronously. The chip body 143 can be connected to the timing module 144 to acquire the emitting time T1 of the detection sound wave and the receiving time T2 of the first reflected sound wave, and calculate the distance L between the target obstacle 2 and the distance sensing sensor 14 according to the emitting time T1 and the receiving time T2.
The acoustic wave emitting module 141 and the acoustic wave receiving module 142 can be assembled to the chip main body 143 adjacent to each other, so that when the acoustic wave emitting module 141 and the acoustic wave receiving module 142 of the distance sensor 14 emit or receive an acoustic wave through the edge region 1312, the occupation of space on the chip main body 143 and the edge region 1312 is reduced.
The detection sound wave is emitted through the gap between the electronic device display layer 132 and the middle frame 12, the first reflected sound wave returned when the detection sound wave meets the target obstacle 2 is received through the gap, and the distance between the target obstacle 2 and the distance-sensing sensor 14 is calculated according to the emitting time of the detection sound wave and the receiving time of the first reflected sound wave. The structure arrangement utilizes the gap between the screen of the electronic equipment and the middle frame 12, and the screen occupation ratio of the electronic equipment is improved. And the loss of the detection object in the transmission process is avoided aiming at the detection of the sound wave, and the accuracy of distance calculation is improved.
In the above embodiment, in order to avoid the interference of the electronic device edge region 1312 or dust, etc. on the distance sensor 14, the chip main body 143 may be further optimized, and the following embodiments are exemplified as follows:
as shown in fig. 2, the chip body 143 may include a first functional body 145, a second functional body 146, and a third functional body 147. Wherein the first functional body 145 is used to receive the second reflected sound wave returning after the detection sound wave encounters the interference obstacle. The second functional entity 146 is configured to obtain the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave, and calculate the weight coefficient a of the first reflected sound wave and the second reflected sound wave according to the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave by a weight formula. The third functional main body 147 is configured to determine whether the weighted energy a is greater than a preset threshold M, and when a is greater than M, calculate a distance L between the target obstacle 2 and the proximity sensor 14 according to the sending time T1 and the receiving time T2; otherwise, ignoring the target obstacle 2, and not performing the screen-off operation for the target obstacle 2.
The chip receives the second reflected sound wave returned after the detection sound wave meets the interference obstacle through the first functional module, and filters unnecessary distance induction calculation through the weight coefficient obtained by calculating the first reflected sound wave and the second reflected sound wave, so that the calculation amount of the chip main body 143 is reduced, and the utilization rate of the chip main body 143 is improved.
Since the sound waves need to be transmitted through the narrow edge region 1312, it is difficult to avoid interference from the cover glass of the screen assembly 13 or other interference obstacles such as dust, and the above weight formula may be (w1 × N1+ w2 × N2)/(N1+ N2). Wherein w1 is a first coefficient of the energy N1 of the first reflected sound wave, w2 is a second coefficient of the energy N2 of the second reflected sound wave, and w1 is greater than w2, so that the interference of the interference obstacle weight coefficient A is reduced by using the weight coefficient.
It should be noted that the detection sound wave may be a narrow-band signal, so that the sound wave is as beam as possible, and divergence of other types of signals in the transmission process is avoided. Because the distance induction sensor 14 is arranged to be associated with the screen-off function when the phone is connected, and the beam-shaped signal enables the detected sound wave to feed back the target obstacle 2 approaching from the front of the mobile phone screen shown in fig. 1, the sensitivity of the mobile phone screen to the object approaching from the side is reduced, and the accuracy of the screen-off function is improved.
Based on the usage requirement of the full-screen mobile phone 1, the width of the edge region 1312 may range from 1mm to 3mm, so as to improve the overall display effect of the screen assembly 13. In one embodiment, the edge region 1312 may surround the body region 1311 to form a transition region between the body region 1311 and the bezel 12 of the mobile phone 1.
In another embodiment, as shown in fig. 3, an edge region 1312 may be formed extending from either side of the body region 1311 to further increase the screen area ratio of the body region 1311. For example, the main body region 1311 may include a first side near the top of the mobile phone 1, and the edge region 1312 is formed by extending from the first side, so that the screen occupation of the edge region 1312 is reduced, and the distance change between the target obstacle 2 and the mobile phone 1 is sensed, thereby avoiding the unintentional hand shielding the distance sensor.
The present disclosure further provides a distance sensing method, and fig. 4 is a schematic flow chart of a distance sensing method in an exemplary embodiment of the present disclosure. As shown in fig. 4, the above method can be implemented by the following steps:
in step 401, emitting a detection sound wave;
in step 402, receiving a first reflected sound wave returned after the detection sound wave encounters the target obstacle;
in step 403, acquiring the emission time T1 of the detection sound wave and the reception time T2 of the first reflected sound wave; the distance L between the target obstacle and the distance sensing sensor is calculated from the emission time T1 and the reception time T2.
The detection sound wave is transmitted through a gap between the electronic equipment display layer and the middle frame, the first reflection sound wave returned when the detection sound wave meets the target obstacle is received through the gap, and the distance between the target obstacle and the distance induction sensor is calculated according to the sending time of the detection sound wave and the receiving time of the first reflection sound wave. The detection aiming at the sound wave avoids the loss of the detection object in the transmission process, and improves the accuracy of distance calculation.
On the basis of the embodiment, in order to filter unnecessary distance sensing calculation, the calculation amount of the chip main body is reduced, and the utilization rate of the chip main body is improved. The present disclosure further proposes a distance sensing method, as shown in fig. 5, which can be implemented by the following steps:
in step 501, receiving a second reflected sound wave returned after the detection sound wave encounters an interference obstacle;
in step 502, acquiring the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave, and calculating a weight coefficient A of the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave through a weight formula;
in step 503, it is determined whether the weighted energy a is greater than a preset threshold M, and when a is greater than M, a distance L between the target obstacle and the proximity sensor is calculated according to the emitting time T1 and the receiving time T2.
And executing calculation operation only when the weight energy A is larger than a preset threshold value M, ignoring the target obstacle under other conditions, and not executing screen-off operation aiming at the target obstacle. The method can filter unnecessary distance induction calculation, reduce the calculation amount of the chip main body and improve the utilization rate of the chip main body.
Since the sound waves need to be transmitted through the narrow edge region and are difficult to avoid being interfered by an interfering obstacle such as cover glass of the screen assembly or similar dust, the above weight formula may be (w1 × N1+ w2 × N2)/(N1+ N2), where w1 is a first coefficient of the energy N1 of the first reflected sound wave, w2 is a second coefficient of the energy N2 of the second reflected sound wave, and w1 is greater than w2, so that the interference of the interfering obstacle weight coefficient a is reduced by using the weight coefficient.
It should be noted that the detection sound wave may be a narrow-band signal, so that the sound wave is as beam as possible, and divergence of other types of signals in the transmission process is avoided. The distance induction sensor is arranged to be associated with the screen-off function when the telephone is connected, and the beam-shaped signal enables the detected sound waves to feed back the target barrier close to the front side, so that the sensitivity degree of the target barrier close to the object on the side is reduced, and the accuracy of the screen-off function is improved.
The present disclosure further provides a distance sensing system, and fig. 6 is a block diagram of a distance sensing system in an exemplary embodiment of the present disclosure. As shown in fig. 6, the distance sensing system 60 may include: a transmitting unit 61, a receiving unit 62 and a processing unit 63. Wherein:
the transmitting unit 61 is configured to emit a detection acoustic wave;
the receiving unit 62 is configured to receive a first reflected sound wave returned after the detected sound wave encounters the target obstacle;
the processing unit 63 is configured to acquire the emission timing T1 of the detected sound wave and the reception timing T2 of the first reflected sound wave; and calculating the distance L between the target obstacle and the distance induction sensor according to the sending time T1 and the receiving time T2.
The detection sound wave is transmitted through a gap between the electronic equipment display layer and the middle frame, the first reflection sound wave returned when the detection sound wave meets the target obstacle is received through the gap, and the distance between the target obstacle and the distance induction sensor is calculated according to the sending time of the detection sound wave and the receiving time of the first reflection sound wave. The detection aiming at the sound wave avoids the loss of the detection object in the transmission process, and improves the accuracy of distance calculation.
On the basis of the system shown in fig. 6, the processing unit 63 may further include a receiving module 631, a calculating module 632, and a judging module 633 shown in fig. 7. Wherein:
the receiving module 631 is configured to receive a second reflected sound wave returned after the detection sound wave encounters an interference obstacle;
the calculating module 632 is configured to obtain the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave, and calculate a weighting coefficient a of the first reflected sound wave and the second reflected sound wave according to the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave through a weighting formula;
the judging module 633 is configured to judge whether the weighted energy a is greater than a preset threshold M, and when a is greater than M, calculate a distance L between the target obstacle and the distance induction sensor according to the emitting time T1 and the receiving time T2.
And executing calculation operation only when the weight energy A is larger than a preset threshold value M, ignoring the target obstacle under other conditions, and not executing screen-off operation aiming at the target obstacle. The method can filter unnecessary distance induction calculation, reduce the calculation amount of the chip main body and improve the utilization rate of the chip main body.
Since the sound waves need to be transmitted through the narrow edge region and are difficult to avoid being interfered by an interfering obstacle such as cover glass of the screen assembly or similar dust, the above weight formula may be (w1 × N1+ w2 × N2)/(N1+ N2), where w1 is a first coefficient of the energy N1 of the first reflected sound wave, w2 is a second coefficient of the energy N2 of the second reflected sound wave, and w1 is greater than w2, so that the interference of the interfering obstacle weight coefficient a is reduced by using the weight coefficient.
It should be noted that the detection sound wave may be a narrow-band signal, so that the sound wave is as beam as possible, and divergence of other types of signals in the transmission process is avoided. The distance induction sensor is arranged to be associated with the screen-off function when the telephone is connected, and the beam-shaped signal enables the detected sound waves to feed back the target barrier close to the front side, so that the sensitivity degree of the target barrier close to the object on the side is reduced, and the accuracy of the screen-off function is improved.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as a memory comprising instructions, executable by a processor of a device to perform the distance sensing method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
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 (14)

1. A distance sensing method is applied to a distance sensing sensor and is characterized by comprising the following steps:
emitting a detection sound wave;
receiving a first reflected sound wave returned after the detected sound wave meets a target obstacle;
acquiring the emitting time T1 of the detection sound wave and the receiving time T2 of the first reflected sound wave; calculating the distance L between the target obstacle and the distance induction sensor according to the sending time T1 and the receiving time T2;
wherein calculating the distance L between the target obstacle and the distance sensing sensor according to the emitting time T1 and the receiving time T2 comprises:
receiving a second reflected sound wave returned after the detection sound wave encounters an interference obstacle;
acquiring the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave, and calculating a weight coefficient A of the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave through a weight formula;
and judging whether the weight energy A is larger than a preset threshold value M or not, and when A is larger than M, calculating the distance L between the target obstacle and the distance induction sensor according to the sending time T1 and the receiving time T2.
2. The method of claim 1, wherein the weight formula comprises a ═ w1 × N1+ w2 × N2)/(N1+ N2, wherein w1 is a first coefficient of energy N1 of the first reflected sound wave, w2 is a second coefficient of energy N2 of the second reflected sound wave, and w1 is greater than w2 to reduce interference with the obstacle weight coefficient a.
3. The method of claim 1, wherein the detected acoustic waves comprise narrowband signals.
4. A distance sensing system, comprising:
a transmitting unit that transmits a detection sound wave;
the receiving unit is used for receiving a first reflected sound wave returned after the detected sound wave meets a target obstacle;
a processing unit that acquires an emission timing T1 of the detection sound wave and a reception timing T2 of the first reflected sound wave; calculating the distance L between the target obstacle and the distance induction sensor according to the sending time T1 and the receiving time T2;
wherein the processing unit comprises:
the receiving module is used for receiving a second reflected sound wave returned after the detection sound wave encounters an interference obstacle;
the calculating module is used for acquiring the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave, and calculating a weight coefficient A of the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave through a weight formula;
and the judging module is used for judging whether the weight energy A is greater than a preset threshold value M or not, and when A is greater than M, calculating the distance L between the target obstacle and the distance induction sensor according to the sending time T1 and the receiving time T2.
5. The system of claim 4, wherein the weight formula comprises a ═ w 1N 1+ w 2N 2)/(N1+ N2, wherein w1 is a first coefficient of energy N1 of the first reflected sound wave, w2 is a second coefficient of energy N2 of the second reflected sound wave, and w1 is greater than w2 to reduce interference with the obstacle weight coefficient a.
6. The system of claim 4, wherein the detected acoustic waves comprise narrowband signals.
7. A distance sensing sensor, comprising:
the sound wave transmitting module is used for transmitting detection sound waves;
the sound wave receiving module is used for receiving a first reflected sound wave returned after the detection sound wave meets a target obstacle;
the timing module is respectively connected with the sound wave transmitting module and the sound wave receiving module so as to record and synchronously record the action time of the sound wave transmitting module and the sound wave receiving module;
the chip main body is connected with the timing module to obtain the sending time T1 of the detection sound wave and the receiving time T2 of the first reflection sound wave; calculating the distance L between the target obstacle and the distance induction sensor according to the sending time T1 and the receiving time T2;
the sound wave transmitting module and the sound wave receiving module are assembled on the chip main body and are adjacently arranged to reduce the space occupation;
wherein the chip body includes:
the first functional body is used for receiving a second reflected sound wave returned after the detection sound wave encounters an interference obstacle;
a second functional entity for acquiring the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave, and calculating the weight coefficient A of the first reflected sound wave and the second reflected sound wave according to the energy N1 of the first reflected sound wave and the energy N2 of the second reflected sound wave through a weight formula;
and the third functional subject is used for judging whether the weight energy A is greater than a preset threshold value M or not, and when A is greater than M, calculating the distance L between the target obstacle and the distance induction sensor according to the sending time T1 and the receiving time T2.
8. The distance-sensing sensor according to claim 7, wherein said weight formula comprises a ═ w1 × N1+ w2 × N2)/(N1+ N2, wherein w1 is a first coefficient of energy N1 of said first reflected sound wave, w2 is a second coefficient of energy N2 of said second reflected sound wave, and said w1 is greater than said w2 to reduce interference with an interference obstacle weight coefficient a.
9. The range induction sensor of claim 7, wherein the detected acoustic waves comprise narrowband signals.
10. An electronic device comprising a main body, a middle frame, a screen assembly and a distance sensing sensor according to any one of claims 7-9; the touch layer of the screen assembly comprises a main body area and an edge area formed by extending from the main body area, the display layer of the screen assembly is matched with the main body area to realize a display function, and the middle frame is matched with the edge area to realize the installation of the screen assembly;
the distance induction sensor is arranged on the main body corresponding to the edge area, so that the sound wave transmitting module and the sound wave receiving module transmit or receive sound waves through the edge area.
11. The electronic device of claim 10, wherein the edge region is formed extending from either side of the body region.
12. The electronic device of claim 11, wherein the body region includes a first side proximate a top of the electronic device, and wherein the edge region extends from the first side.
13. The electronic device of claim 10, wherein the edge region has a width in a range including 1mm-3 mm.
14. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 1-3.
CN201811269911.9A 2018-10-29 2018-10-29 Distance sensing method and system, distance sensing sensor and electronic equipment Active CN111103925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811269911.9A CN111103925B (en) 2018-10-29 2018-10-29 Distance sensing method and system, distance sensing sensor and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811269911.9A CN111103925B (en) 2018-10-29 2018-10-29 Distance sensing method and system, distance sensing sensor and electronic equipment

Publications (2)

Publication Number Publication Date
CN111103925A CN111103925A (en) 2020-05-05
CN111103925B true CN111103925B (en) 2021-02-19

Family

ID=70419962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811269911.9A Active CN111103925B (en) 2018-10-29 2018-10-29 Distance sensing method and system, distance sensing sensor and electronic equipment

Country Status (1)

Country Link
CN (1) CN111103925B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050099249A (en) * 2004-04-09 2005-10-13 주식회사 팬택 Apparatus and method for controlling flash of mobile communication terminal
WO2012037621A1 (en) * 2010-09-22 2012-03-29 Victor Francisco Machay "cellular telephone with tape measure function"
WO2017149526A2 (en) * 2016-03-04 2017-09-08 May Patents Ltd. A method and apparatus for cooperative usage of multiple distance meters
CN107526084A (en) * 2016-06-22 2017-12-29 北京小米移动软件有限公司 Distance measurement method and device
CN107728151A (en) * 2017-09-29 2018-02-23 上海展扬通信技术有限公司 Method, apparatus, computer equipment and the computer-readable recording medium of ranging
CN108521478A (en) * 2018-03-27 2018-09-11 北京小米移动软件有限公司 Terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050099249A (en) * 2004-04-09 2005-10-13 주식회사 팬택 Apparatus and method for controlling flash of mobile communication terminal
WO2012037621A1 (en) * 2010-09-22 2012-03-29 Victor Francisco Machay "cellular telephone with tape measure function"
WO2017149526A2 (en) * 2016-03-04 2017-09-08 May Patents Ltd. A method and apparatus for cooperative usage of multiple distance meters
CN107526084A (en) * 2016-06-22 2017-12-29 北京小米移动软件有限公司 Distance measurement method and device
CN107728151A (en) * 2017-09-29 2018-02-23 上海展扬通信技术有限公司 Method, apparatus, computer equipment and the computer-readable recording medium of ranging
CN108521478A (en) * 2018-03-27 2018-09-11 北京小米移动软件有限公司 Terminal

Also Published As

Publication number Publication date
CN111103925A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
AU2014376146B2 (en) Antenna coupling for sensing and dynamic transmission
JP5615270B2 (en) Object positioning
US10061453B2 (en) Detecting multi-touch inputs
US10061010B2 (en) Distance measurement
EP2317336B1 (en) Method for estimating target range error and sonar system thereof
KR20130137005A (en) System and method for object position estimation based on ultrasonic reflected signals
US20190025402A1 (en) Detection and location of a mobile device using sound
US20150249819A1 (en) Three-dimensional (3d) interactive method and system
DE102014224807B4 (en) Vision connection detection with video support in a location system
KR20090125283A (en) System and method for positioning
US20220260671A1 (en) Methods and apparatus to manage automotive radar coordination
US9880671B2 (en) Damping vibrational wave reflections
US11070397B2 (en) Adaptive OTA leakage cancellation for mmWave radar
US9910152B2 (en) User interfaces for electronic devices
US11860298B2 (en) Radar leakage measurement update
CN111103925B (en) Distance sensing method and system, distance sensing sensor and electronic equipment
CN113646657A (en) Radar leakage cancellation based on the spatio-temporal relationship of transmit and receive antenna pairs
KR101308101B1 (en) Combined Low and High Frequency Band Multiple Ground-Penetrating Radar System, and Control Method Thereof
US8823588B2 (en) Radio positioning and ranging system and positioning and ranging program
US20230041835A1 (en) Radio frequency exposure estimation with radar for mobile devices
CN106162431A (en) The beam positioning system of giant-screen mobile terminal
NO346391B1 (en) Absorption rate detection
CN115407272A (en) Ultrasonic signal positioning method and device, terminal and computer readable storage medium
CN114296031A (en) System and method for location determination using direct path information
CN111615035B (en) Beam forming method, device, equipment and storage medium

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