Loudspeaker control method for projector, projector and storage medium

By obtaining and adjusting the vibration parameters of the projector and reducing the dynamic adjustment range of the audio signal, the screen jitter problem caused by the sound of the projector speaker is solved, and the projection screen viewing experience is improved.

CN118890447APending Publication Date: 2024-11-01深圳市当智科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411153691.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

When the projector speaker plays louder, it will cause the projector body to vibrate, causing the projector screen to shake, especially the thin and light projectors, which are more obvious. The existing technology is difficult to effectively solve this problem.

Method used

By obtaining the vibration parameters of the projector, when the vibration parameters are greater than the threshold, the upper limit of the dynamic adjustment range of the audio signal is gradually reduced, the coordinate information is obtained using the IMU module, the audio signal is adjusted to avoid vibration, and the audio input signal is compressed to ensure the output signal No exceeding the safety range.

Benefits of technology

It effectively solves the problem of projected screen jitter, improves the experience of watching projected screen, ensures that the volume is stable and does not significantly reduce, and completely solves the problem of projected screen jitter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118890447A_ABST
    Figure CN118890447A_ABST
Patent Text Reader

Abstract

The invention discloses a loudspeaker control method for a projector, the projector and a storage medium. The loudspeaker control method for the projector comprises the following steps: acquiring vibration parameters of the projector; and when the vibration parameter is greater than a vibration threshold value, reducing the upper limit value of the dynamic adjustment range of the audio signal. According to the loudspeaker control method for the projector, the projector and the storage medium provided by the invention, the problem of jittering of a projection picture caused by sound production of the loudspeaker of the projector is effectively solved, and the experience feeling of watching the projection picture is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of projection equipment, and in particular to a speaker control method for a projector, a projector and a storage medium. Background Art

[0002] At present, when the volume of the projector speaker is relatively high, it usually causes the vibration of the projector body, resulting in jitter in the projected image. Especially for some relatively thin projectors, the jitter is more obvious. In the existing technology, physical means such as sponge gaskets can be used to reduce the buffer to a certain extent, but the differences in the physical hardware of the machine make it difficult to ensure the consistency of the product, so it is still difficult to effectively solve the problem of obvious jitter in the image caused by the sound of the speaker. Summary of the invention

[0003] In order to solve the above technical problems, the present invention proposes a speaker control method for a projector, a projector and a storage medium, which effectively solves the problem of jitter of the projected image caused by the sound of the projector speaker and improves the experience of viewing the projected image.

[0004] In order to achieve the above object, the present invention adopts the following technical solutions:

[0005] In a first aspect, the present invention discloses a speaker control method for a projector, comprising the following steps: obtaining a vibration parameter of the projector; when the vibration parameter is greater than a vibration threshold, lowering an upper limit value of a dynamic adjustment range of an audio signal.

[0006] Further, the obtaining of the vibration parameters of the projector includes: obtaining coordinate information of the projector at a first preset frequency, and obtaining the vibration parameters according to a change in the coordinate information at adjacent moments.

[0007] Furthermore, the acquiring of coordinate information of the projector at a first preset frequency and obtaining vibration parameters according to a change in the coordinate information at adjacent moments include: acquiring the coordinate information of the projector on each coordinate axis at a first preset frequency through an IMU module in the projector, and taking the change in the coordinate information of each coordinate axis of the projector at adjacent moments as a vibration parameter.

[0008] Further, when the vibration parameter is greater than the vibration threshold, lowering the upper limit value of the dynamic adjustment range of the audio signal includes: when the vibration parameter is greater than the vibration threshold, gradually lowering the upper limit value of the dynamic adjustment range of the audio signal.

[0009] Furthermore, when the vibration parameter is greater than the vibration threshold, gradually reducing the upper limit of the dynamic adjustment range of the audio signal includes: when the vibration parameter is greater than the vibration threshold, adjusting the upper limit of the dynamic adjustment range of the audio signal by reducing it by a preset decibel in each preset period.

