Position calibration method, device and system of liftable loudspeaker and storage medium

By incorporating detection components in the height-adjustable speaker and base, the speaker position is detected and adjusted, thus solving the problem of the exposed surface tilting relative to the base plane and achieving a concealed speaker effect.

CN120825664APending Publication Date: 2025-10-21GOLDANA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511205357.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-26
Publication Date
2025-10-21

AI Technical Summary

Technical Problem

When the existing liftable speaker is retracted, there is an inclination between the exposed surface and the plane of the base, which makes it impossible to achieve the "invisible" effect.

Method used

By setting a detection component in the liftable speaker and/or its base, the distance data between at least three detection point pairs is detected and compared with preset standard data. The speaker position is then adjusted so that the angle between the exposed surface and the base plane is less than a preset angle.

Benefits of technology

The height-adjustable speaker achieves a "hidden" effect by making its exposed surface flush with the base plane after it is lowered, thus enhancing both aesthetics and functionality during use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120825664A_ABST
    Figure CN120825664A_ABST
Patent Text Reader

Abstract

The invention discloses a position calibration method, position calibration equipment and position calibration system of a liftable loudspeaker and a storage medium, and relates to the technical field of loudspeakers. The method comprises the steps that detection data corresponding to at least three detection point pairs are obtained through detection of a detection assembly, each detection point pair comprises a first detection point and a second detection point, the at least three first detection points are not collinear, and the plane where the at least three first detection points are located is parallel to the exposed face of the liftable loudspeaker; if the difference value between the at least one piece of detection data and the preset standard data of the corresponding detection point pair is greater than a preset threshold value, adjusting the position of the liftable loudspeaker; and after the position of the liftable loudspeaker is adjusted, returning to the step of obtaining the first detection data corresponding to the at least three detection point pairs through detection of the detection assembly. According to the invention, the problem that the planes of the exposed surface base are inclined when the liftable loudspeaker falls back is solved, and the liftable loudspeaker achieves a'hiding 'effect through calibration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of loudspeakers, and in particular to a position calibration method, position calibration device, position calibration system and storage medium for a liftable loudspeaker. Background Art

[0002] With the continued economic growth and rising living standards, car buyers' car purchasing experience is no longer limited to basic functions; entertainment features have become a key factor influencing their purchasing decisions. To maintain a simple and aesthetically pleasing interior, speakers are increasingly adopting embedded or semi-hidden structures, achieving a "stealth" effect through liftable, sliding, or folding mechanisms. When in use, they are raised to enhance the three-dimensional sound field. When lowered, the exposed surface of the speaker is generally required to remain flush with the plane of the base to achieve a "stealth" effect. However, there is currently a problem with the exposed surface of the speaker being tilted from the base when it is lowered during use, causing the speaker to protrude from the base plane, thus defeating the "stealth" effect.

[0003] The above content is only used to assist in understanding the technical solution of this application and does not constitute an admission that the above content is prior art. Summary of the Invention

[0004] The main purpose of this application is to provide a position calibration method, position calibration device, position calibration system and storage medium for a liftable speaker, aiming to solve the current problem of how to further reduce the power consumption of the position calibration device for a liftable speaker.

[0005] To achieve the above-mentioned object, the present application proposes a method for calibrating the position of a liftable speaker. A detection component is provided in the liftable speaker and / or the base of the liftable speaker. The method for calibrating the position of the liftable speaker comprises:

[0006] obtaining detection data corresponding to at least three detection point pairs respectively through detection by the detection component, wherein the detection data represents a distance between two detection points in the corresponding detection point pair, each detection point pair includes a first detection point in the elevatable speaker and a second detection point in the base, and at least three of the first detection points are not collinear;

[0007] If a difference between at least one of the detection data and the corresponding preset standard data of the detection point pair is greater than a preset threshold, adjusting the position of the liftable speaker, wherein the preset standard data of the detection point pair represents the distance between two detection points in the detection point pair under a standard state, wherein the standard state is a state in which the liftable speaker is embedded in the base and the angle between the exposed surface and the plane of the base is less than a preset angle;

[0008] After adjusting the position of the liftable speaker, the process returns to the step of obtaining first detection data respectively corresponding to at least three detection point pairs through detection by the detection component.

[0009] Optionally, the detection component includes subcomponents respectively arranged corresponding to each detection point pair, each subcomponent includes a magnet and a Hall device respectively arranged at two detection points in the corresponding detection point pair, and the step of obtaining detection data corresponding to at least three detection point pairs respectively through detection by the detection component includes:

[0010] The detection data corresponding to each detection point pair is obtained based on the output signal of each Hall device.

[0011] Optionally, the magnet is an electromagnet, and before the step of obtaining the detection data corresponding to each detection point pair based on the output signal of each Hall device, the step further includes:

[0012] In response to a calibration instruction, power is supplied to each of the Hall devices and each of the electromagnets.

[0013] Optionally, after the step of obtaining detection data corresponding to at least three detection point pairs through the detection component, the method further includes:

[0014] If the difference between each of the detection data and the preset standard data of the corresponding detection point pair is less than or equal to the preset threshold, obtaining the current position data of the motor, wherein the motor is a motor for adjusting the position of the liftable speaker;

[0015] If the current position data of the motor is inconsistent with the currently stored motor position data, the current position data of the motor is used to replace the currently stored motor position data, so as to use the current position data of the motor as the target motor position data for adjusting the liftable speaker to the standard state.

[0016] Optionally, the position calibration method of the liftable speaker further includes:

[0017] In response to a target adjustment instruction, the motor is controlled to rotate to a position corresponding to the currently stored motor position data, wherein the target adjustment instruction is used to instruct the liftable speaker to be adjusted to the standard state.

[0018] Optionally, a plane on which at least three non-collinear first detection points lie is parallel to an exposed surface of the elevatable speaker, and a distance between each of the first detection points and the exposed surface of the elevatable speaker in the standard state is less than a distance between the corresponding second detection point and the exposed surface; and if a difference between at least one of the detection data and preset standard data of the corresponding detection point pair is greater than a preset threshold, the step of adjusting the position of the elevatable speaker includes:

[0019] If the difference between at least one of the detection data and the corresponding preset standard data of the detection point pair is greater than a preset threshold, determining the inclination direction of the exposed surface of the liftable speaker relative to the base plane according to the deviation direction of the target detection data relative to the corresponding preset standard data, wherein the target detection data is the detection data of which the difference between the target detection data and the corresponding preset standard data is greater than the preset threshold;

[0020] The position of the liftable speaker is adjusted using a preset adjustment strategy corresponding to the tilt direction.

[0021] Optionally, the position calibration method of the liftable speaker further includes:

[0022] accumulating the number of preset position adjustment actions performed by the liftable speaker;

[0023] In the case where the number of current records is greater than the preset number, the step of obtaining detection data corresponding to at least three detection point pairs respectively through the detection component is performed, and the number of records is set to zero.

[0024] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the position calibration method of the liftable speaker as described above are implemented.

[0025] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the steps of the position calibration method of the liftable speaker as described above.

[0026] One or more technical solutions proposed in this application have at least the following technical effects:

[0027] The present application calibrates the position of the liftable speaker so that the angle between the exposed surface of the liftable speaker and the plane of the base is smaller than a preset angle, thereby solving the problem of the inclination between the exposed surface and the plane of the base when the liftable speaker falls back, so that the liftable speaker can achieve a "stealth" effect. The position of the liftable speaker relative to the base is characterized by the distance between at least three first detection points in the liftable speaker and the corresponding second detection points in the base; and for the standard state in which the liftable speaker is embedded in the base and the angle between the exposed surface and the plane of the base is smaller than the preset angle, preset standard data that can reflect the distance between each first detection point and the corresponding second detection point when the liftable speaker is in the standard state is pre-set, that is, data that can reflect the position of the liftable speaker relative to the base when the liftable speaker achieves a "stealth" effect is pre-set; a detection component is provided in the liftable speaker and / or its base to detect the liftable speaker. Detection data reflecting the distances corresponding to at least three detection point pairs, that is, the position of the liftable speaker relative to the base is obtained through detection by the detection component; the detection data is compared with the preset standard data, and when the difference between at least one detection data and the corresponding preset standard data is greater than the preset threshold, that is, when the position of the liftable speaker relative to the base is not yet at a position that can achieve the "stealth" effect, the position of the liftable speaker is adjusted, and then the step of obtaining the detection data through detection by the detection component is returned to, thereby achieving the position adjustment after at least one position adjustment, adjusting the position of the liftable speaker relative to the base to a position that can achieve the "stealth" effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0029] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0030] Figure 1 A schematic diagram of a flow chart of a first embodiment of a method for calibrating the position of a liftable loudspeaker according to the present application;

[0031] Figure 2 A flowchart illustrating a second embodiment of the method for calibrating the position of a liftable loudspeaker according to the present application;

[0032] Figure 3 A schematic diagram of the detection point positions provided for a feasible implementation of the method for calibrating the position of a liftable loudspeaker of the present application;

[0033] Figure 4 Another schematic diagram of the positions of detection points provided for a feasible implementation of the method for calibrating the position of a liftable loudspeaker of the present application;

[0034] Figure 5 A calibration flow chart is provided for a feasible implementation of the position calibration method of the liftable loudspeaker of the present application.

[0035] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0036] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.

[0037] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0038] With the continued economic growth and rising living standards, car buyers' car purchasing experience is no longer limited to basic functions; entertainment features have become a key factor influencing their purchasing decisions. To maintain a simple and aesthetically pleasing interior, speakers are increasingly adopting embedded or semi-hidden structures, achieving a "stealth" effect through liftable, sliding, or folding mechanisms. When in use, they are raised to enhance the three-dimensional sound field. When lowered, the exposed surface of the speaker is generally required to remain flush with the plane of the base to achieve a "stealth" effect. However, there is currently a problem with the exposed surface of the speaker being tilted from the base when it is lowered during use, causing the speaker to protrude from the base plane, thus defeating the "stealth" effect.

[0039] The embodiment of the present application provides a solution to this problem. By analyzing the cause of the problem, it is found that after long-term use, the position adjustment mechanism of the liftable speaker (such as a liftable, sliding or folding mechanism) will produce a certain amount of wear, resulting in an inclination between the exposed surface of the liftable speaker and the plane of the base when it falls back, thereby failing to achieve the problem of "stealth" effect. Based on this reason, the embodiment of the present application proposes to calibrate the position of the liftable speaker so that the angle between the exposed surface of the liftable speaker and the plane of the base is less than a preset angle, thereby solving the problem of inclination between the exposed surface and the plane of the base when the liftable speaker falls back, and making the liftable speaker achieve the problem of "stealth" effect. Specifically, the position of the liftable speaker relative to the base is characterized by the distances between at least three first detection points in the liftable speaker and corresponding second detection points in the base; and for the standard state in which the liftable speaker is embedded in the base and the angle between the exposed surface and the plane of the base is less than the preset angle, preset standard data that can reflect the distances between each first detection point and the corresponding second detection point when the liftable speaker is in the standard state is pre-set, that is, data that can reflect the position of the liftable speaker relative to the base when the liftable speaker achieves the "invisible" effect is pre-set; by providing a detection component in the liftable speaker and / or its base for detecting data that can reflect at least three The detection data of the distances corresponding to the detection points, that is, the position of the liftable speaker relative to the base is obtained by detecting the detection component; the detection data is compared with the preset standard data, and when the difference between at least one detection data and the corresponding preset standard data is greater than the preset threshold, that is, when the position of the liftable speaker relative to the base is not yet at a position that can achieve the "stealth" effect, the position of the liftable speaker is adjusted, and then the step of obtaining the detection data by detecting the detection component is returned to, so that after at least one position adjustment, the position of the liftable speaker relative to the base is adjusted to a position that can achieve the "stealth" effect, and the position of the liftable speaker is calibrated.

[0040] It should be noted that the position calibration method of the liftable speaker provided in each embodiment of the present application can be applied to calibrate the position of the liftable speaker. The liftable speaker is a speaker that is configured to adjust its position relative to the base. When raised, the exposed surface of the liftable speaker protrudes from the plane of the base. When it falls back, the liftable speaker is embedded in the base as a whole and is configured so that its exposed surface is flush with the plane of the base when it falls back. Although it is configured so that its exposed surface is flush with the plane of the base when it falls back, it is possible that when it actually falls back, the exposed surface of the liftable speaker may still be tilted to a certain extent relative to the plane of the base, resulting in the exposed surface of the liftable speaker not being flush with the plane of the base, protruding from the plane of the base, and failing to achieve the expected "invisible" effect. The position calibration method provided in each embodiment of the present application can be used to calibrate the position of the liftable speaker after it falls back. The goal is to make the angle between the exposed surface of the liftable speaker and the plane of the base less than a certain threshold, that is, to achieve a flush or nearly flush effect, thereby achieving the expected "invisible" effect.

[0041] It should be noted that the various embodiments of the present application do not limit the specific structure and application scenarios of the liftable speaker and its base. In a specific embodiment, the position adjustment mechanism for adjusting the position of the liftable speaker can be a lifting mechanism, a sliding mechanism or a folding mechanism, etc., that is, the position adjustment method of the liftable speaker can be an upgrading form, a sliding form or a folding form, etc. The various embodiments of the present application do not limit the position adjustment method of the liftable speaker, and accordingly do not limit the implementation method of the position adjustment mechanism. In a specific embodiment, a cavity for accommodating the liftable speaker can be provided in the base, and the position adjustment mechanism can be provided in the cavity of the base. The plane of the base is the exposed surface of one side of the base where the liftable speaker is embedded. In a specific embodiment, the liftable speaker can be provided in any device or system that needs to install a speaker. For example, the liftable speaker can be provided in devices or systems such as cars, smart speakers, mobile phones, etc., and the base can refer to the part of the shell used to accommodate the liftable speaker in these devices or systems.

[0042] In each embodiment of the present application, the position calibration method may be performed by a position calibration device. The position calibration device may be a device with data processing and program execution functions, and is not limited to this in the embodiments. For example, it may be a control device in an automobile system. For ease of description, the following description of each embodiment will omit the execution subject.

[0043] Reference Figure 1 , Figure 1This is a flow chart of the first embodiment of the position calibration method of the liftable speaker of the present application. In this embodiment, in order to realize the position calibration of the liftable speaker, a detection component is set in the base and / or the liftable speaker. The detection component can be implemented by any component that can detect the distance data between two detection points (any data that can reflect the size of the distance). That is, in this embodiment, the implementation principle of the detection component is not limited. In this embodiment, the detection component is used to detect the distance data corresponding to at least three detection points. Each detection point pair includes two detection points, one located in the liftable speaker and the other located in the base. The detection point located in the liftable speaker is referred to as the first detection point, and the detection point located in the base is referred to as the second detection point for distinction. In a specific embodiment, according to the different implementation principles of the detection component, the detection component can be set only in the base, or only in the liftable speaker, or in the base and the liftable speaker; for the case of being set in the base and the liftable speaker, for example, a part of the structure of the detection component can be set in the base, and the other part of the structure can be set in the liftable speaker. In this embodiment, there is no limitation on the arrangement of the detection component in the liftable speaker and the base.

[0044] In this embodiment, the position calibration method of the liftable speaker includes steps S10 to S30:

[0045] Step S10: Detection data corresponding to at least three detection point pairs are obtained through the detection component, wherein the detection data represents the distance between two detection points in the corresponding detection point pair, each of the detection point pairs includes a first detection point in the liftable speaker and a second detection point in the base, and at least three of the first detection points are not collinear.

[0046] The number of detection point pairs is at least three. The elevating speaker includes at least three first detection points, and the base includes second detection points corresponding to each first detection point. At least three of the first detection points are not collinear. It should be noted that the number of second detection points in the base is equal to or less than the number of first detection points, and is at least one.

[0047] When the position of the elevating speaker needs to be calibrated, the detection component can detect and obtain detection data (also called distance data) corresponding to each detection point pair. The detection data represents the distance between the two detection points in the corresponding detection point pair. It is understood that the specific data type of the detection data is not limited in this embodiment. As long as the data can be used to reflect the distance between the two detection points, it can be data such as a distance value or other data that has a corresponding relationship with the distance value.

[0048] In this embodiment, the triggering conditions for the position calibration process are not limited and can be set in advance as needed. For example, position calibration can be performed each time the position of the elevating speaker is adjusted and the elevating speaker is returned to the base. For another example, a calibration time period can be set to periodically perform position calibration.

[0049] Step S20: If the difference between at least one of the detection data and the corresponding preset standard data of the detection point pair is greater than a preset threshold, the position of the liftable speaker is adjusted, wherein the preset standard data of the detection point pair represents the distance between two detection points in the detection point pair under a standard state, and the standard state is a state in which the liftable speaker is embedded in the base and the angle between the exposed surface and the plane of the base is less than a preset threshold.

[0050] The state in which the liftable speaker is embedded in the base and the angle between its exposed surface and the plane of the base is less than a preset angle is called the standard state for distinction, wherein the preset angle can be set as needed, for example, set to 0.5°. It can be understood that when the liftable speaker is in the standard state, the angle between the exposed surface of the liftable speaker and the plane of the base is equal to 0 or close to 0, that is, the exposed surface of the liftable speaker is parallel or close to parallel to the plane of the base.

[0051] The distance data corresponding to each pair of detection points when the elevating loudspeaker is in a standard state can be pre-recorded. Specifically, data reflecting the distance between the two detection points in each detection point pair can be recorded. The data type of the recorded distance data can be the same as the data type of the detection data, for example, both can be distance values. The recorded distance data corresponding to each detection point pair is pre-set in the position calibration device to facilitate subsequent data comparison during the calibration process. It should be noted that, for ease of description, the distance data recorded when the elevating loudspeaker is in a standard state is referred to as preset standard data for distinction.

[0052] The preset standard data may be recorded by the position calibration device, or may be recorded by other devices and sent to the position calibration device, or may be written into the memory of the position calibration device during the product production stage.

[0053] In one feasible embodiment, a test system can adjust the position of a liftable speaker and detect whether the liftable speaker has reached a standard state using an external detection device. Upon detecting that the liftable speaker has reached the standard state, the test system triggers a position calibration device to detect distance data corresponding to each detection point using a detection component; the position calibration device stores this distance data as preset standard data. The external detection device can be a camera that captures an image of the exposed surface of the liftable speaker and uses image analysis methods to detect whether the liftable speaker has reached the standard state.

[0054] After the detection data corresponding to each detection point pair is detected by the detection component, the detection data corresponding to each detection point pair can be compared with the preset standard data corresponding to the detection point pair, the difference between the two can be calculated, and the difference can be compared with the preset threshold value. The preset threshold value can be set in advance as needed and is not limited in this embodiment. When the difference between the detection data corresponding to each detection point pair and the corresponding preset standard data is less than or equal to the preset threshold value, it means that the distance between each first detection point and the corresponding second detection point is not much different from the distance between each first detection point and the corresponding second detection point under the standard state. Since at least three first detection points are not collinear, the position of the liftable speaker relative to the base at this time is the same as or close to the position of the liftable speaker relative to the base under the standard state. In other words, the exposed surface of the liftable speaker is parallel or nearly parallel to the plane of the base at this time.

[0055] Conversely, if the difference between the detection data corresponding to at least one detection point pair and the corresponding preset standard data is greater than the preset threshold, it indicates that the current position of the elevating speaker relative to the base is somewhat different from the standard position of the elevating speaker relative to the base, and the angle between the exposed surface of the elevating speaker and the plane of the base may be larger. In this case, the position of the elevating speaker can be adjusted. After the position of the elevating speaker is adjusted, the process returns to step S10, that is, the detection data corresponding to each detection point pair after the adjusted position is obtained through the detection component, and then compared with the preset standard data. If the difference between the detection data corresponding to at least one detection point pair and the corresponding preset standard data is greater than the preset threshold, the position of the elevating speaker is adjusted again, and the cycle continues.

[0056] The conditions for terminating the loop are not limited in this embodiment and can be set as needed. In a specific embodiment, for example, when the difference between the detection data corresponding to all detection point pairs and the corresponding preset standard data is less than or equal to the preset threshold, the calibration is completed and the loop is exited. For another example, when the difference between the detection data corresponding to all detection point pairs and the corresponding preset standard data is still less than or equal to the preset threshold after a certain number of adjustments, the loop is exited and an error prompt is output. In other words, after a large number of adjustments, the standard state cannot be achieved, indicating that there may be a problem with the position adjustment mechanism of the liftable speaker, and the error prompt is used to alert the user.

[0057] In this embodiment, there are no restrictions on how to adjust the position of the liftable speaker when the difference between the detection data corresponding to at least one detection point pair and the corresponding preset standard data is greater than the preset threshold. In one feasible implementation, the motor in the position adjustment mechanism has two rotation directions: forward and reverse. During each adjustment, one direction is selected for rotation by a certain angle. Through multiple attempts, an attempt is made to find a condition that ensures that the difference between the detection data corresponding to all detection point pairs and the corresponding preset standard data is less than or equal to the preset threshold.

[0058] In one feasible implementation, the method for calibrating the position of a liftable speaker further includes steps S30 to S40:

[0059] Step S30: accumulating the number of preset position adjustment actions performed by the liftable speaker.

[0060] The preset position adjustment action can be a position adjustment action that is pre-set according to needs and requires a cumulative number of actions. For example, one lifting action and one falling action of a liftable speaker can be used as preset position adjustment actions, that is, each time a lifting action and a falling action are performed, the recorded number is increased by 1.

[0061] Step S40: When the number of times currently recorded is greater than the preset number of times, execute the step S10.

[0062] The preset number of times can be set as needed, for example, 10 times, 50 times, 100 times, etc., and is not limited in this embodiment. When the recorded number of times is greater than the preset number of times, the position calibration of the liftable speaker is performed to calibrate the position of the liftable speaker to a standard state.

[0063] It should be noted that if the cumulative number of preset position adjustment actions performed on the liftable speaker is greater than the preset number, it means that the position adjustment mechanism of the liftable speaker has made multiple position adjustments to the liftable speaker, which will cause certain wear and tear after long-term use, resulting in the inability to adjust the liftable speaker to the expected standard state. In this case, the position of the liftable speaker is calibrated to correct the error caused by long-term use. By setting the cumulative number of times greater than the preset number as the trigger condition for the position calibration process, a simple and relatively accurate judgment mechanism for the position deviation problem of the liftable speaker is implemented, avoiding frequent triggering of the position calibration process and ensuring a certain degree of accuracy.

[0064] In a feasible implementation, after the position of the liftable speaker is calibrated to a standard state and the current position data of the motor is recorded as the target motor position data for adjusting the position of the liftable speaker to the standard state, that is, after the target motor position data is calibrated to the motor position data under the standard state, the number of records can be set to zero and then counted again. After reaching the preset number again, the position calibration process is triggered again.

[0065] In this embodiment, the position of the liftable speaker relative to the base is characterized by the distances between at least three first detection points in the liftable speaker and corresponding second detection points arranged in the base; and for the standard state in which the liftable speaker is embedded in the base and the angle between the exposed surface and the plane of the base is less than the preset angle, preset standard data that can reflect the distances between each first detection point and the corresponding second detection point when the liftable speaker is in the standard state is pre-set, that is, data that can reflect the position of the liftable speaker relative to the base when the liftable speaker achieves the "invisible" effect is pre-set; by providing a detection component in the liftable speaker and / or its base, it is used to detect data that can reflect at least three The method further comprises the following steps: first, obtaining detection data of the distances corresponding to the detection point pairs respectively, that is, obtaining the position of the liftable speaker relative to the base through detection by the detection component; comparing the detection data with the preset standard data, and when the difference between at least one detection data and the corresponding preset standard data is greater than the preset threshold, that is, when the position of the liftable speaker relative to the base is not a position that can achieve the "stealth" effect, adjusting the position of the liftable speaker, and then returning to the step of obtaining the detection data through detection by the detection component, thereby achieving at least one position adjustment, adjusting the position of the liftable speaker relative to the base to a position that can achieve the "stealth" effect, and realizing calibration of the position of the liftable speaker.

[0066] Based on the above-mentioned first embodiment, a second embodiment of the position calibration method of the liftable speaker of the present application is proposed. In this embodiment, the same or similar contents as those of the above-mentioned first embodiment can be referred to the above introduction and will not be repeated hereafter. In this embodiment, the detection component may include sub-components respectively arranged corresponding to each detection point pair, and each sub-component includes a magnet and a Hall device (Hall Device) respectively arranged at two detection points in the corresponding detection point pair. Specifically, the magnet in the sub-component may be arranged on the liftable speaker, and the Hall device in the sub-component may be arranged on the base, or the magnet in the sub-component may be arranged on the base, and the Hall device in the sub-component may be arranged on the liftable speaker. In this embodiment, there is no restriction on the specific setting positions of the magnet and the Hall device in the base and the liftable speaker. The Hall device is a semiconductor magnetic sensor based on the Hall effect, which can directly convert the magnetic field intensity into a voltage signal to realize non-contact detection of physical quantities such as magnetic field, position, speed, and current. It can be understood that the positions of the magnet and the Hall device represent the positions of the corresponding detection points. The farther the distance between the Hall device and the magnet, the smaller the detected magnetic field strength, and the closer the distance to the magnet, the greater the detected magnetic field strength. Therefore, the output signal of the Hall device can reflect the distance between the two detection points in the liftable speaker and the base.

[0067] The step S10 includes: acquiring the detection data corresponding to each detection point pair based on the output signal of each Hall device.

[0068] In a specific embodiment, the Hall device can output an analog voltage signal, and the position calibration device converts the analog voltage signal into a digital voltage signal, and obtains the detection data of the corresponding detection point pair based on the digital voltage signal. For example, the digital voltage signal is directly used as the detection data, or the digital voltage signal is converted into a distance value as the detection data; or, in the case where the Hall device integrates an analog-to-digital converter, the position calibration device directly obtains the digital voltage signal output by the Hall device, and obtains the detection data of the corresponding detection point pair based on the digital voltage signal.

[0069] In this embodiment, by setting Hall devices and magnets in the liftable speaker and the base, the distance data between the detection point in the liftable speaker and the detection point in the base is detected by the Hall devices and magnets, providing a simple and feasible detection point distance detection method.

[0070] In this embodiment, the specific type of magnet is not limited. To prevent the magnetic field generated by the magnet from affecting the sound quality of the liftable speaker, in one feasible implementation, the magnet can be an electromagnet. Accordingly, before step S10, the method further includes step S50: in response to the calibration instruction, powering on each Hall effect device and each electromagnet.

[0071] The calibration instruction can be triggered by the position calibration device when it detects that a preset trigger condition has been met, or it can be sent to the position calibration device by another device or system. For example, the calibration instruction can be sent to the position calibration device by a test system. When the adjustable speaker is powered on and starts working, the Hall effect device and the electromagnet are disabled by default. When the position calibration process needs to be performed, the position calibration device responds to the calibration instruction and powers on each Hall effect device and each electromagnet. In other words, the electromagnet is only powered on when the position calibration process is being performed, preventing the magnetic field generated by the electromagnet from affecting the sound effect of the adjustable speaker.

[0072] Based on the above-mentioned first and / or second embodiments, a third embodiment of the position calibration method of the liftable speaker of the present application is proposed. In this embodiment, the same or similar contents as those of the above-mentioned first and second embodiments can be referred to the above introduction and will not be repeated hereafter. Figure 2 After step S10, the method further includes steps S60 to S70:

[0073] Step S60: If the difference between each detection data and the preset standard data of the corresponding detection point pair is less than or equal to the preset threshold, the current position data of the motor is obtained, wherein the motor is a motor for adjusting the position of the liftable speaker.

[0074] The motor is used to adjust the position of the liftable speaker, that is, the motor in the position adjustment mechanism. The number of motors can be one or more. In this embodiment, the specific implementation of the position adjustment mechanism is not limited, so the number of motors is not limited.

[0075] When it is detected that the difference between the detection data corresponding to each detection point and the corresponding preset standard data is less than or equal to the preset threshold, it means that the position of the liftable speaker relative to the base at this time is the same as or close to the position of the liftable speaker relative to the base in the standard state. That is to say, the exposed surface of the liftable speaker is parallel or nearly parallel to the plane of the base at this time. In this case, the current position data of the motor is obtained. This position data is data that can be used to adjust the position of the liftable speaker to the current position again after the position of the liftable speaker changes relative to the current position. For example, it can be the angle value of the current motor encoder.

[0076] Step S70: If the current position data of the motor is inconsistent with the currently stored motor position data, the current position data of the motor is used to replace the currently stored motor position data, so as to use the current position data of the motor as the target motor position data for adjusting the liftable speaker to the standard state.

[0077] The position calibration device stores motor position data (i.e., target motor position data) for guiding the rotation of the motor in the position adjustment mechanism to adjust the liftable speaker to the standard state. The current position data of the motor is compared with the currently stored motor position data. If there is any inconsistency, it means that the currently stored motor position data of the motor is inaccurate, that is, it cannot accurately guide the position adjustment structure to adjust the liftable speaker to the standard state. Therefore, the acquired current position data of the motor is used to replace the currently stored motor position data, so that the current position data of the motor is used as the motor position data for guiding the position adjustment mechanism to adjust the liftable speaker to the standard state, thereby realizing the calibration of the motor position data, so that the liftable speaker can be directly adjusted to the standard state according to the stored motor position data in the future, thereby achieving an "invisible" effect.

[0078] In one feasible embodiment, the position calibration method of the liftable speaker further includes step S60: in response to a target adjustment instruction, controlling the motor to rotate to a position corresponding to the currently stored motor position data, wherein the target adjustment instruction is used to instruct the liftable speaker to be adjusted to the standard state.

[0079] The target adjustment instruction can be triggered by the position calibration device when it detects that certain trigger conditions are met, or it can be sent to the position calibration device by other devices or systems. For example, the car's central control system can send a target adjustment instruction to the position calibration device based on the event of the music software starting to play music, instructing the position calibration device to adjust the liftable speaker to the standard state.

[0080] In response to the target adjustment instruction, the position calibration device controls the motor to rotate to a position corresponding to the currently stored motor position data, for example, to an angular position corresponding to the currently stored angle value, so as to adjust the liftable speaker to a standard state.

[0081] Based on the first, second, and / or third embodiments described above, a fourth embodiment of the method for calibrating the position of a liftable speaker of the present application is proposed. In this embodiment, the same or similar contents as those of the first, second, and third embodiments described above can be referred to above and will not be described in detail. Step S20 includes S201 to S202:

[0082] Step S201: If the difference between at least one of the detection data and the preset standard data of the corresponding detection point pair is greater than a preset threshold, the inclination direction of the exposed surface of the liftable speaker relative to the base plane is determined according to the deviation direction of the target detection data relative to the corresponding preset standard data, wherein the target detection data is the detection data in each of the detection data whose difference with the corresponding preset standard data is greater than the preset threshold.

[0083] In this embodiment, in order to improve the efficiency of calibration, the inclination direction of the exposed surface of the liftable speaker relative to the base plane can be determined first, and then the position of the liftable speaker can be adjusted using an adjustment strategy corresponding to the inclination direction, so that the liftable speaker can be adjusted to a standard state or close to a standard state more quickly.

[0084] The detection data whose difference with the corresponding preset standard data is greater than a preset threshold value in each detection data is called target detection data for distinction.

[0085] The positional relationship between the first detection point and the second detection point can be: the plane where at least three non-collinear first detection points are located is parallel to the exposed surface of the liftable speaker, and, under the standard state, the distance from each first detection point to the exposed surface of the liftable speaker is less than the distance from the corresponding second detection point to the exposed surface. Based on this, the inclination direction of the exposed surface of the liftable speaker relative to the base plane can be determined according to the deviation direction of the target detection data relative to the corresponding preset standard data. In a feasible embodiment, under the standard state, the line between the first detection point and the corresponding second detection point can be perpendicular to the exposed surface, that is, if the liftable speaker is viewed from the side of the exposed surface, the second detection point is located directly behind the corresponding first detection point. In a feasible embodiment, among the at least three non-collinear first detection points, there is a pair of first detection points whose line is perpendicular to the line between another pair of first detection points, for example Figure 3 As shown, it is a view of looking down at the liftable speaker from the exposed side. Point A, point B and point C are the three first detection points on the liftable speaker, and the line between point A and point B is perpendicular to the line between point B and point C.

[0086] The deviation direction of the target detection data relative to the corresponding preset standard data is the positive or negative attribute of the difference, and positive and negative represent different deviation directions.

[0087] It should be noted that, referring to Figure 4, taking three first detection points (point A, point B and point C) as an example to illustrate the principle of determining the tilt direction according to the deviation direction: first, the distance between the first detection point and the corresponding second detection point will change as the position of the liftable speaker is adjusted, point A, point B and point C are not collinear and the plane where they are located is parallel to the exposed surface, and the distance between point A, point B and point C and the exposed surface under the standard state is smaller than the distance between the corresponding second detection point and the exposed surface; on this basis, if the distance between point A and the corresponding second detection point is smaller than the distance under the standard state, Increased, while the distance between point B and the corresponding second detection point is reduced compared to the distance in the standard state, then it means that the side of the exposed surface close to point A protrudes from the plane of the base, while the side close to point B is lower than the plane of the base. If the perpendicular line of the projection line of the connecting line of point A and point B on the exposed surface is taken as the axis (hereinafter referred to as axis 1), then the exposed surface is equivalent to rotating around axis 1 relative to the standard state, thereby being tilted with respect to the plane of the base. The tilt direction at this time is hereinafter referred to as the first direction; conversely, if point A and the corresponding The distance between the second detection points is smaller than the distance under the standard state, while the distance between the second detection points corresponding to point B is larger than the distance under the standard state, which means that the side of the exposed surface close to point A is lower than the plane of the base, while the side close to point B protrudes from the plane of the base, and the exposed surface is tilted in the direction opposite to the first direction. The tilt direction at this time is called the second direction; the tilt direction of the exposed surface can be determined as the first direction or the second direction based on the deviation direction of the detection data corresponding to points A and B; for points A and C, or for points B and C, the same principle can be applied, and the tilt direction of the exposed surface can be determined as the third direction or the fourth direction based on the deviation direction of the detection data corresponding to points A and C, or based on the deviation direction of the detection data corresponding to points B and C. Since points A, B and C are not collinear, the third direction and the fourth direction can be regarded as the tilt caused by the rotation of the exposed surface around another axis (hereinafter referred to as axis 2). Axis 1 and axis 2 intersect, so by correcting the tilt of the exposed surface around both axes, the exposed surface can be made parallel to the plane of the base.

[0088] Step S202: adjusting the position of the liftable speaker using a preset adjustment strategy corresponding to the tilt direction.

[0089] Corresponding adjustment strategies can be pre-set for different tilt directions. For example, if the side of the exposed surface near point A is lower than the plane of the base, while the side near point B protrudes above the plane of the base, the adjustment strategy can be to raise the side of the exposed surface near point A and lower the side near point B. The motor rotation direction for different tilt directions can be pre-set based on the correspondence between the motor rotation direction of the position adjustment mechanism and the adjustment direction of the exposed surface. In one feasible embodiment, the motor rotation angle value can also be determined based on the difference between the target detection data and the preset standard data. For example, the larger the absolute value of the difference, the greater the rotation angle value. The adjustment strategy can include the motor rotation direction and the rotation angle value.

[0090] To help understand the position calibration method of the liftable speaker proposed in the above embodiment, Figure 3 The detection point setting position in Figure 5 The position calibration process is described using the process example.

[0091] 1. At the calibration station

[0092] (1) Use the tooling to adjust the elevating speaker so that the angle between the exposed surface of the speaker and the plane of the base is less than ±0.5° (standard state). The host computer sends a calibration OK command, and the product stores the angle value of the encoder at this time;

[0093] (2) When the product is powered on, the Hall effect devices and electromagnets corresponding to the three detection points A, B, and C are disabled by default. In this case, the MCU (Microcontroller Unit) needs to power on the Hall effect devices and electromagnets at points A, B, and C respectively, read the magnetic properties of the Hall effect devices, and record them inside the product.

[0094] (3) The total number of ascents and descents is set internally in the product as the triggering condition for position calibration.

[0095] 2. During product use:

[0096] During the use of the product, the operating cycle of the liftable speaker is recorded. When the set total number of times is reached, it is necessary to determine whether the standard state is reached and the speaker is not working, then automatic calibration can be started.

[0097] The first step is to read the magnetic properties of three locations from the flash;

[0098] Power on the Hall effect devices and electromagnets at positions A, B, and C respectively, and read the magnetic field at that time;

[0099] (1) Compare the read values ​​with the stored values: If the value corresponding to point A increases and the value corresponding to point B decreases, and the change exceeds the preset threshold, it indicates that the exposed surface of the speaker is tilted toward point A, and the angle value of the motor encoder needs to be recalibrated.

[0100] (2) Control the motor to fine-tune the exposed surface of the speaker to move toward point B, and simultaneously detect the magnetism of points A and C. When the corresponding numerical changes of points A, B, and C are within the preset threshold range, it indicates that the speaker has reached the standard state;

[0101] (3) Use the current angle value of the motor encoder to replace the previously stored angle value as a reference value for stopping the motor when adjusting the liftable speaker to the standard state in the future.

[0102] An embodiment of the present application provides a position calibration device for a liftable speaker, which includes: a memory, a processor, and a position calibration program for a liftable speaker stored in the memory and runnable on the processor. When the position calibration program for a liftable speaker is executed by the processor, the steps of the position calibration method for a liftable speaker in the above-mentioned embodiments are implemented.

[0103] Compared with the prior art, the beneficial effects of the position calibration device for the liftable speaker provided in the embodiment of the present application are the same as the beneficial effects of the position calibration method for the liftable speaker provided in the above embodiment, and the other technical features in the position calibration device for the liftable speaker are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0104] An embodiment of the present application provides a position calibration system for a liftable speaker, including a position calibration device as in the above embodiment, and also including a liftable speaker, a base of the liftable speaker, and a detection component arranged in the liftable speaker and / or the base.

[0105] Compared with the prior art, the beneficial effects of the position calibration system for the liftable speaker provided in the embodiment of the present application are the same as the beneficial effects of the position calibration method for the liftable speaker provided in the above embodiment, and the other technical features of the position calibration system for the liftable speaker are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0106] An embodiment of the present application provides a computer-readable storage medium having computer-readable program instructions (ie, a computer program) stored thereon, wherein the computer-readable program instructions are used to execute the position calibration method of the liftable speaker in the above embodiment.

[0107] The computer-readable storage medium provided in the embodiments of the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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 thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0108] The computer-readable storage medium may be included in the position calibration device for the liftable speaker; or may exist independently without being assembled into the position calibration device for the liftable speaker.

[0109] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the position calibration device of the liftable speaker, the position calibration device of the liftable speaker performs the above-mentioned functions defined in the method of the embodiment disclosed in this application.

[0110] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0111] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0112] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0113] The readable storage medium provided in the embodiment of the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., a computer program) for executing the above-mentioned method for calibrating the position of the liftable speaker. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the embodiment of the present application are the same as the beneficial effects of the method for calibrating the position of the liftable speaker provided in the above-mentioned embodiment, and will not be repeated here.

[0114] An embodiment of the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the above-mentioned method for calibrating the position of a liftable speaker.

[0115] Compared with the prior art, the beneficial effects of the computer program product provided in the embodiment of the present application are the same as the beneficial effects of the position calibration method of the liftable speaker provided in the above embodiment, and will not be described in detail here.

[0116] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for calibrating the position of a liftable loudspeaker, characterized in that: A detection component is provided in the liftable speaker and / or the base of the liftable speaker, and the position calibration method of the liftable speaker includes: obtaining detection data corresponding to at least three detection point pairs respectively through detection by the detection component, wherein the detection data represents a distance between two detection points in the corresponding detection point pair, each detection point pair includes a first detection point in the elevatable speaker and a second detection point in the base, and at least three of the first detection points are not collinear; If a difference between at least one of the detection data and the corresponding preset standard data of the detection point pair is greater than a preset threshold, adjusting the position of the liftable speaker, wherein the preset standard data of the detection point pair represents the distance between two detection points in the detection point pair under a standard state, wherein the standard state is a state in which the liftable speaker is embedded in the base and the angle between the exposed surface and the plane of the base is less than a preset angle; After adjusting the position of the liftable speaker, the process returns to the step of obtaining first detection data respectively corresponding to at least three detection point pairs through detection by the detection component.

2. The method for calibrating the position of a liftable speaker according to claim 1, wherein: The detection assembly includes subassemblies respectively arranged corresponding to each detection point pair, each subassembly includes a magnet and a Hall device respectively arranged at two detection points in the corresponding detection point pair, and the step of obtaining detection data corresponding to at least three detection point pairs respectively through detection by the detection assembly includes: The detection data corresponding to each detection point pair is obtained based on the output signal of each Hall device.

3. The method for calibrating the position of a liftable speaker according to claim 2, wherein: The magnet is an electromagnet, and before the step of acquiring the detection data corresponding to each detection point pair based on the output signal of each Hall device, the method further includes: In response to a calibration instruction, power is supplied to each of the Hall devices and each of the electromagnets.

4. The method for calibrating the position of a liftable speaker according to claim 1, wherein: After the step of obtaining detection data corresponding to at least three detection point pairs through the detection component, the method further includes: If the difference between each of the detection data and the preset standard data of the corresponding detection point pair is less than or equal to the preset threshold, obtaining the current position data of the motor, wherein the motor is a motor for adjusting the position of the liftable speaker; If the current position data of the motor is inconsistent with the currently stored motor position data, the current position data of the motor is used to replace the currently stored motor position data, so as to use the current position data of the motor as the target motor position data for adjusting the liftable speaker to the standard state.

5. The method for calibrating the position of a liftable speaker according to claim 4, wherein: The position calibration method of the liftable speaker further includes: In response to a target adjustment instruction, the motor is controlled to rotate to a position corresponding to the currently stored motor position data, wherein the target adjustment instruction is used to instruct the liftable speaker to be adjusted to the standard state.

6. The method for calibrating the position of a liftable speaker according to claim 1, wherein: A plane where at least three non-collinear first detection points lie is parallel to the exposed surface of the elevatable speaker, and a distance between each of the first detection points and the exposed surface of the elevatable speaker under the standard state is less than a distance between the corresponding second detection point and the exposed surface; and if a difference between at least one of the detection data and preset standard data of the corresponding detection point pair is greater than a preset threshold, the step of adjusting the position of the elevatable speaker comprises: If the difference between at least one of the detection data and the corresponding preset standard data of the detection point pair is greater than a preset threshold, determining the inclination direction of the exposed surface of the liftable speaker relative to the base plane according to the deviation direction of the target detection data relative to the corresponding preset standard data, wherein the target detection data is the detection data of which the difference between the target detection data and the corresponding preset standard data is greater than the preset threshold; The position of the liftable speaker is adjusted using a preset adjustment strategy corresponding to the tilt direction.

7. The method for calibrating the position of a liftable loudspeaker according to any one of claims 1 to 6, wherein: The position calibration method of the liftable speaker further includes: accumulating the number of preset position adjustment actions performed by the liftable speaker; In the case where the number of current records is greater than the preset number, the step of obtaining detection data corresponding to at least three detection point pairs respectively through the detection component is performed, and the number of records is set to zero.

8. A position calibration device, characterized in that: The position calibration device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the position calibration method for a liftable loudspeaker according to any one of claims 1 to 7.

9. A position calibration system, characterized in that: The position calibration system includes the position calibration device according to claim 8, and further includes the liftable speaker, a base of the liftable speaker, and the detection component provided in the liftable speaker and / or the base.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the position calibration method of the liftable speaker according to any one of claims 1 to 7 are implemented.