Touch position determination method and device and storage medium
By using piezoelectric oscillators to collect and analyze the electric signal, the problem of reduced perception accuracy of capacitive films in complex vehicle usage scenarios is solved, and high-accurate touch point positioning and sun exposure performance are improved.
Patent Information
- Application Number
- CN202311165892.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-08
- Publication Date
- 2025-03-18
AI Technical Summary
In the complex use scenarios of vehicles, the accuracy of the existing capacitive films is reduced, and they are prone to scratches and have poor exposure to sunlight.
Multiple piezoelectric oscillators are used to collect electrical signals, and by receiving and analyzing electrical signals, the position information of the touch point is determined, and the position information and electrical signal characteristics of the piezoelectric oscillators are used to accurately locate the touch point.
It improves the accuracy of touch point positioning, enhances the equipment's exposure to sun resistance, and has a high degree of integration with the vehicle surface materials, avoiding the reduction of perceived performance.
Smart Images

Figure CN119645242A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of touch technology, and in particular to a touch position determination method, device and storage medium. Background Art
[0002] In the related art, capacitive films are usually used on vehicles to sense the touch position. However, capacitive films are difficult to integrate with the surface materials of the vehicle, which makes the surface of the capacitive film easy to be scratched, and the sensing performance of the capacitive film is reduced after being scratched. In addition, since the use scenarios of vehicles include a large number of open-air scenes, if a capacitive film is installed on the vehicle to sense the touch position, when the capacitive film is exposed to the sun for a long time, it will cause the capacitive film to age and the sensing performance will be reduced. Furthermore, the problem in the related art is that the existing capacitive film on the vehicle will cause the accuracy of sensing the touch position to be reduced when facing the complex use scenarios of the vehicle. Summary of the invention
[0003] One object of the present application is to provide a method for determining a touch position, the advantage of which is that by receiving electrical signals respectively collected by a plurality of piezoelectric vibrators, and based on at least one electrical signal point with similarity in the plurality of electrical signals, a first electrical signal point corresponding to each of the electrical signals is determined, the first electrical signal point thus obtained can represent the signal value of the touch point at the first time point collected by the piezoelectric vibrator; at the same time, by determining a proportional relationship between a plurality of first touch distances based on the first electrical signal point corresponding to each of the electrical signals in the plurality of electrical signals, the first touch distance is the distance between the piezoelectric vibrator and the touch point at the first time point; based on the position signals of the plurality of piezoelectric vibrators Information is used to determine the position information of the touch point at the first time point. In this way, it can be considered that the farther away from the touch point, the greater the attenuation of the mechanical elastic wave, the smaller the mechanical elastic wave pressure induction received by the piezoelectric vibrator, and the smaller the corresponding electrical signal output. Combined with the position information of each piezoelectric vibrator, the positioning of the touch point can be achieved through geometric relationships; at the same time, since the piezoelectric vibrator can be perfectly integrated with the surface material of the vehicle, and the piezoelectric vibrator is resistant to exposure, it has stable performance in the face of complex vehicle usage scenarios. The proportional relationship between the first touch distances is determined by the first electrical signal point, and then combined with the position information of the piezoelectric vibrator, the position information of the touch point can be accurately determined.
[0004] Another object of the present application is to provide a method for determining a touch position, the advantage of which is that by using the proportional relationship between the inverses of multiple first electrical signal points as the proportional relationship between multiple first touch distances, the negative correlation between the first touch distance between the touch point and the piezoelectric vibrator and the first electrical signal point corresponding to the piezoelectric vibrator can be accurately described, thereby improving the accuracy of touch point positioning.
[0005] Another object of the present application is to provide a touch position determination method, which has the advantage of constructing multiple position relationship equations and determining the position information of the touch point at the first time point based on the proportional relationship between the multiple position relationship equations and the multiple first touch distances corresponding to the first time point; in this way, the proportional relationship between each first touch distance and the position information of each piezoelectric vibrator can be used to determine a unique position on the touch panel as the position information of the touch point at the first time point, thereby improving the accuracy of touch point positioning.
[0006] Another object of the present application is to provide a method for determining a touch position, the advantage of which is that after determining the starting touch point of the touch action, by determining the characteristic time point of the starting touch point relative to each piezoelectric vibrator (electric signal), at least one second time point corresponding to each of the electric signals is generated based on a preset sampling interval. In this way, for each piezoelectric vibrator (electric signal), the present application can take into account the different distances between the touch point and each piezoelectric vibrator, determine different characteristic time points for different piezoelectric vibrators, and at the same time, add the same preset sampling interval to different characteristic time points to obtain the second time points corresponding to each electric signal. In this way, when the touch point at the second time point is related to the second touch distance and the second touch distance changes, the position information of the subsequent touch point can be estimated by an engineering approximation method; at the same time, by obtaining the position information of the touch point at the first time point and the position information of the touch point at the second time point, the present application can be applied to interactive scenarios such as touch trajectory recognition and gesture recognition, and the application scenarios are more abundant, which improves the application scope of the present application scheme.
[0007] Another object of the present application is to provide a method for determining a touch position, the advantage of which is that a target piezoelectric vibrator is determined among other piezoelectric vibrators based on the position information of the touch point; the other piezoelectric vibrators do not belong to the multiple piezoelectric vibrators; the target piezoelectric vibrator is driven to perform feedback based on a feedback strategy; the feedback strategy is determined based on the position information of the touch point, the target piezoelectric vibrator and each of the electrical signals, so that the piezoelectric effect of the target piezoelectric vibrator can be utilized to give the panel material feedback capability, and because the feedback strategy is determined based on the position information of the touch point, the target piezoelectric vibrator and each of the electrical signals, the target piezoelectric vibrator can accurately reflect the relevant information of the touch when providing feedback using the driving strategy, thereby improving the user experience.
[0008] Another object of the present application is to provide a method for determining a touch position, the advantage of which is that the target piezoelectric vibrator is driven to perform vibration feedback based on a first vibration parameter; the first vibration parameter is determined based on the position information of the touch point, the target piezoelectric vibrator and each of the electrical signals; the first vibration parameter includes at least one of the following: a first vibration type, a first vibration intensity and a first vibration frequency; when the target piezoelectric vibrator is a non-sound-generating vibration type piezoelectric vibrator, it is determined that the first vibration frequency does not fall within the sound wave frequency range; the first vibration type is determined based on the position represented by the position information of the touch point, and the first vibration intensity is positively correlated with the signal value represented by each of the electrical signals; in this way, when a user touches, the non-sound-generating piezoelectric vibrator can be used to provide vibration feedback to the user, so that the user can clearly perceive the intensity of the touch.
[0009] Another object of the present application is to provide a method for determining a touch position, which has the advantage of driving the target piezoelectric vibrator for sound feedback based on a second vibration parameter; the second vibration parameter is determined based on the position information of the touch point, the target piezoelectric vibrator and each of the electrical signals; the second vibration parameter includes at least one of the following: a second vibration type, a second vibration intensity and a second vibration frequency; when the target piezoelectric vibrator is a sound-generating vibration type piezoelectric vibrator, it is determined that the second vibration frequency belongs to the sound wave frequency range; the second vibration type is determined based on the position represented by the position information of the touch point, and the second vibration intensity is positively correlated with the signal value represented by each of the electrical signals, so that when the user touches, the sound-generating piezoelectric vibrator can be used to provide sound feedback to the user, so that the user can clearly perceive the intensity of the touch. At the same time, by driving the target piezoelectric vibrator for sound feedback based on the second vibration parameter; in this way, when the user touches, the sound-generating piezoelectric vibrator can be used to provide sound feedback to the user, so that the user can clearly perceive the intensity of the touch.
[0010] Another object of the present application is to provide a touch position determination method, the advantage of which is that by determining at least one electrical signal point with similarity in each of the multiple electrical signals, in this way, in the process of locating the first electrical signal point corresponding to the electrical signal, each first electrical signal point can be located in at least one electrical signal point in the electrical signal; that is, the problem of finding the first electrical signal point from the electrical signal (as a whole) is converted into the problem of finding the first electrical signal point from at least one electrical signal point (local), so that the accuracy of the first electrical signal point can be improved; further, in at least one electrical signal point of each electrical signal, the peak electrical signal point is used as the first electrical signal point corresponding to each electrical signal, and the signal value of each peak electrical signal point is used to determine the proportional relationship between each first touch distance, so that the position information of the touch point can be accurately determined.
[0011] Another object of the present application is to provide a touch position determination method, which has the advantage of determining the window signal corresponding to each electrical signal based on the waveform similarity between each electrical signal; wherein the similarity between the window signals corresponding to each electrical signal satisfies a preset condition; the window signal includes multiple electrical signal points; based on the time period corresponding to the window signal corresponding to each electrical signal, the first electrical signal point corresponding to each electrical signal is determined, so that since the waveform of the electrical signal formed by each piezoelectric vibrator is similar, each determined window signal corresponds to a waveform in the elastic wave, and the first electrical signal point determined by the time period of the window signal can accurately reflect the signal value generated after the same energy point of the elastic wave reaches each piezoelectric vibrator, and then the proportional relationship between multiple first touch distances is determined based on the first electrical signal point corresponding to each electrical signal, so that the position information of the touch point can be accurately determined.
[0012] Another object of the present application is to provide a method for determining a touch position, the advantage of which is that the piezoelectric vibrator includes at least one of the following types: the piezoelectric vibrator arranged on the vehicle interior panel, the piezoelectric vibrator arranged on the vehicle window panel, the piezoelectric vibrator arranged on the vehicle exterior panel, and the piezoelectric vibrator arranged on the vehicle seat surface. In this way, since the piezoelectric vibrator can adapt to various complex usage scenarios of the vehicle, when a touch operation is performed on any one of the vehicle interior panel, the vehicle window panel, the vehicle exterior panel and the vehicle seat surface, the position information of the touch point can be accurately determined based on the electrical signal of the piezoelectric vibrator.
[0013] One purpose of the present application is to provide a touch position determination device, the advantage of which is that the touch position determination device includes: a plurality of piezoelectric vibrators, a memory and a processor; the plurality of piezoelectric vibrators are communicatively connected to the processor; wherein the piezoelectric vibrators collect electrical signals; the memory stores a computer program that can be run on the processor; and the processor implements the steps in the above method when executing the computer program. In this way, since the piezoelectric vibrator can adapt to various complex usage scenarios of the vehicle, the above computer program can be executed by the processor to use the electrical signal of the piezoelectric vibrator to accurately determine the position information of the touch point.
[0014] Another object of the present application is to provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps in the above method when executed by a processor. In this way, since the piezoelectric vibrator can adapt to various complex usage scenarios of the vehicle, the position information of the touch point can be accurately determined by using the electrical signal of the piezoelectric vibrator through the computer program in the computer-readable storage medium.
[0015] To achieve the above purpose, the technical solution of the embodiment of the present application is implemented as follows:
[0016] On the one hand, an embodiment of the present application provides a touch position determination method, including:
[0017] Receiving electrical signals collected by a plurality of piezoelectric vibrators;
[0018] Based on at least one electrical signal point with similarity among the plurality of electrical signals, determining a first electrical signal point corresponding to each of the electrical signals; the first electrical signal point is a signal value of a touch point at a first time point collected by the piezoelectric vibrator;
[0019] Based on a first electrical signal point corresponding to each of the electrical signals in the plurality of electrical signals, determining a proportional relationship between a plurality of first touch distances; the first touch distance being the distance between the piezoelectric vibrator and the touch point at the first time point;
[0020] Based on the proportional relationship between the plurality of first touch distances corresponding to the first time point and the position information of the plurality of piezoelectric vibrators, the position information of the touch point at the first time point is determined.
[0021] On the other hand, an embodiment of the present application provides a touch position determination device, comprising a plurality of piezoelectric vibrators, a memory, and a processor; the plurality of piezoelectric vibrators are communicatively connected to the processor; wherein,
[0022] The piezoelectric vibrator collects electrical signals;
[0023] The memory stores a computer program executable on the processor;
[0024] When the processor executes the computer program, the steps in the above method are implemented.
[0025] On the other hand, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps in the above method when executed by a processor.
[0026] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
[0028] Figure 1 A schematic diagram of an implementation flow of a touch position determination method provided in an embodiment of the present application;
[0029] Figure 2 A schematic diagram of a touch panel structure provided in an embodiment of the present application Figure 1 ;
[0030] Figure 3 A schematic diagram of an implementation flow of a touch position determination method provided in an embodiment of the present application;
[0031] Figure 4 A schematic diagram of an implementation flow of a touch position determination method provided in an embodiment of the present application;
[0032] Figure 5 A schematic diagram of an implementation flow of a touch position determination method provided in an embodiment of the present application;
[0033] Figure 6 A schematic diagram of an implementation flow of a touch position determination method provided in an embodiment of the present application;
[0034] Figure 7 A schematic diagram of an implementation flow of a touch position determination method provided in an embodiment of the present application;
[0035] Figure 8 A schematic diagram of an implementation flow of a touch position determination method provided in an embodiment of the present application;
[0036] Fig.9A A schematic diagram of an implementation flow of a touch position determination method provided in an embodiment of the present application;
[0037] Fig. 9B A schematic diagram of an electrical signal provided in an embodiment of the present application Figure 1 ;
[0038] Fig. 10A A schematic diagram of an implementation flow of a touch position determination method provided in an embodiment of the present application;
[0039] Fig. 10B A schematic diagram of an electrical signal provided in an embodiment of the present application Figure 2 ;
[0040] Fig.11 A schematic diagram of the structure of a vehicle electronic unit provided in an embodiment of the present application;
[0041] Fig.12 A schematic diagram of the structure of a touch position determination device provided in an embodiment of the present application;
[0042] Fig.13 A hardware entity diagram of a touch position determination device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0044] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. The terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific order for the objects. It is understood that "first / second / third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0045] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing this application and are not intended to limit this application.
[0046] In the related technology, vehicles face the following problems: With the development of automobile technology, automobile intelligence is the current theme. Concepts such as intelligent surfaces of automobile interiors, plastic-electric integration, and the integration of electronic devices and interiors are popular topics now. These concepts are all based on touch panels. Touch panels can also be integrated on automobile panels or interior panels through inlay injection molding and lamination processes. The touch panel uses sensing technology based on capacitive films. The circuit under the capacitive sensing button can generate a uniformly distributed electrostatic field. When the user's finger moves above the button, the capacitance on the surface of the button changes. The relevant circuit inside the button makes a judgment based on this change in capacitance to achieve the predetermined function. However, it is difficult for the capacitive film to merge with the surface material of the vehicle, resulting in the easy scratching of the capacitive film surface, and the perception performance of the capacitive film after scratching is reduced. In addition, since the use scenarios of the vehicle include a large number of open-air scenes, if a capacitive film is installed on the vehicle to sense the touch position, when the capacitive film is exposed to the sun for a long time, it will cause the capacitive film to age and the perception performance will be reduced. Therefore, when capacitive films are applied to vehicles, complex usage scenarios of the vehicles may easily lead to low accuracy in sensing the touch position.
[0047] In view of the above technical problem, a piezoelectric vibrator can be used to replace the capacitive film to solve the technical problem of low accuracy in sensing the touch position in the related art.
[0048] Piezoelectric vibrators have excellent sensing capabilities. By using their positive piezoelectric effect, piezoelectric vibrators generate corresponding electrical signals (such as voltage / current) changes to the external pressure, and can sense the size of the external pressure. Using its inverse piezoelectric effect, electrical signals can be generated at both ends of its positive and negative electrodes, which can generate vibrations or drive the panel to vibrate or make sounds within the sound frequency range. Piezoelectric vibrators can be mounted inside the touch panel to enable the touch panel to sense and feedback. Many functions can be achieved. For example, on the surface of a car, a touch panel enabled by a piezoelectric vibrator can be used to replace traditional physical buttons or capacitive sensing panels. While making the vehicle surface more tidy and beautiful, it can also ensure stable touch sensing performance. The touch panel enabled by a piezoelectric vibrator can be set on any curved surface on the surface of the car, which can sense the user's tapping and stroking, so that when the touch panel is tapped, the vehicle will respond. Ask the user for instructions. For example, the user can say: "Connect the rear screen to the surface of the car." In this way, users can use the car surface as a touch screen to input text or draw with the surface materials. Users in the back row can also use the car surface as a mouse to directly control the front central control screen, such as adjusting the rear lights or controlling the rear air conditioning, etc. For another example, when the side window glass has a video display (such as a projection display), the door panel interior under the side window glass can also be used as a touch panel to adjust or select the video display content on the window.
[0049] The above applications can be used not only on automotive touch panels, but also in other fields, such as touch panels for smart homes. In order to realize an integrated solution of touch perception + touch feedback on panel materials, multiple piezoelectric vibrators can be mounted on the back of a touch panel made of flat material or curved thin material. The smaller the contact area between the piezoelectric vibrator and the touch panel, the better. In this way, the pressure on the surface of the touch panel can be more concentratedly sensed by the piezoelectric vibrator, and this sensing point is the center position of the piezoelectric vibrator. Therefore, the smaller the area of the piezoelectric vibrator, the higher the accuracy of the touch position perception.
[0050] Multiple piezoelectric vibrators can be mounted on the back of the touch panel. When the surface of the touch panel receives pressure, elastic waves will be generated on the surface of the touch panel. At this time, the elastic waves will be transmitted to different piezoelectric vibrators, and corresponding elastic waveforms will be picked up on different piezoelectric vibrators. The elastic wave shapes of these elastic waveforms are basically the same, the difference is that the arrival time points are different and the arrival waveform amplitudes are different. In order to determine the position information of the touch point on the touch panel, the present application provides a touch position determination method, which can be processed and executed by a vehicle-mounted computer device, wherein the computer device may refer to a vehicle computer, a laptop computer, a tablet computer, a desktop computer, a mobile device (such as a mobile phone, a portable video player, a personal digital assistant, a dedicated messaging device, a portable gaming device) and other devices with data processing capabilities.
[0051] Figure 1 A schematic diagram of an implementation flow of a touch position determination method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method includes the following steps S101 to S104:
[0052] Step S101: receiving electrical signals respectively collected by a plurality of piezoelectric vibrators.
[0053] In an embodiment of the present application, a plurality of piezoelectric vibrators are provided on the touch panel. When a user taps the touch panel, electrical signals respectively collected by the plurality of piezoelectric vibrators under the action of the positive piezoelectric effect can be received. In some embodiments, the electrical signals can be voltage signals or current signals.
[0054] Among them, when the piezoelectric vibrator is subjected to knocking pressure, the piezoelectric vibrator undergoes mechanical deformation, and a potential difference is generated. The positive or negative of the potential difference is related to the direction of the mechanical deformation, and the size of the potential difference is related to the size of the mechanical deformation. When the mechanical deformation is restored, the potential difference disappears. This phenomenon of converting mechanical energy into electrical energy is called the "positive piezoelectric effect". The piezoelectric vibrator has excellent sensing ability. The positive piezoelectric effect of the piezoelectric vibrator can generate a corresponding voltage signal for the knocking pressure, and the size of the external pressure can be sensed. In other embodiments, the size of the external pressure can also be sensed by the current detection method, that is, detecting the current flowing through the piezoelectric vibrator end. Through the current detection circuit, the current that changes in amplitude over time can be detected. When the current is detected, the change of the current amplitude over time is consistent with the change of the voltage amplitude over time, so the current detection method is also applicable to touch and positioning.
[0055] In other embodiments, each touch panel on the vehicle is provided with a plurality of piezoelectric vibrators. When a user touches any panel, an electrical signal collected by the plurality of piezoelectric vibrators of the touch panel under the action of the positive piezoelectric effect can be received.
[0056] In some embodiments, the piezoelectric vibrator includes at least one of the following types: a piezoelectric vibrator disposed on a vehicle interior panel, a piezoelectric vibrator disposed on a vehicle window panel, a piezoelectric vibrator disposed on a vehicle exterior panel, and a piezoelectric vibrator disposed on a vehicle seat surface.
[0057] Exemplary, combined Figure 2 In some embodiments, the touch panel of the vehicle is provided with piezoelectric vibrator 1, piezoelectric vibrator 2, piezoelectric vibrator 3 and piezoelectric vibrator 4. Among them, piezoelectric vibrator 1, piezoelectric vibrator 2, piezoelectric vibrator 3 and piezoelectric vibrator 4 can be arranged on the inner side of the touch panel. Figure 2 The piezoelectric vibrator in the figure is only for the convenience of demonstration. When the user taps the touch panel, the electrical signals collected by the piezoelectric vibrator 1, the piezoelectric vibrator 2, the piezoelectric vibrator 3 and the piezoelectric vibrator 4 can be received.
[0058] Step S102: determining a first electrical signal point corresponding to each electrical signal based on at least one electrical signal point having similarity among the plurality of electrical signals; the first electrical signal point is a signal value of a touch point at a first time point collected by a piezoelectric vibrator.
[0059] In the embodiment of the present application, when the energy of the touch tap is transmitted to each piezoelectric vibrator, the energy waves received by each piezoelectric vibrator are similar, so the electrical signals collected by the multiple piezoelectric vibrators are also similar. Based on the similar features between the multiple electrical signals, at least one electrical signal point with similarity can be determined in each electrical signal.
[0060] In the embodiment of the present application, the number of at least one electrical signal point may be one or more. When an electrical signal point is determined in each electrical signal, the electrical signal point is determined to be the first electrical signal point. When multiple electrical signal points having similarity are determined in each electrical signal, the Nth electrical signal point among the multiple electrical signal points is determined to be the first electrical signal point, where N is an integer.
[0061] In some embodiments, after a plurality of similar electrical signal points are determined in each electrical signal, an electrical signal point corresponding to a maximum signal value among the plurality of electrical signal points is determined as the first electrical signal point.
[0062] In some embodiments, when the electrical signal is a voltage signal, the at least one electrical signal point is a voltage point in the voltage signal; when the electrical signal is a current signal, the at least one electrical signal point is a current point in the current signal.
[0063] Step S103: determining a proportional relationship between a plurality of first touch distances based on a first electrical signal point corresponding to each of the plurality of electrical signals; the first touch distance being the distance between the piezoelectric vibrator and the touch point at the first time point.
[0064] In an embodiment of the present application, when a certain position (i.e., a touch point) of the touch panel receives pressure, a balanced vibration in the direction of the pressure will be formed at the touch panel, and the vibration amplitude of the touch point is a direct response to the magnitude of the knocking force. The vibration of the touch panel at the touch point will be transmitted to the surrounding in the form of elastic wave transverse waves. The piezoelectric vibrator mounted on the touch panel will receive the elastic vibration wave induction, and will accordingly output a voltage / current of the corresponding amplitude according to the magnitude of the pressure induction amplitude received; that is, the greater the mechanical elastic wave pressure, the greater the voltage / current output, and the smaller the mechanical elastic wave pressure, the smaller the voltage / current output. The mechanical elastic wave pressure is linearly proportional to the output of the piezoelectric voltage / current. In addition, the farther away from the touch point, the greater the attenuation of the mechanical elastic wave, the smaller the mechanical elastic wave pressure induction received by the piezoelectric ceramic vibrator, and the smaller the corresponding voltage / current output.
[0065] It can be understood that, based on the above analysis, in the process of determining the position information of the touch point at the first time point, the elastic transverse wave formed by the touch point at the first time point in the touch panel will propagate around with the touch point as the center. At the same time, considering that the voltage / current output by the piezoelectric vibrator in response to the touch point at the first time point is negatively correlated with the first touch distance; therefore, the proportional relationship between multiple first touch distances can be determined based on the first electrical signal point corresponding to each of the above electrical signals.
[0066] In some embodiments, the negative correlation can be expressed as formula (1):
[0067] D = f(e) Formula (1);
[0068] Among them, e is the signal value of the first electrical signal point corresponding to the piezoelectric vibrator, D is the distance between the piezoelectric vibrator and the touch point at the first time point, that is, the first touch distance; f(v) is a negative correlation function, which describes the negative correlation between the voltage / current output by the piezoelectric vibrator in response to the touch point at the first time point and the first touch distance; it can be understood that the specific form of the negative correlation function is related to the panel material of the touch panel.
[0069] In some embodiments, when the signal values of the first electrical signal points corresponding to the three piezoelectric vibrators corresponding to the first time point are e1, e2 and e3 respectively, the proportional relationship between the first touch distances (D1, D2 and D3) corresponding to the three piezoelectric vibrators respectively can be reflected by formula (2).
[0070] D1:D2:D3=f(e1):f(e2):f(e3) Formula (2);
[0071] It should be noted that the above-mentioned first time point is the time point at which the touch point is generated based on the first electrical signal points corresponding to the multiple piezoelectric vibrators, but due to the different first touch distances, the time corresponding to the first electrical signal point in the electrical signal output by each piezoelectric vibrator is different. In other words, assuming that a touch point is generated at time t0 (the first time point), the time at which the vibration generated by the touch point reaches each piezoelectric vibrator is different. Therefore, piezoelectric vibrator 1 can output the first electrical signal point corresponding to the first time point at time t1; piezoelectric vibrator 2 can output the first electrical signal point corresponding to the first time point at time t2; and so on. The time at which different piezoelectric vibrators receive the vibration generated by the touch point at the first time point may be different, but they are all generated in response to the touch point at the first time point.
[0072] Step S104: determining the position information of the touch point at the first time point based on the proportional relationship between the plurality of first touch distances corresponding to the first time point and the position information of the plurality of piezoelectric vibrators.
[0073] In an embodiment of the present application, a set of equations can be constructed based on the proportional relationship between multiple first touch distances, the position information of each piezoelectric vibrator, the position information of the touch point at the first time point and the geometric relationship between the first touch distances of each piezoelectric vibrator, and then solved to obtain the position information of the touch point at the first time point.
[0074] It is understandable that in order to determine the position information of the touch point at the first time point, at least three piezoelectric vibrators are required, that is, at least the proportional relationship between the three first touch distances and the corresponding position information of the three piezoelectric vibrators are required to determine the position information of the touch point at the first time point.
[0075] In the embodiment of the present application, by receiving electrical signals respectively collected by a plurality of piezoelectric vibrators, and determining a first electrical signal point corresponding to each of the electrical signals based on at least one electrical signal point with similarity in the plurality of electrical signals, the first electrical signal point obtained can represent the signal value of the touch point collected by the piezoelectric vibrator at the first time point; at the same time, by determining the proportional relationship between the plurality of first touch distances based on the first electrical signal point corresponding to each of the plurality of electrical signals, and determining the position information of the touch point at the first time point based on the position information of the plurality of piezoelectric vibrators, in this way, the principle that the farther away from the touch point, the greater the attenuation of the mechanical elastic wave, the smaller the mechanical elastic wave pressure induction received by the piezoelectric vibrator, and the smaller the corresponding voltage / current output can be considered, and the position information of each piezoelectric vibrator can be combined to realize the positioning of the touch point through the geometric relationship; at the same time, because the piezoelectric vibrator can be perfectly integrated with the surface material of the vehicle, and the piezoelectric vibrator has the characteristics of being resistant to exposure, the performance is stable when facing complex usage scenarios of the vehicle, and the proportional relationship between the first touch distances is determined by the first electrical signal point, and then combined with the position information of the piezoelectric vibrator, the position information of the touch point can be accurately determined.
[0076] Figure 3 FIG. 1 is an optional flow chart of a touch position determination method provided in an embodiment of the present application, and the method can be executed by a processor of an onboard computer device. Figure 1 , Figure 1 Step S103 in can be updated to step S301, combining Figure 3 The steps shown are explained.
[0077] Step S301: taking the proportional relationship between the reciprocals of the first electrical signal points as the proportional relationship between the first touch distances.
[0078] Among them, when the first touch distance is the same, the amplitude of the vibration signal received by the piezoelectric vibrator, that is, the signal value perceived by the vibrator, is only reflected in the magnitude of the intensity of the tapping or stroking at a certain point. This is because if the distance between the piezoelectric vibrator and the touch point remains unchanged, the greater the intensity of the tapping or stroking at the touch point, the piezoelectric vibrator at a distance can still receive a larger elastic wave vibration mechanical signal, that is, the larger the voltage / current perceived by the piezoelectric vibrator. On the contrary, it is smaller. When the force of tapping or stroking at the same particle position remains unchanged, the farther the piezoelectric vibrator is, the smaller the amplitude of the elastic wave vibration mechanical signal received, that is, the smaller the voltage / current perceived by the piezoelectric vibrator, so the perceived voltage / current of the piezoelectric vibrator is inversely proportional to the first touch distance. Different panel materials have different degrees of attenuation of transverse waves in the material due to different material deformations. For example, the stronger the rigidity of the material, the smaller the deformation and the greater the attenuation.
[0079] Therefore, for the same touch point, the tapping or stroking action issued at a specific time point, the voltage / current received by different vibrators is en respectively, because the voltage / current amplitude en received by the vibrator is inversely proportional to the first touch distance corresponding to the vibrator. In the embodiment of the present application, the negative correlation f(e) between the voltage / current output by the above-mentioned piezoelectric vibrator in response to the touch point at the first time point and the first touch distance can be expressed as formula (3).
[0080]
[0081] Among them, e is the signal value of the first electrical signal point corresponding to the piezoelectric vibrator, and D is the distance between the piezoelectric vibrator and the touch point at the first time point, that is, the first touch distance; accordingly, the proportional relationship between multiple first touch distances can be expressed as formula (4).
[0082]
[0083] In an embodiment of the present application, by taking the proportional relationship between the inverses of the multiple first electrical signal points as the proportional relationship between the multiple first touch distances, the negative correlation between the first touch distance between the touch point and the piezoelectric vibrator and the first electrical signal point corresponding to the piezoelectric vibrator can be accurately described, thereby improving the accuracy of touch point positioning.
[0084] Figure 4 FIG. 1 is an optional flow chart of a touch position determination method provided in an embodiment of the present application, and the method can be executed by a processor of an onboard computer device. Figure 1 , Figure 1 Step S104 in the above example can be updated to step S401 to step S402, combining Figure 4 The steps shown are explained.
[0085] Step S401, constructing a plurality of position relationship equations; the position relationship equations represent the relationship between the position information of the piezoelectric vibrator, the position information of the touch point at the first time point, and the first touch distance.
[0086] Assume that the positions of the piezoelectric vibrators on the touch panel are (a n , b n ), where n is the number of piezoelectric vibrators. The coordinates of piezoelectric vibrator 1 are (a 1 , b 1 ), the distance from the pressed touch point (X, Y) is D1, and the voltage / current received by the piezoelectric vibrator 1 from the touch point (X, Y) is e1. Similarly, the distances of other vibrators are Dn, and the voltage / current is en. The position relationship of a piezoelectric vibrator constructed in this way can be expressed as formula (5).
[0087] (Xa n ) 2 +(Yb n ) 2 =Dn 2 Formula (5);
[0088] Step S402: determining the position information of the touch point at the first time point based on the proportional relationship between the plurality of position relationship equations and the plurality of first touch distances corresponding to the first time point.
[0089] In some embodiments, taking the case where the multiple piezoelectric vibrators are three piezoelectric vibrators, the proportional relationship between the multiple first touch distances can be expressed as formula (2); and the position relationship equation corresponding to each piezoelectric vibrator is constructed using the above formula (5) to obtain three position relationship equations, and then a group of equations such as formula (6) can be constructed.
[0090]
[0091] In some other embodiments, when the proportional relationship between the plurality of first touch distances is expressed as formula (4), the constructed set of equations can be expressed as formula (7).
[0092]
[0093] By solving the equation group listed in the above formula (6) or formula (7), the position information (X, Y) of the touch point at the first time point can be obtained.
[0094] In an embodiment of the present application, a plurality of position relationship equations are constructed, and based on the proportional relationship between the plurality of position relationship equations and the plurality of first touch distances corresponding to the first time point, the position information of the touch point at the first time point is determined; in this way, the proportional relationship between the first touch distances and the position information of the piezoelectric vibrators can be used to determine a unique position on the touch panel as the position information of the touch point at the first time point, thereby improving the accuracy of touch point positioning.
[0095] Figure 5 FIG. 1 is an optional flow chart of a touch position determination method provided in an embodiment of the present application, and the method can be executed by a processor of an onboard computer device. Figure 1 , Figure 1 The method further includes steps S501 to S504, combining Figure 5 The steps shown are explained.
[0096] Step S501: Acquire a characteristic time point corresponding to the first electrical signal point in each of the electrical signals, and determine at least one second time point corresponding to each of the electrical signals according to a preset sampling interval.
[0097] In some embodiments, for each electrical signal, it is necessary to take the characteristic time point of the electrical signal as the starting point and determine at least one second time point corresponding to the electrical signal according to the preset sampling interval.
[0098] Exemplarily, if there is an electrical signal including a first electrical signal, a second electrical signal and a third electrical signal, for the sake of convenience, the characteristic time points of these three electrical signals are all within the same minute, wherein the characteristic time point corresponding to the first electrical signal is the 25th second, the characteristic time point corresponding to the second electrical signal is the 25.5th second, and the characteristic time point corresponding to the third electrical signal is the 26th second. When the preset sampling interval is 0.1 seconds, the second time points corresponding to the first electrical signal are the 25.1th second, the 25.2th second, ... the 25th + 0.1nth second; the second time points corresponding to the second electrical signal are the 25.6th second, the 25.7th second, ... the 25.5th + 0.1nth second; the second time points corresponding to the third electrical signal are the 26.1th second, the 26.2th second, ... the 26th + 0.1nth second; n is a positive integer, indicating the number of the second time points.
[0099] In some embodiments, the preset sampling interval can be adaptively adjusted based on the actual scenario. For example, in the case of a touch trajectory that requires higher precision, a relatively small preset sampling interval needs to be set. For example, in the case where the accurate touch trajectory needs to be restored based on the position information of the touch points at each second time point, a relatively small preset sampling interval needs to be set, such as 10ms, 20ms, etc.; in the case of a touch trajectory that requires lower precision, a relatively large preset time interval needs to be set. For example, in the case of only a touch trajectory with lower precision or discrete touch points, a relatively large preset sampling interval can be set. In this way, the calculation of the position information of non-essential touch points in the touch trajectory can be reduced, thereby reducing the amount of calculation.
[0100] Step S502: based on at least one second time point corresponding to the multiple electrical signals, sample the multiple electrical signals to obtain multiple second electrical signal points corresponding to each of the at least one second time point.
[0101] In the embodiment of the present application, for each electrical signal, it is necessary to sample the electrical signal based on at least one second time point corresponding to the electrical signal obtained above, so as to obtain a second electrical signal point corresponding to the electrical signal point at each second time point. Furthermore, by performing statistics at each second time point, multiple second electrical signal points corresponding to each second time point can be obtained.
[0102] Exemplarily, in the case where the electrical signal includes the first to third electrical signals in the above-mentioned embodiments, for the first electrical signal, the n second electrical signal points corresponding to the first electrical signal can be determined based on each second time point, including the second electrical signal point sampled at 25.1 seconds, the second electrical signal point sampled at 25.2 seconds, ... the second electrical signal point sampled at 25+0.1n seconds; the n second electrical signal points corresponding to the second electrical signal include the second electrical signal point sampled at 25.6 seconds, the second electrical signal point sampled at 25.7 seconds, ... the second electrical signal point sampled at 25.5+0.1n seconds; the n second electrical signal points corresponding to the third electrical signal include the second electrical signal point sampled at 26.1 seconds, the second electrical signal point sampled at 26.2 seconds. point,…the second electrical signal point sampled at 26+0.1n seconds; converted into data with the second time point as the statistic, it can be obtained that the multiple second electrical signal points corresponding to the first second time point (the first preset sampling interval) include the second electrical signal point sampled at 25.1 seconds of the first electrical signal, the second electrical signal point sampled at 25.6 seconds of the second electrical signal, and the second electrical signal point sampled at 26.1 seconds of the third electrical signal; the multiple second electrical signal points corresponding to the second second time point (the second preset sampling interval) include the second electrical signal point sampled at 25.2 seconds of the first electrical signal, the second electrical signal point sampled at 25.7 seconds of the second electrical signal, and the second electrical signal point sampled at 26.2 seconds of the third electrical signal; and so on.
[0103] Step S503: based on the plurality of second electrical signal points corresponding to each second time point, determine the proportional relationship between the plurality of second touch distances corresponding to each second time point; the second touch distance is the distance between the piezoelectric vibrator and the touch point at the second time point.
[0104] In the embodiment of the present application, for each second time point, based on the multiple second electrical signal points corresponding to the second time point, the proportional relationship between the multiple second touch distances corresponding to the second time point can be determined. It can be understood that the method for determining the proportional relationship between the multiple second touch distances corresponding to the second time point is the same as Figure 1 In the embodiment, the method for determining the proportional relationship between the plurality of first touch distances corresponding to the first time point is the same, and can refer to Figure 1 Specific implementation in the examples.
[0105] Exemplarily, for the first second time point, the proportional relationship between the multiple second touch distances corresponding to the first second time point can be determined based on the multiple second electrical signal points corresponding to the first second time point; the proportional relationship between the multiple second touch distances at other time points can be determined in the same way.
[0106] Step S504: determining the position information of the touch point at each second time point based on the proportional relationship between the plurality of second touch distances corresponding to each second time point and the position information of the plurality of piezoelectric vibrators.
[0107] In the embodiment of the present application, for each second time point, based on the proportional relationship between the plurality of second touch distances corresponding to the second time point and the position information of the plurality of piezoelectric vibrators, the position information of the touch point at the second time point is determined. It can be understood that the method for determining the position information of the touch point at the second time point is similar to Figure 1 In the embodiment, the method for determining the position information of the touch point at the first time point is the same as that in the embodiment. Figure 1 Specific implementation in the examples.
[0108] Exemplarily, for the first second time point, the position information of the touch point corresponding to the first second time point can be determined based on the proportional relationship between the multiple second touch distances corresponding to the first second time point and the position information of the multiple piezoelectric vibrators. The position information of the touch points at other time points can be determined in the same way.
[0109] In an embodiment of the present application, after determining the starting touch point of the touch action, by determining the characteristic time point of the starting touch point relative to each piezoelectric vibrator (electric signal), at least one second time point corresponding to each electric signal in each of the electric signals is generated based on a preset sampling interval. In this way, for each piezoelectric vibrator (electric signal), the present application can take into account the different distances between the touch point and each piezoelectric vibrator, determine different characteristic time points for different piezoelectric vibrators, and at the same time, add the same preset sampling interval to different characteristic time points to obtain the second time points corresponding to each electric signal. In this way, when the touch point at the second time point is related to the second touch distance and the second touch distance changes, the position information of the subsequent touch point can be estimated by an engineering approximation method; at the same time, by obtaining the position information of the touch point at the first time point and the position information of the touch point at the second time point, the present application can be applied to interactive scenarios such as touch trajectory recognition and gesture recognition, and the application scenarios are richer, which improves the application scope of the present application solution.
[0110] Figure 6 FIG. 1 is an optional flow chart of a touch position determination method provided in an embodiment of the present application, and the method can be executed by a processor of an onboard computer device. Figure 5 , Figure 5 The method may further include step S601, combining Figure 6 The steps shown are explained.
[0111] Step S601: Generate a touch track according to the position information of the touch point at the first time point and the position information of at least one touch point at the second time point.
[0112] In some embodiments, the position information of the touch point at the first time point and the position information of the touch point at at least one of the second time points can be fitted to generate a touch trajectory by at least one of the following methods: polynomial fitting, spline interpolation, Bezier curve fitting, etc.
[0113] The polynomial fitting includes: fitting the position information of the touch point at a first time point and the position information of the touch point at a subsequent second time point into a polynomial equation, thereby generating a touch track.
[0114] Among them, the spline interpolation includes: connecting the position information of the touch point at the first time point and the position information of the touch point at the subsequent second time point through an interpolation algorithm to form a smooth touch trajectory; spline interpolation methods include linear interpolation, quadratic spline interpolation, cubic spline interpolation, etc.
[0115] Wherein, Bezier curve fitting includes: fitting the position information of the touch point at the first time point and the position information of the touch point at the subsequent second time point into a Bezier curve. The Bezier curve defines the curve shape by control points, and a Bezier curve fitting algorithm can be used for parameter estimation, such as least squares fitting or Bezier curve approximation.
[0116] In the process of fitting the touch track, the above methods all need to establish a coordinate system with the touch panel as a plane, and then fit the corresponding touch track based on the coordinates of the touch point at the first time point and the coordinates of the touch point at the subsequent second time point.
[0117] In some embodiments, after the touch track is obtained, a further post-processing process may be performed, including smoothing processing, noise reduction processing, etc., to improve the quality and continuity of the track.
[0118] In an embodiment of the present application, when the user initially touches the surface of the touch panel, a tapping positioning algorithm is used to locate the position of the initial point of the stroking action, and then the stroking trajectory is discretely positioned to identify the entire stroking trajectory. After the initial point position is determined, the subsequent stroking action trajectory can be discretized. For example, after the initial point position is determined, the discrete positioning position is identified every 0.01 seconds. Since the hand slides on the surface of the touch panel at a certain speed and direction, it is necessary to consider the effect of the movement of the hand on the touch panel on the delay or early arrival of the touch energy transmitted to the corresponding vibrator.
[0119] In some embodiments, algorithm synchronization can be used to ensure that the voltage / current received by these piezoelectric vibrators at a certain point in time all reflect the vibration intensity of the tapping or touching action at the same tapping or touching point. When the user touches the touch panel, the voltage / current of the discrete point will be transmitted to the piezoelectric vibrators at different distances in a short time. The algorithm synchronization ensures that these vibrators receive the energy of the tapping or touching action at the same tapping or vibration point at a certain moment.
[0120] In the current embodiment, since the hand slides on the surface of the object with a certain speed and direction, it is necessary to consider the impact of such movement on the delay or early arrival of the corresponding vibrator; that is, it is necessary to achieve synchronization of the voltage / current of each discrete point in the position of the electrical signal of each vibrator, to ensure that when the hand makes a stroking movement on the surface of the object, each vibrator can reflect the vibration generated by the touch point at a moment at any time point after the initial time point; here, the initial time point is the time point corresponding to the first electrical signal point in the electrical signal of each vibrator. For example, if the touch is at a position of 0.05 seconds after the initial time point, the vibration at this time will be transmitted to each piezoelectric vibrator, and in the electrical signals of these vibrators, the voltage / current at the position of 0.05 seconds after the initial time point is all generated by a touch action of the user. When the hand is stroking the surface of an object, its moving speed is usually less than 1 meter per second. Compared with the transmission speed of mechanical longitudinal waves (1000-5000 meters per second), such a hand movement speed is less than one thousandth, that is, the signal synchronization deviation caused by the hand movement can be ignored, that is, the mechanical wave sent by the vibration source can be transmitted to the piezoelectric vibrator in time, and the influence of the hand movement will not affect the time delay of the vibrator receiving. Therefore, the movement of the touch point in the stroking action has a negligible impact on the trajectory points of each preset time interval determined in the above method.
[0121] Among them, when the user taps or touches the surface of the touch panel, the vibration elastic wave, as a form of mechanical wave, will diffuse inside the touch panel, transfer energy, and will be detected on the surface in the form of elastic waves. Sound waves are a kind of mechanical longitudinal waves, which are in the form of compression waves. Take sound waves as an example: the propagation speed of sound waves in the medium is 340 meters per second in the air, 1500 meters per second in water, and more than 5000 meters per second in steel. It can be understood that the propagation of sound waves is achieved by the compression or stretching deformation of tiny units in the medium, and the longitudinal elastic force that restores the tiny units to their original state. Therefore, the important factors affecting the speed of sound are the incompressibility and density of the medium. The incompressibility refers to the distance that the tiny units (usually molecules, atoms, ions and other particles) in the medium need to move (the greater the incompressibility, the smaller the distance required, and the greater the speed of sound), and the density refers to the number of tiny units involved in the transmission per unit distance (the greater the density, the more tiny units there are, and the smaller the speed of sound). Converted into a formula: Among them, V is the speed of sound, B is the incompressibility, and ρ is the density. Although the density of water is 1000 times that of air, the incompressibility is 10,000 times that of air, so the speed of sound in air is much lower than the speed of sound in water. Similarly, the speed of sound in water is usually lower than the speed of sound in solids. Sound waves are a form of mechanical longitudinal waves, and it can be seen that the propagation speed of mechanical longitudinal waves in solids is the fastest. When the user taps or touches the surface of the touch panel, the vibration source will transfer energy to the surface of the touch panel in the form of mechanical longitudinal waves and continue to attenuate. The touch panel is a solid, and the transmission speed of mechanical longitudinal waves on the touch panel is 1000 to 5000 meters per second. The speed of hand movement on the surface of the touch panel is usually less than 1 meter per second, which is less than one thousandth of the transmission speed of mechanical longitudinal waves on the touch panel, so the signal synchronization deviation caused by hand movement can be ignored.
[0122] Figure 7 FIG. 1 is an optional flow chart of a touch position determination method provided in an embodiment of the present application, and the method can be executed by a processor of an onboard computer device. Figure 7 The steps shown are explained.
[0123] Step S701 : determining a target piezoelectric vibrator among other piezoelectric vibrators based on the position information of the touch point.
[0124] In the embodiment of the present application, the touch panel may be provided with other piezoelectric vibrators, which do not belong to the plurality of piezoelectric vibrators, and the plurality of piezoelectric vibrators are used to determine the position information of the touch point. The other piezoelectric vibrators are used for touch feedback. The target piezoelectric vibrator may be determined based on the position information of the other piezoelectric vibrators and the position information of the touch point. Among them, the target piezoelectric vibrator belongs to the other piezoelectric vibrators.
[0125] Step S702: driving the target piezoelectric vibrator to perform feedback based on a feedback strategy; the feedback strategy is determined based on the position information of the touch point, the target piezoelectric vibrator and each of the electrical signals.
[0126] In the embodiment of the present application, a feedback strategy can be determined based on the position information of the touch point, the target piezoelectric vibrator and each of the electrical signals. The target piezoelectric vibrator is driven to perform vibration feedback or sound feedback based on the feedback strategy. The driving of the target piezoelectric vibrator to perform vibration feedback or sound feedback utilizes the inverse piezoelectric effect of the piezoelectric vibrator.
[0127] When an electric field is applied to the piezoelectric vibrator, the piezoelectric vibrator undergoes mechanical deformation. When the direction of the external electric field is the same as the polarization direction of the piezoelectric vibrator, the polarization intensity increases, causing the piezoelectric vibrator to stretch along the polarization direction; when the direction of the external electric field is opposite to the polarization direction of the piezoelectric vibrator, the piezoelectric vibrator shortens along the polarization direction. This phenomenon of converting electrical energy into mechanical energy is called the "inverse piezoelectric effect."
[0128] In an embodiment of the present application, a target piezoelectric vibrator is determined among other piezoelectric vibrators based on the position information of the touch point; the other piezoelectric vibrators do not belong to the multiple piezoelectric vibrators; the target piezoelectric vibrator is driven to perform feedback based on a feedback strategy; the feedback strategy is determined based on the position information of the touch point, the target piezoelectric vibrator, and each of the electrical signals. In this way, the piezoelectric effect of the target piezoelectric vibrator can be utilized to empower the panel material with feedback capability. Since the feedback strategy is determined based on the position information of the touch point, the target piezoelectric vibrator, and each of the electrical signals, the target piezoelectric vibrator can accurately reflect the relevant information of the touch when performing feedback using the driving strategy, thereby improving the user experience.
[0129] Figure 8 FIG. 1 is an optional flow chart of a touch position determination method provided in an embodiment of the present application, and the method can be executed by a processor of an onboard computer device. Figure 7 , Figure 7 Step S702 in can be updated to step S801 or step S802, combining Figure 8 The steps shown are explained.
[0130] Step S801: driving the target piezoelectric vibrator to perform vibration feedback based on a first vibration parameter.
[0131] In the embodiment of the present application, the target piezoelectric vibrator can be driven to perform vibration feedback under the action of the inverse piezoelectric effect based on the first vibration parameter.
[0132] Among them. The first vibration parameter is determined based on the position information of the touch point, the target piezoelectric vibrator and each electrical signal. The first vibration parameter includes at least one of the following: a first vibration type, a first vibration intensity and a first vibration frequency; when the target piezoelectric vibrator is a non-sound-generating piezoelectric vibrator, it is determined that the first vibration frequency does not fall within the sound wave frequency range; the first vibration type is determined based on the position represented by the position information of the touch point, and the first vibration intensity is positively correlated with the signal value represented by each electrical signal.
[0133] In the embodiment of the present application, the distance between the target piezoelectric vibrator and the touch point can be determined based on the position information of the touch point and the position information of the target piezoelectric vibrator. When the distance between the target piezoelectric vibrator and the touch point is less than a preset distance threshold, the vibration type of the target piezoelectric vibrator is set to the first vibration type. In this way, when the target piezoelectric vibrator is close to the user's touch point, the target piezoelectric vibrator can be set to a non-sound vibration type, and the current target piezoelectric vibrator is used to perform non-sound vibration. Since it is close to the user's touch point, it is convenient for the user to perceive the non-sound vibration of the target piezoelectric vibrator through touch.
[0134] In the embodiment of the present application, when the target piezoelectric vibrator is a non-sound-generating vibration type piezoelectric vibrator, the first vibration frequency is less than 20 Hz.
[0135] In the embodiment of the present application, the target piezoelectric vibrator is driven to perform vibration feedback based on the first vibration parameter; thus, when the user touches, the non-sound-generating piezoelectric vibrator can be used to provide vibration feedback to the user, so that the user can clearly perceive the intensity of the touch.
[0136] Step S802: driving the target piezoelectric vibrator to perform sound feedback based on the second vibration parameter.
[0137] In the embodiment of the present application, the target piezoelectric vibrator can be driven based on the second vibration parameter to perform sound feedback under the action of the inverse piezoelectric effect.
[0138] Among them, the second vibration parameter is determined based on the position information of the touch point, the target piezoelectric vibrator and each electrical signal; the second vibration parameter includes at least one of the following: a second vibration type, a second vibration intensity and a second vibration frequency; when the target piezoelectric vibrator is a sound-emitting vibration type piezoelectric vibrator, it is determined that the second vibration frequency belongs to the sound wave frequency range; the second vibration type is determined based on the position represented by the position information of the touch point, and the second vibration intensity is positively correlated with the signal value represented by each electrical signal.
[0139] In the embodiment of the present application, the distance of the target piezoelectric vibrator from the touch point can be determined based on the position information of the touch point and the position information of the target piezoelectric vibrator. When the distance of the target piezoelectric vibrator from the touch point exceeds a preset distance threshold, the vibration type of the target piezoelectric vibrator is set to the second vibration type. In this way, when the target piezoelectric vibrator is far away from the user's touch point, the target piezoelectric vibrator can be set to the sound type, and the current target piezoelectric vibrator is used to make a sound. Since it is far away from the user's touch point, the influence of the user's touch on the sound of the target piezoelectric vibrator can be avoided.
[0140] In other embodiments, while performing vibration feedback and / or sound feedback based on the target piezoelectric vibrator, if it is necessary to locate the touch point, after the piezoelectric vibrator collects the electrical signal, since the electrical signal is not only generated based on the user's touch action, but also affected by the vibration feedback and / or sound feedback, the drive signal corresponding to the vibration feedback and / or sound feedback can be filtered out from the electrical signal to obtain a relatively pure electrical signal. Exemplarily, if the target piezoelectric vibrator sends a 50Hz sinusoidal wave vibration feedback signal, different piezoelectric vibrators used for receiving will receive the corresponding sinusoidal wave vibration feedback signal, and this sinusoidal wave vibration feedback signal can be cleared or ignored in the algorithm, thereby reducing interference with the positioning information.
[0141] In the embodiment of the present application, when the target piezoelectric vibrator is a sound-generating vibration type piezoelectric vibrator, the second vibration frequency is from 20 Hz to 20000 Hz. For example, the second vibration frequency may be 1000 Hz.
[0142] In the embodiment of the present application, sound feedback is performed by driving the target piezoelectric vibrator based on the second vibration parameter; thus, when the user touches, the sound-generating piezoelectric vibrator can be used to provide sound feedback to the user, so that the user can clearly perceive the intensity of the touch.
[0143] Fig.9A FIG. 1 is an optional flow chart of a touch position determination method provided in an embodiment of the present application, and the method can be executed by a processor of an onboard computer device. Figure 1 , Figure 1 Step S102 in can be updated to steps S901 to S902, combining Fig.9A The steps shown are explained.
[0144] Step S901: Based on the waveform similarity of the plurality of electrical signals, determine at least one electrical signal point having similarity in each of the electrical signals.
[0145] In the embodiment of the present application, since the electrical signal waveforms of the multiple electrical signals are similar, at least one electrical signal point corresponding to a similar waveform can be determined in each electrical signal based on the similarity of the multiple electrical signal waveforms.
[0146] In an embodiment of the present application, the electrical signal waveforms of multiple electrical signals can be compared, a similar waveform segment can be determined in the electrical signal waveform of each electrical signal, and the electrical signal point corresponding to the waveform segment can be determined to be at least one electrical signal point with similarity in each electrical signal.
[0147] Step S902: Select the peak electrical signal point in each of the electrical signals from among at least one of the electrical signal points having similarity in each of the electrical signals as the first electrical signal point corresponding to each of the electrical signals.
[0148] Based on the above embodiment, by determining at least one electrical signal point with similarity in each of the multiple electrical signals, in the process of locating the first electrical signal point corresponding to the electrical signal, each first electrical signal point can be located in at least one electrical signal point in the electrical signal; that is, the problem of finding the first electrical signal point from the electrical signal (as a whole) is converted into the problem of finding the first electrical signal point from at least one electrical signal point (local), so that the accuracy of the first electrical signal point can be improved.
[0149] In some embodiments, since at least one of the electrical signal points of each electrical signal has similarity, a peak electrical signal point in at least one of the electrical signal points can be determined as the first electrical signal point corresponding to each electrical signal, wherein the peak electrical signal point is the electrical signal point with the largest signal value in the electrical signal.
[0150] Exemplary, combined Fig. 9B , which are schematic diagrams of electrical signal waveforms corresponding to piezoelectric vibrator 1, piezoelectric vibrator 2, piezoelectric vibrator 3 and piezoelectric vibrator 4 respectively. Based on the waveform similarity between the electrical signals, electrical signal points with similarity can be determined in each electrical signal. As shown in the figure, there are 5 electrical signal points with similarity in each electrical signal; then, the peak electrical signal points among the 5 electrical signal points can be used as the first electrical signal point corresponding to each electrical signal, that is, the peak electrical signal point 1 of piezoelectric vibrator 1 can be determined as the first electrical signal point corresponding to piezoelectric vibrator 1; the peak electrical signal point 2 of piezoelectric vibrator 2 can be determined as the first electrical signal point corresponding to piezoelectric vibrator 2; the peak electrical signal point 3 of piezoelectric vibrator 3 can be determined as the first electrical signal point corresponding to piezoelectric vibrator 3; and the peak electrical signal point 4 of piezoelectric vibrator 4 can be determined as the first electrical signal point corresponding to piezoelectric vibrator 4.
[0151] In an embodiment of the present application, at least one electrical signal point with similarity in each of the electrical signals is determined based on the waveform similarity of the plurality of electrical signals, thereby converting the problem of finding the first electrical signal point from the electrical signal (as a whole) into the problem of finding the first electrical signal point from at least one electrical signal point (local), thereby improving the accuracy of the first electrical signal point; further, in at least one electrical signal point of each electrical signal, the peak electrical signal point is used as the first electrical signal point corresponding to each electrical signal, and the proportional relationship between each first touch distance is determined using the signal value of each peak electrical signal point, thereby accurately determining the position information of the touch point.
[0152] Fig. 10A FIG. 1 is an optional flow chart of a touch position determination method provided in an embodiment of the present application, and the method can be executed by a processor of an onboard computer device. Figure 1 , Figure 1 Step S102 in can be updated to steps S1001 to S1002, combining Fig. 10B The steps shown are explained.
[0153] Step S1001: Determine a window signal corresponding to each of the electrical signals based on the waveform similarity between the electrical signals.
[0154] Wherein, the similarity between the window signals corresponding to each of the electrical signals meets a preset condition; and the window signal includes a plurality of electrical signal points.
[0155] In an embodiment of the present application, the electrical signal waveform corresponding to each electrical signal can be matched, a similar waveform segment can be determined in the electrical signal waveform corresponding to each electrical signal, and the signal corresponding to the similar waveform segment can be determined as the window signal of each electrical signal. The similarity between the window signals corresponding to each electrical signal meets a preset condition; the window signal includes multiple electrical signal points. The preset condition can be that the correlation between the window signals of each electrical signal is the maximum.
[0156] In some embodiments, any one of the electrical signals can be determined as a reference electrical signal from among the plurality of electrical signals, and a target window waveform of a predetermined time period length can be intercepted from the electrical signal waveform of the reference electrical signal. The target window waveform is a waveform of a reference electrical signal with a certain voltage / current amplitude change. The electrical signal corresponding to the target window waveform is determined to be the window signal of the reference electrical signal. The target window waveform of the reference electrical signal is used to perform correlation analysis with the window electrical signal waveforms of each predetermined time period length in the electrical signal waveform of each other electrical signal, and the window waveform with the greatest correlation with the target window waveform of the reference electrical signal is determined from the window electrical signal waveforms of each other electrical signal, and the electrical signal corresponding to the window waveform of each other electrical signal is determined to be the window signal of each other electrical signal. Among them, the correlation between the target window waveform and the electrical signal waveform of each other electrical signal can be determined by a normalized cross-correlation (NCC) algorithm.
[0157] Step S1002: Determine the first electrical signal point corresponding to each of the electrical signals based on the time period corresponding to the window signal corresponding to each of the electrical signals.
[0158] In some embodiments, the midpoint time point of the time period corresponding to the window signal may be determined, and the electrical signal point corresponding to the midpoint time point in the electrical signal may be used as the first electrical signal point.
[0159] In some embodiments, a time point at a fixed ratio in the time period corresponding to the window signal may be determined, and the electrical signal point in the electrical signal corresponding to the time point at the fixed ratio is used as the first electrical signal point. Exemplarily, a time point at one-third of the time period may be determined, and the electrical signal point in the electrical signal corresponding to the time point at one-third of the time period is used as the first electrical signal point.
[0160] Exemplary, combined Fig. 10B, which is a schematic diagram of the electrical signal waveforms of the electrical signals corresponding to the piezoelectric vibrator 1, the piezoelectric vibrator 2, the piezoelectric vibrator 3 and the piezoelectric vibrator 4, respectively. The window signal 1 corresponding to the piezoelectric vibrator 1, the window signal 2 corresponding to the piezoelectric vibrator 2, the window signal 3 corresponding to the piezoelectric vibrator 3 and the window signal 4 corresponding to the piezoelectric vibrator 4 can be determined according to the electrical signals corresponding to the piezoelectric vibrator 1, the piezoelectric vibrator 2, the piezoelectric vibrator 3 and the piezoelectric vibrator 4, respectively. The electrical signal point corresponding to the time point t1 at a fixed proportion (such as one-half in the figure) in the corresponding time period in the window signal 1 can be determined as the first electrical signal point, the electrical signal point corresponding to the time point t2 at a fixed proportion in the corresponding time period in the window signal 2 can be determined as the first electrical signal point, the electrical signal point corresponding to the time point t3 at a fixed proportion in the corresponding time period in the window signal 3 can be determined as the first electrical signal point, and the electrical signal point corresponding to the time point t4 at a fixed proportion in the corresponding time period in the window signal 4 can be determined as the first electrical signal point.
[0161] In an embodiment of the present application, a window signal corresponding to each of the electrical signals is determined based on the waveform similarity between each of the electrical signals; wherein the similarity between the window signals corresponding to each of the electrical signals satisfies a preset condition; the window signal includes a plurality of electrical signal points; and the first electrical signal point corresponding to each of the electrical signals is determined based on the time period corresponding to the window signal corresponding to each of the electrical signals. Thus, since the waveform of the electrical signal formed by each piezoelectric vibrator is similar, each determined window signal corresponds to a waveform in the elastic wave, and the first electrical signal point determined by the time period of the window signal can accurately reflect the signal value generated after the same energy point of the elastic wave reaches each piezoelectric vibrator, and then the proportional relationship between the plurality of first touch distances is determined based on the first electrical signal point corresponding to each electrical signal, so that the position information of the touch point can be accurately determined.
[0162] In the embodiment of the present application, in order to allow the target piezoelectric vibrator to perform sensing feedback, the vibration intensity of the target piezoelectric vibrator can be controlled according to the voltage / current amplitude of the electrical signal of each piezoelectric vibrator. Fig.11 When the user taps the touch panel, piezoelectric vibrator 1, piezoelectric vibrator 2, piezoelectric vibrator 3 and piezoelectric vibrator 4 can send their own electrical signals to the microcontroller unit (MCU) through the A / D mode converter. According to the voltage / current amplitude of the electrical signals corresponding to piezoelectric vibrator 1, piezoelectric vibrator 2, piezoelectric vibrator 3 and piezoelectric vibrator 4, the MCU sends a feedback signal to the target piezoelectric vibrator through the power amplifier to control the target piezoelectric vibrator to perform vibration feedback or sound feedback.
[0163] In the embodiment of the present application, when the user taps the touch panel, the feedback energy of the target piezoelectric vibrator will affect the voltage / current received by the piezoelectric vibrator that senses the touch position information, so it is necessary to eliminate this influence in advance through calibration. Correspondingly, when the target piezoelectric vibrator performs vibration feedback, that is, the touch panel is driven to vibrate by the target piezoelectric vibration, a lower vibration frequency can be selected (specifically, a suitable frequency can be selected to avoid coinciding with the touch frequency of tapping or stroking as much as possible). When the target piezoelectric vibrator performs sound feedback, that is, the touch panel is driven to sound by the target piezoelectric vibrator vibration, and its frequency can be appropriately higher (specifically, a suitable frequency can be selected to avoid coinciding with the touch frequency of tapping or stroking as much as possible). Of course, when the target piezoelectric vibration provides vibration feedback, it can also be intermittently changed to sound feedback, so that the outside can perceive the vibration feedback and sound feedback output. When the selected power amplifier output capacity is strong, the vibrator will vibrate accordingly with the voltage / current output of the power amplifier, and within a certain frequency range, the output of vibration feedback and sound can be achieved simultaneously. For example, when the vibration frequency of the target piezoelectric vibrator is below 20Hz, only vibration feedback can be performed, and the human ear is not sensitive to frequencies below 50Hz. However, if the vibration frequency is selected to be 1000Hz, vibration feedback and sound feedback can be performed at the same time. Since the target piezoelectric vibrator needs to perform vibration feedback, the target piezoelectric vibrator needs to have a certain power to support the voltage / current output of the power amplifier to perform corresponding vibration, thereby promoting the panel vibration feedback and promoting the panel to make sound.
[0164] Based on the aforementioned embodiments, the embodiments of the present application provide another touch position determination device, which includes the units included and the modules included in the units, which can be implemented by a processor in a computer device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
[0165] Fig.12 A schematic diagram of the structure of another touch position determination device provided in an embodiment of the present application is shown in FIG. Fig.12 As shown, the touch position determination device 1200 includes: a signal receiving module 1210 and a signal processing module 1220, wherein:
[0166] The signal receiving module 1210 is used to receive electrical signals collected by multiple piezoelectric vibrators respectively;
[0167] The signal processing module 1220 is used to determine a first electrical signal point corresponding to each of the electrical signals based on at least one electrical signal point having similarity among the plurality of electrical signals; the first electrical signal point is a signal value of a touch point at a first time point collected by the piezoelectric vibrator;
[0168] The signal processing module 1220 is used to determine a proportional relationship between a plurality of first touch distances based on a first electrical signal point corresponding to each of the plurality of electrical signals; the first touch distance is a distance between the piezoelectric vibrator and the touch point at the first time point;
[0169] The signal processing module 1220 is configured to determine the position information of the touch point at the first time point based on the proportional relationship between the plurality of first touch distances corresponding to the first time point and the position information of the plurality of piezoelectric vibrators.
[0170] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. In some embodiments, the functions or modules included in the device provided in the embodiment of the present application can be used to execute the method described in the above method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0171] It should be noted that in the embodiments of the present application, if the above-mentioned touch position determination method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of the present application can be essentially or partly reflected in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiments of the present application are not limited to any specific hardware, software or firmware, or any combination of hardware, software, and firmware.
[0172] An embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, some or all of the steps in the above method are implemented.
[0173] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above method are implemented. The computer-readable storage medium can be transient or non-transient.
[0174] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is run in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method.
[0175] The embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be implemented specifically by hardware, software or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK) and the like.
[0176] It should be noted here that the description of the various embodiments above tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. The description of the above device, storage medium, computer program and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product of this application, please refer to the description of the method embodiment of this application for understanding.
[0177] Fig.13 A hardware entity diagram of a touch position determination device provided in an embodiment of the present application is shown in FIG. Fig.13 As shown, the hardware entity of the touch position determination device 1300 includes: a processor 1301, a memory 1302 and a plurality of piezoelectric vibrators 1303, and the plurality of piezoelectric vibrators 1303 are communicatively connected to the processor 1301. The memory 1302 stores a computer program that can be run on the processor 1301, and the processor 1301 implements the steps in the method of any of the above embodiments when executing the program.
[0178] The piezoelectric vibrator 1303 is used to collect electrical signals;
[0179] The processor 1301 is used to determine a first electrical signal point corresponding to each of the electrical signals based on at least one electrical signal point with similarity in the multiple electrical signals; the first electrical signal point is a signal value of a touch point at a first time point collected by the piezoelectric vibrator; based on the first electrical signal point corresponding to each of the multiple electrical signals, determine a proportional relationship between multiple first touch distances; the first touch distance is the distance between the piezoelectric vibrator and the touch point at the first time point; based on the proportional relationship between the multiple first touch distances corresponding to the first time point and the position information of the multiple piezoelectric vibrators, determine the position information of the touch point at the first time point.
[0180] In some embodiments, the processor 1301 is configured to use a proportional relationship between the inverses of the plurality of first electrical signal points as a proportional relationship between the plurality of first touch distances.
[0181] In some embodiments, the processor 1301 is used to construct multiple position relationship equations; the position relationship equations characterize the relationship between the position information of the piezoelectric vibrator, the position information of the touch point at the first time point and the first touch distance; based on the proportional relationship between the multiple position relationship equations and the multiple first touch distances corresponding to the first time point, the position information of the touch point at the first time point is determined.
[0182] In some embodiments, the processor 1301 is used to obtain the characteristic time point corresponding to the first electrical signal point in each of the electrical signals, and determine at least one second time point corresponding to each of the electrical signals according to a preset sampling interval; based on at least one second time point corresponding to multiple electrical signals, sample multiple electrical signals to obtain multiple second electrical signal points corresponding to each of the second time points in at least one second time point; based on the multiple second electrical signal points corresponding to each second time point, determine the proportional relationship between the multiple second touch distances corresponding to each second time point; the second touch distance is the distance between the piezoelectric vibrator and the touch point at the second time point; based on the proportional relationship between the multiple second touch distances corresponding to each second time point and the position information of the multiple piezoelectric vibrators, determine the position information of the touch point at each second time point.
[0183] In some embodiments, the processor 1301 is configured to generate a touch track according to the position information of the touch point at the first time point and the position information of at least one touch point at the second time point.
[0184] In some embodiments, the processor 1301 is used to determine a target piezoelectric vibrator among other piezoelectric vibrators based on position information of a touch point; the other piezoelectric vibrators do not belong to the multiple piezoelectric vibrators; the target piezoelectric vibrator is driven to provide feedback based on a feedback strategy; the feedback strategy is determined based on the position information of the touch point, the target piezoelectric vibrator and each of the electrical signals.
[0185] In some embodiments, the processor 1301 is used to drive the target piezoelectric vibrator to perform vibration feedback based on a first vibration parameter; the first vibration parameter is determined based on the touch position information, the target piezoelectric vibrator, and the electrical signal corresponding to the touch action; the first vibration parameter includes at least one of the following: a first vibration type, a first vibration intensity, and a first vibration frequency; when the target piezoelectric vibrator is a non-sound-generating vibration type piezoelectric vibrator, it is determined that the first vibration frequency does not fall within the frequency range of the sound wave; the first vibration type is determined based on the position represented by the touch position information, and the first vibration intensity is positively correlated with the signal value represented by the electrical signal corresponding to the touch action;
[0186] In some embodiments, the processor 1301 is used to drive the target piezoelectric vibrator for sound feedback based on a second vibration parameter; the second vibration parameter is determined based on the touch position information, the target piezoelectric vibrator and the electrical signal corresponding to the touch action; the second vibration parameter includes at least one of the following: a second vibration type, a second vibration intensity and a second vibration frequency; when the target piezoelectric vibrator is a sound-emitting vibration type piezoelectric vibrator, it is determined that the second vibration frequency belongs to the sound wave frequency range; the second vibration type is determined based on the position represented by the touch position information, and the second vibration intensity is positively correlated with the signal value represented by the electrical signal corresponding to the touch action.
[0187] In some embodiments, the processor 1301 is used to determine at least one electrical signal point with similarity in each of the electrical signals based on the waveform similarity of the multiple electrical signals; and among the at least one electrical signal point with similarity in each of the electrical signals, select the peak electrical signal point in each of the electrical signals as the first electrical signal point corresponding to each of the electrical signals.
[0188] In some embodiments, the processor 1301 is used to determine the window signal corresponding to each of the electrical signals based on the waveform similarity between each of the electrical signals; wherein the similarity between the window signals corresponding to each of the electrical signals satisfies a preset condition; the window signal includes multiple electrical signal points; based on the time period corresponding to the window signal corresponding to each of the electrical signals, the first electrical signal point corresponding to each of the electrical signals is determined.
[0189] In some embodiments, the piezoelectric vibrator includes at least one of the following types: the piezoelectric vibrator arranged on the vehicle interior panel, the piezoelectric vibrator arranged on the vehicle window panel, the piezoelectric vibrator arranged on the vehicle exterior panel, and the piezoelectric vibrator arranged on the vehicle seat surface.
[0190] The memory 1302 stores a computer program that can be run on the processor. The memory 1302 is configured to store instructions and applications executable by the processor 1301. It can also cache data to be processed or processed by the processor 1301 and each module in the touch position determination device 1300 (for example, image data, audio data, voice communication data, and video communication data). It can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0191] When the processor 1301 executes the program, the steps of any of the above touch position determination methods are implemented. The processor 1301 generally controls the overall operation of the touch position determination apparatus 1300 .
[0192] An embodiment of the present application provides a computer storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps of the touch position determination method in any of the above embodiments.
[0193] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0194] The processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understandable that the electronic device that implements the functions of the processor may also be other, and the embodiments of the present application are not specifically limited.
[0195] The above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and the like; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0196] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the serial number of each step / process mentioned above does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The serial numbers of the embodiments of the present application mentioned above are for description only and do not represent the advantages and disadvantages of the embodiments.
[0197] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0198] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0199] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0200] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0201] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0202] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0203] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A method for determining a touch position, characterized in that: include: Receiving electrical signals collected by a plurality of piezoelectric vibrators; Determine a first electrical signal point corresponding to each of the electrical signals based on at least one electrical signal point having similarity among the plurality of electrical signals; The first electrical signal point is a signal value of the touch point collected by the piezoelectric vibrator at a first time point; Based on a first electrical signal point corresponding to each of the electrical signals in the plurality of electrical signals, determining a proportional relationship between a plurality of first touch distances; the first touch distance being the distance between the piezoelectric vibrator and the touch point at the first time point; Based on the proportional relationship between the plurality of first touch distances corresponding to the first time point and the position information of the plurality of piezoelectric vibrators, the position information of the touch point at the first time point is determined.
2. The touch position determination method according to claim 1, characterized in that: The determining the proportional relationship between the plurality of first touch distances based on the first electrical signal point corresponding to each of the plurality of electrical signals comprises: The proportional relationship between the reciprocals of the plurality of first electrical signal points is used as the proportional relationship between the plurality of first touch distances.
3. The touch position determination method according to claim 1, characterized in that: The determining the position information of the touch point at the first time point based on the proportional relationship between the plurality of first touch distances corresponding to the first time point and the position information of the plurality of piezoelectric vibrators includes: Constructing a plurality of position relationship equations; the position relationship equations represent the relationship between the position information of the piezoelectric vibrator, the position information of the touch point at the first time point, and the first touch distance; Based on the proportional relationship between the plurality of position relationship equations and the plurality of first touch distances corresponding to the first time point, the position information of the touch point at the first time point is determined.
4. The touch position determination method according to claim 1, characterized in that: The method further comprises: Acquire a characteristic time point corresponding to the first electrical signal point in each of the electrical signals, and determine at least one second time point corresponding to each of the electrical signals according to a preset sampling interval; Based on at least one second time point corresponding to the multiple electrical signals, sampling the multiple electrical signals to obtain multiple second electrical signal points corresponding to each of the at least one second time point; Based on the plurality of second electrical signal points corresponding to each second time point, determining a proportional relationship between the plurality of second touch distances corresponding to each second time point; the second touch distance is the distance between the piezoelectric vibrator and the touch point at the second time point; Based on the proportional relationship between the plurality of second touch distances corresponding to each second time point and the position information of the plurality of piezoelectric vibrators, the position information of the touch point at each second time point is determined.
5. The touch position determination method according to claim 4, characterized in that: The method further comprises: A touch track is generated according to the position information of the touch point at the first time point and the position information of at least one touch point at the second time point.
6. The touch position determination method according to claim 4, characterized in that: The method further comprises: Among other piezoelectric vibrators, a target piezoelectric vibrator is determined based on the position information of the touch point; the other piezoelectric vibrator does not belong to the plurality of piezoelectric vibrators; The target piezoelectric vibrator is driven to perform feedback based on a feedback strategy; the feedback strategy is determined based on the position information of the touch point, the target piezoelectric vibrator and each of the electrical signals.
7. The touch position determination method according to claim 6, characterized in that: The driving the target piezoelectric vibrator to perform feedback based on the feedback strategy includes any one of the following: The target piezoelectric vibrator is driven to perform vibration feedback based on a first vibration parameter; the first vibration parameter is determined based on the touch position information, the target piezoelectric vibrator, and the electrical signal corresponding to the touch action; the first vibration parameter includes at least one of the following: a first vibration type, a first vibration intensity, and a first vibration frequency; when the target piezoelectric vibrator is a non-sound-generating vibration type piezoelectric vibrator, it is determined that the first vibration frequency does not fall within the frequency range of the sound wave; the first vibration type is determined based on the position represented by the touch position information, and the first vibration intensity is positively correlated with the signal value represented by the electrical signal corresponding to the touch action; The target piezoelectric vibrator is driven to perform sound feedback based on a second vibration parameter; the second vibration parameter is determined based on the touch position information, the target piezoelectric vibrator and the electrical signal corresponding to the touch action; the second vibration parameter includes at least one of the following: a second vibration type, a second vibration intensity and a second vibration frequency; when the target piezoelectric vibrator is a sound-producing vibration type piezoelectric vibrator, it is determined that the second vibration frequency belongs to the sound wave frequency range; the second vibration type is determined based on the position represented by the touch position information, and the second vibration intensity is positively correlated with the signal value represented by the electrical signal corresponding to the touch action.
8. The touch position determination method according to any one of claims 1 to 7, characterized in that: The determining, based on at least one electrical signal point having similarity among the plurality of electrical signals, a first electrical signal point corresponding to each of the electrical signals comprises: Based on the waveform similarities of the plurality of electrical signals, determining at least one electrical signal point having similarity in each of the electrical signals; Among at least one of the electrical signal points having similarity in each of the electrical signals, the peak electrical signal point in each of the electrical signals is selected as the first electrical signal point corresponding to each of the electrical signals.
9. The touch position determination method according to any one of claims 1 to 7, characterized in that: The determining, based on at least one electrical signal point having similarity among the plurality of electrical signals, a first electrical signal point corresponding to each of the electrical signals comprises: Based on the waveform similarity between each of the electrical signals, determining a window signal corresponding to each of the electrical signals; wherein the similarity between the window signals corresponding to each of the electrical signals satisfies a preset condition; and the window signal includes a plurality of electrical signal points; The first electrical signal point corresponding to each electrical signal is determined based on a time period corresponding to the window signal corresponding to each electrical signal.
10. The touch position determination method according to any one of claims 1 to 7, characterized in that: The piezoelectric vibrator includes at least one of the following types: the piezoelectric vibrator provided on a vehicle interior panel, the piezoelectric vibrator provided on a vehicle window panel, the piezoelectric vibrator provided on a vehicle exterior panel, and the piezoelectric vibrator provided on a vehicle seat surface.
11. A touch position determination device, characterized in that: include: Multiple piezoelectric vibrators, memory and processor; The plurality of piezoelectric vibrators are communicatively connected to the processor; wherein, The piezoelectric vibrator collects electrical signals; The memory stores a computer program executable on the processor; When the processor executes the computer program, the steps in the method according to any one of claims 1 to 10 are implemented.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 10 are implemented.