[0010] Furthermore, when the vibration parameter is greater than the vibration threshold, after lowering the upper limit value of the dynamic adjustment range of the audio signal, it also includes: obtaining the amplitude of the audio input signal; when the amplitude of the audio input signal is greater than the upper limit value of the dynamic adjustment range, compressing the audio input signal to obtain an audio output signal.

[0011] Furthermore, when the amplitude of the audio input signal is greater than the upper limit value of the dynamic adjustment range, compressing the audio input signal to obtain an audio output signal includes: when the amplitude of the audio input signal is greater than the upper limit value of the dynamic adjustment range, the compression relationship between the audio output signal and the audio input signal satisfies: ydB=T+(xdB-T) / Ratio; wherein xdB is the amplitude of the audio input signal, ydB is the amplitude of the audio output signal, T is the upper limit value of the current dynamic adjustment range, and Ratio is the compression ratio of the audio signal when the upper limit value of the dynamic adjustment range is exceeded.

[0012] Furthermore, obtaining the vibration parameters of the projector includes: obtaining the input state of the audio signal, and when the audio output signal is continuously recognized within a preset time, obtaining the vibration parameters of the projector; when the audio output signal cannot be continuously recognized within the preset time, stopping obtaining the vibration parameters of the projector.

[0013] In a second aspect, the present invention discloses a projector, comprising a processor and a memory, wherein the memory stores a computer program, and the computer program can be read and executed by the processor to implement the speaker control method for the projector as described in the first aspect.

[0014] In a third aspect, the present invention discloses a storage medium storing a computer program, wherein the computer program is configured to be executable by a processor to execute the speaker control method for a projector described in the first aspect.

[0015] Compared with the prior art, the beneficial effect of the present invention lies in: the control method for the speaker of the projector proposed in the present invention first obtains the vibration parameters of the projector, and when the vibration parameters are greater than the vibration threshold, reduces the upper limit value of the dynamic adjustment range of the audio signal, so that the adjusted audio output signal will no longer cause vibration, thereby completely solving the jitter problem of the projection picture and improving the experience of viewing the projection picture.

[0016] In a further scheme, when the vibration parameter is greater than the vibration threshold, the upper limit value of the dynamic adjustment range of the audio signal is adjusted by reducing a preset decibel in each preset cycle, so that the amplitude of the audio output signal can be more stable while overcoming the jitter problem, thereby completely solving the jitter problem of the projection picture without significantly reducing the volume, and further improving the experience of watching the projection. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a flowchart of a speaker control method for a projector disclosed in Embodiment 1 of the present invention;

[0018] Figure 2 It is a schematic diagram of the influence of the upper limit value of the dynamic adjustment range of the audio signal on the output amplitude of the audio output signal in a specific example of the present invention. DETAILED DESCRIPTION

[0019] The following is a detailed description of the embodiments of the present invention. It should be emphasized that the following description is only exemplary and is not intended to limit the scope and application of the present invention.

[0020] It should be noted that when a component is referred to as being "fixed to" or "disposed on" another component, it can be directly on the other component or indirectly on the other component. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element. In addition, connection can be used for both fixing and circuit / signal communication.

[0021] It should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0022] 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 one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0023] like Figure 1 As shown, the present invention discloses a speaker control method for a projector, comprising the following steps:

[0024] S1: Obtain vibration parameters of the projector;

[0025] Among them, step S1 specifically includes: obtaining the input state of the audio signal; when the audio output signal is continuously recognized within a preset time, obtaining the vibration parameters of the projector; when the audio output signal cannot be continuously recognized within the preset time, stopping obtaining the vibration parameters of the projector.

