CN114112134A - Pressure detection method, electronic device and computer-readable storage medium - Google Patents

Pressure detection method, electronic device and computer-readable storage medium Download PDF

Info

Publication number
CN114112134A
CN114112134A CN202111425644.1A CN202111425644A CN114112134A CN 114112134 A CN114112134 A CN 114112134A CN 202111425644 A CN202111425644 A CN 202111425644A CN 114112134 A CN114112134 A CN 114112134A
Authority
CN
China
Prior art keywords
signal
ultrasonic
value
target
pressure
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.)
Granted
Application number
CN202111425644.1A
Other languages
Chinese (zh)
Other versions
CN114112134B (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Optical Technology 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 Goertek Optical Technology Co Ltd filed Critical Goertek Optical Technology Co Ltd
Priority to CN202111425644.1A priority Critical patent/CN114112134B/en
Priority to PCT/CN2021/135590 priority patent/WO2023092639A1/en
Publication of CN114112134A publication Critical patent/CN114112134A/en
Application granted granted Critical
Publication of CN114112134B publication Critical patent/CN114112134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L1/00Measuring force or stress, in general
    • G01L1/25Measuring force or stress, in general using wave or particle radiation, e.g. X-rays, microwaves, neutrons
    • G01L1/255Measuring force or stress, in general using wave or particle radiation, e.g. X-rays, microwaves, neutrons using acoustic waves, or acoustic emission

Abstract

The invention discloses a pressure detection method, which comprises the following steps: transmitting an ultrasonic signal towards a target area, and receiving a reflected signal corresponding to the ultrasonic signal; the reflected signal is a signal formed by reflecting the ultrasonic signal by the contact action on the target area; determining a signal characteristic value of the reflected signal; and determining a target pressure value applied to the target area by the contact action according to the signal characteristic value. The invention also discloses an electronic device and a computer readable storage medium. The invention aims to avoid the influence of the deformation performance of the shell material on the pressure detection of the electronic equipment and improve the accuracy of the pressure detection of the electronic equipment.

Description

Pressure detection method, electronic device and computer-readable storage medium
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a pressure detection method, an electronic device, and a computer-readable storage medium.
Background
With the development of economic technology, electronic devices are widely used in daily life. In the use process of the electronic equipment, pressure detection is mostly needed, for example, pressure detection, product performance detection, man-machine interaction and the like in the industry.
At present, pressure detection of electronic equipment is generally performed by piezoresistive detection, a piezoresistive device is generally arranged inside a casing of the electronic equipment, deformation quantity of a contact position of the casing is transmitted to the piezoresistive device, resistance value of the piezoresistive device changes, voltage loaded on the piezoresistive device changes along with the deformation quantity, and pressure value received by the casing of the electronic equipment can be obtained by detecting the voltage. However, this requires the housing to generate a large enough deformation amount to change the voltage of the piezoresistive device, which easily results in that the pressure value applied by the housing cannot be accurately measured when the housing is made of a material with a small deformation amount (e.g. a metal material).
Disclosure of Invention
The invention mainly aims to provide a pressure detection method, electronic equipment and a computer readable storage medium, aiming at avoiding the influence of the deformation performance of a shell material on the pressure detection of the electronic equipment and improving the accuracy of the pressure detection of the electronic equipment.
In order to achieve the above object, the present invention provides a pressure detection method, including the steps of:
transmitting an ultrasonic signal towards a target area, and receiving a reflected signal corresponding to the ultrasonic signal; the reflected signal is a signal formed by reflecting the ultrasonic signal by the contact action on the target area;
determining a signal characteristic value of the reflected signal;
and determining a target pressure value applied to the target area by the contact action according to the signal characteristic value.
Optionally, the signal characteristic value includes an amplitude variation parameter of the reflected signal, the amplitude variation parameter characterizes a characteristic parameter of the reflected signal that a signal amplitude varies with time, and the step of determining, according to the signal characteristic value, a target pressure value applied to the target area by the contact action includes:
determining the duration of the signal amplitude of the reflected signal being greater than a preset threshold value according to the amplitude variation parameter;
and determining the target pressure value according to the duration.
Optionally, the step of determining the target pressure value according to the duration includes:
determining a time difference value between a preset time length and a duration time length;
and determining the target pressure value according to the time difference value.
Optionally, the step of determining the target pressure value according to the time difference value includes:
inquiring the preset mapping table according to the time difference value, and taking a pressure value which has a mapping relation with the time difference value in the preset mapping table as the target pressure value;
and/or the target pressure value is positively correlated with the time difference value.
Optionally, if the contact areas of the contact actions in the target region are different, the corresponding signal characteristic values are different.
Optionally, the target area is an area on an outer surface of the housing, an ultrasonic detection module is disposed in the housing, and the step of transmitting the ultrasonic signal toward the target area includes:
acquiring a first characteristic parameter of the shell, and/or acquiring a second characteristic parameter of the ultrasonic detection module;
determining a pulse characteristic value of the ultrasonic detection module according to the first characteristic parameter and/or the second characteristic parameter of the shell;
and driving the ultrasonic detection module to send an ultrasonic signal to the target area according to the pulse signal corresponding to the pulse characteristic value.
Optionally, the step of obtaining a first characteristic parameter of the housing includes:
obtaining the thickness and/or the material of the shell, wherein the first characteristic parameter comprises the thickness and/or the material;
and/or the step of acquiring the second characteristic parameter of the ultrasonic detection module comprises:
acquiring a distance between a transmitter and a receiver of the ultrasonic detection module and/or a resonance frequency of the ultrasonic detection module, wherein the second characteristic parameter comprises the distance and/or the resonance frequency, the transmitter is used for transmitting the ultrasonic signal, and the receiver is used for receiving the reflected signal.
Further, in order to achieve the above object, the present application also proposes that the electronic device includes a pressure detection apparatus, the pressure detection apparatus including:
the ultrasonic detection module is used for transmitting an ultrasonic signal and receiving a reflected signal of the ultrasonic signal;
a controller, the ultrasonic detection module with the controller is connected, the controller includes: a memory, a processor and a pressure detection program stored on the memory and executable on the processor, the pressure detection program when executed by the processor implementing the steps of the pressure detection method as defined in any one of the above.
Optionally, the ultrasonic detection module is a piezoelectric ultrasonic transducer;
and/or, the number of ultrasonic detection modules is a plurality, and a plurality of ultrasonic detection modules are all connected with the controller.
Optionally, the electronic device further includes a flexible circuit board, and when the number of the ultrasonic detection modules is multiple, the ultrasonic detection modules are disposed on the flexible circuit board, and the flexible circuit board is connected to the controller.
Further, in order to achieve the above object, the present application also proposes a computer-readable storage medium having a pressure detection program stored thereon, which when executed by a processor implements the steps of the pressure detection method as described in any one of the above.
The invention provides a pressure detection method, which transmits an ultrasonic signal towards a target area, receives a reflected signal reflected by the ultrasonic signal through a contact action on the target area, determines a target pressure value applied by the contact action on the target area through a signal characteristic value of the reflected signal, and in the process, the detection of the target pressure value applied on the target area represents the reflected signal formed by the reflection of the ultrasonic signal through the contact action.
Drawings
FIG. 1 is a diagram illustrating a hardware configuration involved in the operation of an embodiment of the electronic device according to the present invention;
FIG. 2 is a schematic diagram illustrating an installation position of an ultrasonic detection module in an embodiment of an electronic device according to the invention;
FIG. 3 is a schematic flow chart illustrating a pressure detection method according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a pressure detection method according to another embodiment of the present invention;
FIG. 5 is a schematic diagram of an amplitude variation curve involved in an embodiment of the pressure detection method of the present invention;
FIG. 6 is a diagram illustrating a relationship between a target pressure value and a time difference value according to an embodiment of the pressure detection method of the present invention;
fig. 7 is a schematic flow chart of a pressure detection method according to another embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: transmitting an ultrasonic signal towards a target area, and receiving a reflected signal corresponding to the ultrasonic signal; the reflected signal is a signal formed by reflecting the ultrasonic signal by the contact action on the target area; determining a signal characteristic value of the reflected signal; and determining a target pressure value applied to the target area by the contact action according to the signal characteristic value.
In the prior art, pressure detection of electronic equipment is generally performed by piezoresistive detection, piezoresistive devices are generally arranged inside a shell of the electronic equipment, deformation quantity of a contact position of the shell is transmitted to the piezoresistive devices, resistance value of the devices changes, voltage loaded on the devices changes accordingly, and pressure value received by the shell of the electronic equipment can be obtained by detecting the voltage. However, this requires the housing to generate a large enough deformation amount to change the voltage of the piezoresistive device, which easily results in that the pressure value applied by the housing cannot be accurately measured when the housing is made of a material with a small deformation amount (e.g. a metal material).
The invention provides the solution, and aims to avoid the influence of the deformation performance of the shell material on the pressure detection of the electronic equipment and improve the accuracy of the pressure detection of the electronic equipment.
The embodiment of the invention provides electronic equipment. The electronic device can be any device requiring pressure detection, such as industrial devices (e.g., product testing devices), intelligent terminal devices (e.g., mobile phones, smart bands, tablet computers, head-mounted display devices, etc.).
In an embodiment of the present invention, referring to fig. 1 and 2, the electronic device includes a pressure detection apparatus including an ultrasonic detection module 1 and a controller 2 connected to the ultrasonic detection module 1.
The ultrasonic detection module 1 is specifically a module for performing pressure detection by using an ultrasonic signal, and the ultrasonic detection module 1 is configured to generate an ultrasonic signal toward a target area and receive a reflected signal reflected by the target area.
In this embodiment, the ultrasonic detection module 1 is a piezoelectric ultrasonic transducer. Referring to fig. 2, the ultrasonic detection module 1 specifically includes a transmitter 11 and a receiver 12, the transmitter 11 may be used for transmitting an ultrasonic signal, and the transmitter 11 may convert high-frequency electric energy into mechanical energy and convert an electric signal into mechanical vibration through a piezoelectric effect of a material. The receiver 12 can be used to receive the reflected signal corresponding to the ultrasonic signal transmitted by the transmitter 11, and the receiver 12 can convert the mechanical energy into electrical energy and convert the mechanical vibration into an electrical signal through the piezoelectric effect of the material.
Specifically, in the present embodiment, in order to improve the accuracy of pressure detection, referring to fig. 2, the receiver 12 is disposed around the transmitter.
Further, the number of the ultrasonic detection modules 1 is one or more. When the number of the ultrasonic detection modules 1 is multiple, the ultrasonic detection modules 1 are all connected with the controller 2.
Further, in this embodiment, referring to fig. 2, the electronic device further includes a flexible circuit board 3, when the number of the ultrasonic detection modules 1 is multiple, the ultrasonic detection modules 1 are disposed on the flexible circuit board 3, and the flexible circuit board 3 is connected to the controller 2.
Further, in the present embodiment, referring to fig. 1, the controller 2 includes: a processor 1001 (e.g., CPU), memory 1002, etc. The memory 1002 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1002 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the device shown in fig. 1 is not intended to be limiting of the device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a pressure detection program may be included in the memory 1002, which is a kind of computer-readable storage medium. In the apparatus shown in fig. 1, the processor 1001 may be configured to call a pressure detection program stored in the memory 1002 and perform operations of relevant steps of the pressure detection method in the following embodiments.
The embodiment of the invention also provides a pressure detection method which is applied to the electronic equipment.
Referring to fig. 3, an embodiment of a pressure detection method of the present application is provided. In this embodiment, the pressure detection method includes:
step S10, transmitting an ultrasonic signal towards a target area and receiving a reflected signal corresponding to the ultrasonic signal; the reflected signal is a signal formed by reflecting the ultrasonic signal by the contact action on the target area;
the target area is an area which is set in advance and needs to detect the pressure value on the electronic equipment. Specifically, the target area is an area on which the ultrasonic detection module is arranged on the electronic device. Specifically, the electronic device may include a housing, an ultrasonic detection module may be mounted inside the housing, and a region on an outer surface of the housing aligned with the ultrasonic detection module may be used as a target region.
And controlling a transmitter of the ultrasonic detection module to transmit an ultrasonic signal towards the target area, and controlling a receiver of the ultrasonic detection module to receive a reflected signal corresponding to the ultrasonic signal.
The contact action is specifically an action when a human body or a preset object is in contact with the target area, where the preset object is specifically an object capable of reflecting the ultrasonic signal. For example, when the electronic device is a head-mounted display device, the target area may be an inner side surface of the head-mounted display device for fitting with the head of a human body, and a pressing action of the head of the human body on the inner side surface when the user wears the head-mounted display device may be regarded as a contact action here. For another example, when the electronic device is a mobile phone, the target area may be a side surface and/or a back surface of a housing of the mobile phone, and a pressing action of a hand of the user on the back surface and/or the back surface of the housing when the user holds the mobile phone may be regarded as a contact action here.
The human body or the preset object contacting the target area can reflect the ultrasonic signal emitted towards the target area to form a reflected signal, and the receiver converts the received reflected signal into an electric signal for representation. Specifically, in this embodiment, the reflected signal is characterized by the output voltage. If the pressure values applied to the target area by the contact action are different, the generated reflection signals are different, and if the reflection signals are different, the output voltages are different. In other embodiments, other electrical signals may be used to characterize the reflected signal, such as output current.
Step S20, determining a signal characteristic value of the reflection signal;
the signal characteristic value is in particular a characteristic parameter characterizing the reflected signal. In this embodiment, the signal characteristic value is specifically a characteristic value that characterizes the signal strength of the reflected signal. Such as signal amplitude, signal frequency, and/or signal wavelength, etc.
Specifically, the characteristics of the electrical signal that characterizes the reflected signal may be analyzed to obtain signal characteristic values therein.
And step S30, determining a target pressure value applied to the target area by the contact action according to the signal characteristic value.
Different signal characteristic values correspond to different target pressure values. Specifically, the corresponding relationship between the signal characteristic value and the target pressure value may be established in advance, and the corresponding relationship may be in the form of a quantitative relationship, a mapping table, or the like. And determining a target pressure value corresponding to the current signal characteristic value based on the preset corresponding relation. For example, a pressure value calculated by substituting the signal characteristic value into a preset formula is taken as a target pressure value here; and inquiring a preset mapping table through the signal characteristic value, and taking the pressure value obtained by matching in the mapping table as the target pressure value.
After the target pressure value is obtained, the target pressure value can be stored, a control instruction corresponding to the target pressure value can be determined to control the electronic equipment to operate, the target pressure value can be processed according to a preset algorithm to obtain a detection result, and the like, and the setting can be carried out according to the actual requirement of the electronic equipment.
The pressure detection method provided by the embodiment of the invention transmits an ultrasonic signal to a target area, receives a reflected signal of the ultrasonic signal reflected by a contact action on the target area, and determining a target pressure value applied to the target area by the contact action through the signal characteristic value of the reflected signal, the detection of the target pressure value applied to the target area characterizes a reflection signal formed by the reflection of an ultrasonic signal through a contact action, the ultrasonic signal has better penetrating power to penetrate through a shell of the electronic equipment, the pressure detection process is not influenced by the deformation of the shell, and the accurate measurement of the pressure of the target area can be realized even if the deformation performance of the shell is not good, therefore, the pressure detection of the electronic equipment is prevented from being influenced by the deformation performance of the shell material, and the accuracy of the pressure detection of the electronic equipment is improved.
Further, based on the above embodiments, another embodiment of the pressure detection method of the present application is provided. In this embodiment, the signal characteristic value includes an amplitude variation parameter of the reflected signal, and the amplitude variation parameter characterizes a characteristic parameter of the reflected signal with respect to time variation of the signal amplitude, and referring to fig. 4, the step S30 includes:
step S31, determining the duration of the signal amplitude of the reflection signal being greater than a preset threshold value according to the amplitude variation parameter;
in this embodiment, the amplitude variation parameter may be an amplitude variation curve. Specifically, the signal amplitude of the reflected signal may be specifically represented by a voltage value, and the larger the voltage value is, the larger the signal amplitude is. As shown in fig. 5, if the abscissa is time and the ordinate is a voltage value representing the amplitude of the signal, the curve represents a curve of the amplitude of the signal varying with time, a corresponding reference line (e.g., line L in fig. 5) is determined according to a preset voltage value corresponding to a preset threshold, the times corresponding to two points where the amplitude variation curve intersects the reference line are respectively T1 and T2, and the duration T is duration TΔXT2-T1. In other embodiments, the amplitude variation parameter may also include a plurality of different time instants and corresponding signal amplitude values, each signal amplitude value is compared with a preset threshold, and the maximum time instant T3 and the minimum time instant T4 in the time instant set corresponding to all the signal amplitude values greater than the preset threshold are determined, so that the duration T is longerΔX=T3-T4。
And step S32, determining the target pressure value according to the duration.
Different durations correspond to different target pressure values.
Specifically, the corresponding relationship between the duration and the target pressure value may be established in advance, and may be a calculation formula, a mapping table, or the like. And determining a target pressure value corresponding to the current duration based on the corresponding relation. Specifically, the duration may be substituted into a preset formula to obtain a result, which is used as the target pressure value; and inquiring a preset mapping table of the duration and the pressure value through the duration, and taking the pressure value matched with the duration in the mapping table as a target pressure value.
Specifically, in the present embodiment, a time difference between the preset time duration and the duration is determined; and determining the target pressure value according to the time difference value. The preset time is the sampling time of the preset reflection signal, and the specific value of the preset timeThe position of the ultrasonic detection module relative to the target area can be determined, and different preset durations are set when the relative positions are different. Defining the preset duration as K and defining the duration as TΔXIf the time difference is equal to K-TΔX. Specifically, the relationship between the time difference value and the target pressure value is shown in fig. 6.
In this embodiment, the target pressure value is positively correlated with the time difference, that is, the target pressure value tends to increase with the increase of the time difference, and the target pressure value tends to decrease with the decrease of the time difference. '
In this embodiment, because the pressure values applied to the target area by the human body or the preset object which generates the contact action are different, the continuous situations of the reflected signals with larger amplitudes generated in the process of reflecting the ultrasonic signals are different, and therefore the target pressure value is determined by analyzing the duration of the signal amplitude larger than the preset threshold value based on the variation characteristics of the signal amplitude of the reflected signals, which is beneficial to further improving the accuracy of the pressure detection of the electronic device.
Further, in this embodiment, the preset mapping table is queried according to the time difference, and a pressure value in the preset mapping table, which has a mapping relationship with the time difference, is taken as the target pressure value. The preset mapping table may specifically include a plurality of preset time differences and preset pressure values represented by each time difference. Based on this, the preset pressure value corresponding to the preset time difference matched with the time difference value can be used as the target pressure value. For example, a preset pressure value corresponding to a preset time difference with the smallest difference value from the time difference value is taken as the target pressure value.
For example, the preset mapping table is shown in the following table:
time difference (us) Target pressure value (N)
800 0
1250 0.5
1500 1
1750 2
Based on this, when the time difference is 1500us, the target pressure value may be determined to be 1N; when the time difference is 1200us, the target pressure value may be determined to be 0.5N.
Based on the time difference value, the target pressure value received by the target area of the electronic equipment can be accurately obtained through the table look-up.
In other embodiments, in order to further improve the accuracy of pressure detection of the electronic device, a calculation formula between the time difference value and the target pressure value may also be established in advance, and the time difference value is substituted into the calculation formula to calculate the obtained pressure value as the target pressure value. For example, when the time difference is smaller than the set difference, calculating a target pressure value corresponding to the time difference according to a first formula; and when the time difference is greater than or equal to the set difference, calculating a target pressure value corresponding to the time difference according to a second formula. The change amplitude of the target pressure value corresponding to the first formula along with the change of the time difference value is larger than the change amplitude of the target pressure value corresponding to the second formula along with the change of the time difference value. For example, if the target pressure value is defined as F and the time difference value is defined as T, the first formula is F ═ a × T, and the second formula is F ═ b × T, and a > b.
Further, in other embodiments, in addition to determining the target pressure value according to the time difference, a ratio of a preset time duration to a duration may also be determined, and the target pressure value is determined according to the ratio, and the target pressure value and the ratio are in positive correlation.
Further, in other embodiments, the target pressure value may also be obtained directly by looking up a table or calculating the duration, and the target pressure value is negatively correlated with the duration, that is, the target pressure value decreases with the increase of the duration, and the target pressure value increases with the decrease of the duration.
Further, according to any of the above embodiments, if the contact area of the contact action in the target region is different, the corresponding signal characteristic value is different. Specifically, the larger the contact area is, the larger the target pressure value corresponding to the signal characteristic value is. In this embodiment, the target pressure value corresponding to the signal characteristic value varies nonlinearly according to the contact area. In other embodiments, the target pressure value corresponding to the signal characteristic value may also vary linearly according to the contact area.
Specifically, the signal characteristic value is the duration in the above embodiment, and the duration is in negative correlation with the target pressure value, so that the target pressure value is in a decreasing trend with the increase of the duration, and the target pressure value is in an increasing trend with the decrease of the duration. Or, when the signal characteristic value is the time difference value in the above embodiment, the time difference value is in positive correlation with the target pressure value, the target pressure value is in an increasing trend along with the increase of the time difference value, and the target pressure value is in a decreasing trend along with the decrease of the time difference value.
For example, when the finger touches the target region, the force is about 0.5N, and the contact area with the target region is usually within Φ 8 mm; when the finger presses the target area, the force is in the range of 0.5N to 2N, and the contact area with the target area is in the range of phi 10mm to phi 12 mm. At this time, even if the housing provided with the target area is not deformed, the ultrasonic detection module in the housing can distinguish the change of the ultrasonic signal caused by the pressure degree, so that the accurate detection of the applied pressure value of the target area is realized.
In this embodiment, the contact area of the contact action in the target area that is suitable for the pressure value difference impels ultrasonic reflection signal to have different signal eigenvalues to realize the accurate characterization based on signal eigenvalue to the target pressure value, thereby ensure not to rely on the deformation of casing, also can realize accurately measuring the pressure value.
Further, based on any one of the above embodiments, another embodiment of the pressure detection method of the present application is provided. In this embodiment, the target area is an area on an outer surface of a housing, an ultrasonic detection module is disposed in the housing, and referring to fig. 7, the step of transmitting the ultrasonic signal to the target area includes:
step S11, acquiring a first characteristic parameter of the shell and/or acquiring a second characteristic parameter of the ultrasonic detection module;
the first characteristic parameter is specifically a parameter value representing the characteristics of the structure, the performance and the like of the shell.
The second characteristic parameter is specifically a parameter value representing characteristics of the structure, performance and the like of the ultrasonic detection module.
In this embodiment, the thickness and/or material of the housing is obtained, and the first characteristic parameter includes the thickness and/or material. In other embodiments, the first characteristic parameter may further include any other type of parameter value characterizing the shell, for example, when the target area is a curved surface, the surface curvature of the shell may also be obtained, and the first characteristic parameter may further include the surface curvature.
In this embodiment, a distance between a transmitter and a receiver of the ultrasonic detection module and/or a resonant frequency of the ultrasonic detection module is obtained, the second characteristic parameter includes the distance and/or the resonant frequency, the transmitter is configured to transmit the ultrasonic signal, and the receiver is configured to receive the reflected signal. In other embodiments, the second characteristic parameter may further include any other type of parameter value characterizing the ultrasonic testing module, such as the type of piezoelectric material in the ultrasonic testing module, and the like.
Step S12, determining a pulse characteristic value of the ultrasonic detection module according to the first characteristic parameter and/or the second characteristic parameter of the shell;
the pulse characteristic value is specifically a signal characteristic parameter of a pulse signal for driving the ultrasonic detection module to emit ultrasonic waves. The pulse characteristic values specifically include the number of pulses, the pulse frequency and/or the pulse peak value, and the like.
Different first characteristic parameters and/or second characteristic parameters correspond to different pulse characteristic values. For example, when the first characteristic parameter includes the shell thickness and the pulse characteristic value includes the number of pulses, the shell thickness is positively correlated with the number of pulses, that is, the number of pulses tends to increase with the shell thickness, and the number of pulses tends to decrease with the shell thickness. For another example, when the second characteristic parameter includes a distance between the transmitter and the receiver and the pulse characteristic value includes a pulse number, the pulse number is positively correlated with the distance, that is, the pulse number increases with the increase of the distance between the transmitter and the receiver, and the pulse number decreases with the decrease of the distance between the transmitter and the receiver.
And step S13, driving the ultrasonic detection module to send an ultrasonic signal to the target area according to the pulse signal corresponding to the pulse feature value.
Specifically, the pulse signal corresponding to the pulse characteristic value is input to the transmitter of the ultrasonic detection module, so that the transmitter sends out a corresponding ultrasonic signal.
In the embodiment, the characteristics of the shell and/or the characteristics of the ultrasonic detection module are adapted to determine the corresponding pulse signal to drive the ultrasonic detection module to generate the pulse signal of the ultrasonic signal, so that the reflected signal received by the receiver can have a sufficiently large amplitude even when the pressure value received by the target area is small, and the accuracy of pressure detection of the electronic device is further improved.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a pressure detection program is stored on the computer-readable storage medium, and when the pressure detection program is executed by a processor, the relevant steps of any embodiment of the above pressure detection method are implemented.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an electronic device, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (11)

1. A pressure detection method, characterized by comprising the steps of:
transmitting an ultrasonic signal towards a target area, and receiving a reflected signal corresponding to the ultrasonic signal; the reflected signal is a signal formed by reflecting the ultrasonic signal by the contact action on the target area;
determining a signal characteristic value of the reflected signal;
and determining a target pressure value applied to the target area by the contact action according to the signal characteristic value.
2. The pressure detection method of claim 1, wherein the signal characteristic value comprises an amplitude variation parameter of the reflected signal, the amplitude variation parameter characterizing a characteristic parameter of the reflected signal that varies with time in signal amplitude, and the step of determining the target pressure value applied to the target area by the contact action according to the signal characteristic value comprises:
determining the duration of the signal amplitude of the reflected signal being greater than a preset threshold value according to the amplitude variation parameter;
and determining the target pressure value according to the duration.
3. The pressure detection method of claim 2, wherein the step of determining the target pressure value as a function of the duration comprises:
determining a time difference value between a preset time length and a duration time length;
and determining the target pressure value according to the time difference value.
4. The pressure detection method of claim 3, wherein the step of determining the target pressure value from the time difference value comprises:
inquiring the preset mapping table according to the time difference value, and taking a pressure value which has a mapping relation with the time difference value in the preset mapping table as the target pressure value;
and/or the target pressure value is positively correlated with the time difference value.
5. The pressure detection method according to claim 1, wherein the signal characteristic values are different when the contact areas of the contact actions in the target area are different.
6. The pressure testing method of any of claims 1-5, wherein the target area is an area on an outer surface of a housing, an ultrasonic testing module is disposed within the housing, and the step of transmitting an ultrasonic signal toward the target area comprises:
acquiring a first characteristic parameter of the shell, and/or acquiring a second characteristic parameter of the ultrasonic detection module;
determining a pulse characteristic value of the ultrasonic detection module according to the first characteristic parameter and/or the second characteristic parameter of the shell;
and driving the ultrasonic detection module to send an ultrasonic signal to the target area according to the pulse signal corresponding to the pulse characteristic value.
7. The pressure testing method of claim 6, wherein said step of obtaining a first characteristic parameter of said housing comprises:
obtaining the thickness and/or the material of the shell, wherein the first characteristic parameter comprises the thickness and/or the material;
and/or the step of acquiring the second characteristic parameter of the ultrasonic detection module comprises:
acquiring a distance between a transmitter and a receiver of the ultrasonic detection module and/or a resonance frequency of the ultrasonic detection module, wherein the second characteristic parameter comprises the distance and/or the resonance frequency, the transmitter is used for transmitting the ultrasonic signal, and the receiver is used for receiving the reflected signal.
8. An electronic device, characterized in that the electronic device comprises a pressure detection apparatus, the pressure detection apparatus comprising:
the ultrasonic detection module is used for transmitting an ultrasonic signal and receiving a reflected signal of the ultrasonic signal;
a controller, the ultrasonic detection module with the controller is connected, the controller includes: memory, a processor and a pressure detection program stored on the memory and executable on the processor, the pressure detection program when executed by the processor implementing the steps of the pressure detection method according to any one of claims 1 to 7.
9. The electronic device of claim 8, wherein the ultrasonic detection module is a piezoelectric ultrasonic transducer;
and/or, the number of ultrasonic detection modules is a plurality, and a plurality of ultrasonic detection modules are all connected with the controller.
10. The electronic device according to claim 9, further comprising a flexible circuit board, wherein when the number of the ultrasonic detection modules is plural, a plurality of the ultrasonic detection modules are provided to the flexible circuit board, and the flexible circuit board is connected to the controller.
11. A computer-readable storage medium, characterized in that a pressure detection program is stored thereon, which when executed by a processor implements the steps of the pressure detection method according to any one of claims 1 to 7.
CN202111425644.1A 2021-11-26 2021-11-26 Pressure detection method, electronic device and computer-readable storage medium Active CN114112134B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111425644.1A CN114112134B (en) 2021-11-26 2021-11-26 Pressure detection method, electronic device and computer-readable storage medium
PCT/CN2021/135590 WO2023092639A1 (en) 2021-11-26 2021-12-06 Pressure measurement method, and electronic device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111425644.1A CN114112134B (en) 2021-11-26 2021-11-26 Pressure detection method, electronic device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN114112134A true CN114112134A (en) 2022-03-01
CN114112134B CN114112134B (en) 2023-01-24

Family

ID=80370614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111425644.1A Active CN114112134B (en) 2021-11-26 2021-11-26 Pressure detection method, electronic device and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN114112134B (en)
WO (1) WO2023092639A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104048786A (en) * 2014-06-09 2014-09-17 中国航空工业集团公司北京航空材料研究院 Method for nondestructive measurement of residual stress field in metal plate through ultrasonic waves
CN106249848A (en) * 2015-07-31 2016-12-21 北京智谷睿拓技术服务有限公司 Exchange method and equipment
CN106932038A (en) * 2015-12-30 2017-07-07 浙江大学 A kind of time detecting method for improving transit-time ultrasonic flow meter antijamming capability
CN109612611A (en) * 2018-12-17 2019-04-12 交通运输部公路科学研究所 A kind of method of ultrasound detection structure perpetuity stress
CN110297559A (en) * 2019-06-24 2019-10-01 Oppo广东移动通信有限公司 Electronic equipment and pressure information acquisition methods
CN111337171A (en) * 2020-04-03 2020-06-26 北京工商大学 Acoustic time difference measuring method applied to critical refraction longitudinal wave stress detection
CN111579134A (en) * 2020-04-22 2020-08-25 欧菲微电子技术有限公司 Ultrasonic pressure detection module, detection method thereof and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108562890B (en) * 2017-12-29 2023-10-03 努比亚技术有限公司 Method and device for calibrating ultrasonic characteristic value and computer readable storage medium
CN112131905A (en) * 2019-06-24 2020-12-25 Oppo广东移动通信有限公司 Ultrasonic fingerprint identification method and device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104048786A (en) * 2014-06-09 2014-09-17 中国航空工业集团公司北京航空材料研究院 Method for nondestructive measurement of residual stress field in metal plate through ultrasonic waves
CN106249848A (en) * 2015-07-31 2016-12-21 北京智谷睿拓技术服务有限公司 Exchange method and equipment
CN106932038A (en) * 2015-12-30 2017-07-07 浙江大学 A kind of time detecting method for improving transit-time ultrasonic flow meter antijamming capability
CN109612611A (en) * 2018-12-17 2019-04-12 交通运输部公路科学研究所 A kind of method of ultrasound detection structure perpetuity stress
CN110297559A (en) * 2019-06-24 2019-10-01 Oppo广东移动通信有限公司 Electronic equipment and pressure information acquisition methods
CN111337171A (en) * 2020-04-03 2020-06-26 北京工商大学 Acoustic time difference measuring method applied to critical refraction longitudinal wave stress detection
CN111579134A (en) * 2020-04-22 2020-08-25 欧菲微电子技术有限公司 Ultrasonic pressure detection module, detection method thereof and electronic equipment

Also Published As

Publication number Publication date
CN114112134B (en) 2023-01-24
WO2023092639A1 (en) 2023-06-01

Similar Documents

Publication Publication Date Title
US11555922B2 (en) Object detection device
US11209542B2 (en) Object detection device
EP3350678A1 (en) Detecting touch input provided by signal transmitting stylus
CN110850416B (en) Distance measuring method, ultrasonic distance measuring device, electric appliance and computer readable storage medium
CN109656398B (en) Touch device and operation method thereof
US20200033181A1 (en) Liquid level detector
CN101458074A (en) Ultrasonic thickness meter with sensor automatic recognition function
CN104359972A (en) Method and device for detecting physical property of object
WO2013114809A1 (en) Ultrasound sensor
US20210055397A1 (en) Object detection device
CN103995483A (en) Control method, device and system of ultrasonic transducer
CN114112134B (en) Pressure detection method, electronic device and computer-readable storage medium
KR101604762B1 (en) Apparatus for controlling ultrasonic sensor and control method thereof
KR20110095272A (en) Method for determining the starting instant of a periodically oscillating signal response
JP2006145403A (en) Ultrasonic measurement circuit and liquid-level detection system using the same
US20130081469A1 (en) Multi-sensing apparatus and method thereof
CN204241422U (en) The device of inspected object physical attribute
CN111832544A (en) Ultrasonic fingerprint sensor and operation method thereof
KR101907458B1 (en) Apparatus and method for driving ultrasonic sensor
CN114448103A (en) Techniques to detect the presence of a foreign object on the surface of a wireless charging transmitter by measuring a figure of merit during a charging session
EP2351527A1 (en) Material hardness distribution display system and material hardness distribution display method
CN112805589A (en) Object detection device
US11385095B2 (en) Ultrasonic distance measuring device
US11525674B2 (en) Systems and methods for measuring properties using bulk acoustic waves
WO2023248564A1 (en) Atmosphere state measurement 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221129

Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong

Applicant after: GOERTEK TECHNOLOGY Co.,Ltd.

Address before: 261031 workshop 1, phase III, Geer Photoelectric Industrial Park, 3999 Huixian Road, Yongchun community, Qingchi street, high tech Zone, Weifang City, Shandong Province

Applicant before: GoerTek Optical Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant