Electronic device and processing method
By adjusting the driving frequency in electronic devices, the problems of sound leakage and noise in directional sound technology are solved, and the effect of efficient sound production in designated areas is achieved.
Patent Information
- Application Number
- CN202411676496.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2025-04-04
AI Technical Summary
The prior art is difficult to realize effective sounding of directional acoustic technology in a designated area, resulting in sound leakage and noise problems.
An electronic device is designed, including a vibration unit and a driving unit, and by adjusting the driving frequency of the first driving unit and the second driving unit to the vibration unit, the intensity of the target sound in the target sound field is greater than the intensity outside the sound field.
It realizes efficient sound production in designated areas, reduces sound leakage and noise, and improves control capabilities for audio coverage and intensity.
Smart Images

Figure CN119767222A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic equipment, and in particular to an electronic equipment and a processing method. Background Art
[0002] When using directional sound technology to produce sound, users often hope to be able to hear the sound clearly in a designated area, while the sound is very small or even silent outside the designated area, so as to achieve the purpose of protecting privacy and reducing noise. Summary of the invention
[0003] The present disclosure provides an electronic device and a processing method to at least solve the above technical problems existing in the prior art.
[0004] According to a first aspect of the present disclosure, an electronic device is provided, comprising: a vibration unit; a driving unit for driving the vibration unit to vibrate, the driving unit comprising a first driving unit and a second driving unit, wherein when the driving unit drives the vibration unit to vibrate, the vibration unit outputs a target sound in a target sound field, and an intensity of the target sound in the target sound field is greater than an intensity of the target sound outside the target sound field; wherein a driving frequency of the first driving unit on the vibration unit is different from a driving frequency of the second driving unit on the vibration unit.
[0005] In one possible implementation manner, the vibration unit includes a first vibration unit and a second vibration unit, the first driving unit is used to drive the first vibration unit to vibrate, the second driving unit is used to drive the second vibration unit to vibrate, the first vibration unit and the second vibration unit output target sounds in a target sound field by vibrating, and the vibration frequency output by the first vibration unit is different from the vibration frequency output by the second vibration unit.
[0006] In one possible implementation manner, the number of the first drive units and the second drive units is equal, the first drive units and the second drive units are arranged along the thickness direction of the electronic device or along the first direction, and the first direction is perpendicular to the thickness direction of the electronic device; the driving frequency of the first drive unit on the vibration unit is not less than twice the driving frequency of the second drive unit on the vibration unit.
[0007] In one possible embodiment, the vibration unit includes a vibration membrane, and when the driving unit drives the vibration membrane to vibrate, the vibration membrane outputs the target sound in the target sound field; the vibration membrane includes a first vibration membrane and a second vibration membrane, and the vibration frequency output by the first vibration membrane driven by the first driving unit is different from the vibration frequency output by the second vibration membrane driven by the second driving unit.
[0008] In one possible implementation, the electronic device further includes: an identification unit, configured to identify position information of a target object receiving the target sound, wherein the position information includes distance information and / or angle information of the target object relative to the electronic device.
[0009] According to a second aspect of the present disclosure, a processing method is provided, which is applied to an electronic device, wherein the electronic device includes a vibration unit and a driving unit, wherein a first driving unit and a second driving unit of the driving unit are used to drive the vibration unit to vibrate; the method includes: acquiring position information of a target object; based on the position information, adjusting the driving frequencies of the first driving unit and the second driving unit on the vibration unit so that the vibration unit outputs a target sound in a target sound field, and the intensity of the target sound in the target sound field is greater than the intensity of the target sound outside the target sound field; wherein the driving frequency of the first driving unit on the vibration unit is different from the driving frequency of the second driving unit on the vibration unit, and the target sound field is an area including the target object.
[0010] In one possible implementation, the driving unit includes a plurality of first driving units and a plurality of second driving units, and the number of the first driving units is equal to the number of the second driving units; after acquiring the position information of the target object, it also includes: based on the position information, adjusting the number of the first driving units and the second driving units that are turned on, so that the first driving unit and the second driving unit drive the vibration unit, and the number of the first driving units and the second driving units that are turned on are the same or different.
[0011] In one possible implementation, adjusting the driving frequencies of the first drive unit and the second drive unit for the vibration unit based on the position information includes: determining the target sound field based on the position information; determining, based on the target sound field, a first driving frequency of the first drive unit for the vibration unit and a second driving frequency of the second drive unit for the vibration unit that can minimize a cost function; wherein the cost function characterizes the error between the sound emitted by the vibration unit and the target sound, and parameters affecting the cost function include at least one of the following: a difference between the first driving frequency and the second driving frequency; a ratio of the first driving frequency to the second driving frequency; a difference between the number of first drive units turned on and the number of second drive units turned on; and a ratio of the number of first drive units turned on and the number of second drive units turned on.
[0012] In one possible implementation manner, the position information includes at least distance information and / or angle information of the target object relative to the electronic device; determining the target sound field based on the position information includes: determining the sound angle of the target sound field based on the angle information of the target object relative to the electronic device, and / or determining the sound distance of the target sound field based on the distance information of the target object relative to the electronic device.
[0013] In one possible implementation, the intensity of the target sound within the target sound field is greater than the intensity of the target sound outside the target sound field, including: the intensity of the target sound within the target sound field is greater than a first threshold, the intensity of the target sound outside the target sound field is less than a second threshold, and the first threshold is greater than or equal to the second threshold.
[0014] In one possible implementation, a processing method also includes: obtaining a target beam characteristic corresponding to the lowest frequency sound in the target sound; adjusting the beam characteristic of a frequency sound in the target sound that is different from the lowest frequency sound to the target beam characteristic; wherein the beam characteristic includes at least one of the following: main lobe direction, main lobe width, side lobe level, side lobe position, maximum gain position, gain variation characteristics, and beam zero position.
[0015] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0016] at least one processor; and
[0017] a memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.
[0019] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method described in the present disclosure.
[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:
[0022] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0023] Figure 1 The structure of an electronic device according to an embodiment of the present disclosure is shown in FIG. Figure 1 ;
[0024] Figure 2 The arrangement diagram of the first drive unit and the second drive unit in the embodiment of the present disclosure is shown in FIG. Figure 1 ;
[0025] Figure 3 The arrangement diagram of the first drive unit and the second drive unit in the embodiment of the present disclosure is shown in FIG. Figure 2 ;
[0026] Figure 4 The arrangement diagram of the first drive unit and the second drive unit in the embodiment of the present disclosure is shown in FIG. Figure 3 ;
[0027] Figure 5 The arrangement diagram of the first drive unit and the second drive unit in the embodiment of the present disclosure is shown in FIG. Figure 4 ;
[0028] Figure 6 The structure of an electronic device according to an embodiment of the present disclosure is shown in FIG. Figure 2 ;
[0029] Figure 7 A schematic diagram showing a processing method of an embodiment of the present disclosure Figure 1 ;
[0030] Figure 8 A schematic diagram showing a process of a processing method according to an embodiment of the present disclosure Figure 1 ;
[0031] Fig. 9 A schematic diagram showing a process of a processing method according to an embodiment of the present disclosure Figure 2 ;
[0032] Fig.10 A schematic diagram showing a process of a processing method according to an embodiment of the present disclosure Figure 3 ;
[0033] Fig.11 A schematic diagram showing a process of a processing method according to an embodiment of the present disclosure Figure 4 ;
[0034] Fig.12 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0035] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0036] Figure 1 The structure of an electronic device according to an embodiment of the present disclosure is shown in FIG. Figure 1 ,like Figure 1 As shown, an electronic device includes:
[0037] Vibration unit 20;
[0038] The driving unit 10 is used to drive the vibration unit 20 to vibrate. The driving unit 10 includes a first driving unit 11 and a second driving unit 12. When the driving unit 10 drives the vibration unit 20 to vibrate, the vibration unit 20 outputs a target sound in a target sound field, and the intensity of the target sound in the target sound field is greater than the intensity of the target sound outside the target sound field.
[0039] The driving frequency of the first driving unit 11 on the vibration unit 20 is different from the driving frequency of the second driving unit 12 on the vibration unit 20 .
[0040] In this embodiment, the electronic device is a device capable of directional sound emission, and the driving unit 10 in the electronic device is used to drive the vibration unit 20 to vibrate, wherein the first driving unit 11 drives the vibration unit 20 to vibrate at a first driving frequency, and the second driving unit 12 drives the vibration unit 20 to vibrate at a second driving frequency, and the first driving frequency and the second driving frequency are different.
[0041] It should be emphasized that the first drive unit 11 and the second drive unit 12 have different driving frequencies for the vibration unit 20. Therefore, the first drive unit 11 and the second drive unit 12 can be equivalent to a dipole sound source. The sounds generated by the first drive unit 11 and the second drive unit 12 driving the vibration unit 20 will interfere with each other, thereby achieving a more uniform sound field control and preventing the generation of multiple side lobes that lead to serious leakage of target sound. The side lobe refers to a smaller sound wave intensity peak that appears in directions other than the main lobe (i.e., the main direction of sound wave propagation). If there are too many or too strong side lobes, the sound will propagate in non-target directions, which may cause the target sound to leak to areas where it is not necessary to hear it.
[0042] In this embodiment, a suitable driving frequency can be selected for the first driving unit 11 and the second driving unit 12, and the vibration unit 20 can be driven by the first driving unit 11 and the second driving unit 12 at different driving frequencies, so that the vibration unit 20 can output the target sound in the target sound field, and the intensity of the target sound in the target sound field is greater than the intensity of the target sound outside the target sound field. The target sound field is the area that the desired target sound can cover. In one example, the target sound field can be the area where the target object receiving the target sound is located, so that the target object can clearly hear the target sound, while other objects outside the target sound field hear very little or cannot hear the target sound.
[0043] In the present disclosure, the first driving unit 11 and the second driving unit 12 in the electronic device drive the vibration unit 20 at different driving frequencies, so that the vibration unit 20 in the electronic device can output the target sound in the target sound field, and the intensity of the target sound in the target sound field is greater than the intensity of the target sound outside the target sound field, that is, the electronic device can control the coverage range and intensity of the target sound emitted, thereby reducing privacy leakage and noise.
[0044] In another embodiment, the vibration unit 20 includes a first vibration unit and a second vibration unit, the first driving unit 11 is used to drive the first vibration unit to vibrate, the second driving unit 12 is used to drive the second vibration unit to vibrate, the first vibration unit and the second vibration unit output target sounds in a target sound field by vibrating, and the vibration frequency output by the first vibration unit is different from the vibration frequency output by the second vibration unit.
[0045] In this embodiment, the structure of the vibration unit 20 corresponds to the driving unit 10, that is, the vibration unit 20 includes a first vibration unit driven by the first driving unit 11 and a second vibration unit driven by the second driving unit 12. The first vibration unit and the second vibration unit are driven by the first driving unit 11 and the second driving unit 12 at different driving frequencies and can output different vibration frequencies. The combination of different vibration frequencies can output the target sound in the target sound field. In one example, the driving unit 10 can emit ultrasonic waves or driving electrical signals to drive the vibration unit 20. The first vibration unit and the second vibration unit are driven by the first driving unit 11 and the second driving unit 12 at different driving frequencies and can output ultrasonic waves of different vibration frequencies. The combination of ultrasonic waves of different frequencies can output the target sound in the target sound field.
[0046] In another embodiment, the number of the first driving units 11 and the second driving units 12 are equal, the first driving units 11 and the second driving units 12 are arranged along the thickness direction of the electronic device or along the first direction, and the first direction is perpendicular to the thickness direction of the electronic device; the driving frequency of the first driving unit 11 on the vibration unit 20 is not less than twice the driving frequency of the second driving unit 12 on the vibration unit 20.
[0047] In this embodiment, a plurality of first drive units 11 and second drive units 12 are provided in the drive unit 10, and the number of the first drive units 11 and the second drive units 12 is equal. The first drive units 11 and the second drive units 12 can be overlapped and arranged along the thickness direction of the electronic device, or can be cross-arranged along a first direction perpendicular to the thickness direction of the electronic device.
[0048] Figure 2 The arrangement diagram of the first drive unit and the second drive unit in the embodiment of the present disclosure is shown in FIG. Figure 1 , Figure 3 The arrangement diagram of the first drive unit and the second drive unit in the embodiment of the present disclosure is shown in FIG. Figure 2 , Figure 4 The arrangement diagram of the first drive unit and the second drive unit in the embodiment of the present disclosure is shown in FIG. Figure 3 , Figure 5 The arrangement diagram of the first drive unit and the second drive unit in the embodiment of the present disclosure is shown in FIG. Figure 4 ,like Figure 2 As shown, if the direction of the Y axis is the thickness direction of the electronic device and the direction of the X axis is the direction perpendicular to the Y axis, the first driving unit 11 and the second driving unit 12 can be arranged overlappingly along the Y axis, as shown in FIG. Figure 2 ; They can also be arranged crosswise along the X-axis perpendicular to the Y-axis, such as Figure 3 ; They can also be arranged crosswise along the Z axis perpendicular to the Y axis, such as Figure 4 It should be emphasized that the present disclosure does not limit the shapes of the first drive unit 11 and the second drive unit 12. The shapes of the first drive unit 11 and the second drive unit 12 can be Figure 2-Figure 4 The rectangle shown can also be Figure 5 In addition, when the first driving unit 11 and the second driving unit 12 are cross-arranged, they can also be cross-arranged at a certain angle based on actual application scenarios, such as Figure 5 shown.
[0049] In this embodiment, the propagation distance of the target sound is related to the difference between the driving frequencies of the first drive unit 11 and the second drive unit 12 on the vibration unit 20. In order to ensure that the target sound can at least propagate to the target sound field, the driving frequency of the first drive unit 11 on the vibration unit 20 must be not less than twice the driving frequency of the second drive unit 12 on the vibration unit 20. If the driving frequency of the first drive unit 11 on the vibration unit 20 is f1, and the driving frequency of the second drive unit 12 on the vibration unit 20 is f2, then f1≥2×f2. In one example, the driving frequency of the first drive unit 11 can be 96khz, and the driving frequency of the second drive unit 12 can be 48kHz; or, the driving frequency of the first drive unit 11 can be 100khz, and the driving frequency of the second drive unit 12 can be 50kHz; or, the driving frequency of the first drive unit 11 can be 120khz, and the driving frequency of the second drive unit 12 can be 60kHz.
[0050] In another embodiment, the vibration unit 20 includes a vibration membrane, and when the driving unit 10 drives the vibration membrane to vibrate, the vibration membrane outputs a target sound in a target sound field; the vibration membrane includes a first vibration membrane and a second vibration membrane, and the vibration frequency output by the first vibration membrane driven by the first driving unit 11 is different from the vibration frequency output by the second vibration membrane driven by the second driving unit 12.
[0051] In this embodiment, the vibration unit 20 may include only a vibration membrane, or may include other components such as a frame and a dustproof part and a vibration membrane. The driving unit 10 drives the vibration membrane to vibrate so that the vibration membrane outputs a target sound in a target sound field. The structure of the vibration membrane corresponds to the driving unit 10, that is, the vibration membrane includes a first vibration membrane driven by the first driving unit 11 and a second vibration membrane driven by the second driving unit 12. The first vibration membrane and the second vibration membrane can output different vibration frequencies after being driven by the first driving unit 11 and the second driving unit 12 at different driving frequencies.
[0052] Figure 6 The structure of an electronic device according to an embodiment of the present disclosure is shown in FIG. Figure 2 ,like Figure 6 As shown, an electronic device includes, in addition to a driving unit 10 and a vibration unit 20, the following:
[0053] The identification unit 30 is used to identify the position information of the target object receiving the target sound, and the position information includes the distance information and / or angle information of the target object relative to the electronic device.
[0054] In this embodiment, the target sound field may be the area where the target object receiving the target sound is located. In order to accurately determine the area where the target object is located, the electronic device needs to be able to identify the position information of the target object. Therefore, an identification unit 30 is provided in the electronic device for identifying the distance information and / or angle information of the target object relative to the electronic device. The identification unit 30 may include infrared sensors, ToF (Time of Flight) sensors, cameras and other devices that can measure distance and / or angles.
[0055] Figure 8 A schematic diagram showing a process of a processing method according to an embodiment of the present disclosure Figure 1 ,like Figure 8 As shown, a processing method is applied to an electronic device, the electronic device includes a vibration unit and a driving unit, the first driving unit and the second driving unit of the driving unit are used to drive the vibration unit to vibrate;
[0056] Methods include:
[0057] Step S101, obtaining the location information of the target object.
[0058] In this embodiment, the location information of the target object can be obtained based on an identification unit inside the electronic device for identifying the location information of the target object relative to the electronic device, such as an infrared sensor, a ToF (Time of Flight) sensor, and a camera, or based on a device outside the electronic device for identifying the location information of the target object, and the location information can be sent to the electronic device.
[0059] Step S102: adjusting the driving frequencies of the first driving unit and the second driving unit on the vibration unit based on the position information.
[0060] In this embodiment, the first driving unit and the second driving unit of the driving unit in the electronic device are used to drive the vibration unit to vibrate, so as to output the target sound, that is, the driving frequency of the first driving unit and the second driving unit on the vibration unit can affect the coverage and intensity of the target sound. In order to enable the target object to clearly hear the target sound, while other objects outside a certain range around the target object hear very little or cannot hear the target sound, it is necessary to determine the target sound field based on the position information of the target object, and the target sound field is the area including the target object, and then adjust the driving frequency of the first driving unit and the second driving unit on the vibration unit based on the target sound field, so that the target sound emitted by the vibration unit of the electronic device can be output in the target sound field, and the intensity of the target sound in the target sound field is greater than the intensity of the target sound outside the target sound field. Among them, the driving frequency of the first driving unit on the vibration unit after adjustment is different from the driving frequency of the second driving unit on the vibration unit, so that the first driving unit and the second driving unit can be equivalent to a dipole sound source, and the sounds generated by the first driving unit and the second driving unit driving the vibration unit will interfere with each other, thereby achieving a more uniform sound field control and preventing the generation of multiple side lobes that cause serious leakage of the target sound.
[0061] In one possible implementation, after adjusting the driving frequencies of the first driving unit and the second driving unit on the vibration unit, the target sound can be output within the target sound field without covering the area outside the target sound field, that is, the intensity of the target sound within the target sound field is sufficient to enable the target object to clearly hear the target sound, and the intensity of the target sound outside the target sound field is 0.
[0062] In one possible implementation, after adjusting the driving frequencies of the first driving unit and the second driving unit on the vibration unit, the coverage area of the target sound includes the target sound field and a partial area outside the target sound field, the intensity of the target sound within the target sound field is sufficient to enable the target object to clearly hear the target sound, and the intensity of the target sound outside the target sound field is less than the intensity within the target sound field.
[0063] Figure 7 A schematic diagram showing a processing method of an embodiment of the present disclosure Figure 1 ,like Figure 7As shown, since the driving unit in the electronic device drives the vibration unit to emit ultrasonic waves, after the sound output by the electronic device propagates a certain distance, the nonlinear effect of the ultrasonic waves becomes significant, and the modulated ultrasonic waves begin to be demodulated to restore the target sound, that is, no sound can be heard within a first distance around the electronic device, and clear audio can be heard outside the first distance. Assuming that the distance from the electronic device 100 to point a is the first distance, the radiation angle of the sound output by the electronic device 100 is 30°, L1 and L2 are the boundaries of the sound output by the electronic device 100, and point b at the second distance behind the target object A is the boundary of the target sound field, then the target sound field can be determined to be the area enclosed by L1, L2, the sound beam width line at point a and the sound beam width line at point b, and it is necessary to adjust the driving frequency of the first driving unit and the second driving unit in the electronic device 100 on the vibration unit so that the target sound emitted by the electronic device 100 is output within the target sound field, and the intensity of the target sound within the target sound field is greater than the intensity of the target sound outside the target sound field.
[0064] In the present disclosure, by adjusting the driving frequency of the vibration unit driven by the first driving unit and the second driving unit in the electronic device, the vibration unit 20 in the electronic device can be controlled to output the target sound in the target sound field where the target object is located, and the intensity of the target sound in the target sound field is greater than the intensity of the target sound outside the target sound field, that is, the coverage range and the intensity of the target sound emitted by the electronic device can be controlled, thereby reducing privacy leakage and noise.
[0065] Fig. 9 A schematic diagram showing a process of a processing method according to an embodiment of the present disclosure Figure 2 ,like Fig. 9 As shown, a processing method includes:
[0066] Step S201, obtaining the location information of the target object.
[0067] Step S202: adjusting the driving frequencies of the first driving unit and the second driving unit on the vibration unit based on the position information.
[0068] The specific implementation details of step S201-step S202 are similar to those of step S101 and step S102, and are not repeated here.
[0069] Step S203: adjusting the number of the first driving unit and the second driving unit to be turned on based on the position information.
[0070] In this embodiment, the number of the first drive unit and the second drive unit provided in the drive unit of the electronic device may be multiple, and the number of the first drive units is equal to the number of the second drive units. When the electronic device makes a sound, only part of the first drive units and part of the second drive units may be turned on to drive the vibration unit. The number of the first drive units and the second drive units turned on will also affect the coverage and intensity of the target sound. Therefore, after obtaining the position information of the target object, the target sound field can also be determined based on the position information of the target object. The target sound field is the area including the target object. Then, the number of the first drive unit and the second drive unit turned on is adjusted based on the target sound field, so that the target sound emitted by the vibration unit of the electronic device can be output within the target sound field, and the intensity of the target sound within the target sound field is greater than the intensity of the target sound outside the target sound field. The number of the first drive unit and the second drive unit turned on is the same or different.
[0071] In the present disclosure, by adjusting the number of the first drive unit and the second drive unit in the electronic device being turned on, the vibration unit 20 in the electronic device can be further controlled to output the target sound in the target sound field where the target object is located, and the intensity of the target sound in the target sound field is greater than the intensity of the target sound outside the target sound field, that is, the coverage range and the intensity of the target sound emitted by the electronic device can be controlled, thereby further reducing privacy leakage and noise.
[0072] Fig.10 A schematic diagram showing a process of a processing method according to an embodiment of the present disclosure Figure 3 ,like Fig.10 As shown, a processing method includes:
[0073] Step S301, obtaining the location information of the target object.
[0074] The specific implementation details of step S301 are similar to those of step S101 and are not repeated here.
[0075] Step S302: determining a target sound field based on the position information.
[0076] In this embodiment, the position information of the target object includes at least distance information and / or angle information of the target object relative to the electronic device. Based on the angle information of the target object relative to the electronic device, the sound angle of the target sound field can be determined. Based on the distance information of the target object relative to the electronic device, the sound distance of the target sound field can be determined. Based on the sound angle and / or sound distance of the target sound field, the target sound field can be determined.
[0077] like Figure 7As shown in the figure, if the distance between the target object A and the electronic device is D, and it is located in the direction of 30° to the right in front of the electronic device, then the sound emission distance of the target sound field is D+D1, where D1 is the distance between the target object A and point b, and D1 can be set based on the actual scene. The sound emission angle of the target sound field is 30° to the right in front of the electronic device, that is, Figure 7 In the direction of the middle dotted line L3, when the electronic device 100 makes a sound, the center line of the sound beam needs to coincide with the dotted line L3, and the radiation angle of the sound output by the electronic device 100 is 30°. Therefore, the angles between the two side boundaries L1 and L2 of the sound beam and the center line of the sound beam (that is, the dotted line L3) are 15° respectively. The area enclosed by L1, L2, the sound beam width line at point b and the electronic device 100 can be determined as the target sound field, and the area enclosed by L1, L2, the sound beam width line at point a and the sound beam width line at point b can also be determined as the target sound field. The distance from the electronic device to point a is the propagation distance of the sound beam when the modulated ultrasonic wave begins to demodulate a clear target sound.
[0078] Step S303 : determining, based on the target sound field, a first driving frequency of the first driving unit for the vibration unit and a second driving frequency of the second driving unit for the vibration unit that can minimize the cost function.
[0079] In this embodiment, the cost function characterizes the error between the sound emitted by the vibration unit and the target sound, and the parameter affecting the cost function may be at least one of the following: the difference between the first driving frequency and the second driving frequency; the ratio of the first driving frequency to the second driving frequency. Therefore, based on the target sound field, the first driving frequency of the first driving unit to the vibration unit and the second driving frequency of the second driving unit to the vibration unit that can minimize the cost function are determined. At this time, the first driving frequency and the second driving frequency can ensure that the sound emitted by the electronic device is closest to the target sound.
[0080] In one possible implementation, the cost function may be as shown in the following formula 1:
[0081] minL(f 1 ,f 2 )f 1 ,f 2 >F;P far <15 Formula 1
[0082] Among them, L represents the cost function, f 1 is the first driving frequency, f 2 is the second driving frequency, F is the maximum frequency of audible sound, P far is the intensity of the sound outside the target sound field, P far The unit is dB (decibel). The above formula 1 is simulated and solved to obtain the f that minimizes the cost function L. 1 and f2 .
[0083] In one embodiment, the parameter affecting the cost function may also be at least one of the following: the difference between the number of the first drive unit turned on and the number of the second drive unit turned on; the ratio of the number of the first drive unit turned on and the number of the second drive unit turned on. The cost function may be shown in the following formula 2:
[0084] minL(S 1 ,S 2 ,f 1 ,f 2 )f 1 ,f 2 >F;S 1 ,S 2 >0;P far <15 Formula 2
[0085] Among them, L represents the cost function, S 1 is the number of first drive units turned on, S 2 is the number of the second drive unit that is turned on, f 1 is the first driving frequency, f 2 is the second driving frequency, F is the maximum frequency of audible sound, P far is the intensity of the sound outside the target sound field, P far The unit is dB (decibel). The above formula 2 is simulated and solved to obtain S that minimizes the cost function L. 1 , S 2 、f 1 and f 2 .
[0086] In the present disclosure, the sound angle and / or sound distance of the target sound field is determined based on the distance information and / or angle information of the target object relative to the electronic device, so the range of the target sound field can be accurately determined. Based on the target sound field, the number of first drive units turned on, the number of second drive units turned on, the first drive frequency of the first drive unit to the vibration unit, and the second drive frequency of the second drive unit to the vibration unit that can minimize the cost function are determined, thereby ensuring that the sound emitted by the electronic device is closest to the target sound.
[0087] In another embodiment, the intensity of the target sound in the target sound field is greater than the intensity of the target sound outside the target sound field, including:
[0088] The intensity of the target sound in the target sound field is greater than a first threshold, the intensity of the target sound outside the target sound field is less than a second threshold, and the first threshold is greater than or equal to the second threshold.
[0089] In this embodiment, in order to ensure that the intensity of the target sound in the target sound field is greater than the intensity of the target sound outside the target sound field, a first threshold and a second threshold may be set, and the first threshold is greater than or equal to the second threshold, and the driving frequency of the first drive unit and the second drive unit on the vibration unit and / or the number of openings of the first drive unit and the second drive unit are adjusted so that the intensity of the target sound in the target sound field is greater than the first threshold, the intensity of the target sound outside the target sound field is less than the second threshold, and the first threshold is greater than or equal to the second threshold. In one example, the first threshold may be the minimum intensity at which the target object can clearly hear the target sound, and the second threshold may be 15dB.
[0090] Fig.11 A schematic diagram showing a process of a processing method according to an embodiment of the present disclosure Figure 4 ,like Fig.11 As shown, a processing method includes:
[0091] Step S401, obtaining the location information of the target object.
[0092] Step S402: adjusting the driving frequencies of the first driving unit and the second driving unit on the vibration unit based on the position information.
[0093] The specific implementation details of step S401-step S402 are similar to those of step S101 and step S102, and are not repeated here.
[0094] Step S403, obtaining the target beam characteristic corresponding to the lowest frequency sound in the target sound.
[0095] In this embodiment, the low-frequency beam usually has a wider main lobe, which is easy to adjust its directivity and intensity distribution, and has fewer side lobes, that is, the sound energy leakage in the non-main beam direction is less. In addition, the propagation loss of low-frequency sound waves in the air is small, and its waveform and intensity can be better maintained. Therefore, it can be used as a relatively stable basic mode, that is, the beam characteristics corresponding to the lowest frequency sound are determined as the target beam characteristics. Among them, the beam characteristics include at least one of the following: main lobe direction, main lobe width, side lobe level, side lobe position, maximum gain position, gain change characteristics and beam zero point position.
[0096] In one embodiment, the target sound can be converted into a frequency domain signal based on Fourier transform, the lowest frequency sound can be determined from the frequency domain signal, and a beam pattern corresponding to the target sound can be generated, and the target beam characteristics corresponding to the lowest frequency sound can be extracted from the beam pattern.
[0097] Step S404: adjusting the beam characteristics of the target sound that has a frequency different from the lowest frequency sound to the target beam characteristics.
[0098] In this embodiment, after determining the target beam characteristics, the beam characteristics of the frequency sound different from the lowest frequency sound in the target sound can be adjusted to the target beam characteristics, the weight coefficients related to the first drive unit and the second drive unit can be determined based on the beamforming algorithm, and the beam characteristics of the frequency sound different from the lowest frequency sound can be adjusted based on the weight coefficients.
[0099] In one example, the beam characteristics of the frequency sound different from the lowest frequency sound may be adjusted based on the following formula three:
[0100]
[0101] Among them, D 1 (θ) is the first beam characteristic emitted by the first driving unit driving the vibration unit, D 2 (θ) is the second beam characteristic emitted by the second driving unit driving the vibration unit, D w (θ) is the nonlinear beam characteristic (Westervelt beam characteristic), D d (θ) is the target beam characteristic.
[0102] Among them, D 1 (θ) = D s (k 2 ,θ)·H(k 1 ,θ,w 1 ), D 2 (θ) = D s (k 2 ,θ)·H(k 2 ,θ,w 2 ),D s (k 1 ,θ) is the channel beam characteristic corresponding to the first driving unit, H(k 1 ,θ,w 1 ) is the array beam characteristic corresponding to the first driving unit, k 1 is the wave number corresponding to the first driving unit, w 1 is the weight coefficient associated with the first drive unit, D s (k 2 ,θ) is the channel beam characteristic corresponding to the second driving unit, H(k 2 ,θ,w 2 ) is the array beam characteristic corresponding to the second driving unit, k 2 is the wave number corresponding to the second drive unit, w 2 is the weight coefficient associated with the second drive unit, and D 1 (θ) and D 2 Substitute the formula corresponding to (θ) into the above formula 3 and solve it to get w 1 and w2 The optimal solution is obtained, thereby adjusting the beam characteristics of the target sound that is different from the lowest frequency sound to the target beam characteristics, further reducing the leakage of the target sound in the non-main beam direction, improving the target sound quality, and ensuring the user experience.
[0103] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0104] Fig.12 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0105] like Fig.12 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0106] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0107] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as a processing method. For example, in some embodiments, a processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of a processing method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform a processing method in any other appropriate manner (e.g., by means of firmware).
[0108] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0109] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0110] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0111] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0112] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0113] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0114] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0115] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0116] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. An electronic device, comprising: Vibration unit; a driving unit, configured to drive the vibration unit to vibrate, the driving unit comprising a first driving unit and a second driving unit, wherein when the driving unit drives the vibration unit to vibrate, the vibration unit outputs a target sound in a target sound field, and an intensity of the target sound in the target sound field is greater than an intensity of the target sound outside the target sound field; The driving frequency of the first driving unit on the vibration unit is different from the driving frequency of the second driving unit on the vibration unit.
2. The electronic device according to claim 1, wherein the vibration unit comprises a first vibration unit and a second vibration unit, the first driving unit is used to drive the first vibration unit to vibrate, the second driving unit is used to drive the second vibration unit to vibrate, the first vibration unit and the second vibration unit output target sounds in a target sound field by vibrating, and the vibration frequency output by the first vibration unit is different from the vibration frequency output by the second vibration unit.
3. The electronic device according to claim 2, wherein the number of the first driving units and the second driving units are equal, the first driving units and the second driving units are arranged along the thickness direction of the electronic device or along the first direction, and the first direction is perpendicular to the thickness direction of the electronic device; A driving frequency of the first driving unit on the vibration unit is not less than twice a driving frequency of the second driving unit on the vibration unit.
4. The electronic device according to claim 1, wherein the vibration unit comprises a vibration membrane, and when the driving unit drives the vibration membrane to vibrate, the vibration membrane outputs the target sound in the target sound field; The vibration membrane includes a first vibration membrane and a second vibration membrane, and a vibration frequency output by the first vibration membrane driven by the first driving unit is different from a vibration frequency output by the second vibration membrane driven by the second driving unit.
5. The electronic device according to any one of claims 1 to 4, further comprising: An identification unit, the identification unit is used to identify position information of a target object receiving the target sound, the position information including distance information and / or angle information of the target object relative to the electronic device.
6. A processing method, applied to an electronic device, the electronic device comprising a vibration unit and a driving unit, wherein a first driving unit and a second driving unit of the driving unit are used to drive the vibration unit to vibrate; The method comprises: Get the location information of the target object; Based on the position information, adjusting the driving frequencies of the first driving unit and the second driving unit on the vibration unit so that the vibration unit outputs a target sound in a target sound field, and an intensity of the target sound in the target sound field is greater than an intensity of the target sound outside the target sound field; The driving frequency of the first driving unit on the vibration unit is different from the driving frequency of the second driving unit on the vibration unit, and the target sound field is a region including the target object.
7. The method according to claim 6, wherein the driving unit comprises a plurality of first driving units and a plurality of second driving units, and the number of the first driving units is equal to the number of the second driving units; After obtaining the location information of the target object, the method further includes: Based on the position information, the opening numbers of the first driving unit and the second driving unit are adjusted so that the first driving unit and the second driving unit drive the vibration unit, and the opening numbers of the first driving unit and the second driving unit are the same or different.
8. The method according to claim 6, wherein adjusting the driving frequencies of the first driving unit and the second driving unit on the vibration unit based on the position information comprises: determining the target sound field based on the position information; Based on the target sound field, determining a first driving frequency of the first driving unit for the vibration unit and a second driving frequency of the second driving unit for the vibration unit that can minimize a cost function; The cost function represents the error between the sound emitted by the vibration unit and the target sound, and the parameters affecting the cost function include at least one of the following: a difference between the first driving frequency and the second driving frequency; a ratio of the first driving frequency to the second driving frequency; a difference between the number of the first drive units turned on and the number of the second drive units turned on; The ratio of the number of the first drive units that are turned on to the number of the second drive units that are turned on.
9. The method according to claim 8, wherein the location information comprises distance information and / or angle information of the target object relative to the electronic device; The determining the target sound field based on the position information includes: determining a sound emission angle of the target sound field based on angle information of the target object relative to the electronic device, and / or, Based on the distance information of the target object relative to the electronic device, the sound emission distance of the target sound field is determined.
10. The method according to claim 6, wherein the intensity of the target sound in the target sound field is greater than the intensity of the target sound outside the target sound field, comprising: The intensity of the target sound in the target sound field is greater than a first threshold, the intensity of the target sound outside the target sound field is less than a second threshold, and the first threshold is greater than or equal to the second threshold.
11. The method according to claim 6, further comprising: Obtaining a target beam characteristic corresponding to the lowest frequency sound in the target sound; adjusting the beam characteristic of the target sound having a frequency different from the lowest frequency sound to the target beam characteristic; The beam characteristics include at least one of the following: main lobe direction, main lobe width, side lobe level, side lobe position, maximum gain position, gain variation characteristics and beam zero point position.