[0026] The above specific steps indicate that before obtaining the vibration parameters of the projector, it also includes the step of monitoring whether the projector plays sound. If sound is detected, the step of obtaining the vibration parameters of the projector is further executed. If no sound is detected, the step of obtaining the vibration parameters of the projector is stopped. In a specific example, the bottom layer of the projector writes audio data to the sound card to increase the counting variable cn. Each time the audio data is written, the count is increased by 1, that is, cn=cn+1; at the same time, the background process reads the value of cn at regular intervals (for example, 500ms); if cn>0, it means that the projector is playing sound, and cn is assigned to 0; if cn>0 is read for 3 consecutive times, the gravity sensor is started to monitor the vibration of the fuselage; if the value of cn is 0 for 3 consecutive times, it means that the projector stops playing sound or is in a silent state, and the gravity sensor ends its work.

[0027] Among them, the step of obtaining the vibration parameters of the projector specifically includes: obtaining the coordinate information of the projector at a first preset frequency, and obtaining the vibration parameters according to the change in the coordinate information at adjacent moments. Furthermore, the coordinate information of the projector on each coordinate axis is obtained at a first preset frequency through the IMU (inertial measurement unit) module in the projector, and the change in the coordinate information of each coordinate axis of the projector at adjacent moments is used as the vibration parameter. Specifically, the three-axis acceleration of the projector can be obtained by the IMU module in the projector and the time integral to obtain the displacement, so as to calculate the spatial coordinate position at each moment; or the change in the three attitude angles can be obtained by the IMU module in the projector, so as to characterize the vibration parameters. In addition, in addition to using the IMU module in the projector, other existing vibration recognition sensors can also be used to directly obtain the vibration parameters of the projector.

[0028] S2: When the vibration parameter is greater than the vibration threshold, the upper limit value of the dynamic adjustment range of the audio signal is reduced.

[0029] This step includes: when the vibration parameter is greater than the vibration threshold, gradually reducing the upper limit of the dynamic adjustment range of the audio signal. For example, when the calculated vibration parameter is greater than the vibration threshold, the upper limit of the dynamic adjustment range of the audio signal is adjusted by reducing a preset decibel per preset period.

[0030] In some embodiments, when the vibration parameter is greater than the vibration threshold

[0031] For example, in the previous step S1, a timer is enabled to obtain the X, Y, and Z axis data of a gravity sensor such as a gyroscope at regular intervals (e.g., 200 ms). When the projector vibrates, the X, Y, and Z axis values ​​obtained will fluctuate and jump continuously. The X, Y, and Z axis values ​​obtained at the last moment are X0, Y0, and Z0. Then, the spatial coordinate displacements of the X, Y, and Z axes obtained at time t are respectively: x t =|X-X0|,y t =|Y-Y0|, z t =|Z-Z0|. Among them, the vibration threshold is β, if x t >β or y t >β or z t >β, which means that the vibration parameter is greater than the vibration threshold. At this time, the amplifier DRC (Dynamic Range Control) parameters are adjusted to solve the jitter problem of the projected image. The triggering of the adjustment of the amplifier DRC parameters is specifically to lower the upper limit of the dynamic adjustment range of the audio signal to ensure that the audio signal is not too large. When the output audio signal is small, the system will output according to the original settings; however, when the output audio signal is too large, such as exceeding the upper limit of the dynamic adjustment range, in order to protect the speaker, DRC will compress the amplitude of the audio output signal.

[0032] The specific parameters of the vibration threshold should be determined according to the actual device weight, anti-shake structure and other factors. In one example, the sensitivity of the gravity sensor is 0 to 2048 LSB / g. After conversion, the measurable gravity acceleration range is ±16g. When the gravity sensor outputs 120 LSB, it can be considered that the vibration parameter of the device has reached the vibration threshold. The acceleration signal reflected by the gravity sensor can characterize the vibration parameter of the device. The spatial coordinate displacement of the projector can also be obtained based on the integration of the acceleration signal and time. The acceleration signal or the spatial coordinate displacement can be used as the vibration parameter of the device.

[0033] In a further embodiment, step S2 further includes:

[0034] S3: Obtain the amplitude of the audio input signal;

[0035] S4: When the amplitude of the audio input signal is greater than the upper limit of the dynamic adjustment range, compress the audio input signal to obtain an audio output signal.

[0036] This step specifically includes: when the amplitude of the audio input signal is greater than the upper limit of the dynamic adjustment range, the compression relationship between the audio output signal and the audio input signal satisfies: ydB=T+(xdB-T) / Ratio; wherein xdB is the amplitude of the audio input signal, ydB is the amplitude of the audio output signal, T is the upper limit of the current dynamic adjustment range, and Ratio is the compression ratio of the audio signal when the upper limit of the dynamic adjustment range is exceeded.

[0037] Furthermore, the step of triggering the adjustment of the amplifier DRC parameters includes: applying a gain to the audio input signal according to its size, specifically, when the audio signal is detected to be too large, applying a negative gain to reduce the amplitude of the audio signal, so that the audio output signal of the speaker can be controlled within a certain range without distortion. Among them, when the amplitude xdB of the audio input signal is greater than the upper limit value T of the current dynamic adjustment range, a negative gain is applied to make the amplitude ydB of the audio output signal lower than the upper limit value T of the current dynamic adjustment range, so as to reduce the amplitude ydB of the audio output signal, thereby solving the jitter problem of the projected image.

[0038] Therefore, it can be understood that the audio output signal value is as follows:

[0039]

[0040] Wherein, Ratio is the compression ratio of the audio signal when the upper limit of the dynamic adjustment range is exceeded.

[0041] In T <T max In this case, the upper limit value T of the current dynamic adjustment range is adjusted left and right to control the speaker amplitude, reduce the vibration of the body and avoid the jitter of the projected image, T max It refers to the maximum value of the upper limit value T of the current dynamic adjustment range obtained after testing and debugging to ensure that the speaker sound of the projector is not distorted. Specifically, for example, T decreases by 1db every 1S, that is, T=T-1; at the same time, if x t ,y t 、z t Less than the vibration threshold β, then the T value will stop decreasing. If the time is as long as 3 seconds x t ,y t 、z t If both are less than the vibration threshold β, the operation of adjusting the power amplifier DRC parameters will be exited, otherwise it will continue to decrease.

[0042] like Figure 2As shown, the broken line L1 represents the adjustment curve of the amplitude xdB of the audio input signal and the amplitude ydB of the audio output signal when the upper limit value T of the current dynamic adjustment range is a preset value; the arc L2 can be understood as the final effect curve that makes the value of the amplitude ydB of the audio output signal tend to be smooth by continuously adjusting the upper limit value T of the dynamic adjustment range, thereby solving the jitter problem of the projection picture without significantly reducing the volume, and further improving the experience of watching the projection.

[0043] Embodiment 2 of the present invention discloses a projector, including a processor and a memory, wherein a computer program is stored in the memory, and the computer program can be read and executed by the processor to implement the speaker control method for the projector in embodiment 1.

[0044] The memory is a storage device that stores programs and data executed by the processor in a non-volatile manner. The memory is composed of semiconductor storage elements such as magnetic storage devices, flash read-only memories (ROM), or other types of non-volatile storage devices. The memory may also include random access memories (RAM) that constitute the working area of ​​the processor. The memory stores the control program executed by the processor. The processor may be composed of a single processor or a combination of multiple processing groups. The processor executes the control program to control various parts of the projection device.

[0045] Embodiment 3 of the present invention discloses a storage medium, in which a computer program is stored. The computer program is configured to be run by a processor to execute the speaker control method for a projector in embodiment 1.

[0046] Optionally, the storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0047] The background section of the present invention may contain background information about the problem or environment of the present invention, rather than describing the prior art by others. Therefore, the content contained in the background section is not an admission by the applicant that the prior art is available.

[0048] The above content is a further detailed description of the present invention in combination with specific / preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, without departing from the concept of the present invention, it can also make several substitutions or modifications to these described embodiments, and these substitutions or modifications should be regarded as belonging to the protection scope of the present invention. In the description of this specification, the description of reference terms "an embodiment", "some embodiments", "preferred embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in combination with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, in the absence of mutual contradiction, the technical personnel in this field can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples. Although the embodiments of the present invention and their advantages have been described in detail, it should be understood that various changes, substitutions and modifications can be made herein without departing from the scope defined by the attached claims.

Claims

1. A speaker control method for a projector, characterized in that: The following steps are involved: Obtaining vibration parameters of the projector; When the vibration parameter is greater than the vibration threshold, the upper limit value of the dynamic adjustment range of the audio signal is reduced.

2. The speaker control method for a projector according to claim 1, characterized in that: The step of obtaining the vibration parameters of the projector comprises: The coordinate information of the projector is acquired at a first preset frequency, and the vibration parameter is obtained according to the variation of the coordinate information at adjacent moments.

3. The speaker control method for a projector according to claim 2, characterized in that: The step of acquiring the coordinate information of the projector at a first preset frequency and obtaining the vibration parameter according to the variation of the coordinate information at adjacent moments comprises: The coordinate information of the projector on each coordinate axis is obtained at a first preset frequency through an IMU module in the projector, and the change amount of the coordinate information of each coordinate axis of the projector at adjacent moments is used as a vibration parameter.

4. The speaker control method for a projector according to claim 1, characterized in that: When the vibration parameter is greater than the vibration threshold, lowering the upper limit of the dynamic adjustment range of the audio signal includes: When the vibration parameter is greater than the vibration threshold, the upper limit value of the dynamic adjustment range of the audio signal is gradually reduced.

5. The speaker control method for a projector according to claim 4, characterized in that: When the vibration parameter is greater than the vibration threshold, gradually reducing the upper limit of the dynamic adjustment range of the audio signal includes: When the vibration parameter is greater than the vibration threshold, the upper limit value of the dynamic adjustment range of the audio signal is adjusted in a manner of decreasing by a preset decibel in each preset period.

6. The speaker control method for a projector according to claim 1, characterized in that: When the vibration parameter is greater than the vibration threshold, the upper limit of the dynamic adjustment range of the audio signal is reduced, and the method further includes: Get the amplitude of the audio input signal; When the amplitude of the audio input signal is greater than the upper limit of the dynamic adjustment range, the audio input signal is compressed to obtain an audio output signal.

7. The speaker control method for a projector according to claim 6, characterized in that: When the amplitude of the audio input signal is greater than the upper limit of the dynamic adjustment range, compressing the audio input signal to obtain an audio output signal comprises: When the amplitude of the audio input signal is greater than the upper limit value of the dynamic adjustment range, the compression relationship between the audio output signal and the audio input signal satisfies: ydB=T+(xdB-T) / Ratio; wherein xdB is the amplitude of the audio input signal, ydB is the amplitude of the audio output signal, T is the upper limit value of the current dynamic adjustment range, and Ratio is the compression ratio of the audio signal when the upper limit value of the dynamic adjustment range is exceeded.

8. The speaker control method for a projector according to claim 1, characterized in that: The step of obtaining the vibration parameters of the projector comprises: The input state of the audio signal is obtained, and when the audio output signal is continuously recognized within a preset time, the vibration parameters of the projector are obtained; when the audio output signal cannot be continuously recognized within the preset time, the vibration parameters of the projector are stopped from being obtained.

9. A projector, characterized in that: The invention comprises a processor and a memory, wherein a computer program is stored in the memory, and the computer program can be read by the processor to be executed to implement the speaker control method for a projector according to any one of claims 1 to 8.

10. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to be executable by a processor to execute the speaker control method for a projector as claimed in any one of claims 1 to 8.